@yahoo/uds 3.115.0 → 3.116.0-beta.2
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 +10 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +10 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +10 -0
- package/dist/automated-config/dist/generated/autoVariants.js +10 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1842 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +194 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +194 -1
- package/dist/automated-config/dist/generated/generatedConfigs.js +1842 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +78 -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 +78 -0
- package/dist/cli/commands/sync.cjs +6 -0
- package/dist/cli/commands/sync.js +6 -0
- package/dist/components/SvgFloatingOverlay.cjs +122 -0
- package/dist/components/SvgFloatingOverlay.d.cts +42 -0
- package/dist/components/SvgFloatingOverlay.d.ts +42 -0
- package/dist/components/SvgFloatingOverlay.js +120 -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/Popover/Popover.cjs +96 -0
- package/dist/components/client/Popover/Popover.d.cts +55 -0
- package/dist/components/client/Popover/Popover.d.ts +55 -0
- package/dist/components/client/Popover/Popover.js +94 -0
- package/dist/components/client/Popover/PopoverContent.cjs +171 -0
- package/dist/components/client/Popover/PopoverContent.d.cts +26 -0
- package/dist/components/client/Popover/PopoverContent.d.ts +26 -0
- package/dist/components/client/Popover/PopoverContent.js +169 -0
- package/dist/components/client/Popover/PopoverContext.cjs +11 -0
- package/dist/components/client/Popover/PopoverContext.d.cts +21 -0
- package/dist/components/client/Popover/PopoverContext.d.ts +21 -0
- package/dist/components/client/Popover/PopoverContext.js +9 -0
- package/dist/components/client/Popover/PopoverTrigger.cjs +26 -0
- package/dist/components/client/Popover/PopoverTrigger.d.cts +14 -0
- package/dist/components/client/Popover/PopoverTrigger.d.ts +14 -0
- package/dist/components/client/Popover/PopoverTrigger.js +24 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.cjs +40 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +28 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +28 -0
- package/dist/components/client/Popover/UDSPopoverConfigProvider.js +37 -0
- package/dist/components/client/Popover/index.cjs +12 -0
- package/dist/components/client/Popover/index.d.cts +7 -0
- package/dist/components/client/Popover/index.d.ts +7 -0
- package/dist/components/client/Popover/index.js +8 -0
- package/dist/components/client/Toast/Toast.cjs +3 -3
- package/dist/components/client/Toast/Toast.d.cts +1 -1
- package/dist/components/client/Toast/Toast.d.ts +1 -1
- package/dist/components/client/Toast/Toast.js +3 -3
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
- package/dist/components/client/Toast/index.d.cts +1 -1
- package/dist/components/client/Toast/index.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.cjs +6 -6
- package/dist/components/client/Tooltip/Tooltip.d.cts +1 -1
- package/dist/components/client/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.js +6 -6
- package/dist/components/client/Tooltip/TooltipContent.cjs +55 -119
- package/dist/components/client/Tooltip/TooltipContent.js +56 -120
- package/dist/components/client/Tooltip/tooltipContext.cjs +0 -1
- package/dist/components/client/Tooltip/tooltipContext.d.cts +1 -2
- package/dist/components/client/Tooltip/tooltipContext.d.ts +1 -2
- package/dist/components/client/Tooltip/tooltipContext.js +0 -1
- package/dist/components/client/index.cjs +8 -0
- package/dist/components/client/index.d.cts +10 -5
- package/dist/components/client/index.d.ts +10 -5
- package/dist/components/client/index.js +5 -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/{Popover.cjs → ExperimentalPopover.cjs} +10 -1
- package/dist/components/experimental/client/ExperimentalPopover.d.cts +40 -0
- package/dist/components/experimental/client/ExperimentalPopover.d.ts +40 -0
- package/dist/components/experimental/client/{Popover.js → ExperimentalPopover.js} +10 -1
- package/dist/components/experimental/client/index.cjs +10 -10
- package/dist/components/experimental/client/index.d.cts +2 -2
- package/dist/components/experimental/client/index.d.ts +2 -2
- package/dist/components/experimental/client/index.js +1 -1
- package/dist/components/experimental/index.cjs +19 -19
- package/dist/components/experimental/index.d.cts +2 -2
- package/dist/components/experimental/index.d.ts +2 -2
- package/dist/components/experimental/index.js +1 -1
- package/dist/components/index.cjs +12 -0
- package/dist/components/index.d.cts +9 -5
- package/dist/components/index.d.ts +9 -5
- package/dist/components/index.js +9 -1
- package/dist/config/dist/index.cjs +79 -1
- package/dist/config/dist/index.js +79 -1
- package/dist/{components/client/Tooltip/useTooltipContent.cjs → hooks/useSvgFloatingContent.cjs} +81 -48
- package/dist/hooks/useSvgFloatingContent.d.cts +74 -0
- package/dist/hooks/useSvgFloatingContent.d.ts +74 -0
- package/dist/{components/client/Tooltip/useTooltipContent.js → hooks/useSvgFloatingContent.js} +76 -43
- package/dist/index.cjs +21 -10
- package/dist/index.d.cts +15 -10
- package/dist/index.d.ts +15 -10
- package/dist/index.js +16 -11
- package/dist/runtime/index.cjs +2 -0
- package/dist/runtime/index.d.cts +3 -2
- package/dist/runtime/index.d.ts +3 -2
- package/dist/runtime/index.js +2 -1
- package/dist/runtime/popoverConfig.cjs +41 -0
- package/dist/runtime/popoverConfig.d.cts +24 -0
- package/dist/runtime/popoverConfig.d.ts +24 -0
- package/dist/runtime/popoverConfig.js +40 -0
- package/dist/runtime/udsConfig.cjs +3 -1
- package/dist/runtime/udsConfig.d.cts +3 -1
- package/dist/runtime/udsConfig.d.ts +3 -1
- package/dist/runtime/udsConfig.js +3 -1
- package/dist/styles/styler.d.cts +90 -80
- package/dist/styles/styler.d.ts +90 -80
- package/dist/styles/variants.d.cts +30 -0
- package/dist/styles/variants.d.ts +30 -0
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +1 -0
- package/dist/tailwind/dist/tailwind/plugins/components.js +2 -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 +2 -1
- package/dist/tokens/index.d.cts +3 -3
- package/dist/tokens/index.d.ts +3 -3
- package/dist/tokens/index.js +3 -3
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +51 -1
- package/dist/types/dist/index.d.ts +51 -1
- package/dist/uds/generated/componentData.cjs +298 -139
- package/dist/uds/generated/componentData.js +263 -140
- package/dist/uds/generated/tailwindPurge.cjs +52 -26
- package/dist/uds/generated/tailwindPurge.js +52 -26
- package/dist/utils/parseShadow.cjs +120 -0
- package/dist/utils/parseShadow.d.cts +33 -0
- package/dist/utils/parseShadow.d.ts +33 -0
- package/dist/utils/parseShadow.js +118 -0
- package/dist/utils/svgFloatingContentUtils.cjs +121 -0
- package/dist/{components/client/Tooltip/util.d.cts → utils/svgFloatingContentUtils.d.cts} +25 -62
- package/dist/{components/client/Tooltip/util.d.ts → utils/svgFloatingContentUtils.d.ts} +25 -62
- package/dist/utils/svgFloatingContentUtils.js +117 -0
- package/generated/componentData.json +337 -185
- package/generated/tailwindPurge.ts +50 -27
- package/package.json +1 -1
- package/dist/components/client/Tooltip/useTooltipContent.d.cts +0 -66
- package/dist/components/client/Tooltip/useTooltipContent.d.ts +0 -66
- package/dist/components/client/Tooltip/util.cjs +0 -248
- package/dist/components/client/Tooltip/util.js +0 -240
- package/dist/components/experimental/client/Popover.d.cts +0 -29
- package/dist/components/experimental/client/Popover.d.ts +0 -29
package/dist/runtime/index.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { UDSBottomSheetConfigContextType, configToBottomSheetConfigContext } from "./bottomSheetConfig.cjs";
|
|
3
|
+
import { UDSPopoverConfigContextType, configToPopoverConfigContext } from "./popoverConfig.cjs";
|
|
4
|
+
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./breakpointsConfig.cjs";
|
|
3
5
|
import { UDSToastConfigContextType, configToToastConfigContext } from "./toastConfig.cjs";
|
|
4
6
|
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./tooltipConfig.cjs";
|
|
5
|
-
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./breakpointsConfig.cjs";
|
|
6
7
|
import { UDSConfigContextType, configToUDSConfigContext } from "./udsConfig.cjs";
|
|
7
|
-
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
8
|
+
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSPopoverConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { UDSBottomSheetConfigContextType, configToBottomSheetConfigContext } from "./bottomSheetConfig.js";
|
|
3
|
+
import { UDSPopoverConfigContextType, configToPopoverConfigContext } from "./popoverConfig.js";
|
|
4
|
+
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./breakpointsConfig.js";
|
|
3
5
|
import { UDSToastConfigContextType, configToToastConfigContext } from "./toastConfig.js";
|
|
4
6
|
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./tooltipConfig.js";
|
|
5
|
-
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./breakpointsConfig.js";
|
|
6
7
|
import { UDSConfigContextType, configToUDSConfigContext } from "./udsConfig.js";
|
|
7
|
-
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
8
|
+
export { UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSConfigContextType, UDSPopoverConfigContextType, UDSToastConfigContextType, UDSTooltipConfigContextType, configToBottomSheetConfigContext, configToBreakpointsConfigContext, 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 { configToPopoverConfigContext } from "./popoverConfig.js";
|
|
4
5
|
import { configToToastConfigContext } from "./toastConfig.js";
|
|
5
6
|
import { configToTooltipConfigContext } from "./tooltipConfig.js";
|
|
6
7
|
import { configToUDSConfigContext } from "./udsConfig.js";
|
|
7
8
|
|
|
8
|
-
export { configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
9
|
+
export { configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext };
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
|
|
5
|
+
//#region src/runtime/popoverConfig.ts
|
|
6
|
+
const popoverSizes = ["default"];
|
|
7
|
+
const placementMap = {
|
|
8
|
+
top: "top",
|
|
9
|
+
bottom: "bottom",
|
|
10
|
+
start: "left",
|
|
11
|
+
end: "right",
|
|
12
|
+
"top-start": "top-start",
|
|
13
|
+
"top-end": "top-end",
|
|
14
|
+
"bottom-start": "bottom-start",
|
|
15
|
+
"bottom-end": "bottom-end",
|
|
16
|
+
"start-top": "left-start",
|
|
17
|
+
"start-bottom": "left-end",
|
|
18
|
+
"end-top": "right-start",
|
|
19
|
+
"end-bottom": "right-end"
|
|
20
|
+
};
|
|
21
|
+
const configToPopoverConfigContext = ({ popover, scaleMode }) => {
|
|
22
|
+
const borderRadius = require_tokens_utils_fromEntries.fromEntries(popoverSizes.map((s) => [s, scaleMode.medium.borderRadius[popover.variables[`size/${s}/svgBase`].borderRadius.rest.value]]));
|
|
23
|
+
const gap = require_tokens_utils_fromEntries.fromEntries(popoverSizes.map((s) => [s, popover.variables[`size/${s}/contentWrapper`].gap.rest.value]));
|
|
24
|
+
const spacingHorizontal = require_tokens_utils_fromEntries.fromEntries(popoverSizes.map((s) => [s, popover.variables[`size/${s}/contentWrapper`].spacingHorizontal.rest.value]));
|
|
25
|
+
const spacingVertical = require_tokens_utils_fromEntries.fromEntries(popoverSizes.map((s) => [s, popover.variables[`size/${s}/contentWrapper`].spacingVertical.rest.value]));
|
|
26
|
+
const dismissButtonSize = { default: 32 };
|
|
27
|
+
if (Object.values(borderRadius).some((b) => typeof b !== "number")) throw new Error("borderRadius is not a number");
|
|
28
|
+
return {
|
|
29
|
+
animationDuration: 200,
|
|
30
|
+
borderRadius,
|
|
31
|
+
placementMap,
|
|
32
|
+
placement: "top",
|
|
33
|
+
gap,
|
|
34
|
+
spacingHorizontal,
|
|
35
|
+
spacingVertical,
|
|
36
|
+
dismissButtonSize
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.configToPopoverConfigContext = configToPopoverConfigContext;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
import { PopoverPlacement, PopoverSize, SpacingAlias } from "../types/dist/index.cjs";
|
|
3
|
+
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
4
|
+
import "../tokens/index.cjs";
|
|
5
|
+
import { PopoverProviderProps } from "@ariakit/react";
|
|
6
|
+
|
|
7
|
+
//#region src/runtime/popoverConfig.d.ts
|
|
8
|
+
type PopoverPlacementMap = Record<PopoverPlacement, PopoverProviderProps['placement']>;
|
|
9
|
+
interface UDSPopoverConfigContextType {
|
|
10
|
+
animationDuration: number;
|
|
11
|
+
borderRadius: Record<PopoverSize, number>;
|
|
12
|
+
placementMap: PopoverPlacementMap;
|
|
13
|
+
placement: PopoverPlacement;
|
|
14
|
+
gap: Record<PopoverSize, SpacingAlias>;
|
|
15
|
+
spacingHorizontal: Record<PopoverSize, SpacingAlias>;
|
|
16
|
+
spacingVertical: Record<PopoverSize, SpacingAlias>;
|
|
17
|
+
dismissButtonSize: Record<PopoverSize, number>;
|
|
18
|
+
}
|
|
19
|
+
declare const configToPopoverConfigContext: ({
|
|
20
|
+
popover,
|
|
21
|
+
scaleMode
|
|
22
|
+
}: UniversalTokensConfig) => UDSPopoverConfigContextType;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { type UDSPopoverConfigContextType, configToPopoverConfigContext };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
import { PopoverPlacement, PopoverSize, SpacingAlias } from "../types/dist/index.js";
|
|
3
|
+
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
4
|
+
import "../tokens/index.js";
|
|
5
|
+
import { PopoverProviderProps } from "@ariakit/react";
|
|
6
|
+
|
|
7
|
+
//#region src/runtime/popoverConfig.d.ts
|
|
8
|
+
type PopoverPlacementMap = Record<PopoverPlacement, PopoverProviderProps['placement']>;
|
|
9
|
+
interface UDSPopoverConfigContextType {
|
|
10
|
+
animationDuration: number;
|
|
11
|
+
borderRadius: Record<PopoverSize, number>;
|
|
12
|
+
placementMap: PopoverPlacementMap;
|
|
13
|
+
placement: PopoverPlacement;
|
|
14
|
+
gap: Record<PopoverSize, SpacingAlias>;
|
|
15
|
+
spacingHorizontal: Record<PopoverSize, SpacingAlias>;
|
|
16
|
+
spacingVertical: Record<PopoverSize, SpacingAlias>;
|
|
17
|
+
dismissButtonSize: Record<PopoverSize, number>;
|
|
18
|
+
}
|
|
19
|
+
declare const configToPopoverConfigContext: ({
|
|
20
|
+
popover,
|
|
21
|
+
scaleMode
|
|
22
|
+
}: UniversalTokensConfig) => UDSPopoverConfigContextType;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { type UDSPopoverConfigContextType, configToPopoverConfigContext };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
import { fromEntries } from "../tokens/utils/fromEntries.js";
|
|
3
|
+
|
|
4
|
+
//#region src/runtime/popoverConfig.ts
|
|
5
|
+
const popoverSizes = ["default"];
|
|
6
|
+
const placementMap = {
|
|
7
|
+
top: "top",
|
|
8
|
+
bottom: "bottom",
|
|
9
|
+
start: "left",
|
|
10
|
+
end: "right",
|
|
11
|
+
"top-start": "top-start",
|
|
12
|
+
"top-end": "top-end",
|
|
13
|
+
"bottom-start": "bottom-start",
|
|
14
|
+
"bottom-end": "bottom-end",
|
|
15
|
+
"start-top": "left-start",
|
|
16
|
+
"start-bottom": "left-end",
|
|
17
|
+
"end-top": "right-start",
|
|
18
|
+
"end-bottom": "right-end"
|
|
19
|
+
};
|
|
20
|
+
const configToPopoverConfigContext = ({ popover, scaleMode }) => {
|
|
21
|
+
const borderRadius = fromEntries(popoverSizes.map((s) => [s, scaleMode.medium.borderRadius[popover.variables[`size/${s}/svgBase`].borderRadius.rest.value]]));
|
|
22
|
+
const gap = fromEntries(popoverSizes.map((s) => [s, popover.variables[`size/${s}/contentWrapper`].gap.rest.value]));
|
|
23
|
+
const spacingHorizontal = fromEntries(popoverSizes.map((s) => [s, popover.variables[`size/${s}/contentWrapper`].spacingHorizontal.rest.value]));
|
|
24
|
+
const spacingVertical = fromEntries(popoverSizes.map((s) => [s, popover.variables[`size/${s}/contentWrapper`].spacingVertical.rest.value]));
|
|
25
|
+
const dismissButtonSize = { default: 32 };
|
|
26
|
+
if (Object.values(borderRadius).some((b) => typeof b !== "number")) throw new Error("borderRadius is not a number");
|
|
27
|
+
return {
|
|
28
|
+
animationDuration: 200,
|
|
29
|
+
borderRadius,
|
|
30
|
+
placementMap,
|
|
31
|
+
placement: "top",
|
|
32
|
+
gap,
|
|
33
|
+
spacingHorizontal,
|
|
34
|
+
spacingVertical,
|
|
35
|
+
dismissButtonSize
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
export { configToPopoverConfigContext };
|
|
@@ -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_popoverConfig = require('./popoverConfig.cjs');
|
|
5
6
|
const require_runtime_toastConfig = require('./toastConfig.cjs');
|
|
6
7
|
const require_runtime_tooltipConfig = require('./tooltipConfig.cjs');
|
|
7
8
|
|
|
@@ -11,7 +12,8 @@ const configToUDSConfigContext = (config) => {
|
|
|
11
12
|
bottomSheet: require_runtime_bottomSheetConfig.configToBottomSheetConfigContext(config),
|
|
12
13
|
breakpoints: require_runtime_breakpointsConfig.configToBreakpointsConfigContext(config),
|
|
13
14
|
toast: require_runtime_toastConfig.configToToastConfigContext(config),
|
|
14
|
-
tooltip: require_runtime_tooltipConfig.configToTooltipConfigContext(config)
|
|
15
|
+
tooltip: require_runtime_tooltipConfig.configToTooltipConfigContext(config),
|
|
16
|
+
popover: require_runtime_popoverConfig.configToPopoverConfigContext(config)
|
|
15
17
|
};
|
|
16
18
|
};
|
|
17
19
|
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
3
3
|
import "../tokens/types.cjs";
|
|
4
4
|
import { UDSBottomSheetConfigContextType } from "./bottomSheetConfig.cjs";
|
|
5
|
+
import { UDSPopoverConfigContextType } from "./popoverConfig.cjs";
|
|
6
|
+
import { UDSBreakpointsConfigContextType } from "./breakpointsConfig.cjs";
|
|
5
7
|
import { UDSToastConfigContextType } from "./toastConfig.cjs";
|
|
6
8
|
import { UDSTooltipConfigContextType } from "./tooltipConfig.cjs";
|
|
7
|
-
import { UDSBreakpointsConfigContextType } from "./breakpointsConfig.cjs";
|
|
8
9
|
|
|
9
10
|
//#region src/runtime/udsConfig.d.ts
|
|
10
11
|
interface UDSConfigContextType {
|
|
@@ -12,6 +13,7 @@ interface UDSConfigContextType {
|
|
|
12
13
|
breakpoints: UDSBreakpointsConfigContextType;
|
|
13
14
|
toast: UDSToastConfigContextType;
|
|
14
15
|
tooltip: UDSTooltipConfigContextType;
|
|
16
|
+
popover: UDSPopoverConfigContextType;
|
|
15
17
|
}
|
|
16
18
|
declare const configToUDSConfigContext: (config: UniversalTokensConfig) => UDSConfigContextType;
|
|
17
19
|
//#endregion
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
3
3
|
import "../tokens/types.js";
|
|
4
4
|
import { UDSBottomSheetConfigContextType } from "./bottomSheetConfig.js";
|
|
5
|
+
import { UDSPopoverConfigContextType } from "./popoverConfig.js";
|
|
6
|
+
import { UDSBreakpointsConfigContextType } from "./breakpointsConfig.js";
|
|
5
7
|
import { UDSToastConfigContextType } from "./toastConfig.js";
|
|
6
8
|
import { UDSTooltipConfigContextType } from "./tooltipConfig.js";
|
|
7
|
-
import { UDSBreakpointsConfigContextType } from "./breakpointsConfig.js";
|
|
8
9
|
|
|
9
10
|
//#region src/runtime/udsConfig.d.ts
|
|
10
11
|
interface UDSConfigContextType {
|
|
@@ -12,6 +13,7 @@ interface UDSConfigContextType {
|
|
|
12
13
|
breakpoints: UDSBreakpointsConfigContextType;
|
|
13
14
|
toast: UDSToastConfigContextType;
|
|
14
15
|
tooltip: UDSTooltipConfigContextType;
|
|
16
|
+
popover: UDSPopoverConfigContextType;
|
|
15
17
|
}
|
|
16
18
|
declare const configToUDSConfigContext: (config: UniversalTokensConfig) => UDSConfigContextType;
|
|
17
19
|
//#endregion
|
|
@@ -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 { configToPopoverConfigContext } from "./popoverConfig.js";
|
|
4
5
|
import { configToToastConfigContext } from "./toastConfig.js";
|
|
5
6
|
import { configToTooltipConfigContext } from "./tooltipConfig.js";
|
|
6
7
|
|
|
@@ -10,7 +11,8 @@ const configToUDSConfigContext = (config) => {
|
|
|
10
11
|
bottomSheet: configToBottomSheetConfigContext(config),
|
|
11
12
|
breakpoints: configToBreakpointsConfigContext(config),
|
|
12
13
|
toast: configToToastConfigContext(config),
|
|
13
|
-
tooltip: configToTooltipConfigContext(config)
|
|
14
|
+
tooltip: configToTooltipConfigContext(config),
|
|
15
|
+
popover: configToPopoverConfigContext(config)
|
|
14
16
|
};
|
|
15
17
|
};
|
|
16
18
|
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -10,52 +10,52 @@ declare function normalizeObject(props: Record<string, unknown>): Record<string,
|
|
|
10
10
|
declare const cx: CX<string>;
|
|
11
11
|
declare const cva: CVA<string>;
|
|
12
12
|
declare const getStylesInternal: (props?: ({
|
|
13
|
-
avatarIconVariantRoot?: "
|
|
14
|
-
avatarImageVariantRoot?: "
|
|
15
|
-
avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" |
|
|
16
|
-
avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" |
|
|
17
|
-
avatarTextVariantRoot?: "
|
|
18
|
-
badgeSizeIcon?: "
|
|
19
|
-
badgeSizeRoot?: "
|
|
20
|
-
badgeVariantIcon?: "
|
|
21
|
-
badgeVariantRoot?: "
|
|
13
|
+
avatarIconVariantRoot?: "default" | "primary" | "secondary" | undefined;
|
|
14
|
+
avatarImageVariantRoot?: "default" | "primary" | "secondary" | undefined;
|
|
15
|
+
avatarSizeIcon?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
16
|
+
avatarSizeRoot?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
17
|
+
avatarTextVariantRoot?: "default" | "primary" | "secondary" | undefined;
|
|
18
|
+
badgeSizeIcon?: "default" | "xs" | "sm" | "md" | "lg" | undefined;
|
|
19
|
+
badgeSizeRoot?: "default" | "xs" | "sm" | "md" | "lg" | undefined;
|
|
20
|
+
badgeVariantIcon?: "default" | "alert" | "primary" | "secondary" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | undefined;
|
|
21
|
+
badgeVariantRoot?: "default" | "alert" | "primary" | "secondary" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | undefined;
|
|
22
22
|
bottomsheetVariantHeader?: "default" | undefined;
|
|
23
23
|
bottomsheetVariantRoot?: "default" | undefined;
|
|
24
|
-
buttonSizeIcon?: "
|
|
25
|
-
buttonSizeRoot?: "
|
|
26
|
-
buttonVariantIcon?: "primary" | "secondary" | "
|
|
27
|
-
buttonVariantRoot?: "primary" | "secondary" | "
|
|
28
|
-
checkboxSizeCheckbox?: "
|
|
29
|
-
checkboxSizeRoot?: "
|
|
30
|
-
checkboxVariantCheckbox?: "
|
|
31
|
-
checkboxVariantCheckboxIcon?: "
|
|
32
|
-
checkboxVariantRoot?: "
|
|
24
|
+
buttonSizeIcon?: "default" | "xs" | "sm" | "md" | "lg" | undefined;
|
|
25
|
+
buttonSizeRoot?: "default" | "xs" | "sm" | "md" | "lg" | undefined;
|
|
26
|
+
buttonVariantIcon?: "default" | "alert" | "primary" | "secondary" | "tertiary" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
27
|
+
buttonVariantRoot?: "default" | "alert" | "primary" | "secondary" | "tertiary" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "alert-tertiary" | "brand-tertiary" | "contrast-high" | "contrast-low" | "contrast-medium" | "info-tertiary" | "positive-tertiary" | "warning-tertiary" | undefined;
|
|
28
|
+
checkboxSizeCheckbox?: "default" | "sm" | "md" | undefined;
|
|
29
|
+
checkboxSizeRoot?: "default" | "sm" | "md" | undefined;
|
|
30
|
+
checkboxVariantCheckbox?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
31
|
+
checkboxVariantCheckboxIcon?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
32
|
+
checkboxVariantRoot?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
33
33
|
checkboxVariantValueCheckbox?: "checked" | "indeterminate" | "unchecked" | undefined;
|
|
34
34
|
checkboxVariantValueCheckboxIcon?: "checked" | "indeterminate" | "unchecked" | undefined;
|
|
35
35
|
checkboxVariantValueRoot?: "checked" | "indeterminate" | "unchecked" | undefined;
|
|
36
|
-
chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" |
|
|
37
|
-
chipDismissibleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" |
|
|
38
|
-
chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" |
|
|
39
|
-
chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" |
|
|
40
|
-
chipSizeIcon?: "
|
|
41
|
-
chipSizeRoot?: "
|
|
36
|
+
chipDismissibleVariantIcon?: "default" | "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
|
37
|
+
chipDismissibleVariantRoot?: "default" | "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
|
38
|
+
chipLinkVariantIcon?: "default" | "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
|
39
|
+
chipLinkVariantRoot?: "default" | "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
|
40
|
+
chipSizeIcon?: "default" | "sm" | "md" | undefined;
|
|
41
|
+
chipSizeRoot?: "default" | "sm" | "md" | undefined;
|
|
42
42
|
chipToggleVariantActiveIcon?: "off" | "on" | undefined;
|
|
43
43
|
chipToggleVariantActiveRoot?: "off" | "on" | undefined;
|
|
44
|
-
chipToggleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" |
|
|
45
|
-
chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" |
|
|
46
|
-
dividerVariantLabel?: "
|
|
47
|
-
dividerVariantLine?: "
|
|
48
|
-
dividerVariantRoot?: "
|
|
49
|
-
iconbuttonSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" |
|
|
50
|
-
iconbuttonSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" |
|
|
51
|
-
inputSizeEndIcon?: "
|
|
52
|
-
inputSizeHelperIcon?: "
|
|
53
|
-
inputSizeHelperText?: "
|
|
54
|
-
inputSizeInput?: "
|
|
55
|
-
inputSizeInputWrapper?: "
|
|
56
|
-
inputSizeLabel?: "
|
|
57
|
-
inputSizeRoot?: "
|
|
58
|
-
inputSizeStartIcon?: "
|
|
44
|
+
chipToggleVariantIcon?: "default" | "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
|
45
|
+
chipToggleVariantRoot?: "default" | "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
|
46
|
+
dividerVariantLabel?: "default" | "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
|
47
|
+
dividerVariantLine?: "default" | "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
|
48
|
+
dividerVariantRoot?: "default" | "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
|
49
|
+
iconbuttonSizeIcon?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
50
|
+
iconbuttonSizeRoot?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
51
|
+
inputSizeEndIcon?: "default" | "md" | "lg" | undefined;
|
|
52
|
+
inputSizeHelperIcon?: "default" | "md" | "lg" | undefined;
|
|
53
|
+
inputSizeHelperText?: "default" | "md" | "lg" | undefined;
|
|
54
|
+
inputSizeInput?: "default" | "md" | "lg" | undefined;
|
|
55
|
+
inputSizeInputWrapper?: "default" | "md" | "lg" | undefined;
|
|
56
|
+
inputSizeLabel?: "default" | "md" | "lg" | undefined;
|
|
57
|
+
inputSizeRoot?: "default" | "md" | "lg" | undefined;
|
|
58
|
+
inputSizeStartIcon?: "default" | "md" | "lg" | undefined;
|
|
59
59
|
inputVariantEndIcon?: "default" | undefined;
|
|
60
60
|
inputVariantHelperIcon?: "default" | undefined;
|
|
61
61
|
inputVariantHelperText?: "default" | undefined;
|
|
@@ -76,11 +76,11 @@ declare const getStylesInternal: (props?: ({
|
|
|
76
76
|
inputVariantValueLabelRequired?: "empty" | "filled" | undefined;
|
|
77
77
|
inputVariantValueRoot?: "empty" | "filled" | undefined;
|
|
78
78
|
inputVariantValueStartIcon?: "empty" | "filled" | undefined;
|
|
79
|
-
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
80
|
-
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" |
|
|
81
|
-
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" |
|
|
82
|
-
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" |
|
|
83
|
-
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" |
|
|
79
|
+
linkTextStyleIcon?: "default" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
80
|
+
linkTextStyleRoot?: "default" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
|
|
81
|
+
linkVariantIconEnd?: "default" | "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
|
82
|
+
linkVariantIconStart?: "default" | "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
|
83
|
+
linkVariantRoot?: "default" | "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
|
84
84
|
menucontentSizeRoot?: "default" | undefined;
|
|
85
85
|
menucontentVariantRoot?: "default" | undefined;
|
|
86
86
|
menuitemDividerVariantLine?: "default" | undefined;
|
|
@@ -103,19 +103,29 @@ declare const getStylesInternal: (props?: ({
|
|
|
103
103
|
menuitemSizeEndIcon?: "default" | undefined;
|
|
104
104
|
menuitemSizeRoot?: "default" | undefined;
|
|
105
105
|
menuitemSizeStartIcon?: "default" | undefined;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
106
|
+
popoverSizeCloseIcon?: "default" | undefined;
|
|
107
|
+
popoverSizeContentWrapper?: "default" | undefined;
|
|
108
|
+
popoverSizeRoot?: "default" | undefined;
|
|
109
|
+
popoverSizeSvgBase?: "default" | undefined;
|
|
110
|
+
popoverSizeSvgBorder?: "default" | undefined;
|
|
111
|
+
popoverVariantBlur?: "default" | undefined;
|
|
112
|
+
popoverVariantCloseIcon?: "default" | undefined;
|
|
113
|
+
popoverVariantRoot?: "default" | undefined;
|
|
114
|
+
popoverVariantSvgBase?: "default" | undefined;
|
|
115
|
+
popoverVariantSvgBorder?: "default" | undefined;
|
|
116
|
+
radioSizeRadio?: "default" | "sm" | "md" | undefined;
|
|
117
|
+
radioSizeRoot?: "default" | "sm" | "md" | undefined;
|
|
118
|
+
radioVariantRadio?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
119
|
+
radioVariantRadioCircle?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
120
|
+
radioVariantRoot?: "default" | "alert" | "primary" | "secondary" | "alert-secondary" | undefined;
|
|
111
121
|
radioVariantValueRadio?: "checked" | "unchecked" | undefined;
|
|
112
122
|
radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
|
|
113
123
|
radioVariantValueRoot?: "checked" | "unchecked" | undefined;
|
|
114
124
|
scrimVariantRoot?: "default" | undefined;
|
|
115
|
-
switchSizeHandle?: "
|
|
116
|
-
switchSizeHandleIcon?: "
|
|
117
|
-
switchSizeRoot?: "
|
|
118
|
-
switchSizeSwitch?: "
|
|
125
|
+
switchSizeHandle?: "default" | "sm" | "md" | undefined;
|
|
126
|
+
switchSizeHandleIcon?: "default" | "sm" | "md" | undefined;
|
|
127
|
+
switchSizeRoot?: "default" | "sm" | "md" | undefined;
|
|
128
|
+
switchSizeSwitch?: "default" | "sm" | "md" | undefined;
|
|
119
129
|
switchVariantActiveHandle?: "off" | "on" | undefined;
|
|
120
130
|
switchVariantActiveHandleIcon?: "off" | "on" | undefined;
|
|
121
131
|
switchVariantActiveRoot?: "off" | "on" | undefined;
|
|
@@ -129,10 +139,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
129
139
|
toastSizeIcon?: "default" | undefined;
|
|
130
140
|
toastSizeLabel?: "default" | undefined;
|
|
131
141
|
toastSizeRoot?: "default" | undefined;
|
|
132
|
-
toastVariantActionButton?: "
|
|
133
|
-
toastVariantCloseIcon?: "
|
|
134
|
-
toastVariantIcon?: "
|
|
135
|
-
toastVariantRoot?: "
|
|
142
|
+
toastVariantActionButton?: "default" | "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
143
|
+
toastVariantCloseIcon?: "default" | "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
144
|
+
toastVariantIcon?: "default" | "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
145
|
+
toastVariantRoot?: "default" | "warning" | "info" | "error" | "loading" | "success" | undefined;
|
|
136
146
|
tooltipSizeBody?: "default" | undefined;
|
|
137
147
|
tooltipSizeEndContent?: "default" | undefined;
|
|
138
148
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -143,14 +153,14 @@ declare const getStylesInternal: (props?: ({
|
|
|
143
153
|
tooltipVariantIcon?: "default" | undefined;
|
|
144
154
|
tooltipVariantRoot?: "default" | undefined;
|
|
145
155
|
tooltipVariantSvg?: "default" | undefined;
|
|
146
|
-
color?: "primary" | "secondary" | "
|
|
147
|
-
placeholderColor?: "primary" | "secondary" | "
|
|
156
|
+
color?: "alert" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | undefined;
|
|
157
|
+
placeholderColor?: "alert" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | undefined;
|
|
148
158
|
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;
|
|
149
159
|
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;
|
|
150
|
-
fontWeight?: "black" | "
|
|
160
|
+
fontWeight?: "black" | "bold" | "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" | "thin" | "extralight" | "light" | "regular" | "medium" | "semibold" | "extrabold" | undefined;
|
|
151
161
|
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;
|
|
152
162
|
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;
|
|
153
|
-
textAlign?: "
|
|
163
|
+
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
154
164
|
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;
|
|
155
165
|
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;
|
|
156
166
|
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;
|
|
@@ -168,50 +178,50 @@ declare const getStylesInternal: (props?: ({
|
|
|
168
178
|
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;
|
|
169
179
|
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;
|
|
170
180
|
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;
|
|
171
|
-
backgroundColor?: "
|
|
172
|
-
borderColor?: "primary" | "secondary" | "
|
|
173
|
-
borderStartColor?: "primary" | "secondary" | "
|
|
174
|
-
borderEndColor?: "primary" | "secondary" | "
|
|
175
|
-
borderBottomColor?: "primary" | "secondary" | "
|
|
176
|
-
borderTopColor?: "primary" | "secondary" | "
|
|
181
|
+
backgroundColor?: "alert" | "primary" | "secondary" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-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;
|
|
182
|
+
borderColor?: "alert" | "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-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;
|
|
183
|
+
borderStartColor?: "alert" | "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-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;
|
|
184
|
+
borderEndColor?: "alert" | "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-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;
|
|
185
|
+
borderBottomColor?: "alert" | "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-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;
|
|
186
|
+
borderTopColor?: "alert" | "primary" | "secondary" | "tertiary" | "muted" | "accent" | "brand" | "positive" | "warning" | "info" | "alert-secondary" | "brand-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;
|
|
177
187
|
borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
178
188
|
borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
179
189
|
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
180
190
|
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
181
191
|
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
182
|
-
borderWidth?: "
|
|
183
|
-
borderVerticalWidth?: "
|
|
184
|
-
borderHorizontalWidth?: "
|
|
185
|
-
borderStartWidth?: "
|
|
186
|
-
borderEndWidth?: "
|
|
187
|
-
borderTopWidth?: "
|
|
188
|
-
borderBottomWidth?: "
|
|
192
|
+
borderWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
193
|
+
borderVerticalWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
194
|
+
borderHorizontalWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
195
|
+
borderStartWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
196
|
+
borderEndWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
197
|
+
borderTopWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
198
|
+
borderBottomWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
189
199
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
190
200
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
191
201
|
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
192
202
|
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
193
|
-
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" |
|
|
194
|
-
flex?: "
|
|
203
|
+
alignSelf?: "auto" | "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
204
|
+
flex?: "none" | "auto" | "1" | "initial" | undefined;
|
|
195
205
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
196
206
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
197
207
|
flexShrink?: "0" | "1" | undefined;
|
|
198
208
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
199
209
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
200
210
|
flexBasis?: "min-content" | undefined;
|
|
201
|
-
display?: "flex" | "
|
|
211
|
+
display?: "flex" | "none" | "grid" | "table" | "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" | "contents" | undefined;
|
|
202
212
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
203
213
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
204
214
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
205
|
-
position?: "
|
|
215
|
+
position?: "fixed" | "absolute" | "static" | "relative" | "sticky" | undefined;
|
|
206
216
|
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
207
217
|
colorMode?: "light" | "dark" | undefined;
|
|
208
218
|
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
209
219
|
width?: "full" | "fit" | "screen" | undefined;
|
|
210
220
|
height?: "full" | "fit" | "screen" | undefined;
|
|
211
|
-
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "
|
|
221
|
+
dropShadow?: "none" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
212
222
|
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
213
223
|
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
214
|
-
nestedBorderRadiusWidth?: "
|
|
224
|
+
nestedBorderRadiusWidth?: "none" | "thin" | "medium" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "thick" | undefined;
|
|
215
225
|
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;
|
|
216
226
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
217
227
|
} & {
|