@octane-xplat/ui 0.2.1 → 0.3.0

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.
Files changed (94) hide show
  1. package/dist/native/octane-client-build.json +1 -1
  2. package/dist/native/ui.js +40 -19
  3. package/dist/native/ui10.js +19 -48
  4. package/dist/native/ui11.js +118 -56
  5. package/dist/native/ui12.js +114 -16
  6. package/dist/native/ui13.js +54 -18
  7. package/dist/native/ui14.js +76 -13
  8. package/dist/native/ui15.js +128 -18
  9. package/dist/native/ui16.js +48 -136
  10. package/dist/native/ui17.js +42 -19
  11. package/dist/native/ui18.js +50 -9
  12. package/dist/native/ui19.js +34 -12
  13. package/dist/native/ui2.js +10 -48
  14. package/dist/native/ui20.js +17 -0
  15. package/dist/native/ui21.js +93 -0
  16. package/dist/native/ui22.js +124 -0
  17. package/dist/native/ui23.js +103 -0
  18. package/dist/native/ui24.js +58 -0
  19. package/dist/native/ui25.js +19 -0
  20. package/dist/native/ui26.js +27 -0
  21. package/dist/native/ui27.js +35 -0
  22. package/dist/native/ui28.js +146 -0
  23. package/dist/native/ui29.js +28 -0
  24. package/dist/native/ui3.js +17 -20
  25. package/dist/native/ui30.js +35 -0
  26. package/dist/native/ui31.js +39 -0
  27. package/dist/native/ui32.js +70 -0
  28. package/dist/native/ui33.js +30 -0
  29. package/dist/native/ui34.js +10 -0
  30. package/dist/native/ui35.js +27 -0
  31. package/dist/native/ui36.js +34 -0
  32. package/dist/native/ui37.js +17 -0
  33. package/dist/native/ui38.js +68 -0
  34. package/dist/native/ui39.js +33 -0
  35. package/dist/native/ui4.js +21 -48
  36. package/dist/native/ui40.js +14 -0
  37. package/dist/native/ui41.js +104 -0
  38. package/dist/native/ui42.js +148 -0
  39. package/dist/native/ui43.js +22 -0
  40. package/dist/native/ui44.js +8 -0
  41. package/dist/native/ui5.js +70 -27
  42. package/dist/native/ui6.js +36 -20
  43. package/dist/native/ui7.js +24 -61
  44. package/dist/native/ui8.js +16 -18
  45. package/dist/native/ui9.js +16 -13
  46. package/dist/web/octane-client-build.json +1 -1
  47. package/dist/web/ui.js +40 -19
  48. package/dist/web/ui10.js +187 -31
  49. package/dist/web/ui11.js +419 -53
  50. package/dist/web/ui12.js +83 -15
  51. package/dist/web/ui13.js +107 -19
  52. package/dist/web/ui14.js +98 -18
  53. package/dist/web/ui15.js +83 -47
  54. package/dist/web/ui16.js +100 -93
  55. package/dist/web/ui17.js +36 -22
  56. package/dist/web/ui18.js +29 -15
  57. package/dist/web/ui19.js +9 -7
  58. package/dist/web/ui2.js +15 -103
  59. package/dist/web/ui20.js +114 -0
  60. package/dist/web/ui21.js +82 -0
  61. package/dist/web/ui22.js +68 -0
  62. package/dist/web/ui23.js +57 -0
  63. package/dist/web/ui24.js +16 -0
  64. package/dist/web/ui25.js +22 -0
  65. package/dist/web/ui26.js +39 -0
  66. package/dist/web/ui27.js +127 -0
  67. package/dist/web/ui28.js +112 -0
  68. package/dist/web/ui29.js +108 -0
  69. package/dist/web/ui3.js +19 -27
  70. package/dist/web/ui30.js +43 -0
  71. package/dist/web/ui31.js +42 -0
  72. package/dist/web/ui32.js +77 -0
  73. package/dist/web/ui33.js +43 -0
  74. package/dist/web/ui34.js +67 -0
  75. package/dist/web/ui35.js +9 -0
  76. package/dist/web/ui36.js +45 -0
  77. package/dist/web/ui37.js +47 -0
  78. package/dist/web/ui38.js +17 -0
  79. package/dist/web/ui39.js +100 -0
  80. package/dist/web/ui4.js +145 -17
  81. package/dist/web/ui40.js +41 -0
  82. package/dist/web/ui41.js +17 -0
  83. package/dist/web/ui42.js +9 -0
  84. package/dist/web/ui43.js +22 -0
  85. package/dist/web/ui44.js +8 -0
  86. package/dist/web/ui5.js +54 -52
  87. package/dist/web/ui6.js +43 -16
  88. package/dist/web/ui7.js +29 -46
  89. package/dist/web/ui8.js +29 -18
  90. package/dist/web/ui9.js +24 -16
  91. package/package.json +6 -3
  92. package/src/theme/tokens.css +166 -0
  93. package/types/index.d.ts +108 -1
  94. package/types/props.d.ts +333 -8
package/dist/web/ui10.js CHANGED
@@ -1,43 +1,199 @@
1
- import { __s, bag4, clone, delegateEvents, hookSlots, queueRefAttach, queueRefDetach, setEventHandler, template, useEffect, useRef } from "octane";
2
- import { childTextHoleUpdate, replaceRef } from "octane/internal/client";
3
- //#region src/Modal.web.tsrx
4
- delegateEvents(["close"]);
5
- var _t$0 = /* @__PURE__ */ template("<dialog class=\"vx-modal\"></dialog>");
6
- var _hs$ = /* @__PURE__ */ hookSlots(2);
1
+ import { applyEscapeProps } from "./ui2.js";
2
+ import { layoutChildProps } from "./ui3.js";
3
+ import { __s, bag15, clone, snapshotSpread, template } from "octane";
4
+ import { bindSignalChild, bindSignalHostPropSources, enableSignalBindings } from "octane/internal/client";
5
+ //#region src/Text.web.tsrx
6
+ enableSignalBindings(1, true);
7
+ var _t$0 = /* @__PURE__ */ template("<span></span>");
7
8
  var _rm$1 = [
8
- "r",
9
- "b",
10
- "a"
9
+ "s",
10
+ "m",
11
+ "l"
11
12
  ];
12
- var Modal = /* @__PURE__ */ __s(function Modal(props, __s, __extra) {
13
- const el = useRef(null, _hs$ + 0);
14
- useEffect(() => {
15
- const d = el.current;
16
- if (!d) return;
17
- if (props.open && !d.open) d.showModal();
18
- else if (!props.open && d.open) d.close();
19
- }, [props.open], _hs$ + 1);
13
+ var Text = /* @__PURE__ */ __s(function Text(props, __s, __extra) {
14
+ const textStyle = {
15
+ ...props.style,
16
+ ...props.numberOfLines ? {
17
+ display: "-webkit-box",
18
+ WebkitLineClamp: props.numberOfLines,
19
+ WebkitBoxOrient: "vertical",
20
+ overflow: "hidden"
21
+ } : {},
22
+ ...props.selectable === false ? { userSelect: "none" } : props.selectable ? { userSelect: "text" } : {},
23
+ ...props.ellipsize ? {
24
+ textOverflow: "ellipsis",
25
+ whiteSpace: "nowrap",
26
+ overflow: "hidden"
27
+ } : {}
28
+ };
20
29
  let _b = __s.slots[0];
21
30
  if (_b === void 0) {
22
- let _m0, _m1;
31
+ let _m0, _m1, _m2, _m3, _m4, _m5, _m6, _m7, _m8, _m9, _m10, _m11, _m12;
23
32
  const _root = clone(_t$0);
24
- queueRefAttach(__s, _m1 = el, _m0 = _root);
25
- (__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.b, _b.a));
26
- setEventHandler(_root, "$$close", props.onClose);
27
- _b = bag4(__s, _root, _m0, _m1, null, void 0);
33
+ _m0 = (el) => applyEscapeProps(el, props);
34
+ _m1 = props.className;
35
+ _m2 = snapshotSpread(layoutChildProps(props, textStyle));
36
+ _m3 = props.accessibilityHint;
37
+ _m4 = props.accessibilityValue;
38
+ _m5 = props.accessibilityState?.disabled;
39
+ _m6 = props.accessibilityState?.selected;
40
+ _m7 = props.accessibilityState?.checked;
41
+ _m8 = props.accessibilityState?.busy;
42
+ _m9 = props.accessibilityState?.expanded;
43
+ _m10 = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
44
+ _m11 = _root;
45
+ _m12 = bindSignalHostPropSources(__s, void 0, _root, [
46
+ [
47
+ false,
48
+ "ref",
49
+ _m0
50
+ ],
51
+ [
52
+ false,
53
+ "className",
54
+ _m1
55
+ ],
56
+ [true, _m2],
57
+ [
58
+ false,
59
+ "aria-description",
60
+ _m3
61
+ ],
62
+ [
63
+ false,
64
+ "aria-valuetext",
65
+ _m4
66
+ ],
67
+ [
68
+ false,
69
+ "aria-disabled",
70
+ _m5
71
+ ],
72
+ [
73
+ false,
74
+ "aria-selected",
75
+ _m6
76
+ ],
77
+ [
78
+ false,
79
+ "aria-checked",
80
+ _m7
81
+ ],
82
+ [
83
+ false,
84
+ "aria-busy",
85
+ _m8
86
+ ],
87
+ [
88
+ false,
89
+ "aria-expanded",
90
+ _m9
91
+ ],
92
+ [
93
+ false,
94
+ "aria-live",
95
+ _m10
96
+ ]
97
+ ], "b:d6d287c8", true);
98
+ _b = bag15(__s, _root, _m0, _m1, _m2, _m3, _m4, _m5, _m6, _m7, _m8, _m9, _m10, _m11, _m12, null, void 0);
28
99
  __s.refFields = _rm$1;
29
100
  } else {
30
101
  {
31
- const _r = el;
32
- if (_r !== _b.b) _b.b = replaceRef(__s, _b.b, _r, _b.a);
102
+ const _v = (el) => applyEscapeProps(el, props);
103
+ if (_b.a !== _v) _b.a = _v;
33
104
  }
34
- setEventHandler(_b.a, "$$close", props.onClose);
35
- }
36
- {
37
- const _v = props.children;
38
- _b.c = childTextHoleUpdate(__s, 1, _b.a, _v, _b.c, _b.d);
39
- _b.d = _v;
105
+ {
106
+ const _v = props.className;
107
+ if (_b.b !== _v) _b.b = _v;
108
+ }
109
+ _b.c = snapshotSpread(layoutChildProps(props, textStyle));
110
+ {
111
+ const _v = props.accessibilityHint;
112
+ if (_b.d !== _v) _b.d = _v;
113
+ }
114
+ {
115
+ const _v = props.accessibilityValue;
116
+ if (_b.e !== _v) _b.e = _v;
117
+ }
118
+ {
119
+ const _v = props.accessibilityState?.disabled;
120
+ if (_b.f !== _v) _b.f = _v;
121
+ }
122
+ {
123
+ const _v = props.accessibilityState?.selected;
124
+ if (_b.g !== _v) _b.g = _v;
125
+ }
126
+ {
127
+ const _v = props.accessibilityState?.checked;
128
+ if (_b.h !== _v) _b.h = _v;
129
+ }
130
+ {
131
+ const _v = props.accessibilityState?.busy;
132
+ if (_b.i !== _v) _b.i = _v;
133
+ }
134
+ {
135
+ const _v = props.accessibilityState?.expanded;
136
+ if (_b.j !== _v) _b.j = _v;
137
+ }
138
+ {
139
+ const _v = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
140
+ if (_b.k !== _v) _b.k = _v;
141
+ }
142
+ _b.m = bindSignalHostPropSources(__s, _b.m, _b.l, [
143
+ [
144
+ false,
145
+ "ref",
146
+ _b.a
147
+ ],
148
+ [
149
+ false,
150
+ "className",
151
+ _b.b
152
+ ],
153
+ [true, _b.c],
154
+ [
155
+ false,
156
+ "aria-description",
157
+ _b.d
158
+ ],
159
+ [
160
+ false,
161
+ "aria-valuetext",
162
+ _b.e
163
+ ],
164
+ [
165
+ false,
166
+ "aria-disabled",
167
+ _b.f
168
+ ],
169
+ [
170
+ false,
171
+ "aria-selected",
172
+ _b.g
173
+ ],
174
+ [
175
+ false,
176
+ "aria-checked",
177
+ _b.h
178
+ ],
179
+ [
180
+ false,
181
+ "aria-busy",
182
+ _b.i
183
+ ],
184
+ [
185
+ false,
186
+ "aria-expanded",
187
+ _b.j
188
+ ],
189
+ [
190
+ false,
191
+ "aria-live",
192
+ _b.k
193
+ ]
194
+ ], "b:d6d287c8", true);
40
195
  }
196
+ _b.p = bindSignalChild(__s, _b.p, 1, _b.l, props.children, "b:1285f2ba", null, void 0, void 0, void 0, true);
41
197
  });
42
198
  //#endregion
43
- export { Modal };
199
+ export { Text };
package/dist/web/ui11.js CHANGED
@@ -1,57 +1,423 @@
1
- import { hookSlots, useRef } from "octane";
2
- //#region src/anim.web.tsrx
3
- var _h$0 = /* @__PURE__ */ Symbol(/* @__PURE__ */ hookSlots(1));
4
- function createAnimated(initial, prop) {
5
- let el = null;
6
- let current = initial;
7
- let raf = 0;
8
- const apply = (v) => {
9
- current = v;
10
- if (el) el.style.transform = `translateX(${v}px)`;
1
+ import { applyEscapeProps } from "./ui2.js";
2
+ import { layoutChildProps } from "./ui3.js";
3
+ import { __s, bagOf, clone, snapshotSpread, template } from "octane";
4
+ import { bindSignalChild, bindSignalHostPropSources, enableSignalBindings } from "octane/internal/client";
5
+ //#region src/Pressable.web.tsrx
6
+ enableSignalBindings(1, true);
7
+ var _t$0 = /* @__PURE__ */ template("<div></div>");
8
+ var _rm$1 = [
9
+ "s",
10
+ "w",
11
+ "v"
12
+ ];
13
+ var Pressable = /* @__PURE__ */ __s(function Pressable(props, __s, __extra) {
14
+ let timer = null;
15
+ const cancel = () => {
16
+ if (timer !== null) {
17
+ clearTimeout(timer);
18
+ timer = null;
19
+ }
11
20
  };
12
- const run = (step) => {
13
- cancelAnimationFrame(raf);
14
- const start = Date.now();
15
- const tick = () => {
16
- const v = step(Date.now() - start);
17
- if (v === null) return;
18
- apply(v);
19
- raf = requestAnimationFrame(tick);
20
- };
21
- raf = requestAnimationFrame(tick);
21
+ const down = () => {
22
+ if (props.disabled || !props.onLongPress) return;
23
+ cancel();
24
+ timer = setTimeout(() => {
25
+ timer = null;
26
+ props.onLongPress?.();
27
+ }, 500);
22
28
  };
23
- return {
24
- get value() {
25
- return current;
26
- },
27
- bind(e) {
28
- el = e;
29
- if (el) el.style.transform = `translateX(${current}px)`;
30
- },
31
- to(target, opts) {
32
- const dur = opts?.duration ?? 300;
33
- const from = current;
34
- run((t) => t >= dur ? (apply(target), null) : from + (target - from) * (t / dur));
35
- },
36
- spring(target, opts) {
37
- const damping = opts?.damping ?? 14, stiffness = opts?.stiffness ?? 120;
38
- let v = 0, x = current;
39
- run(() => {
40
- const dt = 1 / 60;
41
- v += (-stiffness * (x - target) - damping * v) * dt;
42
- x += v * dt;
43
- return Math.abs(v) < .5 && Math.abs(x - target) < .5 ? (apply(target), null) : x;
44
- });
45
- },
46
- stop() {
47
- cancelAnimationFrame(raf);
29
+ let _b = __s.slots[0];
30
+ if (_b === void 0) {
31
+ let _m0, _m1, _m2, _m3, _m4, _m5, _m6, _m7, _m8, _m9, _m10, _m11, _m12, _m13, _m14, _m15, _m16, _m17, _m18, _m19, _m20, _m21, _m22;
32
+ const _root = clone(_t$0);
33
+ _m0 = (el) => applyEscapeProps(el, props);
34
+ _m1 = props.id;
35
+ _m2 = [
36
+ "vx-pressable",
37
+ props.ignoreTouchAnimation ? "vx-pressable-no-feedback" : "",
38
+ props.className
39
+ ];
40
+ _m3 = snapshotSpread(layoutChildProps(props, {
41
+ ...props.style,
42
+ ...props.hitSlop ? {
43
+ margin: -props.hitSlop,
44
+ padding: props.hitSlop
45
+ } : {}
46
+ }));
47
+ _m4 = props.accessibilityRole ?? "button";
48
+ _m5 = props.accessibilityLabel;
49
+ _m6 = props.accessibilityHint;
50
+ _m7 = props.accessibilityValue;
51
+ _m8 = props.accessibilityState?.disabled ?? props.disabled ?? void 0;
52
+ _m9 = props.accessibilityState?.selected;
53
+ _m10 = props.accessibilityState?.checked;
54
+ _m11 = props.accessibilityState?.busy;
55
+ _m12 = props.accessibilityState?.expanded;
56
+ _m13 = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
57
+ _m14 = props.accessible === false ? true : void 0;
58
+ _m15 = props.disabled ? void 0 : props.onPress;
59
+ _m16 = props.disabled ? void 0 : props.onDoublePress;
60
+ _m17 = (e) => {
61
+ if (!props.disabled) {
62
+ props.onPressIn?.();
63
+ down();
64
+ }
65
+ };
66
+ _m18 = () => {
67
+ if (!props.disabled) props.onPressOut?.();
68
+ cancel();
69
+ };
70
+ _m19 = () => {
71
+ if (!props.disabled) props.onPressOut?.();
72
+ cancel();
73
+ };
74
+ _m20 = () => {
75
+ if (!props.disabled) props.onPressOut?.();
76
+ cancel();
77
+ };
78
+ _m21 = _root;
79
+ _m22 = bindSignalHostPropSources(__s, void 0, _root, [
80
+ [
81
+ false,
82
+ "ref",
83
+ _m0
84
+ ],
85
+ [
86
+ false,
87
+ "id",
88
+ _m1
89
+ ],
90
+ [
91
+ false,
92
+ "className",
93
+ _m2
94
+ ],
95
+ [true, _m3],
96
+ [
97
+ false,
98
+ "role",
99
+ _m4
100
+ ],
101
+ [
102
+ false,
103
+ "aria-label",
104
+ _m5
105
+ ],
106
+ [
107
+ false,
108
+ "aria-description",
109
+ _m6
110
+ ],
111
+ [
112
+ false,
113
+ "aria-valuetext",
114
+ _m7
115
+ ],
116
+ [
117
+ false,
118
+ "aria-disabled",
119
+ _m8
120
+ ],
121
+ [
122
+ false,
123
+ "aria-selected",
124
+ _m9
125
+ ],
126
+ [
127
+ false,
128
+ "aria-checked",
129
+ _m10
130
+ ],
131
+ [
132
+ false,
133
+ "aria-busy",
134
+ _m11
135
+ ],
136
+ [
137
+ false,
138
+ "aria-expanded",
139
+ _m12
140
+ ],
141
+ [
142
+ false,
143
+ "aria-live",
144
+ _m13
145
+ ],
146
+ [
147
+ false,
148
+ "aria-hidden",
149
+ _m14
150
+ ],
151
+ [
152
+ false,
153
+ "onClick",
154
+ _m15
155
+ ],
156
+ [
157
+ false,
158
+ "onDoubleClick",
159
+ _m16
160
+ ],
161
+ [
162
+ false,
163
+ "onPointerDown",
164
+ _m17
165
+ ],
166
+ [
167
+ false,
168
+ "onPointerUp",
169
+ _m18
170
+ ],
171
+ [
172
+ false,
173
+ "onPointerLeave",
174
+ _m19
175
+ ],
176
+ [
177
+ false,
178
+ "onPointerCancel",
179
+ _m20
180
+ ]
181
+ ], "b:b8f90cd3", true);
182
+ _b = bagOf(__s, _root, {
183
+ a: _m0,
184
+ b: _m1,
185
+ c: _m2,
186
+ d: _m3,
187
+ e: _m4,
188
+ f: _m5,
189
+ g: _m6,
190
+ h: _m7,
191
+ i: _m8,
192
+ j: _m9,
193
+ k: _m10,
194
+ l: _m11,
195
+ m: _m12,
196
+ n: _m13,
197
+ o: _m14,
198
+ p: _m15,
199
+ q: _m16,
200
+ r: _m17,
201
+ s: _m18,
202
+ t: _m19,
203
+ u: _m20,
204
+ v: _m21,
205
+ w: _m22,
206
+ x: null,
207
+ y: void 0
208
+ });
209
+ __s.refFields = _rm$1;
210
+ } else {
211
+ {
212
+ const _v = (el) => applyEscapeProps(el, props);
213
+ if (_b.a !== _v) _b.a = _v;
48
214
  }
49
- };
50
- }
51
- function useAnimation(initial = 0, prop = "translateX") {
52
- const c = useRef(null, _h$0);
53
- if (!c.current) c.current = createAnimated(initial, prop);
54
- return c.current;
55
- }
215
+ {
216
+ const _v = props.id;
217
+ if (_b.b !== _v) _b.b = _v;
218
+ }
219
+ {
220
+ const _v = [
221
+ "vx-pressable",
222
+ props.ignoreTouchAnimation ? "vx-pressable-no-feedback" : "",
223
+ props.className
224
+ ];
225
+ if (_b.c !== _v) _b.c = _v;
226
+ }
227
+ _b.d = snapshotSpread(layoutChildProps(props, {
228
+ ...props.style,
229
+ ...props.hitSlop ? {
230
+ margin: -props.hitSlop,
231
+ padding: props.hitSlop
232
+ } : {}
233
+ }));
234
+ {
235
+ const _v = props.accessibilityRole ?? "button";
236
+ if (_b.e !== _v) _b.e = _v;
237
+ }
238
+ {
239
+ const _v = props.accessibilityLabel;
240
+ if (_b.f !== _v) _b.f = _v;
241
+ }
242
+ {
243
+ const _v = props.accessibilityHint;
244
+ if (_b.g !== _v) _b.g = _v;
245
+ }
246
+ {
247
+ const _v = props.accessibilityValue;
248
+ if (_b.h !== _v) _b.h = _v;
249
+ }
250
+ {
251
+ const _v = props.accessibilityState?.disabled ?? props.disabled ?? void 0;
252
+ if (_b.i !== _v) _b.i = _v;
253
+ }
254
+ {
255
+ const _v = props.accessibilityState?.selected;
256
+ if (_b.j !== _v) _b.j = _v;
257
+ }
258
+ {
259
+ const _v = props.accessibilityState?.checked;
260
+ if (_b.k !== _v) _b.k = _v;
261
+ }
262
+ {
263
+ const _v = props.accessibilityState?.busy;
264
+ if (_b.l !== _v) _b.l = _v;
265
+ }
266
+ {
267
+ const _v = props.accessibilityState?.expanded;
268
+ if (_b.m !== _v) _b.m = _v;
269
+ }
270
+ {
271
+ const _v = props.accessibilityLiveRegion === "none" ? "off" : props.accessibilityLiveRegion;
272
+ if (_b.n !== _v) _b.n = _v;
273
+ }
274
+ {
275
+ const _v = props.accessible === false ? true : void 0;
276
+ if (_b.o !== _v) _b.o = _v;
277
+ }
278
+ {
279
+ const _v = props.disabled ? void 0 : props.onPress;
280
+ if (_b.p !== _v) _b.p = _v;
281
+ }
282
+ {
283
+ const _v = props.disabled ? void 0 : props.onDoublePress;
284
+ if (_b.q !== _v) _b.q = _v;
285
+ }
286
+ {
287
+ const _v = (e) => {
288
+ if (!props.disabled) {
289
+ props.onPressIn?.();
290
+ down();
291
+ }
292
+ };
293
+ if (_b.r !== _v) _b.r = _v;
294
+ }
295
+ {
296
+ const _v = () => {
297
+ if (!props.disabled) props.onPressOut?.();
298
+ cancel();
299
+ };
300
+ if (_b.s !== _v) _b.s = _v;
301
+ }
302
+ {
303
+ const _v = () => {
304
+ if (!props.disabled) props.onPressOut?.();
305
+ cancel();
306
+ };
307
+ if (_b.t !== _v) _b.t = _v;
308
+ }
309
+ {
310
+ const _v = () => {
311
+ if (!props.disabled) props.onPressOut?.();
312
+ cancel();
313
+ };
314
+ if (_b.u !== _v) _b.u = _v;
315
+ }
316
+ _b.w = bindSignalHostPropSources(__s, _b.w, _b.v, [
317
+ [
318
+ false,
319
+ "ref",
320
+ _b.a
321
+ ],
322
+ [
323
+ false,
324
+ "id",
325
+ _b.b
326
+ ],
327
+ [
328
+ false,
329
+ "className",
330
+ _b.c
331
+ ],
332
+ [true, _b.d],
333
+ [
334
+ false,
335
+ "role",
336
+ _b.e
337
+ ],
338
+ [
339
+ false,
340
+ "aria-label",
341
+ _b.f
342
+ ],
343
+ [
344
+ false,
345
+ "aria-description",
346
+ _b.g
347
+ ],
348
+ [
349
+ false,
350
+ "aria-valuetext",
351
+ _b.h
352
+ ],
353
+ [
354
+ false,
355
+ "aria-disabled",
356
+ _b.i
357
+ ],
358
+ [
359
+ false,
360
+ "aria-selected",
361
+ _b.j
362
+ ],
363
+ [
364
+ false,
365
+ "aria-checked",
366
+ _b.k
367
+ ],
368
+ [
369
+ false,
370
+ "aria-busy",
371
+ _b.l
372
+ ],
373
+ [
374
+ false,
375
+ "aria-expanded",
376
+ _b.m
377
+ ],
378
+ [
379
+ false,
380
+ "aria-live",
381
+ _b.n
382
+ ],
383
+ [
384
+ false,
385
+ "aria-hidden",
386
+ _b.o
387
+ ],
388
+ [
389
+ false,
390
+ "onClick",
391
+ _b.p
392
+ ],
393
+ [
394
+ false,
395
+ "onDoubleClick",
396
+ _b.q
397
+ ],
398
+ [
399
+ false,
400
+ "onPointerDown",
401
+ _b.r
402
+ ],
403
+ [
404
+ false,
405
+ "onPointerUp",
406
+ _b.s
407
+ ],
408
+ [
409
+ false,
410
+ "onPointerLeave",
411
+ _b.t
412
+ ],
413
+ [
414
+ false,
415
+ "onPointerCancel",
416
+ _b.u
417
+ ]
418
+ ], "b:b8f90cd3", true);
419
+ }
420
+ _b.z = bindSignalChild(__s, _b.z, 1, _b.v, props.children, "b:1d318b77", null, void 0, void 0, void 0, true);
421
+ });
56
422
  //#endregion
57
- export { useAnimation };
423
+ export { Pressable };