@yahoo/uds 3.53.0 → 3.54.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/utils/configWorker.ts +2 -7
 - package/dist/{Box-UFimrc8A.d.cts → Box-BrCNYpJf.d.cts} +1 -1
 - package/dist/{Box-BTypshx6.d.ts → Box-CZiBJY-U.d.ts} +1 -1
 - package/dist/{Box-CBmDMJqu.d.ts → Box-DvNI3HDT.d.ts} +1 -1
 - package/dist/{Box-Fp6C8p0o.d.cts → Box-L9TrtxY6.d.cts} +1 -1
 - package/dist/{Pressable-BkG5JEtl.d.cts → Pressable-Bzvs31vV.d.cts} +1 -1
 - package/dist/{Pressable-DKQvrcC0.d.ts → Pressable-C_cD8YqL.d.ts} +1 -1
 - package/dist/{Pressable-CfDFSCDf.d.cts → Pressable-CpTWnaJC.d.cts} +1 -1
 - package/dist/{Pressable-DjIXR0Fy.d.ts → Pressable-CrGdyngS.d.ts} +1 -1
 - package/dist/{Text-CiP8Me3d.d.cts → Text-CTWa1DHn.d.cts} +1 -1
 - package/dist/{Text-CtmIdGJm.d.cts → Text-CpFNy7i9.d.cts} +1 -1
 - package/dist/{Text-DyzX3P8H.d.ts → Text-DxibXWon.d.ts} +1 -1
 - package/dist/{Text-f-wnu9Eq.d.ts → Text-cfrk-aSz.d.ts} +1 -1
 - package/dist/{VStack-BmvkK46o.d.ts → VStack-APl_ya0J.d.ts} +2 -2
 - package/dist/{VStack-4RUygAt3.d.cts → VStack-BZA9jJeV.d.cts} +2 -2
 - package/dist/{VStack-D0A-vg14.d.ts → VStack-CITd7-eN.d.ts} +2 -2
 - package/dist/{VStack-c0PLMC6X.d.cts → VStack-DasFpGHh.d.cts} +2 -2
 - package/dist/chunk-RKYTJ6XJ.js +2 -0
 - package/dist/chunk-RRXNQVLV.cjs +1 -0
 - package/dist/client/Menu.d.cts +4 -4
 - package/dist/client/Menu.d.ts +4 -4
 - package/dist/client/index.d.cts +4 -4
 - package/dist/client/index.d.ts +4 -4
 - package/dist/defaultTokensConfig.cjs +1 -1
 - package/dist/defaultTokensConfig.d.cts +2 -2
 - package/dist/defaultTokensConfig.d.ts +2 -2
 - package/dist/defaultTokensConfig.js +1 -1
 - package/dist/experimental/client/SwitchV2.cjs +0 -1
 - package/dist/experimental/client/SwitchV2.d.cts +1 -1
 - package/dist/experimental/client/SwitchV2.d.ts +1 -1
 - package/dist/experimental/client/SwitchV2.js +0 -1
 - package/dist/fixtures.cjs +2 -344
 - package/dist/fixtures.d.cts +1 -19
 - package/dist/fixtures.d.ts +1 -19
 - package/dist/fixtures.js +1 -341
 - package/dist/{index-CynzbL1I.d.ts → index-Bj4zcQ8D.d.ts} +1 -1
 - package/dist/{index-x2kCLG17.d.ts → index-DvgJJnbq.d.ts} +1 -1
 - package/dist/{index-C8Il81Uq.d.cts → index-fOaETFpl.d.cts} +1 -1
 - package/dist/{index-CZdNenSe.d.cts → index-jFh7u5rS.d.cts} +1 -1
 - package/dist/index.d.cts +7 -7
 - package/dist/index.d.ts +7 -7
 - package/dist/metafile-cjs.json +1 -1
 - package/dist/metafile-esm.json +1 -1
 - package/dist/tailwind/plugin.cjs +1 -1
 - package/dist/tailwind/plugin.d.cts +1 -1
 - package/dist/tailwind/plugin.d.ts +1 -1
 - package/dist/tailwind/plugin.js +1 -1
 - package/dist/tailwind/utils.d.cts +1 -1
 - package/dist/tailwind/utils.d.ts +1 -1
 - package/dist/tokens/automation/configs.d.cts +2 -2
 - package/dist/tokens/automation/configs.d.ts +2 -2
 - package/dist/tokens/automation/properties.d.cts +2 -2
 - package/dist/tokens/automation/properties.d.ts +2 -2
 - package/dist/tokens/index.d.cts +4 -4
 - package/dist/tokens/index.d.ts +4 -4
 - package/dist/tokens/parseTokens.cjs +1 -1
 - package/dist/tokens/parseTokens.d.cts +7 -19
 - package/dist/tokens/parseTokens.d.ts +7 -19
 - package/dist/tokens/parseTokens.js +1 -1
 - package/dist/{types-D4nxp5eC.d.cts → types-BAsHl1tU.d.cts} +0 -7
 - package/dist/{types-D4nxp5eC.d.ts → types-BAsHl1tU.d.ts} +0 -7
 - package/dist/{types-DCAXTOkZ.d.cts → types-CRqbgWm9.d.cts} +0 -7
 - package/dist/{types-DCAXTOkZ.d.ts → types-CRqbgWm9.d.ts} +0 -7
 - package/package.json +1 -1
 - package/cli/FlattenButtonVariant.mock.tsx +0 -17
 - package/dist/chunk-F43AI46P.cjs +0 -1
 - package/dist/chunk-MLPUM5T5.js +0 -2
 
| 
         @@ -31,8 +31,8 @@ if (process.env.DATABASE === 'local') { 
     | 
|
| 
       31 
31 
     | 
    
         
             
            }
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
            self.onmessage = async ({ data }: ConfigWorkerThreadMessageEvent) => {
         
     | 
| 
       34 
     | 
    
         
            -
              const { id 
     | 
| 
       35 
     | 
    
         
            -
              const FETCH_URL = `${CONFIG_ENDPOINT}?id=${id} 
     | 
| 
      
 34 
     | 
    
         
            +
              const { id } = data.resp;
         
     | 
| 
      
 35 
     | 
    
         
            +
              const FETCH_URL = `${CONFIG_ENDPOINT}?id=${id}`;
         
     | 
| 
       36 
36 
     | 
    
         
             
              if (data.type === 'init') {
         
     | 
| 
       37 
37 
     | 
    
         
             
                try {
         
     | 
| 
       38 
38 
     | 
    
         
             
                  console.log('Fetching from configurator...');
         
     | 
| 
         @@ -50,11 +50,6 @@ self.onmessage = async ({ data }: ConfigWorkerThreadMessageEvent) => { 
     | 
|
| 
       50 
50 
     | 
    
         
             
                      `);
         
     | 
| 
       51 
51 
     | 
    
         
             
                    }
         
     | 
| 
       52 
52 
     | 
    
         | 
| 
       53 
     | 
    
         
            -
                    // Needs upgrade
         
     | 
| 
       54 
     | 
    
         
            -
                    if (resp.status === 402) {
         
     | 
| 
       55 
     | 
    
         
            -
                      throw new Error('Please upgrade the npm package @yahoo/uds to the latest version.');
         
     | 
| 
       56 
     | 
    
         
            -
                    }
         
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
53 
     | 
    
         
             
                    throw new Error(`Error fetching config id '${id}'. Does it exist in the Configurator?`);
         
     | 
| 
       59 
54 
     | 
    
         
             
                  }
         
     | 
| 
       60 
55 
     | 
    
         | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
     | 
    
         
            -
            import { b as UniversalBoxProps } from './types- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { b as UniversalBoxProps } from './types-CRqbgWm9.cjs';
         
     | 
| 
       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 { b as UniversalBoxProps } from './types- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { b as UniversalBoxProps } from './types-BAsHl1tU.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 { b as UniversalBoxProps } from './types- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { b as UniversalBoxProps } from './types-CRqbgWm9.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 { b as UniversalBoxProps } from './types- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { b as UniversalBoxProps } from './types-BAsHl1tU.cjs';
         
     | 
| 
       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 { a as UniversalPressableProps } from './types- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { a as UniversalPressableProps } from './types-BAsHl1tU.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 { a as UniversalPressableProps } from './types- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { a as UniversalPressableProps } from './types-CRqbgWm9.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-CRqbgWm9.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 { a as UniversalPressableProps } from './types- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { a as UniversalPressableProps } from './types-BAsHl1tU.js';
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
         
     | 
| 
       5 
5 
     | 
    
         
             
            interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { Ref } from 'react';
         
     | 
| 
       3 
     | 
    
         
            -
            import { U as UniversalTextProps } from './types- 
     | 
| 
      
 3 
     | 
    
         
            +
            import { U as UniversalTextProps } from './types-BAsHl1tU.cjs';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
         
     | 
| 
       6 
6 
     | 
    
         
             
            type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { Ref } from 'react';
         
     | 
| 
       3 
     | 
    
         
            -
            import { U as UniversalTextProps } from './types- 
     | 
| 
      
 3 
     | 
    
         
            +
            import { U as UniversalTextProps } from './types-CRqbgWm9.cjs';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
         
     | 
| 
       6 
6 
     | 
    
         
             
            type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { Ref } from 'react';
         
     | 
| 
       3 
     | 
    
         
            -
            import { U as UniversalTextProps } from './types- 
     | 
| 
      
 3 
     | 
    
         
            +
            import { U as UniversalTextProps } from './types-CRqbgWm9.js';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
         
     | 
| 
       6 
6 
     | 
    
         
             
            type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { Ref } from 'react';
         
     | 
| 
       3 
     | 
    
         
            -
            import { U as UniversalTextProps } from './types- 
     | 
| 
      
 3 
     | 
    
         
            +
            import { U as UniversalTextProps } from './types-BAsHl1tU.js';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
         
     | 
| 
       6 
6 
     | 
    
         
             
            type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
     | 
    
         
            -
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types- 
     | 
| 
       3 
     | 
    
         
            -
            import { B as BoxProps, D as DivProps } from './Box- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types-BAsHl1tU.js';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { B as BoxProps, D as DivProps } from './Box-CZiBJY-U.js';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
         
     | 
| 
       6 
6 
     | 
    
         
             
                layerClassNames?: {
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
     | 
    
         
            -
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types- 
     | 
| 
       3 
     | 
    
         
            -
            import { B as BoxProps, D as DivProps } from './Box- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types-CRqbgWm9.cjs';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { B as BoxProps, D as DivProps } from './Box-BrCNYpJf.cjs';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
         
     | 
| 
       6 
6 
     | 
    
         
             
                layerClassNames?: {
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
     | 
    
         
            -
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types- 
     | 
| 
       3 
     | 
    
         
            -
            import { B as BoxProps, D as DivProps } from './Box- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types-CRqbgWm9.js';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { B as BoxProps, D as DivProps } from './Box-DvNI3HDT.js';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
         
     | 
| 
       6 
6 
     | 
    
         
             
                layerClassNames?: {
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
     | 
    
         
            -
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types- 
     | 
| 
       3 
     | 
    
         
            -
            import { B as BoxProps, D as DivProps } from './Box- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { n as UniversalStackProps, o as UniversalDividerProps } from './types-BAsHl1tU.cjs';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { B as BoxProps, D as DivProps } from './Box-L9TrtxY6.cjs';
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
         
     | 
| 
       6 
6 
     | 
    
         
             
                layerClassNames?: {
         
     | 
| 
         @@ -0,0 +1,2 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import{mapValues as r,entries as t}from"./chunk-EWJ3J526.js";import{SPECTRUM_COLOR_PREFIX as o,UDS_PREFIX as e,ICON_SIZE_PREFIX as a,AVATAR_SIZE_PREFIX as n,BORDER_WIDTH_PREFIX as c,BORDER_RADIUS_PREFIX as i}from"./chunk-PM4TFP3I.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
         
     | 
| 
      
 2 
     | 
    
         
            +
            function s(r){const{palette:a,spectrum:n}=r,c={},i={spectrum:{},palette:{}};for(const[r,e]of t(n))for(const[a,n]of t(e)){const t=`--${o}-${`${r}-${a}`}`;i.spectrum[r]||(i.spectrum[r]={}),i.spectrum[r][a]=`rgb(var(${t}))`,c[t]=n}return t(a).forEach(([r,t])=>{for(const[a,{hue:n,step:s,opacity:f}]of Object.entries(t)){r in i.palette||(i.palette[r]={});const t=`--${e}-${r}-color-${a}`;c[t]=`var(--${o}-${n}-${s})`,i.palette[r][a]=f?`rgb(var(${t}) / ${f})`:`rgb(var(${t}))`}}),{_vars:c,_raw:r,tailwindConfig:i}}function f(r,o){if(!o)return{_vars:{},_raw:{},tailwindConfig:{}};const e={},a={};for(const[n,c]of t(o)){const t=`--${r}-${n}`,o=`${c}px`;e[t]=o,a[n]=`var(${t})`}return{_vars:e,_raw:o,tailwindConfig:a}}function $(t){const{colorMode:o,scaleMode:e}=t;return{...t,colorMode:{light:s(o.light),dark:s(o.dark)},scaleMode:r(e,({borderRadius:r,borderWidth:t,avatarSizes:o,iconSizes:e})=>({borderRadius:f(i,r),borderWidth:f(c,t),avatarSizes:f(n,o),iconSizes:f(a,e)}))}}export{$ as parseTokens};
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";var r=require("./chunk-J7PUOUXC.cjs"),e=require("./chunk-LNZSNDOV.cjs");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t(t){const{palette:o,spectrum:s}=t,a={},n={spectrum:{},palette:{}};for(const[t,o]of r.entries(s))for(const[s,i]of r.entries(o)){const r=`${t}-${s}`,o=`--${e.SPECTRUM_COLOR_PREFIX}-${r}`;n.spectrum[t]||(n.spectrum[t]={}),n.spectrum[t][s]=`rgb(var(${o}))`,a[o]=i}return r.entries(o).forEach(([r,t])=>{for(const[o,{hue:s,step:i,opacity:c}]of Object.entries(t)){r in n.palette||(n.palette[r]={});const t=`--${e.UDS_PREFIX}-${r}-color-${o}`;a[t]=`var(--${e.SPECTRUM_COLOR_PREFIX}-${s}-${i})`,n.palette[r][o]=c?`rgb(var(${t}) / ${c})`:`rgb(var(${t}))`}}),{_vars:a,_raw:t,tailwindConfig:n}}function o(e,t){if(!t)return{_vars:{},_raw:{},tailwindConfig:{}};const o={},s={};for(const[a,n]of r.entries(t)){const r=`--${e}-${a}`,t=`${n}px`;o[r]=t,s[a]=`var(${r})`}return{_vars:o,_raw:t,tailwindConfig:s}}exports.parseTokens=function(s){const{colorMode:a,scaleMode:n}=s;return{...s,colorMode:{light:t(a.light),dark:t(a.dark)},scaleMode:r.mapValues(n,({borderRadius:r,borderWidth:t,avatarSizes:s,iconSizes:a})=>({borderRadius:o(e.BORDER_RADIUS_PREFIX,r),borderWidth:o(e.BORDER_WIDTH_PREFIX,t),avatarSizes:o(e.AVATAR_SIZE_PREFIX,s),iconSizes:o(e.ICON_SIZE_PREFIX,a)}))}};
         
     | 
    
        package/dist/client/Menu.d.cts
    CHANGED
    
    | 
         @@ -1,11 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { AriaRole, HTMLAttributes, PropsWithChildren } from 'react';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { MenuProps, MenuItemProps as MenuItemProps$1, MenuItemCheckboxProps as MenuItemCheckboxProps$1, MenuProviderProps as MenuProviderProps$1, MenuButtonProps, useMenuContext, useMenuStore } from '@ariakit/react/menu';
         
     | 
| 
       4 
     | 
    
         
            -
            import { u as SpacingAlias, v as UniversalMenuItemProps } from '../types- 
     | 
| 
       5 
     | 
    
         
            -
            import { V as VStackProps, D as DividerProps } from '../VStack- 
     | 
| 
       6 
     | 
    
         
            -
            import { P as PressableProps } from '../Pressable- 
     | 
| 
      
 4 
     | 
    
         
            +
            import { u as SpacingAlias, v as UniversalMenuItemProps } from '../types-CRqbgWm9.cjs';
         
     | 
| 
      
 5 
     | 
    
         
            +
            import { V as VStackProps, D as DividerProps } from '../VStack-BZA9jJeV.cjs';
         
     | 
| 
      
 6 
     | 
    
         
            +
            import { P as PressableProps } from '../Pressable-CpTWnaJC.cjs';
         
     | 
| 
       7 
7 
     | 
    
         
             
            import * as react_jsx_runtime from 'react/jsx-runtime';
         
     | 
| 
       8 
     | 
    
         
            -
            import { B as BoxProps } from '../Box- 
     | 
| 
      
 8 
     | 
    
         
            +
            import { B as BoxProps } from '../Box-BrCNYpJf.cjs';
         
     | 
| 
       9 
9 
     | 
    
         
             
            import { useStoreState } from '@ariakit/react';
         
     | 
| 
       10 
10 
     | 
    
         
             
            import '@yahoo/uds-icons/types';
         
     | 
| 
       11 
11 
     | 
    
         
             
            import 'motion/react';
         
     | 
    
        package/dist/client/Menu.d.ts
    CHANGED
    
    | 
         @@ -1,11 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       2 
2 
     | 
    
         
             
            import { AriaRole, HTMLAttributes, PropsWithChildren } from 'react';
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { MenuProps, MenuItemProps as MenuItemProps$1, MenuItemCheckboxProps as MenuItemCheckboxProps$1, MenuProviderProps as MenuProviderProps$1, MenuButtonProps, useMenuContext, useMenuStore } from '@ariakit/react/menu';
         
     | 
| 
       4 
     | 
    
         
            -
            import { u as SpacingAlias, v as UniversalMenuItemProps } from '../types- 
     | 
| 
       5 
     | 
    
         
            -
            import { V as VStackProps, D as DividerProps } from '../VStack- 
     | 
| 
       6 
     | 
    
         
            -
            import { P as PressableProps } from '../Pressable- 
     | 
| 
      
 4 
     | 
    
         
            +
            import { u as SpacingAlias, v as UniversalMenuItemProps } from '../types-CRqbgWm9.js';
         
     | 
| 
      
 5 
     | 
    
         
            +
            import { V as VStackProps, D as DividerProps } from '../VStack-CITd7-eN.js';
         
     | 
| 
      
 6 
     | 
    
         
            +
            import { P as PressableProps } from '../Pressable-C_cD8YqL.js';
         
     | 
| 
       7 
7 
     | 
    
         
             
            import * as react_jsx_runtime from 'react/jsx-runtime';
         
     | 
| 
       8 
     | 
    
         
            -
            import { B as BoxProps } from '../Box- 
     | 
| 
      
 8 
     | 
    
         
            +
            import { B as BoxProps } from '../Box-DvNI3HDT.js';
         
     | 
| 
       9 
9 
     | 
    
         
             
            import { useStoreState } from '@ariakit/react';
         
     | 
| 
       10 
10 
     | 
    
         
             
            import '@yahoo/uds-icons/types';
         
     | 
| 
       11 
11 
     | 
    
         
             
            import 'motion/react';
         
     | 
    
        package/dist/client/index.d.cts
    CHANGED
    
    | 
         @@ -1,11 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react_jsx_runtime from 'react/jsx-runtime';
         
     | 
| 
       2 
     | 
    
         
            -
            import { cX as UniversalAvatarIconProps, x as IconPropsWithSVGProps, c_ as UniversalAvatarTextProps, cY as UniversalAvatarImageProps, y as ImagePropsWithImgProps, c$ as UniversalBadgeProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d6 as UniversalChipProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d7 as UniversalChipToggleProps, d8 as UniversalIconButtonProps, dc as UniversalInputProps, da as UniversalIconSlot, de as UniversalRadioProps, dd as UniversalRadioGroupProps, b$ as MotionVariant, c0 as MotionVariantSpeed, c as UniversalSwitchProps } from '../types- 
     | 
| 
       3 
     | 
    
         
            -
            import { a as TextProps } from '../Text- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { cX as UniversalAvatarIconProps, x as IconPropsWithSVGProps, c_ as UniversalAvatarTextProps, cY as UniversalAvatarImageProps, y as ImagePropsWithImgProps, c$ as UniversalBadgeProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d6 as UniversalChipProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d7 as UniversalChipToggleProps, d8 as UniversalIconButtonProps, dc as UniversalInputProps, da as UniversalIconSlot, de as UniversalRadioProps, dd as UniversalRadioGroupProps, b$ as MotionVariant, c0 as MotionVariantSpeed, c as UniversalSwitchProps } from '../types-CRqbgWm9.cjs';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { a as TextProps } from '../Text-CpFNy7i9.cjs';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       5 
5 
     | 
    
         
             
            import react__default, { ForwardRefExoticComponent, InputHTMLAttributes, PropsWithChildren } from 'react';
         
     | 
| 
       6 
6 
     | 
    
         
             
            import { HTMLMotionProps, MotionConfigProps, LazyFeatureBundle } from 'motion/react';
         
     | 
| 
       7 
     | 
    
         
            -
            import { B as BoxProps } from '../Box- 
     | 
| 
       8 
     | 
    
         
            -
            export { a as Pressable, P as PressableProps } from '../Pressable- 
     | 
| 
      
 7 
     | 
    
         
            +
            import { B as BoxProps } from '../Box-BrCNYpJf.cjs';
         
     | 
| 
      
 8 
     | 
    
         
            +
            export { a as Pressable, P as PressableProps } from '../Pressable-CpTWnaJC.cjs';
         
     | 
| 
       9 
9 
     | 
    
         
             
            export { Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps } from '@yahoo/uds/client/Menu';
         
     | 
| 
       10 
10 
     | 
    
         
             
            import '@yahoo/uds-icons/types';
         
     | 
| 
       11 
11 
     | 
    
         
             
            import 'type-fest';
         
     | 
    
        package/dist/client/index.d.ts
    CHANGED
    
    | 
         @@ -1,11 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import * as react_jsx_runtime from 'react/jsx-runtime';
         
     | 
| 
       2 
     | 
    
         
            -
            import { cX as UniversalAvatarIconProps, x as IconPropsWithSVGProps, c_ as UniversalAvatarTextProps, cY as UniversalAvatarImageProps, y as ImagePropsWithImgProps, c$ as UniversalBadgeProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d6 as UniversalChipProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d7 as UniversalChipToggleProps, d8 as UniversalIconButtonProps, dc as UniversalInputProps, da as UniversalIconSlot, de as UniversalRadioProps, dd as UniversalRadioGroupProps, b$ as MotionVariant, c0 as MotionVariantSpeed, c as UniversalSwitchProps } from '../types- 
     | 
| 
       3 
     | 
    
         
            -
            import { a as TextProps } from '../Text- 
     | 
| 
      
 2 
     | 
    
         
            +
            import { cX as UniversalAvatarIconProps, x as IconPropsWithSVGProps, c_ as UniversalAvatarTextProps, cY as UniversalAvatarImageProps, y as ImagePropsWithImgProps, c$ as UniversalBadgeProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d6 as UniversalChipProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d7 as UniversalChipToggleProps, d8 as UniversalIconButtonProps, dc as UniversalInputProps, da as UniversalIconSlot, de as UniversalRadioProps, dd as UniversalRadioGroupProps, b$ as MotionVariant, c0 as MotionVariantSpeed, c as UniversalSwitchProps } from '../types-CRqbgWm9.js';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { a as TextProps } from '../Text-DxibXWon.js';
         
     | 
| 
       4 
4 
     | 
    
         
             
            import * as react from 'react';
         
     | 
| 
       5 
5 
     | 
    
         
             
            import react__default, { ForwardRefExoticComponent, InputHTMLAttributes, PropsWithChildren } from 'react';
         
     | 
| 
       6 
6 
     | 
    
         
             
            import { HTMLMotionProps, MotionConfigProps, LazyFeatureBundle } from 'motion/react';
         
     | 
| 
       7 
     | 
    
         
            -
            import { B as BoxProps } from '../Box- 
     | 
| 
       8 
     | 
    
         
            -
            export { a as Pressable, P as PressableProps } from '../Pressable- 
     | 
| 
      
 7 
     | 
    
         
            +
            import { B as BoxProps } from '../Box-DvNI3HDT.js';
         
     | 
| 
      
 8 
     | 
    
         
            +
            export { a as Pressable, P as PressableProps } from '../Pressable-C_cD8YqL.js';
         
     | 
| 
       9 
9 
     | 
    
         
             
            export { Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps } from '@yahoo/uds/client/Menu';
         
     | 
| 
       10 
10 
     | 
    
         
             
            import '@yahoo/uds-icons/types';
         
     | 
| 
       11 
11 
     | 
    
         
             
            import 'type-fest';
         
     |