@paperless/core 1.42.0 → 1.42.1

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.
@@ -1 +1 @@
1
- {"file":"index.cjs.js","mappings":";;;;;;;;MAAa,gBAAgB,GAAG,CAAC,GAAG,KAChC,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,MAAM,KAAK,IAAI,MAAM,CAAC,WAAW,EAAE,EAAE,EAAE;MAErD,gBAAgB,GAAG,CAAC,GAAG,KAChC,GAAG;GACE,WAAW,EAAE;GACb,OAAO,CAAC,cAAc,EAAE,CAAC,KAAK,KAC3B,KAAK,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;;ACPjE,gBAAe;EACd,MAAM,EAAE,OAAO;EACf,YAAY,EAAE,OAAO;EACrB,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,WAAW;EACpB,YAAY,EAAE,OAAO;EACrB,YAAY,EAAE,QAAQ;;EAGtB,aAAa,EAAE,OAAO;EACtB,aAAa,EAAE,OAAO;EACtB,aAAa,EAAE,OAAO;EACtB,aAAa,EAAE,QAAQ;EACvB,aAAa,EAAE,QAAQ;EACvB,aAAa,EAAE,QAAQ;CACvB;;MCXY,aAAa,GAAG,CAAC,IAAgB,KAAK,OAAO,CAAC,IAAI,EAAE;MAEpD,kBAAkB,GAAG,CAAC,IAAgB;EAClD,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC;EACnC,OAAO,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;AAChD,EAAE;MAEW,qBAAqB,GAAG,CAAC,IAAgB;EACrD,MAAM,GAAG,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;EACrC,OAAO,GAAG,GAAG,EAAE,CAAC;AACjB,EAAE;MAEW,kBAAkB,GAAG,CAAC,IAAgB;EAClD,MAAM,MAAM,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;EAC3C,OAAO,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC;AACnC,EAAE;MAEW,mBAAmB,GAAG,CAAC,IAAgB;EACnD,MAAM,MAAM,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;EAC3C,OAAO,MAAM,CAAC,UAAU,GAAG,MAAM,CAAC;AACnC,EAAE;MAEW,gBAAgB,GAAG,CAC/B,SAAqB,EACrB,OAAmB;EAEnB,OAAO,kBAAkB,CAAC,SAAS,CAAC,IAAI,mBAAmB,CAAC,OAAO,CAAC,CAAC;AACtE,EAAE;MAEW,aAAa,GAAG,MAC5B,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC,QAAQ;MACrC,QAAQ,GAAG,MAAM,aAAa,EAAE,IAAI,mBAAmB,CAAC,QAAQ,EAAE;MAClE,QAAQ,GAAG,MAAM,gBAAgB,CAAC,QAAQ,EAAE,YAAY,EAAE;MAC1D,SAAS,GAAG,MAAM,kBAAkB,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/utils/transformers.ts","src/tailwind/screens.ts","src/utils/screens.ts"],"sourcesContent":["export const camelToSnakeCase = (str) =>\n str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);\n\nexport const snakeToCamelCase = (str) =>\n str\n .toLowerCase()\n .replace(/([-_][a-z])/g, (group) =>\n group.toUpperCase().replace('-', '').replace('_', '')\n );\n","export default {\n\ttablet: '40rem', // 640 px\n\t'desktop-xs': '64rem', // 1024 px\n\t'desktop-sm': '80rem', // 1360 px\n\tdesktop: '85.375rem', // 1366\n\t'desktop-lg': '90rem', // 1440\n\t'desktop-xl': '120rem', // 1920\n\n\t// layout sizes\n\t'layout-1280': '80rem',\n\t'layout-1440': '90rem',\n\t'layout-1536': '96rem',\n\t'layout-1680': '105rem',\n\t'layout-1920': '120rem',\n\t'layout-2560': '160rem',\n};\n","import screens from '../tailwind/screens';\n\nexport type ScreenSize = keyof typeof screens;\n\nexport const getScreenSize = (size: ScreenSize) => screens[size];\n\nexport const getScreenSizeInRem = (size: ScreenSize) => {\n\tconst screen = getScreenSize(size);\n\treturn parseInt(screen.replace('rem', ''), 10);\n};\n\nexport const getScreenSizeInPixels = (size: ScreenSize) => {\n\tconst rem = getScreenSizeInRem(size);\n\treturn rem * 16;\n};\n\nexport const isBiggerThanScreen = (size: ScreenSize) => {\n\tconst pixels = getScreenSizeInPixels(size);\n\treturn window.innerWidth > pixels;\n};\n\nexport const isSmallerThanScreen = (size: ScreenSize) => {\n\tconst pixels = getScreenSizeInPixels(size);\n\treturn window.innerWidth < pixels;\n};\n\nexport const isBetweenScreens = (\n\tsmallSize: ScreenSize,\n\tbigSize: ScreenSize\n) => {\n\treturn isBiggerThanScreen(smallSize) && isSmallerThanScreen(bigSize);\n};\n\nexport const isTouchDevice = () =>\n\t!!window.matchMedia('(pointer: coarse)').matches;\nexport const isMobile = () => isTouchDevice() || isSmallerThanScreen('tablet');\nexport const isTablet = () => isBetweenScreens('tablet', 'desktop-xs');\nexport const isDesktop = () => isBiggerThanScreen('desktop-xs');\n"],"version":3}
1
+ {"file":"index.cjs.js","mappings":";;;;;;;;MAAa,gBAAgB,GAAG,CAAC,GAAG,KAChC,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,MAAM,KAAK,IAAI,MAAM,CAAC,WAAW,EAAE,EAAE,EAAE;MAErD,gBAAgB,GAAG,CAAC,GAAG,KAChC,GAAG;GACE,WAAW,EAAE;GACb,OAAO,CAAC,cAAc,EAAE,CAAC,KAAK,KAC3B,KAAK,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC;;ACPjE,gBAAe;EACd,MAAM,EAAE,OAAO;EACf,YAAY,EAAE,OAAO;EACrB,YAAY,EA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EACrB,OAAO,GACP;GACD;EACD,OAAO,EAAE;IACR,OAAO,CAAC,2BAA2B,CAAC;IACpC,OAAO,CAAC,yBAAyB,CAAC;IAClC,QAAQ;IACR,KAAK;GACL;CACD;;MCvCY,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;","names":["require$$0","plugin","rotate"],"sources":["src/utils/transformers.ts","src/tailwind/screens.ts","src/utils/screens.ts","src/tailwind/colors.ts","src/tailwind/shadows.ts","src/tailwind/border-radius.ts","src/tailwind/scale.ts","src/tailwind/rotate.ts","src/tailwind/typography.ts","src/tailwind/backdrop-blur.ts","src/tailwind/z-index.ts","src/tailwind/animation.ts","src/tailwind/width.ts","src/tailwind/height.ts","src/tailwind/spacing.ts","../../node_modules/tailwindcss/lib/util/createPlugin.js","../../node_modules/tailwindcss/lib/public/create-plugin.js","../../node_modules/tailwindcss/plugin.js","src/tailwind/plugins/safe-area.ts","src/tailwind/plugins/hover.ts","src/tailwind.config.ts","src/index.ts"],"sourcesContent":["export const camelToSnakeCase = (str) =>\n str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);\n\nexport const snakeToCamelCase = (str) =>\n str\n .toLowerCase()\n .replace(/([-_][a-z])/g, (group) =>\n group.toUpperCase().replace('-', '').replace('_', '')\n );\n","export default {\n\ttablet: '40rem', // 640 px\n\t'desktop-xs': '64rem', // 1024 px\n\t'desktop-sm': '80rem', // 1360 px\n\tdesktop: '85.375rem', // 1366\n\t'desktop-lg': '90rem', // 1440\n\t'desktop-xl': '120rem', // 1920\n\n\t// layout sizes\n\t'layout-1280': '80rem',\n\t'layout-1440': '90rem',\n\t'layout-1536': '96rem',\n\t'layout-1680': '105rem',\n\t'layout-1920': '120rem',\n\t'layout-2560': '160rem',\n};\n","import screens from '../tailwind/screens';\n\nexport type ScreenSize = keyof typeof screens;\n\nexport const getScreenSize = (size: ScreenSize) => screens[size];\n\nexport const getScreenSizeInRem = (size: ScreenSize) => {\n\tconst screen = getScreenSize(size);\n\treturn parseInt(screen.replace('rem', ''), 10);\n};\n\nexport const getScreenSizeInPixels = (size: ScreenSize) => {\n\tconst rem = getScreenSizeInRem(size);\n\treturn rem * 16;\n};\n\nexport const isBiggerThanScreen = (size: ScreenSize) => {\n\tconst pixels = getScreenSizeInPixels(size);\n\treturn window.innerWidth > pixels;\n};\n\nexport const isSmallerThanScreen = (size: ScreenSize) => {\n\tconst pixels = getScreenSizeInPixels(size);\n\treturn window.innerWidth < pixels;\n};\n\nexport const isBetweenScreens = (\n\tsmallSize: ScreenSize,\n\tbigSize: ScreenSize\n) => {\n\treturn isBiggerThanScreen(smallSize) && isSmallerThanScreen(bigSize);\n};\n\nexport const isTouchDevice = () =>\n\t!!window.matchMedia('(pointer: coarse)').matches;\nexport const isMobile = () => isTouchDevice() || isSmallerThanScreen('tablet');\nexport const isTablet = () => isBetweenScreens('tablet', 'desktop-xs');\nexport const isDesktop = () => isBiggerThanScreen('desktop-xs');\n","export default {\n\ttransparent: 'transparent',\n\tcurrent: 'currentColor',\n\tindigo: {\n\t\tdark: '#2C4BA9',\n\t\tDEFAULT: '#528AFA',\n\t\tlight: '#F1F6FF',\n\t},\n\tsky: {\n\t\tdark: '#30C2C9',\n\t\tDEFAULT: '#1EDAE3',\n\t\tlight: '#F5FEFF',\n\t\tvague: '#BBF4F6',\n\t},\n\tmystic: {\n\t\tblank: '#FFF',\n\t\tdark: '#DAE6F0',\n\t\tDEFAULT: '#F7FAFC',\n\t\tlight: '#FCFDFE',\n\t\tmedium: '#E3ECF3',\n\t},\n\tredberry: {\n\t\tdark: '#BD0F1E',\n\t\tDEFAULT: '#E63241',\n\t\tlight: '#FFE8EA',\n\t\tmedium: '#FF7D88',\n\t},\n\tstorm: {\n\t\tdark: '#272838',\n\t\tDEFAULT: '#51536B',\n\t\tlight: '#B0B2CB',\n\t\tmedium: '#80829E',\n\t\tvague: '#989AB7',\n\t},\n\tnegative: {\n\t\tdark: '#8A0F1D',\n\t\tDEFAULT: '#B91E28',\n\t\tlight: '#FFCCD3',\n\t},\n\tpositive: {\n\t\tdark: '#1DA360',\n\t\tDEFAULT: '#28D17C',\n\t\tlight: '#E5FFF2',\n\t},\n\tunbiased: {\n\t\tdark: '#FFA231',\n\t\tDEFAULT: '#FFC72D',\n\t\tlight: '#FFF6DC',\n\t},\n\twhite: '#FFF',\n\tblack: '#000',\n};\n","export default {\n\t1: '0px 0.0625rem 0.05rem rgba(0,0,0, 0.5)',\n\t2: '0px 0.0625rem 0.1125rem rgba(0,0,0, 0.65)',\n\t3: '0px 0.0625rem 0.125rem rgba(0,0,0, 0.65)',\n\t4: [\n\t\t'0px 0.3125rem 1rem rgba(0,24,98, 0.08)',\n\t\t'0px 0.0625rem 0.1875rem rgba(0,24,98, 0.13)',\n\t],\n\t5: '0px 0.1875rem 1rem rgba(0,24,98, 0.3)',\n\ttransparent: 'transparent',\n\t'button-primary-hover': '0px 2px 4px rgba(44,75,169, 0.4)',\n\t'button-secondary-hover': '0px 2px 4px rgba(176,178,203, 0.4)',\n};\n","export default {\n\txxxlarge: '1.5625rem',\n\txxlarge: '0.75rem',\n\txlarge: '0.5625rem',\n\tlarge: '0.375rem',\n\tDEFAULT: '0.25rem',\n\tmedium: '0.25rem',\n\tsmall: '0.125rem',\n\tnone: 0,\n\tround: '100%',\n};\n","export default {\n\tflip: '-1',\n};\n","const rotateNumbers = {};\n\nfor (let i = 1; i < 360; i++) {\n\trotateNumbers[`${i}`] = `${i}deg`;\n\trotateNumbers[`-${i}`] = `-${i}deg`;\n}\n\nexport default rotateNumbers;\n","export default {\n\tfontSize: {\n\t\th1: '2.5rem',\n\t\th2: '2rem',\n\t\th3: '1.5rem',\n\t\th4: '1.25rem',\n\t\th5: '1.125rem',\n\t\tbody: '1rem',\n\t\t'body-2': '1.125rem',\n\t\txxs: '0.6875rem',\n\t},\n\tlineHeight: {\n\t\th1: '3rem',\n\t\th2: '2.5rem',\n\t\th3: '1.875rem',\n\t\th4: '1.625rem',\n\t\th5: '1.375rem',\n\t\tbody: '1.75rem',\n\t\t'body-2': '1.875rem',\n\t},\n};\n","export default {\n\txs: '2px',\n};\n","export default {\n\t'floating-menu': 190,\n\tdropdown: 200,\n\n\t'navbar-topbar': 280,\n\t'navbar-backdrop': 290,\n\tnavbar: 300,\n\n\tbackdrop: 490,\n\n\tdrawer: 500,\n\t'drawer-header': 501,\n\n\tmodal: 600,\n\n\ttooltip: 601,\n\n\ttoast: 700,\n};\n","export default {\n\tanimation: {\n\t\t'fade-in': 'forwards fadeIn .2s ease',\n\t\t'fade-out': 'forwards fadeOut .2s ease',\n\t\t'slide-in-right': 'forwards slideInRight .5s ease',\n\t\t'slide-in-left': 'forwards slideInLeft .5s ease',\n\t\t'slide-in-top': 'forwards slideInTop .25 ease',\n\t\t'slide-in-bottom': 'forwards slideInBottom .5s ease',\n\t\t'slide-in-right-small': 'forwards slideInRightSmall .5s ease',\n\t\t'slide-in-left-small': 'forwards slideInLeftSmall .5s ease',\n\t\t'slide-in-top-small': 'forwards slideInTopSmall .5s ease',\n\t\t'slide-in-bottom-small': 'forwards slideInBottomSmall .5s ease',\n\t\t'slide-out-right': 'forwards slideOutRight .2s ease',\n\t\t'slide-out-left': 'forwards slideOutLeft .2s ease',\n\t\t'slide-out-top': 'forwards slideOutTop .2s ease',\n\t\t'slide-out-bottom': 'forwards slideOutBottom .5s ease',\n\t\t'slide-out-top-small': 'forwards slideOutTopSmall .5s ease',\n\t\t'slide-out-bottom-small': 'forwards slideOutBottomSmall .5s ease',\n\t},\n\n\tkeyframes: {\n\t\tfadeIn: {\n\t\t\t'0%': { opacity: 0 },\n\t\t\t'100%': { opacity: 100 },\n\t\t},\n\t\tfadeOut: {\n\t\t\t'0%': { opacity: 100 },\n\t\t\t'100%': { opacity: 0 },\n\t\t},\n\t\tslideInRight: {\n\t\t\t'0%': { transform: 'translateX(100%)' },\n\t\t\t'100%': { transform: 'translateX(0)' },\n\t\t},\n\t\tslideInLeft: {\n\t\t\t'0%': { transform: 'translateX(-100%)' },\n\t\t\t'100%': { transform: 'translateX(0)' },\n\t\t},\n\t\tslideInTop: {\n\t\t\t'0%': { transform: 'translateY(-100%)' },\n\t\t\t'100%': { transform: 'translateY(0)' },\n\t\t},\n\t\tslideInBottom: {\n\t\t\t'0%': { transform: 'translateY(100%)' },\n\t\t\t'100%': { transform: 'translateY(0)' },\n\t\t},\n\t\tslideInRightSmall: {\n\t\t\t'0%': { transform: 'translateX(20%)' },\n\t\t\t'100%': { transform: 'translateX(0)' },\n\t\t},\n\t\tslideInLeftSmall: {\n\t\t\t'0%': { transform: 'translateX(-20%)' },\n\t\t\t'100%': { transform: 'translateX(0)' },\n\t\t},\n\t\tslideInTopSmall: {\n\t\t\t'0%': { transform: 'translateY(-20%)' },\n\t\t\t'100%': { transform: 'translateY(0)' },\n\t\t},\n\t\tslideInBottomSmall: {\n\t\t\t'0%': { transform: 'translateY(20%)' },\n\t\t\t'100%': { transform: 'translateY(0)' },\n\t\t},\n\t\tslideOutRight: {\n\t\t\t'0%': { transform: 'translateX(0)' },\n\t\t\t'100%': { transform: 'translateX(100%)' },\n\t\t},\n\t\tslideOutLeft: {\n\t\t\t'0%': { transform: 'translateX(0)' },\n\t\t\t'100%': { transform: 'translateX(-100%)' },\n\t\t},\n\t\tslideOutTop: {\n\t\t\t'0%': { transform: 'translateY(0)' },\n\t\t\t'100%': { transform: 'translateY(-100%)' },\n\t\t},\n\t\tslideOutBottom: {\n\t\t\t'0%': { transform: 'translateY(0)' },\n\t\t\t'100%': { transform: 'translateY(100%)' },\n\t\t},\n\t\tslideOutTopSmall: {\n\t\t\t'0%': { transform: 'translateY(0)' },\n\t\t\t'100%': { transform: 'translateY(-20%)' },\n\t\t},\n\t\tslideOutBottomSmall: {\n\t\t\t'0%': { transform: 'translateY(0)' },\n\t\t\t'100%': { transform: 'translateY(20%)' },\n\t\t},\n\t},\n};\n","export default {\n\twidth: {\n\t\tunset: 'unset',\n\n\t\t// default variant\n\t\t'content-mobile': '100%',\n\t\t'content-1280': '62rem',\n\t\t'content-1440': '71rem',\n\t\t'content-1536': '77rem',\n\t\t'content-1680': '83rem',\n\n\t\t// login variant\n\t\t'sidebar-desktop-login': '100%',\n\t\t'content-desktop-login': '21rem',\n\t},\n};\n","export default {\n\theight: {\n\t\tunset: 'unset',\n\t},\n};\n","export default {\n\t// default variant layout\n\t'content-mobile-x': '1rem',\n\t'content-mobile-y': '1.5rem',\n\n\t'content-desktop-x': '2rem',\n\t'content-desktop-y': '2rem',\n\n\t18: '4.5rem',\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nfunction createPlugin(plugin, config) {\n return {\n handler: plugin,\n config\n };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n const optionsFunction = function(options) {\n return {\n __options: options,\n handler: pluginFunction(options),\n config: configFunction(options)\n };\n };\n optionsFunction.__isOptionsFunction = true;\n // Expose plugin dependencies so that `object-hash` returns a different\n // value if anything here changes, to ensure a rebuild is triggered.\n optionsFunction.__pluginFunction = pluginFunction;\n optionsFunction.__configFunction = configFunction;\n return optionsFunction;\n};\nconst _default = createPlugin;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return _default;\n }\n});\nconst _createPlugin = /*#__PURE__*/ _interop_require_default(require(\"../util/createPlugin\"));\nfunction _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nconst _default = _createPlugin.default;\n","let createPlugin = require('./lib/public/create-plugin')\nmodule.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default\n","// eslint-disable-next-line unicorn/prefer-module\nimport plugin from 'tailwindcss/plugin';\n\nconst safeArea = plugin(({ addUtilities }) => {\n\tconst utilities = {\n\t\t'.m-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.mx-safe': {\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.my-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.mt-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t},\n\t\t'.mr-safe': {\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t},\n\t\t'.mb-safe': {\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.ml-safe': {\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.p-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.px-safe': {\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.py-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.pt-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t},\n\t\t'.pr-safe': {\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t},\n\t\t'.pb-safe': {\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.pl-safe': {\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.min-h-screen': {\n\t\t\tminHeight: '100vh',\n\t\t},\n\t\t'.min-h-screen-safe': {\n\t\t\tminHeight:\n\t\t\t\t'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.max-h-screen': {\n\t\t\tmaxHeight: '100vh',\n\t\t},\n\t\t'.max-h-screen-safe': {\n\t\t\tmaxHeight:\n\t\t\t\t'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.h-screen-safe': {\n\t\t\theight: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.min-w-screen': {\n\t\t\tminWidth: '100vw',\n\t\t},\n\t\t'.min-w-screen-safe': {\n\t\t\tminWidth:\n\t\t\t\t'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t\t'.max-w-screen': {\n\t\t\tmaxWidth: '100vw',\n\t\t},\n\t\t'.max-w-screen-safe': {\n\t\t\tmaxWidth:\n\t\t\t\t'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t\t'.w-screen-safe': {\n\t\t\twidth: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t};\n\n\taddUtilities(utilities);\n});\n\n// eslint-disable-next-line unicorn/prefer-module\nexport default safeArea;\n","import plugin from 'tailwindcss/plugin';\n\nexport default {\n\t// ...\n\tplugins: [\n\t\t// ...\n\t\tplugin(({ addVariant }) => {\n\t\t\t// Hover media queries\n\t\t\taddVariant('has-hover', '@media (hover: hover)');\n\t\t\taddVariant('no-hover', '@media (hover: none)');\n\t\t\t// Applied on hover if supported, never applied otherwise\n\t\t\taddVariant('hover-never', '@media (hover: hover) { &:hover }');\n\t\t\taddVariant(\n\t\t\t\t'group-hover-never',\n\t\t\t\t'@media (hover: hover) { :merge(.group):hover & }'\n\t\t\t);\n\t\t\taddVariant(\n\t\t\t\t'peer-hover-never',\n\t\t\t\t'@media (hover: hover) { :merge(.peer):hover & }'\n\t\t\t);\n\t\t\t// Applied on hover if supported, always applied otherwise\n\t\t\taddVariant('hover-always', [\n\t\t\t\t'@media (hover: hover) { &:hover }',\n\t\t\t\t'@media (hover: none)',\n\t\t\t]);\n\t\t\taddVariant('group-hover-always', [\n\t\t\t\t'@media (hover: hover) { :merge(.group):hover & }',\n\t\t\t\t'@media (hover: none)',\n\t\t\t]);\n\t\t\taddVariant('peer-hover-always', [\n\t\t\t\t'@media (hover: hover) { :merge(.peer):hover & }',\n\t\t\t\t'@media (hover: none)',\n\t\t\t]);\n\t\t}),\n\t],\n};\n","import colors from './tailwind/colors';\nimport shadows from './tailwind/shadows';\nimport borderRadius from './tailwind/border-radius';\nimport scale from './tailwind/scale';\nimport rotate from './tailwind/rotate';\nimport typeograhpy from './tailwind/typography';\nimport backdropBlur from './tailwind/backdrop-blur';\nimport zIndex from './tailwind/z-index';\nimport animation from './tailwind/animation';\nimport screens from './tailwind/screens';\nimport width from './tailwind/width';\nimport height from './tailwind/height';\nimport spacing from './tailwind/spacing';\n\nimport safeArea from './tailwind/plugins/safe-area';\nimport hover from './tailwind/plugins/hover';\n\nexport default {\n\timportant: true,\n\ttheme: {\n\t\tcolors,\n\t\tboxShadow: shadows,\n\t\tdropShadow: shadows,\n\t\tborderRadius,\n\t\textend: {\n\t\t\t...animation,\n\t\t\tscale,\n\t\t\trotate,\n\t\t\tfontSize: typeograhpy.fontSize,\n\t\t\tlineHeight: typeograhpy.lineHeight,\n\t\t\tbackdropBlur,\n\t\t\tzIndex,\n\t\t\tscreens,\n\t\t\twidth: width.width,\n\t\t\theight: height.height,\n\t\t\tspacing,\n\t\t},\n\t},\n\tplugins: [\n\t\trequire('@tailwindcss/aspect-ratio'),\n\t\trequire('tailwind-scrollbar-hide'),\n\t\tsafeArea,\n\t\thover,\n\t],\n};\n","export { Components, JSX } from './components';\nexport * from './types';\nexport * from './utils';\n\nimport tailwindConfig from './tailwind.config';\nexport const tailwind = tailwindConfig;\n"],"version":3}
@@ -1,3 +1,5 @@
1
1
  export * from './types';
2
2
  export * from './utils';
3
+ import tailwindConfig from "./tailwind.config";
4
+ export const tailwind = tailwindConfig;
3
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC","sourcesContent":["export { Components, JSX } from './components';\nexport * from './types';\nexport * from './utils';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,MAAM,CAAC,MAAM,QAAQ,GAAG,cAAc,CAAC","sourcesContent":["export { Components, JSX } from './components';\nexport * from './types';\nexport * from './utils';\n\nimport tailwindConfig from './tailwind.config';\nexport const tailwind = tailwindConfig;\n"]}
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line unicorn/prefer-module
2
- const plugin = require('tailwindcss/plugin');
2
+ import plugin from "tailwindcss/plugin";
3
3
  const safeArea = plugin(({ addUtilities }) => {
4
4
  const utilities = {
5
5
  '.m-safe': {
@@ -1 +1 @@
1
- {"version":3,"file":"safe-area.js","sourceRoot":"","sources":["../../../src/tailwind/plugins/safe-area.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,MAAM,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAE7C,MAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;EAC5C,MAAM,SAAS,GAAG;IACjB,SAAS,EAAE;MACV,SAAS,EAAE,0BAA0B;MACrC,WAAW,EAAE,4BAA4B;MACzC,YAAY,EAAE,6BAA6B;MAC3C,UAAU,EAAE,2BAA2B;KACvC;IACD,UAAU,EAAE;MACX,WAAW,EAAE,4BAA4B;MACzC,UAAU,EAAE,2BAA2B;KACvC;IACD,UAAU,EAA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ACD,CAAC;EAEF,YAAY,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC;AAEH,iDAAiD;AACjD,eAAe,QAAQ,CAAC","sourcesContent":["// eslint-disable-next-line unicorn/prefer-module\nconst plugin = require('tailwindcss/plugin');\n\nconst safeArea = plugin(({ addUtilities }) => {\n\tconst utilities = {\n\t\t'.m-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.mx-safe': {\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.my-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.mt-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t},\n\t\t'.mr-safe': {\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t},\n\t\t'.mb-safe': {\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.ml-safe': {\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.p-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.px-safe': {\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.py-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.pt-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t},\n\t\t'.pr-safe': {\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t},\n\t\t'.pb-safe': {\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.pl-safe': {\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.min-h-screen': {\n\t\t\tminHeight: '100vh',\n\t\t},\n\t\t'.min-h-screen-safe': {\n\t\t\tminHeight:\n\t\t\t\t'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.max-h-screen': {\n\t\t\tmaxHeight: '100vh',\n\t\t},\n\t\t'.max-h-screen-safe': {\n\t\t\tmaxHeight:\n\t\t\t\t'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.h-screen-safe': {\n\t\t\theight: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.min-w-screen': {\n\t\t\tminWidth: '100vw',\n\t\t},\n\t\t'.min-w-screen-safe': {\n\t\t\tminWidth:\n\t\t\t\t'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t\t'.max-w-screen': {\n\t\t\tmaxWidth: '100vw',\n\t\t},\n\t\t'.max-w-screen-safe': {\n\t\t\tmaxWidth:\n\t\t\t\t'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t\t'.w-screen-safe': {\n\t\t\twidth: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t};\n\n\taddUtilities(utilities);\n});\n\n// eslint-disable-next-line unicorn/prefer-module\nexport default safeArea;\n"]}
1
+ {"version":3,"file":"safe-area.js","sourceRoot":"","sources":["../../../src/tailwind/plugins/safe-area.ts"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,OAAO,MAAM,MAAM,oBAAoB,CA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,wEAAwE;KACzE;IACD,gBAAgB,EAAE;MACjB,MAAM,EAAE,wEAAwE;KAChF;IACD,eAAe,EAAE;MAChB,QAAQ,EAAE,OAAO;KACjB;IACD,oBAAoB,EAAE;MACrB,QAAQ,EACP,wEAAwE;KACzE;IACD,eAAe,EAAE;MAChB,QAAQ,EAAE,OAAO;KACjB;IACD,oBAAoB,EAAE;MACrB,QAAQ,EACP,wEAAwE;KACzE;IACD,gBAAgB,EAAE;MACjB,KAAK,EAAE,wEAAwE;KAC/E;GACD,CAAC;EAEF,YAAY,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC;AAEH,iDAAiD;AACjD,eAAe,QAAQ,CAAC","sourcesContent":["// eslint-disable-next-line unicorn/prefer-module\nimport plugin from 'tailwindcss/plugin';\n\nconst safeArea = plugin(({ addUtilities }) => {\n\tconst utilities = {\n\t\t'.m-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.mx-safe': {\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.my-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.mt-safe': {\n\t\t\tmarginTop: 'env(safe-area-inset-top)',\n\t\t},\n\t\t'.mr-safe': {\n\t\t\tmarginRight: 'env(safe-area-inset-right)',\n\t\t},\n\t\t'.mb-safe': {\n\t\t\tmarginBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.ml-safe': {\n\t\t\tmarginLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.p-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.px-safe': {\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.py-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.pt-safe': {\n\t\t\tpaddingTop: 'env(safe-area-inset-top)',\n\t\t},\n\t\t'.pr-safe': {\n\t\t\tpaddingRight: 'env(safe-area-inset-right)',\n\t\t},\n\t\t'.pb-safe': {\n\t\t\tpaddingBottom: 'env(safe-area-inset-bottom)',\n\t\t},\n\t\t'.pl-safe': {\n\t\t\tpaddingLeft: 'env(safe-area-inset-left)',\n\t\t},\n\t\t'.min-h-screen': {\n\t\t\tminHeight: '100vh',\n\t\t},\n\t\t'.min-h-screen-safe': {\n\t\t\tminHeight:\n\t\t\t\t'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.max-h-screen': {\n\t\t\tmaxHeight: '100vh',\n\t\t},\n\t\t'.max-h-screen-safe': {\n\t\t\tmaxHeight:\n\t\t\t\t'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.h-screen-safe': {\n\t\t\theight: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',\n\t\t},\n\t\t'.min-w-screen': {\n\t\t\tminWidth: '100vw',\n\t\t},\n\t\t'.min-w-screen-safe': {\n\t\t\tminWidth:\n\t\t\t\t'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t\t'.max-w-screen': {\n\t\t\tmaxWidth: '100vw',\n\t\t},\n\t\t'.max-w-screen-safe': {\n\t\t\tmaxWidth:\n\t\t\t\t'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t\t'.w-screen-safe': {\n\t\t\twidth: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',\n\t\t},\n\t};\n\n\taddUtilities(utilities);\n});\n\n// eslint-disable-next-line unicorn/prefer-module\nexport default safeArea;\n"]}
@@ -49,6 +49,469 @@ const isMobile = () => isTouchDevice() || isSmallerThanScreen('tablet');
49
49
  const isTablet = () => isBetweenScreens('tablet', 'desktop-xs');
50
50
  const isDesktop = () => isBiggerThanScreen('desktop-xs');
51
51
 
52
- export { camelToSnakeCase, getScreenSize, getScreenSizeInPixels, getScreenSizeInRem, isBetweenScreens, isBiggerThanScreen, isDesktop, isMobile, isSmallerThanScreen, isTablet, isTouchDevice, snakeToCamelCase };
52
+ const colors = {
53
+ transparent: 'transparent',
54
+ current: 'currentColor',
55
+ indigo: {
56
+ dark: '#2C4BA9',
57
+ DEFAULT: '#528AFA',
58
+ light: '#F1F6FF',
59
+ },
60
+ sky: {
61
+ dark: '#30C2C9',
62
+ DEFAULT: '#1EDAE3',
63
+ light: '#F5FEFF',
64
+ vague: '#BBF4F6',
65
+ },
66
+ mystic: {
67
+ blank: '#FFF',
68
+ dark: '#DAE6F0',
69
+ DEFAULT: '#F7FAFC',
70
+ light: '#FCFDFE',
71
+ medium: '#E3ECF3',
72
+ },
73
+ redberry: {
74
+ dark: '#BD0F1E',
75
+ DEFAULT: '#E63241',
76
+ light: '#FFE8EA',
77
+ medium: '#FF7D88',
78
+ },
79
+ storm: {
80
+ dark: '#272838',
81
+ DEFAULT: '#51536B',
82
+ light: '#B0B2CB',
83
+ medium: '#80829E',
84
+ vague: '#989AB7',
85
+ },
86
+ negative: {
87
+ dark: '#8A0F1D',
88
+ DEFAULT: '#B91E28',
89
+ light: '#FFCCD3',
90
+ },
91
+ positive: {
92
+ dark: '#1DA360',
93
+ DEFAULT: '#28D17C',
94
+ light: '#E5FFF2',
95
+ },
96
+ unbiased: {
97
+ dark: '#FFA231',
98
+ DEFAULT: '#FFC72D',
99
+ light: '#FFF6DC',
100
+ },
101
+ white: '#FFF',
102
+ black: '#000',
103
+ };
104
+
105
+ const shadows = {
106
+ 1: '0px 0.0625rem 0.05rem rgba(0,0,0, 0.5)',
107
+ 2: '0px 0.0625rem 0.1125rem rgba(0,0,0, 0.65)',
108
+ 3: '0px 0.0625rem 0.125rem rgba(0,0,0, 0.65)',
109
+ 4: [
110
+ '0px 0.3125rem 1rem rgba(0,24,98, 0.08)',
111
+ '0px 0.0625rem 0.1875rem rgba(0,24,98, 0.13)',
112
+ ],
113
+ 5: '0px 0.1875rem 1rem rgba(0,24,98, 0.3)',
114
+ transparent: 'transparent',
115
+ 'button-primary-hover': '0px 2px 4px rgba(44,75,169, 0.4)',
116
+ 'button-secondary-hover': '0px 2px 4px rgba(176,178,203, 0.4)',
117
+ };
118
+
119
+ const borderRadius = {
120
+ xxxlarge: '1.5625rem',
121
+ xxlarge: '0.75rem',
122
+ xlarge: '0.5625rem',
123
+ large: '0.375rem',
124
+ DEFAULT: '0.25rem',
125
+ medium: '0.25rem',
126
+ small: '0.125rem',
127
+ none: 0,
128
+ round: '100%',
129
+ };
130
+
131
+ const scale = {
132
+ flip: '-1',
133
+ };
134
+
135
+ const rotateNumbers = {};
136
+ for (let i = 1; i < 360; i++) {
137
+ rotateNumbers[`${i}`] = `${i}deg`;
138
+ rotateNumbers[`-${i}`] = `-${i}deg`;
139
+ }
140
+
141
+ const typeograhpy = {
142
+ fontSize: {
143
+ h1: '2.5rem',
144
+ h2: '2rem',
145
+ h3: '1.5rem',
146
+ h4: '1.25rem',
147
+ h5: '1.125rem',
148
+ body: '1rem',
149
+ 'body-2': '1.125rem',
150
+ xxs: '0.6875rem',
151
+ },
152
+ lineHeight: {
153
+ h1: '3rem',
154
+ h2: '2.5rem',
155
+ h3: '1.875rem',
156
+ h4: '1.625rem',
157
+ h5: '1.375rem',
158
+ body: '1.75rem',
159
+ 'body-2': '1.875rem',
160
+ },
161
+ };
162
+
163
+ const backdropBlur = {
164
+ xs: '2px',
165
+ };
166
+
167
+ const zIndex = {
168
+ 'floating-menu': 190,
169
+ dropdown: 200,
170
+ 'navbar-topbar': 280,
171
+ 'navbar-backdrop': 290,
172
+ navbar: 300,
173
+ backdrop: 490,
174
+ drawer: 500,
175
+ 'drawer-header': 501,
176
+ modal: 600,
177
+ tooltip: 601,
178
+ toast: 700,
179
+ };
180
+
181
+ const animation = {
182
+ animation: {
183
+ 'fade-in': 'forwards fadeIn .2s ease',
184
+ 'fade-out': 'forwards fadeOut .2s ease',
185
+ 'slide-in-right': 'forwards slideInRight .5s ease',
186
+ 'slide-in-left': 'forwards slideInLeft .5s ease',
187
+ 'slide-in-top': 'forwards slideInTop .25 ease',
188
+ 'slide-in-bottom': 'forwards slideInBottom .5s ease',
189
+ 'slide-in-right-small': 'forwards slideInRightSmall .5s ease',
190
+ 'slide-in-left-small': 'forwards slideInLeftSmall .5s ease',
191
+ 'slide-in-top-small': 'forwards slideInTopSmall .5s ease',
192
+ 'slide-in-bottom-small': 'forwards slideInBottomSmall .5s ease',
193
+ 'slide-out-right': 'forwards slideOutRight .2s ease',
194
+ 'slide-out-left': 'forwards slideOutLeft .2s ease',
195
+ 'slide-out-top': 'forwards slideOutTop .2s ease',
196
+ 'slide-out-bottom': 'forwards slideOutBottom .5s ease',
197
+ 'slide-out-top-small': 'forwards slideOutTopSmall .5s ease',
198
+ 'slide-out-bottom-small': 'forwards slideOutBottomSmall .5s ease',
199
+ },
200
+ keyframes: {
201
+ fadeIn: {
202
+ '0%': { opacity: 0 },
203
+ '100%': { opacity: 100 },
204
+ },
205
+ fadeOut: {
206
+ '0%': { opacity: 100 },
207
+ '100%': { opacity: 0 },
208
+ },
209
+ slideInRight: {
210
+ '0%': { transform: 'translateX(100%)' },
211
+ '100%': { transform: 'translateX(0)' },
212
+ },
213
+ slideInLeft: {
214
+ '0%': { transform: 'translateX(-100%)' },
215
+ '100%': { transform: 'translateX(0)' },
216
+ },
217
+ slideInTop: {
218
+ '0%': { transform: 'translateY(-100%)' },
219
+ '100%': { transform: 'translateY(0)' },
220
+ },
221
+ slideInBottom: {
222
+ '0%': { transform: 'translateY(100%)' },
223
+ '100%': { transform: 'translateY(0)' },
224
+ },
225
+ slideInRightSmall: {
226
+ '0%': { transform: 'translateX(20%)' },
227
+ '100%': { transform: 'translateX(0)' },
228
+ },
229
+ slideInLeftSmall: {
230
+ '0%': { transform: 'translateX(-20%)' },
231
+ '100%': { transform: 'translateX(0)' },
232
+ },
233
+ slideInTopSmall: {
234
+ '0%': { transform: 'translateY(-20%)' },
235
+ '100%': { transform: 'translateY(0)' },
236
+ },
237
+ slideInBottomSmall: {
238
+ '0%': { transform: 'translateY(20%)' },
239
+ '100%': { transform: 'translateY(0)' },
240
+ },
241
+ slideOutRight: {
242
+ '0%': { transform: 'translateX(0)' },
243
+ '100%': { transform: 'translateX(100%)' },
244
+ },
245
+ slideOutLeft: {
246
+ '0%': { transform: 'translateX(0)' },
247
+ '100%': { transform: 'translateX(-100%)' },
248
+ },
249
+ slideOutTop: {
250
+ '0%': { transform: 'translateY(0)' },
251
+ '100%': { transform: 'translateY(-100%)' },
252
+ },
253
+ slideOutBottom: {
254
+ '0%': { transform: 'translateY(0)' },
255
+ '100%': { transform: 'translateY(100%)' },
256
+ },
257
+ slideOutTopSmall: {
258
+ '0%': { transform: 'translateY(0)' },
259
+ '100%': { transform: 'translateY(-20%)' },
260
+ },
261
+ slideOutBottomSmall: {
262
+ '0%': { transform: 'translateY(0)' },
263
+ '100%': { transform: 'translateY(20%)' },
264
+ },
265
+ },
266
+ };
267
+
268
+ const width = {
269
+ width: {
270
+ unset: 'unset',
271
+ // default variant
272
+ 'content-mobile': '100%',
273
+ 'content-1280': '62rem',
274
+ 'content-1440': '71rem',
275
+ 'content-1536': '77rem',
276
+ 'content-1680': '83rem',
277
+ // login variant
278
+ 'sidebar-desktop-login': '100%',
279
+ 'content-desktop-login': '21rem',
280
+ },
281
+ };
282
+
283
+ const height = {
284
+ height: {
285
+ unset: 'unset',
286
+ },
287
+ };
288
+
289
+ const spacing = {
290
+ // default variant layout
291
+ 'content-mobile-x': '1rem',
292
+ 'content-mobile-y': '1.5rem',
293
+ 'content-desktop-x': '2rem',
294
+ 'content-desktop-y': '2rem',
295
+ 18: '4.5rem',
296
+ };
297
+
298
+ function getDefaultExportFromCjs (x) {
299
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
300
+ }
301
+
302
+ function createCommonjsModule(fn, basedir, module) {
303
+ return module = {
304
+ path: basedir,
305
+ exports: {},
306
+ require: function (path, base) {
307
+ return commonjsRequire();
308
+ }
309
+ }, fn(module, module.exports), module.exports;
310
+ }
311
+
312
+ function commonjsRequire () {
313
+ throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
314
+ }
315
+
316
+ var createPlugin_1 = createCommonjsModule(function (module, exports) {
317
+ Object.defineProperty(exports, "__esModule", {
318
+ value: true
319
+ });
320
+ Object.defineProperty(exports, "default", {
321
+ enumerable: true,
322
+ get: function() {
323
+ return _default;
324
+ }
325
+ });
326
+ function createPlugin(plugin, config) {
327
+ return {
328
+ handler: plugin,
329
+ config
330
+ };
331
+ }
332
+ createPlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {
333
+ const optionsFunction = function(options) {
334
+ return {
335
+ __options: options,
336
+ handler: pluginFunction(options),
337
+ config: configFunction(options)
338
+ };
339
+ };
340
+ optionsFunction.__isOptionsFunction = true;
341
+ // Expose plugin dependencies so that `object-hash` returns a different
342
+ // value if anything here changes, to ensure a rebuild is triggered.
343
+ optionsFunction.__pluginFunction = pluginFunction;
344
+ optionsFunction.__configFunction = configFunction;
345
+ return optionsFunction;
346
+ };
347
+ const _default = createPlugin;
348
+ });
349
+
350
+ var createPlugin = createCommonjsModule(function (module, exports) {
351
+ Object.defineProperty(exports, "__esModule", {
352
+ value: true
353
+ });
354
+ Object.defineProperty(exports, "default", {
355
+ enumerable: true,
356
+ get: function() {
357
+ return _default;
358
+ }
359
+ });
360
+ const _createPlugin = /*#__PURE__*/ _interop_require_default(createPlugin_1);
361
+ function _interop_require_default(obj) {
362
+ return obj && obj.__esModule ? obj : {
363
+ default: obj
364
+ };
365
+ }
366
+ const _default = _createPlugin.default;
367
+ });
368
+
369
+ var plugin = createCommonjsModule(function (module) {
370
+ module.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
371
+ });
372
+
373
+ const plugin$1 = /*@__PURE__*/getDefaultExportFromCjs(plugin);
374
+
375
+ // eslint-disable-next-line unicorn/prefer-module
376
+ const safeArea = plugin$1(({ addUtilities }) => {
377
+ const utilities = {
378
+ '.m-safe': {
379
+ marginTop: 'env(safe-area-inset-top)',
380
+ marginRight: 'env(safe-area-inset-right)',
381
+ marginBottom: 'env(safe-area-inset-bottom)',
382
+ marginLeft: 'env(safe-area-inset-left)',
383
+ },
384
+ '.mx-safe': {
385
+ marginRight: 'env(safe-area-inset-right)',
386
+ marginLeft: 'env(safe-area-inset-left)',
387
+ },
388
+ '.my-safe': {
389
+ marginTop: 'env(safe-area-inset-top)',
390
+ marginBottom: 'env(safe-area-inset-bottom)',
391
+ },
392
+ '.mt-safe': {
393
+ marginTop: 'env(safe-area-inset-top)',
394
+ },
395
+ '.mr-safe': {
396
+ marginRight: 'env(safe-area-inset-right)',
397
+ },
398
+ '.mb-safe': {
399
+ marginBottom: 'env(safe-area-inset-bottom)',
400
+ },
401
+ '.ml-safe': {
402
+ marginLeft: 'env(safe-area-inset-left)',
403
+ },
404
+ '.p-safe': {
405
+ paddingTop: 'env(safe-area-inset-top)',
406
+ paddingRight: 'env(safe-area-inset-right)',
407
+ paddingBottom: 'env(safe-area-inset-bottom)',
408
+ paddingLeft: 'env(safe-area-inset-left)',
409
+ },
410
+ '.px-safe': {
411
+ paddingRight: 'env(safe-area-inset-right)',
412
+ paddingLeft: 'env(safe-area-inset-left)',
413
+ },
414
+ '.py-safe': {
415
+ paddingTop: 'env(safe-area-inset-top)',
416
+ paddingBottom: 'env(safe-area-inset-bottom)',
417
+ },
418
+ '.pt-safe': {
419
+ paddingTop: 'env(safe-area-inset-top)',
420
+ },
421
+ '.pr-safe': {
422
+ paddingRight: 'env(safe-area-inset-right)',
423
+ },
424
+ '.pb-safe': {
425
+ paddingBottom: 'env(safe-area-inset-bottom)',
426
+ },
427
+ '.pl-safe': {
428
+ paddingLeft: 'env(safe-area-inset-left)',
429
+ },
430
+ '.min-h-screen': {
431
+ minHeight: '100vh',
432
+ },
433
+ '.min-h-screen-safe': {
434
+ minHeight: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
435
+ },
436
+ '.max-h-screen': {
437
+ maxHeight: '100vh',
438
+ },
439
+ '.max-h-screen-safe': {
440
+ maxHeight: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
441
+ },
442
+ '.h-screen-safe': {
443
+ height: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
444
+ },
445
+ '.min-w-screen': {
446
+ minWidth: '100vw',
447
+ },
448
+ '.min-w-screen-safe': {
449
+ minWidth: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
450
+ },
451
+ '.max-w-screen': {
452
+ maxWidth: '100vw',
453
+ },
454
+ '.max-w-screen-safe': {
455
+ maxWidth: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
456
+ },
457
+ '.w-screen-safe': {
458
+ width: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
459
+ },
460
+ };
461
+ addUtilities(utilities);
462
+ });
463
+
464
+ const hover = {
465
+ // ...
466
+ plugins: [
467
+ // ...
468
+ plugin$1(({ addVariant }) => {
469
+ // Hover media queries
470
+ addVariant('has-hover', '@media (hover: hover)');
471
+ addVariant('no-hover', '@media (hover: none)');
472
+ // Applied on hover if supported, never applied otherwise
473
+ addVariant('hover-never', '@media (hover: hover) { &:hover }');
474
+ addVariant('group-hover-never', '@media (hover: hover) { :merge(.group):hover & }');
475
+ addVariant('peer-hover-never', '@media (hover: hover) { :merge(.peer):hover & }');
476
+ // Applied on hover if supported, always applied otherwise
477
+ addVariant('hover-always', [
478
+ '@media (hover: hover) { &:hover }',
479
+ '@media (hover: none)',
480
+ ]);
481
+ addVariant('group-hover-always', [
482
+ '@media (hover: hover) { :merge(.group):hover & }',
483
+ '@media (hover: none)',
484
+ ]);
485
+ addVariant('peer-hover-always', [
486
+ '@media (hover: hover) { :merge(.peer):hover & }',
487
+ '@media (hover: none)',
488
+ ]);
489
+ }),
490
+ ],
491
+ };
492
+
493
+ const tailwindConfig = {
494
+ important: true,
495
+ theme: {
496
+ colors,
497
+ boxShadow: shadows,
498
+ dropShadow: shadows,
499
+ borderRadius,
500
+ extend: Object.assign(Object.assign({}, animation), { scale,
501
+ rotate: rotateNumbers, fontSize: typeograhpy.fontSize, lineHeight: typeograhpy.lineHeight, backdropBlur,
502
+ zIndex,
503
+ screens, width: width.width, height: height.height, spacing }),
504
+ },
505
+ plugins: [
506
+ require('@tailwindcss/aspect-ratio'),
507
+ require('tailwind-scrollbar-hide'),
508
+ safeArea,
509
+ hover,
510
+ ],
511
+ };
512
+
513
+ const tailwind = tailwindConfig;
514
+
515
+ export { camelToSnakeCase, getScreenSize, getScreenSizeInPixels, getScreenSizeInRem, isBetweenScreens, isBiggerThanScreen, isDesktop, isMobile, isSmallerThanScreen, isTablet, isTouchDevice, snakeToCamelCase, tailwind };
53
516
 
54
517
  //# sourceMappingURL=index.js.map