@yahoo/uds 3.133.2 → 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/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- 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/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- 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 +5 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
- 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 +75 -61
- package/dist/styles/styler.d.ts +75 -61
- 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/purger/optimized/ast/expressions.cjs +9 -3
- package/dist/tailwind/dist/purger/optimized/ast/expressions.js +9 -3
- package/dist/tailwind/dist/purger/optimized/ast/expressions.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.cjs +1 -1
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.js +1 -1
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.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 +383 -192
- package/dist/uds/generated/componentData.js +348 -193
- 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 +462 -251
- 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
package/dist/runtime/index.cjs
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_runtime_bottomSheetConfig = require("./bottomSheetConfig.cjs");
|
|
4
4
|
const require_runtime_breakpointsConfig = require("./breakpointsConfig.cjs");
|
|
5
|
+
const require_runtime_modalConfig = require("./modalConfig.cjs");
|
|
5
6
|
const require_runtime_popoverConfig = require("./popoverConfig.cjs");
|
|
6
7
|
const require_runtime_toastConfig = require("./toastConfig.cjs");
|
|
7
8
|
const require_runtime_tooltipConfig = require("./tooltipConfig.cjs");
|
|
8
9
|
const require_runtime_udsConfig = require("./udsConfig.cjs");
|
|
9
10
|
exports.configToBottomSheetConfigContext = require_runtime_bottomSheetConfig.configToBottomSheetConfigContext;
|
|
10
11
|
exports.configToBreakpointsConfigContext = require_runtime_breakpointsConfig.configToBreakpointsConfigContext;
|
|
12
|
+
exports.configToModalConfigContext = require_runtime_modalConfig.configToModalConfigContext;
|
|
11
13
|
exports.configToPopoverConfigContext = require_runtime_popoverConfig.configToPopoverConfigContext;
|
|
12
14
|
exports.configToToastConfigContext = require_runtime_toastConfig.configToToastConfigContext;
|
|
13
15
|
exports.configToTooltipConfigContext = require_runtime_tooltipConfig.configToTooltipConfigContext;
|
package/dist/runtime/index.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
import { UDSBottomSheetConfigContextType, configToBottomSheetConfigContext } from "./bottomSheetConfig.cjs";
|
|
3
|
+
import { UDSModalConfigContextType, configToModalConfigContext } from "./modalConfig.cjs";
|
|
3
4
|
import { UDSPopoverConfigContextType, configToPopoverConfigContext } from "./popoverConfig.cjs";
|
|
4
5
|
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./breakpointsConfig.cjs";
|
|
5
6
|
import { UDSToastConfigContextType, configToToastConfigContext } from "./toastConfig.cjs";
|
|
6
7
|
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./tooltipConfig.cjs";
|
|
7
8
|
import { UDSConfigContextType, configToUDSConfigContext } from "./udsConfig.cjs";
|
|
8
|
-
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSPopoverConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
9
|
+
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSModalConfigContextType, UDSPopoverConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToModalConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
import { UDSBottomSheetConfigContextType, configToBottomSheetConfigContext } from "./bottomSheetConfig.js";
|
|
3
|
+
import { UDSModalConfigContextType, configToModalConfigContext } from "./modalConfig.js";
|
|
3
4
|
import { UDSPopoverConfigContextType, configToPopoverConfigContext } from "./popoverConfig.js";
|
|
4
5
|
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./breakpointsConfig.js";
|
|
5
6
|
import { UDSToastConfigContextType, configToToastConfigContext } from "./toastConfig.js";
|
|
6
7
|
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./tooltipConfig.js";
|
|
7
8
|
import { UDSConfigContextType, configToUDSConfigContext } from "./udsConfig.js";
|
|
8
|
-
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSPopoverConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
9
|
+
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSModalConfigContextType, UDSPopoverConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToModalConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { configToBottomSheetConfigContext } from "./bottomSheetConfig.js";
|
|
3
3
|
import { configToBreakpointsConfigContext } from "./breakpointsConfig.js";
|
|
4
|
+
import { configToModalConfigContext } from "./modalConfig.js";
|
|
4
5
|
import { configToPopoverConfigContext } from "./popoverConfig.js";
|
|
5
6
|
import { configToToastConfigContext } from "./toastConfig.js";
|
|
6
7
|
import { configToTooltipConfigContext } from "./tooltipConfig.js";
|
|
7
8
|
import { configToUDSConfigContext } from "./udsConfig.js";
|
|
8
|
-
export { configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
9
|
+
export { configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToModalConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require_tokens_utils_fromEntries = require("../tokens/utils/fromEntries.cjs");
|
|
4
|
+
//#region src/runtime/modalConfig.ts
|
|
5
|
+
const modalSizes = ["default"];
|
|
6
|
+
const configToModalConfigContext = ({ modal }) => {
|
|
7
|
+
return {
|
|
8
|
+
defaultSize: "default",
|
|
9
|
+
defaultVariant: "default",
|
|
10
|
+
animationDuration: {
|
|
11
|
+
in: 400,
|
|
12
|
+
out: 250
|
|
13
|
+
},
|
|
14
|
+
animationEasing: {
|
|
15
|
+
in: "cubic-bezier(0.30, 0.40, 0.20, 1.00)",
|
|
16
|
+
out: "cubic-bezier(0.60, 0.00, 0.70, 0.60)"
|
|
17
|
+
},
|
|
18
|
+
gutter: require_tokens_utils_fromEntries.fromEntries(modalSizes.map((s) => [s, modal.variables[`size/${s}/scrim`].spacing.rest.value]))
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.configToModalConfigContext = configToModalConfigContext;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
import { ModalSize, ModalVariant, SpacingAlias } from "../types/dist/index.cjs";
|
|
3
|
+
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
4
|
+
//#region src/runtime/modalConfig.d.ts
|
|
5
|
+
interface UDSModalConfigContextType {
|
|
6
|
+
defaultSize: ModalSize;
|
|
7
|
+
defaultVariant: ModalVariant;
|
|
8
|
+
animationDuration: number | {
|
|
9
|
+
in: number;
|
|
10
|
+
out: number;
|
|
11
|
+
};
|
|
12
|
+
animationEasing: string | {
|
|
13
|
+
in: string;
|
|
14
|
+
out: string;
|
|
15
|
+
};
|
|
16
|
+
gutter: Record<ModalSize, SpacingAlias>;
|
|
17
|
+
}
|
|
18
|
+
declare const configToModalConfigContext: ({
|
|
19
|
+
modal
|
|
20
|
+
}: UniversalTokensConfig) => UDSModalConfigContextType;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { type UDSModalConfigContextType, configToModalConfigContext };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
import { ModalSize, ModalVariant, SpacingAlias } from "../types/dist/index.js";
|
|
3
|
+
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
4
|
+
//#region src/runtime/modalConfig.d.ts
|
|
5
|
+
interface UDSModalConfigContextType {
|
|
6
|
+
defaultSize: ModalSize;
|
|
7
|
+
defaultVariant: ModalVariant;
|
|
8
|
+
animationDuration: number | {
|
|
9
|
+
in: number;
|
|
10
|
+
out: number;
|
|
11
|
+
};
|
|
12
|
+
animationEasing: string | {
|
|
13
|
+
in: string;
|
|
14
|
+
out: string;
|
|
15
|
+
};
|
|
16
|
+
gutter: Record<ModalSize, SpacingAlias>;
|
|
17
|
+
}
|
|
18
|
+
declare const configToModalConfigContext: ({
|
|
19
|
+
modal
|
|
20
|
+
}: UniversalTokensConfig) => UDSModalConfigContextType;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { type UDSModalConfigContextType, configToModalConfigContext };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
import { fromEntries } from "../tokens/utils/fromEntries.js";
|
|
3
|
+
//#region src/runtime/modalConfig.ts
|
|
4
|
+
const modalSizes = ["default"];
|
|
5
|
+
const configToModalConfigContext = ({ modal }) => {
|
|
6
|
+
return {
|
|
7
|
+
defaultSize: "default",
|
|
8
|
+
defaultVariant: "default",
|
|
9
|
+
animationDuration: {
|
|
10
|
+
in: 400,
|
|
11
|
+
out: 250
|
|
12
|
+
},
|
|
13
|
+
animationEasing: {
|
|
14
|
+
in: "cubic-bezier(0.30, 0.40, 0.20, 1.00)",
|
|
15
|
+
out: "cubic-bezier(0.60, 0.00, 0.70, 0.60)"
|
|
16
|
+
},
|
|
17
|
+
gutter: fromEntries(modalSizes.map((s) => [s, modal.variables[`size/${s}/scrim`].spacing.rest.value]))
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { configToModalConfigContext };
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_runtime_bottomSheetConfig = require("./bottomSheetConfig.cjs");
|
|
4
4
|
const require_runtime_breakpointsConfig = require("./breakpointsConfig.cjs");
|
|
5
|
+
const require_runtime_modalConfig = require("./modalConfig.cjs");
|
|
5
6
|
const require_runtime_popoverConfig = require("./popoverConfig.cjs");
|
|
6
7
|
const require_runtime_toastConfig = require("./toastConfig.cjs");
|
|
7
8
|
const require_runtime_tooltipConfig = require("./tooltipConfig.cjs");
|
|
@@ -10,9 +11,10 @@ const configToUDSConfigContext = (config) => {
|
|
|
10
11
|
return {
|
|
11
12
|
bottomSheet: require_runtime_bottomSheetConfig.configToBottomSheetConfigContext(config),
|
|
12
13
|
breakpoints: require_runtime_breakpointsConfig.configToBreakpointsConfigContext(config),
|
|
14
|
+
modal: require_runtime_modalConfig.configToModalConfigContext(config),
|
|
15
|
+
popover: require_runtime_popoverConfig.configToPopoverConfigContext(config),
|
|
13
16
|
toast: require_runtime_toastConfig.configToToastConfigContext(config),
|
|
14
|
-
tooltip: require_runtime_tooltipConfig.configToTooltipConfigContext(config)
|
|
15
|
-
popover: require_runtime_popoverConfig.configToPopoverConfigContext(config)
|
|
17
|
+
tooltip: require_runtime_tooltipConfig.configToTooltipConfigContext(config)
|
|
16
18
|
};
|
|
17
19
|
};
|
|
18
20
|
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
3
3
|
import { UDSBottomSheetConfigContextType } from "./bottomSheetConfig.cjs";
|
|
4
|
+
import { UDSModalConfigContextType } from "./modalConfig.cjs";
|
|
4
5
|
import { UDSPopoverConfigContextType } from "./popoverConfig.cjs";
|
|
5
6
|
import { UDSBreakpointsConfigContextType } from "./breakpointsConfig.cjs";
|
|
6
7
|
import { UDSToastConfigContextType } from "./toastConfig.cjs";
|
|
@@ -11,6 +12,7 @@ interface UDSConfigContextType {
|
|
|
11
12
|
bottomSheet: UDSBottomSheetConfigContextType;
|
|
12
13
|
breakpoints: UDSBreakpointsConfigContextType;
|
|
13
14
|
toast: UDSToastConfigContextType;
|
|
15
|
+
modal: UDSModalConfigContextType;
|
|
14
16
|
tooltip: UDSTooltipConfigContextType;
|
|
15
17
|
popover: UDSPopoverConfigContextType;
|
|
16
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
3
3
|
import { UDSBottomSheetConfigContextType } from "./bottomSheetConfig.js";
|
|
4
|
+
import { UDSModalConfigContextType } from "./modalConfig.js";
|
|
4
5
|
import { UDSPopoverConfigContextType } from "./popoverConfig.js";
|
|
5
6
|
import { UDSBreakpointsConfigContextType } from "./breakpointsConfig.js";
|
|
6
7
|
import { UDSToastConfigContextType } from "./toastConfig.js";
|
|
@@ -11,6 +12,7 @@ interface UDSConfigContextType {
|
|
|
11
12
|
bottomSheet: UDSBottomSheetConfigContextType;
|
|
12
13
|
breakpoints: UDSBreakpointsConfigContextType;
|
|
13
14
|
toast: UDSToastConfigContextType;
|
|
15
|
+
modal: UDSModalConfigContextType;
|
|
14
16
|
tooltip: UDSTooltipConfigContextType;
|
|
15
17
|
popover: UDSPopoverConfigContextType;
|
|
16
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
import { configToBottomSheetConfigContext } from "./bottomSheetConfig.js";
|
|
3
3
|
import { configToBreakpointsConfigContext } from "./breakpointsConfig.js";
|
|
4
|
+
import { configToModalConfigContext } from "./modalConfig.js";
|
|
4
5
|
import { configToPopoverConfigContext } from "./popoverConfig.js";
|
|
5
6
|
import { configToToastConfigContext } from "./toastConfig.js";
|
|
6
7
|
import { configToTooltipConfigContext } from "./tooltipConfig.js";
|
|
@@ -9,9 +10,10 @@ const configToUDSConfigContext = (config) => {
|
|
|
9
10
|
return {
|
|
10
11
|
bottomSheet: configToBottomSheetConfigContext(config),
|
|
11
12
|
breakpoints: configToBreakpointsConfigContext(config),
|
|
13
|
+
modal: configToModalConfigContext(config),
|
|
14
|
+
popover: configToPopoverConfigContext(config),
|
|
12
15
|
toast: configToToastConfigContext(config),
|
|
13
|
-
tooltip: configToTooltipConfigContext(config)
|
|
14
|
-
popover: configToPopoverConfigContext(config)
|
|
16
|
+
tooltip: configToTooltipConfigContext(config)
|
|
15
17
|
};
|
|
16
18
|
};
|
|
17
19
|
//#endregion
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -12,29 +12,29 @@ declare const cva: CVA<string>;
|
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
13
|
avatarIconVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
14
14
|
avatarImageVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
15
|
-
avatarSizeIcon?: "
|
|
16
|
-
avatarSizeRoot?: "
|
|
15
|
+
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
16
|
+
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "default" | "2xs" | "3xl" | undefined;
|
|
17
17
|
avatarTextVariantRoot?: "primary" | "secondary" | "default" | undefined;
|
|
18
18
|
badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
19
19
|
badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
20
|
-
badgeVariantIcon?: "primary" | "secondary" | "brand" | "
|
|
21
|
-
badgeVariantRoot?: "primary" | "secondary" | "brand" | "
|
|
20
|
+
badgeVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | undefined;
|
|
21
|
+
badgeVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "default" | undefined;
|
|
22
22
|
bannerSizeClose?: "default" | undefined;
|
|
23
23
|
bannerSizeDescription?: "default" | undefined;
|
|
24
24
|
bannerSizeIcon?: "default" | undefined;
|
|
25
25
|
bannerSizeRoot?: "default" | undefined;
|
|
26
26
|
bannerSizeTitle?: "default" | undefined;
|
|
27
|
-
bannerVariantDescription?: "primary" | "secondary" | "brand" | "
|
|
28
|
-
bannerVariantIcon?: "primary" | "secondary" | "brand" | "
|
|
29
|
-
bannerVariantRoot?: "primary" | "secondary" | "brand" | "
|
|
30
|
-
bannerVariantTitle?: "primary" | "secondary" | "brand" | "
|
|
27
|
+
bannerVariantDescription?: "primary" | "secondary" | "brand" | "alert" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "warning-secondary" | "info-secondary" | "default" | "success" | "success-secondary" | undefined;
|
|
28
|
+
bannerVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "warning-secondary" | "info-secondary" | "default" | "success" | "success-secondary" | undefined;
|
|
29
|
+
bannerVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "warning-secondary" | "info-secondary" | "default" | "success" | "success-secondary" | undefined;
|
|
30
|
+
bannerVariantTitle?: "primary" | "secondary" | "brand" | "alert" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "warning-secondary" | "info-secondary" | "default" | "success" | "success-secondary" | undefined;
|
|
31
31
|
bottomsheetVariantHandleIndicator?: "default" | undefined;
|
|
32
32
|
bottomsheetVariantHeader?: "default" | undefined;
|
|
33
33
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
34
34
|
buttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
35
35
|
buttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "default" | undefined;
|
|
36
|
-
buttonVariantIcon?: "primary" | "secondary" | "brand" | "
|
|
37
|
-
buttonVariantRoot?: "primary" | "secondary" | "brand" | "
|
|
36
|
+
buttonVariantIcon?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
37
|
+
buttonVariantRoot?: "primary" | "secondary" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "tertiary" | "default" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
38
38
|
checkboxSizeCheckbox?: "sm" | "md" | "default" | undefined;
|
|
39
39
|
checkboxSizeRoot?: "sm" | "md" | "default" | undefined;
|
|
40
40
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | "default" | undefined;
|
|
@@ -113,6 +113,20 @@ declare const getStylesInternal: (props?: ({
|
|
|
113
113
|
menuitemSizeEndIcon?: "default" | undefined;
|
|
114
114
|
menuitemSizeRoot?: "default" | undefined;
|
|
115
115
|
menuitemSizeStartIcon?: "default" | undefined;
|
|
116
|
+
modalSizeActions?: "default" | undefined;
|
|
117
|
+
modalSizeCloseIcon?: "default" | undefined;
|
|
118
|
+
modalSizeCloseIconContainer?: "default" | undefined;
|
|
119
|
+
modalSizeDescription?: "default" | undefined;
|
|
120
|
+
modalSizeHeader?: "default" | undefined;
|
|
121
|
+
modalSizeRoot?: "default" | undefined;
|
|
122
|
+
modalSizeScrim?: "default" | undefined;
|
|
123
|
+
modalSizeSpacingHorizontal?: "default" | undefined;
|
|
124
|
+
modalSizeTitle?: "default" | undefined;
|
|
125
|
+
modalSizeTitleDescriptionWrapper?: "default" | undefined;
|
|
126
|
+
modalVariantCloseIcon?: "default" | undefined;
|
|
127
|
+
modalVariantDescription?: "default" | undefined;
|
|
128
|
+
modalVariantRoot?: "default" | undefined;
|
|
129
|
+
modalVariantTitle?: "default" | undefined;
|
|
116
130
|
popoverSizeCloseIcon?: "default" | undefined;
|
|
117
131
|
popoverSizeCloseIconContainer?: "default" | undefined;
|
|
118
132
|
popoverSizeContentWrapper?: "default" | undefined;
|
|
@@ -157,10 +171,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
157
171
|
toastSizeIcon?: "default" | undefined;
|
|
158
172
|
toastSizeLabel?: "default" | undefined;
|
|
159
173
|
toastSizeRoot?: "default" | undefined;
|
|
160
|
-
toastVariantActionButton?: "
|
|
161
|
-
toastVariantCloseIcon?: "
|
|
162
|
-
toastVariantIcon?: "
|
|
163
|
-
toastVariantRoot?: "
|
|
174
|
+
toastVariantActionButton?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
175
|
+
toastVariantCloseIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
176
|
+
toastVariantIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
177
|
+
toastVariantRoot?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
164
178
|
tooltipSizeBody?: "default" | undefined;
|
|
165
179
|
tooltipSizeEndContent?: "default" | undefined;
|
|
166
180
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -171,50 +185,50 @@ declare const getStylesInternal: (props?: ({
|
|
|
171
185
|
tooltipVariantIcon?: "default" | undefined;
|
|
172
186
|
tooltipVariantRoot?: "default" | undefined;
|
|
173
187
|
tooltipVariantSvg?: "default" | undefined;
|
|
174
|
-
color?: "primary" | "secondary" | "
|
|
175
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
188
|
+
color?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
189
|
+
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
176
190
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
177
191
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
178
|
-
fontWeight?: "
|
|
192
|
+
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "bold" | "extralight" | "light" | "regular" | "semibold" | "extrabold" | undefined;
|
|
179
193
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
180
194
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
181
195
|
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
182
|
-
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "
|
|
183
|
-
spacing?: "0" | "
|
|
184
|
-
spacingHorizontal?: "0" | "
|
|
185
|
-
spacingVertical?: "0" | "
|
|
186
|
-
spacingBottom?: "0" | "
|
|
187
|
-
spacingEnd?: "0" | "
|
|
188
|
-
spacingStart?: "0" | "
|
|
189
|
-
spacingTop?: "0" | "
|
|
190
|
-
offset?: "0" | "
|
|
191
|
-
offsetVertical?: "0" | "
|
|
192
|
-
offsetHorizontal?: "0" | "
|
|
193
|
-
offsetBottom?: "0" | "
|
|
194
|
-
offsetEnd?: "0" | "
|
|
195
|
-
offsetStart?: "0" | "
|
|
196
|
-
offsetTop?: "0" | "
|
|
197
|
-
columnGap?: "0" | "
|
|
198
|
-
rowGap?: "0" | "
|
|
199
|
-
backgroundColor?: "primary" | "secondary" | "
|
|
200
|
-
borderColor?: "primary" | "secondary" | "
|
|
201
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
202
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
203
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
204
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
205
|
-
borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
206
|
-
borderTopStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
207
|
-
borderTopEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
208
|
-
borderBottomStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
209
|
-
borderBottomEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
210
|
-
borderWidth?: "
|
|
211
|
-
borderVerticalWidth?: "
|
|
212
|
-
borderHorizontalWidth?: "
|
|
213
|
-
borderStartWidth?: "
|
|
214
|
-
borderEndWidth?: "
|
|
215
|
-
borderTopWidth?: "
|
|
216
|
-
borderBottomWidth?: "
|
|
217
|
-
avatarSize?: "
|
|
196
|
+
textTransform?: "none" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
|
197
|
+
spacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
198
|
+
spacingHorizontal?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
199
|
+
spacingVertical?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
200
|
+
spacingBottom?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
201
|
+
spacingEnd?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
202
|
+
spacingStart?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
203
|
+
spacingTop?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
204
|
+
offset?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
205
|
+
offsetVertical?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
206
|
+
offsetHorizontal?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
207
|
+
offsetBottom?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
208
|
+
offsetEnd?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
209
|
+
offsetStart?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
210
|
+
offsetTop?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
211
|
+
columnGap?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
212
|
+
rowGap?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
213
|
+
backgroundColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | undefined;
|
|
214
|
+
borderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
215
|
+
borderStartColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
216
|
+
borderEndColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
217
|
+
borderBottomColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
218
|
+
borderTopColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "tertiary" | "muted" | undefined;
|
|
219
|
+
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
220
|
+
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
221
|
+
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
222
|
+
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
223
|
+
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
224
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
225
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
226
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
227
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
228
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
229
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
230
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
231
|
+
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
218
232
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
219
233
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
220
234
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
@@ -226,21 +240,21 @@ declare const getStylesInternal: (props?: ({
|
|
|
226
240
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
227
241
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
228
242
|
flexBasis?: "min-content" | undefined;
|
|
229
|
-
display?: "flex" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "
|
|
243
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
|
|
230
244
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
231
245
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
232
246
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
233
247
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
234
|
-
contentFit?: "none" | "
|
|
248
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
235
249
|
colorMode?: "light" | "dark" | undefined;
|
|
236
|
-
scaleMode?: "
|
|
250
|
+
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
237
251
|
width?: "full" | "fit" | "screen" | undefined;
|
|
238
252
|
height?: "full" | "fit" | "screen" | undefined;
|
|
239
|
-
dropShadow?: "
|
|
240
|
-
insetShadow?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "
|
|
241
|
-
nestedBorderRadiusSize?: "xs" | "sm" | "md" | "lg" | "xl" | "
|
|
242
|
-
nestedBorderRadiusWidth?: "
|
|
243
|
-
nestedBorderRadiusSpacing?: "0" | "
|
|
253
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
254
|
+
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
255
|
+
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
256
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
257
|
+
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
244
258
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
245
259
|
} & {
|
|
246
260
|
className?: string | undefined;
|