@yahoo/uds 3.133.3 → 3.134.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/automated-config/dist/generated/autoVariants.cjs +14 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +14 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +14 -0
- package/dist/automated-config/dist/generated/autoVariants.js +14 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +2796 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +288 -2
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +288 -2
- package/dist/automated-config/dist/generated/generatedConfigs.js +2796 -2
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +119 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +119 -0
- package/dist/automated-config/dist/properties.cjs +15 -1
- package/dist/automated-config/dist/properties.d.cts +4 -0
- package/dist/automated-config/dist/properties.d.ts +4 -0
- package/dist/automated-config/dist/properties.js +15 -1
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/cli/commands/sync.cjs +4 -0
- package/dist/cli/commands/sync.js +4 -0
- package/dist/components/client/Modal/Modal.cjs +193 -0
- package/dist/components/client/Modal/Modal.d.cts +51 -0
- package/dist/components/client/Modal/Modal.d.ts +52 -0
- package/dist/components/client/Modal/Modal.js +191 -0
- package/dist/components/client/Modal/ModalActions.cjs +54 -0
- package/dist/components/client/Modal/ModalActions.d.cts +27 -0
- package/dist/components/client/Modal/ModalActions.d.ts +28 -0
- package/dist/components/client/Modal/ModalActions.js +52 -0
- package/dist/components/client/Modal/ModalContent.cjs +37 -0
- package/dist/components/client/Modal/ModalContent.d.cts +24 -0
- package/dist/components/client/Modal/ModalContent.d.ts +25 -0
- package/dist/components/client/Modal/ModalContent.js +35 -0
- package/dist/components/client/Modal/ModalContext.cjs +15 -0
- package/dist/components/client/Modal/ModalContext.d.cts +13 -0
- package/dist/components/client/Modal/ModalContext.d.ts +14 -0
- package/dist/components/client/Modal/ModalContext.js +12 -0
- package/dist/components/client/Modal/ModalDescription.cjs +29 -0
- package/dist/components/client/Modal/ModalDescription.d.cts +23 -0
- package/dist/components/client/Modal/ModalDescription.d.ts +24 -0
- package/dist/components/client/Modal/ModalDescription.js +27 -0
- package/dist/components/client/Modal/ModalTitle.cjs +29 -0
- package/dist/components/client/Modal/ModalTitle.d.cts +23 -0
- package/dist/components/client/Modal/ModalTitle.d.ts +24 -0
- package/dist/components/client/Modal/ModalTitle.js +27 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.cjs +42 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.d.cts +35 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.d.ts +36 -0
- package/dist/components/client/Modal/UDSModalConfigProvider.js +39 -0
- package/dist/components/client/Modal/index.cjs +16 -0
- package/dist/components/client/Modal/index.d.cts +8 -0
- package/dist/components/client/Modal/index.d.ts +9 -0
- package/dist/components/client/Modal/index.js +9 -0
- package/dist/components/client/Modal/useScrollFade.cjs +38 -0
- package/dist/components/client/Modal/useScrollFade.d.cts +13 -0
- package/dist/components/client/Modal/useScrollFade.d.ts +14 -0
- package/dist/components/client/Modal/useScrollFade.js +36 -0
- package/dist/components/client/Modal/utils.cjs +32 -0
- package/dist/components/client/Modal/utils.d.cts +13 -0
- package/dist/components/client/Modal/utils.d.ts +14 -0
- package/dist/components/client/Modal/utils.js +30 -0
- package/dist/components/client/Popover/index.d.cts +1 -1
- package/dist/components/client/Popover/index.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 +13 -0
- package/dist/components/client/index.d.cts +8 -2
- package/dist/components/client/index.d.ts +8 -2
- package/dist/components/client/index.js +7 -1
- package/dist/components/client/providers/UDSConfigProvider.cjs +6 -2
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -1
- package/dist/components/client/providers/UDSConfigProvider.js +6 -2
- package/dist/components/experimental/client/index.cjs +0 -5
- package/dist/components/experimental/client/index.d.cts +1 -2
- package/dist/components/experimental/client/index.d.ts +1 -2
- package/dist/components/experimental/client/index.js +1 -2
- package/dist/components/experimental/index.cjs +1 -10
- package/dist/components/experimental/index.d.cts +1 -2
- package/dist/components/experimental/index.d.ts +1 -2
- package/dist/components/experimental/index.js +2 -7
- package/dist/components/index.cjs +20 -0
- package/dist/components/index.d.cts +8 -2
- package/dist/components/index.d.ts +8 -2
- package/dist/components/index.js +14 -1
- package/dist/config/dist/index.cjs +129 -4
- package/dist/config/dist/index.js +129 -4
- package/dist/index.cjs +16 -0
- package/dist/index.d.cts +11 -4
- package/dist/index.d.ts +11 -4
- package/dist/index.js +9 -2
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/modalConfig.cjs +22 -0
- package/dist/runtime/modalConfig.d.cts +22 -0
- package/dist/runtime/modalConfig.d.ts +22 -0
- package/dist/runtime/modalConfig.js +21 -0
- package/dist/runtime/udsConfig.cjs +4 -2
- package/dist/runtime/udsConfig.d.cts +2 -0
- package/dist/runtime/udsConfig.d.ts +2 -0
- package/dist/runtime/udsConfig.js +4 -2
- package/dist/styles/styler.d.cts +35 -21
- package/dist/styles/styler.d.ts +35 -21
- package/dist/styles/variants.d.cts +42 -0
- package/dist/styles/variants.d.ts +42 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +14 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +14 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +2796 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +2796 -2
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/properties.cjs +15 -1
- package/dist/tailwind/dist/automated-config/dist/properties.js +15 -1
- package/dist/tailwind/dist/automated-config/dist/properties.js.map +1 -1
- package/dist/tailwind/dist/config/dist/index.cjs +129 -4
- package/dist/tailwind/dist/config/dist/index.js +129 -4
- package/dist/tailwind/dist/config/dist/index.js.map +1 -1
- package/dist/tailwind/dist/css/utils.cjs +8 -0
- package/dist/tailwind/dist/css/utils.js +8 -0
- package/dist/tailwind/dist/css/utils.js.map +1 -1
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.cjs +34 -0
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.js +34 -0
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.cjs +3 -0
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js +3 -0
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +1 -0
- package/dist/tailwind/dist/tailwind/plugins/components.js +2 -1
- package/dist/tailwind/dist/tailwind/plugins/components.js.map +1 -1
- package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -1
- package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -1
- package/dist/tokens/automation/configs/index.cjs +1 -0
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +1 -0
- package/dist/tokens/automation/index.d.cts +2 -2
- package/dist/tokens/automation/index.d.ts +2 -2
- package/dist/tokens/automation/index.js +2 -2
- package/dist/tokens/index.cjs +1 -0
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +2 -2
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +68 -2
- package/dist/types/dist/index.d.ts +68 -2
- package/dist/uds/generated/componentData.cjs +717 -526
- package/dist/uds/generated/componentData.js +580 -425
- package/dist/uds/generated/tailwindPurge.cjs +137 -96
- package/dist/uds/generated/tailwindPurge.js +137 -96
- package/dist/utils/exposeAriakitScrollbarWidth.cjs +17 -0
- package/dist/utils/exposeAriakitScrollbarWidth.d.cts +13 -0
- package/dist/utils/exposeAriakitScrollbarWidth.d.ts +13 -0
- package/dist/utils/exposeAriakitScrollbarWidth.js +16 -0
- package/generated/componentData.json +876 -665
- package/generated/tailwindPurge.ts +4 -4
- package/package.json +1 -1
- package/dist/components/experimental/client/Modal.cjs +0 -60
- package/dist/components/experimental/client/Modal.d.cts +0 -27
- package/dist/components/experimental/client/Modal.d.ts +0 -28
- package/dist/components/experimental/client/Modal.js +0 -55
|
@@ -11588,6 +11588,125 @@ const defaultUniversalTokensConfigAuto = {
|
|
|
11588
11588
|
} } }
|
|
11589
11589
|
}
|
|
11590
11590
|
},
|
|
11591
|
+
modal: {
|
|
11592
|
+
defaults: {
|
|
11593
|
+
size: "default",
|
|
11594
|
+
variant: "default"
|
|
11595
|
+
},
|
|
11596
|
+
variables: {
|
|
11597
|
+
"size/default/actions": {
|
|
11598
|
+
gap: { rest: {
|
|
11599
|
+
type: "spacingAliases",
|
|
11600
|
+
value: "3",
|
|
11601
|
+
valueType: "alias"
|
|
11602
|
+
} },
|
|
11603
|
+
spacingTop: { rest: {
|
|
11604
|
+
type: "spacingAliases",
|
|
11605
|
+
value: "8",
|
|
11606
|
+
valueType: "alias"
|
|
11607
|
+
} }
|
|
11608
|
+
},
|
|
11609
|
+
"size/default/closeIcon": { size: { rest: {
|
|
11610
|
+
type: "iconSizes",
|
|
11611
|
+
value: "md",
|
|
11612
|
+
valueType: "alias"
|
|
11613
|
+
} } },
|
|
11614
|
+
"size/default/closeIconContainer": { spacing: { rest: {
|
|
11615
|
+
type: "spacingAliases",
|
|
11616
|
+
value: "2",
|
|
11617
|
+
valueType: "alias"
|
|
11618
|
+
} } },
|
|
11619
|
+
"size/default/description": { textVariant: { rest: {
|
|
11620
|
+
type: "textVariants",
|
|
11621
|
+
value: "label2",
|
|
11622
|
+
valueType: "alias"
|
|
11623
|
+
} } },
|
|
11624
|
+
"size/default/header": { spacingBottom: { rest: {
|
|
11625
|
+
type: "spacingAliases",
|
|
11626
|
+
value: "8",
|
|
11627
|
+
valueType: "alias"
|
|
11628
|
+
} } },
|
|
11629
|
+
"size/default/root": {
|
|
11630
|
+
borderRadius: { rest: {
|
|
11631
|
+
type: "borderRadii",
|
|
11632
|
+
value: "lg",
|
|
11633
|
+
valueType: "alias"
|
|
11634
|
+
} },
|
|
11635
|
+
borderWidth: { rest: {
|
|
11636
|
+
type: "elevationAliases",
|
|
11637
|
+
value: "elevation-5",
|
|
11638
|
+
valueType: "alias"
|
|
11639
|
+
} },
|
|
11640
|
+
shadow: { rest: {
|
|
11641
|
+
type: "elevationAliases",
|
|
11642
|
+
value: "elevation-5",
|
|
11643
|
+
valueType: "alias"
|
|
11644
|
+
} },
|
|
11645
|
+
spacingVertical: { rest: {
|
|
11646
|
+
type: "spacingAliases",
|
|
11647
|
+
value: "8",
|
|
11648
|
+
valueType: "alias"
|
|
11649
|
+
} }
|
|
11650
|
+
},
|
|
11651
|
+
"size/default/scrim": { spacing: { rest: {
|
|
11652
|
+
type: "spacingAliases",
|
|
11653
|
+
value: "8",
|
|
11654
|
+
valueType: "alias"
|
|
11655
|
+
} } },
|
|
11656
|
+
"size/default/spacingHorizontal": { spacingHorizontal: { rest: {
|
|
11657
|
+
type: "spacingAliases",
|
|
11658
|
+
value: "8",
|
|
11659
|
+
valueType: "alias"
|
|
11660
|
+
} } },
|
|
11661
|
+
"size/default/title": { textVariant: { rest: {
|
|
11662
|
+
type: "textVariants",
|
|
11663
|
+
value: "title2",
|
|
11664
|
+
valueType: "alias"
|
|
11665
|
+
} } },
|
|
11666
|
+
"size/default/titleDescriptionWrapper": { gap: { rest: {
|
|
11667
|
+
type: "spacingAliases",
|
|
11668
|
+
value: "2",
|
|
11669
|
+
valueType: "alias"
|
|
11670
|
+
} } },
|
|
11671
|
+
"variant/default/closeIcon": { color: { rest: {
|
|
11672
|
+
type: "foregroundPaletteColors",
|
|
11673
|
+
value: "primary",
|
|
11674
|
+
valueType: "alias"
|
|
11675
|
+
} } },
|
|
11676
|
+
"variant/default/description": { color: { rest: {
|
|
11677
|
+
type: "foregroundPaletteColors",
|
|
11678
|
+
value: "primary",
|
|
11679
|
+
valueType: "alias"
|
|
11680
|
+
} } },
|
|
11681
|
+
"variant/default/root": {
|
|
11682
|
+
backdropBlur: { rest: {
|
|
11683
|
+
type: "positiveIntegers",
|
|
11684
|
+
value: 0,
|
|
11685
|
+
valueType: "alias"
|
|
11686
|
+
} },
|
|
11687
|
+
backgroundColor: { rest: {
|
|
11688
|
+
type: "elevationAliases",
|
|
11689
|
+
value: "elevation-5",
|
|
11690
|
+
valueType: "alias"
|
|
11691
|
+
} },
|
|
11692
|
+
blurBackgroundColorFallback: { rest: {
|
|
11693
|
+
type: "elevationAliases",
|
|
11694
|
+
value: "elevation-5",
|
|
11695
|
+
valueType: "alias"
|
|
11696
|
+
} },
|
|
11697
|
+
borderColor: { rest: {
|
|
11698
|
+
type: "elevationAliases",
|
|
11699
|
+
value: "elevation-5",
|
|
11700
|
+
valueType: "alias"
|
|
11701
|
+
} }
|
|
11702
|
+
},
|
|
11703
|
+
"variant/default/title": { color: { rest: {
|
|
11704
|
+
type: "foregroundPaletteColors",
|
|
11705
|
+
value: "primary",
|
|
11706
|
+
valueType: "alias"
|
|
11707
|
+
} } }
|
|
11708
|
+
}
|
|
11709
|
+
},
|
|
11591
11710
|
popover: {
|
|
11592
11711
|
defaults: {
|
|
11593
11712
|
size: "default",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { AvatarConfig, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, TabConfig, TabsConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.cjs";
|
|
2
|
+
import { AvatarConfig, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, ModalConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, TabConfig, TabsConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.cjs";
|
|
3
3
|
import { ComponentSchema } from "../utils/buildConfigSchema.cjs";
|
|
4
4
|
|
|
5
5
|
//#region ../automated-config/dist/generated/universalTokensConfigAuto.d.ts
|
|
@@ -18,6 +18,7 @@ interface UniversalTokensConfigAuto {
|
|
|
18
18
|
link: ComponentSchema<typeof LinkConfig>;
|
|
19
19
|
menuContent: ComponentSchema<typeof MenuContentConfig>;
|
|
20
20
|
menuItem: ComponentSchema<typeof MenuItemConfig>;
|
|
21
|
+
modal: ComponentSchema<typeof ModalConfig>;
|
|
21
22
|
popover: ComponentSchema<typeof PopoverConfig>;
|
|
22
23
|
radio: ComponentSchema<typeof RadioConfig>;
|
|
23
24
|
scrim: ComponentSchema<typeof ScrimConfig>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { AvatarConfig, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, TabConfig, TabsConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.js";
|
|
2
|
+
import { AvatarConfig, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, ModalConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, TabConfig, TabsConfig, ToastConfig, TooltipConfig } from "./generatedConfigs.js";
|
|
3
3
|
import { ComponentSchema } from "../utils/buildConfigSchema.js";
|
|
4
4
|
|
|
5
5
|
//#region ../automated-config/dist/generated/universalTokensConfigAuto.d.ts
|
|
@@ -18,6 +18,7 @@ interface UniversalTokensConfigAuto {
|
|
|
18
18
|
link: ComponentSchema<typeof LinkConfig>;
|
|
19
19
|
menuContent: ComponentSchema<typeof MenuContentConfig>;
|
|
20
20
|
menuItem: ComponentSchema<typeof MenuItemConfig>;
|
|
21
|
+
modal: ComponentSchema<typeof ModalConfig>;
|
|
21
22
|
popover: ComponentSchema<typeof PopoverConfig>;
|
|
22
23
|
radio: ComponentSchema<typeof RadioConfig>;
|
|
23
24
|
scrim: ComponentSchema<typeof ScrimConfig>;
|
|
@@ -11588,6 +11588,125 @@ const defaultUniversalTokensConfigAuto = {
|
|
|
11588
11588
|
} } }
|
|
11589
11589
|
}
|
|
11590
11590
|
},
|
|
11591
|
+
modal: {
|
|
11592
|
+
defaults: {
|
|
11593
|
+
size: "default",
|
|
11594
|
+
variant: "default"
|
|
11595
|
+
},
|
|
11596
|
+
variables: {
|
|
11597
|
+
"size/default/actions": {
|
|
11598
|
+
gap: { rest: {
|
|
11599
|
+
type: "spacingAliases",
|
|
11600
|
+
value: "3",
|
|
11601
|
+
valueType: "alias"
|
|
11602
|
+
} },
|
|
11603
|
+
spacingTop: { rest: {
|
|
11604
|
+
type: "spacingAliases",
|
|
11605
|
+
value: "8",
|
|
11606
|
+
valueType: "alias"
|
|
11607
|
+
} }
|
|
11608
|
+
},
|
|
11609
|
+
"size/default/closeIcon": { size: { rest: {
|
|
11610
|
+
type: "iconSizes",
|
|
11611
|
+
value: "md",
|
|
11612
|
+
valueType: "alias"
|
|
11613
|
+
} } },
|
|
11614
|
+
"size/default/closeIconContainer": { spacing: { rest: {
|
|
11615
|
+
type: "spacingAliases",
|
|
11616
|
+
value: "2",
|
|
11617
|
+
valueType: "alias"
|
|
11618
|
+
} } },
|
|
11619
|
+
"size/default/description": { textVariant: { rest: {
|
|
11620
|
+
type: "textVariants",
|
|
11621
|
+
value: "label2",
|
|
11622
|
+
valueType: "alias"
|
|
11623
|
+
} } },
|
|
11624
|
+
"size/default/header": { spacingBottom: { rest: {
|
|
11625
|
+
type: "spacingAliases",
|
|
11626
|
+
value: "8",
|
|
11627
|
+
valueType: "alias"
|
|
11628
|
+
} } },
|
|
11629
|
+
"size/default/root": {
|
|
11630
|
+
borderRadius: { rest: {
|
|
11631
|
+
type: "borderRadii",
|
|
11632
|
+
value: "lg",
|
|
11633
|
+
valueType: "alias"
|
|
11634
|
+
} },
|
|
11635
|
+
borderWidth: { rest: {
|
|
11636
|
+
type: "elevationAliases",
|
|
11637
|
+
value: "elevation-5",
|
|
11638
|
+
valueType: "alias"
|
|
11639
|
+
} },
|
|
11640
|
+
shadow: { rest: {
|
|
11641
|
+
type: "elevationAliases",
|
|
11642
|
+
value: "elevation-5",
|
|
11643
|
+
valueType: "alias"
|
|
11644
|
+
} },
|
|
11645
|
+
spacingVertical: { rest: {
|
|
11646
|
+
type: "spacingAliases",
|
|
11647
|
+
value: "8",
|
|
11648
|
+
valueType: "alias"
|
|
11649
|
+
} }
|
|
11650
|
+
},
|
|
11651
|
+
"size/default/scrim": { spacing: { rest: {
|
|
11652
|
+
type: "spacingAliases",
|
|
11653
|
+
value: "8",
|
|
11654
|
+
valueType: "alias"
|
|
11655
|
+
} } },
|
|
11656
|
+
"size/default/spacingHorizontal": { spacingHorizontal: { rest: {
|
|
11657
|
+
type: "spacingAliases",
|
|
11658
|
+
value: "8",
|
|
11659
|
+
valueType: "alias"
|
|
11660
|
+
} } },
|
|
11661
|
+
"size/default/title": { textVariant: { rest: {
|
|
11662
|
+
type: "textVariants",
|
|
11663
|
+
value: "title2",
|
|
11664
|
+
valueType: "alias"
|
|
11665
|
+
} } },
|
|
11666
|
+
"size/default/titleDescriptionWrapper": { gap: { rest: {
|
|
11667
|
+
type: "spacingAliases",
|
|
11668
|
+
value: "2",
|
|
11669
|
+
valueType: "alias"
|
|
11670
|
+
} } },
|
|
11671
|
+
"variant/default/closeIcon": { color: { rest: {
|
|
11672
|
+
type: "foregroundPaletteColors",
|
|
11673
|
+
value: "primary",
|
|
11674
|
+
valueType: "alias"
|
|
11675
|
+
} } },
|
|
11676
|
+
"variant/default/description": { color: { rest: {
|
|
11677
|
+
type: "foregroundPaletteColors",
|
|
11678
|
+
value: "primary",
|
|
11679
|
+
valueType: "alias"
|
|
11680
|
+
} } },
|
|
11681
|
+
"variant/default/root": {
|
|
11682
|
+
backdropBlur: { rest: {
|
|
11683
|
+
type: "positiveIntegers",
|
|
11684
|
+
value: 0,
|
|
11685
|
+
valueType: "alias"
|
|
11686
|
+
} },
|
|
11687
|
+
backgroundColor: { rest: {
|
|
11688
|
+
type: "elevationAliases",
|
|
11689
|
+
value: "elevation-5",
|
|
11690
|
+
valueType: "alias"
|
|
11691
|
+
} },
|
|
11692
|
+
blurBackgroundColorFallback: { rest: {
|
|
11693
|
+
type: "elevationAliases",
|
|
11694
|
+
value: "elevation-5",
|
|
11695
|
+
valueType: "alias"
|
|
11696
|
+
} },
|
|
11697
|
+
borderColor: { rest: {
|
|
11698
|
+
type: "elevationAliases",
|
|
11699
|
+
value: "elevation-5",
|
|
11700
|
+
valueType: "alias"
|
|
11701
|
+
} }
|
|
11702
|
+
},
|
|
11703
|
+
"variant/default/title": { color: { rest: {
|
|
11704
|
+
type: "foregroundPaletteColors",
|
|
11705
|
+
value: "primary",
|
|
11706
|
+
valueType: "alias"
|
|
11707
|
+
} } }
|
|
11708
|
+
}
|
|
11709
|
+
},
|
|
11591
11710
|
popover: {
|
|
11592
11711
|
defaults: {
|
|
11593
11712
|
size: "default",
|
|
@@ -245,6 +245,18 @@ const spacingVertical = {
|
|
|
245
245
|
twThemePath: (_, value) => `spacing[${value}]`,
|
|
246
246
|
possibleFixtures: ["spacingAliases"]
|
|
247
247
|
};
|
|
248
|
+
const spacingTop = {
|
|
249
|
+
name: "spacingTop",
|
|
250
|
+
cssProperties: "padding-top",
|
|
251
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
252
|
+
possibleFixtures: ["spacingAliases"]
|
|
253
|
+
};
|
|
254
|
+
const spacingBottom = {
|
|
255
|
+
name: "spacingBottom",
|
|
256
|
+
cssProperties: "padding-bottom",
|
|
257
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
258
|
+
possibleFixtures: ["spacingAliases"]
|
|
259
|
+
};
|
|
248
260
|
const horizontalMargin = {
|
|
249
261
|
name: "horizontalMargin",
|
|
250
262
|
cssProperties: ["margin-left", "margin-right"],
|
|
@@ -404,6 +416,8 @@ const publicProperties = {
|
|
|
404
416
|
bottomMargin,
|
|
405
417
|
spacingHorizontal,
|
|
406
418
|
spacingVertical,
|
|
419
|
+
spacingTop,
|
|
420
|
+
spacingBottom,
|
|
407
421
|
textVariant,
|
|
408
422
|
textDecorationLine,
|
|
409
423
|
shadow,
|
|
@@ -464,7 +478,7 @@ const publicProperties = {
|
|
|
464
478
|
const property = schema.variables[variablePath][propertyName].rest;
|
|
465
479
|
if (property.type === "elevationAliases") return `var(--uds-background-blur-radius-${property.value})`;
|
|
466
480
|
}
|
|
467
|
-
return `blur(${schemaValue.value}px)`;
|
|
481
|
+
return schemaValue.value === 0 ? "none" : `blur(${schemaValue.value}px)`;
|
|
468
482
|
}
|
|
469
483
|
},
|
|
470
484
|
blurBackgroundColor: {
|
|
@@ -52,6 +52,8 @@ declare const publicProperties: {
|
|
|
52
52
|
readonly bottomMargin: ConfigurableProperty<"spacingAliases", unknown>;
|
|
53
53
|
readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
54
54
|
readonly spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
55
|
+
readonly spacingTop: ConfigurableProperty<"spacingAliases", unknown>;
|
|
56
|
+
readonly spacingBottom: ConfigurableProperty<"spacingAliases", unknown>;
|
|
55
57
|
readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
56
58
|
readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
57
59
|
readonly shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
@@ -101,6 +103,8 @@ declare const configurableProperties: {
|
|
|
101
103
|
bottomMargin: ConfigurableProperty<"spacingAliases", unknown>;
|
|
102
104
|
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
103
105
|
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
106
|
+
spacingTop: ConfigurableProperty<"spacingAliases", unknown>;
|
|
107
|
+
spacingBottom: ConfigurableProperty<"spacingAliases", unknown>;
|
|
104
108
|
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
105
109
|
textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
106
110
|
shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
@@ -52,6 +52,8 @@ declare const publicProperties: {
|
|
|
52
52
|
readonly bottomMargin: ConfigurableProperty<"spacingAliases", unknown>;
|
|
53
53
|
readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
54
54
|
readonly spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
55
|
+
readonly spacingTop: ConfigurableProperty<"spacingAliases", unknown>;
|
|
56
|
+
readonly spacingBottom: ConfigurableProperty<"spacingAliases", unknown>;
|
|
55
57
|
readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
56
58
|
readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
57
59
|
readonly shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
@@ -101,6 +103,8 @@ declare const configurableProperties: {
|
|
|
101
103
|
bottomMargin: ConfigurableProperty<"spacingAliases", unknown>;
|
|
102
104
|
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
103
105
|
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
106
|
+
spacingTop: ConfigurableProperty<"spacingAliases", unknown>;
|
|
107
|
+
spacingBottom: ConfigurableProperty<"spacingAliases", unknown>;
|
|
104
108
|
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
105
109
|
textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
106
110
|
shadow: ConfigurableProperty<"elevationAliases" | "shadowVariants" | "shadowVariantConfig", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
@@ -245,6 +245,18 @@ const spacingVertical = {
|
|
|
245
245
|
twThemePath: (_, value) => `spacing[${value}]`,
|
|
246
246
|
possibleFixtures: ["spacingAliases"]
|
|
247
247
|
};
|
|
248
|
+
const spacingTop = {
|
|
249
|
+
name: "spacingTop",
|
|
250
|
+
cssProperties: "padding-top",
|
|
251
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
252
|
+
possibleFixtures: ["spacingAliases"]
|
|
253
|
+
};
|
|
254
|
+
const spacingBottom = {
|
|
255
|
+
name: "spacingBottom",
|
|
256
|
+
cssProperties: "padding-bottom",
|
|
257
|
+
twThemePath: (_, value) => `spacing[${value}]`,
|
|
258
|
+
possibleFixtures: ["spacingAliases"]
|
|
259
|
+
};
|
|
248
260
|
const horizontalMargin = {
|
|
249
261
|
name: "horizontalMargin",
|
|
250
262
|
cssProperties: ["margin-left", "margin-right"],
|
|
@@ -404,6 +416,8 @@ const publicProperties = {
|
|
|
404
416
|
bottomMargin,
|
|
405
417
|
spacingHorizontal,
|
|
406
418
|
spacingVertical,
|
|
419
|
+
spacingTop,
|
|
420
|
+
spacingBottom,
|
|
407
421
|
textVariant,
|
|
408
422
|
textDecorationLine,
|
|
409
423
|
shadow,
|
|
@@ -464,7 +478,7 @@ const publicProperties = {
|
|
|
464
478
|
const property = schema.variables[variablePath][propertyName].rest;
|
|
465
479
|
if (property.type === "elevationAliases") return `var(--uds-background-blur-radius-${property.value})`;
|
|
466
480
|
}
|
|
467
|
-
return `blur(${schemaValue.value}px)`;
|
|
481
|
+
return schemaValue.value === 0 ? "none" : `blur(${schemaValue.value}px)`;
|
|
468
482
|
}
|
|
469
483
|
},
|
|
470
484
|
blurBackgroundColor: {
|
|
@@ -11,8 +11,8 @@ import { SelectedConfigurableProperty } from "../properties.cjs";
|
|
|
11
11
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
12
12
|
*/
|
|
13
13
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
14
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
14
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
15
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
16
16
|
} | null; //#endregion
|
|
17
17
|
//#endregion
|
|
18
18
|
export { getConfigVariantProperties };
|
|
@@ -11,8 +11,8 @@ import { SelectedConfigurableProperty } from "../properties.js";
|
|
|
11
11
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
12
12
|
*/
|
|
13
13
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
14
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
14
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
15
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "underlineWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "underlineColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "spacingTop" | "spacingBottom" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "bannerInnerShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "bannerInnerShadowOptions"[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
16
16
|
} | null; //#endregion
|
|
17
17
|
//#endregion
|
|
18
18
|
export { getConfigVariantProperties };
|
|
@@ -4,6 +4,7 @@ const require_runtime = require("../../_virtual/_rolldown/runtime.cjs");
|
|
|
4
4
|
const require_defaultTokensConfig = require("../../defaultTokensConfig.cjs");
|
|
5
5
|
const require_runtime_bottomSheetConfig = require("../../runtime/bottomSheetConfig.cjs");
|
|
6
6
|
const require_runtime_breakpointsConfig = require("../../runtime/breakpointsConfig.cjs");
|
|
7
|
+
const require_runtime_modalConfig = require("../../runtime/modalConfig.cjs");
|
|
7
8
|
const require_runtime_popoverConfig = require("../../runtime/popoverConfig.cjs");
|
|
8
9
|
const require_runtime_toastConfig = require("../../runtime/toastConfig.cjs");
|
|
9
10
|
const require_runtime_tooltipConfig = require("../../runtime/tooltipConfig.cjs");
|
|
@@ -76,6 +77,7 @@ const syncCommand = {
|
|
|
76
77
|
const runtimeConfigs = {
|
|
77
78
|
bottomSheet: [require_runtime_bottomSheetConfig.configToBottomSheetConfigContext(sortedConfig), "UDSBottomSheetConfigContextType"],
|
|
78
79
|
breakpoints: [require_runtime_breakpointsConfig.configToBreakpointsConfigContext(sortedConfig), "UDSBreakpointsConfigContextType"],
|
|
80
|
+
modal: [require_runtime_modalConfig.configToModalConfigContext(sortedConfig), "UDSModalConfigContextType"],
|
|
79
81
|
popover: [require_runtime_popoverConfig.configToPopoverConfigContext(sortedConfig), "UDSPopoverConfigContextType"],
|
|
80
82
|
toast: [require_runtime_toastConfig.configToToastConfigContext(sortedConfig), "UDSToastConfigContextType"],
|
|
81
83
|
tooltip: [require_runtime_tooltipConfig.configToTooltipConfigContext(sortedConfig), "UDSTooltipConfigContextType"]
|
|
@@ -92,6 +94,7 @@ const syncCommand = {
|
|
|
92
94
|
exportsTS.push(`export const runtimeConfig: UDSConfigContextType = {
|
|
93
95
|
bottomSheet: bottomSheetRuntimeConfig,
|
|
94
96
|
breakpoints: breakpointsRuntimeConfig,
|
|
97
|
+
modal: modalRuntimeConfig,
|
|
95
98
|
popover: popoverRuntimeConfig,
|
|
96
99
|
toast: toastRuntimeConfig,
|
|
97
100
|
tooltip: tooltipRuntimeConfig,
|
|
@@ -99,6 +102,7 @@ const syncCommand = {
|
|
|
99
102
|
exportsJS.push(`export const runtimeConfig = {
|
|
100
103
|
bottomSheet: bottomSheetRuntimeConfig,
|
|
101
104
|
breakpoints: breakpointsRuntimeConfig,
|
|
105
|
+
modal: modalRuntimeConfig,
|
|
102
106
|
popover: popoverRuntimeConfig,
|
|
103
107
|
toast: toastRuntimeConfig,
|
|
104
108
|
tooltip: tooltipRuntimeConfig,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { defaultTokensConfig } from "../../defaultTokensConfig.js";
|
|
3
3
|
import { configToBottomSheetConfigContext } from "../../runtime/bottomSheetConfig.js";
|
|
4
4
|
import { configToBreakpointsConfigContext } from "../../runtime/breakpointsConfig.js";
|
|
5
|
+
import { configToModalConfigContext } from "../../runtime/modalConfig.js";
|
|
5
6
|
import { configToPopoverConfigContext } from "../../runtime/popoverConfig.js";
|
|
6
7
|
import { configToToastConfigContext } from "../../runtime/toastConfig.js";
|
|
7
8
|
import { configToTooltipConfigContext } from "../../runtime/tooltipConfig.js";
|
|
@@ -72,6 +73,7 @@ const syncCommand = {
|
|
|
72
73
|
const runtimeConfigs = {
|
|
73
74
|
bottomSheet: [configToBottomSheetConfigContext(sortedConfig), "UDSBottomSheetConfigContextType"],
|
|
74
75
|
breakpoints: [configToBreakpointsConfigContext(sortedConfig), "UDSBreakpointsConfigContextType"],
|
|
76
|
+
modal: [configToModalConfigContext(sortedConfig), "UDSModalConfigContextType"],
|
|
75
77
|
popover: [configToPopoverConfigContext(sortedConfig), "UDSPopoverConfigContextType"],
|
|
76
78
|
toast: [configToToastConfigContext(sortedConfig), "UDSToastConfigContextType"],
|
|
77
79
|
tooltip: [configToTooltipConfigContext(sortedConfig), "UDSTooltipConfigContextType"]
|
|
@@ -88,6 +90,7 @@ const syncCommand = {
|
|
|
88
90
|
exportsTS.push(`export const runtimeConfig: UDSConfigContextType = {
|
|
89
91
|
bottomSheet: bottomSheetRuntimeConfig,
|
|
90
92
|
breakpoints: breakpointsRuntimeConfig,
|
|
93
|
+
modal: modalRuntimeConfig,
|
|
91
94
|
popover: popoverRuntimeConfig,
|
|
92
95
|
toast: toastRuntimeConfig,
|
|
93
96
|
tooltip: tooltipRuntimeConfig,
|
|
@@ -95,6 +98,7 @@ const syncCommand = {
|
|
|
95
98
|
exportsJS.push(`export const runtimeConfig = {
|
|
96
99
|
bottomSheet: bottomSheetRuntimeConfig,
|
|
97
100
|
breakpoints: breakpointsRuntimeConfig,
|
|
101
|
+
modal: modalRuntimeConfig,
|
|
98
102
|
popover: popoverRuntimeConfig,
|
|
99
103
|
toast: toastRuntimeConfig,
|
|
100
104
|
tooltip: tooltipRuntimeConfig,
|