@yahoo/uds 3.163.2 → 3.165.0
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/cli/commands/sync.cjs +8 -0
- package/dist/cli/commands/sync.js +8 -0
- package/dist/components/client/Button/Button.cjs +5 -6
- package/dist/components/client/Button/Button.js +5 -6
- package/dist/components/client/Button/ButtonBase.cjs +4 -0
- package/dist/components/client/Button/ButtonBase.d.cts +2 -1
- package/dist/components/client/Button/ButtonBase.d.ts +2 -1
- package/dist/components/client/Button/ButtonBase.js +4 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.cjs +45 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.d.cts +33 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.d.ts +34 -0
- package/dist/components/client/Button/UDSButtonConfigProvider.js +42 -0
- package/dist/components/client/Button/buttonConstants.cjs +1 -1
- package/dist/components/client/Button/buttonConstants.d.cts +3 -3
- package/dist/components/client/Button/buttonConstants.d.ts +3 -3
- package/dist/components/client/Button/buttonConstants.js +1 -1
- package/dist/components/client/Button/index.cjs +3 -0
- package/dist/components/client/Button/index.d.cts +2 -1
- package/dist/components/client/Button/index.d.ts +2 -1
- package/dist/components/client/Button/index.js +2 -1
- package/dist/components/client/IconButton/IconButton.cjs +3 -4
- package/dist/components/client/IconButton/IconButton.js +3 -4
- package/dist/components/client/IconButton/IconButtonBase.cjs +3 -0
- package/dist/components/client/IconButton/IconButtonBase.d.cts +2 -0
- package/dist/components/client/IconButton/IconButtonBase.d.ts +2 -0
- package/dist/components/client/IconButton/IconButtonBase.js +3 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.cjs +46 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.d.cts +34 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.d.ts +35 -0
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.js +43 -0
- package/dist/components/client/IconButton/index.cjs +3 -0
- package/dist/components/client/IconButton/index.d.cts +2 -1
- package/dist/components/client/IconButton/index.d.ts +2 -1
- package/dist/components/client/IconButton/index.js +2 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +1 -1
- package/dist/components/client/index.cjs +6 -0
- package/dist/components/client/index.d.cts +3 -1
- package/dist/components/client/index.d.ts +3 -1
- package/dist/components/client/index.js +3 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +18 -10
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -0
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -0
- package/dist/components/client/providers/UDSConfigProvider.js +18 -10
- package/dist/components/index.cjs +6 -0
- package/dist/components/index.d.cts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +3 -1
- package/dist/config/dist/index.cjs +51 -141
- package/dist/config/dist/index.js +51 -141
- package/dist/css/dist/css/utils.cjs +12 -0
- package/dist/css/dist/css/utils.js +12 -0
- package/dist/css/dist/packages/config/dist/index.cjs +51 -141
- package/dist/css/dist/packages/config/dist/index.js +51 -141
- package/dist/css/dist/runtimeConfig/hookMetadata.cjs +67 -0
- package/dist/css/dist/runtimeConfig/hookMetadata.js +67 -0
- package/dist/css-animation/Button/Button.cjs +5 -6
- package/dist/css-animation/Button/Button.js +5 -6
- package/dist/css-animation/IconButton/IconButton.cjs +3 -4
- package/dist/css-animation/IconButton/IconButton.js +3 -4
- package/dist/index.cjs +10 -0
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/runtime/buttonConfig.cjs +17 -0
- package/dist/runtime/buttonConfig.d.cts +13 -0
- package/dist/runtime/buttonConfig.d.ts +13 -0
- package/dist/runtime/buttonConfig.js +16 -0
- package/dist/runtime/iconButtonConfig.cjs +18 -0
- package/dist/runtime/iconButtonConfig.d.cts +13 -0
- package/dist/runtime/iconButtonConfig.d.ts +13 -0
- package/dist/runtime/iconButtonConfig.js +17 -0
- package/dist/runtime/index.cjs +4 -0
- package/dist/runtime/index.d.cts +3 -1
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.js +3 -1
- package/dist/runtime/udsConfig.cjs +4 -0
- package/dist/runtime/udsConfig.d.cts +4 -0
- package/dist/runtime/udsConfig.d.ts +4 -0
- package/dist/runtime/udsConfig.js +4 -0
- package/dist/styles/styler.d.cts +64 -64
- package/dist/styles/styler.d.ts +64 -64
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.cjs +6 -2
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.js +6 -2
- package/dist/tailwind-internal/dist/packages/config/dist/index.cjs +51 -141
- package/dist/tailwind-internal/dist/packages/config/dist/index.js +51 -141
- package/dist/tailwind-internal/dist/packages/types/dist/index.d.cts +1 -0
- package/dist/tailwind-internal/dist/packages/types/dist/index.d.ts +1 -0
- package/dist/types/dist/index.d.cts +1 -0
- package/dist/types/dist/index.d.ts +1 -0
- package/dist/uds/generated/componentData.cjs +156 -128
- package/dist/uds/generated/componentData.js +156 -128
- package/dist/uds/generated/migrationSchemaVersion.cjs +1 -1
- package/dist/uds/generated/migrationSchemaVersion.js +1 -1
- package/dist/uds/generated/tailwindPurge.cjs +9 -1
- package/dist/uds/generated/tailwindPurge.js +9 -1
- package/generated/componentData.json +201 -165
- package/generated/migrationSchemaVersion.ts +1 -1
- package/generated/tailwindPurge.ts +3 -3
- package/package.json +1 -1
|
@@ -14797,6 +14797,7 @@ const defaultTokensConfig = {
|
|
|
14797
14797
|
"serif-alt": "yahoo-serif-text"
|
|
14798
14798
|
},
|
|
14799
14799
|
globalDefaults: {
|
|
14800
|
+
applyDefaultBreakpointInCode: false,
|
|
14800
14801
|
breakpoint: "lg",
|
|
14801
14802
|
enableResponsiveType: true
|
|
14802
14803
|
},
|
|
@@ -14808,12 +14809,12 @@ const defaultTokensConfig = {
|
|
|
14808
14809
|
variables: {
|
|
14809
14810
|
"size/lg/icon": { size: { rest: {
|
|
14810
14811
|
type: "iconSizes",
|
|
14811
|
-
value: "
|
|
14812
|
+
value: "md",
|
|
14812
14813
|
valueType: "alias"
|
|
14813
14814
|
} } },
|
|
14814
14815
|
"size/lg/root": { spacing: { rest: {
|
|
14815
14816
|
type: "spacingAliases",
|
|
14816
|
-
value: "
|
|
14817
|
+
value: "3.5",
|
|
14817
14818
|
valueType: "alias"
|
|
14818
14819
|
} } },
|
|
14819
14820
|
"size/md/icon": { size: { rest: {
|
|
@@ -14853,7 +14854,7 @@ const defaultTokensConfig = {
|
|
|
14853
14854
|
} } },
|
|
14854
14855
|
"size/xs/root": { spacing: { rest: {
|
|
14855
14856
|
type: "spacingAliases",
|
|
14856
|
-
value: "
|
|
14857
|
+
value: "2",
|
|
14857
14858
|
valueType: "alias"
|
|
14858
14859
|
} } }
|
|
14859
14860
|
}
|
|
@@ -16520,16 +16521,28 @@ const defaultTokensConfig = {
|
|
|
16520
16521
|
valueType: "alias"
|
|
16521
16522
|
} } },
|
|
16522
16523
|
"size/default/root": {},
|
|
16523
|
-
"size/default/text": { textVariant: { rest: {
|
|
16524
|
-
type: "textVariants",
|
|
16525
|
-
value: "ui1",
|
|
16526
|
-
valueType: "alias"
|
|
16527
|
-
} } },
|
|
16528
16524
|
"size/default/startIcon": { size: { rest: {
|
|
16529
16525
|
type: "iconSizes",
|
|
16530
16526
|
value: "sm",
|
|
16531
16527
|
valueType: "alias"
|
|
16532
|
-
} } }
|
|
16528
|
+
} } },
|
|
16529
|
+
"size/default/text": { textVariant: {
|
|
16530
|
+
focused: {
|
|
16531
|
+
type: "textVariants",
|
|
16532
|
+
value: "ui1",
|
|
16533
|
+
valueType: "alias"
|
|
16534
|
+
},
|
|
16535
|
+
hover: {
|
|
16536
|
+
type: "textVariants",
|
|
16537
|
+
value: "ui1",
|
|
16538
|
+
valueType: "alias"
|
|
16539
|
+
},
|
|
16540
|
+
rest: {
|
|
16541
|
+
type: "textVariants",
|
|
16542
|
+
value: "ui1",
|
|
16543
|
+
valueType: "alias"
|
|
16544
|
+
}
|
|
16545
|
+
} }
|
|
16533
16546
|
}
|
|
16534
16547
|
},
|
|
16535
16548
|
modal: {
|
|
@@ -18652,110 +18665,7 @@ const defaultTokensConfig = {
|
|
|
18652
18665
|
size: "md",
|
|
18653
18666
|
variant: "default"
|
|
18654
18667
|
},
|
|
18655
|
-
variables: {
|
|
18656
|
-
"variant/default/endIcon": { color: {
|
|
18657
|
-
"focus-within": {
|
|
18658
|
-
isEnabled: true,
|
|
18659
|
-
type: "foregroundPaletteColors",
|
|
18660
|
-
value: "primary",
|
|
18661
|
-
valueType: "alias"
|
|
18662
|
-
},
|
|
18663
|
-
hover: {
|
|
18664
|
-
isEnabled: true,
|
|
18665
|
-
type: "foregroundPaletteColors",
|
|
18666
|
-
value: "primary",
|
|
18667
|
-
valueType: "alias"
|
|
18668
|
-
},
|
|
18669
|
-
invalid: {
|
|
18670
|
-
isEnabled: true,
|
|
18671
|
-
type: "foregroundPaletteColors",
|
|
18672
|
-
value: "alert",
|
|
18673
|
-
valueType: "alias"
|
|
18674
|
-
},
|
|
18675
|
-
"invalid&hover": {
|
|
18676
|
-
isEnabled: true,
|
|
18677
|
-
type: "foregroundPaletteColors",
|
|
18678
|
-
value: "alert",
|
|
18679
|
-
valueType: "alias"
|
|
18680
|
-
},
|
|
18681
|
-
"invalid&pressed": {
|
|
18682
|
-
isEnabled: true,
|
|
18683
|
-
type: "foregroundPaletteColors",
|
|
18684
|
-
value: "alert",
|
|
18685
|
-
valueType: "alias"
|
|
18686
|
-
},
|
|
18687
|
-
pressed: {
|
|
18688
|
-
type: "foregroundPaletteColors",
|
|
18689
|
-
value: "muted",
|
|
18690
|
-
valueType: "alias"
|
|
18691
|
-
},
|
|
18692
|
-
readonly: {
|
|
18693
|
-
type: "foregroundPaletteColors",
|
|
18694
|
-
value: "muted",
|
|
18695
|
-
valueType: "alias"
|
|
18696
|
-
},
|
|
18697
|
-
rest: {
|
|
18698
|
-
type: "foregroundPaletteColors",
|
|
18699
|
-
value: "muted",
|
|
18700
|
-
valueType: "alias"
|
|
18701
|
-
}
|
|
18702
|
-
} },
|
|
18703
|
-
"variant/default/root": {},
|
|
18704
|
-
"variant/default/startIcon": { color: {
|
|
18705
|
-
"focus-within": {
|
|
18706
|
-
isEnabled: true,
|
|
18707
|
-
type: "foregroundPaletteColors",
|
|
18708
|
-
value: "primary",
|
|
18709
|
-
valueType: "alias"
|
|
18710
|
-
},
|
|
18711
|
-
hover: {
|
|
18712
|
-
isEnabled: true,
|
|
18713
|
-
type: "foregroundPaletteColors",
|
|
18714
|
-
value: "primary",
|
|
18715
|
-
valueType: "alias"
|
|
18716
|
-
},
|
|
18717
|
-
invalid: {
|
|
18718
|
-
isEnabled: true,
|
|
18719
|
-
type: "foregroundPaletteColors",
|
|
18720
|
-
value: "alert",
|
|
18721
|
-
valueType: "alias"
|
|
18722
|
-
},
|
|
18723
|
-
"invalid&hover": {
|
|
18724
|
-
isEnabled: true,
|
|
18725
|
-
type: "foregroundPaletteColors",
|
|
18726
|
-
value: "alert",
|
|
18727
|
-
valueType: "alias"
|
|
18728
|
-
},
|
|
18729
|
-
"invalid&pressed": {
|
|
18730
|
-
isEnabled: true,
|
|
18731
|
-
type: "foregroundPaletteColors",
|
|
18732
|
-
value: "alert",
|
|
18733
|
-
valueType: "alias"
|
|
18734
|
-
},
|
|
18735
|
-
pressed: {
|
|
18736
|
-
isEnabled: true,
|
|
18737
|
-
type: "foregroundPaletteColors",
|
|
18738
|
-
value: "primary",
|
|
18739
|
-
valueType: "alias"
|
|
18740
|
-
},
|
|
18741
|
-
readonly: {
|
|
18742
|
-
type: "foregroundPaletteColors",
|
|
18743
|
-
value: "muted",
|
|
18744
|
-
valueType: "alias"
|
|
18745
|
-
},
|
|
18746
|
-
rest: {
|
|
18747
|
-
type: "foregroundPaletteColors",
|
|
18748
|
-
value: "muted",
|
|
18749
|
-
valueType: "alias"
|
|
18750
|
-
}
|
|
18751
|
-
} },
|
|
18752
|
-
"variant/default/value/empty/endIcon": { color: { pressed: {
|
|
18753
|
-
isEnabled: true,
|
|
18754
|
-
type: "foregroundPaletteColors",
|
|
18755
|
-
value: "primary",
|
|
18756
|
-
valueType: "alias"
|
|
18757
|
-
} } }
|
|
18758
|
-
}
|
|
18668
|
+
variables: { "variant/default/root": {} }
|
|
18759
18669
|
},
|
|
18760
18670
|
selectContent: {
|
|
18761
18671
|
defaults: {
|
|
@@ -18840,51 +18750,51 @@ const defaultTokensConfig = {
|
|
|
18840
18750
|
valueType: "alias"
|
|
18841
18751
|
} }
|
|
18842
18752
|
},
|
|
18843
|
-
"item/variant/default/active/off/
|
|
18753
|
+
"item/variant/default/active/off/icon": { color: {
|
|
18844
18754
|
focused: {
|
|
18845
|
-
type: "
|
|
18846
|
-
value: "
|
|
18755
|
+
type: "foregroundPaletteColors",
|
|
18756
|
+
value: "brand",
|
|
18847
18757
|
valueType: "alias"
|
|
18848
18758
|
},
|
|
18849
18759
|
hover: {
|
|
18850
|
-
type: "
|
|
18851
|
-
value: "
|
|
18760
|
+
type: "foregroundPaletteColors",
|
|
18761
|
+
value: "brand",
|
|
18852
18762
|
valueType: "alias"
|
|
18853
18763
|
},
|
|
18854
18764
|
pressed: {
|
|
18855
|
-
type: "
|
|
18856
|
-
value: "
|
|
18765
|
+
type: "foregroundPaletteColors",
|
|
18766
|
+
value: "brand",
|
|
18857
18767
|
valueType: "alias"
|
|
18858
18768
|
},
|
|
18859
18769
|
rest: {
|
|
18860
|
-
type: "
|
|
18861
|
-
value: "
|
|
18770
|
+
type: "foregroundPaletteColors",
|
|
18771
|
+
value: "secondary",
|
|
18862
18772
|
valueType: "alias"
|
|
18863
18773
|
}
|
|
18864
18774
|
} },
|
|
18865
|
-
"item/variant/default/active/off/
|
|
18775
|
+
"item/variant/default/active/off/root": { backgroundColor: {
|
|
18866
18776
|
focused: {
|
|
18867
|
-
type: "
|
|
18868
|
-
value: "
|
|
18777
|
+
type: "backgroundPaletteColors",
|
|
18778
|
+
value: "secondary",
|
|
18869
18779
|
valueType: "alias"
|
|
18870
18780
|
},
|
|
18871
18781
|
hover: {
|
|
18872
|
-
type: "
|
|
18873
|
-
value: "
|
|
18782
|
+
type: "backgroundPaletteColors",
|
|
18783
|
+
value: "secondary",
|
|
18874
18784
|
valueType: "alias"
|
|
18875
18785
|
},
|
|
18876
18786
|
pressed: {
|
|
18877
|
-
type: "
|
|
18878
|
-
value: "
|
|
18787
|
+
type: "backgroundPaletteColors",
|
|
18788
|
+
value: "secondary",
|
|
18879
18789
|
valueType: "alias"
|
|
18880
18790
|
},
|
|
18881
18791
|
rest: {
|
|
18882
|
-
type: "
|
|
18883
|
-
value: "
|
|
18792
|
+
type: "backgroundPaletteColors",
|
|
18793
|
+
value: "primary",
|
|
18884
18794
|
valueType: "alias"
|
|
18885
18795
|
}
|
|
18886
18796
|
} },
|
|
18887
|
-
"item/variant/default/active/off/
|
|
18797
|
+
"item/variant/default/active/off/text": { color: {
|
|
18888
18798
|
focused: {
|
|
18889
18799
|
type: "foregroundPaletteColors",
|
|
18890
18800
|
value: "brand",
|
|
@@ -18972,20 +18882,20 @@ const defaultTokensConfig = {
|
|
|
18972
18882
|
valueType: "alias"
|
|
18973
18883
|
}
|
|
18974
18884
|
} },
|
|
18975
|
-
"size/default/
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
value: "ui1",
|
|
18885
|
+
"size/default/endIcon": { size: { rest: {
|
|
18886
|
+
type: "iconSizes",
|
|
18887
|
+
value: "sm",
|
|
18979
18888
|
valueType: "alias"
|
|
18980
18889
|
} } },
|
|
18890
|
+
"size/default/root": {},
|
|
18981
18891
|
"size/default/startIcon": { size: { rest: {
|
|
18982
18892
|
type: "iconSizes",
|
|
18983
18893
|
value: "sm",
|
|
18984
18894
|
valueType: "alias"
|
|
18985
18895
|
} } },
|
|
18986
|
-
"size/default/
|
|
18987
|
-
type: "
|
|
18988
|
-
value: "
|
|
18896
|
+
"size/default/text": { textVariant: { rest: {
|
|
18897
|
+
type: "textVariants",
|
|
18898
|
+
value: "ui1",
|
|
18989
18899
|
valueType: "alias"
|
|
18990
18900
|
} } }
|
|
18991
18901
|
}
|
|
@@ -29208,8 +29118,8 @@ const defaultTokensConfig = {
|
|
|
29208
29118
|
}
|
|
29209
29119
|
}
|
|
29210
29120
|
},
|
|
29211
|
-
version: "v0.
|
|
29212
|
-
version: "v0.
|
|
29121
|
+
version: "v0.101.0",
|
|
29122
|
+
version: "v0.101.0"
|
|
29213
29123
|
};
|
|
29214
29124
|
//#endregion
|
|
29215
29125
|
export { defaultTokensConfig };
|
|
@@ -46,6 +46,18 @@ const extractRuntimeConfigValues = (config) => {
|
|
|
46
46
|
};
|
|
47
47
|
const bottomSheetBackgroundColor = require_hookMetadata.getRuntimeFieldTokenValue(config, "useBottomSheetConfig", "backgroundColor", { variant: "default" });
|
|
48
48
|
if (bottomSheetBackgroundColor !== void 0) setRuntimeValue(require_hookMetadata.getRuntimeFieldSelector("useBottomSheetConfig", "backgroundColor", { variant: "default" }), bottomSheetBackgroundColor);
|
|
49
|
+
if (config.button?.variables && config.button?.defaults) {
|
|
50
|
+
setRuntimeValue(require_hookMetadata.getRuntimeDefaultPropSelector("useButtonConfig", "size"), require_hookMetadata.getRuntimeDefaultPropValue(config, "useButtonConfig", "size"));
|
|
51
|
+
require_hookMetadata.getRuntimeSelectorParamValues("useButtonConfig", "size").forEach((size) => {
|
|
52
|
+
setRuntimeValue(require_hookMetadata.getRuntimeFieldSelector("useButtonConfig", "iconSize", { size }), require_hookMetadata.getRuntimeFieldTokenValue(config, "useButtonConfig", "iconSize", { size }));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
if (config.iconButton?.variables && config.iconButton?.defaults) {
|
|
56
|
+
setRuntimeValue(require_hookMetadata.getRuntimeDefaultPropSelector("useIconButtonConfig", "size"), require_hookMetadata.getRuntimeDefaultPropValue(config, "useIconButtonConfig", "size"));
|
|
57
|
+
require_hookMetadata.getRuntimeSelectorParamValues("useIconButtonConfig", "size").forEach((size) => {
|
|
58
|
+
setRuntimeValue(require_hookMetadata.getRuntimeFieldSelector("useIconButtonConfig", "iconSize", { size }), require_hookMetadata.getRuntimeFieldTokenValue(config, "useIconButtonConfig", "iconSize", { size }));
|
|
59
|
+
});
|
|
60
|
+
}
|
|
49
61
|
if (config.toast?.variables && config.toast?.defaults) {
|
|
50
62
|
setRuntimeValue(require_hookMetadata.getRuntimeFieldSelector("useToastConfig", "autoClose"), require_hookMetadata.getRuntimeFieldStaticValue("useToastConfig", "autoClose") ?? void 0);
|
|
51
63
|
setRuntimeValue(require_hookMetadata.getRuntimeFieldSelector("useToastConfig", "position"), require_hookMetadata.getRuntimeFieldStaticValue("useToastConfig", "position") ?? void 0);
|
|
@@ -46,6 +46,18 @@ const extractRuntimeConfigValues = (config) => {
|
|
|
46
46
|
};
|
|
47
47
|
const bottomSheetBackgroundColor = getRuntimeFieldTokenValue(config, "useBottomSheetConfig", "backgroundColor", { variant: "default" });
|
|
48
48
|
if (bottomSheetBackgroundColor !== void 0) setRuntimeValue(getRuntimeFieldSelector("useBottomSheetConfig", "backgroundColor", { variant: "default" }), bottomSheetBackgroundColor);
|
|
49
|
+
if (config.button?.variables && config.button?.defaults) {
|
|
50
|
+
setRuntimeValue(getRuntimeDefaultPropSelector("useButtonConfig", "size"), getRuntimeDefaultPropValue(config, "useButtonConfig", "size"));
|
|
51
|
+
getRuntimeSelectorParamValues("useButtonConfig", "size").forEach((size) => {
|
|
52
|
+
setRuntimeValue(getRuntimeFieldSelector("useButtonConfig", "iconSize", { size }), getRuntimeFieldTokenValue(config, "useButtonConfig", "iconSize", { size }));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
if (config.iconButton?.variables && config.iconButton?.defaults) {
|
|
56
|
+
setRuntimeValue(getRuntimeDefaultPropSelector("useIconButtonConfig", "size"), getRuntimeDefaultPropValue(config, "useIconButtonConfig", "size"));
|
|
57
|
+
getRuntimeSelectorParamValues("useIconButtonConfig", "size").forEach((size) => {
|
|
58
|
+
setRuntimeValue(getRuntimeFieldSelector("useIconButtonConfig", "iconSize", { size }), getRuntimeFieldTokenValue(config, "useIconButtonConfig", "iconSize", { size }));
|
|
59
|
+
});
|
|
60
|
+
}
|
|
49
61
|
if (config.toast?.variables && config.toast?.defaults) {
|
|
50
62
|
setRuntimeValue(getRuntimeFieldSelector("useToastConfig", "autoClose"), getRuntimeFieldStaticValue("useToastConfig", "autoClose") ?? void 0);
|
|
51
63
|
setRuntimeValue(getRuntimeFieldSelector("useToastConfig", "position"), getRuntimeFieldStaticValue("useToastConfig", "position") ?? void 0);
|
|
@@ -14798,6 +14798,7 @@ const defaultTokensConfig = {
|
|
|
14798
14798
|
"serif-alt": "yahoo-serif-text"
|
|
14799
14799
|
},
|
|
14800
14800
|
globalDefaults: {
|
|
14801
|
+
applyDefaultBreakpointInCode: false,
|
|
14801
14802
|
breakpoint: "lg",
|
|
14802
14803
|
enableResponsiveType: true
|
|
14803
14804
|
},
|
|
@@ -14809,12 +14810,12 @@ const defaultTokensConfig = {
|
|
|
14809
14810
|
variables: {
|
|
14810
14811
|
"size/lg/icon": { size: { rest: {
|
|
14811
14812
|
type: "iconSizes",
|
|
14812
|
-
value: "
|
|
14813
|
+
value: "md",
|
|
14813
14814
|
valueType: "alias"
|
|
14814
14815
|
} } },
|
|
14815
14816
|
"size/lg/root": { spacing: { rest: {
|
|
14816
14817
|
type: "spacingAliases",
|
|
14817
|
-
value: "
|
|
14818
|
+
value: "3.5",
|
|
14818
14819
|
valueType: "alias"
|
|
14819
14820
|
} } },
|
|
14820
14821
|
"size/md/icon": { size: { rest: {
|
|
@@ -14854,7 +14855,7 @@ const defaultTokensConfig = {
|
|
|
14854
14855
|
} } },
|
|
14855
14856
|
"size/xs/root": { spacing: { rest: {
|
|
14856
14857
|
type: "spacingAliases",
|
|
14857
|
-
value: "
|
|
14858
|
+
value: "2",
|
|
14858
14859
|
valueType: "alias"
|
|
14859
14860
|
} } }
|
|
14860
14861
|
}
|
|
@@ -16521,16 +16522,28 @@ const defaultTokensConfig = {
|
|
|
16521
16522
|
valueType: "alias"
|
|
16522
16523
|
} } },
|
|
16523
16524
|
"size/default/root": {},
|
|
16524
|
-
"size/default/text": { textVariant: { rest: {
|
|
16525
|
-
type: "textVariants",
|
|
16526
|
-
value: "ui1",
|
|
16527
|
-
valueType: "alias"
|
|
16528
|
-
} } },
|
|
16529
16525
|
"size/default/startIcon": { size: { rest: {
|
|
16530
16526
|
type: "iconSizes",
|
|
16531
16527
|
value: "sm",
|
|
16532
16528
|
valueType: "alias"
|
|
16533
|
-
} } }
|
|
16529
|
+
} } },
|
|
16530
|
+
"size/default/text": { textVariant: {
|
|
16531
|
+
focused: {
|
|
16532
|
+
type: "textVariants",
|
|
16533
|
+
value: "ui1",
|
|
16534
|
+
valueType: "alias"
|
|
16535
|
+
},
|
|
16536
|
+
hover: {
|
|
16537
|
+
type: "textVariants",
|
|
16538
|
+
value: "ui1",
|
|
16539
|
+
valueType: "alias"
|
|
16540
|
+
},
|
|
16541
|
+
rest: {
|
|
16542
|
+
type: "textVariants",
|
|
16543
|
+
value: "ui1",
|
|
16544
|
+
valueType: "alias"
|
|
16545
|
+
}
|
|
16546
|
+
} }
|
|
16534
16547
|
}
|
|
16535
16548
|
},
|
|
16536
16549
|
modal: {
|
|
@@ -18653,110 +18666,7 @@ const defaultTokensConfig = {
|
|
|
18653
18666
|
size: "md",
|
|
18654
18667
|
variant: "default"
|
|
18655
18668
|
},
|
|
18656
|
-
variables: {
|
|
18657
|
-
"variant/default/endIcon": { color: {
|
|
18658
|
-
"focus-within": {
|
|
18659
|
-
isEnabled: true,
|
|
18660
|
-
type: "foregroundPaletteColors",
|
|
18661
|
-
value: "primary",
|
|
18662
|
-
valueType: "alias"
|
|
18663
|
-
},
|
|
18664
|
-
hover: {
|
|
18665
|
-
isEnabled: true,
|
|
18666
|
-
type: "foregroundPaletteColors",
|
|
18667
|
-
value: "primary",
|
|
18668
|
-
valueType: "alias"
|
|
18669
|
-
},
|
|
18670
|
-
invalid: {
|
|
18671
|
-
isEnabled: true,
|
|
18672
|
-
type: "foregroundPaletteColors",
|
|
18673
|
-
value: "alert",
|
|
18674
|
-
valueType: "alias"
|
|
18675
|
-
},
|
|
18676
|
-
"invalid&hover": {
|
|
18677
|
-
isEnabled: true,
|
|
18678
|
-
type: "foregroundPaletteColors",
|
|
18679
|
-
value: "alert",
|
|
18680
|
-
valueType: "alias"
|
|
18681
|
-
},
|
|
18682
|
-
"invalid&pressed": {
|
|
18683
|
-
isEnabled: true,
|
|
18684
|
-
type: "foregroundPaletteColors",
|
|
18685
|
-
value: "alert",
|
|
18686
|
-
valueType: "alias"
|
|
18687
|
-
},
|
|
18688
|
-
pressed: {
|
|
18689
|
-
type: "foregroundPaletteColors",
|
|
18690
|
-
value: "muted",
|
|
18691
|
-
valueType: "alias"
|
|
18692
|
-
},
|
|
18693
|
-
readonly: {
|
|
18694
|
-
type: "foregroundPaletteColors",
|
|
18695
|
-
value: "muted",
|
|
18696
|
-
valueType: "alias"
|
|
18697
|
-
},
|
|
18698
|
-
rest: {
|
|
18699
|
-
type: "foregroundPaletteColors",
|
|
18700
|
-
value: "muted",
|
|
18701
|
-
valueType: "alias"
|
|
18702
|
-
}
|
|
18703
|
-
} },
|
|
18704
|
-
"variant/default/root": {},
|
|
18705
|
-
"variant/default/startIcon": { color: {
|
|
18706
|
-
"focus-within": {
|
|
18707
|
-
isEnabled: true,
|
|
18708
|
-
type: "foregroundPaletteColors",
|
|
18709
|
-
value: "primary",
|
|
18710
|
-
valueType: "alias"
|
|
18711
|
-
},
|
|
18712
|
-
hover: {
|
|
18713
|
-
isEnabled: true,
|
|
18714
|
-
type: "foregroundPaletteColors",
|
|
18715
|
-
value: "primary",
|
|
18716
|
-
valueType: "alias"
|
|
18717
|
-
},
|
|
18718
|
-
invalid: {
|
|
18719
|
-
isEnabled: true,
|
|
18720
|
-
type: "foregroundPaletteColors",
|
|
18721
|
-
value: "alert",
|
|
18722
|
-
valueType: "alias"
|
|
18723
|
-
},
|
|
18724
|
-
"invalid&hover": {
|
|
18725
|
-
isEnabled: true,
|
|
18726
|
-
type: "foregroundPaletteColors",
|
|
18727
|
-
value: "alert",
|
|
18728
|
-
valueType: "alias"
|
|
18729
|
-
},
|
|
18730
|
-
"invalid&pressed": {
|
|
18731
|
-
isEnabled: true,
|
|
18732
|
-
type: "foregroundPaletteColors",
|
|
18733
|
-
value: "alert",
|
|
18734
|
-
valueType: "alias"
|
|
18735
|
-
},
|
|
18736
|
-
pressed: {
|
|
18737
|
-
isEnabled: true,
|
|
18738
|
-
type: "foregroundPaletteColors",
|
|
18739
|
-
value: "primary",
|
|
18740
|
-
valueType: "alias"
|
|
18741
|
-
},
|
|
18742
|
-
readonly: {
|
|
18743
|
-
type: "foregroundPaletteColors",
|
|
18744
|
-
value: "muted",
|
|
18745
|
-
valueType: "alias"
|
|
18746
|
-
},
|
|
18747
|
-
rest: {
|
|
18748
|
-
type: "foregroundPaletteColors",
|
|
18749
|
-
value: "muted",
|
|
18750
|
-
valueType: "alias"
|
|
18751
|
-
}
|
|
18752
|
-
} },
|
|
18753
|
-
"variant/default/value/empty/endIcon": { color: { pressed: {
|
|
18754
|
-
isEnabled: true,
|
|
18755
|
-
type: "foregroundPaletteColors",
|
|
18756
|
-
value: "primary",
|
|
18757
|
-
valueType: "alias"
|
|
18758
|
-
} } }
|
|
18759
|
-
}
|
|
18669
|
+
variables: { "variant/default/root": {} }
|
|
18760
18670
|
},
|
|
18761
18671
|
selectContent: {
|
|
18762
18672
|
defaults: {
|
|
@@ -18841,51 +18751,51 @@ const defaultTokensConfig = {
|
|
|
18841
18751
|
valueType: "alias"
|
|
18842
18752
|
} }
|
|
18843
18753
|
},
|
|
18844
|
-
"item/variant/default/active/off/
|
|
18754
|
+
"item/variant/default/active/off/icon": { color: {
|
|
18845
18755
|
focused: {
|
|
18846
|
-
type: "
|
|
18847
|
-
value: "
|
|
18756
|
+
type: "foregroundPaletteColors",
|
|
18757
|
+
value: "brand",
|
|
18848
18758
|
valueType: "alias"
|
|
18849
18759
|
},
|
|
18850
18760
|
hover: {
|
|
18851
|
-
type: "
|
|
18852
|
-
value: "
|
|
18761
|
+
type: "foregroundPaletteColors",
|
|
18762
|
+
value: "brand",
|
|
18853
18763
|
valueType: "alias"
|
|
18854
18764
|
},
|
|
18855
18765
|
pressed: {
|
|
18856
|
-
type: "
|
|
18857
|
-
value: "
|
|
18766
|
+
type: "foregroundPaletteColors",
|
|
18767
|
+
value: "brand",
|
|
18858
18768
|
valueType: "alias"
|
|
18859
18769
|
},
|
|
18860
18770
|
rest: {
|
|
18861
|
-
type: "
|
|
18862
|
-
value: "
|
|
18771
|
+
type: "foregroundPaletteColors",
|
|
18772
|
+
value: "secondary",
|
|
18863
18773
|
valueType: "alias"
|
|
18864
18774
|
}
|
|
18865
18775
|
} },
|
|
18866
|
-
"item/variant/default/active/off/
|
|
18776
|
+
"item/variant/default/active/off/root": { backgroundColor: {
|
|
18867
18777
|
focused: {
|
|
18868
|
-
type: "
|
|
18869
|
-
value: "
|
|
18778
|
+
type: "backgroundPaletteColors",
|
|
18779
|
+
value: "secondary",
|
|
18870
18780
|
valueType: "alias"
|
|
18871
18781
|
},
|
|
18872
18782
|
hover: {
|
|
18873
|
-
type: "
|
|
18874
|
-
value: "
|
|
18783
|
+
type: "backgroundPaletteColors",
|
|
18784
|
+
value: "secondary",
|
|
18875
18785
|
valueType: "alias"
|
|
18876
18786
|
},
|
|
18877
18787
|
pressed: {
|
|
18878
|
-
type: "
|
|
18879
|
-
value: "
|
|
18788
|
+
type: "backgroundPaletteColors",
|
|
18789
|
+
value: "secondary",
|
|
18880
18790
|
valueType: "alias"
|
|
18881
18791
|
},
|
|
18882
18792
|
rest: {
|
|
18883
|
-
type: "
|
|
18884
|
-
value: "
|
|
18793
|
+
type: "backgroundPaletteColors",
|
|
18794
|
+
value: "primary",
|
|
18885
18795
|
valueType: "alias"
|
|
18886
18796
|
}
|
|
18887
18797
|
} },
|
|
18888
|
-
"item/variant/default/active/off/
|
|
18798
|
+
"item/variant/default/active/off/text": { color: {
|
|
18889
18799
|
focused: {
|
|
18890
18800
|
type: "foregroundPaletteColors",
|
|
18891
18801
|
value: "brand",
|
|
@@ -18973,20 +18883,20 @@ const defaultTokensConfig = {
|
|
|
18973
18883
|
valueType: "alias"
|
|
18974
18884
|
}
|
|
18975
18885
|
} },
|
|
18976
|
-
"size/default/
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
value: "ui1",
|
|
18886
|
+
"size/default/endIcon": { size: { rest: {
|
|
18887
|
+
type: "iconSizes",
|
|
18888
|
+
value: "sm",
|
|
18980
18889
|
valueType: "alias"
|
|
18981
18890
|
} } },
|
|
18891
|
+
"size/default/root": {},
|
|
18982
18892
|
"size/default/startIcon": { size: { rest: {
|
|
18983
18893
|
type: "iconSizes",
|
|
18984
18894
|
value: "sm",
|
|
18985
18895
|
valueType: "alias"
|
|
18986
18896
|
} } },
|
|
18987
|
-
"size/default/
|
|
18988
|
-
type: "
|
|
18989
|
-
value: "
|
|
18897
|
+
"size/default/text": { textVariant: { rest: {
|
|
18898
|
+
type: "textVariants",
|
|
18899
|
+
value: "ui1",
|
|
18990
18900
|
valueType: "alias"
|
|
18991
18901
|
} } }
|
|
18992
18902
|
}
|
|
@@ -29209,8 +29119,8 @@ const defaultTokensConfig = {
|
|
|
29209
29119
|
}
|
|
29210
29120
|
}
|
|
29211
29121
|
},
|
|
29212
|
-
version: "v0.
|
|
29213
|
-
version: "v0.
|
|
29122
|
+
version: "v0.101.0",
|
|
29123
|
+
version: "v0.101.0"
|
|
29214
29124
|
};
|
|
29215
29125
|
//#endregion
|
|
29216
29126
|
exports.defaultTokensConfig = defaultTokensConfig;
|