@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
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* on two nodes, and they have to arrive together — which they only do if neither owns the
|
|
4
4
|
* number.
|
|
5
5
|
*
|
|
6
|
-
* 175ms is
|
|
6
|
+
* 175ms is the reference implementation's, and it is the length of the platform's own switch.
|
|
7
7
|
*/
|
|
8
8
|
export declare const SWITCH_DURATION = 175;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* on two nodes, and they have to arrive together — which they only do if neither owns the
|
|
4
4
|
* number.
|
|
5
5
|
*
|
|
6
|
-
* 175ms is
|
|
6
|
+
* 175ms is the reference implementation's, and it is the length of the platform's own switch.
|
|
7
7
|
*/
|
|
8
8
|
export declare const SWITCH_DURATION = 175;
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
18
|
-
require('../../chunk-
|
|
17
|
+
var _chunk435MOVG2cjs = require('../../chunk-435MOVG2.cjs');
|
|
18
|
+
require('../../chunk-BGBJTBFC.cjs');
|
|
19
19
|
require('../../chunk-OE5T7LJQ.cjs');
|
|
20
20
|
require('../../chunk-F6CQ6CBI.cjs');
|
|
21
21
|
require('../../chunk-7EIHHOHP.cjs');
|
|
@@ -45,4 +45,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
exports.Table =
|
|
48
|
+
exports.Table = _chunk435MOVG2cjs.Table; exports.TableBody = _chunk435MOVG2cjs.TableBody; exports.TableCell = _chunk435MOVG2cjs.TableCell; exports.TableColumn = _chunk435MOVG2cjs.TableColumn; exports.TableContent = _chunk435MOVG2cjs.TableContent; exports.TableFooter = _chunk435MOVG2cjs.TableFooter; exports.TableHeader = _chunk435MOVG2cjs.TableHeader; exports.TableRoot = _chunk435MOVG2cjs.TableRoot; exports.TableRow = _chunk435MOVG2cjs.TableRow; exports.TableScrollContainer = _chunk435MOVG2cjs.TableScrollContainer; exports.TableSelectAllCell = _chunk435MOVG2cjs.TableSelectAllCell; exports.TableSelectionCell = _chunk435MOVG2cjs.TableSelectionCell; exports.tableRecipe = _chunk435MOVG2cjs.tableRecipe; exports.useTable = _chunk435MOVG2cjs.useTable; exports.useTableRow = _chunk435MOVG2cjs.useTableRow;
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
tableRecipe,
|
|
15
15
|
useTable,
|
|
16
16
|
useTableRow
|
|
17
|
-
} from "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
17
|
+
} from "../../chunk-356DND54.js";
|
|
18
|
+
import "../../chunk-3BRVAMXQ.js";
|
|
19
19
|
import "../../chunk-BTKWPEOF.js";
|
|
20
20
|
import "../../chunk-BA2DBSAN.js";
|
|
21
21
|
import "../../chunk-F6W3JQ7K.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
4
|
+
var _chunkU6YD3UBOcjs = require('../../chunk-U6YD3UBO.cjs');
|
|
5
|
+
require('../../chunk-2IOL3VDP.cjs');
|
|
6
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
7
7
|
require('../../chunk-FHNIGHN5.cjs');
|
|
8
8
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
9
9
|
require('../../chunk-TVJXC4HY.cjs');
|
|
@@ -15,4 +15,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.TextArea =
|
|
18
|
+
exports.TextArea = _chunkU6YD3UBOcjs.TextArea; exports.useTextArea = _chunkU6YD3UBOcjs.useTextArea;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextArea,
|
|
3
3
|
useTextArea
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-3VMKOQXH.js";
|
|
5
|
+
import "../../chunk-JYV53WUN.js";
|
|
6
|
+
import "../../chunk-NTVPLDJC.js";
|
|
7
7
|
import "../../chunk-WFZDAXDI.js";
|
|
8
8
|
import "../../chunk-DKVXTMIJ.js";
|
|
9
9
|
import "../../chunk-3Q42X6EQ.js";
|
|
@@ -16,7 +16,7 @@ import type { View } from 'react-native';
|
|
|
16
16
|
* `.Error` **are** the `TextField`'s slots — not wrappers around them, the same components —
|
|
17
17
|
* and only `TextArea.Field` differs, by being multiline and by taking its height in lines.
|
|
18
18
|
*
|
|
19
|
-
* That is also
|
|
19
|
+
* That is also the reference implementation's answer: their `TextArea` renders their `TextField` with three defaults.
|
|
20
20
|
* A component of its own is what a caller looks for; sharing every line of it is what
|
|
21
21
|
* keeps the two from drifting.
|
|
22
22
|
*
|
|
@@ -16,7 +16,7 @@ import type { View } from 'react-native';
|
|
|
16
16
|
* `.Error` **are** the `TextField`'s slots — not wrappers around them, the same components —
|
|
17
17
|
* and only `TextArea.Field` differs, by being multiline and by taking its height in lines.
|
|
18
18
|
*
|
|
19
|
-
* That is also
|
|
19
|
+
* That is also the reference implementation's answer: their `TextArea` renders their `TextField` with three defaults.
|
|
20
20
|
* A component of its own is what a caller looks for; sharing every line of it is what
|
|
21
21
|
* keeps the two from drifting.
|
|
22
22
|
*
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk2IOL3VDPcjs = require('../../chunk-2IOL3VDP.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkBKY5YQ7Wcjs = require('../../chunk-BKY5YQ7W.cjs');
|
|
14
14
|
require('../../chunk-FHNIGHN5.cjs');
|
|
15
15
|
require('../../chunk-SL3V7R2Y.cjs');
|
|
16
16
|
require('../../chunk-TVJXC4HY.cjs');
|
|
@@ -29,4 +29,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.FIELD_GLYPH_SIZES =
|
|
32
|
+
exports.FIELD_GLYPH_SIZES = _chunkBKY5YQ7Wcjs.FIELD_GLYPH_SIZES; exports.TextField = _chunk2IOL3VDPcjs.TextField; exports.TextFieldDescription = _chunk2IOL3VDPcjs.TextFieldDescription; exports.TextFieldError = _chunk2IOL3VDPcjs.TextFieldError; exports.TextFieldField = _chunk2IOL3VDPcjs.TextFieldField; exports.TextFieldLabel = _chunk2IOL3VDPcjs.TextFieldLabel; exports.TextFieldRoot = _chunk2IOL3VDPcjs.TextFieldRoot; exports.textFieldRecipe = _chunkBKY5YQ7Wcjs.textFieldRecipe; exports.useTextField = _chunk2IOL3VDPcjs.useTextField;
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
TextFieldLabel,
|
|
7
7
|
TextFieldRoot,
|
|
8
8
|
useTextField
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-JYV53WUN.js";
|
|
10
10
|
import {
|
|
11
11
|
FIELD_GLYPH_SIZES,
|
|
12
12
|
textFieldRecipe
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-NTVPLDJC.js";
|
|
14
14
|
import "../../chunk-WFZDAXDI.js";
|
|
15
15
|
import "../../chunk-DKVXTMIJ.js";
|
|
16
16
|
import "../../chunk-3Q42X6EQ.js";
|
|
@@ -9,11 +9,11 @@ export type TextFieldSlot = 'root' | 'label' | 'field' | 'textArea' | 'placehold
|
|
|
9
9
|
* `success`, `warning` and `danger` are absent here for the same reason they are there.
|
|
10
10
|
*
|
|
11
11
|
* This is where the theme's `field*` family is finally read, and the four names split
|
|
12
|
-
*
|
|
12
|
+
* the reference implementation's two-name `primary | secondary` by saying what each of their ends already is:
|
|
13
13
|
*
|
|
14
|
-
* - **`primary`** — the `fieldBackground` fill plus the theme's `field` shadow.
|
|
14
|
+
* - **`primary`** — the `fieldBackground` fill plus the theme's `field` shadow. The reference implementation's
|
|
15
15
|
* `primary`, with the elevation their flat token only implies.
|
|
16
|
-
* - **`secondary`** — the neutral `default` fill.
|
|
16
|
+
* - **`secondary`** — the neutral `default` fill. The reference implementation's `secondary`, and the default
|
|
17
17
|
* here: on a plain background a white field is its border and nothing else, while on a
|
|
18
18
|
* card the `fieldBackground` token *is* the card's own colour.
|
|
19
19
|
* - **`tertiary`** — the border alone, no fill. The same drop the `Button`'s `tertiary`
|
|
@@ -22,7 +22,7 @@ export type TextFieldSlot = 'root' | 'label' | 'field' | 'textArea' | 'placehold
|
|
|
22
22
|
* to move, so its focus shows in the caret alone.
|
|
23
23
|
*
|
|
24
24
|
* The first three name the `fieldBorder` edge and `ghost` gives it up. Its width is the
|
|
25
|
-
* theme's `borderWidth.field` —
|
|
25
|
+
* theme's `borderWidth.field` — the reference implementation's `--field-border-width`, which they ship at `0`
|
|
26
26
|
* and we ship at `1`. That is the one shipped default where the two differ;
|
|
27
27
|
* `createTheme({ borderWidth: { field: 0 } })` reproduces theirs.
|
|
28
28
|
*/
|
|
@@ -9,11 +9,11 @@ export type TextFieldSlot = 'root' | 'label' | 'field' | 'textArea' | 'placehold
|
|
|
9
9
|
* `success`, `warning` and `danger` are absent here for the same reason they are there.
|
|
10
10
|
*
|
|
11
11
|
* This is where the theme's `field*` family is finally read, and the four names split
|
|
12
|
-
*
|
|
12
|
+
* the reference implementation's two-name `primary | secondary` by saying what each of their ends already is:
|
|
13
13
|
*
|
|
14
|
-
* - **`primary`** — the `fieldBackground` fill plus the theme's `field` shadow.
|
|
14
|
+
* - **`primary`** — the `fieldBackground` fill plus the theme's `field` shadow. The reference implementation's
|
|
15
15
|
* `primary`, with the elevation their flat token only implies.
|
|
16
|
-
* - **`secondary`** — the neutral `default` fill.
|
|
16
|
+
* - **`secondary`** — the neutral `default` fill. The reference implementation's `secondary`, and the default
|
|
17
17
|
* here: on a plain background a white field is its border and nothing else, while on a
|
|
18
18
|
* card the `fieldBackground` token *is* the card's own colour.
|
|
19
19
|
* - **`tertiary`** — the border alone, no fill. The same drop the `Button`'s `tertiary`
|
|
@@ -22,7 +22,7 @@ export type TextFieldSlot = 'root' | 'label' | 'field' | 'textArea' | 'placehold
|
|
|
22
22
|
* to move, so its focus shows in the caret alone.
|
|
23
23
|
*
|
|
24
24
|
* The first three name the `fieldBorder` edge and `ghost` gives it up. Its width is the
|
|
25
|
-
* theme's `borderWidth.field` —
|
|
25
|
+
* theme's `borderWidth.field` — the reference implementation's `--field-border-width`, which they ship at `0`
|
|
26
26
|
* and we ship at `1`. That is the one shipped default where the two differ;
|
|
27
27
|
* `createTheme({ borderWidth: { field: 0 } })` reproduces theirs.
|
|
28
28
|
*/
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
12
|
+
var _chunkFZXWZNYYcjs = require('../../chunk-FZXWZNYY.cjs');
|
|
13
|
+
require('../../chunk-3TBT6ORW.cjs');
|
|
14
|
+
require('../../chunk-XILRXEUL.cjs');
|
|
15
15
|
require('../../chunk-WDDXU3OH.cjs');
|
|
16
16
|
require('../../chunk-EKS3W46M.cjs');
|
|
17
17
|
require('../../chunk-7EIHHOHP.cjs');
|
|
@@ -37,4 +37,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
exports.TimePicker =
|
|
40
|
+
exports.TimePicker = _chunkFZXWZNYYcjs.TimePicker2; exports.TimePickerClock = _chunkFZXWZNYYcjs.TimePickerClock; exports.TimePickerDisplay = _chunkFZXWZNYYcjs.TimePickerDisplay; exports.TimePickerIndicator = _chunkFZXWZNYYcjs.TimePickerIndicator; exports.TimePickerRoot = _chunkFZXWZNYYcjs.TimePicker; exports.TimePickerSheet = _chunkFZXWZNYYcjs.TimePickerSheet; exports.TimePickerTrigger = _chunkFZXWZNYYcjs.TimePickerTrigger; exports.TimePickerValue = _chunkFZXWZNYYcjs.TimePickerValue; exports.timePickerRecipe = _chunkFZXWZNYYcjs.timePickerRecipe; exports.useTimePicker = _chunkFZXWZNYYcjs.useTimePicker;
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
TimePickerValue,
|
|
10
10
|
timePickerRecipe,
|
|
11
11
|
useTimePicker
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-WMTGDNXU.js";
|
|
13
|
+
import "../../chunk-LYWXGEED.js";
|
|
14
|
+
import "../../chunk-AMFGATFY.js";
|
|
15
15
|
import "../../chunk-2PMXMKS5.js";
|
|
16
16
|
import "../../chunk-64MXEVT3.js";
|
|
17
17
|
import "../../chunk-F6W3JQ7K.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkIHRPAKCZcjs = require('../../chunk-IHRPAKCZ.cjs');
|
|
13
13
|
require('../../chunk-WDDXU3OH.cjs');
|
|
14
14
|
require('../../chunk-HBYT7B47.cjs');
|
|
15
15
|
require('../../chunk-7DPL3ZDS.cjs');
|
|
@@ -32,4 +32,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.Toast =
|
|
35
|
+
exports.Toast = _chunkIHRPAKCZcjs.Toast2; exports.ToastActions = _chunkIHRPAKCZcjs.ToastActions; exports.ToastClose = _chunkIHRPAKCZcjs.ToastClose; exports.ToastDescription = _chunkIHRPAKCZcjs.ToastDescription; exports.ToastHost = _chunkIHRPAKCZcjs.ToastHost; exports.ToastRoot = _chunkIHRPAKCZcjs.Toast; exports.ToastTitle = _chunkIHRPAKCZcjs.ToastTitle; exports.toastRecipe = _chunkIHRPAKCZcjs.toastRecipe; exports.useToast = _chunkIHRPAKCZcjs.useToast; exports.useToastContext = _chunkIHRPAKCZcjs.useToastContext;
|
|
@@ -13,14 +13,14 @@ export declare function toastExiting(placement: ToastPlacement): SlideOutUp;
|
|
|
13
13
|
/**
|
|
14
14
|
* How a card moves when the pile shifts — a dismissal promoting everything forward by one.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
16
|
+
* The reference implementation's 300 ms, and a timing rather than a spring: the cards move together, and a
|
|
17
17
|
* spring would have them arrive at slightly different moments and read as a shuffle.
|
|
18
18
|
*/
|
|
19
19
|
export declare const STACK_TIMING: {
|
|
20
20
|
duration: number;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
|
-
* The swipe that throws a card away, in
|
|
23
|
+
* The swipe that throws a card away, in the reference implementation's numbers.
|
|
24
24
|
*
|
|
25
25
|
* `SWIPE_DISTANCE` **or** `SWIPE_VELOCITY` — either alone is enough. Distance without
|
|
26
26
|
* velocity refuses a flick that clearly meant it; velocity without distance refuses a slow,
|
|
@@ -13,14 +13,14 @@ export declare function toastExiting(placement: ToastPlacement): SlideOutUp;
|
|
|
13
13
|
/**
|
|
14
14
|
* How a card moves when the pile shifts — a dismissal promoting everything forward by one.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
16
|
+
* The reference implementation's 300 ms, and a timing rather than a spring: the cards move together, and a
|
|
17
17
|
* spring would have them arrive at slightly different moments and read as a shuffle.
|
|
18
18
|
*/
|
|
19
19
|
export declare const STACK_TIMING: {
|
|
20
20
|
duration: number;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
|
-
* The swipe that throws a card away, in
|
|
23
|
+
* The swipe that throws a card away, in the reference implementation's numbers.
|
|
24
24
|
*
|
|
25
25
|
* `SWIPE_DISTANCE` **or** `SWIPE_VELOCITY` — either alone is enough. Distance without
|
|
26
26
|
* velocity refuses a flick that clearly meant it; velocity without distance refuses a slow,
|
|
@@ -11,7 +11,7 @@ export type ToastStackStyle = {
|
|
|
11
11
|
* edge, and depth is expressed entirely in the transform. That is what makes a pile of
|
|
12
12
|
* eight cost the height of one.
|
|
13
13
|
*
|
|
14
|
-
* Nothing clamps the depth:
|
|
14
|
+
* Nothing clamps the depth: The reference implementation's interpolation clamps only the front side, so the
|
|
15
15
|
* fourth card is genuinely further back than the third rather than sitting on it. What
|
|
16
16
|
* ends the ladder is `maxVisible`, past which the card is transparent — and being still
|
|
17
17
|
* mounted is the point, because dismissing the front one promotes it into view instead of
|
|
@@ -11,7 +11,7 @@ export type ToastStackStyle = {
|
|
|
11
11
|
* edge, and depth is expressed entirely in the transform. That is what makes a pile of
|
|
12
12
|
* eight cost the height of one.
|
|
13
13
|
*
|
|
14
|
-
* Nothing clamps the depth:
|
|
14
|
+
* Nothing clamps the depth: The reference implementation's interpolation clamps only the front side, so the
|
|
15
15
|
* fourth card is genuinely further back than the third rather than sitting on it. What
|
|
16
16
|
* ends the ladder is `maxVisible`, past which the card is transparent — and being still
|
|
17
17
|
* mounted is the point, because dismissing the front one promotes it into view instead of
|
|
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { StyleProp, TextProps, TextStyle } from 'react-native';
|
|
3
3
|
import type { TextStyleProps } from '../../system/style-props';
|
|
4
4
|
/**
|
|
5
|
-
* The ten roles, aligned with
|
|
5
|
+
* The ten roles, aligned with the reference implementation's `text` — six headings, three body steps and
|
|
6
6
|
* inline code. Each one fixes **size, line height, weight and family together**, which is
|
|
7
7
|
* what removes the separate `size` and `weight` props the legacy component carried, and
|
|
8
8
|
* with them the illegal combinations they allowed: a heading in `weight="light"`, a
|
|
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { StyleProp, TextProps, TextStyle } from 'react-native';
|
|
3
3
|
import type { TextStyleProps } from '../../system/style-props';
|
|
4
4
|
/**
|
|
5
|
-
* The ten roles, aligned with
|
|
5
|
+
* The ten roles, aligned with the reference implementation's `text` — six headings, three body steps and
|
|
6
6
|
* inline code. Each one fixes **size, line height, weight and family together**, which is
|
|
7
7
|
* what removes the separate `size` and `weight` props the legacy component carried, and
|
|
8
8
|
* with them the illegal combinations they allowed: a heading in `weight="light"`, a
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ViewStyle } from 'react-native';
|
|
2
2
|
/**
|
|
3
|
-
* One turn. Slow enough to read as waiting, fast enough not to read as stuck —
|
|
3
|
+
* One turn. Slow enough to read as waiting, fast enough not to read as stuck — the reference implementation
|
|
4
4
|
* arrives at the same figure from the other side, a 1000ms turn played at 1.1×.
|
|
5
5
|
*
|
|
6
6
|
* It is a constant rather than a parameter because the library turns at one speed: two
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ViewStyle } from 'react-native';
|
|
2
2
|
/**
|
|
3
|
-
* One turn. Slow enough to read as waiting, fast enough not to read as stuck —
|
|
3
|
+
* One turn. Slow enough to read as waiting, fast enough not to read as stuck — the reference implementation
|
|
4
4
|
* arrives at the same figure from the other side, a 1000ms turn played at 1.1×.
|
|
5
5
|
*
|
|
6
6
|
* It is a constant rather than a parameter because the library turns at one speed: two
|