@fluixi-css/core 0.1.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +52 -0
- package/base.css +4 -0
- package/components.css +1 -0
- package/dist/base.css +4 -0
- package/dist/components.css +1 -0
- package/dist/index.css +2 -0
- package/dist/package.json +139 -0
- package/dist/reset.css +168 -0
- package/dist/src/ast.d.ts +298 -0
- package/dist/src/ast.js +2240 -0
- package/dist/src/ast.js.map +1 -0
- package/dist/src/commons/constants.d.ts +1193 -0
- package/dist/src/commons/constants.js +1323 -0
- package/dist/src/commons/constants.js.map +1 -0
- package/dist/src/commons/helper.d.ts +1298 -0
- package/dist/src/commons/helper.js +1310 -0
- package/dist/src/commons/helper.js.map +1 -0
- package/dist/src/commons/index.d.ts +3 -0
- package/dist/src/commons/index.js +4 -0
- package/dist/src/commons/index.js.map +1 -0
- package/dist/src/commons/properties.d.ts +1431 -0
- package/dist/src/commons/properties.js +2855 -0
- package/dist/src/commons/properties.js.map +1 -0
- package/dist/src/commons/types.d.ts +359 -0
- package/dist/src/commons/types.js +4 -0
- package/dist/src/commons/types.js.map +1 -0
- package/dist/src/components/avatar/index.d.ts +19 -0
- package/dist/src/components/avatar/index.js +22 -0
- package/dist/src/components/avatar/index.js.map +1 -0
- package/dist/src/components/button/index.d.ts +48 -0
- package/dist/src/components/button/index.js +51 -0
- package/dist/src/components/button/index.js.map +1 -0
- package/dist/src/components/card/index.d.ts +44 -0
- package/dist/src/components/card/index.js +47 -0
- package/dist/src/components/card/index.js.map +1 -0
- package/dist/src/components/checkbox/index.d.ts +69 -0
- package/dist/src/components/checkbox/index.js +80 -0
- package/dist/src/components/checkbox/index.js.map +1 -0
- package/dist/src/components/daterangepicker/index.d.ts +147 -0
- package/dist/src/components/daterangepicker/index.js +150 -0
- package/dist/src/components/daterangepicker/index.js.map +1 -0
- package/dist/src/components/dialog/index.d.ts +71 -0
- package/dist/src/components/dialog/index.js +74 -0
- package/dist/src/components/dialog/index.js.map +1 -0
- package/dist/src/components/drawer/index.d.ts +26 -0
- package/dist/src/components/drawer/index.js +29 -0
- package/dist/src/components/drawer/index.js.map +1 -0
- package/dist/src/components/dropdown/index.d.ts +101 -0
- package/dist/src/components/dropdown/index.js +104 -0
- package/dist/src/components/dropdown/index.js.map +1 -0
- package/dist/src/components/forms/index.d.ts +58 -0
- package/dist/src/components/forms/index.js +62 -0
- package/dist/src/components/forms/index.js.map +1 -0
- package/dist/src/components/index.d.ts +1228 -0
- package/dist/src/components/index.js +64 -0
- package/dist/src/components/index.js.map +1 -0
- package/dist/src/components/layout/index.d.ts +28 -0
- package/dist/src/components/layout/index.js +33 -0
- package/dist/src/components/layout/index.js.map +1 -0
- package/dist/src/components/list/index.d.ts +65 -0
- package/dist/src/components/list/index.js +68 -0
- package/dist/src/components/list/index.js.map +1 -0
- package/dist/src/components/popover/index.d.ts +79 -0
- package/dist/src/components/popover/index.js +82 -0
- package/dist/src/components/popover/index.js.map +1 -0
- package/dist/src/components/radio/index.d.ts +77 -0
- package/dist/src/components/radio/index.js +80 -0
- package/dist/src/components/radio/index.js.map +1 -0
- package/dist/src/components/select/index.d.ts +102 -0
- package/dist/src/components/select/index.js +105 -0
- package/dist/src/components/select/index.js.map +1 -0
- package/dist/src/components/sidenav/index.d.ts +98 -0
- package/dist/src/components/sidenav/index.js +101 -0
- package/dist/src/components/sidenav/index.js.map +1 -0
- package/dist/src/components/table/index.d.ts +95 -0
- package/dist/src/components/table/index.js +98 -0
- package/dist/src/components/table/index.js.map +1 -0
- package/dist/src/constants.d.ts +3 -0
- package/dist/src/constants.js +29 -0
- package/dist/src/constants.js.map +1 -0
- package/dist/src/css-ast.d.ts +48 -0
- package/dist/src/css-ast.js +2 -0
- package/dist/src/css-ast.js.map +1 -0
- package/dist/src/css-generator.d.ts +29 -0
- package/dist/src/css-generator.js +104 -0
- package/dist/src/css-generator.js.map +1 -0
- package/dist/src/css-helpers.d.ts +76 -0
- package/dist/src/css-helpers.js +272 -0
- package/dist/src/css-helpers.js.map +1 -0
- package/dist/src/css-lexer.d.ts +48 -0
- package/dist/src/css-lexer.js +255 -0
- package/dist/src/css-lexer.js.map +1 -0
- package/dist/src/css-parser.cjs +2047 -0
- package/dist/src/css-parser.cjs.map +1 -0
- package/dist/src/css-parser.d.ts +100 -0
- package/dist/src/css-parser.js +1098 -0
- package/dist/src/css-parser.js.map +1 -0
- package/dist/src/css-parser.mjs +2028 -0
- package/dist/src/css-parser.mjs.map +1 -0
- package/dist/src/design-system.d.ts +210 -0
- package/dist/src/design-system.js +1034 -0
- package/dist/src/design-system.js.map +1 -0
- package/dist/src/engine/ast.d.ts +44 -0
- package/dist/src/engine/ast.js +92 -0
- package/dist/src/engine/ast.js.map +1 -0
- package/dist/src/engine/atom.d.ts +74 -0
- package/dist/src/engine/atom.js +227 -0
- package/dist/src/engine/atom.js.map +1 -0
- package/dist/src/engine/compile.d.ts +5 -0
- package/dist/src/engine/compile.js +79 -0
- package/dist/src/engine/compile.js.map +1 -0
- package/dist/src/engine/defaults.d.ts +2 -0
- package/dist/src/engine/defaults.js +14 -0
- package/dist/src/engine/defaults.js.map +1 -0
- package/dist/src/engine/directives.d.ts +2 -0
- package/dist/src/engine/directives.js +191 -0
- package/dist/src/engine/directives.js.map +1 -0
- package/dist/src/engine/index.d.ts +41 -0
- package/dist/src/engine/index.js +88 -0
- package/dist/src/engine/index.js.map +1 -0
- package/dist/src/engine/registry.d.ts +46 -0
- package/dist/src/engine/registry.js +49 -0
- package/dist/src/engine/registry.js.map +1 -0
- package/dist/src/engine/scanner.d.ts +1 -0
- package/dist/src/engine/scanner.js +45 -0
- package/dist/src/engine/scanner.js.map +1 -0
- package/dist/src/engine/source.d.ts +12 -0
- package/dist/src/engine/source.js +81 -0
- package/dist/src/engine/source.js.map +1 -0
- package/dist/src/engine/theme-defaults.d.ts +2 -0
- package/dist/src/engine/theme-defaults.js +54 -0
- package/dist/src/engine/theme-defaults.js.map +1 -0
- package/dist/src/engine/theme-source.d.ts +5 -0
- package/dist/src/engine/theme-source.js +71 -0
- package/dist/src/engine/theme-source.js.map +1 -0
- package/dist/src/engine/theme.d.ts +10 -0
- package/dist/src/engine/theme.js +42 -0
- package/dist/src/engine/theme.js.map +1 -0
- package/dist/src/engine/transform.d.ts +25 -0
- package/dist/src/engine/transform.js +91 -0
- package/dist/src/engine/transform.js.map +1 -0
- package/dist/src/engine/ui-preset.d.ts +4 -0
- package/dist/src/engine/ui-preset.js +56 -0
- package/dist/src/engine/ui-preset.js.map +1 -0
- package/dist/src/engine/utilities/backgrounds.d.ts +2 -0
- package/dist/src/engine/utilities/backgrounds.js +32 -0
- package/dist/src/engine/utilities/backgrounds.js.map +1 -0
- package/dist/src/engine/utilities/borders.d.ts +2 -0
- package/dist/src/engine/utilities/borders.js +95 -0
- package/dist/src/engine/utilities/borders.js.map +1 -0
- package/dist/src/engine/utilities/effects.d.ts +2 -0
- package/dist/src/engine/utilities/effects.js +61 -0
- package/dist/src/engine/utilities/effects.js.map +1 -0
- package/dist/src/engine/utilities/flexgrid.d.ts +2 -0
- package/dist/src/engine/utilities/flexgrid.js +125 -0
- package/dist/src/engine/utilities/flexgrid.js.map +1 -0
- package/dist/src/engine/utilities/index.d.ts +3 -0
- package/dist/src/engine/utilities/index.js +20 -0
- package/dist/src/engine/utilities/index.js.map +1 -0
- package/dist/src/engine/utilities/layout.d.ts +2 -0
- package/dist/src/engine/utilities/layout.js +84 -0
- package/dist/src/engine/utilities/layout.js.map +1 -0
- package/dist/src/engine/utilities/sizing.d.ts +2 -0
- package/dist/src/engine/utilities/sizing.js +21 -0
- package/dist/src/engine/utilities/sizing.js.map +1 -0
- package/dist/src/engine/utilities/spacing.d.ts +2 -0
- package/dist/src/engine/utilities/spacing.js +39 -0
- package/dist/src/engine/utilities/spacing.js.map +1 -0
- package/dist/src/engine/utilities/typography.d.ts +2 -0
- package/dist/src/engine/utilities/typography.js +120 -0
- package/dist/src/engine/utilities/typography.js.map +1 -0
- package/dist/src/engine/utilities/values.d.ts +16 -0
- package/dist/src/engine/utilities/values.js +91 -0
- package/dist/src/engine/utilities/values.js.map +1 -0
- package/dist/src/engine/variants.d.ts +2 -0
- package/dist/src/engine/variants.js +99 -0
- package/dist/src/engine/variants.js.map +1 -0
- package/dist/src/extractor.d.ts +146 -0
- package/dist/src/extractor.js +3862 -0
- package/dist/src/extractor.js.map +1 -0
- package/dist/src/index.cjs +4518 -0
- package/dist/src/index.cjs.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +9 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/index.mjs +4480 -0
- package/dist/src/index.mjs.map +1 -0
- package/dist/src/keyframes.cjs +367 -0
- package/dist/src/keyframes.cjs.map +1 -0
- package/dist/src/keyframes.d.ts +27 -0
- package/dist/src/keyframes.js +188 -0
- package/dist/src/keyframes.js.map +1 -0
- package/dist/src/keyframes.mjs +362 -0
- package/dist/src/keyframes.mjs.map +1 -0
- package/dist/src/logger.d.ts +2 -0
- package/dist/src/logger.js +31 -0
- package/dist/src/logger.js.map +1 -0
- package/dist/src/plugin.cjs +43 -0
- package/dist/src/plugin.cjs.map +1 -0
- package/dist/src/plugin.d.ts +12 -0
- package/dist/src/plugin.js +39 -0
- package/dist/src/plugin.js.map +1 -0
- package/dist/src/plugin.mjs +41 -0
- package/dist/src/plugin.mjs.map +1 -0
- package/dist/src/presets-plugins.cjs +99 -0
- package/dist/src/presets-plugins.cjs.map +1 -0
- package/dist/src/presets-plugins.d.ts +1 -0
- package/dist/src/presets-plugins.js +56 -0
- package/dist/src/presets-plugins.js.map +1 -0
- package/dist/src/presets-plugins.mjs +97 -0
- package/dist/src/presets-plugins.mjs.map +1 -0
- package/dist/src/state.d.ts +76 -0
- package/dist/src/state.js +314 -0
- package/dist/src/state.js.map +1 -0
- package/dist/src/theme/constants.d.ts +22 -0
- package/dist/src/theme/constants.js +17 -0
- package/dist/src/theme/constants.js.map +1 -0
- package/dist/src/theme/index.d.ts +2 -0
- package/dist/src/theme/index.js +48 -0
- package/dist/src/theme/index.js.map +1 -0
- package/dist/src/theme/types.d.ts +13 -0
- package/dist/src/theme/types.js +2 -0
- package/dist/src/theme/types.js.map +1 -0
- package/dist/src/types/ast.d.ts +23 -0
- package/dist/src/types/ast.js +2 -0
- package/dist/src/types/ast.js.map +1 -0
- package/dist/src/types/base-types.d.ts +53 -0
- package/dist/src/types/base-types.js +2 -0
- package/dist/src/types/base-types.js.map +1 -0
- package/dist/src/types/components-types.d.ts +28 -0
- package/dist/src/types/components-types.js +2 -0
- package/dist/src/types/components-types.js.map +1 -0
- package/dist/src/types/config.d.ts +90 -0
- package/dist/src/types/config.js +3 -0
- package/dist/src/types/config.js.map +1 -0
- package/dist/src/types/css-parser.d.ts +361 -0
- package/dist/src/types/css-parser.js +2 -0
- package/dist/src/types/css-parser.js.map +1 -0
- package/dist/src/types/keyframes-type.d.ts +47 -0
- package/dist/src/types/keyframes-type.js +2 -0
- package/dist/src/types/keyframes-type.js.map +1 -0
- package/dist/src/types/plugin.d.ts +10 -0
- package/dist/src/types/plugin.js +2 -0
- package/dist/src/types/plugin.js.map +1 -0
- package/dist/src/types/screens-types.d.ts +47 -0
- package/dist/src/types/screens-types.js +2 -0
- package/dist/src/types/screens-types.js.map +1 -0
- package/dist/src/types/utilities-types.d.ts +147 -0
- package/dist/src/types/utilities-types.js +2 -0
- package/dist/src/types/utilities-types.js.map +1 -0
- package/dist/src/types.d.ts +77 -0
- package/dist/src/types.js +12 -0
- package/dist/src/types.js.map +1 -0
- package/dist/src/units/constants.d.ts +35 -0
- package/dist/src/units/constants.js +9 -0
- package/dist/src/units/constants.js.map +1 -0
- package/dist/src/units/index.d.ts +15 -0
- package/dist/src/units/index.js +7 -0
- package/dist/src/units/index.js.map +1 -0
- package/dist/src/units/types.d.ts +9 -0
- package/dist/src/units/types.js +2 -0
- package/dist/src/units/types.js.map +1 -0
- package/dist/src/utilities/backgrounds/constants.d.ts +2810 -0
- package/dist/src/utilities/backgrounds/constants.js +119 -0
- package/dist/src/utilities/backgrounds/constants.js.map +1 -0
- package/dist/src/utilities/backgrounds/index.d.ts +1 -0
- package/dist/src/utilities/backgrounds/index.js +2 -0
- package/dist/src/utilities/backgrounds/index.js.map +1 -0
- package/dist/src/utilities/borders/constants.d.ts +10586 -0
- package/dist/src/utilities/borders/constants.js +309 -0
- package/dist/src/utilities/borders/constants.js.map +1 -0
- package/dist/src/utilities/borders/index.d.ts +1 -0
- package/dist/src/utilities/borders/index.js +2 -0
- package/dist/src/utilities/borders/index.js.map +1 -0
- package/dist/src/utilities/breakpoints/constants.d.ts +330 -0
- package/dist/src/utilities/breakpoints/constants.js +269 -0
- package/dist/src/utilities/breakpoints/constants.js.map +1 -0
- package/dist/src/utilities/breakpoints/index.d.ts +2 -0
- package/dist/src/utilities/breakpoints/index.js +3 -0
- package/dist/src/utilities/breakpoints/index.js.map +1 -0
- package/dist/src/utilities/breakpoints/types.d.ts +8 -0
- package/dist/src/utilities/breakpoints/types.js +2 -0
- package/dist/src/utilities/breakpoints/types.js.map +1 -0
- package/dist/src/utilities/colors/base.d.ts +778 -0
- package/dist/src/utilities/colors/base.js +872 -0
- package/dist/src/utilities/colors/base.js.map +1 -0
- package/dist/src/utilities/colors/color.d.ts +1122 -0
- package/dist/src/utilities/colors/color.js +957 -0
- package/dist/src/utilities/colors/color.js.map +1 -0
- package/dist/src/utilities/colors/constants.d.ts +1 -0
- package/dist/src/utilities/colors/constants.js +2 -0
- package/dist/src/utilities/colors/constants.js.map +1 -0
- package/dist/src/utilities/colors/index.d.ts +4 -0
- package/dist/src/utilities/colors/index.js +29 -0
- package/dist/src/utilities/colors/index.js.map +1 -0
- package/dist/src/utilities/colors/types.d.ts +3 -0
- package/dist/src/utilities/colors/types.js +2 -0
- package/dist/src/utilities/colors/types.js.map +1 -0
- package/dist/src/utilities/effects/constants.d.ts +641 -0
- package/dist/src/utilities/effects/constants.js +83 -0
- package/dist/src/utilities/effects/constants.js.map +1 -0
- package/dist/src/utilities/effects/index.d.ts +1 -0
- package/dist/src/utilities/effects/index.js +2 -0
- package/dist/src/utilities/effects/index.js.map +1 -0
- package/dist/src/utilities/filters/constants.d.ts +406 -0
- package/dist/src/utilities/filters/constants.js +206 -0
- package/dist/src/utilities/filters/constants.js.map +1 -0
- package/dist/src/utilities/filters/index.d.ts +1 -0
- package/dist/src/utilities/filters/index.js +2 -0
- package/dist/src/utilities/filters/index.js.map +1 -0
- package/dist/src/utilities/flex/constants.d.ts +934 -0
- package/dist/src/utilities/flex/constants.js +221 -0
- package/dist/src/utilities/flex/constants.js.map +1 -0
- package/dist/src/utilities/flex/index.d.ts +1 -0
- package/dist/src/utilities/flex/index.js +2 -0
- package/dist/src/utilities/flex/index.js.map +1 -0
- package/dist/src/utilities/flex/types.d.ts +0 -0
- package/dist/src/utilities/flex/types.js +4 -0
- package/dist/src/utilities/flex/types.js.map +1 -0
- package/dist/src/utilities/index.d.ts +31338 -0
- package/dist/src/utilities/index.js +333 -0
- package/dist/src/utilities/index.js.map +1 -0
- package/dist/src/utilities/interactivity/constants.d.ts +1244 -0
- package/dist/src/utilities/interactivity/constants.js +165 -0
- package/dist/src/utilities/interactivity/constants.js.map +1 -0
- package/dist/src/utilities/interactivity/index.d.ts +1 -0
- package/dist/src/utilities/interactivity/index.js +2 -0
- package/dist/src/utilities/interactivity/index.js.map +1 -0
- package/dist/src/utilities/layout/constants.d.ts +837 -0
- package/dist/src/utilities/layout/constants.js +159 -0
- package/dist/src/utilities/layout/constants.js.map +1 -0
- package/dist/src/utilities/layout/index.d.ts +1 -0
- package/dist/src/utilities/layout/index.js +2 -0
- package/dist/src/utilities/layout/index.js.map +1 -0
- package/dist/src/utilities/layout/types.d.ts +0 -0
- package/dist/src/utilities/layout/types.js +2 -0
- package/dist/src/utilities/layout/types.js.map +1 -0
- package/dist/src/utilities/sizing/constants.d.ts +989 -0
- package/dist/src/utilities/sizing/constants.js +53 -0
- package/dist/src/utilities/sizing/constants.js.map +1 -0
- package/dist/src/utilities/sizing/index.d.ts +2 -0
- package/dist/src/utilities/sizing/index.js +3 -0
- package/dist/src/utilities/sizing/index.js.map +1 -0
- package/dist/src/utilities/sizing/types.d.ts +10 -0
- package/dist/src/utilities/sizing/types.js +2 -0
- package/dist/src/utilities/sizing/types.js.map +1 -0
- package/dist/src/utilities/spacing/constants.d.ts +1779 -0
- package/dist/src/utilities/spacing/constants.js +142 -0
- package/dist/src/utilities/spacing/constants.js.map +1 -0
- package/dist/src/utilities/spacing/index.d.ts +2 -0
- package/dist/src/utilities/spacing/index.js +3 -0
- package/dist/src/utilities/spacing/index.js.map +1 -0
- package/dist/src/utilities/spacing/types.d.ts +15 -0
- package/dist/src/utilities/spacing/types.js +8 -0
- package/dist/src/utilities/spacing/types.js.map +1 -0
- package/dist/src/utilities/svg/constants.d.ts +1062 -0
- package/dist/src/utilities/svg/constants.js +34 -0
- package/dist/src/utilities/svg/constants.js.map +1 -0
- package/dist/src/utilities/transforms/constants.d.ts +247 -0
- package/dist/src/utilities/transforms/constants.js +74 -0
- package/dist/src/utilities/transforms/constants.js.map +1 -0
- package/dist/src/utilities/transforms/index.d.ts +1 -0
- package/dist/src/utilities/transforms/index.js +2 -0
- package/dist/src/utilities/transforms/index.js.map +1 -0
- package/dist/src/utilities/transitions/constants.d.ts +116 -0
- package/dist/src/utilities/transitions/constants.js +91 -0
- package/dist/src/utilities/transitions/constants.js.map +1 -0
- package/dist/src/utilities/transitions/index.d.ts +1 -0
- package/dist/src/utilities/transitions/index.js +2 -0
- package/dist/src/utilities/transitions/index.js.map +1 -0
- package/dist/src/utilities/typography/constants.d.ts +2401 -0
- package/dist/src/utilities/typography/constants.js +401 -0
- package/dist/src/utilities/typography/constants.js.map +1 -0
- package/dist/src/utilities/typography/index.d.ts +1 -0
- package/dist/src/utilities/typography/index.js +2 -0
- package/dist/src/utilities/typography/index.js.map +1 -0
- package/dist/src/utils.d.ts +18 -0
- package/dist/src/utils.js +282 -0
- package/dist/src/utils.js.map +1 -0
- package/dist/src/watcher.d.ts +15 -0
- package/dist/src/watcher.js +62 -0
- package/dist/src/watcher.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utilities.css +1 -0
- package/index.css +2 -0
- package/package.json +139 -0
- package/reset.css +168 -0
- package/utilities.css +1 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const CardStyles: (styles?: any) => {
|
|
2
|
+
font: {
|
|
3
|
+
size: string;
|
|
4
|
+
weight: string;
|
|
5
|
+
};
|
|
6
|
+
px: string;
|
|
7
|
+
py: string;
|
|
8
|
+
bg: {
|
|
9
|
+
light: string;
|
|
10
|
+
dark: string;
|
|
11
|
+
};
|
|
12
|
+
border: {
|
|
13
|
+
width: string;
|
|
14
|
+
color: {
|
|
15
|
+
light: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
radius: string;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
header: {
|
|
25
|
+
px: string;
|
|
26
|
+
py: string;
|
|
27
|
+
title: {
|
|
28
|
+
font: {
|
|
29
|
+
size: string;
|
|
30
|
+
weight: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
height: string;
|
|
34
|
+
};
|
|
35
|
+
body: {
|
|
36
|
+
px: string;
|
|
37
|
+
py: string;
|
|
38
|
+
};
|
|
39
|
+
footer: {
|
|
40
|
+
px: string;
|
|
41
|
+
py: string;
|
|
42
|
+
height: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export const CardStyles = (styles = {}) => {
|
|
2
|
+
return {
|
|
3
|
+
font: {
|
|
4
|
+
size: `theme(${'fontSize.base'})`,
|
|
5
|
+
weight: `theme(${'fontWeight.normal'})`,
|
|
6
|
+
},
|
|
7
|
+
px: `theme(${'padding.2'})`,
|
|
8
|
+
py: `theme(${'padding.2'})`,
|
|
9
|
+
bg: {
|
|
10
|
+
light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
|
|
11
|
+
dark: `theme(${'backgroundColor.basic.tonal.dark'})`,
|
|
12
|
+
},
|
|
13
|
+
border: {
|
|
14
|
+
width: `theme(${'borderWidth.DEFAULT'})`,
|
|
15
|
+
color: {
|
|
16
|
+
light: `transparent`,
|
|
17
|
+
dark: `transparent`
|
|
18
|
+
},
|
|
19
|
+
radius: `theme(${'borderRadius.2xl'})`,
|
|
20
|
+
},
|
|
21
|
+
color: {
|
|
22
|
+
light: `theme(${'color.basic.text.DEFAULT'})`,
|
|
23
|
+
dark: `theme(${'color.basic.text.dark'})`
|
|
24
|
+
},
|
|
25
|
+
header: {
|
|
26
|
+
px: `theme(${'padding.2'})`,
|
|
27
|
+
py: `theme(${'padding.2'})`,
|
|
28
|
+
title: {
|
|
29
|
+
font: {
|
|
30
|
+
size: `theme(${'fontSize.md'})`,
|
|
31
|
+
weight: `theme(${'fontWeight.semibold'})`,
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
height: '0px'
|
|
35
|
+
},
|
|
36
|
+
body: {
|
|
37
|
+
px: `theme(${'padding.3'})`,
|
|
38
|
+
py: `theme(${'padding.2'})`,
|
|
39
|
+
},
|
|
40
|
+
footer: {
|
|
41
|
+
px: `theme(${'padding.2'})`,
|
|
42
|
+
py: `theme(${'padding.2'})`,
|
|
43
|
+
height: '0px'
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAa,EAAE,EAAC,EAAE;IACzC,OAAO;QACH,IAAI,EAAE;YACF,IAAI,EAAE,SAAS,eAAe,GAAG;YACjC,MAAM,EAAE,SAAS,mBAAmB,GAAG;SAC1C;QACD,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE;YACA,KAAK,EAAE,SAAS,qCAAqC,GAAG;YACxD,IAAI,EAAE,SAAS,kCAAkC,GAAG;SACvD;QACD,MAAM,EAAE;YACJ,KAAK,EAAE,SAAS,qBAAqB,GAAG;YACxC,KAAK,EAAE;gBACH,KAAK,EAAE,aAAa;gBACpB,IAAI,EAAE,aAAa;aACtB;YACD,MAAM,EAAE,SAAS,kBAAkB,GAAG;SACzC;QACD,KAAK,EAAE;YACH,KAAK,EAAE,SAAS,0BAA0B,GAAG;YAC7C,IAAI,EAAE,SAAS,uBAAuB,GAAG;SAC5C;QACD,MAAM,EAAE;YACJ,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,KAAK,EAAE;gBACH,IAAI,EAAE;oBACF,IAAI,EAAE,SAAS,aAAa,GAAG;oBAC/B,MAAM,EAAE,SAAS,qBAAqB,GAAG;iBAC5C;aACJ;YACD,MAAM,EAAE,KAAK;SAChB;QACD,IAAI,EAAE;YACF,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;SAC9B;QACD,MAAM,EAAE;YACJ,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;YAC3B,MAAM,EAAE,KAAK;SAChB;KACJ,CAAA;AACL,CAAC,CAAA","sourcesContent":["export const CardStyles = (styles:any = {})=>{\n return {\n font: {\n size: `theme(${'fontSize.base'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n px: `theme(${'padding.2'})`,\n py: `theme(${'padding.2'})`,\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.tonal.dark'})`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `transparent`,\n dark: `transparent`\n },\n radius: `theme(${'borderRadius.2xl'})`,\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`\n },\n header: {\n px: `theme(${'padding.2'})`,\n py: `theme(${'padding.2'})`,\n title: {\n font: {\n size: `theme(${'fontSize.md'})`,\n weight: `theme(${'fontWeight.semibold'})`,\n }\n },\n height: '0px'\n },\n body: {\n px: `theme(${'padding.3'})`,\n py: `theme(${'padding.2'})`,\n },\n footer: {\n px: `theme(${'padding.2'})`,\n py: `theme(${'padding.2'})`,\n height: '0px'\n }\n }\n}"]}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export declare const CheckboxStyles: (styles?: any) => {
|
|
2
|
+
font: {
|
|
3
|
+
size: string;
|
|
4
|
+
weight: string;
|
|
5
|
+
};
|
|
6
|
+
px: string;
|
|
7
|
+
py: string;
|
|
8
|
+
bg: {
|
|
9
|
+
light: string;
|
|
10
|
+
dark: string;
|
|
11
|
+
checked: {
|
|
12
|
+
light: string;
|
|
13
|
+
dark: string;
|
|
14
|
+
outlined: {
|
|
15
|
+
light: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
checked: {
|
|
24
|
+
light: string;
|
|
25
|
+
dark: string;
|
|
26
|
+
outlined: {
|
|
27
|
+
light: string;
|
|
28
|
+
dark: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
w: string;
|
|
33
|
+
h: string;
|
|
34
|
+
mnw: string;
|
|
35
|
+
border: {
|
|
36
|
+
width: string;
|
|
37
|
+
color: {
|
|
38
|
+
light: string;
|
|
39
|
+
dark: string;
|
|
40
|
+
};
|
|
41
|
+
radius: string;
|
|
42
|
+
};
|
|
43
|
+
label: {
|
|
44
|
+
font: {
|
|
45
|
+
size: string;
|
|
46
|
+
weight: string;
|
|
47
|
+
};
|
|
48
|
+
color: {
|
|
49
|
+
light: string;
|
|
50
|
+
dark: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
placeholder: {
|
|
54
|
+
font: {
|
|
55
|
+
size: string;
|
|
56
|
+
weight: string;
|
|
57
|
+
};
|
|
58
|
+
color: {
|
|
59
|
+
light: string;
|
|
60
|
+
dark: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
hover: {
|
|
64
|
+
bg: {
|
|
65
|
+
light: string;
|
|
66
|
+
dark: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export const CheckboxStyles = (styles = {}) => {
|
|
2
|
+
return {
|
|
3
|
+
font: {
|
|
4
|
+
size: `theme(${'fontSize.base'})`,
|
|
5
|
+
weight: `theme(${'fontWeight.normal'})`,
|
|
6
|
+
},
|
|
7
|
+
px: `theme(${'padding.0'})`,
|
|
8
|
+
py: `theme(${'padding.0'})`,
|
|
9
|
+
bg: {
|
|
10
|
+
light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,
|
|
11
|
+
dark: `theme(${'backgroundColor.basic.muted.dark'})`,
|
|
12
|
+
checked: {
|
|
13
|
+
light: `theme(${'backgroundColor.secondary.light'})`,
|
|
14
|
+
dark: `theme(${'backgroundColor.secondary.dark'})`,
|
|
15
|
+
outlined: {
|
|
16
|
+
light: `theme(${'backgroundColor.basic.darker.light'})`,
|
|
17
|
+
dark: `theme(${'backgroundColor.basic.darker.dark'})`,
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
color: {
|
|
22
|
+
light: `theme(${'color.basic.text.DEFAULT'})`,
|
|
23
|
+
dark: `theme(${'color.basic.text.dark'})`,
|
|
24
|
+
checked: {
|
|
25
|
+
light: `#fff`,
|
|
26
|
+
dark: `#fff`,
|
|
27
|
+
outlined: {
|
|
28
|
+
light: `theme(${'color.secondary.light'})`,
|
|
29
|
+
dark: `theme(${'color.secondary.dark'})`,
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
w: `24px`,
|
|
34
|
+
h: `24px`,
|
|
35
|
+
mnw: `24px`,
|
|
36
|
+
border: {
|
|
37
|
+
width: `.1rem`,
|
|
38
|
+
color: {
|
|
39
|
+
light: `theme(${'borderColor.basic.border.DEFAULT'})`,
|
|
40
|
+
dark: `theme(${'borderColor.basic.border.dark'})`,
|
|
41
|
+
// valid: {
|
|
42
|
+
// light: `theme(${'borderColor.secondary.light'})`,
|
|
43
|
+
// dark: `theme(${'borderColor.secondary.dark'})`,
|
|
44
|
+
// },
|
|
45
|
+
// invalid: {
|
|
46
|
+
// light: `theme(${'borderColor.error.light'})`,
|
|
47
|
+
// dark: `theme(${'borderColor.error.dark'})`,
|
|
48
|
+
// }
|
|
49
|
+
},
|
|
50
|
+
radius: `theme(${'borderRadius.md'})`,
|
|
51
|
+
},
|
|
52
|
+
label: {
|
|
53
|
+
font: {
|
|
54
|
+
size: `theme(${'fontSize.sm'})`,
|
|
55
|
+
weight: `theme(${'fontWeight.normal'})`,
|
|
56
|
+
},
|
|
57
|
+
color: {
|
|
58
|
+
light: `theme(${'color.basic.text.DEFAULT'})`,
|
|
59
|
+
dark: `theme(${'color.basic.text.dark'})`
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
placeholder: {
|
|
63
|
+
font: {
|
|
64
|
+
size: `theme(${'fontSize.sm'})`,
|
|
65
|
+
weight: `theme(${'fontWeight.normal'})`,
|
|
66
|
+
},
|
|
67
|
+
color: {
|
|
68
|
+
light: `theme(${'color.basic.text.muted.light'})`,
|
|
69
|
+
dark: `theme(${'color.basic.text.muted.dark'})`
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
hover: {
|
|
73
|
+
bg: {
|
|
74
|
+
light: `theme(${'backgroundColor.basic.hover.light'})`,
|
|
75
|
+
dark: `theme(${'backgroundColor.basic.hover.dark'})`,
|
|
76
|
+
},
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAAa,EAAE,EAAC,EAAE;IAC7C,OAAO;QACH,IAAI,EAAE;YACF,IAAI,EAAE,SAAS,eAAe,GAAG;YACjC,MAAM,EAAE,SAAS,mBAAmB,GAAG;SAC1C;QACD,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE,SAAS,WAAW,GAAG;QAC3B,EAAE,EAAE;YACA,KAAK,EAAE,SAAS,qCAAqC,GAAG;YACxD,IAAI,EAAE,SAAS,kCAAkC,GAAG;YACpD,OAAO,EAAE;gBACL,KAAK,EAAE,SAAS,iCAAiC,GAAG;gBACpD,IAAI,EAAE,SAAS,gCAAgC,GAAG;gBAClD,QAAQ,EAAE;oBACN,KAAK,EAAE,SAAS,oCAAoC,GAAG;oBACvD,IAAI,EAAE,SAAS,mCAAmC,GAAG;iBACxD;aACJ;SACJ;QACD,KAAK,EAAE;YACH,KAAK,EAAE,SAAS,0BAA0B,GAAG;YAC7C,IAAI,EAAE,SAAS,uBAAuB,GAAG;YACzC,OAAO,EAAE;gBACL,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE;oBACN,KAAK,EAAE,SAAS,uBAAuB,GAAG;oBAC1C,IAAI,EAAE,SAAS,sBAAsB,GAAG;iBAC3C;aACJ;SACJ;QACD,CAAC,EAAE,MAAM;QACT,CAAC,EAAE,MAAM;QACT,GAAG,EAAE,MAAM;QACX,MAAM,EAAE;YACJ,KAAK,EAAE,OAAO;YACd,KAAK,EAAE;gBACH,KAAK,EAAE,SAAS,kCAAkC,GAAG;gBACrD,IAAI,EAAE,SAAS,+BAA+B,GAAG;gBACjD,WAAW;gBACX,wDAAwD;gBACxD,sDAAsD;gBACtD,KAAK;gBACL,aAAa;gBACb,oDAAoD;gBACpD,kDAAkD;gBAClD,IAAI;aACP;YACD,MAAM,EAAE,SAAS,iBAAiB,GAAG;SACxC;QACD,KAAK,EAAE;YACH,IAAI,EAAE;gBACF,IAAI,EAAE,SAAS,aAAa,GAAG;gBAC/B,MAAM,EAAE,SAAS,mBAAmB,GAAG;aAC1C;YACD,KAAK,EAAE;gBACH,KAAK,EAAE,SAAS,0BAA0B,GAAG;gBAC7C,IAAI,EAAE,SAAS,uBAAuB,GAAG;aAC5C;SACJ;QACD,WAAW,EAAE;YACT,IAAI,EAAE;gBACF,IAAI,EAAE,SAAS,aAAa,GAAG;gBAC/B,MAAM,EAAE,SAAS,mBAAmB,GAAG;aAC1C;YACD,KAAK,EAAE;gBACH,KAAK,EAAE,SAAS,8BAA8B,GAAG;gBACjD,IAAI,EAAE,SAAS,6BAA6B,GAAG;aAClD;SACJ;QACD,KAAK,EAAE;YACH,EAAE,EAAE;gBACA,KAAK,EAAE,SAAS,mCAAmC,GAAG;gBACtD,IAAI,EAAE,SAAS,kCAAkC,GAAG;aACvD;SACJ;KACJ,CAAA;AACL,CAAC,CAAA","sourcesContent":["export const CheckboxStyles = (styles:any = {})=>{\n return {\n font: {\n size: `theme(${'fontSize.base'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n px: `theme(${'padding.0'})`,\n py: `theme(${'padding.0'})`,\n bg: {\n light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.muted.dark'})`,\n checked: {\n light: `theme(${'backgroundColor.secondary.light'})`,\n dark: `theme(${'backgroundColor.secondary.dark'})`,\n outlined: {\n light: `theme(${'backgroundColor.basic.darker.light'})`,\n dark: `theme(${'backgroundColor.basic.darker.dark'})`,\n }\n }\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`,\n checked: {\n light: `#fff`,\n dark: `#fff`,\n outlined: {\n light: `theme(${'color.secondary.light'})`,\n dark: `theme(${'color.secondary.dark'})`,\n }\n }\n },\n w: `24px`,\n h: `24px`,\n mnw: `24px`,\n border: {\n width: `.1rem`,\n color: {\n light: `theme(${'borderColor.basic.border.DEFAULT'})`,\n dark: `theme(${'borderColor.basic.border.dark'})`,\n // valid: {\n // light: `theme(${'borderColor.secondary.light'})`,\n // dark: `theme(${'borderColor.secondary.dark'})`,\n // },\n // invalid: {\n // light: `theme(${'borderColor.error.light'})`,\n // dark: `theme(${'borderColor.error.dark'})`,\n // }\n },\n radius: `theme(${'borderRadius.md'})`,\n },\n label: {\n font: {\n size: `theme(${'fontSize.sm'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`\n },\n },\n placeholder: {\n font: {\n size: `theme(${'fontSize.sm'})`,\n weight: `theme(${'fontWeight.normal'})`,\n },\n color: {\n light: `theme(${'color.basic.text.muted.light'})`,\n dark: `theme(${'color.basic.text.muted.dark'})`\n },\n },\n hover: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n }\n }\n}"]}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
export declare const DateRangePickerStyles: (styles?: any) => {
|
|
2
|
+
font: {
|
|
3
|
+
size: string;
|
|
4
|
+
weight: string;
|
|
5
|
+
family: string;
|
|
6
|
+
};
|
|
7
|
+
bg: {
|
|
8
|
+
light: string;
|
|
9
|
+
dark: string;
|
|
10
|
+
};
|
|
11
|
+
menu: {
|
|
12
|
+
px: string;
|
|
13
|
+
py: string;
|
|
14
|
+
bg: {
|
|
15
|
+
light: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
};
|
|
18
|
+
border: {
|
|
19
|
+
width: string;
|
|
20
|
+
color: {
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
radius: string;
|
|
25
|
+
};
|
|
26
|
+
width: string;
|
|
27
|
+
minWidth: string;
|
|
28
|
+
minHeight: string;
|
|
29
|
+
maxHeight: string;
|
|
30
|
+
};
|
|
31
|
+
boxShadow: {
|
|
32
|
+
light: string;
|
|
33
|
+
dark: string;
|
|
34
|
+
};
|
|
35
|
+
border: {
|
|
36
|
+
width: string;
|
|
37
|
+
color: {
|
|
38
|
+
light: string;
|
|
39
|
+
dark: string;
|
|
40
|
+
};
|
|
41
|
+
radius: string;
|
|
42
|
+
};
|
|
43
|
+
color: {
|
|
44
|
+
light: string;
|
|
45
|
+
dark: string;
|
|
46
|
+
};
|
|
47
|
+
header: {
|
|
48
|
+
bg: {
|
|
49
|
+
light: string;
|
|
50
|
+
dark: string;
|
|
51
|
+
};
|
|
52
|
+
px: string;
|
|
53
|
+
py: string;
|
|
54
|
+
title: {
|
|
55
|
+
font: {
|
|
56
|
+
size: string;
|
|
57
|
+
weight: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
day: {
|
|
62
|
+
bg: {
|
|
63
|
+
light: string;
|
|
64
|
+
dark: string;
|
|
65
|
+
};
|
|
66
|
+
inRange: {
|
|
67
|
+
bg: {
|
|
68
|
+
light: string;
|
|
69
|
+
dark: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
selected: {
|
|
73
|
+
bg: {
|
|
74
|
+
light: string;
|
|
75
|
+
dark: string;
|
|
76
|
+
};
|
|
77
|
+
color: {
|
|
78
|
+
light: string;
|
|
79
|
+
dark: string;
|
|
80
|
+
};
|
|
81
|
+
border: {
|
|
82
|
+
radius: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
hover: {
|
|
86
|
+
bg: {
|
|
87
|
+
light: string;
|
|
88
|
+
dark: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
color: {
|
|
92
|
+
light: string;
|
|
93
|
+
dark: string;
|
|
94
|
+
};
|
|
95
|
+
border: {
|
|
96
|
+
width: string;
|
|
97
|
+
color: {
|
|
98
|
+
light: string;
|
|
99
|
+
dark: string;
|
|
100
|
+
};
|
|
101
|
+
radius: string;
|
|
102
|
+
};
|
|
103
|
+
px: string;
|
|
104
|
+
py: string;
|
|
105
|
+
w: string;
|
|
106
|
+
h: string;
|
|
107
|
+
disabled: {
|
|
108
|
+
color: {
|
|
109
|
+
light: string;
|
|
110
|
+
dark: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
presets: {
|
|
115
|
+
px: string;
|
|
116
|
+
py: string;
|
|
117
|
+
border: {
|
|
118
|
+
width: string;
|
|
119
|
+
color: {
|
|
120
|
+
light: string;
|
|
121
|
+
dark: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
item: {
|
|
125
|
+
px: string;
|
|
126
|
+
py: string;
|
|
127
|
+
mx: string;
|
|
128
|
+
border: {
|
|
129
|
+
width: string;
|
|
130
|
+
color: {
|
|
131
|
+
light: string;
|
|
132
|
+
dark: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
bg: {
|
|
136
|
+
light: string;
|
|
137
|
+
dark: string;
|
|
138
|
+
};
|
|
139
|
+
hover: {
|
|
140
|
+
bg: {
|
|
141
|
+
light: string;
|
|
142
|
+
dark: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
export const DateRangePickerStyles = (styles = {}) => {
|
|
2
|
+
return {
|
|
3
|
+
font: {
|
|
4
|
+
size: `theme(${'fontSize.base'})`,
|
|
5
|
+
weight: `theme(${'fontWeight.normal'})`,
|
|
6
|
+
family: `theme(${'fontFamily.sans'})`,
|
|
7
|
+
},
|
|
8
|
+
bg: {
|
|
9
|
+
light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
|
|
10
|
+
dark: `theme(${'backgroundColor.basic.dark'})`,
|
|
11
|
+
},
|
|
12
|
+
menu: {
|
|
13
|
+
px: `theme(${'padding.1'})`,
|
|
14
|
+
py: `theme(${'padding.1'})`,
|
|
15
|
+
bg: {
|
|
16
|
+
light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
|
|
17
|
+
dark: `theme(${'backgroundColor.basic.tonal.dark'})`,
|
|
18
|
+
},
|
|
19
|
+
border: {
|
|
20
|
+
width: `theme(${'borderWidth.DEFAULT'})`,
|
|
21
|
+
color: {
|
|
22
|
+
light: `theme(${'backgroundColor.basic.border.DEFAULT'})`,
|
|
23
|
+
dark: `theme(${'backgroundColor.basic.border.dark'})`
|
|
24
|
+
},
|
|
25
|
+
radius: `theme(${'borderRadius.2xl'})`,
|
|
26
|
+
},
|
|
27
|
+
width: 'auto',
|
|
28
|
+
minWidth: '200px',
|
|
29
|
+
minHeight: '20px',
|
|
30
|
+
maxHeight: '300px',
|
|
31
|
+
},
|
|
32
|
+
boxShadow: {
|
|
33
|
+
light: `0 2px 8px rgba(0,0,0,0.15)`,
|
|
34
|
+
dark: `0 2px 8px rgba(0,0,0,0.15)`,
|
|
35
|
+
},
|
|
36
|
+
border: {
|
|
37
|
+
width: `theme(${'borderWidth.DEFAULT'})`,
|
|
38
|
+
color: {
|
|
39
|
+
light: `transparent`,
|
|
40
|
+
dark: `transparent`,
|
|
41
|
+
},
|
|
42
|
+
radius: `theme(${'borderRadius.2xl'})`,
|
|
43
|
+
},
|
|
44
|
+
color: {
|
|
45
|
+
light: `theme(${'color.basic.text.DEFAULT'})`,
|
|
46
|
+
dark: `theme(${'color.basic.text.dark'})`,
|
|
47
|
+
},
|
|
48
|
+
header: {
|
|
49
|
+
bg: {
|
|
50
|
+
light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,
|
|
51
|
+
dark: `theme(${'backgroundColor.basic.muted.dark'})`,
|
|
52
|
+
},
|
|
53
|
+
px: `theme(${'padding.0'})`,
|
|
54
|
+
py: `theme(${'padding.0'})`,
|
|
55
|
+
title: {
|
|
56
|
+
font: {
|
|
57
|
+
size: `theme(${'fontSize.md'})`,
|
|
58
|
+
weight: `theme(${'fontWeight.semibold'})`,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
day: {
|
|
63
|
+
bg: {
|
|
64
|
+
light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,
|
|
65
|
+
dark: `theme(${'backgroundColor.basic.dark'})`,
|
|
66
|
+
},
|
|
67
|
+
inRange: {
|
|
68
|
+
bg: {
|
|
69
|
+
light: `theme(${'backgroundColor.basic.hover.light'})`,
|
|
70
|
+
dark: `theme(${'backgroundColor.basic.hover.dark'})`,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
selected: {
|
|
74
|
+
bg: {
|
|
75
|
+
light: `theme(${'backgroundColor.secondary.light'})`,
|
|
76
|
+
dark: `theme(${'backgroundColor.secondary.dark'})`,
|
|
77
|
+
},
|
|
78
|
+
color: {
|
|
79
|
+
light: `#fff`,
|
|
80
|
+
dark: `#fff`,
|
|
81
|
+
},
|
|
82
|
+
border: {
|
|
83
|
+
radius: `theme(${'borderRadius.md'})`,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
hover: {
|
|
87
|
+
bg: {
|
|
88
|
+
light: `theme(${'backgroundColor.basic.hover.light'})`,
|
|
89
|
+
dark: `theme(${'backgroundColor.basic.hover.dark'})`,
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
color: {
|
|
93
|
+
light: `theme(${'color.basic.text.DEFAULT'})`,
|
|
94
|
+
dark: `theme(${'color.basic.text.dark'})`,
|
|
95
|
+
},
|
|
96
|
+
border: {
|
|
97
|
+
width: `theme(${'borderWidth.DEFAULT'})`,
|
|
98
|
+
color: {
|
|
99
|
+
light: `theme(${'color.basic.text.border.light'})`,
|
|
100
|
+
dark: `theme(${'color--flx-basetext.border.dark'})`,
|
|
101
|
+
},
|
|
102
|
+
radius: `theme(${'borderRadius.none'})`,
|
|
103
|
+
},
|
|
104
|
+
px: `theme(${'padding.4'})`,
|
|
105
|
+
py: `theme(${'padding.4'})`,
|
|
106
|
+
w: '36px',
|
|
107
|
+
h: '36px',
|
|
108
|
+
disabled: {
|
|
109
|
+
color: {
|
|
110
|
+
light: `#ccc`,
|
|
111
|
+
dark: `#ccc`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
presets: {
|
|
116
|
+
px: `theme(${'padding.3'})`,
|
|
117
|
+
py: `theme(${'padding.2'})`,
|
|
118
|
+
border: {
|
|
119
|
+
width: `theme(${'borderWidth.DEFAULT'})`,
|
|
120
|
+
color: {
|
|
121
|
+
light: `theme(${'color.basic.border.DEFAULT'})`,
|
|
122
|
+
dark: `theme(${'color.basic.border.dark'})`,
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
item: {
|
|
126
|
+
px: `theme(${'padding.3'})`,
|
|
127
|
+
py: `theme(${'padding.3'})`,
|
|
128
|
+
mx: `theme(${'margin.0'})`,
|
|
129
|
+
border: {
|
|
130
|
+
width: `theme(${'borderWidth.0'})`,
|
|
131
|
+
color: {
|
|
132
|
+
light: `theme(${'color.transparent'})`,
|
|
133
|
+
dark: `theme(${'color.transparent'})`,
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
bg: {
|
|
137
|
+
light: `theme(${'backgroundColor.transparent'})`,
|
|
138
|
+
dark: `theme(${'backgroundColor.transparent'})`,
|
|
139
|
+
},
|
|
140
|
+
hover: {
|
|
141
|
+
bg: {
|
|
142
|
+
light: `theme(${'backgroundColor.basic.hover.light'})`,
|
|
143
|
+
dark: `theme(${'backgroundColor.basic.hover.dark'})`,
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/daterangepicker/index.ts"],"names":[],"mappings":"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","sourcesContent":["export const DateRangePickerStyles = (styles: any = {}) => {\n return {\n font: {\n size: `theme(${'fontSize.base'})`,\n weight: `theme(${'fontWeight.normal'})`,\n family: `theme(${'fontFamily.sans'})`,\n },\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.dark'})`,\n },\n menu: {\n px: `theme(${'padding.1'})`,\n py: `theme(${'padding.1'})`,\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.tonal.dark'})`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `theme(${'backgroundColor.basic.border.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.border.dark'})`\n },\n radius: `theme(${'borderRadius.2xl'})`,\n },\n width: 'auto',\n minWidth: '200px',\n minHeight: '20px',\n maxHeight: '300px',\n },\n boxShadow: {\n light: `0 2px 8px rgba(0,0,0,0.15)`,\n dark: `0 2px 8px rgba(0,0,0,0.15)`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `transparent`,\n dark: `transparent`,\n },\n radius: `theme(${'borderRadius.2xl'})`,\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`,\n },\n header: {\n bg: {\n light: `theme(${'backgroundColor.basic.muted.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.muted.dark'})`,\n },\n px: `theme(${'padding.0'})`,\n py: `theme(${'padding.0'})`,\n title: {\n font: {\n size: `theme(${'fontSize.md'})`,\n weight: `theme(${'fontWeight.semibold'})`,\n },\n },\n },\n day: {\n bg: {\n light: `theme(${'backgroundColor.basic.tonal.DEFAULT'})`,\n dark: `theme(${'backgroundColor.basic.dark'})`,\n },\n inRange: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n },\n selected: {\n bg: {\n light: `theme(${'backgroundColor.secondary.light'})`,\n dark: `theme(${'backgroundColor.secondary.dark'})`,\n },\n color: {\n light: `#fff`,\n dark: `#fff`,\n },\n border: {\n radius: `theme(${'borderRadius.md'})`,\n },\n },\n hover: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n },\n color: {\n light: `theme(${'color.basic.text.DEFAULT'})`,\n dark: `theme(${'color.basic.text.dark'})`,\n },\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `theme(${'color.basic.text.border.light'})`,\n dark: `theme(${'color--flx-basetext.border.dark'})`,\n },\n radius: `theme(${'borderRadius.none'})`,\n },\n px: `theme(${'padding.4'})`,\n py: `theme(${'padding.4'})`,\n w: '36px',\n h: '36px',\n disabled: {\n color: {\n light: `#ccc`,\n dark: `#ccc`,\n },\n },\n },\n presets: {\n px: `theme(${'padding.3'})`,\n py: `theme(${'padding.2'})`,\n border: {\n width: `theme(${'borderWidth.DEFAULT'})`,\n color: {\n light: `theme(${'color.basic.border.DEFAULT'})`,\n dark: `theme(${'color.basic.border.dark'})`,\n },\n },\n item: {\n px: `theme(${'padding.3'})`,\n py: `theme(${'padding.3'})`,\n mx: `theme(${'margin.0'})`,\n border: {\n width: `theme(${'borderWidth.0'})`,\n color: {\n light: `theme(${'color.transparent'})`,\n dark: `theme(${'color.transparent'})`,\n },\n },\n bg: {\n light: `theme(${'backgroundColor.transparent'})`,\n dark: `theme(${'backgroundColor.transparent'})`,\n },\n hover: {\n bg: {\n light: `theme(${'backgroundColor.basic.hover.light'})`,\n dark: `theme(${'backgroundColor.basic.hover.dark'})`,\n },\n },\n },\n },\n };\n};\n"]}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare const DialogStyles: (styles?: any) => {
|
|
2
|
+
font: {
|
|
3
|
+
size: string;
|
|
4
|
+
weight: string;
|
|
5
|
+
};
|
|
6
|
+
backdrop: {
|
|
7
|
+
bg: {
|
|
8
|
+
light: string;
|
|
9
|
+
dark: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
height: string;
|
|
13
|
+
bg: {
|
|
14
|
+
light: string;
|
|
15
|
+
dark: string;
|
|
16
|
+
};
|
|
17
|
+
menu: {
|
|
18
|
+
px: string;
|
|
19
|
+
py: string;
|
|
20
|
+
bg: {
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
border: {
|
|
25
|
+
width: string;
|
|
26
|
+
color: {
|
|
27
|
+
light: string;
|
|
28
|
+
dark: string;
|
|
29
|
+
};
|
|
30
|
+
radius: string;
|
|
31
|
+
};
|
|
32
|
+
width: string;
|
|
33
|
+
minWidth: string;
|
|
34
|
+
minHeight: string;
|
|
35
|
+
maxHeight: string;
|
|
36
|
+
};
|
|
37
|
+
border: {
|
|
38
|
+
width: string;
|
|
39
|
+
color: {
|
|
40
|
+
light: string;
|
|
41
|
+
dark: string;
|
|
42
|
+
};
|
|
43
|
+
radius: string;
|
|
44
|
+
};
|
|
45
|
+
boxShadow: string;
|
|
46
|
+
maxWidth: string;
|
|
47
|
+
color: {
|
|
48
|
+
light: string;
|
|
49
|
+
dark: string;
|
|
50
|
+
};
|
|
51
|
+
header: {
|
|
52
|
+
px: string;
|
|
53
|
+
py: string;
|
|
54
|
+
title: {
|
|
55
|
+
font: {
|
|
56
|
+
size: string;
|
|
57
|
+
weight: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
height: string;
|
|
61
|
+
};
|
|
62
|
+
body: {
|
|
63
|
+
px: string;
|
|
64
|
+
py: string;
|
|
65
|
+
};
|
|
66
|
+
footer: {
|
|
67
|
+
px: string;
|
|
68
|
+
py: string;
|
|
69
|
+
height: string;
|
|
70
|
+
};
|
|
71
|
+
};
|