@zeyos/zx 2.1.0 → 2.2.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 +39 -0
- package/README.md +15 -0
- package/dist/types/compat/base.d.ts +156 -0
- package/dist/types/compat/globals.d.ts +20 -0
- package/dist/types/compat/index.d.ts +128 -0
- package/dist/types/compat/map/basic.d.ts +175 -0
- package/dist/types/compat/map/data.d.ts +102 -0
- package/dist/types/compat/map/date-time.d.ts +80 -0
- package/dist/types/compat/map/factory.d.ts +9 -0
- package/dist/types/compat/map/form.d.ts +98 -0
- package/dist/types/compat/map/helpers.d.ts +12 -0
- package/dist/types/compat/map/http.d.ts +36 -0
- package/dist/types/compat/map/layout.d.ts +106 -0
- package/dist/types/compat/map/options.d.ts +80 -0
- package/dist/types/compat/map/select.d.ts +95 -0
- package/dist/types/compat/map/stubs.d.ts +32 -0
- package/dist/types/compat/map/utilities.d.ts +37 -0
- package/dist/types/compat-entry.d.ts +5 -0
- package/dist/types/components/badge/badge.d.ts +46 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +200 -0
- package/dist/types/components/button/button.d.ts +42 -0
- package/dist/types/components/check-button/check-button.d.ts +98 -0
- package/dist/types/components/checklist/checklist.d.ts +143 -0
- package/dist/types/components/checklist/field-adapter.d.ts +5 -0
- package/dist/types/components/context-menu/context-menu.d.ts +130 -0
- package/dist/types/components/copy/copy-button.d.ts +48 -0
- package/dist/types/components/copy/copy-input.d.ts +91 -0
- package/dist/types/components/data-filter/data-filter.d.ts +250 -0
- package/dist/types/components/data-filter/filter-core.d.ts +52 -0
- package/dist/types/components/date-picker/date-picker.d.ts +137 -0
- package/dist/types/components/date-picker/date-range-picker.d.ts +350 -0
- package/dist/types/components/date-picker/field-adapter.d.ts +6 -0
- package/dist/types/components/date-picker/month-picker.d.ts +75 -0
- package/dist/types/components/date-picker/range-field-adapter.d.ts +7 -0
- package/dist/types/components/date-picker/time-picker.d.ts +127 -0
- package/dist/types/components/datebox/date-range-box.d.ts +218 -0
- package/dist/types/components/datebox/datebox.d.ts +160 -0
- package/dist/types/components/datebox/field-adapter.d.ts +5 -0
- package/dist/types/components/dialog/dialog.d.ts +284 -0
- package/dist/types/components/dropdown/dropdown.d.ts +118 -0
- package/dist/types/components/empty-state/empty-state.d.ts +38 -0
- package/dist/types/components/field/field.d.ts +231 -0
- package/dist/types/components/field-upload/field-adapter.d.ts +5 -0
- package/dist/types/components/field-upload/field-upload.d.ts +213 -0
- package/dist/types/components/fieldset/fieldset.d.ts +125 -0
- package/dist/types/components/finder/finder.d.ts +252 -0
- package/dist/types/components/form/form.d.ts +194 -0
- package/dist/types/components/groupbox/groupbox.d.ts +89 -0
- package/dist/types/components/layout/layout.d.ts +132 -0
- package/dist/types/components/loading/inline-loading.d.ts +86 -0
- package/dist/types/components/loading/progress-bar.d.ts +168 -0
- package/dist/types/components/loading/spinner.d.ts +34 -0
- package/dist/types/components/master-panel/master-panel.d.ts +112 -0
- package/dist/types/components/menu-button/menu-button.d.ts +142 -0
- package/dist/types/components/message/message.d.ts +212 -0
- package/dist/types/components/modal/modal.d.ts +105 -0
- package/dist/types/components/multi-value-editor/field-adapter.d.ts +5 -0
- package/dist/types/components/multi-value-editor/multi-value-editor.d.ts +66 -0
- package/dist/types/components/navigation-bar/navigation-bar.d.ts +229 -0
- package/dist/types/components/number-field/field-adapter.d.ts +5 -0
- package/dist/types/components/number-field/number-field.d.ts +292 -0
- package/dist/types/components/pagination/pagination.d.ts +267 -0
- package/dist/types/components/panel/panel.d.ts +194 -0
- package/dist/types/components/permission/permission.d.ts +93 -0
- package/dist/types/components/rating/field-adapter.d.ts +5 -0
- package/dist/types/components/rating/rating.d.ts +213 -0
- package/dist/types/components/search/search.d.ts +98 -0
- package/dist/types/components/select/field-adapter.d.ts +5 -0
- package/dist/types/components/select/filter.d.ts +11 -0
- package/dist/types/components/select/select.d.ts +235 -0
- package/dist/types/components/skeleton/skeleton.d.ts +97 -0
- package/dist/types/components/slider/field-adapter.d.ts +5 -0
- package/dist/types/components/slider/slider.d.ts +216 -0
- package/dist/types/components/split-view/split-view.d.ts +335 -0
- package/dist/types/components/stepper/stepper.d.ts +314 -0
- package/dist/types/components/stepper/steps.d.ts +131 -0
- package/dist/types/components/tabbox/tabbox.d.ts +230 -0
- package/dist/types/components/table/sort.d.ts +49 -0
- package/dist/types/components/table/table.d.ts +872 -0
- package/dist/types/components/tag-picker/field-adapter.d.ts +5 -0
- package/dist/types/components/tag-picker/tag-picker.d.ts +375 -0
- package/dist/types/components/timebox/field-adapter.d.ts +5 -0
- package/dist/types/components/timebox/timebox.d.ts +121 -0
- package/dist/types/components/toggle/field-adapter.d.ts +5 -0
- package/dist/types/components/toggle/toggle.d.ts +94 -0
- package/dist/types/components/toolbar/toolbar.d.ts +230 -0
- package/dist/types/components/tooltip/tooltip.d.ts +183 -0
- package/dist/types/components/tree/hierarchy.d.ts +113 -0
- package/dist/types/components/tree/tree.d.ts +383 -0
- package/dist/types/components/truncate/truncate.d.ts +61 -0
- package/dist/types/components/value-list/field-adapter.d.ts +5 -0
- package/dist/types/components/value-list/value-list.d.ts +143 -0
- package/dist/types/core/breakpoint.d.ts +68 -0
- package/dist/types/core/component.d.ts +115 -0
- package/dist/types/core/date.d.ts +50 -0
- package/dist/types/core/dom.d.ts +86 -0
- package/dist/types/core/export.d.ts +70 -0
- package/dist/types/core/fontawesome.d.ts +107 -0
- package/dist/types/core/format.d.ts +107 -0
- package/dist/types/core/http.d.ts +122 -0
- package/dist/types/core/i18n.d.ts +35 -0
- package/dist/types/core/icons.d.ts +137 -0
- package/dist/types/core/keyboard.d.ts +72 -0
- package/dist/types/core/position.d.ts +45 -0
- package/dist/types/core/storage.d.ts +46 -0
- package/dist/types/core/util.d.ts +117 -0
- package/dist/types/elements/define.d.ts +73 -0
- package/dist/types/elements/reflect.d.ts +27 -0
- package/dist/types/index.d.ts +79 -0
- package/dist/types/zeyos/connect.d.ts +65 -0
- package/dist/types/zeyos/form.d.ts +140 -0
- package/dist/types/zeyos/icons.d.ts +104 -0
- package/dist/types/zeyos/index.d.ts +12 -0
- package/dist/types/zeyos/modules.d.ts +110 -0
- package/dist/types/zeyos/query.d.ts +157 -0
- package/dist/types/zeyos/schema.d.ts +79 -0
- package/dist/types/zeyos/select.d.ts +167 -0
- package/dist/types/zeyos/table.d.ts +205 -0
- package/dist/zx-compat.esm.js +362 -33
- package/dist/zx-compat.esm.min.js +1 -1
- package/dist/zx-compat.global.js +359 -67
- package/dist/zx-compat.global.min.js +3 -3
- package/dist/zx-zeyos.esm.js +342 -43
- package/dist/zx-zeyos.esm.min.js +1 -1
- package/dist/zx.css +68 -6
- package/dist/zx.esm.js +346 -67
- package/dist/zx.esm.min.js +3 -3
- package/dist/zx.global.js +346 -67
- package/dist/zx.global.min.js +3 -3
- package/dist/zx.min.css +1 -1
- package/docs/api.json +48 -2
- package/docs/llms.md +28 -0
- package/package.json +37 -9
- package/src/compat/base.js +291 -0
- package/src/compat/globals.js +165 -0
- package/src/compat/index.js +84 -0
- package/src/compat/map/basic.js +464 -0
- package/src/compat/map/data.js +232 -0
- package/src/compat/map/date-time.js +177 -0
- package/src/compat/map/factory.js +45 -0
- package/src/compat/map/form.js +330 -0
- package/src/compat/map/helpers.js +46 -0
- package/src/compat/map/http.js +117 -0
- package/src/compat/map/layout.js +256 -0
- package/src/compat/map/options.js +267 -0
- package/src/compat/map/select.js +198 -0
- package/src/compat/map/stubs.js +26 -0
- package/src/compat/map/utilities.js +113 -0
- package/src/compat-entry.js +11 -0
- package/src/components/badge/badge.css +147 -0
- package/src/components/badge/badge.js +92 -0
- package/src/components/breadcrumb/breadcrumb.css +105 -0
- package/src/components/breadcrumb/breadcrumb.js +331 -0
- package/src/components/button/button.css +104 -0
- package/src/components/button/button.js +76 -0
- package/src/components/check-button/check-button.css +66 -0
- package/src/components/check-button/check-button.js +167 -0
- package/src/components/checklist/checklist.css +65 -0
- package/src/components/checklist/checklist.js +282 -0
- package/src/components/checklist/field-adapter.js +46 -0
- package/src/components/context-menu/context-menu.css +54 -0
- package/src/components/context-menu/context-menu.js +334 -0
- package/src/components/copy/copy-button.css +27 -0
- package/src/components/copy/copy-button.js +78 -0
- package/src/components/copy/copy-input.css +59 -0
- package/src/components/copy/copy-input.js +123 -0
- package/src/components/data-filter/data-filter.css +53 -0
- package/src/components/data-filter/data-filter.js +400 -0
- package/src/components/data-filter/filter-core.js +128 -0
- package/src/components/date-picker/date-picker.css +181 -0
- package/src/components/date-picker/date-picker.js +500 -0
- package/src/components/date-picker/date-range-picker.css +264 -0
- package/src/components/date-picker/date-range-picker.js +990 -0
- package/src/components/date-picker/field-adapter.js +36 -0
- package/src/components/date-picker/month-picker.js +223 -0
- package/src/components/date-picker/range-field-adapter.js +31 -0
- package/src/components/date-picker/time-picker.css +191 -0
- package/src/components/date-picker/time-picker.js +406 -0
- package/src/components/datebox/date-range-box.css +128 -0
- package/src/components/datebox/date-range-box.js +492 -0
- package/src/components/datebox/datebox.css +108 -0
- package/src/components/datebox/datebox.js +358 -0
- package/src/components/datebox/field-adapter.js +34 -0
- package/src/components/dialog/dialog.css +74 -0
- package/src/components/dialog/dialog.js +450 -0
- package/src/components/dropdown/dropdown.css +24 -0
- package/src/components/dropdown/dropdown.js +288 -0
- package/src/components/empty-state/empty-state.css +80 -0
- package/src/components/empty-state/empty-state.js +92 -0
- package/src/components/field/field.css +127 -0
- package/src/components/field/field.js +605 -0
- package/src/components/field-upload/field-adapter.js +21 -0
- package/src/components/field-upload/field-upload.css +108 -0
- package/src/components/field-upload/field-upload.js +475 -0
- package/src/components/fieldset/fieldset.css +37 -0
- package/src/components/fieldset/fieldset.js +307 -0
- package/src/components/finder/finder.css +98 -0
- package/src/components/finder/finder.js +509 -0
- package/src/components/form/form.css +32 -0
- package/src/components/form/form.js +302 -0
- package/src/components/groupbox/groupbox.css +51 -0
- package/src/components/groupbox/groupbox.js +199 -0
- package/src/components/layout/layout.css +117 -0
- package/src/components/layout/layout.js +136 -0
- package/src/components/loading/inline-loading.css +34 -0
- package/src/components/loading/inline-loading.js +140 -0
- package/src/components/loading/progress-bar.css +115 -0
- package/src/components/loading/progress-bar.js +259 -0
- package/src/components/loading/spinner.css +58 -0
- package/src/components/loading/spinner.js +57 -0
- package/src/components/master-panel/master-panel.css +51 -0
- package/src/components/master-panel/master-panel.js +203 -0
- package/src/components/menu-button/menu-button.css +49 -0
- package/src/components/menu-button/menu-button.js +294 -0
- package/src/components/message/message.css +122 -0
- package/src/components/message/message.js +499 -0
- package/src/components/modal/modal.css +47 -0
- package/src/components/modal/modal.js +203 -0
- package/src/components/multi-value-editor/field-adapter.js +44 -0
- package/src/components/multi-value-editor/multi-value-editor.css +56 -0
- package/src/components/multi-value-editor/multi-value-editor.js +170 -0
- package/src/components/navigation-bar/navigation-bar.css +130 -0
- package/src/components/navigation-bar/navigation-bar.js +450 -0
- package/src/components/number-field/field-adapter.js +40 -0
- package/src/components/number-field/number-field.css +77 -0
- package/src/components/number-field/number-field.js +545 -0
- package/src/components/pagination/pagination.css +95 -0
- package/src/components/pagination/pagination.js +481 -0
- package/src/components/panel/panel.css +123 -0
- package/src/components/panel/panel.js +336 -0
- package/src/components/permission/permission.css +47 -0
- package/src/components/permission/permission.js +198 -0
- package/src/components/rating/field-adapter.js +34 -0
- package/src/components/rating/rating.css +97 -0
- package/src/components/rating/rating.js +395 -0
- package/src/components/search/search.css +70 -0
- package/src/components/search/search.js +193 -0
- package/src/components/select/field-adapter.js +24 -0
- package/src/components/select/filter.js +39 -0
- package/src/components/select/select.css +180 -0
- package/src/components/select/select.js +663 -0
- package/src/components/skeleton/skeleton.css +76 -0
- package/src/components/skeleton/skeleton.js +139 -0
- package/src/components/slider/field-adapter.js +36 -0
- package/src/components/slider/slider.css +181 -0
- package/src/components/slider/slider.js +399 -0
- package/src/components/split-view/split-view.css +139 -0
- package/src/components/split-view/split-view.js +806 -0
- package/src/components/stepper/stepper.css +234 -0
- package/src/components/stepper/stepper.js +459 -0
- package/src/components/stepper/steps.js +131 -0
- package/src/components/tabbox/tabbox.css +281 -0
- package/src/components/tabbox/tabbox.js +484 -0
- package/src/components/table/sort.js +85 -0
- package/src/components/table/table.css +364 -0
- package/src/components/table/table.js +1693 -0
- package/src/components/tag-picker/field-adapter.js +35 -0
- package/src/components/tag-picker/tag-picker.css +169 -0
- package/src/components/tag-picker/tag-picker.js +837 -0
- package/src/components/timebox/field-adapter.js +24 -0
- package/src/components/timebox/timebox.css +51 -0
- package/src/components/timebox/timebox.js +276 -0
- package/src/components/toggle/field-adapter.js +24 -0
- package/src/components/toggle/toggle.css +66 -0
- package/src/components/toggle/toggle.js +150 -0
- package/src/components/toolbar/toolbar.css +81 -0
- package/src/components/toolbar/toolbar.js +511 -0
- package/src/components/tooltip/tooltip.css +36 -0
- package/src/components/tooltip/tooltip.js +420 -0
- package/src/components/tree/hierarchy.js +151 -0
- package/src/components/tree/tree.css +99 -0
- package/src/components/tree/tree.js +784 -0
- package/src/components/truncate/truncate.css +20 -0
- package/src/components/truncate/truncate.js +92 -0
- package/src/components/value-list/field-adapter.js +24 -0
- package/src/components/value-list/value-list.css +108 -0
- package/src/components/value-list/value-list.js +336 -0
- package/src/core/breakpoint.js +150 -0
- package/src/core/component.js +292 -0
- package/src/core/date.js +216 -0
- package/src/core/dom.js +260 -0
- package/src/core/export.js +204 -0
- package/src/core/fontawesome.js +177 -0
- package/src/core/format.js +283 -0
- package/src/core/http.js +246 -0
- package/src/core/i18n.js +83 -0
- package/src/core/icons.js +283 -0
- package/src/core/keyboard.js +240 -0
- package/src/core/position.js +177 -0
- package/src/core/storage.js +175 -0
- package/src/core/util.js +336 -0
- package/src/elements/define.js +715 -0
- package/src/elements/reflect.js +79 -0
- package/src/index.js +131 -0
- package/src/zeyos/connect.js +142 -0
- package/src/zeyos/form.js +254 -0
- package/src/zeyos/icons.js +92 -0
- package/src/zeyos/index.js +21 -0
- package/src/zeyos/modules.js +269 -0
- package/src/zeyos/query.js +199 -0
- package/src/zeyos/schema.js +474 -0
- package/src/zeyos/select.js +175 -0
- package/src/zeyos/table.js +272 -0
- package/styles/base.css +124 -0
- package/styles/icons.css +34 -0
- package/styles/tokens/dark.css +84 -0
- package/styles/tokens/density.css +9 -0
- package/styles/tokens/global.css +80 -0
- package/styles/tokens/modules.css +109 -0
- package/styles/tokens/semantic.css +49 -0
- package/styles/zx.css +61 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/* ZeyOS module identity colours.
|
|
2
|
+
Generated by tools/build-module-tokens.js from src/zeyos/modules.js — do not edit by hand.
|
|
3
|
+
Colours come from the ZeyOS runtime palette where ZeyOS defines one, and are Zx defaults
|
|
4
|
+
for the rest. `--zx-module-fg-*` are the two glyph foregrounds the palette was measured
|
|
5
|
+
against; moduleChip() picks the higher-contrast one per module. */
|
|
6
|
+
:root {
|
|
7
|
+
--zx-module-fg-light: #ffffff;
|
|
8
|
+
--zx-module-fg-dark: #141414;
|
|
9
|
+
|
|
10
|
+
--zx-module-accounts: #bc3885;
|
|
11
|
+
--zx-module-actionsteps: #f67f00;
|
|
12
|
+
--zx-module-admin: #4b5563;
|
|
13
|
+
--zx-module-applications: #2563eb;
|
|
14
|
+
--zx-module-appointments: #bd1e32;
|
|
15
|
+
--zx-module-auth: #a16207;
|
|
16
|
+
--zx-module-billing: #535494;
|
|
17
|
+
--zx-module-calendar: #bd1e32;
|
|
18
|
+
--zx-module-campaigns: #f16528;
|
|
19
|
+
--zx-module-categories: #9a3412;
|
|
20
|
+
--zx-module-channels: #0891b2;
|
|
21
|
+
--zx-module-collection: #0d60ae;
|
|
22
|
+
--zx-module-contacts: #8c6641;
|
|
23
|
+
--zx-module-contracts: #823e89;
|
|
24
|
+
--zx-module-control: #0f766e;
|
|
25
|
+
--zx-module-coupons: #10775c;
|
|
26
|
+
--zx-module-davservers: #475569;
|
|
27
|
+
--zx-module-default: #21cc75;
|
|
28
|
+
--zx-module-dev: #1f2937;
|
|
29
|
+
--zx-module-devices: #064e4f;
|
|
30
|
+
--zx-module-documents: #808000;
|
|
31
|
+
--zx-module-dunning: #0d60ae;
|
|
32
|
+
--zx-module-error: #b91c1c;
|
|
33
|
+
--zx-module-events: #bd1e32;
|
|
34
|
+
--zx-module-global: #0369a1;
|
|
35
|
+
--zx-module-groups: #007a55;
|
|
36
|
+
--zx-module-inventory: #064e4f;
|
|
37
|
+
--zx-module-items: #064e4f;
|
|
38
|
+
--zx-module-ledgers: #4679c8;
|
|
39
|
+
--zx-module-line: #064e4f;
|
|
40
|
+
--zx-module-links: #405e76;
|
|
41
|
+
--zx-module-logout: #9f1239;
|
|
42
|
+
--zx-module-mailinglists: #0299ac;
|
|
43
|
+
--zx-module-messages: #31a8e0;
|
|
44
|
+
--zx-module-messages-unread: #31a8e0;
|
|
45
|
+
--zx-module-notes: #008853;
|
|
46
|
+
--zx-module-objects: #7e22ce;
|
|
47
|
+
--zx-module-opportunities: #7b67ae;
|
|
48
|
+
--zx-module-participants: #4338ca;
|
|
49
|
+
--zx-module-payments: #4679c8;
|
|
50
|
+
--zx-module-permissions: #5b21b6;
|
|
51
|
+
--zx-module-pricelists: #10775c;
|
|
52
|
+
--zx-module-procurement: #006e9f;
|
|
53
|
+
--zx-module-production: #226375;
|
|
54
|
+
--zx-module-projects: #db532d;
|
|
55
|
+
--zx-module-records: #57534e;
|
|
56
|
+
--zx-module-resources: #15803d;
|
|
57
|
+
--zx-module-services: #b45309;
|
|
58
|
+
--zx-module-stocktransactions: #064e4f;
|
|
59
|
+
--zx-module-storages: #064e4f;
|
|
60
|
+
--zx-module-system: #374151;
|
|
61
|
+
--zx-module-tasks: #e2b301;
|
|
62
|
+
--zx-module-text: #064e4f;
|
|
63
|
+
--zx-module-tickets: #f04639;
|
|
64
|
+
--zx-module-transactions-billing: #535494;
|
|
65
|
+
--zx-module-transactions-collection: #0d60ae;
|
|
66
|
+
--zx-module-transactions-procurement: #006e9f;
|
|
67
|
+
--zx-module-transactions-production: #226375;
|
|
68
|
+
--zx-module-users: #007a55;
|
|
69
|
+
--zx-module-weblets: #4f46e5;
|
|
70
|
+
--zx-module-zeyos: #007a55;
|
|
71
|
+
|
|
72
|
+
/* Entity, API resource, and legacy gx names resolving to a module colour. */
|
|
73
|
+
--zx-module-addresses: var(--zx-module-contacts);
|
|
74
|
+
--zx-module-clocking: var(--zx-module-actionsteps);
|
|
75
|
+
--zx-module-comments: var(--zx-module-notes);
|
|
76
|
+
--zx-module-couponcodes: var(--zx-module-coupons);
|
|
77
|
+
--zx-module-customers: var(--zx-module-accounts);
|
|
78
|
+
--zx-module-customfields: var(--zx-module-objects);
|
|
79
|
+
--zx-module-davids: var(--zx-module-davservers);
|
|
80
|
+
--zx-module-documentversions: var(--zx-module-documents);
|
|
81
|
+
--zx-module-enhancements: var(--zx-module-applications);
|
|
82
|
+
--zx-module-extdata: var(--zx-module-objects);
|
|
83
|
+
--zx-module-feedservers: var(--zx-module-channels);
|
|
84
|
+
--zx-module-files: var(--zx-module-documents);
|
|
85
|
+
--zx-module-filters: var(--zx-module-records);
|
|
86
|
+
--zx-module-forks: var(--zx-module-applications);
|
|
87
|
+
--zx-module-imports: var(--zx-module-records);
|
|
88
|
+
--zx-module-invoices: var(--zx-module-transactions-billing);
|
|
89
|
+
--zx-module-linecoupon: var(--zx-module-line);
|
|
90
|
+
--zx-module-logins: var(--zx-module-auth);
|
|
91
|
+
--zx-module-mailservers: var(--zx-module-channels);
|
|
92
|
+
--zx-module-notifications: var(--zx-module-messages);
|
|
93
|
+
--zx-module-participants-campaigns: var(--zx-module-participants);
|
|
94
|
+
--zx-module-participants-mailinglists: var(--zx-module-participants);
|
|
95
|
+
--zx-module-prices: var(--zx-module-pricelists);
|
|
96
|
+
--zx-module-purchaseorders: var(--zx-module-transactions-procurement);
|
|
97
|
+
--zx-module-pwd: var(--zx-module-auth);
|
|
98
|
+
--zx-module-sessions: var(--zx-module-auth);
|
|
99
|
+
--zx-module-settings: var(--zx-module-system);
|
|
100
|
+
--zx-module-suppliers: var(--zx-module-accounts);
|
|
101
|
+
--zx-module-tags: var(--zx-module-categories);
|
|
102
|
+
--zx-module-tokens: var(--zx-module-auth);
|
|
103
|
+
--zx-module-transactions: var(--zx-module-transactions-billing);
|
|
104
|
+
--zx-module-userfields: var(--zx-module-objects);
|
|
105
|
+
--zx-module-userfilters: var(--zx-module-records);
|
|
106
|
+
--zx-module-usergroups: var(--zx-module-groups);
|
|
107
|
+
--zx-module-usermgmt: var(--zx-module-users);
|
|
108
|
+
--zx-module-usersettings: var(--zx-module-system);
|
|
109
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Tier-2 semantic tokens — light theme (the default).
|
|
3
|
+
*
|
|
4
|
+
* The mapping follows the shadcn/ui preset `b2BVl11e4`: white surfaces, Zinc-100 hover/muted
|
|
5
|
+
* fills, Zinc-200 borders and inputs, Zinc-500 muted text, Zinc-950 body text, and the Nova
|
|
6
|
+
* control geometry (32px controls, `--radius` corners, a 3px translucent focus ring).
|
|
7
|
+
*/
|
|
8
|
+
:root,
|
|
9
|
+
[data-zx-theme="light"] {
|
|
10
|
+
color-scheme: light;
|
|
11
|
+
--zx-color-bg-page: var(--zx-gray-50);
|
|
12
|
+
--zx-color-bg-surface: var(--zx-gray-0);
|
|
13
|
+
--zx-color-bg-raised: var(--zx-gray-0);
|
|
14
|
+
--zx-color-bg-control: var(--zx-gray-0);
|
|
15
|
+
--zx-color-bg-muted: var(--zx-gray-100);
|
|
16
|
+
--zx-color-bg-hover: var(--zx-gray-100);
|
|
17
|
+
--zx-color-bg-selected: color-mix(in srgb, var(--zx-green-600) 10%, var(--zx-gray-0));
|
|
18
|
+
--zx-color-bg-backdrop: color-mix(in srgb, var(--zx-gray-950) 50%, transparent);
|
|
19
|
+
--zx-color-border: var(--zx-gray-200);
|
|
20
|
+
--zx-color-border-strong: var(--zx-gray-300);
|
|
21
|
+
--zx-color-border-control: var(--zx-gray-200);
|
|
22
|
+
--zx-color-text: var(--zx-gray-950);
|
|
23
|
+
--zx-color-text-muted: var(--zx-gray-500);
|
|
24
|
+
--zx-color-text-placeholder: var(--zx-gray-400);
|
|
25
|
+
--zx-color-text-invert: var(--zx-gray-50);
|
|
26
|
+
--zx-color-accent: var(--zx-green-600);
|
|
27
|
+
--zx-color-accent-hover: var(--zx-green-700);
|
|
28
|
+
--zx-color-accent-active: var(--zx-green-700);
|
|
29
|
+
--zx-color-accent-subtle: color-mix(in srgb, var(--zx-green-600) 10%, var(--zx-gray-0));
|
|
30
|
+
--zx-color-on-accent: var(--zx-gray-0);
|
|
31
|
+
--zx-color-danger: var(--zx-red-500);
|
|
32
|
+
--zx-color-danger-bg: color-mix(in srgb, var(--zx-red-500) 10%, var(--zx-gray-0));
|
|
33
|
+
--zx-color-warning: var(--zx-amber-600);
|
|
34
|
+
--zx-color-warning-bg: color-mix(in srgb, var(--zx-amber-400) 18%, var(--zx-gray-0));
|
|
35
|
+
--zx-color-success: var(--zx-green-600);
|
|
36
|
+
--zx-color-success-bg: color-mix(in srgb, var(--zx-green-600) 10%, var(--zx-gray-0));
|
|
37
|
+
--zx-color-info: var(--zx-blue-600);
|
|
38
|
+
--zx-color-info-bg: color-mix(in srgb, var(--zx-blue-500) 10%, var(--zx-gray-0));
|
|
39
|
+
--zx-color-ring: var(--zx-color-accent);
|
|
40
|
+
--zx-focus-ring: 0 0 0 3px color-mix(in srgb, var(--zx-color-ring) 45%, transparent);
|
|
41
|
+
--zx-control-height: 32px;
|
|
42
|
+
--zx-control-pad-x: 10px;
|
|
43
|
+
--zx-control-radius: var(--zx-radius-lg);
|
|
44
|
+
--zx-control-font-size: var(--zx-text-md);
|
|
45
|
+
--zx-control-font-weight: 500;
|
|
46
|
+
--zx-overlay-shadow: var(--zx-shadow-3);
|
|
47
|
+
--zx-header-bg: var(--zx-gray-900);
|
|
48
|
+
--zx-header-text: var(--zx-gray-50);
|
|
49
|
+
}
|
package/styles/zx.css
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import url("./tokens/global.css");
|
|
2
|
+
@import url("./tokens/semantic.css");
|
|
3
|
+
@import url("./tokens/dark.css");
|
|
4
|
+
@import url("./tokens/density.css");
|
|
5
|
+
@import url("./tokens/modules.css");
|
|
6
|
+
@import url("./base.css");
|
|
7
|
+
@import url("./icons.css");
|
|
8
|
+
@import url("../src/components/button/button.css");
|
|
9
|
+
@import url("../src/components/badge/badge.css");
|
|
10
|
+
@import url("../src/components/check-button/check-button.css");
|
|
11
|
+
@import url("../src/components/empty-state/empty-state.css");
|
|
12
|
+
@import url("../src/components/layout/layout.css");
|
|
13
|
+
@import url("../src/components/truncate/truncate.css");
|
|
14
|
+
@import url("../src/components/loading/spinner.css");
|
|
15
|
+
@import url("../src/components/loading/progress-bar.css");
|
|
16
|
+
@import url("../src/components/loading/inline-loading.css");
|
|
17
|
+
@import url("../src/components/skeleton/skeleton.css");
|
|
18
|
+
@import url("../src/components/copy/copy-button.css");
|
|
19
|
+
@import url("../src/components/copy/copy-input.css");
|
|
20
|
+
@import url("../src/components/toolbar/toolbar.css");
|
|
21
|
+
@import url("../src/components/toggle/toggle.css");
|
|
22
|
+
@import url("../src/components/groupbox/groupbox.css");
|
|
23
|
+
@import url("../src/components/panel/panel.css");
|
|
24
|
+
@import url("../src/components/master-panel/master-panel.css");
|
|
25
|
+
@import url("../src/components/tabbox/tabbox.css");
|
|
26
|
+
@import url("../src/components/navigation-bar/navigation-bar.css");
|
|
27
|
+
@import url("../src/components/search/search.css");
|
|
28
|
+
@import url("../src/components/message/message.css");
|
|
29
|
+
@import url("../src/components/modal/modal.css");
|
|
30
|
+
@import url("../src/components/dialog/dialog.css");
|
|
31
|
+
@import url("../src/components/dropdown/dropdown.css");
|
|
32
|
+
@import url("../src/components/tooltip/tooltip.css");
|
|
33
|
+
@import url("../src/components/split-view/split-view.css");
|
|
34
|
+
@import url("../src/components/menu-button/menu-button.css");
|
|
35
|
+
@import url("../src/components/context-menu/context-menu.css");
|
|
36
|
+
@import url("../src/components/select/select.css");
|
|
37
|
+
@import url("../src/components/checklist/checklist.css");
|
|
38
|
+
@import url("../src/components/tag-picker/tag-picker.css");
|
|
39
|
+
@import url("../src/components/number-field/number-field.css");
|
|
40
|
+
@import url("../src/components/slider/slider.css");
|
|
41
|
+
@import url("../src/components/rating/rating.css");
|
|
42
|
+
@import url("../src/components/permission/permission.css");
|
|
43
|
+
@import url("../src/components/date-picker/date-picker.css");
|
|
44
|
+
@import url("../src/components/date-picker/time-picker.css");
|
|
45
|
+
@import url("../src/components/datebox/datebox.css");
|
|
46
|
+
@import url("../src/components/date-picker/date-range-picker.css");
|
|
47
|
+
@import url("../src/components/datebox/date-range-box.css");
|
|
48
|
+
@import url("../src/components/timebox/timebox.css");
|
|
49
|
+
@import url("../src/components/table/table.css");
|
|
50
|
+
@import url("../src/components/tree/tree.css");
|
|
51
|
+
@import url("../src/components/finder/finder.css");
|
|
52
|
+
@import url("../src/components/data-filter/data-filter.css");
|
|
53
|
+
@import url("../src/components/pagination/pagination.css");
|
|
54
|
+
@import url("../src/components/stepper/stepper.css");
|
|
55
|
+
@import url("../src/components/breadcrumb/breadcrumb.css");
|
|
56
|
+
@import url("../src/components/field/field.css");
|
|
57
|
+
@import url("../src/components/fieldset/fieldset.css");
|
|
58
|
+
@import url("../src/components/form/form.css");
|
|
59
|
+
@import url("../src/components/value-list/value-list.css");
|
|
60
|
+
@import url("../src/components/multi-value-editor/multi-value-editor.css");
|
|
61
|
+
@import url("../src/components/field-upload/field-upload.css");
|