@erpsquad/common 1.8.34 → 1.8.35

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.
Files changed (27) hide show
  1. package/dist/_virtual/extends/index.esm.js +4 -2
  2. package/dist/_virtual/extends/index.esm.js.map +1 -1
  3. package/dist/_virtual/extends/index.js +1 -1
  4. package/dist/_virtual/index/index.esm2.js +2 -4
  5. package/dist/_virtual/index/index.esm2.js.map +1 -1
  6. package/dist/_virtual/index/index.esm3.js +4 -2
  7. package/dist/_virtual/index/index.esm3.js.map +1 -1
  8. package/dist/_virtual/index/index2.js +1 -1
  9. package/dist/_virtual/index/index3.js +1 -1
  10. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
  11. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
  12. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
  13. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
  14. package/dist/node_modules/@mui/system/createStyled/index.esm.js +4 -4
  15. package/dist/node_modules/@mui/system/createStyled/index.esm.js.map +1 -1
  16. package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
  17. package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
  18. package/dist/style.css +2 -2
  19. package/dist/theme/theme-impl/index.esm.js +13 -0
  20. package/dist/theme/theme-impl/index.esm.js.map +1 -1
  21. package/dist/theme/theme-impl/index.js +1 -1
  22. package/dist/theme/theme-impl/index.js.map +1 -1
  23. package/package.json +1 -1
  24. package/dist/node_modules/@babel/runtime/helpers/extends/index.esm.js +0 -23
  25. package/dist/node_modules/@babel/runtime/helpers/extends/index.esm.js.map +0 -1
  26. package/dist/node_modules/@babel/runtime/helpers/extends/index.js +0 -2
  27. package/dist/node_modules/@babel/runtime/helpers/extends/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["require$$0","createStyled_1","require$$1","require$$2","require$$3","e"],"mappings":";;;;;;;;;;;AAEA,IAA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AAA,QAAA;AAEhF,YAAI,gBAAgB,QAAW;AAC7B,wBAAc,WAAA,GAAc,gBAAgB,SAAS,GAAG,CAAC;AAAA,QAAA;AAE3D,kBAAU,cAAc;AAAA,MAAA;AAE1B,UAAI,IAAI,SAAS;AACf,kBAAU,UAAU,IAAI;AAAA,MAAA;AAE1B,aAAO;AAAA,IAAA;AAET,QAAI,sBAAsB,YAAY;AACpC,wBAAkB,aAAa,sBAAsB;AAAA,IAAA;AAEvD,WAAO;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["require$$0","createStyled_1","require$$2","require$$3","e"],"mappings":";;;;;;;;;;;AAEA,IAAI,yBAAyBA;AAC7B,OAAO,eAAeC,gBAAS,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACD,IAAA,WAAAA,eAAA,UAAkB;AAClBA,eAAA,oBAA4B;AAC5BA,eAAA,qBAA6B;AAC7B,IAAI,YAAY,uBAAuB,UAAyC;AAChF,IAAI,iCAAiC,uBAAuBC,qCAA8D;AAC1H,IAAI,gBAAgB,wBAAwBC,YAA6B;AACzE,IAAI,aAAa;AACjB,IAAI,cAAc,uBAAuB,UAAgC;AACzE,IAAI,kBAAkB,uBAAuB,UAAoC;AACjF,IAAI,eAAe,uBAAuB,UAAwB;AAClE,IAAI,mBAAmB,uBAAuB,UAA4B;AAC1E,MAAM,YAAY,CAAC,YAAY,GAC7B,aAAa,CAAC,UAAU,GACxB,aAAa,CAAC,QAAQ,QAAQ,wBAAwB,UAAU,mBAAmB;AAErF,SAAS,yBAAyB,GAAG;AAAE,MAAI,cAAc,OAAO,QAAS,QAAO;AAAM,MAAI,IAAI,oBAAI,QAAA,GAAW,wBAAQ,QAAA;AAAW,UAAQ,2BAA2B,SAAUC,IAAG;AAAE,WAAOA,KAAI,IAAI;AAAA,EAAA,GAAM,CAAC;AAAG;AAC3M,SAAS,wBAAwB,GAAG,GAAG;AAAE,MAAU,KAAK,EAAE,WAAY,QAAO;AAAG,MAAI,SAAS,KAAK,YAAY,OAAO,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,QAAQ,KAAK,wBAAwB,GAAG;AACxD,cAAM,eAAe,IAAI,MAAM,qBAAqB,EAAE,KAAK,EAAE;AAE7D,8BAAsB,CAAC,GAAG,UAAU,GAAG,YAAY;AACnD,4BAAoB,MAAM,CAAC,GAAG,SAAS,KAAK,GAAG,YAAY;AAAA,MAAA;AAE7D,YAAM,YAAY,sBAAsB,qBAAqB,GAAG,2BAA2B;AAC3F,UAAI,2BAAY,aAAa,cAAc;AACzC,YAAI;AACJ,YAAI,eAAe;AACjB,wBAAc,GAAG,aAAa,IAAA,GAAO,YAAY,SAAS,iBAAiB,EAAE,CAAC;AAAA,QAAA;AAEhF,YAAI,gBAAgB,QAAW;AAC7B,wBAAc,WAAA,GAAc,gBAAgB,SAAS,GAAG,CAAC;AAAA,QAAA;AAE3D,kBAAU,cAAc;AAAA,MAAA;AAE1B,UAAI,IAAI,SAAS;AACf,kBAAU,UAAU,IAAI;AAAA,MAAA;AAE1B,aAAO;AAAA,IAAA;AAET,QAAI,sBAAsB,YAAY;AACpC,wBAAkB,aAAa,sBAAsB;AAAA,IAAA;AAEvD,WAAO;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/createStyled/index.js"),t=require("../../../@babel/runtime/helpers/extends/index.js"),r=require("../../../@babel/runtime/helpers/objectWithoutPropertiesLoose/index.js"),o=require("../../../../_virtual/index/index6.js"),n=require("../../../../_virtual/index/index7.js"),s=require("../../../../_virtual/index/index8.js"),a=require("../../../../_virtual/index/index9.js"),i=require("../../../../_virtual/index/index10.js"),u=require("../../../../_virtual/index/index11.js"),l=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js"),d={},f=l.interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var p=e.__exports.default=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:o=q,slotShouldForwardProp:n=q}=e,s=e=>(0,j.default)((0,c.default)({},e,{theme:k((0,c.default)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,a={})=>{(0,y.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:i,slot:u,skipVariantsResolver:l,skipSx:f,overridesResolver:p=R(A(u))}=a,x=(0,m.default)(a,S),j=i&&i.startsWith("Mui")||u?"components":"custom",w=void 0!==l?l:u&&"Root"!==u&&"root"!==u||!1,b=f||!1;let O;"production"!==d.NODE_ENV&&i&&(O=`${i}-${A(u||"Root")}`);let P=q;"Root"===u||"root"===u?P=o:u?P=n:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(P=void 0);const g=(0,y.default)(e,(0,c.default)({shouldForwardProp:P,label:O},x)),D=e=>"function"==typeof e&&e.__emotion_real!==e||(0,h.isPlainObject)(e)?o=>{const n=k({theme:o.theme,defaultTheme:r,themeId:t});return C(e,(0,c.default)({},o,{theme:n}),n.modularCssLayers?j:void 0)}:e,E=(o,...n)=>{let a=D(o);const l=n?n.map(D):[];i&&p&&l.push(e=>{const o=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[i]||!o.components[i].styleOverrides)return null;const n=o.components[i].styleOverrides,s={};return Object.entries(n).forEach(([t,r])=>{s[t]=C(r,(0,c.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),p(e,s)}),i&&!w&&l.push(e=>{var o;const n=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));return C({variants:null==n||null==(o=n.components)||null==(o=o[i])?void 0:o.variants},(0,c.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),b||l.push(s);const f=l.length-n.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const m=g(a,...l);if("production"!==d.NODE_ENV){let t;i&&(t=`${i}${(0,_.default)(u||"")}`),void 0===t&&(t=`Styled(${(0,v.default)(e)})`),m.displayName=t}return e.muiName&&(m.muiName=e.muiName),m};return g.withConfig&&(E.withConfig=g.withConfig),E}};e.__exports.shouldForwardProp=q,e.__exports.systemDefaultTheme=void 0;var c=f(t.__require()),m=f(r.__require()),y=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var s=o?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(r,n,s):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(o.default),h=n.default,_=f(s.default),v=f(a.default),x=f(i.default),j=f(u.default);const w=["ownerState"],b=["variants"],S=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function O(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(O=function(e){return e?r:t})(e)}function q(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function P(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const g=e.__exports.systemDefaultTheme=(0,x.default)(),A=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function k({defaultTheme:e,theme:t,themeId:r}){return o=t,0===Object.keys(o).length?e:t[r]||t;var o}function R(e){return e?(t,r)=>r[e]:null}function C(e,t,r){let{ownerState:o}=t,n=(0,m.default)(t,w);const s="function"==typeof e?e((0,c.default)({ownerState:o},n)):e;if(Array.isArray(s))return s.flatMap(e=>C(e,(0,c.default)({ownerState:o},n),r));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:e=[]}=s;let t=(0,m.default)(s,b);return e.forEach(e=>{let s=!0;if("function"==typeof e.props?s=e.props((0,c.default)({ownerState:o},n,o)):Object.keys(e.props).forEach(t=>{(null==o?void 0:o[t])!==e.props[t]&&n[t]!==e.props[t]&&(s=!1)}),s){Array.isArray(t)||(t=[t]);const s="function"==typeof e.style?e.style((0,c.default)({ownerState:o},n,o)):e.style;t.push(r?P((0,y.internal_serializeStyles)(s),r):s)}}),t}return r?P((0,y.internal_serializeStyles)(s),r):s}exports.default=p;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/createStyled/index.js"),t=require("../../../../_virtual/extends/index.js"),r=require("../../../@babel/runtime/helpers/objectWithoutPropertiesLoose/index.js"),o=require("../../../../_virtual/index/index6.js"),n=require("../../../../_virtual/index/index7.js"),a=require("../../../../_virtual/index/index8.js"),s=require("../../../../_virtual/index/index9.js"),u=require("../../../../_virtual/index/index10.js"),i=require("../../../../_virtual/index/index11.js"),l=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js"),d={},f=l.interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var p=e.__exports.default=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:o=q,slotShouldForwardProp:n=q}=e,a=e=>(0,j.default)((0,c.default)({},e,{theme:k((0,c.default)({},e,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(e,s={})=>{(0,y.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:u,slot:i,skipVariantsResolver:l,skipSx:f,overridesResolver:p=R(A(i))}=s,x=(0,m.default)(s,S),j=u&&u.startsWith("Mui")||i?"components":"custom",w=void 0!==l?l:i&&"Root"!==i&&"root"!==i||!1,b=f||!1;let O;"production"!==d.NODE_ENV&&u&&(O=`${u}-${A(i||"Root")}`);let P=q;"Root"===i||"root"===i?P=o:i?P=n:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(P=void 0);const g=(0,y.default)(e,(0,c.default)({shouldForwardProp:P,label:O},x)),D=e=>"function"==typeof e&&e.__emotion_real!==e||(0,h.isPlainObject)(e)?o=>{const n=k({theme:o.theme,defaultTheme:r,themeId:t});return C(e,(0,c.default)({},o,{theme:n}),n.modularCssLayers?j:void 0)}:e,E=(o,...n)=>{let s=D(o);const l=n?n.map(D):[];u&&p&&l.push(e=>{const o=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[u]||!o.components[u].styleOverrides)return null;const n=o.components[u].styleOverrides,a={};return Object.entries(n).forEach(([t,r])=>{a[t]=C(r,(0,c.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),p(e,a)}),u&&!w&&l.push(e=>{var o;const n=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));return C({variants:null==n||null==(o=n.components)||null==(o=o[u])?void 0:o.variants},(0,c.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),b||l.push(a);const f=l.length-n.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");s=[...o,...e],s.raw=[...o.raw,...e]}const m=g(s,...l);if("production"!==d.NODE_ENV){let t;u&&(t=`${u}${(0,_.default)(i||"")}`),void 0===t&&(t=`Styled(${(0,v.default)(e)})`),m.displayName=t}return e.muiName&&(m.muiName=e.muiName),m};return g.withConfig&&(E.withConfig=g.withConfig),E}};e.__exports.shouldForwardProp=q,e.__exports.systemDefaultTheme=void 0;var c=f(t.default),m=f(r.__require()),y=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(o.default),h=n.default,_=f(a.default),v=f(s.default),x=f(u.default),j=f(i.default);const w=["ownerState"],b=["variants"],S=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function O(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(O=function(e){return e?r:t})(e)}function q(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function P(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const g=e.__exports.systemDefaultTheme=(0,x.default)(),A=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function k({defaultTheme:e,theme:t,themeId:r}){return o=t,0===Object.keys(o).length?e:t[r]||t;var o}function R(e){return e?(t,r)=>r[e]:null}function C(e,t,r){let{ownerState:o}=t,n=(0,m.default)(t,w);const a="function"==typeof e?e((0,c.default)({ownerState:o},n)):e;if(Array.isArray(a))return a.flatMap(e=>C(e,(0,c.default)({ownerState:o},n),r));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,m.default)(a,b);return e.forEach(e=>{let a=!0;if("function"==typeof e.props?a=e.props((0,c.default)({ownerState:o},n,o)):Object.keys(e.props).forEach(t=>{(null==o?void 0:o[t])!==e.props[t]&&n[t]!==e.props[t]&&(a=!1)}),a){Array.isArray(t)||(t=[t]);const a="function"==typeof e.style?e.style((0,c.default)({ownerState:o},n,o)):e.style;t.push(r?P((0,y.internal_serializeStyles)(a),r):a)}}),t}return r?P((0,y.internal_serializeStyles)(a),r):a}exports.default=p;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["_interopRequireDefault","require$$0","Object","defineProperty","createStyled_1","value","_default","default","input","themeId","defaultTheme","systemDefaultTheme","rootShouldForwardProp","shouldForwardProp","slotShouldForwardProp","systemSx","props","_styleFunctionSx","_extends2","theme","resolveTheme","__mui_systemSx","tag","inputOptions","_styledEngine","internal_processStyles","styles","filter","style","name","componentName","slot","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","overridesResolver","defaultOverridesResolver","lowercaseFirstLetter","options","_objectWithoutPropertiesLoose2","_excluded3","layerName","startsWith","label","define_process_env_default","NODE_ENV","shouldForwardPropOption","charCodeAt","isStringTag","defaultStyledResolver","transformStyleArg","stylesArg","__emotion_real","_deepmerge","isPlainObject","processStyleArg","modularCssLayers","muiStyledResolver","styleArg","expressions","transformedStyleArg","expressionsWithDefaultTheme","map","push","components","styleOverrides","resolvedStyleOverrides","entries","forEach","slotKey","slotStyle","_theme$components","variants","numOfCustomFnsApplied","length","Array","isArray","placeholders","fill","raw","Component","displayName","_capitalize","_getDisplayName","muiName","withConfig","require$$1","require$$2","e","__esModule","t","_getRequireWildcardCache","_interopRequireWildcard","has","get","n","__proto__","a","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","require$$3","require$$4","require$$5","require$$6","_createTheme","require$$7","require$$8","_excluded","_excluded2","WeakMap","r","prop","shallowLayer","serialized","String","string","charAt","toLowerCase","slice","obj","keys","callableStyle","_ref","ownerState","resolvedStylesArg","flatMap","resolvedStyle","result","variant","isMatch","key","variantStyle","internal_serializeStyles"],"mappings":"gpBAEIA,EAAyBC,EAAAA,6BAC7BC,OAAOC,eAAeC,EAAAA,UAAS,aAAc,CAC3CC,OAAO,IAET,IAAAC,EAAAF,EAAAA,UAAAG,QA2GA,SAAsBC,EAAQ,IAC5B,MAAMC,QACJA,EAAAC,aACAA,EAAeC,EAAAC,sBACfA,EAAwBC,EAAAC,sBACxBA,EAAwBD,GACtBL,EACEO,EAAWC,IACf,EAAWC,EAAiBV,UAAA,EAAaW,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACrEG,MAAOC,GAAA,EAAiBF,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACpDN,eACAD,gBAKN,OADAM,EAASM,gBAAiB,EACnB,CAACC,EAAKC,EAAe,OAE1B,EAAIC,EAAcC,wBAAwBH,EAAKI,GAAUA,EAAOC,OAAOC,KAAoB,MAATA,GAAiBA,EAAMP,kBACzG,MACIQ,KAAMC,EACNC,KAAMC,EACNC,qBAAsBC,EACtBC,OAAQC,EAAAC,kBAGRA,EAAoBC,EAAyBC,E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BD,EAAQvH,MACjBwH,EAAUD,EAAQvH,OAAA,EAAUE,EAAUX,SAAS,CAC7C2H,cACClH,EAAOkH,IAEVhI,OAAO6H,KAAKQ,EAAQvH,OAAOsD,QAAQmE,KACd,MAAdP,OAAqB,EAASA,EAAWO,MAAUF,EAAQvH,MAAMyH,IAAQzH,EAAMyH,KAASF,EAAQvH,MAAMyH,KACzGD,GAAU,KAIZA,EAAS,CACN3D,MAAMC,QAAQwD,KACjBA,EAAS,CAACA,IAEZ,MAAMI,EAAwC,mBAAlBH,EAAQ3G,MAAuB2G,EAAQ3G,OAAA,EAAUV,EAAUX,SAAS,CAC9F2H,cACClH,EAAOkH,IAAeK,EAAQ3G,MACjC0G,EAAOrE,KAAKtB,EAAY4E,GAAA,EAAiB/F,EAAcmH,0BAA0BD,GAAe/F,GAAa+F,EAAY,IAGtHJ,CAAA,CAET,OAAO3F,EAAY4E,KAAiB/F,EAAcmH,0BAA0BR,GAAoBxF,GAAawF,CAC/G","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["_interopRequireDefault","require$$0","Object","defineProperty","createStyled_1","value","_default","default","input","themeId","defaultTheme","systemDefaultTheme","rootShouldForwardProp","shouldForwardProp","slotShouldForwardProp","systemSx","props","_styleFunctionSx","_extends2","theme","resolveTheme","__mui_systemSx","tag","inputOptions","_styledEngine","internal_processStyles","styles","filter","style","name","componentName","slot","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","overridesResolver","defaultOverridesResolver","lowercaseFirstLetter","options","_objectWithoutPropertiesLoose2","_excluded3","layerName","startsWith","label","define_process_env_default","NODE_ENV","shouldForwardPropOption","charCodeAt","isStringTag","defaultStyledResolver","transformStyleArg","stylesArg","__emotion_real","_deepmerge","isPlainObject","processStyleArg","modularCssLayers","muiStyledResolver","styleArg","expressions","transformedStyleArg","expressionsWithDefaultTheme","map","push","components","styleOverrides","resolvedStyleOverrides","entries","forEach","slotKey","slotStyle","_theme$components","variants","numOfCustomFnsApplied","length","Array","isArray","placeholders","fill","raw","Component","displayName","_capitalize","_getDisplayName","muiName","withConfig","require$$1","require$$2","e","__esModule","t","_getRequireWildcardCache","_interopRequireWildcard","has","get","n","__proto__","a","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","require$$3","require$$4","require$$5","require$$6","_createTheme","require$$7","require$$8","_excluded","_excluded2","WeakMap","r","prop","shallowLayer","serialized","String","string","charAt","toLowerCase","slice","obj","keys","callableStyle","_ref","ownerState","resolvedStylesArg","flatMap","resolvedStyle","result","variant","isMatch","key","variantStyle","internal_serializeStyles"],"mappings":"qoBAEIA,EAAyBC,EAAAA,6BAC7BC,OAAOC,eAAeC,EAAAA,UAAS,aAAc,CAC3CC,OAAO,IAET,IAAAC,EAAAF,EAAAA,UAAAG,QA2GA,SAAsBC,EAAQ,IAC5B,MAAMC,QACJA,EAAAC,aACAA,EAAeC,EAAAC,sBACfA,EAAwBC,EAAAC,sBACxBA,EAAwBD,GACtBL,EACEO,EAAWC,IACf,EAAWC,EAAiBV,UAAA,EAAaW,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACrEG,MAAOC,GAAA,EAAiBF,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACpDN,eACAD,gBAKN,OADAM,EAASM,gBAAiB,EACnB,CAACC,EAAKC,EAAe,OAE1B,EAAIC,EAAcC,wBAAwBH,EAAKI,GAAUA,EAAOC,OAAOC,KAAoB,MAATA,GAAiBA,EAAMP,kBACzG,MACIQ,KAAMC,EACNC,KAAMC,EACNC,qBAAsBC,EACtBC,OAAQC,EAAAC,kBAGRA,EAAoBC,EAAyBC,EAAqBP,KAChET,EACJiB,GAAA,EAAcC,EAA+BlC,SAASgB,EAAcmB,GAChEC,EAAYb,GAAiBA,EAAcc,WAAW,QAAYZ,EAAgB,aAAe,SAGjGC,OAAqD,IAA9BC,EAA0CA,EAGvEF,GAAmC,SAAlBA,GAA8C,SAAlBA,IAA4B,EACnEG,EAASC,IAAe,EAC9B,IAAIS,EACyB,eAAzBC,EAAYC,UACVjB,IAGFe,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,QAAQwD,KACjBA,EAAS,CAACA,IAEZ,MAAMI,EAAwC,mBAAlBH,EAAQ3G,MAAuB2G,EAAQ3G,OAAA,EAAUV,EAAUX,SAAS,CAC9F2H,cACClH,EAAOkH,IAAeK,EAAQ3G,MACjC0G,EAAOrE,KAAKtB,EAAY4E,GAAA,EAAiB/F,EAAcmH,0BAA0BD,GAAe/F,GAAa+F,EAAY,IAGtHJ,CAAA,CAET,OAAO3F,EAAY4E,KAAiB/F,EAAcmH,0BAA0BR,GAAoBxF,GAAawF,CAC/G","x_google_ignoreList":[0]}
package/dist/style.css CHANGED
@@ -152,14 +152,14 @@
152
152
  /*$vite$:1*/
153
153
  .edisabled{-moz-user-select:none;-webkit-user-select:none;user-select:none;pointer-events:none;filter:opacity(.5)}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.625rem}.pb-2{padding-bottom:1.25rem}.pt-1{padding-top:.625rem}.pl-1{padding-left:.625rem}.pr-1{padding-right:.625rem}.pr-2{padding-right:1.25rem}.pt-0{padding-top:0!important}.pl-2{padding-left:1.25rem!important}.p-0{padding:0!important}.pl-0{padding-left:0!important}.mb-0{margin-bottom:0!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.625rem!important}.mb-2{margin-bottom:1.25rem!important}.mb-1{margin-bottom:.625rem!important}.mt-2{margin-top:1.25rem!important}.mb-1-2{margin-bottom:.75rem!important}.mr-2{margin-right:1.25rem!important}.d-flex{display:flex!important}.justify-content-center{justify-content:center!important}.align-items-center{align-items:center!important}.flex-direction-column{flex-direction:column!important}.justify-content-end{justify-content:flex-end!important}.justify-content-between{justify-content:space-between}.justify-content-start{justify-content:flex-start!important}.justify-content-space-evenly{justify-content:space-evenly!important}.fd-column,.fd-col{flex-direction:column!important}.ai-center{align-items:center!important}.ai-start{align-items:flex-start!important}.jc-space-between{justify-content:space-between}.jc-start{justify-content:flex-start!important}.jc-end{justify-content:end!important}.fd-col{flex-direction:column!important}.text-center{text-align:center}.text-right{text-align:right!important}.text-left{text-align:left!important}.w-100{width:100%!important}.w-25{width:25%}.w-50{width:50%}.w-40,.w-60{width:60%}.h-100{height:100%!important}.vh-100{height:100vh!important}.row{width:100%;display:flex;margin:.625rem}.col-9{width:75%}.col-8{width:66.64%}.col-7{width:58.31%}.col-6{width:50%}.col-5{width:41.65%}.col-4{width:33.32%}.col-3{width:25%}.col{width:33.33%}.h1{font-size:1.75rem;line-height:140%;letter-spacing:-.035rem}.h2{font-size:1.5rem;line-height:140%;letter-spacing:-.03rem}.h3{font-size:1.25rem;letter-spacing:-.025rem}.h4{font-size:1.125rem;letter-spacing:-.0225rem}.h5{font-size:1rem;letter-spacing:-.02rem}.s1{font-size:1.125rem;letter-spacing:-.0225rem}.s2{font-size:1rem;letter-spacing:-.02rem}.s3{font-size:.875rem;letter-spacing:-.0175rem}.s4{font-size:.8125rem;letter-spacing:-.01625rem}.s5{font-size:.75rem;letter-spacing:-.015rem}.normal{font-weight:400}.medium{font-weight:500}.bold{font-weight:600}
154
154
  /*$vite$:1*/
155
+ .react-kanban-board{padding:5px}.react-kanban-card{border-radius:3px;background-color:#fff;padding:10px;margin-bottom:7px}.react-kanban-card-skeleton,.react-kanban-card,.react-kanban-card-adder-form{box-sizing:border-box;max-width:250px;min-width:250px}.react-kanban-card--dragging{box-shadow:2px 2px gray}.react-kanban-card__description{padding-top:10px}.react-kanban-card__title{border-bottom:1px solid #eee;padding-bottom:5px;font-weight:700;display:flex;justify-content:space-between}.react-kanban-column{padding:15px;border-radius:2px;background-color:#eee;margin:5px}.react-kanban-column input:focus{outline:none}.react-kanban-card-adder-form{border-radius:3px;background-color:#fff;padding:10px;margin-bottom:7px}.react-kanban-card-adder-form input{border:0px;font-family:inherit;font-size:inherit}.react-kanban-card-adder-button{width:100%;margin-top:5px;background-color:transparent;cursor:pointer;border:1px solid #ccc;transition:.3s;border-radius:3px;font-size:20px;margin-bottom:10px;font-weight:700}.react-kanban-card-adder-button:hover{background-color:#ccc}.react-kanban-card-adder-form__title{border-bottom:1px solid #eee;font-weight:700;display:flex;justify-content:space-between;width:100%;padding:0}.react-kanban-card-adder-form__title:focus{outline:none}.react-kanban-card-adder-form__description{width:100%;margin-top:10px}.react-kanban-card-adder-form__description:focus{outline:none}.react-kanban-card-adder-form__button{background-color:#eee;border:none;padding:5px;width:45%;margin-top:5px;border-radius:3px}.react-kanban-card-adder-form__button:hover{transition:.3s;cursor:pointer;background-color:#ccc}.react-kanban-column-header{padding-bottom:10px;font-weight:700}.react-kanban-column-header input:focus{outline:none}.react-kanban-column-header__button{color:#333;background-color:#fff;border-color:#ccc}.react-kanban-column-header__button:hover,.react-kanban-column-header__button:focus,.react-kanban-column-header__button:active{background-color:#e6e6e6}.react-kanban-column-adder-button{border:2px dashed #eee;height:132px;margin:5px}.react-kanban-column-adder-button:hover{cursor:pointer}
156
+ /*$vite$:1*/
155
157
  ._3_ygE{display:table;border-bottom:#e6e4e4 1px solid;border-top:#e6e4e4 1px solid;border-left:#e6e4e4 1px solid}._1nBOt{display:table-row;list-style:none}._2eZzQ{border-right:1px solid rgb(196,196,196);opacity:1;margin-left:-2px}._WuQ0f{display:table-cell;vertical-align:-webkit-baseline-middle;vertical-align:middle}._3ZbQT{display:table;border-bottom:#e6e4e4 1px solid;border-left:#e6e4e4 1px solid}._34SS0{display:table-row;text-overflow:ellipsis}._34SS0:nth-of-type(2n){background-color:#f5f5f5}._3lLk3{display:table-cell;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._nI1Xw{display:flex}._2QjE6{color:#565656;font-size:.6rem;padding:.15rem .2rem 0rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}._2TfEi{font-size:.6rem;padding-left:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3T42e{background:#fff;padding:12px;box-shadow:0 3px 6px #00000029,0 3px 6px #0000003b}._29NTg{font-size:12px;margin-bottom:6px;color:#666}._25P-K{position:absolute;display:flex;flex-shrink:0;pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3gVAq{visibility:hidden;position:absolute;display:flex;pointer-events:none}._1eT-t{overflow:hidden auto;width:1rem;flex-shrink:0;scrollbar-width:thin}._1eT-t::-webkit-scrollbar{width:1.1rem;height:1.1rem}._1eT-t::-webkit-scrollbar-corner{background:transparent}._1eT-t::-webkit-scrollbar-thumb{border:6px solid transparent;background:#0003;background:var(--palette-black-alpha-20, rgba(0, 0, 0, .2));border-radius:10px;background-clip:padding-box}._1eT-t::-webkit-scrollbar-thumb:hover{border:4px solid transparent;background:#0000004d;background:var(--palette-black-alpha-30, rgba(0, 0, 0, .3));background-clip:padding-box}._2dZTy{fill:#fff}._2dZTy:nth-child(2n){fill:#f5f5f5}._3rUKi{stroke:#ebeff2}._RuwuK{stroke:#e6e4e4}._9w8d5{text-anchor:middle;fill:#333;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._1rLuZ{stroke:#e6e4e4}._2q1Kt{text-anchor:middle;fill:#555;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._35nLX{fill:#fff;stroke:#e0e0e0;stroke-width:1.4}._KxSXS{cursor:pointer;outline:none}._KxSXS:hover ._3w_5u{visibility:visible;opacity:1}._3w_5u{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden}._31ERP{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;stroke-width:0}._RRr13{cursor:pointer;outline:none}._2P2B1{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._1KJ6x{cursor:pointer;outline:none}._2RbVy{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:.6}._2pZMF{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._3zRJQ{fill:#fff;text-anchor:middle;font-weight:lighter;dominant-baseline:central;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._3KcaM{fill:#555;text-anchor:start;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._CZjuD{overflow:hidden;font-size:0;margin:0;padding:0}._2B2zv{margin:0;padding:0;overflow:hidden}._3eULf{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}._2k9Ys{overflow:auto;max-width:100%;scrollbar-width:thin;height:1.2rem}._2k9Ys::-webkit-scrollbar{width:1.1rem;height:1.1rem}._2k9Ys::-webkit-scrollbar-corner{background:transparent}._2k9Ys::-webkit-scrollbar-thumb{border:6px solid transparent;background:#0003;background:var(--palette-black-alpha-20, rgba(0, 0, 0, .2));border-radius:10px;background-clip:padding-box}._2k9Ys::-webkit-scrollbar-thumb:hover{border:4px solid transparent;background:#0000004d;background:var(--palette-black-alpha-30, rgba(0, 0, 0, .3));background-clip:padding-box}._19jgW{height:1px}
156
158
  /*$vite$:1*/
157
159
  .d1t1th9s{position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow:hidden;box-sizing:border-box;--overlay-top:var(--d1t1th9s-0);left:var(--d1t1th9s-1);top:var(--d1t1th9s-2);min-width:var(--d1t1th9s-3);min-height:var(--d1t1th9s-4);width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:400px;max-height:calc(100vh - var(--d1t1th9s-5));font-family:var(--gdg-font-family);font-size:var(--gdg-editor-font-size);text-align:start}@-webkit-keyframes glide_fade_in-d1t1th9s{0%{opacity:0%}to{opacity:100%}}@keyframes glide_fade_in-d1t1th9s{0%{opacity:0%}to{opacity:100%}}.d1t1th9s.gdg-style{border-radius:2px;background-color:var(--gdg-bg-cell);box-shadow:0 0 0 1px var(--gdg-accent-color),0 0 1px #3e415666,0 6px 12px #3e415626;-webkit-animation:glide_fade_in-d1t1th9s 60ms 1;animation:glide_fade_in-d1t1th9s 60ms 1}.d1t1th9s.pad{padding:var(--d1t1th9s-6) 8.5px 3px}.d1t1th9s .clip-region{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;overflow-y:auto;overflow-x:hidden;border-radius:2px;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.d1t1th9s .clip-region .gdg-growing-entry{height:100%}.d1t1th9s .clip-region input.gdg-input{width:100%;border:none;border-width:0;outline:none}.d1t1th9s .clip-region textarea.gdg-input{border:none;border-width:0;outline:none}.m15w2ly5{position:absolute;right:44px;bottom:44px;background-color:var(--gdg-bg-cell);background:linear-gradient(var(--gdg-bg-cell),var(--gdg-bg-cell-medium));border-radius:4px;z-index:1;box-shadow:0 0 0 1px var(--gdg-border-color),0 2px 5px #00000014;overflow:hidden}.m15w2ly5 .header{position:absolute;left:0;top:0;width:100%;height:4px;background-color:var(--gdg-bg-header);box-shadow:0 0 0 1px var(--gdg-border-color)}.m15w2ly5 .locationMarker{position:absolute;border:1px solid var(--gdg-accent-color);background-color:var(--gdg-accent-light)}.s1jz82f8 .dvn-scroller{overflow:var(--s1jz82f8-0);-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}.s1jz82f8 .hidden{visibility:hidden}.s1jz82f8 .dvn-scroll-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;pointer-events:none}.s1jz82f8 .dvn-scroll-inner>*{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.s1jz82f8 .dvn-scroll-inner .dvn-spacer{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.s1jz82f8 .dvn-scroll-inner .dvn-stack{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.s1jz82f8 .dvn-underlay>*{position:absolute;left:0;top:0}.s1jz82f8 canvas{outline:none}.s1jz82f8 canvas *{height:0}.sxep88s{position:absolute;top:4px;right:20px;background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);padding:8px;border:1px solid var(--gdg-border-color);border-radius:6px;font-size:var(--gdg-editor-font-size);-webkit-transform:translateX(var(--sxep88s-0));-ms-transform:translateX(var(--sxep88s-0));transform:translate(var(--sxep88s-0));-webkit-transition:-webkit-transform .15s;-webkit-transition:transform .15s;transition:transform .15s}.sxep88s .search-bar-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.sxep88s .search-status{padding-top:4px;font-size:11px}.sxep88s .search-progress{position:absolute;height:4px;left:0;bottom:0;background-color:var(--gdg-text-light)}.sxep88s input{width:220px;color:var(--gdg-textDark);background-color:var(--gdg-bg-cell);border:none;border-width:0;outline:none}.sxep88s button{width:24px;height:24px;padding:0;border:none;outline:none;background:none;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;color:var(--gdg-text-medium)}.sxep88s button:hover{color:var(--gdg-text-dark)}.sxep88s button .button-icon{width:16px;height:16px}.sxep88s button:disabled{opacity:.4;pointer-events:none}.r1kzy40b{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;border:none;outline:none;background-color:var(--gdg-bg-header-has-focus);border-radius:9px;padding:0 8px;box-shadow:0 0 0 1px var(--gdg-border-color);color:var(--gdg-text-group-header);min-height:var(--r1kzy40b-0);font:var(--gdg-header-font-style) var(--gdg-font-family)}.c1sqdbw3{padding:0 8px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--gdg-bg-header)}.wzg2m5k{position:relative;min-width:10px;min-height:10px;max-width:100%;max-height:100%;width:var(--wzg2m5k-0);height:var(--wzg2m5k-1);overflow:hidden;overflow:clip;contain:strict;direction:ltr}.wzg2m5k>:first-child{position:absolute;left:0;top:0;width:100%;height:100%}.b1bqsp5z{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.b1bqsp5z .boe-bubble{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:100px;padding:0 8px;height:20px;background-color:var(--gdg-bg-bubble);color:var(--gdg-text-dark);margin:2px}.b1bqsp5z textarea{position:absolute;top:0;left:0;width:0px;height:0px;opacity:0}.df2kt4a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.df2kt4a .doe-bubble{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 8px;height:24px;background-color:var(--gdg-bg-cell);color:var(--gdg-text-dark);margin:2px;border-radius:6px;box-shadow:0 0 1px #3e415666,0 1px 3px #3e415666}.df2kt4a .doe-bubble img{height:16px;object-fit:contain;margin-right:4px}.df2kt4a textarea{position:absolute;top:0;left:0;width:0px;height:0px;opacity:0}.i1eozt10{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:100%}.i1eozt10 .centering-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.i1eozt10 .centering-container img,.i1eozt10 .centering-container canvas{max-height:calc(100vh - var(--overlay-top) - 20px);object-fit:contain;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.i1eozt10 .centering-container canvas{max-width:380px}.i1eozt10 .edit-icon{position:absolute;top:12px;right:0;width:48px;height:48px;color:var(--gdg-accent-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.i1eozt10 .edit-icon>*{width:24px;height:24px}.i1eozt10 textarea{position:absolute;top:0;left:0;width:0px;height:0px;opacity:0}.mlbeo71{word-break:break-word;-webkit-touch-callout:default;padding-top:6px}.mlbeo71>*{margin:0}.mlbeo71 *:last-child{margin-bottom:0}.mlbeo71 p img{width:100%}.ijuk0po{position:absolute;left:0;right:0;top:0;bottom:0;width:100%;height:100%;border-radius:0;resize:none;white-space:pre-wrap;min-width:100%;overflow:hidden;border:0;background-color:transparent;font-size:var(--gdg-editor-font-size);line-height:16px;font-family:var(--gdg-font-family);color:var(--gdg-text-dark);padding:0;margin:0}.ijuk0po::-webkit-input-placeholder{color:var(--gdg-text-light)}.ijuk0po::-moz-placeholder{color:var(--gdg-text-light)}.ijuk0po:-ms-input-placeholder{color:var(--gdg-text-light)}.ijuk0po::placeholder{color:var(--gdg-text-light)}.invalid .ijuk0po{-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration-color:#d60606;text-decoration-color:#d60606}.saq3p5l{visibility:hidden;white-space:pre-wrap;word-wrap:break-word;width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:100%;min-width:100%;font-size:var(--gdg-editor-font-size);line-height:16px;font-family:var(--gdg-font-family);color:var(--gdg-text-dark);padding:0 0 2px;margin:0}.gf8vzix{position:relative;margin-top:6px}.mdwzdl1{min-width:var(--mdwzdl1-0);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;position:relative;color:var(--gdg-text-dark)}.mdwzdl1 .gf8vzix{-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;min-width:0}.mdwzdl1 .spacer{-webkit-flex:1;-ms-flex:1;flex:1}.mdwzdl1 .edit-icon{position:relative;cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:var(--gdg-accent-color);padding:0;height:24px;width:24px;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-transition:all "0.125s ease";transition:all "0.125s ease";border-radius:6px}.mdwzdl1 .edit-icon>*{width:16px;height:16px}.mdwzdl1 .edit-hover:hover{background-color:var(--gdg-accent-light);-webkit-transition:background-color .15s;transition:background-color .15s}.mdwzdl1 .checkmark-hover:hover{color:#fff;background-color:var(--gdg-accent-color)}.mdwzdl1 .md-edit-textarea{position:relative;top:0;left:0;width:0px;height:0px;margin-top:25px;opacity:0;padding:0}.mdwzdl1 .ml-6{margin-left:6px}.n1czszh3{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:6px 0 3px;color:var(--gdg-text-dark)}.n1czszh3>input{font-size:var(--gdg-editor-font-size);padding:0;font-family:var(--gdg-font-family);color:var(--gdg-text-dark);background-color:var(--gdg-bg-cell)}.uf0sjo8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:21px}.uf0sjo8 .link-area{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;cursor:pointer;margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--gdg-link-color);-webkit-text-decoration:underline!important;text-decoration:underline!important}.uf0sjo8 .edit-icon{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:32px;color:var(--gdg-accent-color);cursor:pointer;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.uf0sjo8 .edit-icon>*{width:24px;height:24px}.uf0sjo8 textarea{position:absolute;top:0;left:0;width:0px;height:0px;opacity:0}
158
160
  /*$vite$:1*/
159
161
  .listing-component{display:flex;flex-direction:column;height:100%}.listing-component .fallback-container,.listing-component .loading-container{flex:1;display:flex;align-items:center;justify-content:center}
160
162
  /*$vite$:1*/
161
- .react-kanban-board{padding:5px}.react-kanban-card{border-radius:3px;background-color:#fff;padding:10px;margin-bottom:7px}.react-kanban-card-skeleton,.react-kanban-card,.react-kanban-card-adder-form{box-sizing:border-box;max-width:250px;min-width:250px}.react-kanban-card--dragging{box-shadow:2px 2px gray}.react-kanban-card__description{padding-top:10px}.react-kanban-card__title{border-bottom:1px solid #eee;padding-bottom:5px;font-weight:700;display:flex;justify-content:space-between}.react-kanban-column{padding:15px;border-radius:2px;background-color:#eee;margin:5px}.react-kanban-column input:focus{outline:none}.react-kanban-card-adder-form{border-radius:3px;background-color:#fff;padding:10px;margin-bottom:7px}.react-kanban-card-adder-form input{border:0px;font-family:inherit;font-size:inherit}.react-kanban-card-adder-button{width:100%;margin-top:5px;background-color:transparent;cursor:pointer;border:1px solid #ccc;transition:.3s;border-radius:3px;font-size:20px;margin-bottom:10px;font-weight:700}.react-kanban-card-adder-button:hover{background-color:#ccc}.react-kanban-card-adder-form__title{border-bottom:1px solid #eee;font-weight:700;display:flex;justify-content:space-between;width:100%;padding:0}.react-kanban-card-adder-form__title:focus{outline:none}.react-kanban-card-adder-form__description{width:100%;margin-top:10px}.react-kanban-card-adder-form__description:focus{outline:none}.react-kanban-card-adder-form__button{background-color:#eee;border:none;padding:5px;width:45%;margin-top:5px;border-radius:3px}.react-kanban-card-adder-form__button:hover{transition:.3s;cursor:pointer;background-color:#ccc}.react-kanban-column-header{padding-bottom:10px;font-weight:700}.react-kanban-column-header input:focus{outline:none}.react-kanban-column-header__button{color:#333;background-color:#fff;border-color:#ccc}.react-kanban-column-header__button:hover,.react-kanban-column-header__button:focus,.react-kanban-column-header__button:active{background-color:#e6e6e6}.react-kanban-column-adder-button{border:2px dashed #eee;height:132px;margin:5px}.react-kanban-column-adder-button:hover{cursor:pointer}
162
- /*$vite$:1*/
163
163
  /**
164
164
  * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
165
165
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
@@ -113,6 +113,19 @@ function createLightTheme(primaryColor, direction = "ltr") {
113
113
  body: {
114
114
  direction,
115
115
  textAlign: isRTL ? "right" : "left"
116
+ },
117
+ a: {
118
+ textDecoration: "none",
119
+ color: "inherit",
120
+ cursor: "pointer"
121
+ // transition: '0.2s ease',
122
+ // '&:hover': {
123
+ // textDecoration: 'underline',
124
+ // color: (primaryColor || primaryGreen)[800],
125
+ // },
126
+ // '&:active': {
127
+ // opacity: 0.8,
128
+ // },
116
129
  }
117
130
  }
118
131
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../src/theme/theme-impl.tsx"],"sourcesContent":["import { createTheme } from \"@mui/material/styles\";\nimport {\n Color,\n primaryGreen,\n neutral,\n lightGreen,\n magenta,\n green,\n blue,\n red,\n olive,\n error,\n} from \"./color\";\nimport { Grow } from \"@mui/material\";\n// import { typography } from \"./typography\";\n\nfunction createLightTheme(primaryColor?: Color, direction: 'ltr' | 'rtl' = 'ltr') {\n\n const isRTL = direction === 'rtl';\n const primaryColorVariations = [\n {\n label: \"Olive Green\",\n color: olive,\n },\n {\n label: \"Primary Green\",\n color: primaryGreen,\n },\n ];\n\n const theme = createTheme({\n \n palette: {\n contrastThreshold: 2,\n primary: {\n main: (primaryColor || primaryGreen)[800],\n light: (primaryColor || primaryGreen)[600],\n dark: (primaryColor || primaryGreen)[800],\n contrastText: neutral[100],\n },\n tonalOffset: {\n light: 0.1,\n dark: 0.9,\n },\n theme: {\n bg: \"#ffffff\",\n // text: \"#ff0000\",\n text: neutral[900],\n secondary: { ...neutral },\n primary: primaryColor || primaryGreen,\n warning: { ...olive },\n grey: { ...neutral },\n success: { ...green },\n green: { ...green },\n tertiary1: { ...olive },\n tertiary2: { ...lightGreen },\n tertiary3: { ...magenta },\n tertiary4: { ...green },\n tertiary5: { ...blue },\n tertiary6: { ...red },\n error: { ...error },\n },\n grey: {\n ...neutral,\n 50: \"#FFFFFF\", \n A100: \"#C1C1C1\", // approximate accent, lighter\n A200: \"#A0A0A0\", // approximate accent\n A400: \"#707070\", // approximate accent\n A700: \"#4A4A4A\", // approximate accent, darker\n },\n warning: {\n main: olive[700],\n light: olive[500],\n dark: olive[700],\n contrastText: '#fff',\n },\n error: {\n main: error[600],\n light: error[300],\n dark: error[700],\n contrastText: '#fff',\n },\n success: {\n main: green[700],\n light: green[500],\n dark: green[700],\n contrastText: '#fff',\n },\n\n },\n typography: {\n fontFamily: `Inter, sans-serif`,\n // Text direction affects text alignment\n allVariants:{\n textAlign: isRTL ? 'right' : 'left',\n },\n h1: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h2: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h3: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h4: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h5: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h6: {\n textAlign: isRTL ? 'right' : 'left',\n },\n body1: {\n textAlign: isRTL ? 'right' : 'left',\n },\n body2: {\n textAlign: isRTL ? 'right' : 'left',\n },\n \n },\n components: {\n // Global CSS baseline adjustments\n MuiCssBaseline: {\n styleOverrides: {\n body: {\n direction,\n textAlign: isRTL ? 'right' : 'left',\n },\n },\n },\n\n // AppBar RTL configuration\n MuiAppBar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n '& .MuiToolbar-root': {\n flexDirection: 'row-reverse',\n },\n }),\n },\n },\n },\n\n // Toolbar RTL configuration\n MuiToolbar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 24,\n paddingRight: 16,\n '@media (min-width: 600px)': {\n paddingLeft: 24,\n paddingRight: 24,\n },\n }),\n },\n },\n },\n\n // Button RTL configuration\n MuiButton: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n '& .MuiButton-startIcon': {\n marginLeft: 8,\n marginRight: -4,\n // '& > *:nth-of-type(1)': {\n // fontSize: 20,\n // },\n },\n '& .MuiButton-endIcon': {\n marginLeft: -4,\n marginRight: 8,\n // '& > *:nth-of-type(1)': {\n // fontSize: 20,\n // },\n },\n }),\n },\n text: {\n ...(isRTL && {\n paddingLeft: 8,\n paddingRight: 8,\n }),\n },\n outlined: {\n ...(isRTL && {\n paddingLeft: 15,\n paddingRight: 15,\n }),\n color: neutral[1000],\n backgroundColor: '#fff',\n '& svg': {\n color: 'inherit',\n }\n },\n contained: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n }),\n },\n containedPrimary: {\n color: '#fff'\n },\n disabled: {\n color: '#fff'\n }\n },\n },\n\n // IconButton RTL configuration\n MuiIconButton: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n transform: 'scaleX(-1)',\n '& .MuiSvgIcon-root': {\n transform: 'scaleX(-1)',\n },\n }),\n },\n },\n },\n\n // List RTL configuration\n MuiList: {\n styleOverrides: {\n root: {\n // ...(isRTL && {\n // paddingLeft: 0,\n // paddingRight: 0,\n // }),\n padding: \"0.25rem\",\n zIndex: 700\n },\n },\n },\n\n // ListItem RTL configuration\n MuiListItem: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n flexDirection: 'row-reverse',\n }),\n },\n gutters: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n }),\n },\n },\n },\n\n // ListItemIcon RTL configuration\n MuiListItemIcon: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n marginRight: 0,\n marginLeft: 16,\n minWidth: 56,\n justifyContent: 'flex-end',\n }),\n },\n },\n },\n\n // ListItemText RTL configuration\n MuiListItemText: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 16,\n }),\n },\n primary: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n secondary: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Chip RTL configuration\n MuiChip: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row-reverse',\n }),\n },\n icon: {\n ...(isRTL && {\n marginLeft: 5,\n marginRight: -6,\n }),\n },\n deleteIcon: {\n ...(isRTL && {\n marginLeft: -6,\n marginRight: 5,\n }),\n },\n },\n },\n\n // TextField RTL configuration\n MuiTextField: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n '& .MuiInputBase-root': {\n textAlign: 'right',\n direction:'ltr'\n },\n '& .MuiInputLabel-root': {\n right: 14,\n left: 'auto',\n transformOrigin: 'top right',\n },\n '& .MuiInputLabel-shrink': {\n transformOrigin: 'top right',\n right: 14,\n left: 'auto',\n },\n }),\n },\n },\n },\n\n // Input RTL configuration\n MuiInput: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // OutlinedInput RTL configuration\n MuiOutlinedInput: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n '& .MuiOutlinedInput-notchedOutline legend': {\n textAlign: 'right',\n marginRight:5\n },\n }),\n \n // Target when used with Select\n '&.MuiInputBase-root': {\n '& .MuiSelect-select': {\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: '32px !important',\n paddingRight: '14px',\n }),\n },\n },\n },\n input: {\n ...(isRTL && {\n textAlign: 'right',\n \n }),\n \n // Ensure proper styling when combined with Select\n '&.MuiSelect-select': {\n padding: '8.5px 14px',\n minHeight: '1.4375em',\n marginRight: !isRTL?16:'',\n },\n },\n },\n },\n\n // FilledInput RTL configuration\n MuiFilledInput: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n input: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // InputLabel RTL configuration\n MuiInputLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n right: 14,\n left: 'auto',\n transformOrigin: 'top right',\n }),\n },\n shrink: {\n ...(isRTL && {\n transformOrigin: 'top right',\n right: 14,\n left: 'auto',\n }),\n },\n },\n },\n\n // FormControl RTL configuration\n MuiFormControl: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // FormLabel RTL configuration\n MuiFormLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // FormHelperText RTL configuration\n MuiFormHelperText: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 14,\n }),\n },\n },\n },\n\n // Select RTL configuration\n MuiSelect: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n select: {\n // Target the specific select input styling\n '&.MuiSelect-select': {\n // Add your custom styles here\n padding: '8.5px 14px',\n // fontSize: '1rem',\n lineHeight: 1.4375,\n letterSpacing: '0.00938em',\n \n // RTL specific styles\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: '32px', // Space for dropdown icon\n paddingRight: '14px',\n }),\n \n // Focus styles\n '&:focus': {\n backgroundColor: 'transparent',\n },\n },\n \n // Target the input base and outlined input combinations\n '&.MuiInputBase-input': {\n padding: 0, // Remove default padding as it's handled by select\n },\n \n '&.MuiOutlinedInput-input': {\n padding: '8.5px 14px',\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n icon: {\n ...(isRTL && {\n left: 7,\n right: 'auto',\n }),\n },\n },\n },\n\n MuiMenu: {\n styleOverrides: {\n paper: {\n boxShadow: 'none',\n border: '1px solid #e0e0e0',\n borderRadius: '8px',\n marginTop: '4px',\n // minWidth: '160px',\n },\n list: {\n padding: \"0.25rem\",\n },\n },\n },\n // MenuItem RTL configuration\n MuiMenuItem: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n justifyContent: 'flex-end',\n }),\n padding: \"0.5rem 0.75rem\",\n borderRadius: \"0.5rem\",\n marginTop: '0.125rem',\n marginBottom: '0.125rem',\n '&:first-of-type': {\n marginTop: '0',\n },\n '&:last-of-type': {\n marginBottom: '0',\n },\n '&.Mui-selected, &.Mui-selected .MuiTypography-root': {\n color: primaryGreen[700],\n fontWeight: 500,\n },\n '&.Mui-selected, &.Mui-selected .MuiChip-root .MuiTypography-root': {\n color: 'inherit',\n fontWeight: 'inherit',\n }\n },\n },\n },\n\n // Checkbox RTL configuration\n MuiCheckbox: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n padding: '9px 9px 9px 9px',\n }),\n },\n },\n },\n\n // Radio RTL configuration\n MuiRadio: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n padding: '9px 9px 9px 9px',\n }),\n },\n },\n },\n\n // FormControlLabel RTL configuration\n MuiFormControlLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row',\n \n }),\n },\n label: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Switch RTL configuration\n MuiSwitch: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n padding: 8,\n '& .MuiSwitch-track': {\n borderRadius: 22 / 2,\n },\n '& .MuiSwitch-thumb': {\n boxShadow: 'none',\n width: 16,\n height: 16,\n margin: 2,\n },\n }),\n },\n },\n },\n\n // Tab RTL configuration\n MuiTab: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n minWidth: 72,\n paddingLeft: 12,\n paddingRight: 12,\n }),\n },\n },\n },\n\n // Tabs RTL configuration\n MuiTabs: {\n styleOverrides: {\n root: {\n \n ...(isRTL && {\n flexDirection: 'row-reverse',\n // '& .MuiTabs-flexContainer': {\n // flexDirection: 'row',\n // },\n }),\n // '& .MuiTabScrollButton-root': {\n // display: 'none', // Hide disabled buttons \n // },\n },\n indicator: {\n ...(isRTL && {\n right: 'auto',\n left: 'auto',\n }),\n },\n },\n },\n\n // Card RTL configuration\n MuiCard: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // CardHeader RTL configuration\n MuiCardHeader: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n }),\n },\n content: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n action: {\n ...(isRTL && {\n alignSelf: 'flex-start',\n marginTop: -4,\n marginRight: 'auto',\n marginLeft: -8,\n }),\n },\n },\n },\n\n // CardContent RTL configuration\n MuiCardContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n }),\n },\n },\n },\n\n // CardActions RTL configuration\n MuiCardActions: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 8,\n paddingRight: 8,\n justifyContent: 'flex-start',\n }),\n },\n },\n },\n\n // Dialog RTL configuration\n MuiDialog: {\n defaultProps: {\n TransitionComponent: Grow,\n transitionDuration: 350,\n BackdropProps: {\n sx: {\n backdropFilter: 'blur(3px)',\n backgroundColor: 'rgba(0, 0, 0, 0.3)',\n },\n },\n },\n styleOverrides: {\n paper: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // DialogTitle RTL configuration\n MuiDialogTitle: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: 24,\n paddingRight: 24,\n }),\n backgroundColor: neutral[100], borderBottom:'1px solid', borderColor: neutral[200],\n position: 'sticky', top: 0, zIndex: 1000,\n padding: '10px 24px'\n },\n },\n },\n\n // DialogContent RTL configuration\n MuiDialogContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: 24,\n paddingRight: 24,\n }),\n },\n },\n },\n\n // DialogActions RTL configuration\n MuiDialogActions: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 24,\n paddingRight: 24,\n justifyContent: 'flex-start',\n }),\n ...(isRTL?{\n direction: 'ltr',\n }:{\n marginRight:'rtl'\n }),\n backgroundColor: neutral[200],\n position: 'sticky', bottom: 0, zIndex: 1000,\n paddingLeft: 24,\n paddingRight: 24,\n },\n \n },\n },\n\n // Snackbar RTL configuration\n MuiSnackbar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n left: 24,\n right: 'auto',\n }),\n },\n },\n },\n\n // SnackbarContent RTL configuration\n MuiSnackbarContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n flexDirection: 'row-reverse',\n }),\n },\n action: {\n ...(isRTL && {\n paddingLeft: 0,\n paddingRight: 16,\n marginLeft: 'auto',\n marginRight: -8,\n }),\n },\n },\n },\n\n // Tooltip RTL configuration\n MuiTooltip: {\n styleOverrides: {\n tooltip: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Breadcrumbs RTL configuration\n MuiBreadcrumbs: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row-reverse',\n }),\n },\n separator: {\n ...(isRTL && {\n transform: 'scaleX(-1)',\n }),\n },\n },\n },\n\n // Stepper RTL configuration\n MuiStepper: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 24,\n paddingRight: 24,\n }),\n },\n },\n },\n\n // Step RTL configuration\n MuiStep: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // StepLabel RTL configuration\n MuiStepLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row-reverse',\n }),\n },\n label: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 8,\n }),\n },\n },\n },\n\n // StepContent RTL configuration\n MuiStepContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 12,\n paddingLeft: 0,\n paddingRight: 8,\n borderLeft: 'none',\n borderRight: '1px solid rgba(0, 0, 0, 0.12)',\n }),\n },\n },\n },\n\n // Accordion RTL configuration\n MuiAccordion: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // AccordionSummary RTL configuration\n MuiAccordionSummary: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n flexDirection: 'row-reverse',\n }),\n },\n content: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 16,\n }),\n },\n expandIconWrapper: {\n ...(isRTL && {\n marginLeft: 0,\n marginRight: -12,\n }),\n },\n },\n },\n\n // AccordionDetails RTL configuration\n MuiAccordionDetails: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Pagination RTL configuration\n MuiPagination: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n direction: 'ltr', // Keep pagination LTR for numbers\n }),\n },\n },\n },\n\n // DataGrid RTL configuration - Commented out since @mui/x-data-grid is not installed\n // Uncomment this section if you install @mui/x-data-grid\n // MuiDataGrid: {\n // styleOverrides: {\n // root: {\n // ...(isRTL && {\n // '& .MuiDataGrid-cell': {\n // textAlign: 'right',\n // },\n // '& .MuiDataGrid-columnHeader': {\n // textAlign: 'right',\n // },\n // '& .MuiDataGrid-columnHeaderTitle': {\n // textAlign: 'right',\n // },\n // }),\n // },\n // },\n // },\n\n // Avatar RTL configuration\n MuiAvatar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n marginLeft: 8,\n marginRight: 0,\n }),\n },\n },\n },\n\n // Badge RTL configuration\n MuiBadge: {\n styleOverrides: {\n badge: {\n ...(isRTL && {\n left: 0,\n right: 'auto',\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n }),\n },\n },\n },\n\n MuiTableContainer: {\n styleOverrides: {\n root: {\n // 🔹 Top corners (Header)\n '& thead th:first-of-type': {\n borderTopLeftRadius: 8,\n },\n '& thead th:last-of-type': {\n borderTopRightRadius: 8,\n },\n \n // 🔹 Bottom corners (Footer rows)\n '& tfoot tr:last-of-type td:first-of-type': {\n borderBottomLeftRadius: 8,\n },\n '& tfoot tr:last-of-type td:last-of-type': {\n borderBottomRightRadius: 8,\n },\n \n // 🔹 If tfoot exists but has no td -> fallback to tbody\n '&:not(:has(tfoot td)) tbody tr:last-of-type td:first-of-type': {\n borderBottomLeftRadius: 8,\n },\n '&:not(:has(tfoot td)) tbody tr:last-of-type td:last-of-type': {\n borderBottomRightRadius: 8,\n },\n \n // 🔹 If tfoot doesn't exist at all -> fallback to tbody\n '&:not(:has(tfoot)) tbody tr:last-of-type td:first-of-type': {\n borderBottomLeftRadius: 8,\n },\n '&:not(:has(tfoot)) tbody tr:last-of-type td:last-of-type': {\n borderBottomRightRadius: 8,\n },\n \n // 🔹 Optional: Prevent content bleeding on rounded edges\n '& tbody tr:last-of-type td, & tfoot tr:last-of-type td': {\n overflow: 'hidden',\n },\n 'td:has(.no-data)': {\n border: `1px solid ${neutral[200]}`,\n borderTop: 0\n // borderRadius: 0 0 8px 8px;\n },\n '& .MuiTableRow-root:hover:last-of-type': {\n borderBottomLeftRadius: 8,\n borderBottomRightRadius: 8,\n },\n '& .MuiTableCell-root:first-child': {\n borderLeft: '1px solid #efefef'\n },\n '&:not(:has(tfoot td)) tbody tr:last-of-type .MuiTableCell-roote': {\n borderBottomRightRadius: 8,\n },\n \n '& tfoot tr:last-of-type .MuiTableCell-root': {\n borderBottom: '1px solid #efefef'\n },\n '&:not(:has(tfoot td)) tbody tr:last-of-type .MuiTableCell-root': {\n borderBottom: '1px solid #efefef'\n },\n // 🔹 If tfoot doesn't exist at all -> fallback to tbody\n '&:not(:has(tfoot)) tbody tr:last-of-type .MuiTableCell-root': {\n borderBottom: '1px solid #efefef'\n },\n '& .MuiTableRow-head': {\n boxShadow: 'none'\n }\n },\n },\n }\n \n },\n });\n\n return { theme, primaryColorVariations };\n}\n\nfunction createDarkTheme(primaryColor?: Color) {\n const primaryColorVariations = [\n {\n label: \"Red\",\n color: red,\n },\n {\n label: \"Blue\",\n color: blue,\n },\n ];\n\n const theme = createTheme({\n palette: {\n theme: {\n bg: \"#d9def2\",\n text: \"#002fee\",\n primary: {\n ...(primaryColor ? primaryColor : blue),\n },\n secondary: {\n ...neutral,\n },\n tertiary1: { ...olive },\n tertiary2: { ...lightGreen },\n tertiary3: { ...magenta },\n tertiary4: { ...green },\n tertiary5: { ...blue },\n tertiary6: { ...red },\n error: { ...error },\n },\n },\n });\n\n return { theme, primaryColorVariations };\n}\n\nexport const themes = { createLightTheme, createDarkTheme };\n\n// Export individual theme functions\nexport { createLightTheme, createDarkTheme };\n\n// Export color system\nexport * from './color';\n\n// Export theme types\n// export * from './types/extendMUIPalette'; // Temporarily disabled - .d.ts files can't be imported as modules\n\n// Export theme components\nexport { default as ThemeSelector } from './themeSelector';\nexport { default as ThemeWrapper } from './themeWrapper';"],"names":[],"mappings":";;;AAgBA,SAAS,iBAAiB,cAAsB,YAA2B,OAAO;AAEhF,QAAM,QAAQ,cAAc;AAC5B,QAAM,yBAAyB;AAAA,IAC7B;AAAA,MACE,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,IAET;AAAA,MACE,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,EACT;AAGF,QAAM,QAAQ,YAAY;AAAA,IAExB,SAAS;AAAA,MACP,mBAAmB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EA,SAAS,gBAAgB,cAAsB;AAC7C,QAAM,yBAAyB;AAAA,IAC7B;AAAA,MACE,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,IAET;AAAA,MACE,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,EACT;AAGF,QAAM,QAAQ,YAAY;AAAA,IACxB,SAAS;AAAA,MACP,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,MAAM;AAAA,QACN,SAAS;AAAA,UACP,GAAI,eAAe,eAAe;AAAA,QAAA;AAAA,QAEpC,WAAW;AAAA,UACT,GAAG;AAAA,QAAA;AAAA,QAEL,WAAW,EAAE,GAAG,MAAA;AAAA,QAChB,WAAW,EAAE,GAAG,WAAA;AAAA,QAChB,WAAW,EAAE,GAAG,QAAA;AAAA,QAChB,WAAW,EAAE,GAAG,MAAA;AAAA,QAChB,WAAW,EAAE,GAAG,KAAA;AAAA,QAChB,WAAW,EAAE,GAAG,IAAA;AAAA,QAChB,OAAO,EAAE,GAAG,MAAA;AAAA,MAAM;AAAA,IACpB;AAAA,EACF,CACD;AAED,SAAO,EAAE,OAAO,uBAAA;AAClB;AAEO,MAAM,SAAS,EAAE,kBAAkB,gBAAA;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../src/theme/theme-impl.tsx"],"sourcesContent":["import { createTheme } from \"@mui/material/styles\";\nimport {\n Color,\n primaryGreen,\n neutral,\n lightGreen,\n magenta,\n green,\n blue,\n red,\n olive,\n error,\n} from \"./color\";\nimport { Grow } from \"@mui/material\";\n// import { typography } from \"./typography\";\n\nfunction createLightTheme(primaryColor?: Color, direction: 'ltr' | 'rtl' = 'ltr') {\n\n const isRTL = direction === 'rtl';\n const primaryColorVariations = [\n {\n label: \"Olive Green\",\n color: olive,\n },\n {\n label: \"Primary Green\",\n color: primaryGreen,\n },\n ];\n\n const theme = createTheme({\n\n palette: {\n contrastThreshold: 2,\n primary: {\n main: (primaryColor || primaryGreen)[800],\n light: (primaryColor || primaryGreen)[600],\n dark: (primaryColor || primaryGreen)[800],\n contrastText: neutral[100],\n },\n tonalOffset: {\n light: 0.1,\n dark: 0.9,\n },\n theme: {\n bg: \"#ffffff\",\n // text: \"#ff0000\",\n text: neutral[900],\n secondary: { ...neutral },\n primary: primaryColor || primaryGreen,\n warning: { ...olive },\n grey: { ...neutral },\n success: { ...green },\n green: { ...green },\n tertiary1: { ...olive },\n tertiary2: { ...lightGreen },\n tertiary3: { ...magenta },\n tertiary4: { ...green },\n tertiary5: { ...blue },\n tertiary6: { ...red },\n error: { ...error },\n },\n grey: {\n ...neutral,\n 50: \"#FFFFFF\",\n A100: \"#C1C1C1\", // approximate accent, lighter\n A200: \"#A0A0A0\", // approximate accent\n A400: \"#707070\", // approximate accent\n A700: \"#4A4A4A\", // approximate accent, darker\n },\n warning: {\n main: olive[700],\n light: olive[500],\n dark: olive[700],\n contrastText: '#fff',\n },\n error: {\n main: error[600],\n light: error[300],\n dark: error[700],\n contrastText: '#fff',\n },\n success: {\n main: green[700],\n light: green[500],\n dark: green[700],\n contrastText: '#fff',\n },\n\n },\n typography: {\n fontFamily: `Inter, sans-serif`,\n // Text direction affects text alignment\n allVariants: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h1: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h2: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h3: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h4: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h5: {\n textAlign: isRTL ? 'right' : 'left',\n },\n h6: {\n textAlign: isRTL ? 'right' : 'left',\n },\n body1: {\n textAlign: isRTL ? 'right' : 'left',\n },\n body2: {\n textAlign: isRTL ? 'right' : 'left',\n },\n\n },\n components: {\n // Global CSS baseline adjustments\n MuiCssBaseline: {\n styleOverrides: {\n body: {\n direction,\n textAlign: isRTL ? 'right' : 'left',\n }, a: {\n textDecoration: 'none',\n color: 'inherit',\n cursor: 'pointer',\n // transition: '0.2s ease',\n\n // '&:hover': {\n // textDecoration: 'underline',\n // color: (primaryColor || primaryGreen)[800],\n // },\n\n // '&:active': {\n // opacity: 0.8,\n // },\n },\n },\n },\n\n // AppBar RTL configuration\n MuiAppBar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n '& .MuiToolbar-root': {\n flexDirection: 'row-reverse',\n },\n }),\n },\n },\n },\n\n // Toolbar RTL configuration\n MuiToolbar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 24,\n paddingRight: 16,\n '@media (min-width: 600px)': {\n paddingLeft: 24,\n paddingRight: 24,\n },\n }),\n },\n },\n },\n\n // Button RTL configuration\n MuiButton: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n '& .MuiButton-startIcon': {\n marginLeft: 8,\n marginRight: -4,\n // '& > *:nth-of-type(1)': {\n // fontSize: 20,\n // },\n },\n '& .MuiButton-endIcon': {\n marginLeft: -4,\n marginRight: 8,\n // '& > *:nth-of-type(1)': {\n // fontSize: 20,\n // },\n },\n }),\n },\n text: {\n ...(isRTL && {\n paddingLeft: 8,\n paddingRight: 8,\n }),\n },\n outlined: {\n ...(isRTL && {\n paddingLeft: 15,\n paddingRight: 15,\n }),\n color: neutral[1000],\n backgroundColor: '#fff',\n '& svg': {\n color: 'inherit',\n }\n },\n contained: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n }),\n },\n containedPrimary: {\n color: '#fff'\n },\n disabled: {\n color: '#fff'\n }\n },\n },\n\n // IconButton RTL configuration\n MuiIconButton: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n transform: 'scaleX(-1)',\n '& .MuiSvgIcon-root': {\n transform: 'scaleX(-1)',\n },\n }),\n },\n },\n },\n\n // List RTL configuration\n MuiList: {\n styleOverrides: {\n root: {\n // ...(isRTL && {\n // paddingLeft: 0,\n // paddingRight: 0,\n // }),\n padding: \"0.25rem\",\n zIndex: 700\n },\n },\n },\n\n // ListItem RTL configuration\n MuiListItem: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n flexDirection: 'row-reverse',\n }),\n },\n gutters: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n }),\n },\n },\n },\n\n // ListItemIcon RTL configuration\n MuiListItemIcon: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n marginRight: 0,\n marginLeft: 16,\n minWidth: 56,\n justifyContent: 'flex-end',\n }),\n },\n },\n },\n\n // ListItemText RTL configuration\n MuiListItemText: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 16,\n }),\n },\n primary: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n secondary: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Chip RTL configuration\n MuiChip: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row-reverse',\n }),\n },\n icon: {\n ...(isRTL && {\n marginLeft: 5,\n marginRight: -6,\n }),\n },\n deleteIcon: {\n ...(isRTL && {\n marginLeft: -6,\n marginRight: 5,\n }),\n },\n },\n },\n\n // TextField RTL configuration\n MuiTextField: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n '& .MuiInputBase-root': {\n textAlign: 'right',\n direction: 'ltr'\n },\n '& .MuiInputLabel-root': {\n right: 14,\n left: 'auto',\n transformOrigin: 'top right',\n },\n '& .MuiInputLabel-shrink': {\n transformOrigin: 'top right',\n right: 14,\n left: 'auto',\n },\n }),\n },\n },\n },\n\n // Input RTL configuration\n MuiInput: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // OutlinedInput RTL configuration\n MuiOutlinedInput: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n '& .MuiOutlinedInput-notchedOutline legend': {\n textAlign: 'right',\n marginRight: 5\n },\n }),\n\n // Target when used with Select\n '&.MuiInputBase-root': {\n '& .MuiSelect-select': {\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: '32px !important',\n paddingRight: '14px',\n }),\n },\n },\n },\n input: {\n ...(isRTL && {\n textAlign: 'right',\n\n }),\n\n // Ensure proper styling when combined with Select\n '&.MuiSelect-select': {\n padding: '8.5px 14px',\n minHeight: '1.4375em',\n marginRight: !isRTL ? 16 : '',\n },\n },\n },\n },\n\n // FilledInput RTL configuration\n MuiFilledInput: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n input: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // InputLabel RTL configuration\n MuiInputLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n right: 14,\n left: 'auto',\n transformOrigin: 'top right',\n }),\n },\n shrink: {\n ...(isRTL && {\n transformOrigin: 'top right',\n right: 14,\n left: 'auto',\n }),\n },\n },\n },\n\n // FormControl RTL configuration\n MuiFormControl: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // FormLabel RTL configuration\n MuiFormLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // FormHelperText RTL configuration\n MuiFormHelperText: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 14,\n }),\n },\n },\n },\n\n // Select RTL configuration\n MuiSelect: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n select: {\n // Target the specific select input styling\n '&.MuiSelect-select': {\n // Add your custom styles here\n padding: '8.5px 14px',\n // fontSize: '1rem',\n lineHeight: 1.4375,\n letterSpacing: '0.00938em',\n\n // RTL specific styles\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: '32px', // Space for dropdown icon\n paddingRight: '14px',\n }),\n\n // Focus styles\n '&:focus': {\n backgroundColor: 'transparent',\n },\n },\n\n // Target the input base and outlined input combinations\n '&.MuiInputBase-input': {\n padding: 0, // Remove default padding as it's handled by select\n },\n\n '&.MuiOutlinedInput-input': {\n padding: '8.5px 14px',\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n icon: {\n ...(isRTL && {\n left: 7,\n right: 'auto',\n }),\n },\n },\n },\n\n MuiMenu: {\n styleOverrides: {\n paper: {\n boxShadow: 'none',\n border: '1px solid #e0e0e0',\n borderRadius: '8px',\n marginTop: '4px',\n // minWidth: '160px',\n },\n list: {\n padding: \"0.25rem\",\n },\n },\n },\n // MenuItem RTL configuration\n MuiMenuItem: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n justifyContent: 'flex-end',\n }),\n padding: \"0.5rem 0.75rem\",\n borderRadius: \"0.5rem\",\n marginTop: '0.125rem',\n marginBottom: '0.125rem',\n '&:first-of-type': {\n marginTop: '0',\n },\n '&:last-of-type': {\n marginBottom: '0',\n },\n '&.Mui-selected, &.Mui-selected .MuiTypography-root': {\n color: primaryGreen[700],\n fontWeight: 500,\n },\n '&.Mui-selected, &.Mui-selected .MuiChip-root .MuiTypography-root': {\n color: 'inherit',\n fontWeight: 'inherit',\n }\n },\n },\n },\n\n // Checkbox RTL configuration\n MuiCheckbox: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n padding: '9px 9px 9px 9px',\n }),\n },\n },\n },\n\n // Radio RTL configuration\n MuiRadio: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n padding: '9px 9px 9px 9px',\n }),\n },\n },\n },\n\n // FormControlLabel RTL configuration\n MuiFormControlLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row',\n\n }),\n },\n label: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Switch RTL configuration\n MuiSwitch: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n padding: 8,\n '& .MuiSwitch-track': {\n borderRadius: 22 / 2,\n },\n '& .MuiSwitch-thumb': {\n boxShadow: 'none',\n width: 16,\n height: 16,\n margin: 2,\n },\n }),\n },\n },\n },\n\n // Tab RTL configuration\n MuiTab: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n minWidth: 72,\n paddingLeft: 12,\n paddingRight: 12,\n }),\n },\n },\n },\n\n // Tabs RTL configuration\n MuiTabs: {\n styleOverrides: {\n root: {\n\n ...(isRTL && {\n flexDirection: 'row-reverse',\n // '& .MuiTabs-flexContainer': {\n // flexDirection: 'row',\n // },\n }),\n // '& .MuiTabScrollButton-root': {\n // display: 'none', // Hide disabled buttons \n // },\n },\n indicator: {\n ...(isRTL && {\n right: 'auto',\n left: 'auto',\n }),\n },\n },\n },\n\n // Card RTL configuration\n MuiCard: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // CardHeader RTL configuration\n MuiCardHeader: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n }),\n },\n content: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n action: {\n ...(isRTL && {\n alignSelf: 'flex-start',\n marginTop: -4,\n marginRight: 'auto',\n marginLeft: -8,\n }),\n },\n },\n },\n\n // CardContent RTL configuration\n MuiCardContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n }),\n },\n },\n },\n\n // CardActions RTL configuration\n MuiCardActions: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 8,\n paddingRight: 8,\n justifyContent: 'flex-start',\n }),\n },\n },\n },\n\n // Dialog RTL configuration\n MuiDialog: {\n defaultProps: {\n TransitionComponent: Grow,\n transitionDuration: 350,\n BackdropProps: {\n sx: {\n backdropFilter: 'blur(3px)',\n backgroundColor: 'rgba(0, 0, 0, 0.3)',\n },\n },\n },\n styleOverrides: {\n paper: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // DialogTitle RTL configuration\n MuiDialogTitle: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: 24,\n paddingRight: 24,\n }),\n backgroundColor: neutral[100], borderBottom: '1px solid', borderColor: neutral[200],\n position: 'sticky', top: 0, zIndex: 1000,\n padding: '10px 24px'\n },\n },\n },\n\n // DialogContent RTL configuration\n MuiDialogContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n paddingLeft: 24,\n paddingRight: 24,\n }),\n },\n },\n },\n\n // DialogActions RTL configuration\n MuiDialogActions: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 24,\n paddingRight: 24,\n justifyContent: 'flex-start',\n }),\n ...(isRTL ? {\n direction: 'ltr',\n } : {\n marginRight: 'rtl'\n }),\n backgroundColor: neutral[200],\n position: 'sticky', bottom: 0, zIndex: 1000,\n paddingLeft: 24,\n paddingRight: 24,\n },\n\n },\n },\n\n // Snackbar RTL configuration\n MuiSnackbar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n left: 24,\n right: 'auto',\n }),\n },\n },\n },\n\n // SnackbarContent RTL configuration\n MuiSnackbarContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n flexDirection: 'row-reverse',\n }),\n },\n action: {\n ...(isRTL && {\n paddingLeft: 0,\n paddingRight: 16,\n marginLeft: 'auto',\n marginRight: -8,\n }),\n },\n },\n },\n\n // Tooltip RTL configuration\n MuiTooltip: {\n styleOverrides: {\n tooltip: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Breadcrumbs RTL configuration\n MuiBreadcrumbs: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row-reverse',\n }),\n },\n separator: {\n ...(isRTL && {\n transform: 'scaleX(-1)',\n }),\n },\n },\n },\n\n // Stepper RTL configuration\n MuiStepper: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 24,\n paddingRight: 24,\n }),\n },\n },\n },\n\n // Step RTL configuration\n MuiStep: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // StepLabel RTL configuration\n MuiStepLabel: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n flexDirection: 'row-reverse',\n }),\n },\n label: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 8,\n }),\n },\n },\n },\n\n // StepContent RTL configuration\n MuiStepContent: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 12,\n paddingLeft: 0,\n paddingRight: 8,\n borderLeft: 'none',\n borderRight: '1px solid rgba(0, 0, 0, 0.12)',\n }),\n },\n },\n },\n\n // Accordion RTL configuration\n MuiAccordion: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n textAlign: 'right',\n }),\n },\n },\n },\n\n // AccordionSummary RTL configuration\n MuiAccordionSummary: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n flexDirection: 'row-reverse',\n }),\n },\n content: {\n ...(isRTL && {\n textAlign: 'right',\n marginLeft: 0,\n marginRight: 16,\n }),\n },\n expandIconWrapper: {\n ...(isRTL && {\n marginLeft: 0,\n marginRight: -12,\n }),\n },\n },\n },\n\n // AccordionDetails RTL configuration\n MuiAccordionDetails: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n paddingLeft: 16,\n paddingRight: 16,\n textAlign: 'right',\n }),\n },\n },\n },\n\n // Pagination RTL configuration\n MuiPagination: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n direction: 'ltr', // Keep pagination LTR for numbers\n }),\n },\n },\n },\n\n // DataGrid RTL configuration - Commented out since @mui/x-data-grid is not installed\n // Uncomment this section if you install @mui/x-data-grid\n // MuiDataGrid: {\n // styleOverrides: {\n // root: {\n // ...(isRTL && {\n // '& .MuiDataGrid-cell': {\n // textAlign: 'right',\n // },\n // '& .MuiDataGrid-columnHeader': {\n // textAlign: 'right',\n // },\n // '& .MuiDataGrid-columnHeaderTitle': {\n // textAlign: 'right',\n // },\n // }),\n // },\n // },\n // },\n\n // Avatar RTL configuration\n MuiAvatar: {\n styleOverrides: {\n root: {\n ...(isRTL && {\n marginLeft: 8,\n marginRight: 0,\n }),\n },\n },\n },\n\n // Badge RTL configuration\n MuiBadge: {\n styleOverrides: {\n badge: {\n ...(isRTL && {\n left: 0,\n right: 'auto',\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n }),\n },\n },\n },\n\n MuiTableContainer: {\n styleOverrides: {\n root: {\n // 🔹 Top corners (Header)\n '& thead th:first-of-type': {\n borderTopLeftRadius: 8,\n },\n '& thead th:last-of-type': {\n borderTopRightRadius: 8,\n },\n\n // 🔹 Bottom corners (Footer rows)\n '& tfoot tr:last-of-type td:first-of-type': {\n borderBottomLeftRadius: 8,\n },\n '& tfoot tr:last-of-type td:last-of-type': {\n borderBottomRightRadius: 8,\n },\n\n // 🔹 If tfoot exists but has no td -> fallback to tbody\n '&:not(:has(tfoot td)) tbody tr:last-of-type td:first-of-type': {\n borderBottomLeftRadius: 8,\n },\n '&:not(:has(tfoot td)) tbody tr:last-of-type td:last-of-type': {\n borderBottomRightRadius: 8,\n },\n\n // 🔹 If tfoot doesn't exist at all -> fallback to tbody\n '&:not(:has(tfoot)) tbody tr:last-of-type td:first-of-type': {\n borderBottomLeftRadius: 8,\n },\n '&:not(:has(tfoot)) tbody tr:last-of-type td:last-of-type': {\n borderBottomRightRadius: 8,\n },\n\n // 🔹 Optional: Prevent content bleeding on rounded edges\n '& tbody tr:last-of-type td, & tfoot tr:last-of-type td': {\n overflow: 'hidden',\n },\n 'td:has(.no-data)': {\n border: `1px solid ${neutral[200]}`,\n borderTop: 0\n // borderRadius: 0 0 8px 8px;\n },\n '& .MuiTableRow-root:hover:last-of-type': {\n borderBottomLeftRadius: 8,\n borderBottomRightRadius: 8,\n },\n '& .MuiTableCell-root:first-child': {\n borderLeft: '1px solid #efefef'\n },\n '&:not(:has(tfoot td)) tbody tr:last-of-type .MuiTableCell-roote': {\n borderBottomRightRadius: 8,\n },\n\n '& tfoot tr:last-of-type .MuiTableCell-root': {\n borderBottom: '1px solid #efefef'\n },\n '&:not(:has(tfoot td)) tbody tr:last-of-type .MuiTableCell-root': {\n borderBottom: '1px solid #efefef'\n },\n // 🔹 If tfoot doesn't exist at all -> fallback to tbody\n '&:not(:has(tfoot)) tbody tr:last-of-type .MuiTableCell-root': {\n borderBottom: '1px solid #efefef'\n },\n '& .MuiTableRow-head': {\n boxShadow: 'none'\n }\n },\n },\n }\n\n },\n });\n\n return { theme, primaryColorVariations };\n}\n\nfunction createDarkTheme(primaryColor?: Color) {\n const primaryColorVariations = [\n {\n label: \"Red\",\n color: red,\n },\n {\n label: \"Blue\",\n color: blue,\n },\n ];\n\n const theme = createTheme({\n palette: {\n theme: {\n bg: \"#d9def2\",\n text: \"#002fee\",\n primary: {\n ...(primaryColor ? primaryColor : blue),\n },\n secondary: {\n ...neutral,\n },\n tertiary1: { ...olive },\n tertiary2: { ...lightGreen },\n tertiary3: { ...magenta },\n tertiary4: { ...green },\n tertiary5: { ...blue },\n tertiary6: { ...red },\n error: { ...error },\n },\n },\n });\n\n return { theme, primaryColorVariations };\n}\n\nexport const themes = { createLightTheme, createDarkTheme };\n\n// Export individual theme functions\nexport { createLightTheme, createDarkTheme };\n\n// Export color system\nexport * from './color';\n\n// Export theme types\n// export * from './types/extendMUIPalette'; // Temporarily disabled - .d.ts files can't be imported as modules\n\n// Export theme components\nexport { default as ThemeSelector } from './themeSelector';\nexport { default as ThemeWrapper } from './themeWrapper';"],"names":[],"mappings":";;;AAgBA,SAAS,iBAAiB,cAAsB,YAA2B,OAAO;AAEhF,QAAM,QAAQ,cAAc;AAC5B,QAAM,yBAAyB;AAAA,IAC7B;AAAA,MACE,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,IAET;AAAA,MACE,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,EACT;AAGF,QAAM,QAAQ,YAAY;AAAA,IAExB,SAAS;AAAA,MACP,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