@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The chevron's turn, shared by the `Select` and the `Accordion`.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* The reference implementation's numbers. Heavily damped against a very high stiffness: it arrives in about a
|
|
5
5
|
* fifth of a second and does not overshoot, which is what a turn of 180 degrees needs —
|
|
6
6
|
* an oscillating chevron reads as a bug rather than as motion.
|
|
7
7
|
*/
|
|
@@ -10,5 +10,5 @@ export declare const INDICATOR_SPRING: {
|
|
|
10
10
|
readonly stiffness: 1000;
|
|
11
11
|
readonly mass: 4;
|
|
12
12
|
};
|
|
13
|
-
/** Degrees. Down when closed, up when open, turning anticlockwise as
|
|
13
|
+
/** Degrees. Down when closed, up when open, turning anticlockwise as the reference implementation's does. */
|
|
14
14
|
export declare const INDICATOR_ROTATION: readonly [0, -180];
|
|
@@ -3,7 +3,7 @@ import type { XAUIDerivedColors, XAUISourceColors } from './theme.type';
|
|
|
3
3
|
* The derived layer: ~30 tokens computed from the source layer, never written by hand.
|
|
4
4
|
* Override `accent` and `accentPressed`, `accentSoft`, `accentSoftForeground` follow.
|
|
5
5
|
*
|
|
6
|
-
* These are
|
|
6
|
+
* These are the reference implementation's `color-mix(in oklab, …)` formulas transposed to JS, because React
|
|
7
7
|
* Native has no `color-mix()`. Their `-hover` names became `-pressed`: what they feed is
|
|
8
8
|
* the press overlay, and the web name was a leftover.
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@ import type { XAUIDerivedColors, XAUISourceColors } from './theme.type';
|
|
|
3
3
|
* The derived layer: ~30 tokens computed from the source layer, never written by hand.
|
|
4
4
|
* Override `accent` and `accentPressed`, `accentSoft`, `accentSoftForeground` follow.
|
|
5
5
|
*
|
|
6
|
-
* These are
|
|
6
|
+
* These are the reference implementation's `color-mix(in oklab, …)` formulas transposed to JS, because React
|
|
7
7
|
* Native has no `color-mix()`. Their `-hover` names became `-pressed`: what they feed is
|
|
8
8
|
* the press overlay, and the web name was a leftover.
|
|
9
9
|
*
|
package/dist/theme/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk5CXOSDFIcjs = require('../chunk-5CXOSDFI.cjs');
|
|
13
13
|
require('../chunk-WDDXU3OH.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
@@ -41,4 +41,4 @@ require('../chunk-TK44VBIE.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
exports.ThemeContext = _chunkIIAQISBGcjs.ThemeContext; exports.XAUIProvider =
|
|
44
|
+
exports.ThemeContext = _chunkIIAQISBGcjs.ThemeContext; exports.XAUIProvider = _chunk5CXOSDFIcjs.XAUIProvider; exports.appearanceFor = _chunkIIAQISBGcjs.appearanceFor; exports.buildRadius = _chunk5CXOSDFIcjs.buildRadius; exports.buildShadows = _chunk5CXOSDFIcjs.buildShadows; exports.createTheme = _chunk5CXOSDFIcjs.createTheme; exports.defaultTheme = _chunk5CXOSDFIcjs.defaultTheme; exports.deriveColors = _chunk5CXOSDFIcjs.deriveColors; exports.deriveTint = _chunkTVJXC4HYcjs.deriveTint; exports.palette = _chunk5CXOSDFIcjs.palette; exports.primitives = _chunk5CXOSDFIcjs.primitives; exports.sourceKeys = _chunk5CXOSDFIcjs.sourceKeys; exports.tokens = _chunk5CXOSDFIcjs.tokens; exports.useAppearance = _chunkIIAQISBGcjs.useAppearance; exports.useColorMode = _chunkIIAQISBGcjs.useColorMode; exports.useThemeColor = _chunkIIAQISBGcjs.useThemeColor; exports.useXAUITheme = _chunkIIAQISBGcjs.useXAUITheme;
|
package/dist/theme/index.js
CHANGED