@wirabyte/ui 3.0.0-beta.0 → 3.1.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/CHANGELOG.md +42 -0
- package/README.md +6 -6
- package/fesm2022/wirabyte-ui-accordion.mjs +4 -4
- package/fesm2022/wirabyte-ui-accordion.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-alert.mjs +2 -2
- package/fesm2022/wirabyte-ui-alert.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-asidemenu.mjs +2 -2
- package/fesm2022/wirabyte-ui-asidemenu.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-avatar.mjs +13 -6
- package/fesm2022/wirabyte-ui-avatar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-breadcrumb.mjs +4 -2
- package/fesm2022/wirabyte-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-button.mjs +3 -3
- package/fesm2022/wirabyte-ui-button.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-card.mjs +8 -8
- package/fesm2022/wirabyte-ui-card.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-chat.mjs +391 -0
- package/fesm2022/wirabyte-ui-chat.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-config.mjs +55 -2
- package/fesm2022/wirabyte-ui-config.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-core.mjs +155 -2
- package/fesm2022/wirabyte-ui-core.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-datepicker.mjs +6 -5
- package/fesm2022/wirabyte-ui-datepicker.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-descriptions.mjs +133 -0
- package/fesm2022/wirabyte-ui-descriptions.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-dialog.mjs +2 -2
- package/fesm2022/wirabyte-ui-dialog.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-drawer.mjs +2 -2
- package/fesm2022/wirabyte-ui-drawer.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-emptystate.mjs +2 -2
- package/fesm2022/wirabyte-ui-emptystate.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-errorpage.mjs +2 -2
- package/fesm2022/wirabyte-ui-errorpage.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-fieldset.mjs +4 -4
- package/fesm2022/wirabyte-ui-fieldset.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-metergroup.mjs +19 -5
- package/fesm2022/wirabyte-ui-metergroup.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-navbar.mjs +2 -2
- package/fesm2022/wirabyte-ui-navbar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-panel.mjs +6 -6
- package/fesm2022/wirabyte-ui-panel.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-popover.mjs +2 -2
- package/fesm2022/wirabyte-ui-popover.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-result.mjs +2 -2
- package/fesm2022/wirabyte-ui-result.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-scheduler.mjs +505 -0
- package/fesm2022/wirabyte-ui-scheduler.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-selectbutton.mjs +25 -4
- package/fesm2022/wirabyte-ui-selectbutton.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-signaturepad.mjs +310 -0
- package/fesm2022/wirabyte-ui-signaturepad.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-sitefooter.mjs +1 -1
- package/fesm2022/wirabyte-ui-sitefooter.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-stat.mjs +149 -0
- package/fesm2022/wirabyte-ui-stat.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-table.mjs +3 -3
- package/fesm2022/wirabyte-ui-table.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-tabs.mjs +3 -3
- package/fesm2022/wirabyte-ui-tabs.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-tag.mjs +2 -2
- package/fesm2022/wirabyte-ui-tag.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-textarea.mjs +32 -0
- package/fesm2022/wirabyte-ui-textarea.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-thai.mjs +2 -2
- package/fesm2022/wirabyte-ui-thai.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-toolbar.mjs +6 -6
- package/fesm2022/wirabyte-ui-toolbar.mjs.map +1 -1
- package/package.json +21 -1
- package/schematics/core/catalog.cjs +22 -1
- package/schematics/core/families.cjs +42 -0
- package/schematics/core/overrides.cjs +25 -0
- package/schematics/core/thai/locale.cjs +66 -0
- package/schematics/ng-add/index.cjs +3 -1
- package/theme/_data.scss +239 -7
- package/theme/_index.scss +29 -0
- package/themes/glass/amber.css +36 -7
- package/themes/glass/blue.css +36 -7
- package/themes/glass/cyan.css +36 -7
- package/themes/glass/emerald.css +36 -7
- package/themes/glass/fuchsia.css +36 -7
- package/themes/glass/green.css +36 -7
- package/themes/glass/indigo.css +36 -7
- package/themes/glass/lime.css +36 -7
- package/themes/glass/orange.css +36 -7
- package/themes/glass/pink.css +36 -7
- package/themes/glass/purple.css +36 -7
- package/themes/glass/red.css +36 -7
- package/themes/glass/rose.css +36 -7
- package/themes/glass/sky.css +36 -7
- package/themes/glass/teal.css +36 -7
- package/themes/glass/theme.css +36 -7
- package/themes/glass/violet.css +36 -7
- package/themes/glass/wira.css +36 -7
- package/themes/glass/yellow.css +36 -7
- package/themes/lanna/amber.css +36 -7
- package/themes/lanna/blue.css +36 -7
- package/themes/lanna/cyan.css +36 -7
- package/themes/lanna/emerald.css +36 -7
- package/themes/lanna/fuchsia.css +36 -7
- package/themes/lanna/green.css +36 -7
- package/themes/lanna/indigo.css +36 -7
- package/themes/lanna/lime.css +36 -7
- package/themes/lanna/orange.css +36 -7
- package/themes/lanna/pink.css +36 -7
- package/themes/lanna/purple.css +36 -7
- package/themes/lanna/red.css +36 -7
- package/themes/lanna/rose.css +36 -7
- package/themes/lanna/sky.css +36 -7
- package/themes/lanna/teal.css +36 -7
- package/themes/lanna/theme.css +36 -7
- package/themes/lanna/violet.css +36 -7
- package/themes/lanna/wira.css +36 -7
- package/themes/lanna/yellow.css +36 -7
- package/themes/mali/amber.css +30 -1
- package/themes/mali/blue.css +30 -1
- package/themes/mali/cyan.css +30 -1
- package/themes/mali/emerald.css +30 -1
- package/themes/mali/fuchsia.css +30 -1
- package/themes/mali/green.css +30 -1
- package/themes/mali/indigo.css +30 -1
- package/themes/mali/lime.css +30 -1
- package/themes/mali/orange.css +30 -1
- package/themes/mali/pink.css +30 -1
- package/themes/mali/purple.css +30 -1
- package/themes/mali/red.css +30 -1
- package/themes/mali/rose.css +30 -1
- package/themes/mali/sky.css +30 -1
- package/themes/mali/teal.css +30 -1
- package/themes/mali/theme.css +30 -1
- package/themes/mali/violet.css +30 -1
- package/themes/mali/wira.css +30 -1
- package/themes/mali/yellow.css +30 -1
- package/themes/material/amber.css +30 -1
- package/themes/material/blue.css +30 -1
- package/themes/material/cyan.css +30 -1
- package/themes/material/emerald.css +30 -1
- package/themes/material/fuchsia.css +30 -1
- package/themes/material/green.css +30 -1
- package/themes/material/indigo.css +30 -1
- package/themes/material/lime.css +30 -1
- package/themes/material/orange.css +30 -1
- package/themes/material/pink.css +30 -1
- package/themes/material/purple.css +30 -1
- package/themes/material/red.css +30 -1
- package/themes/material/rose.css +30 -1
- package/themes/material/sky.css +30 -1
- package/themes/material/teal.css +30 -1
- package/themes/material/theme.css +30 -1
- package/themes/material/violet.css +30 -1
- package/themes/material/wira.css +30 -1
- package/themes/material/yellow.css +30 -1
- package/themes/nakhon/amber.css +36 -7
- package/themes/nakhon/blue.css +36 -7
- package/themes/nakhon/cyan.css +36 -7
- package/themes/nakhon/emerald.css +36 -7
- package/themes/nakhon/fuchsia.css +36 -7
- package/themes/nakhon/green.css +36 -7
- package/themes/nakhon/indigo.css +36 -7
- package/themes/nakhon/lime.css +36 -7
- package/themes/nakhon/orange.css +36 -7
- package/themes/nakhon/pink.css +36 -7
- package/themes/nakhon/purple.css +36 -7
- package/themes/nakhon/red.css +36 -7
- package/themes/nakhon/rose.css +36 -7
- package/themes/nakhon/sky.css +36 -7
- package/themes/nakhon/teal.css +36 -7
- package/themes/nakhon/theme.css +36 -7
- package/themes/nakhon/violet.css +36 -7
- package/themes/nakhon/wira.css +36 -7
- package/themes/nakhon/yellow.css +36 -7
- package/themes/phet/amber.css +30 -1
- package/themes/phet/blue.css +30 -1
- package/themes/phet/cyan.css +30 -1
- package/themes/phet/emerald.css +30 -1
- package/themes/phet/fuchsia.css +30 -1
- package/themes/phet/green.css +30 -1
- package/themes/phet/indigo.css +30 -1
- package/themes/phet/lime.css +30 -1
- package/themes/phet/orange.css +30 -1
- package/themes/phet/pink.css +30 -1
- package/themes/phet/purple.css +30 -1
- package/themes/phet/red.css +30 -1
- package/themes/phet/rose.css +30 -1
- package/themes/phet/sky.css +30 -1
- package/themes/phet/teal.css +30 -1
- package/themes/phet/theme.css +30 -1
- package/themes/phet/violet.css +30 -1
- package/themes/phet/wira.css +30 -1
- package/themes/phet/yellow.css +30 -1
- package/themes/siam/amber.css +36 -7
- package/themes/siam/blue.css +36 -7
- package/themes/siam/cyan.css +36 -7
- package/themes/siam/emerald.css +36 -7
- package/themes/siam/fuchsia.css +36 -7
- package/themes/siam/green.css +36 -7
- package/themes/siam/indigo.css +36 -7
- package/themes/siam/lime.css +36 -7
- package/themes/siam/orange.css +36 -7
- package/themes/siam/pink.css +36 -7
- package/themes/siam/purple.css +36 -7
- package/themes/siam/red.css +36 -7
- package/themes/siam/rose.css +36 -7
- package/themes/siam/sky.css +36 -7
- package/themes/siam/teal.css +36 -7
- package/themes/siam/theme.css +36 -7
- package/themes/siam/violet.css +36 -7
- package/themes/siam/wira.css +36 -7
- package/themes/siam/yellow.css +36 -7
- package/themes/sila/amber.css +30 -1
- package/themes/sila/blue.css +30 -1
- package/themes/sila/cyan.css +30 -1
- package/themes/sila/emerald.css +30 -1
- package/themes/sila/fuchsia.css +30 -1
- package/themes/sila/green.css +30 -1
- package/themes/sila/indigo.css +30 -1
- package/themes/sila/lime.css +30 -1
- package/themes/sila/orange.css +30 -1
- package/themes/sila/pink.css +30 -1
- package/themes/sila/purple.css +30 -1
- package/themes/sila/red.css +30 -1
- package/themes/sila/rose.css +30 -1
- package/themes/sila/sky.css +30 -1
- package/themes/sila/teal.css +30 -1
- package/themes/sila/theme.css +30 -1
- package/themes/sila/violet.css +30 -1
- package/themes/sila/wira.css +30 -1
- package/themes/sila/yellow.css +30 -1
- package/themes/wira/amber.css +45 -16
- package/themes/wira/blue.css +45 -16
- package/themes/wira/cyan.css +45 -16
- package/themes/wira/emerald.css +45 -16
- package/themes/wira/fuchsia.css +45 -16
- package/themes/wira/green.css +45 -16
- package/themes/wira/indigo.css +45 -16
- package/themes/wira/lime.css +45 -16
- package/themes/wira/orange.css +45 -16
- package/themes/wira/pink.css +45 -16
- package/themes/wira/purple.css +45 -16
- package/themes/wira/red.css +45 -16
- package/themes/wira/rose.css +45 -16
- package/themes/wira/sky.css +45 -16
- package/themes/wira/teal.css +45 -16
- package/themes/wira/theme.css +45 -16
- package/themes/wira/violet.css +45 -16
- package/themes/wira/wira.css +45 -16
- package/themes/wira/yellow.css +45 -16
- package/types/wirabyte-ui-avatar.d.ts +8 -3
- package/types/wirabyte-ui-breadcrumb.d.ts +3 -1
- package/types/wirabyte-ui-button.d.ts +1 -1
- package/types/wirabyte-ui-chat.d.ts +192 -0
- package/types/wirabyte-ui-config.d.ts +34 -0
- package/types/wirabyte-ui-core.d.ts +62 -3
- package/types/wirabyte-ui-datepicker.d.ts +3 -2
- package/types/wirabyte-ui-descriptions.d.ts +67 -0
- package/types/wirabyte-ui-metergroup.d.ts +17 -2
- package/types/wirabyte-ui-scheduler.d.ts +199 -0
- package/types/wirabyte-ui-selectbutton.d.ts +12 -1
- package/types/wirabyte-ui-signaturepad.d.ts +108 -0
- package/types/wirabyte-ui-stat.d.ts +72 -0
- package/types/wirabyte-ui-textarea.d.ts +3 -0
package/themes/wira/teal.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* ─────────────────────────────────────────────────────────────
|
|
2
2
|
WiraUI · wiraui.theme.css
|
|
3
|
-
Generated by WiraUI 0.1.0 ·
|
|
3
|
+
Generated by WiraUI 0.1.0 · 04/11/2569 19:09
|
|
4
4
|
Use: add this file to angular.json → projects.<app>.architect.build.options.styles
|
|
5
5
|
───────────────────────────────────────────────────────────── */
|
|
6
|
-
/* wiraui-config {"v":1,"preset":"wira","primary":"#14b8a6","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":
|
|
6
|
+
/* wiraui-config {"v":1,"preset":"wira","primary":"#14b8a6","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":10,"density":"normal","shadow":"soft","ripple":false,"focusRing":"ring","transition":150,"darkMode":"class","scheme":"light","material":"solid","components":{}} */
|
|
7
7
|
|
|
8
8
|
@layer reset, wiraui.tokens, wiraui.components, wiraui.utilities, wiraui.overrides;
|
|
9
9
|
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
--wu-font-family: 'Kanit', sans-serif;
|
|
98
98
|
--wu-font-size: 0.875rem;
|
|
99
99
|
--wu-line-height: 1.6;
|
|
100
|
-
--wu-radius-xs:
|
|
101
|
-
--wu-radius-sm:
|
|
102
|
-
--wu-radius-md:
|
|
103
|
-
--wu-radius-lg:
|
|
104
|
-
--wu-radius-xl:
|
|
100
|
+
--wu-radius-xs: 3px;
|
|
101
|
+
--wu-radius-sm: 7px;
|
|
102
|
+
--wu-radius-md: 10px;
|
|
103
|
+
--wu-radius-lg: 13px;
|
|
104
|
+
--wu-radius-xl: 20px;
|
|
105
105
|
--wu-radius-full: 9999px;
|
|
106
106
|
--wu-density: 1;
|
|
107
|
-
--wu-shadow-sm: 0
|
|
108
|
-
--wu-shadow-md: 0
|
|
109
|
-
--wu-shadow-lg: 0
|
|
107
|
+
--wu-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
|
|
108
|
+
--wu-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
109
|
+
--wu-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
|
|
110
110
|
--wu-control-focus-shadow: 0 0 0 0.2rem var(--wu-focus-ring-color);
|
|
111
111
|
--wu-control-focus-outline: none;
|
|
112
112
|
--wu-control-focus-offset: 0px;
|
|
@@ -115,6 +115,34 @@
|
|
|
115
115
|
--wu-field-focus-offset: 0px;
|
|
116
116
|
--wu-focus-ring-color: color-mix(in srgb, var(--wu-primary-color) 24%, transparent);
|
|
117
117
|
--wu-transition: 150ms;
|
|
118
|
+
--wu-heading-font-family: var(--wu-font-family);
|
|
119
|
+
--wu-stat-gap: 0.875rem;
|
|
120
|
+
--wu-stat-icon-size: 2.75rem;
|
|
121
|
+
--wu-stat-label-size: 0.875rem;
|
|
122
|
+
--wu-stat-value-size: 1.75rem;
|
|
123
|
+
--wu-stat-value-weight: 700;
|
|
124
|
+
--wu-descriptions-gap: 0.75rem 1.5rem;
|
|
125
|
+
--wu-descriptions-label-color: var(--wu-text-muted);
|
|
126
|
+
--wu-descriptions-label-weight: 400;
|
|
127
|
+
--wu-descriptions-label-width: 9rem;
|
|
128
|
+
--wu-descriptions-bordered-label-bg: var(--wu-hover-bg);
|
|
129
|
+
--wu-signature-height: 12rem;
|
|
130
|
+
--wu-signature-ink: var(--wu-text);
|
|
131
|
+
--wu-signature-line: var(--wu-border);
|
|
132
|
+
--wu-chat-height: 32rem;
|
|
133
|
+
--wu-chat-bubble-radius: 1.125rem;
|
|
134
|
+
--wu-chat-bubble-bg: var(--wu-hover-bg);
|
|
135
|
+
--wu-chat-bubble-color: var(--wu-text);
|
|
136
|
+
--wu-chat-mine-bg: var(--wu-primary-color);
|
|
137
|
+
--wu-chat-mine-color: var(--wu-primary-contrast);
|
|
138
|
+
--wu-chat-meta-color: var(--wu-text-muted);
|
|
139
|
+
--wu-chat-gap: 0.25rem;
|
|
140
|
+
--wu-scheduler-hour-height: 3rem;
|
|
141
|
+
--wu-scheduler-border: var(--wu-border);
|
|
142
|
+
--wu-scheduler-today-bg: color-mix(in srgb, var(--wu-primary-color) 7%, transparent);
|
|
143
|
+
--wu-scheduler-event-bg: color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg));
|
|
144
|
+
--wu-scheduler-event-color: var(--wu-primary-soft-text);
|
|
145
|
+
--wu-scheduler-event-bar: var(--wu-primary-color);
|
|
118
146
|
--wu-primary-color: var(--wu-primary-500);
|
|
119
147
|
--wu-primary-hover: var(--wu-primary-600);
|
|
120
148
|
--wu-primary-active: var(--wu-primary-700);
|
|
@@ -216,6 +244,7 @@
|
|
|
216
244
|
--wu-tag-padding-x: 0.5rem;
|
|
217
245
|
--wu-tag-gap: 0.25rem;
|
|
218
246
|
--wu-tag-fill: 0%;
|
|
247
|
+
--wu-tag-soft-mix: 14%;
|
|
219
248
|
--wu-badge-size: 1.5rem;
|
|
220
249
|
--wu-badge-font-size: 0.75rem;
|
|
221
250
|
--wu-badge-font-weight: 700;
|
|
@@ -518,8 +547,8 @@
|
|
|
518
547
|
--wu-aside-menu-item-color: var(--wu-text);
|
|
519
548
|
--wu-aside-menu-item-icon-color: var(--wu-text-muted);
|
|
520
549
|
--wu-aside-menu-item-hover-bg: var(--wu-hover-bg);
|
|
521
|
-
--wu-aside-menu-item-active-bg: var(--wu-primary-color);
|
|
522
|
-
--wu-aside-menu-item-active-color: var(--wu-primary-
|
|
550
|
+
--wu-aside-menu-item-active-bg: color-mix(in srgb, var(--wu-primary-color) 12%, transparent);
|
|
551
|
+
--wu-aside-menu-item-active-color: var(--wu-primary-color);
|
|
523
552
|
--wu-aside-menu-group-active-color: var(--wu-primary-color);
|
|
524
553
|
--wu-aside-menu-indent: 1rem;
|
|
525
554
|
--wu-aside-menu-section-color: var(--wu-text-muted);
|
|
@@ -649,10 +678,10 @@
|
|
|
649
678
|
--wu-table-header-border-width: 0 0 1px;
|
|
650
679
|
--wu-table-header-weight: 600;
|
|
651
680
|
--wu-table-border-color: var(--wu-border);
|
|
652
|
-
--wu-table-head-bg:
|
|
653
|
-
--wu-table-head-color: var(--wu-text);
|
|
654
|
-
--wu-table-head-weight:
|
|
655
|
-
--wu-table-head-hover-bg:
|
|
681
|
+
--wu-table-head-bg: transparent;
|
|
682
|
+
--wu-table-head-color: var(--wu-text-muted);
|
|
683
|
+
--wu-table-head-weight: 500;
|
|
684
|
+
--wu-table-head-hover-bg: var(--wu-hover-bg);
|
|
656
685
|
--wu-table-cell-padding-y: calc(0.75rem * var(--wu-density));
|
|
657
686
|
--wu-table-cell-padding-x: calc(1rem * var(--wu-density));
|
|
658
687
|
--wu-table-row-bg: var(--wu-card-bg);
|
package/themes/wira/theme.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* ─────────────────────────────────────────────────────────────
|
|
2
2
|
WiraUI · wiraui.theme.css
|
|
3
|
-
Generated by WiraUI 0.1.0 ·
|
|
3
|
+
Generated by WiraUI 0.1.0 · 04/11/2569 19:09
|
|
4
4
|
Use: add this file to angular.json → projects.<app>.architect.build.options.styles
|
|
5
5
|
───────────────────────────────────────────────────────────── */
|
|
6
|
-
/* wiraui-config {"v":1,"preset":"wira","primary":"#1e7ae0","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":
|
|
6
|
+
/* wiraui-config {"v":1,"preset":"wira","primary":"#1e7ae0","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":10,"density":"normal","shadow":"soft","ripple":false,"focusRing":"ring","transition":150,"darkMode":"class","scheme":"light","material":"solid","components":{}} */
|
|
7
7
|
|
|
8
8
|
@layer reset, wiraui.tokens, wiraui.components, wiraui.utilities, wiraui.overrides;
|
|
9
9
|
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
--wu-font-family: 'Kanit', sans-serif;
|
|
98
98
|
--wu-font-size: 0.875rem;
|
|
99
99
|
--wu-line-height: 1.6;
|
|
100
|
-
--wu-radius-xs:
|
|
101
|
-
--wu-radius-sm:
|
|
102
|
-
--wu-radius-md:
|
|
103
|
-
--wu-radius-lg:
|
|
104
|
-
--wu-radius-xl:
|
|
100
|
+
--wu-radius-xs: 3px;
|
|
101
|
+
--wu-radius-sm: 7px;
|
|
102
|
+
--wu-radius-md: 10px;
|
|
103
|
+
--wu-radius-lg: 13px;
|
|
104
|
+
--wu-radius-xl: 20px;
|
|
105
105
|
--wu-radius-full: 9999px;
|
|
106
106
|
--wu-density: 1;
|
|
107
|
-
--wu-shadow-sm: 0
|
|
108
|
-
--wu-shadow-md: 0
|
|
109
|
-
--wu-shadow-lg: 0
|
|
107
|
+
--wu-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
|
|
108
|
+
--wu-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
109
|
+
--wu-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
|
|
110
110
|
--wu-control-focus-shadow: 0 0 0 0.2rem var(--wu-focus-ring-color);
|
|
111
111
|
--wu-control-focus-outline: none;
|
|
112
112
|
--wu-control-focus-offset: 0px;
|
|
@@ -115,6 +115,34 @@
|
|
|
115
115
|
--wu-field-focus-offset: 0px;
|
|
116
116
|
--wu-focus-ring-color: color-mix(in srgb, var(--wu-primary-color) 24%, transparent);
|
|
117
117
|
--wu-transition: 150ms;
|
|
118
|
+
--wu-heading-font-family: var(--wu-font-family);
|
|
119
|
+
--wu-stat-gap: 0.875rem;
|
|
120
|
+
--wu-stat-icon-size: 2.75rem;
|
|
121
|
+
--wu-stat-label-size: 0.875rem;
|
|
122
|
+
--wu-stat-value-size: 1.75rem;
|
|
123
|
+
--wu-stat-value-weight: 700;
|
|
124
|
+
--wu-descriptions-gap: 0.75rem 1.5rem;
|
|
125
|
+
--wu-descriptions-label-color: var(--wu-text-muted);
|
|
126
|
+
--wu-descriptions-label-weight: 400;
|
|
127
|
+
--wu-descriptions-label-width: 9rem;
|
|
128
|
+
--wu-descriptions-bordered-label-bg: var(--wu-hover-bg);
|
|
129
|
+
--wu-signature-height: 12rem;
|
|
130
|
+
--wu-signature-ink: var(--wu-text);
|
|
131
|
+
--wu-signature-line: var(--wu-border);
|
|
132
|
+
--wu-chat-height: 32rem;
|
|
133
|
+
--wu-chat-bubble-radius: 1.125rem;
|
|
134
|
+
--wu-chat-bubble-bg: var(--wu-hover-bg);
|
|
135
|
+
--wu-chat-bubble-color: var(--wu-text);
|
|
136
|
+
--wu-chat-mine-bg: var(--wu-primary-color);
|
|
137
|
+
--wu-chat-mine-color: var(--wu-primary-contrast);
|
|
138
|
+
--wu-chat-meta-color: var(--wu-text-muted);
|
|
139
|
+
--wu-chat-gap: 0.25rem;
|
|
140
|
+
--wu-scheduler-hour-height: 3rem;
|
|
141
|
+
--wu-scheduler-border: var(--wu-border);
|
|
142
|
+
--wu-scheduler-today-bg: color-mix(in srgb, var(--wu-primary-color) 7%, transparent);
|
|
143
|
+
--wu-scheduler-event-bg: color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg));
|
|
144
|
+
--wu-scheduler-event-color: var(--wu-primary-soft-text);
|
|
145
|
+
--wu-scheduler-event-bar: var(--wu-primary-color);
|
|
118
146
|
--wu-primary-color: var(--wu-primary-500);
|
|
119
147
|
--wu-primary-hover: var(--wu-primary-600);
|
|
120
148
|
--wu-primary-active: var(--wu-primary-700);
|
|
@@ -216,6 +244,7 @@
|
|
|
216
244
|
--wu-tag-padding-x: 0.5rem;
|
|
217
245
|
--wu-tag-gap: 0.25rem;
|
|
218
246
|
--wu-tag-fill: 0%;
|
|
247
|
+
--wu-tag-soft-mix: 14%;
|
|
219
248
|
--wu-badge-size: 1.5rem;
|
|
220
249
|
--wu-badge-font-size: 0.75rem;
|
|
221
250
|
--wu-badge-font-weight: 700;
|
|
@@ -518,8 +547,8 @@
|
|
|
518
547
|
--wu-aside-menu-item-color: var(--wu-text);
|
|
519
548
|
--wu-aside-menu-item-icon-color: var(--wu-text-muted);
|
|
520
549
|
--wu-aside-menu-item-hover-bg: var(--wu-hover-bg);
|
|
521
|
-
--wu-aside-menu-item-active-bg: var(--wu-primary-color);
|
|
522
|
-
--wu-aside-menu-item-active-color: var(--wu-primary-
|
|
550
|
+
--wu-aside-menu-item-active-bg: color-mix(in srgb, var(--wu-primary-color) 12%, transparent);
|
|
551
|
+
--wu-aside-menu-item-active-color: var(--wu-primary-color);
|
|
523
552
|
--wu-aside-menu-group-active-color: var(--wu-primary-color);
|
|
524
553
|
--wu-aside-menu-indent: 1rem;
|
|
525
554
|
--wu-aside-menu-section-color: var(--wu-text-muted);
|
|
@@ -649,10 +678,10 @@
|
|
|
649
678
|
--wu-table-header-border-width: 0 0 1px;
|
|
650
679
|
--wu-table-header-weight: 600;
|
|
651
680
|
--wu-table-border-color: var(--wu-border);
|
|
652
|
-
--wu-table-head-bg:
|
|
653
|
-
--wu-table-head-color: var(--wu-text);
|
|
654
|
-
--wu-table-head-weight:
|
|
655
|
-
--wu-table-head-hover-bg:
|
|
681
|
+
--wu-table-head-bg: transparent;
|
|
682
|
+
--wu-table-head-color: var(--wu-text-muted);
|
|
683
|
+
--wu-table-head-weight: 500;
|
|
684
|
+
--wu-table-head-hover-bg: var(--wu-hover-bg);
|
|
656
685
|
--wu-table-cell-padding-y: calc(0.75rem * var(--wu-density));
|
|
657
686
|
--wu-table-cell-padding-x: calc(1rem * var(--wu-density));
|
|
658
687
|
--wu-table-row-bg: var(--wu-card-bg);
|
package/themes/wira/violet.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* ─────────────────────────────────────────────────────────────
|
|
2
2
|
WiraUI · wiraui.theme.css
|
|
3
|
-
Generated by WiraUI 0.1.0 ·
|
|
3
|
+
Generated by WiraUI 0.1.0 · 04/11/2569 19:09
|
|
4
4
|
Use: add this file to angular.json → projects.<app>.architect.build.options.styles
|
|
5
5
|
───────────────────────────────────────────────────────────── */
|
|
6
|
-
/* wiraui-config {"v":1,"preset":"wira","primary":"#8b5cf6","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":
|
|
6
|
+
/* wiraui-config {"v":1,"preset":"wira","primary":"#8b5cf6","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":10,"density":"normal","shadow":"soft","ripple":false,"focusRing":"ring","transition":150,"darkMode":"class","scheme":"light","material":"solid","components":{}} */
|
|
7
7
|
|
|
8
8
|
@layer reset, wiraui.tokens, wiraui.components, wiraui.utilities, wiraui.overrides;
|
|
9
9
|
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
--wu-font-family: 'Kanit', sans-serif;
|
|
98
98
|
--wu-font-size: 0.875rem;
|
|
99
99
|
--wu-line-height: 1.6;
|
|
100
|
-
--wu-radius-xs:
|
|
101
|
-
--wu-radius-sm:
|
|
102
|
-
--wu-radius-md:
|
|
103
|
-
--wu-radius-lg:
|
|
104
|
-
--wu-radius-xl:
|
|
100
|
+
--wu-radius-xs: 3px;
|
|
101
|
+
--wu-radius-sm: 7px;
|
|
102
|
+
--wu-radius-md: 10px;
|
|
103
|
+
--wu-radius-lg: 13px;
|
|
104
|
+
--wu-radius-xl: 20px;
|
|
105
105
|
--wu-radius-full: 9999px;
|
|
106
106
|
--wu-density: 1;
|
|
107
|
-
--wu-shadow-sm: 0
|
|
108
|
-
--wu-shadow-md: 0
|
|
109
|
-
--wu-shadow-lg: 0
|
|
107
|
+
--wu-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
|
|
108
|
+
--wu-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
109
|
+
--wu-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
|
|
110
110
|
--wu-control-focus-shadow: 0 0 0 0.2rem var(--wu-focus-ring-color);
|
|
111
111
|
--wu-control-focus-outline: none;
|
|
112
112
|
--wu-control-focus-offset: 0px;
|
|
@@ -115,6 +115,34 @@
|
|
|
115
115
|
--wu-field-focus-offset: 0px;
|
|
116
116
|
--wu-focus-ring-color: color-mix(in srgb, var(--wu-primary-color) 24%, transparent);
|
|
117
117
|
--wu-transition: 150ms;
|
|
118
|
+
--wu-heading-font-family: var(--wu-font-family);
|
|
119
|
+
--wu-stat-gap: 0.875rem;
|
|
120
|
+
--wu-stat-icon-size: 2.75rem;
|
|
121
|
+
--wu-stat-label-size: 0.875rem;
|
|
122
|
+
--wu-stat-value-size: 1.75rem;
|
|
123
|
+
--wu-stat-value-weight: 700;
|
|
124
|
+
--wu-descriptions-gap: 0.75rem 1.5rem;
|
|
125
|
+
--wu-descriptions-label-color: var(--wu-text-muted);
|
|
126
|
+
--wu-descriptions-label-weight: 400;
|
|
127
|
+
--wu-descriptions-label-width: 9rem;
|
|
128
|
+
--wu-descriptions-bordered-label-bg: var(--wu-hover-bg);
|
|
129
|
+
--wu-signature-height: 12rem;
|
|
130
|
+
--wu-signature-ink: var(--wu-text);
|
|
131
|
+
--wu-signature-line: var(--wu-border);
|
|
132
|
+
--wu-chat-height: 32rem;
|
|
133
|
+
--wu-chat-bubble-radius: 1.125rem;
|
|
134
|
+
--wu-chat-bubble-bg: var(--wu-hover-bg);
|
|
135
|
+
--wu-chat-bubble-color: var(--wu-text);
|
|
136
|
+
--wu-chat-mine-bg: var(--wu-primary-color);
|
|
137
|
+
--wu-chat-mine-color: var(--wu-primary-contrast);
|
|
138
|
+
--wu-chat-meta-color: var(--wu-text-muted);
|
|
139
|
+
--wu-chat-gap: 0.25rem;
|
|
140
|
+
--wu-scheduler-hour-height: 3rem;
|
|
141
|
+
--wu-scheduler-border: var(--wu-border);
|
|
142
|
+
--wu-scheduler-today-bg: color-mix(in srgb, var(--wu-primary-color) 7%, transparent);
|
|
143
|
+
--wu-scheduler-event-bg: color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg));
|
|
144
|
+
--wu-scheduler-event-color: var(--wu-primary-soft-text);
|
|
145
|
+
--wu-scheduler-event-bar: var(--wu-primary-color);
|
|
118
146
|
--wu-primary-color: var(--wu-primary-500);
|
|
119
147
|
--wu-primary-hover: var(--wu-primary-600);
|
|
120
148
|
--wu-primary-active: var(--wu-primary-700);
|
|
@@ -216,6 +244,7 @@
|
|
|
216
244
|
--wu-tag-padding-x: 0.5rem;
|
|
217
245
|
--wu-tag-gap: 0.25rem;
|
|
218
246
|
--wu-tag-fill: 0%;
|
|
247
|
+
--wu-tag-soft-mix: 14%;
|
|
219
248
|
--wu-badge-size: 1.5rem;
|
|
220
249
|
--wu-badge-font-size: 0.75rem;
|
|
221
250
|
--wu-badge-font-weight: 700;
|
|
@@ -518,8 +547,8 @@
|
|
|
518
547
|
--wu-aside-menu-item-color: var(--wu-text);
|
|
519
548
|
--wu-aside-menu-item-icon-color: var(--wu-text-muted);
|
|
520
549
|
--wu-aside-menu-item-hover-bg: var(--wu-hover-bg);
|
|
521
|
-
--wu-aside-menu-item-active-bg: var(--wu-primary-color);
|
|
522
|
-
--wu-aside-menu-item-active-color: var(--wu-primary-
|
|
550
|
+
--wu-aside-menu-item-active-bg: color-mix(in srgb, var(--wu-primary-color) 12%, transparent);
|
|
551
|
+
--wu-aside-menu-item-active-color: var(--wu-primary-color);
|
|
523
552
|
--wu-aside-menu-group-active-color: var(--wu-primary-color);
|
|
524
553
|
--wu-aside-menu-indent: 1rem;
|
|
525
554
|
--wu-aside-menu-section-color: var(--wu-text-muted);
|
|
@@ -649,10 +678,10 @@
|
|
|
649
678
|
--wu-table-header-border-width: 0 0 1px;
|
|
650
679
|
--wu-table-header-weight: 600;
|
|
651
680
|
--wu-table-border-color: var(--wu-border);
|
|
652
|
-
--wu-table-head-bg:
|
|
653
|
-
--wu-table-head-color: var(--wu-text);
|
|
654
|
-
--wu-table-head-weight:
|
|
655
|
-
--wu-table-head-hover-bg:
|
|
681
|
+
--wu-table-head-bg: transparent;
|
|
682
|
+
--wu-table-head-color: var(--wu-text-muted);
|
|
683
|
+
--wu-table-head-weight: 500;
|
|
684
|
+
--wu-table-head-hover-bg: var(--wu-hover-bg);
|
|
656
685
|
--wu-table-cell-padding-y: calc(0.75rem * var(--wu-density));
|
|
657
686
|
--wu-table-cell-padding-x: calc(1rem * var(--wu-density));
|
|
658
687
|
--wu-table-row-bg: var(--wu-card-bg);
|
package/themes/wira/wira.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* ─────────────────────────────────────────────────────────────
|
|
2
2
|
WiraUI · wiraui.theme.css
|
|
3
|
-
Generated by WiraUI 0.1.0 ·
|
|
3
|
+
Generated by WiraUI 0.1.0 · 04/11/2569 19:09
|
|
4
4
|
Use: add this file to angular.json → projects.<app>.architect.build.options.styles
|
|
5
5
|
───────────────────────────────────────────────────────────── */
|
|
6
|
-
/* wiraui-config {"v":1,"preset":"wira","primary":"#1e7ae0","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":
|
|
6
|
+
/* wiraui-config {"v":1,"preset":"wira","primary":"#1e7ae0","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":10,"density":"normal","shadow":"soft","ripple":false,"focusRing":"ring","transition":150,"darkMode":"class","scheme":"light","material":"solid","components":{}} */
|
|
7
7
|
|
|
8
8
|
@layer reset, wiraui.tokens, wiraui.components, wiraui.utilities, wiraui.overrides;
|
|
9
9
|
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
--wu-font-family: 'Kanit', sans-serif;
|
|
98
98
|
--wu-font-size: 0.875rem;
|
|
99
99
|
--wu-line-height: 1.6;
|
|
100
|
-
--wu-radius-xs:
|
|
101
|
-
--wu-radius-sm:
|
|
102
|
-
--wu-radius-md:
|
|
103
|
-
--wu-radius-lg:
|
|
104
|
-
--wu-radius-xl:
|
|
100
|
+
--wu-radius-xs: 3px;
|
|
101
|
+
--wu-radius-sm: 7px;
|
|
102
|
+
--wu-radius-md: 10px;
|
|
103
|
+
--wu-radius-lg: 13px;
|
|
104
|
+
--wu-radius-xl: 20px;
|
|
105
105
|
--wu-radius-full: 9999px;
|
|
106
106
|
--wu-density: 1;
|
|
107
|
-
--wu-shadow-sm: 0
|
|
108
|
-
--wu-shadow-md: 0
|
|
109
|
-
--wu-shadow-lg: 0
|
|
107
|
+
--wu-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
|
|
108
|
+
--wu-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
109
|
+
--wu-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
|
|
110
110
|
--wu-control-focus-shadow: 0 0 0 0.2rem var(--wu-focus-ring-color);
|
|
111
111
|
--wu-control-focus-outline: none;
|
|
112
112
|
--wu-control-focus-offset: 0px;
|
|
@@ -115,6 +115,34 @@
|
|
|
115
115
|
--wu-field-focus-offset: 0px;
|
|
116
116
|
--wu-focus-ring-color: color-mix(in srgb, var(--wu-primary-color) 24%, transparent);
|
|
117
117
|
--wu-transition: 150ms;
|
|
118
|
+
--wu-heading-font-family: var(--wu-font-family);
|
|
119
|
+
--wu-stat-gap: 0.875rem;
|
|
120
|
+
--wu-stat-icon-size: 2.75rem;
|
|
121
|
+
--wu-stat-label-size: 0.875rem;
|
|
122
|
+
--wu-stat-value-size: 1.75rem;
|
|
123
|
+
--wu-stat-value-weight: 700;
|
|
124
|
+
--wu-descriptions-gap: 0.75rem 1.5rem;
|
|
125
|
+
--wu-descriptions-label-color: var(--wu-text-muted);
|
|
126
|
+
--wu-descriptions-label-weight: 400;
|
|
127
|
+
--wu-descriptions-label-width: 9rem;
|
|
128
|
+
--wu-descriptions-bordered-label-bg: var(--wu-hover-bg);
|
|
129
|
+
--wu-signature-height: 12rem;
|
|
130
|
+
--wu-signature-ink: var(--wu-text);
|
|
131
|
+
--wu-signature-line: var(--wu-border);
|
|
132
|
+
--wu-chat-height: 32rem;
|
|
133
|
+
--wu-chat-bubble-radius: 1.125rem;
|
|
134
|
+
--wu-chat-bubble-bg: var(--wu-hover-bg);
|
|
135
|
+
--wu-chat-bubble-color: var(--wu-text);
|
|
136
|
+
--wu-chat-mine-bg: var(--wu-primary-color);
|
|
137
|
+
--wu-chat-mine-color: var(--wu-primary-contrast);
|
|
138
|
+
--wu-chat-meta-color: var(--wu-text-muted);
|
|
139
|
+
--wu-chat-gap: 0.25rem;
|
|
140
|
+
--wu-scheduler-hour-height: 3rem;
|
|
141
|
+
--wu-scheduler-border: var(--wu-border);
|
|
142
|
+
--wu-scheduler-today-bg: color-mix(in srgb, var(--wu-primary-color) 7%, transparent);
|
|
143
|
+
--wu-scheduler-event-bg: color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg));
|
|
144
|
+
--wu-scheduler-event-color: var(--wu-primary-soft-text);
|
|
145
|
+
--wu-scheduler-event-bar: var(--wu-primary-color);
|
|
118
146
|
--wu-primary-color: var(--wu-primary-500);
|
|
119
147
|
--wu-primary-hover: var(--wu-primary-600);
|
|
120
148
|
--wu-primary-active: var(--wu-primary-700);
|
|
@@ -216,6 +244,7 @@
|
|
|
216
244
|
--wu-tag-padding-x: 0.5rem;
|
|
217
245
|
--wu-tag-gap: 0.25rem;
|
|
218
246
|
--wu-tag-fill: 0%;
|
|
247
|
+
--wu-tag-soft-mix: 14%;
|
|
219
248
|
--wu-badge-size: 1.5rem;
|
|
220
249
|
--wu-badge-font-size: 0.75rem;
|
|
221
250
|
--wu-badge-font-weight: 700;
|
|
@@ -518,8 +547,8 @@
|
|
|
518
547
|
--wu-aside-menu-item-color: var(--wu-text);
|
|
519
548
|
--wu-aside-menu-item-icon-color: var(--wu-text-muted);
|
|
520
549
|
--wu-aside-menu-item-hover-bg: var(--wu-hover-bg);
|
|
521
|
-
--wu-aside-menu-item-active-bg: var(--wu-primary-color);
|
|
522
|
-
--wu-aside-menu-item-active-color: var(--wu-primary-
|
|
550
|
+
--wu-aside-menu-item-active-bg: color-mix(in srgb, var(--wu-primary-color) 12%, transparent);
|
|
551
|
+
--wu-aside-menu-item-active-color: var(--wu-primary-color);
|
|
523
552
|
--wu-aside-menu-group-active-color: var(--wu-primary-color);
|
|
524
553
|
--wu-aside-menu-indent: 1rem;
|
|
525
554
|
--wu-aside-menu-section-color: var(--wu-text-muted);
|
|
@@ -649,10 +678,10 @@
|
|
|
649
678
|
--wu-table-header-border-width: 0 0 1px;
|
|
650
679
|
--wu-table-header-weight: 600;
|
|
651
680
|
--wu-table-border-color: var(--wu-border);
|
|
652
|
-
--wu-table-head-bg:
|
|
653
|
-
--wu-table-head-color: var(--wu-text);
|
|
654
|
-
--wu-table-head-weight:
|
|
655
|
-
--wu-table-head-hover-bg:
|
|
681
|
+
--wu-table-head-bg: transparent;
|
|
682
|
+
--wu-table-head-color: var(--wu-text-muted);
|
|
683
|
+
--wu-table-head-weight: 500;
|
|
684
|
+
--wu-table-head-hover-bg: var(--wu-hover-bg);
|
|
656
685
|
--wu-table-cell-padding-y: calc(0.75rem * var(--wu-density));
|
|
657
686
|
--wu-table-cell-padding-x: calc(1rem * var(--wu-density));
|
|
658
687
|
--wu-table-row-bg: var(--wu-card-bg);
|
package/themes/wira/yellow.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* ─────────────────────────────────────────────────────────────
|
|
2
2
|
WiraUI · wiraui.theme.css
|
|
3
|
-
Generated by WiraUI 0.1.0 ·
|
|
3
|
+
Generated by WiraUI 0.1.0 · 04/11/2569 19:09
|
|
4
4
|
Use: add this file to angular.json → projects.<app>.architect.build.options.styles
|
|
5
5
|
───────────────────────────────────────────────────────────── */
|
|
6
|
-
/* wiraui-config {"v":1,"preset":"wira","primary":"#eab308","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":
|
|
6
|
+
/* wiraui-config {"v":1,"preset":"wira","primary":"#eab308","primaryShades":null,"surface":"ink","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Kanit","fontSize":14,"lineHeight":1.6,"radius":10,"density":"normal","shadow":"soft","ripple":false,"focusRing":"ring","transition":150,"darkMode":"class","scheme":"light","material":"solid","components":{}} */
|
|
7
7
|
|
|
8
8
|
@layer reset, wiraui.tokens, wiraui.components, wiraui.utilities, wiraui.overrides;
|
|
9
9
|
|
|
@@ -97,16 +97,16 @@
|
|
|
97
97
|
--wu-font-family: 'Kanit', sans-serif;
|
|
98
98
|
--wu-font-size: 0.875rem;
|
|
99
99
|
--wu-line-height: 1.6;
|
|
100
|
-
--wu-radius-xs:
|
|
101
|
-
--wu-radius-sm:
|
|
102
|
-
--wu-radius-md:
|
|
103
|
-
--wu-radius-lg:
|
|
104
|
-
--wu-radius-xl:
|
|
100
|
+
--wu-radius-xs: 3px;
|
|
101
|
+
--wu-radius-sm: 7px;
|
|
102
|
+
--wu-radius-md: 10px;
|
|
103
|
+
--wu-radius-lg: 13px;
|
|
104
|
+
--wu-radius-xl: 20px;
|
|
105
105
|
--wu-radius-full: 9999px;
|
|
106
106
|
--wu-density: 1;
|
|
107
|
-
--wu-shadow-sm: 0
|
|
108
|
-
--wu-shadow-md: 0
|
|
109
|
-
--wu-shadow-lg: 0
|
|
107
|
+
--wu-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
|
|
108
|
+
--wu-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
|
|
109
|
+
--wu-shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.14);
|
|
110
110
|
--wu-control-focus-shadow: 0 0 0 0.2rem var(--wu-focus-ring-color);
|
|
111
111
|
--wu-control-focus-outline: none;
|
|
112
112
|
--wu-control-focus-offset: 0px;
|
|
@@ -115,6 +115,34 @@
|
|
|
115
115
|
--wu-field-focus-offset: 0px;
|
|
116
116
|
--wu-focus-ring-color: color-mix(in srgb, var(--wu-primary-color) 24%, transparent);
|
|
117
117
|
--wu-transition: 150ms;
|
|
118
|
+
--wu-heading-font-family: var(--wu-font-family);
|
|
119
|
+
--wu-stat-gap: 0.875rem;
|
|
120
|
+
--wu-stat-icon-size: 2.75rem;
|
|
121
|
+
--wu-stat-label-size: 0.875rem;
|
|
122
|
+
--wu-stat-value-size: 1.75rem;
|
|
123
|
+
--wu-stat-value-weight: 700;
|
|
124
|
+
--wu-descriptions-gap: 0.75rem 1.5rem;
|
|
125
|
+
--wu-descriptions-label-color: var(--wu-text-muted);
|
|
126
|
+
--wu-descriptions-label-weight: 400;
|
|
127
|
+
--wu-descriptions-label-width: 9rem;
|
|
128
|
+
--wu-descriptions-bordered-label-bg: var(--wu-hover-bg);
|
|
129
|
+
--wu-signature-height: 12rem;
|
|
130
|
+
--wu-signature-ink: var(--wu-text);
|
|
131
|
+
--wu-signature-line: var(--wu-border);
|
|
132
|
+
--wu-chat-height: 32rem;
|
|
133
|
+
--wu-chat-bubble-radius: 1.125rem;
|
|
134
|
+
--wu-chat-bubble-bg: var(--wu-hover-bg);
|
|
135
|
+
--wu-chat-bubble-color: var(--wu-text);
|
|
136
|
+
--wu-chat-mine-bg: var(--wu-primary-color);
|
|
137
|
+
--wu-chat-mine-color: var(--wu-primary-contrast);
|
|
138
|
+
--wu-chat-meta-color: var(--wu-text-muted);
|
|
139
|
+
--wu-chat-gap: 0.25rem;
|
|
140
|
+
--wu-scheduler-hour-height: 3rem;
|
|
141
|
+
--wu-scheduler-border: var(--wu-border);
|
|
142
|
+
--wu-scheduler-today-bg: color-mix(in srgb, var(--wu-primary-color) 7%, transparent);
|
|
143
|
+
--wu-scheduler-event-bg: color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg));
|
|
144
|
+
--wu-scheduler-event-color: var(--wu-primary-soft-text);
|
|
145
|
+
--wu-scheduler-event-bar: var(--wu-primary-color);
|
|
118
146
|
--wu-primary-color: var(--wu-primary-500);
|
|
119
147
|
--wu-primary-hover: var(--wu-primary-600);
|
|
120
148
|
--wu-primary-active: var(--wu-primary-700);
|
|
@@ -216,6 +244,7 @@
|
|
|
216
244
|
--wu-tag-padding-x: 0.5rem;
|
|
217
245
|
--wu-tag-gap: 0.25rem;
|
|
218
246
|
--wu-tag-fill: 0%;
|
|
247
|
+
--wu-tag-soft-mix: 14%;
|
|
219
248
|
--wu-badge-size: 1.5rem;
|
|
220
249
|
--wu-badge-font-size: 0.75rem;
|
|
221
250
|
--wu-badge-font-weight: 700;
|
|
@@ -518,8 +547,8 @@
|
|
|
518
547
|
--wu-aside-menu-item-color: var(--wu-text);
|
|
519
548
|
--wu-aside-menu-item-icon-color: var(--wu-text-muted);
|
|
520
549
|
--wu-aside-menu-item-hover-bg: var(--wu-hover-bg);
|
|
521
|
-
--wu-aside-menu-item-active-bg: var(--wu-primary-color);
|
|
522
|
-
--wu-aside-menu-item-active-color: var(--wu-primary-
|
|
550
|
+
--wu-aside-menu-item-active-bg: color-mix(in srgb, var(--wu-primary-color) 12%, transparent);
|
|
551
|
+
--wu-aside-menu-item-active-color: var(--wu-primary-color);
|
|
523
552
|
--wu-aside-menu-group-active-color: var(--wu-primary-color);
|
|
524
553
|
--wu-aside-menu-indent: 1rem;
|
|
525
554
|
--wu-aside-menu-section-color: var(--wu-text-muted);
|
|
@@ -649,10 +678,10 @@
|
|
|
649
678
|
--wu-table-header-border-width: 0 0 1px;
|
|
650
679
|
--wu-table-header-weight: 600;
|
|
651
680
|
--wu-table-border-color: var(--wu-border);
|
|
652
|
-
--wu-table-head-bg:
|
|
653
|
-
--wu-table-head-color: var(--wu-text);
|
|
654
|
-
--wu-table-head-weight:
|
|
655
|
-
--wu-table-head-hover-bg:
|
|
681
|
+
--wu-table-head-bg: transparent;
|
|
682
|
+
--wu-table-head-color: var(--wu-text-muted);
|
|
683
|
+
--wu-table-head-weight: 500;
|
|
684
|
+
--wu-table-head-hover-bg: var(--wu-hover-bg);
|
|
656
685
|
--wu-table-cell-padding-y: calc(0.75rem * var(--wu-density));
|
|
657
686
|
--wu-table-cell-padding-x: calc(1rem * var(--wu-density));
|
|
658
687
|
--wu-table-row-bg: var(--wu-card-bg);
|
|
@@ -2,6 +2,9 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
|
|
3
3
|
type WuAvatarSize = 'normal' | 'large' | 'xlarge';
|
|
4
4
|
type WuAvatarShape = 'square' | 'circle';
|
|
5
|
+
/** A soft tile of that colour behind the icon or letters, as tags look. */
|
|
6
|
+
type WuAvatarSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'help' | 'contrast';
|
|
7
|
+
declare const ɵWU_AVATAR_SEVERITIES: readonly WuAvatarSeverity[];
|
|
5
8
|
|
|
6
9
|
/**
|
|
7
10
|
* Picture, initials or icon: `<wu-avatar image="…" label="สม" shape="circle">`.
|
|
@@ -14,6 +17,8 @@ declare class WuAvatar {
|
|
|
14
17
|
readonly image: _angular_core.InputSignal<string | undefined>;
|
|
15
18
|
readonly size: _angular_core.InputSignal<WuAvatarSize>;
|
|
16
19
|
readonly shape: _angular_core.InputSignal<WuAvatarShape>;
|
|
20
|
+
/** A soft tile of that colour behind the icon or letters: KPI icons, status markers. */
|
|
21
|
+
readonly severity: _angular_core.InputSignal<WuAvatarSeverity | null | undefined>;
|
|
17
22
|
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
18
23
|
readonly onImageError: _angular_core.OutputEmitterRef<Event>;
|
|
19
24
|
/** The image URL that failed; a different URL gets a fresh chance to load. */
|
|
@@ -30,7 +35,7 @@ declare class WuAvatar {
|
|
|
30
35
|
constructor();
|
|
31
36
|
imageError(event: Event): void;
|
|
32
37
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WuAvatar, never>;
|
|
33
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WuAvatar, "wu-avatar", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; }, { "onImageError": "onImageError"; }, never, ["*"], true, never>;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WuAvatar, "wu-avatar", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; }, { "onImageError": "onImageError"; }, never, ["*"], true, never>;
|
|
34
39
|
}
|
|
35
40
|
/** Overlapping row of avatars: `<wu-avatar-group><wu-avatar …></wu-avatar>…</wu-avatar-group>`. */
|
|
36
41
|
declare class WuAvatarGroup {
|
|
@@ -45,5 +50,5 @@ declare class WuAvatarModule {
|
|
|
45
50
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<WuAvatarModule>;
|
|
46
51
|
}
|
|
47
52
|
|
|
48
|
-
export { WuAvatar, WuAvatarGroup, WuAvatarModule };
|
|
49
|
-
export type { WuAvatarShape, WuAvatarSize };
|
|
53
|
+
export { WuAvatar, WuAvatarGroup, WuAvatarModule, ɵWU_AVATAR_SEVERITIES };
|
|
54
|
+
export type { WuAvatarSeverity, WuAvatarShape, WuAvatarSize };
|
|
@@ -18,6 +18,8 @@ declare class WuBreadcrumb implements OnDestroy {
|
|
|
18
18
|
home?: WuMenuItem | null;
|
|
19
19
|
homeAriaLabel?: string;
|
|
20
20
|
ariaLabel?: string;
|
|
21
|
+
/** `'plain'`: just the trail, with no box, padding or border, for above a page title. Default: the theme's box. */
|
|
22
|
+
variant?: 'default' | 'plain' | null;
|
|
21
23
|
styleClass?: string | null;
|
|
22
24
|
style?: Record<string, any> | string | null;
|
|
23
25
|
readonly onItemClick: EventEmitter<WuBreadcrumbItemClickEvent>;
|
|
@@ -38,7 +40,7 @@ declare class WuBreadcrumb implements OnDestroy {
|
|
|
38
40
|
hrefOf(item: WuMenuItem): string | null;
|
|
39
41
|
itemClick(event: MouseEvent, item: WuMenuItem): void;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<WuBreadcrumb, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WuBreadcrumb, "wu-breadcrumb", never, { "model": { "alias": "model"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeAriaLabel": { "alias": "homeAriaLabel"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, { "onItemClick": "onItemClick"; }, ["itemRef", "separatorRef", "templates"], never, true, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuBreadcrumb, "wu-breadcrumb", never, { "model": { "alias": "model"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeAriaLabel": { "alias": "homeAriaLabel"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, { "onItemClick": "onItemClick"; }, ["itemRef", "separatorRef", "templates"], never, true, never>;
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
/** For NgModule apps. Standalone apps can import `WuBreadcrumb` directly. */
|