@xaui/native 0.9.1-alpha.20 → 0.9.1-alpha.21
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-A4VD4MHK.cjs → chunk-4NE3SLTM.cjs} +63 -125
- package/dist/chunk-5LC6KVL3.cjs +68 -0
- package/dist/{chunk-6ARON3XT.cjs → chunk-APCBIHLR.cjs} +23 -50
- package/dist/chunk-BPBY7ON7.cjs +451 -0
- package/dist/{chunk-WXAME7KB.js → chunk-IBRVMLUF.js} +97 -157
- package/dist/{chunk-4EPS7UBO.js → chunk-ISVUXVFL.js} +18 -43
- package/dist/chunk-JL27KVRT.js +68 -0
- package/dist/chunk-RRRGLRRP.cjs +28 -0
- package/dist/chunk-SGHP76GU.js +28 -0
- package/dist/{chunk-MWXE7D4L.js → chunk-TUJBDS5M.js} +1 -1
- package/dist/{chunk-BHTFIZTQ.cjs → chunk-UL263KGM.cjs} +1 -1
- package/dist/chunk-YRCUALUQ.js +451 -0
- package/dist/components/button/index.cjs +5 -3
- package/dist/components/button/index.d.cts +3 -2
- package/dist/components/button/index.d.ts +3 -2
- package/dist/components/button/index.js +4 -2
- package/dist/components/card/index.cjs +20 -0
- package/dist/components/card/index.d.cts +620 -0
- package/dist/components/card/index.d.ts +620 -0
- package/dist/components/card/index.js +20 -0
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/{create-recipe-CPXFo2rk.d.ts → create-recipe-CC3NNCqF.d.ts} +6 -1
- package/dist/{create-recipe-C0XXjuow.d.cts → create-recipe-CPBFg7ym.d.cts} +6 -1
- package/dist/icon.type-BkcEPJbK.d.ts +73 -0
- package/dist/icon.type-Cs1tMX0W.d.cts +73 -0
- package/dist/index.cjs +21 -5
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +24 -8
- package/dist/{pressable-feedback.type-BwkKLQlX.d.ts → pressable-feedback.type-DsvWZXWC.d.ts} +4 -72
- package/dist/{pressable-feedback.type-1K8YEOb8.d.cts → pressable-feedback.type-wfeiJz5m.d.cts} +4 -72
- package/dist/system/index.cjs +4 -2
- package/dist/system/index.d.cts +5 -3
- package/dist/system/index.d.ts +5 -3
- package/dist/system/index.js +7 -5
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.d.cts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/package.json +11 -1
package/dist/system/index.js
CHANGED
|
@@ -3,12 +3,15 @@ import {
|
|
|
3
3
|
PortalContext,
|
|
4
4
|
PortalHost
|
|
5
5
|
} from "../chunk-XHZBXYVU.js";
|
|
6
|
+
import {
|
|
7
|
+
Icon,
|
|
8
|
+
IconContext,
|
|
9
|
+
useIconContext
|
|
10
|
+
} from "../chunk-JL27KVRT.js";
|
|
6
11
|
import {
|
|
7
12
|
FEEDBACK_OVERLAY,
|
|
8
13
|
HIGHLIGHT_DURATION,
|
|
9
14
|
HIGHLIGHT_OPACITY,
|
|
10
|
-
Icon,
|
|
11
|
-
IconContext,
|
|
12
15
|
PRESS_DURATION,
|
|
13
16
|
PRESS_SCALE,
|
|
14
17
|
PressableFeedback,
|
|
@@ -25,9 +28,8 @@ import {
|
|
|
25
28
|
resolveAnimation,
|
|
26
29
|
resolveSlotAnimation,
|
|
27
30
|
rippleRadiusFor,
|
|
28
|
-
useFeedback
|
|
29
|
-
|
|
30
|
-
} from "../chunk-WXAME7KB.js";
|
|
31
|
+
useFeedback
|
|
32
|
+
} from "../chunk-IBRVMLUF.js";
|
|
31
33
|
import {
|
|
32
34
|
createRecipe
|
|
33
35
|
} from "../chunk-N7C4UNUL.js";
|
package/dist/theme/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkUL263KGMcjs = require('../chunk-UL263KGM.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -34,4 +34,4 @@ require('../chunk-MC7SY2QH.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.XAUIProvider =
|
|
37
|
+
exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.XAUIProvider = _chunkUL263KGMcjs.XAUIProvider; exports.buildRadius = _chunkUL263KGMcjs.buildRadius; exports.buildShadows = _chunkUL263KGMcjs.buildShadows; exports.createTheme = _chunkUL263KGMcjs.createTheme; exports.defaultTheme = _chunkUL263KGMcjs.defaultTheme; exports.deriveColors = _chunkUL263KGMcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.palette = _chunkUL263KGMcjs.palette; exports.primitives = _chunkUL263KGMcjs.primitives; exports.sourceKeys = _chunkUL263KGMcjs.sourceKeys; exports.tokens = _chunkUL263KGMcjs.tokens; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
|
package/dist/theme/index.d.cts
CHANGED
|
@@ -400,7 +400,7 @@ declare const tokens: {
|
|
|
400
400
|
readonly foreground: "#18181b";
|
|
401
401
|
readonly surface: "#ffffff";
|
|
402
402
|
readonly surfaceForeground: "#18181b";
|
|
403
|
-
readonly surfaceSecondary: "#
|
|
403
|
+
readonly surfaceSecondary: "#ececee";
|
|
404
404
|
readonly surfaceSecondaryForeground: "#18181b";
|
|
405
405
|
readonly surfaceTertiary: "#e4e4e7";
|
|
406
406
|
readonly surfaceTertiaryForeground: "#18181b";
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -400,7 +400,7 @@ declare const tokens: {
|
|
|
400
400
|
readonly foreground: "#18181b";
|
|
401
401
|
readonly surface: "#ffffff";
|
|
402
402
|
readonly surfaceForeground: "#18181b";
|
|
403
|
-
readonly surfaceSecondary: "#
|
|
403
|
+
readonly surfaceSecondary: "#ececee";
|
|
404
404
|
readonly surfaceSecondaryForeground: "#18181b";
|
|
405
405
|
readonly surfaceTertiary: "#e4e4e7";
|
|
406
406
|
readonly surfaceTertiaryForeground: "#18181b";
|
package/dist/theme/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xaui/native",
|
|
3
|
-
"version": "0.9.1-alpha.
|
|
3
|
+
"version": "0.9.1-alpha.21",
|
|
4
4
|
"description": "Composition-first React Native UI components with native animations powered by Reanimated",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -37,6 +37,16 @@
|
|
|
37
37
|
"default": "./dist/components/button/index.cjs"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
+
"./card": {
|
|
41
|
+
"import": {
|
|
42
|
+
"types": "./dist/components/card/index.d.ts",
|
|
43
|
+
"default": "./dist/components/card/index.js"
|
|
44
|
+
},
|
|
45
|
+
"require": {
|
|
46
|
+
"types": "./dist/components/card/index.d.cts",
|
|
47
|
+
"default": "./dist/components/card/index.cjs"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
40
50
|
"./typography": {
|
|
41
51
|
"import": {
|
|
42
52
|
"types": "./dist/components/typography/index.d.ts",
|