@yahoo/uds 3.12.0 → 3.13.1
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/cli/FlattenButtonVariant.mock.tsx +17 -0
- package/dist/{Input-3VlNho5u.d.ts → Input-Dl4MH4QA.d.ts} +1 -1
- package/dist/{Input-DyendGfP.d.cts → Input-aOibmfef.d.cts} +1 -1
- package/dist/{Pressable-Cg5k06jR.d.ts → Pressable-SbKe8rDQ.d.ts} +1 -1
- package/dist/{Pressable-DwRN0F9I.d.cts → Pressable-mC6RJscK.d.cts} +1 -1
- package/dist/{VStack-CAmlGQov.d.ts → VStack-CntCBGfp.d.ts} +1 -1
- package/dist/{VStack-BLo_GVRR.d.cts → VStack-z0qYJqIc.d.cts} +1 -1
- package/dist/{chunk-OU46NWOC.cjs → chunk-4NZKRK55.cjs} +1 -1
- package/dist/chunk-5BYL7WNH.cjs +1 -0
- package/dist/chunk-5QLKLUZU.js +2 -0
- package/dist/{chunk-B73VFZGJ.js → chunk-AWSJDBQH.js} +1 -1
- package/dist/{chunk-3N4JOIUF.cjs → chunk-BCFYKKRU.cjs} +3 -3
- package/dist/{chunk-O7EFQP7P.cjs → chunk-BYASTYEI.cjs} +1 -1
- package/dist/{chunk-UKRZ6DPJ.js → chunk-DJUNEWZ7.js} +1 -1
- package/dist/{chunk-XGNMO7EU.js → chunk-MQI5GFGF.js} +2 -2
- package/dist/{chunk-WLUJBM5E.js → chunk-N4FHPR6Q.js} +1 -1
- package/dist/{chunk-ZSIYWIN2.cjs → chunk-NYQHJWTA.cjs} +1 -1
- package/dist/{chunk-DKEBQF5G.cjs → chunk-OVXGAHLE.cjs} +1 -1
- package/dist/{chunk-4MMZH6H4.cjs → chunk-PP2Z6HI3.cjs} +1 -1
- package/dist/{chunk-UZXPZDSS.js → chunk-S2FXUKQX.js} +3 -3
- package/dist/{chunk-MABGUDH4.js → chunk-WMOJ5WXH.js} +1 -1
- package/dist/{chunk-BJCZ62IT.js → chunk-XYUF3GPH.js} +1 -1
- package/dist/{chunk-ZPZAKENT.cjs → chunk-YV2EYDJK.cjs} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/fixtures.cjs +13 -3
- package/dist/fixtures.d.cts +3 -2
- package/dist/fixtures.d.ts +3 -2
- package/dist/fixtures.js +11 -2
- package/dist/{index-CzTuVTTj.d.cts → index-DSqYDAbI.d.cts} +1 -1
- package/dist/{index-DkZBPwMK.d.ts → index-Dwb73uSE.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +2 -7
- package/dist/tailwind/plugin.d.ts +2 -7
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +5 -2
- package/dist/tailwind/utils.d.ts +5 -2
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-DHi8fUQQ.d.cts → types-B4Hts0Xm.d.cts} +1981 -1982
- package/dist/{types-CCP4BG97.d.ts → types-B4Hts0Xm.d.ts} +5 -6
- package/dist/types-BvOFo15W.d.cts +8 -0
- package/dist/types-BvOFo15W.d.ts +8 -0
- package/package.json +1 -1
- package/dist/Input-DFCQ2u9B.d.ts +0 -42
- package/dist/Input-Fjl8GOP_.d.cts +0 -42
- package/dist/Pressable-DexnJ2tl.d.ts +0 -44
- package/dist/Pressable-fG9Ir9i4.d.cts +0 -44
- package/dist/VStack-CKzXuoDu.d.cts +0 -112
- package/dist/VStack-DTzXc5Gu.d.ts +0 -112
- package/dist/chunk-3AGA62FV.js +0 -3
- package/dist/chunk-7CV7WF6H.cjs +0 -2
- package/dist/chunk-DEQ37TRE.js +0 -1
- package/dist/chunk-FIK5E5XF.cjs +0 -1
- package/dist/chunk-FIY4G5A4.cjs +0 -1
- package/dist/chunk-IVLA3HPE.js +0 -1
- package/dist/chunk-KS3DH3LU.js +0 -2
- package/dist/chunk-L2LMAKRB.js +0 -2
- package/dist/chunk-OJT5LTIJ.cjs +0 -2
- package/dist/chunk-PUOU55IC.cjs +0 -2
- package/dist/chunk-RYT7E6ME.js +0 -3
- package/dist/chunk-SYYG6CQE.js +0 -2
- package/dist/chunk-UONN6ZKS.cjs +0 -1
- package/dist/chunk-WNGG5RTE.cjs +0 -3
- package/dist/index-6XSLBu2d.d.cts +0 -243
- package/dist/index-BVQM-l4R.d.ts +0 -243
- package/dist/types-CCP4BG97.d.cts +0 -10450
- package/dist/types-DHi8fUQQ.d.ts +0 -10450
@@ -0,0 +1,17 @@
|
|
1
|
+
import { Button, HStack, IconButton } from '@yahoo/uds';
|
2
|
+
import { Cross } from '@yahoo/uds-icons';
|
3
|
+
|
4
|
+
export const PageA = () => {
|
5
|
+
return (
|
6
|
+
<HStack>
|
7
|
+
<Button variant="brand-secondary">Click me</Button><IconButton name={Cross} />
|
8
|
+
<Button variant="primary">Click me</Button><IconButton name={Cross} variant="primary" />
|
9
|
+
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="brand" />
|
10
|
+
<Button variant="warning-tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
11
|
+
<Button>Click me</Button><IconButton name={Cross} />
|
12
|
+
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
13
|
+
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="secondary" />
|
14
|
+
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="tertiary" />
|
15
|
+
</HStack>
|
16
|
+
);
|
17
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { U as UniversalInputProps } from './types-
|
2
|
+
import { U as UniversalInputProps } from './types-B4Hts0Xm.js';
|
3
3
|
import { HTMLMotionProps } from 'motion/react';
|
4
4
|
|
5
5
|
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { U as UniversalInputProps } from './types-
|
2
|
+
import { U as UniversalInputProps } from './types-B4Hts0Xm.cjs';
|
3
3
|
import { HTMLMotionProps } from 'motion/react';
|
4
4
|
|
5
5
|
type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { a as UniversalPressableProps } from './types-
|
2
|
+
import { a as UniversalPressableProps } from './types-B4Hts0Xm.js';
|
3
3
|
|
4
4
|
type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
|
5
5
|
interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { a as UniversalPressableProps } from './types-
|
2
|
+
import { a as UniversalPressableProps } from './types-B4Hts0Xm.cjs';
|
3
3
|
|
4
4
|
type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
|
5
5
|
interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-
|
2
|
+
import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-B4Hts0Xm.js';
|
3
3
|
|
4
4
|
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
5
5
|
interface BoxProps extends UniversalBoxProps, DivProps {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as react from 'react';
|
2
|
-
import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-
|
2
|
+
import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-B4Hts0Xm.cjs';
|
3
3
|
|
4
4
|
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
5
5
|
interface BoxProps extends UniversalBoxProps, DivProps {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var o="uds",t=`${o}-avatar-size`,e=`${o}-border-radius`,s=`${o}-border-width`,r=`${o}-font`,_=`${o}-font-size`,n=`${o}-font-weight`,E=`${o}-font-slant`,d=`${o}-font-width`,i=`${o}-icon-size`,S=`${o}-line-height`,
|
1
|
+
"use strict";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var o="uds",t=`${o}-avatar-size`,e=`${o}-border-radius`,s=`${o}-border-width`,r=`${o}-font`,_=`${o}-font-size`,n=`${o}-font-weight`,E=`${o}-font-slant`,d=`${o}-font-width`,i=`${o}-icon-size`,S=`${o}-line-height`,a=`${o}-motion`,A=`${o}-spectrum-color`,l=`${o}-text-transform`,$=`${o}-color-mode-dark`,p=`${o}-color-mode-light`,b=`${o}-scale-mode-xsmall`,x=`${o}-scale-mode-small`,L=`${o}-scale-mode-medium`,c=`${o}-scale-mode-large`,u=`${o}-scale-mode-xlarge`,R=`${o}-scale-mode-xxlarge`,O=`${o}-scale-mode-xxxlarge`,M=p,C=c,f={borderRadius:`--${o}-button-border-radius`,borderWidth:`--${o}-button-border-width`,color:`--${o}-button-color`,backgroundColor:`--${o}-button-background-color`,borderColor:`--${o}-button-border-color`,padding:`--${o}-button-padding`,columnGap:`--${o}-button-gap`,fontFamily:`--${o}-button-font`,fontWeight:`--${o}-button-font-weight`,fontWidth:`--${o}-button-font-width`,fontSlant:`--${o}-button-font-slant`,fontSize:`--${o}-button-font-size`,lineHeight:`--${o}-button-line-height`,textTransform:`--${o}-button-text-transform`,iconSize:`--${o}-button-icon-size`,dropShadow:`--${o}-button-shadow`,insetShadow:`--${o}-button-inset-shadow`,effects:{scale:{rest:`--${o}-button-effects-scale--rest`,hover:`--${o}-button-effects-scale--hover`,pressed:`--${o}-button-effects-scale--pressed`}}},I={padding:`--${o}-icon-button-padding`,iconSize:`--${o}-icon-button-icon-size`};exports.AVATAR_SIZE_PREFIX=t,exports.BORDER_RADIUS_PREFIX=e,exports.BORDER_WIDTH_PREFIX=s,exports.BUTTON_CSS_VAR_MAP=f,exports.DARK_COLOR_MODE_CLASSNAME=$,exports.DEFAULT_COLOR_MODE_CLASSNAME=M,exports.DEFAULT_SCALE_MODE_CLASSNAME=C,exports.FONT_FAMILY_PREFIX=r,exports.FONT_SIZE_PREFIX=_,exports.FONT_SLANT_PREFIX=E,exports.FONT_WEIGHT_PREFIX=n,exports.FONT_WIDTH_PREFIX=d,exports.ICON_BUTTON_CSS_VAR_MAP=I,exports.ICON_SIZE_PREFIX=i,exports.LARGE_SCALE_MODE_CLASSNAME=c,exports.LIGHT_COLOR_MODE_CLASSNAME=p,exports.LINE_HEIGHT_PREFIX=S,exports.MEDIUM_SCALE_MODE_CLASSNAME=L,exports.MOTION_PREFIX=a,exports.PSEUDO_STYLE_SELECTOR_MAP={hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",disabled:":has(:disabled)",focused:":focus-visible",focusedWithin:":has(:focus-visible)",notDisabled:":not(:has(:disabled))"},exports.SMALL_SCALE_MODE_CLASSNAME=x,exports.SPECTRUM_COLOR_PREFIX=A,exports.TEXT_RESPONSIVE_CLASSNAME="uds-text-responsive",exports.TEXT_TRANSFORM_PREFIX=l,exports.UDS_PREFIX=o,exports.XLARGE_SCALE_MODE_CLASSNAME=u,exports.XSMALL_SCALE_MODE_CLASSNAME=b,exports.XXLARGE_SCALE_MODE_CLASSNAME=R,exports.XXXLARGE_SCALE_MODE_CLASSNAME=O;
|