@inventreedb/ui 0.2.2 → 0.2.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/dist/.vite/manifest.json +1 -546
- package/dist/enums/ApiEndpoints.d.ts +1 -0
- package/dist/enums/ApiEndpoints.js +1 -0
- package/dist/enums/ApiEndpoints.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/types/Forms.d.ts +1 -1
- package/dist/types/Plugins.d.ts +3 -0
- package/dist/types/Plugins.js +1 -1
- package/dist/types/Plugins.js.map +1 -1
- package/lib/enums/ApiEndpoints.tsx +1 -0
- package/lib/index.ts +1 -3
- package/lib/types/Forms.tsx +1 -0
- package/lib/types/Plugins.tsx +3 -0
- package/package.json +2 -2
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/_virtual/jsx-runtime2.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/components/InvenTreeStylishText.d.ts +0 -13
- package/dist/components/InvenTreeStylishText.js +0 -39
- package/dist/components/InvenTreeStylishText.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.js +0 -94
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.js +0 -6
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js +0 -2
- package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/Box.js +0 -83
- package/dist/node_modules/@mantine/core/esm/core/Box/Box.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.js +0 -33
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.js +0 -29
- package/dist/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.js +0 -123
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.js +0 -88
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.js +0 -21
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.js +0 -25
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.js +0 -23
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.js +0 -23
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.js +0 -21
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.js +0 -55
- package/dist/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.js +0 -9
- package/dist/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.js +0 -19
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/Mantine.context.js +0 -40
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/Mantine.context.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.js +0 -9
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.js +0 -32
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.js +0 -78
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.js +0 -116
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/factory/factory.js +0 -9
- package/dist/node_modules/@mantine/core/esm/core/factory/factory.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.js +0 -18
- package/dist/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.js +0 -48
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.js +0 -19
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.js +0 -14
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.js +0 -15
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-theme-class-names/get-theme-class-names.js +0 -24
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-theme-class-names/get-theme-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.js +0 -12
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.js +0 -26
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.js +0 -32
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.js +0 -24
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.js +0 -19
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js +0 -13
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.js +0 -17
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/resolve-vars.js +0 -25
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/resolve-vars.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.js +0 -70
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.js +0 -34
- package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.js +0 -12
- package/dist/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/get-size/get-size.js +0 -20
- package/dist/node_modules/@mantine/core/esm/core/utils/get-size/get-size.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.js +0 -18
- package/dist/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/keys/keys.js +0 -7
- package/dist/node_modules/@mantine/core/esm/core/utils/keys/keys.js.map +0 -1
- package/dist/node_modules/@mantine/core/esm/core/utils/units-converters/rem.js +0 -47
- package/dist/node_modules/@mantine/core/esm/core/utils/units-converters/rem.js.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.js +0 -18
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -891
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -34
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -18
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
- package/lib/components/InvenTreeStylishText.tsx +0 -55
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
function transformModKey(key) {
|
|
2
|
-
return key.startsWith("data-") ? key : `data-${key}`;
|
|
3
|
-
}
|
|
4
|
-
function getMod(props) {
|
|
5
|
-
return Object.keys(props).reduce((acc, key) => {
|
|
6
|
-
const value = props[key];
|
|
7
|
-
if (value === void 0 || value === "" || value === false || value === null) {
|
|
8
|
-
return acc;
|
|
9
|
-
}
|
|
10
|
-
acc[transformModKey(key)] = props[key];
|
|
11
|
-
return acc;
|
|
12
|
-
}, {});
|
|
13
|
-
}
|
|
14
|
-
function getBoxMod(mod) {
|
|
15
|
-
if (!mod) {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
if (typeof mod === "string") {
|
|
19
|
-
return { [transformModKey(mod)]: true };
|
|
20
|
-
}
|
|
21
|
-
if (Array.isArray(mod)) {
|
|
22
|
-
return [...mod].reduce(
|
|
23
|
-
(acc, value) => ({ ...acc, ...getBoxMod(value) }),
|
|
24
|
-
{}
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
return getMod(mod);
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
getBoxMod,
|
|
31
|
-
getMod
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=get-box-mod.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-box-mod.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.mjs"],"sourcesContent":["'use client';\nfunction transformModKey(key) {\n return key.startsWith(\"data-\") ? key : `data-${key}`;\n}\nfunction getMod(props) {\n return Object.keys(props).reduce((acc, key) => {\n const value = props[key];\n if (value === void 0 || value === \"\" || value === false || value === null) {\n return acc;\n }\n acc[transformModKey(key)] = props[key];\n return acc;\n }, {});\n}\nfunction getBoxMod(mod) {\n if (!mod) {\n return null;\n }\n if (typeof mod === \"string\") {\n return { [transformModKey(mod)]: true };\n }\n if (Array.isArray(mod)) {\n return [...mod].reduce(\n (acc, value) => ({ ...acc, ...getBoxMod(value) }),\n {}\n );\n }\n return getMod(mod);\n}\n\nexport { getBoxMod, getMod };\n//# sourceMappingURL=get-box-mod.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,gBAAgB,KAAK;AAC5B,SAAO,IAAI,WAAW,OAAO,IAAI,MAAM,QAAQ,GAAG;AACpD;AACA,SAAS,OAAO,OAAO;AACrB,SAAO,OAAO,KAAK,KAAK,EAAE,OAAO,CAAC,KAAK,QAAQ;AAC7C,UAAM,QAAQ,MAAM,GAAG;AACvB,QAAI,UAAU,UAAU,UAAU,MAAM,UAAU,SAAS,UAAU,MAAM;AACzE,aAAO;AAAA,IACb;AACI,QAAI,gBAAgB,GAAG,CAAC,IAAI,MAAM,GAAG;AACrC,WAAO;AAAA,EACR,GAAE,EAAE;AACP;AACA,SAAS,UAAU,KAAK;AACtB,MAAI,CAAC,KAAK;AACR,WAAO;AAAA,EACX;AACE,MAAI,OAAO,QAAQ,UAAU;AAC3B,WAAO,EAAE,CAAC,gBAAgB,GAAG,CAAC,GAAG,KAAM;AAAA,EAC3C;AACE,MAAI,MAAM,QAAQ,GAAG,GAAG;AACtB,WAAO,CAAC,GAAG,GAAG,EAAE;AAAA,MACd,CAAC,KAAK,WAAW,EAAE,GAAG,KAAK,GAAG,UAAU,KAAK;MAC7C,CAAA;AAAA,IACD;AAAA,EACL;AACE,SAAO,OAAO,GAAG;AACnB;","x_google_ignoreList":[0]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
function mergeStyles(styles, theme) {
|
|
2
|
-
if (Array.isArray(styles)) {
|
|
3
|
-
return [...styles].reduce(
|
|
4
|
-
(acc, item) => ({ ...acc, ...mergeStyles(item, theme) }),
|
|
5
|
-
{}
|
|
6
|
-
);
|
|
7
|
-
}
|
|
8
|
-
if (typeof styles === "function") {
|
|
9
|
-
return styles(theme);
|
|
10
|
-
}
|
|
11
|
-
if (styles == null) {
|
|
12
|
-
return {};
|
|
13
|
-
}
|
|
14
|
-
return styles;
|
|
15
|
-
}
|
|
16
|
-
function getBoxStyle({
|
|
17
|
-
theme,
|
|
18
|
-
style,
|
|
19
|
-
vars,
|
|
20
|
-
styleProps
|
|
21
|
-
}) {
|
|
22
|
-
const _style = mergeStyles(style, theme);
|
|
23
|
-
const _vars = mergeStyles(vars, theme);
|
|
24
|
-
return { ..._style, ..._vars, ...styleProps };
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
getBoxStyle
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=get-box-style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-box-style.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.mjs"],"sourcesContent":["'use client';\nfunction mergeStyles(styles, theme) {\n if (Array.isArray(styles)) {\n return [...styles].reduce(\n (acc, item) => ({ ...acc, ...mergeStyles(item, theme) }),\n {}\n );\n }\n if (typeof styles === \"function\") {\n return styles(theme);\n }\n if (styles == null) {\n return {};\n }\n return styles;\n}\nfunction getBoxStyle({\n theme,\n style,\n vars,\n styleProps\n}) {\n const _style = mergeStyles(style, theme);\n const _vars = mergeStyles(vars, theme);\n return { ..._style, ..._vars, ...styleProps };\n}\n\nexport { getBoxStyle };\n//# sourceMappingURL=get-box-style.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,YAAY,QAAQ,OAAO;AAClC,MAAI,MAAM,QAAQ,MAAM,GAAG;AACzB,WAAO,CAAC,GAAG,MAAM,EAAE;AAAA,MACjB,CAAC,KAAK,UAAU,EAAE,GAAG,KAAK,GAAG,YAAY,MAAM,KAAK;MACpD,CAAA;AAAA,IACD;AAAA,EACL;AACE,MAAI,OAAO,WAAW,YAAY;AAChC,WAAO,OAAO,KAAK;AAAA,EACvB;AACE,MAAI,UAAU,MAAM;AAClB,WAAO,CAAE;AAAA,EACb;AACE,SAAO;AACT;AACA,SAAS,YAAY;AAAA,EACnB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,QAAM,SAAS,YAAY,OAAO,KAAK;AACvC,QAAM,QAAQ,YAAY,MAAM,KAAK;AACrC,SAAO,EAAE,GAAG,QAAQ,GAAG,OAAO,GAAG,WAAY;AAC/C;","x_google_ignoreList":[0]}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { filterProps } from "../../../utils/filter-props/filter-props.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../../../../../../_virtual/jsx-runtime.js";
|
|
4
|
-
function extractStyleProps(others) {
|
|
5
|
-
const {
|
|
6
|
-
m,
|
|
7
|
-
mx,
|
|
8
|
-
my,
|
|
9
|
-
mt,
|
|
10
|
-
mb,
|
|
11
|
-
ml,
|
|
12
|
-
mr,
|
|
13
|
-
me,
|
|
14
|
-
ms,
|
|
15
|
-
p,
|
|
16
|
-
px,
|
|
17
|
-
py,
|
|
18
|
-
pt,
|
|
19
|
-
pb,
|
|
20
|
-
pl,
|
|
21
|
-
pr,
|
|
22
|
-
pe,
|
|
23
|
-
ps,
|
|
24
|
-
bd,
|
|
25
|
-
bg,
|
|
26
|
-
c,
|
|
27
|
-
opacity,
|
|
28
|
-
ff,
|
|
29
|
-
fz,
|
|
30
|
-
fw,
|
|
31
|
-
lts,
|
|
32
|
-
ta,
|
|
33
|
-
lh,
|
|
34
|
-
fs,
|
|
35
|
-
tt,
|
|
36
|
-
td,
|
|
37
|
-
w,
|
|
38
|
-
miw,
|
|
39
|
-
maw,
|
|
40
|
-
h,
|
|
41
|
-
mih,
|
|
42
|
-
mah,
|
|
43
|
-
bgsz,
|
|
44
|
-
bgp,
|
|
45
|
-
bgr,
|
|
46
|
-
bga,
|
|
47
|
-
pos,
|
|
48
|
-
top,
|
|
49
|
-
left,
|
|
50
|
-
bottom,
|
|
51
|
-
right,
|
|
52
|
-
inset,
|
|
53
|
-
display,
|
|
54
|
-
flex,
|
|
55
|
-
hiddenFrom,
|
|
56
|
-
visibleFrom,
|
|
57
|
-
lightHidden,
|
|
58
|
-
darkHidden,
|
|
59
|
-
sx,
|
|
60
|
-
...rest
|
|
61
|
-
} = others;
|
|
62
|
-
const styleProps = filterProps({
|
|
63
|
-
m,
|
|
64
|
-
mx,
|
|
65
|
-
my,
|
|
66
|
-
mt,
|
|
67
|
-
mb,
|
|
68
|
-
ml,
|
|
69
|
-
mr,
|
|
70
|
-
me,
|
|
71
|
-
ms,
|
|
72
|
-
p,
|
|
73
|
-
px,
|
|
74
|
-
py,
|
|
75
|
-
pt,
|
|
76
|
-
pb,
|
|
77
|
-
pl,
|
|
78
|
-
pr,
|
|
79
|
-
pe,
|
|
80
|
-
ps,
|
|
81
|
-
bd,
|
|
82
|
-
bg,
|
|
83
|
-
c,
|
|
84
|
-
opacity,
|
|
85
|
-
ff,
|
|
86
|
-
fz,
|
|
87
|
-
fw,
|
|
88
|
-
lts,
|
|
89
|
-
ta,
|
|
90
|
-
lh,
|
|
91
|
-
fs,
|
|
92
|
-
tt,
|
|
93
|
-
td,
|
|
94
|
-
w,
|
|
95
|
-
miw,
|
|
96
|
-
maw,
|
|
97
|
-
h,
|
|
98
|
-
mih,
|
|
99
|
-
mah,
|
|
100
|
-
bgsz,
|
|
101
|
-
bgp,
|
|
102
|
-
bgr,
|
|
103
|
-
bga,
|
|
104
|
-
pos,
|
|
105
|
-
top,
|
|
106
|
-
left,
|
|
107
|
-
bottom,
|
|
108
|
-
right,
|
|
109
|
-
inset,
|
|
110
|
-
display,
|
|
111
|
-
flex,
|
|
112
|
-
hiddenFrom,
|
|
113
|
-
visibleFrom,
|
|
114
|
-
lightHidden,
|
|
115
|
-
darkHidden,
|
|
116
|
-
sx
|
|
117
|
-
});
|
|
118
|
-
return { styleProps, rest };
|
|
119
|
-
}
|
|
120
|
-
export {
|
|
121
|
-
extractStyleProps
|
|
122
|
-
};
|
|
123
|
-
//# sourceMappingURL=extract-style-props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-style-props.js","sources":["../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.mjs"],"sourcesContent":["'use client';\nimport { filterProps } from '../../../utils/filter-props/filter-props.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\n\nfunction extractStyleProps(others) {\n const {\n m,\n mx,\n my,\n mt,\n mb,\n ml,\n mr,\n me,\n ms,\n p,\n px,\n py,\n pt,\n pb,\n pl,\n pr,\n pe,\n ps,\n bd,\n bg,\n c,\n opacity,\n ff,\n fz,\n fw,\n lts,\n ta,\n lh,\n fs,\n tt,\n td,\n w,\n miw,\n maw,\n h,\n mih,\n mah,\n bgsz,\n bgp,\n bgr,\n bga,\n pos,\n top,\n left,\n bottom,\n right,\n inset,\n display,\n flex,\n hiddenFrom,\n visibleFrom,\n lightHidden,\n darkHidden,\n sx,\n ...rest\n } = others;\n const styleProps = filterProps({\n m,\n mx,\n my,\n mt,\n mb,\n ml,\n mr,\n me,\n ms,\n p,\n px,\n py,\n pt,\n pb,\n pl,\n pr,\n pe,\n ps,\n bd,\n bg,\n c,\n opacity,\n ff,\n fz,\n fw,\n lts,\n ta,\n lh,\n fs,\n tt,\n td,\n w,\n miw,\n maw,\n h,\n mih,\n mah,\n bgsz,\n bgp,\n bgr,\n bga,\n pos,\n top,\n left,\n bottom,\n right,\n inset,\n display,\n flex,\n hiddenFrom,\n visibleFrom,\n lightHidden,\n darkHidden,\n sx\n });\n return { styleProps, rest };\n}\n\nexport { extractStyleProps };\n//# sourceMappingURL=extract-style-props.mjs.map\n"],"names":[],"mappings":";;;AAMA,SAAS,kBAAkB,QAAQ;AACjC,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACP,IAAM;AACJ,QAAM,aAAa,YAAY;AAAA,IAC7B;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ,CAAG;AACD,SAAO,EAAE,YAAY,KAAM;AAC7B;","x_google_ignoreList":[0]}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { keys } from "../../../utils/keys/keys.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../../../../../../_virtual/jsx-runtime.js";
|
|
4
|
-
import { resolvers } from "../resolvers/index.js";
|
|
5
|
-
import { sortMediaQueries } from "./sort-media-queries.js";
|
|
6
|
-
function hasResponsiveStyles(styleProp) {
|
|
7
|
-
if (typeof styleProp !== "object" || styleProp === null) {
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
const breakpoints = Object.keys(styleProp);
|
|
11
|
-
if (breakpoints.length === 1 && breakpoints[0] === "base") {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
return true;
|
|
15
|
-
}
|
|
16
|
-
function getBaseValue(value) {
|
|
17
|
-
if (typeof value === "object" && value !== null) {
|
|
18
|
-
if ("base" in value) {
|
|
19
|
-
return value.base;
|
|
20
|
-
}
|
|
21
|
-
return void 0;
|
|
22
|
-
}
|
|
23
|
-
return value;
|
|
24
|
-
}
|
|
25
|
-
function getBreakpointKeys(value) {
|
|
26
|
-
if (typeof value === "object" && value !== null) {
|
|
27
|
-
return keys(value).filter((key) => key !== "base");
|
|
28
|
-
}
|
|
29
|
-
return [];
|
|
30
|
-
}
|
|
31
|
-
function getBreakpointValue(value, breakpoint) {
|
|
32
|
-
if (typeof value === "object" && value !== null && breakpoint in value) {
|
|
33
|
-
return value[breakpoint];
|
|
34
|
-
}
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
function parseStyleProps({
|
|
38
|
-
styleProps,
|
|
39
|
-
data,
|
|
40
|
-
theme
|
|
41
|
-
}) {
|
|
42
|
-
return sortMediaQueries(
|
|
43
|
-
keys(styleProps).reduce(
|
|
44
|
-
(acc, styleProp) => {
|
|
45
|
-
if (styleProp === "hiddenFrom" || styleProp === "visibleFrom" || styleProp === "sx") {
|
|
46
|
-
return acc;
|
|
47
|
-
}
|
|
48
|
-
const propertyData = data[styleProp];
|
|
49
|
-
const properties = Array.isArray(propertyData.property) ? propertyData.property : [propertyData.property];
|
|
50
|
-
const baseValue = getBaseValue(styleProps[styleProp]);
|
|
51
|
-
if (!hasResponsiveStyles(styleProps[styleProp])) {
|
|
52
|
-
properties.forEach((property) => {
|
|
53
|
-
acc.inlineStyles[property] = resolvers[propertyData.type](baseValue, theme);
|
|
54
|
-
});
|
|
55
|
-
return acc;
|
|
56
|
-
}
|
|
57
|
-
acc.hasResponsiveStyles = true;
|
|
58
|
-
const breakpoints = getBreakpointKeys(styleProps[styleProp]);
|
|
59
|
-
properties.forEach((property) => {
|
|
60
|
-
if (baseValue) {
|
|
61
|
-
acc.styles[property] = resolvers[propertyData.type](baseValue, theme);
|
|
62
|
-
}
|
|
63
|
-
breakpoints.forEach((breakpoint) => {
|
|
64
|
-
const bp = `(min-width: ${theme.breakpoints[breakpoint]})`;
|
|
65
|
-
acc.media[bp] = {
|
|
66
|
-
...acc.media[bp],
|
|
67
|
-
[property]: resolvers[propertyData.type](
|
|
68
|
-
getBreakpointValue(styleProps[styleProp], breakpoint),
|
|
69
|
-
theme
|
|
70
|
-
)
|
|
71
|
-
};
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
return acc;
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
hasResponsiveStyles: false,
|
|
78
|
-
styles: {},
|
|
79
|
-
inlineStyles: {},
|
|
80
|
-
media: {}
|
|
81
|
-
}
|
|
82
|
-
)
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
export {
|
|
86
|
-
parseStyleProps
|
|
87
|
-
};
|
|
88
|
-
//# sourceMappingURL=parse-style-props.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parse-style-props.js","sources":["../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.mjs"],"sourcesContent":["'use client';\nimport { keys } from '../../../utils/keys/keys.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport { resolvers } from '../resolvers/index.mjs';\nimport { sortMediaQueries } from './sort-media-queries.mjs';\n\nfunction hasResponsiveStyles(styleProp) {\n if (typeof styleProp !== \"object\" || styleProp === null) {\n return false;\n }\n const breakpoints = Object.keys(styleProp);\n if (breakpoints.length === 1 && breakpoints[0] === \"base\") {\n return false;\n }\n return true;\n}\nfunction getBaseValue(value) {\n if (typeof value === \"object\" && value !== null) {\n if (\"base\" in value) {\n return value.base;\n }\n return void 0;\n }\n return value;\n}\nfunction getBreakpointKeys(value) {\n if (typeof value === \"object\" && value !== null) {\n return keys(value).filter((key) => key !== \"base\");\n }\n return [];\n}\nfunction getBreakpointValue(value, breakpoint) {\n if (typeof value === \"object\" && value !== null && breakpoint in value) {\n return value[breakpoint];\n }\n return value;\n}\nfunction parseStyleProps({\n styleProps,\n data,\n theme\n}) {\n return sortMediaQueries(\n keys(styleProps).reduce(\n (acc, styleProp) => {\n if (styleProp === \"hiddenFrom\" || styleProp === \"visibleFrom\" || styleProp === \"sx\") {\n return acc;\n }\n const propertyData = data[styleProp];\n const properties = Array.isArray(propertyData.property) ? propertyData.property : [propertyData.property];\n const baseValue = getBaseValue(styleProps[styleProp]);\n if (!hasResponsiveStyles(styleProps[styleProp])) {\n properties.forEach((property) => {\n acc.inlineStyles[property] = resolvers[propertyData.type](baseValue, theme);\n });\n return acc;\n }\n acc.hasResponsiveStyles = true;\n const breakpoints = getBreakpointKeys(styleProps[styleProp]);\n properties.forEach((property) => {\n if (baseValue) {\n acc.styles[property] = resolvers[propertyData.type](baseValue, theme);\n }\n breakpoints.forEach((breakpoint) => {\n const bp = `(min-width: ${theme.breakpoints[breakpoint]})`;\n acc.media[bp] = {\n ...acc.media[bp],\n [property]: resolvers[propertyData.type](\n getBreakpointValue(styleProps[styleProp], breakpoint),\n theme\n )\n };\n });\n });\n return acc;\n },\n {\n hasResponsiveStyles: false,\n styles: {},\n inlineStyles: {},\n media: {}\n }\n )\n );\n}\n\nexport { parseStyleProps };\n//# sourceMappingURL=parse-style-props.mjs.map\n"],"names":[],"mappings":";;;;;AAQA,SAAS,oBAAoB,WAAW;AACtC,MAAI,OAAO,cAAc,YAAY,cAAc,MAAM;AACvD,WAAO;AAAA,EACX;AACE,QAAM,cAAc,OAAO,KAAK,SAAS;AACzC,MAAI,YAAY,WAAW,KAAK,YAAY,CAAC,MAAM,QAAQ;AACzD,WAAO;AAAA,EACX;AACE,SAAO;AACT;AACA,SAAS,aAAa,OAAO;AAC3B,MAAI,OAAO,UAAU,YAAY,UAAU,MAAM;AAC/C,QAAI,UAAU,OAAO;AACnB,aAAO,MAAM;AAAA,IACnB;AACI,WAAO;AAAA,EACX;AACE,SAAO;AACT;AACA,SAAS,kBAAkB,OAAO;AAChC,MAAI,OAAO,UAAU,YAAY,UAAU,MAAM;AAC/C,WAAO,KAAK,KAAK,EAAE,OAAO,CAAC,QAAQ,QAAQ,MAAM;AAAA,EACrD;AACE,SAAO,CAAE;AACX;AACA,SAAS,mBAAmB,OAAO,YAAY;AAC7C,MAAI,OAAO,UAAU,YAAY,UAAU,QAAQ,cAAc,OAAO;AACtE,WAAO,MAAM,UAAU;AAAA,EAC3B;AACE,SAAO;AACT;AACA,SAAS,gBAAgB;AAAA,EACvB;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,SAAO;AAAA,IACL,KAAK,UAAU,EAAE;AAAA,MACf,CAAC,KAAK,cAAc;AAClB,YAAI,cAAc,gBAAgB,cAAc,iBAAiB,cAAc,MAAM;AACnF,iBAAO;AAAA,QACjB;AACQ,cAAM,eAAe,KAAK,SAAS;AACnC,cAAM,aAAa,MAAM,QAAQ,aAAa,QAAQ,IAAI,aAAa,WAAW,CAAC,aAAa,QAAQ;AACxG,cAAM,YAAY,aAAa,WAAW,SAAS,CAAC;AACpD,YAAI,CAAC,oBAAoB,WAAW,SAAS,CAAC,GAAG;AAC/C,qBAAW,QAAQ,CAAC,aAAa;AAC/B,gBAAI,aAAa,QAAQ,IAAI,UAAU,aAAa,IAAI,EAAE,WAAW,KAAK;AAAA,UACtF,CAAW;AACD,iBAAO;AAAA,QACjB;AACQ,YAAI,sBAAsB;AAC1B,cAAM,cAAc,kBAAkB,WAAW,SAAS,CAAC;AAC3D,mBAAW,QAAQ,CAAC,aAAa;AAC/B,cAAI,WAAW;AACb,gBAAI,OAAO,QAAQ,IAAI,UAAU,aAAa,IAAI,EAAE,WAAW,KAAK;AAAA,UAChF;AACU,sBAAY,QAAQ,CAAC,eAAe;AAClC,kBAAM,KAAK,eAAe,MAAM,YAAY,UAAU,CAAC;AACvD,gBAAI,MAAM,EAAE,IAAI;AAAA,cACd,GAAG,IAAI,MAAM,EAAE;AAAA,cACf,CAAC,QAAQ,GAAG,UAAU,aAAa,IAAI;AAAA,gBACrC,mBAAmB,WAAW,SAAS,GAAG,UAAU;AAAA,gBACpD;AAAA,cAChB;AAAA,YACa;AAAA,UACb,CAAW;AAAA,QACX,CAAS;AACD,eAAO;AAAA,MACR;AAAA,MACD;AAAA,QACE,qBAAqB;AAAA,QACrB,QAAQ,CAAE;AAAA,QACV,cAAc,CAAE;AAAA,QAChB,OAAO,CAAA;AAAA,MACf;AAAA,IACA;AAAA,EACG;AACH;","x_google_ignoreList":[0]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
function replaceMediaQuery(query) {
|
|
2
|
-
return query.replace("(min-width: ", "").replace("em)", "");
|
|
3
|
-
}
|
|
4
|
-
function sortMediaQueries({
|
|
5
|
-
media,
|
|
6
|
-
...props
|
|
7
|
-
}) {
|
|
8
|
-
const breakpoints = Object.keys(media);
|
|
9
|
-
const sortedMedia = breakpoints.sort((a, b) => Number(replaceMediaQuery(a)) - Number(replaceMediaQuery(b))).map((query) => ({ query, styles: media[query] }));
|
|
10
|
-
return { ...props, media: sortedMedia };
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
sortMediaQueries
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=sort-media-queries.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sort-media-queries.js","sources":["../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.mjs"],"sourcesContent":["'use client';\nfunction replaceMediaQuery(query) {\n return query.replace(\"(min-width: \", \"\").replace(\"em)\", \"\");\n}\nfunction sortMediaQueries({\n media,\n ...props\n}) {\n const breakpoints = Object.keys(media);\n const sortedMedia = breakpoints.sort((a, b) => Number(replaceMediaQuery(a)) - Number(replaceMediaQuery(b))).map((query) => ({ query, styles: media[query] }));\n return { ...props, media: sortedMedia };\n}\n\nexport { sortMediaQueries };\n//# sourceMappingURL=sort-media-queries.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,kBAAkB,OAAO;AAChC,SAAO,MAAM,QAAQ,gBAAgB,EAAE,EAAE,QAAQ,OAAO,EAAE;AAC5D;AACA,SAAS,iBAAiB;AAAA,EACxB;AAAA,EACA,GAAG;AACL,GAAG;AACD,QAAM,cAAc,OAAO,KAAK,KAAK;AACrC,QAAM,cAAc,YAAY,KAAK,CAAC,GAAG,MAAM,OAAO,kBAAkB,CAAC,CAAC,IAAI,OAAO,kBAAkB,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,OAAO,QAAQ,MAAM,KAAK,EAAG,EAAC;AAC5J,SAAO,EAAE,GAAG,OAAO,OAAO,YAAa;AACzC;","x_google_ignoreList":[0]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { rem } from "../../../../utils/units-converters/rem.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../../../../../../../_virtual/jsx-runtime.js";
|
|
4
|
-
import { colorResolver } from "../color-resolver/color-resolver.js";
|
|
5
|
-
function borderResolver(value, theme) {
|
|
6
|
-
if (typeof value === "number") {
|
|
7
|
-
return rem(value);
|
|
8
|
-
}
|
|
9
|
-
if (typeof value === "string") {
|
|
10
|
-
const [size, style, ...colorTuple] = value.split(" ").filter((val) => val.trim() !== "");
|
|
11
|
-
let result = `${rem(size)}`;
|
|
12
|
-
style && (result += ` ${style}`);
|
|
13
|
-
colorTuple.length > 0 && (result += ` ${colorResolver(colorTuple.join(" "), theme)}`);
|
|
14
|
-
return result.trim();
|
|
15
|
-
}
|
|
16
|
-
return value;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
borderResolver
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=border-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"border-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.mjs"],"sourcesContent":["'use client';\nimport { rem } from '../../../../utils/units-converters/rem.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport { colorResolver } from '../color-resolver/color-resolver.mjs';\n\nfunction borderResolver(value, theme) {\n if (typeof value === \"number\") {\n return rem(value);\n }\n if (typeof value === \"string\") {\n const [size, style, ...colorTuple] = value.split(\" \").filter((val) => val.trim() !== \"\");\n let result = `${rem(size)}`;\n style && (result += ` ${style}`);\n colorTuple.length > 0 && (result += ` ${colorResolver(colorTuple.join(\" \"), theme)}`);\n return result.trim();\n }\n return value;\n}\n\nexport { borderResolver };\n//# sourceMappingURL=border-resolver.mjs.map\n"],"names":[],"mappings":";;;;AAOA,SAAS,eAAe,OAAO,OAAO;AACpC,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,IAAI,KAAK;AAAA,EACpB;AACE,MAAI,OAAO,UAAU,UAAU;AAC7B,UAAM,CAAC,MAAM,OAAO,GAAG,UAAU,IAAI,MAAM,MAAM,GAAG,EAAE,OAAO,CAAC,QAAQ,IAAI,KAAI,MAAO,EAAE;AACvF,QAAI,SAAS,GAAG,IAAI,IAAI,CAAC;AACzB,cAAU,UAAU,IAAI,KAAK;AAC7B,eAAW,SAAS,MAAM,UAAU,IAAI,cAAc,WAAW,KAAK,GAAG,GAAG,KAAK,CAAC;AAClF,WAAO,OAAO,KAAM;AAAA,EACxB;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { parseThemeColor } from "../../../../MantineProvider/color-functions/parse-theme-color/parse-theme-color.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../../../../../../../_virtual/jsx-runtime.js";
|
|
4
|
-
function colorResolver(color, theme) {
|
|
5
|
-
const parsedColor = parseThemeColor({ color, theme });
|
|
6
|
-
if (parsedColor.color === "dimmed") {
|
|
7
|
-
return "var(--mantine-color-dimmed)";
|
|
8
|
-
}
|
|
9
|
-
if (parsedColor.color === "bright") {
|
|
10
|
-
return "var(--mantine-color-bright)";
|
|
11
|
-
}
|
|
12
|
-
return parsedColor.variable ? `var(${parsedColor.variable})` : parsedColor.color;
|
|
13
|
-
}
|
|
14
|
-
function textColorResolver(color, theme) {
|
|
15
|
-
const parsedColor = parseThemeColor({ color, theme });
|
|
16
|
-
if (parsedColor.isThemeColor && parsedColor.shade === void 0) {
|
|
17
|
-
return `var(--mantine-color-${parsedColor.color}-text)`;
|
|
18
|
-
}
|
|
19
|
-
return colorResolver(color, theme);
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
colorResolver,
|
|
23
|
-
textColorResolver
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=color-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.mjs"],"sourcesContent":["'use client';\nimport { parseThemeColor } from '../../../../MantineProvider/color-functions/parse-theme-color/parse-theme-color.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport '../../../../MantineProvider/Mantine.context.mjs';\nimport '../../../../MantineProvider/default-theme.mjs';\nimport '../../../../MantineProvider/MantineProvider.mjs';\nimport '../../../../MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../../../MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\n\nfunction colorResolver(color, theme) {\n const parsedColor = parseThemeColor({ color, theme });\n if (parsedColor.color === \"dimmed\") {\n return \"var(--mantine-color-dimmed)\";\n }\n if (parsedColor.color === \"bright\") {\n return \"var(--mantine-color-bright)\";\n }\n return parsedColor.variable ? `var(${parsedColor.variable})` : parsedColor.color;\n}\nfunction textColorResolver(color, theme) {\n const parsedColor = parseThemeColor({ color, theme });\n if (parsedColor.isThemeColor && parsedColor.shade === void 0) {\n return `var(--mantine-color-${parsedColor.color}-text)`;\n }\n return colorResolver(color, theme);\n}\n\nexport { colorResolver, textColorResolver };\n//# sourceMappingURL=color-resolver.mjs.map\n"],"names":[],"mappings":";;;AAWA,SAAS,cAAc,OAAO,OAAO;AACnC,QAAM,cAAc,gBAAgB,EAAE,OAAO,MAAK,CAAE;AACpD,MAAI,YAAY,UAAU,UAAU;AAClC,WAAO;AAAA,EACX;AACE,MAAI,YAAY,UAAU,UAAU;AAClC,WAAO;AAAA,EACX;AACE,SAAO,YAAY,WAAW,OAAO,YAAY,QAAQ,MAAM,YAAY;AAC7E;AACA,SAAS,kBAAkB,OAAO,OAAO;AACvC,QAAM,cAAc,gBAAgB,EAAE,OAAO,MAAK,CAAE;AACpD,MAAI,YAAY,gBAAgB,YAAY,UAAU,QAAQ;AAC5D,WAAO,uBAAuB,YAAY,KAAK;AAAA,EACnD;AACE,SAAO,cAAc,OAAO,KAAK;AACnC;","x_google_ignoreList":[0]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const values = {
|
|
2
|
-
text: "var(--mantine-font-family)",
|
|
3
|
-
mono: "var(--mantine-font-family-monospace)",
|
|
4
|
-
monospace: "var(--mantine-font-family-monospace)",
|
|
5
|
-
heading: "var(--mantine-font-family-headings)",
|
|
6
|
-
headings: "var(--mantine-font-family-headings)"
|
|
7
|
-
};
|
|
8
|
-
function fontFamilyResolver(fontFamily) {
|
|
9
|
-
if (typeof fontFamily === "string" && fontFamily in values) {
|
|
10
|
-
return values[fontFamily];
|
|
11
|
-
}
|
|
12
|
-
return fontFamily;
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
fontFamilyResolver
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=font-family-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"font-family-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.mjs"],"sourcesContent":["'use client';\nconst values = {\n text: \"var(--mantine-font-family)\",\n mono: \"var(--mantine-font-family-monospace)\",\n monospace: \"var(--mantine-font-family-monospace)\",\n heading: \"var(--mantine-font-family-headings)\",\n headings: \"var(--mantine-font-family-headings)\"\n};\nfunction fontFamilyResolver(fontFamily) {\n if (typeof fontFamily === \"string\" && fontFamily in values) {\n return values[fontFamily];\n }\n return fontFamily;\n}\n\nexport { fontFamilyResolver };\n//# sourceMappingURL=font-family-resolver.mjs.map\n"],"names":[],"mappings":"AACA,MAAM,SAAS;AAAA,EACb,MAAM;AAAA,EACN,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,UAAU;AACZ;AACA,SAAS,mBAAmB,YAAY;AACtC,MAAI,OAAO,eAAe,YAAY,cAAc,QAAQ;AAC1D,WAAO,OAAO,UAAU;AAAA,EAC5B;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { rem } from "../../../../utils/units-converters/rem.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../../../../../../../_virtual/jsx-runtime.js";
|
|
4
|
-
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
5
|
-
function fontSizeResolver(value, theme) {
|
|
6
|
-
if (typeof value === "string" && value in theme.fontSizes) {
|
|
7
|
-
return `var(--mantine-font-size-${value})`;
|
|
8
|
-
}
|
|
9
|
-
if (typeof value === "string" && headings.includes(value)) {
|
|
10
|
-
return `var(--mantine-${value}-font-size)`;
|
|
11
|
-
}
|
|
12
|
-
if (typeof value === "number") {
|
|
13
|
-
return rem(value);
|
|
14
|
-
}
|
|
15
|
-
if (typeof value === "string") {
|
|
16
|
-
return rem(value);
|
|
17
|
-
}
|
|
18
|
-
return value;
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
fontSizeResolver
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=font-size-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"font-size-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.mjs"],"sourcesContent":["'use client';\nimport { rem } from '../../../../utils/units-converters/rem.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\n\nconst headings = [\"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\"];\nfunction fontSizeResolver(value, theme) {\n if (typeof value === \"string\" && value in theme.fontSizes) {\n return `var(--mantine-font-size-${value})`;\n }\n if (typeof value === \"string\" && headings.includes(value)) {\n return `var(--mantine-${value}-font-size)`;\n }\n if (typeof value === \"number\") {\n return rem(value);\n }\n if (typeof value === \"string\") {\n return rem(value);\n }\n return value;\n}\n\nexport { fontSizeResolver };\n//# sourceMappingURL=font-size-resolver.mjs.map\n"],"names":[],"mappings":";;;AAMA,MAAM,WAAW,CAAC,MAAM,MAAM,MAAM,MAAM,MAAM,IAAI;AACpD,SAAS,iBAAiB,OAAO,OAAO;AACtC,MAAI,OAAO,UAAU,YAAY,SAAS,MAAM,WAAW;AACzD,WAAO,2BAA2B,KAAK;AAAA,EAC3C;AACE,MAAI,OAAO,UAAU,YAAY,SAAS,SAAS,KAAK,GAAG;AACzD,WAAO,iBAAiB,KAAK;AAAA,EACjC;AACE,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,IAAI,KAAK;AAAA,EACpB;AACE,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,IAAI,KAAK;AAAA,EACpB;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identity-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.mjs"],"sourcesContent":["'use client';\nfunction identityResolver(value) {\n return value;\n}\n\nexport { identityResolver };\n//# sourceMappingURL=identity-resolver.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,iBAAiB,OAAO;AAC/B,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { borderResolver } from "./border-resolver/border-resolver.js";
|
|
2
|
-
import { textColorResolver, colorResolver } from "./color-resolver/color-resolver.js";
|
|
3
|
-
import { fontFamilyResolver } from "./font-family-resolver/font-family-resolver.js";
|
|
4
|
-
import { fontSizeResolver } from "./font-size-resolver/font-size-resolver.js";
|
|
5
|
-
import { identityResolver } from "./identity-resolver/identity-resolver.js";
|
|
6
|
-
import { lineHeightResolver } from "./line-height-resolver/line-height-resolver.js";
|
|
7
|
-
import { sizeResolver } from "./size-resolver/size-resolver.js";
|
|
8
|
-
import { spacingResolver } from "./spacing-resolver/spacing-resolver.js";
|
|
9
|
-
const resolvers = {
|
|
10
|
-
color: colorResolver,
|
|
11
|
-
textColor: textColorResolver,
|
|
12
|
-
fontSize: fontSizeResolver,
|
|
13
|
-
spacing: spacingResolver,
|
|
14
|
-
identity: identityResolver,
|
|
15
|
-
size: sizeResolver,
|
|
16
|
-
lineHeight: lineHeightResolver,
|
|
17
|
-
fontFamily: fontFamilyResolver,
|
|
18
|
-
border: borderResolver
|
|
19
|
-
};
|
|
20
|
-
export {
|
|
21
|
-
resolvers
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.mjs"],"sourcesContent":["'use client';\nimport { borderResolver } from './border-resolver/border-resolver.mjs';\nimport { colorResolver, textColorResolver } from './color-resolver/color-resolver.mjs';\nimport { fontFamilyResolver } from './font-family-resolver/font-family-resolver.mjs';\nimport { fontSizeResolver } from './font-size-resolver/font-size-resolver.mjs';\nimport { identityResolver } from './identity-resolver/identity-resolver.mjs';\nimport { lineHeightResolver } from './line-height-resolver/line-height-resolver.mjs';\nimport { sizeResolver } from './size-resolver/size-resolver.mjs';\nimport { spacingResolver } from './spacing-resolver/spacing-resolver.mjs';\n\nconst resolvers = {\n color: colorResolver,\n textColor: textColorResolver,\n fontSize: fontSizeResolver,\n spacing: spacingResolver,\n identity: identityResolver,\n size: sizeResolver,\n lineHeight: lineHeightResolver,\n fontFamily: fontFamilyResolver,\n border: borderResolver\n};\n\nexport { resolvers };\n//# sourceMappingURL=index.mjs.map\n"],"names":[],"mappings":";;;;;;;;AAUK,MAAC,YAAY;AAAA,EAChB,OAAO;AAAA,EACP,WAAW;AAAA,EACX,UAAU;AAAA,EACV,SAAS;AAAA,EACT,UAAU;AAAA,EACV,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,QAAQ;AACV;","x_google_ignoreList":[0]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
2
|
-
function lineHeightResolver(value, theme) {
|
|
3
|
-
if (typeof value === "string" && value in theme.lineHeights) {
|
|
4
|
-
return `var(--mantine-line-height-${value})`;
|
|
5
|
-
}
|
|
6
|
-
if (typeof value === "string" && headings.includes(value)) {
|
|
7
|
-
return `var(--mantine-${value}-line-height)`;
|
|
8
|
-
}
|
|
9
|
-
return value;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
lineHeightResolver
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=line-height-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"line-height-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.mjs"],"sourcesContent":["'use client';\nconst headings = [\"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\"];\nfunction lineHeightResolver(value, theme) {\n if (typeof value === \"string\" && value in theme.lineHeights) {\n return `var(--mantine-line-height-${value})`;\n }\n if (typeof value === \"string\" && headings.includes(value)) {\n return `var(--mantine-${value}-line-height)`;\n }\n return value;\n}\n\nexport { lineHeightResolver };\n//# sourceMappingURL=line-height-resolver.mjs.map\n"],"names":[],"mappings":"AACA,MAAM,WAAW,CAAC,MAAM,MAAM,MAAM,MAAM,MAAM,IAAI;AACpD,SAAS,mBAAmB,OAAO,OAAO;AACxC,MAAI,OAAO,UAAU,YAAY,SAAS,MAAM,aAAa;AAC3D,WAAO,6BAA6B,KAAK;AAAA,EAC7C;AACE,MAAI,OAAO,UAAU,YAAY,SAAS,SAAS,KAAK,GAAG;AACzD,WAAO,iBAAiB,KAAK;AAAA,EACjC;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { rem } from "../../../../utils/units-converters/rem.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../../../../../../../_virtual/jsx-runtime.js";
|
|
4
|
-
function sizeResolver(value) {
|
|
5
|
-
if (typeof value === "number") {
|
|
6
|
-
return rem(value);
|
|
7
|
-
}
|
|
8
|
-
return value;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
sizeResolver
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=size-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"size-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.mjs"],"sourcesContent":["'use client';\nimport { rem } from '../../../../utils/units-converters/rem.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\n\nfunction sizeResolver(value) {\n if (typeof value === \"number\") {\n return rem(value);\n }\n return value;\n}\n\nexport { sizeResolver };\n//# sourceMappingURL=size-resolver.mjs.map\n"],"names":[],"mappings":";;;AAMA,SAAS,aAAa,OAAO;AAC3B,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,IAAI,KAAK;AAAA,EACpB;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { rem } from "../../../../utils/units-converters/rem.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../../../../../../../_virtual/jsx-runtime.js";
|
|
4
|
-
function spacingResolver(value, theme) {
|
|
5
|
-
if (typeof value === "number") {
|
|
6
|
-
return rem(value);
|
|
7
|
-
}
|
|
8
|
-
if (typeof value === "string") {
|
|
9
|
-
const mod = value.replace("-", "");
|
|
10
|
-
if (!(mod in theme.spacing)) {
|
|
11
|
-
return rem(value);
|
|
12
|
-
}
|
|
13
|
-
const variable = `--mantine-spacing-${mod}`;
|
|
14
|
-
return value.startsWith("-") ? `calc(var(${variable}) * -1)` : `var(${variable})`;
|
|
15
|
-
}
|
|
16
|
-
return value;
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
spacingResolver
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=spacing-resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spacing-resolver.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.mjs"],"sourcesContent":["'use client';\nimport { rem } from '../../../../utils/units-converters/rem.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\n\nfunction spacingResolver(value, theme) {\n if (typeof value === \"number\") {\n return rem(value);\n }\n if (typeof value === \"string\") {\n const mod = value.replace(\"-\", \"\");\n if (!(mod in theme.spacing)) {\n return rem(value);\n }\n const variable = `--mantine-spacing-${mod}`;\n return value.startsWith(\"-\") ? `calc(var(${variable}) * -1)` : `var(${variable})`;\n }\n return value;\n}\n\nexport { spacingResolver };\n//# sourceMappingURL=spacing-resolver.mjs.map\n"],"names":[],"mappings":";;;AAMA,SAAS,gBAAgB,OAAO,OAAO;AACrC,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,IAAI,KAAK;AAAA,EACpB;AACE,MAAI,OAAO,UAAU,UAAU;AAC7B,UAAM,MAAM,MAAM,QAAQ,KAAK,EAAE;AACjC,QAAI,EAAE,OAAO,MAAM,UAAU;AAC3B,aAAO,IAAI,KAAK;AAAA,IACtB;AACI,UAAM,WAAW,qBAAqB,GAAG;AACzC,WAAO,MAAM,WAAW,GAAG,IAAI,YAAY,QAAQ,YAAY,OAAO,QAAQ;AAAA,EAClF;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
const STYlE_PROPS_DATA = {
|
|
2
|
-
m: { type: "spacing", property: "margin" },
|
|
3
|
-
mt: { type: "spacing", property: "marginTop" },
|
|
4
|
-
mb: { type: "spacing", property: "marginBottom" },
|
|
5
|
-
ml: { type: "spacing", property: "marginLeft" },
|
|
6
|
-
mr: { type: "spacing", property: "marginRight" },
|
|
7
|
-
ms: { type: "spacing", property: "marginInlineStart" },
|
|
8
|
-
me: { type: "spacing", property: "marginInlineEnd" },
|
|
9
|
-
mx: { type: "spacing", property: "marginInline" },
|
|
10
|
-
my: { type: "spacing", property: "marginBlock" },
|
|
11
|
-
p: { type: "spacing", property: "padding" },
|
|
12
|
-
pt: { type: "spacing", property: "paddingTop" },
|
|
13
|
-
pb: { type: "spacing", property: "paddingBottom" },
|
|
14
|
-
pl: { type: "spacing", property: "paddingLeft" },
|
|
15
|
-
pr: { type: "spacing", property: "paddingRight" },
|
|
16
|
-
ps: { type: "spacing", property: "paddingInlineStart" },
|
|
17
|
-
pe: { type: "spacing", property: "paddingInlineEnd" },
|
|
18
|
-
px: { type: "spacing", property: "paddingInline" },
|
|
19
|
-
py: { type: "spacing", property: "paddingBlock" },
|
|
20
|
-
bd: { type: "border", property: "border" },
|
|
21
|
-
bg: { type: "color", property: "background" },
|
|
22
|
-
c: { type: "textColor", property: "color" },
|
|
23
|
-
opacity: { type: "identity", property: "opacity" },
|
|
24
|
-
ff: { type: "fontFamily", property: "fontFamily" },
|
|
25
|
-
fz: { type: "fontSize", property: "fontSize" },
|
|
26
|
-
fw: { type: "identity", property: "fontWeight" },
|
|
27
|
-
lts: { type: "size", property: "letterSpacing" },
|
|
28
|
-
ta: { type: "identity", property: "textAlign" },
|
|
29
|
-
lh: { type: "lineHeight", property: "lineHeight" },
|
|
30
|
-
fs: { type: "identity", property: "fontStyle" },
|
|
31
|
-
tt: { type: "identity", property: "textTransform" },
|
|
32
|
-
td: { type: "identity", property: "textDecoration" },
|
|
33
|
-
w: { type: "spacing", property: "width" },
|
|
34
|
-
miw: { type: "spacing", property: "minWidth" },
|
|
35
|
-
maw: { type: "spacing", property: "maxWidth" },
|
|
36
|
-
h: { type: "spacing", property: "height" },
|
|
37
|
-
mih: { type: "spacing", property: "minHeight" },
|
|
38
|
-
mah: { type: "spacing", property: "maxHeight" },
|
|
39
|
-
bgsz: { type: "size", property: "backgroundSize" },
|
|
40
|
-
bgp: { type: "identity", property: "backgroundPosition" },
|
|
41
|
-
bgr: { type: "identity", property: "backgroundRepeat" },
|
|
42
|
-
bga: { type: "identity", property: "backgroundAttachment" },
|
|
43
|
-
pos: { type: "identity", property: "position" },
|
|
44
|
-
top: { type: "size", property: "top" },
|
|
45
|
-
left: { type: "size", property: "left" },
|
|
46
|
-
bottom: { type: "size", property: "bottom" },
|
|
47
|
-
right: { type: "size", property: "right" },
|
|
48
|
-
inset: { type: "size", property: "inset" },
|
|
49
|
-
display: { type: "identity", property: "display" },
|
|
50
|
-
flex: { type: "identity", property: "flex" }
|
|
51
|
-
};
|
|
52
|
-
export {
|
|
53
|
-
STYlE_PROPS_DATA
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=style-props-data.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style-props-data.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.mjs"],"sourcesContent":["'use client';\nconst STYlE_PROPS_DATA = {\n m: { type: \"spacing\", property: \"margin\" },\n mt: { type: \"spacing\", property: \"marginTop\" },\n mb: { type: \"spacing\", property: \"marginBottom\" },\n ml: { type: \"spacing\", property: \"marginLeft\" },\n mr: { type: \"spacing\", property: \"marginRight\" },\n ms: { type: \"spacing\", property: \"marginInlineStart\" },\n me: { type: \"spacing\", property: \"marginInlineEnd\" },\n mx: { type: \"spacing\", property: \"marginInline\" },\n my: { type: \"spacing\", property: \"marginBlock\" },\n p: { type: \"spacing\", property: \"padding\" },\n pt: { type: \"spacing\", property: \"paddingTop\" },\n pb: { type: \"spacing\", property: \"paddingBottom\" },\n pl: { type: \"spacing\", property: \"paddingLeft\" },\n pr: { type: \"spacing\", property: \"paddingRight\" },\n ps: { type: \"spacing\", property: \"paddingInlineStart\" },\n pe: { type: \"spacing\", property: \"paddingInlineEnd\" },\n px: { type: \"spacing\", property: \"paddingInline\" },\n py: { type: \"spacing\", property: \"paddingBlock\" },\n bd: { type: \"border\", property: \"border\" },\n bg: { type: \"color\", property: \"background\" },\n c: { type: \"textColor\", property: \"color\" },\n opacity: { type: \"identity\", property: \"opacity\" },\n ff: { type: \"fontFamily\", property: \"fontFamily\" },\n fz: { type: \"fontSize\", property: \"fontSize\" },\n fw: { type: \"identity\", property: \"fontWeight\" },\n lts: { type: \"size\", property: \"letterSpacing\" },\n ta: { type: \"identity\", property: \"textAlign\" },\n lh: { type: \"lineHeight\", property: \"lineHeight\" },\n fs: { type: \"identity\", property: \"fontStyle\" },\n tt: { type: \"identity\", property: \"textTransform\" },\n td: { type: \"identity\", property: \"textDecoration\" },\n w: { type: \"spacing\", property: \"width\" },\n miw: { type: \"spacing\", property: \"minWidth\" },\n maw: { type: \"spacing\", property: \"maxWidth\" },\n h: { type: \"spacing\", property: \"height\" },\n mih: { type: \"spacing\", property: \"minHeight\" },\n mah: { type: \"spacing\", property: \"maxHeight\" },\n bgsz: { type: \"size\", property: \"backgroundSize\" },\n bgp: { type: \"identity\", property: \"backgroundPosition\" },\n bgr: { type: \"identity\", property: \"backgroundRepeat\" },\n bga: { type: \"identity\", property: \"backgroundAttachment\" },\n pos: { type: \"identity\", property: \"position\" },\n top: { type: \"size\", property: \"top\" },\n left: { type: \"size\", property: \"left\" },\n bottom: { type: \"size\", property: \"bottom\" },\n right: { type: \"size\", property: \"right\" },\n inset: { type: \"size\", property: \"inset\" },\n display: { type: \"identity\", property: \"display\" },\n flex: { type: \"identity\", property: \"flex\" }\n};\n\nexport { STYlE_PROPS_DATA };\n//# sourceMappingURL=style-props-data.mjs.map\n"],"names":[],"mappings":"AACK,MAAC,mBAAmB;AAAA,EACvB,GAAG,EAAE,MAAM,WAAW,UAAU,SAAU;AAAA,EAC1C,IAAI,EAAE,MAAM,WAAW,UAAU,YAAa;AAAA,EAC9C,IAAI,EAAE,MAAM,WAAW,UAAU,eAAgB;AAAA,EACjD,IAAI,EAAE,MAAM,WAAW,UAAU,aAAc;AAAA,EAC/C,IAAI,EAAE,MAAM,WAAW,UAAU,cAAe;AAAA,EAChD,IAAI,EAAE,MAAM,WAAW,UAAU,oBAAqB;AAAA,EACtD,IAAI,EAAE,MAAM,WAAW,UAAU,kBAAmB;AAAA,EACpD,IAAI,EAAE,MAAM,WAAW,UAAU,eAAgB;AAAA,EACjD,IAAI,EAAE,MAAM,WAAW,UAAU,cAAe;AAAA,EAChD,GAAG,EAAE,MAAM,WAAW,UAAU,UAAW;AAAA,EAC3C,IAAI,EAAE,MAAM,WAAW,UAAU,aAAc;AAAA,EAC/C,IAAI,EAAE,MAAM,WAAW,UAAU,gBAAiB;AAAA,EAClD,IAAI,EAAE,MAAM,WAAW,UAAU,cAAe;AAAA,EAChD,IAAI,EAAE,MAAM,WAAW,UAAU,eAAgB;AAAA,EACjD,IAAI,EAAE,MAAM,WAAW,UAAU,qBAAsB;AAAA,EACvD,IAAI,EAAE,MAAM,WAAW,UAAU,mBAAoB;AAAA,EACrD,IAAI,EAAE,MAAM,WAAW,UAAU,gBAAiB;AAAA,EAClD,IAAI,EAAE,MAAM,WAAW,UAAU,eAAgB;AAAA,EACjD,IAAI,EAAE,MAAM,UAAU,UAAU,SAAU;AAAA,EAC1C,IAAI,EAAE,MAAM,SAAS,UAAU,aAAc;AAAA,EAC7C,GAAG,EAAE,MAAM,aAAa,UAAU,QAAS;AAAA,EAC3C,SAAS,EAAE,MAAM,YAAY,UAAU,UAAW;AAAA,EAClD,IAAI,EAAE,MAAM,cAAc,UAAU,aAAc;AAAA,EAClD,IAAI,EAAE,MAAM,YAAY,UAAU,WAAY;AAAA,EAC9C,IAAI,EAAE,MAAM,YAAY,UAAU,aAAc;AAAA,EAChD,KAAK,EAAE,MAAM,QAAQ,UAAU,gBAAiB;AAAA,EAChD,IAAI,EAAE,MAAM,YAAY,UAAU,YAAa;AAAA,EAC/C,IAAI,EAAE,MAAM,cAAc,UAAU,aAAc;AAAA,EAClD,IAAI,EAAE,MAAM,YAAY,UAAU,YAAa;AAAA,EAC/C,IAAI,EAAE,MAAM,YAAY,UAAU,gBAAiB;AAAA,EACnD,IAAI,EAAE,MAAM,YAAY,UAAU,iBAAkB;AAAA,EACpD,GAAG,EAAE,MAAM,WAAW,UAAU,QAAS;AAAA,EACzC,KAAK,EAAE,MAAM,WAAW,UAAU,WAAY;AAAA,EAC9C,KAAK,EAAE,MAAM,WAAW,UAAU,WAAY;AAAA,EAC9C,GAAG,EAAE,MAAM,WAAW,UAAU,SAAU;AAAA,EAC1C,KAAK,EAAE,MAAM,WAAW,UAAU,YAAa;AAAA,EAC/C,KAAK,EAAE,MAAM,WAAW,UAAU,YAAa;AAAA,EAC/C,MAAM,EAAE,MAAM,QAAQ,UAAU,iBAAkB;AAAA,EAClD,KAAK,EAAE,MAAM,YAAY,UAAU,qBAAsB;AAAA,EACzD,KAAK,EAAE,MAAM,YAAY,UAAU,mBAAoB;AAAA,EACvD,KAAK,EAAE,MAAM,YAAY,UAAU,uBAAwB;AAAA,EAC3D,KAAK,EAAE,MAAM,YAAY,UAAU,WAAY;AAAA,EAC/C,KAAK,EAAE,MAAM,QAAQ,UAAU,MAAO;AAAA,EACtC,MAAM,EAAE,MAAM,QAAQ,UAAU,OAAQ;AAAA,EACxC,QAAQ,EAAE,MAAM,QAAQ,UAAU,SAAU;AAAA,EAC5C,OAAO,EAAE,MAAM,QAAQ,UAAU,QAAS;AAAA,EAC1C,OAAO,EAAE,MAAM,QAAQ,UAAU,QAAS;AAAA,EAC1C,SAAS,EAAE,MAAM,YAAY,UAAU,UAAW;AAAA,EAClD,MAAM,EAAE,MAAM,YAAY,UAAU,OAAM;AAC5C;","x_google_ignoreList":[0]}
|