@mantine-vue/core 1.1.1 → 1.1.4
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/README.md +43 -0
- package/cjs/index.cjs +489 -856
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +391 -775
- package/esm/index.mjs.map +1 -1
- package/lib/components/Anchor/Anchor.d.ts +5 -3
- package/lib/components/Badge/Badge.d.ts +5 -4
- package/lib/components/Button/Button.d.ts +9 -9
- package/lib/components/CloseButton/CloseButton.d.ts +4 -3
- package/lib/components/PinInput/PinInput.d.ts +10 -8
- package/lib/components/Table/Table.d.ts +7 -7
- package/lib/components/Text/Text.d.ts +5 -5
- package/lib/components/ThemeIcon/ThemeIcon.d.ts +5 -4
- package/lib/core/factory/with-box-props.d.ts +7 -7
- package/lib/core/types.d.ts +1 -0
- package/package.json +3 -3
package/esm/index.mjs
CHANGED
|
@@ -1,33 +1,128 @@
|
|
|
1
1
|
import { Comment, Fragment, Teleport, Text as Text$1, cloneVNode, computed, defineComponent, getCurrentInstance, h, inject, isVNode, nextTick, onBeforeUnmount, onMounted, onUnmounted, onUpdated, provide, reactive, ref, resolveDynamicComponent, shallowRef, toRef, toValue, watch } from "vue";
|
|
2
|
-
import { camelToKebabCase, deepMerge, em, filterProps, getBreakpointValue, isNumberLike, isPrimitive, keys, px, rem } from "@mantine-vue/utils";
|
|
3
2
|
import { DOTS, assignRef, clampUseMovePosition, mergeRefs, normalizeRadialValue, useClickOutside, useClipboard, useCollapse, useElementSize, useFloatingWindow, useFocusReturn, useFocusTrap, useHorizontalCollapse, useId, useLongPress, useMounted, useMove, usePagination, useRadialMove, useReducedMotion, useScrollSpy, useScroller, useUncontrolled, useWindowEvent } from "@mantine-vue/hooks";
|
|
4
3
|
import { arrow, autoUpdate, flip, hide, inline, limitShift, offset, shift, size, useFloating } from "@floating-ui/vue";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
//#region ../utils/esm/index.mjs
|
|
5
|
+
function keys(object) {
|
|
6
|
+
return Object.keys(object);
|
|
7
|
+
}
|
|
8
|
+
function noop() {}
|
|
9
|
+
function isPrimitive(value) {
|
|
10
|
+
return value === null || typeof value !== "object" && typeof value !== "function";
|
|
11
|
+
}
|
|
12
|
+
function isPlainObject(value) {
|
|
13
|
+
if (value === null || typeof value !== "object") return false;
|
|
14
|
+
const prototype = Object.getPrototypeOf(value);
|
|
15
|
+
return prototype === Object.prototype || prototype === null;
|
|
16
|
+
}
|
|
17
|
+
function deepMerge(target, source) {
|
|
18
|
+
const result = { ...target };
|
|
19
|
+
keys(source).forEach((key) => {
|
|
20
|
+
const sourceValue = source[key];
|
|
21
|
+
const targetValue = result[key];
|
|
22
|
+
if (isPlainObject(targetValue) && isPlainObject(sourceValue)) result[key] = deepMerge(targetValue, sourceValue);
|
|
23
|
+
else if (sourceValue !== void 0) result[key] = sourceValue;
|
|
16
24
|
});
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
return result;
|
|
26
|
+
}
|
|
27
|
+
function camelToKebabCase(value) {
|
|
28
|
+
return value.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
|
|
29
|
+
}
|
|
30
|
+
function filterProps(props) {
|
|
31
|
+
return keys(props).reduce((acc, key) => {
|
|
32
|
+
if (props[key] !== void 0) acc[key] = props[key];
|
|
33
|
+
return acc;
|
|
34
|
+
}, {});
|
|
35
|
+
}
|
|
36
|
+
function isNumberLike(value) {
|
|
37
|
+
if (typeof value === "number") return true;
|
|
38
|
+
if (typeof value === "string") {
|
|
39
|
+
if (value.startsWith("calc(") || value.startsWith("var(") || value.includes(" ") && value.trim() !== "") return true;
|
|
40
|
+
const cssUnitsRegex = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
|
|
41
|
+
return value.trim().split(/\s+/).every((val) => cssUnitsRegex.test(val));
|
|
27
42
|
}
|
|
28
|
-
return
|
|
29
|
-
}
|
|
30
|
-
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
function rem(value) {
|
|
46
|
+
if (typeof value === "number") return `${value / 16}rem`;
|
|
47
|
+
if (typeof value === "string") {
|
|
48
|
+
if (value.includes("calc(") || value.includes("var(")) return value;
|
|
49
|
+
if (value.endsWith("px")) return `${Number(value.replace("px", "")) / 16}rem`;
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
function em(value) {
|
|
55
|
+
if (typeof value === "number") return `${value / 16}em`;
|
|
56
|
+
if (typeof value === "string" && value.endsWith("px")) return `${Number(value.replace("px", "")) / 16}em`;
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
function px(value) {
|
|
60
|
+
if (typeof value === "number") return value;
|
|
61
|
+
if (typeof value === "string") {
|
|
62
|
+
if (value.endsWith("rem") || value.endsWith("em")) return Number(value.replace("rem", "").replace("em", "")) * 16;
|
|
63
|
+
if (value.endsWith("px")) return Number(value.replace("px", ""));
|
|
64
|
+
}
|
|
65
|
+
return Number(value) || 0;
|
|
66
|
+
}
|
|
67
|
+
function getSize(size, prefix = "size", convertToRem = true) {
|
|
68
|
+
if (size === void 0) return;
|
|
69
|
+
return isNumberLike(size) ? convertToRem ? rem(size) : String(size) : `var(--${prefix}-${size})`;
|
|
70
|
+
}
|
|
71
|
+
var getSpacing = (size) => getSize(size, "mantine-spacing");
|
|
72
|
+
var getRadius = (size) => size === void 0 ? "var(--mantine-radius-default)" : getSize(size, "mantine-radius");
|
|
73
|
+
var getShadow = (size) => size ? getSize(size, "mantine-shadow", false) : void 0;
|
|
74
|
+
var getFontSize = (size) => getSize(size, "mantine-font-size");
|
|
75
|
+
var getLineHeight = (size) => getSize(size, "mantine-line-height", false);
|
|
76
|
+
function getBreakpointValue(value) {
|
|
77
|
+
if (typeof value === "number") return value;
|
|
78
|
+
if (value.endsWith("px")) return Number(value.replace("px", ""));
|
|
79
|
+
if (value.endsWith("em") || value.endsWith("rem")) return Number(value.replace("em", "").replace("rem", "")) * 16;
|
|
80
|
+
return Number(value);
|
|
81
|
+
}
|
|
82
|
+
function getSortedBreakpoints(breakpoints) {
|
|
83
|
+
return keys(breakpoints).map((breakpoint) => ({
|
|
84
|
+
breakpoint,
|
|
85
|
+
px: getBreakpointValue(breakpoints[breakpoint])
|
|
86
|
+
})).sort((a, b) => a.px - b.px);
|
|
87
|
+
}
|
|
88
|
+
function getBaseValue(value) {
|
|
89
|
+
if (isPlainObject(value)) return value.base;
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
function getDefaultZIndex(level) {
|
|
93
|
+
return {
|
|
94
|
+
app: 100,
|
|
95
|
+
modal: 200,
|
|
96
|
+
popover: 300,
|
|
97
|
+
overlay: 400,
|
|
98
|
+
max: 9999
|
|
99
|
+
}[level];
|
|
100
|
+
}
|
|
101
|
+
function memoize(fn) {
|
|
102
|
+
const cache = /* @__PURE__ */ new Map();
|
|
103
|
+
return (...args) => {
|
|
104
|
+
const key = JSON.stringify(args);
|
|
105
|
+
if (cache.has(key)) return cache.get(key);
|
|
106
|
+
const result = fn(...args);
|
|
107
|
+
cache.set(key, result);
|
|
108
|
+
return result;
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
function findClosestNumber(value, values) {
|
|
112
|
+
return values.reduce((closest, current) => Math.abs(current - value) < Math.abs(closest - value) ? current : closest);
|
|
113
|
+
}
|
|
114
|
+
function createEventHandler(...handlers) {
|
|
115
|
+
return (event) => {
|
|
116
|
+
handlers.forEach((handler) => handler?.(event));
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function getSafeId(uid, errorMessage) {
|
|
120
|
+
return (staticId) => {
|
|
121
|
+
if (typeof staticId === "string") return staticId;
|
|
122
|
+
if (uid === "") throw new Error(errorMessage);
|
|
123
|
+
return uid;
|
|
124
|
+
};
|
|
125
|
+
}
|
|
31
126
|
//#endregion
|
|
32
127
|
//#region src/core/utils/index.ts
|
|
33
128
|
function createSafeInjectionContext(errorMessage) {
|
|
@@ -2046,81 +2141,6 @@ var DirectionProvider = defineComponent({
|
|
|
2046
2141
|
return () => slots.default?.();
|
|
2047
2142
|
}
|
|
2048
2143
|
});
|
|
2049
|
-
//#endregion
|
|
2050
|
-
//#region src/core/index.ts
|
|
2051
|
-
var core_exports = /* @__PURE__ */ __exportAll({
|
|
2052
|
-
Box: () => Box,
|
|
2053
|
-
DEFAULT_COLORS: () => DEFAULT_COLORS,
|
|
2054
|
-
DEFAULT_THEME: () => DEFAULT_THEME,
|
|
2055
|
-
DirectionContextKey: () => DirectionContextKey,
|
|
2056
|
-
DirectionProvider: () => DirectionProvider,
|
|
2057
|
-
HeadlessMantineProvider: () => HeadlessMantineProvider,
|
|
2058
|
-
INVALID_PRIMARY_COLOR_ERROR: () => INVALID_PRIMARY_COLOR_ERROR,
|
|
2059
|
-
INVALID_PRIMARY_SHADE_ERROR: () => INVALID_PRIMARY_SHADE_ERROR,
|
|
2060
|
-
InlineStyles: () => InlineStyles,
|
|
2061
|
-
MantineClasses: () => MantineClasses,
|
|
2062
|
-
MantineContextKey: () => MantineContextKey,
|
|
2063
|
-
MantineCssVariables: () => MantineCssVariables,
|
|
2064
|
-
MantineProvider: () => MantineProvider,
|
|
2065
|
-
MantineThemeKey: () => MantineThemeKey,
|
|
2066
|
-
MantineThemeProvider: () => MantineThemeProvider,
|
|
2067
|
-
STYLE_PROPS_DATA: () => STYLE_PROPS_DATA,
|
|
2068
|
-
alpha: () => alpha,
|
|
2069
|
-
colorsTuple: () => colorsTuple,
|
|
2070
|
-
convertCssVariables: () => convertCssVariables,
|
|
2071
|
-
createProviderColorScheme: () => createProviderColorScheme,
|
|
2072
|
-
createSafeContext: () => createSafeContext,
|
|
2073
|
-
createSafeInjectionContext: () => createSafeInjectionContext,
|
|
2074
|
-
createVarsResolver: () => createVarsResolver,
|
|
2075
|
-
cssVariablesObjectToString: () => cssVariablesObjectToString,
|
|
2076
|
-
darken: () => darken,
|
|
2077
|
-
defaultCssVariablesResolver: () => defaultCssVariablesResolver,
|
|
2078
|
-
defaultVariantColorsResolver: () => defaultVariantColorsResolver,
|
|
2079
|
-
factory: () => factory,
|
|
2080
|
-
getAutoContrastValue: () => getAutoContrastValue,
|
|
2081
|
-
getContrastColor: () => getContrastColor,
|
|
2082
|
-
getGradient: () => getGradient,
|
|
2083
|
-
getMergedVariables: () => getMergedVariables,
|
|
2084
|
-
getPrimaryContrastColor: () => getPrimaryContrastColor,
|
|
2085
|
-
getPrimaryShade: () => getPrimaryShade,
|
|
2086
|
-
getThemeColor: () => getThemeColor,
|
|
2087
|
-
hashStyleProps: () => hashStyleProps,
|
|
2088
|
-
isLightColor: () => isLightColor,
|
|
2089
|
-
isVirtualColor: () => isVirtualColor,
|
|
2090
|
-
lighten: () => lighten,
|
|
2091
|
-
luminance: () => luminance,
|
|
2092
|
-
mergeMantineTheme: () => mergeMantineTheme,
|
|
2093
|
-
parseStyleProps: () => parseStyleProps,
|
|
2094
|
-
parseThemeColor: () => parseThemeColor,
|
|
2095
|
-
polymorphicFactory: () => factory,
|
|
2096
|
-
polymorphicProps: () => polymorphicProps,
|
|
2097
|
-
provideMantineContext: () => provideMantineContext,
|
|
2098
|
-
provideMantineTheme: () => provideMantineTheme,
|
|
2099
|
-
renderPolymorphic: () => renderPolymorphic,
|
|
2100
|
-
resolveColorScheme: () => resolveColorScheme,
|
|
2101
|
-
rgba: () => rgba,
|
|
2102
|
-
toRgba: () => toRgba,
|
|
2103
|
-
useComputedColorScheme: () => useComputedColorScheme,
|
|
2104
|
-
useDirection: () => useDirection,
|
|
2105
|
-
useForwardedRef: () => useForwardedRef,
|
|
2106
|
-
useMantineClassNamesPrefix: () => useMantineClassNamesPrefix,
|
|
2107
|
-
useMantineColorScheme: () => useMantineColorScheme,
|
|
2108
|
-
useMantineContext: () => useMantineContext,
|
|
2109
|
-
useMantineCssVariablesResolver: () => useMantineCssVariablesResolver,
|
|
2110
|
-
useMantineDeduplicateInlineStyles: () => useMantineDeduplicateInlineStyles,
|
|
2111
|
-
useMantineEnv: () => useMantineEnv,
|
|
2112
|
-
useMantineIsHeadless: () => useMantineIsHeadless,
|
|
2113
|
-
useMantineStyleNonce: () => useMantineStyleNonce,
|
|
2114
|
-
useMantineTheme: () => useMantineTheme,
|
|
2115
|
-
useMantineWithStaticClasses: () => useMantineWithStaticClasses,
|
|
2116
|
-
useProps: () => useProps,
|
|
2117
|
-
useRandomClassName: () => useRandomClassName,
|
|
2118
|
-
useSafeMantineTheme: () => useSafeMantineTheme,
|
|
2119
|
-
useStyles: () => useStyles,
|
|
2120
|
-
validateMantineTheme: () => validateMantineTheme,
|
|
2121
|
-
virtualColor: () => virtualColor,
|
|
2122
|
-
withBoxProps: () => withBoxProps
|
|
2123
|
-
});
|
|
2124
2144
|
var VisuallyHidden_module_default = { root: "_root_5rq9d_1" };
|
|
2125
2145
|
//#endregion
|
|
2126
2146
|
//#region src/components/VisuallyHidden/VisuallyHidden.ts
|
|
@@ -2382,8 +2402,8 @@ var Paper_module_default = { root: "_root_1it4e_1" };
|
|
|
2382
2402
|
//#endregion
|
|
2383
2403
|
//#region src/components/Paper/Paper.ts
|
|
2384
2404
|
var varsResolver$92 = createVarsResolver((_, { radius, shadow }) => ({ root: {
|
|
2385
|
-
"--paper-radius": radius === void 0 ? void 0 :
|
|
2386
|
-
"--paper-shadow":
|
|
2405
|
+
"--paper-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
2406
|
+
"--paper-shadow": getShadow(shadow)
|
|
2387
2407
|
} }));
|
|
2388
2408
|
var Paper = withBoxProps(defineComponent({
|
|
2389
2409
|
name: "Paper",
|
|
@@ -2448,11 +2468,11 @@ var Paper = withBoxProps(defineComponent({
|
|
|
2448
2468
|
var Overlay_module_default = { root: "_root_qjtu2_1" };
|
|
2449
2469
|
//#endregion
|
|
2450
2470
|
//#region src/components/Overlay/Overlay.ts
|
|
2451
|
-
var defaultProps$57 = { zIndex:
|
|
2471
|
+
var defaultProps$57 = { zIndex: getDefaultZIndex("modal") };
|
|
2452
2472
|
var varsResolver$91 = createVarsResolver((_, { gradient, color, backgroundOpacity, blur, radius, zIndex }) => ({ root: {
|
|
2453
2473
|
"--overlay-bg": gradient || (color !== void 0 || backgroundOpacity !== void 0) && rgba(color || "#000", backgroundOpacity ?? .6) || void 0,
|
|
2454
|
-
"--overlay-filter": blur ? `blur(${
|
|
2455
|
-
"--overlay-radius": radius === void 0 ? void 0 :
|
|
2474
|
+
"--overlay-filter": blur ? `blur(${rem(blur)})` : void 0,
|
|
2475
|
+
"--overlay-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
2456
2476
|
"--overlay-z-index": zIndex?.toString()
|
|
2457
2477
|
} }));
|
|
2458
2478
|
var Overlay = withBoxProps(defineComponent({
|
|
@@ -2600,7 +2620,7 @@ var defaultProps$56 = {
|
|
|
2600
2620
|
size: "md"
|
|
2601
2621
|
};
|
|
2602
2622
|
var varsResolver$90 = createVarsResolver((theme, { size, color }) => ({ root: {
|
|
2603
|
-
"--loader-size":
|
|
2623
|
+
"--loader-size": getSize(size, "loader-size"),
|
|
2604
2624
|
"--loader-color": color ? getThemeColor(color, theme) : void 0
|
|
2605
2625
|
} }));
|
|
2606
2626
|
var Loader = withBoxProps(defineComponent({
|
|
@@ -2723,7 +2743,7 @@ var Container_module_default = { root: "_root_1nxsn_1" };
|
|
|
2723
2743
|
//#endregion
|
|
2724
2744
|
//#region src/components/Container/Container.ts
|
|
2725
2745
|
var defaultProps$55 = { strategy: "block" };
|
|
2726
|
-
var varsResolver$89 = createVarsResolver((_, { size, fluid }) => ({ root: { "--container-size": fluid ? void 0 :
|
|
2746
|
+
var varsResolver$89 = createVarsResolver((_, { size, fluid }) => ({ root: { "--container-size": fluid ? void 0 : getSize(size, "container-size") } }));
|
|
2727
2747
|
var Container = withBoxProps(defineComponent({
|
|
2728
2748
|
name: "Container",
|
|
2729
2749
|
inheritAttrs: false,
|
|
@@ -2841,7 +2861,7 @@ var defaultProps$54 = {
|
|
|
2841
2861
|
var varsResolver$87 = createVarsResolver((theme, { color, variant, size }) => ({ root: {
|
|
2842
2862
|
"--divider-color": color ? getThemeColor(color, theme) : void 0,
|
|
2843
2863
|
"--divider-border-style": variant,
|
|
2844
|
-
"--divider-size":
|
|
2864
|
+
"--divider-size": getSize(size, "divider-size")
|
|
2845
2865
|
} }));
|
|
2846
2866
|
var Divider = withBoxProps(defineComponent({
|
|
2847
2867
|
name: "Divider",
|
|
@@ -2931,8 +2951,8 @@ function getTextTruncate(truncate) {
|
|
|
2931
2951
|
}
|
|
2932
2952
|
var defaultProps$53 = { inherit: false };
|
|
2933
2953
|
var varsResolver$86 = createVarsResolver((theme, { variant, lineClamp, gradient, size, textWrap }) => ({ root: {
|
|
2934
|
-
"--text-fz":
|
|
2935
|
-
"--text-lh":
|
|
2954
|
+
"--text-fz": getFontSize(size),
|
|
2955
|
+
"--text-lh": getLineHeight(size),
|
|
2936
2956
|
"--text-gradient": variant === "gradient" ? getGradient(gradient, theme) : void 0,
|
|
2937
2957
|
"--text-line-clamp": typeof lineClamp === "number" ? lineClamp.toString() : void 0,
|
|
2938
2958
|
"--text-text-wrap": textWrap
|
|
@@ -3113,7 +3133,7 @@ function getTitleSize(order, size) {
|
|
|
3113
3133
|
lineHeight: `var(--mantine-h${order}-line-height)`
|
|
3114
3134
|
};
|
|
3115
3135
|
return {
|
|
3116
|
-
fontSize:
|
|
3136
|
+
fontSize: rem(titleSize),
|
|
3117
3137
|
fontWeight: `var(--mantine-h${order}-font-weight)`,
|
|
3118
3138
|
lineHeight: `var(--mantine-h${order}-line-height)`
|
|
3119
3139
|
};
|
|
@@ -3261,7 +3281,7 @@ var Code = withBoxProps(defineComponent({
|
|
|
3261
3281
|
var Kbd_module_default = { root: "_root_wjfmb_1" };
|
|
3262
3282
|
//#endregion
|
|
3263
3283
|
//#region src/components/Kbd/Kbd.ts
|
|
3264
|
-
var varsResolver$83 = createVarsResolver((_, { size }) => ({ root: { "--kbd-fz":
|
|
3284
|
+
var varsResolver$83 = createVarsResolver((_, { size }) => ({ root: { "--kbd-fz": getSize(size, "kbd-fz") } }));
|
|
3265
3285
|
var Kbd = withBoxProps(defineComponent({
|
|
3266
3286
|
name: "Kbd",
|
|
3267
3287
|
inheritAttrs: false,
|
|
@@ -3383,7 +3403,7 @@ var Image_module_default = { root: "_root_2axku_1" };
|
|
|
3383
3403
|
//#endregion
|
|
3384
3404
|
//#region src/components/Image/Image.ts
|
|
3385
3405
|
var varsResolver$81 = createVarsResolver((_, { radius, fit }) => ({ root: {
|
|
3386
|
-
"--image-radius": radius === void 0 ? void 0 :
|
|
3406
|
+
"--image-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
3387
3407
|
"--image-object-fit": fit
|
|
3388
3408
|
} }));
|
|
3389
3409
|
var Image = withBoxProps(defineComponent({
|
|
@@ -3458,7 +3478,7 @@ var Image = withBoxProps(defineComponent({
|
|
|
3458
3478
|
var BackgroundImage_module_default = { root: "_root_ow7nr_1" };
|
|
3459
3479
|
//#endregion
|
|
3460
3480
|
//#region src/components/BackgroundImage/BackgroundImage.ts
|
|
3461
|
-
var varsResolver$80 = createVarsResolver((_, { radius }) => ({ root: { "--bi-radius": radius === void 0 ? void 0 :
|
|
3481
|
+
var varsResolver$80 = createVarsResolver((_, { radius }) => ({ root: { "--bi-radius": radius === void 0 ? void 0 : getRadius(radius) } }));
|
|
3462
3482
|
var BackgroundImage = withBoxProps(defineComponent({
|
|
3463
3483
|
name: "BackgroundImage",
|
|
3464
3484
|
inheritAttrs: false,
|
|
@@ -3516,9 +3536,9 @@ var defaultProps$49 = {
|
|
|
3516
3536
|
animate: true
|
|
3517
3537
|
};
|
|
3518
3538
|
var varsResolver$79 = createVarsResolver((_, { width, height, radius, circle }) => ({ root: {
|
|
3519
|
-
"--skeleton-height":
|
|
3520
|
-
"--skeleton-width": circle ?
|
|
3521
|
-
"--skeleton-radius": circle ? "1000px" : radius === void 0 ? void 0 :
|
|
3539
|
+
"--skeleton-height": rem(height),
|
|
3540
|
+
"--skeleton-width": circle ? rem(height) : rem(width),
|
|
3541
|
+
"--skeleton-radius": circle ? "1000px" : radius === void 0 ? void 0 : getRadius(radius)
|
|
3522
3542
|
} }));
|
|
3523
3543
|
var Skeleton = withBoxProps(defineComponent({
|
|
3524
3544
|
name: "Skeleton",
|
|
@@ -3591,8 +3611,8 @@ var ColorSwatch_module_default = {
|
|
|
3591
3611
|
//#region src/components/ColorSwatch/ColorSwatch.ts
|
|
3592
3612
|
var defaultProps$48 = { withShadow: true };
|
|
3593
3613
|
var varsResolver$78 = createVarsResolver((_, { radius, size }) => ({ root: {
|
|
3594
|
-
"--cs-radius": radius === void 0 ? void 0 :
|
|
3595
|
-
"--cs-size":
|
|
3614
|
+
"--cs-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
3615
|
+
"--cs-size": rem(size)
|
|
3596
3616
|
} }));
|
|
3597
3617
|
var ColorSwatch = withBoxProps(defineComponent({
|
|
3598
3618
|
name: "ColorSwatch",
|
|
@@ -3664,8 +3684,8 @@ var defaultProps$47 = {
|
|
|
3664
3684
|
withLabel: true
|
|
3665
3685
|
};
|
|
3666
3686
|
var varsResolver$77 = createVarsResolver((_, { size, thumbSize }) => ({ root: {
|
|
3667
|
-
"--slider-size": size === void 0 ? void 0 :
|
|
3668
|
-
"--thumb-size": thumbSize === void 0 ? void 0 :
|
|
3687
|
+
"--slider-size": size === void 0 ? void 0 : rem(size),
|
|
3688
|
+
"--thumb-size": thumbSize === void 0 ? void 0 : rem(thumbSize)
|
|
3669
3689
|
} }));
|
|
3670
3690
|
var AngleSlider = withBoxProps(defineComponent({
|
|
3671
3691
|
name: "AngleSlider",
|
|
@@ -3763,7 +3783,7 @@ var AngleSlider = withBoxProps(defineComponent({
|
|
|
3763
3783
|
});
|
|
3764
3784
|
const update = (nextValue) => {
|
|
3765
3785
|
if (!rootRef.value || props.disabled) return;
|
|
3766
|
-
setValue(props.restrictToMarks && Array.isArray(props.marks) ?
|
|
3786
|
+
setValue(props.restrictToMarks && Array.isArray(props.marks) ? findClosestNumber(nextValue, props.marks.map((mark) => mark.value)) : nextValue);
|
|
3767
3787
|
};
|
|
3768
3788
|
const radialMove = useRadialMove(update, {
|
|
3769
3789
|
step: props.step,
|
|
@@ -3789,7 +3809,7 @@ var AngleSlider = withBoxProps(defineComponent({
|
|
|
3789
3809
|
radialMove.ref(element);
|
|
3790
3810
|
};
|
|
3791
3811
|
const setKeyboardValue = (nextValue) => {
|
|
3792
|
-
const resolved = props.restrictToMarks && Array.isArray(props.marks) ?
|
|
3812
|
+
const resolved = props.restrictToMarks && Array.isArray(props.marks) ? findClosestNumber(nextValue, props.marks.map((mark) => mark.value)) : nextValue;
|
|
3793
3813
|
setValue(resolved);
|
|
3794
3814
|
props.onChangeEnd?.(resolved);
|
|
3795
3815
|
};
|
|
@@ -3812,8 +3832,8 @@ var AngleSlider = withBoxProps(defineComponent({
|
|
|
3812
3832
|
const currentIndex = markValues.indexOf(value.value);
|
|
3813
3833
|
if (currentIndex !== -1) if (event.key === "ArrowLeft" || event.key === "ArrowDown") nextValue = markValues[currentIndex === 0 ? markValues.length - 1 : currentIndex - 1];
|
|
3814
3834
|
else if (event.key === "ArrowRight" || event.key === "ArrowUp") nextValue = markValues[currentIndex === markValues.length - 1 ? 0 : currentIndex + 1];
|
|
3815
|
-
else nextValue =
|
|
3816
|
-
else nextValue =
|
|
3835
|
+
else nextValue = findClosestNumber(nextValue, markValues);
|
|
3836
|
+
else nextValue = findClosestNumber(nextValue, markValues);
|
|
3817
3837
|
}
|
|
3818
3838
|
setKeyboardValue(nextValue);
|
|
3819
3839
|
};
|
|
@@ -3874,10 +3894,10 @@ var varsResolver$76 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
3874
3894
|
autoContrast
|
|
3875
3895
|
});
|
|
3876
3896
|
return { root: {
|
|
3877
|
-
"--badge-height":
|
|
3878
|
-
"--badge-padding-x":
|
|
3879
|
-
"--badge-fz":
|
|
3880
|
-
"--badge-radius": circle || radius === void 0 ? void 0 :
|
|
3897
|
+
"--badge-height": getSize(size, "badge-height"),
|
|
3898
|
+
"--badge-padding-x": getSize(size, "badge-padding-x"),
|
|
3899
|
+
"--badge-fz": getSize(size, "badge-fz"),
|
|
3900
|
+
"--badge-radius": circle || radius === void 0 ? void 0 : getRadius(radius),
|
|
3881
3901
|
"--badge-bg": color || variant ? colors.background : void 0,
|
|
3882
3902
|
"--badge-color": color || variant ? colors.color : void 0,
|
|
3883
3903
|
"--badge-bd": color || variant ? colors.border : void 0,
|
|
@@ -4004,8 +4024,8 @@ var varsResolver$75 = createVarsResolver((theme, { size, radius, variant, gradie
|
|
|
4004
4024
|
autoContrast
|
|
4005
4025
|
});
|
|
4006
4026
|
return { root: {
|
|
4007
|
-
"--ti-size":
|
|
4008
|
-
"--ti-radius": radius === void 0 ? void 0 :
|
|
4027
|
+
"--ti-size": getSize(size, "ti-size"),
|
|
4028
|
+
"--ti-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4009
4029
|
"--ti-bg": color || variant ? colors.background : void 0,
|
|
4010
4030
|
"--ti-color": color || variant ? colors.color : void 0,
|
|
4011
4031
|
"--ti-bd": color || variant ? colors.border : void 0
|
|
@@ -4495,7 +4515,7 @@ var ActionIcon_module_default = {
|
|
|
4495
4515
|
//#endregion
|
|
4496
4516
|
//#region src/components/ActionIcon/ActionIconGroup/ActionIconGroup.ts
|
|
4497
4517
|
var defaultProps$46 = { orientation: "horizontal" };
|
|
4498
|
-
var varsResolver$74 = createVarsResolver((_, { borderWidth }) => ({ group: { "--ai-border-width":
|
|
4518
|
+
var varsResolver$74 = createVarsResolver((_, { borderWidth }) => ({ group: { "--ai-border-width": rem(borderWidth) } }));
|
|
4499
4519
|
var ActionIconGroup = withBoxProps(defineComponent({
|
|
4500
4520
|
name: "ActionIconGroup",
|
|
4501
4521
|
inheritAttrs: false,
|
|
@@ -4555,10 +4575,10 @@ var varsResolver$73 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
4555
4575
|
autoContrast
|
|
4556
4576
|
});
|
|
4557
4577
|
return { groupSection: {
|
|
4558
|
-
"--section-height":
|
|
4559
|
-
"--section-padding-x":
|
|
4560
|
-
"--section-fz":
|
|
4561
|
-
"--section-radius": radius === void 0 ? void 0 :
|
|
4578
|
+
"--section-height": getSize(size, "section-height"),
|
|
4579
|
+
"--section-padding-x": getSize(size, "section-padding-x"),
|
|
4580
|
+
"--section-fz": getFontSize(size),
|
|
4581
|
+
"--section-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4562
4582
|
"--section-bg": color || variant ? colors.background : void 0,
|
|
4563
4583
|
"--section-color": colors.color,
|
|
4564
4584
|
"--section-bd": color || variant ? colors.border : void 0
|
|
@@ -4635,8 +4655,8 @@ var varsResolver$72 = createVarsResolver((theme, { size, radius, variant, gradie
|
|
|
4635
4655
|
autoContrast
|
|
4636
4656
|
});
|
|
4637
4657
|
return { root: {
|
|
4638
|
-
"--ai-size":
|
|
4639
|
-
"--ai-radius": radius === void 0 ? void 0 :
|
|
4658
|
+
"--ai-size": getSize(size, "ai-size"),
|
|
4659
|
+
"--ai-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4640
4660
|
"--ai-bg": color || variant ? colors.background : void 0,
|
|
4641
4661
|
"--ai-hover": color || variant ? colors.hover : void 0,
|
|
4642
4662
|
"--ai-hover-color": color || variant ? colors.hoverColor : void 0,
|
|
@@ -4783,9 +4803,9 @@ var CloseButton_module_default = { root: "_root_uv1i7_1" };
|
|
|
4783
4803
|
//#region src/components/CloseButton/CloseButton.ts
|
|
4784
4804
|
var defaultProps$45 = { variant: "subtle" };
|
|
4785
4805
|
var varsResolver$71 = createVarsResolver((_, { size, radius, iconSize }) => ({ root: {
|
|
4786
|
-
"--cb-size":
|
|
4787
|
-
"--cb-radius": radius === void 0 ? void 0 :
|
|
4788
|
-
"--cb-icon-size":
|
|
4806
|
+
"--cb-size": getSize(size, "cb-size"),
|
|
4807
|
+
"--cb-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4808
|
+
"--cb-icon-size": rem(iconSize)
|
|
4789
4809
|
} }));
|
|
4790
4810
|
var CloseButton = defineComponent({
|
|
4791
4811
|
name: "CloseButton",
|
|
@@ -4872,7 +4892,7 @@ var Button_module_default = {
|
|
|
4872
4892
|
//#endregion
|
|
4873
4893
|
//#region src/components/Button/ButtonGroup/ButtonGroup.ts
|
|
4874
4894
|
var defaultProps$44 = { orientation: "horizontal" };
|
|
4875
|
-
var varsResolver$70 = createVarsResolver((_, { borderWidth }) => ({ group: { "--button-border-width":
|
|
4895
|
+
var varsResolver$70 = createVarsResolver((_, { borderWidth }) => ({ group: { "--button-border-width": rem(borderWidth) } }));
|
|
4876
4896
|
var ButtonGroup = withBoxProps(defineComponent({
|
|
4877
4897
|
name: "ButtonGroup",
|
|
4878
4898
|
inheritAttrs: false,
|
|
@@ -4933,10 +4953,10 @@ var varsResolver$69 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
4933
4953
|
});
|
|
4934
4954
|
const compactSize = typeof size === "string" && size.includes("compact-") ? size.replace("compact-", "") : size;
|
|
4935
4955
|
return { groupSection: {
|
|
4936
|
-
"--section-height":
|
|
4937
|
-
"--section-padding-x":
|
|
4938
|
-
"--section-fz":
|
|
4939
|
-
"--section-radius": radius === void 0 ? void 0 :
|
|
4956
|
+
"--section-height": getSize(size, "section-height"),
|
|
4957
|
+
"--section-padding-x": getSize(size, "section-padding-x"),
|
|
4958
|
+
"--section-fz": getFontSize(compactSize),
|
|
4959
|
+
"--section-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
4940
4960
|
"--section-bg": color || variant ? colors.background : void 0,
|
|
4941
4961
|
"--section-color": colors.color,
|
|
4942
4962
|
"--section-bd": color || variant ? colors.border : void 0
|
|
@@ -5007,7 +5027,7 @@ var ButtonGroupSection = withBoxProps(defineComponent({
|
|
|
5007
5027
|
var loaderTransition = {
|
|
5008
5028
|
in: {
|
|
5009
5029
|
opacity: 1,
|
|
5010
|
-
transform: `translate(-50%, calc(-50% + ${
|
|
5030
|
+
transform: `translate(-50%, calc(-50% + ${rem(1)}))`
|
|
5011
5031
|
},
|
|
5012
5032
|
out: {
|
|
5013
5033
|
opacity: 0,
|
|
@@ -5027,10 +5047,10 @@ var varsResolver$68 = createVarsResolver((theme, { radius, color, gradient, vari
|
|
|
5027
5047
|
const compactSize = typeof size === "string" && size.includes("compact-") ? size.replace("compact-", "") : size;
|
|
5028
5048
|
return { root: {
|
|
5029
5049
|
"--button-justify": justify,
|
|
5030
|
-
"--button-height":
|
|
5031
|
-
"--button-padding-x":
|
|
5032
|
-
"--button-fz":
|
|
5033
|
-
"--button-radius": radius === void 0 ? void 0 :
|
|
5050
|
+
"--button-height": getSize(size, "button-height"),
|
|
5051
|
+
"--button-padding-x": getSize(size, "button-padding-x"),
|
|
5052
|
+
"--button-fz": getFontSize(compactSize),
|
|
5053
|
+
"--button-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
5034
5054
|
"--button-bg": color || variant ? colors.background : void 0,
|
|
5035
5055
|
"--button-hover": color || variant ? colors.hover : void 0,
|
|
5036
5056
|
"--button-color": colors.color,
|
|
@@ -5224,8 +5244,8 @@ var Burger_module_default = {
|
|
|
5224
5244
|
//#region src/components/Burger/Burger.ts
|
|
5225
5245
|
var varsResolver$67 = createVarsResolver((theme, { color, size, lineSize, transitionDuration, transitionTimingFunction }) => ({ root: {
|
|
5226
5246
|
"--burger-color": color ? getThemeColor(color, theme) : void 0,
|
|
5227
|
-
"--burger-size":
|
|
5228
|
-
"--burger-line-size": lineSize ?
|
|
5247
|
+
"--burger-size": getSize(size, "burger-size"),
|
|
5248
|
+
"--burger-line-size": lineSize ? rem(lineSize) : void 0,
|
|
5229
5249
|
"--burger-transition-duration": transitionDuration === void 0 ? void 0 : `${transitionDuration}ms`,
|
|
5230
5250
|
"--burger-transition-timing-function": transitionTimingFunction
|
|
5231
5251
|
} }));
|
|
@@ -5431,7 +5451,7 @@ var defaultProps$41 = {
|
|
|
5431
5451
|
duration: 0
|
|
5432
5452
|
},
|
|
5433
5453
|
overlayProps: { backgroundOpacity: .75 },
|
|
5434
|
-
zIndex:
|
|
5454
|
+
zIndex: getDefaultZIndex("overlay")
|
|
5435
5455
|
};
|
|
5436
5456
|
var varsResolver$66 = createVarsResolver((_, { zIndex }) => ({ root: { "--lo-z-index": zIndex?.toString() } }));
|
|
5437
5457
|
var LoadingOverlay = withBoxProps(defineComponent({
|
|
@@ -5618,7 +5638,7 @@ var Card_module_default = {
|
|
|
5618
5638
|
//#endregion
|
|
5619
5639
|
//#region src/components/Card/Card.ts
|
|
5620
5640
|
var defaultProps$40 = { orientation: "vertical" };
|
|
5621
|
-
var varsResolver$65 = createVarsResolver((_, { padding }) => ({ root: { "--card-padding":
|
|
5641
|
+
var varsResolver$65 = createVarsResolver((_, { padding }) => ({ root: { "--card-padding": getSpacing(padding) } }));
|
|
5622
5642
|
function isCardSection(child) {
|
|
5623
5643
|
return child.type === CardSection || typeof child.type === "object" && child.type.name === "CardSection";
|
|
5624
5644
|
}
|
|
@@ -5717,7 +5737,7 @@ var varsResolver$64 = createVarsResolver((theme, { radius, color, variant, autoC
|
|
|
5717
5737
|
autoContrast
|
|
5718
5738
|
});
|
|
5719
5739
|
return { root: {
|
|
5720
|
-
"--alert-radius": radius === void 0 ? void 0 :
|
|
5740
|
+
"--alert-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
5721
5741
|
"--alert-bg": color || variant ? colors.background : void 0,
|
|
5722
5742
|
"--alert-color": colors.color,
|
|
5723
5743
|
"--alert-bd": color || variant ? colors.border : void 0
|
|
@@ -5876,8 +5896,8 @@ var varsResolver$63 = createVarsResolver((theme, { color, iconSize, radius, text
|
|
|
5876
5896
|
}).value, .07),
|
|
5877
5897
|
"--bq-bg-dark": rgba(darkParsed.value, .06),
|
|
5878
5898
|
"--bq-bd": getThemeColor(color, theme),
|
|
5879
|
-
"--bq-icon-size":
|
|
5880
|
-
"--bq-radius":
|
|
5899
|
+
"--bq-icon-size": rem(iconSize),
|
|
5900
|
+
"--bq-radius": getRadius(radius),
|
|
5881
5901
|
"--bq-text-wrap": textWrap
|
|
5882
5902
|
} };
|
|
5883
5903
|
});
|
|
@@ -5970,10 +5990,13 @@ var Breadcrumbs_module_default = {
|
|
|
5970
5990
|
//#endregion
|
|
5971
5991
|
//#region src/components/Breadcrumbs/Breadcrumbs.ts
|
|
5972
5992
|
var defaultProps$38 = { separator: "/" };
|
|
5973
|
-
var varsResolver$62 = createVarsResolver((_, { separatorMargin }) => ({ root: { "--bc-separator-margin":
|
|
5993
|
+
var varsResolver$62 = createVarsResolver((_, { separatorMargin }) => ({ root: { "--bc-separator-margin": getSpacing(separatorMargin) } }));
|
|
5974
5994
|
function renderContent$10(content) {
|
|
5975
5995
|
return typeof content === "function" ? content() : content;
|
|
5976
5996
|
}
|
|
5997
|
+
function flattenChildren$2(children) {
|
|
5998
|
+
return children.flatMap((child) => child.type === Fragment && Array.isArray(child.children) ? flattenChildren$2(child.children) : child.type === Comment ? [] : [child]);
|
|
5999
|
+
}
|
|
5977
6000
|
var Breadcrumbs = withBoxProps(defineComponent({
|
|
5978
6001
|
name: "Breadcrumbs",
|
|
5979
6002
|
inheritAttrs: false,
|
|
@@ -6020,7 +6043,7 @@ var Breadcrumbs = withBoxProps(defineComponent({
|
|
|
6020
6043
|
unstyled: props.unstyled
|
|
6021
6044
|
});
|
|
6022
6045
|
return () => {
|
|
6023
|
-
const children = slots.default?.() ?? [];
|
|
6046
|
+
const children = flattenChildren$2(slots.default?.() ?? []);
|
|
6024
6047
|
const items = children.reduce((acc, child, index) => {
|
|
6025
6048
|
const item = child.type === Text$1 ? h("div", getStyles("breadcrumb"), child.children) : cloneVNode(child, getStyles("breadcrumb", { className: child.props?.class }));
|
|
6026
6049
|
acc.push(item);
|
|
@@ -6106,9 +6129,9 @@ var List_module_default = {
|
|
|
6106
6129
|
//#region src/components/List/List.ts
|
|
6107
6130
|
var defaultProps$37 = { type: "unordered" };
|
|
6108
6131
|
var varsResolver$61 = createVarsResolver((_, { size, spacing }) => ({ root: {
|
|
6109
|
-
"--list-fz":
|
|
6110
|
-
"--list-lh":
|
|
6111
|
-
"--list-spacing":
|
|
6132
|
+
"--list-fz": getFontSize(size),
|
|
6133
|
+
"--list-lh": getLineHeight(size),
|
|
6134
|
+
"--list-spacing": getSpacing(spacing)
|
|
6112
6135
|
} }));
|
|
6113
6136
|
var ListBase = defineComponent({
|
|
6114
6137
|
name: "List",
|
|
@@ -6221,7 +6244,7 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6221
6244
|
const offsetY = typeof offset === "number" ? offset : offset.y;
|
|
6222
6245
|
const [side, placement] = position.split("-");
|
|
6223
6246
|
if (side === "top") {
|
|
6224
|
-
variables["--indicator-top"] =
|
|
6247
|
+
variables["--indicator-top"] = rem(offsetY);
|
|
6225
6248
|
variables["--indicator-translate-y"] = "-50%";
|
|
6226
6249
|
}
|
|
6227
6250
|
if (side === "middle") {
|
|
@@ -6229,11 +6252,11 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6229
6252
|
variables["--indicator-translate-y"] = "-50%";
|
|
6230
6253
|
}
|
|
6231
6254
|
if (side === "bottom") {
|
|
6232
|
-
variables["--indicator-bottom"] =
|
|
6255
|
+
variables["--indicator-bottom"] = rem(offsetY);
|
|
6233
6256
|
variables["--indicator-translate-y"] = "50%";
|
|
6234
6257
|
}
|
|
6235
6258
|
if (placement === "start") {
|
|
6236
|
-
variables["--indicator-left"] =
|
|
6259
|
+
variables["--indicator-left"] = rem(offsetX);
|
|
6237
6260
|
variables["--indicator-translate-x"] = "-50%";
|
|
6238
6261
|
}
|
|
6239
6262
|
if (placement === "center") {
|
|
@@ -6241,7 +6264,7 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6241
6264
|
variables["--indicator-translate-x"] = "-50%";
|
|
6242
6265
|
}
|
|
6243
6266
|
if (placement === "end") {
|
|
6244
|
-
variables["--indicator-right"] =
|
|
6267
|
+
variables["--indicator-right"] = rem(offsetX);
|
|
6245
6268
|
variables["--indicator-translate-x"] = "50%";
|
|
6246
6269
|
}
|
|
6247
6270
|
return variables;
|
|
@@ -6266,8 +6289,8 @@ var varsResolver$60 = createVarsResolver((theme, { color, position, offset, size
|
|
|
6266
6289
|
theme,
|
|
6267
6290
|
autoContrast
|
|
6268
6291
|
}) : void 0,
|
|
6269
|
-
"--indicator-size":
|
|
6270
|
-
"--indicator-radius": radius === void 0 ? void 0 :
|
|
6292
|
+
"--indicator-size": rem(size),
|
|
6293
|
+
"--indicator-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6271
6294
|
"--indicator-z-index": zIndex?.toString(),
|
|
6272
6295
|
...getPositionVariables(position, offset)
|
|
6273
6296
|
} }));
|
|
@@ -6395,7 +6418,7 @@ var AvatarGroupContextKey = Symbol("AvatarGroupContext");
|
|
|
6395
6418
|
function useAvatarGroupContext() {
|
|
6396
6419
|
return inject(AvatarGroupContextKey, { withinGroup: false });
|
|
6397
6420
|
}
|
|
6398
|
-
var varsResolver$59 = createVarsResolver((_, { spacing }) => ({ group: { "--ag-spacing":
|
|
6421
|
+
var varsResolver$59 = createVarsResolver((_, { spacing }) => ({ group: { "--ag-spacing": getSpacing(spacing) } }));
|
|
6399
6422
|
var AvatarGroup = withBoxProps(defineComponent({
|
|
6400
6423
|
name: "AvatarGroup",
|
|
6401
6424
|
inheritAttrs: false,
|
|
@@ -6506,8 +6529,8 @@ var varsResolver$58 = createVarsResolver((theme, { size, radius, variant, gradie
|
|
|
6506
6529
|
autoContrast
|
|
6507
6530
|
});
|
|
6508
6531
|
return { root: {
|
|
6509
|
-
"--avatar-size":
|
|
6510
|
-
"--avatar-radius": radius === void 0 ? void 0 :
|
|
6532
|
+
"--avatar-size": getSize(size, "avatar-size"),
|
|
6533
|
+
"--avatar-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6511
6534
|
"--avatar-bg": resolvedColor || variant ? colors.background : void 0,
|
|
6512
6535
|
"--avatar-color": resolvedColor || variant ? colors.color : void 0,
|
|
6513
6536
|
"--avatar-bd": resolvedColor || variant ? colors.border : void 0
|
|
@@ -6629,7 +6652,7 @@ var Avatar = withBoxProps(Object.assign(AvatarBase, { Group: AvatarGroup }));
|
|
|
6629
6652
|
//#region src/components/SimpleGrid/SimpleGridVariables.ts
|
|
6630
6653
|
function getMinColWidthValue(value) {
|
|
6631
6654
|
if (value === void 0) return;
|
|
6632
|
-
return typeof value === "number" ?
|
|
6655
|
+
return typeof value === "number" ? rem(value) : value;
|
|
6633
6656
|
}
|
|
6634
6657
|
function isObject$2(value) {
|
|
6635
6658
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -6672,21 +6695,21 @@ var SimpleGridMediaVariables = defineComponent({
|
|
|
6672
6695
|
return () => {
|
|
6673
6696
|
const verticalSpacing = props.verticalSpacing === void 0 ? props.spacing : props.verticalSpacing;
|
|
6674
6697
|
const useAutoColumns = props.minColWidth !== void 0;
|
|
6675
|
-
const baseStyles =
|
|
6676
|
-
"--sg-spacing-x":
|
|
6677
|
-
"--sg-spacing-y":
|
|
6698
|
+
const baseStyles = filterProps({
|
|
6699
|
+
"--sg-spacing-x": getSpacing(getBaseValue(props.spacing)),
|
|
6700
|
+
"--sg-spacing-y": getSpacing(getBaseValue(verticalSpacing)),
|
|
6678
6701
|
"--sg-auto-rows": props.autoRows,
|
|
6679
|
-
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols":
|
|
6702
|
+
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols": getBaseValue(props.cols)?.toString() }
|
|
6680
6703
|
});
|
|
6681
|
-
const queries =
|
|
6704
|
+
const queries = keys(theme.value.breakpoints).reduce((acc, breakpoint) => {
|
|
6682
6705
|
acc[breakpoint] = acc[breakpoint] ?? {};
|
|
6683
|
-
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-x"] =
|
|
6684
|
-
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-y"] =
|
|
6706
|
+
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-x"] = getSpacing(props.spacing[breakpoint]);
|
|
6707
|
+
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-y"] = getSpacing(verticalSpacing[breakpoint]);
|
|
6685
6708
|
if (!useAutoColumns && isObject$2(props.cols) && props.cols[breakpoint] !== void 0) acc[breakpoint]["--sg-cols"] = props.cols[breakpoint];
|
|
6686
6709
|
return acc;
|
|
6687
6710
|
}, {});
|
|
6688
|
-
const media =
|
|
6689
|
-
if (
|
|
6711
|
+
const media = getSortedBreakpoints(theme.value.breakpoints).reduce((acc, item) => {
|
|
6712
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) acc[`(min-width: ${theme.value.breakpoints[item.breakpoint]})`] = queries[item.breakpoint];
|
|
6690
6713
|
return acc;
|
|
6691
6714
|
}, {});
|
|
6692
6715
|
return h(InlineStyles, {
|
|
@@ -6698,10 +6721,10 @@ var SimpleGridMediaVariables = defineComponent({
|
|
|
6698
6721
|
}
|
|
6699
6722
|
});
|
|
6700
6723
|
function getBreakpoints(values) {
|
|
6701
|
-
return isObject$2(values) ?
|
|
6724
|
+
return isObject$2(values) ? keys(values).filter((breakpoint) => breakpoint !== "base") : [];
|
|
6702
6725
|
}
|
|
6703
6726
|
function sortBreakpoints(breakpoints) {
|
|
6704
|
-
return breakpoints.sort((a, b) =>
|
|
6727
|
+
return breakpoints.sort((a, b) => px(a) - px(b));
|
|
6705
6728
|
}
|
|
6706
6729
|
var SimpleGridContainerVariables = defineComponent({
|
|
6707
6730
|
name: "SimpleGridContainerVariables",
|
|
@@ -6740,11 +6763,11 @@ var SimpleGridContainerVariables = defineComponent({
|
|
|
6740
6763
|
return () => {
|
|
6741
6764
|
const verticalSpacing = props.verticalSpacing === void 0 ? props.spacing : props.verticalSpacing;
|
|
6742
6765
|
const useAutoColumns = props.minColWidth !== void 0;
|
|
6743
|
-
const baseStyles =
|
|
6744
|
-
"--sg-spacing-x":
|
|
6745
|
-
"--sg-spacing-y":
|
|
6766
|
+
const baseStyles = filterProps({
|
|
6767
|
+
"--sg-spacing-x": getSpacing(getBaseValue(props.spacing)),
|
|
6768
|
+
"--sg-spacing-y": getSpacing(getBaseValue(verticalSpacing)),
|
|
6746
6769
|
"--sg-auto-rows": props.autoRows,
|
|
6747
|
-
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols":
|
|
6770
|
+
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols": getBaseValue(props.cols)?.toString() }
|
|
6748
6771
|
});
|
|
6749
6772
|
const container = sortBreakpoints(Array.from(new Set([
|
|
6750
6773
|
...getBreakpoints(props.spacing),
|
|
@@ -6752,8 +6775,8 @@ var SimpleGridContainerVariables = defineComponent({
|
|
|
6752
6775
|
...useAutoColumns ? [] : getBreakpoints(props.cols)
|
|
6753
6776
|
]))).reduce((acc, breakpoint) => {
|
|
6754
6777
|
acc[`simple-grid (min-width: ${breakpoint})`] = {};
|
|
6755
|
-
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-x"] =
|
|
6756
|
-
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-y"] =
|
|
6778
|
+
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-x"] = getSpacing(props.spacing[breakpoint]);
|
|
6779
|
+
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-y"] = getSpacing(verticalSpacing[breakpoint]);
|
|
6757
6780
|
if (!useAutoColumns && isObject$2(props.cols) && props.cols[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-cols"] = props.cols[breakpoint];
|
|
6758
6781
|
return acc;
|
|
6759
6782
|
}, {});
|
|
@@ -6926,11 +6949,11 @@ var GridColVariables = defineComponent({
|
|
|
6926
6949
|
const ctx = useGridContext();
|
|
6927
6950
|
return () => {
|
|
6928
6951
|
const breakpoints = ctx.breakpoints || theme.value.breakpoints;
|
|
6929
|
-
const baseSpan =
|
|
6930
|
-
const baseOrder =
|
|
6931
|
-
const baseOffset =
|
|
6932
|
-
const baseAlign =
|
|
6933
|
-
const baseStyles =
|
|
6952
|
+
const baseSpan = getBaseValue(props.span) ?? 12;
|
|
6953
|
+
const baseOrder = getBaseValue(props.order);
|
|
6954
|
+
const baseOffset = getBaseValue(props.offset);
|
|
6955
|
+
const baseAlign = getBaseValue(props.align);
|
|
6956
|
+
const baseStyles = filterProps({
|
|
6934
6957
|
"--col-order": baseOrder?.toString(),
|
|
6935
6958
|
"--col-flex-grow": getColumnFlexGrow(baseSpan, ctx.grow),
|
|
6936
6959
|
"--col-flex-basis": getColumnFlexBasis(baseSpan, ctx.columns),
|
|
@@ -6939,7 +6962,7 @@ var GridColVariables = defineComponent({
|
|
|
6939
6962
|
"--col-offset": getColumnOffset(baseOffset, ctx.columns),
|
|
6940
6963
|
"--col-align-self": baseAlign
|
|
6941
6964
|
});
|
|
6942
|
-
const queries =
|
|
6965
|
+
const queries = keys(breakpoints).reduce((acc, breakpoint) => {
|
|
6943
6966
|
acc[breakpoint] = {};
|
|
6944
6967
|
if (isObject$1(props.order) && props.order[breakpoint] !== void 0) acc[breakpoint]["--col-order"] = props.order[breakpoint]?.toString();
|
|
6945
6968
|
if (isObject$1(props.span) && props.span[breakpoint] !== void 0) {
|
|
@@ -6953,8 +6976,8 @@ var GridColVariables = defineComponent({
|
|
|
6953
6976
|
if (isObject$1(props.align) && props.align[breakpoint] !== void 0) acc[breakpoint]["--col-align-self"] = props.align[breakpoint];
|
|
6954
6977
|
return acc;
|
|
6955
6978
|
}, {});
|
|
6956
|
-
const values =
|
|
6957
|
-
if (
|
|
6979
|
+
const values = getSortedBreakpoints(breakpoints).reduce((acc, item) => {
|
|
6980
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) {
|
|
6958
6981
|
const query = ctx.type === "container" ? `mantine-grid (min-width: ${breakpoints[item.breakpoint]})` : `(min-width: ${breakpoints[item.breakpoint]})`;
|
|
6959
6982
|
acc[query] = queries[item.breakpoint];
|
|
6960
6983
|
}
|
|
@@ -7077,20 +7100,20 @@ var GridVariables = defineComponent({
|
|
|
7077
7100
|
const theme = useMantineTheme();
|
|
7078
7101
|
return () => {
|
|
7079
7102
|
const breakpoints = props.breakpoints || theme.value.breakpoints;
|
|
7080
|
-
const baseStyles =
|
|
7081
|
-
"--grid-gap":
|
|
7082
|
-
"--grid-row-gap":
|
|
7083
|
-
"--grid-column-gap":
|
|
7103
|
+
const baseStyles = filterProps({
|
|
7104
|
+
"--grid-gap": getSpacing(getBaseValue(props.gap)),
|
|
7105
|
+
"--grid-row-gap": getSpacing(getBaseValue(props.rowGap)),
|
|
7106
|
+
"--grid-column-gap": getSpacing(getBaseValue(props.columnGap))
|
|
7084
7107
|
});
|
|
7085
|
-
const queries =
|
|
7108
|
+
const queries = keys(breakpoints).reduce((acc, breakpoint) => {
|
|
7086
7109
|
acc[breakpoint] = {};
|
|
7087
|
-
if (isObject(props.gap) && props.gap[breakpoint] !== void 0) acc[breakpoint]["--grid-gap"] =
|
|
7088
|
-
if (isObject(props.rowGap) && props.rowGap[breakpoint] !== void 0) acc[breakpoint]["--grid-row-gap"] =
|
|
7089
|
-
if (isObject(props.columnGap) && props.columnGap[breakpoint] !== void 0) acc[breakpoint]["--grid-column-gap"] =
|
|
7110
|
+
if (isObject(props.gap) && props.gap[breakpoint] !== void 0) acc[breakpoint]["--grid-gap"] = getSpacing(props.gap[breakpoint]);
|
|
7111
|
+
if (isObject(props.rowGap) && props.rowGap[breakpoint] !== void 0) acc[breakpoint]["--grid-row-gap"] = getSpacing(props.rowGap[breakpoint]);
|
|
7112
|
+
if (isObject(props.columnGap) && props.columnGap[breakpoint] !== void 0) acc[breakpoint]["--grid-column-gap"] = getSpacing(props.columnGap[breakpoint]);
|
|
7090
7113
|
return acc;
|
|
7091
7114
|
}, {});
|
|
7092
|
-
const values =
|
|
7093
|
-
if (
|
|
7115
|
+
const values = getSortedBreakpoints(breakpoints).reduce((acc, item) => {
|
|
7116
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) {
|
|
7094
7117
|
const query = props.type === "container" ? `mantine-grid (min-width: ${breakpoints[item.breakpoint]})` : `(min-width: ${breakpoints[item.breakpoint]})`;
|
|
7095
7118
|
acc[query] = queries[item.breakpoint];
|
|
7096
7119
|
}
|
|
@@ -8004,7 +8027,7 @@ var varsResolver$56 = createVarsResolver((_, { scrollbarSize, overscrollBehavior
|
|
|
8004
8027
|
else if (scrollbars === "y") overrideOverscrollBehavior = `auto ${overscrollBehavior}`;
|
|
8005
8028
|
}
|
|
8006
8029
|
return { root: {
|
|
8007
|
-
"--scrollarea-scrollbar-size":
|
|
8030
|
+
"--scrollarea-scrollbar-size": rem(scrollbarSize),
|
|
8008
8031
|
"--scrollarea-over-scroll-behavior": overrideOverscrollBehavior
|
|
8009
8032
|
} };
|
|
8010
8033
|
});
|
|
@@ -8293,8 +8316,8 @@ var AccordionChevron = defineComponent({
|
|
|
8293
8316
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8294
8317
|
...attrs,
|
|
8295
8318
|
style: [{
|
|
8296
|
-
width:
|
|
8297
|
-
height:
|
|
8319
|
+
width: rem(props.size),
|
|
8320
|
+
height: rem(props.size),
|
|
8298
8321
|
display: "block"
|
|
8299
8322
|
}, attrs.style]
|
|
8300
8323
|
}, h("path", {
|
|
@@ -8576,7 +8599,7 @@ var defaultProps$30 = {
|
|
|
8576
8599
|
chevronSize: "auto",
|
|
8577
8600
|
chevronIconSize: 16
|
|
8578
8601
|
};
|
|
8579
|
-
function getSafeId$
|
|
8602
|
+
function getSafeId$2(prefix) {
|
|
8580
8603
|
return (value) => {
|
|
8581
8604
|
if (typeof value !== "string" || value.length === 0) throw new Error(VALUE_ERROR$1);
|
|
8582
8605
|
return `${prefix}-${value}`;
|
|
@@ -8587,8 +8610,8 @@ function renderContent$7(content) {
|
|
|
8587
8610
|
}
|
|
8588
8611
|
var varsResolver$55 = createVarsResolver((_, { transitionDuration, chevronSize, radius }) => ({ root: {
|
|
8589
8612
|
"--accordion-transition-duration": transitionDuration === void 0 ? void 0 : `${transitionDuration}ms`,
|
|
8590
|
-
"--accordion-chevron-size": chevronSize === void 0 ? void 0 :
|
|
8591
|
-
"--accordion-radius": radius === void 0 ? void 0 :
|
|
8613
|
+
"--accordion-chevron-size": chevronSize === void 0 ? void 0 : rem(chevronSize),
|
|
8614
|
+
"--accordion-radius": radius === void 0 ? void 0 : getRadius(radius)
|
|
8592
8615
|
} }));
|
|
8593
8616
|
var AccordionBase = defineComponent({
|
|
8594
8617
|
name: "Accordion",
|
|
@@ -8729,10 +8752,10 @@ var AccordionBase = defineComponent({
|
|
|
8729
8752
|
onChange: handleItemChange,
|
|
8730
8753
|
isItemActive,
|
|
8731
8754
|
get getControlId() {
|
|
8732
|
-
return getSafeId$
|
|
8755
|
+
return getSafeId$2(`${uid.value}-control`);
|
|
8733
8756
|
},
|
|
8734
8757
|
get getRegionId() {
|
|
8735
|
-
return getSafeId$
|
|
8758
|
+
return getSafeId$2(`${uid.value}-panel`);
|
|
8736
8759
|
},
|
|
8737
8760
|
getStyles,
|
|
8738
8761
|
get variant() {
|
|
@@ -8779,7 +8802,7 @@ var defaultProps$29 = {
|
|
|
8779
8802
|
draggable: true
|
|
8780
8803
|
};
|
|
8781
8804
|
var varsResolver$54 = createVarsResolver((theme, { controlSize, edgeGradientColor }) => ({ root: {
|
|
8782
|
-
"--scroller-control-size": controlSize === void 0 ? void 0 :
|
|
8805
|
+
"--scroller-control-size": controlSize === void 0 ? void 0 : rem(controlSize),
|
|
8783
8806
|
"--scroller-background-color": edgeGradientColor ? getThemeColor(edgeGradientColor, theme) : void 0
|
|
8784
8807
|
} }));
|
|
8785
8808
|
function renderContent$6(content) {
|
|
@@ -9023,8 +9046,8 @@ var TableDataRenderer = defineComponent({
|
|
|
9023
9046
|
//#region src/components/Table/TableScrollContainer.ts
|
|
9024
9047
|
var defaultProps$28 = { type: "scrollarea" };
|
|
9025
9048
|
var varsResolver$53 = createVarsResolver((_, { minWidth, maxHeight, type }) => ({ scrollContainer: {
|
|
9026
|
-
"--table-min-width":
|
|
9027
|
-
"--table-max-height":
|
|
9049
|
+
"--table-min-width": rem(minWidth),
|
|
9050
|
+
"--table-max-height": rem(maxHeight),
|
|
9028
9051
|
"--table-overflow": type === "native" ? "auto" : void 0
|
|
9029
9052
|
} }));
|
|
9030
9053
|
var TableScrollContainer = withBoxProps(defineComponent({
|
|
@@ -9110,12 +9133,12 @@ var defaultProps$27 = {
|
|
|
9110
9133
|
var varsResolver$52 = createVarsResolver((theme, { layout, captionSide, horizontalSpacing, verticalSpacing, borderColor, stripedColor, highlightOnHoverColor, striped, highlightOnHover, stickyHeaderOffset, stickyHeader }) => ({ table: {
|
|
9111
9134
|
"--table-layout": layout,
|
|
9112
9135
|
"--table-caption-side": captionSide,
|
|
9113
|
-
"--table-horizontal-spacing":
|
|
9114
|
-
"--table-vertical-spacing":
|
|
9136
|
+
"--table-horizontal-spacing": getSpacing(horizontalSpacing),
|
|
9137
|
+
"--table-vertical-spacing": getSpacing(verticalSpacing),
|
|
9115
9138
|
"--table-border-color": borderColor ? getThemeColor(borderColor, theme) : void 0,
|
|
9116
9139
|
"--table-striped-color": striped && stripedColor ? getThemeColor(stripedColor, theme) : void 0,
|
|
9117
9140
|
"--table-highlight-on-hover-color": highlightOnHover && highlightOnHoverColor ? getThemeColor(highlightOnHoverColor, theme) : void 0,
|
|
9118
|
-
"--table-sticky-header-offset": stickyHeader ?
|
|
9141
|
+
"--table-sticky-header-offset": stickyHeader ? rem(stickyHeaderOffset) : void 0
|
|
9119
9142
|
} }));
|
|
9120
9143
|
var TableBase = defineComponent({
|
|
9121
9144
|
name: "Table",
|
|
@@ -9331,8 +9354,8 @@ Object.assign(ProgressLabel, { classes: Progress_module_default });
|
|
|
9331
9354
|
//#endregion
|
|
9332
9355
|
//#region src/components/Progress/ProgressRoot/ProgressRoot.ts
|
|
9333
9356
|
var varsResolver$51 = createVarsResolver((_, { size, radius, transitionDuration }) => ({ root: {
|
|
9334
|
-
"--progress-size":
|
|
9335
|
-
"--progress-radius": radius === void 0 ? void 0 :
|
|
9357
|
+
"--progress-size": getSize(size, "progress-size"),
|
|
9358
|
+
"--progress-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
9336
9359
|
"--progress-transition-duration": typeof transitionDuration === "number" ? `${transitionDuration}ms` : void 0
|
|
9337
9360
|
} }));
|
|
9338
9361
|
var ProgressRoot = withBoxProps(defineComponent({
|
|
@@ -9728,8 +9751,8 @@ function getClampedThickness(thickness, size) {
|
|
|
9728
9751
|
}
|
|
9729
9752
|
var varsResolver$50 = createVarsResolver((_, { size, thickness, transitionDuration, startAngle }) => ({
|
|
9730
9753
|
root: {
|
|
9731
|
-
"--rp-size":
|
|
9732
|
-
"--rp-label-offset":
|
|
9754
|
+
"--rp-size": rem(size),
|
|
9755
|
+
"--rp-label-offset": rem((thickness ?? defaultProps$25.thickness) * 2),
|
|
9733
9756
|
"--rp-transition-duration": transitionDuration ? `${transitionDuration}ms` : void 0
|
|
9734
9757
|
},
|
|
9735
9758
|
svg: { "--rp-start-angle": `${startAngle}deg` }
|
|
@@ -10346,7 +10369,7 @@ var TimelineItem = withBoxProps(defineComponent({
|
|
|
10346
10369
|
...ctx.getStyles("item", {
|
|
10347
10370
|
...stylesApiProps,
|
|
10348
10371
|
style: {
|
|
10349
|
-
"--tli-radius": props.radius !== void 0 ?
|
|
10372
|
+
"--tli-radius": props.radius !== void 0 ? getRadius(props.radius) : void 0,
|
|
10350
10373
|
"--tli-color": props.color ? getThemeColor(props.color, theme.value) : void 0,
|
|
10351
10374
|
"--tli-border-style": props.lineVariant || void 0,
|
|
10352
10375
|
...props.style,
|
|
@@ -10372,9 +10395,9 @@ var defaultProps$23 = {
|
|
|
10372
10395
|
align: "left"
|
|
10373
10396
|
};
|
|
10374
10397
|
var varsResolver$48 = createVarsResolver((theme, { bulletSize, lineWidth, radius, color, autoContrast }) => ({ root: {
|
|
10375
|
-
"--tl-bullet-size":
|
|
10376
|
-
"--tl-line-width":
|
|
10377
|
-
"--tl-radius": radius === void 0 ? void 0 :
|
|
10398
|
+
"--tl-bullet-size": rem(bulletSize),
|
|
10399
|
+
"--tl-line-width": rem(lineWidth),
|
|
10400
|
+
"--tl-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
10378
10401
|
"--tl-color": color ? getThemeColor(color, theme) : void 0,
|
|
10379
10402
|
"--tl-icon-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
10380
10403
|
color,
|
|
@@ -10731,7 +10754,7 @@ var varsResolver$47 = createVarsResolver((theme, { filledSegmentColor, emptySegm
|
|
|
10731
10754
|
fillDirection
|
|
10732
10755
|
}),
|
|
10733
10756
|
"--scp-transition-duration": transitionDuration ? `${transitionDuration}ms` : void 0,
|
|
10734
|
-
"--scp-thickness":
|
|
10757
|
+
"--scp-thickness": rem(thickness)
|
|
10735
10758
|
} }));
|
|
10736
10759
|
var SemiCircleProgress = withBoxProps(defineComponent({
|
|
10737
10760
|
name: "SemiCircleProgress",
|
|
@@ -10993,7 +11016,7 @@ var Spoiler = withBoxProps(defineComponent({
|
|
|
10993
11016
|
"aria-label": ariaLabel,
|
|
10994
11017
|
...getStyles("control")
|
|
10995
11018
|
}, () => renderContent(currentLabel)) : null, h("div", {
|
|
10996
|
-
...getStyles("content", { style: { maxHeight: !show.value ?
|
|
11019
|
+
...getStyles("content", { style: { maxHeight: !show.value ? rem(maxHeight) : height.value ? rem(height.value) : void 0 } }),
|
|
10997
11020
|
"data-reduce-motion": "",
|
|
10998
11021
|
role: "region",
|
|
10999
11022
|
id: regionId
|
|
@@ -11012,7 +11035,7 @@ var Fieldset_module_default = {
|
|
|
11012
11035
|
//#endregion
|
|
11013
11036
|
//#region src/components/Fieldset/Fieldset.ts
|
|
11014
11037
|
var defaultProps$19 = { variant: "default" };
|
|
11015
|
-
var varsResolver$45 = createVarsResolver((_, { radius }) => ({ root: { "--fieldset-radius": radius === void 0 ? void 0 :
|
|
11038
|
+
var varsResolver$45 = createVarsResolver((_, { radius }) => ({ root: { "--fieldset-radius": radius === void 0 ? void 0 : getRadius(radius) } }));
|
|
11016
11039
|
var Fieldset = withBoxProps(defineComponent({
|
|
11017
11040
|
name: "Fieldset",
|
|
11018
11041
|
inheritAttrs: false,
|
|
@@ -11269,7 +11292,7 @@ var Input_module_default = {
|
|
|
11269
11292
|
};
|
|
11270
11293
|
//#endregion
|
|
11271
11294
|
//#region src/components/Input/InputDescription/InputDescription.ts
|
|
11272
|
-
var varsResolver$44 = createVarsResolver((_, { size }) => ({ description: { "--input-description-size": size === void 0 ? void 0 : `calc(${
|
|
11295
|
+
var varsResolver$44 = createVarsResolver((_, { size }) => ({ description: { "--input-description-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` } }));
|
|
11273
11296
|
var InputDescription = withBoxProps(defineComponent({
|
|
11274
11297
|
name: "InputDescription",
|
|
11275
11298
|
inheritAttrs: false,
|
|
@@ -11333,7 +11356,7 @@ Object.assign(InputDescription, {
|
|
|
11333
11356
|
});
|
|
11334
11357
|
//#endregion
|
|
11335
11358
|
//#region src/components/Input/InputError/InputError.ts
|
|
11336
|
-
var varsResolver$43 = createVarsResolver((_, { size }) => ({ error: { "--input-error-size": size === void 0 ? void 0 : `calc(${
|
|
11359
|
+
var varsResolver$43 = createVarsResolver((_, { size }) => ({ error: { "--input-error-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` } }));
|
|
11337
11360
|
var InputError = withBoxProps(defineComponent({
|
|
11338
11361
|
name: "InputError",
|
|
11339
11362
|
inheritAttrs: false,
|
|
@@ -11398,7 +11421,7 @@ Object.assign(InputError, {
|
|
|
11398
11421
|
//#endregion
|
|
11399
11422
|
//#region src/components/Input/InputLabel/InputLabel.ts
|
|
11400
11423
|
var varsResolver$42 = createVarsResolver((_, { size }) => ({ label: {
|
|
11401
|
-
"--input-label-size":
|
|
11424
|
+
"--input-label-size": getFontSize(size),
|
|
11402
11425
|
"--input-asterisk-color": void 0
|
|
11403
11426
|
} }));
|
|
11404
11427
|
var InputLabel = withBoxProps(defineComponent({
|
|
@@ -11558,11 +11581,11 @@ var defaultOrder = [
|
|
|
11558
11581
|
];
|
|
11559
11582
|
var varsResolver$41 = createVarsResolver((_, { size }) => ({
|
|
11560
11583
|
label: {
|
|
11561
|
-
"--input-label-size":
|
|
11584
|
+
"--input-label-size": getFontSize(size),
|
|
11562
11585
|
"--input-asterisk-color": void 0
|
|
11563
11586
|
},
|
|
11564
|
-
error: { "--input-error-size": size === void 0 ? void 0 : `calc(${
|
|
11565
|
-
description: { "--input-description-size": size === void 0 ? void 0 : `calc(${
|
|
11587
|
+
error: { "--input-error-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` },
|
|
11588
|
+
description: { "--input-description-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` }
|
|
11566
11589
|
}));
|
|
11567
11590
|
function renderContent$4(content) {
|
|
11568
11591
|
return typeof content === "function" ? content() : content;
|
|
@@ -11778,12 +11801,12 @@ Object.assign(InputWrapper, {
|
|
|
11778
11801
|
var varsResolver$40 = createVarsResolver((_, props, ctx) => ({ wrapper: {
|
|
11779
11802
|
"--input-margin-top": ctx.offsetTop ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
|
|
11780
11803
|
"--input-margin-bottom": ctx.offsetBottom ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
|
|
11781
|
-
"--input-height":
|
|
11782
|
-
"--input-fz":
|
|
11783
|
-
"--input-radius": props.radius === void 0 ? void 0 :
|
|
11784
|
-
"--input-left-section-width": props.leftSectionWidth !== void 0 ?
|
|
11785
|
-
"--input-right-section-width": props.rightSectionWidth !== void 0 ?
|
|
11786
|
-
"--input-padding-y": props.multiline ?
|
|
11804
|
+
"--input-height": getSize(props.size, "input-height"),
|
|
11805
|
+
"--input-fz": getFontSize(props.size),
|
|
11806
|
+
"--input-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
11807
|
+
"--input-left-section-width": props.leftSectionWidth !== void 0 ? rem(props.leftSectionWidth) : void 0,
|
|
11808
|
+
"--input-right-section-width": props.rightSectionWidth !== void 0 ? rem(props.rightSectionWidth) : void 0,
|
|
11809
|
+
"--input-padding-y": props.multiline ? getSize(props.size, "input-padding-y") : void 0,
|
|
11787
11810
|
"--input-left-section-pointer-events": props.leftSectionPointerEvents,
|
|
11788
11811
|
"--input-right-section-pointer-events": props.rightSectionPointerEvents
|
|
11789
11812
|
} }));
|
|
@@ -12637,7 +12660,7 @@ var Notification_module_default = {
|
|
|
12637
12660
|
//#region src/components/Notification/Notification.ts
|
|
12638
12661
|
var defaultProps$18 = { withCloseButton: true };
|
|
12639
12662
|
var varsResolver$39 = createVarsResolver((theme, { radius, color }) => ({ root: {
|
|
12640
|
-
"--notification-radius": radius === void 0 ? void 0 :
|
|
12663
|
+
"--notification-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
12641
12664
|
"--notification-color": color ? getThemeColor(color, theme) : void 0
|
|
12642
12665
|
} }));
|
|
12643
12666
|
var Notification = withBoxProps(defineComponent({
|
|
@@ -12913,7 +12936,7 @@ var leadingDecimalZeroPattern = /^(0\.0*|-0(\.0*)?)$/;
|
|
|
12913
12936
|
var leadingZerosPattern = /^-?0\d+(\.\d+)?\.?$/;
|
|
12914
12937
|
var trailingZerosPattern = /\.\d*0$/;
|
|
12915
12938
|
var trailingDecimalSeparatorPattern = /^-?\d+\.$/;
|
|
12916
|
-
var varsResolver$38 = createVarsResolver((_, { size }) => ({ controls: { "--ni-chevron-size":
|
|
12939
|
+
var varsResolver$38 = createVarsResolver((_, { size }) => ({ controls: { "--ni-chevron-size": getSize(size, "ni-chevron-size") } }));
|
|
12917
12940
|
function clamp$3(value, min, max) {
|
|
12918
12941
|
return Math.min(max ?? value, Math.max(min ?? value, value));
|
|
12919
12942
|
}
|
|
@@ -13491,7 +13514,7 @@ function filterFalsyChildren(children) {
|
|
|
13491
13514
|
}
|
|
13492
13515
|
var varsResolver$37 = createVarsResolver((_, { grow, preventGrowOverflow, gap, align, justify, wrap }, { childWidth }) => ({ root: {
|
|
13493
13516
|
"--group-child-width": grow && preventGrowOverflow ? childWidth : void 0,
|
|
13494
|
-
"--group-gap":
|
|
13517
|
+
"--group-gap": getSpacing(gap),
|
|
13495
13518
|
"--group-align": align,
|
|
13496
13519
|
"--group-justify": justify,
|
|
13497
13520
|
"--group-wrap": wrap
|
|
@@ -13557,7 +13580,7 @@ var Group = withBoxProps(defineComponent({
|
|
|
13557
13580
|
return () => {
|
|
13558
13581
|
const children = filterFalsyChildren(slots.default?.() ?? []);
|
|
13559
13582
|
const childrenCount = Math.max(children.length, 1);
|
|
13560
|
-
const resolvedGap =
|
|
13583
|
+
const resolvedGap = getSpacing(props.gap ?? "md");
|
|
13561
13584
|
stylesCtx.childWidth = `calc(${100 / childrenCount}% - (${resolvedGap} - ${resolvedGap} / ${childrenCount}))`;
|
|
13562
13585
|
return h(Box, {
|
|
13563
13586
|
...attrs,
|
|
@@ -13601,7 +13624,7 @@ var defaultProps$16 = {
|
|
|
13601
13624
|
ariaLabel: "PinInput",
|
|
13602
13625
|
size: "sm"
|
|
13603
13626
|
};
|
|
13604
|
-
var varsResolver$36 = createVarsResolver((_, { size }) => ({ root: { "--pin-input-size":
|
|
13627
|
+
var varsResolver$36 = createVarsResolver((_, { size }) => ({ root: { "--pin-input-size": getSize(size ?? "sm", "pin-input-size") } }));
|
|
13605
13628
|
function getInputElement(node) {
|
|
13606
13629
|
const element = node?.$el ?? node;
|
|
13607
13630
|
if (!element) return null;
|
|
@@ -14185,7 +14208,7 @@ var varsResolver$35 = createVarsResolver((theme, { variant, color, childrenOffse
|
|
|
14185
14208
|
"--nl-hover": color || variant ? colors.hover : void 0,
|
|
14186
14209
|
"--nl-color": color || variant ? colors.color : void 0
|
|
14187
14210
|
},
|
|
14188
|
-
children: { "--nl-offset":
|
|
14211
|
+
children: { "--nl-offset": getSpacing(childrenOffset) }
|
|
14189
14212
|
};
|
|
14190
14213
|
});
|
|
14191
14214
|
function renderContent$2(content) {
|
|
@@ -14415,7 +14438,7 @@ var defaultProps$14 = {
|
|
|
14415
14438
|
};
|
|
14416
14439
|
var varsResolver$34 = createVarsResolver((_, { duration, gap, repeat, fadeEdgeColor, fadeEdgeSize }) => ({ root: {
|
|
14417
14440
|
"--marquee-duration": `${duration}ms`,
|
|
14418
|
-
"--marquee-gap":
|
|
14441
|
+
"--marquee-gap": getSpacing(gap),
|
|
14419
14442
|
"--marquee-repeat": (repeat ?? 4).toString(),
|
|
14420
14443
|
"--marquee-fade-color": fadeEdgeColor,
|
|
14421
14444
|
"--marquee-fade-size": fadeEdgeSize
|
|
@@ -14528,15 +14551,15 @@ var defaultProps$13 = {
|
|
|
14528
14551
|
bottom: 0,
|
|
14529
14552
|
right: 0
|
|
14530
14553
|
},
|
|
14531
|
-
zIndex:
|
|
14554
|
+
zIndex: getDefaultZIndex("modal"),
|
|
14532
14555
|
withinPortal: true
|
|
14533
14556
|
};
|
|
14534
14557
|
var varsResolver$33 = createVarsResolver((_, { zIndex, position }) => ({ root: {
|
|
14535
14558
|
"--affix-z-index": zIndex?.toString(),
|
|
14536
|
-
"--affix-top":
|
|
14537
|
-
"--affix-left":
|
|
14538
|
-
"--affix-bottom":
|
|
14539
|
-
"--affix-right":
|
|
14559
|
+
"--affix-top": getSpacing(position?.top),
|
|
14560
|
+
"--affix-left": getSpacing(position?.left),
|
|
14561
|
+
"--affix-bottom": getSpacing(position?.bottom),
|
|
14562
|
+
"--affix-right": getSpacing(position?.right)
|
|
14540
14563
|
} }));
|
|
14541
14564
|
var Affix = withBoxProps(defineComponent({
|
|
14542
14565
|
name: "Affix",
|
|
@@ -14624,7 +14647,7 @@ var defaultProps$12 = {
|
|
|
14624
14647
|
right: 30
|
|
14625
14648
|
}
|
|
14626
14649
|
};
|
|
14627
|
-
var varsResolver$32 = createVarsResolver((_, { size }) => ({ root: { "--dialog-size":
|
|
14650
|
+
var varsResolver$32 = createVarsResolver((_, { size }) => ({ root: { "--dialog-size": getSize(size, "dialog-size") } }));
|
|
14628
14651
|
var Dialog = defineComponent({
|
|
14629
14652
|
name: "Dialog",
|
|
14630
14653
|
inheritAttrs: false,
|
|
@@ -14915,7 +14938,7 @@ var defaultProps$11 = {
|
|
|
14915
14938
|
color: "yellow"
|
|
14916
14939
|
};
|
|
14917
14940
|
var varsResolver$31 = createVarsResolver((theme, { size, color }) => ({ root: {
|
|
14918
|
-
"--rating-size":
|
|
14941
|
+
"--rating-size": getSize(size, "rating-size"),
|
|
14919
14942
|
"--rating-color": getThemeColor(color, theme)
|
|
14920
14943
|
} }));
|
|
14921
14944
|
var Rating = withBoxProps(defineComponent({
|
|
@@ -15333,7 +15356,7 @@ var SegmentedControl_module_default = {
|
|
|
15333
15356
|
//#endregion
|
|
15334
15357
|
//#region src/components/SegmentedControl/SegmentedControl.ts
|
|
15335
15358
|
var varsResolver$29 = createVarsResolver((theme, { radius, color, transitionDuration, size, transitionTimingFunction, autoContrast }) => ({ root: {
|
|
15336
|
-
"--sc-radius": radius === void 0 ? void 0 :
|
|
15359
|
+
"--sc-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
15337
15360
|
"--sc-color": color ? getThemeColor(color, theme) : void 0,
|
|
15338
15361
|
"--sc-label-color": color ? getContrastColor({
|
|
15339
15362
|
color,
|
|
@@ -15343,8 +15366,8 @@ var varsResolver$29 = createVarsResolver((theme, { radius, color, transitionDura
|
|
|
15343
15366
|
"--sc-shadow": color ? void 0 : "var(--mantine-shadow-xs)",
|
|
15344
15367
|
"--sc-transition-duration": transitionDuration === void 0 ? void 0 : `${transitionDuration}ms`,
|
|
15345
15368
|
"--sc-transition-timing-function": transitionTimingFunction,
|
|
15346
|
-
"--sc-padding":
|
|
15347
|
-
"--sc-font-size":
|
|
15369
|
+
"--sc-padding": getSize(size, "sc-padding"),
|
|
15370
|
+
"--sc-font-size": getFontSize(size)
|
|
15348
15371
|
} }));
|
|
15349
15372
|
function normalizeData(data) {
|
|
15350
15373
|
return data.map((item) => isPrimitive(item) ? {
|
|
@@ -15789,9 +15812,9 @@ var defaultProps$10 = {
|
|
|
15789
15812
|
layout: "default"
|
|
15790
15813
|
};
|
|
15791
15814
|
var varsResolver$28 = createVarsResolver((theme, { size, radius, color, autoContrast }) => ({ root: {
|
|
15792
|
-
"--pagination-control-radius": radius === void 0 ? void 0 :
|
|
15793
|
-
"--pagination-control-size":
|
|
15794
|
-
"--pagination-control-fz":
|
|
15815
|
+
"--pagination-control-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
15816
|
+
"--pagination-control-size": getSize(size, "pagination-control-size"),
|
|
15817
|
+
"--pagination-control-fz": getFontSize(size),
|
|
15795
15818
|
"--pagination-active-bg": color ? getThemeColor(color, theme) : void 0,
|
|
15796
15819
|
"--pagination-active-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
15797
15820
|
color,
|
|
@@ -16380,14 +16403,14 @@ var defaultProps$8 = {
|
|
|
16380
16403
|
variant: "default",
|
|
16381
16404
|
placement: "left"
|
|
16382
16405
|
};
|
|
16383
|
-
function getSafeId(prefix) {
|
|
16406
|
+
function getSafeId$1(prefix) {
|
|
16384
16407
|
return (value) => {
|
|
16385
16408
|
if (typeof value !== "string" || value.length === 0) throw new Error(VALUE_ERROR);
|
|
16386
16409
|
return `${prefix}-${value}`;
|
|
16387
16410
|
};
|
|
16388
16411
|
}
|
|
16389
16412
|
var varsResolver$27 = createVarsResolver((theme, { radius, color, autoContrast }) => ({ root: {
|
|
16390
|
-
"--tabs-radius":
|
|
16413
|
+
"--tabs-radius": getRadius(radius),
|
|
16391
16414
|
"--tabs-color": getThemeColor(color, theme),
|
|
16392
16415
|
"--tabs-text-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
16393
16416
|
color,
|
|
@@ -16548,8 +16571,8 @@ var TabsBase = defineComponent({
|
|
|
16548
16571
|
return currentTab.value;
|
|
16549
16572
|
},
|
|
16550
16573
|
onChange: setCurrentTab,
|
|
16551
|
-
getTabId: getSafeId(`${uid.value}-tab`),
|
|
16552
|
-
getPanelId: getSafeId(`${uid.value}-panel`)
|
|
16574
|
+
getTabId: getSafeId$1(`${uid.value}-tab`),
|
|
16575
|
+
getPanelId: getSafeId$1(`${uid.value}-panel`)
|
|
16553
16576
|
});
|
|
16554
16577
|
return () => h(Box, {
|
|
16555
16578
|
...attrs,
|
|
@@ -17001,8 +17024,8 @@ var PasswordInput_module_default = {
|
|
|
17001
17024
|
//#endregion
|
|
17002
17025
|
//#region src/components/PasswordInput/PasswordInput.ts
|
|
17003
17026
|
var varsResolver$26 = createVarsResolver((_, { size }) => ({ root: {
|
|
17004
|
-
"--psi-icon-size":
|
|
17005
|
-
"--psi-button-size":
|
|
17027
|
+
"--psi-icon-size": getSize(size, "psi-icon-size"),
|
|
17028
|
+
"--psi-button-size": getSize(size, "psi-button-size")
|
|
17006
17029
|
} }));
|
|
17007
17030
|
var mergedClasses$3 = {
|
|
17008
17031
|
...Input_module_default,
|
|
@@ -17426,8 +17449,8 @@ var InlineInput = defineComponent({
|
|
|
17426
17449
|
...getStyles("root", {
|
|
17427
17450
|
className: attrs.class,
|
|
17428
17451
|
style: {
|
|
17429
|
-
"--label-fz":
|
|
17430
|
-
"--label-lh":
|
|
17452
|
+
"--label-fz": getFontSize(props.size),
|
|
17453
|
+
"--label-lh": getSize(props.size, "label-lh"),
|
|
17431
17454
|
...attrs.style
|
|
17432
17455
|
}
|
|
17433
17456
|
}),
|
|
@@ -17499,8 +17522,8 @@ var CheckIcon = defineComponent({
|
|
|
17499
17522
|
"aria-hidden": true,
|
|
17500
17523
|
...attrs,
|
|
17501
17524
|
style: props.size !== void 0 ? [{
|
|
17502
|
-
width:
|
|
17503
|
-
height:
|
|
17525
|
+
width: rem(props.size),
|
|
17526
|
+
height: rem(props.size),
|
|
17504
17527
|
display: "block"
|
|
17505
17528
|
}, attrs.style] : attrs.style
|
|
17506
17529
|
}, h("path", {
|
|
@@ -17695,7 +17718,7 @@ var CheckboxCardContextKey = Symbol("CheckboxCardContext");
|
|
|
17695
17718
|
function useCheckboxCardContext() {
|
|
17696
17719
|
return inject(CheckboxCardContextKey, null);
|
|
17697
17720
|
}
|
|
17698
|
-
var varsResolver$25 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius":
|
|
17721
|
+
var varsResolver$25 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius": getRadius(radius) } }));
|
|
17699
17722
|
var CheckboxCard = withBoxProps(defineComponent({
|
|
17700
17723
|
name: "CheckboxCard",
|
|
17701
17724
|
inheritAttrs: false,
|
|
@@ -17801,8 +17824,8 @@ var CheckboxIndicator_module_default = {
|
|
|
17801
17824
|
//#endregion
|
|
17802
17825
|
//#region src/components/Checkbox/CheckboxIndicator/CheckboxIndicator.ts
|
|
17803
17826
|
var varsResolver$24 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ indicator: {
|
|
17804
|
-
"--checkbox-size":
|
|
17805
|
-
"--checkbox-radius": radius === void 0 ? void 0 :
|
|
17827
|
+
"--checkbox-size": getSize(size, "checkbox-size"),
|
|
17828
|
+
"--checkbox-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
17806
17829
|
"--checkbox-color": getThemeColor(color, theme),
|
|
17807
17830
|
"--checkbox-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
17808
17831
|
color,
|
|
@@ -17928,8 +17951,8 @@ var mergedClasses$2 = {
|
|
|
17928
17951
|
...Checkbox_module_default
|
|
17929
17952
|
};
|
|
17930
17953
|
var varsResolver$23 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ root: {
|
|
17931
|
-
"--checkbox-size":
|
|
17932
|
-
"--checkbox-radius": radius === void 0 ? void 0 :
|
|
17954
|
+
"--checkbox-size": getSize(size, "checkbox-size"),
|
|
17955
|
+
"--checkbox-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
17933
17956
|
"--checkbox-color": getThemeColor(color, theme),
|
|
17934
17957
|
"--checkbox-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
17935
17958
|
color,
|
|
@@ -18214,17 +18237,17 @@ var varsResolver$22 = createVarsResolver((theme, { size, radius, variant, color,
|
|
|
18214
18237
|
autoContrast
|
|
18215
18238
|
});
|
|
18216
18239
|
return { root: {
|
|
18217
|
-
"--chip-fz":
|
|
18218
|
-
"--chip-size":
|
|
18219
|
-
"--chip-radius": radius === void 0 ? void 0 :
|
|
18220
|
-
"--chip-checked-padding":
|
|
18221
|
-
"--chip-padding":
|
|
18222
|
-
"--chip-icon-size":
|
|
18240
|
+
"--chip-fz": getFontSize(size),
|
|
18241
|
+
"--chip-size": getSize(size, "chip-size"),
|
|
18242
|
+
"--chip-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
18243
|
+
"--chip-checked-padding": getSize(size, "chip-checked-padding"),
|
|
18244
|
+
"--chip-padding": getSize(size, "chip-padding"),
|
|
18245
|
+
"--chip-icon-size": getSize(size, "chip-icon-size"),
|
|
18223
18246
|
"--chip-bg": color || variant ? colors.background : void 0,
|
|
18224
18247
|
"--chip-hover": color || variant ? colors.hover : void 0,
|
|
18225
18248
|
"--chip-color": color || variant ? colors.color : void 0,
|
|
18226
18249
|
"--chip-bd": color || variant ? colors.border : void 0,
|
|
18227
|
-
"--chip-spacing":
|
|
18250
|
+
"--chip-spacing": getSize(size, "chip-spacing")
|
|
18228
18251
|
} };
|
|
18229
18252
|
});
|
|
18230
18253
|
function callHandler$5(handler, event) {
|
|
@@ -18421,7 +18444,7 @@ var PillGroupContextKey = Symbol("PillGroupContext");
|
|
|
18421
18444
|
function usePillGroupContext() {
|
|
18422
18445
|
return inject(PillGroupContextKey, null);
|
|
18423
18446
|
}
|
|
18424
|
-
var varsResolver$21 = createVarsResolver((_, { gap }, ctx) => ({ group: { "--pg-gap": gap !== void 0 ?
|
|
18447
|
+
var varsResolver$21 = createVarsResolver((_, { gap }, ctx) => ({ group: { "--pg-gap": gap !== void 0 ? getSize(gap) : getSize(ctx.size, "pg-gap") } }));
|
|
18425
18448
|
var PillGroup = withBoxProps(defineComponent({
|
|
18426
18449
|
name: "PillGroup",
|
|
18427
18450
|
inheritAttrs: false,
|
|
@@ -18500,9 +18523,9 @@ Object.assign(PillGroup, {
|
|
|
18500
18523
|
//#endregion
|
|
18501
18524
|
//#region src/components/Pill/Pill.ts
|
|
18502
18525
|
var varsResolver$20 = createVarsResolver((_, { radius }, ctx) => ({ root: {
|
|
18503
|
-
"--pill-fz":
|
|
18504
|
-
"--pill-height":
|
|
18505
|
-
"--pill-radius": radius === void 0 ? void 0 :
|
|
18526
|
+
"--pill-fz": getSize(ctx.size, "pill-fz"),
|
|
18527
|
+
"--pill-height": getSize(ctx.size, "pill-height"),
|
|
18528
|
+
"--pill-radius": radius === void 0 ? void 0 : getRadius(radius)
|
|
18506
18529
|
} }));
|
|
18507
18530
|
function callHandler$4(handler, event) {
|
|
18508
18531
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
@@ -19016,7 +19039,7 @@ var RadioCardContextKey = Symbol("RadioCardContext");
|
|
|
19016
19039
|
function useRadioCardContext() {
|
|
19017
19040
|
return inject(RadioCardContextKey, null);
|
|
19018
19041
|
}
|
|
19019
|
-
var varsResolver$19 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius":
|
|
19042
|
+
var varsResolver$19 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius": getRadius(radius) } }));
|
|
19020
19043
|
function callHandler$3(handler, event) {
|
|
19021
19044
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
19022
19045
|
else handler?.(event);
|
|
@@ -19141,10 +19164,10 @@ var RadioIndicator_module_default = {
|
|
|
19141
19164
|
//#endregion
|
|
19142
19165
|
//#region src/components/Radio/RadioIndicator/RadioIndicator.ts
|
|
19143
19166
|
var varsResolver$18 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ indicator: {
|
|
19144
|
-
"--radio-size":
|
|
19145
|
-
"--radio-radius": radius === void 0 ? void 0 :
|
|
19167
|
+
"--radio-size": getSize(size, "radio-size"),
|
|
19168
|
+
"--radio-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19146
19169
|
"--radio-color": getThemeColor(color, theme),
|
|
19147
|
-
"--radio-icon-size": typeof size === "number" ? `calc(${
|
|
19170
|
+
"--radio-icon-size": typeof size === "number" ? `calc(${getSize(size, "radio-size")} * 0.4)` : getSize(size, "radio-icon-size"),
|
|
19148
19171
|
"--radio-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
19149
19172
|
color,
|
|
19150
19173
|
theme,
|
|
@@ -19261,15 +19284,15 @@ var mergedClasses$1 = {
|
|
|
19261
19284
|
...Radio_module_default
|
|
19262
19285
|
};
|
|
19263
19286
|
var varsResolver$17 = createVarsResolver((theme, { size, radius, color, iconColor, autoContrast }) => ({ root: {
|
|
19264
|
-
"--radio-size":
|
|
19265
|
-
"--radio-radius": radius === void 0 ? void 0 :
|
|
19287
|
+
"--radio-size": getSize(size, "radio-size"),
|
|
19288
|
+
"--radio-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19266
19289
|
"--radio-color": getThemeColor(color, theme),
|
|
19267
19290
|
"--radio-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
19268
19291
|
color,
|
|
19269
19292
|
theme,
|
|
19270
19293
|
autoContrast
|
|
19271
19294
|
}) : void 0,
|
|
19272
|
-
"--radio-icon-size":
|
|
19295
|
+
"--radio-icon-size": getSize(size, "radio-icon-size")
|
|
19273
19296
|
} }));
|
|
19274
19297
|
function callHandler$2(handler, event) {
|
|
19275
19298
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
@@ -19633,12 +19656,12 @@ var mergedClasses = {
|
|
|
19633
19656
|
...Switch_module_default
|
|
19634
19657
|
};
|
|
19635
19658
|
var varsResolver$16 = createVarsResolver((theme, { radius, color, size }) => ({ root: {
|
|
19636
|
-
"--switch-radius": radius === void 0 ? void 0 :
|
|
19637
|
-
"--switch-height":
|
|
19638
|
-
"--switch-width":
|
|
19639
|
-
"--switch-thumb-size":
|
|
19640
|
-
"--switch-label-font-size":
|
|
19641
|
-
"--switch-track-label-padding":
|
|
19659
|
+
"--switch-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19660
|
+
"--switch-height": getSize(size, "switch-height"),
|
|
19661
|
+
"--switch-width": getSize(size, "switch-width"),
|
|
19662
|
+
"--switch-thumb-size": getSize(size, "switch-thumb-size"),
|
|
19663
|
+
"--switch-label-font-size": getSize(size, "switch-label-font-size"),
|
|
19664
|
+
"--switch-track-label-padding": getSize(size, "switch-track-label-padding"),
|
|
19642
19665
|
"--switch-color": color ? getThemeColor(color, theme) : void 0
|
|
19643
19666
|
} }));
|
|
19644
19667
|
function renderContent(content) {
|
|
@@ -20017,7 +20040,7 @@ var Flex = withBoxProps(defineComponent({
|
|
|
20017
20040
|
...attrs,
|
|
20018
20041
|
...getStyles("root", {
|
|
20019
20042
|
className: parsedStyleProps.hasResponsiveStyles ? responsiveClassName : void 0,
|
|
20020
|
-
style:
|
|
20043
|
+
style: filterProps(parsedStyleProps.inlineStyles)
|
|
20021
20044
|
})
|
|
20022
20045
|
}, () => slots.default?.())];
|
|
20023
20046
|
};
|
|
@@ -20032,7 +20055,7 @@ var defaultProps$7 = {
|
|
|
20032
20055
|
justify: "flex-start"
|
|
20033
20056
|
};
|
|
20034
20057
|
var varsResolver$15 = createVarsResolver((_, { gap, align, justify }) => ({ root: {
|
|
20035
|
-
"--stack-gap":
|
|
20058
|
+
"--stack-gap": getSpacing(gap),
|
|
20036
20059
|
"--stack-align": align,
|
|
20037
20060
|
"--stack-justify": justify
|
|
20038
20061
|
} }));
|
|
@@ -20328,11 +20351,11 @@ var varsResolver$14 = createVarsResolver((theme, { color, iconSize, size, conten
|
|
|
20328
20351
|
theme,
|
|
20329
20352
|
autoContrast
|
|
20330
20353
|
}) : void 0,
|
|
20331
|
-
"--stepper-icon-size": iconSize === void 0 ?
|
|
20332
|
-
"--stepper-content-padding":
|
|
20333
|
-
"--stepper-radius": radius === void 0 ? void 0 :
|
|
20334
|
-
"--stepper-fz":
|
|
20335
|
-
"--stepper-spacing":
|
|
20354
|
+
"--stepper-icon-size": iconSize === void 0 ? getSize(size, "stepper-icon-size") : rem(iconSize),
|
|
20355
|
+
"--stepper-content-padding": getSpacing(contentPadding),
|
|
20356
|
+
"--stepper-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
20357
|
+
"--stepper-fz": getFontSize(size),
|
|
20358
|
+
"--stepper-spacing": getSpacing(size)
|
|
20336
20359
|
} }));
|
|
20337
20360
|
function getSlotContent(vnode) {
|
|
20338
20361
|
const children = vnode?.children;
|
|
@@ -20595,7 +20618,7 @@ var defaultProps$4 = {
|
|
|
20595
20618
|
maxRows: 1,
|
|
20596
20619
|
maxVisibleItems: Infinity
|
|
20597
20620
|
};
|
|
20598
|
-
var varsResolver$13 = createVarsResolver((_, { gap }) => ({ root: { "--ol-gap":
|
|
20621
|
+
var varsResolver$13 = createVarsResolver((_, { gap }) => ({ root: { "--ol-gap": getSpacing(gap) } }));
|
|
20599
20622
|
function getDataSignature(data, getItemKey) {
|
|
20600
20623
|
return data.map((item, index) => getItemKey ? getItemKey(item, index) : item !== null && (typeof item === "object" || typeof item === "function") ? index : String(item)).join(" ");
|
|
20601
20624
|
}
|
|
@@ -20809,9 +20832,9 @@ var varsResolver$12 = createVarsResolver((theme, { color, size, variant, autoCon
|
|
|
20809
20832
|
return { root: {
|
|
20810
20833
|
"--toc-bg": variant !== "none" ? colors.background : void 0,
|
|
20811
20834
|
"--toc-color": variant !== "none" ? colors.color : void 0,
|
|
20812
|
-
"--toc-size":
|
|
20813
|
-
"--toc-depth-offset":
|
|
20814
|
-
"--toc-radius":
|
|
20835
|
+
"--toc-size": getFontSize(size),
|
|
20836
|
+
"--toc-depth-offset": rem(depthOffset),
|
|
20837
|
+
"--toc-radius": getRadius(radius)
|
|
20815
20838
|
} };
|
|
20816
20839
|
});
|
|
20817
20840
|
var TableOfContents = withBoxProps(defineComponent({
|
|
@@ -20946,7 +20969,7 @@ var FloatingWindow_module_default = { root: "_root_kejg3_1" };
|
|
|
20946
20969
|
var defaultProps$2 = {
|
|
20947
20970
|
constrainToViewport: true,
|
|
20948
20971
|
withinPortal: true,
|
|
20949
|
-
zIndex:
|
|
20972
|
+
zIndex: getDefaultZIndex("overlay")
|
|
20950
20973
|
};
|
|
20951
20974
|
var FloatingWindow = defineComponent({
|
|
20952
20975
|
name: "FloatingWindow",
|
|
@@ -21448,10 +21471,10 @@ var defaultProps$1 = {
|
|
|
21448
21471
|
orientation: "horizontal"
|
|
21449
21472
|
};
|
|
21450
21473
|
var varsResolver$11 = createVarsResolver((theme, { size, color, thumbSize, radius }) => ({ root: {
|
|
21451
|
-
"--slider-size":
|
|
21474
|
+
"--slider-size": getSize(size, "slider-size"),
|
|
21452
21475
|
"--slider-color": color ? getThemeColor(color, theme) : void 0,
|
|
21453
|
-
"--slider-radius": radius === void 0 ? void 0 :
|
|
21454
|
-
"--slider-thumb-size": thumbSize !== void 0 ?
|
|
21476
|
+
"--slider-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
21477
|
+
"--slider-thumb-size": thumbSize !== void 0 ? rem(thumbSize) : "calc(var(--slider-size) * 2)"
|
|
21455
21478
|
} }));
|
|
21456
21479
|
var Slider = withBoxProps(defineComponent({
|
|
21457
21480
|
name: "Slider",
|
|
@@ -21741,10 +21764,10 @@ var defaults$5 = {
|
|
|
21741
21764
|
orientation: "horizontal"
|
|
21742
21765
|
};
|
|
21743
21766
|
var varsResolver$10 = createVarsResolver((theme, { size, color, thumbSize, radius }) => ({ root: {
|
|
21744
|
-
"--slider-size":
|
|
21767
|
+
"--slider-size": getSize(size, "slider-size"),
|
|
21745
21768
|
"--slider-color": color ? getThemeColor(color, theme) : void 0,
|
|
21746
|
-
"--slider-radius":
|
|
21747
|
-
"--slider-thumb-size": thumbSize !== void 0 ?
|
|
21769
|
+
"--slider-radius": getRadius(radius),
|
|
21770
|
+
"--slider-thumb-size": thumbSize !== void 0 ? rem(thumbSize) : "calc(var(--slider-size) * 2)"
|
|
21748
21771
|
} }));
|
|
21749
21772
|
var RangeSlider = defineComponent({
|
|
21750
21773
|
name: "RangeSlider",
|
|
@@ -22471,10 +22494,10 @@ var AlphaSlider = defineComponent({
|
|
|
22471
22494
|
overlays: [
|
|
22472
22495
|
{
|
|
22473
22496
|
backgroundImage: "linear-gradient(45deg,var(--slider-checkers) 25%,transparent 25%),linear-gradient(-45deg,var(--slider-checkers) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--slider-checkers) 75%)",
|
|
22474
|
-
backgroundSize: `${
|
|
22497
|
+
backgroundSize: `${rem(8)} ${rem(8)}`
|
|
22475
22498
|
},
|
|
22476
22499
|
{ backgroundImage: `linear-gradient(90deg, transparent, ${props.color})` },
|
|
22477
|
-
{ boxShadow: `rgba(0,0,0,.1) 0 0 0 ${
|
|
22500
|
+
{ boxShadow: `rgba(0,0,0,.1) 0 0 0 ${rem(1)} inset` }
|
|
22478
22501
|
]
|
|
22479
22502
|
});
|
|
22480
22503
|
}
|
|
@@ -22524,7 +22547,7 @@ var HueSlider = defineComponent({
|
|
|
22524
22547
|
thumbColor: `hsl(${props.value}, 100%, 50%)`,
|
|
22525
22548
|
round: true,
|
|
22526
22549
|
"data-hue": "",
|
|
22527
|
-
overlays: [{ backgroundImage: "linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))" }, { boxShadow: `rgba(0,0,0,.1) 0 0 0 ${
|
|
22550
|
+
overlays: [{ backgroundImage: "linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))" }, { boxShadow: `rgba(0,0,0,.1) 0 0 0 ${rem(1)} inset, rgba(0,0,0,.15) 0 0 ${rem(4)} inset` }]
|
|
22528
22551
|
});
|
|
22529
22552
|
}
|
|
22530
22553
|
});
|
|
@@ -22708,12 +22731,12 @@ var defaults$4 = {
|
|
|
22708
22731
|
__staticSelector: "ColorPicker"
|
|
22709
22732
|
};
|
|
22710
22733
|
var varsResolver$9 = createVarsResolver((_, { size, swatchesPerRow }) => ({ wrapper: {
|
|
22711
|
-
"--cp-preview-size":
|
|
22712
|
-
"--cp-width":
|
|
22713
|
-
"--cp-body-spacing":
|
|
22734
|
+
"--cp-preview-size": getSize(size, "cp-preview-size"),
|
|
22735
|
+
"--cp-width": getSize(size, "cp-width"),
|
|
22736
|
+
"--cp-body-spacing": getSpacing(size),
|
|
22714
22737
|
"--cp-swatch-size": `${100 / swatchesPerRow}%`,
|
|
22715
|
-
"--cp-thumb-size":
|
|
22716
|
-
"--cp-saturation-height":
|
|
22738
|
+
"--cp-thumb-size": getSize(size, "cp-thumb-size"),
|
|
22739
|
+
"--cp-saturation-height": getSize(size, "cp-saturation-height")
|
|
22717
22740
|
} }));
|
|
22718
22741
|
var ColorPicker = defineComponent({
|
|
22719
22742
|
name: "ColorPicker",
|
|
@@ -23039,10 +23062,10 @@ var AppShellMain = withBoxProps(Object.assign(defineComponent({
|
|
|
23039
23062
|
//#endregion
|
|
23040
23063
|
//#region src/components/AppShell/AppShellMediaStyles/get-variables.ts
|
|
23041
23064
|
var isResponsive = (value) => Boolean(value && typeof value === "object");
|
|
23042
|
-
var size$1 = (value) => value === void 0 ? void 0 :
|
|
23043
|
-
var paddingValue = (value) => Number(value) === 0 ? "0px" :
|
|
23065
|
+
var size$1 = (value) => value === void 0 ? void 0 : rem(value);
|
|
23066
|
+
var paddingValue = (value) => Number(value) === 0 ? "0px" : getSpacing(value);
|
|
23044
23067
|
function breakpointPx(value, theme) {
|
|
23045
|
-
return typeof value === "string" && value in theme.breakpoints ?
|
|
23068
|
+
return typeof value === "string" && value in theme.breakpoints ? getBreakpointValue(theme.breakpoints[value]) : getBreakpointValue(value);
|
|
23046
23069
|
}
|
|
23047
23070
|
function media(styles, query, values) {
|
|
23048
23071
|
styles[query] = {
|
|
@@ -23054,7 +23077,7 @@ function responsive(value, property, base, min, theme, transform = size$1) {
|
|
|
23054
23077
|
if (isResponsive(value)) {
|
|
23055
23078
|
if (value.base !== void 0) base[property] = transform(value.base);
|
|
23056
23079
|
Object.entries(value).forEach(([key, item]) => {
|
|
23057
|
-
if (key !== "base" && item !== void 0) media(min, `(min-width: ${
|
|
23080
|
+
if (key !== "base" && item !== void 0) media(min, `(min-width: ${em(breakpointPx(key, theme))})`, { [property]: transform(item) });
|
|
23058
23081
|
});
|
|
23059
23082
|
} else if (value !== void 0) base[property] = transform(value);
|
|
23060
23083
|
}
|
|
@@ -23086,8 +23109,8 @@ function getVariables({ navbar, aside, header, footer, padding, theme, mode }) {
|
|
|
23086
23109
|
responsive(config.width, "--app-shell-navbar-offset", baseStyles, minMediaStyles, theme);
|
|
23087
23110
|
if (mode === "static") responsive(config.width, "--app-shell-navbar-grid-width", baseStyles, minMediaStyles, theme);
|
|
23088
23111
|
const bp = breakpointPx(config.breakpoint, theme);
|
|
23089
|
-
const minQuery = `(min-width: ${
|
|
23090
|
-
const maxQuery = `(max-width: ${
|
|
23112
|
+
const minQuery = `(min-width: ${em(bp)})`;
|
|
23113
|
+
const maxQuery = `(max-width: ${em(bp - .1)})`;
|
|
23091
23114
|
if (!config.collapsed?.mobile) media(maxMediaStyles, maxQuery, {
|
|
23092
23115
|
"--app-shell-navbar-offset": "0px",
|
|
23093
23116
|
"--app-shell-navbar-width": "100%",
|
|
@@ -23121,8 +23144,8 @@ function getVariables({ navbar, aside, header, footer, padding, theme, mode }) {
|
|
|
23121
23144
|
responsive(config.width, "--app-shell-aside-width", baseStyles, minMediaStyles, theme);
|
|
23122
23145
|
responsive(config.width, "--app-shell-aside-offset", baseStyles, minMediaStyles, theme);
|
|
23123
23146
|
const bp = breakpointPx(config.breakpoint, theme);
|
|
23124
|
-
const minQuery = `(min-width: ${
|
|
23125
|
-
const maxQuery = `(max-width: ${
|
|
23147
|
+
const minQuery = `(min-width: ${em(bp)})`;
|
|
23148
|
+
const maxQuery = `(max-width: ${em(bp - .1)})`;
|
|
23126
23149
|
if (!config.collapsed?.mobile) media(maxMediaStyles, maxQuery, mode === "fixed" ? {
|
|
23127
23150
|
"--app-shell-aside-width": "100%",
|
|
23128
23151
|
"--app-shell-aside-offset": "0px"
|
|
@@ -23274,7 +23297,7 @@ var defaults$3 = {
|
|
|
23274
23297
|
padding: 0,
|
|
23275
23298
|
transitionDuration: 200,
|
|
23276
23299
|
transitionTimingFunction: "ease",
|
|
23277
|
-
zIndex:
|
|
23300
|
+
zIndex: getDefaultZIndex("app"),
|
|
23278
23301
|
mode: "fixed",
|
|
23279
23302
|
offsetScrollbars: true
|
|
23280
23303
|
};
|
|
@@ -25078,7 +25101,7 @@ var Tree_module_default = {
|
|
|
25078
25101
|
function getFlatValues(data) {
|
|
25079
25102
|
return data.flatMap((node) => [node.value, ...node.children ? getFlatValues(node.children) : []]);
|
|
25080
25103
|
}
|
|
25081
|
-
var varsResolver$6 = createVarsResolver((_, { levelOffset }) => ({ root: { "--level-offset":
|
|
25104
|
+
var varsResolver$6 = createVarsResolver((_, { levelOffset }) => ({ root: { "--level-offset": getSpacing(levelOffset) } }));
|
|
25082
25105
|
var Tree = withBoxProps(defineComponent({
|
|
25083
25106
|
name: "Tree",
|
|
25084
25107
|
inheritAttrs: false,
|
|
@@ -25756,9 +25779,9 @@ var ModalBase = withBoxProps(defineComponent({
|
|
|
25756
25779
|
...attrs,
|
|
25757
25780
|
id: modal.id.value || fallbackId.value,
|
|
25758
25781
|
style: [{
|
|
25759
|
-
"--mb-z-index": String(props.zIndex ??
|
|
25760
|
-
"--mb-shadow":
|
|
25761
|
-
"--mb-padding":
|
|
25782
|
+
"--mb-z-index": String(props.zIndex ?? getDefaultZIndex("modal")),
|
|
25783
|
+
"--mb-shadow": getShadow(props.shadow),
|
|
25784
|
+
"--mb-padding": getSpacing(props.padding)
|
|
25762
25785
|
}, attrs.style]
|
|
25763
25786
|
}, () => slots.default?.()));
|
|
25764
25787
|
}
|
|
@@ -25961,10 +25984,10 @@ var Modal_module_default = {
|
|
|
25961
25984
|
//#region src/components/Modal/Modal.ts
|
|
25962
25985
|
var [provideModalContext, useModalContext] = createSafeContext("Modal component was not found in tree");
|
|
25963
25986
|
var varsResolver$5 = createVarsResolver((_, props) => ({ root: {
|
|
25964
|
-
"--modal-size":
|
|
25965
|
-
"--modal-radius": props.radius == null ? void 0 :
|
|
25966
|
-
"--modal-y-offset":
|
|
25967
|
-
"--modal-x-offset":
|
|
25987
|
+
"--modal-size": getSize(props.size, "modal-size"),
|
|
25988
|
+
"--modal-radius": props.radius == null ? void 0 : rem(props.radius),
|
|
25989
|
+
"--modal-y-offset": rem(props.yOffset),
|
|
25990
|
+
"--modal-x-offset": rem(props.xOffset)
|
|
25968
25991
|
} }));
|
|
25969
25992
|
var ModalRoot = defineComponent({
|
|
25970
25993
|
name: "ModalRoot",
|
|
@@ -26152,7 +26175,7 @@ var DrawerStack = defineComponent({
|
|
|
26152
26175
|
name: "DrawerStack",
|
|
26153
26176
|
setup(_, { slots }) {
|
|
26154
26177
|
const stack = ref([]);
|
|
26155
|
-
const maxZIndex = ref(
|
|
26178
|
+
const maxZIndex = ref(getDefaultZIndex("modal"));
|
|
26156
26179
|
provide(DrawerStackContextKey, reactive({
|
|
26157
26180
|
get stack() {
|
|
26158
26181
|
return stack.value;
|
|
@@ -26213,12 +26236,12 @@ function useDrawersStack(drawers) {
|
|
|
26213
26236
|
};
|
|
26214
26237
|
}
|
|
26215
26238
|
var varsResolver$4 = createVarsResolver((_, props) => ({ root: {
|
|
26216
|
-
"--drawer-size":
|
|
26239
|
+
"--drawer-size": getSize(props.size, "drawer-size"),
|
|
26217
26240
|
"--drawer-flex": props.position === "top" || props.position === "bottom" ? "0 0 calc(100% - var(--drawer-offset) * 2)" : void 0,
|
|
26218
26241
|
"--drawer-height": props.position === "left" || props.position === "right" ? void 0 : "var(--drawer-size)",
|
|
26219
26242
|
"--drawer-align": props.position === "top" ? "flex-start" : props.position === "bottom" ? "flex-end" : void 0,
|
|
26220
26243
|
"--drawer-justify": props.position === "right" ? "flex-end" : void 0,
|
|
26221
|
-
"--drawer-offset":
|
|
26244
|
+
"--drawer-offset": rem(props.offset)
|
|
26222
26245
|
} }));
|
|
26223
26246
|
var transitions = {
|
|
26224
26247
|
top: "slide-down",
|
|
@@ -26390,7 +26413,7 @@ var DrawerBaseComponent = defineComponent({
|
|
|
26390
26413
|
setup(props, { attrs, slots }) {
|
|
26391
26414
|
const stackCtx = useDrawerStackContext();
|
|
26392
26415
|
watch(() => props.opened, (opened) => {
|
|
26393
|
-
if (stackCtx && props.stackId) if (opened) stackCtx.addModal(props.stackId, typeof props.zIndex === "number" ? props.zIndex :
|
|
26416
|
+
if (stackCtx && props.stackId) if (opened) stackCtx.addModal(props.stackId, typeof props.zIndex === "number" ? props.zIndex : getDefaultZIndex("modal"));
|
|
26394
26417
|
else stackCtx.removeModal(props.stackId);
|
|
26395
26418
|
}, { immediate: true });
|
|
26396
26419
|
const resolvedZIndex = computed(() => {
|
|
@@ -26734,7 +26757,7 @@ var defaults$2 = {
|
|
|
26734
26757
|
withRoles: true,
|
|
26735
26758
|
returnFocus: false,
|
|
26736
26759
|
keepMounted: false,
|
|
26737
|
-
zIndex:
|
|
26760
|
+
zIndex: getDefaultZIndex("popover"),
|
|
26738
26761
|
floatingStrategy: "absolute",
|
|
26739
26762
|
transitionProps: {
|
|
26740
26763
|
transition: "fade",
|
|
@@ -26742,8 +26765,8 @@ var defaults$2 = {
|
|
|
26742
26765
|
}
|
|
26743
26766
|
};
|
|
26744
26767
|
var varsResolver$3 = createVarsResolver((_, props) => ({ dropdown: {
|
|
26745
|
-
"--popover-radius": props.radius === void 0 ? void 0 :
|
|
26746
|
-
"--popover-shadow":
|
|
26768
|
+
"--popover-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
26769
|
+
"--popover-shadow": getShadow(props.shadow)
|
|
26747
26770
|
} }));
|
|
26748
26771
|
function one$3(slots, name) {
|
|
26749
26772
|
const children = slots.default?.().filter((child) => typeof child.type !== "symbol") ?? [];
|
|
@@ -26884,7 +26907,7 @@ var PopoverDropdown = defineComponent({
|
|
|
26884
26907
|
zIndex: ctx.zIndex,
|
|
26885
26908
|
top: `${ctx.y}px`,
|
|
26886
26909
|
left: `${ctx.x}px`,
|
|
26887
|
-
width: ctx.width === "target" ? ctx.targetWidth === void 0 ? void 0 : `${ctx.targetWidth}px` :
|
|
26910
|
+
width: ctx.width === "target" ? ctx.targetWidth === void 0 ? void 0 : `${ctx.targetWidth}px` : rem(ctx.width)
|
|
26888
26911
|
},
|
|
26889
26912
|
attrs.style
|
|
26890
26913
|
]
|
|
@@ -27189,7 +27212,7 @@ var PopoverBase = defineComponent({
|
|
|
27189
27212
|
return props.width ?? "max-content";
|
|
27190
27213
|
},
|
|
27191
27214
|
get zIndex() {
|
|
27192
|
-
return props.zIndex ??
|
|
27215
|
+
return props.zIndex ?? getDefaultZIndex("popover");
|
|
27193
27216
|
},
|
|
27194
27217
|
get floatingStrategy() {
|
|
27195
27218
|
return props.floatingStrategy ?? "absolute";
|
|
@@ -27242,10 +27265,10 @@ var defaults$1 = {
|
|
|
27242
27265
|
withinPortal: true,
|
|
27243
27266
|
offset: 10,
|
|
27244
27267
|
position: "right",
|
|
27245
|
-
zIndex:
|
|
27268
|
+
zIndex: getDefaultZIndex("popover")
|
|
27246
27269
|
};
|
|
27247
27270
|
var varsResolver$2 = createVarsResolver((theme, props) => ({ tooltip: {
|
|
27248
|
-
"--tooltip-radius": props.radius === void 0 ? void 0 :
|
|
27271
|
+
"--tooltip-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
27249
27272
|
"--tooltip-bg": props.color ? getThemeColor(props.color, theme) : void 0,
|
|
27250
27273
|
"--tooltip-color": props.color ? "var(--mantine-color-white)" : void 0
|
|
27251
27274
|
} }));
|
|
@@ -27477,7 +27500,7 @@ var defaults = {
|
|
|
27477
27500
|
focus: false,
|
|
27478
27501
|
touch: false
|
|
27479
27502
|
},
|
|
27480
|
-
zIndex:
|
|
27503
|
+
zIndex: getDefaultZIndex("popover"),
|
|
27481
27504
|
middlewares: {
|
|
27482
27505
|
flip: true,
|
|
27483
27506
|
shift: true,
|
|
@@ -27493,7 +27516,7 @@ var varsResolver$1 = createVarsResolver((theme, props) => {
|
|
|
27493
27516
|
variant: props.variant || "filled"
|
|
27494
27517
|
});
|
|
27495
27518
|
return { tooltip: {
|
|
27496
|
-
"--tooltip-radius": props.radius === void 0 ? void 0 :
|
|
27519
|
+
"--tooltip-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
27497
27520
|
"--tooltip-bg": props.color ? colors.background : void 0,
|
|
27498
27521
|
"--tooltip-color": props.color ? colors.color : void 0
|
|
27499
27522
|
} };
|
|
@@ -28789,17 +28812,17 @@ function useComboboxTargetProps(input) {
|
|
|
28789
28812
|
//#region src/components/Combobox/Combobox.ts
|
|
28790
28813
|
var varsResolver = createVarsResolver((_, props) => ({
|
|
28791
28814
|
options: {
|
|
28792
|
-
"--combobox-option-fz":
|
|
28793
|
-
"--combobox-option-padding":
|
|
28815
|
+
"--combobox-option-fz": getFontSize(props.size),
|
|
28816
|
+
"--combobox-option-padding": getSize(props.size, "combobox-option-padding")
|
|
28794
28817
|
},
|
|
28795
28818
|
dropdown: {
|
|
28796
|
-
"--combobox-padding": props.dropdownPadding === void 0 ? void 0 :
|
|
28797
|
-
"--combobox-option-fz":
|
|
28798
|
-
"--combobox-option-padding":
|
|
28819
|
+
"--combobox-padding": props.dropdownPadding === void 0 ? void 0 : rem(props.dropdownPadding),
|
|
28820
|
+
"--combobox-option-fz": getFontSize(props.size),
|
|
28821
|
+
"--combobox-option-padding": getSize(props.size, "combobox-option-padding")
|
|
28799
28822
|
}
|
|
28800
28823
|
}));
|
|
28801
28824
|
var chevronVarsResolver = createVarsResolver((theme, props) => ({ chevron: {
|
|
28802
|
-
"--combobox-chevron-size":
|
|
28825
|
+
"--combobox-chevron-size": getSize(props.size, "combobox-chevron-size"),
|
|
28803
28826
|
"--combobox-chevron-color": props.color ? getThemeColor(props.color, theme) : void 0
|
|
28804
28827
|
} }));
|
|
28805
28828
|
function childrenOne(slots, name) {
|
|
@@ -31184,414 +31207,7 @@ Object.assign(TreeSelect, { classes: {
|
|
|
31184
31207
|
...Combobox.classes,
|
|
31185
31208
|
...TreeSelect_module_default
|
|
31186
31209
|
} });
|
|
31187
|
-
|
|
31188
|
-
|
|
31189
|
-
AccordionChevron: () => AccordionChevron,
|
|
31190
|
-
AccordionControl: () => AccordionControl,
|
|
31191
|
-
AccordionItem: () => AccordionItem,
|
|
31192
|
-
AccordionPanel: () => AccordionPanel,
|
|
31193
|
-
ActionIcon: () => ActionIcon,
|
|
31194
|
-
ActionIconGroup: () => ActionIconGroup,
|
|
31195
|
-
ActionIconGroupSection: () => ActionIconGroupSection,
|
|
31196
|
-
Affix: () => Affix,
|
|
31197
|
-
Alert: () => Alert,
|
|
31198
|
-
AlphaSlider: () => AlphaSlider,
|
|
31199
|
-
Anchor: () => Anchor,
|
|
31200
|
-
AngleSlider: () => AngleSlider,
|
|
31201
|
-
AppShell: () => AppShell,
|
|
31202
|
-
AppShellAside: () => AppShellAside,
|
|
31203
|
-
AppShellFooter: () => AppShellFooter,
|
|
31204
|
-
AppShellHeader: () => AppShellHeader,
|
|
31205
|
-
AppShellMain: () => AppShellMain,
|
|
31206
|
-
AppShellNavbar: () => AppShellNavbar,
|
|
31207
|
-
AppShellSection: () => AppShellSection,
|
|
31208
|
-
AspectRatio: () => AspectRatio,
|
|
31209
|
-
Autocomplete: () => Autocomplete,
|
|
31210
|
-
Avatar: () => Avatar,
|
|
31211
|
-
AvatarGroup: () => AvatarGroup,
|
|
31212
|
-
AvatarGroupContextKey: () => AvatarGroupContextKey,
|
|
31213
|
-
BackgroundImage: () => BackgroundImage,
|
|
31214
|
-
Badge: () => Badge,
|
|
31215
|
-
Bars: () => Bars,
|
|
31216
|
-
Blockquote: () => Blockquote,
|
|
31217
|
-
Box: () => Box,
|
|
31218
|
-
Breadcrumbs: () => Breadcrumbs,
|
|
31219
|
-
Burger: () => Burger,
|
|
31220
|
-
Button: () => Button,
|
|
31221
|
-
ButtonGroup: () => ButtonGroup,
|
|
31222
|
-
ButtonGroupSection: () => ButtonGroupSection,
|
|
31223
|
-
Card: () => Card,
|
|
31224
|
-
CardSection: () => CardSection,
|
|
31225
|
-
Center: () => Center,
|
|
31226
|
-
CheckIcon: () => CheckIcon,
|
|
31227
|
-
Checkbox: () => Checkbox,
|
|
31228
|
-
CheckboxCard: () => CheckboxCard,
|
|
31229
|
-
CheckboxGroup: () => CheckboxGroup,
|
|
31230
|
-
CheckboxIcon: () => CheckboxIcon,
|
|
31231
|
-
CheckboxIndicator: () => CheckboxIndicator,
|
|
31232
|
-
Chip: () => Chip,
|
|
31233
|
-
ChipGroup: () => ChipGroup,
|
|
31234
|
-
CloseButton: () => CloseButton,
|
|
31235
|
-
CloseIcon: () => CloseIcon,
|
|
31236
|
-
Code: () => Code,
|
|
31237
|
-
Collapse: () => Collapse,
|
|
31238
|
-
ColorInput: () => ColorInput,
|
|
31239
|
-
ColorPicker: () => ColorPicker,
|
|
31240
|
-
ColorSlider: () => ColorSlider,
|
|
31241
|
-
ColorSwatch: () => ColorSwatch,
|
|
31242
|
-
Combobox: () => Combobox,
|
|
31243
|
-
ComboboxChevron: () => ComboboxChevron,
|
|
31244
|
-
ComboboxClearButton: () => ComboboxClearButton,
|
|
31245
|
-
ComboboxDropdown: () => ComboboxDropdown,
|
|
31246
|
-
ComboboxDropdownTarget: () => ComboboxDropdownTarget,
|
|
31247
|
-
ComboboxEmpty: () => ComboboxEmpty,
|
|
31248
|
-
ComboboxEventsTarget: () => ComboboxEventsTarget,
|
|
31249
|
-
ComboboxFooter: () => ComboboxFooter,
|
|
31250
|
-
ComboboxGroup: () => ComboboxGroup,
|
|
31251
|
-
ComboboxHeader: () => ComboboxHeader,
|
|
31252
|
-
ComboboxHiddenInput: () => ComboboxHiddenInput,
|
|
31253
|
-
ComboboxOption: () => ComboboxOption,
|
|
31254
|
-
ComboboxOptions: () => ComboboxOptions,
|
|
31255
|
-
ComboboxSearch: () => ComboboxSearch,
|
|
31256
|
-
ComboboxTarget: () => ComboboxTarget,
|
|
31257
|
-
Container: () => Container,
|
|
31258
|
-
CopyButton: () => CopyButton,
|
|
31259
|
-
DEFAULT_COLORS: () => DEFAULT_COLORS,
|
|
31260
|
-
DEFAULT_THEME: () => DEFAULT_THEME,
|
|
31261
|
-
Dialog: () => Dialog,
|
|
31262
|
-
DirectionContextKey: () => DirectionContextKey,
|
|
31263
|
-
DirectionProvider: () => DirectionProvider,
|
|
31264
|
-
Divider: () => Divider,
|
|
31265
|
-
Dots: () => Dots,
|
|
31266
|
-
Drawer: () => Drawer,
|
|
31267
|
-
DrawerBody: () => DrawerBody,
|
|
31268
|
-
DrawerCloseButton: () => DrawerCloseButton,
|
|
31269
|
-
DrawerContent: () => DrawerContent,
|
|
31270
|
-
DrawerHeader: () => DrawerHeader,
|
|
31271
|
-
DrawerOverlay: () => DrawerOverlay,
|
|
31272
|
-
DrawerRoot: () => DrawerRoot,
|
|
31273
|
-
DrawerStack: () => DrawerStack,
|
|
31274
|
-
DrawerTitle: () => DrawerTitle,
|
|
31275
|
-
FLEX_STYLE_PROPS_DATA: () => FLEX_STYLE_PROPS_DATA,
|
|
31276
|
-
Fieldset: () => Fieldset,
|
|
31277
|
-
FileButton: () => FileButton,
|
|
31278
|
-
FileInput: () => FileInput,
|
|
31279
|
-
FlatTreeNode: () => FlatTreeNode,
|
|
31280
|
-
Flex: () => Flex,
|
|
31281
|
-
FloatingIndicator: () => FloatingIndicator,
|
|
31282
|
-
FloatingWindow: () => FloatingWindow,
|
|
31283
|
-
FocusTrap: () => FocusTrap,
|
|
31284
|
-
FocusTrapInitialFocus: () => FocusTrapInitialFocus,
|
|
31285
|
-
Grid: () => Grid,
|
|
31286
|
-
GridCol: () => GridCol,
|
|
31287
|
-
Group: () => Group,
|
|
31288
|
-
HeadlessMantineProvider: () => HeadlessMantineProvider,
|
|
31289
|
-
Highlight: () => Highlight,
|
|
31290
|
-
HoverCard: () => HoverCard,
|
|
31291
|
-
HoverCardDropdown: () => HoverCardDropdown,
|
|
31292
|
-
HoverCardGroup: () => HoverCardGroup,
|
|
31293
|
-
HoverCardTarget: () => HoverCardTarget,
|
|
31294
|
-
HueSlider: () => HueSlider,
|
|
31295
|
-
INVALID_PRIMARY_COLOR_ERROR: () => INVALID_PRIMARY_COLOR_ERROR,
|
|
31296
|
-
INVALID_PRIMARY_SHADE_ERROR: () => INVALID_PRIMARY_SHADE_ERROR,
|
|
31297
|
-
Image: () => Image,
|
|
31298
|
-
Indicator: () => Indicator,
|
|
31299
|
-
InlineStyles: () => InlineStyles,
|
|
31300
|
-
Input: () => Input,
|
|
31301
|
-
InputBase: () => InputBase,
|
|
31302
|
-
InputClearButton: () => InputClearButton,
|
|
31303
|
-
InputClearSection: () => InputClearSection,
|
|
31304
|
-
InputDescription: () => InputDescription,
|
|
31305
|
-
InputError: () => InputError,
|
|
31306
|
-
InputLabel: () => InputLabel,
|
|
31307
|
-
InputPlaceholder: () => InputPlaceholder,
|
|
31308
|
-
InputWrapper: () => InputWrapper,
|
|
31309
|
-
JsonInput: () => JsonInput,
|
|
31310
|
-
Kbd: () => Kbd,
|
|
31311
|
-
List: () => List,
|
|
31312
|
-
ListItem: () => ListItem,
|
|
31313
|
-
Loader: () => Loader,
|
|
31314
|
-
LoadingOverlay: () => LoadingOverlay,
|
|
31315
|
-
MantineClasses: () => MantineClasses,
|
|
31316
|
-
MantineContextKey: () => MantineContextKey,
|
|
31317
|
-
MantineCssVariables: () => MantineCssVariables,
|
|
31318
|
-
MantineProvider: () => MantineProvider,
|
|
31319
|
-
MantineThemeKey: () => MantineThemeKey,
|
|
31320
|
-
MantineThemeProvider: () => MantineThemeProvider,
|
|
31321
|
-
Mark: () => Mark,
|
|
31322
|
-
Marquee: () => Marquee,
|
|
31323
|
-
MaskInput: () => MaskInput,
|
|
31324
|
-
Menu: () => Menu,
|
|
31325
|
-
MenuCheckboxGroup: () => MenuCheckboxGroup,
|
|
31326
|
-
MenuCheckboxItem: () => MenuCheckboxItem,
|
|
31327
|
-
MenuContextMenu: () => MenuContextMenu,
|
|
31328
|
-
MenuDivider: () => MenuDivider,
|
|
31329
|
-
MenuDropdown: () => MenuDropdown,
|
|
31330
|
-
MenuItem: () => MenuItem,
|
|
31331
|
-
MenuLabel: () => MenuLabel,
|
|
31332
|
-
MenuRadioGroup: () => MenuRadioGroup,
|
|
31333
|
-
MenuRadioItem: () => MenuRadioItem,
|
|
31334
|
-
MenuSearch: () => MenuSearch,
|
|
31335
|
-
MenuSub: () => MenuSub,
|
|
31336
|
-
MenuSubDropdown: () => MenuSubDropdown,
|
|
31337
|
-
MenuSubItem: () => MenuSubItem,
|
|
31338
|
-
MenuSubTarget: () => MenuSubTarget,
|
|
31339
|
-
MenuTarget: () => MenuTarget,
|
|
31340
|
-
Modal: () => Modal,
|
|
31341
|
-
ModalBase: () => ModalBase,
|
|
31342
|
-
ModalBaseBody: () => ModalBaseBody,
|
|
31343
|
-
ModalBaseCloseButton: () => ModalBaseCloseButton,
|
|
31344
|
-
ModalBaseContent: () => ModalBaseContent,
|
|
31345
|
-
ModalBaseHeader: () => ModalBaseHeader,
|
|
31346
|
-
ModalBaseOverlay: () => ModalBaseOverlay,
|
|
31347
|
-
ModalBaseTitle: () => ModalBaseTitle,
|
|
31348
|
-
ModalBody: () => ModalBody,
|
|
31349
|
-
ModalCloseButton: () => ModalCloseButton,
|
|
31350
|
-
ModalContent: () => ModalContent,
|
|
31351
|
-
ModalHeader: () => ModalHeader,
|
|
31352
|
-
ModalOverlay: () => ModalOverlay,
|
|
31353
|
-
ModalRoot: () => ModalRoot,
|
|
31354
|
-
ModalTitle: () => ModalTitle,
|
|
31355
|
-
MultiSelect: () => MultiSelect,
|
|
31356
|
-
NativeScrollArea: () => NativeScrollArea,
|
|
31357
|
-
NativeSelect: () => NativeSelect,
|
|
31358
|
-
NativeSelectOption: () => NativeSelectOption,
|
|
31359
|
-
NavLink: () => NavLink,
|
|
31360
|
-
Notification: () => Notification,
|
|
31361
|
-
NumberFormatter: () => NumberFormatter,
|
|
31362
|
-
NumberInput: () => NumberInput,
|
|
31363
|
-
NumberInputChevron: () => NumberInputChevron,
|
|
31364
|
-
OptionalPortal: () => OptionalPortal,
|
|
31365
|
-
OptionsDropdown: () => OptionsDropdown,
|
|
31366
|
-
Oval: () => Oval,
|
|
31367
|
-
OverflowList: () => OverflowList,
|
|
31368
|
-
Overlay: () => Overlay,
|
|
31369
|
-
Pagination: () => Pagination,
|
|
31370
|
-
PaginationControl: () => PaginationControl,
|
|
31371
|
-
PaginationDots: () => PaginationDots,
|
|
31372
|
-
PaginationFirst: () => PaginationFirst,
|
|
31373
|
-
PaginationItems: () => PaginationItems,
|
|
31374
|
-
PaginationItemsGroup: () => PaginationItemsGroup,
|
|
31375
|
-
PaginationLabel: () => PaginationLabel,
|
|
31376
|
-
PaginationLast: () => PaginationLast,
|
|
31377
|
-
PaginationNext: () => PaginationNext,
|
|
31378
|
-
PaginationPrevious: () => PaginationPrevious,
|
|
31379
|
-
PaginationRoot: () => PaginationRoot,
|
|
31380
|
-
Paper: () => Paper,
|
|
31381
|
-
PasswordInput: () => PasswordInput,
|
|
31382
|
-
PasswordToggleIcon: () => PasswordToggleIcon,
|
|
31383
|
-
Pill: () => Pill,
|
|
31384
|
-
PillGroup: () => PillGroup,
|
|
31385
|
-
PillsInput: () => PillsInput,
|
|
31386
|
-
PillsInputField: () => PillsInputField,
|
|
31387
|
-
PinInput: () => PinInput,
|
|
31388
|
-
Popover: () => Popover,
|
|
31389
|
-
PopoverContextMenu: () => PopoverContextMenu,
|
|
31390
|
-
PopoverDropdown: () => PopoverDropdown,
|
|
31391
|
-
PopoverTarget: () => PopoverTarget,
|
|
31392
|
-
Portal: () => Portal,
|
|
31393
|
-
Progress: () => Progress,
|
|
31394
|
-
ProgressLabel: () => ProgressLabel,
|
|
31395
|
-
ProgressRoot: () => ProgressRoot,
|
|
31396
|
-
ProgressSection: () => ProgressSection,
|
|
31397
|
-
Radio: () => Radio,
|
|
31398
|
-
RadioCard: () => RadioCard,
|
|
31399
|
-
RadioGroup: () => RadioGroup,
|
|
31400
|
-
RadioIcon: () => RadioIcon,
|
|
31401
|
-
RadioIndicator: () => RadioIndicator,
|
|
31402
|
-
RangeSlider: () => RangeSlider,
|
|
31403
|
-
Rating: () => Rating,
|
|
31404
|
-
RingProgress: () => RingProgress,
|
|
31405
|
-
RollingNumber: () => RollingNumber,
|
|
31406
|
-
STYLE_PROPS_DATA: () => STYLE_PROPS_DATA,
|
|
31407
|
-
ScrollArea: () => ScrollArea,
|
|
31408
|
-
ScrollAreaAutosize: () => ScrollAreaAutosize,
|
|
31409
|
-
Scroller: () => Scroller,
|
|
31410
|
-
SegmentedControl: () => SegmentedControl,
|
|
31411
|
-
Select: () => Select,
|
|
31412
|
-
SemiCircleProgress: () => SemiCircleProgress,
|
|
31413
|
-
SimpleGrid: () => SimpleGrid,
|
|
31414
|
-
Skeleton: () => Skeleton,
|
|
31415
|
-
Slider: () => Slider,
|
|
31416
|
-
Space: () => Space,
|
|
31417
|
-
Splitter: () => Splitter,
|
|
31418
|
-
SplitterPane: () => SplitterPane,
|
|
31419
|
-
Spoiler: () => Spoiler,
|
|
31420
|
-
Stack: () => Stack,
|
|
31421
|
-
Stepper: () => Stepper,
|
|
31422
|
-
StepperCompleted: () => StepperCompleted,
|
|
31423
|
-
StepperStep: () => StepperStep,
|
|
31424
|
-
Switch: () => Switch,
|
|
31425
|
-
SwitchGroup: () => SwitchGroup,
|
|
31426
|
-
Table: () => Table,
|
|
31427
|
-
TableCaption: () => TableCaption,
|
|
31428
|
-
TableDataRenderer: () => TableDataRenderer,
|
|
31429
|
-
TableOfContents: () => TableOfContents,
|
|
31430
|
-
TableScrollContainer: () => TableScrollContainer,
|
|
31431
|
-
TableTbody: () => TableTbody,
|
|
31432
|
-
TableTd: () => TableTd,
|
|
31433
|
-
TableTfoot: () => TableTfoot,
|
|
31434
|
-
TableTh: () => TableTh,
|
|
31435
|
-
TableThead: () => TableThead,
|
|
31436
|
-
TableTr: () => TableTr,
|
|
31437
|
-
Tabs: () => Tabs,
|
|
31438
|
-
TabsList: () => TabsList,
|
|
31439
|
-
TabsPanel: () => TabsPanel,
|
|
31440
|
-
TabsTab: () => TabsTab,
|
|
31441
|
-
TagsInput: () => TagsInput,
|
|
31442
|
-
Text: () => Text,
|
|
31443
|
-
TextInput: () => TextInput,
|
|
31444
|
-
Textarea: () => Textarea,
|
|
31445
|
-
ThemeIcon: () => ThemeIcon,
|
|
31446
|
-
Timeline: () => Timeline,
|
|
31447
|
-
TimelineItem: () => TimelineItem,
|
|
31448
|
-
Title: () => Title,
|
|
31449
|
-
Tooltip: () => Tooltip,
|
|
31450
|
-
TooltipFloating: () => TooltipFloating,
|
|
31451
|
-
TooltipGroup: () => TooltipGroup,
|
|
31452
|
-
Transition: () => Transition,
|
|
31453
|
-
Tree: () => Tree,
|
|
31454
|
-
TreeSelect: () => TreeSelect,
|
|
31455
|
-
TreeSelectOption: () => TreeSelectOption,
|
|
31456
|
-
Typography: () => Typography,
|
|
31457
|
-
UnstyledButton: () => UnstyledButton,
|
|
31458
|
-
VisuallyHidden: () => VisuallyHidden,
|
|
31459
|
-
alpha: () => alpha,
|
|
31460
|
-
buildValue: () => buildValue,
|
|
31461
|
-
colorsTuple: () => colorsTuple,
|
|
31462
|
-
convertCssVariables: () => convertCssVariables,
|
|
31463
|
-
convertHsvaTo: () => convertHsvaTo,
|
|
31464
|
-
createProviderColorScheme: () => createProviderColorScheme,
|
|
31465
|
-
createSafeContext: () => createSafeContext,
|
|
31466
|
-
createSafeInjectionContext: () => createSafeInjectionContext,
|
|
31467
|
-
createVarsResolver: () => createVarsResolver,
|
|
31468
|
-
cssVariablesObjectToString: () => cssVariablesObjectToString,
|
|
31469
|
-
darken: () => darken,
|
|
31470
|
-
defaultCssVariablesResolver: () => defaultCssVariablesResolver,
|
|
31471
|
-
defaultLoaders: () => defaultLoaders,
|
|
31472
|
-
defaultOptionsFilter: () => defaultOptionsFilter,
|
|
31473
|
-
defaultTreeNodeFilter: () => defaultTreeNodeFilter,
|
|
31474
|
-
defaultVariantColorsResolver: () => defaultVariantColorsResolver,
|
|
31475
|
-
factory: () => factory,
|
|
31476
|
-
filterTreeData: () => filterTreeData,
|
|
31477
|
-
flattenTreeData: () => flattenTreeData,
|
|
31478
|
-
foldAccents: () => foldAccents,
|
|
31479
|
-
formatNumber: () => formatNumber,
|
|
31480
|
-
getAppShellVariables: () => getVariables,
|
|
31481
|
-
getAutoContrastValue: () => getAutoContrastValue,
|
|
31482
|
-
getContrastColor: () => getContrastColor,
|
|
31483
|
-
getDigitParts: () => getDigitParts,
|
|
31484
|
-
getGradient: () => getGradient,
|
|
31485
|
-
getInitials: () => getInitials,
|
|
31486
|
-
getInitialsColor: () => getInitialsColor,
|
|
31487
|
-
getMarkColor: () => getMarkColor,
|
|
31488
|
-
getMergedVariables: () => getMergedVariables,
|
|
31489
|
-
getOptionsLockup: () => getOptionsLockup,
|
|
31490
|
-
getParsedComboboxData: () => getParsedComboboxData,
|
|
31491
|
-
getParsedNativeSelectData: () => getParsedNativeSelectData,
|
|
31492
|
-
getPositionVariables: () => getPositionVariables,
|
|
31493
|
-
getPrimaryContrastColor: () => getPrimaryContrastColor,
|
|
31494
|
-
getPrimaryShade: () => getPrimaryShade,
|
|
31495
|
-
getRenderSlots: () => getRenderSlots,
|
|
31496
|
-
getRenderSlotsFromValues: () => getRenderSlotsFromValues,
|
|
31497
|
-
getSplittedTags: () => getSplittedTags,
|
|
31498
|
-
getThemeColor: () => getThemeColor,
|
|
31499
|
-
getTitleSize: () => getTitleSize,
|
|
31500
|
-
getTreeExpandedState: () => getTreeExpandedState,
|
|
31501
|
-
hashStyleProps: () => hashStyleProps,
|
|
31502
|
-
highlighter: () => highlighter,
|
|
31503
|
-
hsvaToHex: () => hsvaToHex,
|
|
31504
|
-
hsvaToHexa: () => hsvaToHexa,
|
|
31505
|
-
hsvaToHsl: () => hsvaToHsl,
|
|
31506
|
-
hsvaToRgba: () => hsvaToRgba,
|
|
31507
|
-
hsvaToRgbaObject: () => hsvaToRgbaObject,
|
|
31508
|
-
isColorValid: () => isColorValid,
|
|
31509
|
-
isEmptyComboboxData: () => isEmptyComboboxData,
|
|
31510
|
-
isLightColor: () => isLightColor,
|
|
31511
|
-
isOptionsGroup: () => isOptionsGroup,
|
|
31512
|
-
isVirtualColor: () => isVirtualColor,
|
|
31513
|
-
lighten: () => lighten,
|
|
31514
|
-
luminance: () => luminance,
|
|
31515
|
-
mergeAsyncChildren: () => mergeAsyncChildren,
|
|
31516
|
-
mergeMantineTheme: () => mergeMantineTheme,
|
|
31517
|
-
movePill: () => movePill,
|
|
31518
|
-
moveTreeNode: () => moveTreeNode,
|
|
31519
|
-
parseColor: () => parseColor,
|
|
31520
|
-
parseHex: () => parseHex,
|
|
31521
|
-
parseHexa: () => parseHexa,
|
|
31522
|
-
parseHsla: () => parseHsla,
|
|
31523
|
-
parseHue: () => parseHue,
|
|
31524
|
-
parseRgba: () => parseRgba,
|
|
31525
|
-
parseStyleProps: () => parseStyleProps,
|
|
31526
|
-
parseThemeColor: () => parseThemeColor,
|
|
31527
|
-
polymorphicFactory: () => factory,
|
|
31528
|
-
polymorphicProps: () => polymorphicProps,
|
|
31529
|
-
provideGridContext: () => provideGridContext,
|
|
31530
|
-
provideListContext: () => provideListContext,
|
|
31531
|
-
provideMantineContext: () => provideMantineContext,
|
|
31532
|
-
provideMantineTheme: () => provideMantineTheme,
|
|
31533
|
-
providePillsInputContext: () => providePillsInputContext,
|
|
31534
|
-
renderPolymorphic: () => renderPolymorphic,
|
|
31535
|
-
resolveColorScheme: () => resolveColorScheme,
|
|
31536
|
-
rgba: () => rgba,
|
|
31537
|
-
round: () => round,
|
|
31538
|
-
toRgba: () => toRgba,
|
|
31539
|
-
useAccordionContext: () => useAccordionContext,
|
|
31540
|
-
useAccordionItemContext: () => useAccordionItemContext,
|
|
31541
|
-
useAppShellContext: () => useAppShellContext,
|
|
31542
|
-
useAvatarGroupContext: () => useAvatarGroupContext,
|
|
31543
|
-
useCheckboxCardContext: () => useCheckboxCardContext,
|
|
31544
|
-
useCheckboxGroupContext: () => useCheckboxGroupContext,
|
|
31545
|
-
useChipGroupContext: () => useChipGroupContext,
|
|
31546
|
-
useCombobox: () => useCombobox,
|
|
31547
|
-
useComboboxContext: () => useComboboxContext,
|
|
31548
|
-
useComboboxTargetProps: () => useComboboxTargetProps,
|
|
31549
|
-
useComputedColorScheme: () => useComputedColorScheme,
|
|
31550
|
-
useDirection: () => useDirection,
|
|
31551
|
-
useDrawersStack: () => useDrawersStack,
|
|
31552
|
-
useFloatingIndicator: () => useFloatingIndicator,
|
|
31553
|
-
useForwardedRef: () => useForwardedRef,
|
|
31554
|
-
useGridContext: () => useGridContext,
|
|
31555
|
-
useHoverCardContext: () => useHoverCardContext,
|
|
31556
|
-
useInputContext: () => useInputContext,
|
|
31557
|
-
useInputWrapperContext: () => useInputWrapperContext,
|
|
31558
|
-
useListContext: () => useListContext,
|
|
31559
|
-
useMantineClassNamesPrefix: () => useMantineClassNamesPrefix,
|
|
31560
|
-
useMantineColorScheme: () => useMantineColorScheme,
|
|
31561
|
-
useMantineContext: () => useMantineContext,
|
|
31562
|
-
useMantineCssVariablesResolver: () => useMantineCssVariablesResolver,
|
|
31563
|
-
useMantineDeduplicateInlineStyles: () => useMantineDeduplicateInlineStyles,
|
|
31564
|
-
useMantineEnv: () => useMantineEnv,
|
|
31565
|
-
useMantineIsHeadless: () => useMantineIsHeadless,
|
|
31566
|
-
useMantineStyleNonce: () => useMantineStyleNonce,
|
|
31567
|
-
useMantineTheme: () => useMantineTheme,
|
|
31568
|
-
useMantineWithStaticClasses: () => useMantineWithStaticClasses,
|
|
31569
|
-
useMenuContext: () => useMenuContext,
|
|
31570
|
-
usePaginationContext: () => usePaginationContext,
|
|
31571
|
-
usePillGroupContext: () => usePillGroupContext,
|
|
31572
|
-
usePillsInputContext: () => usePillsInputContext,
|
|
31573
|
-
usePillsReorder: () => usePillsReorder,
|
|
31574
|
-
useProgressContext: () => useProgressContext,
|
|
31575
|
-
useProps: () => useProps,
|
|
31576
|
-
useRadioCardContext: () => useRadioCardContext,
|
|
31577
|
-
useRadioGroupContext: () => useRadioGroupContext,
|
|
31578
|
-
useRandomClassName: () => useRandomClassName,
|
|
31579
|
-
useSafeMantineTheme: () => useSafeMantineTheme,
|
|
31580
|
-
useScrollAreaContext: () => useScrollAreaContext,
|
|
31581
|
-
useSplitterContext: () => useSplitterContext,
|
|
31582
|
-
useStepperContext: () => useStepperContext,
|
|
31583
|
-
useStyles: () => useStyles,
|
|
31584
|
-
useSwitchGroupContext: () => useSwitchGroupContext,
|
|
31585
|
-
useTabsContext: () => useTabsContext,
|
|
31586
|
-
useTree: () => useTree,
|
|
31587
|
-
useVirtualizedCombobox: () => useVirtualizedCombobox,
|
|
31588
|
-
validateJson: () => validateJson,
|
|
31589
|
-
validateMantineTheme: () => validateMantineTheme,
|
|
31590
|
-
validateOptions: () => validateOptions,
|
|
31591
|
-
virtualColor: () => virtualColor,
|
|
31592
|
-
withBoxProps: () => withBoxProps
|
|
31593
|
-
}), core_exports);
|
|
31594
|
-
//#endregion
|
|
31595
|
-
export { Accordion, AccordionChevron, AccordionControl, AccordionItem, AccordionPanel, ActionIcon, ActionIconGroup, ActionIconGroupSection, Affix, Alert, AlphaSlider, Anchor, AngleSlider, AppShell, AppShellAside, AppShellFooter, AppShellHeader, AppShellMain, AppShellNavbar, AppShellSection, AspectRatio, Autocomplete, Avatar, AvatarGroup, AvatarGroupContextKey, BackgroundImage, Badge, Bars, Blockquote, Box, Breadcrumbs, Burger, Button, ButtonGroup, ButtonGroupSection, Card, CardSection, Center, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, CheckboxIcon, CheckboxIndicator, Chip, ChipGroup, CloseButton, CloseIcon, Code, Collapse, ColorInput, ColorPicker, ColorSlider, ColorSwatch, Combobox, ComboboxChevron, ComboboxClearButton, ComboboxDropdown, ComboboxDropdownTarget, ComboboxEmpty, ComboboxEventsTarget, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxHiddenInput, ComboboxOption, ComboboxOptions, ComboboxSearch, ComboboxTarget, Container, CopyButton, DEFAULT_COLORS, DEFAULT_THEME, Dialog, DirectionContextKey, DirectionProvider, Divider, Dots, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerHeader, DrawerOverlay, DrawerRoot, DrawerStack, DrawerTitle, FLEX_STYLE_PROPS_DATA, Fieldset, FileButton, FileInput, FlatTreeNode, Flex, FloatingIndicator, FloatingWindow, FocusTrap, FocusTrapInitialFocus, Grid, GridCol, Group, HeadlessMantineProvider, Highlight, HoverCard, HoverCardDropdown, HoverCardGroup, HoverCardTarget, HueSlider, INVALID_PRIMARY_COLOR_ERROR, INVALID_PRIMARY_SHADE_ERROR, Image, Indicator, InlineStyles, Input, InputBase, InputClearButton, InputClearSection, InputDescription, InputError, InputLabel, InputPlaceholder, InputWrapper, JsonInput, Kbd, List, ListItem, Loader, LoadingOverlay, MantineClasses, MantineContextKey, MantineCssVariables, MantineProvider, MantineThemeKey, MantineThemeProvider, Mark, Marquee, MaskInput, Menu, MenuCheckboxGroup, MenuCheckboxItem, MenuContextMenu, MenuDivider, MenuDropdown, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSearch, MenuSub, MenuSubDropdown, MenuSubItem, MenuSubTarget, MenuTarget, Modal, ModalBase, ModalBaseBody, ModalBaseCloseButton, ModalBaseContent, ModalBaseHeader, ModalBaseOverlay, ModalBaseTitle, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultiSelect, NativeScrollArea, NativeSelect, NativeSelectOption, NavLink, Notification, NumberFormatter, NumberInput, NumberInputChevron, OptionalPortal, OptionsDropdown, Oval, OverflowList, Overlay, Pagination, PaginationControl, PaginationDots, PaginationFirst, PaginationItems, PaginationItemsGroup, PaginationLabel, PaginationLast, PaginationNext, PaginationPrevious, PaginationRoot, Paper, PasswordInput, PasswordToggleIcon, Pill, PillGroup, PillsInput, PillsInputField, PinInput, Popover, PopoverContextMenu, PopoverDropdown, PopoverTarget, Portal, Progress, ProgressLabel, ProgressRoot, ProgressSection, Radio, RadioCard, RadioGroup, RadioIcon, RadioIndicator, RangeSlider, Rating, RingProgress, RollingNumber, STYLE_PROPS_DATA, ScrollArea, ScrollAreaAutosize, Scroller, SegmentedControl, Select, SemiCircleProgress, SimpleGrid, Skeleton, Slider, Space, Splitter, SplitterPane, Spoiler, Stack, Stepper, StepperCompleted, StepperStep, Switch, SwitchGroup, Table, TableCaption, TableDataRenderer, TableOfContents, TableScrollContainer, TableTbody, TableTd, TableTfoot, TableTh, TableThead, TableTr, Tabs, TabsList, TabsPanel, TabsTab, TagsInput, Text, TextInput, Textarea, ThemeIcon, Timeline, TimelineItem, Title, Tooltip, TooltipFloating, TooltipGroup, Transition, Tree, TreeSelect, TreeSelectOption, Typography, UnstyledButton, VisuallyHidden, alpha, buildValue, colorsTuple, convertCssVariables, convertHsvaTo, createProviderColorScheme, createSafeContext, createSafeInjectionContext, createVarsResolver, cssVariablesObjectToString, darken, defaultCssVariablesResolver, defaultLoaders, defaultOptionsFilter, defaultTreeNodeFilter, defaultVariantColorsResolver, factory, factory as polymorphicFactory, filterTreeData, flattenTreeData, foldAccents, formatNumber, getVariables as getAppShellVariables, getAutoContrastValue, getContrastColor, getDigitParts, getGradient, getInitials, getInitialsColor, getMarkColor, getMergedVariables, getOptionsLockup, getParsedComboboxData, getParsedNativeSelectData, getPositionVariables, getPrimaryContrastColor, getPrimaryShade, getRenderSlots, getRenderSlotsFromValues, getSplittedTags, getThemeColor, getTitleSize, getTreeExpandedState, hashStyleProps, highlighter, hsvaToHex, hsvaToHexa, hsvaToHsl, hsvaToRgba, hsvaToRgbaObject, isColorValid, isEmptyComboboxData, isLightColor, isOptionsGroup, isVirtualColor, lighten, luminance, mergeAsyncChildren, mergeMantineTheme, movePill, moveTreeNode, parseColor, parseHex, parseHexa, parseHsla, parseHue, parseRgba, parseStyleProps, parseThemeColor, polymorphicProps, provideGridContext, provideListContext, provideMantineContext, provideMantineTheme, providePillsInputContext, renderPolymorphic, resolveColorScheme, rgba, round, toRgba, useAccordionContext, useAccordionItemContext, useAppShellContext, useAvatarGroupContext, useCheckboxCardContext, useCheckboxGroupContext, useChipGroupContext, useCombobox, useComboboxContext, useComboboxTargetProps, useComputedColorScheme, useDirection, useDrawersStack, useFloatingIndicator, useForwardedRef, useGridContext, useHoverCardContext, useInputContext, useInputWrapperContext, useListContext, useMantineClassNamesPrefix, useMantineColorScheme, useMantineContext, useMantineCssVariablesResolver, useMantineDeduplicateInlineStyles, useMantineEnv, useMantineIsHeadless, useMantineStyleNonce, useMantineTheme, useMantineWithStaticClasses, useMenuContext, usePaginationContext, usePillGroupContext, usePillsInputContext, usePillsReorder, useProgressContext, useProps, useRadioCardContext, useRadioGroupContext, useRandomClassName, useSafeMantineTheme, useScrollAreaContext, useSplitterContext, useStepperContext, useStyles, useSwitchGroupContext, useTabsContext, useTree, useVirtualizedCombobox, validateJson, validateMantineTheme, validateOptions, virtualColor, withBoxProps };
|
|
31210
|
+
//#endregion
|
|
31211
|
+
export { Accordion, AccordionChevron, AccordionControl, AccordionItem, AccordionPanel, ActionIcon, ActionIconGroup, ActionIconGroupSection, Affix, Alert, AlphaSlider, Anchor, AngleSlider, AppShell, AppShellAside, AppShellFooter, AppShellHeader, AppShellMain, AppShellNavbar, AppShellSection, AspectRatio, Autocomplete, Avatar, AvatarGroup, AvatarGroupContextKey, BackgroundImage, Badge, Bars, Blockquote, Box, Breadcrumbs, Burger, Button, ButtonGroup, ButtonGroupSection, Card, CardSection, Center, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, CheckboxIcon, CheckboxIndicator, Chip, ChipGroup, CloseButton, CloseIcon, Code, Collapse, ColorInput, ColorPicker, ColorSlider, ColorSwatch, Combobox, ComboboxChevron, ComboboxClearButton, ComboboxDropdown, ComboboxDropdownTarget, ComboboxEmpty, ComboboxEventsTarget, ComboboxFooter, ComboboxGroup, ComboboxHeader, ComboboxHiddenInput, ComboboxOption, ComboboxOptions, ComboboxSearch, ComboboxTarget, Container, CopyButton, DEFAULT_COLORS, DEFAULT_THEME, Dialog, DirectionContextKey, DirectionProvider, Divider, Dots, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerHeader, DrawerOverlay, DrawerRoot, DrawerStack, DrawerTitle, FLEX_STYLE_PROPS_DATA, Fieldset, FileButton, FileInput, FlatTreeNode, Flex, FloatingIndicator, FloatingWindow, FocusTrap, FocusTrapInitialFocus, Grid, GridCol, Group, HeadlessMantineProvider, Highlight, HoverCard, HoverCardDropdown, HoverCardGroup, HoverCardTarget, HueSlider, INVALID_PRIMARY_COLOR_ERROR, INVALID_PRIMARY_SHADE_ERROR, Image, Indicator, InlineStyles, Input, InputBase, InputClearButton, InputClearSection, InputDescription, InputError, InputLabel, InputPlaceholder, InputWrapper, JsonInput, Kbd, List, ListItem, Loader, LoadingOverlay, MantineClasses, MantineContextKey, MantineCssVariables, MantineProvider, MantineThemeKey, MantineThemeProvider, Mark, Marquee, MaskInput, Menu, MenuCheckboxGroup, MenuCheckboxItem, MenuContextMenu, MenuDivider, MenuDropdown, MenuItem, MenuLabel, MenuRadioGroup, MenuRadioItem, MenuSearch, MenuSub, MenuSubDropdown, MenuSubItem, MenuSubTarget, MenuTarget, Modal, ModalBase, ModalBaseBody, ModalBaseCloseButton, ModalBaseContent, ModalBaseHeader, ModalBaseOverlay, ModalBaseTitle, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, ModalRoot, ModalTitle, MultiSelect, NativeScrollArea, NativeSelect, NativeSelectOption, NavLink, Notification, NumberFormatter, NumberInput, NumberInputChevron, OptionalPortal, OptionsDropdown, Oval, OverflowList, Overlay, Pagination, PaginationControl, PaginationDots, PaginationFirst, PaginationItems, PaginationItemsGroup, PaginationLabel, PaginationLast, PaginationNext, PaginationPrevious, PaginationRoot, Paper, PasswordInput, PasswordToggleIcon, Pill, PillGroup, PillsInput, PillsInputField, PinInput, Popover, PopoverContextMenu, PopoverDropdown, PopoverTarget, Portal, Progress, ProgressLabel, ProgressRoot, ProgressSection, Radio, RadioCard, RadioGroup, RadioIcon, RadioIndicator, RangeSlider, Rating, RingProgress, RollingNumber, STYLE_PROPS_DATA, ScrollArea, ScrollAreaAutosize, Scroller, SegmentedControl, Select, SemiCircleProgress, SimpleGrid, Skeleton, Slider, Space, Splitter, SplitterPane, Spoiler, Stack, Stepper, StepperCompleted, StepperStep, Switch, SwitchGroup, Table, TableCaption, TableDataRenderer, TableOfContents, TableScrollContainer, TableTbody, TableTd, TableTfoot, TableTh, TableThead, TableTr, Tabs, TabsList, TabsPanel, TabsTab, TagsInput, Text, TextInput, Textarea, ThemeIcon, Timeline, TimelineItem, Title, Tooltip, TooltipFloating, TooltipGroup, Transition, Tree, TreeSelect, TreeSelectOption, Typography, UnstyledButton, VisuallyHidden, alpha, buildValue, camelToKebabCase, colorsTuple, convertCssVariables, convertHsvaTo, createEventHandler, createProviderColorScheme, createSafeContext, createSafeInjectionContext, createVarsResolver, cssVariablesObjectToString, darken, deepMerge, defaultCssVariablesResolver, defaultLoaders, defaultOptionsFilter, defaultTreeNodeFilter, defaultVariantColorsResolver, em, factory, factory as polymorphicFactory, filterProps, filterTreeData, findClosestNumber, flattenTreeData, foldAccents, formatNumber, getVariables as getAppShellVariables, getAutoContrastValue, getBaseValue, getBreakpointValue, getContrastColor, getDefaultZIndex, getDigitParts, getFontSize, getGradient, getInitials, getInitialsColor, getLineHeight, getMarkColor, getMergedVariables, getOptionsLockup, getParsedComboboxData, getParsedNativeSelectData, getPositionVariables, getPrimaryContrastColor, getPrimaryShade, getRadius, getRenderSlots, getRenderSlotsFromValues, getSafeId, getShadow, getSize, getSortedBreakpoints, getSpacing, getSplittedTags, getThemeColor, getTitleSize, getTreeExpandedState, hashStyleProps, highlighter, hsvaToHex, hsvaToHexa, hsvaToHsl, hsvaToRgba, hsvaToRgbaObject, isColorValid, isEmptyComboboxData, isLightColor, isNumberLike, isOptionsGroup, isPrimitive, isVirtualColor, keys, lighten, luminance, memoize, mergeAsyncChildren, mergeMantineTheme, movePill, moveTreeNode, noop, parseColor, parseHex, parseHexa, parseHsla, parseHue, parseRgba, parseStyleProps, parseThemeColor, polymorphicProps, provideGridContext, provideListContext, provideMantineContext, provideMantineTheme, providePillsInputContext, px, rem, renderPolymorphic, resolveColorScheme, rgba, round, toRgba, useAccordionContext, useAccordionItemContext, useAppShellContext, useAvatarGroupContext, useCheckboxCardContext, useCheckboxGroupContext, useChipGroupContext, useCombobox, useComboboxContext, useComboboxTargetProps, useComputedColorScheme, useDirection, useDrawersStack, useFloatingIndicator, useForwardedRef, useGridContext, useHoverCardContext, useInputContext, useInputWrapperContext, useListContext, useMantineClassNamesPrefix, useMantineColorScheme, useMantineContext, useMantineCssVariablesResolver, useMantineDeduplicateInlineStyles, useMantineEnv, useMantineIsHeadless, useMantineStyleNonce, useMantineTheme, useMantineWithStaticClasses, useMenuContext, usePaginationContext, usePillGroupContext, usePillsInputContext, usePillsReorder, useProgressContext, useProps, useRadioCardContext, useRadioGroupContext, useRandomClassName, useSafeMantineTheme, useScrollAreaContext, useSplitterContext, useStepperContext, useStyles, useSwitchGroupContext, useTabsContext, useTree, useVirtualizedCombobox, validateJson, validateMantineTheme, validateOptions, virtualColor, withBoxProps };
|
|
31596
31212
|
|
|
31597
31213
|
//# sourceMappingURL=index.mjs.map
|