@owlmeans/web-panel 0.1.18-rc.9 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +510 -143
- package/THIRD-PARTY-NOTICES.txt +24 -0
- package/agent-meta/manifest.json +163 -4
- package/agent-meta/skills/web-panel/SKILL.md +136 -83
- package/agent-meta/skills/web-panel/parts/consent.md +114 -0
- package/agent-meta/skills/web-panel/parts/editor.md +47 -0
- package/agent-meta/skills/web-panel/parts/forms.md +85 -0
- package/agent-meta/skills/web-panel/parts/navigation.md +203 -0
- package/agent-meta/skills/web-panel/parts/picker.md +164 -0
- package/agent-meta/skills/web-panel/parts/reload.md +46 -0
- package/agent-meta/skills/web-panel/parts/sign-in.md +65 -0
- package/agent-meta/skills/web-panel/parts/theme.md +74 -0
- package/build/@/components/ui/alert-dialog.d.ts +15 -0
- package/build/@/components/ui/alert-dialog.d.ts.map +1 -0
- package/build/@/components/ui/alert-dialog.js +39 -0
- package/build/@/components/ui/alert-dialog.js.map +1 -0
- package/build/@/components/ui/alert.js +1 -1
- package/build/@/components/ui/alert.js.map +1 -1
- package/build/@/components/ui/button.js +1 -1
- package/build/@/components/ui/button.js.map +1 -1
- package/build/@/components/ui/card.js +1 -1
- package/build/@/components/ui/card.js.map +1 -1
- package/build/@/components/ui/input.js +1 -1
- package/build/@/components/ui/input.js.map +1 -1
- package/build/@/components/ui/label.js +1 -1
- package/build/@/components/ui/label.js.map +1 -1
- package/build/@/components/ui/navigation-menu.js +1 -1
- package/build/@/components/ui/navigation-menu.js.map +1 -1
- package/build/@/components/ui/popover.d.ts +8 -0
- package/build/@/components/ui/popover.d.ts.map +1 -0
- package/build/@/components/ui/popover.js +17 -0
- package/build/@/components/ui/popover.js.map +1 -0
- package/build/@/components/ui/progress.js +1 -1
- package/build/@/components/ui/progress.js.map +1 -1
- package/build/@/components/ui/separator.js +1 -1
- package/build/@/components/ui/separator.js.map +1 -1
- package/build/@/components/ui/sheet.d.ts +15 -0
- package/build/@/components/ui/sheet.d.ts.map +1 -0
- package/build/@/components/ui/sheet.js +40 -0
- package/build/@/components/ui/sheet.js.map +1 -0
- package/build/auth/context.d.ts.map +1 -1
- package/build/auth/context.js +0 -1
- package/build/auth/context.js.map +1 -1
- package/build/auth/entrypoints.d.ts +10 -0
- package/build/auth/entrypoints.d.ts.map +1 -0
- package/build/auth/entrypoints.js +4 -0
- package/build/auth/entrypoints.js.map +1 -0
- package/build/auth/exports.d.ts +4 -4
- package/build/auth/exports.d.ts.map +1 -1
- package/build/auth/exports.js +3 -3
- package/build/auth/exports.js.map +1 -1
- package/build/auth/modules.d.ts +1 -1
- package/build/auth/modules.d.ts.map +1 -1
- package/build/auth/plugins/basic-ed25519.js +4 -4
- package/build/auth/plugins/basic-ed25519.js.map +1 -1
- package/build/auth/plugins/re-captcha.js +3 -3
- package/build/auth/plugins/re-captcha.js.map +1 -1
- package/build/auth/plugins/tunnel-consumer.js +1 -1
- package/build/auth/plugins/tunnel-consumer.js.map +1 -1
- package/build/components/block.js +2 -2
- package/build/components/block.js.map +1 -1
- package/build/components/consts.local.d.ts +14 -0
- package/build/components/consts.local.d.ts.map +1 -0
- package/build/components/consts.local.js +26 -0
- package/build/components/consts.local.js.map +1 -0
- package/build/components/footer/component.d.ts +19 -1
- package/build/components/footer/component.d.ts.map +1 -1
- package/build/components/footer/component.js +38 -11
- package/build/components/footer/component.js.map +1 -1
- package/build/components/footer/credit.d.ts +27 -0
- package/build/components/footer/credit.d.ts.map +1 -0
- package/build/components/footer/credit.js +42 -0
- package/build/components/footer/credit.js.map +1 -0
- package/build/components/footer/index.d.ts +1 -0
- package/build/components/footer/index.d.ts.map +1 -1
- package/build/components/footer/index.js +1 -0
- package/build/components/footer/index.js.map +1 -1
- package/build/components/footer/types.d.ts +22 -1
- package/build/components/footer/types.d.ts.map +1 -1
- package/build/components/form/button/component.d.ts.map +1 -1
- package/build/components/form/button/component.js +5 -3
- package/build/components/form/button/component.js.map +1 -1
- package/build/components/form/component.js +2 -2
- package/build/components/form/component.js.map +1 -1
- package/build/components/form/text/component.js +2 -2
- package/build/components/form/text/component.js.map +1 -1
- package/build/components/helper.d.ts.map +1 -1
- package/build/components/helper.js +1 -12
- package/build/components/helper.js.map +1 -1
- package/build/components/index.d.ts +4 -0
- package/build/components/index.d.ts.map +1 -1
- package/build/components/index.js +4 -0
- package/build/components/index.js.map +1 -1
- package/build/components/link.js +3 -3
- package/build/components/link.js.map +1 -1
- package/build/components/login/append.d.ts +15 -0
- package/build/components/login/append.d.ts.map +1 -0
- package/build/components/login/append.js +26 -0
- package/build/components/login/append.js.map +1 -0
- package/build/components/login/consts.d.ts +3 -0
- package/build/components/login/consts.d.ts.map +1 -0
- package/build/components/login/consts.js +3 -0
- package/build/components/login/consts.js.map +1 -0
- package/build/components/login/consts.local.d.ts +4 -0
- package/build/components/login/consts.local.d.ts.map +1 -0
- package/build/components/login/consts.local.js +8 -0
- package/build/components/login/consts.local.js.map +1 -0
- package/build/components/login/credit.d.ts +12 -0
- package/build/components/login/credit.d.ts.map +1 -0
- package/build/components/login/credit.js +18 -0
- package/build/components/login/credit.js.map +1 -0
- package/build/components/login/i18n/be.json +10 -0
- package/build/components/login/i18n/de.json +10 -0
- package/build/components/login/i18n/en.json +10 -0
- package/build/components/login/i18n/es.json +10 -0
- package/build/components/login/i18n/fr.json +10 -0
- package/build/components/login/i18n/pl.json +10 -0
- package/build/components/login/i18n/ru.json +10 -0
- package/build/components/login/i18n/uk.json +10 -0
- package/build/components/login/i18n.d.ts +2 -0
- package/build/components/login/i18n.d.ts.map +1 -0
- package/build/components/login/i18n.js +28 -0
- package/build/components/login/i18n.js.map +1 -0
- package/build/components/login/icons.d.ts +14 -0
- package/build/components/login/icons.d.ts.map +1 -0
- package/build/components/login/icons.js +29 -0
- package/build/components/login/icons.js.map +1 -0
- package/build/components/login/index.d.ts +11 -0
- package/build/components/login/index.d.ts.map +1 -0
- package/build/components/login/index.js +10 -0
- package/build/components/login/index.js.map +1 -0
- package/build/components/login/notify.d.ts +18 -0
- package/build/components/login/notify.d.ts.map +1 -0
- package/build/components/login/notify.js +41 -0
- package/build/components/login/notify.js.map +1 -0
- package/build/components/login/provider.d.ts +20 -0
- package/build/components/login/provider.d.ts.map +1 -0
- package/build/components/login/provider.js +31 -0
- package/build/components/login/provider.js.map +1 -0
- package/build/components/login/screen.d.ts +24 -0
- package/build/components/login/screen.d.ts.map +1 -0
- package/build/components/login/screen.js +92 -0
- package/build/components/login/screen.js.map +1 -0
- package/build/components/login/terms.d.ts +19 -0
- package/build/components/login/terms.d.ts.map +1 -0
- package/build/components/login/terms.js +32 -0
- package/build/components/login/terms.js.map +1 -0
- package/build/components/login/types.d.ts +28 -0
- package/build/components/login/types.d.ts.map +1 -0
- package/build/components/login/types.js +2 -0
- package/build/components/login/types.js.map +1 -0
- package/build/components/nav/consts.local.d.ts +41 -0
- package/build/components/nav/consts.local.d.ts.map +1 -0
- package/build/components/nav/consts.local.js +60 -0
- package/build/components/nav/consts.local.js.map +1 -0
- package/build/components/nav/index.d.ts +1 -0
- package/build/components/nav/index.d.ts.map +1 -1
- package/build/components/nav/index.js +1 -0
- package/build/components/nav/index.js.map +1 -1
- package/build/components/nav/layout.d.ts +9 -2
- package/build/components/nav/layout.d.ts.map +1 -1
- package/build/components/nav/layout.js +48 -7
- package/build/components/nav/layout.js.map +1 -1
- package/build/components/nav/mobile.d.ts +21 -0
- package/build/components/nav/mobile.d.ts.map +1 -0
- package/build/components/nav/mobile.js +55 -0
- package/build/components/nav/mobile.js.map +1 -0
- package/build/components/nav/side.d.ts.map +1 -1
- package/build/components/nav/side.js +10 -10
- package/build/components/nav/side.js.map +1 -1
- package/build/components/nav/top.d.ts.map +1 -1
- package/build/components/nav/top.js +12 -8
- package/build/components/nav/top.js.map +1 -1
- package/build/components/nav/types.d.ts +64 -1
- package/build/components/nav/types.d.ts.map +1 -1
- package/build/components/nav/viewport.d.ts +3 -0
- package/build/components/nav/viewport.d.ts.map +1 -0
- package/build/components/nav/viewport.js +14 -0
- package/build/components/nav/viewport.js.map +1 -0
- package/build/components/panel-app/component.d.ts.map +1 -1
- package/build/components/panel-app/component.js +4 -3
- package/build/components/panel-app/component.js.map +1 -1
- package/build/components/picker/color-picker.d.ts +9 -0
- package/build/components/picker/color-picker.d.ts.map +1 -0
- package/build/components/picker/color-picker.js +9 -0
- package/build/components/picker/color-picker.js.map +1 -0
- package/build/components/picker/consts.local.d.ts +76 -0
- package/build/components/picker/consts.local.d.ts.map +1 -0
- package/build/components/picker/consts.local.js +214 -0
- package/build/components/picker/consts.local.js.map +1 -0
- package/build/components/picker/dot.d.ts +8 -0
- package/build/components/picker/dot.d.ts.map +1 -0
- package/build/components/picker/dot.js +10 -0
- package/build/components/picker/dot.js.map +1 -0
- package/build/components/picker/grid.d.ts +17 -0
- package/build/components/picker/grid.d.ts.map +1 -0
- package/build/components/picker/grid.js +73 -0
- package/build/components/picker/grid.js.map +1 -0
- package/build/components/picker/i18n/be.json +60 -0
- package/build/components/picker/i18n/de.json +60 -0
- package/build/components/picker/i18n/en.json +60 -0
- package/build/components/picker/i18n/es.json +60 -0
- package/build/components/picker/i18n/fr.json +60 -0
- package/build/components/picker/i18n/pl.json +60 -0
- package/build/components/picker/i18n/ru.json +60 -0
- package/build/components/picker/i18n/uk.json +60 -0
- package/build/components/picker/i18n.d.ts +2 -0
- package/build/components/picker/i18n.d.ts.map +1 -0
- package/build/components/picker/i18n.js +18 -0
- package/build/components/picker/i18n.js.map +1 -0
- package/build/components/picker/icon-color-picker.d.ts +14 -0
- package/build/components/picker/icon-color-picker.d.ts.map +1 -0
- package/build/components/picker/icon-color-picker.js +15 -0
- package/build/components/picker/icon-color-picker.js.map +1 -0
- package/build/components/picker/icon-picker.d.ts +8 -0
- package/build/components/picker/icon-picker.d.ts.map +1 -0
- package/build/components/picker/icon-picker.js +8 -0
- package/build/components/picker/icon-picker.js.map +1 -0
- package/build/components/picker/index.d.ts +11 -0
- package/build/components/picker/index.d.ts.map +1 -0
- package/build/components/picker/index.js +10 -0
- package/build/components/picker/index.js.map +1 -0
- package/build/components/picker/panel.d.ts +9 -0
- package/build/components/picker/panel.d.ts.map +1 -0
- package/build/components/picker/panel.js +23 -0
- package/build/components/picker/panel.js.map +1 -0
- package/build/components/picker/root.d.ts +13 -0
- package/build/components/picker/root.d.ts.map +1 -0
- package/build/components/picker/root.js +55 -0
- package/build/components/picker/root.js.map +1 -0
- package/build/components/picker/roving.d.ts +8 -0
- package/build/components/picker/roving.d.ts.map +1 -0
- package/build/components/picker/roving.js +62 -0
- package/build/components/picker/roving.js.map +1 -0
- package/build/components/picker/surface.d.ts +18 -0
- package/build/components/picker/surface.d.ts.map +1 -0
- package/build/components/picker/surface.js +36 -0
- package/build/components/picker/surface.js.map +1 -0
- package/build/components/picker/swatches/custom.d.ts +10 -0
- package/build/components/picker/swatches/custom.d.ts.map +1 -0
- package/build/components/picker/swatches/custom.js +65 -0
- package/build/components/picker/swatches/custom.js.map +1 -0
- package/build/components/picker/swatches.d.ts +16 -0
- package/build/components/picker/swatches.d.ts.map +1 -0
- package/build/components/picker/swatches.js +35 -0
- package/build/components/picker/swatches.js.map +1 -0
- package/build/components/picker/text.d.ts +5 -0
- package/build/components/picker/text.d.ts.map +1 -0
- package/build/components/picker/text.js +29 -0
- package/build/components/picker/text.js.map +1 -0
- package/build/components/picker/tile.d.ts +11 -0
- package/build/components/picker/tile.d.ts.map +1 -0
- package/build/components/picker/tile.js +19 -0
- package/build/components/picker/tile.js.map +1 -0
- package/build/components/picker/translate.d.ts +9 -0
- package/build/components/picker/translate.d.ts.map +1 -0
- package/build/components/picker/translate.js +13 -0
- package/build/components/picker/translate.js.map +1 -0
- package/build/components/picker/trigger.d.ts +12 -0
- package/build/components/picker/trigger.d.ts.map +1 -0
- package/build/components/picker/trigger.js +29 -0
- package/build/components/picker/trigger.js.map +1 -0
- package/build/components/picker/types.d.ts +114 -0
- package/build/components/picker/types.d.ts.map +1 -0
- package/build/components/picker/types.js +2 -0
- package/build/components/picker/types.js.map +1 -0
- package/build/components/picker/types.local.d.ts +143 -0
- package/build/components/picker/types.local.d.ts.map +1 -0
- package/build/components/picker/types.local.js +2 -0
- package/build/components/picker/types.local.js.map +1 -0
- package/build/components/scheme/consts.local.d.ts +8 -0
- package/build/components/scheme/consts.local.d.ts.map +1 -0
- package/build/components/scheme/consts.local.js +13 -0
- package/build/components/scheme/consts.local.js.map +1 -0
- package/build/components/scheme/hook.d.ts +16 -0
- package/build/components/scheme/hook.d.ts.map +1 -0
- package/build/components/scheme/hook.js +52 -0
- package/build/components/scheme/hook.js.map +1 -0
- package/build/components/scheme/index.d.ts +4 -0
- package/build/components/scheme/index.d.ts.map +1 -0
- package/build/components/scheme/index.js +3 -0
- package/build/components/scheme/index.js.map +1 -0
- package/build/components/scheme/toggle.d.ts +14 -0
- package/build/components/scheme/toggle.d.ts.map +1 -0
- package/build/components/scheme/toggle.js +24 -0
- package/build/components/scheme/toggle.js.map +1 -0
- package/build/components/scheme/types.d.ts +21 -0
- package/build/components/scheme/types.d.ts.map +1 -0
- package/build/components/scheme/types.js +2 -0
- package/build/components/scheme/types.js.map +1 -0
- package/build/components/socket/i18n/be.json +9 -0
- package/build/components/socket/i18n/de.json +9 -0
- package/build/components/socket/i18n/en.json +9 -0
- package/build/components/socket/i18n/es.json +9 -0
- package/build/components/socket/i18n/fr.json +9 -0
- package/build/components/socket/i18n/pl.json +9 -0
- package/build/components/socket/i18n/ru.json +9 -0
- package/build/components/socket/i18n/uk.json +9 -0
- package/build/components/socket/i18n.d.ts +2 -0
- package/build/components/socket/i18n.d.ts.map +1 -0
- package/build/components/socket/i18n.js +18 -0
- package/build/components/socket/i18n.js.map +1 -0
- package/build/components/socket/index.d.ts +3 -0
- package/build/components/socket/index.d.ts.map +1 -0
- package/build/components/socket/index.js +3 -0
- package/build/components/socket/index.js.map +1 -0
- package/build/components/socket/reload-dialog.d.ts +22 -0
- package/build/components/socket/reload-dialog.d.ts.map +1 -0
- package/build/components/socket/reload-dialog.js +34 -0
- package/build/components/socket/reload-dialog.js.map +1 -0
- package/build/components/status.js +1 -1
- package/build/components/status.js.map +1 -1
- package/build/components/text.d.ts.map +1 -1
- package/build/components/text.js +2 -13
- package/build/components/text.js.map +1 -1
- package/build/components/toaster.d.ts +16 -0
- package/build/components/toaster.d.ts.map +1 -0
- package/build/components/toaster.js +52 -0
- package/build/components/toaster.js.map +1 -0
- package/build/components/uploader/consts.local.d.ts +4 -0
- package/build/components/uploader/consts.local.d.ts.map +1 -0
- package/build/components/uploader/consts.local.js +6 -0
- package/build/components/uploader/consts.local.js.map +1 -0
- package/build/components/uploader/image.d.ts.map +1 -1
- package/build/components/uploader/image.js +2 -6
- package/build/components/uploader/image.js.map +1 -1
- package/build/consent/component.d.ts +27 -0
- package/build/consent/component.d.ts.map +1 -0
- package/build/consent/component.js +60 -0
- package/build/consent/component.js.map +1 -0
- package/build/consent/consts.d.ts +2 -0
- package/build/consent/consts.d.ts.map +1 -0
- package/build/consent/consts.js +2 -0
- package/build/consent/consts.js.map +1 -0
- package/build/consent/consts.local.d.ts +9 -0
- package/build/consent/consts.local.d.ts.map +1 -0
- package/build/consent/consts.local.js +9 -0
- package/build/consent/consts.local.js.map +1 -0
- package/build/consent/geo.d.ts +17 -0
- package/build/consent/geo.d.ts.map +1 -0
- package/build/consent/geo.js +19 -0
- package/build/consent/geo.js.map +1 -0
- package/build/consent/index.d.ts +11 -0
- package/build/consent/index.d.ts.map +1 -0
- package/build/consent/index.js +9 -0
- package/build/consent/index.js.map +1 -0
- package/build/consent/language.d.ts +12 -0
- package/build/consent/language.d.ts.map +1 -0
- package/build/consent/language.js +11 -0
- package/build/consent/language.js.map +1 -0
- package/build/consent/menu-widget.d.ts +13 -0
- package/build/consent/menu-widget.d.ts.map +1 -0
- package/build/consent/menu-widget.js +20 -0
- package/build/consent/menu-widget.js.map +1 -0
- package/build/consent/presence.d.ts +30 -0
- package/build/consent/presence.d.ts.map +1 -0
- package/build/consent/presence.js +40 -0
- package/build/consent/presence.js.map +1 -0
- package/build/consent/service.d.ts +18 -0
- package/build/consent/service.d.ts.map +1 -0
- package/build/consent/service.js +53 -0
- package/build/consent/service.js.map +1 -0
- package/build/consent/translate.d.ts +14 -0
- package/build/consent/translate.d.ts.map +1 -0
- package/build/consent/translate.js +28 -0
- package/build/consent/translate.js.map +1 -0
- package/build/consent/types.d.ts +39 -0
- package/build/consent/types.d.ts.map +1 -0
- package/build/consent/types.js +2 -0
- package/build/consent/types.js.map +1 -0
- package/build/consent/types.local.d.ts +6 -0
- package/build/consent/types.local.d.ts.map +1 -0
- package/build/consent/types.local.js +2 -0
- package/build/consent/types.local.js.map +1 -0
- package/build/context.d.ts.map +1 -1
- package/build/context.js +10 -0
- package/build/context.js.map +1 -1
- package/build/editor/component.d.ts +4 -0
- package/build/editor/component.d.ts.map +1 -0
- package/build/editor/component.js +103 -0
- package/build/editor/component.js.map +1 -0
- package/build/editor/consts.local.d.ts +6 -0
- package/build/editor/consts.local.d.ts.map +1 -0
- package/build/editor/consts.local.js +58 -0
- package/build/editor/consts.local.js.map +1 -0
- package/build/editor/index.d.ts +3 -0
- package/build/editor/index.d.ts.map +1 -0
- package/build/editor/index.js +2 -0
- package/build/editor/index.js.map +1 -0
- package/build/editor/types.d.ts +24 -0
- package/build/editor/types.d.ts.map +1 -0
- package/build/editor/types.js +2 -0
- package/build/editor/types.js.map +1 -0
- package/build/entrypoints.d.ts +8 -0
- package/build/entrypoints.d.ts.map +1 -0
- package/build/entrypoints.js +4 -0
- package/build/entrypoints.js.map +1 -0
- package/build/exports.d.ts +6 -5
- package/build/exports.d.ts.map +1 -1
- package/build/exports.js +5 -5
- package/build/exports.js.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/main.d.ts +1 -4
- package/build/main.d.ts.map +1 -1
- package/build/main.js.map +1 -1
- package/build/modules.d.ts +1 -1
- package/build/modules.d.ts.map +1 -1
- package/build/permission/i18n/be.json +13 -0
- package/build/permission/i18n/de.json +13 -0
- package/build/permission/i18n/en.json +13 -0
- package/build/permission/i18n/es.json +13 -0
- package/build/permission/i18n/fr.json +13 -0
- package/build/permission/i18n/pl.json +13 -0
- package/build/permission/i18n/ru.json +13 -0
- package/build/permission/i18n/uk.json +13 -0
- package/build/permission/i18n.d.ts +2 -0
- package/build/permission/i18n.d.ts.map +1 -0
- package/build/permission/i18n.js +13 -0
- package/build/permission/i18n.js.map +1 -0
- package/build/permission/index.d.ts +6 -0
- package/build/permission/index.d.ts.map +1 -0
- package/build/permission/index.js +27 -0
- package/build/permission/index.js.map +1 -0
- package/build/permission/toast.d.ts +5 -0
- package/build/permission/toast.d.ts.map +1 -0
- package/build/permission/toast.js +8 -0
- package/build/permission/toast.js.map +1 -0
- package/build/permission/types.d.ts +6 -0
- package/build/permission/types.d.ts.map +1 -0
- package/build/permission/types.js +2 -0
- package/build/permission/types.js.map +1 -0
- package/build/picker/icons/consts.d.ts +9 -0
- package/build/picker/icons/consts.d.ts.map +1 -0
- package/build/picker/icons/consts.js +264 -0
- package/build/picker/icons/consts.js.map +1 -0
- package/build/picker/icons/types.d.ts +18 -0
- package/build/picker/icons/types.d.ts.map +1 -0
- package/build/picker/icons/types.js +2 -0
- package/build/picker/icons/types.js.map +1 -0
- package/build/picker/icons.d.ts +4 -0
- package/build/picker/icons.d.ts.map +1 -0
- package/build/picker/icons.js +54 -0
- package/build/picker/icons.js.map +1 -0
- package/build/picker/index.d.ts +11 -0
- package/build/picker/index.d.ts.map +1 -0
- package/build/picker/index.js +10 -0
- package/build/picker/index.js.map +1 -0
- package/build/picker/utils/color/types.d.ts +35 -0
- package/build/picker/utils/color/types.d.ts.map +1 -0
- package/build/picker/utils/color/types.js +2 -0
- package/build/picker/utils/color/types.js.map +1 -0
- package/build/picker/utils/color.d.ts +4 -0
- package/build/picker/utils/color.d.ts.map +1 -0
- package/build/picker/utils/color.js +96 -0
- package/build/picker/utils/color.js.map +1 -0
- package/build/picker/vocabulary/consts.d.ts +26 -0
- package/build/picker/vocabulary/consts.d.ts.map +1 -0
- package/build/picker/vocabulary/consts.js +336 -0
- package/build/picker/vocabulary/consts.js.map +1 -0
- package/build/picker/vocabulary/types.d.ts +67 -0
- package/build/picker/vocabulary/types.d.ts.map +1 -0
- package/build/picker/vocabulary/types.js +2 -0
- package/build/picker/vocabulary/types.js.map +1 -0
- package/build/picker/vocabulary.d.ts +11 -0
- package/build/picker/vocabulary.d.ts.map +1 -0
- package/build/picker/vocabulary.js +83 -0
- package/build/picker/vocabulary.js.map +1 -0
- package/build/scheme/consts.d.ts +8 -0
- package/build/scheme/consts.d.ts.map +1 -0
- package/build/scheme/consts.js +8 -0
- package/build/scheme/consts.js.map +1 -0
- package/build/scheme/index.d.ts +4 -0
- package/build/scheme/index.d.ts.map +1 -0
- package/build/scheme/index.js +3 -0
- package/build/scheme/index.js.map +1 -0
- package/build/scheme/scheme.d.ts +16 -0
- package/build/scheme/scheme.d.ts.map +1 -0
- package/build/scheme/scheme.js +58 -0
- package/build/scheme/scheme.js.map +1 -0
- package/build/scheme/types.d.ts +30 -0
- package/build/scheme/types.d.ts.map +1 -0
- package/build/scheme/types.js +2 -0
- package/build/scheme/types.js.map +1 -0
- package/build/types.d.ts +18 -2
- package/build/types.d.ts.map +1 -1
- package/package.json +107 -52
- package/src/@/components/ui/alert-dialog.tsx +156 -0
- package/src/@/components/ui/alert.tsx +1 -1
- package/src/@/components/ui/button.tsx +1 -1
- package/src/@/components/ui/card.tsx +1 -1
- package/src/@/components/ui/input.tsx +1 -1
- package/src/@/components/ui/label.tsx +1 -1
- package/src/@/components/ui/navigation-menu.tsx +1 -1
- package/src/@/components/ui/popover.tsx +47 -0
- package/src/@/components/ui/progress.tsx +1 -1
- package/src/@/components/ui/separator.tsx +1 -1
- package/src/@/components/ui/sheet.tsx +142 -0
- package/src/auth/context.ts +0 -2
- package/src/auth/entrypoints.ts +5 -0
- package/src/auth/exports.ts +4 -4
- package/src/auth/plugins/basic-ed25519.tsx +4 -4
- package/src/auth/plugins/re-captcha.tsx +3 -3
- package/src/auth/plugins/tunnel-consumer.tsx +1 -1
- package/src/components/block.tsx +2 -2
- package/src/components/consts.local.ts +29 -0
- package/src/components/footer/component.tsx +58 -16
- package/src/components/footer/credit.tsx +61 -0
- package/src/components/footer/index.ts +1 -0
- package/src/components/footer/types.ts +22 -1
- package/src/components/form/button/component.tsx +7 -4
- package/src/components/form/component.tsx +2 -2
- package/src/components/form/text/component.tsx +2 -2
- package/src/components/helper.ts +1 -13
- package/src/components/index.ts +4 -0
- package/src/components/link.tsx +3 -3
- package/src/components/login/append.ts +34 -0
- package/src/components/login/consts.local.ts +10 -0
- package/src/components/login/consts.ts +2 -0
- package/src/components/login/credit.tsx +33 -0
- package/src/components/login/i18n/be.json +10 -0
- package/src/components/login/i18n/de.json +10 -0
- package/src/components/login/i18n/en.json +10 -0
- package/src/components/login/i18n/es.json +10 -0
- package/src/components/login/i18n/fr.json +10 -0
- package/src/components/login/i18n/pl.json +10 -0
- package/src/components/login/i18n/ru.json +10 -0
- package/src/components/login/i18n/uk.json +10 -0
- package/src/components/login/i18n.ts +29 -0
- package/src/components/login/icons.tsx +39 -0
- package/src/components/login/index.ts +11 -0
- package/src/components/login/notify.ts +48 -0
- package/src/components/login/provider.tsx +57 -0
- package/src/components/login/screen.tsx +178 -0
- package/src/components/login/terms.tsx +75 -0
- package/src/components/login/types.ts +30 -0
- package/src/components/nav/consts.local.ts +64 -0
- package/src/components/nav/index.ts +1 -0
- package/src/components/nav/layout.tsx +184 -26
- package/src/components/nav/mobile.tsx +165 -0
- package/src/components/nav/side.tsx +43 -27
- package/src/components/nav/top.tsx +44 -22
- package/src/components/nav/types.ts +65 -2
- package/src/components/nav/viewport.ts +16 -0
- package/src/components/panel-app/component.tsx +9 -1
- package/src/components/picker/color-picker.tsx +15 -0
- package/src/components/picker/consts.local.ts +267 -0
- package/src/components/picker/dot.tsx +21 -0
- package/src/components/picker/grid.tsx +138 -0
- package/src/components/picker/i18n/be.json +60 -0
- package/src/components/picker/i18n/de.json +60 -0
- package/src/components/picker/i18n/en.json +60 -0
- package/src/components/picker/i18n/es.json +60 -0
- package/src/components/picker/i18n/fr.json +60 -0
- package/src/components/picker/i18n/pl.json +60 -0
- package/src/components/picker/i18n/ru.json +60 -0
- package/src/components/picker/i18n/uk.json +60 -0
- package/src/components/picker/i18n.ts +19 -0
- package/src/components/picker/icon-color-picker.tsx +25 -0
- package/src/components/picker/icon-picker.tsx +13 -0
- package/src/components/picker/index.ts +11 -0
- package/src/components/picker/panel.tsx +61 -0
- package/src/components/picker/root.tsx +81 -0
- package/src/components/picker/roving.ts +70 -0
- package/src/components/picker/surface.tsx +62 -0
- package/src/components/picker/swatches/custom.tsx +110 -0
- package/src/components/picker/swatches.tsx +67 -0
- package/src/components/picker/text.ts +46 -0
- package/src/components/picker/tile.tsx +35 -0
- package/src/components/picker/translate.ts +15 -0
- package/src/components/picker/trigger.tsx +54 -0
- package/src/components/picker/types.local.ts +154 -0
- package/src/components/picker/types.ts +125 -0
- package/src/components/scheme/consts.local.ts +13 -0
- package/src/components/scheme/hook.ts +62 -0
- package/src/components/scheme/index.ts +4 -0
- package/src/components/scheme/toggle.tsx +32 -0
- package/src/components/scheme/types.ts +23 -0
- package/src/components/socket/i18n/be.json +9 -0
- package/src/components/socket/i18n/de.json +9 -0
- package/src/components/socket/i18n/en.json +9 -0
- package/src/components/socket/i18n/es.json +9 -0
- package/src/components/socket/i18n/fr.json +9 -0
- package/src/components/socket/i18n/pl.json +9 -0
- package/src/components/socket/i18n/ru.json +9 -0
- package/src/components/socket/i18n/uk.json +9 -0
- package/src/components/socket/i18n.ts +19 -0
- package/src/components/socket/index.ts +2 -0
- package/src/components/socket/reload-dialog.tsx +61 -0
- package/src/components/status.tsx +1 -1
- package/src/components/text.tsx +2 -14
- package/src/components/toaster.tsx +65 -0
- package/src/components/uploader/consts.local.ts +7 -0
- package/src/components/uploader/image.tsx +2 -6
- package/src/consent/component.tsx +84 -0
- package/src/consent/consts.local.ts +10 -0
- package/src/consent/consts.ts +1 -0
- package/src/consent/geo.ts +26 -0
- package/src/consent/index.ts +24 -0
- package/src/consent/language.ts +12 -0
- package/src/consent/menu-widget.tsx +22 -0
- package/src/consent/presence.ts +45 -0
- package/src/consent/service.ts +75 -0
- package/src/consent/translate.ts +31 -0
- package/src/consent/types.local.ts +6 -0
- package/src/consent/types.ts +43 -0
- package/src/context.ts +12 -0
- package/src/editor/component.tsx +172 -0
- package/src/editor/consts.local.ts +62 -0
- package/src/editor/index.ts +2 -0
- package/src/editor/types.ts +24 -0
- package/src/entrypoints.ts +5 -0
- package/src/exports.ts +6 -5
- package/src/index.ts +1 -1
- package/src/main.tsx +2 -6
- package/src/permission/i18n/be.json +13 -0
- package/src/permission/i18n/de.json +13 -0
- package/src/permission/i18n/en.json +13 -0
- package/src/permission/i18n/es.json +13 -0
- package/src/permission/i18n/fr.json +13 -0
- package/src/permission/i18n/pl.json +13 -0
- package/src/permission/i18n/ru.json +13 -0
- package/src/permission/i18n/uk.json +13 -0
- package/src/permission/i18n.ts +13 -0
- package/src/permission/index.ts +27 -0
- package/src/permission/toast.tsx +20 -0
- package/src/permission/types.ts +5 -0
- package/src/picker/icons/consts.ts +309 -0
- package/src/picker/icons/types.ts +18 -0
- package/src/picker/icons.ts +70 -0
- package/src/picker/index.ts +11 -0
- package/src/picker/utils/color/types.ts +37 -0
- package/src/picker/utils/color.ts +119 -0
- package/src/picker/vocabulary/consts.ts +347 -0
- package/src/picker/vocabulary/types.ts +72 -0
- package/src/picker/vocabulary.ts +111 -0
- package/src/scheme/consts.ts +8 -0
- package/src/scheme/index.ts +3 -0
- package/src/scheme/scheme.ts +66 -0
- package/src/scheme/types.ts +30 -0
- package/src/types.ts +19 -2
- package/tests/consent-language.spec.ts +31 -0
- package/tests/consent.spec.ts +112 -0
- package/tests/context.ts +4 -0
- package/tests/editor.spec.ts +58 -0
- package/tests/harness/editor.tsx +32 -0
- package/tests/harness/index.html +1 -0
- package/tests/harness/lazy-screen.tsx +9 -0
- package/tests/harness/mount.tsx +370 -29
- package/tests/harness/picker.tsx +110 -0
- package/tests/lazy.spec.ts +104 -0
- package/tests/login-provider.spec.ts +114 -0
- package/tests/login.spec.ts +447 -0
- package/tests/nav.spec.ts +449 -3
- package/tests/package-boundary.spec.ts +19 -0
- package/tests/picker-shots.spec.ts +174 -0
- package/tests/picker-vocabulary.spec.ts +217 -0
- package/tests/picker.spec.ts +333 -0
- package/tests/scheme.spec.ts +149 -0
- package/tests/smoke.spec.ts +2 -2
- package/tests/socket-dialog.spec.ts +154 -0
- package/tests/toaster.spec.ts +59 -0
- package/zz-tw.d.mts +2 -0
- package/zz-tw.d.mts.map +1 -0
- package/build/.gitkeep +0 -0
- package/src/auth/modules.ts +0 -5
- package/src/modules.ts +0 -5
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { BriefcaseIcon, FolderIcon, FolderOpenIcon, FolderKanbanIcon, FileIcon, FileTextIcon, FilesIcon, ClipboardListIcon, ClipboardCheckIcon, ListChecksIcon, ListTodoIcon, SquareCheckIcon, KanbanIcon, CalendarIcon, CalendarCheckIcon, CalendarDaysIcon, CalendarClockIcon, ClockIcon, TimerIcon, HourglassIcon, TargetIcon, FlagIcon, MilestoneIcon, RocketIcon, LightbulbIcon, BookOpenIcon, NotebookPenIcon, PresentationIcon, LayersIcon, LayoutGridIcon, WorkflowIcon, GoalIcon, TrophyIcon, AwardIcon, PenLineIcon, ArchiveIcon, PaperclipIcon, UserIcon, UserRoundIcon, UserRoundCheckIcon, UserRoundPlusIcon, UserCheckIcon, UserPlusIcon, UsersIcon, UsersRoundIcon, ContactIcon, IdCardIcon, HandshakeIcon, PersonStandingIcon, AccessibilityIcon, FaceSlightlySmilingIcon, HeartHandshakeIcon, GraduationCapIcon, UserCogIcon, CrownIcon, HandIcon, ThumbsUpIcon, MailIcon, MailOpenIcon, InboxIcon, SendIcon, MessageSquareIcon, MessageCircleIcon, MessagesSquareIcon, PhoneIcon, PhoneCallIcon, MegaphoneIcon, BellIcon, BellRingIcon, AtSignIcon, HeadsetIcon, VideoIcon, MicIcon, Share2Icon, ReplyIcon, LanguagesIcon, NewspaperIcon, ShoppingCartIcon, ShoppingBagIcon, StoreIcon, ReceiptIcon, CreditCardIcon, WalletIcon, BanknoteIcon, CoinsIcon, PiggyBankIcon, DollarSignIcon, EuroIcon, PercentIcon, TagIcon, TagsIcon, TicketIcon, GiftIcon, PackageIcon, BadgePercentIcon, TrendingUpIcon, TrendingDownIcon, ScaleIcon, LandmarkIcon, CalculatorIcon, HandCoinsIcon, ChartLineIcon, ChartColumnIcon, ChartPieIcon, WrenchIcon, HammerIcon, SettingsIcon, CogIcon, SlidersHorizontalIcon, FunnelIcon, TruckIcon, WarehouseIcon, FactoryIcon, ContainerIcon, BoxesIcon, PackageCheckIcon, RouteIcon, GaugeIcon, ActivityIcon, SirenIcon, ShieldIcon, ShieldCheckIcon, LockIcon, KeyIcon, HardHatIcon, ConstructionIcon, RecycleIcon, StampIcon, BuildingIcon, BuildingComplexIcon, HouseIcon, HotelIcon, SchoolIcon, HospitalIcon, MapIcon, MapPinIcon, MapPinnedIcon, GlobeIcon, EarthIcon, CompassIcon, NavigationIcon, PlaneIcon, CarIcon, BusIcon, TrainFrontIcon, ShipIcon, BikeIcon, MountainIcon, CodeIcon, TerminalIcon, ServerIcon, DatabaseIcon, CloudIcon, CpuIcon, MonitorIcon, LaptopIcon, SmartphoneIcon, TabletIcon, WifiIcon, BluetoothIcon, PlugIcon, HardDriveIcon, GitBranchIcon, GitPullRequestIcon, BotIcon, BrainIcon, PuzzleIcon, BlocksIcon, BugIcon, WebhookIcon, LinkIcon, QrCodeIcon, KeyboardIcon, PrinterIcon, CircleIcon, CircleCheckIcon, CircleXIcon, CircleAlertIcon, CircleQuestionMarkIcon, CirclePauseIcon, CirclePlayIcon, CircleDotIcon, CircleDashedIcon, TriangleAlertIcon, OctagonAlertIcon, InfoIcon, BanIcon, CheckIcon, XIcon, LoaderIcon, RefreshCwIcon, EyeIcon, EyeOffIcon, FlameIcon, ZapIcon, SparklesIcon, StarIcon, HeartIcon, ThumbsDownIcon, BadgeCheckIcon, ShieldAlertIcon, BookmarkIcon, PinIcon, BookIcon, PenIcon, PencilIcon, PaletteIcon, BrushIcon, CameraIcon, ImageIcon, MusicIcon, HeadphonesIcon, Gamepad2Icon, UmbrellaIcon, ShirtIcon, WatchIcon, CoffeeIcon, UtensilsIcon, LampIcon, ArmchairIcon, BedIcon, ScissorsIcon, RulerIcon, TrashIcon, BoxIcon, MagnetIcon, FlaskConicalIcon, MicroscopeIcon, StethoscopeIcon, PillIcon, DumbbellIcon, LeafIcon, TreePineIcon, TreesIcon, FlowerIcon, Flower2Icon, SproutIcon, SunIcon, MoonIcon, CloudRainIcon, CloudSunIcon, SnowflakeIcon, DropletIcon, WavesHorizontalIcon, WindIcon, MountainSnowIcon, BirdIcon, FishIcon, CatIcon, DogIcon, PawPrintIcon, FeatherIcon, AppleIcon, CarrotIcon, } from 'lucide-react';
|
|
2
|
+
/**
|
|
3
|
+
* Every catalogue icon by its stored name, each a statically imported lucide component — so a
|
|
4
|
+
* bundler keeps exactly these and nothing else, and a target bundle needs no dynamic import. Never
|
|
5
|
+
* `dynamicIconImports`, `DynamicIcon` or a namespace import: each pulls the whole set (~2,100 icons).
|
|
6
|
+
* Keys equal `PICKER_ICON_NAMES` (`tests/picker-vocabulary.spec.ts`).
|
|
7
|
+
*/
|
|
8
|
+
export const PICKER_ICONS = Object.freeze({
|
|
9
|
+
'briefcase': BriefcaseIcon,
|
|
10
|
+
'folder': FolderIcon,
|
|
11
|
+
'folder-open': FolderOpenIcon,
|
|
12
|
+
'folder-kanban': FolderKanbanIcon,
|
|
13
|
+
'file': FileIcon,
|
|
14
|
+
'file-text': FileTextIcon,
|
|
15
|
+
'files': FilesIcon,
|
|
16
|
+
'clipboard-list': ClipboardListIcon,
|
|
17
|
+
'clipboard-check': ClipboardCheckIcon,
|
|
18
|
+
'list-checks': ListChecksIcon,
|
|
19
|
+
'list-todo': ListTodoIcon,
|
|
20
|
+
'square-check': SquareCheckIcon,
|
|
21
|
+
'kanban': KanbanIcon,
|
|
22
|
+
'calendar': CalendarIcon,
|
|
23
|
+
'calendar-check': CalendarCheckIcon,
|
|
24
|
+
'calendar-days': CalendarDaysIcon,
|
|
25
|
+
'calendar-clock': CalendarClockIcon,
|
|
26
|
+
'clock': ClockIcon,
|
|
27
|
+
'timer': TimerIcon,
|
|
28
|
+
'hourglass': HourglassIcon,
|
|
29
|
+
'target': TargetIcon,
|
|
30
|
+
'flag': FlagIcon,
|
|
31
|
+
'milestone': MilestoneIcon,
|
|
32
|
+
'rocket': RocketIcon,
|
|
33
|
+
'lightbulb': LightbulbIcon,
|
|
34
|
+
'book-open': BookOpenIcon,
|
|
35
|
+
'notebook-pen': NotebookPenIcon,
|
|
36
|
+
'presentation': PresentationIcon,
|
|
37
|
+
'layers': LayersIcon,
|
|
38
|
+
'layout-grid': LayoutGridIcon,
|
|
39
|
+
'workflow': WorkflowIcon,
|
|
40
|
+
'goal': GoalIcon,
|
|
41
|
+
'trophy': TrophyIcon,
|
|
42
|
+
'award': AwardIcon,
|
|
43
|
+
'pen-line': PenLineIcon,
|
|
44
|
+
'archive': ArchiveIcon,
|
|
45
|
+
'paperclip': PaperclipIcon,
|
|
46
|
+
'user': UserIcon,
|
|
47
|
+
'user-round': UserRoundIcon,
|
|
48
|
+
'user-round-check': UserRoundCheckIcon,
|
|
49
|
+
'user-round-plus': UserRoundPlusIcon,
|
|
50
|
+
'user-check': UserCheckIcon,
|
|
51
|
+
'user-plus': UserPlusIcon,
|
|
52
|
+
'users': UsersIcon,
|
|
53
|
+
'users-round': UsersRoundIcon,
|
|
54
|
+
'contact': ContactIcon,
|
|
55
|
+
'id-card': IdCardIcon,
|
|
56
|
+
'handshake': HandshakeIcon,
|
|
57
|
+
'person-standing': PersonStandingIcon,
|
|
58
|
+
'accessibility': AccessibilityIcon,
|
|
59
|
+
'face-slightly-smiling': FaceSlightlySmilingIcon,
|
|
60
|
+
'heart-handshake': HeartHandshakeIcon,
|
|
61
|
+
'graduation-cap': GraduationCapIcon,
|
|
62
|
+
'user-cog': UserCogIcon,
|
|
63
|
+
'crown': CrownIcon,
|
|
64
|
+
'hand': HandIcon,
|
|
65
|
+
'thumbs-up': ThumbsUpIcon,
|
|
66
|
+
'mail': MailIcon,
|
|
67
|
+
'mail-open': MailOpenIcon,
|
|
68
|
+
'inbox': InboxIcon,
|
|
69
|
+
'send': SendIcon,
|
|
70
|
+
'message-square': MessageSquareIcon,
|
|
71
|
+
'message-circle': MessageCircleIcon,
|
|
72
|
+
'messages-square': MessagesSquareIcon,
|
|
73
|
+
'phone': PhoneIcon,
|
|
74
|
+
'phone-call': PhoneCallIcon,
|
|
75
|
+
'megaphone': MegaphoneIcon,
|
|
76
|
+
'bell': BellIcon,
|
|
77
|
+
'bell-ring': BellRingIcon,
|
|
78
|
+
'at-sign': AtSignIcon,
|
|
79
|
+
'headset': HeadsetIcon,
|
|
80
|
+
'video': VideoIcon,
|
|
81
|
+
'mic': MicIcon,
|
|
82
|
+
'share-2': Share2Icon,
|
|
83
|
+
'reply': ReplyIcon,
|
|
84
|
+
'languages': LanguagesIcon,
|
|
85
|
+
'newspaper': NewspaperIcon,
|
|
86
|
+
'shopping-cart': ShoppingCartIcon,
|
|
87
|
+
'shopping-bag': ShoppingBagIcon,
|
|
88
|
+
'store': StoreIcon,
|
|
89
|
+
'receipt': ReceiptIcon,
|
|
90
|
+
'credit-card': CreditCardIcon,
|
|
91
|
+
'wallet': WalletIcon,
|
|
92
|
+
'banknote': BanknoteIcon,
|
|
93
|
+
'coins': CoinsIcon,
|
|
94
|
+
'piggy-bank': PiggyBankIcon,
|
|
95
|
+
'dollar-sign': DollarSignIcon,
|
|
96
|
+
'euro': EuroIcon,
|
|
97
|
+
'percent': PercentIcon,
|
|
98
|
+
'tag': TagIcon,
|
|
99
|
+
'tags': TagsIcon,
|
|
100
|
+
'ticket': TicketIcon,
|
|
101
|
+
'gift': GiftIcon,
|
|
102
|
+
'package': PackageIcon,
|
|
103
|
+
'badge-percent': BadgePercentIcon,
|
|
104
|
+
'trending-up': TrendingUpIcon,
|
|
105
|
+
'trending-down': TrendingDownIcon,
|
|
106
|
+
'scale': ScaleIcon,
|
|
107
|
+
'landmark': LandmarkIcon,
|
|
108
|
+
'calculator': CalculatorIcon,
|
|
109
|
+
'hand-coins': HandCoinsIcon,
|
|
110
|
+
'chart-line': ChartLineIcon,
|
|
111
|
+
'chart-column': ChartColumnIcon,
|
|
112
|
+
'chart-pie': ChartPieIcon,
|
|
113
|
+
'wrench': WrenchIcon,
|
|
114
|
+
'hammer': HammerIcon,
|
|
115
|
+
'settings': SettingsIcon,
|
|
116
|
+
'cog': CogIcon,
|
|
117
|
+
'sliders-horizontal': SlidersHorizontalIcon,
|
|
118
|
+
'funnel': FunnelIcon,
|
|
119
|
+
'truck': TruckIcon,
|
|
120
|
+
'warehouse': WarehouseIcon,
|
|
121
|
+
'factory': FactoryIcon,
|
|
122
|
+
'container': ContainerIcon,
|
|
123
|
+
'boxes': BoxesIcon,
|
|
124
|
+
'package-check': PackageCheckIcon,
|
|
125
|
+
'route': RouteIcon,
|
|
126
|
+
'gauge': GaugeIcon,
|
|
127
|
+
'activity': ActivityIcon,
|
|
128
|
+
'siren': SirenIcon,
|
|
129
|
+
'shield': ShieldIcon,
|
|
130
|
+
'shield-check': ShieldCheckIcon,
|
|
131
|
+
'lock': LockIcon,
|
|
132
|
+
'key': KeyIcon,
|
|
133
|
+
'hard-hat': HardHatIcon,
|
|
134
|
+
'construction': ConstructionIcon,
|
|
135
|
+
'recycle': RecycleIcon,
|
|
136
|
+
'stamp': StampIcon,
|
|
137
|
+
'building': BuildingIcon,
|
|
138
|
+
'building-complex': BuildingComplexIcon,
|
|
139
|
+
'house': HouseIcon,
|
|
140
|
+
'hotel': HotelIcon,
|
|
141
|
+
'school': SchoolIcon,
|
|
142
|
+
'hospital': HospitalIcon,
|
|
143
|
+
'map': MapIcon,
|
|
144
|
+
'map-pin': MapPinIcon,
|
|
145
|
+
'map-pinned': MapPinnedIcon,
|
|
146
|
+
'globe': GlobeIcon,
|
|
147
|
+
'earth': EarthIcon,
|
|
148
|
+
'compass': CompassIcon,
|
|
149
|
+
'navigation': NavigationIcon,
|
|
150
|
+
'plane': PlaneIcon,
|
|
151
|
+
'car': CarIcon,
|
|
152
|
+
'bus': BusIcon,
|
|
153
|
+
'train-front': TrainFrontIcon,
|
|
154
|
+
'ship': ShipIcon,
|
|
155
|
+
'bike': BikeIcon,
|
|
156
|
+
'mountain': MountainIcon,
|
|
157
|
+
'code': CodeIcon,
|
|
158
|
+
'terminal': TerminalIcon,
|
|
159
|
+
'server': ServerIcon,
|
|
160
|
+
'database': DatabaseIcon,
|
|
161
|
+
'cloud': CloudIcon,
|
|
162
|
+
'cpu': CpuIcon,
|
|
163
|
+
'monitor': MonitorIcon,
|
|
164
|
+
'laptop': LaptopIcon,
|
|
165
|
+
'smartphone': SmartphoneIcon,
|
|
166
|
+
'tablet': TabletIcon,
|
|
167
|
+
'wifi': WifiIcon,
|
|
168
|
+
'bluetooth': BluetoothIcon,
|
|
169
|
+
'plug': PlugIcon,
|
|
170
|
+
'hard-drive': HardDriveIcon,
|
|
171
|
+
'git-branch': GitBranchIcon,
|
|
172
|
+
'git-pull-request': GitPullRequestIcon,
|
|
173
|
+
'bot': BotIcon,
|
|
174
|
+
'brain': BrainIcon,
|
|
175
|
+
'puzzle': PuzzleIcon,
|
|
176
|
+
'blocks': BlocksIcon,
|
|
177
|
+
'bug': BugIcon,
|
|
178
|
+
'webhook': WebhookIcon,
|
|
179
|
+
'link': LinkIcon,
|
|
180
|
+
'qr-code': QrCodeIcon,
|
|
181
|
+
'keyboard': KeyboardIcon,
|
|
182
|
+
'printer': PrinterIcon,
|
|
183
|
+
'circle': CircleIcon,
|
|
184
|
+
'circle-check': CircleCheckIcon,
|
|
185
|
+
'circle-x': CircleXIcon,
|
|
186
|
+
'circle-alert': CircleAlertIcon,
|
|
187
|
+
'circle-question-mark': CircleQuestionMarkIcon,
|
|
188
|
+
'circle-pause': CirclePauseIcon,
|
|
189
|
+
'circle-play': CirclePlayIcon,
|
|
190
|
+
'circle-dot': CircleDotIcon,
|
|
191
|
+
'circle-dashed': CircleDashedIcon,
|
|
192
|
+
'triangle-alert': TriangleAlertIcon,
|
|
193
|
+
'octagon-alert': OctagonAlertIcon,
|
|
194
|
+
'info': InfoIcon,
|
|
195
|
+
'ban': BanIcon,
|
|
196
|
+
'check': CheckIcon,
|
|
197
|
+
'x': XIcon,
|
|
198
|
+
'loader': LoaderIcon,
|
|
199
|
+
'refresh-cw': RefreshCwIcon,
|
|
200
|
+
'eye': EyeIcon,
|
|
201
|
+
'eye-off': EyeOffIcon,
|
|
202
|
+
'flame': FlameIcon,
|
|
203
|
+
'zap': ZapIcon,
|
|
204
|
+
'sparkles': SparklesIcon,
|
|
205
|
+
'star': StarIcon,
|
|
206
|
+
'heart': HeartIcon,
|
|
207
|
+
'thumbs-down': ThumbsDownIcon,
|
|
208
|
+
'badge-check': BadgeCheckIcon,
|
|
209
|
+
'shield-alert': ShieldAlertIcon,
|
|
210
|
+
'bookmark': BookmarkIcon,
|
|
211
|
+
'pin': PinIcon,
|
|
212
|
+
'book': BookIcon,
|
|
213
|
+
'pen': PenIcon,
|
|
214
|
+
'pencil': PencilIcon,
|
|
215
|
+
'palette': PaletteIcon,
|
|
216
|
+
'brush': BrushIcon,
|
|
217
|
+
'camera': CameraIcon,
|
|
218
|
+
'image': ImageIcon,
|
|
219
|
+
'music': MusicIcon,
|
|
220
|
+
'headphones': HeadphonesIcon,
|
|
221
|
+
'gamepad-2': Gamepad2Icon,
|
|
222
|
+
'umbrella': UmbrellaIcon,
|
|
223
|
+
'shirt': ShirtIcon,
|
|
224
|
+
'watch': WatchIcon,
|
|
225
|
+
'coffee': CoffeeIcon,
|
|
226
|
+
'utensils': UtensilsIcon,
|
|
227
|
+
'lamp': LampIcon,
|
|
228
|
+
'armchair': ArmchairIcon,
|
|
229
|
+
'bed': BedIcon,
|
|
230
|
+
'scissors': ScissorsIcon,
|
|
231
|
+
'ruler': RulerIcon,
|
|
232
|
+
'trash': TrashIcon,
|
|
233
|
+
'box': BoxIcon,
|
|
234
|
+
'magnet': MagnetIcon,
|
|
235
|
+
'flask-conical': FlaskConicalIcon,
|
|
236
|
+
'microscope': MicroscopeIcon,
|
|
237
|
+
'stethoscope': StethoscopeIcon,
|
|
238
|
+
'pill': PillIcon,
|
|
239
|
+
'dumbbell': DumbbellIcon,
|
|
240
|
+
'leaf': LeafIcon,
|
|
241
|
+
'tree-pine': TreePineIcon,
|
|
242
|
+
'trees': TreesIcon,
|
|
243
|
+
'flower': FlowerIcon,
|
|
244
|
+
'flower-2': Flower2Icon,
|
|
245
|
+
'sprout': SproutIcon,
|
|
246
|
+
'sun': SunIcon,
|
|
247
|
+
'moon': MoonIcon,
|
|
248
|
+
'cloud-rain': CloudRainIcon,
|
|
249
|
+
'cloud-sun': CloudSunIcon,
|
|
250
|
+
'snowflake': SnowflakeIcon,
|
|
251
|
+
'droplet': DropletIcon,
|
|
252
|
+
'waves-horizontal': WavesHorizontalIcon,
|
|
253
|
+
'wind': WindIcon,
|
|
254
|
+
'mountain-snow': MountainSnowIcon,
|
|
255
|
+
'bird': BirdIcon,
|
|
256
|
+
'fish': FishIcon,
|
|
257
|
+
'cat': CatIcon,
|
|
258
|
+
'dog': DogIcon,
|
|
259
|
+
'paw-print': PawPrintIcon,
|
|
260
|
+
'feather': FeatherIcon,
|
|
261
|
+
'apple': AppleIcon,
|
|
262
|
+
'carrot': CarrotIcon,
|
|
263
|
+
});
|
|
264
|
+
//# sourceMappingURL=consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../src/picker/icons/consts.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EAAE,UAAU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IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,gBAAgB;IACjC,YAAY,EAAE,cAAc;IAC5B,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,YAAY;IACzB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,WAAW;IACvB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,YAAY,EAAE,aAAa;IAC3B,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,kBAAkB,EAAE,mBAAmB;IACvC,MAAM,EAAE,QAAQ;IAChB,eAAe,EAAE,gBAAgB;IACjC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACrB,CAAC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { LucideIcon } from 'lucide-react';
|
|
2
|
+
import type { PickerIconCategory, PickerIconEntry } from '../vocabulary/types.js';
|
|
3
|
+
/** Looks icons up and searches the catalogue. */
|
|
4
|
+
export interface PickerIconHelper {
|
|
5
|
+
/** The component for a stored name; unknown, empty or absent → the fallback icon (`circle`). */
|
|
6
|
+
iconOf: (name?: string | null) => LucideIcon;
|
|
7
|
+
/** Whether a value names a catalogue icon. */
|
|
8
|
+
has: (name: unknown) => name is string;
|
|
9
|
+
/**
|
|
10
|
+
* Catalogue entries matching a query — every word must start a word of the name, a search word or
|
|
11
|
+
* the category; the closest names first. An empty query lists them all. `names` narrows the
|
|
12
|
+
* catalogue and sets the order (an application's own icon list).
|
|
13
|
+
*/
|
|
14
|
+
search: (query: string, names?: readonly string[]) => PickerIconEntry[];
|
|
15
|
+
/** The entries of one category, in catalogue order (or `names`' order). */
|
|
16
|
+
byCategory: (category: PickerIconCategory, names?: readonly string[]) => PickerIconEntry[];
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/picker/icons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAEjF,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B,gGAAgG;IAChG,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,UAAU,CAAA;IAC5C,8CAA8C;IAC9C,GAAG,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,IAAI,MAAM,CAAA;IACtC;;;;OAIG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,eAAe,EAAE,CAAA;IACvE,2EAA2E;IAC3E,UAAU,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,eAAe,EAAE,CAAA;CAC3F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/picker/icons/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/picker/icons.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AAIxD,eAAO,MAAM,sBAAsB,QAAO,gBA6DzC,CAAA;AAED,eAAO,MAAM,gBAAgB,kBAA2B,CAAA"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { PICKER_ICONS } from './icons/consts.js';
|
|
2
|
+
import { PICKER_FALLBACK_ICON, PICKER_ICON_ENTRIES } from './vocabulary/consts.js';
|
|
3
|
+
export const createPickerIconHelper = () => {
|
|
4
|
+
const wordsOf = (text) => text.toLowerCase().split(/[\s,-]+/).filter(word => word !== '');
|
|
5
|
+
const byName = new Map(PICKER_ICON_ENTRIES.map(entry => [entry.name, entry]));
|
|
6
|
+
// Each entry's words split once: its name's and its search words'.
|
|
7
|
+
const words = new Map(PICKER_ICON_ENTRIES.map(entry => [entry.name, {
|
|
8
|
+
name: wordsOf(entry.name), search: entry.keywords.flatMap(wordsOf),
|
|
9
|
+
}]));
|
|
10
|
+
const fallback = PICKER_ICONS[PICKER_FALLBACK_ICON];
|
|
11
|
+
const has = (name) => typeof name === 'string' && Object.prototype.hasOwnProperty.call(PICKER_ICONS, name);
|
|
12
|
+
const iconOf = (name) => has(name) ? PICKER_ICONS[name] : fallback;
|
|
13
|
+
const scope = (names) => names == null
|
|
14
|
+
? [...PICKER_ICON_ENTRIES]
|
|
15
|
+
: names.flatMap(name => {
|
|
16
|
+
const entry = byName.get(name);
|
|
17
|
+
return entry != null ? [entry] : [];
|
|
18
|
+
});
|
|
19
|
+
/** 0 exact name, 1 name prefix, 2 a name word, 3 a search word, 4 the category; -1 no match. */
|
|
20
|
+
const rank = (entry, query, terms) => {
|
|
21
|
+
if (entry.name === query) {
|
|
22
|
+
return 0;
|
|
23
|
+
}
|
|
24
|
+
const own = words.get(entry.name) ?? { name: [], search: [] };
|
|
25
|
+
const starts = (pool) => terms.every(term => pool.some(word => word.startsWith(term)));
|
|
26
|
+
if (!starts([...own.name, ...own.search, entry.category])) {
|
|
27
|
+
return -1;
|
|
28
|
+
}
|
|
29
|
+
if (entry.name.startsWith(query.replace(/\s+/g, '-'))) {
|
|
30
|
+
return 1;
|
|
31
|
+
}
|
|
32
|
+
if (starts(own.name)) {
|
|
33
|
+
return 2;
|
|
34
|
+
}
|
|
35
|
+
return starts([...own.name, ...own.search]) ? 3 : 4;
|
|
36
|
+
};
|
|
37
|
+
const search = (query, names) => {
|
|
38
|
+
const entries = scope(names);
|
|
39
|
+
const normalized = query.trim().toLowerCase().replace(/\s+/g, ' ');
|
|
40
|
+
if (normalized === '') {
|
|
41
|
+
return entries;
|
|
42
|
+
}
|
|
43
|
+
const terms = wordsOf(normalized);
|
|
44
|
+
return entries
|
|
45
|
+
.map((entry, order) => ({ entry, order, score: rank(entry, normalized, terms) }))
|
|
46
|
+
.filter(hit => hit.score >= 0)
|
|
47
|
+
.sort((a, b) => a.score - b.score || a.order - b.order)
|
|
48
|
+
.map(hit => hit.entry);
|
|
49
|
+
};
|
|
50
|
+
const byCategory = (category, names) => scope(names).filter(entry => entry.category === category);
|
|
51
|
+
return { iconOf, has, search, byCategory };
|
|
52
|
+
};
|
|
53
|
+
export const pickerIconHelper = createPickerIconHelper();
|
|
54
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../src/picker/icons.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAGlF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAqB,EAAE;IAC3D,MAAM,OAAO,GAAG,CAAC,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|
|
|
1
|
+
/**
|
|
2
|
+
* `@owlmeans/web-panel/picker` — the standard icon + colour picker and the parts it is made of,
|
|
3
|
+
* plus everything of `./picker/vocabulary`. Not re-exported by the package root: only a bundle that
|
|
4
|
+
* imports this subpath carries the icon catalogue.
|
|
5
|
+
*/
|
|
6
|
+
export * from './vocabulary.js';
|
|
7
|
+
export { PICKER_ICONS } from './icons/consts.js';
|
|
8
|
+
export { pickerIconHelper, createPickerIconHelper } from './icons.js';
|
|
9
|
+
export type * from './icons/types.js';
|
|
10
|
+
export * from '../components/picker/index.js';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/picker/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AACrE,mBAAmB,kBAAkB,CAAA;AACrC,cAAc,+BAA+B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@owlmeans/web-panel/picker` — the standard icon + colour picker and the parts it is made of,
|
|
3
|
+
* plus everything of `./picker/vocabulary`. Not re-exported by the package root: only a bundle that
|
|
4
|
+
* imports this subpath carries the icon catalogue.
|
|
5
|
+
*/
|
|
6
|
+
export * from './vocabulary.js';
|
|
7
|
+
export { PICKER_ICONS } from './icons/consts.js';
|
|
8
|
+
export { pickerIconHelper, createPickerIconHelper } from './icons.js';
|
|
9
|
+
export * from '../components/picker/index.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/picker/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAErE,cAAc,+BAA+B,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/** An sRGB colour, each channel 0..1. */
|
|
2
|
+
export interface Rgb {
|
|
3
|
+
r: number;
|
|
4
|
+
g: number;
|
|
5
|
+
b: number;
|
|
6
|
+
}
|
|
7
|
+
/** A colour in OKLCH: lightness 0..1, chroma, hue in radians. */
|
|
8
|
+
export interface Oklch {
|
|
9
|
+
l: number;
|
|
10
|
+
c: number;
|
|
11
|
+
h: number;
|
|
12
|
+
}
|
|
13
|
+
/** The four mode-dependent values a custom colour needs, each a lowercase `#rrggbb`. */
|
|
14
|
+
export interface DerivedColor {
|
|
15
|
+
ink: string;
|
|
16
|
+
soft: string;
|
|
17
|
+
inkDark: string;
|
|
18
|
+
softDark: string;
|
|
19
|
+
}
|
|
20
|
+
/** Colour arithmetic for custom colours: parsing, WCAG contrast and OKLCH with gamut fitting. */
|
|
21
|
+
export interface ColorUtils {
|
|
22
|
+
/** A six-digit `#rrggbb` (any case) → channels; anything else → `null`. */
|
|
23
|
+
parse: (hex: string) => Rgb | null;
|
|
24
|
+
/** Channels → lowercase `#rrggbb`, clamped and rounded. */
|
|
25
|
+
hex: (rgb: Rgb) => string;
|
|
26
|
+
/** WCAG 2 contrast ratio of two six-digit hex colours, 1..21. */
|
|
27
|
+
contrast: (a: string, b: string) => number;
|
|
28
|
+
/**
|
|
29
|
+
* The ink and ground a custom colour renders with in both modes: grounds in the colour's hue,
|
|
30
|
+
* inks moved only as far in lightness as it takes to keep 4.5:1 on the ground and on the page
|
|
31
|
+
* (white, black). A colour that already reads well keeps its own value as the light ink.
|
|
32
|
+
*/
|
|
33
|
+
derive: (hex: string) => DerivedColor;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/picker/utils/color/types.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,MAAM,WAAW,GAAG;IAClB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,iEAAiE;AACjE,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,wFAAwF;AACxF,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,iGAAiG;AACjG,MAAM,WAAW,UAAU;IACzB,2EAA2E;IAC3E,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,GAAG,GAAG,IAAI,CAAA;IAClC,2DAA2D;IAC3D,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,CAAA;IACzB,iEAAiE;IACjE,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,MAAM,CAAA;IAC1C;;;;OAIG;IACH,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,YAAY,CAAA;CACtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/picker/utils/color/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/picker/utils/color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAA4B,MAAM,kBAAkB,CAAA;AAyC5E,eAAO,MAAM,gBAAgB,QAAO,UA2EnC,CAAA;AAED,eAAO,MAAM,UAAU,YAAqB,CAAA"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/** The text-contrast floor every derived ink keeps — above the 3:1 icons and dots need. */
|
|
2
|
+
const TARGET = 4.5;
|
|
3
|
+
const WHITE = '#ffffff';
|
|
4
|
+
const BLACK = '#000000';
|
|
5
|
+
const toLinear = (c) => c <= 0.04045 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4;
|
|
6
|
+
const fromLinear = (c) => c <= 0.0031308 ? 12.92 * c : 1.055 * c ** (1 / 2.4) - 0.055;
|
|
7
|
+
/** sRGB → OKLCH (Björn Ottosson's matrices). */
|
|
8
|
+
const toOklch = ({ r, g, b }) => {
|
|
9
|
+
const [lr, lg, lb] = [toLinear(r), toLinear(g), toLinear(b)];
|
|
10
|
+
const l = Math.cbrt(0.4122214708 * lr + 0.5363325363 * lg + 0.0514459929 * lb);
|
|
11
|
+
const m = Math.cbrt(0.2119034982 * lr + 0.6806995451 * lg + 0.1073969566 * lb);
|
|
12
|
+
const s = Math.cbrt(0.0883024619 * lr + 0.2817188376 * lg + 0.6299787005 * lb);
|
|
13
|
+
const L = 0.2104542553 * l + 0.793617785 * m - 0.0040720468 * s;
|
|
14
|
+
const A = 1.9779984951 * l - 2.428592205 * m + 0.4505937099 * s;
|
|
15
|
+
const B = 0.0259040371 * l + 0.7827717662 * m - 0.808675766 * s;
|
|
16
|
+
return { l: L, c: Math.hypot(A, B), h: Math.atan2(B, A) };
|
|
17
|
+
};
|
|
18
|
+
/** OKLCH → linear sRGB channels, unclamped (out-of-gamut values fall outside 0..1). */
|
|
19
|
+
const toLinearRgb = ({ l, c, h }) => {
|
|
20
|
+
const a = c * Math.cos(h);
|
|
21
|
+
const b = c * Math.sin(h);
|
|
22
|
+
const l3 = (l + 0.3963377774 * a + 0.2158037573 * b) ** 3;
|
|
23
|
+
const m3 = (l - 0.1055613458 * a - 0.0638541728 * b) ** 3;
|
|
24
|
+
const s3 = (l - 0.0894841775 * a - 1.291485548 * b) ** 3;
|
|
25
|
+
return [
|
|
26
|
+
4.0767416621 * l3 - 3.3077115913 * m3 + 0.2309699292 * s3,
|
|
27
|
+
-1.2684380046 * l3 + 2.6097574011 * m3 - 0.3413193965 * s3,
|
|
28
|
+
-0.0041960863 * l3 - 0.7034186147 * m3 + 1.707614701 * s3,
|
|
29
|
+
];
|
|
30
|
+
};
|
|
31
|
+
const inGamut = (channels) => channels.every(channel => channel >= -1e-4 && channel <= 1 + 1e-4);
|
|
32
|
+
export const createColorUtils = () => {
|
|
33
|
+
const parse = (hex) => {
|
|
34
|
+
const match = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(hex.trim());
|
|
35
|
+
if (match == null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
const [r, g, b] = match.slice(1).map(part => parseInt(part, 16) / 255);
|
|
39
|
+
return { r, g, b };
|
|
40
|
+
};
|
|
41
|
+
const hex = ({ r, g, b }) => `#${[r, g, b]
|
|
42
|
+
.map(channel => Math.round(Math.min(1, Math.max(0, channel)) * 255).toString(16).padStart(2, '0'))
|
|
43
|
+
.join('')}`;
|
|
44
|
+
const luminance = (value) => {
|
|
45
|
+
const rgb = parse(value) ?? { r: 0, g: 0, b: 0 };
|
|
46
|
+
return 0.2126 * toLinear(rgb.r) + 0.7152 * toLinear(rgb.g) + 0.0722 * toLinear(rgb.b);
|
|
47
|
+
};
|
|
48
|
+
const contrast = (a, b) => {
|
|
49
|
+
const [x, y] = [luminance(a), luminance(b)];
|
|
50
|
+
return (Math.max(x, y) + 0.05) / (Math.min(x, y) + 0.05);
|
|
51
|
+
};
|
|
52
|
+
/** The colour at this lightness and hue with as much of `c` as sRGB can show, as hex. */
|
|
53
|
+
const fit = (l, c, h) => {
|
|
54
|
+
let low = 0;
|
|
55
|
+
let high = c;
|
|
56
|
+
if (!inGamut(toLinearRgb({ l, c, h }))) {
|
|
57
|
+
for (let step = 0; step < 24; step++) {
|
|
58
|
+
const mid = (low + high) / 2;
|
|
59
|
+
if (inGamut(toLinearRgb({ l, c: mid, h }))) {
|
|
60
|
+
low = mid;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
high = mid;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
low = c;
|
|
69
|
+
}
|
|
70
|
+
const [r, g, b] = toLinearRgb({ l, c: low, h }).map(channel => fromLinear(Math.min(1, Math.max(0, channel))));
|
|
71
|
+
return hex({ r, g, b });
|
|
72
|
+
};
|
|
73
|
+
/** Walk the lightness from `from` by `step` until `ok` holds; the far end (black or white) always does. */
|
|
74
|
+
const walk = (from, step, c, h, ok) => {
|
|
75
|
+
for (let l = from; l >= 0 && l <= 1; l += step) {
|
|
76
|
+
const candidate = fit(l, c, h);
|
|
77
|
+
if (ok(candidate)) {
|
|
78
|
+
return candidate;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return step < 0 ? BLACK : WHITE;
|
|
82
|
+
};
|
|
83
|
+
const derive = (value) => {
|
|
84
|
+
const base = toOklch(parse(value) ?? { r: 0, g: 0, b: 0 });
|
|
85
|
+
// A grey has no hue to keep; any angle at zero chroma is the same grey.
|
|
86
|
+
const h = base.c < 1e-4 ? 0 : base.h;
|
|
87
|
+
const soft = fit(0.965, Math.min(base.c, 0.035), h);
|
|
88
|
+
const softDark = fit(0.25, Math.min(base.c, 0.06), h);
|
|
89
|
+
const ink = walk(Math.min(base.l, 0.66), -0.01, base.c, h, candidate => contrast(candidate, WHITE) >= TARGET && contrast(candidate, soft) >= TARGET);
|
|
90
|
+
const inkDark = walk(Math.max(base.l, 0.72), 0.01, Math.min(base.c, 0.16), h, candidate => contrast(candidate, BLACK) >= TARGET && contrast(candidate, softDark) >= TARGET);
|
|
91
|
+
return { ink, soft, inkDark, softDark };
|
|
92
|
+
};
|
|
93
|
+
return { parse, hex, contrast, derive };
|
|
94
|
+
};
|
|
95
|
+
export const colorUtils = createColorUtils();
|
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CAAC,IAAI,MAAM,CAAC,CAAA;QAE/F,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAA;IACzC,CAAC,CAAA;IAED,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;AACzC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PickerColor, PickerIconEntry } from './types.js';
|
|
2
|
+
/** The palette's keys in hue order — the order the swatch grid shows them in. */
|
|
3
|
+
export declare const PICKER_COLOR_KEYS: readonly ['red', 'orange', 'amber', 'yellow', 'lime', 'green', 'emerald', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose', 'maroon', 'brown', 'olive', 'navy', 'slate', 'stone', 'graphite'];
|
|
4
|
+
/**
|
|
5
|
+
* The 24-colour palette.
|
|
6
|
+
*
|
|
7
|
+
* Hues follow one scale: the swatch is the hue's 500, the light ink its 700–800, the light ground
|
|
8
|
+
* its 100, the dark ink its 300 (200 or 400 where a neighbouring hue's 300 sits too close) and the
|
|
9
|
+
* dark ground its 900–950. Ten hues keep the exact values the generated targets' look has always
|
|
10
|
+
* used (slate, blue, sky, teal, green, amber, orange, red, pink, violet). The deep four — maroon,
|
|
11
|
+
* brown, olive, navy — run on scales of their own: a darker light ink and a mid-tone dark ink, so
|
|
12
|
+
* they stay apart from red, amber, lime and indigo in both modes. Every ink keeps 4.5:1 on its own
|
|
13
|
+
* ground and on the page in both modes (`tests/picker-vocabulary.spec.ts`).
|
|
14
|
+
*/
|
|
15
|
+
export declare const PICKER_COLORS: readonly PickerColor[];
|
|
16
|
+
/** What an unknown colour value renders as. */
|
|
17
|
+
export declare const PICKER_FALLBACK_COLOR = "slate";
|
|
18
|
+
/** The icon catalogue's categories, in the order the picker's chips show them. */
|
|
19
|
+
export declare const PICKER_ICON_CATEGORIES: readonly ['work', 'people', 'communication', 'commerce', 'operations', 'places', 'tech', 'status', 'objects', 'nature'];
|
|
20
|
+
/** What an unknown icon name renders as. */
|
|
21
|
+
export declare const PICKER_FALLBACK_ICON = "circle";
|
|
22
|
+
/** Every catalogue icon with its category and search words, category by category. */
|
|
23
|
+
export declare const PICKER_ICON_ENTRIES: readonly PickerIconEntry[];
|
|
24
|
+
/** The catalogue's names, in catalogue order. */
|
|
25
|
+
export declare const PICKER_ICON_NAMES: readonly string[];
|
|
26
|
+
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/picker/vocabulary/consts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAsB,eAAe,EAAE,MAAM,YAAY,CAAA;AAElF,iFAAiF;AACjF,eAAO,MAAM,iBAAiB,YAC5B,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EACvG,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,CACvG,CAAA;AAEV;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EAyB9C,CAAA;AAEF,+CAA+C;AAC/C,eAAO,MAAM,qBAAqB,UAAU,CAAA;AAE5C,kFAAkF;AAClF,eAAO,MAAM,sBAAsB,YACjC,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,CACpG,CAAA;AAEV,4CAA4C;AAC5C,eAAO,MAAM,oBAAoB,WAAW,CAAA;AA4R5C,qFAAqF;AACrF,eAAO,MAAM,mBAAmB,EAAE,SAAS,eAAe,EAGxD,CAAA;AAEF,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,EAAE,SAAS,MAAM,EAA8D,CAAA"}
|