@wirabyte/ui 1.0.0-beta.0 → 1.0.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 +31 -0
- package/README.md +6 -6
- package/avatar/avatar.component.d.ts +4 -2
- package/avatar/avatar.types.d.ts +3 -0
- package/breadcrumb/breadcrumb.component.d.ts +3 -1
- package/button/button.styles.d.ts +1 -1
- package/chat/chat.component.d.ts +118 -0
- package/chat/chat.module.d.ts +8 -0
- package/chat/chat.types.d.ts +64 -0
- package/chat/index.d.ts +5 -0
- package/chat/public-api.d.ts +3 -0
- package/config/options.d.ts +6 -0
- package/config/theme.service.d.ts +5 -0
- package/config/wu-config.service.d.ts +6 -0
- package/core/catalog.d.ts +6 -1
- package/core/overrides.d.ts +7 -0
- package/core/thai/locale.d.ts +47 -0
- package/datepicker/datepicker.component.d.ts +1 -1
- package/descriptions/descriptions.component.d.ts +56 -0
- package/descriptions/descriptions.module.d.ts +8 -0
- package/descriptions/index.d.ts +5 -0
- package/descriptions/public-api.d.ts +2 -0
- package/esm2020/accordion/accordion.component.mjs +4 -4
- package/esm2020/alert/alert-dialog.component.mjs +3 -3
- package/esm2020/avatar/avatar.component.mjs +10 -5
- package/esm2020/avatar/avatar.types.mjs +2 -2
- package/esm2020/breadcrumb/breadcrumb.component.mjs +5 -3
- package/esm2020/button/button.component.mjs +3 -3
- package/esm2020/button/button.styles.mjs +2 -2
- package/esm2020/card/card.component.mjs +8 -8
- package/esm2020/chat/chat.component.mjs +370 -0
- package/esm2020/chat/chat.module.mjs +17 -0
- package/esm2020/chat/chat.types.mjs +2 -0
- package/esm2020/chat/public-api.mjs +4 -0
- package/esm2020/chat/wirabyte-ui-chat.mjs +5 -0
- package/esm2020/config/options.mjs +1 -1
- package/esm2020/config/theme.service.mjs +35 -3
- package/esm2020/config/wu-config.service.mjs +9 -1
- package/esm2020/core/catalog.mjs +22 -2
- package/esm2020/core/families.mjs +43 -1
- package/esm2020/core/overrides.mjs +26 -1
- package/esm2020/core/thai/locale.mjs +67 -1
- package/esm2020/datepicker/datepicker.component.mjs +2 -2
- package/esm2020/descriptions/descriptions.component.mjs +112 -0
- package/esm2020/descriptions/descriptions.module.mjs +17 -0
- package/esm2020/descriptions/public-api.mjs +3 -0
- package/esm2020/descriptions/wirabyte-ui-descriptions.mjs +5 -0
- package/esm2020/dialog/dialog.component.mjs +3 -3
- package/esm2020/drawer/drawer.component.mjs +3 -3
- package/esm2020/emptystate/emptystate.component.mjs +3 -3
- package/esm2020/errorpage/errorpage.component.mjs +3 -3
- package/esm2020/fieldset/fieldset.component.mjs +4 -4
- package/esm2020/metergroup/metergroup.component.mjs +29 -5
- package/esm2020/metergroup/metergroup.types.mjs +1 -1
- package/esm2020/navbar/navbar.component.mjs +3 -3
- package/esm2020/panel/panel.component.mjs +6 -6
- package/esm2020/popover/popover.base.mjs +3 -3
- package/esm2020/result/result.component.mjs +3 -3
- package/esm2020/scheduler/public-api.mjs +4 -0
- package/esm2020/scheduler/scheduler.component.mjs +483 -0
- package/esm2020/scheduler/scheduler.module.mjs +17 -0
- package/esm2020/scheduler/scheduler.types.mjs +2 -0
- package/esm2020/scheduler/wirabyte-ui-scheduler.mjs +5 -0
- package/esm2020/selectbutton/selectbutton.component.mjs +23 -5
- package/esm2020/signaturepad/public-api.mjs +3 -0
- package/esm2020/signaturepad/signaturepad.component.mjs +289 -0
- package/esm2020/signaturepad/signaturepad.module.mjs +17 -0
- package/esm2020/signaturepad/wirabyte-ui-signaturepad.mjs +5 -0
- package/esm2020/stat/public-api.mjs +3 -0
- package/esm2020/stat/stat.component.mjs +128 -0
- package/esm2020/stat/stat.module.mjs +17 -0
- package/esm2020/stat/wirabyte-ui-stat.mjs +5 -0
- package/esm2020/table/table.celleditor.mjs +4 -4
- package/esm2020/tabs/tabs.component.mjs +3 -3
- package/esm2020/tag/tag.component.mjs +3 -3
- package/esm2020/textarea/textarea.directive.mjs +19 -1
- package/esm2020/thai/thai.pipes.mjs +2 -2
- package/esm2020/toolbar/toolbar.component.mjs +7 -7
- package/fesm2015/wirabyte-ui-accordion.mjs +3 -3
- package/fesm2015/wirabyte-ui-accordion.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-alert.mjs +2 -2
- package/fesm2015/wirabyte-ui-alert.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-avatar.mjs +11 -5
- package/fesm2015/wirabyte-ui-avatar.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-breadcrumb.mjs +4 -2
- package/fesm2015/wirabyte-ui-breadcrumb.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-button.mjs +3 -3
- package/fesm2015/wirabyte-ui-button.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-card.mjs +7 -7
- package/fesm2015/wirabyte-ui-card.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-chat.mjs +399 -0
- package/fesm2015/wirabyte-ui-chat.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-config.mjs +42 -2
- package/fesm2015/wirabyte-ui-config.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-core.mjs +147 -2
- package/fesm2015/wirabyte-ui-core.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-datepicker.mjs +1 -1
- package/fesm2015/wirabyte-ui-datepicker.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-descriptions.mjs +133 -0
- package/fesm2015/wirabyte-ui-descriptions.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-dialog.mjs +2 -2
- package/fesm2015/wirabyte-ui-dialog.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-drawer.mjs +2 -2
- package/fesm2015/wirabyte-ui-drawer.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-emptystate.mjs +2 -2
- package/fesm2015/wirabyte-ui-emptystate.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-errorpage.mjs +2 -2
- package/fesm2015/wirabyte-ui-errorpage.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-fieldset.mjs +3 -3
- package/fesm2015/wirabyte-ui-fieldset.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-metergroup.mjs +29 -4
- package/fesm2015/wirabyte-ui-metergroup.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-navbar.mjs +2 -2
- package/fesm2015/wirabyte-ui-navbar.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-panel.mjs +5 -5
- package/fesm2015/wirabyte-ui-panel.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-popover.mjs +2 -2
- package/fesm2015/wirabyte-ui-popover.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-result.mjs +2 -2
- package/fesm2015/wirabyte-ui-result.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-scheduler.mjs +514 -0
- package/fesm2015/wirabyte-ui-scheduler.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-selectbutton.mjs +22 -4
- package/fesm2015/wirabyte-ui-selectbutton.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-signaturepad.mjs +313 -0
- package/fesm2015/wirabyte-ui-signaturepad.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-stat.mjs +151 -0
- package/fesm2015/wirabyte-ui-stat.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-table.mjs +3 -3
- package/fesm2015/wirabyte-ui-table.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-tabs.mjs +2 -2
- package/fesm2015/wirabyte-ui-tabs.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-tag.mjs +2 -2
- package/fesm2015/wirabyte-ui-tag.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-textarea.mjs +18 -0
- package/fesm2015/wirabyte-ui-textarea.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-thai.mjs +1 -1
- package/fesm2015/wirabyte-ui-thai.mjs.map +1 -1
- package/fesm2015/wirabyte-ui-toolbar.mjs +6 -6
- package/fesm2015/wirabyte-ui-toolbar.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-accordion.mjs +3 -3
- package/fesm2020/wirabyte-ui-accordion.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-alert.mjs +2 -2
- package/fesm2020/wirabyte-ui-alert.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-avatar.mjs +11 -5
- package/fesm2020/wirabyte-ui-avatar.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-breadcrumb.mjs +4 -2
- package/fesm2020/wirabyte-ui-breadcrumb.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-button.mjs +3 -3
- package/fesm2020/wirabyte-ui-button.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-card.mjs +7 -7
- package/fesm2020/wirabyte-ui-card.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-chat.mjs +391 -0
- package/fesm2020/wirabyte-ui-chat.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-config.mjs +42 -2
- package/fesm2020/wirabyte-ui-config.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-core.mjs +155 -2
- package/fesm2020/wirabyte-ui-core.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-datepicker.mjs +1 -1
- package/fesm2020/wirabyte-ui-datepicker.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-descriptions.mjs +133 -0
- package/fesm2020/wirabyte-ui-descriptions.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-dialog.mjs +2 -2
- package/fesm2020/wirabyte-ui-dialog.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-drawer.mjs +2 -2
- package/fesm2020/wirabyte-ui-drawer.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-emptystate.mjs +2 -2
- package/fesm2020/wirabyte-ui-emptystate.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-errorpage.mjs +2 -2
- package/fesm2020/wirabyte-ui-errorpage.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-fieldset.mjs +3 -3
- package/fesm2020/wirabyte-ui-fieldset.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-metergroup.mjs +28 -4
- package/fesm2020/wirabyte-ui-metergroup.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-navbar.mjs +2 -2
- package/fesm2020/wirabyte-ui-navbar.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-panel.mjs +5 -5
- package/fesm2020/wirabyte-ui-panel.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-popover.mjs +2 -2
- package/fesm2020/wirabyte-ui-popover.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-result.mjs +2 -2
- package/fesm2020/wirabyte-ui-result.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-scheduler.mjs +504 -0
- package/fesm2020/wirabyte-ui-scheduler.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-selectbutton.mjs +22 -4
- package/fesm2020/wirabyte-ui-selectbutton.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-signaturepad.mjs +310 -0
- package/fesm2020/wirabyte-ui-signaturepad.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-stat.mjs +149 -0
- package/fesm2020/wirabyte-ui-stat.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-table.mjs +3 -3
- package/fesm2020/wirabyte-ui-table.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-tabs.mjs +2 -2
- package/fesm2020/wirabyte-ui-tabs.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-tag.mjs +2 -2
- package/fesm2020/wirabyte-ui-tag.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-textarea.mjs +18 -0
- package/fesm2020/wirabyte-ui-textarea.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-thai.mjs +1 -1
- package/fesm2020/wirabyte-ui-thai.mjs.map +1 -1
- package/fesm2020/wirabyte-ui-toolbar.mjs +6 -6
- package/fesm2020/wirabyte-ui-toolbar.mjs.map +1 -1
- package/metergroup/metergroup.component.d.ts +16 -3
- package/metergroup/metergroup.types.d.ts +6 -0
- package/package.json +41 -1
- package/scheduler/index.d.ts +5 -0
- package/scheduler/public-api.d.ts +3 -0
- package/scheduler/scheduler.component.d.ts +143 -0
- package/scheduler/scheduler.module.d.ts +8 -0
- package/scheduler/scheduler.types.d.ts +46 -0
- 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/selectbutton/selectbutton.component.d.ts +12 -1
- package/signaturepad/index.d.ts +5 -0
- package/signaturepad/public-api.d.ts +2 -0
- package/signaturepad/signaturepad.component.d.ts +98 -0
- package/signaturepad/signaturepad.module.d.ts +8 -0
- package/stat/index.d.ts +5 -0
- package/stat/public-api.d.ts +2 -0
- package/stat/stat.component.d.ts +61 -0
- package/stat/stat.module.d.ts +8 -0
- package/textarea/textarea.directive.d.ts +2 -0
- package/theme/_data.scss +239 -7
- package/theme/_index.scss +29 -0
- package/themes/arun-blue/theme.css +30 -1
- package/themes/arun-green/theme.css +30 -1
- package/themes/arun-orange/theme.css +30 -1
- package/themes/arun-purple/theme.css +30 -1
- package/themes/md-dark-deeppurple/theme.css +30 -1
- package/themes/md-dark-indigo/theme.css +30 -1
- package/themes/md-light-deeppurple/theme.css +30 -1
- package/themes/md-light-indigo/theme.css +30 -1
- package/themes/ratri-blue/theme.css +30 -1
- package/themes/ratri-green/theme.css +30 -1
- package/themes/ratri-orange/theme.css +30 -1
- package/themes/ratri-purple/theme.css +30 -1
- package/themes/sayan-blue/theme.css +30 -1
- package/themes/sayan-green/theme.css +30 -1
- package/themes/sayan-orange/theme.css +30 -1
- package/themes/sayan-purple/theme.css +30 -1
- package/themes/sila-dark-blue/theme.css +30 -1
- package/themes/sila-dark-indigo/theme.css +30 -1
- package/themes/sila-dark-purple/theme.css +30 -1
- package/themes/sila-dark-teal/theme.css +30 -1
- package/themes/sila-light-blue/theme.css +30 -1
- package/themes/sila-light-indigo/theme.css +30 -1
- package/themes/sila-light-purple/theme.css +30 -1
- package/themes/sila-light-teal/theme.css +30 -1
- package/themes/sila-light-wira/theme.css +30 -1
|
@@ -135,6 +135,18 @@ const SURFACES = {
|
|
|
135
135
|
ink: ['#f6f8fc', '#eef2f9', '#e3e8f1', '#cfd7e4', '#98a5b8', '#556274', '#334155', '#2a3a52', '#1c2839', '#0e1624', '#070b14'],
|
|
136
136
|
};
|
|
137
137
|
const FONTS = ['Kanit', 'Sarabun', 'Prompt', 'Noto Sans Thai', 'IBM Plex Sans Thai', 'Anuphan', 'Inter', 'Roboto'];
|
|
138
|
+
/** Google Fonts families the presets, ng add and the Studio use, with the weights to ask for (the API refuses weights a family lacks). */
|
|
139
|
+
const GOOGLE_FONT_WEIGHTS = Object.assign(Object.assign({}, Object.fromEntries(FONTS.map((f) => [f, ':wght@400;500;600;700']))), { 'Noto Sans Thai Looped': ':wght@400;500;600;700', 'Noto Serif Thai': ':wght@400;500;600;700', Taviraj: ':wght@400;500;600;700', Trirong: ':wght@400;500;600;700', Pridi: ':wght@400;500;600;700', Itim: '' });
|
|
140
|
+
/**
|
|
141
|
+
* The Google Fonts stylesheet for the first family of a CSS `font-family` value (`"'Kanit', sans-serif"`), or `null` when
|
|
142
|
+
* it is not a family the themes know.
|
|
143
|
+
*/
|
|
144
|
+
function googleFontHref(fontFamily) {
|
|
145
|
+
const name = fontFamily.split(',')[0].trim().replace(/^['"]|['"]$/g, '');
|
|
146
|
+
if (!Object.prototype.hasOwnProperty.call(GOOGLE_FONT_WEIGHTS, name))
|
|
147
|
+
return null;
|
|
148
|
+
return `https://fonts.googleapis.com/css2?family=${name.replace(/ /g, '+')}${GOOGLE_FONT_WEIGHTS[name]}&display=swap`;
|
|
149
|
+
}
|
|
138
150
|
/** Density multiplies every padding a preset defines (1 = the preset's own spacing). */
|
|
139
151
|
const DENSITY = {
|
|
140
152
|
compact: 0.8,
|
|
@@ -217,7 +229,7 @@ const PRESETS = {
|
|
|
217
229
|
material: Object.assign(Object.assign({}, styled), { family: 'material', label: 'Material', fontFamily: 'Roboto', primary: '#10b981', surface: 'slate', semantic: MATERIAL_SEMANTIC, radius: 6, shadow: 'material', ripple: true, focusRing: 'inset' }),
|
|
218
230
|
phet: Object.assign(Object.assign({}, styled), { family: 'phet', label: 'Phet', primary: '#10b981', surface: 'slate', semantic: PHET_SEMANTIC, radius: 6, shadow: 'phet', ripple: false, focusRing: 'bold', transition: 0 }),
|
|
219
231
|
// ---- v3: WiraUI's own ----
|
|
220
|
-
wira: { family: 'wira', label: 'Wira', primary: '#1e7ae0', surface: 'ink', semantic: SEMANTIC_DEFAULTS, fontFamily: 'Kanit', fontSize: 14, lineHeight: 1.6, radius:
|
|
232
|
+
wira: { family: 'wira', label: 'Wira', primary: '#1e7ae0', surface: 'ink', semantic: SEMANTIC_DEFAULTS, fontFamily: 'Kanit', fontSize: 14, lineHeight: 1.6, radius: 10, density: 'normal', shadow: 'soft', ripple: false, focusRing: 'ring', transition: 150, scheme: 'light' },
|
|
221
233
|
lanna: { family: 'wira', label: 'Lanna', primary: '#0d9488', surface: 'stone', semantic: SEMANTIC_DEFAULTS, fontFamily: 'Sarabun', fontSize: 15, lineHeight: 1.7, radius: 12, density: 'comfortable', shadow: 'soft', ripple: false, focusRing: 'ring', transition: 200, scheme: 'light' },
|
|
222
234
|
siam: { family: 'wira', label: 'Siam', primary: '#6366f1', surface: 'gray', semantic: SEMANTIC_DEFAULTS, fontFamily: 'Prompt', fontSize: 14, lineHeight: 1.6, radius: 4, density: 'normal', shadow: 'elevated', ripple: true, focusRing: 'outline', transition: 200, scheme: 'light' },
|
|
223
235
|
nakhon: { family: 'wira', label: 'Nakhon', primary: '#3b82f6', surface: 'zinc', semantic: SEMANTIC_DEFAULTS, fontFamily: 'IBM Plex Sans Thai', fontSize: 13, lineHeight: 1.55, radius: 2, density: 'compact', shadow: 'none', ripple: false, focusRing: 'outline', transition: 100, scheme: 'light' },
|
|
@@ -681,6 +693,37 @@ function merge(...parts) {
|
|
|
681
693
|
// ---------- Mali (the styled default) is the base every family starts from ----------
|
|
682
694
|
const MALI = merge({
|
|
683
695
|
light: {
|
|
696
|
+
// Titles (card, dialog, drawer, panel, fieldset, alert, empty state, result, error page): the body font unless a
|
|
697
|
+
// theme sets $heading-font-family / semantic.headingFontFamily, e.g. Kanit titles over IBM Plex Sans Thai text.
|
|
698
|
+
'heading-font-family': v('font-family'),
|
|
699
|
+
// Components new in release 1. They follow the card, field and tag tokens, so every preset styles them.
|
|
700
|
+
'stat-gap': '0.875rem',
|
|
701
|
+
'stat-icon-size': '2.75rem',
|
|
702
|
+
'stat-label-size': '0.875rem',
|
|
703
|
+
'stat-value-size': '1.75rem',
|
|
704
|
+
'stat-value-weight': '700',
|
|
705
|
+
'descriptions-gap': '0.75rem 1.5rem',
|
|
706
|
+
'descriptions-label-color': v('text-muted'),
|
|
707
|
+
'descriptions-label-weight': '400',
|
|
708
|
+
'descriptions-label-width': '9rem',
|
|
709
|
+
'descriptions-bordered-label-bg': v('hover-bg'),
|
|
710
|
+
'signature-height': '12rem',
|
|
711
|
+
'signature-ink': v('text'),
|
|
712
|
+
'signature-line': v('border'),
|
|
713
|
+
'chat-height': '32rem',
|
|
714
|
+
'chat-bubble-radius': '1.125rem',
|
|
715
|
+
'chat-bubble-bg': v('hover-bg'),
|
|
716
|
+
'chat-bubble-color': v('text'),
|
|
717
|
+
'chat-mine-bg': v('primary-color'),
|
|
718
|
+
'chat-mine-color': v('primary-contrast'),
|
|
719
|
+
'chat-meta-color': v('text-muted'),
|
|
720
|
+
'chat-gap': '0.25rem',
|
|
721
|
+
'scheduler-hour-height': '3rem',
|
|
722
|
+
'scheduler-border': v('border'),
|
|
723
|
+
'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
|
|
724
|
+
'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
|
|
725
|
+
'scheduler-event-color': v('primary-soft-text'),
|
|
726
|
+
'scheduler-event-bar': v('primary-color'),
|
|
684
727
|
'primary-color': p(500),
|
|
685
728
|
'primary-hover': p(600),
|
|
686
729
|
'primary-active': p(700),
|
|
@@ -790,6 +833,9 @@ const MALI = merge({
|
|
|
790
833
|
'tag-padding-x': '0.5rem',
|
|
791
834
|
'tag-gap': '0.25rem',
|
|
792
835
|
'tag-fill': '0%',
|
|
836
|
+
// The soft look is the tag's colour at this strength over whatever is behind it, so it shows on white cards and
|
|
837
|
+
// grey pages alike (a fixed pale shade nearly vanished on a grey page).
|
|
838
|
+
'tag-soft-mix': '14%',
|
|
793
839
|
'badge-size': '1.5rem',
|
|
794
840
|
'badge-font-size': '0.75rem',
|
|
795
841
|
'badge-font-weight': '700',
|
|
@@ -2235,6 +2281,14 @@ const WIRA = merge(MALI, severities([600, 700, 800, 50, 800], [400, 300, 200, 40
|
|
|
2235
2281
|
'spinner-color-2': v('primary-color'),
|
|
2236
2282
|
'spinner-color-3': v('primary-color'),
|
|
2237
2283
|
'spinner-color-4': v('primary-color'),
|
|
2284
|
+
// A lighter, current look: table heads without a band, in quiet text; the chosen menu item a soft tint of the
|
|
2285
|
+
// primary colour rather than a solid bar.
|
|
2286
|
+
'table-head-bg': 'transparent',
|
|
2287
|
+
'table-head-color': v('text-muted'),
|
|
2288
|
+
'table-head-weight': '500',
|
|
2289
|
+
'table-head-hover-bg': v('hover-bg'),
|
|
2290
|
+
'aside-menu-item-active-bg': 'color-mix(in srgb, var(--wu-primary-color) 12%, transparent)',
|
|
2291
|
+
'aside-menu-item-active-color': v('primary-color'),
|
|
2238
2292
|
},
|
|
2239
2293
|
dark: {
|
|
2240
2294
|
'primary-soft': mix(p(400), 16, s(800)),
|
|
@@ -2679,6 +2733,10 @@ function setTokens(set, s950) {
|
|
|
2679
2733
|
const f = sem.fontFamily;
|
|
2680
2734
|
t.light['font-family'] = /[,'"]/.test(f) ? f : `'${f}', sans-serif`;
|
|
2681
2735
|
}
|
|
2736
|
+
if (sem.headingFontFamily !== undefined) {
|
|
2737
|
+
const f = sem.headingFontFamily;
|
|
2738
|
+
t.light['heading-font-family'] = /[,'"]/.test(f) ? f : `'${f}', sans-serif`;
|
|
2739
|
+
}
|
|
2682
2740
|
if (sem.fontSize !== undefined) {
|
|
2683
2741
|
if (typeof sem.fontSize === 'number')
|
|
2684
2742
|
mergeTokens(t, fontTokens({ fontSize: sem.fontSize }));
|
|
@@ -2706,8 +2764,29 @@ function setTokens(set, s950) {
|
|
|
2706
2764
|
if (v !== undefined)
|
|
2707
2765
|
mergeTokens(t, componentValue(spec, v));
|
|
2708
2766
|
}
|
|
2767
|
+
const raw = set.tokens || {};
|
|
2768
|
+
for (const name of Object.keys(raw)) {
|
|
2769
|
+
if (!knownToken(name))
|
|
2770
|
+
throw new Error(`wiraui: unknown token ${name} (write the name without --wu-, e.g. 'table-header-bg')`);
|
|
2771
|
+
t.light[name] = String(raw[name]);
|
|
2772
|
+
}
|
|
2709
2773
|
return t;
|
|
2710
2774
|
}
|
|
2775
|
+
let tokenNames = null;
|
|
2776
|
+
/** Every token some preset defines, so a misspelt name in `tokens` is caught instead of silently doing nothing. */
|
|
2777
|
+
function knownToken(name) {
|
|
2778
|
+
if (!tokenNames) {
|
|
2779
|
+
tokenNames = new Set();
|
|
2780
|
+
for (const id of Object.keys(PRESETS)) {
|
|
2781
|
+
const t = computeTokens(defaults(id));
|
|
2782
|
+
for (const k of Object.keys(t.light))
|
|
2783
|
+
tokenNames.add(k);
|
|
2784
|
+
for (const k of Object.keys(t.dark))
|
|
2785
|
+
tokenNames.add(k);
|
|
2786
|
+
}
|
|
2787
|
+
}
|
|
2788
|
+
return tokenNames.has(name);
|
|
2789
|
+
}
|
|
2711
2790
|
/**
|
|
2712
2791
|
* Only the tokens an override set touches; derived tokens follow through `var()`.
|
|
2713
2792
|
* With `scheme: 'dark'` (Sayan, Ratri, sila-dark-*) the dark values are the only values.
|
|
@@ -3427,6 +3506,39 @@ const TH_LOCALE = {
|
|
|
3427
3506
|
characters: '{0} ตัวอักษร',
|
|
3428
3507
|
content: 'เนื้อหา',
|
|
3429
3508
|
},
|
|
3509
|
+
chat: {
|
|
3510
|
+
placeholder: 'พิมพ์ข้อความ',
|
|
3511
|
+
send: 'ส่ง',
|
|
3512
|
+
attach: 'แนบไฟล์',
|
|
3513
|
+
removeFile: 'เอาไฟล์ออก',
|
|
3514
|
+
typing: '{name} กำลังพิมพ์',
|
|
3515
|
+
typingMany: '{count} คนกำลังพิมพ์',
|
|
3516
|
+
read: 'อ่านแล้ว',
|
|
3517
|
+
readBy: 'อ่านแล้ว {count}',
|
|
3518
|
+
today: 'วันนี้',
|
|
3519
|
+
yesterday: 'เมื่อวาน',
|
|
3520
|
+
closed: 'ปิดการสนทนาแล้ว',
|
|
3521
|
+
emptyTitle: 'ยังไม่มีข้อความ',
|
|
3522
|
+
emptyDescription: 'เริ่มพิมพ์ข้อความด้านล่าง',
|
|
3523
|
+
loadMore: 'ดูข้อความก่อนหน้า',
|
|
3524
|
+
failed: 'ส่งไม่สำเร็จ',
|
|
3525
|
+
retry: 'ส่งอีกครั้ง',
|
|
3526
|
+
newMessages: 'ข้อความใหม่',
|
|
3527
|
+
messages: 'ข้อความ',
|
|
3528
|
+
},
|
|
3529
|
+
signaturePad: { label: 'ช่องเซ็นชื่อ', hint: 'เซ็นชื่อในกรอบนี้', clear: 'ล้าง', undo: 'ย้อนกลับ' },
|
|
3530
|
+
scheduler: {
|
|
3531
|
+
today: 'วันนี้',
|
|
3532
|
+
previous: 'ก่อนหน้า',
|
|
3533
|
+
next: 'ถัดไป',
|
|
3534
|
+
day: 'วัน',
|
|
3535
|
+
week: 'สัปดาห์',
|
|
3536
|
+
month: 'เดือน',
|
|
3537
|
+
allDay: 'ทั้งวัน',
|
|
3538
|
+
more: 'อีก {count} รายการ',
|
|
3539
|
+
noEvents: 'ไม่มีนัดหมาย',
|
|
3540
|
+
},
|
|
3541
|
+
stat: { up: 'เพิ่มขึ้น', down: 'ลดลง', same: 'เท่าเดิม' },
|
|
3430
3542
|
};
|
|
3431
3543
|
const EN_LOCALE = {
|
|
3432
3544
|
code: 'en',
|
|
@@ -3752,6 +3864,39 @@ const EN_LOCALE = {
|
|
|
3752
3864
|
characters: '{0} characters',
|
|
3753
3865
|
content: 'Content',
|
|
3754
3866
|
},
|
|
3867
|
+
chat: {
|
|
3868
|
+
placeholder: 'Type a message',
|
|
3869
|
+
send: 'Send',
|
|
3870
|
+
attach: 'Attach files',
|
|
3871
|
+
removeFile: 'Remove file',
|
|
3872
|
+
typing: '{name} is typing',
|
|
3873
|
+
typingMany: '{count} people are typing',
|
|
3874
|
+
read: 'Read',
|
|
3875
|
+
readBy: 'Read by {count}',
|
|
3876
|
+
today: 'Today',
|
|
3877
|
+
yesterday: 'Yesterday',
|
|
3878
|
+
closed: 'This conversation is closed',
|
|
3879
|
+
emptyTitle: 'No messages yet',
|
|
3880
|
+
emptyDescription: 'Start typing below',
|
|
3881
|
+
loadMore: 'Earlier messages',
|
|
3882
|
+
failed: 'Not sent',
|
|
3883
|
+
retry: 'Send again',
|
|
3884
|
+
newMessages: 'New messages',
|
|
3885
|
+
messages: 'Messages',
|
|
3886
|
+
},
|
|
3887
|
+
signaturePad: { label: 'Signature', hint: 'Sign in the box', clear: 'Clear', undo: 'Undo' },
|
|
3888
|
+
scheduler: {
|
|
3889
|
+
today: 'Today',
|
|
3890
|
+
previous: 'Previous',
|
|
3891
|
+
next: 'Next',
|
|
3892
|
+
day: 'Day',
|
|
3893
|
+
week: 'Week',
|
|
3894
|
+
month: 'Month',
|
|
3895
|
+
allDay: 'All day',
|
|
3896
|
+
more: '+{count} more',
|
|
3897
|
+
noEvents: 'No events',
|
|
3898
|
+
},
|
|
3899
|
+
stat: { up: 'Up', down: 'Down', same: 'No change' },
|
|
3755
3900
|
};
|
|
3756
3901
|
const LOCALES = { th: TH_LOCALE, en: EN_LOCALE };
|
|
3757
3902
|
|
|
@@ -13308,5 +13453,5 @@ function radarModel(o, model, palette) {
|
|
|
13308
13453
|
* Generated bundle index. Do not edit.
|
|
13309
13454
|
*/
|
|
13310
13455
|
|
|
13311
|
-
export { Arun, BUDDHIST_OFFSET, CHART_PALETTE, CHART_VARIANTS, CLASSIC_THEMES, COMPONENT_TOKENS, CONFIG_MARKER, CORE_VERSION, DENSITY, DatePickerState, EDITOR_COLORS, EDITOR_FONT_SIZES, EDITOR_HIGHLIGHTS, EDITOR_TOOLBARS, EDITOR_TOOLS, EN_LOCALE, EXCEL_MIME, EditorHistory, FAMILIES, FAMILY_GENERATION, FLOW_DEFAULT_VIEWPORT, FLOW_EDGE_TYPES, FLOW_MARKER_REF, FLOW_MARKER_VIEWBOX, FLOW_TEXT_KEYS, FOCUS_STYLES, FONTS, FlowHistory, Glass, KNOB_MAX_RADIANS, KNOB_MIN_RADIANS, LANGUAGE_NAMES, LAYER_ORDER, LL, LOCALES, Lanna, ListState, MAX_CANVAS_AREA, Mali, Material, MaterialClassic, Nakhon, PALETTE_BASES, PRESETS, PRESET_IDS, PRESET_LIST, PRESET_NAMES, PRIMARY_SWATCHES, Phet, Ratri, SCALAR_FIELDS, SEMANTIC_DEFAULTS, SEMANTIC_KEYS, SHADES, SHADE_MIX, SHADOWS, STYLED_INPUTS, SURFACES, SURFACE_DARK_REF, Sayan, Siam, Sila, SilaClassic, TH_LOCALE, TINT, VERSION_CATALOG, Wira, WiraKawaii, absolutePosition, absolutePositions, acceptsFile, acceptsNumberInput, acceptsNumberText, addDays, addEdge, addMonths, alignmentGuides, apcaContrast, applyEdgeChanges, applyMatrix, applyNodeChanges, arcLine, arcPath, areaPath, arrowStep, autoPanVelocity, backgroundPattern, bahtText, bandPath, bands, barPath, base64ToFile, bestOn, boxSelection, boxStats, boxToRect, buildExcel, buildExcelSync, calendarWeeks, caretAfter, carouselClampPage, carouselFirst, carouselIsCircular, carouselLayout, carouselPageCount, carouselRepage, carouselStep, changeCount, chartHit, chartModel, chartMovesValues, chartSeriesFrom, chartSwapTypes, chartVariants, checkFile, clampCrop, clampDate, clampNumber, clampPosition, clampTimeField, clampView, clampZoom, classicDateFormat, clickSelection, collectMarkers, compareDays, compareValues, compatAliases, componentValue, computeNodeZ, computeTokens, connectionBetween, constrainViewport, contrast, countCrossings, crc32, cropArea, cropHeight, cropSizeRange, cropWidth, cropperToolbarGroups, cubicPoint, datePattern, dayNumber, daysInMonth, decimalSeparator, defaults, defineOverrides, definePreset, densityTokens, diff, diffItems, displayYear, dockScale, dragPositions, dragRoots, easeInOutCubic, edgeZIndex, editableNumber, editorCounts, editorHtmlToText, editorToolOptions, editorToolbarGroups, emptyTokens, estimateTextWidth, excelColor, excelColumnName, excelDateNumber, excelParseRange, excelParseRef, excelParts, excelRef, excelSheetFromRows, excelSheetNames, exifTransform, expandParentBox, expandRect, fillMask, filterColumns, filterGlobal, filterItems, filterListItems, filterTree, findHandle, firstIndex, fitArc, flattenMessages, flowClamp, flowDeepEqual, flowEdgeId, flowEdgeName, flowFormat, flowFromJSON, flowHistoryKey, flowNodeName, flowText, flowToJSON, flowToScreen, flowToSvg, fmt, focusTokens, fontTokens, formatChartValue, formatColor, formatDate, formatFileSize, formatMask, formatNumber, formatThaiId, formatThaiPhone, fractionDigits, from12Hour, fromBuddhistYear, fromThaiDigits, generatePalette, getBezierPath, getBoundsOfRects, getConnectedEdges, getDescendants, getEdgeCenter, getEdgeEnds, getEdgePath, getEdgePathWithRoom, getElementsToRemove, getIncomers, getIntersectingNodes, getNodesBounds, getNodesInside, getOutgoers, getSimpleBezierPath, getSmoothStepPath, getStepPath, getStepPoints, getStraightPath, getViewportForBounds, getVisibleNodeIds, growCrop, handleConnectionCount, handleIsFull, handlePoint, handlesCompatible, hasSize, hexToRgb, hsbToHex, hsbToRgb, httpErrorActions, httpErrorCode, httpErrorKind, httpErrorTextKey, imageCompareAt, imageCompareClamp, imageCompareKey, inListOrder, indexOfValue, initialCrop, interpolate, interpolateViewport, isDaySelectable, isEdge, isEdgeVisible, isEmptyEditorHtml, isFlowPosition, isHex, isImageFile, isMonthSelectable, isNode, isPalette, isPresetId, isThaiPhone, isThemeName, isThemePreset, isTypingTarget, isValidDate, isValidThaiId, isYearSelectable, keyMatches, knobClamp, knobPaths, knobSnap, knobText, knobValueAt, lastFilled, lastIndex, layoutFlow, layoutHandlePositions, layoutTree, linePath, listFilterFields, listIndexes, listSame, luminance, markerId, markerLength, markerShape, maskComplete, maskEmpty, matchLanguage, matchValue, materialTokens, menuFirst, menuFocusable, menuHasSubmenu, menuItemAt, menuKey, menuKeyPath, menuLast, menuStep, menuTypeahead, menuVisible, mergeExcelStyles, mergeTokens, minimapLayout, minimapMaskPath, minimapToFlow, mix$1 as mix, monotonePath, moveBottom, moveCrop, moveDay, moveDown, moveItemsTo, moveTop, moveUp, multiKeyHeld, nearestHandle, niceScale, niceStep, nodeDepth$1 as nodeDepth, nodeLookup, nodeRect, nodeSize, normalize, normalizeAngle, normalizeCrop, normalizeExtent, normalizeMarker, normalizeViewport, oppositePosition, optionField, orgChartIsLeaf, orgChartIsOpen, orgChartIsSelected, orgChartKey, orgChartToggleSelection, orgChartVisible, orientationMatrix, otpAccepts, otpCleanPaste, otpFill, otpTokens, otpValue, outputSize, overlapArea, overridesToTokens, padToRatio, paddingPx, pageInfo, pageLinks, pageReport, palette, panBy, panCrop, parentGrowth, parseAspectRatio, parseColor, parseDate, parseImport, parseLooseDate, parseMask, parseNumber, parseTypedDate, pastThreshold, pickLanguage, placeInOrder, pointInRect, polar, polylineMidpoint, positionVector, presetExportName, presetToTokens, presetsFor, primaryPaletteOf, primaryTokens, radiusTokens, rangeKeyValue, readExifOrientation, readTimeField, reconnectEdge, rectCenter, rectContains, rectFromPoints, rectToBox, rectsIntersect, relaxLabels, remapCrop, remapPoint, resizeBox, resizeCrop, rgbToHex, rgbToHsb, rotateOrientation, rotatedSize, roundChannel, roundCrop, roundedPolylinePath, safeEditorImage, safeEditorUrl, sameCrop, sameDay, sameFile, sameHandle, sameNode, sameValue, sameViewport, scaleLinear, screenToFlow, searchText, selectItems, selectionChanges, semanticTokens, shadowTokens, sidePoint, simplifyPolyline, snapPosition, sortNodesParentsFirst, sortRows, splitDates, splitterBasis, splitterPercent, splitterReadState, splitterResize, splitterSizes, squarify, startOfDay, stepIndex, stepNumber, surfacePalette, surfaceTokens, terminalCommandName, terminalHistoryAdd, terminalHistoryMove, terminalIsClear, thaiIdCheckDigit, thaiNumberText, themeConfig, themePreset, timeAgo, timeFieldRange, timeFormat, timeTicks, to12Hour, toBuddhistYear, toCSS, toDate, toDateValue, toJSON, toSCSS, toTSOverrides, toTSPreset, toThaiDigits, toggleTreeCheck, tokensToCss, tokensToStyle, transferItems, transitionTokens, translateKey, treeCheckStates, treeParents, typeaheadIndex, typedBefore, unmaskedValue, updateEdge, validConnection, validationMessage, viewRect, viewWindow, viewportForCenter, walkTree, weekdayOrder, wheelDeltaPx, wheelZoomFactor, wrapStep, yearPage, zipFiles, zipFilesSync, zoomAt, zoomCrop };
|
|
13456
|
+
export { Arun, BUDDHIST_OFFSET, CHART_PALETTE, CHART_VARIANTS, CLASSIC_THEMES, COMPONENT_TOKENS, CONFIG_MARKER, CORE_VERSION, DENSITY, DatePickerState, EDITOR_COLORS, EDITOR_FONT_SIZES, EDITOR_HIGHLIGHTS, EDITOR_TOOLBARS, EDITOR_TOOLS, EN_LOCALE, EXCEL_MIME, EditorHistory, FAMILIES, FAMILY_GENERATION, FLOW_DEFAULT_VIEWPORT, FLOW_EDGE_TYPES, FLOW_MARKER_REF, FLOW_MARKER_VIEWBOX, FLOW_TEXT_KEYS, FOCUS_STYLES, FONTS, FlowHistory, Glass, KNOB_MAX_RADIANS, KNOB_MIN_RADIANS, LANGUAGE_NAMES, LAYER_ORDER, LL, LOCALES, Lanna, ListState, MAX_CANVAS_AREA, Mali, Material, MaterialClassic, Nakhon, PALETTE_BASES, PRESETS, PRESET_IDS, PRESET_LIST, PRESET_NAMES, PRIMARY_SWATCHES, Phet, Ratri, SCALAR_FIELDS, SEMANTIC_DEFAULTS, SEMANTIC_KEYS, SHADES, SHADE_MIX, SHADOWS, STYLED_INPUTS, SURFACES, SURFACE_DARK_REF, Sayan, Siam, Sila, SilaClassic, TH_LOCALE, TINT, VERSION_CATALOG, Wira, WiraKawaii, absolutePosition, absolutePositions, acceptsFile, acceptsNumberInput, acceptsNumberText, addDays, addEdge, addMonths, alignmentGuides, apcaContrast, applyEdgeChanges, applyMatrix, applyNodeChanges, arcLine, arcPath, areaPath, arrowStep, autoPanVelocity, backgroundPattern, bahtText, bandPath, bands, barPath, base64ToFile, bestOn, boxSelection, boxStats, boxToRect, buildExcel, buildExcelSync, calendarWeeks, caretAfter, carouselClampPage, carouselFirst, carouselIsCircular, carouselLayout, carouselPageCount, carouselRepage, carouselStep, changeCount, chartHit, chartModel, chartMovesValues, chartSeriesFrom, chartSwapTypes, chartVariants, checkFile, clampCrop, clampDate, clampNumber, clampPosition, clampTimeField, clampView, clampZoom, classicDateFormat, clickSelection, collectMarkers, compareDays, compareValues, compatAliases, componentValue, computeNodeZ, computeTokens, connectionBetween, constrainViewport, contrast, countCrossings, crc32, cropArea, cropHeight, cropSizeRange, cropWidth, cropperToolbarGroups, cubicPoint, datePattern, dayNumber, daysInMonth, decimalSeparator, defaults, defineOverrides, definePreset, densityTokens, diff, diffItems, displayYear, dockScale, dragPositions, dragRoots, easeInOutCubic, edgeZIndex, editableNumber, editorCounts, editorHtmlToText, editorToolOptions, editorToolbarGroups, emptyTokens, estimateTextWidth, excelColor, excelColumnName, excelDateNumber, excelParseRange, excelParseRef, excelParts, excelRef, excelSheetFromRows, excelSheetNames, exifTransform, expandParentBox, expandRect, fillMask, filterColumns, filterGlobal, filterItems, filterListItems, filterTree, findHandle, firstIndex, fitArc, flattenMessages, flowClamp, flowDeepEqual, flowEdgeId, flowEdgeName, flowFormat, flowFromJSON, flowHistoryKey, flowNodeName, flowText, flowToJSON, flowToScreen, flowToSvg, fmt, focusTokens, fontTokens, formatChartValue, formatColor, formatDate, formatFileSize, formatMask, formatNumber, formatThaiId, formatThaiPhone, fractionDigits, from12Hour, fromBuddhistYear, fromThaiDigits, generatePalette, getBezierPath, getBoundsOfRects, getConnectedEdges, getDescendants, getEdgeCenter, getEdgeEnds, getEdgePath, getEdgePathWithRoom, getElementsToRemove, getIncomers, getIntersectingNodes, getNodesBounds, getNodesInside, getOutgoers, getSimpleBezierPath, getSmoothStepPath, getStepPath, getStepPoints, getStraightPath, getViewportForBounds, getVisibleNodeIds, googleFontHref, growCrop, handleConnectionCount, handleIsFull, handlePoint, handlesCompatible, hasSize, hexToRgb, hsbToHex, hsbToRgb, httpErrorActions, httpErrorCode, httpErrorKind, httpErrorTextKey, imageCompareAt, imageCompareClamp, imageCompareKey, inListOrder, indexOfValue, initialCrop, interpolate, interpolateViewport, isDaySelectable, isEdge, isEdgeVisible, isEmptyEditorHtml, isFlowPosition, isHex, isImageFile, isMonthSelectable, isNode, isPalette, isPresetId, isThaiPhone, isThemeName, isThemePreset, isTypingTarget, isValidDate, isValidThaiId, isYearSelectable, keyMatches, knobClamp, knobPaths, knobSnap, knobText, knobValueAt, lastFilled, lastIndex, layoutFlow, layoutHandlePositions, layoutTree, linePath, listFilterFields, listIndexes, listSame, luminance, markerId, markerLength, markerShape, maskComplete, maskEmpty, matchLanguage, matchValue, materialTokens, menuFirst, menuFocusable, menuHasSubmenu, menuItemAt, menuKey, menuKeyPath, menuLast, menuStep, menuTypeahead, menuVisible, mergeExcelStyles, mergeTokens, minimapLayout, minimapMaskPath, minimapToFlow, mix$1 as mix, monotonePath, moveBottom, moveCrop, moveDay, moveDown, moveItemsTo, moveTop, moveUp, multiKeyHeld, nearestHandle, niceScale, niceStep, nodeDepth$1 as nodeDepth, nodeLookup, nodeRect, nodeSize, normalize, normalizeAngle, normalizeCrop, normalizeExtent, normalizeMarker, normalizeViewport, oppositePosition, optionField, orgChartIsLeaf, orgChartIsOpen, orgChartIsSelected, orgChartKey, orgChartToggleSelection, orgChartVisible, orientationMatrix, otpAccepts, otpCleanPaste, otpFill, otpTokens, otpValue, outputSize, overlapArea, overridesToTokens, padToRatio, paddingPx, pageInfo, pageLinks, pageReport, palette, panBy, panCrop, parentGrowth, parseAspectRatio, parseColor, parseDate, parseImport, parseLooseDate, parseMask, parseNumber, parseTypedDate, pastThreshold, pickLanguage, placeInOrder, pointInRect, polar, polylineMidpoint, positionVector, presetExportName, presetToTokens, presetsFor, primaryPaletteOf, primaryTokens, radiusTokens, rangeKeyValue, readExifOrientation, readTimeField, reconnectEdge, rectCenter, rectContains, rectFromPoints, rectToBox, rectsIntersect, relaxLabels, remapCrop, remapPoint, resizeBox, resizeCrop, rgbToHex, rgbToHsb, rotateOrientation, rotatedSize, roundChannel, roundCrop, roundedPolylinePath, safeEditorImage, safeEditorUrl, sameCrop, sameDay, sameFile, sameHandle, sameNode, sameValue, sameViewport, scaleLinear, screenToFlow, searchText, selectItems, selectionChanges, semanticTokens, shadowTokens, sidePoint, simplifyPolyline, snapPosition, sortNodesParentsFirst, sortRows, splitDates, splitterBasis, splitterPercent, splitterReadState, splitterResize, splitterSizes, squarify, startOfDay, stepIndex, stepNumber, surfacePalette, surfaceTokens, terminalCommandName, terminalHistoryAdd, terminalHistoryMove, terminalIsClear, thaiIdCheckDigit, thaiNumberText, themeConfig, themePreset, timeAgo, timeFieldRange, timeFormat, timeTicks, to12Hour, toBuddhistYear, toCSS, toDate, toDateValue, toJSON, toSCSS, toTSOverrides, toTSPreset, toThaiDigits, toggleTreeCheck, tokensToCss, tokensToStyle, transferItems, transitionTokens, translateKey, treeCheckStates, treeParents, typeaheadIndex, typedBefore, unmaskedValue, updateEdge, validConnection, validationMessage, viewRect, viewWindow, viewportForCenter, walkTree, weekdayOrder, wheelDeltaPx, wheelZoomFactor, wrapStep, yearPage, zipFiles, zipFilesSync, zoomAt, zoomCrop };
|
|
13312
13457
|
//# sourceMappingURL=wirabyte-ui-core.mjs.map
|