@mantine-vue/core 1.1.1 → 1.1.3
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 +485 -855
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +387 -774
- package/esm/index.mjs.map +1 -1
- 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,7 +5990,7 @@ 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
|
}
|
|
@@ -6106,9 +6126,9 @@ var List_module_default = {
|
|
|
6106
6126
|
//#region src/components/List/List.ts
|
|
6107
6127
|
var defaultProps$37 = { type: "unordered" };
|
|
6108
6128
|
var varsResolver$61 = createVarsResolver((_, { size, spacing }) => ({ root: {
|
|
6109
|
-
"--list-fz":
|
|
6110
|
-
"--list-lh":
|
|
6111
|
-
"--list-spacing":
|
|
6129
|
+
"--list-fz": getFontSize(size),
|
|
6130
|
+
"--list-lh": getLineHeight(size),
|
|
6131
|
+
"--list-spacing": getSpacing(spacing)
|
|
6112
6132
|
} }));
|
|
6113
6133
|
var ListBase = defineComponent({
|
|
6114
6134
|
name: "List",
|
|
@@ -6221,7 +6241,7 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6221
6241
|
const offsetY = typeof offset === "number" ? offset : offset.y;
|
|
6222
6242
|
const [side, placement] = position.split("-");
|
|
6223
6243
|
if (side === "top") {
|
|
6224
|
-
variables["--indicator-top"] =
|
|
6244
|
+
variables["--indicator-top"] = rem(offsetY);
|
|
6225
6245
|
variables["--indicator-translate-y"] = "-50%";
|
|
6226
6246
|
}
|
|
6227
6247
|
if (side === "middle") {
|
|
@@ -6229,11 +6249,11 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6229
6249
|
variables["--indicator-translate-y"] = "-50%";
|
|
6230
6250
|
}
|
|
6231
6251
|
if (side === "bottom") {
|
|
6232
|
-
variables["--indicator-bottom"] =
|
|
6252
|
+
variables["--indicator-bottom"] = rem(offsetY);
|
|
6233
6253
|
variables["--indicator-translate-y"] = "50%";
|
|
6234
6254
|
}
|
|
6235
6255
|
if (placement === "start") {
|
|
6236
|
-
variables["--indicator-left"] =
|
|
6256
|
+
variables["--indicator-left"] = rem(offsetX);
|
|
6237
6257
|
variables["--indicator-translate-x"] = "-50%";
|
|
6238
6258
|
}
|
|
6239
6259
|
if (placement === "center") {
|
|
@@ -6241,7 +6261,7 @@ function getPositionVariables(position = "top-end", offset = 0) {
|
|
|
6241
6261
|
variables["--indicator-translate-x"] = "-50%";
|
|
6242
6262
|
}
|
|
6243
6263
|
if (placement === "end") {
|
|
6244
|
-
variables["--indicator-right"] =
|
|
6264
|
+
variables["--indicator-right"] = rem(offsetX);
|
|
6245
6265
|
variables["--indicator-translate-x"] = "50%";
|
|
6246
6266
|
}
|
|
6247
6267
|
return variables;
|
|
@@ -6266,8 +6286,8 @@ var varsResolver$60 = createVarsResolver((theme, { color, position, offset, size
|
|
|
6266
6286
|
theme,
|
|
6267
6287
|
autoContrast
|
|
6268
6288
|
}) : void 0,
|
|
6269
|
-
"--indicator-size":
|
|
6270
|
-
"--indicator-radius": radius === void 0 ? void 0 :
|
|
6289
|
+
"--indicator-size": rem(size),
|
|
6290
|
+
"--indicator-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6271
6291
|
"--indicator-z-index": zIndex?.toString(),
|
|
6272
6292
|
...getPositionVariables(position, offset)
|
|
6273
6293
|
} }));
|
|
@@ -6395,7 +6415,7 @@ var AvatarGroupContextKey = Symbol("AvatarGroupContext");
|
|
|
6395
6415
|
function useAvatarGroupContext() {
|
|
6396
6416
|
return inject(AvatarGroupContextKey, { withinGroup: false });
|
|
6397
6417
|
}
|
|
6398
|
-
var varsResolver$59 = createVarsResolver((_, { spacing }) => ({ group: { "--ag-spacing":
|
|
6418
|
+
var varsResolver$59 = createVarsResolver((_, { spacing }) => ({ group: { "--ag-spacing": getSpacing(spacing) } }));
|
|
6399
6419
|
var AvatarGroup = withBoxProps(defineComponent({
|
|
6400
6420
|
name: "AvatarGroup",
|
|
6401
6421
|
inheritAttrs: false,
|
|
@@ -6506,8 +6526,8 @@ var varsResolver$58 = createVarsResolver((theme, { size, radius, variant, gradie
|
|
|
6506
6526
|
autoContrast
|
|
6507
6527
|
});
|
|
6508
6528
|
return { root: {
|
|
6509
|
-
"--avatar-size":
|
|
6510
|
-
"--avatar-radius": radius === void 0 ? void 0 :
|
|
6529
|
+
"--avatar-size": getSize(size, "avatar-size"),
|
|
6530
|
+
"--avatar-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
6511
6531
|
"--avatar-bg": resolvedColor || variant ? colors.background : void 0,
|
|
6512
6532
|
"--avatar-color": resolvedColor || variant ? colors.color : void 0,
|
|
6513
6533
|
"--avatar-bd": resolvedColor || variant ? colors.border : void 0
|
|
@@ -6629,7 +6649,7 @@ var Avatar = withBoxProps(Object.assign(AvatarBase, { Group: AvatarGroup }));
|
|
|
6629
6649
|
//#region src/components/SimpleGrid/SimpleGridVariables.ts
|
|
6630
6650
|
function getMinColWidthValue(value) {
|
|
6631
6651
|
if (value === void 0) return;
|
|
6632
|
-
return typeof value === "number" ?
|
|
6652
|
+
return typeof value === "number" ? rem(value) : value;
|
|
6633
6653
|
}
|
|
6634
6654
|
function isObject$2(value) {
|
|
6635
6655
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -6672,21 +6692,21 @@ var SimpleGridMediaVariables = defineComponent({
|
|
|
6672
6692
|
return () => {
|
|
6673
6693
|
const verticalSpacing = props.verticalSpacing === void 0 ? props.spacing : props.verticalSpacing;
|
|
6674
6694
|
const useAutoColumns = props.minColWidth !== void 0;
|
|
6675
|
-
const baseStyles =
|
|
6676
|
-
"--sg-spacing-x":
|
|
6677
|
-
"--sg-spacing-y":
|
|
6695
|
+
const baseStyles = filterProps({
|
|
6696
|
+
"--sg-spacing-x": getSpacing(getBaseValue(props.spacing)),
|
|
6697
|
+
"--sg-spacing-y": getSpacing(getBaseValue(verticalSpacing)),
|
|
6678
6698
|
"--sg-auto-rows": props.autoRows,
|
|
6679
|
-
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols":
|
|
6699
|
+
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols": getBaseValue(props.cols)?.toString() }
|
|
6680
6700
|
});
|
|
6681
|
-
const queries =
|
|
6701
|
+
const queries = keys(theme.value.breakpoints).reduce((acc, breakpoint) => {
|
|
6682
6702
|
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"] =
|
|
6703
|
+
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-x"] = getSpacing(props.spacing[breakpoint]);
|
|
6704
|
+
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[breakpoint]["--sg-spacing-y"] = getSpacing(verticalSpacing[breakpoint]);
|
|
6685
6705
|
if (!useAutoColumns && isObject$2(props.cols) && props.cols[breakpoint] !== void 0) acc[breakpoint]["--sg-cols"] = props.cols[breakpoint];
|
|
6686
6706
|
return acc;
|
|
6687
6707
|
}, {});
|
|
6688
|
-
const media =
|
|
6689
|
-
if (
|
|
6708
|
+
const media = getSortedBreakpoints(theme.value.breakpoints).reduce((acc, item) => {
|
|
6709
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) acc[`(min-width: ${theme.value.breakpoints[item.breakpoint]})`] = queries[item.breakpoint];
|
|
6690
6710
|
return acc;
|
|
6691
6711
|
}, {});
|
|
6692
6712
|
return h(InlineStyles, {
|
|
@@ -6698,10 +6718,10 @@ var SimpleGridMediaVariables = defineComponent({
|
|
|
6698
6718
|
}
|
|
6699
6719
|
});
|
|
6700
6720
|
function getBreakpoints(values) {
|
|
6701
|
-
return isObject$2(values) ?
|
|
6721
|
+
return isObject$2(values) ? keys(values).filter((breakpoint) => breakpoint !== "base") : [];
|
|
6702
6722
|
}
|
|
6703
6723
|
function sortBreakpoints(breakpoints) {
|
|
6704
|
-
return breakpoints.sort((a, b) =>
|
|
6724
|
+
return breakpoints.sort((a, b) => px(a) - px(b));
|
|
6705
6725
|
}
|
|
6706
6726
|
var SimpleGridContainerVariables = defineComponent({
|
|
6707
6727
|
name: "SimpleGridContainerVariables",
|
|
@@ -6740,11 +6760,11 @@ var SimpleGridContainerVariables = defineComponent({
|
|
|
6740
6760
|
return () => {
|
|
6741
6761
|
const verticalSpacing = props.verticalSpacing === void 0 ? props.spacing : props.verticalSpacing;
|
|
6742
6762
|
const useAutoColumns = props.minColWidth !== void 0;
|
|
6743
|
-
const baseStyles =
|
|
6744
|
-
"--sg-spacing-x":
|
|
6745
|
-
"--sg-spacing-y":
|
|
6763
|
+
const baseStyles = filterProps({
|
|
6764
|
+
"--sg-spacing-x": getSpacing(getBaseValue(props.spacing)),
|
|
6765
|
+
"--sg-spacing-y": getSpacing(getBaseValue(verticalSpacing)),
|
|
6746
6766
|
"--sg-auto-rows": props.autoRows,
|
|
6747
|
-
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols":
|
|
6767
|
+
...useAutoColumns ? { "--sg-min-col-width": getMinColWidthValue(props.minColWidth) } : { "--sg-cols": getBaseValue(props.cols)?.toString() }
|
|
6748
6768
|
});
|
|
6749
6769
|
const container = sortBreakpoints(Array.from(new Set([
|
|
6750
6770
|
...getBreakpoints(props.spacing),
|
|
@@ -6752,8 +6772,8 @@ var SimpleGridContainerVariables = defineComponent({
|
|
|
6752
6772
|
...useAutoColumns ? [] : getBreakpoints(props.cols)
|
|
6753
6773
|
]))).reduce((acc, breakpoint) => {
|
|
6754
6774
|
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"] =
|
|
6775
|
+
if (isObject$2(props.spacing) && props.spacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-x"] = getSpacing(props.spacing[breakpoint]);
|
|
6776
|
+
if (isObject$2(verticalSpacing) && verticalSpacing[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-spacing-y"] = getSpacing(verticalSpacing[breakpoint]);
|
|
6757
6777
|
if (!useAutoColumns && isObject$2(props.cols) && props.cols[breakpoint] !== void 0) acc[`simple-grid (min-width: ${breakpoint})`]["--sg-cols"] = props.cols[breakpoint];
|
|
6758
6778
|
return acc;
|
|
6759
6779
|
}, {});
|
|
@@ -6926,11 +6946,11 @@ var GridColVariables = defineComponent({
|
|
|
6926
6946
|
const ctx = useGridContext();
|
|
6927
6947
|
return () => {
|
|
6928
6948
|
const breakpoints = ctx.breakpoints || theme.value.breakpoints;
|
|
6929
|
-
const baseSpan =
|
|
6930
|
-
const baseOrder =
|
|
6931
|
-
const baseOffset =
|
|
6932
|
-
const baseAlign =
|
|
6933
|
-
const baseStyles =
|
|
6949
|
+
const baseSpan = getBaseValue(props.span) ?? 12;
|
|
6950
|
+
const baseOrder = getBaseValue(props.order);
|
|
6951
|
+
const baseOffset = getBaseValue(props.offset);
|
|
6952
|
+
const baseAlign = getBaseValue(props.align);
|
|
6953
|
+
const baseStyles = filterProps({
|
|
6934
6954
|
"--col-order": baseOrder?.toString(),
|
|
6935
6955
|
"--col-flex-grow": getColumnFlexGrow(baseSpan, ctx.grow),
|
|
6936
6956
|
"--col-flex-basis": getColumnFlexBasis(baseSpan, ctx.columns),
|
|
@@ -6939,7 +6959,7 @@ var GridColVariables = defineComponent({
|
|
|
6939
6959
|
"--col-offset": getColumnOffset(baseOffset, ctx.columns),
|
|
6940
6960
|
"--col-align-self": baseAlign
|
|
6941
6961
|
});
|
|
6942
|
-
const queries =
|
|
6962
|
+
const queries = keys(breakpoints).reduce((acc, breakpoint) => {
|
|
6943
6963
|
acc[breakpoint] = {};
|
|
6944
6964
|
if (isObject$1(props.order) && props.order[breakpoint] !== void 0) acc[breakpoint]["--col-order"] = props.order[breakpoint]?.toString();
|
|
6945
6965
|
if (isObject$1(props.span) && props.span[breakpoint] !== void 0) {
|
|
@@ -6953,8 +6973,8 @@ var GridColVariables = defineComponent({
|
|
|
6953
6973
|
if (isObject$1(props.align) && props.align[breakpoint] !== void 0) acc[breakpoint]["--col-align-self"] = props.align[breakpoint];
|
|
6954
6974
|
return acc;
|
|
6955
6975
|
}, {});
|
|
6956
|
-
const values =
|
|
6957
|
-
if (
|
|
6976
|
+
const values = getSortedBreakpoints(breakpoints).reduce((acc, item) => {
|
|
6977
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) {
|
|
6958
6978
|
const query = ctx.type === "container" ? `mantine-grid (min-width: ${breakpoints[item.breakpoint]})` : `(min-width: ${breakpoints[item.breakpoint]})`;
|
|
6959
6979
|
acc[query] = queries[item.breakpoint];
|
|
6960
6980
|
}
|
|
@@ -7077,20 +7097,20 @@ var GridVariables = defineComponent({
|
|
|
7077
7097
|
const theme = useMantineTheme();
|
|
7078
7098
|
return () => {
|
|
7079
7099
|
const breakpoints = props.breakpoints || theme.value.breakpoints;
|
|
7080
|
-
const baseStyles =
|
|
7081
|
-
"--grid-gap":
|
|
7082
|
-
"--grid-row-gap":
|
|
7083
|
-
"--grid-column-gap":
|
|
7100
|
+
const baseStyles = filterProps({
|
|
7101
|
+
"--grid-gap": getSpacing(getBaseValue(props.gap)),
|
|
7102
|
+
"--grid-row-gap": getSpacing(getBaseValue(props.rowGap)),
|
|
7103
|
+
"--grid-column-gap": getSpacing(getBaseValue(props.columnGap))
|
|
7084
7104
|
});
|
|
7085
|
-
const queries =
|
|
7105
|
+
const queries = keys(breakpoints).reduce((acc, breakpoint) => {
|
|
7086
7106
|
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"] =
|
|
7107
|
+
if (isObject(props.gap) && props.gap[breakpoint] !== void 0) acc[breakpoint]["--grid-gap"] = getSpacing(props.gap[breakpoint]);
|
|
7108
|
+
if (isObject(props.rowGap) && props.rowGap[breakpoint] !== void 0) acc[breakpoint]["--grid-row-gap"] = getSpacing(props.rowGap[breakpoint]);
|
|
7109
|
+
if (isObject(props.columnGap) && props.columnGap[breakpoint] !== void 0) acc[breakpoint]["--grid-column-gap"] = getSpacing(props.columnGap[breakpoint]);
|
|
7090
7110
|
return acc;
|
|
7091
7111
|
}, {});
|
|
7092
|
-
const values =
|
|
7093
|
-
if (
|
|
7112
|
+
const values = getSortedBreakpoints(breakpoints).reduce((acc, item) => {
|
|
7113
|
+
if (keys(queries[item.breakpoint] ?? {}).length > 0) {
|
|
7094
7114
|
const query = props.type === "container" ? `mantine-grid (min-width: ${breakpoints[item.breakpoint]})` : `(min-width: ${breakpoints[item.breakpoint]})`;
|
|
7095
7115
|
acc[query] = queries[item.breakpoint];
|
|
7096
7116
|
}
|
|
@@ -8004,7 +8024,7 @@ var varsResolver$56 = createVarsResolver((_, { scrollbarSize, overscrollBehavior
|
|
|
8004
8024
|
else if (scrollbars === "y") overrideOverscrollBehavior = `auto ${overscrollBehavior}`;
|
|
8005
8025
|
}
|
|
8006
8026
|
return { root: {
|
|
8007
|
-
"--scrollarea-scrollbar-size":
|
|
8027
|
+
"--scrollarea-scrollbar-size": rem(scrollbarSize),
|
|
8008
8028
|
"--scrollarea-over-scroll-behavior": overrideOverscrollBehavior
|
|
8009
8029
|
} };
|
|
8010
8030
|
});
|
|
@@ -8293,8 +8313,8 @@ var AccordionChevron = defineComponent({
|
|
|
8293
8313
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8294
8314
|
...attrs,
|
|
8295
8315
|
style: [{
|
|
8296
|
-
width:
|
|
8297
|
-
height:
|
|
8316
|
+
width: rem(props.size),
|
|
8317
|
+
height: rem(props.size),
|
|
8298
8318
|
display: "block"
|
|
8299
8319
|
}, attrs.style]
|
|
8300
8320
|
}, h("path", {
|
|
@@ -8576,7 +8596,7 @@ var defaultProps$30 = {
|
|
|
8576
8596
|
chevronSize: "auto",
|
|
8577
8597
|
chevronIconSize: 16
|
|
8578
8598
|
};
|
|
8579
|
-
function getSafeId$
|
|
8599
|
+
function getSafeId$2(prefix) {
|
|
8580
8600
|
return (value) => {
|
|
8581
8601
|
if (typeof value !== "string" || value.length === 0) throw new Error(VALUE_ERROR$1);
|
|
8582
8602
|
return `${prefix}-${value}`;
|
|
@@ -8587,8 +8607,8 @@ function renderContent$7(content) {
|
|
|
8587
8607
|
}
|
|
8588
8608
|
var varsResolver$55 = createVarsResolver((_, { transitionDuration, chevronSize, radius }) => ({ root: {
|
|
8589
8609
|
"--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 :
|
|
8610
|
+
"--accordion-chevron-size": chevronSize === void 0 ? void 0 : rem(chevronSize),
|
|
8611
|
+
"--accordion-radius": radius === void 0 ? void 0 : getRadius(radius)
|
|
8592
8612
|
} }));
|
|
8593
8613
|
var AccordionBase = defineComponent({
|
|
8594
8614
|
name: "Accordion",
|
|
@@ -8729,10 +8749,10 @@ var AccordionBase = defineComponent({
|
|
|
8729
8749
|
onChange: handleItemChange,
|
|
8730
8750
|
isItemActive,
|
|
8731
8751
|
get getControlId() {
|
|
8732
|
-
return getSafeId$
|
|
8752
|
+
return getSafeId$2(`${uid.value}-control`);
|
|
8733
8753
|
},
|
|
8734
8754
|
get getRegionId() {
|
|
8735
|
-
return getSafeId$
|
|
8755
|
+
return getSafeId$2(`${uid.value}-panel`);
|
|
8736
8756
|
},
|
|
8737
8757
|
getStyles,
|
|
8738
8758
|
get variant() {
|
|
@@ -8779,7 +8799,7 @@ var defaultProps$29 = {
|
|
|
8779
8799
|
draggable: true
|
|
8780
8800
|
};
|
|
8781
8801
|
var varsResolver$54 = createVarsResolver((theme, { controlSize, edgeGradientColor }) => ({ root: {
|
|
8782
|
-
"--scroller-control-size": controlSize === void 0 ? void 0 :
|
|
8802
|
+
"--scroller-control-size": controlSize === void 0 ? void 0 : rem(controlSize),
|
|
8783
8803
|
"--scroller-background-color": edgeGradientColor ? getThemeColor(edgeGradientColor, theme) : void 0
|
|
8784
8804
|
} }));
|
|
8785
8805
|
function renderContent$6(content) {
|
|
@@ -9023,8 +9043,8 @@ var TableDataRenderer = defineComponent({
|
|
|
9023
9043
|
//#region src/components/Table/TableScrollContainer.ts
|
|
9024
9044
|
var defaultProps$28 = { type: "scrollarea" };
|
|
9025
9045
|
var varsResolver$53 = createVarsResolver((_, { minWidth, maxHeight, type }) => ({ scrollContainer: {
|
|
9026
|
-
"--table-min-width":
|
|
9027
|
-
"--table-max-height":
|
|
9046
|
+
"--table-min-width": rem(minWidth),
|
|
9047
|
+
"--table-max-height": rem(maxHeight),
|
|
9028
9048
|
"--table-overflow": type === "native" ? "auto" : void 0
|
|
9029
9049
|
} }));
|
|
9030
9050
|
var TableScrollContainer = withBoxProps(defineComponent({
|
|
@@ -9110,12 +9130,12 @@ var defaultProps$27 = {
|
|
|
9110
9130
|
var varsResolver$52 = createVarsResolver((theme, { layout, captionSide, horizontalSpacing, verticalSpacing, borderColor, stripedColor, highlightOnHoverColor, striped, highlightOnHover, stickyHeaderOffset, stickyHeader }) => ({ table: {
|
|
9111
9131
|
"--table-layout": layout,
|
|
9112
9132
|
"--table-caption-side": captionSide,
|
|
9113
|
-
"--table-horizontal-spacing":
|
|
9114
|
-
"--table-vertical-spacing":
|
|
9133
|
+
"--table-horizontal-spacing": getSpacing(horizontalSpacing),
|
|
9134
|
+
"--table-vertical-spacing": getSpacing(verticalSpacing),
|
|
9115
9135
|
"--table-border-color": borderColor ? getThemeColor(borderColor, theme) : void 0,
|
|
9116
9136
|
"--table-striped-color": striped && stripedColor ? getThemeColor(stripedColor, theme) : void 0,
|
|
9117
9137
|
"--table-highlight-on-hover-color": highlightOnHover && highlightOnHoverColor ? getThemeColor(highlightOnHoverColor, theme) : void 0,
|
|
9118
|
-
"--table-sticky-header-offset": stickyHeader ?
|
|
9138
|
+
"--table-sticky-header-offset": stickyHeader ? rem(stickyHeaderOffset) : void 0
|
|
9119
9139
|
} }));
|
|
9120
9140
|
var TableBase = defineComponent({
|
|
9121
9141
|
name: "Table",
|
|
@@ -9331,8 +9351,8 @@ Object.assign(ProgressLabel, { classes: Progress_module_default });
|
|
|
9331
9351
|
//#endregion
|
|
9332
9352
|
//#region src/components/Progress/ProgressRoot/ProgressRoot.ts
|
|
9333
9353
|
var varsResolver$51 = createVarsResolver((_, { size, radius, transitionDuration }) => ({ root: {
|
|
9334
|
-
"--progress-size":
|
|
9335
|
-
"--progress-radius": radius === void 0 ? void 0 :
|
|
9354
|
+
"--progress-size": getSize(size, "progress-size"),
|
|
9355
|
+
"--progress-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
9336
9356
|
"--progress-transition-duration": typeof transitionDuration === "number" ? `${transitionDuration}ms` : void 0
|
|
9337
9357
|
} }));
|
|
9338
9358
|
var ProgressRoot = withBoxProps(defineComponent({
|
|
@@ -9728,8 +9748,8 @@ function getClampedThickness(thickness, size) {
|
|
|
9728
9748
|
}
|
|
9729
9749
|
var varsResolver$50 = createVarsResolver((_, { size, thickness, transitionDuration, startAngle }) => ({
|
|
9730
9750
|
root: {
|
|
9731
|
-
"--rp-size":
|
|
9732
|
-
"--rp-label-offset":
|
|
9751
|
+
"--rp-size": rem(size),
|
|
9752
|
+
"--rp-label-offset": rem((thickness ?? defaultProps$25.thickness) * 2),
|
|
9733
9753
|
"--rp-transition-duration": transitionDuration ? `${transitionDuration}ms` : void 0
|
|
9734
9754
|
},
|
|
9735
9755
|
svg: { "--rp-start-angle": `${startAngle}deg` }
|
|
@@ -10346,7 +10366,7 @@ var TimelineItem = withBoxProps(defineComponent({
|
|
|
10346
10366
|
...ctx.getStyles("item", {
|
|
10347
10367
|
...stylesApiProps,
|
|
10348
10368
|
style: {
|
|
10349
|
-
"--tli-radius": props.radius !== void 0 ?
|
|
10369
|
+
"--tli-radius": props.radius !== void 0 ? getRadius(props.radius) : void 0,
|
|
10350
10370
|
"--tli-color": props.color ? getThemeColor(props.color, theme.value) : void 0,
|
|
10351
10371
|
"--tli-border-style": props.lineVariant || void 0,
|
|
10352
10372
|
...props.style,
|
|
@@ -10372,9 +10392,9 @@ var defaultProps$23 = {
|
|
|
10372
10392
|
align: "left"
|
|
10373
10393
|
};
|
|
10374
10394
|
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 :
|
|
10395
|
+
"--tl-bullet-size": rem(bulletSize),
|
|
10396
|
+
"--tl-line-width": rem(lineWidth),
|
|
10397
|
+
"--tl-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
10378
10398
|
"--tl-color": color ? getThemeColor(color, theme) : void 0,
|
|
10379
10399
|
"--tl-icon-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
10380
10400
|
color,
|
|
@@ -10731,7 +10751,7 @@ var varsResolver$47 = createVarsResolver((theme, { filledSegmentColor, emptySegm
|
|
|
10731
10751
|
fillDirection
|
|
10732
10752
|
}),
|
|
10733
10753
|
"--scp-transition-duration": transitionDuration ? `${transitionDuration}ms` : void 0,
|
|
10734
|
-
"--scp-thickness":
|
|
10754
|
+
"--scp-thickness": rem(thickness)
|
|
10735
10755
|
} }));
|
|
10736
10756
|
var SemiCircleProgress = withBoxProps(defineComponent({
|
|
10737
10757
|
name: "SemiCircleProgress",
|
|
@@ -10993,7 +11013,7 @@ var Spoiler = withBoxProps(defineComponent({
|
|
|
10993
11013
|
"aria-label": ariaLabel,
|
|
10994
11014
|
...getStyles("control")
|
|
10995
11015
|
}, () => renderContent(currentLabel)) : null, h("div", {
|
|
10996
|
-
...getStyles("content", { style: { maxHeight: !show.value ?
|
|
11016
|
+
...getStyles("content", { style: { maxHeight: !show.value ? rem(maxHeight) : height.value ? rem(height.value) : void 0 } }),
|
|
10997
11017
|
"data-reduce-motion": "",
|
|
10998
11018
|
role: "region",
|
|
10999
11019
|
id: regionId
|
|
@@ -11012,7 +11032,7 @@ var Fieldset_module_default = {
|
|
|
11012
11032
|
//#endregion
|
|
11013
11033
|
//#region src/components/Fieldset/Fieldset.ts
|
|
11014
11034
|
var defaultProps$19 = { variant: "default" };
|
|
11015
|
-
var varsResolver$45 = createVarsResolver((_, { radius }) => ({ root: { "--fieldset-radius": radius === void 0 ? void 0 :
|
|
11035
|
+
var varsResolver$45 = createVarsResolver((_, { radius }) => ({ root: { "--fieldset-radius": radius === void 0 ? void 0 : getRadius(radius) } }));
|
|
11016
11036
|
var Fieldset = withBoxProps(defineComponent({
|
|
11017
11037
|
name: "Fieldset",
|
|
11018
11038
|
inheritAttrs: false,
|
|
@@ -11269,7 +11289,7 @@ var Input_module_default = {
|
|
|
11269
11289
|
};
|
|
11270
11290
|
//#endregion
|
|
11271
11291
|
//#region src/components/Input/InputDescription/InputDescription.ts
|
|
11272
|
-
var varsResolver$44 = createVarsResolver((_, { size }) => ({ description: { "--input-description-size": size === void 0 ? void 0 : `calc(${
|
|
11292
|
+
var varsResolver$44 = createVarsResolver((_, { size }) => ({ description: { "--input-description-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` } }));
|
|
11273
11293
|
var InputDescription = withBoxProps(defineComponent({
|
|
11274
11294
|
name: "InputDescription",
|
|
11275
11295
|
inheritAttrs: false,
|
|
@@ -11333,7 +11353,7 @@ Object.assign(InputDescription, {
|
|
|
11333
11353
|
});
|
|
11334
11354
|
//#endregion
|
|
11335
11355
|
//#region src/components/Input/InputError/InputError.ts
|
|
11336
|
-
var varsResolver$43 = createVarsResolver((_, { size }) => ({ error: { "--input-error-size": size === void 0 ? void 0 : `calc(${
|
|
11356
|
+
var varsResolver$43 = createVarsResolver((_, { size }) => ({ error: { "--input-error-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` } }));
|
|
11337
11357
|
var InputError = withBoxProps(defineComponent({
|
|
11338
11358
|
name: "InputError",
|
|
11339
11359
|
inheritAttrs: false,
|
|
@@ -11398,7 +11418,7 @@ Object.assign(InputError, {
|
|
|
11398
11418
|
//#endregion
|
|
11399
11419
|
//#region src/components/Input/InputLabel/InputLabel.ts
|
|
11400
11420
|
var varsResolver$42 = createVarsResolver((_, { size }) => ({ label: {
|
|
11401
|
-
"--input-label-size":
|
|
11421
|
+
"--input-label-size": getFontSize(size),
|
|
11402
11422
|
"--input-asterisk-color": void 0
|
|
11403
11423
|
} }));
|
|
11404
11424
|
var InputLabel = withBoxProps(defineComponent({
|
|
@@ -11558,11 +11578,11 @@ var defaultOrder = [
|
|
|
11558
11578
|
];
|
|
11559
11579
|
var varsResolver$41 = createVarsResolver((_, { size }) => ({
|
|
11560
11580
|
label: {
|
|
11561
|
-
"--input-label-size":
|
|
11581
|
+
"--input-label-size": getFontSize(size),
|
|
11562
11582
|
"--input-asterisk-color": void 0
|
|
11563
11583
|
},
|
|
11564
|
-
error: { "--input-error-size": size === void 0 ? void 0 : `calc(${
|
|
11565
|
-
description: { "--input-description-size": size === void 0 ? void 0 : `calc(${
|
|
11584
|
+
error: { "--input-error-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` },
|
|
11585
|
+
description: { "--input-description-size": size === void 0 ? void 0 : `calc(${getFontSize(size)} - ${rem(2)})` }
|
|
11566
11586
|
}));
|
|
11567
11587
|
function renderContent$4(content) {
|
|
11568
11588
|
return typeof content === "function" ? content() : content;
|
|
@@ -11778,12 +11798,12 @@ Object.assign(InputWrapper, {
|
|
|
11778
11798
|
var varsResolver$40 = createVarsResolver((_, props, ctx) => ({ wrapper: {
|
|
11779
11799
|
"--input-margin-top": ctx.offsetTop ? "calc(var(--mantine-spacing-xs) / 2)" : void 0,
|
|
11780
11800
|
"--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 ?
|
|
11801
|
+
"--input-height": getSize(props.size, "input-height"),
|
|
11802
|
+
"--input-fz": getFontSize(props.size),
|
|
11803
|
+
"--input-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
11804
|
+
"--input-left-section-width": props.leftSectionWidth !== void 0 ? rem(props.leftSectionWidth) : void 0,
|
|
11805
|
+
"--input-right-section-width": props.rightSectionWidth !== void 0 ? rem(props.rightSectionWidth) : void 0,
|
|
11806
|
+
"--input-padding-y": props.multiline ? getSize(props.size, "input-padding-y") : void 0,
|
|
11787
11807
|
"--input-left-section-pointer-events": props.leftSectionPointerEvents,
|
|
11788
11808
|
"--input-right-section-pointer-events": props.rightSectionPointerEvents
|
|
11789
11809
|
} }));
|
|
@@ -12637,7 +12657,7 @@ var Notification_module_default = {
|
|
|
12637
12657
|
//#region src/components/Notification/Notification.ts
|
|
12638
12658
|
var defaultProps$18 = { withCloseButton: true };
|
|
12639
12659
|
var varsResolver$39 = createVarsResolver((theme, { radius, color }) => ({ root: {
|
|
12640
|
-
"--notification-radius": radius === void 0 ? void 0 :
|
|
12660
|
+
"--notification-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
12641
12661
|
"--notification-color": color ? getThemeColor(color, theme) : void 0
|
|
12642
12662
|
} }));
|
|
12643
12663
|
var Notification = withBoxProps(defineComponent({
|
|
@@ -12913,7 +12933,7 @@ var leadingDecimalZeroPattern = /^(0\.0*|-0(\.0*)?)$/;
|
|
|
12913
12933
|
var leadingZerosPattern = /^-?0\d+(\.\d+)?\.?$/;
|
|
12914
12934
|
var trailingZerosPattern = /\.\d*0$/;
|
|
12915
12935
|
var trailingDecimalSeparatorPattern = /^-?\d+\.$/;
|
|
12916
|
-
var varsResolver$38 = createVarsResolver((_, { size }) => ({ controls: { "--ni-chevron-size":
|
|
12936
|
+
var varsResolver$38 = createVarsResolver((_, { size }) => ({ controls: { "--ni-chevron-size": getSize(size, "ni-chevron-size") } }));
|
|
12917
12937
|
function clamp$3(value, min, max) {
|
|
12918
12938
|
return Math.min(max ?? value, Math.max(min ?? value, value));
|
|
12919
12939
|
}
|
|
@@ -13491,7 +13511,7 @@ function filterFalsyChildren(children) {
|
|
|
13491
13511
|
}
|
|
13492
13512
|
var varsResolver$37 = createVarsResolver((_, { grow, preventGrowOverflow, gap, align, justify, wrap }, { childWidth }) => ({ root: {
|
|
13493
13513
|
"--group-child-width": grow && preventGrowOverflow ? childWidth : void 0,
|
|
13494
|
-
"--group-gap":
|
|
13514
|
+
"--group-gap": getSpacing(gap),
|
|
13495
13515
|
"--group-align": align,
|
|
13496
13516
|
"--group-justify": justify,
|
|
13497
13517
|
"--group-wrap": wrap
|
|
@@ -13557,7 +13577,7 @@ var Group = withBoxProps(defineComponent({
|
|
|
13557
13577
|
return () => {
|
|
13558
13578
|
const children = filterFalsyChildren(slots.default?.() ?? []);
|
|
13559
13579
|
const childrenCount = Math.max(children.length, 1);
|
|
13560
|
-
const resolvedGap =
|
|
13580
|
+
const resolvedGap = getSpacing(props.gap ?? "md");
|
|
13561
13581
|
stylesCtx.childWidth = `calc(${100 / childrenCount}% - (${resolvedGap} - ${resolvedGap} / ${childrenCount}))`;
|
|
13562
13582
|
return h(Box, {
|
|
13563
13583
|
...attrs,
|
|
@@ -13601,7 +13621,7 @@ var defaultProps$16 = {
|
|
|
13601
13621
|
ariaLabel: "PinInput",
|
|
13602
13622
|
size: "sm"
|
|
13603
13623
|
};
|
|
13604
|
-
var varsResolver$36 = createVarsResolver((_, { size }) => ({ root: { "--pin-input-size":
|
|
13624
|
+
var varsResolver$36 = createVarsResolver((_, { size }) => ({ root: { "--pin-input-size": getSize(size ?? "sm", "pin-input-size") } }));
|
|
13605
13625
|
function getInputElement(node) {
|
|
13606
13626
|
const element = node?.$el ?? node;
|
|
13607
13627
|
if (!element) return null;
|
|
@@ -14185,7 +14205,7 @@ var varsResolver$35 = createVarsResolver((theme, { variant, color, childrenOffse
|
|
|
14185
14205
|
"--nl-hover": color || variant ? colors.hover : void 0,
|
|
14186
14206
|
"--nl-color": color || variant ? colors.color : void 0
|
|
14187
14207
|
},
|
|
14188
|
-
children: { "--nl-offset":
|
|
14208
|
+
children: { "--nl-offset": getSpacing(childrenOffset) }
|
|
14189
14209
|
};
|
|
14190
14210
|
});
|
|
14191
14211
|
function renderContent$2(content) {
|
|
@@ -14415,7 +14435,7 @@ var defaultProps$14 = {
|
|
|
14415
14435
|
};
|
|
14416
14436
|
var varsResolver$34 = createVarsResolver((_, { duration, gap, repeat, fadeEdgeColor, fadeEdgeSize }) => ({ root: {
|
|
14417
14437
|
"--marquee-duration": `${duration}ms`,
|
|
14418
|
-
"--marquee-gap":
|
|
14438
|
+
"--marquee-gap": getSpacing(gap),
|
|
14419
14439
|
"--marquee-repeat": (repeat ?? 4).toString(),
|
|
14420
14440
|
"--marquee-fade-color": fadeEdgeColor,
|
|
14421
14441
|
"--marquee-fade-size": fadeEdgeSize
|
|
@@ -14528,15 +14548,15 @@ var defaultProps$13 = {
|
|
|
14528
14548
|
bottom: 0,
|
|
14529
14549
|
right: 0
|
|
14530
14550
|
},
|
|
14531
|
-
zIndex:
|
|
14551
|
+
zIndex: getDefaultZIndex("modal"),
|
|
14532
14552
|
withinPortal: true
|
|
14533
14553
|
};
|
|
14534
14554
|
var varsResolver$33 = createVarsResolver((_, { zIndex, position }) => ({ root: {
|
|
14535
14555
|
"--affix-z-index": zIndex?.toString(),
|
|
14536
|
-
"--affix-top":
|
|
14537
|
-
"--affix-left":
|
|
14538
|
-
"--affix-bottom":
|
|
14539
|
-
"--affix-right":
|
|
14556
|
+
"--affix-top": getSpacing(position?.top),
|
|
14557
|
+
"--affix-left": getSpacing(position?.left),
|
|
14558
|
+
"--affix-bottom": getSpacing(position?.bottom),
|
|
14559
|
+
"--affix-right": getSpacing(position?.right)
|
|
14540
14560
|
} }));
|
|
14541
14561
|
var Affix = withBoxProps(defineComponent({
|
|
14542
14562
|
name: "Affix",
|
|
@@ -14624,7 +14644,7 @@ var defaultProps$12 = {
|
|
|
14624
14644
|
right: 30
|
|
14625
14645
|
}
|
|
14626
14646
|
};
|
|
14627
|
-
var varsResolver$32 = createVarsResolver((_, { size }) => ({ root: { "--dialog-size":
|
|
14647
|
+
var varsResolver$32 = createVarsResolver((_, { size }) => ({ root: { "--dialog-size": getSize(size, "dialog-size") } }));
|
|
14628
14648
|
var Dialog = defineComponent({
|
|
14629
14649
|
name: "Dialog",
|
|
14630
14650
|
inheritAttrs: false,
|
|
@@ -14915,7 +14935,7 @@ var defaultProps$11 = {
|
|
|
14915
14935
|
color: "yellow"
|
|
14916
14936
|
};
|
|
14917
14937
|
var varsResolver$31 = createVarsResolver((theme, { size, color }) => ({ root: {
|
|
14918
|
-
"--rating-size":
|
|
14938
|
+
"--rating-size": getSize(size, "rating-size"),
|
|
14919
14939
|
"--rating-color": getThemeColor(color, theme)
|
|
14920
14940
|
} }));
|
|
14921
14941
|
var Rating = withBoxProps(defineComponent({
|
|
@@ -15333,7 +15353,7 @@ var SegmentedControl_module_default = {
|
|
|
15333
15353
|
//#endregion
|
|
15334
15354
|
//#region src/components/SegmentedControl/SegmentedControl.ts
|
|
15335
15355
|
var varsResolver$29 = createVarsResolver((theme, { radius, color, transitionDuration, size, transitionTimingFunction, autoContrast }) => ({ root: {
|
|
15336
|
-
"--sc-radius": radius === void 0 ? void 0 :
|
|
15356
|
+
"--sc-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
15337
15357
|
"--sc-color": color ? getThemeColor(color, theme) : void 0,
|
|
15338
15358
|
"--sc-label-color": color ? getContrastColor({
|
|
15339
15359
|
color,
|
|
@@ -15343,8 +15363,8 @@ var varsResolver$29 = createVarsResolver((theme, { radius, color, transitionDura
|
|
|
15343
15363
|
"--sc-shadow": color ? void 0 : "var(--mantine-shadow-xs)",
|
|
15344
15364
|
"--sc-transition-duration": transitionDuration === void 0 ? void 0 : `${transitionDuration}ms`,
|
|
15345
15365
|
"--sc-transition-timing-function": transitionTimingFunction,
|
|
15346
|
-
"--sc-padding":
|
|
15347
|
-
"--sc-font-size":
|
|
15366
|
+
"--sc-padding": getSize(size, "sc-padding"),
|
|
15367
|
+
"--sc-font-size": getFontSize(size)
|
|
15348
15368
|
} }));
|
|
15349
15369
|
function normalizeData(data) {
|
|
15350
15370
|
return data.map((item) => isPrimitive(item) ? {
|
|
@@ -15789,9 +15809,9 @@ var defaultProps$10 = {
|
|
|
15789
15809
|
layout: "default"
|
|
15790
15810
|
};
|
|
15791
15811
|
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":
|
|
15812
|
+
"--pagination-control-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
15813
|
+
"--pagination-control-size": getSize(size, "pagination-control-size"),
|
|
15814
|
+
"--pagination-control-fz": getFontSize(size),
|
|
15795
15815
|
"--pagination-active-bg": color ? getThemeColor(color, theme) : void 0,
|
|
15796
15816
|
"--pagination-active-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
15797
15817
|
color,
|
|
@@ -16380,14 +16400,14 @@ var defaultProps$8 = {
|
|
|
16380
16400
|
variant: "default",
|
|
16381
16401
|
placement: "left"
|
|
16382
16402
|
};
|
|
16383
|
-
function getSafeId(prefix) {
|
|
16403
|
+
function getSafeId$1(prefix) {
|
|
16384
16404
|
return (value) => {
|
|
16385
16405
|
if (typeof value !== "string" || value.length === 0) throw new Error(VALUE_ERROR);
|
|
16386
16406
|
return `${prefix}-${value}`;
|
|
16387
16407
|
};
|
|
16388
16408
|
}
|
|
16389
16409
|
var varsResolver$27 = createVarsResolver((theme, { radius, color, autoContrast }) => ({ root: {
|
|
16390
|
-
"--tabs-radius":
|
|
16410
|
+
"--tabs-radius": getRadius(radius),
|
|
16391
16411
|
"--tabs-color": getThemeColor(color, theme),
|
|
16392
16412
|
"--tabs-text-color": getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
16393
16413
|
color,
|
|
@@ -16548,8 +16568,8 @@ var TabsBase = defineComponent({
|
|
|
16548
16568
|
return currentTab.value;
|
|
16549
16569
|
},
|
|
16550
16570
|
onChange: setCurrentTab,
|
|
16551
|
-
getTabId: getSafeId(`${uid.value}-tab`),
|
|
16552
|
-
getPanelId: getSafeId(`${uid.value}-panel`)
|
|
16571
|
+
getTabId: getSafeId$1(`${uid.value}-tab`),
|
|
16572
|
+
getPanelId: getSafeId$1(`${uid.value}-panel`)
|
|
16553
16573
|
});
|
|
16554
16574
|
return () => h(Box, {
|
|
16555
16575
|
...attrs,
|
|
@@ -17001,8 +17021,8 @@ var PasswordInput_module_default = {
|
|
|
17001
17021
|
//#endregion
|
|
17002
17022
|
//#region src/components/PasswordInput/PasswordInput.ts
|
|
17003
17023
|
var varsResolver$26 = createVarsResolver((_, { size }) => ({ root: {
|
|
17004
|
-
"--psi-icon-size":
|
|
17005
|
-
"--psi-button-size":
|
|
17024
|
+
"--psi-icon-size": getSize(size, "psi-icon-size"),
|
|
17025
|
+
"--psi-button-size": getSize(size, "psi-button-size")
|
|
17006
17026
|
} }));
|
|
17007
17027
|
var mergedClasses$3 = {
|
|
17008
17028
|
...Input_module_default,
|
|
@@ -17426,8 +17446,8 @@ var InlineInput = defineComponent({
|
|
|
17426
17446
|
...getStyles("root", {
|
|
17427
17447
|
className: attrs.class,
|
|
17428
17448
|
style: {
|
|
17429
|
-
"--label-fz":
|
|
17430
|
-
"--label-lh":
|
|
17449
|
+
"--label-fz": getFontSize(props.size),
|
|
17450
|
+
"--label-lh": getSize(props.size, "label-lh"),
|
|
17431
17451
|
...attrs.style
|
|
17432
17452
|
}
|
|
17433
17453
|
}),
|
|
@@ -17499,8 +17519,8 @@ var CheckIcon = defineComponent({
|
|
|
17499
17519
|
"aria-hidden": true,
|
|
17500
17520
|
...attrs,
|
|
17501
17521
|
style: props.size !== void 0 ? [{
|
|
17502
|
-
width:
|
|
17503
|
-
height:
|
|
17522
|
+
width: rem(props.size),
|
|
17523
|
+
height: rem(props.size),
|
|
17504
17524
|
display: "block"
|
|
17505
17525
|
}, attrs.style] : attrs.style
|
|
17506
17526
|
}, h("path", {
|
|
@@ -17695,7 +17715,7 @@ var CheckboxCardContextKey = Symbol("CheckboxCardContext");
|
|
|
17695
17715
|
function useCheckboxCardContext() {
|
|
17696
17716
|
return inject(CheckboxCardContextKey, null);
|
|
17697
17717
|
}
|
|
17698
|
-
var varsResolver$25 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius":
|
|
17718
|
+
var varsResolver$25 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius": getRadius(radius) } }));
|
|
17699
17719
|
var CheckboxCard = withBoxProps(defineComponent({
|
|
17700
17720
|
name: "CheckboxCard",
|
|
17701
17721
|
inheritAttrs: false,
|
|
@@ -17801,8 +17821,8 @@ var CheckboxIndicator_module_default = {
|
|
|
17801
17821
|
//#endregion
|
|
17802
17822
|
//#region src/components/Checkbox/CheckboxIndicator/CheckboxIndicator.ts
|
|
17803
17823
|
var varsResolver$24 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ indicator: {
|
|
17804
|
-
"--checkbox-size":
|
|
17805
|
-
"--checkbox-radius": radius === void 0 ? void 0 :
|
|
17824
|
+
"--checkbox-size": getSize(size, "checkbox-size"),
|
|
17825
|
+
"--checkbox-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
17806
17826
|
"--checkbox-color": getThemeColor(color, theme),
|
|
17807
17827
|
"--checkbox-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
17808
17828
|
color,
|
|
@@ -17928,8 +17948,8 @@ var mergedClasses$2 = {
|
|
|
17928
17948
|
...Checkbox_module_default
|
|
17929
17949
|
};
|
|
17930
17950
|
var varsResolver$23 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ root: {
|
|
17931
|
-
"--checkbox-size":
|
|
17932
|
-
"--checkbox-radius": radius === void 0 ? void 0 :
|
|
17951
|
+
"--checkbox-size": getSize(size, "checkbox-size"),
|
|
17952
|
+
"--checkbox-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
17933
17953
|
"--checkbox-color": getThemeColor(color, theme),
|
|
17934
17954
|
"--checkbox-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
17935
17955
|
color,
|
|
@@ -18214,17 +18234,17 @@ var varsResolver$22 = createVarsResolver((theme, { size, radius, variant, color,
|
|
|
18214
18234
|
autoContrast
|
|
18215
18235
|
});
|
|
18216
18236
|
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":
|
|
18237
|
+
"--chip-fz": getFontSize(size),
|
|
18238
|
+
"--chip-size": getSize(size, "chip-size"),
|
|
18239
|
+
"--chip-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
18240
|
+
"--chip-checked-padding": getSize(size, "chip-checked-padding"),
|
|
18241
|
+
"--chip-padding": getSize(size, "chip-padding"),
|
|
18242
|
+
"--chip-icon-size": getSize(size, "chip-icon-size"),
|
|
18223
18243
|
"--chip-bg": color || variant ? colors.background : void 0,
|
|
18224
18244
|
"--chip-hover": color || variant ? colors.hover : void 0,
|
|
18225
18245
|
"--chip-color": color || variant ? colors.color : void 0,
|
|
18226
18246
|
"--chip-bd": color || variant ? colors.border : void 0,
|
|
18227
|
-
"--chip-spacing":
|
|
18247
|
+
"--chip-spacing": getSize(size, "chip-spacing")
|
|
18228
18248
|
} };
|
|
18229
18249
|
});
|
|
18230
18250
|
function callHandler$5(handler, event) {
|
|
@@ -18421,7 +18441,7 @@ var PillGroupContextKey = Symbol("PillGroupContext");
|
|
|
18421
18441
|
function usePillGroupContext() {
|
|
18422
18442
|
return inject(PillGroupContextKey, null);
|
|
18423
18443
|
}
|
|
18424
|
-
var varsResolver$21 = createVarsResolver((_, { gap }, ctx) => ({ group: { "--pg-gap": gap !== void 0 ?
|
|
18444
|
+
var varsResolver$21 = createVarsResolver((_, { gap }, ctx) => ({ group: { "--pg-gap": gap !== void 0 ? getSize(gap) : getSize(ctx.size, "pg-gap") } }));
|
|
18425
18445
|
var PillGroup = withBoxProps(defineComponent({
|
|
18426
18446
|
name: "PillGroup",
|
|
18427
18447
|
inheritAttrs: false,
|
|
@@ -18500,9 +18520,9 @@ Object.assign(PillGroup, {
|
|
|
18500
18520
|
//#endregion
|
|
18501
18521
|
//#region src/components/Pill/Pill.ts
|
|
18502
18522
|
var varsResolver$20 = createVarsResolver((_, { radius }, ctx) => ({ root: {
|
|
18503
|
-
"--pill-fz":
|
|
18504
|
-
"--pill-height":
|
|
18505
|
-
"--pill-radius": radius === void 0 ? void 0 :
|
|
18523
|
+
"--pill-fz": getSize(ctx.size, "pill-fz"),
|
|
18524
|
+
"--pill-height": getSize(ctx.size, "pill-height"),
|
|
18525
|
+
"--pill-radius": radius === void 0 ? void 0 : getRadius(radius)
|
|
18506
18526
|
} }));
|
|
18507
18527
|
function callHandler$4(handler, event) {
|
|
18508
18528
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
@@ -19016,7 +19036,7 @@ var RadioCardContextKey = Symbol("RadioCardContext");
|
|
|
19016
19036
|
function useRadioCardContext() {
|
|
19017
19037
|
return inject(RadioCardContextKey, null);
|
|
19018
19038
|
}
|
|
19019
|
-
var varsResolver$19 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius":
|
|
19039
|
+
var varsResolver$19 = createVarsResolver((_, { radius }) => ({ card: { "--card-radius": getRadius(radius) } }));
|
|
19020
19040
|
function callHandler$3(handler, event) {
|
|
19021
19041
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
19022
19042
|
else handler?.(event);
|
|
@@ -19141,10 +19161,10 @@ var RadioIndicator_module_default = {
|
|
|
19141
19161
|
//#endregion
|
|
19142
19162
|
//#region src/components/Radio/RadioIndicator/RadioIndicator.ts
|
|
19143
19163
|
var varsResolver$18 = createVarsResolver((theme, { radius, color, size, iconColor, autoContrast }) => ({ indicator: {
|
|
19144
|
-
"--radio-size":
|
|
19145
|
-
"--radio-radius": radius === void 0 ? void 0 :
|
|
19164
|
+
"--radio-size": getSize(size, "radio-size"),
|
|
19165
|
+
"--radio-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19146
19166
|
"--radio-color": getThemeColor(color, theme),
|
|
19147
|
-
"--radio-icon-size": typeof size === "number" ? `calc(${
|
|
19167
|
+
"--radio-icon-size": typeof size === "number" ? `calc(${getSize(size, "radio-size")} * 0.4)` : getSize(size, "radio-icon-size"),
|
|
19148
19168
|
"--radio-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
19149
19169
|
color,
|
|
19150
19170
|
theme,
|
|
@@ -19261,15 +19281,15 @@ var mergedClasses$1 = {
|
|
|
19261
19281
|
...Radio_module_default
|
|
19262
19282
|
};
|
|
19263
19283
|
var varsResolver$17 = createVarsResolver((theme, { size, radius, color, iconColor, autoContrast }) => ({ root: {
|
|
19264
|
-
"--radio-size":
|
|
19265
|
-
"--radio-radius": radius === void 0 ? void 0 :
|
|
19284
|
+
"--radio-size": getSize(size, "radio-size"),
|
|
19285
|
+
"--radio-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19266
19286
|
"--radio-color": getThemeColor(color, theme),
|
|
19267
19287
|
"--radio-icon-color": iconColor ? getThemeColor(iconColor, theme) : getAutoContrastValue(autoContrast, theme) ? getContrastColor({
|
|
19268
19288
|
color,
|
|
19269
19289
|
theme,
|
|
19270
19290
|
autoContrast
|
|
19271
19291
|
}) : void 0,
|
|
19272
|
-
"--radio-icon-size":
|
|
19292
|
+
"--radio-icon-size": getSize(size, "radio-icon-size")
|
|
19273
19293
|
} }));
|
|
19274
19294
|
function callHandler$2(handler, event) {
|
|
19275
19295
|
if (Array.isArray(handler)) handler.forEach((item) => item?.(event));
|
|
@@ -19633,12 +19653,12 @@ var mergedClasses = {
|
|
|
19633
19653
|
...Switch_module_default
|
|
19634
19654
|
};
|
|
19635
19655
|
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":
|
|
19656
|
+
"--switch-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
19657
|
+
"--switch-height": getSize(size, "switch-height"),
|
|
19658
|
+
"--switch-width": getSize(size, "switch-width"),
|
|
19659
|
+
"--switch-thumb-size": getSize(size, "switch-thumb-size"),
|
|
19660
|
+
"--switch-label-font-size": getSize(size, "switch-label-font-size"),
|
|
19661
|
+
"--switch-track-label-padding": getSize(size, "switch-track-label-padding"),
|
|
19642
19662
|
"--switch-color": color ? getThemeColor(color, theme) : void 0
|
|
19643
19663
|
} }));
|
|
19644
19664
|
function renderContent(content) {
|
|
@@ -20017,7 +20037,7 @@ var Flex = withBoxProps(defineComponent({
|
|
|
20017
20037
|
...attrs,
|
|
20018
20038
|
...getStyles("root", {
|
|
20019
20039
|
className: parsedStyleProps.hasResponsiveStyles ? responsiveClassName : void 0,
|
|
20020
|
-
style:
|
|
20040
|
+
style: filterProps(parsedStyleProps.inlineStyles)
|
|
20021
20041
|
})
|
|
20022
20042
|
}, () => slots.default?.())];
|
|
20023
20043
|
};
|
|
@@ -20032,7 +20052,7 @@ var defaultProps$7 = {
|
|
|
20032
20052
|
justify: "flex-start"
|
|
20033
20053
|
};
|
|
20034
20054
|
var varsResolver$15 = createVarsResolver((_, { gap, align, justify }) => ({ root: {
|
|
20035
|
-
"--stack-gap":
|
|
20055
|
+
"--stack-gap": getSpacing(gap),
|
|
20036
20056
|
"--stack-align": align,
|
|
20037
20057
|
"--stack-justify": justify
|
|
20038
20058
|
} }));
|
|
@@ -20328,11 +20348,11 @@ var varsResolver$14 = createVarsResolver((theme, { color, iconSize, size, conten
|
|
|
20328
20348
|
theme,
|
|
20329
20349
|
autoContrast
|
|
20330
20350
|
}) : 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":
|
|
20351
|
+
"--stepper-icon-size": iconSize === void 0 ? getSize(size, "stepper-icon-size") : rem(iconSize),
|
|
20352
|
+
"--stepper-content-padding": getSpacing(contentPadding),
|
|
20353
|
+
"--stepper-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
20354
|
+
"--stepper-fz": getFontSize(size),
|
|
20355
|
+
"--stepper-spacing": getSpacing(size)
|
|
20336
20356
|
} }));
|
|
20337
20357
|
function getSlotContent(vnode) {
|
|
20338
20358
|
const children = vnode?.children;
|
|
@@ -20595,7 +20615,7 @@ var defaultProps$4 = {
|
|
|
20595
20615
|
maxRows: 1,
|
|
20596
20616
|
maxVisibleItems: Infinity
|
|
20597
20617
|
};
|
|
20598
|
-
var varsResolver$13 = createVarsResolver((_, { gap }) => ({ root: { "--ol-gap":
|
|
20618
|
+
var varsResolver$13 = createVarsResolver((_, { gap }) => ({ root: { "--ol-gap": getSpacing(gap) } }));
|
|
20599
20619
|
function getDataSignature(data, getItemKey) {
|
|
20600
20620
|
return data.map((item, index) => getItemKey ? getItemKey(item, index) : item !== null && (typeof item === "object" || typeof item === "function") ? index : String(item)).join(" ");
|
|
20601
20621
|
}
|
|
@@ -20809,9 +20829,9 @@ var varsResolver$12 = createVarsResolver((theme, { color, size, variant, autoCon
|
|
|
20809
20829
|
return { root: {
|
|
20810
20830
|
"--toc-bg": variant !== "none" ? colors.background : void 0,
|
|
20811
20831
|
"--toc-color": variant !== "none" ? colors.color : void 0,
|
|
20812
|
-
"--toc-size":
|
|
20813
|
-
"--toc-depth-offset":
|
|
20814
|
-
"--toc-radius":
|
|
20832
|
+
"--toc-size": getFontSize(size),
|
|
20833
|
+
"--toc-depth-offset": rem(depthOffset),
|
|
20834
|
+
"--toc-radius": getRadius(radius)
|
|
20815
20835
|
} };
|
|
20816
20836
|
});
|
|
20817
20837
|
var TableOfContents = withBoxProps(defineComponent({
|
|
@@ -20946,7 +20966,7 @@ var FloatingWindow_module_default = { root: "_root_kejg3_1" };
|
|
|
20946
20966
|
var defaultProps$2 = {
|
|
20947
20967
|
constrainToViewport: true,
|
|
20948
20968
|
withinPortal: true,
|
|
20949
|
-
zIndex:
|
|
20969
|
+
zIndex: getDefaultZIndex("overlay")
|
|
20950
20970
|
};
|
|
20951
20971
|
var FloatingWindow = defineComponent({
|
|
20952
20972
|
name: "FloatingWindow",
|
|
@@ -21448,10 +21468,10 @@ var defaultProps$1 = {
|
|
|
21448
21468
|
orientation: "horizontal"
|
|
21449
21469
|
};
|
|
21450
21470
|
var varsResolver$11 = createVarsResolver((theme, { size, color, thumbSize, radius }) => ({ root: {
|
|
21451
|
-
"--slider-size":
|
|
21471
|
+
"--slider-size": getSize(size, "slider-size"),
|
|
21452
21472
|
"--slider-color": color ? getThemeColor(color, theme) : void 0,
|
|
21453
|
-
"--slider-radius": radius === void 0 ? void 0 :
|
|
21454
|
-
"--slider-thumb-size": thumbSize !== void 0 ?
|
|
21473
|
+
"--slider-radius": radius === void 0 ? void 0 : getRadius(radius),
|
|
21474
|
+
"--slider-thumb-size": thumbSize !== void 0 ? rem(thumbSize) : "calc(var(--slider-size) * 2)"
|
|
21455
21475
|
} }));
|
|
21456
21476
|
var Slider = withBoxProps(defineComponent({
|
|
21457
21477
|
name: "Slider",
|
|
@@ -21741,10 +21761,10 @@ var defaults$5 = {
|
|
|
21741
21761
|
orientation: "horizontal"
|
|
21742
21762
|
};
|
|
21743
21763
|
var varsResolver$10 = createVarsResolver((theme, { size, color, thumbSize, radius }) => ({ root: {
|
|
21744
|
-
"--slider-size":
|
|
21764
|
+
"--slider-size": getSize(size, "slider-size"),
|
|
21745
21765
|
"--slider-color": color ? getThemeColor(color, theme) : void 0,
|
|
21746
|
-
"--slider-radius":
|
|
21747
|
-
"--slider-thumb-size": thumbSize !== void 0 ?
|
|
21766
|
+
"--slider-radius": getRadius(radius),
|
|
21767
|
+
"--slider-thumb-size": thumbSize !== void 0 ? rem(thumbSize) : "calc(var(--slider-size) * 2)"
|
|
21748
21768
|
} }));
|
|
21749
21769
|
var RangeSlider = defineComponent({
|
|
21750
21770
|
name: "RangeSlider",
|
|
@@ -22471,10 +22491,10 @@ var AlphaSlider = defineComponent({
|
|
|
22471
22491
|
overlays: [
|
|
22472
22492
|
{
|
|
22473
22493
|
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: `${
|
|
22494
|
+
backgroundSize: `${rem(8)} ${rem(8)}`
|
|
22475
22495
|
},
|
|
22476
22496
|
{ backgroundImage: `linear-gradient(90deg, transparent, ${props.color})` },
|
|
22477
|
-
{ boxShadow: `rgba(0,0,0,.1) 0 0 0 ${
|
|
22497
|
+
{ boxShadow: `rgba(0,0,0,.1) 0 0 0 ${rem(1)} inset` }
|
|
22478
22498
|
]
|
|
22479
22499
|
});
|
|
22480
22500
|
}
|
|
@@ -22524,7 +22544,7 @@ var HueSlider = defineComponent({
|
|
|
22524
22544
|
thumbColor: `hsl(${props.value}, 100%, 50%)`,
|
|
22525
22545
|
round: true,
|
|
22526
22546
|
"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 ${
|
|
22547
|
+
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
22548
|
});
|
|
22529
22549
|
}
|
|
22530
22550
|
});
|
|
@@ -22708,12 +22728,12 @@ var defaults$4 = {
|
|
|
22708
22728
|
__staticSelector: "ColorPicker"
|
|
22709
22729
|
};
|
|
22710
22730
|
var varsResolver$9 = createVarsResolver((_, { size, swatchesPerRow }) => ({ wrapper: {
|
|
22711
|
-
"--cp-preview-size":
|
|
22712
|
-
"--cp-width":
|
|
22713
|
-
"--cp-body-spacing":
|
|
22731
|
+
"--cp-preview-size": getSize(size, "cp-preview-size"),
|
|
22732
|
+
"--cp-width": getSize(size, "cp-width"),
|
|
22733
|
+
"--cp-body-spacing": getSpacing(size),
|
|
22714
22734
|
"--cp-swatch-size": `${100 / swatchesPerRow}%`,
|
|
22715
|
-
"--cp-thumb-size":
|
|
22716
|
-
"--cp-saturation-height":
|
|
22735
|
+
"--cp-thumb-size": getSize(size, "cp-thumb-size"),
|
|
22736
|
+
"--cp-saturation-height": getSize(size, "cp-saturation-height")
|
|
22717
22737
|
} }));
|
|
22718
22738
|
var ColorPicker = defineComponent({
|
|
22719
22739
|
name: "ColorPicker",
|
|
@@ -23039,10 +23059,10 @@ var AppShellMain = withBoxProps(Object.assign(defineComponent({
|
|
|
23039
23059
|
//#endregion
|
|
23040
23060
|
//#region src/components/AppShell/AppShellMediaStyles/get-variables.ts
|
|
23041
23061
|
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" :
|
|
23062
|
+
var size$1 = (value) => value === void 0 ? void 0 : rem(value);
|
|
23063
|
+
var paddingValue = (value) => Number(value) === 0 ? "0px" : getSpacing(value);
|
|
23044
23064
|
function breakpointPx(value, theme) {
|
|
23045
|
-
return typeof value === "string" && value in theme.breakpoints ?
|
|
23065
|
+
return typeof value === "string" && value in theme.breakpoints ? getBreakpointValue(theme.breakpoints[value]) : getBreakpointValue(value);
|
|
23046
23066
|
}
|
|
23047
23067
|
function media(styles, query, values) {
|
|
23048
23068
|
styles[query] = {
|
|
@@ -23054,7 +23074,7 @@ function responsive(value, property, base, min, theme, transform = size$1) {
|
|
|
23054
23074
|
if (isResponsive(value)) {
|
|
23055
23075
|
if (value.base !== void 0) base[property] = transform(value.base);
|
|
23056
23076
|
Object.entries(value).forEach(([key, item]) => {
|
|
23057
|
-
if (key !== "base" && item !== void 0) media(min, `(min-width: ${
|
|
23077
|
+
if (key !== "base" && item !== void 0) media(min, `(min-width: ${em(breakpointPx(key, theme))})`, { [property]: transform(item) });
|
|
23058
23078
|
});
|
|
23059
23079
|
} else if (value !== void 0) base[property] = transform(value);
|
|
23060
23080
|
}
|
|
@@ -23086,8 +23106,8 @@ function getVariables({ navbar, aside, header, footer, padding, theme, mode }) {
|
|
|
23086
23106
|
responsive(config.width, "--app-shell-navbar-offset", baseStyles, minMediaStyles, theme);
|
|
23087
23107
|
if (mode === "static") responsive(config.width, "--app-shell-navbar-grid-width", baseStyles, minMediaStyles, theme);
|
|
23088
23108
|
const bp = breakpointPx(config.breakpoint, theme);
|
|
23089
|
-
const minQuery = `(min-width: ${
|
|
23090
|
-
const maxQuery = `(max-width: ${
|
|
23109
|
+
const minQuery = `(min-width: ${em(bp)})`;
|
|
23110
|
+
const maxQuery = `(max-width: ${em(bp - .1)})`;
|
|
23091
23111
|
if (!config.collapsed?.mobile) media(maxMediaStyles, maxQuery, {
|
|
23092
23112
|
"--app-shell-navbar-offset": "0px",
|
|
23093
23113
|
"--app-shell-navbar-width": "100%",
|
|
@@ -23121,8 +23141,8 @@ function getVariables({ navbar, aside, header, footer, padding, theme, mode }) {
|
|
|
23121
23141
|
responsive(config.width, "--app-shell-aside-width", baseStyles, minMediaStyles, theme);
|
|
23122
23142
|
responsive(config.width, "--app-shell-aside-offset", baseStyles, minMediaStyles, theme);
|
|
23123
23143
|
const bp = breakpointPx(config.breakpoint, theme);
|
|
23124
|
-
const minQuery = `(min-width: ${
|
|
23125
|
-
const maxQuery = `(max-width: ${
|
|
23144
|
+
const minQuery = `(min-width: ${em(bp)})`;
|
|
23145
|
+
const maxQuery = `(max-width: ${em(bp - .1)})`;
|
|
23126
23146
|
if (!config.collapsed?.mobile) media(maxMediaStyles, maxQuery, mode === "fixed" ? {
|
|
23127
23147
|
"--app-shell-aside-width": "100%",
|
|
23128
23148
|
"--app-shell-aside-offset": "0px"
|
|
@@ -23274,7 +23294,7 @@ var defaults$3 = {
|
|
|
23274
23294
|
padding: 0,
|
|
23275
23295
|
transitionDuration: 200,
|
|
23276
23296
|
transitionTimingFunction: "ease",
|
|
23277
|
-
zIndex:
|
|
23297
|
+
zIndex: getDefaultZIndex("app"),
|
|
23278
23298
|
mode: "fixed",
|
|
23279
23299
|
offsetScrollbars: true
|
|
23280
23300
|
};
|
|
@@ -25078,7 +25098,7 @@ var Tree_module_default = {
|
|
|
25078
25098
|
function getFlatValues(data) {
|
|
25079
25099
|
return data.flatMap((node) => [node.value, ...node.children ? getFlatValues(node.children) : []]);
|
|
25080
25100
|
}
|
|
25081
|
-
var varsResolver$6 = createVarsResolver((_, { levelOffset }) => ({ root: { "--level-offset":
|
|
25101
|
+
var varsResolver$6 = createVarsResolver((_, { levelOffset }) => ({ root: { "--level-offset": getSpacing(levelOffset) } }));
|
|
25082
25102
|
var Tree = withBoxProps(defineComponent({
|
|
25083
25103
|
name: "Tree",
|
|
25084
25104
|
inheritAttrs: false,
|
|
@@ -25756,9 +25776,9 @@ var ModalBase = withBoxProps(defineComponent({
|
|
|
25756
25776
|
...attrs,
|
|
25757
25777
|
id: modal.id.value || fallbackId.value,
|
|
25758
25778
|
style: [{
|
|
25759
|
-
"--mb-z-index": String(props.zIndex ??
|
|
25760
|
-
"--mb-shadow":
|
|
25761
|
-
"--mb-padding":
|
|
25779
|
+
"--mb-z-index": String(props.zIndex ?? getDefaultZIndex("modal")),
|
|
25780
|
+
"--mb-shadow": getShadow(props.shadow),
|
|
25781
|
+
"--mb-padding": getSpacing(props.padding)
|
|
25762
25782
|
}, attrs.style]
|
|
25763
25783
|
}, () => slots.default?.()));
|
|
25764
25784
|
}
|
|
@@ -25961,10 +25981,10 @@ var Modal_module_default = {
|
|
|
25961
25981
|
//#region src/components/Modal/Modal.ts
|
|
25962
25982
|
var [provideModalContext, useModalContext] = createSafeContext("Modal component was not found in tree");
|
|
25963
25983
|
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":
|
|
25984
|
+
"--modal-size": getSize(props.size, "modal-size"),
|
|
25985
|
+
"--modal-radius": props.radius == null ? void 0 : rem(props.radius),
|
|
25986
|
+
"--modal-y-offset": rem(props.yOffset),
|
|
25987
|
+
"--modal-x-offset": rem(props.xOffset)
|
|
25968
25988
|
} }));
|
|
25969
25989
|
var ModalRoot = defineComponent({
|
|
25970
25990
|
name: "ModalRoot",
|
|
@@ -26152,7 +26172,7 @@ var DrawerStack = defineComponent({
|
|
|
26152
26172
|
name: "DrawerStack",
|
|
26153
26173
|
setup(_, { slots }) {
|
|
26154
26174
|
const stack = ref([]);
|
|
26155
|
-
const maxZIndex = ref(
|
|
26175
|
+
const maxZIndex = ref(getDefaultZIndex("modal"));
|
|
26156
26176
|
provide(DrawerStackContextKey, reactive({
|
|
26157
26177
|
get stack() {
|
|
26158
26178
|
return stack.value;
|
|
@@ -26213,12 +26233,12 @@ function useDrawersStack(drawers) {
|
|
|
26213
26233
|
};
|
|
26214
26234
|
}
|
|
26215
26235
|
var varsResolver$4 = createVarsResolver((_, props) => ({ root: {
|
|
26216
|
-
"--drawer-size":
|
|
26236
|
+
"--drawer-size": getSize(props.size, "drawer-size"),
|
|
26217
26237
|
"--drawer-flex": props.position === "top" || props.position === "bottom" ? "0 0 calc(100% - var(--drawer-offset) * 2)" : void 0,
|
|
26218
26238
|
"--drawer-height": props.position === "left" || props.position === "right" ? void 0 : "var(--drawer-size)",
|
|
26219
26239
|
"--drawer-align": props.position === "top" ? "flex-start" : props.position === "bottom" ? "flex-end" : void 0,
|
|
26220
26240
|
"--drawer-justify": props.position === "right" ? "flex-end" : void 0,
|
|
26221
|
-
"--drawer-offset":
|
|
26241
|
+
"--drawer-offset": rem(props.offset)
|
|
26222
26242
|
} }));
|
|
26223
26243
|
var transitions = {
|
|
26224
26244
|
top: "slide-down",
|
|
@@ -26390,7 +26410,7 @@ var DrawerBaseComponent = defineComponent({
|
|
|
26390
26410
|
setup(props, { attrs, slots }) {
|
|
26391
26411
|
const stackCtx = useDrawerStackContext();
|
|
26392
26412
|
watch(() => props.opened, (opened) => {
|
|
26393
|
-
if (stackCtx && props.stackId) if (opened) stackCtx.addModal(props.stackId, typeof props.zIndex === "number" ? props.zIndex :
|
|
26413
|
+
if (stackCtx && props.stackId) if (opened) stackCtx.addModal(props.stackId, typeof props.zIndex === "number" ? props.zIndex : getDefaultZIndex("modal"));
|
|
26394
26414
|
else stackCtx.removeModal(props.stackId);
|
|
26395
26415
|
}, { immediate: true });
|
|
26396
26416
|
const resolvedZIndex = computed(() => {
|
|
@@ -26734,7 +26754,7 @@ var defaults$2 = {
|
|
|
26734
26754
|
withRoles: true,
|
|
26735
26755
|
returnFocus: false,
|
|
26736
26756
|
keepMounted: false,
|
|
26737
|
-
zIndex:
|
|
26757
|
+
zIndex: getDefaultZIndex("popover"),
|
|
26738
26758
|
floatingStrategy: "absolute",
|
|
26739
26759
|
transitionProps: {
|
|
26740
26760
|
transition: "fade",
|
|
@@ -26742,8 +26762,8 @@ var defaults$2 = {
|
|
|
26742
26762
|
}
|
|
26743
26763
|
};
|
|
26744
26764
|
var varsResolver$3 = createVarsResolver((_, props) => ({ dropdown: {
|
|
26745
|
-
"--popover-radius": props.radius === void 0 ? void 0 :
|
|
26746
|
-
"--popover-shadow":
|
|
26765
|
+
"--popover-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
26766
|
+
"--popover-shadow": getShadow(props.shadow)
|
|
26747
26767
|
} }));
|
|
26748
26768
|
function one$3(slots, name) {
|
|
26749
26769
|
const children = slots.default?.().filter((child) => typeof child.type !== "symbol") ?? [];
|
|
@@ -26884,7 +26904,7 @@ var PopoverDropdown = defineComponent({
|
|
|
26884
26904
|
zIndex: ctx.zIndex,
|
|
26885
26905
|
top: `${ctx.y}px`,
|
|
26886
26906
|
left: `${ctx.x}px`,
|
|
26887
|
-
width: ctx.width === "target" ? ctx.targetWidth === void 0 ? void 0 : `${ctx.targetWidth}px` :
|
|
26907
|
+
width: ctx.width === "target" ? ctx.targetWidth === void 0 ? void 0 : `${ctx.targetWidth}px` : rem(ctx.width)
|
|
26888
26908
|
},
|
|
26889
26909
|
attrs.style
|
|
26890
26910
|
]
|
|
@@ -27189,7 +27209,7 @@ var PopoverBase = defineComponent({
|
|
|
27189
27209
|
return props.width ?? "max-content";
|
|
27190
27210
|
},
|
|
27191
27211
|
get zIndex() {
|
|
27192
|
-
return props.zIndex ??
|
|
27212
|
+
return props.zIndex ?? getDefaultZIndex("popover");
|
|
27193
27213
|
},
|
|
27194
27214
|
get floatingStrategy() {
|
|
27195
27215
|
return props.floatingStrategy ?? "absolute";
|
|
@@ -27242,10 +27262,10 @@ var defaults$1 = {
|
|
|
27242
27262
|
withinPortal: true,
|
|
27243
27263
|
offset: 10,
|
|
27244
27264
|
position: "right",
|
|
27245
|
-
zIndex:
|
|
27265
|
+
zIndex: getDefaultZIndex("popover")
|
|
27246
27266
|
};
|
|
27247
27267
|
var varsResolver$2 = createVarsResolver((theme, props) => ({ tooltip: {
|
|
27248
|
-
"--tooltip-radius": props.radius === void 0 ? void 0 :
|
|
27268
|
+
"--tooltip-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
27249
27269
|
"--tooltip-bg": props.color ? getThemeColor(props.color, theme) : void 0,
|
|
27250
27270
|
"--tooltip-color": props.color ? "var(--mantine-color-white)" : void 0
|
|
27251
27271
|
} }));
|
|
@@ -27477,7 +27497,7 @@ var defaults = {
|
|
|
27477
27497
|
focus: false,
|
|
27478
27498
|
touch: false
|
|
27479
27499
|
},
|
|
27480
|
-
zIndex:
|
|
27500
|
+
zIndex: getDefaultZIndex("popover"),
|
|
27481
27501
|
middlewares: {
|
|
27482
27502
|
flip: true,
|
|
27483
27503
|
shift: true,
|
|
@@ -27493,7 +27513,7 @@ var varsResolver$1 = createVarsResolver((theme, props) => {
|
|
|
27493
27513
|
variant: props.variant || "filled"
|
|
27494
27514
|
});
|
|
27495
27515
|
return { tooltip: {
|
|
27496
|
-
"--tooltip-radius": props.radius === void 0 ? void 0 :
|
|
27516
|
+
"--tooltip-radius": props.radius === void 0 ? void 0 : getRadius(props.radius),
|
|
27497
27517
|
"--tooltip-bg": props.color ? colors.background : void 0,
|
|
27498
27518
|
"--tooltip-color": props.color ? colors.color : void 0
|
|
27499
27519
|
} };
|
|
@@ -28789,17 +28809,17 @@ function useComboboxTargetProps(input) {
|
|
|
28789
28809
|
//#region src/components/Combobox/Combobox.ts
|
|
28790
28810
|
var varsResolver = createVarsResolver((_, props) => ({
|
|
28791
28811
|
options: {
|
|
28792
|
-
"--combobox-option-fz":
|
|
28793
|
-
"--combobox-option-padding":
|
|
28812
|
+
"--combobox-option-fz": getFontSize(props.size),
|
|
28813
|
+
"--combobox-option-padding": getSize(props.size, "combobox-option-padding")
|
|
28794
28814
|
},
|
|
28795
28815
|
dropdown: {
|
|
28796
|
-
"--combobox-padding": props.dropdownPadding === void 0 ? void 0 :
|
|
28797
|
-
"--combobox-option-fz":
|
|
28798
|
-
"--combobox-option-padding":
|
|
28816
|
+
"--combobox-padding": props.dropdownPadding === void 0 ? void 0 : rem(props.dropdownPadding),
|
|
28817
|
+
"--combobox-option-fz": getFontSize(props.size),
|
|
28818
|
+
"--combobox-option-padding": getSize(props.size, "combobox-option-padding")
|
|
28799
28819
|
}
|
|
28800
28820
|
}));
|
|
28801
28821
|
var chevronVarsResolver = createVarsResolver((theme, props) => ({ chevron: {
|
|
28802
|
-
"--combobox-chevron-size":
|
|
28822
|
+
"--combobox-chevron-size": getSize(props.size, "combobox-chevron-size"),
|
|
28803
28823
|
"--combobox-chevron-color": props.color ? getThemeColor(props.color, theme) : void 0
|
|
28804
28824
|
} }));
|
|
28805
28825
|
function childrenOne(slots, name) {
|
|
@@ -31184,414 +31204,7 @@ Object.assign(TreeSelect, { classes: {
|
|
|
31184
31204
|
...Combobox.classes,
|
|
31185
31205
|
...TreeSelect_module_default
|
|
31186
31206
|
} });
|
|
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 };
|
|
31207
|
+
//#endregion
|
|
31208
|
+
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
31209
|
|
|
31597
31210
|
//# sourceMappingURL=index.mjs.map
|