@yahoo/uds 3.116.3 → 3.117.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 +11 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +11 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +11 -0
- package/dist/automated-config/dist/generated/autoVariants.js +11 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1890 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +208 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +208 -1
- package/dist/automated-config/dist/generated/generatedConfigs.js +1890 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +83 -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 +83 -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 +175 -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 +173 -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/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 +33 -96
- package/dist/components/client/Tooltip/TooltipContent.js +34 -97
- 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 +84 -1
- package/dist/config/dist/index.js +84 -1
- package/dist/hooks/useSvgFloatingContent.cjs +236 -0
- 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} +94 -44
- 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 +36 -0
- package/dist/runtime/popoverConfig.d.cts +25 -0
- package/dist/runtime/popoverConfig.d.ts +25 -0
- package/dist/runtime/popoverConfig.js +35 -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 +114 -103
- package/dist/styles/styler.d.ts +114 -103
- package/dist/styles/variants.d.cts +33 -0
- package/dist/styles/variants.d.ts +33 -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 +1296 -1134
- package/dist/uds/generated/componentData.js +1262 -1136
- package/dist/uds/generated/tailwindPurge.cjs +55 -27
- package/dist/uds/generated/tailwindPurge.js +55 -27
- 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 +1628 -1469
- package/generated/tailwindPurge.ts +4 -4
- package/package.json +1 -1
- package/dist/components/client/Tooltip/useTooltipContent.cjs +0 -186
- 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/{components/client/Tooltip/useTooltipContent.js → hooks/useSvgFloatingContent.js}
RENAMED
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
3
|
-
import { DROP_SHADOW_PREFIX } from "
|
|
4
|
-
import {
|
|
2
|
+
import { DROP_SHADOW_PREFIX } from "../css-tokens/dist/index.js";
|
|
3
|
+
import { parseShadow } from "../utils/parseShadow.js";
|
|
4
|
+
import { generateSvgFloatingContentPath, getArrowClampDelta, getArrowSide } from "../utils/svgFloatingContentUtils.js";
|
|
5
5
|
import { useCallback, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
6
6
|
|
|
7
|
-
//#region src/
|
|
8
|
-
function
|
|
7
|
+
//#region src/hooks/useSvgFloatingContent.ts
|
|
8
|
+
function useSvgFloatingContent({ open, effectivePlacement, borderRadius, arrowRef, animationDuration, hideArrow = false, arrowWidth, arrowHeight, arrowTipRadiusFraction }) {
|
|
9
9
|
const internalRef = useRef(null);
|
|
10
10
|
const shadowFilterId = useId();
|
|
11
11
|
const [dimensions, setDimensions] = useState({
|
|
12
12
|
width: 0,
|
|
13
13
|
height: 0
|
|
14
14
|
});
|
|
15
|
-
const maxWidthClass = useMemo(() => {
|
|
16
|
-
if (maxWidth !== void 0) return typeof maxWidth === "number" ? `max-w-[${maxWidth}px]` : `max-w-[${maxWidth}]`;
|
|
17
|
-
return "max-w-lg";
|
|
18
|
-
}, [maxWidth]);
|
|
19
15
|
useEffect(() => {
|
|
20
16
|
const el = internalRef.current;
|
|
21
17
|
if (!el) return;
|
|
@@ -49,12 +45,12 @@ function useTooltipContent({ open, effectivePlacement, maxWidth, borderRadius, a
|
|
|
49
45
|
const [arrowCenter, setArrowCenter] = useState(void 0);
|
|
50
46
|
const computeArrowCenter = useCallback(() => {
|
|
51
47
|
const arrowEl = arrowRef.current;
|
|
52
|
-
const
|
|
53
|
-
if (!arrowEl || !
|
|
48
|
+
const el = internalRef.current;
|
|
49
|
+
if (!arrowEl || !el) return;
|
|
54
50
|
const arrowRect = arrowEl.getBoundingClientRect();
|
|
55
|
-
const
|
|
51
|
+
const rect = el.getBoundingClientRect();
|
|
56
52
|
const side = getArrowSide(effectivePlacement);
|
|
57
|
-
const raw = side === "top" || side === "bottom" ? arrowRect.left + arrowRect.width / 2 -
|
|
53
|
+
const raw = side === "top" || side === "bottom" ? arrowRect.left + arrowRect.width / 2 - rect.left : arrowRect.top + arrowRect.height / 2 - rect.top;
|
|
58
54
|
return Math.round(raw);
|
|
59
55
|
}, [arrowRef, effectivePlacement]);
|
|
60
56
|
const onPositionUpdate = useCallback(async ({ updatePosition }) => {
|
|
@@ -71,81 +67,132 @@ function useTooltipContent({ open, effectivePlacement, maxWidth, borderRadius, a
|
|
|
71
67
|
});
|
|
72
68
|
readShadows();
|
|
73
69
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
if (!hideArrow) {
|
|
71
|
+
const next = computeArrowCenter();
|
|
72
|
+
if (next !== void 0) setArrowCenter((prev) => prev === next ? prev : next);
|
|
73
|
+
}
|
|
74
|
+
}, [
|
|
75
|
+
computeArrowCenter,
|
|
76
|
+
readShadows,
|
|
77
|
+
hideArrow
|
|
78
|
+
]);
|
|
77
79
|
const svgPath = useMemo(() => {
|
|
78
|
-
return dimensions.width > 0 && dimensions.height > 0 ?
|
|
80
|
+
return dimensions.width > 0 && dimensions.height > 0 ? generateSvgFloatingContentPath({
|
|
79
81
|
width: dimensions.width,
|
|
80
82
|
height: dimensions.height,
|
|
81
83
|
placement: effectivePlacement,
|
|
82
84
|
borderRadius,
|
|
83
|
-
arrowCenter
|
|
85
|
+
arrowCenter: hideArrow ? void 0 : arrowCenter,
|
|
86
|
+
arrowWidth,
|
|
87
|
+
arrowHeight,
|
|
88
|
+
arrowTipRadiusFraction,
|
|
89
|
+
...hideArrow && {
|
|
90
|
+
arrowWidth: 0,
|
|
91
|
+
arrowHeight: 0
|
|
92
|
+
}
|
|
84
93
|
}) : null;
|
|
85
94
|
}, [
|
|
86
95
|
effectivePlacement,
|
|
87
96
|
dimensions.width,
|
|
88
97
|
dimensions.height,
|
|
89
98
|
borderRadius,
|
|
90
|
-
arrowCenter
|
|
99
|
+
arrowCenter,
|
|
100
|
+
hideArrow,
|
|
101
|
+
arrowWidth,
|
|
102
|
+
arrowHeight,
|
|
103
|
+
arrowTipRadiusFraction
|
|
91
104
|
]);
|
|
92
105
|
const blurClipPath = useMemo(() => {
|
|
93
106
|
if (dimensions.width <= 0 || dimensions.height <= 0) return null;
|
|
107
|
+
if (hideArrow) return generateSvgFloatingContentPath({
|
|
108
|
+
width: dimensions.width,
|
|
109
|
+
height: dimensions.height,
|
|
110
|
+
placement: effectivePlacement,
|
|
111
|
+
borderRadius,
|
|
112
|
+
arrowWidth: 0,
|
|
113
|
+
arrowHeight: 0,
|
|
114
|
+
arrowTipRadiusFraction
|
|
115
|
+
});
|
|
94
116
|
const arrowSide = getArrowSide(effectivePlacement);
|
|
95
|
-
const offsetX = arrowSide === "left" ?
|
|
96
|
-
const offsetY = arrowSide === "top" ?
|
|
97
|
-
return
|
|
117
|
+
const offsetX = arrowSide === "left" ? arrowHeight : 0;
|
|
118
|
+
const offsetY = arrowSide === "top" ? arrowHeight : 0;
|
|
119
|
+
return generateSvgFloatingContentPath({
|
|
98
120
|
width: dimensions.width,
|
|
99
121
|
height: dimensions.height,
|
|
100
122
|
placement: effectivePlacement,
|
|
101
123
|
borderRadius,
|
|
102
124
|
arrowCenter,
|
|
103
125
|
offsetX,
|
|
104
|
-
offsetY
|
|
126
|
+
offsetY,
|
|
127
|
+
arrowWidth,
|
|
128
|
+
arrowHeight,
|
|
129
|
+
arrowTipRadiusFraction
|
|
105
130
|
});
|
|
106
131
|
}, [
|
|
107
132
|
effectivePlacement,
|
|
108
133
|
dimensions.width,
|
|
109
134
|
dimensions.height,
|
|
110
135
|
borderRadius,
|
|
111
|
-
arrowCenter
|
|
136
|
+
arrowCenter,
|
|
137
|
+
hideArrow,
|
|
138
|
+
arrowHeight,
|
|
139
|
+
arrowWidth,
|
|
140
|
+
arrowTipRadiusFraction
|
|
112
141
|
]);
|
|
113
142
|
const blurStyle = useMemo(() => {
|
|
114
|
-
const style = {
|
|
115
|
-
|
|
143
|
+
const style = {};
|
|
144
|
+
if (blurClipPath && dimensions.width > 0 && dimensions.height > 0) {
|
|
145
|
+
let maskWidth = dimensions.width;
|
|
146
|
+
let maskHeight = dimensions.height;
|
|
147
|
+
if (!hideArrow) {
|
|
148
|
+
const arrowSide = getArrowSide(effectivePlacement);
|
|
149
|
+
if (arrowSide === "top" || arrowSide === "bottom") maskHeight += arrowHeight;
|
|
150
|
+
else maskWidth += arrowHeight;
|
|
151
|
+
}
|
|
152
|
+
const svgMask = `<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${maskWidth} ${maskHeight}'><path d='${blurClipPath}' fill='white'/></svg>`;
|
|
153
|
+
const maskUrl = `url("data:image/svg+xml,${encodeURIComponent(svgMask)}")`;
|
|
154
|
+
style.WebkitMaskImage = maskUrl;
|
|
155
|
+
style.maskImage = maskUrl;
|
|
156
|
+
style.WebkitMaskSize = "100% 100%";
|
|
157
|
+
style.maskSize = "100% 100%";
|
|
158
|
+
}
|
|
159
|
+
if (!hideArrow) switch (getArrowSide(effectivePlacement)) {
|
|
116
160
|
case "top":
|
|
117
|
-
style.height = `calc(100% + ${
|
|
161
|
+
style.height = `calc(100% + ${arrowHeight}px)`;
|
|
118
162
|
style.top = "auto";
|
|
119
163
|
style.bottom = "0";
|
|
120
164
|
break;
|
|
121
165
|
case "bottom":
|
|
122
|
-
style.height = `calc(100% + ${
|
|
166
|
+
style.height = `calc(100% + ${arrowHeight}px)`;
|
|
123
167
|
break;
|
|
124
168
|
case "left":
|
|
125
|
-
style.width = `calc(100% + ${
|
|
169
|
+
style.width = `calc(100% + ${arrowHeight}px)`;
|
|
126
170
|
style.left = "auto";
|
|
127
171
|
style.right = "0";
|
|
128
172
|
break;
|
|
129
173
|
case "right":
|
|
130
|
-
style.width = `calc(100% + ${
|
|
174
|
+
style.width = `calc(100% + ${arrowHeight}px)`;
|
|
131
175
|
break;
|
|
132
176
|
}
|
|
133
177
|
return style;
|
|
134
|
-
}, [
|
|
178
|
+
}, [
|
|
179
|
+
blurClipPath,
|
|
180
|
+
dimensions.width,
|
|
181
|
+
dimensions.height,
|
|
182
|
+
effectivePlacement,
|
|
183
|
+
hideArrow,
|
|
184
|
+
arrowHeight
|
|
185
|
+
]);
|
|
135
186
|
const [visible, setVisible] = useState(false);
|
|
136
|
-
if ((!open || !svgPath) && visible) setVisible(false);
|
|
137
187
|
useEffect(() => {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
return () => cancelAnimationFrame(raf);
|
|
143
|
-
}
|
|
188
|
+
const raf = requestAnimationFrame(() => {
|
|
189
|
+
setVisible(open && !!svgPath);
|
|
190
|
+
});
|
|
191
|
+
return () => cancelAnimationFrame(raf);
|
|
144
192
|
}, [open, svgPath]);
|
|
145
193
|
return {
|
|
146
194
|
internalRef,
|
|
147
195
|
shadowFilterId,
|
|
148
|
-
maxWidthClass,
|
|
149
196
|
dimensions,
|
|
150
197
|
shadows,
|
|
151
198
|
shadowPadding,
|
|
@@ -157,8 +204,8 @@ function useTooltipContent({ open, effectivePlacement, maxWidth, borderRadius, a
|
|
|
157
204
|
opacity: visible ? 1 : 0,
|
|
158
205
|
transition: `opacity ${animationDuration}ms ease-in-out`
|
|
159
206
|
},
|
|
160
|
-
|
|
161
|
-
if (arrowCenter === void 0 || dimensions.width <= 0 || dimensions.height <= 0) return {
|
|
207
|
+
shift: useMemo(() => {
|
|
208
|
+
if (hideArrow || arrowCenter === void 0 || dimensions.width <= 0 || dimensions.height <= 0) return {
|
|
162
209
|
x: 0,
|
|
163
210
|
y: 0
|
|
164
211
|
};
|
|
@@ -167,18 +214,21 @@ function useTooltipContent({ open, effectivePlacement, maxWidth, borderRadius, a
|
|
|
167
214
|
height: dimensions.height,
|
|
168
215
|
placement: effectivePlacement,
|
|
169
216
|
borderRadius,
|
|
170
|
-
arrowCenter
|
|
217
|
+
arrowCenter,
|
|
218
|
+
arrowWidth
|
|
171
219
|
});
|
|
172
220
|
}, [
|
|
221
|
+
hideArrow,
|
|
173
222
|
arrowCenter,
|
|
174
223
|
dimensions.width,
|
|
175
224
|
dimensions.height,
|
|
176
225
|
effectivePlacement,
|
|
177
|
-
borderRadius
|
|
226
|
+
borderRadius,
|
|
227
|
+
arrowWidth
|
|
178
228
|
]),
|
|
179
229
|
onPositionUpdate
|
|
180
230
|
};
|
|
181
231
|
}
|
|
182
232
|
|
|
183
233
|
//#endregion
|
|
184
|
-
export {
|
|
234
|
+
export { useSvgFloatingContent };
|
package/dist/index.cjs
CHANGED
|
@@ -52,6 +52,20 @@ const require_components_client_IconButton = require('./components/client/IconBu
|
|
|
52
52
|
const require_components_client_Input_Input = require('./components/client/Input/Input.cjs');
|
|
53
53
|
const require_components_client_Input_InputHelpText = require('./components/client/Input/InputHelpText.cjs');
|
|
54
54
|
const require_components_client_Menu_Menu_index = require('./components/client/Menu/Menu.index.cjs');
|
|
55
|
+
const require_components_client_Popover_UDSPopoverConfigProvider = require('./components/client/Popover/UDSPopoverConfigProvider.cjs');
|
|
56
|
+
const require_components_client_Popover_Popover = require('./components/client/Popover/Popover.cjs');
|
|
57
|
+
const require_generatedConfigs = require('./automated-config/dist/generated/generatedConfigs.cjs');
|
|
58
|
+
const require_tokens_configs_shadow = require('./tokens/configs/shadow.cjs');
|
|
59
|
+
const require_index$3 = require('./modes/dist/index.cjs');
|
|
60
|
+
const require_index$4 = require('./fonts/dist/index.cjs');
|
|
61
|
+
const require_tokens_parseButtonVariants = require('./tokens/parseButtonVariants.cjs');
|
|
62
|
+
const require_tokens_utils_entries = require('./tokens/utils/entries.cjs');
|
|
63
|
+
const require_tokens_utils_fromEntries = require('./tokens/utils/fromEntries.cjs');
|
|
64
|
+
const require_tokens_utils_getFontUrls = require('./tokens/utils/getFontUrls.cjs');
|
|
65
|
+
const require_tokens_utils_mapValues = require('./tokens/utils/mapValues.cjs');
|
|
66
|
+
const require_tokens_utils_spectrum = require('./tokens/utils/spectrum.cjs');
|
|
67
|
+
const require_components_client_Popover_PopoverContent = require('./components/client/Popover/PopoverContent.cjs');
|
|
68
|
+
const require_components_client_Popover_PopoverTrigger = require('./components/client/Popover/PopoverTrigger.cjs');
|
|
55
69
|
const require_components_client_providers_UDSBreakpointsConfigProvider = require('./components/client/providers/UDSBreakpointsConfigProvider.cjs');
|
|
56
70
|
const require_components_client_Toast_UDSToastConfigProvider = require('./components/client/Toast/UDSToastConfigProvider.cjs');
|
|
57
71
|
const require_components_client_Tooltip_UDSTooltipConfigProvider = require('./components/client/Tooltip/UDSTooltipConfigProvider.cjs');
|
|
@@ -59,25 +73,16 @@ const require_components_client_providers_UDSConfigProvider = require('./compone
|
|
|
59
73
|
const require_components_client_Radio_Radio = require('./components/client/Radio/Radio.cjs');
|
|
60
74
|
const require_components_client_Radio_RadioGroupProvider = require('./components/client/Radio/RadioGroupProvider.cjs');
|
|
61
75
|
const require_components_client_Switch = require('./components/client/Switch.cjs');
|
|
62
|
-
const require_tokens_utils_fromEntries = require('./tokens/utils/fromEntries.cjs');
|
|
63
76
|
const require_components_client_Toast_ToastContainer = require('./components/client/Toast/ToastContainer.cjs');
|
|
64
77
|
const require_components_client_Toast_Toast = require('./components/client/Toast/Toast.cjs');
|
|
65
78
|
const require_components_client_Toast_createToast = require('./components/client/Toast/createToast.cjs');
|
|
66
79
|
const require_components_client_Toast_ToastPortal = require('./components/client/Toast/ToastPortal.cjs');
|
|
67
80
|
const require_components_client_Tooltip_Tooltip = require('./components/client/Tooltip/Tooltip.cjs');
|
|
68
|
-
const require_generatedConfigs = require('./automated-config/dist/generated/generatedConfigs.cjs');
|
|
69
|
-
const require_tokens_configs_shadow = require('./tokens/configs/shadow.cjs');
|
|
70
|
-
const require_index$3 = require('./modes/dist/index.cjs');
|
|
71
|
-
const require_index$4 = require('./fonts/dist/index.cjs');
|
|
72
|
-
const require_tokens_parseButtonVariants = require('./tokens/parseButtonVariants.cjs');
|
|
73
|
-
const require_tokens_utils_entries = require('./tokens/utils/entries.cjs');
|
|
74
|
-
const require_tokens_utils_getFontUrls = require('./tokens/utils/getFontUrls.cjs');
|
|
75
|
-
const require_tokens_utils_mapValues = require('./tokens/utils/mapValues.cjs');
|
|
76
|
-
const require_tokens_utils_spectrum = require('./tokens/utils/spectrum.cjs');
|
|
77
81
|
const require_components_client_Tooltip_TooltipContent = require('./components/client/Tooltip/TooltipContent.cjs');
|
|
78
82
|
const require_components_client_Tooltip_TooltipTrigger = require('./components/client/Tooltip/TooltipTrigger.cjs');
|
|
79
83
|
const require_runtime_bottomSheetConfig = require('./runtime/bottomSheetConfig.cjs');
|
|
80
84
|
const require_runtime_breakpointsConfig = require('./runtime/breakpointsConfig.cjs');
|
|
85
|
+
const require_runtime_popoverConfig = require('./runtime/popoverConfig.cjs');
|
|
81
86
|
const require_runtime_toastConfig = require('./runtime/toastConfig.cjs');
|
|
82
87
|
const require_runtime_tooltipConfig = require('./runtime/tooltipConfig.cjs');
|
|
83
88
|
const require_runtime_udsConfig = require('./runtime/udsConfig.cjs');
|
|
@@ -169,6 +174,10 @@ exports.MenuContentConfig = require_generatedConfigs.MenuContentConfig;
|
|
|
169
174
|
exports.MenuItemConfig = require_generatedConfigs.MenuItemConfig;
|
|
170
175
|
exports.OUTLINE_PREFIX = require_index$1.OUTLINE_PREFIX;
|
|
171
176
|
exports.PSEUDO_STYLE_SELECTOR_MAP = require_index$1.PSEUDO_STYLE_SELECTOR_MAP;
|
|
177
|
+
exports.Popover = require_components_client_Popover_Popover.Popover;
|
|
178
|
+
exports.PopoverConfig = require_generatedConfigs.PopoverConfig;
|
|
179
|
+
exports.PopoverContent = require_components_client_Popover_PopoverContent.PopoverContent;
|
|
180
|
+
exports.PopoverTrigger = require_components_client_Popover_PopoverTrigger.PopoverTrigger;
|
|
172
181
|
exports.Pressable = require_components_client_Pressable.Pressable;
|
|
173
182
|
exports.Radio = require_components_client_Radio_Radio.Radio;
|
|
174
183
|
exports.RadioConfig = require_generatedConfigs.RadioConfig;
|
|
@@ -195,6 +204,7 @@ exports.TooltipContent = require_components_client_Tooltip_TooltipContent.Toolti
|
|
|
195
204
|
exports.TooltipTrigger = require_components_client_Tooltip_TooltipTrigger.TooltipTrigger;
|
|
196
205
|
exports.UDSBreakpointsConfigProvider = require_components_client_providers_UDSBreakpointsConfigProvider.UDSBreakpointsConfigProvider;
|
|
197
206
|
exports.UDSConfigProvider = require_components_client_providers_UDSConfigProvider.UDSConfigProvider;
|
|
207
|
+
exports.UDSPopoverConfigProvider = require_components_client_Popover_UDSPopoverConfigProvider.UDSPopoverConfigProvider;
|
|
198
208
|
exports.UDSToastConfigProvider = require_components_client_Toast_UDSToastConfigProvider.UDSToastConfigProvider;
|
|
199
209
|
exports.UDSTooltipConfigProvider = require_components_client_Tooltip_UDSTooltipConfigProvider.UDSTooltipConfigProvider;
|
|
200
210
|
exports.UDS_PREFIX = require_index$1.UDS_PREFIX;
|
|
@@ -209,6 +219,7 @@ exports.cartesianProduct = require_cartesianProduct.cartesianProduct;
|
|
|
209
219
|
exports.coalesceConfigVariant = require_coalesceConfigVariant.coalesceConfigVariant;
|
|
210
220
|
exports.configToBottomSheetConfigContext = require_runtime_bottomSheetConfig.configToBottomSheetConfigContext;
|
|
211
221
|
exports.configToBreakpointsConfigContext = require_runtime_breakpointsConfig.configToBreakpointsConfigContext;
|
|
222
|
+
exports.configToPopoverConfigContext = require_runtime_popoverConfig.configToPopoverConfigContext;
|
|
212
223
|
exports.configToToastConfigContext = require_runtime_toastConfig.configToToastConfigContext;
|
|
213
224
|
exports.configToTooltipConfigContext = require_runtime_tooltipConfig.configToTooltipConfigContext;
|
|
214
225
|
exports.configToUDSConfigContext = require_runtime_udsConfig.configToUDSConfigContext;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { variants } from "./styles/variants.cjs";
|
|
3
|
-
import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.cjs";
|
|
4
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, LinkableValue, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "./types/dist/index.cjs";
|
|
3
|
+
import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.cjs";
|
|
4
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, LinkableValue, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, PopoverPlacement, PopoverSize, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "./types/dist/index.cjs";
|
|
5
5
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "./automated-config/dist/types/ComponentConfig.cjs";
|
|
6
6
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "./automated-config/dist/properties.cjs";
|
|
7
7
|
import { ComponentSchema, buildConfigSchema, findFixtureType } from "./automated-config/dist/utils/buildConfigSchema.cjs";
|
|
@@ -76,27 +76,32 @@ import { MenuItemCheckboxProps } from "./components/client/Menu/Menu.ItemCheckbo
|
|
|
76
76
|
import { MenuPlacement, MenuProviderProps } from "./components/client/Menu/Menu.Provider.cjs";
|
|
77
77
|
import { MenuTriggerProps } from "./components/client/Menu/Menu.Trigger.cjs";
|
|
78
78
|
import { Menu_index_d_exports } from "./components/client/Menu/Menu.index.cjs";
|
|
79
|
+
import { Popover } from "./components/client/Popover/Popover.cjs";
|
|
80
|
+
import { PopoverTrigger } from "./components/client/Popover/PopoverTrigger.cjs";
|
|
81
|
+
import { UDSPopoverConfigContextType, configToPopoverConfigContext } from "./runtime/popoverConfig.cjs";
|
|
82
|
+
import { UDSPopoverConfigProvider, UDSPopoverConfigProviderProps } from "./components/client/Popover/UDSPopoverConfigProvider.cjs";
|
|
83
|
+
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./runtime/breakpointsConfig.cjs";
|
|
84
|
+
import { UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, useBreakpointsConfig } from "./components/client/providers/UDSBreakpointsConfigProvider.cjs";
|
|
85
|
+
import { UDSToastConfigContextType, configToToastConfigContext } from "./runtime/toastConfig.cjs";
|
|
86
|
+
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./runtime/tooltipConfig.cjs";
|
|
87
|
+
import { UDSConfigContextType, configToUDSConfigContext } from "./runtime/udsConfig.cjs";
|
|
88
|
+
import { UDSConfigProvider, UDSConfigProviderProps } from "./components/client/providers/UDSConfigProvider.cjs";
|
|
79
89
|
import { Radio, RadioProps } from "./components/client/Radio/Radio.cjs";
|
|
80
90
|
import { RadioGroupProvider, RadioGroupProviderProps } from "./components/client/Radio/RadioGroupProvider.cjs";
|
|
81
91
|
import { Switch, SwitchProps } from "./components/client/Switch.cjs";
|
|
82
92
|
import { Toast, ToastProps } from "./components/client/Toast/Toast.cjs";
|
|
93
|
+
import { ToastLoadingPromise, createToast } from "./components/client/Toast/createToast.cjs";
|
|
83
94
|
import { ToastContainer, ToastContainerProps } from "./components/client/Toast/ToastContainer.cjs";
|
|
84
95
|
import { ToastPortal, ToastPortalProps } from "./components/client/Toast/ToastPortal.cjs";
|
|
85
|
-
import { UDSToastConfigContextType, configToToastConfigContext } from "./runtime/toastConfig.cjs";
|
|
86
96
|
import { UDSToastConfigProvider, UDSToastConfigProviderProps, useToastConfig } from "./components/client/Toast/UDSToastConfigProvider.cjs";
|
|
87
|
-
import { ToastLoadingPromise, createToast } from "./components/client/Toast/createToast.cjs";
|
|
88
97
|
import { Tooltip } from "./components/client/Tooltip/Tooltip.cjs";
|
|
89
98
|
import { TooltipContent } from "./components/client/Tooltip/TooltipContent.cjs";
|
|
90
99
|
import { TooltipTrigger } from "./components/client/Tooltip/TooltipTrigger.cjs";
|
|
91
|
-
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./runtime/tooltipConfig.cjs";
|
|
92
100
|
import { UDSTooltipConfigProvider, UDSTooltipConfigProviderProps } from "./components/client/Tooltip/UDSTooltipConfigProvider.cjs";
|
|
93
|
-
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./runtime/breakpointsConfig.cjs";
|
|
94
|
-
import { UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, useBreakpointsConfig } from "./components/client/providers/UDSBreakpointsConfigProvider.cjs";
|
|
95
|
-
import { UDSConfigContextType, configToUDSConfigContext } from "./runtime/udsConfig.cjs";
|
|
96
|
-
import { UDSConfigProvider, UDSConfigProviderProps } from "./components/client/providers/UDSConfigProvider.cjs";
|
|
97
101
|
import "./components/index.cjs";
|
|
98
102
|
import "./runtime/index.cjs";
|
|
99
103
|
import { SetState } from "./types.cjs";
|
|
100
104
|
import { defineTheme } from "./tailwind/dist/css/theme.cjs";
|
|
101
105
|
import "./tailwind/dist/index.cjs";
|
|
102
|
-
|
|
106
|
+
import { PopoverContent } from "./components/client/Popover/PopoverContent.cjs";
|
|
107
|
+
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, Avatar, AvatarAbbreviationStrategy, AvatarConfig, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarText, AvatarTextProps, AvatarVariant, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, Badge, BadgeConfig, BadgeProps, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetContentProps, BottomSheetController, BottomSheetDismiss, BottomSheetDismissProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetHeight, BottomSheetProps, BottomSheetProvider, BottomSheetProviderProps, BottomSheetSnapPoints, BottomSheetTrigger, BottomSheetTriggerProps, BottomSheetVariant, Box, BoxProps, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, Button, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonProps, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, Checkbox, CheckboxConfig, CheckboxProps, CheckboxSize, CheckboxValue, CheckboxVariant, Chip, ChipButton, ChipButtonProps, ChipConfig, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipSize, ChipToggle, ChipToggleProps, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentSchema, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, Divider, DividerConfig, DividerProps, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontUrlConfig, FontUrlMap, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, FormLabel, FormLabelProps, GenericIconComponent, GetMotionVarParams, GlobalDefaultsConfig, HStack, HStackProps, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, IconButtonProps, IconButtonSize, IconPixelSize, IconProps, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, Image, ImageProps, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, Input, InputConfig, InputHelpText, InputHelpTextProps, InputProps, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Link, LinkConfig, LinkProps, LinkTextVariant, LinkVariant, LinkableValue, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MaxLengthArray, Menu_index_d_exports as Menu, MenuContentConfig, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemConfig, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OUTLINE_PREFIX, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Popover, PopoverConfig, PopoverContent, UniversalPopoverContentProps as PopoverContentProps, PopoverPlacement, UniversalPopoverProps as PopoverProps, PopoverSize, PopoverTrigger, UniversalPopoverTriggerProps as PopoverTriggerProps, Position, PossibleStates, PossibleStatesWithRest, Pressable, PressableProps, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, Radio, RadioConfig, RadioGroupProvider, RadioGroupProviderProps, RadioProps, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ResolvedTokensConfig, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SVGElementProps, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, Scrim, ScrimConfig, ScrimProps, SelectedConfigurableProperty, SetState, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, SpringMotionConfig, SpringMotionConfigProps, StateStyleProps, StyleProps, SubComponentConfig, Switch, SwitchConfig, SwitchProps, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, Text, TextDecorationLine, TextProperty, TextProps, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, Toast, ToastConfig, ToastContainer, ToastContainerProps, ToastLoadingPromise, ToastPortal, ToastPortalProps, ToastPosition, ToastProps, ToastSize, ToastVariant, Tooltip, TooltipConfig, TooltipContent, UniversalTooltipContentProps as TooltipContentProps, TooltipPlacement, UniversalTooltipProps as TooltipProps, TooltipSize, TooltipTrigger, UniversalTooltipTriggerProps as TooltipTriggerProps, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, UDSConfigContextType, UDSConfigProvider, UDSConfigProviderProps, UDSPopoverConfigContextType, UDSPopoverConfigProvider, UDSPopoverConfigProviderProps, UDSToastConfigContextType, UDSToastConfigProvider, UDSToastConfigProviderProps, UDSTooltipConfigContextType, UDSTooltipConfigProvider, UDSTooltipConfigProviderProps, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfig, UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VStack, VStackProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { variants } from "./styles/variants.js";
|
|
3
|
-
import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.js";
|
|
4
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, LinkableValue, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "./types/dist/index.js";
|
|
3
|
+
import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.js";
|
|
4
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheetHeight, BottomSheetSnapPoints, BottomSheetVariant, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, LinkableValue, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, PopoverPlacement, PopoverSize, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TooltipPlacement, TooltipSize, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps } from "./types/dist/index.js";
|
|
5
5
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "./automated-config/dist/types/ComponentConfig.js";
|
|
6
6
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "./automated-config/dist/properties.js";
|
|
7
7
|
import { ComponentSchema, buildConfigSchema, findFixtureType } from "./automated-config/dist/utils/buildConfigSchema.js";
|
|
@@ -76,27 +76,32 @@ import { MenuItemCheckboxProps } from "./components/client/Menu/Menu.ItemCheckbo
|
|
|
76
76
|
import { MenuPlacement, MenuProviderProps } from "./components/client/Menu/Menu.Provider.js";
|
|
77
77
|
import { MenuTriggerProps } from "./components/client/Menu/Menu.Trigger.js";
|
|
78
78
|
import { Menu_index_d_exports } from "./components/client/Menu/Menu.index.js";
|
|
79
|
+
import { Popover } from "./components/client/Popover/Popover.js";
|
|
80
|
+
import { PopoverTrigger } from "./components/client/Popover/PopoverTrigger.js";
|
|
81
|
+
import { UDSPopoverConfigContextType, configToPopoverConfigContext } from "./runtime/popoverConfig.js";
|
|
82
|
+
import { UDSPopoverConfigProvider, UDSPopoverConfigProviderProps } from "./components/client/Popover/UDSPopoverConfigProvider.js";
|
|
83
|
+
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./runtime/breakpointsConfig.js";
|
|
84
|
+
import { UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, useBreakpointsConfig } from "./components/client/providers/UDSBreakpointsConfigProvider.js";
|
|
85
|
+
import { UDSToastConfigContextType, configToToastConfigContext } from "./runtime/toastConfig.js";
|
|
86
|
+
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./runtime/tooltipConfig.js";
|
|
87
|
+
import { UDSConfigContextType, configToUDSConfigContext } from "./runtime/udsConfig.js";
|
|
88
|
+
import { UDSConfigProvider, UDSConfigProviderProps } from "./components/client/providers/UDSConfigProvider.js";
|
|
79
89
|
import { Radio, RadioProps } from "./components/client/Radio/Radio.js";
|
|
80
90
|
import { RadioGroupProvider, RadioGroupProviderProps } from "./components/client/Radio/RadioGroupProvider.js";
|
|
81
91
|
import { Switch, SwitchProps } from "./components/client/Switch.js";
|
|
82
92
|
import { Toast, ToastProps } from "./components/client/Toast/Toast.js";
|
|
93
|
+
import { ToastLoadingPromise, createToast } from "./components/client/Toast/createToast.js";
|
|
83
94
|
import { ToastContainer, ToastContainerProps } from "./components/client/Toast/ToastContainer.js";
|
|
84
95
|
import { ToastPortal, ToastPortalProps } from "./components/client/Toast/ToastPortal.js";
|
|
85
|
-
import { UDSToastConfigContextType, configToToastConfigContext } from "./runtime/toastConfig.js";
|
|
86
96
|
import { UDSToastConfigProvider, UDSToastConfigProviderProps, useToastConfig } from "./components/client/Toast/UDSToastConfigProvider.js";
|
|
87
|
-
import { ToastLoadingPromise, createToast } from "./components/client/Toast/createToast.js";
|
|
88
97
|
import { Tooltip } from "./components/client/Tooltip/Tooltip.js";
|
|
89
98
|
import { TooltipContent } from "./components/client/Tooltip/TooltipContent.js";
|
|
90
99
|
import { TooltipTrigger } from "./components/client/Tooltip/TooltipTrigger.js";
|
|
91
|
-
import { UDSTooltipConfigContextType, configToTooltipConfigContext } from "./runtime/tooltipConfig.js";
|
|
92
100
|
import { UDSTooltipConfigProvider, UDSTooltipConfigProviderProps } from "./components/client/Tooltip/UDSTooltipConfigProvider.js";
|
|
93
|
-
import { UDSBreakpointsConfigContextType, configToBreakpointsConfigContext } from "./runtime/breakpointsConfig.js";
|
|
94
|
-
import { UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, useBreakpointsConfig } from "./components/client/providers/UDSBreakpointsConfigProvider.js";
|
|
95
|
-
import { UDSConfigContextType, configToUDSConfigContext } from "./runtime/udsConfig.js";
|
|
96
|
-
import { UDSConfigProvider, UDSConfigProviderProps } from "./components/client/providers/UDSConfigProvider.js";
|
|
97
101
|
import "./components/index.js";
|
|
98
102
|
import "./runtime/index.js";
|
|
99
103
|
import { SetState } from "./types.js";
|
|
100
104
|
import { defineTheme } from "./tailwind/dist/css/theme.js";
|
|
101
105
|
import "./tailwind/dist/index.js";
|
|
102
|
-
|
|
106
|
+
import { PopoverContent } from "./components/client/Popover/PopoverContent.js";
|
|
107
|
+
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, Avatar, AvatarAbbreviationStrategy, AvatarConfig, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarText, AvatarTextProps, AvatarVariant, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, Badge, BadgeConfig, BadgeProps, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetContentProps, BottomSheetController, BottomSheetDismiss, BottomSheetDismissProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetHeight, BottomSheetProps, BottomSheetProvider, BottomSheetProviderProps, BottomSheetSnapPoints, BottomSheetTrigger, BottomSheetTriggerProps, BottomSheetVariant, Box, BoxProps, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, Button, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonProps, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, Checkbox, CheckboxConfig, CheckboxProps, CheckboxSize, CheckboxValue, CheckboxVariant, Chip, ChipButton, ChipButtonProps, ChipConfig, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipSize, ChipToggle, ChipToggleProps, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentSchema, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, Divider, DividerConfig, DividerProps, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FocusRingColor, FocusRingConfig, FocusRingModeConfig, FocusRingOffset, FocusRingWidth, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontUrlConfig, FontUrlMap, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, FormLabel, FormLabelProps, GenericIconComponent, GetMotionVarParams, GlobalDefaultsConfig, HStack, HStackProps, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, IconButtonProps, IconButtonSize, IconPixelSize, IconProps, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, Image, ImageProps, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, Input, InputConfig, InputHelpText, InputHelpTextProps, InputProps, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Link, LinkConfig, LinkProps, LinkTextVariant, LinkVariant, LinkableValue, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MaxLengthArray, Menu_index_d_exports as Menu, MenuContentConfig, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemConfig, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OUTLINE_PREFIX, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Popover, PopoverConfig, PopoverContent, UniversalPopoverContentProps as PopoverContentProps, PopoverPlacement, UniversalPopoverProps as PopoverProps, PopoverSize, PopoverTrigger, UniversalPopoverTriggerProps as PopoverTriggerProps, Position, PossibleStates, PossibleStatesWithRest, Pressable, PressableProps, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, Radio, RadioConfig, RadioGroupProvider, RadioGroupProviderProps, RadioProps, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ResolvedTokensConfig, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SVGElementProps, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, Scrim, ScrimConfig, ScrimProps, SelectedConfigurableProperty, SetState, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumRGB, SpectrumValue, SpectrumValueEntry, SpringMotionConfig, SpringMotionConfigProps, StateStyleProps, StyleProps, SubComponentConfig, Switch, SwitchConfig, SwitchProps, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, Text, TextDecorationLine, TextProperty, TextProps, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, Toast, ToastConfig, ToastContainer, ToastContainerProps, ToastLoadingPromise, ToastPortal, ToastPortalProps, ToastPosition, ToastProps, ToastSize, ToastVariant, Tooltip, TooltipConfig, TooltipContent, UniversalTooltipContentProps as TooltipContentProps, TooltipPlacement, UniversalTooltipProps as TooltipProps, TooltipSize, TooltipTrigger, UniversalTooltipTriggerProps as TooltipTriggerProps, TooltipVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDSBottomSheetConfigContextType, UDSBreakpointsConfigContextType, UDSBreakpointsConfigProvider, UDSBreakpointsConfigProviderProps, UDSConfigContextType, UDSConfigProvider, UDSConfigProviderProps, UDSPopoverConfigContextType, UDSPopoverConfigProvider, UDSPopoverConfigProviderProps, UDSToastConfigContextType, UDSToastConfigProvider, UDSToastConfigProviderProps, UDSTooltipConfigContextType, UDSTooltipConfigProvider, UDSTooltipConfigProviderProps, UDS_PREFIX, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBottomSheetContentProps, UniversalBottomSheetHeaderProps, UniversalBottomSheetProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPopoverContentProps, UniversalPopoverProps, UniversalPopoverTriggerProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfig, UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, UniversalTooltipContentProps, UniversalTooltipProps, UniversalTooltipTriggerProps, VStack, VStackProps, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|
package/dist/index.js
CHANGED
|
@@ -51,6 +51,20 @@ import { IconButton } from "./components/client/IconButton.js";
|
|
|
51
51
|
import { Input } from "./components/client/Input/Input.js";
|
|
52
52
|
import { InputHelpText } from "./components/client/Input/InputHelpText.js";
|
|
53
53
|
import { Menu_index_exports } from "./components/client/Menu/Menu.index.js";
|
|
54
|
+
import { UDSPopoverConfigProvider } from "./components/client/Popover/UDSPopoverConfigProvider.js";
|
|
55
|
+
import { Popover } from "./components/client/Popover/Popover.js";
|
|
56
|
+
import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, PopoverConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.js";
|
|
57
|
+
import { shadow } from "./tokens/configs/shadow.js";
|
|
58
|
+
import { DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP } from "./modes/dist/index.js";
|
|
59
|
+
import { FONT_DECLARATIONS_MAP } from "./fonts/dist/index.js";
|
|
60
|
+
import { parseButtonVariantFlat } from "./tokens/parseButtonVariants.js";
|
|
61
|
+
import { entries } from "./tokens/utils/entries.js";
|
|
62
|
+
import { fromEntries } from "./tokens/utils/fromEntries.js";
|
|
63
|
+
import { fontUrls, getFontUrls, getFontUrlsByIds } from "./tokens/utils/getFontUrls.js";
|
|
64
|
+
import { mapValues } from "./tokens/utils/mapValues.js";
|
|
65
|
+
import { spectrumRgbToString, toRgbChannel, toSpectrumValueEntry } from "./tokens/utils/spectrum.js";
|
|
66
|
+
import { PopoverContent } from "./components/client/Popover/PopoverContent.js";
|
|
67
|
+
import { PopoverTrigger } from "./components/client/Popover/PopoverTrigger.js";
|
|
54
68
|
import { UDSBreakpointsConfigProvider, useBreakpointsConfig } from "./components/client/providers/UDSBreakpointsConfigProvider.js";
|
|
55
69
|
import { UDSToastConfigProvider, useToastConfig } from "./components/client/Toast/UDSToastConfigProvider.js";
|
|
56
70
|
import { UDSTooltipConfigProvider } from "./components/client/Tooltip/UDSTooltipConfigProvider.js";
|
|
@@ -58,28 +72,19 @@ import { UDSConfigProvider } from "./components/client/providers/UDSConfigProvid
|
|
|
58
72
|
import { Radio } from "./components/client/Radio/Radio.js";
|
|
59
73
|
import { RadioGroupProvider } from "./components/client/Radio/RadioGroupProvider.js";
|
|
60
74
|
import { Switch } from "./components/client/Switch.js";
|
|
61
|
-
import { fromEntries } from "./tokens/utils/fromEntries.js";
|
|
62
75
|
import { ToastContainer } from "./components/client/Toast/ToastContainer.js";
|
|
63
76
|
import { Toast } from "./components/client/Toast/Toast.js";
|
|
64
77
|
import { createToast } from "./components/client/Toast/createToast.js";
|
|
65
78
|
import { ToastPortal } from "./components/client/Toast/ToastPortal.js";
|
|
66
79
|
import { Tooltip } from "./components/client/Tooltip/Tooltip.js";
|
|
67
|
-
import { AvatarConfig, BadgeConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, RadioConfig, ScrimConfig, SwitchConfig, ToastConfig, TooltipConfig } from "./automated-config/dist/generated/generatedConfigs.js";
|
|
68
|
-
import { shadow } from "./tokens/configs/shadow.js";
|
|
69
|
-
import { DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP } from "./modes/dist/index.js";
|
|
70
|
-
import { FONT_DECLARATIONS_MAP } from "./fonts/dist/index.js";
|
|
71
|
-
import { parseButtonVariantFlat } from "./tokens/parseButtonVariants.js";
|
|
72
|
-
import { entries } from "./tokens/utils/entries.js";
|
|
73
|
-
import { fontUrls, getFontUrls, getFontUrlsByIds } from "./tokens/utils/getFontUrls.js";
|
|
74
|
-
import { mapValues } from "./tokens/utils/mapValues.js";
|
|
75
|
-
import { spectrumRgbToString, toRgbChannel, toSpectrumValueEntry } from "./tokens/utils/spectrum.js";
|
|
76
80
|
import { TooltipContent } from "./components/client/Tooltip/TooltipContent.js";
|
|
77
81
|
import { TooltipTrigger } from "./components/client/Tooltip/TooltipTrigger.js";
|
|
78
82
|
import { configToBottomSheetConfigContext } from "./runtime/bottomSheetConfig.js";
|
|
79
83
|
import { configToBreakpointsConfigContext } from "./runtime/breakpointsConfig.js";
|
|
84
|
+
import { configToPopoverConfigContext } from "./runtime/popoverConfig.js";
|
|
80
85
|
import { configToToastConfigContext } from "./runtime/toastConfig.js";
|
|
81
86
|
import { configToTooltipConfigContext } from "./runtime/tooltipConfig.js";
|
|
82
87
|
import { configToUDSConfigContext } from "./runtime/udsConfig.js";
|
|
83
88
|
import { defineTheme } from "./tailwind/dist/css/theme.js";
|
|
84
89
|
|
|
85
|
-
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, Avatar, AvatarConfig, AvatarIcon, AvatarImage, AvatarText, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, Badge, BadgeConfig, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetDismiss, BottomSheetHeader, BottomSheetProvider, BottomSheetTrigger, Box, Button, ButtonConfig, Checkbox, CheckboxConfig, Chip, ChipButton, ChipConfig, ChipDismissible, ChipLink, ChipToggle, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, Divider, DividerConfig, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, FormLabel, HStack, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, Image, Input, InputConfig, InputHelpText, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, Link, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, Menu_index_exports as Menu, MenuContentConfig, MenuItemConfig, OUTLINE_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, Pressable, Radio, RadioConfig, RadioGroupProvider, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, Scrim, ScrimConfig, SpringMotionConfig, Switch, SwitchConfig, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, Text, Toast, ToastConfig, ToastContainer, ToastPortal, Tooltip, TooltipConfig, TooltipContent, TooltipTrigger, UDSBreakpointsConfigProvider, UDSConfigProvider, UDSToastConfigProvider, UDSTooltipConfigProvider, UDS_PREFIX, VStack, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|
|
90
|
+
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, Avatar, AvatarConfig, AvatarIcon, AvatarImage, AvatarText, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, Badge, BadgeConfig, BottomSheet, BottomSheetConfig, BottomSheetContent, BottomSheetDismiss, BottomSheetHeader, BottomSheetProvider, BottomSheetTrigger, Box, Button, ButtonConfig, Checkbox, CheckboxConfig, Chip, ChipButton, ChipConfig, ChipDismissible, ChipLink, ChipToggle, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, Divider, DividerConfig, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, FormLabel, HStack, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, Icon, IconButton, IconButtonConfig, Image, Input, InputConfig, InputHelpText, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, Link, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, Menu_index_exports as Menu, MenuContentConfig, MenuItemConfig, OUTLINE_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, Popover, PopoverConfig, PopoverContent, PopoverTrigger, Pressable, Radio, RadioConfig, RadioGroupProvider, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, Scrim, ScrimConfig, SpringMotionConfig, Switch, SwitchConfig, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, Text, Toast, ToastConfig, ToastContainer, ToastPortal, Tooltip, TooltipConfig, TooltipContent, TooltipTrigger, UDSBreakpointsConfigProvider, UDSConfigProvider, UDSPopoverConfigProvider, UDSToastConfigProvider, UDSTooltipConfigProvider, UDS_PREFIX, VStack, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, buildConfigSchema, cartesianProduct, coalesceConfigVariant, configToBottomSheetConfigContext, configToBreakpointsConfigContext, configToPopoverConfigContext, configToToastConfigContext, configToTooltipConfigContext, configToUDSConfigContext, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createToast, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, cva, cx, defineTheme, deprecatedAlwaysPalette, entries, findFixtureType, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getMotionVar, getShadowLayerValue, getStyles, getStylesCacheKeySymbol, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, shadow, spectrumRgbToString, statePseudoMapDocsMode, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, useBottomSheetStore, useBreakpointsConfig, useToastConfig, variants };
|