@xaui/native 0.9.1-alpha.20 → 0.9.1-alpha.22

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 (73) hide show
  1. package/dist/{chunk-RMLFMRWL.js → chunk-2U6JR7BF.js} +5 -5
  2. package/dist/{chunk-N7C4UNUL.js → chunk-3JATAB7S.js} +23 -1
  3. package/dist/chunk-4MHJOWM4.cjs +364 -0
  4. package/dist/{chunk-2WMVDMFV.cjs → chunk-6HXWQ5AU.cjs} +2 -2
  5. package/dist/chunk-6WW4CSPY.cjs +82 -0
  6. package/dist/chunk-AHL33YAO.js +425 -0
  7. package/dist/{chunk-XHZBXYVU.js → chunk-AKXG43S4.js} +1 -1
  8. package/dist/{chunk-A4VD4MHK.cjs → chunk-BH5DSJVX.cjs} +100 -133
  9. package/dist/chunk-BNWS26PX.cjs +449 -0
  10. package/dist/chunk-DXGQ43IV.cjs +68 -0
  11. package/dist/{chunk-4EPS7UBO.js → chunk-FNQF4KQV.js} +20 -97
  12. package/dist/chunk-FTCTTBLG.js +449 -0
  13. package/dist/chunk-FVP5FUVS.js +68 -0
  14. package/dist/{chunk-BHTFIZTQ.cjs → chunk-GBPWTFTU.cjs} +11 -11
  15. package/dist/{chunk-MWXE7D4L.js → chunk-GG2WWCBK.js} +11 -11
  16. package/dist/{chunk-EVXZGNPA.cjs → chunk-HUZ4AUM2.cjs} +98 -98
  17. package/dist/chunk-I6PE5UUH.cjs +425 -0
  18. package/dist/{chunk-33QILJJH.cjs → chunk-IBEX4XGV.cjs} +11 -11
  19. package/dist/{chunk-WXAME7KB.js → chunk-KM2TI5IC.js} +126 -159
  20. package/dist/chunk-OGC4RKE3.js +364 -0
  21. package/dist/{chunk-JXLRHKCQ.js → chunk-OYZYWWJ6.js} +1 -1
  22. package/dist/{chunk-EXX6ATAS.js → chunk-PMO62QK4.js} +101 -101
  23. package/dist/{chunk-UBA6AEY6.cjs → chunk-RAWOJ3N3.cjs} +8 -8
  24. package/dist/{chunk-6ARON3XT.cjs → chunk-VDRRD6GM.cjs} +31 -110
  25. package/dist/{chunk-UVO4GFSW.cjs → chunk-YXVKQMCK.cjs} +23 -1
  26. package/dist/chunk-ZQ3JSWRO.js +82 -0
  27. package/dist/close-button.type-BUYuoSt2.d.ts +36 -0
  28. package/dist/close-button.type-CHsgZ3wO.d.cts +36 -0
  29. package/dist/components/alert/index.cjs +17 -0
  30. package/dist/components/alert/index.d.cts +169 -0
  31. package/dist/components/alert/index.d.ts +169 -0
  32. package/dist/components/alert/index.js +17 -0
  33. package/dist/components/button/index.cjs +6 -5
  34. package/dist/components/button/index.d.cts +193 -243
  35. package/dist/components/button/index.d.ts +193 -243
  36. package/dist/components/button/index.js +5 -4
  37. package/dist/components/card/index.cjs +19 -0
  38. package/dist/components/card/index.d.cts +620 -0
  39. package/dist/components/card/index.d.ts +620 -0
  40. package/dist/components/card/index.js +19 -0
  41. package/dist/components/chip/index.cjs +17 -0
  42. package/dist/components/chip/index.d.cts +608 -0
  43. package/dist/components/chip/index.d.ts +608 -0
  44. package/dist/components/chip/index.js +17 -0
  45. package/dist/components/typography/index.cjs +4 -4
  46. package/dist/components/typography/index.d.cts +4 -4
  47. package/dist/components/typography/index.d.ts +4 -4
  48. package/dist/components/typography/index.js +3 -3
  49. package/dist/components/view/index.cjs +3 -3
  50. package/dist/components/view/index.d.cts +7 -7
  51. package/dist/components/view/index.d.ts +7 -7
  52. package/dist/components/view/index.js +2 -2
  53. package/dist/{create-recipe-CPXFo2rk.d.ts → create-recipe-CbXika57.d.ts} +7 -1
  54. package/dist/{create-recipe-C0XXjuow.d.cts → create-recipe-jHlk434p.d.cts} +7 -1
  55. package/dist/icon.type-CF4KiMKl.d.cts +73 -0
  56. package/dist/icon.type-Dq4_qePa.d.ts +73 -0
  57. package/dist/index.cjs +49 -11
  58. package/dist/index.d.cts +9 -4
  59. package/dist/index.d.ts +9 -4
  60. package/dist/index.js +71 -33
  61. package/dist/{pressable-feedback.type-BwkKLQlX.d.ts → pressable-feedback.type-BA2C9sSz.d.cts} +4 -72
  62. package/dist/{pressable-feedback.type-1K8YEOb8.d.cts → pressable-feedback.type-Bs4dQlGj.d.ts} +4 -72
  63. package/dist/{style-props.type-B1BG5TCm.d.cts → style-props.type-CfnoGEP7.d.cts} +1 -1
  64. package/dist/{style-props.type-B1BG5TCm.d.ts → style-props.type-CfnoGEP7.d.ts} +1 -1
  65. package/dist/system/index.cjs +16 -6
  66. package/dist/system/index.d.cts +174 -98
  67. package/dist/system/index.d.ts +174 -98
  68. package/dist/system/index.js +20 -10
  69. package/dist/theme/index.cjs +2 -2
  70. package/dist/theme/index.d.cts +11 -11
  71. package/dist/theme/index.d.ts +11 -11
  72. package/dist/theme/index.js +1 -1
  73. package/package.json +31 -1
@@ -2,13 +2,20 @@ import {
2
2
  Portal,
3
3
  PortalContext,
4
4
  PortalHost
5
- } from "../chunk-XHZBXYVU.js";
5
+ } from "../chunk-AKXG43S4.js";
6
+ import {
7
+ CloseButton,
8
+ closeButtonBase
9
+ } from "../chunk-ZQ3JSWRO.js";
10
+ import {
11
+ Icon,
12
+ IconContext,
13
+ useIconContext
14
+ } from "../chunk-FVP5FUVS.js";
6
15
  import {
7
16
  FEEDBACK_OVERLAY,
8
17
  HIGHLIGHT_DURATION,
9
18
  HIGHLIGHT_OPACITY,
10
- Icon,
11
- IconContext,
12
19
  PRESS_DURATION,
13
20
  PRESS_SCALE,
14
21
  PressableFeedback,
@@ -25,12 +32,13 @@ import {
25
32
  resolveAnimation,
26
33
  resolveSlotAnimation,
27
34
  rippleRadiusFor,
28
- useFeedback,
29
- useIconContext
30
- } from "../chunk-WXAME7KB.js";
35
+ useFeedback
36
+ } from "../chunk-KM2TI5IC.js";
31
37
  import {
32
- createRecipe
33
- } from "../chunk-N7C4UNUL.js";
38
+ createRecipe,
39
+ radiusAxis
40
+ } from "../chunk-3JATAB7S.js";
41
+ import "../chunk-A3EGFI6T.js";
34
42
  import {
35
43
  Slot,
36
44
  childrenToString,
@@ -38,10 +46,10 @@ import {
38
46
  mergeProps,
39
47
  mergeRefs,
40
48
  useStyleProps
41
- } from "../chunk-EXX6ATAS.js";
42
- import "../chunk-A3EGFI6T.js";
49
+ } from "../chunk-PMO62QK4.js";
43
50
  import "../chunk-GGW42MY4.js";
44
51
  export {
52
+ CloseButton,
45
53
  FEEDBACK_OVERLAY,
46
54
  HIGHLIGHT_DURATION,
47
55
  HIGHLIGHT_OPACITY,
@@ -63,12 +71,14 @@ export {
63
71
  SCALE_REFERENCE_WIDTH,
64
72
  Slot,
65
73
  childrenToString,
74
+ closeButtonBase,
66
75
  createRecipe,
67
76
  createSlotContext,
68
77
  markOverlay,
69
78
  mergeProps,
70
79
  mergeRefs,
71
80
  pressScaleFor,
81
+ radiusAxis,
72
82
  resolveAnimation,
73
83
  resolveSlotAnimation,
74
84
  rippleRadiusFor,
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
 
12
- var _chunkBHTFIZTQcjs = require('../chunk-BHTFIZTQ.cjs');
12
+ var _chunkGBPWTFTUcjs = require('../chunk-GBPWTFTU.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 = _chunkBHTFIZTQcjs.XAUIProvider; exports.buildRadius = _chunkBHTFIZTQcjs.buildRadius; exports.buildShadows = _chunkBHTFIZTQcjs.buildShadows; exports.createTheme = _chunkBHTFIZTQcjs.createTheme; exports.defaultTheme = _chunkBHTFIZTQcjs.defaultTheme; exports.deriveColors = _chunkBHTFIZTQcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.palette = _chunkBHTFIZTQcjs.palette; exports.primitives = _chunkBHTFIZTQcjs.primitives; exports.sourceKeys = _chunkBHTFIZTQcjs.sourceKeys; exports.tokens = _chunkBHTFIZTQcjs.tokens; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
37
+ exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.XAUIProvider = _chunkGBPWTFTUcjs.XAUIProvider; exports.buildRadius = _chunkGBPWTFTUcjs.buildRadius; exports.buildShadows = _chunkGBPWTFTUcjs.buildShadows; exports.createTheme = _chunkGBPWTFTUcjs.createTheme; exports.defaultTheme = _chunkGBPWTFTUcjs.defaultTheme; exports.deriveColors = _chunkGBPWTFTUcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.palette = _chunkGBPWTFTUcjs.palette; exports.primitives = _chunkGBPWTFTUcjs.primitives; exports.sourceKeys = _chunkGBPWTFTUcjs.sourceKeys; exports.tokens = _chunkGBPWTFTUcjs.tokens; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
@@ -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: "#f4f4f5";
403
+ readonly surfaceSecondary: "#ececee";
404
404
  readonly surfaceSecondaryForeground: "#18181b";
405
405
  readonly surfaceTertiary: "#e4e4e7";
406
406
  readonly surfaceTertiaryForeground: "#18181b";
@@ -418,7 +418,7 @@ declare const tokens: {
418
418
  readonly fieldBorder: "#e4e4e7";
419
419
  readonly success: "#15803d";
420
420
  readonly successForeground: "#fafafa";
421
- readonly warning: "#b45309";
421
+ readonly warning: "#c2410c";
422
422
  readonly warningForeground: "#fafafa";
423
423
  readonly danger: "#dc2626";
424
424
  readonly dangerForeground: "#fafafa";
@@ -430,7 +430,7 @@ declare const tokens: {
430
430
  readonly link: "#18181b";
431
431
  readonly accentPressed: "#8533d3";
432
432
  readonly successPressed: "#1b753a";
433
- readonly warningPressed: "#a34d13";
433
+ readonly warningPressed: "#af3e15";
434
434
  readonly dangerPressed: "#c72927";
435
435
  readonly defaultPressed: "#dbdbde";
436
436
  readonly surfacePressed: "#eaeaea";
@@ -443,9 +443,9 @@ declare const tokens: {
443
443
  readonly successSoft: "rgba(21, 128, 61, 0.15)";
444
444
  readonly successSoftForeground: "#205f34";
445
445
  readonly successSoftPressed: "rgba(21, 128, 61, 0.2)";
446
- readonly warningSoft: "rgba(180, 83, 9, 0.15)";
447
- readonly warningSoftForeground: "#793f1e";
448
- readonly warningSoftPressed: "rgba(180, 83, 9, 0.2)";
446
+ readonly warningSoft: "rgba(194, 65, 12, 0.15)";
447
+ readonly warningSoftForeground: "#82361e";
448
+ readonly warningSoftPressed: "rgba(194, 65, 12, 0.2)";
449
449
  readonly dangerSoft: "rgba(220, 38, 38, 0.15)";
450
450
  readonly dangerSoftForeground: "#b22b28";
451
451
  readonly dangerSoftPressed: "rgba(220, 38, 38, 0.2)";
@@ -488,7 +488,7 @@ declare const tokens: {
488
488
  readonly fieldBorder: "#3f3f46";
489
489
  readonly success: "#4ade80";
490
490
  readonly successForeground: "#18181b";
491
- readonly warning: "#fbbf24";
491
+ readonly warning: "#fb923c";
492
492
  readonly warningForeground: "#18181b";
493
493
  readonly danger: "#f87171";
494
494
  readonly dangerForeground: "#18181b";
@@ -500,7 +500,7 @@ declare const tokens: {
500
500
  readonly link: "#fafafa";
501
501
  readonly accentPressed: "#c691fd";
502
502
  readonly successPressed: "#64e18d";
503
- readonly warningPressed: "#fbc54b";
503
+ readonly warningPressed: "#fc9d55";
504
504
  readonly dangerPressed: "#fa807e";
505
505
  readonly defaultPressed: "#2e2e31";
506
506
  readonly surfacePressed: "#27272a";
@@ -513,9 +513,9 @@ declare const tokens: {
513
513
  readonly successSoft: "rgba(74, 222, 128, 0.15)";
514
514
  readonly successSoftForeground: "#8de8a6";
515
515
  readonly successSoftPressed: "rgba(74, 222, 128, 0.2)";
516
- readonly warningSoft: "rgba(251, 191, 36, 0.15)";
517
- readonly warningSoftForeground: "#fbd586";
518
- readonly warningSoftPressed: "rgba(251, 191, 36, 0.2)";
516
+ readonly warningSoft: "rgba(251, 146, 60, 0.15)";
517
+ readonly warningSoftForeground: "#feb887";
518
+ readonly warningSoftPressed: "rgba(251, 146, 60, 0.2)";
519
519
  readonly dangerSoft: "rgba(248, 113, 113, 0.15)";
520
520
  readonly dangerSoftForeground: "#fc8f8c";
521
521
  readonly dangerSoftPressed: "rgba(248, 113, 113, 0.2)";
@@ -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: "#f4f4f5";
403
+ readonly surfaceSecondary: "#ececee";
404
404
  readonly surfaceSecondaryForeground: "#18181b";
405
405
  readonly surfaceTertiary: "#e4e4e7";
406
406
  readonly surfaceTertiaryForeground: "#18181b";
@@ -418,7 +418,7 @@ declare const tokens: {
418
418
  readonly fieldBorder: "#e4e4e7";
419
419
  readonly success: "#15803d";
420
420
  readonly successForeground: "#fafafa";
421
- readonly warning: "#b45309";
421
+ readonly warning: "#c2410c";
422
422
  readonly warningForeground: "#fafafa";
423
423
  readonly danger: "#dc2626";
424
424
  readonly dangerForeground: "#fafafa";
@@ -430,7 +430,7 @@ declare const tokens: {
430
430
  readonly link: "#18181b";
431
431
  readonly accentPressed: "#8533d3";
432
432
  readonly successPressed: "#1b753a";
433
- readonly warningPressed: "#a34d13";
433
+ readonly warningPressed: "#af3e15";
434
434
  readonly dangerPressed: "#c72927";
435
435
  readonly defaultPressed: "#dbdbde";
436
436
  readonly surfacePressed: "#eaeaea";
@@ -443,9 +443,9 @@ declare const tokens: {
443
443
  readonly successSoft: "rgba(21, 128, 61, 0.15)";
444
444
  readonly successSoftForeground: "#205f34";
445
445
  readonly successSoftPressed: "rgba(21, 128, 61, 0.2)";
446
- readonly warningSoft: "rgba(180, 83, 9, 0.15)";
447
- readonly warningSoftForeground: "#793f1e";
448
- readonly warningSoftPressed: "rgba(180, 83, 9, 0.2)";
446
+ readonly warningSoft: "rgba(194, 65, 12, 0.15)";
447
+ readonly warningSoftForeground: "#82361e";
448
+ readonly warningSoftPressed: "rgba(194, 65, 12, 0.2)";
449
449
  readonly dangerSoft: "rgba(220, 38, 38, 0.15)";
450
450
  readonly dangerSoftForeground: "#b22b28";
451
451
  readonly dangerSoftPressed: "rgba(220, 38, 38, 0.2)";
@@ -488,7 +488,7 @@ declare const tokens: {
488
488
  readonly fieldBorder: "#3f3f46";
489
489
  readonly success: "#4ade80";
490
490
  readonly successForeground: "#18181b";
491
- readonly warning: "#fbbf24";
491
+ readonly warning: "#fb923c";
492
492
  readonly warningForeground: "#18181b";
493
493
  readonly danger: "#f87171";
494
494
  readonly dangerForeground: "#18181b";
@@ -500,7 +500,7 @@ declare const tokens: {
500
500
  readonly link: "#fafafa";
501
501
  readonly accentPressed: "#c691fd";
502
502
  readonly successPressed: "#64e18d";
503
- readonly warningPressed: "#fbc54b";
503
+ readonly warningPressed: "#fc9d55";
504
504
  readonly dangerPressed: "#fa807e";
505
505
  readonly defaultPressed: "#2e2e31";
506
506
  readonly surfacePressed: "#27272a";
@@ -513,9 +513,9 @@ declare const tokens: {
513
513
  readonly successSoft: "rgba(74, 222, 128, 0.15)";
514
514
  readonly successSoftForeground: "#8de8a6";
515
515
  readonly successSoftPressed: "rgba(74, 222, 128, 0.2)";
516
- readonly warningSoft: "rgba(251, 191, 36, 0.15)";
517
- readonly warningSoftForeground: "#fbd586";
518
- readonly warningSoftPressed: "rgba(251, 191, 36, 0.2)";
516
+ readonly warningSoft: "rgba(251, 146, 60, 0.15)";
517
+ readonly warningSoftForeground: "#feb887";
518
+ readonly warningSoftPressed: "rgba(251, 146, 60, 0.2)";
519
519
  readonly dangerSoft: "rgba(248, 113, 113, 0.15)";
520
520
  readonly dangerSoftForeground: "#fc8f8c";
521
521
  readonly dangerSoftPressed: "rgba(248, 113, 113, 0.2)";
@@ -9,7 +9,7 @@ import {
9
9
  primitives,
10
10
  sourceKeys,
11
11
  tokens
12
- } from "../chunk-MWXE7D4L.js";
12
+ } from "../chunk-GG2WWCBK.js";
13
13
  import {
14
14
  ThemeContext,
15
15
  deriveTint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaui/native",
3
- "version": "0.9.1-alpha.20",
3
+ "version": "0.9.1-alpha.22",
4
4
  "description": "Composition-first React Native UI components with native animations powered by Reanimated",
5
5
  "keywords": [
6
6
  "react-native",
@@ -27,6 +27,16 @@
27
27
  "default": "./dist/index.cjs"
28
28
  }
29
29
  },
30
+ "./alert": {
31
+ "import": {
32
+ "types": "./dist/components/alert/index.d.ts",
33
+ "default": "./dist/components/alert/index.js"
34
+ },
35
+ "require": {
36
+ "types": "./dist/components/alert/index.d.cts",
37
+ "default": "./dist/components/alert/index.cjs"
38
+ }
39
+ },
30
40
  "./button": {
31
41
  "import": {
32
42
  "types": "./dist/components/button/index.d.ts",
@@ -37,6 +47,26 @@
37
47
  "default": "./dist/components/button/index.cjs"
38
48
  }
39
49
  },
50
+ "./card": {
51
+ "import": {
52
+ "types": "./dist/components/card/index.d.ts",
53
+ "default": "./dist/components/card/index.js"
54
+ },
55
+ "require": {
56
+ "types": "./dist/components/card/index.d.cts",
57
+ "default": "./dist/components/card/index.cjs"
58
+ }
59
+ },
60
+ "./chip": {
61
+ "import": {
62
+ "types": "./dist/components/chip/index.d.ts",
63
+ "default": "./dist/components/chip/index.js"
64
+ },
65
+ "require": {
66
+ "types": "./dist/components/chip/index.d.cts",
67
+ "default": "./dist/components/chip/index.cjs"
68
+ }
69
+ },
40
70
  "./typography": {
41
71
  "import": {
42
72
  "types": "./dist/components/typography/index.d.ts",