Skip to content

Commit 2be97c8

Browse files
Merge pull request #3212 from vuestorefront/v2
chore: automatic sync v2->v2-develop
2 parents 02ae821 + 5f73e9e commit 2be97c8

File tree

15 files changed

+73
-3
lines changed

15 files changed

+73
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"remark-parse": "^11.0.0",
7373
"remark-stringify": "^11.0.0",
7474
"rimraf": "^5.0.0",
75+
"rollup-plugin-preserve-directives": "^0.4.0",
7576
"tailwindcss": "^3.4.3",
7677
"turbo": "latest",
7778
"typescript": "^5.4.5",
@@ -81,7 +82,7 @@
8182
"engines": {
8283
"npm": ">=8.19.1",
8384
"yarn": ">=1.22.19",
84-
"node": ">=16.0.0 <17.0.0"
85+
"node": ">=16.0.0"
8586
},
8687
"packageManager": "[email protected]",
8788
"config": {

packages/sfui/frameworks/react/CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# @storefront-ui/react
22

3+
## 2.7.0
4+
5+
### Minor Changes
6+
7+
- [#3148](https://github.com/vuestorefront/storefront-ui/pull/3148) [`34b7107`](https://github.com/vuestorefront/storefront-ui/commit/34b7107053521733301a719822383ea056a96f4c) Thanks [@Razz21](https://github.com/Razz21)! - [CHANGED] Implemented `use client` directive in components:
8+
- `SfAccordionItem`
9+
- `SfDrawer`
10+
- `SfDropdown`
11+
- `SfModal`
12+
- `SfRatingButton`
13+
- `SfScrollable`
14+
- `SfSelect`
15+
- `SfTextarea`
16+
- `SfTooltip`
17+
18+
### Patch Changes
19+
20+
- [#3157](https://github.com/vuestorefront/storefront-ui/pull/3157) [`a9cd099`](https://github.com/vuestorefront/storefront-ui/commit/a9cd09921c29decf8647e486b4ee573cb89d8fe8) Thanks [@Razz21](https://github.com/Razz21)! - [FIXED] Mark SfInput as client component
21+
22+
## 2.7.0-rc.1
23+
24+
### Patch Changes
25+
26+
- [#3157](https://github.com/vuestorefront/storefront-ui/pull/3157) [`a9cd099`](https://github.com/vuestorefront/storefront-ui/commit/a9cd09921c29decf8647e486b4ee573cb89d8fe8) Thanks [@Razz21](https://github.com/Razz21)! - [FIXED] Mark SfInput as client component
27+
28+
## 2.7.0-rc.0
29+
30+
### Minor Changes
31+
32+
- [#3148](https://github.com/vuestorefront/storefront-ui/pull/3148) [`34b7107`](https://github.com/vuestorefront/storefront-ui/commit/34b7107053521733301a719822383ea056a96f4c) Thanks [@Razz21](https://github.com/Razz21)! - [CHANGED] Implemented `use client` directive in components:
33+
- `SfAccordionItem`
34+
- `SfDrawer`
35+
- `SfDropdown`
36+
- `SfModal`
37+
- `SfRatingButton`
38+
- `SfScrollable`
39+
- `SfSelect`
40+
- `SfTextarea`
41+
- `SfTooltip`
42+
343
## 2.6.4
444

545
### Patch Changes

packages/sfui/frameworks/react/components/SfAccordionItem/SfAccordionItem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
import { forwardRef } from 'react';
23
import type { MouseEvent } from 'react';
34
import classNames from 'classnames';

packages/sfui/frameworks/react/components/SfDrawer/SfDrawer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
import classNames from 'classnames';
23
import { useRef } from 'react';
34
import { useClickAway } from 'react-use';

packages/sfui/frameworks/react/components/SfDropdown/SfDropdown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
import classNames from 'classnames';
23
import { useDropdown } from '@storefront-ui/react';
34
import type { SfDropdownProps } from '@storefront-ui/react';

packages/sfui/frameworks/react/components/SfInput/SfInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
import classNames from 'classnames';
23
import { SfInputSize, useFocusVisible, type SfInputProps, polymorphicForwardRef } from '@storefront-ui/react';
34

packages/sfui/frameworks/react/components/SfModal/SfModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
import classNames from 'classnames';
23
import { useRef } from 'react';
34
import { useClickAway } from 'react-use';

packages/sfui/frameworks/react/components/SfRatingButton/SfRatingButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
import { useState, type ChangeEvent } from 'react';
23
import classnames from 'classnames';
34
import {

packages/sfui/frameworks/react/components/SfScrollable/SfScrollable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
/* eslint-disable react/require-default-props */
23
import { cloneElement, useMemo } from 'react';
34
import classNames from 'classnames';

packages/sfui/frameworks/react/components/SfSelect/SfSelect.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use client';
12
import { KeyboardEvent, useState } from 'react';
23
import classNames from 'classnames';
34
import { SfSelectSize, SfIconExpandMore, composeHandlers, useFocusVisible } from '@storefront-ui/react';

0 commit comments

Comments
 (0)