@hanzo/gui 7.3.0 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/native.cjs CHANGED
@@ -23862,14 +23862,14 @@ var PopperAnchor = YStack.styleable(function PopperAnchor2(props, forwardedRef)
23862
23862
  ]);
23863
23863
  react$1.useEffect(function() {
23864
23864
  if (virtualRef) {
23865
- refs.setReference(virtualRef.current);
23865
+ refs === null || refs === void 0 || refs.setReference(virtualRef.current);
23866
23866
  update();
23867
23867
  }
23868
23868
  }, [virtualRef]);
23869
23869
  var refProps = (getReferenceProps === null || getReferenceProps === void 0 ? void 0 : getReferenceProps(_objectSpread2(_objectSpread2({}, rest), {}, { ref }))) || null;
23870
23870
  var safeSetReference = react$1.useCallback(function(node) {
23871
23871
  startTransition$1(function() {
23872
- refs.setReference(node);
23872
+ refs === null || refs === void 0 || refs.setReference(node);
23873
23873
  });
23874
23874
  }, [refs]);
23875
23875
  var shouldHandleInHover = false;
@@ -23881,7 +23881,7 @@ var PopperAnchor = YStack.styleable(function PopperAnchor2(props, forwardedRef)
23881
23881
  if (_instanceof$4(el, HTMLElement)) {
23882
23882
  var _refProps_onPointerEnter, _context_onHoverReference;
23883
23883
  (0, import_react_dom.flushSync)(function() {
23884
- return refs.setReference(el);
23884
+ return refs === null || refs === void 0 ? void 0 : refs.setReference(el);
23885
23885
  });
23886
23886
  update();
23887
23887
  if (!refProps) return;
package/dist/test.cjs CHANGED
@@ -23928,14 +23928,14 @@ var PopperAnchor = YStack.styleable(function PopperAnchor2(props, forwardedRef)
23928
23928
  ]);
23929
23929
  react$1.useEffect(function() {
23930
23930
  if (virtualRef) {
23931
- refs.setReference(virtualRef.current);
23931
+ refs === null || refs === void 0 || refs.setReference(virtualRef.current);
23932
23932
  update();
23933
23933
  }
23934
23934
  }, [virtualRef]);
23935
23935
  var refProps = (getReferenceProps === null || getReferenceProps === void 0 ? void 0 : getReferenceProps(_objectSpread2(_objectSpread2({}, rest), {}, { ref }))) || null;
23936
23936
  var safeSetReference = react$1.useCallback(function(node) {
23937
23937
  startTransition$1(function() {
23938
- refs.setReference(node);
23938
+ refs === null || refs === void 0 || refs.setReference(node);
23939
23939
  });
23940
23940
  }, [refs]);
23941
23941
  var shouldHandleInHover = false;
@@ -23947,7 +23947,7 @@ var PopperAnchor = YStack.styleable(function PopperAnchor2(props, forwardedRef)
23947
23947
  if (_instanceof$4(el, HTMLElement)) {
23948
23948
  var _refProps_onPointerEnter, _context_onHoverReference;
23949
23949
  (0, import_react_dom.flushSync)(function() {
23950
- return refs.setReference(el);
23950
+ return refs === null || refs === void 0 ? void 0 : refs.setReference(el);
23951
23951
  });
23952
23952
  update();
23953
23953
  if (!refProps) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/gui",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "description": "Style and UI for React (web and native) meet an optimizing compiler",
6
6
  "repository": {
@@ -67,75 +67,75 @@
67
67
  "check-circular-deps": "npx madge --circular ./src/index.ts"
68
68
  },
69
69
  "dependencies": {
70
- "@hanzogui/accordion": "7.3.0",
71
- "@hanzogui/adapt": "7.3.0",
72
- "@hanzogui/alert-dialog": "7.3.0",
73
- "@hanzogui/animate": "7.3.0",
74
- "@hanzogui/animate-presence": "7.3.0",
75
- "@hanzogui/avatar": "7.3.0",
76
- "@hanzogui/button": "7.3.0",
77
- "@hanzogui/card": "7.3.0",
78
- "@hanzogui/checkbox": "7.3.0",
79
- "@hanzogui/collapsible": "7.3.0",
80
- "@hanzogui/compose-refs": "7.3.0",
81
- "@hanzogui/constants": "7.3.0",
82
- "@hanzogui/context-menu": "7.3.0",
83
- "@hanzogui/core": "7.3.0",
84
- "@hanzogui/create-context": "7.3.0",
85
- "@hanzogui/create-menu": "7.3.0",
86
- "@hanzogui/dialog": "7.3.0",
87
- "@hanzogui/element": "7.3.0",
88
- "@hanzogui/elements": "7.3.0",
89
- "@hanzogui/fake-react-native": "7.3.0",
90
- "@hanzogui/focusable": "7.3.0",
91
- "@hanzogui/form": "7.3.0",
92
- "@hanzogui/get-button-sized": "7.3.0",
93
- "@hanzogui/get-font-sized": "7.3.0",
94
- "@hanzogui/get-token": "7.3.0",
95
- "@hanzogui/group": "7.3.0",
96
- "@hanzogui/component-helpers": "7.3.0",
97
- "@hanzogui/image": "7.3.0",
98
- "@hanzogui/input": "7.3.0",
99
- "@hanzogui/label": "7.3.0",
100
- "@hanzogui/linear-gradient": "7.3.0",
101
- "@hanzogui/list-item": "7.3.0",
102
- "@hanzogui/menu": "7.3.0",
103
- "@hanzogui/polyfill-dev": "7.3.0",
104
- "@hanzogui/popover": "7.3.0",
105
- "@hanzogui/popper": "7.3.0",
106
- "@hanzogui/portal": "7.3.0",
107
- "@hanzogui/progress": "7.3.0",
108
- "@hanzogui/radio-group": "7.3.0",
109
- "@hanzogui/react-native-media-driver": "7.3.0",
110
- "@hanzogui/scroll-view": "7.3.0",
111
- "@hanzogui/select": "7.3.0",
112
- "@hanzogui/separator": "7.3.0",
113
- "@hanzogui/shapes": "7.3.0",
114
- "@hanzogui/sheet": "7.3.0",
115
- "@hanzogui/slider": "7.3.0",
116
- "@hanzogui/spacer": "7.3.0",
117
- "@hanzogui/spinner": "7.3.0",
118
- "@hanzogui/stacks": "7.3.0",
119
- "@hanzogui/switch": "7.3.0",
120
- "@hanzogui/tabs": "7.3.0",
121
- "@hanzogui/text": "7.3.0",
122
- "@hanzogui/theme": "7.3.0",
123
- "@hanzogui/toast": "7.3.0",
124
- "@hanzogui/toggle-group": "7.3.0",
125
- "@hanzogui/tooltip": "7.3.0",
126
- "@hanzogui/use-controllable-state": "7.3.0",
127
- "@hanzogui/use-debounce": "7.3.0",
128
- "@hanzogui/use-force-update": "7.3.0",
129
- "@hanzogui/use-window-dimensions": "7.3.0",
130
- "@hanzogui/visually-hidden": "7.3.0",
131
- "@hanzogui/font-size": "7.3.0",
132
- "@hanzogui/z-index-stack": "7.3.0"
70
+ "@hanzogui/accordion": "7.3.1",
71
+ "@hanzogui/adapt": "7.3.1",
72
+ "@hanzogui/alert-dialog": "7.3.1",
73
+ "@hanzogui/animate": "7.3.1",
74
+ "@hanzogui/animate-presence": "7.3.1",
75
+ "@hanzogui/avatar": "7.3.1",
76
+ "@hanzogui/button": "7.3.1",
77
+ "@hanzogui/card": "7.3.1",
78
+ "@hanzogui/checkbox": "7.3.1",
79
+ "@hanzogui/collapsible": "7.3.1",
80
+ "@hanzogui/component-helpers": "7.3.1",
81
+ "@hanzogui/compose-refs": "7.3.1",
82
+ "@hanzogui/constants": "7.3.1",
83
+ "@hanzogui/context-menu": "7.3.1",
84
+ "@hanzogui/core": "7.3.1",
85
+ "@hanzogui/create-context": "7.3.1",
86
+ "@hanzogui/create-menu": "7.3.1",
87
+ "@hanzogui/dialog": "7.3.1",
88
+ "@hanzogui/element": "7.3.1",
89
+ "@hanzogui/elements": "7.3.1",
90
+ "@hanzogui/fake-react-native": "7.3.1",
91
+ "@hanzogui/focusable": "7.3.1",
92
+ "@hanzogui/font-size": "7.3.1",
93
+ "@hanzogui/form": "7.3.1",
94
+ "@hanzogui/get-button-sized": "7.3.1",
95
+ "@hanzogui/get-font-sized": "7.3.1",
96
+ "@hanzogui/get-token": "7.3.1",
97
+ "@hanzogui/group": "7.3.1",
98
+ "@hanzogui/image": "7.3.1",
99
+ "@hanzogui/input": "7.3.1",
100
+ "@hanzogui/label": "7.3.1",
101
+ "@hanzogui/linear-gradient": "7.3.1",
102
+ "@hanzogui/list-item": "7.3.1",
103
+ "@hanzogui/menu": "7.3.1",
104
+ "@hanzogui/polyfill-dev": "7.3.1",
105
+ "@hanzogui/popover": "7.3.1",
106
+ "@hanzogui/popper": "7.3.1",
107
+ "@hanzogui/portal": "7.3.1",
108
+ "@hanzogui/progress": "7.3.1",
109
+ "@hanzogui/radio-group": "7.3.1",
110
+ "@hanzogui/react-native-media-driver": "7.3.1",
111
+ "@hanzogui/scroll-view": "7.3.1",
112
+ "@hanzogui/select": "7.3.1",
113
+ "@hanzogui/separator": "7.3.1",
114
+ "@hanzogui/shapes": "7.3.1",
115
+ "@hanzogui/sheet": "7.3.1",
116
+ "@hanzogui/slider": "7.3.1",
117
+ "@hanzogui/spacer": "7.3.1",
118
+ "@hanzogui/spinner": "7.3.1",
119
+ "@hanzogui/stacks": "7.3.1",
120
+ "@hanzogui/switch": "7.3.1",
121
+ "@hanzogui/tabs": "7.3.1",
122
+ "@hanzogui/text": "7.3.1",
123
+ "@hanzogui/theme": "7.3.1",
124
+ "@hanzogui/toast": "7.3.1",
125
+ "@hanzogui/toggle-group": "7.3.1",
126
+ "@hanzogui/tooltip": "7.3.1",
127
+ "@hanzogui/use-controllable-state": "7.3.1",
128
+ "@hanzogui/use-debounce": "7.3.1",
129
+ "@hanzogui/use-force-update": "7.3.1",
130
+ "@hanzogui/use-window-dimensions": "7.3.1",
131
+ "@hanzogui/visually-hidden": "7.3.1",
132
+ "@hanzogui/z-index-stack": "7.3.1",
133
+ "react-native-web": "^0.21.0"
133
134
  },
134
135
  "devDependencies": {
135
- "@hanzogui/build": "7.3.0",
136
+ "@hanzogui/build": "7.3.1",
136
137
  "react": ">=19",
137
- "react-native": "0.83.2",
138
- "react-native-web": "^0.21.0"
138
+ "react-native": "0.83.2"
139
139
  },
140
140
  "peerDependencies": {
141
141
  "react": ">=19",
@@ -156,5 +156,10 @@
156
156
  "README.md"
157
157
  ],
158
158
  "license": "BSD-3-Clause",
159
- "author": "Hanzo AI <dev@hanzo.ai>"
159
+ "author": "Hanzo AI <dev@hanzo.ai>",
160
+ "peerDependenciesMeta": {
161
+ "react-native": {
162
+ "optional": true
163
+ }
164
+ }
160
165
  }