@yahoo/uds 0.1.17 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +4 -3
- package/dist/fixtures/index.d.ts +4 -3
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +23 -20
- package/dist/index.d.ts +23 -20
- package/dist/index.js +1 -1
- package/dist/{index.native-fciGC1AQ.d.cts → index.native-Ly3i1QBP.d.cts} +1 -1
- package/dist/{index.native-hIYZ_ma-.d.ts → index.native-n_2cKXkV.d.ts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +12 -12
- package/dist/index.native.d.ts +12 -12
- package/dist/index.native.js +1 -1
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +1 -1
- package/dist/tailwindPurge.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +5 -7
- package/dist/tokens/index.d.ts +5 -7
- package/dist/tokens/index.js +1 -1
- 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 +8 -11
- package/dist/tokens/parseTokens.d.ts +8 -11
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.d.cts +1 -1
- package/dist/tokens/parseTokens.native.d.ts +1 -1
- package/dist/tokens/parseTokens.native.js +1 -1
- package/dist/{types-_E6o7OhU.d.cts → types-4Vw-VSaq.d.cts} +29 -19
- package/dist/{types-_E6o7OhU.d.ts → types-4Vw-VSaq.d.ts} +29 -19
- package/package.json +2 -2
- package/dist/chunk-3I3D5S54.js +0 -1
- package/dist/chunk-74YHFBTD.js +0 -1
- package/dist/chunk-AHFH5E5L.js +0 -1
- package/dist/chunk-D4K3CXV6.js +0 -0
- package/dist/chunk-FLBMVDKG.js +0 -1
- package/dist/chunk-M346JMQS.js +0 -0
- package/dist/chunk-MFA2Y7DA.js +0 -1
- package/dist/chunk-PO7U3C7A.js +0 -1
- package/dist/chunk-PQBOZFJV.js +0 -1
- package/dist/chunk-WYDHNV42.js +0 -1
@@ -94,6 +94,7 @@ type AvatarSizeConfig = {
|
|
94
94
|
l: number;
|
95
95
|
};
|
96
96
|
type AvatarSize = keyof AvatarSizeConfig;
|
97
|
+
type AvatarShape = BorderRadius;
|
97
98
|
type IconSizeConfig = {
|
98
99
|
s: number;
|
99
100
|
m: number;
|
@@ -122,25 +123,23 @@ type SpacingConfig = {
|
|
122
123
|
type SpacingAlias = keyof SpacingConfig;
|
123
124
|
type ZIndex = 'auto' | '0' | '10' | '20' | '30' | '40' | '50';
|
124
125
|
type ZIndexConfig = Record<ZIndex, string>;
|
125
|
-
type
|
126
|
-
|
126
|
+
type BorderRadiusConfig = {
|
127
|
+
none: number;
|
127
128
|
xs: number;
|
128
129
|
s: number;
|
129
130
|
m: number;
|
130
131
|
l: number;
|
131
132
|
xl: number;
|
132
|
-
|
133
|
-
circle: number;
|
133
|
+
full: number;
|
134
134
|
};
|
135
|
-
type
|
135
|
+
type BorderRadius = keyof BorderRadiusConfig;
|
136
136
|
type Elevation = '1' | '2' | '3';
|
137
137
|
type ElevationConfig = Record<Elevation, BoxShadowConfig>;
|
138
138
|
type BorderWidthConfig = {
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
'8': number;
|
139
|
+
none: number;
|
140
|
+
thin: number;
|
141
|
+
medium: number;
|
142
|
+
thick: number;
|
144
143
|
};
|
145
144
|
type BorderWidth = keyof BorderWidthConfig;
|
146
145
|
type BoxShadowConfig = {
|
@@ -173,7 +172,8 @@ type ScaleConfig = {
|
|
173
172
|
avatarSizes: AvatarSizeConfig;
|
174
173
|
iconSizes: IconSizeConfig;
|
175
174
|
spacing: SpacingConfig;
|
176
|
-
|
175
|
+
borderRadius: BorderRadiusConfig;
|
176
|
+
borderWidth: BorderWidthConfig;
|
177
177
|
fontFamily: FontFamilyConfig;
|
178
178
|
fontSize: FontSizeConfig;
|
179
179
|
fontWeight: FontWeightConfig;
|
@@ -195,7 +195,6 @@ type UniversalTokensConfig = {
|
|
195
195
|
aspectRatio: Record<string, string>;
|
196
196
|
fontFamily: FontFamilyGlobalConfig;
|
197
197
|
elevation: ElevationConfig;
|
198
|
-
borderWidth: BorderWidthConfig;
|
199
198
|
zIndex: ZIndexConfig;
|
200
199
|
};
|
201
200
|
type PlatformMode = 'web' | 'ios' | 'android';
|
@@ -256,15 +255,15 @@ interface BorderStyleProps {
|
|
256
255
|
/** Add a border to the top and bottom sides of the box. */
|
257
256
|
borderedVertical?: boolean;
|
258
257
|
/** Add a border radius to all corners of the box. */
|
259
|
-
borderRadius?:
|
258
|
+
borderRadius?: BorderRadius;
|
260
259
|
/** Add a border radius to top left corner of the box. */
|
261
|
-
borderTopStartRadius?:
|
260
|
+
borderTopStartRadius?: BorderRadius;
|
262
261
|
/** Add a border radius to top right corner of the box. */
|
263
|
-
borderTopEndRadius?:
|
262
|
+
borderTopEndRadius?: BorderRadius;
|
264
263
|
/** Add a border radius to bottom left corner of the box. */
|
265
|
-
borderBottomStartRadius?:
|
264
|
+
borderBottomStartRadius?: BorderRadius;
|
266
265
|
/** Add a border radius to bottom right corner of the box. */
|
267
|
-
borderBottomEndRadius?:
|
266
|
+
borderBottomEndRadius?: BorderRadius;
|
268
267
|
/** Adds a custom border color from the palette */
|
269
268
|
borderColor?: LineColor;
|
270
269
|
/** Utility for controlling an element's border color on active. */
|
@@ -394,6 +393,8 @@ interface TextStyleProps {
|
|
394
393
|
color?: ForegroundColor;
|
395
394
|
/** Utility for controlling the color of a Text or Icon element when checked */
|
396
395
|
colorChecked?: ForegroundColor;
|
396
|
+
/** Utility for controlling the color of a placeholder element */
|
397
|
+
placeholderColor?: ForegroundColor;
|
397
398
|
/** Utility for controlling the font family of a Text element */
|
398
399
|
fontFamily?: TextVariant | FontFamilyGlobalAlias;
|
399
400
|
/** Utility for controlling the font size of a Text element */
|
@@ -493,11 +494,20 @@ interface UniversalAvatarProps extends UniversalImageProps {
|
|
493
494
|
/** The size of the Avatar. */
|
494
495
|
size?: AvatarSize;
|
495
496
|
/** The shape of the Avatar. */
|
496
|
-
shape?:
|
497
|
+
shape?: BorderRadius;
|
497
498
|
}
|
498
499
|
interface UniversalTextInputProps {
|
499
500
|
disabled?: boolean;
|
500
501
|
required?: boolean;
|
502
|
+
backgroundColor?: BackgroundColor;
|
503
|
+
borderColor?: LineColor;
|
504
|
+
borderWidth?: BorderWidth;
|
505
|
+
borderRadius?: BorderRadius;
|
506
|
+
color?: ForegroundColor;
|
507
|
+
fontSize?: TextVariant;
|
508
|
+
placeholderColor?: ForegroundColor;
|
509
|
+
spacingVertical?: SpacingAlias;
|
510
|
+
spacingHorizontal?: SpacingAlias;
|
501
511
|
}
|
502
512
|
|
503
|
-
export { type AlwaysPaletteAlias as $, type
|
513
|
+
export { type AlwaysPaletteAlias as $, type CustomSizingStyleProps as A, type BackgroundPalette as B, type ColorMode as C, type AvatarSizeConfig as D, type ElevationConfig as E, type ForegroundPalette as F, type IconSizeConfig as G, type Hue as H, type ImageStyleProps as I, type SpacingConfig as J, type BorderRadiusConfig as K, type LinePalette as L, type Modes as M, type BorderWidthConfig as N, type OpacityStyleProps as O, type PaletteValue as P, type FontFamilyConfig as Q, type FontSizeConfig as R, type ScaleMode as S, type TextStyleProps as T, type UniversalTokensConfig as U, type LineHeightConfig as V, type TextTransformConfig as W, type StyleProps as X, alwaysPalette as Y, type ZIndexConfig as Z, type AlwaysPalette as _, type ColorsConfig as a, type TransitionDuration as a$, type Animation as a0, type AriaAttribute as a1, type AspectRatio as a2, type AspectRatioConfig as a3, type AvatarShape as a4, type AvatarSize as a5, type BackgroundColor as a6, type BackgroundPaletteAlias as a7, type BackgroundWashPaletteAlias as a8, type BorderRadius as a9, type IconName as aA, type IconSize as aB, type LetterSpacing as aC, type LineClampAlias as aD, type LineColor as aE, type LineHeight as aF, type LinePaletteAlias as aG, type MaxHeight as aH, type MaxWidth as aI, type MinHeight as aJ, type MinWidth as aK, type Opacity as aL, type Overflow as aM, type Palette as aN, type PaletteConfig as aO, type PaletteType as aP, type PlatformMode as aQ, type Position as aR, type RegionMode as aS, type ScaleConfig as aT, type SpacingAlias as aU, type SpectrumColor as aV, type SpectrumConfig as aW, type StateStyleProps as aX, type TextTransform as aY, type TextVariant as aZ, type TransitionDelay as a_, type BorderWidth as aa, type BoxShadowConfig as ab, type ButtonSize as ac, type ButtonVariant as ad, type ConfigurableTextProperty as ae, type CorePaletteAlias as af, type DataAttribute as ag, type Display as ah, type ElevationPaletteAlias as ai, type Flex as aj, type FlexAlignContent as ak, type FlexAlignItems as al, type FlexAlignSelf as am, type FlexBasis as an, type FlexDirection as ao, type FlexGrow as ap, type FlexJustifyContent as aq, type FlexShrink as ar, type FlexWrap as as, type FontFamilyGlobalAlias as at, type FontSize as au, type FontWeightDescriptive as av, type ForegroundColor as aw, type ForegroundPaletteAlias as ax, type Height as ay, type HighContrastMode as az, type HueStep as b, type TransitionTiming as b0, type UniversalTextInputProps as b1, type Width as b2, type ZIndex as b3, type CorePalette as c, type BackgroundWashPalette as d, type FontWeightConfig as e, type FontWeightNumeric as f, type Elevation as g, type FontFamilyGlobalConfig as h, type UniversalImageProps as i, type UniversalAvatarProps as j, type UniversalBoxProps as k, type UniversalPressableProps as l, type UniversalButtonProps as m, type UniversalStackProps as n, type UniversalTextProps as o, type UniversalIconProps as p, type UniversalIconButtonProps as q, type ColorModeForApp as r, type ScaleModeForApp as s, type ScaleModeConfig as t, type BackgroundStyleProps as u, type BorderStyleProps as v, type LayoutStyleProps as w, type FlexStyleProps as x, type SpacingStyleProps as y, type SizingStyleProps as z };
|
@@ -94,6 +94,7 @@ type AvatarSizeConfig = {
|
|
94
94
|
l: number;
|
95
95
|
};
|
96
96
|
type AvatarSize = keyof AvatarSizeConfig;
|
97
|
+
type AvatarShape = BorderRadius;
|
97
98
|
type IconSizeConfig = {
|
98
99
|
s: number;
|
99
100
|
m: number;
|
@@ -122,25 +123,23 @@ type SpacingConfig = {
|
|
122
123
|
type SpacingAlias = keyof SpacingConfig;
|
123
124
|
type ZIndex = 'auto' | '0' | '10' | '20' | '30' | '40' | '50';
|
124
125
|
type ZIndexConfig = Record<ZIndex, string>;
|
125
|
-
type
|
126
|
-
|
126
|
+
type BorderRadiusConfig = {
|
127
|
+
none: number;
|
127
128
|
xs: number;
|
128
129
|
s: number;
|
129
130
|
m: number;
|
130
131
|
l: number;
|
131
132
|
xl: number;
|
132
|
-
|
133
|
-
circle: number;
|
133
|
+
full: number;
|
134
134
|
};
|
135
|
-
type
|
135
|
+
type BorderRadius = keyof BorderRadiusConfig;
|
136
136
|
type Elevation = '1' | '2' | '3';
|
137
137
|
type ElevationConfig = Record<Elevation, BoxShadowConfig>;
|
138
138
|
type BorderWidthConfig = {
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
'8': number;
|
139
|
+
none: number;
|
140
|
+
thin: number;
|
141
|
+
medium: number;
|
142
|
+
thick: number;
|
144
143
|
};
|
145
144
|
type BorderWidth = keyof BorderWidthConfig;
|
146
145
|
type BoxShadowConfig = {
|
@@ -173,7 +172,8 @@ type ScaleConfig = {
|
|
173
172
|
avatarSizes: AvatarSizeConfig;
|
174
173
|
iconSizes: IconSizeConfig;
|
175
174
|
spacing: SpacingConfig;
|
176
|
-
|
175
|
+
borderRadius: BorderRadiusConfig;
|
176
|
+
borderWidth: BorderWidthConfig;
|
177
177
|
fontFamily: FontFamilyConfig;
|
178
178
|
fontSize: FontSizeConfig;
|
179
179
|
fontWeight: FontWeightConfig;
|
@@ -195,7 +195,6 @@ type UniversalTokensConfig = {
|
|
195
195
|
aspectRatio: Record<string, string>;
|
196
196
|
fontFamily: FontFamilyGlobalConfig;
|
197
197
|
elevation: ElevationConfig;
|
198
|
-
borderWidth: BorderWidthConfig;
|
199
198
|
zIndex: ZIndexConfig;
|
200
199
|
};
|
201
200
|
type PlatformMode = 'web' | 'ios' | 'android';
|
@@ -256,15 +255,15 @@ interface BorderStyleProps {
|
|
256
255
|
/** Add a border to the top and bottom sides of the box. */
|
257
256
|
borderedVertical?: boolean;
|
258
257
|
/** Add a border radius to all corners of the box. */
|
259
|
-
borderRadius?:
|
258
|
+
borderRadius?: BorderRadius;
|
260
259
|
/** Add a border radius to top left corner of the box. */
|
261
|
-
borderTopStartRadius?:
|
260
|
+
borderTopStartRadius?: BorderRadius;
|
262
261
|
/** Add a border radius to top right corner of the box. */
|
263
|
-
borderTopEndRadius?:
|
262
|
+
borderTopEndRadius?: BorderRadius;
|
264
263
|
/** Add a border radius to bottom left corner of the box. */
|
265
|
-
borderBottomStartRadius?:
|
264
|
+
borderBottomStartRadius?: BorderRadius;
|
266
265
|
/** Add a border radius to bottom right corner of the box. */
|
267
|
-
borderBottomEndRadius?:
|
266
|
+
borderBottomEndRadius?: BorderRadius;
|
268
267
|
/** Adds a custom border color from the palette */
|
269
268
|
borderColor?: LineColor;
|
270
269
|
/** Utility for controlling an element's border color on active. */
|
@@ -394,6 +393,8 @@ interface TextStyleProps {
|
|
394
393
|
color?: ForegroundColor;
|
395
394
|
/** Utility for controlling the color of a Text or Icon element when checked */
|
396
395
|
colorChecked?: ForegroundColor;
|
396
|
+
/** Utility for controlling the color of a placeholder element */
|
397
|
+
placeholderColor?: ForegroundColor;
|
397
398
|
/** Utility for controlling the font family of a Text element */
|
398
399
|
fontFamily?: TextVariant | FontFamilyGlobalAlias;
|
399
400
|
/** Utility for controlling the font size of a Text element */
|
@@ -493,11 +494,20 @@ interface UniversalAvatarProps extends UniversalImageProps {
|
|
493
494
|
/** The size of the Avatar. */
|
494
495
|
size?: AvatarSize;
|
495
496
|
/** The shape of the Avatar. */
|
496
|
-
shape?:
|
497
|
+
shape?: BorderRadius;
|
497
498
|
}
|
498
499
|
interface UniversalTextInputProps {
|
499
500
|
disabled?: boolean;
|
500
501
|
required?: boolean;
|
502
|
+
backgroundColor?: BackgroundColor;
|
503
|
+
borderColor?: LineColor;
|
504
|
+
borderWidth?: BorderWidth;
|
505
|
+
borderRadius?: BorderRadius;
|
506
|
+
color?: ForegroundColor;
|
507
|
+
fontSize?: TextVariant;
|
508
|
+
placeholderColor?: ForegroundColor;
|
509
|
+
spacingVertical?: SpacingAlias;
|
510
|
+
spacingHorizontal?: SpacingAlias;
|
501
511
|
}
|
502
512
|
|
503
|
-
export { type AlwaysPaletteAlias as $, type
|
513
|
+
export { type AlwaysPaletteAlias as $, type CustomSizingStyleProps as A, type BackgroundPalette as B, type ColorMode as C, type AvatarSizeConfig as D, type ElevationConfig as E, type ForegroundPalette as F, type IconSizeConfig as G, type Hue as H, type ImageStyleProps as I, type SpacingConfig as J, type BorderRadiusConfig as K, type LinePalette as L, type Modes as M, type BorderWidthConfig as N, type OpacityStyleProps as O, type PaletteValue as P, type FontFamilyConfig as Q, type FontSizeConfig as R, type ScaleMode as S, type TextStyleProps as T, type UniversalTokensConfig as U, type LineHeightConfig as V, type TextTransformConfig as W, type StyleProps as X, alwaysPalette as Y, type ZIndexConfig as Z, type AlwaysPalette as _, type ColorsConfig as a, type TransitionDuration as a$, type Animation as a0, type AriaAttribute as a1, type AspectRatio as a2, type AspectRatioConfig as a3, type AvatarShape as a4, type AvatarSize as a5, type BackgroundColor as a6, type BackgroundPaletteAlias as a7, type BackgroundWashPaletteAlias as a8, type BorderRadius as a9, type IconName as aA, type IconSize as aB, type LetterSpacing as aC, type LineClampAlias as aD, type LineColor as aE, type LineHeight as aF, type LinePaletteAlias as aG, type MaxHeight as aH, type MaxWidth as aI, type MinHeight as aJ, type MinWidth as aK, type Opacity as aL, type Overflow as aM, type Palette as aN, type PaletteConfig as aO, type PaletteType as aP, type PlatformMode as aQ, type Position as aR, type RegionMode as aS, type ScaleConfig as aT, type SpacingAlias as aU, type SpectrumColor as aV, type SpectrumConfig as aW, type StateStyleProps as aX, type TextTransform as aY, type TextVariant as aZ, type TransitionDelay as a_, type BorderWidth as aa, type BoxShadowConfig as ab, type ButtonSize as ac, type ButtonVariant as ad, type ConfigurableTextProperty as ae, type CorePaletteAlias as af, type DataAttribute as ag, type Display as ah, type ElevationPaletteAlias as ai, type Flex as aj, type FlexAlignContent as ak, type FlexAlignItems as al, type FlexAlignSelf as am, type FlexBasis as an, type FlexDirection as ao, type FlexGrow as ap, type FlexJustifyContent as aq, type FlexShrink as ar, type FlexWrap as as, type FontFamilyGlobalAlias as at, type FontSize as au, type FontWeightDescriptive as av, type ForegroundColor as aw, type ForegroundPaletteAlias as ax, type Height as ay, type HighContrastMode as az, type HueStep as b, type TransitionTiming as b0, type UniversalTextInputProps as b1, type Width as b2, type ZIndex as b3, type CorePalette as c, type BackgroundWashPalette as d, type FontWeightConfig as e, type FontWeightNumeric as f, type Elevation as g, type FontFamilyGlobalConfig as h, type UniversalImageProps as i, type UniversalAvatarProps as j, type UniversalBoxProps as k, type UniversalPressableProps as l, type UniversalButtonProps as m, type UniversalStackProps as n, type UniversalTextProps as o, type UniversalIconProps as p, type UniversalIconButtonProps as q, type ColorModeForApp as r, type ScaleModeForApp as s, type ScaleModeConfig as t, type BackgroundStyleProps as u, type BorderStyleProps as v, type LayoutStyleProps as w, type FlexStyleProps as x, type SpacingStyleProps as y, type SizingStyleProps as z };
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yahoo/uds",
|
3
3
|
"description": "Yahoo Universal System",
|
4
|
-
"version": "0.1.
|
4
|
+
"version": "0.1.19",
|
5
5
|
"type": "module",
|
6
6
|
"bin": {
|
7
7
|
"uds": "./cli/uds-cli"
|
@@ -123,7 +123,7 @@
|
|
123
123
|
"bluebun": "0.0.34",
|
124
124
|
"clsx": "^2.1.0",
|
125
125
|
"fast-glob": "^3.3.2",
|
126
|
-
"react-toastify": "^
|
126
|
+
"react-toastify": "^10.0.0",
|
127
127
|
"tailwind-merge": "^2.2.1",
|
128
128
|
"ts-morph": "^21.0.1"
|
129
129
|
},
|
package/dist/chunk-3I3D5S54.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var e="uds",a=`${e}-spectrum-color`,x=`${e}-font`,L=`${e}-icon-size`,C=`${e}-avatar-size`,l=`${e}-shape`,p=`${e}-spacing`,M=`${e}-font-size`,N=`${e}-line-height`,O=`${e}-font-weight`,R=`${e}-text-transform`,r=`${e}-color-mode-dark`,t=`${e}-color-mode-light`,s=`${e}-scale-mode-xsmall`,S=`${e}-scale-mode-small`,E=`${e}-scale-mode-medium`,_=`${e}-scale-mode-large`,n=`${e}-scale-mode-xlarge`,c=`${e}-scale-mode-xxlarge`,A=`${e}-scale-mode-xxxlarge`,F=t,I=_;function d(o){switch(o){case"light":return t;case"dark":return r;default:}}function $(o){switch(o){case"xSmall":return s;case"small":return S;case"medium":return E;case"large":return _;case"xLarge":return n;case"xxLarge":return c;case"xxxLarge":return A;default:}}var m=`--${e}-font-icons`,T=`--${e}-font-sans`,i=`--${e}-font-sans-beta`,X=`--${e}-font-sans-condensed`,D=`--${e}-font-serif-display`,f=`--${e}-font-serif-text`;export{e as a,a as b,x as c,L as d,C as e,l as f,p as g,M as h,N as i,O as j,R as k,r as l,t as m,s as n,S as o,E as p,_ as q,n as r,c as s,A as t,F as u,I as v,d as w,$ as x,m as y,T as z,i as A,X as B,D as C,f as D};
|
package/dist/chunk-74YHFBTD.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
function n(e){return Object.entries(e)}export{n as a};
|
package/dist/chunk-AHFH5E5L.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var e=["Helvetica Neue","Helvetica","Arial","sans-serif"],i=["Georgia","Times","Times New Roman","serif"],g={icons:{fallbacks:e,name:"yahoo-icons"},sans:{fallbacks:e,name:"yahoo-sans"},"sans-beta":{fallbacks:e,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:e,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:i,name:"yahoo-serif-text"},"serif-display":{fallbacks:i,name:"yahoo-serif-display"}},b={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},f={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},p={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},d={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},l={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},a={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...l.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},t={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...a.lineHeight,title2:36,title3:32}},n={fontSize:{...t.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...t.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},o={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...n.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},s={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...o.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},c={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...s.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};export{g as a,b,f as c,p as d,d as e,l as f,a as g,t as h,n as i,o as j,s as k,c as l};
|
package/dist/chunk-D4K3CXV6.js
DELETED
File without changes
|
package/dist/chunk-FLBMVDKG.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{a as y}from"./chunk-WYDHNV42.js";import{a as v,b as R,c as m,d as T,e as F,f as $,g as C,h as _,i as E,j as h,k as S}from"./chunk-3I3D5S54.js";import{a as c}from"./chunk-74YHFBTD.js";import{c as d}from"./chunk-AHFH5E5L.js";function I(o){let{palette:e,spectrum:a}=o,n={},r={spectrum:{},palette:{}};for(let[t,i]of c(a))for(let[s,f]of c(i)){let l=`${t}-${s}`,p=`--${R}-${l}`;r.spectrum[t]||(r.spectrum[t]={}),r.spectrum[t][s]=`rgb(var(${p}))`,n[p]=f}return c(e).forEach(([t,i])=>{for(let[s,{hue:f,step:l,opacity:p}]of Object.entries(i)){t in r.palette||(r.palette[t]={});let g=`--${v}-${t}-color-${s}`;n[g]=`var(--${R}-${f}-${l})`,r.palette[t][s]=p?`rgb(var(${g}) / ${p})`:`rgb(var(${g}))`}}),{_vars:n,_raw:o,tailwindConfig:r}}function k(o){let e={},a={};for(let[n,r="regular"]of c(o)){let t=`--${h}-${n}`,i=d[r];e[t]=i,a[n]=`var(${t})`}return{_vars:e,_raw:o,tailwindConfig:{...d,...a}}}function P(o,e,a){let n={},r={};for(let[t,i]of c(e)){let s=`--${o}-${t}`,f=a?a(i):i;n[s]=f,r[t]=`var(${s})`}return{_vars:n,_raw:e,tailwindConfig:r}}function u(o,e){let a={},n={};for(let[r,t]of c(e)){let i=`--${o}-${r}`,s=`${t}px`;a[i]=s,n[r]=`var(${i})`}return{_vars:a,_raw:e,tailwindConfig:n}}function x(o){let e={};for(let[a,n]of c(o)){let r=n.map(({color:t,offsetX:i,offsetY:s,blurRadius:f,spreadRadius:l})=>`${i}px ${s}px ${f}px ${l}px ${t}`).join(", ");e[a]=r}return e}function N(o){return y(o,(e,a)=>{let{fallbacks:n=[]}=e??{};return[`var(--${m}-${a})`,...n]})}function X(o){return`${o}px`}function w(o){return y(o,X)}var H=w;function U(o){let{colorMode:e,scaleMode:a,elevation:n,fontFamily:r,borderWidth:t}=o;return{...o,colorMode:{light:I(e.light),dark:I(e.dark)},scaleMode:y(a,({shapes:i,spacing:s,fontSize:f,lineHeight:l,fontFamily:p,fontWeight:g,textTransform:b,avatarSizes:V,iconSizes:W})=>({fontFamily:P(m,p,M=>`var(--${m}-${M})`),fontSize:u(_,f),fontWeight:k(g),lineHeight:u(E,l),textTransform:P(S,b),shapes:u($,i),spacing:u(C,s),avatarSizes:u(F,V),iconSizes:u(T,W)})),borderWidth:H(t),elevation:x(n),fontFamily:N(r)}}export{U as a};
|
package/dist/chunk-M346JMQS.js
DELETED
File without changes
|
package/dist/chunk-MFA2Y7DA.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
function v(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}import{Children as d,cloneElement as m,forwardRef as h,isValidElement as p}from"react";function R(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function y(...o){return t=>o.forEach(i=>R(i,t))}import{jsx as w}from"react/jsx-runtime";function x(){let o=h((e,a)=>{let{children:r,...n}=e,l=d.toArray(r),c=l.find(b);if(c){let s=c.props.children,u=l.map(C=>C===c?d.count(s)>1?d.only(null):p(s)?s.props.children:null:C);return w(t,{...n,ref:a,children:p(s)?m(s,void 0,u):null})}return w(t,{...n,ref:a,children:r})});o.displayName="Slot";let t=h((e,a)=>{let{children:r,...n}=e;return p(r)?m(r,{...g(n,r.props),ref:a?y(a,r.ref):r.ref}):d.count(r)>1?d.only(null):null});t.displayName="SlotClone";let i=({children:e})=>e;function b(e){return p(e)&&e.type===i}function g(e,a){let r={...a};for(let n in a){let l=e[n],c=a[n];/^on[A-Z]/.test(n)?l&&c?r[n]=(...u)=>{c(...u),l(...u)}:l&&(r[n]=l):n==="style"&&(r[n]={...l,...c})}return{...e,...r}}return o}var V={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},f={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"circle",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function z({variant:o="accent",size:t="s"}){let{color:i,...b}=f.variant[o],{variant:g,...e}=f.size[t];return{pressable:{...f.base,...b,...e},text:{color:i,variant:g,textAlign:"center"},icon:{color:i,size:"s"}}}export{v as a,x as b,V as c,z as d};
|
package/dist/chunk-PO7U3C7A.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{a as n,b as t,d as o,e as r,f as i,g,h as l,i as c,j as u,k as m,l as f}from"./chunk-AHFH5E5L.js";var h={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},d={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},E={white:"#ffffff",black:"#000000",transparent:"transparent"};var y={0:0,1:1,2:2,4:4,8:8};var S={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var x={auto:"auto",square:"1 / 1",video:"16 / 9"},C={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var b={square:0,xs:2,s:4,m:8,l:12,xl:16,xxl:20,circle:9999},v={square:0,xs:2,s:4,m:8,l:16,xl:24,xxl:32,circle:9999};var a={s:16,m:24,l:32},A=a,s={s:16,m:24,l:32},R=s;var w={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},z={0:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var M={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},k={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var p={fontFamily:t,fontWeight:o,textTransform:r,avatarSizes:a,iconSizes:s,shapes:b,spacing:w},e={fontFamily:t,fontWeight:o,textTransform:r,avatarSizes:A,iconSizes:R,shapes:v,spacing:z},Z={colorMode:{light:{palette:h,spectrum:M},dark:{palette:d,spectrum:k}},scaleMode:{xSmall:{...p,...i},small:{...p,...g},medium:{...p,...l},large:{...e,...c},xLarge:{...e,...u},xxLarge:{...e,...m},xxxLarge:{...e,...f}},aspectRatio:x,borderWidth:y,elevation:S,fontFamily:n,zIndex:C};var J="system",K="system",Q="light",V="large",$=!1,e1="\u{1F1FA}\u{1F1F8} US";export{E as a,Z as b,J as c,K as d,Q as e,V as f,$ as g,e1 as h};
|
package/dist/chunk-PQBOZFJV.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
import{a as l}from"./chunk-WYDHNV42.js";import{a as c}from"./chunk-74YHFBTD.js";function g({spectrum:o,palette:e}){let t=l(o,n=>l(n,r=>`rgb(${r.replaceAll(" ",",")})`)),i=l(e,n=>Object.entries(n).reduce((r,[a,{hue:s,step:y,opacity:f}])=>{let p=o[s][y],C=f?`rgb(${p.replaceAll(" ",",")} / ${f})`:`rgb(${p.replaceAll(" ",",")})`;return{...r,[a]:C}},{}));return{spectrum:t,palette:i}}function d(o){let e={};for(let[t,[{color:i,offsetX:n,offsetY:r,blurRadius:a}]]of c(o)){let s={shadowColor:i,shadowOffset:{width:n,height:r},shadowOpacity:1,shadowRadius:a};e[t]=s}return e}function m({colorMode:o,elevation:e,...t}){return{...t,colorMode:{light:g(o.light),dark:g(o.dark)},elevation:d(e)}}export{m as a};
|
package/dist/chunk-WYDHNV42.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
function y(n,r){return Object.keys(n).reduce((t,e,u)=>(t[e]=r(n[e],e,u),t),{})}export{y as a};
|