Skip to content

Commit c3796af

Browse files
authored
Merge pull request #2276 from gluestack/main
Backmerge Main -> Patch
2 parents e0cc751 + faeaf19 commit c3796af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+545
-608
lines changed

example/storybook-nativewind/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@geometricpanda/storybook-addon-iframe": "^0.2.2",
3232
"@gluestack-style/animation-resolver": "^1.0.4",
3333
"@gluestack-style/react": "^1.0.56",
34-
"@gluestack-ui/config": "^1.1.18",
35-
"@gluestack-ui/themed": "^1.1.32",
34+
"@gluestack-ui/config": "^1.1.19",
35+
"@gluestack-ui/themed": "^1.1.33",
3636
"@gluestack/design-system": "^0.5.36",
3737
"@gorhom/bottom-sheet": "^5.0.0-alpha.10",
3838
"@legendapp/motion": "^2.2.0",

example/storybook/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"baseUrl": ".",
55
"paths": {
66
"@gluestack-ui/themed": ["../../packages/themed/src"],
7+
"@gluestack-ui/button": ["../../packages/unstyled/button/src"],
78
"@gluestack-ui/config": ["../../packages/config/src/gluestack-ui.config"],
89
"react-native": ["./node_modules/react-native-web"],
910
"@gluestack-style/react": ["../../packages/styled/react/src"],

packages/config/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @gluestack-ui/config
22

3+
## 1.1.19
4+
5+
### Patch Changes
6+
7+
- fix: ref typing for all the components
8+
- Updated dependencies
9+
- @gluestack-ui/themed@1.1.33
10+
311
## 1.1.18
412

513
### Patch Changes

packages/config/package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gluestack-ui/config",
3-
"version": "1.1.18",
3+
"version": "1.1.19",
44
"main": "build/gluestack-ui.config.js",
55
"types": "build/gluestack-ui.config.d.ts",
66
"module": "build/gluestack-ui.config",
@@ -38,42 +38,42 @@
3838
"@gluestack-style/animation-resolver": "1.0.4",
3939
"@gluestack-style/legend-motion-animation-driver": "1.0.3",
4040
"@gluestack-style/react": "1.0.56",
41-
"@gluestack-ui/accordion": "1.0.4",
42-
"@gluestack-ui/actionsheet": "0.2.42",
43-
"@gluestack-ui/alert": "0.1.14",
44-
"@gluestack-ui/alert-dialog": "0.1.29",
45-
"@gluestack-ui/avatar": "0.1.16",
46-
"@gluestack-ui/button": "1.0.5",
47-
"@gluestack-ui/checkbox": "0.1.29",
48-
"@gluestack-ui/divider": "0.1.8",
49-
"@gluestack-ui/fab": "0.1.20",
50-
"@gluestack-ui/form-control": "0.1.17",
41+
"@gluestack-ui/accordion": "1.0.5",
42+
"@gluestack-ui/actionsheet": "0.2.43",
43+
"@gluestack-ui/alert": "0.1.15",
44+
"@gluestack-ui/alert-dialog": "0.1.30",
45+
"@gluestack-ui/avatar": "0.1.17",
46+
"@gluestack-ui/button": "1.0.6",
47+
"@gluestack-ui/checkbox": "0.1.30",
48+
"@gluestack-ui/divider": "0.1.9",
49+
"@gluestack-ui/fab": "0.1.21",
50+
"@gluestack-ui/form-control": "0.1.18",
5151
"@gluestack-ui/icon": "0.1.22",
52-
"@gluestack-ui/image": "0.1.9",
53-
"@gluestack-ui/input": "0.1.30",
54-
"@gluestack-ui/link": "0.1.20",
55-
"@gluestack-ui/menu": "0.2.33",
56-
"@gluestack-ui/modal": "0.1.33",
52+
"@gluestack-ui/image": "0.1.10",
53+
"@gluestack-ui/input": "0.1.31",
54+
"@gluestack-ui/link": "0.1.21",
55+
"@gluestack-ui/menu": "0.2.34",
56+
"@gluestack-ui/modal": "0.1.34",
5757
"@gluestack-ui/overlay": "0.1.14",
58-
"@gluestack-ui/popover": "0.1.34",
58+
"@gluestack-ui/popover": "0.1.35",
5959
"@gluestack-ui/pressable": "0.1.16",
60-
"@gluestack-ui/progress": "0.1.14",
60+
"@gluestack-ui/progress": "0.1.15",
6161
"@gluestack-ui/provider": "0.1.12",
62-
"@gluestack-ui/radio": "0.1.30",
63-
"@gluestack-ui/select": "0.1.26",
64-
"@gluestack-ui/slider": "0.1.24",
62+
"@gluestack-ui/radio": "0.1.31",
63+
"@gluestack-ui/select": "0.1.27",
64+
"@gluestack-ui/slider": "0.1.25",
6565
"@gluestack-ui/spinner": "0.1.14",
66-
"@gluestack-ui/switch": "0.1.21",
66+
"@gluestack-ui/switch": "0.1.22",
6767
"@gluestack-ui/tabs": "0.1.16",
68-
"@gluestack-ui/textarea": "0.1.22",
69-
"@gluestack-ui/themed": "1.1.32",
70-
"@gluestack-ui/toast": "1.0.4",
71-
"@gluestack-ui/tooltip": "0.1.30",
68+
"@gluestack-ui/textarea": "0.1.23",
69+
"@gluestack-ui/themed": "1.1.33",
70+
"@gluestack-ui/toast": "1.0.5",
71+
"@gluestack-ui/tooltip": "0.1.31",
7272
"@legendapp/motion": "latest"
7373
},
7474
"peerDependencies": {
7575
"@gluestack-style/react": ">=1.0.56",
76-
"@gluestack-ui/themed": ">=1.1.32"
76+
"@gluestack-ui/themed": ">=1.1.33"
7777
},
7878
"release-it": {
7979
"git": {

packages/themed/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# @gluestack-ui/themed
22

3+
## 1.1.33
4+
5+
### Patch Changes
6+
7+
- fix: ref typing for all the components
8+
- Updated dependencies
9+
- @gluestack-ui/alert-dialog@0.1.30
10+
- @gluestack-ui/form-control@0.1.18
11+
- @gluestack-ui/actionsheet@0.2.43
12+
- @gluestack-ui/accordion@1.0.5
13+
- @gluestack-ui/checkbox@0.1.30
14+
- @gluestack-ui/progress@0.1.15
15+
- @gluestack-ui/textarea@0.1.23
16+
- @gluestack-ui/divider@0.1.9
17+
- @gluestack-ui/popover@0.1.35
18+
- @gluestack-ui/tooltip@0.1.31
19+
- @gluestack-ui/avatar@0.1.17
20+
- @gluestack-ui/button@1.0.6
21+
- @gluestack-ui/select@0.1.27
22+
- @gluestack-ui/switch@0.1.22
23+
- @gluestack-ui/alert@0.1.15
24+
- @gluestack-ui/image@0.1.10
25+
- @gluestack-ui/input@0.1.31
26+
- @gluestack-ui/modal@0.1.34
27+
- @gluestack-ui/radio@0.1.31
28+
- @gluestack-ui/toast@1.0.5
29+
- @gluestack-ui/link@0.1.21
30+
- @gluestack-ui/menu@0.2.34
31+
- @gluestack-ui/fab@0.1.21
32+
- @gluestack-ui/slider@0.1.25
33+
334
## 1.1.32
435

536
### Patch Changes

packages/themed/package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gluestack-ui/themed",
3-
"version": "1.1.32",
3+
"version": "1.1.33",
44
"main": "build/index.js",
55
"types": "build/index.d.ts",
66
"module": "build/index",
@@ -37,36 +37,36 @@
3737
"@expo/html-elements": "latest",
3838
"@gluestack-style/animation-resolver": "1.0.4",
3939
"@gluestack-style/legend-motion-animation-driver": "1.0.3",
40-
"@gluestack-ui/accordion": "1.0.4",
41-
"@gluestack-ui/actionsheet": "0.2.42",
42-
"@gluestack-ui/alert": "0.1.14",
43-
"@gluestack-ui/alert-dialog": "0.1.29",
44-
"@gluestack-ui/avatar": "0.1.16",
45-
"@gluestack-ui/button": "1.0.5",
46-
"@gluestack-ui/checkbox": "0.1.29",
47-
"@gluestack-ui/divider": "0.1.8",
48-
"@gluestack-ui/fab": "0.1.20",
49-
"@gluestack-ui/form-control": "0.1.17",
40+
"@gluestack-ui/accordion": "1.0.5",
41+
"@gluestack-ui/actionsheet": "0.2.43",
42+
"@gluestack-ui/alert": "0.1.15",
43+
"@gluestack-ui/alert-dialog": "0.1.30",
44+
"@gluestack-ui/avatar": "0.1.17",
45+
"@gluestack-ui/button": "1.0.6",
46+
"@gluestack-ui/checkbox": "0.1.30",
47+
"@gluestack-ui/divider": "0.1.9",
48+
"@gluestack-ui/fab": "0.1.21",
49+
"@gluestack-ui/form-control": "0.1.18",
5050
"@gluestack-ui/icon": "0.1.22",
51-
"@gluestack-ui/image": "0.1.9",
52-
"@gluestack-ui/input": "0.1.30",
53-
"@gluestack-ui/link": "0.1.20",
54-
"@gluestack-ui/menu": "0.2.33",
55-
"@gluestack-ui/modal": "0.1.33",
51+
"@gluestack-ui/image": "0.1.10",
52+
"@gluestack-ui/input": "0.1.31",
53+
"@gluestack-ui/link": "0.1.21",
54+
"@gluestack-ui/menu": "0.2.34",
55+
"@gluestack-ui/modal": "0.1.34",
5656
"@gluestack-ui/overlay": "0.1.14",
57-
"@gluestack-ui/popover": "0.1.34",
57+
"@gluestack-ui/popover": "0.1.35",
5858
"@gluestack-ui/pressable": "0.1.16",
59-
"@gluestack-ui/progress": "0.1.14",
59+
"@gluestack-ui/progress": "0.1.15",
6060
"@gluestack-ui/provider": "0.1.12",
61-
"@gluestack-ui/radio": "0.1.30",
62-
"@gluestack-ui/select": "0.1.26",
63-
"@gluestack-ui/slider": "0.1.24",
61+
"@gluestack-ui/radio": "0.1.31",
62+
"@gluestack-ui/select": "0.1.27",
63+
"@gluestack-ui/slider": "0.1.25",
6464
"@gluestack-ui/spinner": "0.1.14",
65-
"@gluestack-ui/switch": "0.1.21",
65+
"@gluestack-ui/switch": "0.1.22",
6666
"@gluestack-ui/tabs": "0.1.16",
67-
"@gluestack-ui/textarea": "0.1.22",
68-
"@gluestack-ui/toast": "1.0.4",
69-
"@gluestack-ui/tooltip": "0.1.30",
67+
"@gluestack-ui/textarea": "0.1.23",
68+
"@gluestack-ui/toast": "1.0.5",
69+
"@gluestack-ui/tooltip": "0.1.31",
7070
"@legendapp/motion": "latest"
7171
},
7272
"devDependencies": {

packages/unstyled/accordion/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @gluestack-ui/accordion
22

3+
## 1.0.5
4+
5+
### Patch Changes
6+
7+
- fix: ref typing for all the components
8+
39
## 1.0.4
410

511
### Patch Changes

packages/unstyled/accordion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"ios",
1616
"nextjs"
1717
],
18-
"version": "1.0.4",
18+
"version": "1.0.5",
1919
"main": "lib/commonjs/index",
2020
"module": "lib/module/index",
2121
"types": "lib/typescript/index.d.ts",

packages/unstyled/accordion/src/types.ts

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import type { ViewProps } from 'react-native';
23

34
export interface IAccordionProps extends ViewProps {
@@ -91,27 +92,33 @@ export type IAccordionComponentType<
9192
TitleTextProps,
9293
ContentTextProps
9394
> = React.ForwardRefExoticComponent<
94-
AccordionProps & React.RefAttributes<AccordionProps> & IAccordionProps
95+
React.PropsWithoutRef<AccordionProps & IAccordionProps> &
96+
React.RefAttributes<AccordionProps>
9597
> & {
9698
Item: React.ForwardRefExoticComponent<
97-
ItemProps & React.RefAttributes<ItemProps> & IAccordionItemProps
99+
React.PropsWithoutRef<ItemProps & IAccordionItemProps> &
100+
React.RefAttributes<ItemProps>
98101
>;
99102
Header: React.ForwardRefExoticComponent<
100-
HeaderProps & React.RefAttributes<HeaderProps>
103+
React.PropsWithoutRef<HeaderProps> & React.RefAttributes<HeaderProps>
101104
>;
102105
Trigger: React.ForwardRefExoticComponent<
103-
Omit<TriggerProps, 'children'> & IAccordionTriggerProps
106+
React.PropsWithoutRef<
107+
Omit<TriggerProps, 'children'> & IAccordionTriggerProps
108+
> &
109+
React.RefAttributes<TriggerProps>
104110
>;
105111
Content: React.ForwardRefExoticComponent<
106-
ContentProps & React.RefAttributes<ContentProps>
112+
React.PropsWithoutRef<ContentProps> & React.RefAttributes<ContentProps>
107113
>;
108114
TitleText: React.ForwardRefExoticComponent<
109-
TitleTextProps & React.RefAttributes<TitleTextProps>
115+
React.PropsWithoutRef<TitleTextProps> & React.RefAttributes<TitleTextProps>
110116
>;
111117
ContentText: React.ForwardRefExoticComponent<
112-
ContentTextProps & React.RefAttributes<ContentTextProps>
118+
React.PropsWithoutRef<ContentTextProps> &
119+
React.RefAttributes<ContentTextProps>
113120
>;
114121
Icon: React.ForwardRefExoticComponent<
115-
IconProps & React.RefAttributes<IconProps>
122+
React.PropsWithoutRef<IconProps> & React.RefAttributes<IconProps>
116123
>;
117124
};

packages/unstyled/actionsheet/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @gluestack-ui/actionsheet
22

3+
## 0.2.43
4+
5+
### Patch Changes
6+
7+
- fix: ref typing for all the components
8+
39
## 0.2.42
410

511
### Patch Changes

0 commit comments

Comments
 (0)