@yahoo/uds 3.117.2 → 3.117.4
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/styles/styler.d.cts +35 -35
- package/dist/styles/styler.d.ts +35 -35
- package/dist/tailwind/dist/cli/dist/lib/colors.cjs +22 -0
- package/dist/tailwind/dist/cli/dist/lib/colors.js +17 -0
- package/dist/tailwind/dist/cli/dist/lib/colors.js.map +1 -0
- package/dist/{cli → tailwind/dist/cli}/dist/lib/logger.cjs +1 -1
- package/dist/{cli → tailwind/dist/cli}/dist/lib/logger.js +3 -2
- package/dist/tailwind/dist/cli/dist/lib/logger.js.map +1 -0
- package/dist/tailwind/dist/cli/dist/lib/print.cjs +13 -0
- package/dist/tailwind/dist/cli/dist/lib/print.js +13 -0
- package/dist/tailwind/dist/cli/dist/lib/print.js.map +1 -0
- package/dist/{cli → tailwind/dist/cli}/dist/lib/spinner.cjs +1 -1
- package/dist/{cli → tailwind/dist/cli}/dist/lib/spinner.js +3 -2
- package/dist/tailwind/dist/cli/dist/lib/spinner.js.map +1 -0
- package/dist/tailwind/dist/commands/css.cjs +34 -34
- package/dist/tailwind/dist/commands/css.js +2 -1
- package/dist/tailwind/dist/commands/css.js.map +1 -1
- package/dist/tailwind/dist/commands/generateComponentData.cjs +9 -9
- package/dist/tailwind/dist/commands/generateComponentData.d.ts +1 -1
- package/dist/tailwind/dist/commands/generateComponentData.js +1 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.cjs +3 -2
- package/dist/tailwind/dist/commands/generatePurgeCSSData.d.ts +1 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js +2 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js.map +1 -1
- package/dist/tailwind/dist/commands/purge.cjs +13 -13
- package/dist/tailwind/dist/commands/purge.js +2 -1
- package/dist/tailwind/dist/commands/purge.js.map +1 -1
- package/dist/tailwind/dist/css/generate.cjs +8 -6
- package/dist/tailwind/dist/css/generate.js +3 -1
- package/dist/tailwind/dist/css/generate.js.map +1 -1
- package/dist/tailwind/dist/css/nodeUtils.cjs +10 -9
- package/dist/tailwind/dist/css/nodeUtils.js +2 -1
- package/dist/tailwind/dist/css/nodeUtils.js.map +1 -1
- package/dist/tailwind/dist/css/runner.cjs +25 -22
- package/dist/tailwind/dist/css/runner.js +4 -1
- package/dist/tailwind/dist/css/runner.js.map +1 -1
- package/dist/tailwind/dist/purger/legacy/purgeCSS.cjs +8 -7
- package/dist/tailwind/dist/purger/legacy/purgeCSS.js +2 -1
- package/dist/tailwind/dist/purger/legacy/purgeCSS.js.map +1 -1
- package/dist/tailwind/dist/utils/generatePurgeCSSData.cjs +4 -3
- package/dist/tailwind/dist/utils/generatePurgeCSSData.js +2 -1
- package/dist/tailwind/dist/utils/generatePurgeCSSData.js.map +1 -1
- package/dist/uds/generated/componentData.cjs +81 -81
- package/dist/uds/generated/componentData.js +81 -81
- package/generated/componentData.json +112 -112
- package/package.json +1 -1
package/dist/styles/styler.d.cts
CHANGED
|
@@ -12,8 +12,8 @@ declare const cva: CVA<string>;
|
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
13
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
14
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
15
|
-
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "
|
|
16
|
-
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "
|
|
15
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
16
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
17
17
|
avatarTextVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
18
18
|
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
19
19
|
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
@@ -23,8 +23,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
23
23
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
24
24
|
buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
25
25
|
buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
26
|
-
buttonVariantIcon?: "primary" | "secondary" | "
|
|
27
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
26
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
27
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
28
28
|
checkboxSizeCheckbox?: "sm" | "md" | "default" | undefined;
|
|
29
29
|
checkboxSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
30
30
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
@@ -46,8 +46,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
46
46
|
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
47
47
|
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
48
48
|
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
49
|
-
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "
|
|
50
|
-
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "
|
|
49
|
+
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
50
|
+
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
51
51
|
inputSizeEndIcon?: "md" | "lg" | "default" | undefined;
|
|
52
52
|
inputSizeHelperIcon?: "md" | "lg" | "default" | undefined;
|
|
53
53
|
inputSizeHelperText?: "md" | "lg" | "default" | undefined;
|
|
@@ -154,11 +154,11 @@ declare const getStylesInternal: (props?: ({
|
|
|
154
154
|
tooltipVariantIcon?: "default" | undefined;
|
|
155
155
|
tooltipVariantRoot?: "default" | undefined;
|
|
156
156
|
tooltipVariantSvg?: "default" | undefined;
|
|
157
|
-
color?: "primary" | "secondary" | "
|
|
158
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
157
|
+
color?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
158
|
+
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
159
159
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
160
160
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
161
|
-
fontWeight?: "black" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "
|
|
161
|
+
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "light" | "extralight" | "regular" | "semibold" | "bold" | "extrabold" | undefined;
|
|
162
162
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
163
163
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
164
164
|
textAlign?: "start" | "end" | "center" | "justify" | undefined;
|
|
@@ -180,49 +180,49 @@ declare const getStylesInternal: (props?: ({
|
|
|
180
180
|
columnGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
181
181
|
rowGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
182
182
|
backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
183
|
-
borderColor?: "primary" | "secondary" | "
|
|
184
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
185
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
186
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
187
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
188
|
-
borderRadius?: "
|
|
189
|
-
borderTopStartRadius?: "
|
|
190
|
-
borderTopEndRadius?: "
|
|
191
|
-
borderBottomStartRadius?: "
|
|
192
|
-
borderBottomEndRadius?: "
|
|
193
|
-
borderWidth?: "
|
|
194
|
-
borderVerticalWidth?: "
|
|
195
|
-
borderHorizontalWidth?: "
|
|
196
|
-
borderStartWidth?: "
|
|
197
|
-
borderEndWidth?: "
|
|
198
|
-
borderTopWidth?: "
|
|
199
|
-
borderBottomWidth?: "
|
|
183
|
+
borderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
184
|
+
borderStartColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
185
|
+
borderEndColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
186
|
+
borderBottomColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
187
|
+
borderTopColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
188
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
189
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
190
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
191
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
192
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
193
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
194
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
195
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
196
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
197
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
198
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
199
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
200
200
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
201
201
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
202
202
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
203
203
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
204
|
-
alignSelf?: "center" | "
|
|
205
|
-
flex?: "1" | "
|
|
204
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
205
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
206
206
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
207
207
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
208
208
|
flexShrink?: "0" | "1" | undefined;
|
|
209
209
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
210
210
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
211
211
|
flexBasis?: "min-content" | undefined;
|
|
212
|
-
display?: "flex" | "table" | "none" | "
|
|
212
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
|
|
213
213
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
214
214
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
215
215
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
216
|
-
position?: "
|
|
217
|
-
contentFit?: "
|
|
216
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
217
|
+
contentFit?: "none" | "cover" | "contain" | "fill" | "scale-down" | undefined;
|
|
218
218
|
colorMode?: "light" | "dark" | undefined;
|
|
219
219
|
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
220
220
|
width?: "full" | "fit" | "screen" | undefined;
|
|
221
221
|
height?: "full" | "fit" | "screen" | undefined;
|
|
222
|
-
dropShadow?: "
|
|
223
|
-
insetShadow?: "
|
|
224
|
-
nestedBorderRadiusSize?: "
|
|
225
|
-
nestedBorderRadiusWidth?: "
|
|
222
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
223
|
+
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
224
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
225
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
226
226
|
nestedBorderRadiusSpacing?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
227
227
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
228
228
|
} & {
|
package/dist/styles/styler.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ declare const cva: CVA<string>;
|
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
13
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
14
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
15
|
-
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "
|
|
16
|
-
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "
|
|
15
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
16
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
17
17
|
avatarTextVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
18
18
|
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
19
19
|
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
@@ -23,8 +23,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
23
23
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
24
24
|
buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
25
25
|
buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
26
|
-
buttonVariantIcon?: "primary" | "secondary" | "
|
|
27
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
26
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
27
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
28
28
|
checkboxSizeCheckbox?: "sm" | "md" | "default" | undefined;
|
|
29
29
|
checkboxSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
30
30
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
@@ -46,8 +46,8 @@ declare const getStylesInternal: (props?: ({
|
|
|
46
46
|
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
47
47
|
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
48
48
|
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | "default" | undefined;
|
|
49
|
-
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "
|
|
50
|
-
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "
|
|
49
|
+
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
50
|
+
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "default" | undefined;
|
|
51
51
|
inputSizeEndIcon?: "md" | "lg" | "default" | undefined;
|
|
52
52
|
inputSizeHelperIcon?: "md" | "lg" | "default" | undefined;
|
|
53
53
|
inputSizeHelperText?: "md" | "lg" | "default" | undefined;
|
|
@@ -154,11 +154,11 @@ declare const getStylesInternal: (props?: ({
|
|
|
154
154
|
tooltipVariantIcon?: "default" | undefined;
|
|
155
155
|
tooltipVariantRoot?: "default" | undefined;
|
|
156
156
|
tooltipVariantSvg?: "default" | undefined;
|
|
157
|
-
color?: "primary" | "secondary" | "
|
|
158
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
157
|
+
color?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
158
|
+
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
159
159
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
160
160
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
161
|
-
fontWeight?: "black" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "
|
|
161
|
+
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "light" | "extralight" | "regular" | "semibold" | "bold" | "extrabold" | undefined;
|
|
162
162
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
163
163
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
164
164
|
textAlign?: "start" | "end" | "center" | "justify" | undefined;
|
|
@@ -180,49 +180,49 @@ declare const getStylesInternal: (props?: ({
|
|
|
180
180
|
columnGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
181
181
|
rowGap?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
182
182
|
backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
183
|
-
borderColor?: "primary" | "secondary" | "
|
|
184
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
185
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
186
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
187
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
188
|
-
borderRadius?: "
|
|
189
|
-
borderTopStartRadius?: "
|
|
190
|
-
borderTopEndRadius?: "
|
|
191
|
-
borderBottomStartRadius?: "
|
|
192
|
-
borderBottomEndRadius?: "
|
|
193
|
-
borderWidth?: "
|
|
194
|
-
borderVerticalWidth?: "
|
|
195
|
-
borderHorizontalWidth?: "
|
|
196
|
-
borderStartWidth?: "
|
|
197
|
-
borderEndWidth?: "
|
|
198
|
-
borderTopWidth?: "
|
|
199
|
-
borderBottomWidth?: "
|
|
183
|
+
borderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
184
|
+
borderStartColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
185
|
+
borderEndColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
186
|
+
borderBottomColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
187
|
+
borderTopColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
188
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
189
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
190
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
191
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
192
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
193
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
194
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
195
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
196
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
197
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
198
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
199
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
200
200
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
201
201
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
202
202
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
203
203
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
204
|
-
alignSelf?: "center" | "
|
|
205
|
-
flex?: "1" | "
|
|
204
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
205
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
206
206
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
207
207
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
208
208
|
flexShrink?: "0" | "1" | undefined;
|
|
209
209
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
210
210
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
211
211
|
flexBasis?: "min-content" | undefined;
|
|
212
|
-
display?: "flex" | "table" | "none" | "
|
|
212
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
|
|
213
213
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
214
214
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
215
215
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
216
|
-
position?: "
|
|
217
|
-
contentFit?: "
|
|
216
|
+
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
217
|
+
contentFit?: "none" | "cover" | "contain" | "fill" | "scale-down" | undefined;
|
|
218
218
|
colorMode?: "light" | "dark" | undefined;
|
|
219
219
|
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
220
220
|
width?: "full" | "fit" | "screen" | undefined;
|
|
221
221
|
height?: "full" | "fit" | "screen" | undefined;
|
|
222
|
-
dropShadow?: "
|
|
223
|
-
insetShadow?: "
|
|
224
|
-
nestedBorderRadiusSize?: "
|
|
225
|
-
nestedBorderRadiusWidth?: "
|
|
222
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
223
|
+
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
224
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
225
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
226
226
|
nestedBorderRadiusSpacing?: "0" | "px" | "0.5" | "1" | "1.5" | "2" | "2.5" | "3" | "3.5" | "4" | "4.5" | "5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
227
227
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
228
228
|
} & {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
+
|
|
3
|
+
//#region ../cli/dist/lib/colors.mjs
|
|
4
|
+
/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
|
|
5
|
+
/**
|
|
6
|
+
* ANSI escape code color utilities for terminal output.
|
|
7
|
+
* Zero dependencies - uses standard ANSI escape sequences.
|
|
8
|
+
*/
|
|
9
|
+
const red = (text) => `\x1b[31m${text}\x1b[0m`;
|
|
10
|
+
const green = (text) => `\x1b[32m${text}\x1b[0m`;
|
|
11
|
+
const yellow = (text) => `\x1b[33m${text}\x1b[0m`;
|
|
12
|
+
const magenta = (text) => `\x1b[35m${text}\x1b[0m`;
|
|
13
|
+
const cyan = (text) => `\x1b[36m${text}\x1b[0m`;
|
|
14
|
+
const gray = (text) => `\x1b[2m${text}\x1b[0m`;
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.cyan = cyan;
|
|
18
|
+
exports.gray = gray;
|
|
19
|
+
exports.green = green;
|
|
20
|
+
exports.magenta = magenta;
|
|
21
|
+
exports.red = red;
|
|
22
|
+
exports.yellow = yellow;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
+
//#region ../cli/dist/lib/colors.mjs
|
|
3
|
+
/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
|
|
4
|
+
/**
|
|
5
|
+
* ANSI escape code color utilities for terminal output.
|
|
6
|
+
* Zero dependencies - uses standard ANSI escape sequences.
|
|
7
|
+
*/
|
|
8
|
+
const red = (text) => `\x1b[31m${text}\x1b[0m`;
|
|
9
|
+
const green = (text) => `\x1b[32m${text}\x1b[0m`;
|
|
10
|
+
const yellow = (text) => `\x1b[33m${text}\x1b[0m`;
|
|
11
|
+
const magenta = (text) => `\x1b[35m${text}\x1b[0m`;
|
|
12
|
+
const cyan = (text) => `\x1b[36m${text}\x1b[0m`;
|
|
13
|
+
const gray = (text) => `\x1b[2m${text}\x1b[0m`;
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { cyan, gray, green, magenta, red, yellow };
|
|
17
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","names":[],"sources":["../../../../../cli/dist/lib/colors.mjs"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */\n//#region src/lib/colors.ts\n/**\n* ANSI escape code color utilities for terminal output.\n* Zero dependencies - uses standard ANSI escape sequences.\n*/\nconst red = (text) => `\\x1b[31m${text}\\x1b[0m`;\nconst green = (text) => `\\x1b[32m${text}\\x1b[0m`;\nconst yellow = (text) => `\\x1b[33m${text}\\x1b[0m`;\nconst blue = (text) => `\\x1b[34m${text}\\x1b[0m`;\nconst magenta = (text) => `\\x1b[35m${text}\\x1b[0m`;\nconst cyan = (text) => `\\x1b[36m${text}\\x1b[0m`;\nconst white = (text) => `\\x1b[37m${text}\\x1b[0m`;\nconst gray = (text) => `\\x1b[2m${text}\\x1b[0m`;\nconst bold = (text) => `\\x1b[1m${text}\\x1b[0m`;\nconst dim = (text) => `\\x1b[2m${text}\\x1b[0m`;\n\n//#endregion\nexport { blue, bold, cyan, dim, gray, green, magenta, red, white, yellow };\n//# sourceMappingURL=colors.mjs.map"],"mappings":";;;;;;;AAMA,MAAM,OAAO,SAAS,WAAW,KAAK;AACtC,MAAM,SAAS,SAAS,WAAW,KAAK;AACxC,MAAM,UAAU,SAAS,WAAW,KAAK;AAEzC,MAAM,WAAW,SAAS,WAAW,KAAK;AAC1C,MAAM,QAAQ,SAAS,WAAW,KAAK;AAEvC,MAAM,QAAQ,SAAS,UAAU,KAAK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
2
|
import { cyan, gray, green, magenta, red, yellow } from "./colors.js";
|
|
3
3
|
import { print } from "./print.js";
|
|
4
4
|
import { spinStart, spinStop } from "./spinner.js";
|
|
@@ -63,4 +63,5 @@ function createLogger(options = {}) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
//#endregion
|
|
66
|
-
export { createLogger };
|
|
66
|
+
export { createLogger };
|
|
67
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.js","names":[],"sources":["../../../../../cli/dist/lib/logger.mjs"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */\nimport { cyan, gray, green, magenta, red, yellow } from \"./colors.mjs\";\nimport { print } from \"./print.mjs\";\nimport { spinStart, spinStop } from \"./spinner.mjs\";\n\n//#region src/lib/logger.ts\n/**\n* Logger utility for CLI commands.\n* Centralizes logging behavior with support for silent mode.\n*/\n/**\n* Create a logger instance with optional silent mode.\n* When silent, all logging methods become no-ops.\n*/\nfunction createLogger(options = {}) {\n\tconst isSilent = options.silent ?? false;\n\treturn {\n\t\tisSilent,\n\t\tprint: (message) => {\n\t\t\tif (!isSilent) print(message);\n\t\t},\n\t\tprintAlways: (message) => {\n\t\t\tprint(message);\n\t\t},\n\t\tspinStart: (message) => {\n\t\t\tif (!isSilent) spinStart(message);\n\t\t},\n\t\tspinStop: (icon, message) => {\n\t\t\tif (!isSilent) spinStop(icon, message);\n\t\t},\n\t\tsuccess: (message) => {\n\t\t\tif (!isSilent) print(green(`✅ ${message}`));\n\t\t},\n\t\twarn: (message) => {\n\t\t\tif (!isSilent) print(yellow(`⚠️ ${message}`));\n\t\t},\n\t\terror: (message) => {\n\t\t\tprint(red(`❌ ${message}`));\n\t\t},\n\t\tinfo: (message) => {\n\t\t\tif (!isSilent) print(cyan(message));\n\t\t},\n\t\tlabel: (label, value) => {\n\t\t\tif (!isSilent) print(`${magenta(label)} ${cyan(value)}`);\n\t\t},\n\t\tlistItem: (text) => {\n\t\t\tif (!isSilent) print(` ${gray(\"•\")} ${text}`);\n\t\t},\n\t\ttimestamp: (message, color = \"green\") => {\n\t\t\tif (isSilent) return;\n\t\t\tconst time = (/* @__PURE__ */ new Date()).toLocaleTimeString();\n\t\t\tconst colorFn = color === \"green\" ? green : color === \"yellow\" ? yellow : red;\n\t\t\tprint(`${gray(`[${time}]`)} ${colorFn(message)}`);\n\t\t},\n\t\tnewline: () => {\n\t\t\tif (!isSilent) print(\"\");\n\t\t},\n\t\tchild: (childOptions = {}) => {\n\t\t\treturn createLogger({ silent: childOptions.silent ?? isSilent });\n\t\t}\n\t};\n}\n\n//#endregion\nexport { createLogger };\n//# sourceMappingURL=logger.mjs.map"],"mappings":";;;;;;;;;;;;;;;AAcA,SAAS,aAAa,UAAU,EAAE,EAAE;CACnC,MAAM,WAAW,QAAQ,UAAU;AACnC,QAAO;EACN;EACA,QAAQ,YAAY;AACnB,OAAI,CAAC,SAAU,OAAM,QAAQ;;EAE9B,cAAc,YAAY;AACzB,SAAM,QAAQ;;EAEf,YAAY,YAAY;AACvB,OAAI,CAAC,SAAU,WAAU,QAAQ;;EAElC,WAAW,MAAM,YAAY;AAC5B,OAAI,CAAC,SAAU,UAAS,MAAM,QAAQ;;EAEvC,UAAU,YAAY;AACrB,OAAI,CAAC,SAAU,OAAM,MAAM,KAAK,UAAU,CAAC;;EAE5C,OAAO,YAAY;AAClB,OAAI,CAAC,SAAU,OAAM,OAAO,OAAO,UAAU,CAAC;;EAE/C,QAAQ,YAAY;AACnB,SAAM,IAAI,KAAK,UAAU,CAAC;;EAE3B,OAAO,YAAY;AAClB,OAAI,CAAC,SAAU,OAAM,KAAK,QAAQ,CAAC;;EAEpC,QAAQ,OAAO,UAAU;AACxB,OAAI,CAAC,SAAU,OAAM,GAAG,QAAQ,MAAM,CAAC,GAAG,KAAK,MAAM,GAAG;;EAEzD,WAAW,SAAS;AACnB,OAAI,CAAC,SAAU,OAAM,MAAM,KAAK,IAAI,CAAC,GAAG,OAAO;;EAEhD,YAAY,SAAS,QAAQ,YAAY;AACxC,OAAI,SAAU;GACd,MAAM,wBAAwB,IAAI,MAAM,EAAE,oBAAoB;GAC9D,MAAM,UAAU,UAAU,UAAU,QAAQ,UAAU,WAAW,SAAS;AAC1E,SAAM,GAAG,KAAK,IAAI,KAAK,GAAG,CAAC,GAAG,QAAQ,QAAQ,GAAG;;EAElD,eAAe;AACd,OAAI,CAAC,SAAU,OAAM,GAAG;;EAEzB,QAAQ,eAAe,EAAE,KAAK;AAC7B,UAAO,aAAa,EAAE,QAAQ,aAAa,UAAU,UAAU,CAAC;;EAEjE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
+
|
|
3
|
+
//#region ../cli/dist/lib/print.mjs
|
|
4
|
+
/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
|
|
5
|
+
/**
|
|
6
|
+
* Console output wrapper.
|
|
7
|
+
*/
|
|
8
|
+
function print(...args) {
|
|
9
|
+
console.log(...args);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.print = print;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
+
//#region ../cli/dist/lib/print.mjs
|
|
3
|
+
/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
|
|
4
|
+
/**
|
|
5
|
+
* Console output wrapper.
|
|
6
|
+
*/
|
|
7
|
+
function print(...args) {
|
|
8
|
+
console.log(...args);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { print };
|
|
13
|
+
//# sourceMappingURL=print.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"print.js","names":[],"sources":["../../../../../cli/dist/lib/print.mjs"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */\n//#region src/lib/print.ts\n/**\n* Console output wrapper.\n*/\nfunction print(...args) {\n\tconsole.log(...args);\n}\n\n//#endregion\nexport { print };\n//# sourceMappingURL=print.mjs.map"],"mappings":";;;;;;AAKA,SAAS,MAAM,GAAG,MAAM;AACvB,SAAQ,IAAI,GAAG,KAAK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
2
|
//#region ../cli/dist/lib/spinner.mjs
|
|
3
3
|
/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */
|
|
4
4
|
/**
|
|
@@ -54,4 +54,5 @@ function spinStop(iconOrMessage, message) {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
//#endregion
|
|
57
|
-
export { spinStart, spinStop };
|
|
57
|
+
export { spinStart, spinStop };
|
|
58
|
+
//# sourceMappingURL=spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.js","names":[],"sources":["../../../../../cli/dist/lib/spinner.mjs"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS CLI v0.0.0-development */\n//#region src/lib/spinner.ts\n/**\n* Simple terminal spinner for showing progress during long operations.\n* Uses Braille spinner characters for a smooth animation.\n*/\nlet spinnerInterval = null;\nlet currentMessage = \"\";\nconst frames = [\n\t\"⠋\",\n\t\"⠙\",\n\t\"⠹\",\n\t\"⠸\",\n\t\"⠼\",\n\t\"⠴\",\n\t\"⠦\",\n\t\"⠧\",\n\t\"⠇\",\n\t\"⠏\"\n];\nlet frameIndex = 0;\n/**\n* Start a spinner with a message.\n* Only one spinner can be active at a time.\n*/\nfunction spinStart(message) {\n\tif (spinnerInterval) spinStop();\n\tcurrentMessage = message;\n\tframeIndex = 0;\n\tprocess.stdout.write(\"\\x1B[?25l\");\n\tspinnerInterval = setInterval(() => {\n\t\tconst frame = frames[frameIndex];\n\t\tprocess.stdout.write(`\\r${frame} ${currentMessage}`);\n\t\tframeIndex = (frameIndex + 1) % frames.length;\n\t}, 80);\n}\n/**\n* Stop the spinner and optionally show a final message.\n* @param iconOrMessage - Optional icon to show OR the message if second param not provided\n* @param message - Optional final message to display\n*/\nfunction spinStop(iconOrMessage, message) {\n\tif (spinnerInterval) {\n\t\tclearInterval(spinnerInterval);\n\t\tspinnerInterval = null;\n\t}\n\tprocess.stdout.write(\"\\r\\x1B[K\");\n\tprocess.stdout.write(\"\\x1B[?25h\");\n\tif (iconOrMessage || message) {\n\t\tconst finalMessage = message ? `${iconOrMessage} ${message}` : iconOrMessage;\n\t\tconsole.log(finalMessage);\n\t}\n}\n\n//#endregion\nexport { spinStart, spinStop };\n//# sourceMappingURL=spinner.mjs.map"],"mappings":";;;;;;;AAMA,IAAI,kBAAkB;AACtB,IAAI,iBAAiB;AACrB,MAAM,SAAS;CACd;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,IAAI,aAAa;;;;;AAKjB,SAAS,UAAU,SAAS;AAC3B,KAAI,gBAAiB,WAAU;AAC/B,kBAAiB;AACjB,cAAa;AACb,SAAQ,OAAO,MAAM,YAAY;AACjC,mBAAkB,kBAAkB;EACnC,MAAM,QAAQ,OAAO;AACrB,UAAQ,OAAO,MAAM,KAAK,MAAM,GAAG,iBAAiB;AACpD,gBAAc,aAAa,KAAK,OAAO;IACrC,GAAG;;;;;;;AAOP,SAAS,SAAS,eAAe,SAAS;AACzC,KAAI,iBAAiB;AACpB,gBAAc,gBAAgB;AAC9B,oBAAkB;;AAEnB,SAAQ,OAAO,MAAM,WAAW;AAChC,SAAQ,OAAO,MAAM,YAAY;AACjC,KAAI,iBAAiB,SAAS;EAC7B,MAAM,eAAe,UAAU,GAAG,cAAc,GAAG,YAAY;AAC/D,UAAQ,IAAI,aAAa"}
|