Skip to content

Commit 8fe39d3

Browse files
authored
Merge pull request #2798 from gluestack/release/icon@0.1.27
Release/icon@0.1.27
2 parents 6eabd94 + 4ddd31f commit 8fe39d3

File tree

9 files changed

+34
-11
lines changed

9 files changed

+34
-11
lines changed

example/storybook-nativewind/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@gluestack-style/animation-resolver": "^1.0.4",
3333
"@gluestack-style/react": "^1.0.57",
3434
"@gluestack-ui/config": "^1.1.19",
35-
"@gluestack-ui/themed": "^1.1.71",
35+
"@gluestack-ui/themed": "^1.1.72",
3636
"@gluestack/design-system": "^0.5.36",
3737
"@gorhom/bottom-sheet": "^5.0.0-alpha.10",
3838
"@legendapp/motion": "^2.2.0",

packages/config/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@gluestack-ui/divider": "0.1.10",
4949
"@gluestack-ui/fab": "0.1.28",
5050
"@gluestack-ui/form-control": "0.1.19",
51-
"@gluestack-ui/icon": "0.1.26",
51+
"@gluestack-ui/icon": "0.1.27",
5252
"@gluestack-ui/image": "0.1.17",
5353
"@gluestack-ui/input": "0.1.38",
5454
"@gluestack-ui/link": "0.1.29",
@@ -66,14 +66,14 @@
6666
"@gluestack-ui/switch": "0.1.29",
6767
"@gluestack-ui/tabs": "0.1.24",
6868
"@gluestack-ui/textarea": "0.1.24",
69-
"@gluestack-ui/themed": "1.1.71",
69+
"@gluestack-ui/themed": "1.1.72",
7070
"@gluestack-ui/toast": "1.0.9",
7171
"@gluestack-ui/tooltip": "0.1.44",
7272
"@legendapp/motion": "latest"
7373
},
7474
"peerDependencies": {
7575
"@gluestack-style/react": ">=1.0.57",
76-
"@gluestack-ui/themed": ">=1.1.71"
76+
"@gluestack-ui/themed": ">=1.1.72"
7777
},
7878
"release-it": {
7979
"git": {

packages/themed/CHANGELOG.md

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

3+
## 1.1.72
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @gluestack-ui/icon@0.1.27
9+
310
## 1.1.71
411

512
### Patch Changes

packages/themed/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gluestack-ui/themed",
3-
"version": "1.1.71",
3+
"version": "1.1.72",
44
"main": "build/index.js",
55
"types": "build/index.d.ts",
66
"module": "build/index",
@@ -47,7 +47,7 @@
4747
"@gluestack-ui/divider": "0.1.10",
4848
"@gluestack-ui/fab": "0.1.28",
4949
"@gluestack-ui/form-control": "0.1.19",
50-
"@gluestack-ui/icon": "0.1.26",
50+
"@gluestack-ui/icon": "0.1.27",
5151
"@gluestack-ui/image": "0.1.17",
5252
"@gluestack-ui/input": "0.1.38",
5353
"@gluestack-ui/link": "0.1.29",

packages/unstyled/actionsheet/src/ActionsheetContent.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ import { OverlayAnimatePresence } from './OverlayAnimatePresence';
1313
import { FocusScope } from '@react-native-aria/focus';
1414
import { mergeRefs, findNodeHandle } from '@gluestack-ui/utils';
1515
import { useDialog } from '@react-native-aria/dialog';
16-
1716
import { usePreventScroll } from '@react-native-aria/overlays';
18-
const windowHeight = Dimensions.get('screen').height;
17+
18+
//dimentions not giving proper window height on web
19+
const windowHeight =
20+
Platform.OS === 'web'
21+
? typeof window !== 'undefined'
22+
? window.innerHeight
23+
: Dimensions.get('screen').height
24+
: Dimensions.get('screen').height;
25+
1926
function ActionsheetContent(
2027
StyledActionsheetContent: any,
2128
AnimatePresence?: any

packages/unstyled/icon/CHANGELOG.md

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

3+
## 0.1.27
4+
5+
### Patch Changes
6+
7+
- fixed Warning Invalid prop fill supplied to React.Fragment in RN CLI
8+
39
## 0.1.26
410

511
### Patch Changes

packages/unstyled/icon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@gluestack-ui/icon",
33
"description": "A universal headless icon component for React Native, Next.js & React",
4-
"version": "0.1.26",
4+
"version": "0.1.27",
55
"main": "lib/index",
66
"module": "lib/index",
77
"types": "lib/index.d.ts",

packages/unstyled/icon/src/createIcon/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ const ChildPath = ({ element, fill, stroke: pathStroke }: any) => {
4141
if (!element) {
4242
return null;
4343
}
44-
44+
if (element.type === React.Fragment) {
45+
return element;
46+
}
4547
return React.cloneElement(element, {
4648
fill: fillColor ? fillColor : 'currentColor',
4749
stroke: pathStrokeColor,

packages/unstyled/textarea/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"dependencies": {
3333
"@gluestack-ui/form-control": "^0.1.19",
3434
"@gluestack-ui/utils": "^0.1.14",
35-
"@react-native-aria/focus": "^0.2.9"
35+
"@react-native-aria/focus": "^0.2.9",
36+
"@react-native-aria/interactions": "^0.2.16"
3637
},
3738
"peerDependencies": {
3839
"react": ">=16",

0 commit comments

Comments
 (0)