@xaui/native 0.2.4 → 0.2.6
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/alert/index.d.cts +1 -1
- package/dist/alert/index.d.ts +1 -1
- package/dist/app-bar/index.d.cts +1 -1
- package/dist/app-bar/index.d.ts +1 -1
- package/dist/autocomplete/index.d.cts +1 -1
- package/dist/autocomplete/index.d.ts +1 -1
- package/dist/avatar/index.d.cts +1 -1
- package/dist/avatar/index.d.ts +1 -1
- package/dist/badge/index.d.cts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/bottom-sheet/index.d.cts +1 -1
- package/dist/bottom-sheet/index.d.ts +1 -1
- package/dist/bottom-tab-bar/index.d.cts +1 -1
- package/dist/bottom-tab-bar/index.d.ts +1 -1
- package/dist/button/index.d.cts +1 -1
- package/dist/button/index.d.ts +1 -1
- package/dist/card/index.d.cts +1 -1
- package/dist/card/index.d.ts +1 -1
- package/dist/carousel/index.d.cts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/checkbox/index.d.cts +1 -1
- package/dist/checkbox/index.d.ts +1 -1
- package/dist/chip/index.d.cts +1 -1
- package/dist/chip/index.d.ts +1 -1
- package/dist/color-picker/index.d.cts +2 -2
- package/dist/color-picker/index.d.ts +2 -2
- package/dist/datepicker/index.d.cts +1 -1
- package/dist/datepicker/index.d.ts +1 -1
- package/dist/dialog/index.d.cts +1 -1
- package/dist/dialog/index.d.ts +1 -1
- package/dist/divider/index.d.cts +1 -1
- package/dist/divider/index.d.ts +1 -1
- package/dist/drawer/index.d.cts +1 -1
- package/dist/drawer/index.d.ts +1 -1
- package/dist/fab/index.d.cts +3 -3
- package/dist/fab/index.d.ts +3 -3
- package/dist/fab-menu/index.d.cts +2 -2
- package/dist/fab-menu/index.d.ts +2 -2
- package/dist/{fab.type-CgIYqQlT.d.ts → fab.type-CkUHmXU_.d.ts} +1 -1
- package/dist/{fab.type-l2vjG8-p.d.cts → fab.type-DN0vtAh6.d.cts} +1 -1
- package/dist/feature-discovery/index.d.cts +1 -1
- package/dist/feature-discovery/index.d.ts +1 -1
- package/dist/indicator/index.d.cts +1 -1
- package/dist/indicator/index.d.ts +1 -1
- package/dist/input/index.d.cts +10 -9
- package/dist/input/index.d.ts +10 -9
- package/dist/input-trigger/index.d.cts +3 -3
- package/dist/input-trigger/index.d.ts +3 -3
- package/dist/{input-trigger.type-DlSqg2eG.d.ts → input-trigger.type-Ba4bM3Qp.d.cts} +1 -1
- package/dist/{input-trigger.type-By_1ZjKd.d.cts → input-trigger.type-Ba4bM3Qp.d.ts} +1 -1
- package/dist/list/index.d.cts +1 -1
- package/dist/list/index.d.ts +1 -1
- package/dist/menubox/index.d.cts +1 -1
- package/dist/menubox/index.d.ts +1 -1
- package/dist/picker/index.d.cts +2 -2
- package/dist/picker/index.d.ts +2 -2
- package/dist/progress/index.d.cts +1 -1
- package/dist/progress/index.d.ts +1 -1
- package/dist/radio/index.d.cts +1 -1
- package/dist/radio/index.d.ts +1 -1
- package/dist/refresh-control/index.d.cts +1 -1
- package/dist/refresh-control/index.d.ts +1 -1
- package/dist/segment-button/index.d.cts +1 -1
- package/dist/segment-button/index.d.ts +1 -1
- package/dist/select/index.d.cts +1 -1
- package/dist/select/index.d.ts +1 -1
- package/dist/skeleton/index.d.cts +1 -1
- package/dist/skeleton/index.d.ts +1 -1
- package/dist/slider/index.d.cts +1 -1
- package/dist/slider/index.d.ts +1 -1
- package/dist/snackbar/index.d.cts +1 -1
- package/dist/snackbar/index.d.ts +1 -1
- package/dist/snippet/index.d.cts +1 -1
- package/dist/snippet/index.d.ts +1 -1
- package/dist/stepper/index.d.cts +1 -1
- package/dist/stepper/index.d.ts +1 -1
- package/dist/switch/index.d.cts +1 -1
- package/dist/switch/index.d.ts +1 -1
- package/dist/tabs/index.d.cts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/timepicker/index.d.cts +1 -1
- package/dist/timepicker/index.d.ts +1 -1
- package/dist/toolbar/index.d.cts +1 -1
- package/dist/toolbar/index.d.ts +1 -1
- package/dist/typography/index.d.cts +1 -1
- package/dist/typography/index.d.ts +1 -1
- package/dist/view/index.cjs +302 -134
- package/dist/view/index.d.cts +176 -102
- package/dist/view/index.d.ts +176 -102
- package/dist/view/index.js +371 -203
- package/package.json +4 -5
- package/dist/index-BOw6tbkc.d.cts +0 -5
- package/dist/index-BOw6tbkc.d.ts +0 -5
- package/dist/index-DyU3sW3_.d.cts +0 -4
- package/dist/index-DyU3sW3_.d.ts +0 -4
package/dist/menubox/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle, GestureResponderEvent } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { Size, Radius, ThemeColor } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type MenuBoxItemCustomAppearance = {
|
|
6
6
|
/**
|
package/dist/picker/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
4
|
-
import { d as InputTriggerLabelPlacement, b as InputTriggerVariant, c as InputTriggerSize } from '../input-trigger.type-
|
|
3
|
+
import { ThemeColor, Radius } from '@xaui/core/types';
|
|
4
|
+
import { d as InputTriggerLabelPlacement, b as InputTriggerVariant, c as InputTriggerSize } from '../input-trigger.type-Ba4bM3Qp.cjs';
|
|
5
5
|
|
|
6
6
|
type PickerOption = {
|
|
7
7
|
/**
|
package/dist/picker/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
4
|
-
import { d as InputTriggerLabelPlacement, b as InputTriggerVariant, c as InputTriggerSize } from '../input-trigger.type-
|
|
3
|
+
import { ThemeColor, Radius } from '@xaui/core/types';
|
|
4
|
+
import { d as InputTriggerLabelPlacement, b as InputTriggerVariant, c as InputTriggerSize } from '../input-trigger.type-Ba4bM3Qp.js';
|
|
5
5
|
|
|
6
6
|
type PickerOption = {
|
|
7
7
|
/**
|
package/dist/progress/index.d.ts
CHANGED
package/dist/radio/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor, Size, Radius } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type RadioVariant = 'filled' | 'light';
|
|
6
6
|
type RadioLabelAlignment = 'left' | 'right' | 'justify-left' | 'justify-right';
|
package/dist/radio/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor, Size, Radius } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type RadioVariant = 'filled' | 'light';
|
|
6
6
|
type RadioLabelAlignment = 'left' | 'right' | 'justify-left' | 'justify-right';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react';
|
|
2
2
|
import { RefreshControlProps } from 'react-native';
|
|
3
|
-
import {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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;
|
package/dist/select/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
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';
|
package/dist/select/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
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';
|
package/dist/skeleton/index.d.ts
CHANGED
package/dist/slider/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { Size, ThemeColor, Radius } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type SliderOrientation = 'horizontal' | 'vertical';
|
|
6
6
|
type SliderMark = {
|
package/dist/slider/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
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 {
|
|
3
|
+
import { ThemeColor } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type SnackbarPosition = 'top' | 'bottom';
|
|
6
6
|
type SnackbarCustomAppearance = {
|
package/dist/snackbar/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type SnackbarPosition = 'top' | 'bottom';
|
|
6
6
|
type SnackbarCustomAppearance = {
|
package/dist/snippet/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextStyle, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
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';
|
package/dist/snippet/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextStyle, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
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';
|
package/dist/stepper/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor, Size } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type StepperDirection = 'horizontal' | 'vertical';
|
|
6
6
|
type StepperLineDisplayMode = 'progress' | 'all';
|
package/dist/stepper/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor, Size } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type StepperDirection = 'horizontal' | 'vertical';
|
|
6
6
|
type StepperLineDisplayMode = 'progress' | 'all';
|
package/dist/switch/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type SwitchVariant = 'inside' | 'overlap';
|
|
6
6
|
type SwitchSize = 'sm' | 'md' | 'lg';
|
package/dist/switch/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextStyle, ViewStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type SwitchVariant = 'inside' | 'overlap';
|
|
6
6
|
type SwitchSize = 'sm' | 'md' | 'lg';
|
package/dist/tabs/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor, Size, Radius } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type TabsVariant = 'solid' | 'bordered' | 'light' | 'underlined';
|
|
6
6
|
type TabsItem = {
|
package/dist/tabs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ViewStyle, TextStyle } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor, Size, Radius } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type TabsVariant = 'solid' | 'bordered' | 'light' | 'underlined';
|
|
6
6
|
type TabsItem = {
|
package/dist/toolbar/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle, GestureResponderEvent } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemeColor } from '@xaui/core/types';
|
|
4
4
|
|
|
5
5
|
type ToolbarVariant = 'floating' | 'docked' | 'vertical';
|
|
6
6
|
type ToolbarPosition = 'top' | 'bottom' | 'left' | 'right';
|
package/dist/toolbar/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { StyleProp, ViewStyle, GestureResponderEvent } from 'react-native';
|
|
3
|
-
import {
|
|
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 {
|
|
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 {
|
|
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';
|