@xaui/native 0.2.3 → 0.2.5

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 (101) hide show
  1. package/dist/alert/index.d.cts +1 -1
  2. package/dist/alert/index.d.ts +1 -1
  3. package/dist/app-bar/index.d.cts +1 -1
  4. package/dist/app-bar/index.d.ts +1 -1
  5. package/dist/autocomplete/index.d.cts +1 -1
  6. package/dist/autocomplete/index.d.ts +1 -1
  7. package/dist/avatar/index.d.cts +1 -1
  8. package/dist/avatar/index.d.ts +1 -1
  9. package/dist/badge/index.d.cts +1 -1
  10. package/dist/badge/index.d.ts +1 -1
  11. package/dist/bottom-sheet/index.d.cts +1 -1
  12. package/dist/bottom-sheet/index.d.ts +1 -1
  13. package/dist/bottom-tab-bar/index.d.cts +1 -1
  14. package/dist/bottom-tab-bar/index.d.ts +1 -1
  15. package/dist/button/index.d.cts +1 -1
  16. package/dist/button/index.d.ts +1 -1
  17. package/dist/card/index.d.cts +1 -1
  18. package/dist/card/index.d.ts +1 -1
  19. package/dist/carousel/index.d.cts +1 -1
  20. package/dist/carousel/index.d.ts +1 -1
  21. package/dist/checkbox/index.d.cts +1 -1
  22. package/dist/checkbox/index.d.ts +1 -1
  23. package/dist/chip/index.d.cts +1 -1
  24. package/dist/chip/index.d.ts +1 -1
  25. package/dist/color-picker/index.d.cts +2 -2
  26. package/dist/color-picker/index.d.ts +2 -2
  27. package/dist/container/index.cjs +203 -0
  28. package/dist/container/index.d.cts +40 -0
  29. package/dist/container/index.d.ts +40 -0
  30. package/dist/container/index.js +203 -0
  31. package/dist/datepicker/index.d.cts +1 -1
  32. package/dist/datepicker/index.d.ts +1 -1
  33. package/dist/dialog/index.d.cts +1 -1
  34. package/dist/dialog/index.d.ts +1 -1
  35. package/dist/divider/index.d.cts +1 -1
  36. package/dist/divider/index.d.ts +1 -1
  37. package/dist/drawer/index.d.cts +1 -1
  38. package/dist/drawer/index.d.ts +1 -1
  39. package/dist/fab/index.d.cts +3 -3
  40. package/dist/fab/index.d.ts +3 -3
  41. package/dist/fab-menu/index.d.cts +2 -2
  42. package/dist/fab-menu/index.d.ts +2 -2
  43. package/dist/{fab.type-CgIYqQlT.d.ts → fab.type-CkUHmXU_.d.ts} +1 -1
  44. package/dist/{fab.type-l2vjG8-p.d.cts → fab.type-DN0vtAh6.d.cts} +1 -1
  45. package/dist/feature-discovery/index.d.cts +1 -1
  46. package/dist/feature-discovery/index.d.ts +1 -1
  47. package/dist/indicator/index.d.cts +1 -1
  48. package/dist/indicator/index.d.ts +1 -1
  49. package/dist/input/index.d.cts +10 -9
  50. package/dist/input/index.d.ts +10 -9
  51. package/dist/input-trigger/index.d.cts +3 -3
  52. package/dist/input-trigger/index.d.ts +3 -3
  53. package/dist/{input-trigger.type-DlSqg2eG.d.ts → input-trigger.type-Ba4bM3Qp.d.cts} +1 -1
  54. package/dist/{input-trigger.type-By_1ZjKd.d.cts → input-trigger.type-Ba4bM3Qp.d.ts} +1 -1
  55. package/dist/list/index.d.cts +1 -1
  56. package/dist/list/index.d.ts +1 -1
  57. package/dist/menubox/index.d.cts +1 -1
  58. package/dist/menubox/index.d.ts +1 -1
  59. package/dist/picker/index.d.cts +2 -2
  60. package/dist/picker/index.d.ts +2 -2
  61. package/dist/progress/index.d.cts +1 -1
  62. package/dist/progress/index.d.ts +1 -1
  63. package/dist/radio/index.d.cts +1 -1
  64. package/dist/radio/index.d.ts +1 -1
  65. package/dist/refresh-control/index.d.cts +1 -1
  66. package/dist/refresh-control/index.d.ts +1 -1
  67. package/dist/segment-button/index.d.cts +1 -1
  68. package/dist/segment-button/index.d.ts +1 -1
  69. package/dist/select/index.d.cts +1 -1
  70. package/dist/select/index.d.ts +1 -1
  71. package/dist/skeleton/index.d.cts +1 -1
  72. package/dist/skeleton/index.d.ts +1 -1
  73. package/dist/slider/index.d.cts +1 -1
  74. package/dist/slider/index.d.ts +1 -1
  75. package/dist/snackbar/index.d.cts +1 -1
  76. package/dist/snackbar/index.d.ts +1 -1
  77. package/dist/snippet/index.d.cts +1 -1
  78. package/dist/snippet/index.d.ts +1 -1
  79. package/dist/stepper/index.d.cts +1 -1
  80. package/dist/stepper/index.d.ts +1 -1
  81. package/dist/switch/index.d.cts +1 -1
  82. package/dist/switch/index.d.ts +1 -1
  83. package/dist/tabs/index.cjs +3 -2
  84. package/dist/tabs/index.d.cts +5 -1
  85. package/dist/tabs/index.d.ts +5 -1
  86. package/dist/tabs/index.js +3 -2
  87. package/dist/timepicker/index.d.cts +1 -1
  88. package/dist/timepicker/index.d.ts +1 -1
  89. package/dist/toolbar/index.d.cts +1 -1
  90. package/dist/toolbar/index.d.ts +1 -1
  91. package/dist/typography/index.d.cts +1 -1
  92. package/dist/typography/index.d.ts +1 -1
  93. package/dist/view/index.cjs +5 -15
  94. package/dist/view/index.d.cts +1 -1
  95. package/dist/view/index.d.ts +1 -1
  96. package/dist/view/index.js +5 -15
  97. package/package.json +9 -5
  98. package/dist/index-BOw6tbkc.d.cts +0 -5
  99. package/dist/index-BOw6tbkc.d.ts +0 -5
  100. package/dist/index-DyU3sW3_.d.cts +0 -4
  101. package/dist/index-DyU3sW3_.d.ts +0 -4
@@ -1,6 +1,6 @@
1
1
  import React, { ReactElement } from 'react';
2
2
  import { RefreshControlProps } from 'react-native';
3
- import { T as ThemeColor } from '../index-DyU3sW3_.cjs';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type SupportedChildProps = {
6
6
  refreshControl?: ReactElement | null;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactElement } from 'react';
2
2
  import { RefreshControlProps } from 'react-native';
3
- import { T as ThemeColor } from '../index-DyU3sW3_.js';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type SupportedChildProps = {
6
6
  refreshControl?: ReactElement | null;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor, Size } from '@xaui/core/types';
4
4
 
5
5
  type SegmentButtonVariant = 'outlined' | 'flat' | 'light' | 'faded';
6
6
  type ElevationLevel = 0 | 1 | 2 | 3 | 4;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor, Size } from '@xaui/core/types';
4
4
 
5
5
  type SegmentButtonVariant = 'outlined' | 'flat' | 'light' | 'faded';
6
6
  type ElevationLevel = 0 | 1 | 2 | 3 | 4;
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size, R as Radius } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor, Size, Radius } from '@xaui/core/types';
4
4
 
5
5
  type SelectVariant = 'bordered' | 'colored' | 'light' | 'underlined';
6
6
  type SelectLabelPlacement = 'inside' | 'outside' | 'outside-left' | 'outside-top';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size, R as Radius } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor, Size, Radius } from '@xaui/core/types';
4
4
 
5
5
  type SelectVariant = 'bordered' | 'colored' | 'light' | 'underlined';
6
6
  type SelectLabelPlacement = 'inside' | 'outside' | 'outside-left' | 'outside-top';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ColorValue, DimensionValue, StyleProp, ViewStyle } from 'react-native';
3
- import { R as Radius } from '../index-BOw6tbkc.cjs';
3
+ import { Radius } from '@xaui/core/types';
4
4
 
5
5
  type SkeletonProps = {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ColorValue, DimensionValue, StyleProp, ViewStyle } from 'react-native';
3
- import { R as Radius } from '../index-BOw6tbkc.js';
3
+ import { Radius } from '@xaui/core/types';
4
4
 
5
5
  type SkeletonProps = {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { S as Size, T as ThemeColor, R as Radius } from '../index-BOw6tbkc.cjs';
3
+ import { Size, ThemeColor, Radius } from '@xaui/core/types';
4
4
 
5
5
  type SliderOrientation = 'horizontal' | 'vertical';
6
6
  type SliderMark = {
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { S as Size, T as ThemeColor, R as Radius } from '../index-BOw6tbkc.js';
3
+ import { Size, ThemeColor, Radius } from '@xaui/core/types';
4
4
 
5
5
  type SliderOrientation = 'horizontal' | 'vertical';
6
6
  type SliderMark = {
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-DyU3sW3_.cjs';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type SnackbarPosition = 'top' | 'bottom';
6
6
  type SnackbarCustomAppearance = {
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-DyU3sW3_.js';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type SnackbarPosition = 'top' | 'bottom';
6
6
  type SnackbarCustomAppearance = {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TextStyle, StyleProp, ViewStyle } from 'react-native';
3
- import { T as ThemeColor, R as Radius } from '../index-DyU3sW3_.cjs';
3
+ import { ThemeColor, Radius } from '@xaui/core/types';
4
4
 
5
5
  type SnippetVariant = 'outlined' | 'flat' | 'light';
6
6
  type CopyButtonPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'inline-left' | 'inline-right';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TextStyle, StyleProp, ViewStyle } from 'react-native';
3
- import { T as ThemeColor, R as Radius } from '../index-DyU3sW3_.js';
3
+ import { ThemeColor, Radius } from '@xaui/core/types';
4
4
 
5
5
  type SnippetVariant = 'outlined' | 'flat' | 'light';
6
6
  type CopyButtonPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'inline-left' | 'inline-right';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor, Size } from '@xaui/core/types';
4
4
 
5
5
  type StepperDirection = 'horizontal' | 'vertical';
6
6
  type StepperLineDisplayMode = 'progress' | 'all';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor, Size } from '@xaui/core/types';
4
4
 
5
5
  type StepperDirection = 'horizontal' | 'vertical';
6
6
  type StepperLineDisplayMode = 'progress' | 'all';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TextStyle, ViewStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type SwitchVariant = 'inside' | 'overlap';
6
6
  type SwitchSize = 'sm' | 'md' | 'lg';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TextStyle, ViewStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type SwitchVariant = 'inside' | 'overlap';
6
6
  type SwitchSize = 'sm' | 'md' | 'lg';
@@ -197,12 +197,13 @@ function toTabItems(children) {
197
197
  if (!_react2.default.isValidElement(child) || child.type !== Tab) {
198
198
  return [];
199
199
  }
200
- if (child.key == null) {
200
+ const tabKey = child.props.tabKey;
201
+ if (!tabKey) {
201
202
  return [];
202
203
  }
203
204
  return [
204
205
  {
205
- key: String(child.key),
206
+ key: tabKey,
206
207
  title: child.props.title,
207
208
  startContent: child.props.startContent,
208
209
  endContent: child.props.endContent,
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size, R as Radius } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor, Size, Radius } from '@xaui/core/types';
4
4
 
5
5
  type TabsVariant = 'solid' | 'bordered' | 'light' | 'underlined';
6
6
  type TabsItem = {
@@ -31,6 +31,10 @@ type TabsItem = {
31
31
  content?: ReactNode;
32
32
  };
33
33
  type TabProps = {
34
+ /**
35
+ * Unique identifier for the tab. Used for selection, disabled state, and content rendering.
36
+ */
37
+ tabKey: string;
34
38
  /**
35
39
  * Label content for the tab trigger.
36
40
  */
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor, S as Size, R as Radius } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor, Size, Radius } from '@xaui/core/types';
4
4
 
5
5
  type TabsVariant = 'solid' | 'bordered' | 'light' | 'underlined';
6
6
  type TabsItem = {
@@ -31,6 +31,10 @@ type TabsItem = {
31
31
  content?: ReactNode;
32
32
  };
33
33
  type TabProps = {
34
+ /**
35
+ * Unique identifier for the tab. Used for selection, disabled state, and content rendering.
36
+ */
37
+ tabKey: string;
34
38
  /**
35
39
  * Label content for the tab trigger.
36
40
  */
@@ -197,12 +197,13 @@ function toTabItems(children) {
197
197
  if (!React.isValidElement(child) || child.type !== Tab) {
198
198
  return [];
199
199
  }
200
- if (child.key == null) {
200
+ const tabKey = child.props.tabKey;
201
+ if (!tabKey) {
201
202
  return [];
202
203
  }
203
204
  return [
204
205
  {
205
- key: String(child.key),
206
+ key: tabKey,
206
207
  title: child.props.title,
207
208
  startContent: child.props.startContent,
208
209
  endContent: child.props.endContent,
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type TimeValue = {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, ViewStyle, TextStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type TimeValue = {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, ViewStyle, GestureResponderEvent } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type ToolbarVariant = 'floating' | 'docked' | 'vertical';
6
6
  type ToolbarPosition = 'top' | 'bottom' | 'left' | 'right';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, ViewStyle, GestureResponderEvent } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type ToolbarVariant = 'floating' | 'docked' | 'vertical';
6
6
  type ToolbarPosition = 'top' | 'bottom' | 'left' | 'right';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, TextStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type TypographyAlign = 'center' | 'justify' | 'left' | 'right';
6
6
  type TypographyVariant = 'displayLarge' | 'displayMedium' | 'displaySmall' | 'caption' | 'headlineLarge' | 'headlineMedium' | 'headlineSmall' | 'subtitleLarge' | 'subtitleMedium' | 'subtitleSmall' | 'bodyLarge' | 'bodyMedium' | 'bodySmall';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { StyleProp, TextStyle } from 'react-native';
3
- import { T as ThemeColor } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor } from '@xaui/core/types';
4
4
 
5
5
  type TypographyAlign = 'center' | 'justify' | 'left' | 'right';
6
6
  type TypographyVariant = 'displayLarge' | 'displayMedium' | 'displaySmall' | 'caption' | 'headlineLarge' | 'headlineMedium' | 'headlineSmall' | 'subtitleLarge' | 'subtitleMedium' | 'subtitleSmall' | 'bodyLarge' | 'bodyMedium' | 'bodySmall';
@@ -443,21 +443,11 @@ var Screen = ({
443
443
  }) => {
444
444
  const theme = _chunk7UFBLUMVcjs.useXUITheme.call(void 0, );
445
445
  const resolvedBackgroundColor = _nullishCoalesce(backgroundColor, () => ( theme.colors.background));
446
- const Container = safeArea ? _reactnativesafeareacontext.SafeAreaView : _reactnative.View;
447
- return /* @__PURE__ */ _react2.default.createElement(
448
- Container,
449
- {
450
- style: [
451
- {
452
- flex: 1,
453
- backgroundColor: resolvedBackgroundColor,
454
- padding
455
- },
456
- style
457
- ]
458
- },
459
- children
460
- );
446
+ const containerStyle = [{ flex: 1, backgroundColor: resolvedBackgroundColor, padding }, style];
447
+ if (safeArea) {
448
+ return /* @__PURE__ */ _react2.default.createElement(_reactnativesafeareacontext.SafeAreaView, { style: containerStyle }, children);
449
+ }
450
+ return /* @__PURE__ */ _react2.default.createElement(_reactnative.View, { style: containerStyle }, children);
461
451
  };
462
452
  Screen.displayName = "Screen";
463
453
 
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode, ReactElement, ComponentType } from 'react';
2
2
  import { StyleProp, ViewStyle, ColorValue, ScrollViewProps } from 'react-native';
3
- import { T as ThemeColor, R as Radius } from '../index-BOw6tbkc.cjs';
3
+ import { ThemeColor, Radius } from '@xaui/core/types';
4
4
 
5
5
  type MainAxisAlignment = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
6
6
  type CrossAxisAlignment = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
@@ -1,6 +1,6 @@
1
1
  import React, { ReactNode, ReactElement, ComponentType } from 'react';
2
2
  import { StyleProp, ViewStyle, ColorValue, ScrollViewProps } from 'react-native';
3
- import { T as ThemeColor, R as Radius } from '../index-BOw6tbkc.js';
3
+ import { ThemeColor, Radius } from '@xaui/core/types';
4
4
 
5
5
  type MainAxisAlignment = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
6
6
  type CrossAxisAlignment = 'start' | 'center' | 'end' | 'stretch' | 'baseline';
@@ -443,21 +443,11 @@ var Screen = ({
443
443
  }) => {
444
444
  const theme = useXUITheme();
445
445
  const resolvedBackgroundColor = backgroundColor ?? theme.colors.background;
446
- const Container = safeArea ? SafeAreaView : View12;
447
- return /* @__PURE__ */ React12.createElement(
448
- Container,
449
- {
450
- style: [
451
- {
452
- flex: 1,
453
- backgroundColor: resolvedBackgroundColor,
454
- padding
455
- },
456
- style
457
- ]
458
- },
459
- children
460
- );
446
+ const containerStyle = [{ flex: 1, backgroundColor: resolvedBackgroundColor, padding }, style];
447
+ if (safeArea) {
448
+ return /* @__PURE__ */ React12.createElement(SafeAreaView, { style: containerStyle }, children);
449
+ }
450
+ return /* @__PURE__ */ React12.createElement(View12, { style: containerStyle }, children);
461
451
  };
462
452
  Screen.displayName = "Screen";
463
453
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaui/native",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Flutter-inspired React Native UI components with native animations powered by React Native Reanimated",
5
5
  "keywords": [
6
6
  "react-native",
@@ -182,6 +182,11 @@
182
182
  "import": "./dist/card/index.js",
183
183
  "require": "./dist/card/index.js"
184
184
  },
185
+ "./container": {
186
+ "types": "./dist/container/index.d.ts",
187
+ "import": "./dist/container/index.js",
188
+ "require": "./dist/container/index.js"
189
+ },
185
190
  "./input": {
186
191
  "types": "./dist/input/index.d.ts",
187
192
  "import": "./dist/input/index.js",
@@ -268,8 +273,8 @@
268
273
  "directory": "packages/native"
269
274
  },
270
275
  "dependencies": {
271
- "@xaui/core": "0.2.0",
272
- "@xaui/icons": "0.0.9"
276
+ "@xaui/core": "0.2.1",
277
+ "@xaui/icons": "0.0.10"
273
278
  },
274
279
  "peerDependencies": {
275
280
  "react": "^18.0.0 || ^19.0.0",
@@ -282,9 +287,8 @@
282
287
  },
283
288
  "devDependencies": {
284
289
  "@types/react": "^19.1.0",
285
- "@types/react-native": "^0.73.0",
286
290
  "react": "19.1.0",
287
- "react-native": "^0.81.5",
291
+ "react-native": "0.83.6",
288
292
  "react-native-gesture-handler": "^2.28.0",
289
293
  "react-native-reanimated": "^4.0.0",
290
294
  "react-native-safe-area-context": "^5.6.0",
@@ -1,5 +0,0 @@
1
- type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'danger' | 'warning' | 'success' | 'default';
2
- type Size = 'xs' | 'sm' | 'md' | 'lg';
3
- type Radius = 'none' | 'sm' | 'md' | 'lg' | 'full';
4
-
5
- export type { Radius as R, Size as S, ThemeColor as T };
@@ -1,5 +0,0 @@
1
- type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'danger' | 'warning' | 'success' | 'default';
2
- type Size = 'xs' | 'sm' | 'md' | 'lg';
3
- type Radius = 'none' | 'sm' | 'md' | 'lg' | 'full';
4
-
5
- export type { Radius as R, Size as S, ThemeColor as T };
@@ -1,4 +0,0 @@
1
- type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'danger' | 'warning' | 'success' | 'default';
2
- type Radius = 'none' | 'sm' | 'md' | 'lg' | 'full';
3
-
4
- export type { Radius as R, ThemeColor as T };
@@ -1,4 +0,0 @@
1
- type ThemeColor = 'primary' | 'secondary' | 'tertiary' | 'danger' | 'warning' | 'success' | 'default';
2
- type Radius = 'none' | 'sm' | 'md' | 'lg' | 'full';
3
-
4
- export type { Radius as R, ThemeColor as T };