@xaui/native 0.9.1-beta.95 → 0.9.1-beta.96
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/{chunk-AXKDHX5V.cjs → chunk-2IOL3VDP.cjs} +3 -3
- package/dist/{chunk-LUPU7FJK.js → chunk-356DND54.js} +1 -1
- package/dist/{chunk-B5DBFS6M.js → chunk-3BRVAMXQ.js} +1 -1
- package/dist/{chunk-YJIVPYMG.cjs → chunk-3CI4JGY4.cjs} +14 -14
- package/dist/{chunk-4LRVB6WR.cjs → chunk-3DQCHPB6.cjs} +12 -12
- package/dist/{chunk-X6GT4H4I.cjs → chunk-3TBT6ORW.cjs} +15 -15
- package/dist/{chunk-DN3X5WIB.js → chunk-3VMKOQXH.js} +1 -1
- package/dist/{chunk-WPYJW3WM.cjs → chunk-435MOVG2.cjs} +3 -3
- package/dist/{chunk-NGXLJ5ZF.cjs → chunk-4R4SIP22.cjs} +22 -22
- package/dist/{chunk-V4IFH65I.cjs → chunk-5CXOSDFI.cjs} +2 -2
- package/dist/{chunk-5XTF2JDK.js → chunk-5G36GMFS.js} +1 -1
- package/dist/{chunk-VBS6VWW4.cjs → chunk-5UT5I53X.cjs} +3 -3
- package/dist/{chunk-5O7E73QP.cjs → chunk-7CGF3Z5S.cjs} +6 -6
- package/dist/{chunk-7OVYYZ7H.js → chunk-7EPH24S2.js} +15 -15
- package/dist/{chunk-G2YHGLN3.cjs → chunk-7JWOAGB3.cjs} +9 -9
- package/dist/{chunk-6SRFQSPR.cjs → chunk-ADGHFLBJ.cjs} +1 -1
- package/dist/{chunk-E4FWGZH2.js → chunk-AMFGATFY.js} +2 -2
- package/dist/{chunk-X22PLAP6.cjs → chunk-BGBJTBFC.cjs} +1 -1
- package/dist/{chunk-33BA4LVN.js → chunk-BH4IN6H6.js} +1 -1
- package/dist/{chunk-WLWZG2PA.cjs → chunk-BKY5YQ7W.cjs} +1 -1
- package/dist/{chunk-AHJLQJOE.cjs → chunk-C2S6J27O.cjs} +1 -1
- package/dist/{chunk-53E2E7GS.cjs → chunk-CP6AB6N5.cjs} +15 -15
- package/dist/{chunk-WYRM77XM.cjs → chunk-ENZBKNFJ.cjs} +15 -15
- package/dist/{chunk-BYDGJU5A.js → chunk-ES7RME6G.js} +3 -3
- package/dist/{chunk-KFB24VYT.js → chunk-EXONAJUX.js} +15 -15
- package/dist/{chunk-ERIGD4SE.cjs → chunk-FWAP4WAJ.cjs} +18 -18
- package/dist/{chunk-KMK6FUTK.cjs → chunk-FZXWZNYY.cjs} +9 -9
- package/dist/{chunk-K7VDLVLE.js → chunk-GKXOHUEW.js} +3 -3
- package/dist/{chunk-6W45YHTF.js → chunk-HDERVGWZ.js} +1 -1
- package/dist/{chunk-KHPODIQV.cjs → chunk-IHRPAKCZ.cjs} +15 -15
- package/dist/{chunk-2XEQDQAN.js → chunk-IVELCJEN.js} +99 -99
- package/dist/{chunk-5YZUYSV7.js → chunk-JYV53WUN.js} +1 -1
- package/dist/{chunk-DE4RSR7Q.cjs → chunk-KAYZH7ZN.cjs} +1 -1
- package/dist/{chunk-IMIY34F4.cjs → chunk-KIXHSX3L.cjs} +1 -1
- package/dist/{chunk-7M6YKCHX.js → chunk-KZZWNDDO.js} +2 -2
- package/dist/{chunk-OZLOYXLW.js → chunk-L6EWRWTE.js} +2 -2
- package/dist/{chunk-EQUD3NHO.js → chunk-LYWXGEED.js} +43 -43
- package/dist/{chunk-XOZMGNVS.js → chunk-MXSIY6QQ.js} +3 -3
- package/dist/{chunk-3CPLJJWX.js → chunk-MZUYTCCB.js} +1 -1
- package/dist/{chunk-NADCILBL.cjs → chunk-NRU5APUE.cjs} +4 -4
- package/dist/{chunk-43S673KF.js → chunk-NTVPLDJC.js} +1 -1
- package/dist/{chunk-7AVZ2FST.cjs → chunk-NXVSNESK.cjs} +12 -12
- package/dist/{chunk-4AIIAF6U.js → chunk-SRY3HKSC.js} +16 -16
- package/dist/{chunk-YOPWQHNO.js → chunk-TNFLBURM.js} +1 -1
- package/dist/{chunk-YCQEX25B.cjs → chunk-U6YD3UBO.cjs} +7 -7
- package/dist/{chunk-GN7BWYXP.cjs → chunk-USQK6SFZ.cjs} +15 -15
- package/dist/{chunk-YGETADPV.js → chunk-V7YT4SDX.js} +2 -2
- package/dist/{chunk-DBP5CA5R.js → chunk-VL2ZT4BB.js} +3 -3
- package/dist/{chunk-E5E2QA4K.js → chunk-VQG7K5QE.js} +15 -15
- package/dist/{chunk-Q6OVVUAT.js → chunk-VTGWFZCA.js} +2 -2
- package/dist/{chunk-MNBEUNC5.cjs → chunk-WH7MFY3H.cjs} +18 -18
- package/dist/{chunk-OX23MW5E.js → chunk-WMTGDNXU.js} +44 -44
- package/dist/{chunk-2TLPFGGR.cjs → chunk-XCEDD7PE.cjs} +24 -24
- package/dist/{chunk-J5COSALO.cjs → chunk-XILRXEUL.cjs} +2 -2
- package/dist/{chunk-AIHKBSQ5.cjs → chunk-YUCK5VJO.cjs} +8 -8
- package/dist/{chunk-YI5D4QZP.js → chunk-Z2KK5W7P.js} +15 -15
- package/dist/{chunk-SX5U5UJQ.js → chunk-ZBY7Q7WJ.js} +2 -2
- package/dist/{chunk-U5CUBDJA.js → chunk-ZR5YOCOQ.js} +15 -15
- package/dist/components/accordion/accordion.animation.d.cts +1 -1
- package/dist/components/accordion/accordion.animation.d.ts +1 -1
- package/dist/components/accordion/accordion.type.d.cts +1 -1
- package/dist/components/accordion/accordion.type.d.ts +1 -1
- package/dist/components/accordion/index.cjs +2 -2
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/alert-icon.d.cts +2 -2
- package/dist/components/alert/alert-icon.d.ts +2 -2
- package/dist/components/alert/alert.type.d.cts +1 -1
- package/dist/components/alert/alert.type.d.ts +1 -1
- package/dist/components/alert/index.cjs +2 -2
- package/dist/components/alert/index.js +1 -1
- package/dist/components/autocomplete/index.cjs +3 -3
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/avatar/avatar-fallback.d.cts +1 -1
- package/dist/components/avatar/avatar-fallback.d.ts +1 -1
- package/dist/components/avatar/avatar.d.cts +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.type.d.cts +1 -1
- package/dist/components/avatar/avatar.type.d.ts +1 -1
- package/dist/components/avatar/index.cjs +2 -2
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.cts +1 -1
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +1 -1
- package/dist/components/bottom-sheet/index.cjs +2 -2
- package/dist/components/bottom-sheet/index.js +1 -1
- package/dist/components/card/card-background.d.cts +1 -1
- package/dist/components/card/card-background.d.ts +1 -1
- package/dist/components/card/card.utils.d.cts +1 -1
- package/dist/components/card/card.utils.d.ts +1 -1
- package/dist/components/checkbox/checkbox.recipe.d.cts +1 -1
- package/dist/components/checkbox/checkbox.recipe.d.ts +1 -1
- package/dist/components/checkbox/checkbox.type.d.cts +1 -1
- package/dist/components/checkbox/checkbox.type.d.ts +1 -1
- package/dist/components/checkbox/index.cjs +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/chip/chip.type.d.cts +1 -1
- package/dist/components/chip/chip.type.d.ts +1 -1
- package/dist/components/chip/index.cjs +2 -2
- package/dist/components/chip/index.js +1 -1
- package/dist/components/color-picker/index.cjs +7 -7
- package/dist/components/color-picker/index.js +6 -6
- package/dist/components/combobox/index.cjs +4 -4
- package/dist/components/combobox/index.js +3 -3
- package/dist/components/date-picker/index.cjs +4 -4
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/date-range-picker/index.cjs +4 -4
- package/dist/components/date-range-picker/index.js +3 -3
- package/dist/components/date-time-picker/index.cjs +5 -5
- package/dist/components/date-time-picker/index.js +4 -4
- package/dist/components/dialog/index.cjs +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dummy-field/index.cjs +5 -5
- package/dist/components/dummy-field/index.js +4 -4
- package/dist/components/field-group/field-group-icon.d.cts +1 -1
- package/dist/components/field-group/field-group-icon.d.ts +1 -1
- package/dist/components/field-group/index.cjs +4 -4
- package/dist/components/field-group/index.js +3 -3
- package/dist/components/input-otp/input-otp.type.d.cts +1 -1
- package/dist/components/input-otp/input-otp.type.d.ts +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.cts +1 -1
- package/dist/components/list-box/list-box-item-suffix.d.ts +1 -1
- package/dist/components/mask-field/index.cjs +5 -5
- package/dist/components/mask-field/index.js +4 -4
- package/dist/components/menu/index.cjs +2 -2
- package/dist/components/menu/index.js +1 -1
- package/dist/components/number-field/index.cjs +5 -5
- package/dist/components/number-field/index.js +4 -4
- package/dist/components/phone-number-field/index.cjs +22 -22
- package/dist/components/phone-number-field/index.js +4 -4
- package/dist/components/popover/index.cjs +2 -2
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.recipe.d.cts +1 -1
- package/dist/components/popover/popover.recipe.d.ts +1 -1
- package/dist/components/search-field/index.cjs +5 -5
- package/dist/components/search-field/index.js +4 -4
- package/dist/components/select/index.cjs +3 -3
- package/dist/components/select/index.js +2 -2
- package/dist/components/select/select-indicator.d.cts +1 -1
- package/dist/components/select/select-indicator.d.ts +1 -1
- package/dist/components/skeleton/skeleton.type.d.cts +1 -1
- package/dist/components/skeleton/skeleton.type.d.ts +1 -1
- package/dist/components/slider/slider-thumb.d.cts +1 -1
- package/dist/components/slider/slider-thumb.d.ts +1 -1
- package/dist/components/slider/slider.recipe.d.cts +1 -1
- package/dist/components/slider/slider.recipe.d.ts +1 -1
- package/dist/components/spinner/spinner.d.cts +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/switch/switch.style.d.cts +1 -1
- package/dist/components/switch/switch.style.d.ts +1 -1
- package/dist/components/table/index.cjs +3 -3
- package/dist/components/table/index.js +2 -2
- package/dist/components/text-area/index.cjs +4 -4
- package/dist/components/text-area/index.js +3 -3
- package/dist/components/text-area/text-area.d.cts +1 -1
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/components/text-field/index.cjs +3 -3
- package/dist/components/text-field/index.js +2 -2
- package/dist/components/text-field/text-field.type.d.cts +4 -4
- package/dist/components/text-field/text-field.type.d.ts +4 -4
- package/dist/components/time-picker/index.cjs +4 -4
- package/dist/components/time-picker/index.js +3 -3
- package/dist/components/toast/index.cjs +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/toast.animation.d.cts +2 -2
- package/dist/components/toast/toast.animation.d.ts +2 -2
- package/dist/components/toast/toast.utils.d.cts +1 -1
- package/dist/components/toast/toast.utils.d.ts +1 -1
- package/dist/components/typography/typography.type.d.cts +1 -1
- package/dist/components/typography/typography.type.d.ts +1 -1
- package/dist/hooks/use-rotation.d.cts +1 -1
- package/dist/hooks/use-rotation.d.ts +1 -1
- package/dist/index.cjs +30 -30
- package/dist/index.js +29 -29
- package/dist/system/anchored/indicator-spring.d.cts +2 -2
- package/dist/system/anchored/indicator-spring.d.ts +2 -2
- package/dist/theme/derive-colors.d.cts +1 -1
- package/dist/theme/derive-colors.d.ts +1 -1
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.js +1 -1
- package/package.json +1 -1
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DummyFieldRoot,
|
|
9
9
|
DummyFieldValue,
|
|
10
10
|
useDummyField
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-MXSIY6QQ.js";
|
|
12
|
+
import "../../chunk-MZUYTCCB.js";
|
|
13
|
+
import "../../chunk-JYV53WUN.js";
|
|
14
|
+
import "../../chunk-NTVPLDJC.js";
|
|
15
15
|
import "../../chunk-KQW25RCC.js";
|
|
16
16
|
import "../../chunk-423RQBOX.js";
|
|
17
17
|
import "../../chunk-JN6IRT2M.js";
|
|
@@ -17,7 +17,7 @@ import type { FieldGroupIconProps } from './field-group.type';
|
|
|
17
17
|
* `primary` field, where the fill is the caller's colour and the placeholder grey is no
|
|
18
18
|
* longer readable over it.
|
|
19
19
|
*
|
|
20
|
-
* It is not one of
|
|
20
|
+
* It is not one of the reference implementation's three parts: theirs colour the glyph at the call site. This is
|
|
21
21
|
* the same slot `Button`, `Chip` and `Alert` all have, and it exists so that a form does
|
|
22
22
|
* not carry a hard-coded `#888` on every field.
|
|
23
23
|
*/
|
|
@@ -17,7 +17,7 @@ import type { FieldGroupIconProps } from './field-group.type';
|
|
|
17
17
|
* `primary` field, where the fill is the caller's colour and the placeholder grey is no
|
|
18
18
|
* longer readable over it.
|
|
19
19
|
*
|
|
20
|
-
* It is not one of
|
|
20
|
+
* It is not one of the reference implementation's three parts: theirs colour the glyph at the call site. This is
|
|
21
21
|
* the same slot `Button`, `Chip` and `Alert` all have, and it exists so that a form does
|
|
22
22
|
* not carry a hard-coded `#888` on every field.
|
|
23
23
|
*/
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-
|
|
11
|
+
var _chunkNRU5APUEcjs = require('../../chunk-NRU5APUE.cjs');
|
|
12
|
+
require('../../chunk-2IOL3VDP.cjs');
|
|
13
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
14
14
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
15
15
|
require('../../chunk-FHNIGHN5.cjs');
|
|
16
16
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -30,4 +30,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.FieldGroup =
|
|
33
|
+
exports.FieldGroup = _chunkNRU5APUEcjs.FieldGroup; exports.FieldGroupField = _chunkNRU5APUEcjs.FieldGroupField; exports.FieldGroupIcon = _chunkNRU5APUEcjs.FieldGroupIcon; exports.FieldGroupPrefix = _chunkNRU5APUEcjs.FieldGroupPrefix; exports.FieldGroupRoot = _chunkNRU5APUEcjs.FieldGroupRoot; exports.FieldGroupSuffix = _chunkNRU5APUEcjs.FieldGroupSuffix; exports.decoratorPadding = _chunkNRU5APUEcjs.decoratorPadding; exports.useFieldGroup = _chunkNRU5APUEcjs.useFieldGroup; exports.useOptionalFieldGroup = _chunkNRU5APUEcjs.useOptionalFieldGroup;
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
decoratorPadding,
|
|
9
9
|
useFieldGroup,
|
|
10
10
|
useOptionalFieldGroup
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-MZUYTCCB.js";
|
|
12
|
+
import "../../chunk-JYV53WUN.js";
|
|
13
|
+
import "../../chunk-NTVPLDJC.js";
|
|
14
14
|
import "../../chunk-JN6IRT2M.js";
|
|
15
15
|
import "../../chunk-WFZDAXDI.js";
|
|
16
16
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -17,7 +17,7 @@ export type InputOTPSlot = 'root' | 'group' | 'box' | 'value' | 'placeholder' |
|
|
|
17
17
|
* they go**. With no fill and no border there is nothing to count. It is the reason the
|
|
18
18
|
* `Checkbox` has no `ghost` either — a box that is not a box is not a box.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* The reference implementation splits their OTP slot the same two ways their input is split, and they reach for
|
|
21
21
|
* the `field` shadow on `primary` here explicitly — which is the same reading our `Input`
|
|
22
22
|
* takes.
|
|
23
23
|
*/
|
|
@@ -17,7 +17,7 @@ export type InputOTPSlot = 'root' | 'group' | 'box' | 'value' | 'placeholder' |
|
|
|
17
17
|
* they go**. With no fill and no border there is nothing to count. It is the reason the
|
|
18
18
|
* `Checkbox` has no `ghost` either — a box that is not a box is not a box.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* The reference implementation splits their OTP slot the same two ways their input is split, and they reach for
|
|
21
21
|
* the `field` shadow on `primary` here explicitly — which is the same reading our `Input`
|
|
22
22
|
* takes.
|
|
23
23
|
*/
|
|
@@ -2,7 +2,7 @@ import { View } from 'react-native';
|
|
|
2
2
|
/**
|
|
3
3
|
* What trails the row: a value, a switch, a chevron, a badge.
|
|
4
4
|
*
|
|
5
|
-
* **It draws nothing of its own.**
|
|
5
|
+
* **It draws nothing of its own.** The reference implementation's puts a chevron here by default; the trailing
|
|
6
6
|
* end of a settings row is a `Switch` at least as often, and a slot that guesses makes you
|
|
7
7
|
* pass a child in order to render nothing. What goes there is the row's business, and the
|
|
8
8
|
* row is one line away from saying so.
|
|
@@ -2,7 +2,7 @@ import { View } from 'react-native';
|
|
|
2
2
|
/**
|
|
3
3
|
* What trails the row: a value, a switch, a chevron, a badge.
|
|
4
4
|
*
|
|
5
|
-
* **It draws nothing of its own.**
|
|
5
|
+
* **It draws nothing of its own.** The reference implementation's puts a chevron here by default; the trailing
|
|
6
6
|
* end of a settings row is a `Switch` at least as often, and a slot that guesses makes you
|
|
7
7
|
* pass a child in order to render nothing. What goes there is the row's business, and the
|
|
8
8
|
* row is one line away from saying so.
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('../../chunk-
|
|
17
|
-
require('../../chunk-
|
|
18
|
-
require('../../chunk-
|
|
15
|
+
var _chunk7JWOAGB3cjs = require('../../chunk-7JWOAGB3.cjs');
|
|
16
|
+
require('../../chunk-NRU5APUE.cjs');
|
|
17
|
+
require('../../chunk-2IOL3VDP.cjs');
|
|
18
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
19
19
|
require('../../chunk-ISHMSP6P.cjs');
|
|
20
20
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
21
21
|
require('../../chunk-FHNIGHN5.cjs');
|
|
@@ -40,4 +40,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
exports.MASK_FIELD_MASKS =
|
|
43
|
+
exports.MASK_FIELD_MASKS = _chunk7JWOAGB3cjs.MASK_FIELD_MASKS; exports.MaskField = _chunk7JWOAGB3cjs.MaskField; exports.MaskFieldField = _chunk7JWOAGB3cjs.MaskFieldField; exports.MaskFieldRoot = _chunk7JWOAGB3cjs.MaskFieldRoot; exports.dateOrderFor = _chunk7JWOAGB3cjs.dateOrderFor; exports.dateSeparatorFor = _chunk7JWOAGB3cjs.dateSeparatorFor; exports.formatMaskedDate = _chunk7JWOAGB3cjs.formatMaskedDate; exports.formatMaskedTime = _chunk7JWOAGB3cjs.formatMaskedTime; exports.maskInput = _chunk7JWOAGB3cjs.maskInput; exports.parseMaskedDate = _chunk7JWOAGB3cjs.parseMaskedDate; exports.parseMaskedTime = _chunk7JWOAGB3cjs.parseMaskedTime; exports.resolveMask = _chunk7JWOAGB3cjs.resolveMask; exports.useMaskField = _chunk7JWOAGB3cjs.useMaskField;
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
parseMaskedTime,
|
|
13
13
|
resolveMask,
|
|
14
14
|
useMaskField
|
|
15
|
-
} from "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
15
|
+
} from "../../chunk-KZZWNDDO.js";
|
|
16
|
+
import "../../chunk-MZUYTCCB.js";
|
|
17
|
+
import "../../chunk-JYV53WUN.js";
|
|
18
|
+
import "../../chunk-NTVPLDJC.js";
|
|
19
19
|
import "../../chunk-SHFUQVLX.js";
|
|
20
20
|
import "../../chunk-JN6IRT2M.js";
|
|
21
21
|
import "../../chunk-WFZDAXDI.js";
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkADGHFLBJcjs = require('../../chunk-ADGHFLBJ.cjs');
|
|
18
18
|
require('../../chunk-GTR5X65M.cjs');
|
|
19
19
|
require('../../chunk-YVYYONTP.cjs');
|
|
20
20
|
require('../../chunk-WDDXU3OH.cjs');
|
|
@@ -48,4 +48,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
exports.Menu =
|
|
51
|
+
exports.Menu = _chunkADGHFLBJcjs.Menu2; exports.MenuContent = _chunkADGHFLBJcjs.MenuContent; exports.MenuGroup = _chunkADGHFLBJcjs.MenuGroup; exports.MenuItem = _chunkADGHFLBJcjs.MenuItem; exports.MenuItemDescription = _chunkADGHFLBJcjs.MenuItemDescription; exports.MenuItemIndicator = _chunkADGHFLBJcjs.MenuItemIndicator; exports.MenuItemTitle = _chunkADGHFLBJcjs.MenuItemTitle; exports.MenuLabel = _chunkADGHFLBJcjs.MenuLabel; exports.MenuOverlay = _chunkADGHFLBJcjs.MenuOverlay; exports.MenuRoot = _chunkADGHFLBJcjs.Menu; exports.MenuSeparator = _chunkADGHFLBJcjs.MenuSeparator; exports.MenuTrigger = _chunkADGHFLBJcjs.MenuTrigger; exports.menuRecipe = _chunkADGHFLBJcjs.menuRecipe; exports.useMenu = _chunkADGHFLBJcjs.useMenu; exports.useMenuItem = _chunkADGHFLBJcjs.useMenuItem;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNXVSNESKcjs = require('../../chunk-NXVSNESK.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -15,9 +15,9 @@ var _chunk7AVZ2FSTcjs = require('../../chunk-7AVZ2FST.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkMPYBJSS7cjs = require('../../chunk-MPYBJSS7.cjs');
|
|
18
|
-
require('../../chunk-
|
|
19
|
-
require('../../chunk-
|
|
20
|
-
require('../../chunk-
|
|
18
|
+
require('../../chunk-NRU5APUE.cjs');
|
|
19
|
+
require('../../chunk-2IOL3VDP.cjs');
|
|
20
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
21
21
|
require('../../chunk-GSZDN6EZ.cjs');
|
|
22
22
|
require('../../chunk-FHNIGHN5.cjs');
|
|
23
23
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
@@ -41,4 +41,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.NumberField =
|
|
44
|
+
exports.NumberField = _chunkNXVSNESKcjs.NumberField; exports.NumberFieldDecrement = _chunkNXVSNESKcjs.NumberFieldDecrement; exports.NumberFieldField = _chunkNXVSNESKcjs.NumberFieldField; exports.NumberFieldIncrement = _chunkNXVSNESKcjs.NumberFieldIncrement; exports.NumberFieldRoot = _chunkNXVSNESKcjs.NumberFieldRoot; exports.canStep = _chunkMPYBJSS7cjs.canStep; exports.clampNumber = _chunkMPYBJSS7cjs.clampNumber; exports.formatNumber = _chunkMPYBJSS7cjs.formatNumber; exports.numberFieldRecipe = _chunkNXVSNESKcjs.numberFieldRecipe; exports.numberMarks = _chunkMPYBJSS7cjs.numberMarks; exports.parseNumber = _chunkMPYBJSS7cjs.parseNumber; exports.stepNumber = _chunkMPYBJSS7cjs.stepNumber; exports.useNumberField = _chunkNXVSNESKcjs.useNumberField;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
NumberFieldRoot,
|
|
7
7
|
numberFieldRecipe,
|
|
8
8
|
useNumberField
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-VTGWFZCA.js";
|
|
10
10
|
import {
|
|
11
11
|
canStep,
|
|
12
12
|
clampNumber,
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
parseNumber,
|
|
16
16
|
stepNumber
|
|
17
17
|
} from "../../chunk-CG4NONIL.js";
|
|
18
|
-
import "../../chunk-
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-MZUYTCCB.js";
|
|
19
|
+
import "../../chunk-JYV53WUN.js";
|
|
20
|
+
import "../../chunk-NTVPLDJC.js";
|
|
21
21
|
import "../../chunk-JN6IRT2M.js";
|
|
22
22
|
import "../../chunk-WFZDAXDI.js";
|
|
23
23
|
import "../../chunk-DKVXTMIJ.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkNRU5APUEcjs = require('../../chunk-NRU5APUE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -11,8 +11,8 @@ var _chunkNADCILBLcjs = require('../../chunk-NADCILBL.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('../../chunk-
|
|
14
|
+
var _chunk2IOL3VDPcjs = require('../../chunk-2IOL3VDP.cjs');
|
|
15
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -21,7 +21,7 @@ require('../../chunk-WLWZG2PA.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunk3TBT6ORWcjs = require('../../chunk-3TBT6ORW.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunk6NRWZR7Tcjs = require('../../chunk-6NRWZR7T.cjs');
|
|
@@ -189,13 +189,13 @@ var PhoneNumberFieldRoot = _react.forwardRef.call(void 0,
|
|
|
189
189
|
]
|
|
190
190
|
);
|
|
191
191
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
192
|
-
|
|
192
|
+
_chunk3TBT6ORWcjs.BottomSheet,
|
|
193
193
|
{
|
|
194
194
|
isOpen: context.isOpen,
|
|
195
195
|
onOpenChange: setOpen,
|
|
196
196
|
isDisabled,
|
|
197
197
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
198
|
-
|
|
198
|
+
_chunk2IOL3VDPcjs.TextFieldRoot,
|
|
199
199
|
{
|
|
200
200
|
ref,
|
|
201
201
|
variant: "primary",
|
|
@@ -215,13 +215,13 @@ PhoneNumberFieldRoot.displayName = "XAUI.PhoneNumberField.Root";
|
|
|
215
215
|
|
|
216
216
|
var PhoneNumberFieldField = _react.forwardRef.call(void 0, function PhoneNumberFieldField2({ style, onBlur, ...props }, ref) {
|
|
217
217
|
const { value, setNumber, formatNumber } = usePhoneNumberField();
|
|
218
|
-
const group =
|
|
218
|
+
const group = _chunkNRU5APUEcjs.useOptionalFieldGroup.call(void 0, );
|
|
219
219
|
const padding = _react.useMemo.call(void 0,
|
|
220
|
-
() =>
|
|
220
|
+
() => _chunkNRU5APUEcjs.decoratorPadding.call(void 0, _nullishCoalesce(_optionalChain([group, 'optionalAccess', _6 => _6.prefixWidth]), () => ( 0)), _nullishCoalesce(_optionalChain([group, 'optionalAccess', _7 => _7.suffixWidth]), () => ( 0))),
|
|
221
221
|
[_optionalChain([group, 'optionalAccess', _8 => _8.prefixWidth]), _optionalChain([group, 'optionalAccess', _9 => _9.suffixWidth])]
|
|
222
222
|
);
|
|
223
223
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
224
|
-
|
|
224
|
+
_chunk2IOL3VDPcjs.TextFieldField,
|
|
225
225
|
{
|
|
226
226
|
ref,
|
|
227
227
|
keyboardType: "phone-pad",
|
|
@@ -245,9 +245,9 @@ var _reactnative = require('react-native');
|
|
|
245
245
|
|
|
246
246
|
var PhoneNumberFieldCountry = _react.forwardRef.call(void 0, function PhoneNumberFieldCountry2({ children, asChild, ...props }, ref) {
|
|
247
247
|
const { country } = usePhoneNumberField();
|
|
248
|
-
const { labelStyle } =
|
|
248
|
+
const { labelStyle } = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
249
249
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
250
|
-
|
|
250
|
+
_chunk3TBT6ORWcjs.BottomSheetTrigger,
|
|
251
251
|
{
|
|
252
252
|
ref,
|
|
253
253
|
asChild,
|
|
@@ -271,8 +271,8 @@ function PhoneNumberFieldContent({
|
|
|
271
271
|
...props
|
|
272
272
|
}) {
|
|
273
273
|
const context = usePhoneNumberField();
|
|
274
|
-
const field =
|
|
275
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
const field = _chunk2IOL3VDPcjs.useTextField.call(void 0, );
|
|
275
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TBT6ORWcjs.BottomSheetContent, { ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PhoneNumberFieldProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextFieldProvider, { value: field, children }) }) });
|
|
276
276
|
}
|
|
277
277
|
PhoneNumberFieldContent.displayName = "XAUI.PhoneNumberField.Content";
|
|
278
278
|
|
|
@@ -281,8 +281,8 @@ PhoneNumberFieldContent.displayName = "XAUI.PhoneNumberField.Content";
|
|
|
281
281
|
|
|
282
282
|
var PhoneNumberFieldSearch = _react.forwardRef.call(void 0, function PhoneNumberFieldSearch2(props, ref) {
|
|
283
283
|
const { query, setQuery } = usePhoneNumberField();
|
|
284
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
-
|
|
284
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IOL3VDPcjs.TextField, { variant: "secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
+
_chunk2IOL3VDPcjs.TextField.Field,
|
|
286
286
|
{
|
|
287
287
|
ref,
|
|
288
288
|
accessibilityRole: "search",
|
|
@@ -346,16 +346,16 @@ PhoneNumberFieldCountryList.displayName = "XAUI.PhoneNumberField.CountryList";
|
|
|
346
346
|
|
|
347
347
|
// src/components/phone-number-field/index.ts
|
|
348
348
|
var PhoneNumberField2 = Object.assign(PhoneNumberFieldRoot, {
|
|
349
|
-
Label:
|
|
349
|
+
Label: _chunk2IOL3VDPcjs.TextFieldLabel,
|
|
350
350
|
Field: PhoneNumberFieldField,
|
|
351
351
|
Country: PhoneNumberFieldCountry,
|
|
352
|
-
Description:
|
|
353
|
-
Error:
|
|
354
|
-
Overlay:
|
|
352
|
+
Description: _chunk2IOL3VDPcjs.TextFieldDescription,
|
|
353
|
+
Error: _chunk2IOL3VDPcjs.TextFieldError,
|
|
354
|
+
Overlay: _chunk3TBT6ORWcjs.BottomSheetOverlay,
|
|
355
355
|
Content: PhoneNumberFieldContent,
|
|
356
|
-
Handle:
|
|
357
|
-
Title:
|
|
358
|
-
Close:
|
|
356
|
+
Handle: _chunk3TBT6ORWcjs.BottomSheetHandle,
|
|
357
|
+
Title: _chunk3TBT6ORWcjs.BottomSheetTitle,
|
|
358
|
+
Close: _chunk3TBT6ORWcjs.BottomSheetClose,
|
|
359
359
|
Search: PhoneNumberFieldSearch,
|
|
360
360
|
CountryList: PhoneNumberFieldCountryList
|
|
361
361
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decoratorPadding,
|
|
3
3
|
useOptionalFieldGroup
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-MZUYTCCB.js";
|
|
5
5
|
import {
|
|
6
6
|
TextField,
|
|
7
7
|
TextFieldDescription,
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
TextFieldProvider,
|
|
12
12
|
TextFieldRoot,
|
|
13
13
|
useTextField
|
|
14
|
-
} from "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
14
|
+
} from "../../chunk-JYV53WUN.js";
|
|
15
|
+
import "../../chunk-NTVPLDJC.js";
|
|
16
16
|
import {
|
|
17
17
|
BottomSheet,
|
|
18
18
|
BottomSheetClose,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
BottomSheetOverlay,
|
|
22
22
|
BottomSheetTitle,
|
|
23
23
|
BottomSheetTrigger
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-LYWXGEED.js";
|
|
25
25
|
import {
|
|
26
26
|
Button
|
|
27
27
|
} from "../../chunk-6MVKLRLZ.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkKAYZH7ZNcjs = require('../../chunk-KAYZH7ZN.cjs');
|
|
13
13
|
require('../../chunk-GTR5X65M.cjs');
|
|
14
14
|
require('../../chunk-YVYYONTP.cjs');
|
|
15
15
|
require('../../chunk-WDDXU3OH.cjs');
|
|
@@ -37,4 +37,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
exports.Popover =
|
|
40
|
+
exports.Popover = _chunkKAYZH7ZNcjs.Popover2; exports.PopoverClose = _chunkKAYZH7ZNcjs.PopoverClose; exports.PopoverContent = _chunkKAYZH7ZNcjs.PopoverContent; exports.PopoverDescription = _chunkKAYZH7ZNcjs.PopoverDescription; exports.PopoverOverlay = _chunkKAYZH7ZNcjs.PopoverOverlay; exports.PopoverRoot = _chunkKAYZH7ZNcjs.Popover; exports.PopoverTitle = _chunkKAYZH7ZNcjs.PopoverTitle; exports.PopoverTrigger = _chunkKAYZH7ZNcjs.PopoverTrigger; exports.popoverRecipe = _chunkKAYZH7ZNcjs.popoverRecipe; exports.usePopover = _chunkKAYZH7ZNcjs.usePopover;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Thirteen ems, which is about twenty-six characters a line — narrow, and deliberately so.
|
|
5
5
|
* A popover is read at a glance, and a glance is two or three short lines rather than a
|
|
6
6
|
* paragraph; past this it stops being an aside and starts being a sheet with a tail. It is
|
|
7
|
-
* also where
|
|
7
|
+
* also where the reference implementation's own panels land, measured off their placement demos: a little over
|
|
8
8
|
* two hundred points on a three-hundred-and-ninety point screen.
|
|
9
9
|
*
|
|
10
10
|
* A measure rather than a number of points, so a theme that scales its type scales the
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Thirteen ems, which is about twenty-six characters a line — narrow, and deliberately so.
|
|
5
5
|
* A popover is read at a glance, and a glance is two or three short lines rather than a
|
|
6
6
|
* paragraph; past this it stops being an aside and starts being a sheet with a tail. It is
|
|
7
|
-
* also where
|
|
7
|
+
* also where the reference implementation's own panels land, measured off their placement demos: a little over
|
|
8
8
|
* two hundred points on a three-hundred-and-ninety point screen.
|
|
9
9
|
*
|
|
10
10
|
* A measure rather than a number of points, so a theme that scales its type scales the
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
13
|
-
require('../../chunk-
|
|
10
|
+
var _chunk3CI4JGY4cjs = require('../../chunk-3CI4JGY4.cjs');
|
|
11
|
+
require('../../chunk-NRU5APUE.cjs');
|
|
12
|
+
require('../../chunk-2IOL3VDP.cjs');
|
|
13
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
14
14
|
require('../../chunk-WNEDQTH6.cjs');
|
|
15
15
|
require('../../chunk-HBYT7B47.cjs');
|
|
16
16
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
@@ -32,4 +32,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.SearchField =
|
|
35
|
+
exports.SearchField = _chunk3CI4JGY4cjs.SearchField; exports.SearchFieldClear = _chunk3CI4JGY4cjs.SearchFieldClear; exports.SearchFieldField = _chunk3CI4JGY4cjs.SearchFieldField; exports.SearchFieldIcon = _chunk3CI4JGY4cjs.SearchFieldIcon; exports.SearchFieldRoot = _chunk3CI4JGY4cjs.SearchFieldRoot; exports.SearchIcon = _chunk3CI4JGY4cjs.SearchIcon; exports.searchFieldRecipe = _chunk3CI4JGY4cjs.searchFieldRecipe; exports.useSearchField = _chunk3CI4JGY4cjs.useSearchField;
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
SearchIcon,
|
|
8
8
|
searchFieldRecipe,
|
|
9
9
|
useSearchField
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
10
|
+
} from "../../chunk-ES7RME6G.js";
|
|
11
|
+
import "../../chunk-MZUYTCCB.js";
|
|
12
|
+
import "../../chunk-JYV53WUN.js";
|
|
13
|
+
import "../../chunk-NTVPLDJC.js";
|
|
14
14
|
import "../../chunk-SIX5AVXG.js";
|
|
15
15
|
import "../../chunk-KQW25RCC.js";
|
|
16
16
|
import "../../chunk-423RQBOX.js";
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkFWAP4WAJcjs = require('../../chunk-FWAP4WAJ.cjs');
|
|
18
18
|
require('../../chunk-FJGPDWMS.cjs');
|
|
19
19
|
require('../../chunk-YVYYONTP.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkXILRXEULcjs = require('../../chunk-XILRXEUL.cjs');
|
|
23
23
|
require('../../chunk-WDDXU3OH.cjs');
|
|
24
24
|
require('../../chunk-EKS3W46M.cjs');
|
|
25
25
|
require('../../chunk-WFEMJCXO.cjs');
|
|
@@ -52,4 +52,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
exports.CheckIcon =
|
|
55
|
+
exports.CheckIcon = _chunkFWAP4WAJcjs.CheckIcon; exports.Select = _chunkFWAP4WAJcjs.Select2; exports.SelectContent = _chunkFWAP4WAJcjs.SelectContent; exports.SelectIndicator = _chunkFWAP4WAJcjs.SelectIndicator; exports.SelectItem = _chunkFWAP4WAJcjs.SelectItem; exports.SelectItemDescription = _chunkFWAP4WAJcjs.SelectItemDescription; exports.SelectItemIndicator = _chunkFWAP4WAJcjs.SelectItemIndicator; exports.SelectItemLabel = _chunkFWAP4WAJcjs.SelectItemLabel; exports.SelectLabel = _chunkFWAP4WAJcjs.SelectLabel; exports.SelectOverlay = _chunkFWAP4WAJcjs.SelectOverlay; exports.SelectRoot = _chunkFWAP4WAJcjs.Select; exports.SelectTrigger = _chunkFWAP4WAJcjs.SelectTrigger; exports.SelectValue = _chunkFWAP4WAJcjs.SelectValue; exports.selectRecipe = _chunkXILRXEULcjs.selectRecipe; exports.useSelect = _chunkFWAP4WAJcjs.useSelect; exports.useSelectItem = _chunkFWAP4WAJcjs.useSelectItem;
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
SelectValue,
|
|
15
15
|
useSelect,
|
|
16
16
|
useSelectItem
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-Z2KK5W7P.js";
|
|
18
18
|
import "../../chunk-4WCBZFAK.js";
|
|
19
19
|
import "../../chunk-Z6FRP4EV.js";
|
|
20
20
|
import {
|
|
21
21
|
selectRecipe
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-AMFGATFY.js";
|
|
23
23
|
import "../../chunk-2PMXMKS5.js";
|
|
24
24
|
import "../../chunk-64MXEVT3.js";
|
|
25
25
|
import "../../chunk-NCTOTTVW.js";
|
|
@@ -4,7 +4,7 @@ import type { SelectIndicatorProps } from './select.type';
|
|
|
4
4
|
*
|
|
5
5
|
* It rotates on a spring rather than a timing curve. A 180-degree turn on a curve reads
|
|
6
6
|
* as an animation playing next to the list; on a spring heavy enough not to overshoot it
|
|
7
|
-
* reads as the list pushing the glyph round — which is the same trade
|
|
7
|
+
* reads as the list pushing the glyph round — which is the same trade the reference implementation makes, with
|
|
8
8
|
* the same numbers.
|
|
9
9
|
*
|
|
10
10
|
* The rotation is a worklet on the UI thread, so it keeps turning while JavaScript is
|
|
@@ -4,7 +4,7 @@ import type { SelectIndicatorProps } from './select.type';
|
|
|
4
4
|
*
|
|
5
5
|
* It rotates on a spring rather than a timing curve. A 180-degree turn on a curve reads
|
|
6
6
|
* as an animation playing next to the list; on a spring heavy enough not to overshoot it
|
|
7
|
-
* reads as the list pushing the glyph round — which is the same trade
|
|
7
|
+
* reads as the list pushing the glyph round — which is the same trade the reference implementation makes, with
|
|
8
8
|
* the same numbers.
|
|
9
9
|
*
|
|
10
10
|
* The rotation is a worklet on the UI thread, so it keeps turning while JavaScript is
|
|
@@ -51,7 +51,7 @@ type SkeletonOwnProps = {
|
|
|
51
51
|
/**
|
|
52
52
|
* `false` freezes the block at full opacity and mounts no worklet.
|
|
53
53
|
*
|
|
54
|
-
* A boolean rather than
|
|
54
|
+
* A boolean rather than the reference implementation's `'shimmer' | 'pulse' | 'none'`: a shimmer is a
|
|
55
55
|
* gradient sweeping across the block, a gradient needs `react-native-svg`, and that is
|
|
56
56
|
* an optional peer a component in the core cannot require. One animation, so there is
|
|
57
57
|
* nothing for a name to choose between.
|
|
@@ -51,7 +51,7 @@ type SkeletonOwnProps = {
|
|
|
51
51
|
/**
|
|
52
52
|
* `false` freezes the block at full opacity and mounts no worklet.
|
|
53
53
|
*
|
|
54
|
-
* A boolean rather than
|
|
54
|
+
* A boolean rather than the reference implementation's `'shimmer' | 'pulse' | 'none'`: a shimmer is a
|
|
55
55
|
* gradient sweeping across the block, a gradient needs `react-native-svg`, and that is
|
|
56
56
|
* an optional peer a component in the core cannot require. One animation, so there is
|
|
57
57
|
* nothing for a name to choose between.
|
|
@@ -12,7 +12,7 @@ import type { SliderThumbProps } from './slider.type';
|
|
|
12
12
|
* the scale can stay on the other thread.
|
|
13
13
|
*
|
|
14
14
|
* It is a **disc of the page's own colour inside a ring of the fill's**, which is the
|
|
15
|
-
* legacy component's shape rather than
|
|
15
|
+
* legacy component's shape rather than the reference implementation's capsule-with-a-core. A solid accent knob
|
|
16
16
|
* on an accent fill disappears the moment the value reaches the top; a ring never does.
|
|
17
17
|
*/
|
|
18
18
|
export declare function SliderThumb({ index, accessibilityValueText, style, ...props }: SliderThumbProps): import("react").JSX.Element;
|
|
@@ -12,7 +12,7 @@ import type { SliderThumbProps } from './slider.type';
|
|
|
12
12
|
* the scale can stay on the other thread.
|
|
13
13
|
*
|
|
14
14
|
* It is a **disc of the page's own colour inside a ring of the fill's**, which is the
|
|
15
|
-
* legacy component's shape rather than
|
|
15
|
+
* legacy component's shape rather than the reference implementation's capsule-with-a-core. A solid accent knob
|
|
16
16
|
* on an accent fill disappears the moment the value reaches the top; a ring never does.
|
|
17
17
|
*/
|
|
18
18
|
export declare function SliderThumb({ index, accessibilityValueText, style, ...props }: SliderThumbProps): import("react").JSX.Element;
|
|
@@ -11,7 +11,7 @@ type SizeStep = {
|
|
|
11
11
|
* The legacy slider's proportions, point for point.
|
|
12
12
|
*
|
|
13
13
|
* A **thin rail with a round knob on it**, not a capsule with a core inside — which is what
|
|
14
|
-
* this component shipped as, borrowed from
|
|
14
|
+
* this component shipped as, borrowed from the reference implementation's. The rail is 6 to 10 points and the
|
|
15
15
|
* knob 16 to 24, so the knob overhangs the rail by half their difference on each side. That
|
|
16
16
|
* overhang is the shape: it is what makes the knob read as sitting *on* a line rather than
|
|
17
17
|
* as a segment *of* one.
|
|
@@ -11,7 +11,7 @@ type SizeStep = {
|
|
|
11
11
|
* The legacy slider's proportions, point for point.
|
|
12
12
|
*
|
|
13
13
|
* A **thin rail with a round knob on it**, not a capsule with a core inside — which is what
|
|
14
|
-
* this component shipped as, borrowed from
|
|
14
|
+
* this component shipped as, borrowed from the reference implementation's. The rail is 6 to 10 points and the
|
|
15
15
|
* knob 16 to 24, so the knob overhangs the rail by half their difference on each side. That
|
|
16
16
|
* overhang is the shape: it is what makes the knob read as sitting *on* a line rather than
|
|
17
17
|
* as a segment *of* one.
|
|
@@ -14,7 +14,7 @@ import type { StyleProp, ViewStyle } from 'react-native';
|
|
|
14
14
|
* the same circle with a quarter missing. There is nothing between them for a slot to
|
|
15
15
|
* name, and the two are one figure rather than two parts.
|
|
16
16
|
*
|
|
17
|
-
* It is
|
|
17
|
+
* It is the reference implementation's spinner drawn with borders instead of a gradient stroke. Theirs fades a
|
|
18
18
|
* single arc from opaque to 55%, which needs an SVG `linearGradient` and therefore
|
|
19
19
|
* `react-native-svg` — an optional peer, which a component in the fifteen-component core
|
|
20
20
|
* cannot require. Two circles of one ink at two opacities read as the same figure and
|
|
@@ -14,7 +14,7 @@ import type { StyleProp, ViewStyle } from 'react-native';
|
|
|
14
14
|
* the same circle with a quarter missing. There is nothing between them for a slot to
|
|
15
15
|
* name, and the two are one figure rather than two parts.
|
|
16
16
|
*
|
|
17
|
-
* It is
|
|
17
|
+
* It is the reference implementation's spinner drawn with borders instead of a gradient stroke. Theirs fades a
|
|
18
18
|
* single arc from opaque to 55%, which needs an SVG `linearGradient` and therefore
|
|
19
19
|
* `react-native-svg` — an optional peer, which a component in the fifteen-component core
|
|
20
20
|
* cannot require. Two circles of one ink at two opacities read as the same figure and
|