@moni-labs/moni-ui 0.2.0 → 0.3.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/README.md +52 -194
- package/custom-elements.json +1636 -350
- package/dist/actions/index.d.ts +6 -0
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +6 -0
- package/dist/components/_base/field-styles.d.ts +51 -16
- package/dist/components/_base/field-styles.d.ts.map +1 -1
- package/dist/components/_base/field-styles.js +164 -36
- package/dist/components/_base/index.d.ts +25 -0
- package/dist/components/_base/index.d.ts.map +1 -1
- package/dist/components/_base/index.js +25 -0
- package/dist/components/_base/interaction-styles.d.ts +39 -12
- package/dist/components/_base/interaction-styles.d.ts.map +1 -1
- package/dist/components/_base/interaction-styles.js +85 -33
- package/dist/components/_base/moni-element.d.ts +43 -8
- package/dist/components/_base/moni-element.d.ts.map +1 -1
- package/dist/components/_base/moni-element.js +43 -8
- package/dist/components/_base/shared-styles.d.ts +41 -17
- package/dist/components/_base/shared-styles.d.ts.map +1 -1
- package/dist/components/_base/shared-styles.js +113 -21
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +6 -0
- package/dist/components/loading-shapes.d.ts +6 -0
- package/dist/components/loading-shapes.d.ts.map +1 -1
- package/dist/components/loading-shapes.js +6 -0
- package/dist/components/moni-app-bar.d.ts +128 -33
- package/dist/components/moni-app-bar.d.ts.map +1 -1
- package/dist/components/moni-app-bar.js +121 -26
- package/dist/components/moni-badge.d.ts +122 -14
- package/dist/components/moni-badge.d.ts.map +1 -1
- package/dist/components/moni-badge.js +122 -14
- package/dist/components/moni-bottom-sheet.d.ts +120 -15
- package/dist/components/moni-bottom-sheet.d.ts.map +1 -1
- package/dist/components/moni-bottom-sheet.js +116 -12
- package/dist/components/moni-button-group.d.ts +53 -27
- package/dist/components/moni-button-group.d.ts.map +1 -1
- package/dist/components/moni-button-group.js +49 -23
- package/dist/components/moni-button-segment.d.ts +28 -8
- package/dist/components/moni-button-segment.d.ts.map +1 -1
- package/dist/components/moni-button-segment.js +27 -7
- package/dist/components/moni-button.d.ts +51 -32
- package/dist/components/moni-button.d.ts.map +1 -1
- package/dist/components/moni-button.js +50 -31
- package/dist/components/moni-card.d.ts +91 -31
- package/dist/components/moni-card.d.ts.map +1 -1
- package/dist/components/moni-card.js +86 -26
- package/dist/components/moni-carousel.d.ts +67 -17
- package/dist/components/moni-carousel.d.ts.map +1 -1
- package/dist/components/moni-carousel.js +59 -16
- package/dist/components/moni-checkbox.d.ts +122 -17
- package/dist/components/moni-checkbox.d.ts.map +1 -1
- package/dist/components/moni-checkbox.js +118 -14
- package/dist/components/moni-chip.d.ts +56 -30
- package/dist/components/moni-chip.d.ts.map +1 -1
- package/dist/components/moni-chip.js +51 -25
- package/dist/components/moni-color-field.d.ts +44 -6
- package/dist/components/moni-color-field.d.ts.map +1 -1
- package/dist/components/moni-color-field.js +43 -5
- package/dist/components/moni-context-menu.d.ts +44 -22
- package/dist/components/moni-context-menu.d.ts.map +1 -1
- package/dist/components/moni-context-menu.js +43 -21
- package/dist/components/moni-dialog.d.ts +107 -15
- package/dist/components/moni-dialog.d.ts.map +1 -1
- package/dist/components/moni-dialog.js +105 -14
- package/dist/components/moni-divider.d.ts +50 -15
- package/dist/components/moni-divider.d.ts.map +1 -1
- package/dist/components/moni-divider.js +49 -14
- package/dist/components/moni-expansion.d.ts +44 -8
- package/dist/components/moni-expansion.d.ts.map +1 -1
- package/dist/components/moni-expansion.js +43 -7
- package/dist/components/moni-fab-menu.d.ts +39 -20
- package/dist/components/moni-fab-menu.d.ts.map +1 -1
- package/dist/components/moni-fab-menu.js +38 -19
- package/dist/components/moni-fab.d.ts +49 -23
- package/dist/components/moni-fab.d.ts.map +1 -1
- package/dist/components/moni-fab.js +46 -20
- package/dist/components/moni-file-field.d.ts +54 -14
- package/dist/components/moni-file-field.d.ts.map +1 -1
- package/dist/components/moni-file-field.js +53 -13
- package/dist/components/moni-icon.d.ts +78 -11
- package/dist/components/moni-icon.d.ts.map +1 -1
- package/dist/components/moni-icon.js +77 -10
- package/dist/components/moni-list-item.d.ts +61 -30
- package/dist/components/moni-list-item.d.ts.map +1 -1
- package/dist/components/moni-list-item.js +55 -24
- package/dist/components/moni-list.d.ts +37 -13
- package/dist/components/moni-list.d.ts.map +1 -1
- package/dist/components/moni-list.js +36 -12
- package/dist/components/moni-loading-indicator.d.ts +38 -11
- package/dist/components/moni-loading-indicator.d.ts.map +1 -1
- package/dist/components/moni-loading-indicator.js +37 -10
- package/dist/components/moni-menu-item.d.ts +31 -8
- package/dist/components/moni-menu-item.d.ts.map +1 -1
- package/dist/components/moni-menu-item.js +30 -7
- package/dist/components/moni-menu.d.ts +58 -33
- package/dist/components/moni-menu.d.ts.map +1 -1
- package/dist/components/moni-menu.js +51 -26
- package/dist/components/moni-morph-modal.d.ts +7 -1
- package/dist/components/moni-morph-modal.d.ts.map +1 -1
- package/dist/components/moni-morph-modal.js +46 -24
- package/dist/components/moni-nav-item.d.ts +50 -10
- package/dist/components/moni-nav-item.d.ts.map +1 -1
- package/dist/components/moni-nav-item.js +48 -8
- package/dist/components/moni-nav.d.ts +57 -22
- package/dist/components/moni-nav.d.ts.map +1 -1
- package/dist/components/moni-nav.js +53 -18
- package/dist/components/moni-progress.d.ts +108 -20
- package/dist/components/moni-progress.d.ts.map +1 -1
- package/dist/components/moni-progress.js +104 -16
- package/dist/components/moni-radio.d.ts +106 -14
- package/dist/components/moni-radio.d.ts.map +1 -1
- package/dist/components/moni-radio.js +104 -13
- package/dist/components/moni-ripple.d.ts +121 -10
- package/dist/components/moni-ripple.d.ts.map +1 -1
- package/dist/components/moni-ripple.js +120 -9
- package/dist/components/moni-segmented-button.d.ts +31 -11
- package/dist/components/moni-segmented-button.d.ts.map +1 -1
- package/dist/components/moni-segmented-button.js +30 -10
- package/dist/components/moni-select-option.d.ts +43 -9
- package/dist/components/moni-select-option.d.ts.map +1 -1
- package/dist/components/moni-select-option.js +41 -7
- package/dist/components/moni-select.d.ts +59 -2
- package/dist/components/moni-select.d.ts.map +1 -1
- package/dist/components/moni-select.js +58 -1
- package/dist/components/moni-shape.d.ts +1 -1
- package/dist/components/moni-side-sheet.d.ts +56 -19
- package/dist/components/moni-side-sheet.d.ts.map +1 -1
- package/dist/components/moni-side-sheet.js +53 -16
- package/dist/components/moni-slider.d.ts +56 -25
- package/dist/components/moni-slider.d.ts.map +1 -1
- package/dist/components/moni-slider.js +55 -24
- package/dist/components/moni-snackbar.d.ts +86 -17
- package/dist/components/moni-snackbar.d.ts.map +1 -1
- package/dist/components/moni-snackbar.js +85 -16
- package/dist/components/moni-split-button.d.ts +38 -9
- package/dist/components/moni-split-button.d.ts.map +1 -1
- package/dist/components/moni-split-button.js +37 -8
- package/dist/components/moni-step.d.ts +42 -9
- package/dist/components/moni-step.d.ts.map +1 -1
- package/dist/components/moni-step.js +41 -8
- package/dist/components/moni-stepper.d.ts +43 -6
- package/dist/components/moni-stepper.d.ts.map +1 -1
- package/dist/components/moni-stepper.js +42 -5
- package/dist/components/moni-switch.d.ts +103 -16
- package/dist/components/moni-switch.d.ts.map +1 -1
- package/dist/components/moni-switch.js +99 -13
- package/dist/components/moni-tab.d.ts +35 -8
- package/dist/components/moni-tab.d.ts.map +1 -1
- package/dist/components/moni-tab.js +34 -7
- package/dist/components/moni-tabs.d.ts +51 -13
- package/dist/components/moni-tabs.d.ts.map +1 -1
- package/dist/components/moni-tabs.js +48 -10
- package/dist/components/moni-text-field.d.ts +55 -10
- package/dist/components/moni-text-field.d.ts.map +1 -1
- package/dist/components/moni-text-field.js +54 -9
- package/dist/components/moni-textarea.d.ts +51 -21
- package/dist/components/moni-textarea.d.ts.map +1 -1
- package/dist/components/moni-textarea.js +48 -18
- package/dist/components/moni-time-picker.d.ts +41 -11
- package/dist/components/moni-time-picker.d.ts.map +1 -1
- package/dist/components/moni-time-picker.js +40 -10
- package/dist/components/moni-toolbar.d.ts +43 -15
- package/dist/components/moni-toolbar.d.ts.map +1 -1
- package/dist/components/moni-toolbar.js +42 -14
- package/dist/components/moni-tooltip.d.ts +55 -25
- package/dist/components/moni-tooltip.d.ts.map +1 -1
- package/dist/components/moni-tooltip.js +54 -24
- package/dist/components/moni-typography.d.ts +43 -18
- package/dist/components/moni-typography.d.ts.map +1 -1
- package/dist/components/moni-typography.js +42 -17
- package/dist/index.d.ts +47 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +59 -2
- package/dist/styles/tailwind.css +67 -0
- package/dist/styles/tokens.css +111 -99
- package/dist/utils/color.d.ts +181 -2
- package/dist/utils/color.d.ts.map +1 -1
- package/dist/utils/color.js +182 -4
- package/dist/utils/theme.svelte.d.ts +305 -2
- package/dist/utils/theme.svelte.d.ts.map +1 -1
- package/dist/utils/theme.svelte.js +331 -2
- package/dist/web-components.d.ts +28 -0
- package/dist/web-components.d.ts.map +1 -1
- package/dist/web-components.js +29 -2
- package/package.json +1 -1
- package/src/actions/index.ts +7 -0
- package/src/components/_base/field-styles.ts +165 -37
- package/src/components/_base/index.ts +27 -0
- package/src/components/_base/interaction-styles.ts +86 -33
- package/src/components/_base/moni-element.ts +44 -8
- package/src/components/_base/shared-styles.ts +114 -21
- package/src/components/index.ts +7 -0
- package/src/components/loading-shapes.ts +7 -0
- package/src/components/moni-app-bar.ts +127 -26
- package/src/components/moni-badge.ts +128 -14
- package/src/components/moni-bottom-sheet.ts +125 -13
- package/src/components/moni-button-group.ts +50 -23
- package/src/components/moni-button-segment.ts +28 -7
- package/src/components/moni-button.ts +51 -31
- package/src/components/moni-card.ts +90 -26
- package/src/components/moni-carousel.ts +67 -16
- package/src/components/moni-checkbox.ts +125 -14
- package/src/components/moni-chip.ts +52 -25
- package/src/components/moni-color-field.ts +44 -5
- package/src/components/moni-context-menu.ts +44 -21
- package/src/components/moni-dialog.ts +111 -14
- package/src/components/moni-divider.ts +50 -14
- package/src/components/moni-expansion.ts +44 -7
- package/src/components/moni-fab-menu.ts +39 -19
- package/src/components/moni-fab.ts +47 -20
- package/src/components/moni-file-field.ts +54 -13
- package/src/components/moni-icon.ts +80 -10
- package/src/components/moni-list-item.ts +56 -24
- package/src/components/moni-list.ts +37 -12
- package/src/components/moni-loading-indicator.ts +38 -10
- package/src/components/moni-menu-item.ts +31 -7
- package/src/components/moni-menu.ts +52 -26
- package/src/components/moni-morph-modal.ts +58 -24
- package/src/components/moni-nav-item.ts +49 -8
- package/src/components/moni-nav.ts +54 -18
- package/src/components/moni-progress.ts +109 -16
- package/src/components/moni-radio.ts +111 -13
- package/src/components/moni-ripple.ts +126 -9
- package/src/components/moni-segmented-button.ts +31 -10
- package/src/components/moni-select-option.ts +42 -7
- package/src/components/moni-select.ts +79 -1
- package/src/components/moni-side-sheet.ts +54 -16
- package/src/components/moni-slider.ts +56 -24
- package/src/components/moni-snackbar.ts +90 -16
- package/src/components/moni-split-button.ts +38 -8
- package/src/components/moni-step.ts +42 -8
- package/src/components/moni-stepper.ts +43 -5
- package/src/components/moni-switch.ts +106 -13
- package/src/components/moni-tab.ts +35 -7
- package/src/components/moni-tabs.ts +49 -10
- package/src/components/moni-text-field.ts +55 -9
- package/src/components/moni-textarea.ts +49 -18
- package/src/components/moni-time-picker.ts +41 -10
- package/src/components/moni-toolbar.ts +43 -14
- package/src/components/moni-tooltip.ts +55 -24
- package/src/components/moni-typography.ts +43 -17
- package/src/index.ts +67 -3
- package/src/styles/tailwind.css +67 -0
- package/src/styles/tokens.css +111 -99
- package/src/types/svelte-runes.d.ts +64 -2
- package/src/utils/color.ts +286 -5
- package/src/utils/theme.svelte.ts +411 -2
- package/src/web-components.ts +31 -2
- package/dist/assets/shapes/arch.svg +0 -1
- package/dist/assets/shapes/arrow.svg +0 -1
- package/dist/assets/shapes/boom.svg +0 -1
- package/dist/assets/shapes/burst.svg +0 -1
- package/dist/assets/shapes/circle.svg +0 -1
- package/dist/assets/shapes/clamshell.svg +0 -1
- package/dist/assets/shapes/diamond.svg +0 -1
- package/dist/assets/shapes/fan.svg +0 -1
- package/dist/assets/shapes/flower.svg +0 -1
- package/dist/assets/shapes/gem.svg +0 -1
- package/dist/assets/shapes/ghost-ish.svg +0 -1
- package/dist/assets/shapes/heart.svg +0 -1
- package/dist/assets/shapes/leaf-clover4.svg +0 -1
- package/dist/assets/shapes/leaf-clover8.svg +0 -1
- package/dist/assets/shapes/loading-indicator.svg +0 -1
- package/dist/assets/shapes/oval.svg +0 -1
- package/dist/assets/shapes/pentagon.svg +0 -1
- package/dist/assets/shapes/pill.svg +0 -1
- package/dist/assets/shapes/pixel-circle.svg +0 -1
- package/dist/assets/shapes/pixel-triangle.svg +0 -1
- package/dist/assets/shapes/puffy-diamond.svg +0 -1
- package/dist/assets/shapes/puffy.svg +0 -1
- package/dist/assets/shapes/semicircle.svg +0 -1
- package/dist/assets/shapes/sided-cookie12.svg +0 -1
- package/dist/assets/shapes/sided-cookie4.svg +0 -1
- package/dist/assets/shapes/sided-cookie6.svg +0 -1
- package/dist/assets/shapes/sided-cookie7.svg +0 -1
- package/dist/assets/shapes/sided-cookie9.svg +0 -1
- package/dist/assets/shapes/slanted.svg +0 -1
- package/dist/assets/shapes/soft-boom.svg +0 -1
- package/dist/assets/shapes/soft-burst.svg +0 -1
- package/dist/assets/shapes/square.svg +0 -1
- package/dist/assets/shapes/sunny.svg +0 -1
- package/dist/assets/shapes/triangle.svg +0 -1
- package/dist/assets/shapes/very-sunny.svg +0 -1
- package/dist/assets/shapes/wavy-circle.svg +0 -1
- package/dist/assets/shapes/wavy.svg +0 -1
- package/src/assets/shapes/arch.svg +0 -1
- package/src/assets/shapes/arrow.svg +0 -1
- package/src/assets/shapes/boom.svg +0 -1
- package/src/assets/shapes/burst.svg +0 -1
- package/src/assets/shapes/circle.svg +0 -1
- package/src/assets/shapes/clamshell.svg +0 -1
- package/src/assets/shapes/diamond.svg +0 -1
- package/src/assets/shapes/fan.svg +0 -1
- package/src/assets/shapes/flower.svg +0 -1
- package/src/assets/shapes/gem.svg +0 -1
- package/src/assets/shapes/ghost-ish.svg +0 -1
- package/src/assets/shapes/heart.svg +0 -1
- package/src/assets/shapes/leaf-clover4.svg +0 -1
- package/src/assets/shapes/leaf-clover8.svg +0 -1
- package/src/assets/shapes/loading-indicator.svg +0 -1
- package/src/assets/shapes/oval.svg +0 -1
- package/src/assets/shapes/pentagon.svg +0 -1
- package/src/assets/shapes/pill.svg +0 -1
- package/src/assets/shapes/pixel-circle.svg +0 -1
- package/src/assets/shapes/pixel-triangle.svg +0 -1
- package/src/assets/shapes/puffy-diamond.svg +0 -1
- package/src/assets/shapes/puffy.svg +0 -1
- package/src/assets/shapes/semicircle.svg +0 -1
- package/src/assets/shapes/sided-cookie12.svg +0 -1
- package/src/assets/shapes/sided-cookie4.svg +0 -1
- package/src/assets/shapes/sided-cookie6.svg +0 -1
- package/src/assets/shapes/sided-cookie7.svg +0 -1
- package/src/assets/shapes/sided-cookie9.svg +0 -1
- package/src/assets/shapes/slanted.svg +0 -1
- package/src/assets/shapes/soft-boom.svg +0 -1
- package/src/assets/shapes/soft-burst.svg +0 -1
- package/src/assets/shapes/square.svg +0 -1
- package/src/assets/shapes/sunny.svg +0 -1
- package/src/assets/shapes/triangle.svg +0 -1
- package/src/assets/shapes/very-sunny.svg +0 -1
- package/src/assets/shapes/wavy-circle.svg +0 -1
- package/src/assets/shapes/wavy.svg +0 -1
package/dist/styles/tokens.css
CHANGED
|
@@ -1,46 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
@
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
|
|
30
|
-
--
|
|
31
|
-
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
|
|
35
|
-
--
|
|
36
|
-
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--
|
|
1
|
+
/**
|
|
2
|
+
* @file styles/tokens.css
|
|
3
|
+
* @package @moni-labs/moni-ui
|
|
4
|
+
* @license MIT
|
|
5
|
+
* @contributors Moni Labs & Contributors
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
/* ─── Moni Design System core prefixed tokens ─── */
|
|
10
|
+
--moni-primary: var(--md-sys-color-primary, #6750a4);
|
|
11
|
+
--moni-on-primary: var(--md-sys-color-on-primary, #ffffff);
|
|
12
|
+
--moni-primary-container: var(--md-sys-color-primary-container, #eaddff);
|
|
13
|
+
--moni-on-primary-container: var(--md-sys-color-on-primary-container, #21005d);
|
|
14
|
+
|
|
15
|
+
--moni-secondary: var(--md-sys-color-secondary, #625b71);
|
|
16
|
+
--moni-on-secondary: var(--md-sys-color-on-secondary, #ffffff);
|
|
17
|
+
--moni-secondary-container: var(--md-sys-color-secondary-container, #e8def8);
|
|
18
|
+
--moni-on-secondary-container: var(--md-sys-color-on-secondary-container, #1d192b);
|
|
19
|
+
|
|
20
|
+
--moni-tertiary: var(--md-sys-color-tertiary, #7d5260);
|
|
21
|
+
--moni-on-tertiary: var(--md-sys-color-on-tertiary, #ffffff);
|
|
22
|
+
--moni-tertiary-container: var(--md-sys-color-tertiary-container, #ffd8e4);
|
|
23
|
+
--moni-on-tertiary-container: var(--md-sys-color-on-tertiary-container, #31111d);
|
|
24
|
+
|
|
25
|
+
--moni-error: var(--md-sys-color-error, #b3261e);
|
|
26
|
+
--moni-on-error: var(--md-sys-color-on-error, #ffffff);
|
|
27
|
+
--moni-error-container: var(--md-sys-color-error-container, #f9dedc);
|
|
28
|
+
--moni-on-error-container: var(--md-sys-color-on-error-container, #410e0b);
|
|
29
|
+
|
|
30
|
+
--moni-background: var(--md-sys-color-background, #fef7ff);
|
|
31
|
+
--moni-on-background: var(--md-sys-color-on-background, #1d1b20);
|
|
32
|
+
--moni-surface: var(--md-sys-color-surface, #fef7ff);
|
|
33
|
+
--moni-on-surface: var(--md-sys-color-on-surface, #1d1b20);
|
|
34
|
+
--moni-surface-variant: var(--md-sys-color-surface-variant, #e7e0ec);
|
|
35
|
+
--moni-on-surface-variant: var(--md-sys-color-on-surface-variant, #49454f);
|
|
36
|
+
|
|
37
|
+
--moni-outline: var(--md-sys-color-outline, #79747e);
|
|
38
|
+
--moni-outline-variant: var(--md-sys-color-outline-variant, #cac4d0);
|
|
39
|
+
|
|
40
|
+
--moni-surface-container-lowest: var(--md-sys-color-surface-container-lowest, #ffffff);
|
|
41
|
+
--moni-surface-container-low: var(--md-sys-color-surface-container-low, #f7f2fa);
|
|
42
|
+
--moni-surface-container: var(--md-sys-color-surface-container, #f3edf7);
|
|
43
|
+
--moni-surface-container-high: var(--md-sys-color-surface-container-high, #ece6f0);
|
|
44
|
+
--moni-surface-container-highest: var(--md-sys-color-surface-container-highest, #e6e1e5);
|
|
45
|
+
|
|
46
|
+
--moni-inverse-surface: var(--md-sys-color-inverse-surface, #313033);
|
|
47
|
+
--moni-inverse-on-surface: var(--md-sys-color-inverse-on-surface, #f4f0f4);
|
|
48
|
+
--moni-inverse-primary: var(--md-sys-color-inverse-primary, #d0bcff);
|
|
44
49
|
|
|
45
50
|
/* ─── Semantic Moni tokens ─── */
|
|
46
51
|
--color-success: #16a34a;
|
|
@@ -126,65 +131,72 @@
|
|
|
126
131
|
--moni-grain-opacity: var(--moni-grain-opacity, 0.03);
|
|
127
132
|
|
|
128
133
|
/* ─── Legacy Moni tokens (fallback durante la migración) ─── */
|
|
129
|
-
--color-brand-bg: var(--
|
|
130
|
-
--color-brand-surface: var(--
|
|
131
|
-
--color-brand-primary: var(--
|
|
132
|
-
--color-brand-muted: var(--
|
|
133
|
-
--color-brand-border: var(--
|
|
134
|
-
--color-brand-accent: var(--
|
|
135
|
-
|
|
136
|
-
--color-admin-bg: var(--
|
|
137
|
-
--color-admin-surface: var(--
|
|
138
|
-
--color-admin-sidebar: var(--
|
|
139
|
-
--color-admin-sidebar-fg: var(--
|
|
140
|
-
--color-admin-sidebar-muted: var(--
|
|
141
|
-
--color-admin-accent: var(--
|
|
142
|
-
--color-admin-accent-soft: var(--
|
|
143
|
-
--color-admin-text: var(--
|
|
134
|
+
--color-brand-bg: var(--moni-background);
|
|
135
|
+
--color-brand-surface: var(--moni-surface);
|
|
136
|
+
--color-brand-primary: var(--moni-on-surface);
|
|
137
|
+
--color-brand-muted: var(--moni-on-surface-variant);
|
|
138
|
+
--color-brand-border: var(--moni-outline-variant);
|
|
139
|
+
--color-brand-accent: var(--moni-primary);
|
|
140
|
+
|
|
141
|
+
--color-admin-bg: var(--moni-background);
|
|
142
|
+
--color-admin-surface: var(--moni-surface);
|
|
143
|
+
--color-admin-sidebar: var(--moni-inverse-surface);
|
|
144
|
+
--color-admin-sidebar-fg: var(--moni-inverse-on-surface);
|
|
145
|
+
--color-admin-sidebar-muted: var(--moni-inverse-on-surface);
|
|
146
|
+
--color-admin-accent: var(--moni-primary);
|
|
147
|
+
--color-admin-accent-soft: var(--moni-primary-container);
|
|
148
|
+
--color-admin-text: var(--moni-on-surface);
|
|
144
149
|
--color-admin-success: var(--color-success);
|
|
145
150
|
--color-admin-warn: var(--color-warning);
|
|
146
151
|
--color-admin-danger: var(--color-danger);
|
|
147
152
|
--color-admin-info: var(--color-info);
|
|
148
|
-
}
|
|
149
153
|
|
|
150
|
-
|
|
151
|
-
--primary: var(--
|
|
152
|
-
--on-primary: var(--
|
|
153
|
-
--primary-container: var(--
|
|
154
|
-
--on-primary-container: var(--
|
|
155
|
-
|
|
156
|
-
--secondary: var(--
|
|
157
|
-
--on-secondary: var(--
|
|
158
|
-
--secondary-container: var(--
|
|
159
|
-
--on-secondary-container: var(--
|
|
160
|
-
|
|
161
|
-
--tertiary: var(--
|
|
162
|
-
--on-tertiary: var(--
|
|
163
|
-
--tertiary-container: var(--
|
|
164
|
-
--on-tertiary-container: var(--
|
|
165
|
-
|
|
166
|
-
--error: var(--
|
|
167
|
-
--on-error: var(--
|
|
168
|
-
--error-container: var(--
|
|
169
|
-
--on-error-container: var(--
|
|
170
|
-
|
|
171
|
-
--background: var(--
|
|
172
|
-
--on-background: var(--
|
|
173
|
-
--surface: var(--
|
|
174
|
-
--on-surface: var(--
|
|
175
|
-
--surface-variant: var(--
|
|
176
|
-
--on-surface-variant: var(--
|
|
177
|
-
|
|
178
|
-
--outline: var(--
|
|
179
|
-
--outline-variant: var(--
|
|
180
|
-
|
|
181
|
-
--surface-container-lowest: var(--
|
|
182
|
-
--surface-container-low: var(--
|
|
183
|
-
--surface-container: var(--
|
|
184
|
-
--surface-container-high: var(--
|
|
185
|
-
--surface-container-highest: var(--
|
|
186
|
-
|
|
187
|
-
--inverse-surface: var(--
|
|
188
|
-
--inverse-on-surface: var(--
|
|
189
|
-
--inverse-primary: var(--
|
|
154
|
+
/* ─── CSS compatibility aliases for Light DOM / external styling ─── */
|
|
155
|
+
--color-primary: var(--moni-primary);
|
|
156
|
+
--color-on-primary: var(--moni-on-primary);
|
|
157
|
+
--color-primary-container: var(--moni-primary-container);
|
|
158
|
+
--color-on-primary-container: var(--moni-on-primary-container);
|
|
159
|
+
|
|
160
|
+
--color-secondary: var(--moni-secondary);
|
|
161
|
+
--color-on-secondary: var(--moni-on-secondary);
|
|
162
|
+
--color-secondary-container: var(--moni-secondary-container);
|
|
163
|
+
--color-on-secondary-container: var(--moni-on-secondary-container);
|
|
164
|
+
|
|
165
|
+
--color-tertiary: var(--moni-tertiary);
|
|
166
|
+
--color-on-tertiary: var(--moni-on-tertiary);
|
|
167
|
+
--color-tertiary-container: var(--moni-tertiary-container);
|
|
168
|
+
--color-on-tertiary-container: var(--moni-on-tertiary-container);
|
|
169
|
+
|
|
170
|
+
--color-error: var(--moni-error);
|
|
171
|
+
--color-on-error: var(--moni-on-error);
|
|
172
|
+
--color-error-container: var(--moni-error-container);
|
|
173
|
+
--color-on-error-container: var(--moni-on-error-container);
|
|
174
|
+
|
|
175
|
+
--color-background: var(--moni-background);
|
|
176
|
+
--color-on-background: var(--moni-on-background);
|
|
177
|
+
--color-surface: var(--moni-surface);
|
|
178
|
+
--color-on-surface: var(--moni-on-surface);
|
|
179
|
+
--color-surface-variant: var(--moni-surface-variant);
|
|
180
|
+
--color-on-surface-variant: var(--moni-on-surface-variant);
|
|
181
|
+
|
|
182
|
+
--color-outline: var(--moni-outline);
|
|
183
|
+
--color-outline-variant: var(--moni-outline-variant);
|
|
184
|
+
|
|
185
|
+
--color-surface-container-lowest: var(--moni-surface-container-lowest);
|
|
186
|
+
--color-surface-container-low: var(--moni-surface-container-low);
|
|
187
|
+
--color-surface-container: var(--moni-surface-container);
|
|
188
|
+
--color-surface-container-high: var(--moni-surface-container-high);
|
|
189
|
+
--color-surface-container-highest: var(--moni-surface-container-highest);
|
|
190
|
+
|
|
191
|
+
--color-inverse-surface: var(--moni-inverse-surface);
|
|
192
|
+
--color-inverse-on-surface: var(--moni-inverse-on-surface);
|
|
193
|
+
--color-inverse-primary: var(--moni-inverse-primary);
|
|
194
|
+
|
|
195
|
+
/* Deprecated global variables fallback (can be disabled if conflicting) */
|
|
196
|
+
--primary: var(--moni-primary);
|
|
197
|
+
--on-primary: var(--moni-on-primary);
|
|
198
|
+
--background: var(--moni-background);
|
|
199
|
+
--surface: var(--moni-surface);
|
|
200
|
+
--on-surface: var(--moni-on-surface);
|
|
201
|
+
--outline: var(--moni-outline);
|
|
190
202
|
}
|
package/dist/utils/color.d.ts
CHANGED
|
@@ -1,51 +1,230 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* @file utils/color.ts
|
|
3
|
+
* @package @moni-labs/moni-ui
|
|
4
|
+
* @license MIT
|
|
5
|
+
* @contributors Moni Labs & Contributors
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* WCAG contrast enhancement level for a generated color scheme.
|
|
9
|
+
*
|
|
10
|
+
* Maps to the `contrastLevel` argument of `SchemeTonalSpot`:
|
|
11
|
+
* - `'standard'` → 0.0 — WCAG AA minimum contrast. Best for everyday UIs.
|
|
12
|
+
* - `'medium'` → 0.5 — Raised contrast. Useful for users with mild low-vision.
|
|
13
|
+
* - `'high'` → 1.0 — WCAG AAA maximum contrast. Required for accessibility-first apps.
|
|
4
14
|
*/
|
|
5
15
|
export type ContrastLevel = 'standard' | 'medium' | 'high';
|
|
16
|
+
/**
|
|
17
|
+
* Hue–Saturation–Lightness color representation.
|
|
18
|
+
*
|
|
19
|
+
* All values use the CSS `hsl()` convention:
|
|
20
|
+
* - `h` — hue angle in **degrees**, range [0, 360).
|
|
21
|
+
* - `s` — saturation as a **percentage**, range [0, 100].
|
|
22
|
+
* - `l` — lightness as a **percentage**, range [0, 100].
|
|
23
|
+
*/
|
|
6
24
|
export interface HSL {
|
|
25
|
+
/** Hue angle in degrees [0, 360). */
|
|
7
26
|
h: number;
|
|
27
|
+
/** Saturation percentage [0, 100]. */
|
|
8
28
|
s: number;
|
|
29
|
+
/** Lightness percentage [0, 100]. */
|
|
9
30
|
l: number;
|
|
10
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* A complete Material Design 3 color scheme with 27 semantic color roles.
|
|
34
|
+
*
|
|
35
|
+
* Every role is expressed as a 7-character hex string (e.g. `'#6750a4'`).
|
|
36
|
+
* The naming convention follows the MD3 spec directly:
|
|
37
|
+
* - `primary` / `onPrimary` — main brand color and its contrast pair.
|
|
38
|
+
* - `primaryContainer` / `onPrimaryContainer` — lower-emphasis filled containers.
|
|
39
|
+
* - `secondary`, `tertiary`, `error` — supporting accent palettes.
|
|
40
|
+
* - `surface*` — background hierarchy (5 tones).
|
|
41
|
+
* - `inverse*` — used in snackbars and tooltips.
|
|
42
|
+
* - `shadow` — drop-shadow tint.
|
|
43
|
+
*
|
|
44
|
+
* @see https://m3.material.io/styles/color/roles
|
|
45
|
+
*/
|
|
11
46
|
export interface ColorScheme {
|
|
47
|
+
/** High-emphasis brand color. Used for filled buttons, FABs, active indicators. */
|
|
12
48
|
primary: string;
|
|
49
|
+
/** Text/icon color that guarantees contrast on top of `primary`. */
|
|
13
50
|
onPrimary: string;
|
|
51
|
+
/** Lower-emphasis container using the primary palette (tone 90 light / tone 30 dark). */
|
|
14
52
|
primaryContainer: string;
|
|
53
|
+
/** Text/icon color that guarantees contrast on top of `primaryContainer`. */
|
|
15
54
|
onPrimaryContainer: string;
|
|
55
|
+
/** Complementary accent color, less prominent than primary. */
|
|
16
56
|
secondary: string;
|
|
57
|
+
/** Text/icon color that guarantees contrast on top of `secondary`. */
|
|
17
58
|
onSecondary: string;
|
|
59
|
+
/** Lower-emphasis container using the secondary palette. */
|
|
18
60
|
secondaryContainer: string;
|
|
61
|
+
/** Text/icon color that guarantees contrast on top of `secondaryContainer`. */
|
|
19
62
|
onSecondaryContainer: string;
|
|
63
|
+
/** Optional third accent color for decorative elements. */
|
|
20
64
|
tertiary: string;
|
|
65
|
+
/** Text/icon color that guarantees contrast on top of `tertiary`. */
|
|
21
66
|
onTertiary: string;
|
|
67
|
+
/** Lower-emphasis container using the tertiary palette. */
|
|
22
68
|
tertiaryContainer: string;
|
|
69
|
+
/** Text/icon color that guarantees contrast on top of `tertiaryContainer`. */
|
|
23
70
|
onTertiaryContainer: string;
|
|
71
|
+
/** Standard error/destructive color (red family by design). */
|
|
24
72
|
error: string;
|
|
73
|
+
/** Text/icon color that guarantees contrast on top of `error`. */
|
|
25
74
|
onError: string;
|
|
75
|
+
/** Lower-emphasis container for error states. */
|
|
26
76
|
errorContainer: string;
|
|
77
|
+
/** Text/icon color that guarantees contrast on top of `errorContainer`. */
|
|
27
78
|
onErrorContainer: string;
|
|
79
|
+
/** Page-level background (typically equivalent to `surface` in M3). */
|
|
28
80
|
background: string;
|
|
81
|
+
/** Default text/icon color on top of `background`. */
|
|
29
82
|
onBackground: string;
|
|
83
|
+
/** Base surface color used for sheets, cards, and dialogs. */
|
|
30
84
|
surface: string;
|
|
85
|
+
/** Default text/icon color on top of `surface`. */
|
|
31
86
|
onSurface: string;
|
|
87
|
+
/** Subtle variant of surface used for chips, text field backgrounds, etc. */
|
|
32
88
|
surfaceVariant: string;
|
|
89
|
+
/** Text/icon color that guarantees contrast on top of `surfaceVariant`. */
|
|
33
90
|
onSurfaceVariant: string;
|
|
91
|
+
/** Border color for fields, dividers, and outlined components. */
|
|
34
92
|
outline: string;
|
|
93
|
+
/** Lower-emphasis border color; used for decorative separators. */
|
|
35
94
|
outlineVariant: string;
|
|
95
|
+
/** Lightest container tone (lowest elevation). */
|
|
36
96
|
surfaceContainerLowest: string;
|
|
97
|
+
/** Second lightest container tone. */
|
|
37
98
|
surfaceContainerLow: string;
|
|
99
|
+
/** Mid-range container tone (default cards, sheets). */
|
|
38
100
|
surfaceContainer: string;
|
|
101
|
+
/** Second darkest container tone. */
|
|
39
102
|
surfaceContainerHigh: string;
|
|
103
|
+
/** Darkest container tone (highest elevation equivalent). */
|
|
40
104
|
surfaceContainerHighest: string;
|
|
105
|
+
/** Inverse of `surface`; used for snackbar and tooltip backgrounds. */
|
|
41
106
|
inverseSurface: string;
|
|
107
|
+
/** Text/icon color that guarantees contrast on top of `inverseSurface`. */
|
|
42
108
|
inverseOnSurface: string;
|
|
109
|
+
/** Used for action elements (links, buttons) inside inverse surfaces. */
|
|
43
110
|
inversePrimary: string;
|
|
111
|
+
/** Color tint used as the drop-shadow color for elevation. */
|
|
44
112
|
shadow: string;
|
|
45
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* Converts a 6-digit hex color string to the HSL color model.
|
|
116
|
+
*
|
|
117
|
+
* Normalizes the input (strips optional `#`), parses each 8-bit RGB channel
|
|
118
|
+
* into a [0, 1] float, then applies the standard RGB→HSL algorithm:
|
|
119
|
+
*
|
|
120
|
+
* - Lightness = (max + min) / 2
|
|
121
|
+
* - Saturation = delta / (2 − max − min) if L > 0.5
|
|
122
|
+
* = delta / (max + min) otherwise
|
|
123
|
+
* - Hue = derived from which channel is the maximum
|
|
124
|
+
*
|
|
125
|
+
* When the color is achromatic (r = g = b), hue and saturation are both 0.
|
|
126
|
+
*
|
|
127
|
+
* @param hex - A 6-digit hex color, with or without the `#` prefix.
|
|
128
|
+
* Examples: `'#4f46e5'`, `'4f46e5'`.
|
|
129
|
+
* @returns An {@link HSL} object where `h` ∈ [0, 360), `s` ∈ [0, 100], `l` ∈ [0, 100].
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* hexToHsl('#ff0000') // { h: 0, s: 100, l: 50 }
|
|
133
|
+
* hexToHsl('#ffffff') // { h: 0, s: 0, l: 100 }
|
|
134
|
+
* hexToHsl('#4f46e5') // { h: 243, s: 73, l: 59 } (approx)
|
|
135
|
+
*/
|
|
46
136
|
export declare function hexToHsl(hex: string): HSL;
|
|
137
|
+
/**
|
|
138
|
+
* Converts an HSL color to a 6-digit hex string.
|
|
139
|
+
*
|
|
140
|
+
* Uses the CSS Color Level 4 reference algorithm. Internally computes R, G,
|
|
141
|
+
* and B via a piecewise function `f(n)` that maps chroma sector offsets to
|
|
142
|
+
* individual channel values.
|
|
143
|
+
*
|
|
144
|
+
* @param hsl - An {@link HSL} object where `h` ∈ [0, 360), `s` ∈ [0, 100], `l` ∈ [0, 100].
|
|
145
|
+
* @returns A lowercase 7-character hex string including the `#` prefix (e.g. `'#4f46e5'`).
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* hslToHex({ h: 0, s: 100, l: 50 }) // '#ff0000'
|
|
149
|
+
* hslToHex({ h: 0, s: 0, l: 100 }) // '#ffffff'
|
|
150
|
+
*/
|
|
47
151
|
export declare function hslToHex({ h, s, l }: HSL): string;
|
|
152
|
+
/**
|
|
153
|
+
* Generates a complete Material Design 3 color scheme from a seed hex color.
|
|
154
|
+
*
|
|
155
|
+
* Uses `SchemeTonalSpot` — the standard M3 dynamic color algorithm — which
|
|
156
|
+
* derives all 27 color roles from a single source hue while respecting the
|
|
157
|
+
* target lightness/contrast requirements for each role.
|
|
158
|
+
*
|
|
159
|
+
* **Algorithm pipeline:**
|
|
160
|
+
* 1. Parse `seedHex` → ARGB integer via `argbFromHex`.
|
|
161
|
+
* 2. Convert ARGB → HCT (Hue–Chroma–Tone) color space.
|
|
162
|
+
* 3. Construct a `SchemeTonalSpot` with the requested mode and contrast level.
|
|
163
|
+
* 4. Extract each scheme role via `hexFromArgb` and build the {@link ColorScheme}.
|
|
164
|
+
*
|
|
165
|
+
* @param seedHex - The source/brand color as a hex string. The `#` prefix
|
|
166
|
+
* is optional (e.g. `'#4f46e5'` or `'4f46e5'`).
|
|
167
|
+
* @param mode - Color scheme polarity. `'light'` produces light backgrounds
|
|
168
|
+
* with dark text; `'dark'` inverts the tone mapping.
|
|
169
|
+
* Defaults to `'light'`.
|
|
170
|
+
* @param contrast - WCAG contrast enhancement level. Defaults to `'standard'`.
|
|
171
|
+
*
|
|
172
|
+
* @returns A fully populated {@link ColorScheme} where every value is a
|
|
173
|
+
* lowercase 7-character hex string (e.g. `'#6750a4'`).
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* // Generate a standard light scheme from an indigo seed.
|
|
177
|
+
* const scheme = generateScheme('#4f46e5');
|
|
178
|
+
* console.log(scheme.primary); // e.g. '#5046e4'
|
|
179
|
+
* console.log(scheme.primaryContainer); // e.g. '#e9e7ff'
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* // High-contrast dark scheme.
|
|
183
|
+
* const darkHC = generateScheme('#4f46e5', 'dark', 'high');
|
|
184
|
+
*/
|
|
48
185
|
export declare function generateScheme(seedHex: string, mode?: 'light' | 'dark', contrast?: ContrastLevel): ColorScheme;
|
|
186
|
+
/**
|
|
187
|
+
* Writes a {@link ColorScheme} to the document root as CSS custom properties.
|
|
188
|
+
*
|
|
189
|
+
* For each color role in the scheme, **three aliases** are set on
|
|
190
|
+
* `document.documentElement` so every context can consume the tokens:
|
|
191
|
+
*
|
|
192
|
+
* | Namespace prefix | Example | Consumer |
|
|
193
|
+
* |----------------------|----------------------------------|-----------------------|
|
|
194
|
+
* | `--md-sys-color-` | `--md-sys-color-primary` | MD3 spec / third-party|
|
|
195
|
+
* | `--moni-` | `--moni-primary` | Moni components |
|
|
196
|
+
* | `--` (bare) | `--primary` | BeerCSS / legacy |
|
|
197
|
+
*
|
|
198
|
+
* camelCase role names are converted to kebab-case automatically
|
|
199
|
+
* (e.g. `primaryContainer` → `primary-container`).
|
|
200
|
+
*
|
|
201
|
+
* Additionally sets `data-theme="light|dark"` on `<html>` so CSS can use
|
|
202
|
+
* `:root[data-theme='dark']` selectors for any additional overrides.
|
|
203
|
+
*
|
|
204
|
+
* **Side effects:** Mutates `doc.documentElement.style` and attributes.
|
|
205
|
+
* This function should only be called in browser environments.
|
|
206
|
+
*
|
|
207
|
+
* @param scheme - The color scheme to apply, as produced by {@link generateScheme}.
|
|
208
|
+
* @param mode - The resolved mode (`'light'` or `'dark'`); written to `data-theme`.
|
|
209
|
+
* @param doc - The `Document` to target. Pass `document` in normal usage;
|
|
210
|
+
* accepts a custom document for iframe or SSR scenarios.
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* const scheme = generateScheme('#4f46e5', 'dark');
|
|
214
|
+
* applySchemeToDocument(scheme, 'dark', document);
|
|
215
|
+
* // <html data-theme="dark" style="--md-sys-color-primary: #...; --moni-primary: #...; --primary: #...">
|
|
216
|
+
*/
|
|
49
217
|
export declare function applySchemeToDocument(scheme: ColorScheme, mode: 'light' | 'dark', doc: Document): void;
|
|
218
|
+
/**
|
|
219
|
+
* Returns the default seed color used by the Moni design system.
|
|
220
|
+
*
|
|
221
|
+
* The default seed is a deep indigo (`#4f46e5`) that maps to a material-spec
|
|
222
|
+
* primary hue of roughly 243°. It was chosen because it:
|
|
223
|
+
* - Generates accessible contrast ratios in both light and dark modes.
|
|
224
|
+
* - Feels brand-neutral enough to serve as a placeholder before users
|
|
225
|
+
* customize their color.
|
|
226
|
+
*
|
|
227
|
+
* @returns The default seed hex string `'#4f46e5'`.
|
|
228
|
+
*/
|
|
50
229
|
export declare function getDefaultSeed(): string;
|
|
51
230
|
//# sourceMappingURL=color.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/utils/color.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../src/utils/color.ts"],"names":[],"mappings":"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"}
|