@mantine/core 7.0.0-alpha.13 → 7.0.0-alpha.14
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/cjs/components/Combobox/Combobox.context.js +13 -0
- package/cjs/components/Combobox/Combobox.context.js.map +1 -0
- package/cjs/components/Combobox/Combobox.js +139 -0
- package/cjs/components/Combobox/Combobox.js.map +1 -0
- package/cjs/components/Combobox/Combobox.module.css.js +8 -0
- package/cjs/components/Combobox/Combobox.module.css.js.map +1 -0
- package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.js +39 -19
- package/cjs/components/Combobox/ComboboxChevron/ComboboxChevron.js.map +1 -1
- package/cjs/components/Combobox/ComboboxDropdown/ComboboxDropdown.js +70 -0
- package/cjs/components/Combobox/ComboboxDropdown/ComboboxDropdown.js.map +1 -0
- package/cjs/components/Combobox/ComboboxEmpty/ComboboxEmpty.js +63 -0
- package/cjs/components/Combobox/ComboboxEmpty/ComboboxEmpty.js.map +1 -0
- package/cjs/components/Combobox/ComboboxOption/ComboboxOption.js +119 -0
- package/cjs/components/Combobox/ComboboxOption/ComboboxOption.js.map +1 -0
- package/cjs/components/Combobox/ComboboxOptions/ComboboxOptions.js +75 -0
- package/cjs/components/Combobox/ComboboxOptions/ComboboxOptions.js.map +1 -0
- package/cjs/components/Combobox/ComboboxSearch/ComboboxSearch.js +92 -0
- package/cjs/components/Combobox/ComboboxSearch/ComboboxSearch.js.map +1 -0
- package/cjs/components/Combobox/ComboboxTarget/ComboboxTarget.js +74 -0
- package/cjs/components/Combobox/ComboboxTarget/ComboboxTarget.js.map +1 -0
- package/cjs/components/Combobox/use-combobox/get-index/get-index.js +47 -0
- package/cjs/components/Combobox/use-combobox/get-index/get-index.js.map +1 -0
- package/cjs/components/Combobox/use-combobox/get-index/get-virtualized-index.js +57 -0
- package/cjs/components/Combobox/use-combobox/get-index/get-virtualized-index.js.map +1 -0
- package/cjs/components/Combobox/use-combobox/use-combobox.js +152 -0
- package/cjs/components/Combobox/use-combobox/use-combobox.js.map +1 -0
- package/cjs/components/Combobox/use-combobox/use-virtualized-combobox.js +125 -0
- package/cjs/components/Combobox/use-combobox/use-virtualized-combobox.js.map +1 -0
- package/cjs/components/Combobox/use-combobox-target-props/use-combobox-target-props.js +80 -0
- package/cjs/components/Combobox/use-combobox-target-props/use-combobox-target-props.js.map +1 -0
- package/cjs/components/Drawer/Drawer.context.js +13 -0
- package/cjs/components/Drawer/Drawer.context.js.map +1 -0
- package/cjs/components/Drawer/Drawer.js +95 -0
- package/cjs/components/Drawer/Drawer.js.map +1 -0
- package/cjs/components/Drawer/Drawer.module.css.js +8 -0
- package/cjs/components/Drawer/Drawer.module.css.js.map +1 -0
- package/cjs/components/Drawer/DrawerBody.js +60 -0
- package/cjs/components/Drawer/DrawerBody.js.map +1 -0
- package/cjs/components/Drawer/DrawerCloseButton.js +60 -0
- package/cjs/components/Drawer/DrawerCloseButton.js.map +1 -0
- package/cjs/components/Drawer/DrawerContent.js +67 -0
- package/cjs/components/Drawer/DrawerContent.js.map +1 -0
- package/cjs/components/Drawer/DrawerHeader.js +60 -0
- package/cjs/components/Drawer/DrawerHeader.js.map +1 -0
- package/cjs/components/Drawer/DrawerOverlay.js +60 -0
- package/cjs/components/Drawer/DrawerOverlay.js.map +1 -0
- package/cjs/components/Drawer/DrawerRoot.js +128 -0
- package/cjs/components/Drawer/DrawerRoot.js.map +1 -0
- package/cjs/components/Drawer/DrawerTitle.js +60 -0
- package/cjs/components/Drawer/DrawerTitle.js.map +1 -0
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Modal/ModalRoot.js +6 -3
- package/cjs/components/Modal/ModalRoot.js.map +1 -1
- package/cjs/components/ModalBase/ModalBase.js +7 -5
- package/cjs/components/ModalBase/ModalBase.js.map +1 -1
- package/cjs/components/Popover/Popover.js +1 -1
- package/cjs/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.js +1 -1
- package/cjs/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.js.map +1 -1
- package/cjs/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js +23 -2
- package/cjs/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js.map +1 -1
- package/cjs/index.css +283 -158
- package/cjs/index.js +44 -0
- package/cjs/index.js.map +1 -1
- package/esm/components/Combobox/Combobox.context.js +8 -0
- package/esm/components/Combobox/Combobox.context.js.map +1 -0
- package/esm/components/Combobox/Combobox.js +131 -0
- package/esm/components/Combobox/Combobox.js.map +1 -0
- package/esm/components/Combobox/Combobox.module.css.js +4 -0
- package/esm/components/Combobox/Combobox.module.css.js.map +1 -0
- package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.js +39 -18
- package/esm/components/Combobox/ComboboxChevron/ComboboxChevron.js.map +1 -1
- package/esm/components/Combobox/ComboboxDropdown/ComboboxDropdown.js +62 -0
- package/esm/components/Combobox/ComboboxDropdown/ComboboxDropdown.js.map +1 -0
- package/esm/components/Combobox/ComboboxEmpty/ComboboxEmpty.js +55 -0
- package/esm/components/Combobox/ComboboxEmpty/ComboboxEmpty.js.map +1 -0
- package/esm/components/Combobox/ComboboxOption/ComboboxOption.js +111 -0
- package/esm/components/Combobox/ComboboxOption/ComboboxOption.js.map +1 -0
- package/esm/components/Combobox/ComboboxOptions/ComboboxOptions.js +67 -0
- package/esm/components/Combobox/ComboboxOptions/ComboboxOptions.js.map +1 -0
- package/esm/components/Combobox/ComboboxSearch/ComboboxSearch.js +84 -0
- package/esm/components/Combobox/ComboboxSearch/ComboboxSearch.js.map +1 -0
- package/esm/components/Combobox/ComboboxTarget/ComboboxTarget.js +66 -0
- package/esm/components/Combobox/ComboboxTarget/ComboboxTarget.js.map +1 -0
- package/esm/components/Combobox/use-combobox/get-index/get-index.js +41 -0
- package/esm/components/Combobox/use-combobox/get-index/get-index.js.map +1 -0
- package/esm/components/Combobox/use-combobox/get-index/get-virtualized-index.js +51 -0
- package/esm/components/Combobox/use-combobox/get-index/get-virtualized-index.js.map +1 -0
- package/esm/components/Combobox/use-combobox/use-combobox.js +148 -0
- package/esm/components/Combobox/use-combobox/use-combobox.js.map +1 -0
- package/esm/components/Combobox/use-combobox/use-virtualized-combobox.js +121 -0
- package/esm/components/Combobox/use-combobox/use-virtualized-combobox.js.map +1 -0
- package/esm/components/Combobox/use-combobox-target-props/use-combobox-target-props.js +76 -0
- package/esm/components/Combobox/use-combobox-target-props/use-combobox-target-props.js.map +1 -0
- package/esm/components/Drawer/Drawer.context.js +8 -0
- package/esm/components/Drawer/Drawer.context.js.map +1 -0
- package/esm/components/Drawer/Drawer.js +87 -0
- package/esm/components/Drawer/Drawer.js.map +1 -0
- package/esm/components/Drawer/Drawer.module.css.js +4 -0
- package/esm/components/Drawer/Drawer.module.css.js.map +1 -0
- package/esm/components/Drawer/DrawerBody.js +52 -0
- package/esm/components/Drawer/DrawerBody.js.map +1 -0
- package/esm/components/Drawer/DrawerCloseButton.js +52 -0
- package/esm/components/Drawer/DrawerCloseButton.js.map +1 -0
- package/esm/components/Drawer/DrawerContent.js +59 -0
- package/esm/components/Drawer/DrawerContent.js.map +1 -0
- package/esm/components/Drawer/DrawerHeader.js +52 -0
- package/esm/components/Drawer/DrawerHeader.js.map +1 -0
- package/esm/components/Drawer/DrawerOverlay.js +52 -0
- package/esm/components/Drawer/DrawerOverlay.js.map +1 -0
- package/esm/components/Drawer/DrawerRoot.js +120 -0
- package/esm/components/Drawer/DrawerRoot.js.map +1 -0
- package/esm/components/Drawer/DrawerTitle.js +52 -0
- package/esm/components/Drawer/DrawerTitle.js.map +1 -0
- package/esm/components/Modal/Modal.js.map +1 -1
- package/esm/components/Modal/ModalRoot.js +6 -3
- package/esm/components/Modal/ModalRoot.js.map +1 -1
- package/esm/components/ModalBase/ModalBase.js +7 -5
- package/esm/components/ModalBase/ModalBase.js.map +1 -1
- package/esm/components/Popover/Popover.js +1 -1
- package/esm/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.js +1 -1
- package/esm/core/MantineProvider/use-mantine-color-scheme/use-mantine-color-scheme.js.map +1 -1
- package/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js +23 -2
- package/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js.map +1 -1
- package/esm/index.css +283 -158
- package/esm/index.js +22 -0
- package/esm/index.js.map +1 -1
- package/lib/components/Combobox/Combobox.context.d.ts +15 -0
- package/lib/components/Combobox/Combobox.d.ts +89 -0
- package/lib/components/Combobox/ComboboxChevron/ComboboxChevron.d.ts +20 -6
- package/lib/components/Combobox/ComboboxDropdown/ComboboxDropdown.d.ts +19 -0
- package/lib/components/Combobox/ComboboxEmpty/ComboboxEmpty.d.ts +16 -0
- package/lib/components/Combobox/ComboboxOption/ComboboxOption.d.ts +24 -0
- package/lib/components/Combobox/ComboboxOptions/ComboboxOptions.d.ts +16 -0
- package/lib/components/Combobox/ComboboxSearch/ComboboxSearch.d.ts +19 -0
- package/lib/components/Combobox/ComboboxTarget/ComboboxTarget.d.ts +22 -0
- package/lib/components/Combobox/index.d.ts +19 -0
- package/lib/components/Combobox/use-combobox/get-index/get-index.d.ts +3 -0
- package/lib/components/Combobox/use-combobox/get-index/get-virtualized-index.d.ts +14 -0
- package/lib/components/Combobox/use-combobox/use-combobox.d.ts +37 -0
- package/lib/components/Combobox/use-combobox/use-virtualized-combobox.d.ts +25 -0
- package/lib/components/Combobox/use-combobox-target-props/use-combobox-target-props.d.ts +24 -0
- package/lib/components/Drawer/Drawer.context.d.ts +13 -0
- package/lib/components/Drawer/Drawer.d.ts +59 -0
- package/lib/components/Drawer/DrawerBody.d.ts +17 -0
- package/lib/components/Drawer/DrawerCloseButton.d.ts +17 -0
- package/lib/components/Drawer/DrawerContent.d.ts +17 -0
- package/lib/components/Drawer/DrawerHeader.d.ts +17 -0
- package/lib/components/Drawer/DrawerOverlay.d.ts +17 -0
- package/lib/components/Drawer/DrawerRoot.d.ts +32 -0
- package/lib/components/Drawer/DrawerTitle.d.ts +17 -0
- package/lib/components/Drawer/index.d.ts +16 -0
- package/lib/components/Modal/Modal.d.ts +3 -2
- package/lib/components/Modal/ModalRoot.d.ts +1 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/core/styles-api/index.d.ts +2 -0
- package/lib/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.d.ts +1 -2
- package/lib/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.d.ts +2 -3
- package/package.json +4 -4
|
@@ -2,9 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
9
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
+
var __spreadValues = (a, b) => {
|
|
11
|
+
for (var prop in b || (b = {}))
|
|
12
|
+
if (__hasOwnProp.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
if (__getOwnPropSymbols)
|
|
15
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
16
|
+
if (__propIsEnum.call(b, prop))
|
|
17
|
+
__defNormalProp(a, prop, b[prop]);
|
|
18
|
+
}
|
|
19
|
+
return a;
|
|
20
|
+
};
|
|
6
21
|
function resolveStyles({ theme, styles, props, stylesCtx }) {
|
|
7
|
-
|
|
22
|
+
const arrayStyles = Array.isArray(styles) ? styles : [styles];
|
|
23
|
+
return arrayStyles.reduce((acc, style) => {
|
|
24
|
+
if (typeof style === "function") {
|
|
25
|
+
return __spreadValues(__spreadValues({}, acc), style(theme, props, stylesCtx));
|
|
26
|
+
}
|
|
27
|
+
return __spreadValues(__spreadValues({}, acc), style);
|
|
28
|
+
}, {});
|
|
8
29
|
}
|
|
9
30
|
|
|
10
31
|
exports.resolveStyles = resolveStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-styles.js","sources":["../../../../../../src/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"resolve-styles.js","sources":["../../../../../../src/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.ts"],"sourcesContent":["import type { MantineTheme } from '../../../../MantineProvider';\nimport type { _Styles } from '../get-style';\n\nexport interface ResolveStylesInput {\n theme: MantineTheme;\n styles: _Styles | _Styles[];\n props: Record<string, any>;\n stylesCtx: Record<string, any> | undefined;\n}\n\nexport function resolveStyles({ theme, styles, props, stylesCtx }: ResolveStylesInput) {\n const arrayStyles = Array.isArray(styles) ? styles : [styles];\n\n return arrayStyles.reduce<Record<string, any>>((acc, style) => {\n if (typeof style === 'function') {\n return { ...acc, ...style(theme, props, stylesCtx) };\n }\n\n return { ...acc, ...style };\n }, {});\n}\n"],"names":[],"mappings":";;;;AAAA,IAAI,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;AACtC,IAAI,mBAAmB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACvD,IAAI,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC;AACnD,IAAI,YAAY,GAAG,MAAM,CAAC,SAAS,CAAC,oBAAoB,CAAC;AACzD,IAAI,eAAe,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,KAAK,GAAG,IAAI,GAAG,GAAG,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAChK,IAAI,cAAc,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK;AAC/B,EAAE,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;AAChC,IAAI,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC;AAClC,MAAM,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AACxC,EAAE,IAAI,mBAAmB;AACzB,IAAI,KAAK,IAAI,IAAI,IAAI,mBAAmB,CAAC,CAAC,CAAC,EAAE;AAC7C,MAAM,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC;AACpC,QAAQ,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1C,KAAK;AACL,EAAE,OAAO,CAAC,CAAC;AACX,CAAC,CAAC;AACK,SAAS,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE;AACnE,EAAE,MAAM,WAAW,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC;AAChE,EAAE,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK;AAC5C,IAAI,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE;AACrC,MAAM,OAAO,cAAc,CAAC,cAAc,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC;AACrF,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,cAAc,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC;AAC1D,GAAG,EAAE,EAAE,CAAC,CAAC;AACT;;;;"}
|
package/cjs/index.css
CHANGED
|
@@ -40,6 +40,13 @@ body {
|
|
|
40
40
|
-moz-osx-font-smoothing: var(--mantine-moz-font-smoothing);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
@media screen and (max-device-width: 500px) {
|
|
44
|
+
|
|
45
|
+
body {
|
|
46
|
+
-webkit-text-size-adjust: 100%
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
43
50
|
@media (prefers-reduced-motion: reduce) {
|
|
44
51
|
[data-respect-reduced-motion] [data-reduce-motion] {
|
|
45
52
|
transition: none;
|
|
@@ -2218,6 +2225,151 @@ body {
|
|
|
2218
2225
|
border-radius: 10000rem;
|
|
2219
2226
|
}
|
|
2220
2227
|
|
|
2228
|
+
.mantine--1TgA5h {
|
|
2229
|
+
--combobox-chevron-size-xs: calc(0.875rem * var(--mantine-scale));
|
|
2230
|
+
--combobox-chevron-size-sm: calc(1.125rem * var(--mantine-scale));
|
|
2231
|
+
--combobox-chevron-size-md: calc(1.25rem * var(--mantine-scale));
|
|
2232
|
+
--combobox-chevron-size-lg: calc(1.5rem * var(--mantine-scale));
|
|
2233
|
+
--combobox-chevron-size-xl: calc(1.75rem * var(--mantine-scale));
|
|
2234
|
+
|
|
2235
|
+
width: var(--combobox-chevron-size);
|
|
2236
|
+
height: var(--combobox-chevron-size);
|
|
2237
|
+
color: var(--_color);
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
[data-mantine-color-scheme='light'] .mantine--1TgA5h {
|
|
2241
|
+
--_color: var(--mantine-color-gray-6);
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
[data-mantine-color-scheme='dark'] .mantine--1TgA5h {
|
|
2245
|
+
--_color: var(--mantine-color-dark-3);
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
.mantine--1TgA5h[data-error] {
|
|
2249
|
+
--_color: var(--mantine-color-error);
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
.mantine-Hu7S-XH {
|
|
2253
|
+
position: absolute;
|
|
2254
|
+
background-color: var(--_popover-bg);
|
|
2255
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--_popover-bd);
|
|
2256
|
+
padding: var(--mantine-spacing-sm) var(--mantine-spacing-md);
|
|
2257
|
+
box-shadow: var(--popover-shadow, none);
|
|
2258
|
+
border-radius: var(--popover-radius);
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
.mantine-Hu7S-XH:focus {
|
|
2262
|
+
outline: none;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
[data-mantine-color-scheme='light'] .mantine-Hu7S-XH {
|
|
2266
|
+
--_popover-bg: var(--mantine-color-white);
|
|
2267
|
+
--_popover-bd: var(--mantine-color-gray-2);
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
[data-mantine-color-scheme='dark'] .mantine-Hu7S-XH {
|
|
2271
|
+
--_popover-bg: var(--mantine-color-dark-6);
|
|
2272
|
+
--_popover-bd: var(--mantine-color-dark-4);
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
.mantine-XLi9Yuw {
|
|
2276
|
+
background-color: inherit;
|
|
2277
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid var(--_popover-bd);
|
|
2278
|
+
z-index: 1;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
.mantine-oGVJEaz {
|
|
2282
|
+
--combobox-option-padding-xs: calc(0.25rem * var(--mantine-scale)) calc(0.5rem * var(--mantine-scale));
|
|
2283
|
+
--combobox-option-padding-sm: calc(0.375rem * var(--mantine-scale)) calc(0.625rem * var(--mantine-scale));
|
|
2284
|
+
--combobox-option-padding-md: calc(0.5rem * var(--mantine-scale)) calc(0.75rem * var(--mantine-scale));
|
|
2285
|
+
--combobox-option-padding-lg: calc(0.625rem * var(--mantine-scale)) calc(1rem * var(--mantine-scale));
|
|
2286
|
+
--combobox-option-padding-xl: calc(0.875rem * var(--mantine-scale)) calc(1.25rem * var(--mantine-scale));
|
|
2287
|
+
|
|
2288
|
+
padding: var(--combobox-padding);
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
.mantine-oGVJEaz[data-hidden] {
|
|
2292
|
+
display: none;
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
.mantine-Jvh599k {
|
|
2296
|
+
padding: var(--combobox-option-padding);
|
|
2297
|
+
font-size: var(--combobox-option-fz);
|
|
2298
|
+
border-radius: var(--mantine-radius-default);
|
|
2299
|
+
background-color: var(--_option-bg, transparent);
|
|
2300
|
+
color: var(--_option-color, inherit);
|
|
2301
|
+
opacity: var(--_option-opacity, 1);
|
|
2302
|
+
cursor: var(--_option-cursor, pointer);
|
|
2303
|
+
}
|
|
2304
|
+
|
|
2305
|
+
.mantine-Jvh599k[data-combobox-selected] {
|
|
2306
|
+
--_option-bg: var(--mantine-color-primary);
|
|
2307
|
+
--_option-color: var(--mantine-color-white);
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
.mantine-Jvh599k[data-combobox-disabled] {
|
|
2311
|
+
--_option-cursor: not-allowed;
|
|
2312
|
+
--_option-opacity: 0.35;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
@media (hover: hover) {
|
|
2316
|
+
[data-mantine-color-scheme='light'] .mantine-Jvh599k:hover:not([data-combobox-selected], [data-combobox-disabled]) {
|
|
2317
|
+
--_option-bg: var(--mantine-color-gray-0);
|
|
2318
|
+
}
|
|
2319
|
+
|
|
2320
|
+
[data-mantine-color-scheme='dark'] .mantine-Jvh599k:hover:not([data-combobox-selected], [data-combobox-disabled]) {
|
|
2321
|
+
--_option-bg: var(--mantine-color-dark-7);
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
@media (hover: none) {
|
|
2326
|
+
[data-mantine-color-scheme='light'] .mantine-Jvh599k:active:not([data-combobox-selected], [data-combobox-disabled]) {
|
|
2327
|
+
--_option-bg: var(--mantine-color-gray-0);
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
[data-mantine-color-scheme='dark'] .mantine-Jvh599k:active:not([data-combobox-selected], [data-combobox-disabled]) {
|
|
2331
|
+
--_option-bg: var(--mantine-color-dark-7);
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
.mantine-E0imXrV {
|
|
2336
|
+
margin-left: calc(var(--combobox-padding) * -1);
|
|
2337
|
+
margin-right: calc(var(--combobox-padding) * -1);
|
|
2338
|
+
margin-top: calc(var(--combobox-padding) * -1);
|
|
2339
|
+
width: calc(100% + var(--combobox-padding) * 2);
|
|
2340
|
+
border-top-width: 0;
|
|
2341
|
+
border-right-width: 0;
|
|
2342
|
+
border-left-width: 0;
|
|
2343
|
+
border-bottom-left-radius: 0;
|
|
2344
|
+
border-bottom-right-radius: 0;
|
|
2345
|
+
margin-bottom: var(--combobox-padding);
|
|
2346
|
+
background-color: var(--_search_background);
|
|
2347
|
+
position: relative;
|
|
2348
|
+
z-index: 1000;
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
.mantine-E0imXrV,
|
|
2352
|
+
.mantine-E0imXrV:focus {
|
|
2353
|
+
border-color: var(--_search-border-color);
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
[data-mantine-color-scheme='light'] .mantine-E0imXrV {
|
|
2357
|
+
--_search-border-color: var(--mantine-color-gray-2);
|
|
2358
|
+
--_search_background: var(--mantine-color-white);
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
[data-mantine-color-scheme='dark'] .mantine-E0imXrV {
|
|
2362
|
+
--_search-border-color: var(--mantine-color-dark-4);
|
|
2363
|
+
--_search_background: var(--mantine-color-dark-7);
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
.mantine-AHC-x-C {
|
|
2367
|
+
font-size: var(--combobox-option-fz);
|
|
2368
|
+
text-align: center;
|
|
2369
|
+
padding: var(--combobox-option-padding);
|
|
2370
|
+
color: var(--mantine-color-dimmed);
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2221
2373
|
.mantine-jQnfD5v {
|
|
2222
2374
|
--container-size-xs: calc(33.75rem * var(--mantine-scale));
|
|
2223
2375
|
--container-size-sm: calc(45rem * var(--mantine-scale));
|
|
@@ -2308,6 +2460,136 @@ body {
|
|
|
2308
2460
|
margin-right: var(--mantine-spacing-xs);
|
|
2309
2461
|
}
|
|
2310
2462
|
|
|
2463
|
+
.mantine-i2zl3YF {
|
|
2464
|
+
line-height: 1;
|
|
2465
|
+
padding: 0;
|
|
2466
|
+
margin: 0;
|
|
2467
|
+
font-weight: 400;
|
|
2468
|
+
font-size: var(--mantine-font-size-md);
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
.mantine-zfPHD3v {
|
|
2472
|
+
display: flex;
|
|
2473
|
+
justify-content: space-between;
|
|
2474
|
+
align-items: center;
|
|
2475
|
+
padding: var(--mb-padding);
|
|
2476
|
+
padding-right: var(--_pr, calc(var(--mb-padding) - calc(0.3125rem * var(--mantine-scale))));
|
|
2477
|
+
padding-left: var(--_pl, var(--mb-padding));
|
|
2478
|
+
position: sticky;
|
|
2479
|
+
top: 0;
|
|
2480
|
+
background-color: var(--mantine-color-body);
|
|
2481
|
+
z-index: 1000;
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
[dir="rtl"] .mantine-zfPHD3v {
|
|
2485
|
+
--_pr: var(--mb-padding);
|
|
2486
|
+
--_pl: calc(var(--mb-padding) - calc(0.3125rem * var(--mantine-scale)));
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
.mantine-4xc51-t {
|
|
2490
|
+
position: fixed;
|
|
2491
|
+
width: 100%;
|
|
2492
|
+
top: 0;
|
|
2493
|
+
bottom: 0;
|
|
2494
|
+
z-index: calc(var(--mb-z-index) + 1);
|
|
2495
|
+
pointer-events: none;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
.mantine-z46xbr2 {
|
|
2499
|
+
pointer-events: all;
|
|
2500
|
+
box-shadow: var(--mb-shadow);
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
.mantine-HTNzGUo {
|
|
2504
|
+
margin-left: var(--_close-ml, auto);
|
|
2505
|
+
margin-right: var(--_close-mr, 0);
|
|
2506
|
+
}
|
|
2507
|
+
|
|
2508
|
+
[dir="rtl"] .mantine-HTNzGUo {
|
|
2509
|
+
--_close-ml: 0;
|
|
2510
|
+
--_close-mr: auto;
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2513
|
+
.mantine-YGR5-68 {
|
|
2514
|
+
padding: var(--mb-padding);
|
|
2515
|
+
padding-top: var(--_pt, var(--mb-padding));
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
.mantine-YGR5-68:not(:only-child) {
|
|
2519
|
+
--_pt: 0;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
.mantine-lqpFSmK {
|
|
2523
|
+
outline: 0;
|
|
2524
|
+
-webkit-tap-highlight-color: transparent;
|
|
2525
|
+
display: block;
|
|
2526
|
+
touch-action: manipulation;
|
|
2527
|
+
text-decoration: none;
|
|
2528
|
+
border-radius: var(--paper-radius);
|
|
2529
|
+
box-shadow: var(--paper-shadow);
|
|
2530
|
+
background-color: var(--mantine-color-body);
|
|
2531
|
+
border: var(--_paper-border-width, 0) solid var(--_paper-border-color, transparent);
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
.mantine-lqpFSmK[data-with-border] {
|
|
2535
|
+
--_paper-border-width: 1px;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
[data-mantine-color-scheme='light'] .mantine-lqpFSmK[data-with-border] {
|
|
2539
|
+
--_paper-border-color: var(--mantine-color-gray-3);
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
[data-mantine-color-scheme='dark'] .mantine-lqpFSmK[data-with-border] {
|
|
2543
|
+
--_paper-border-color: var(--mantine-color-dark-4);
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
.mantine-aUY-pnb {
|
|
2547
|
+
inset: 0;
|
|
2548
|
+
position: var(--_overlay-position, absolute);
|
|
2549
|
+
background: var(--overlay-bg);
|
|
2550
|
+
backdrop-filter: var(--overlay-filter);
|
|
2551
|
+
border-radius: var(--overlay-radius);
|
|
2552
|
+
z-index: var(--overlay-z-index);
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
.mantine-aUY-pnb[data-fixed] {
|
|
2556
|
+
--_overlay-position: fixed;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
.mantine-aUY-pnb[data-center] {
|
|
2560
|
+
display: flex;
|
|
2561
|
+
align-items: center;
|
|
2562
|
+
justify-content: center;
|
|
2563
|
+
}
|
|
2564
|
+
|
|
2565
|
+
.mantine-5KeVJJi {
|
|
2566
|
+
--drawer-size-xs: calc(20rem * var(--mantine-scale));
|
|
2567
|
+
--drawer-size-sm: calc(23.75rem * var(--mantine-scale));
|
|
2568
|
+
--drawer-size-md: calc(27.5rem * var(--mantine-scale));
|
|
2569
|
+
--drawer-size-lg: calc(38.75rem * var(--mantine-scale));
|
|
2570
|
+
--drawer-size-xl: calc(48.75rem * var(--mantine-scale));
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
.mantine--zh-iwI {
|
|
2574
|
+
z-index: 1000;
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
.mantine-LP0gMBl {
|
|
2578
|
+
--paper-radius: 0 !important;
|
|
2579
|
+
flex: var(--drawer-flex);
|
|
2580
|
+
height: var(--drawer-height);
|
|
2581
|
+
max-width: 100%;
|
|
2582
|
+
max-height: 100%;
|
|
2583
|
+
border-radius: 0;
|
|
2584
|
+
overflow-y: auto;
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
.mantine-KKTsYnZ {
|
|
2588
|
+
display: flex;
|
|
2589
|
+
justify-content: var(--drawer-justify);
|
|
2590
|
+
align-items: var(--drawer-align);
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2311
2593
|
.mantine-aYUA2uh {
|
|
2312
2594
|
padding: var(--mantine-spacing-lg);
|
|
2313
2595
|
padding-top: var(--mantine-spacing-xs);
|
|
@@ -2375,17 +2657,15 @@ body {
|
|
|
2375
2657
|
|
|
2376
2658
|
.mantine--7TY0Qe {
|
|
2377
2659
|
background-color: var(--_mark-bg);
|
|
2378
|
-
color: var(--
|
|
2660
|
+
color: var(--mantine-color-black);
|
|
2379
2661
|
}
|
|
2380
2662
|
|
|
2381
2663
|
[data-mantine-color-scheme='light'] .mantine--7TY0Qe {
|
|
2382
2664
|
--_mark-bg: var(--mark-bg-light);
|
|
2383
|
-
--_mark-color: inherit;
|
|
2384
2665
|
}
|
|
2385
2666
|
|
|
2386
2667
|
[data-mantine-color-scheme='dark'] .mantine--7TY0Qe {
|
|
2387
2668
|
--_mark-bg: var(--mark-bg-dark);
|
|
2388
|
-
--_mark-color: var(--mantine-color-dark-9);
|
|
2389
2669
|
}
|
|
2390
2670
|
|
|
2391
2671
|
.mantine-w2QLGBV {
|
|
@@ -2425,108 +2705,6 @@ body {
|
|
|
2425
2705
|
--_kbd-bg: var(--mantine-color-dark-5);
|
|
2426
2706
|
}
|
|
2427
2707
|
|
|
2428
|
-
.mantine-i2zl3YF {
|
|
2429
|
-
line-height: 1;
|
|
2430
|
-
padding: 0;
|
|
2431
|
-
margin: 0;
|
|
2432
|
-
font-weight: 400;
|
|
2433
|
-
font-size: var(--mantine-font-size-md);
|
|
2434
|
-
}
|
|
2435
|
-
|
|
2436
|
-
.mantine-zfPHD3v {
|
|
2437
|
-
display: flex;
|
|
2438
|
-
justify-content: space-between;
|
|
2439
|
-
align-items: center;
|
|
2440
|
-
padding: var(--mb-padding);
|
|
2441
|
-
padding-right: var(--_pr, calc(var(--mb-padding) - calc(0.3125rem * var(--mantine-scale))));
|
|
2442
|
-
padding-left: var(--_pl, var(--mb-padding));
|
|
2443
|
-
position: sticky;
|
|
2444
|
-
top: 0;
|
|
2445
|
-
background-color: var(--mantine-color-body);
|
|
2446
|
-
z-index: 1000;
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
[dir="rtl"] .mantine-zfPHD3v {
|
|
2450
|
-
--_pr: var(--mb-padding);
|
|
2451
|
-
--_pl: calc(var(--mb-padding) - calc(0.3125rem * var(--mantine-scale)));
|
|
2452
|
-
}
|
|
2453
|
-
|
|
2454
|
-
.mantine-4xc51-t {
|
|
2455
|
-
position: fixed;
|
|
2456
|
-
width: 100%;
|
|
2457
|
-
top: 0;
|
|
2458
|
-
bottom: 0;
|
|
2459
|
-
z-index: calc(var(--mb-z-index) + 1);
|
|
2460
|
-
pointer-events: none;
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
.mantine-z46xbr2 {
|
|
2464
|
-
pointer-events: all;
|
|
2465
|
-
box-shadow: var(--mb-shadow);
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
.mantine-HTNzGUo {
|
|
2469
|
-
margin-left: var(--_close-ml, auto);
|
|
2470
|
-
margin-right: var(--_close-mr, 0);
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
|
-
[dir="rtl"] .mantine-HTNzGUo {
|
|
2474
|
-
--_close-ml: 0;
|
|
2475
|
-
--_close-mr: auto;
|
|
2476
|
-
}
|
|
2477
|
-
|
|
2478
|
-
.mantine-YGR5-68 {
|
|
2479
|
-
padding: var(--mb-padding);
|
|
2480
|
-
padding-top: var(--_pt, var(--mb-padding));
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
.mantine-YGR5-68:not(:only-child) {
|
|
2484
|
-
--_pt: 0;
|
|
2485
|
-
}
|
|
2486
|
-
|
|
2487
|
-
.mantine-lqpFSmK {
|
|
2488
|
-
outline: 0;
|
|
2489
|
-
-webkit-tap-highlight-color: transparent;
|
|
2490
|
-
display: block;
|
|
2491
|
-
touch-action: manipulation;
|
|
2492
|
-
text-decoration: none;
|
|
2493
|
-
border-radius: var(--paper-radius);
|
|
2494
|
-
box-shadow: var(--paper-shadow);
|
|
2495
|
-
background-color: var(--mantine-color-body);
|
|
2496
|
-
border: var(--_paper-border-width, 0) solid var(--_paper-border-color, transparent);
|
|
2497
|
-
}
|
|
2498
|
-
|
|
2499
|
-
.mantine-lqpFSmK[data-with-border] {
|
|
2500
|
-
--_paper-border-width: 1px;
|
|
2501
|
-
}
|
|
2502
|
-
|
|
2503
|
-
[data-mantine-color-scheme='light'] .mantine-lqpFSmK[data-with-border] {
|
|
2504
|
-
--_paper-border-color: var(--mantine-color-gray-3);
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
[data-mantine-color-scheme='dark'] .mantine-lqpFSmK[data-with-border] {
|
|
2508
|
-
--_paper-border-color: var(--mantine-color-dark-4);
|
|
2509
|
-
}
|
|
2510
|
-
|
|
2511
|
-
.mantine-aUY-pnb {
|
|
2512
|
-
inset: 0;
|
|
2513
|
-
position: var(--_overlay-position, absolute);
|
|
2514
|
-
background: var(--overlay-bg);
|
|
2515
|
-
backdrop-filter: var(--overlay-filter);
|
|
2516
|
-
border-radius: var(--overlay-radius);
|
|
2517
|
-
z-index: var(--overlay-z-index);
|
|
2518
|
-
}
|
|
2519
|
-
|
|
2520
|
-
.mantine-aUY-pnb[data-fixed] {
|
|
2521
|
-
--_overlay-position: fixed;
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
|
-
.mantine-aUY-pnb[data-center] {
|
|
2525
|
-
display: flex;
|
|
2526
|
-
align-items: center;
|
|
2527
|
-
justify-content: center;
|
|
2528
|
-
}
|
|
2529
|
-
|
|
2530
2708
|
.mantine-rDD4RW2 {
|
|
2531
2709
|
--modal-size-xs: calc(20rem * var(--mantine-scale));
|
|
2532
2710
|
--modal-size-sm: calc(23.75rem * var(--mantine-scale));
|
|
@@ -2577,30 +2755,6 @@ body {
|
|
|
2577
2755
|
padding-right: var(--_inner-x-offset, var(--modal-x-offset));
|
|
2578
2756
|
}
|
|
2579
2757
|
|
|
2580
|
-
.mantine--1TgA5h {
|
|
2581
|
-
--combobox-chevron-size-xs: calc(0.875rem * var(--mantine-scale));
|
|
2582
|
-
--combobox-chevron-size-sm: calc(1.125rem * var(--mantine-scale));
|
|
2583
|
-
--combobox-chevron-size-md: calc(1.25rem * var(--mantine-scale));
|
|
2584
|
-
--combobox-chevron-size-lg: calc(1.5rem * var(--mantine-scale));
|
|
2585
|
-
--combobox-chevron-size-xl: calc(1.75rem * var(--mantine-scale));
|
|
2586
|
-
|
|
2587
|
-
width: var(--combobox-chevron-size);
|
|
2588
|
-
height: var(--combobox-chevron-size);
|
|
2589
|
-
color: var(--_color);
|
|
2590
|
-
}
|
|
2591
|
-
|
|
2592
|
-
[data-mantine-color-scheme='light'] .mantine--1TgA5h {
|
|
2593
|
-
--_color: var(--mantine-color-gray-6);
|
|
2594
|
-
}
|
|
2595
|
-
|
|
2596
|
-
[data-mantine-color-scheme='dark'] .mantine--1TgA5h {
|
|
2597
|
-
--_color: var(--mantine-color-dark-3);
|
|
2598
|
-
}
|
|
2599
|
-
|
|
2600
|
-
.mantine--1TgA5h[data-error] {
|
|
2601
|
-
--_color: var(--mantine-color-error);
|
|
2602
|
-
}
|
|
2603
|
-
|
|
2604
2758
|
.mantine-YiPmNPd {
|
|
2605
2759
|
overflow: hidden;
|
|
2606
2760
|
box-sizing: border-box;
|
|
@@ -2757,35 +2911,6 @@ body {
|
|
|
2757
2911
|
--_close-button-hover-bg: var(--mantine-color-dark-8);
|
|
2758
2912
|
}
|
|
2759
2913
|
|
|
2760
|
-
.mantine-Hu7S-XH {
|
|
2761
|
-
position: absolute;
|
|
2762
|
-
background-color: var(--_popover-bg);
|
|
2763
|
-
border: calc(0.0625rem * var(--mantine-scale)) solid var(--_popover-bd);
|
|
2764
|
-
padding: var(--mantine-spacing-sm) var(--mantine-spacing-md);
|
|
2765
|
-
box-shadow: var(--popover-shadow, none);
|
|
2766
|
-
border-radius: var(--popover-radius);
|
|
2767
|
-
}
|
|
2768
|
-
|
|
2769
|
-
.mantine-Hu7S-XH:focus {
|
|
2770
|
-
outline: none;
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
[data-mantine-color-scheme='light'] .mantine-Hu7S-XH {
|
|
2774
|
-
--_popover-bg: var(--mantine-color-white);
|
|
2775
|
-
--_popover-bd: var(--mantine-color-gray-2);
|
|
2776
|
-
}
|
|
2777
|
-
|
|
2778
|
-
[data-mantine-color-scheme='dark'] .mantine-Hu7S-XH {
|
|
2779
|
-
--_popover-bg: var(--mantine-color-dark-6);
|
|
2780
|
-
--_popover-bd: var(--mantine-color-dark-4);
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
|
-
.mantine-XLi9Yuw {
|
|
2784
|
-
background-color: inherit;
|
|
2785
|
-
border: calc(0.0625rem * var(--mantine-scale)) solid var(--_popover-bd);
|
|
2786
|
-
z-index: 1;
|
|
2787
|
-
}
|
|
2788
|
-
|
|
2789
2914
|
.mantine--CW641A {
|
|
2790
2915
|
position: relative;
|
|
2791
2916
|
overflow: hidden;
|
package/cjs/index.js
CHANGED
|
@@ -21,6 +21,8 @@ var closeOnEscape = require('./core/utils/close-on-escape/close-on-escape.js');
|
|
|
21
21
|
var noop = require('./core/utils/noop/noop.js');
|
|
22
22
|
var getSize = require('./core/utils/get-size/get-size.js');
|
|
23
23
|
var createVarsResolver = require('./core/styles-api/create-vars-resolver/create-vars-resolver.js');
|
|
24
|
+
var resolveClassNames = require('./core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.js');
|
|
25
|
+
var resolveStyles = require('./core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js');
|
|
24
26
|
var getGlobalClassNames = require('./core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.js');
|
|
25
27
|
var useStyles = require('./core/styles-api/use-styles/use-styles.js');
|
|
26
28
|
var defaultTheme = require('./core/MantineProvider/default-theme.js');
|
|
@@ -86,9 +88,29 @@ var Code = require('./components/Code/Code.js');
|
|
|
86
88
|
var Collapse = require('./components/Collapse/Collapse.js');
|
|
87
89
|
var ColorPicker = require('./components/ColorPicker/ColorPicker.js');
|
|
88
90
|
var ColorSwatch = require('./components/ColorSwatch/ColorSwatch.js');
|
|
91
|
+
var getParsedComboboxData = require('./components/Combobox/get-parsed-combobox-data/get-parsed-combobox-data.js');
|
|
92
|
+
var ComboboxChevron = require('./components/Combobox/ComboboxChevron/ComboboxChevron.js');
|
|
93
|
+
var Combobox = require('./components/Combobox/Combobox.js');
|
|
94
|
+
var ComboboxDropdown = require('./components/Combobox/ComboboxDropdown/ComboboxDropdown.js');
|
|
95
|
+
var ComboboxOptions = require('./components/Combobox/ComboboxOptions/ComboboxOptions.js');
|
|
96
|
+
var ComboboxOption = require('./components/Combobox/ComboboxOption/ComboboxOption.js');
|
|
97
|
+
var ComboboxTarget = require('./components/Combobox/ComboboxTarget/ComboboxTarget.js');
|
|
98
|
+
var ComboboxSearch = require('./components/Combobox/ComboboxSearch/ComboboxSearch.js');
|
|
99
|
+
var ComboboxEmpty = require('./components/Combobox/ComboboxEmpty/ComboboxEmpty.js');
|
|
100
|
+
var useCombobox = require('./components/Combobox/use-combobox/use-combobox.js');
|
|
101
|
+
var useVirtualizedCombobox = require('./components/Combobox/use-combobox/use-virtualized-combobox.js');
|
|
102
|
+
var useComboboxTargetProps = require('./components/Combobox/use-combobox-target-props/use-combobox-target-props.js');
|
|
89
103
|
var Container = require('./components/Container/Container.js');
|
|
90
104
|
var CopyButton = require('./components/CopyButton/CopyButton.js');
|
|
91
105
|
var Divider = require('./components/Divider/Divider.js');
|
|
106
|
+
var Drawer = require('./components/Drawer/Drawer.js');
|
|
107
|
+
var DrawerRoot = require('./components/Drawer/DrawerRoot.js');
|
|
108
|
+
var DrawerBody = require('./components/Drawer/DrawerBody.js');
|
|
109
|
+
var DrawerCloseButton = require('./components/Drawer/DrawerCloseButton.js');
|
|
110
|
+
var DrawerContent = require('./components/Drawer/DrawerContent.js');
|
|
111
|
+
var DrawerHeader = require('./components/Drawer/DrawerHeader.js');
|
|
112
|
+
var DrawerOverlay = require('./components/Drawer/DrawerOverlay.js');
|
|
113
|
+
var DrawerTitle = require('./components/Drawer/DrawerTitle.js');
|
|
92
114
|
var Fieldset = require('./components/Fieldset/Fieldset.js');
|
|
93
115
|
var FileButton = require('./components/FileButton/FileButton.js');
|
|
94
116
|
var useDelayedHover = require('./components/Floating/use-delayed-hover.js');
|
|
@@ -186,6 +208,8 @@ exports.getShadow = getSize.getShadow;
|
|
|
186
208
|
exports.getSize = getSize.getSize;
|
|
187
209
|
exports.getSpacing = getSize.getSpacing;
|
|
188
210
|
exports.createVarsResolver = createVarsResolver.createVarsResolver;
|
|
211
|
+
exports.resolveClassNames = resolveClassNames.resolveClassNames;
|
|
212
|
+
exports.resolveStyles = resolveStyles.resolveStyles;
|
|
189
213
|
exports.FOCUS_CLASS_NAMES = getGlobalClassNames.FOCUS_CLASS_NAMES;
|
|
190
214
|
exports.useStyles = useStyles.useStyles;
|
|
191
215
|
exports.DEFAULT_THEME = defaultTheme.DEFAULT_THEME;
|
|
@@ -261,9 +285,29 @@ exports.Code = Code.Code;
|
|
|
261
285
|
exports.Collapse = Collapse.Collapse;
|
|
262
286
|
exports.ColorPicker = ColorPicker.ColorPicker;
|
|
263
287
|
exports.ColorSwatch = ColorSwatch.ColorSwatch;
|
|
288
|
+
exports.getParsedComboboxData = getParsedComboboxData.getParsedComboboxData;
|
|
289
|
+
exports.ComboboxChevron = ComboboxChevron.ComboboxChevron;
|
|
290
|
+
exports.Combobox = Combobox.Combobox;
|
|
291
|
+
exports.ComboboxDropdown = ComboboxDropdown.ComboboxDropdown;
|
|
292
|
+
exports.ComboboxOptions = ComboboxOptions.ComboboxOptions;
|
|
293
|
+
exports.ComboboxOption = ComboboxOption.ComboboxOption;
|
|
294
|
+
exports.ComboboxTarget = ComboboxTarget.ComboboxTarget;
|
|
295
|
+
exports.ComboboxSearch = ComboboxSearch.ComboboxSearch;
|
|
296
|
+
exports.ComboboxEmpty = ComboboxEmpty.ComboboxEmpty;
|
|
297
|
+
exports.useCombobox = useCombobox.useCombobox;
|
|
298
|
+
exports.useVirtualizedCombobox = useVirtualizedCombobox.useVirtualizedCombobox;
|
|
299
|
+
exports.useComboboxTargetProps = useComboboxTargetProps.useComboboxTargetProps;
|
|
264
300
|
exports.Container = Container.Container;
|
|
265
301
|
exports.CopyButton = CopyButton.CopyButton;
|
|
266
302
|
exports.Divider = Divider.Divider;
|
|
303
|
+
exports.Drawer = Drawer.Drawer;
|
|
304
|
+
exports.DrawerRoot = DrawerRoot.DrawerRoot;
|
|
305
|
+
exports.DrawerBody = DrawerBody.DrawerBody;
|
|
306
|
+
exports.DrawerCloseButton = DrawerCloseButton.DrawerCloseButton;
|
|
307
|
+
exports.DrawerContent = DrawerContent.DrawerContent;
|
|
308
|
+
exports.DrawerHeader = DrawerHeader.DrawerHeader;
|
|
309
|
+
exports.DrawerOverlay = DrawerOverlay.DrawerOverlay;
|
|
310
|
+
exports.DrawerTitle = DrawerTitle.DrawerTitle;
|
|
267
311
|
exports.Fieldset = Fieldset.Fieldset;
|
|
268
312
|
exports.FileButton = FileButton.FileButton;
|
|
269
313
|
exports.useDelayedHover = useDelayedHover.useDelayedHover;
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createSafeContext } from '../../core/utils/create-safe-context/create-safe-context.js';
|
|
2
|
+
|
|
3
|
+
const [ComboboxProvider, useComboboxContext] = createSafeContext(
|
|
4
|
+
"Combobox component was not found in tree"
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
export { ComboboxProvider, useComboboxContext };
|
|
8
|
+
//# sourceMappingURL=Combobox.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Combobox.context.js","sources":["../../../src/components/Combobox/Combobox.context.ts"],"sourcesContent":["import { createSafeContext, GetStylesApi, MantineSize } from '../../core';\nimport type { ComboboxFactory } from './Combobox';\nimport type { ComboboxOptionProps } from './ComboboxOption/ComboboxOption';\nimport type { ComboboxStore } from './use-combobox/use-combobox';\n\nexport interface ComboboxContextValue {\n getStyles: GetStylesApi<ComboboxFactory>;\n store: ComboboxStore;\n onOptionSelect?(value: string, optionProps: ComboboxOptionProps): void;\n size: MantineSize | (string & {});\n resetSelectionOnOptionHover: boolean | undefined;\n}\n\nexport const [ComboboxProvider, useComboboxContext] = createSafeContext<ComboboxContextValue>(\n 'Combobox component was not found in tree'\n);\n"],"names":[],"mappings":";;AACY,MAAC,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,GAAG,iBAAiB;AACvE,EAAE,0CAA0C;AAC5C;;;;"}
|