@yahoo/uds 0.5.5 → 0.5.7
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/{Image.native-WgvzTGso.d.ts → Image.native-CIafNow6.d.cts} +2 -2
- package/dist/{Image.native-B1tvIZc5.d.cts → Image.native-Cbv-erHz.d.ts} +2 -2
- package/dist/{VStack-BbNBxVhv.d.ts → VStack-DTK919lo.d.ts} +79 -28
- package/dist/{VStack-Lg_bEcbW.d.cts → VStack-DnjkTYdB.d.cts} +79 -28
- package/dist/experimental/index.cjs +4 -4
- package/dist/experimental/index.d.cts +41 -12
- package/dist/experimental/index.d.ts +41 -12
- package/dist/experimental/index.js +3 -3
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +4 -4
- package/dist/experimental/index.native.d.ts +4 -4
- package/dist/experimental/index.native.js +1 -1
- package/dist/fixtures.cjs +6 -6
- package/dist/fixtures.d.ts +13 -13
- package/dist/fixtures.js +6 -6
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +37 -21
- package/dist/index.d.ts +37 -21
- package/dist/index.js +3 -3
- package/dist/{index.native-4R8ZV05r.d.ts → index.native-B7lxeKHq.d.ts} +1 -1
- package/dist/{index.native-CMLeS7py.d.cts → index.native-y03H93Or.d.cts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +13 -64
- package/dist/index.native.d.ts +13 -64
- package/dist/index.native.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +2 -2
- package/dist/tailwind/purger.js +2 -2
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +3 -3
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +8 -62
- package/dist/tokens/index.d.ts +8 -62
- package/dist/tokens/index.js +2 -2
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-BevSfblh.d.cts → types-BB7LBOmj.d.cts} +60 -15
- package/dist/{types-BevSfblh.d.ts → types-BB7LBOmj.d.ts} +60 -15
- package/dist/{types-b1Ey4J4B.d.cts → types-DDJJDimt.d.cts} +60 -15
- package/dist/{types-b1Ey4J4B.d.ts → types-DDJJDimt.d.ts} +60 -15
- package/package.json +1 -1
package/dist/index.native.d.cts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
3
|
-
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalTextProps, h as UniversalIconProps, C as ColorModeForApp, i as ColorMode, S as ScaleModeForApp, j as ScaleMode, M as Modes, k as UniversalTokensConfig, l as StyleProps, A as AvatarSizeConfig, I as IconSizeConfig,
|
4
|
-
export {
|
3
|
+
import { B as ButtonConfig, e as UniversalBoxProps, f as UniversalStackProps, g as UniversalTextProps, h as UniversalIconProps, C as ColorModeForApp, i as ColorMode, S as ScaleModeForApp, j as ScaleMode, M as Modes, k as UniversalTokensConfig, l as StyleProps, A as AvatarSizeConfig, I as IconSizeConfig, m as BorderRadiusConfig, n as BorderWidthConfig, F as FontFamilyConfig, o as FontSizeConfig, p as FontWeightConfig, L as LineHeightConfig, T as TextTransformConfig, q as FontFamilyGlobalConfig } from './types-DDJJDimt.cjs';
|
4
|
+
export { s as AlwaysPalette, t as AlwaysPaletteAlias, u as Animation, v as AriaAttribute, w as AvatarShape, x as AvatarSize, y as BackgroundColor, z as BackgroundPalette, D as BackgroundPaletteAlias, E as BackgroundStyleProps, G as BorderRadius, H as BorderStyleProps, J as BorderWidth, K as BoxShadowConfig, N as ButtonSize, O as ButtonVariant, P as ColorModeConfig, Q as ColorsConfig, R as ConfigurableTextProperty, V as CorePalette, W as CorePaletteAlias, X as CustomSizingStyleProps, Y as DataAttribute, Z as Display, _ as Flex, $ as FlexAlignContent, a0 as FlexAlignItems, a1 as FlexAlignSelf, a2 as FlexBasis, a3 as FlexDirection, a4 as FlexGrow, a5 as FlexJustifyContent, a6 as FlexShrink, a7 as FlexStyleProps, a8 as FlexWrap, a9 as FontFamilyGlobalAlias, aa as FontSize, ab as FontWeightDescriptive, ac as FontWeightNumeric, ad as ForegroundColor, ae as ForegroundPalette, af as ForegroundPaletteAlias, ag as HighContrastMode, ah as Hue, ai as HueStep, aj as IconSize, ak as ImageStyleProps, al as LayoutStyleProps, am as LetterSpacing, an as LineClampAlias, ao as LineColor, ap as LineHeight, aq as LinePalette, ar as LinePaletteAlias, as as Overflow, at as Palette, au as PaletteConfig, av as PaletteType, aw as PaletteValue, ax as PlatformMode, ay as Position, az as RegionMode, aA as ScaleConfig, aB as ScaleModeConfig, aC as SpacingAlias, aD as SpacingConfig, aE as SpacingStyleProps, aF as SpectrumColor, aG as SpectrumConfig, aH as StateStyleProps, aO as TShirtSize, aP as TShirtSizeCommon, aI as TextStyleProps, aJ as TextTransform, aK as TextVariant, aL as TransitionDelay, aM as TransitionDuration, aN as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, aQ as UniversalTextInputProps, r as alwaysPalette } from './types-DDJJDimt.cjs';
|
5
5
|
import { ViewProps, View, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
6
|
-
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-
|
6
|
+
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-CIafNow6.cjs';
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
8
8
|
import { EdgeInsets } from 'react-native-safe-area-context';
|
9
9
|
import { ImageStyle } from 'expo-image';
|
10
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-
|
10
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-y03H93Or.cjs';
|
11
11
|
|
12
12
|
declare const variants: {
|
13
13
|
color: {
|
@@ -763,62 +763,6 @@ declare const variants: {
|
|
763
763
|
secondary: string;
|
764
764
|
tertiary: string;
|
765
765
|
};
|
766
|
-
borderColorOnActive: {
|
767
|
-
accent: string;
|
768
|
-
alert: string;
|
769
|
-
black: string;
|
770
|
-
brand: string;
|
771
|
-
positive: string;
|
772
|
-
warning: string;
|
773
|
-
white: string;
|
774
|
-
transparent: string;
|
775
|
-
muted: string;
|
776
|
-
primary: string;
|
777
|
-
secondary: string;
|
778
|
-
tertiary: string;
|
779
|
-
};
|
780
|
-
borderColorOnFocus: {
|
781
|
-
accent: string;
|
782
|
-
alert: string;
|
783
|
-
black: string;
|
784
|
-
brand: string;
|
785
|
-
positive: string;
|
786
|
-
warning: string;
|
787
|
-
white: string;
|
788
|
-
transparent: string;
|
789
|
-
muted: string;
|
790
|
-
primary: string;
|
791
|
-
secondary: string;
|
792
|
-
tertiary: string;
|
793
|
-
};
|
794
|
-
borderColorOnHover: {
|
795
|
-
accent: string;
|
796
|
-
alert: string;
|
797
|
-
black: string;
|
798
|
-
brand: string;
|
799
|
-
positive: string;
|
800
|
-
warning: string;
|
801
|
-
white: string;
|
802
|
-
transparent: string;
|
803
|
-
muted: string;
|
804
|
-
primary: string;
|
805
|
-
secondary: string;
|
806
|
-
tertiary: string;
|
807
|
-
};
|
808
|
-
borderColorOnChecked: {
|
809
|
-
accent: string;
|
810
|
-
alert: string;
|
811
|
-
black: string;
|
812
|
-
brand: string;
|
813
|
-
positive: string;
|
814
|
-
warning: string;
|
815
|
-
white: string;
|
816
|
-
transparent: string;
|
817
|
-
muted: string;
|
818
|
-
primary: string;
|
819
|
-
secondary: string;
|
820
|
-
tertiary: string;
|
821
|
-
};
|
822
766
|
borderStartColor: {
|
823
767
|
accent: string;
|
824
768
|
alert: string;
|
@@ -963,9 +907,9 @@ declare const variants: {
|
|
963
907
|
thick: string;
|
964
908
|
};
|
965
909
|
avatarSize: {
|
966
|
-
|
967
|
-
|
968
|
-
|
910
|
+
sm: string;
|
911
|
+
md: string;
|
912
|
+
lg: string;
|
969
913
|
};
|
970
914
|
iconSize: {
|
971
915
|
sm: string;
|
@@ -1103,6 +1047,8 @@ declare const variants: {
|
|
1103
1047
|
};
|
1104
1048
|
};
|
1105
1049
|
|
1050
|
+
declare const buttons: ButtonConfig;
|
1051
|
+
|
1106
1052
|
declare const UDS_PREFIX = "uds";
|
1107
1053
|
declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
|
1108
1054
|
declare const FONT_FAMILY_PREFIX = "uds-font";
|
@@ -1690,6 +1636,7 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
|
|
1690
1636
|
muted: string;
|
1691
1637
|
};
|
1692
1638
|
};
|
1639
|
+
buttons?: ButtonConfig | undefined;
|
1693
1640
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
1694
1641
|
};
|
1695
1642
|
};
|
@@ -2096,6 +2043,7 @@ declare const DEFAULT_STYLER: {
|
|
2096
2043
|
muted: string;
|
2097
2044
|
};
|
2098
2045
|
};
|
2046
|
+
buttons?: ButtonConfig | undefined;
|
2099
2047
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
2100
2048
|
};
|
2101
2049
|
};
|
@@ -2505,6 +2453,7 @@ declare function useTokens(): {
|
|
2505
2453
|
muted: string;
|
2506
2454
|
};
|
2507
2455
|
};
|
2456
|
+
buttons?: ButtonConfig | undefined;
|
2508
2457
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
2509
2458
|
};
|
2510
2459
|
|
@@ -2515,4 +2464,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
|
|
2515
2464
|
}
|
2516
2465
|
declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
2517
2466
|
|
2518
|
-
export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_STYLER, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, ICON_SIZE_PREFIX, Icon, type IconProps, IconSizeConfig, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, LineHeightConfig, MEDIUM_SCALE_MODE_CLASSNAME, Modes, type ReactNativeStyle, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, StyleProps, StyleProvider, TEXT_TRANSFORM_PREFIX, Text, type TextProps, type TextPropsOriginal, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UDS_PREFIX, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };
|
2467
|
+
export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonConfig, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_STYLER, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, ICON_SIZE_PREFIX, Icon, type IconProps, IconSizeConfig, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, LineHeightConfig, MEDIUM_SCALE_MODE_CLASSNAME, Modes, type ReactNativeStyle, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, StyleProps, StyleProvider, TEXT_TRANSFORM_PREFIX, Text, type TextProps, type TextPropsOriginal, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UDS_PREFIX, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, buttons, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };
|
package/dist/index.native.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
3
|
-
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalTextProps, h as UniversalIconProps, C as ColorModeForApp, i as ColorMode, S as ScaleModeForApp, j as ScaleMode, M as Modes, k as UniversalTokensConfig, l as StyleProps, A as AvatarSizeConfig, I as IconSizeConfig,
|
4
|
-
export {
|
3
|
+
import { B as ButtonConfig, e as UniversalBoxProps, f as UniversalStackProps, g as UniversalTextProps, h as UniversalIconProps, C as ColorModeForApp, i as ColorMode, S as ScaleModeForApp, j as ScaleMode, M as Modes, k as UniversalTokensConfig, l as StyleProps, A as AvatarSizeConfig, I as IconSizeConfig, m as BorderRadiusConfig, n as BorderWidthConfig, F as FontFamilyConfig, o as FontSizeConfig, p as FontWeightConfig, L as LineHeightConfig, T as TextTransformConfig, q as FontFamilyGlobalConfig } from './types-DDJJDimt.js';
|
4
|
+
export { s as AlwaysPalette, t as AlwaysPaletteAlias, u as Animation, v as AriaAttribute, w as AvatarShape, x as AvatarSize, y as BackgroundColor, z as BackgroundPalette, D as BackgroundPaletteAlias, E as BackgroundStyleProps, G as BorderRadius, H as BorderStyleProps, J as BorderWidth, K as BoxShadowConfig, N as ButtonSize, O as ButtonVariant, P as ColorModeConfig, Q as ColorsConfig, R as ConfigurableTextProperty, V as CorePalette, W as CorePaletteAlias, X as CustomSizingStyleProps, Y as DataAttribute, Z as Display, _ as Flex, $ as FlexAlignContent, a0 as FlexAlignItems, a1 as FlexAlignSelf, a2 as FlexBasis, a3 as FlexDirection, a4 as FlexGrow, a5 as FlexJustifyContent, a6 as FlexShrink, a7 as FlexStyleProps, a8 as FlexWrap, a9 as FontFamilyGlobalAlias, aa as FontSize, ab as FontWeightDescriptive, ac as FontWeightNumeric, ad as ForegroundColor, ae as ForegroundPalette, af as ForegroundPaletteAlias, ag as HighContrastMode, ah as Hue, ai as HueStep, aj as IconSize, ak as ImageStyleProps, al as LayoutStyleProps, am as LetterSpacing, an as LineClampAlias, ao as LineColor, ap as LineHeight, aq as LinePalette, ar as LinePaletteAlias, as as Overflow, at as Palette, au as PaletteConfig, av as PaletteType, aw as PaletteValue, ax as PlatformMode, ay as Position, az as RegionMode, aA as ScaleConfig, aB as ScaleModeConfig, aC as SpacingAlias, aD as SpacingConfig, aE as SpacingStyleProps, aF as SpectrumColor, aG as SpectrumConfig, aH as StateStyleProps, aO as TShirtSize, aP as TShirtSizeCommon, aI as TextStyleProps, aJ as TextTransform, aK as TextVariant, aL as TransitionDelay, aM as TransitionDuration, aN as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, aQ as UniversalTextInputProps, r as alwaysPalette } from './types-DDJJDimt.js';
|
5
5
|
import { ViewProps, View, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
6
|
-
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-
|
6
|
+
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-Cbv-erHz.js';
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
8
8
|
import { EdgeInsets } from 'react-native-safe-area-context';
|
9
9
|
import { ImageStyle } from 'expo-image';
|
10
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-
|
10
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-B7lxeKHq.js';
|
11
11
|
|
12
12
|
declare const variants: {
|
13
13
|
color: {
|
@@ -763,62 +763,6 @@ declare const variants: {
|
|
763
763
|
secondary: string;
|
764
764
|
tertiary: string;
|
765
765
|
};
|
766
|
-
borderColorOnActive: {
|
767
|
-
accent: string;
|
768
|
-
alert: string;
|
769
|
-
black: string;
|
770
|
-
brand: string;
|
771
|
-
positive: string;
|
772
|
-
warning: string;
|
773
|
-
white: string;
|
774
|
-
transparent: string;
|
775
|
-
muted: string;
|
776
|
-
primary: string;
|
777
|
-
secondary: string;
|
778
|
-
tertiary: string;
|
779
|
-
};
|
780
|
-
borderColorOnFocus: {
|
781
|
-
accent: string;
|
782
|
-
alert: string;
|
783
|
-
black: string;
|
784
|
-
brand: string;
|
785
|
-
positive: string;
|
786
|
-
warning: string;
|
787
|
-
white: string;
|
788
|
-
transparent: string;
|
789
|
-
muted: string;
|
790
|
-
primary: string;
|
791
|
-
secondary: string;
|
792
|
-
tertiary: string;
|
793
|
-
};
|
794
|
-
borderColorOnHover: {
|
795
|
-
accent: string;
|
796
|
-
alert: string;
|
797
|
-
black: string;
|
798
|
-
brand: string;
|
799
|
-
positive: string;
|
800
|
-
warning: string;
|
801
|
-
white: string;
|
802
|
-
transparent: string;
|
803
|
-
muted: string;
|
804
|
-
primary: string;
|
805
|
-
secondary: string;
|
806
|
-
tertiary: string;
|
807
|
-
};
|
808
|
-
borderColorOnChecked: {
|
809
|
-
accent: string;
|
810
|
-
alert: string;
|
811
|
-
black: string;
|
812
|
-
brand: string;
|
813
|
-
positive: string;
|
814
|
-
warning: string;
|
815
|
-
white: string;
|
816
|
-
transparent: string;
|
817
|
-
muted: string;
|
818
|
-
primary: string;
|
819
|
-
secondary: string;
|
820
|
-
tertiary: string;
|
821
|
-
};
|
822
766
|
borderStartColor: {
|
823
767
|
accent: string;
|
824
768
|
alert: string;
|
@@ -963,9 +907,9 @@ declare const variants: {
|
|
963
907
|
thick: string;
|
964
908
|
};
|
965
909
|
avatarSize: {
|
966
|
-
|
967
|
-
|
968
|
-
|
910
|
+
sm: string;
|
911
|
+
md: string;
|
912
|
+
lg: string;
|
969
913
|
};
|
970
914
|
iconSize: {
|
971
915
|
sm: string;
|
@@ -1103,6 +1047,8 @@ declare const variants: {
|
|
1103
1047
|
};
|
1104
1048
|
};
|
1105
1049
|
|
1050
|
+
declare const buttons: ButtonConfig;
|
1051
|
+
|
1106
1052
|
declare const UDS_PREFIX = "uds";
|
1107
1053
|
declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
|
1108
1054
|
declare const FONT_FAMILY_PREFIX = "uds-font";
|
@@ -1690,6 +1636,7 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
|
|
1690
1636
|
muted: string;
|
1691
1637
|
};
|
1692
1638
|
};
|
1639
|
+
buttons?: ButtonConfig | undefined;
|
1693
1640
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
1694
1641
|
};
|
1695
1642
|
};
|
@@ -2096,6 +2043,7 @@ declare const DEFAULT_STYLER: {
|
|
2096
2043
|
muted: string;
|
2097
2044
|
};
|
2098
2045
|
};
|
2046
|
+
buttons?: ButtonConfig | undefined;
|
2099
2047
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
2100
2048
|
};
|
2101
2049
|
};
|
@@ -2505,6 +2453,7 @@ declare function useTokens(): {
|
|
2505
2453
|
muted: string;
|
2506
2454
|
};
|
2507
2455
|
};
|
2456
|
+
buttons?: ButtonConfig | undefined;
|
2508
2457
|
fontFamilyGlobal: FontFamilyGlobalConfig;
|
2509
2458
|
};
|
2510
2459
|
|
@@ -2515,4 +2464,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
|
|
2515
2464
|
}
|
2516
2465
|
declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
2517
2466
|
|
2518
|
-
export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_STYLER, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, ICON_SIZE_PREFIX, Icon, type IconProps, IconSizeConfig, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, LineHeightConfig, MEDIUM_SCALE_MODE_CLASSNAME, Modes, type ReactNativeStyle, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, StyleProps, StyleProvider, TEXT_TRANSFORM_PREFIX, Text, type TextProps, type TextPropsOriginal, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UDS_PREFIX, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };
|
2467
|
+
export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonConfig, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_STYLER, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, ICON_SIZE_PREFIX, Icon, type IconProps, IconSizeConfig, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, LineHeightConfig, MEDIUM_SCALE_MODE_CLASSNAME, Modes, type ReactNativeStyle, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, StyleProps, StyleProvider, TEXT_TRANSFORM_PREFIX, Text, type TextProps, type TextPropsOriginal, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UDS_PREFIX, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, buttons, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };
|