@0001-labs/design-system-1 0.0.0-stage → 0.3.0-alpha.13
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/DS1/0-face/control.ts +99 -0
- package/DS1/0-face/define.ts +5 -0
- package/DS1/0-face/device.ts +414 -0
- package/DS1/0-face/grid-fit.ts +63 -0
- package/DS1/0-face/grid.ts +144 -0
- package/DS1/0-face/i18n.ts +1023 -0
- package/DS1/0-face/language-routing.ts +135 -0
- package/DS1/0-face/language-validator.ts +46 -0
- package/DS1/0-face/languages.ts +242 -0
- package/DS1/0-face/layout-inspector.ts +184 -0
- package/DS1/0-face/preferences.ts +39 -0
- package/DS1/0-face/pricing.ts +57 -0
- package/DS1/0-face/scaling.ts +25 -0
- package/DS1/0-face/shared-words.ts +45 -0
- package/DS1/0-face/theme.ts +58 -0
- package/DS1/0-face/tooltips.ts +82 -0
- package/DS1/0-face/translations/da.json +63 -0
- package/DS1/0-face/translations/de.json +63 -0
- package/DS1/0-face/translations/en.json +63 -0
- package/DS1/0-face/translations/es.json +63 -0
- package/DS1/0-face/translations/fi.json +63 -0
- package/DS1/0-face/translations/fr.json +63 -0
- package/DS1/0-face/translations/is.json +56 -0
- package/DS1/0-face/translations/it.json +63 -0
- package/DS1/0-face/translations/ja.json +63 -0
- package/DS1/0-face/translations/ko.json +63 -0
- package/DS1/0-face/translations/nb.json +63 -0
- package/DS1/0-face/translations/pt-BR.json +63 -0
- package/DS1/0-face/translations/pt.json +63 -0
- package/DS1/0-face/translations/sv.json +63 -0
- package/DS1/0-face/translations/zh.json +63 -0
- package/DS1/0-face/translations-format.ts +216 -0
- package/DS1/1-root/component-appearance.css +32 -0
- package/DS1/1-root/component-metrics.css +21 -0
- package/DS1/1-root/component-tokens.css +90 -0
- package/DS1/1-root/controls.css +261 -0
- package/DS1/1-root/fonts/GT-America-Compressed-Regular.woff2 +0 -0
- package/DS1/1-root/fonts/GT-America-Standard-Medium.woff2 +0 -0
- package/DS1/1-root/fonts/GT-America-Standard-Regular.woff2 +0 -0
- package/DS1/1-root/fonts/GT-Canon-M-Standard-Medium-Trial.woff2 +0 -0
- package/DS1/1-root/fonts/Inter-Arrows.woff2 +0 -0
- package/DS1/1-root/fonts/Inter-LICENSE.md +7 -0
- package/DS1/1-root/fonts/Iosevka-LICENSE.md +7 -0
- package/DS1/1-root/fonts/Iosevka-Regular.woff2 +0 -0
- package/DS1/1-root/grid.css +31 -0
- package/DS1/1-root/one.css +602 -0
- package/DS1/1-root/one.semantic.css +683 -0
- package/DS1/1-root/palette.ts +91 -0
- package/DS1/2-core/ds-avatar.ts +130 -0
- package/DS1/2-core/ds-badge.ts +77 -0
- package/DS1/2-core/ds-banner.ts +122 -0
- package/DS1/2-core/ds-button.ts +163 -0
- package/DS1/2-core/ds-card.ts +137 -0
- package/DS1/2-core/ds-checkbox.ts +14 -0
- package/DS1/2-core/ds-color.ts +32 -0
- package/DS1/2-core/ds-composer.ts +182 -0
- package/DS1/2-core/ds-cycle.ts +628 -0
- package/DS1/2-core/ds-date.ts +24 -0
- package/DS1/2-core/ds-file-picker.ts +83 -0
- package/DS1/2-core/ds-gap.ts +34 -0
- package/DS1/2-core/ds-icon.ts +161 -0
- package/DS1/2-core/ds-input.ts +518 -0
- package/DS1/2-core/ds-language.ts +94 -0
- package/DS1/2-core/ds-pagedots.ts +52 -0
- package/DS1/2-core/ds-radio.ts +25 -0
- package/DS1/2-core/ds-select.ts +44 -0
- package/DS1/2-core/ds-split.ts +122 -0
- package/DS1/2-core/ds-swatch.ts +20 -0
- package/DS1/2-core/ds-switch.ts +13 -0
- package/DS1/2-core/ds-text.ts +190 -0
- package/DS1/2-core/ds-textarea.ts +136 -0
- package/DS1/2-core/ds-token.ts +40 -0
- package/DS1/2-core/ds-tooltip.ts +115 -0
- package/DS1/2-core/generated/ds-icon-map.ts +583 -0
- package/DS1/2-core/generated/icons-extra.ts +243 -0
- package/DS1/2-core/generated/icons-immediate.ts +49 -0
- package/DS1/2-core/styles/ds-avatar.css +125 -0
- package/DS1/2-core/styles/ds-badge.css +26 -0
- package/DS1/2-core/styles/ds-banner.css +77 -0
- package/DS1/2-core/styles/ds-button-host.css +214 -0
- package/DS1/2-core/styles/ds-button.css +131 -0
- package/DS1/2-core/styles/ds-checkbox.css +48 -0
- package/DS1/2-core/styles/ds-color.css +24 -0
- package/DS1/2-core/styles/ds-composer-frame.css +11 -0
- package/DS1/2-core/styles/ds-composer.css +55 -0
- package/DS1/2-core/styles/ds-cycle.css +18 -0
- package/DS1/2-core/styles/ds-date.css +9 -0
- package/DS1/2-core/styles/ds-file-picker.css +66 -0
- package/DS1/2-core/styles/ds-gap.css +71 -0
- package/DS1/2-core/styles/ds-icon.css +44 -0
- package/DS1/2-core/styles/ds-input.css +233 -0
- package/DS1/2-core/styles/ds-language.css +78 -0
- package/DS1/2-core/styles/ds-pagedots.css +31 -0
- package/DS1/2-core/styles/ds-radio.css +83 -0
- package/DS1/2-core/styles/ds-select.css +95 -0
- package/DS1/2-core/styles/ds-split.css +62 -0
- package/DS1/2-core/styles/ds-switch.css +50 -0
- package/DS1/2-core/styles/ds-text.css +87 -0
- package/DS1/2-core/styles/ds-textarea.css +27 -0
- package/DS1/2-core/styles/ds-token.css +9 -0
- package/DS1/2-core/styles/ds-tooltip.css +37 -0
- package/DS1/3-unit/context-trigger.ts +104 -0
- package/DS1/3-unit/ds-accordion.ts +120 -0
- package/DS1/3-unit/ds-avatar-group.ts +99 -0
- package/DS1/3-unit/ds-form.ts +304 -0
- package/DS1/3-unit/ds-list.ts +36 -0
- package/DS1/3-unit/ds-menu.ts +482 -0
- package/DS1/3-unit/ds-row.ts +48 -0
- package/DS1/3-unit/ds-table.ts +68 -0
- package/DS1/3-unit/ds-tabs.ts +77 -0
- package/DS1/3-unit/ds-token-field.ts +127 -0
- package/DS1/3-unit/styles/context-trigger.css +6 -0
- package/DS1/3-unit/styles/ds-accordion.css +64 -0
- package/DS1/3-unit/styles/ds-avatar-group.css +51 -0
- package/DS1/3-unit/styles/ds-list.css +26 -0
- package/DS1/3-unit/styles/ds-menu.css +97 -0
- package/DS1/3-unit/styles/ds-row.css +37 -0
- package/DS1/3-unit/styles/ds-table.css +80 -0
- package/DS1/3-unit/styles/ds-tabs.css +44 -0
- package/DS1/3-unit/styles/ds-token-field.css +11 -0
- package/DS1/4-page/ds-container.ts +28 -0
- package/DS1/4-page/ds-dialog.ts +331 -0
- package/DS1/4-page/ds-grid.ts +74 -0
- package/DS1/4-page/ds-layout.ts +949 -0
- package/DS1/4-page/ds-panel.ts +38 -0
- package/DS1/4-page/email.ts +170 -0
- package/DS1/4-page/styles/ds-container.css +35 -0
- package/DS1/4-page/styles/ds-dialog.css +94 -0
- package/DS1/4-page/styles/ds-grid.css +95 -0
- package/DS1/4-page/styles/ds-layout.css +246 -0
- package/DS1/4-page/styles/ds-panel.css +31 -0
- package/DS1/components.ts +13 -0
- package/DS1/index.ts +86 -0
- package/DS1/react/accordion.ts +33 -0
- package/DS1/react/avatar-group.ts +11 -0
- package/DS1/react/avatar.ts +42 -0
- package/DS1/react/badge.ts +7 -0
- package/DS1/react/button.ts +63 -0
- package/DS1/react/choice.ts +64 -0
- package/DS1/react/composer.ts +18 -0
- package/DS1/react/context-menu.ts +167 -0
- package/DS1/react/dialog.ts +102 -0
- package/DS1/react/file-picker.ts +34 -0
- package/DS1/react/input.ts +184 -0
- package/DS1/react/menu.ts +28 -0
- package/DS1/react/split.ts +42 -0
- package/DS1/react/token-field.ts +32 -0
- package/DS1/vite-env.d.ts +13 -0
- package/DS1/x-icon/1x.svg +4 -0
- package/DS1/x-icon/1xdots.svg +11 -0
- package/DS1/x-icon/1xgrid.svg +8 -0
- package/DS1/x-icon/1xlines.svg +5 -0
- package/DS1/x-icon/2x.svg +4 -0
- package/DS1/x-icon/2xdots.svg +18 -0
- package/DS1/x-icon/2xgrid-alt-2.svg +9 -0
- package/DS1/x-icon/2xgrid-alt-3.svg +8 -0
- package/DS1/x-icon/2xgrid-alt.svg +15 -0
- package/DS1/x-icon/2xgrid.svg +6 -0
- package/DS1/x-icon/2xlines.svg +6 -0
- package/DS1/x-icon/4x4.svg +18 -0
- package/DS1/x-icon/app.svg +4 -0
- package/DS1/x-icon/apple.svg +3 -0
- package/DS1/x-icon/archive-alt.svg +4 -0
- package/DS1/x-icon/archive.svg +4 -0
- package/DS1/x-icon/arrange-archive.svg +1 -0
- package/DS1/x-icon/arrange-check.svg +1 -0
- package/DS1/x-icon/arrange-chevron.svg +1 -0
- package/DS1/x-icon/arrange-connect.svg +1 -0
- package/DS1/x-icon/arrange-draft.svg +1 -0
- package/DS1/x-icon/arrange-dropdown.svg +1 -0
- package/DS1/x-icon/arrange-home.svg +1 -0
- package/DS1/x-icon/arrange-link.svg +1 -0
- package/DS1/x-icon/arrange-menu.svg +1 -0
- package/DS1/x-icon/arrange-more.svg +1 -0
- package/DS1/x-icon/arrange-page.svg +1 -0
- package/DS1/x-icon/arrange-plus.svg +1 -0
- package/DS1/x-icon/arrange-site.svg +1 -0
- package/DS1/x-icon/avatar.svg +4 -0
- package/DS1/x-icon/badge-bands-3d.svg +1 -0
- package/DS1/x-icon/badge-bands.svg +1 -0
- package/DS1/x-icon/badge-blue-fan-3d.svg +1 -0
- package/DS1/x-icon/badge-blue-fan.svg +1 -0
- package/DS1/x-icon/badge-bricks-3d.svg +1 -0
- package/DS1/x-icon/badge-bricks.svg +1 -0
- package/DS1/x-icon/badge-broken-stripes-3d.svg +1 -0
- package/DS1/x-icon/badge-broken-stripes.svg +1 -0
- package/DS1/x-icon/badge-checker-3d.svg +1 -0
- package/DS1/x-icon/badge-checker.svg +1 -0
- package/DS1/x-icon/badge-diamond-3d.svg +1 -0
- package/DS1/x-icon/badge-diamond.svg +1 -0
- package/DS1/x-icon/badge-fan-3d.svg +1 -0
- package/DS1/x-icon/badge-fan-dark-3d.svg +1 -0
- package/DS1/x-icon/badge-fan-dark.svg +1 -0
- package/DS1/x-icon/badge-fan.svg +1 -0
- package/DS1/x-icon/badge-halves-3d.svg +1 -0
- package/DS1/x-icon/badge-halves-green-3d.svg +1 -0
- package/DS1/x-icon/badge-halves-green.svg +1 -0
- package/DS1/x-icon/badge-halves.svg +1 -0
- package/DS1/x-icon/badge-red-3d.svg +1 -0
- package/DS1/x-icon/badge-red-blue-bricks-3d.svg +1 -0
- package/DS1/x-icon/badge-red-blue-bricks.svg +1 -0
- package/DS1/x-icon/badge-red.svg +1 -0
- package/DS1/x-icon/badge-round-fan-3d.svg +1 -0
- package/DS1/x-icon/badge-round-fan.svg +1 -0
- package/DS1/x-icon/badge-shard-3d.svg +1 -0
- package/DS1/x-icon/badge-shard.svg +1 -0
- package/DS1/x-icon/badge-split-circle-3d.svg +1 -0
- package/DS1/x-icon/badge-split-circle.svg +1 -0
- package/DS1/x-icon/badge-tall-bricks-3d.svg +1 -0
- package/DS1/x-icon/badge-tall-bricks.svg +1 -0
- package/DS1/x-icon/badge-weave-3d.svg +1 -0
- package/DS1/x-icon/badge-weave.svg +1 -0
- package/DS1/x-icon/bag.svg +4 -0
- package/DS1/x-icon/block-accordion.svg +1 -0
- package/DS1/x-icon/block-banner.svg +1 -0
- package/DS1/x-icon/block-breadcrumbs.svg +1 -0
- package/DS1/x-icon/block-button.svg +1 -0
- package/DS1/x-icon/block-divider.svg +1 -0
- package/DS1/x-icon/block-forms.svg +1 -0
- package/DS1/x-icon/block-group.svg +1 -0
- package/DS1/x-icon/block-heading.svg +1 -0
- package/DS1/x-icon/block-image.svg +1 -0
- package/DS1/x-icon/block-logo-marquee.svg +1 -0
- package/DS1/x-icon/block-page-progress.svg +1 -0
- package/DS1/x-icon/block-section.svg +1 -0
- package/DS1/x-icon/block-table.svg +1 -0
- package/DS1/x-icon/block-tabs.svg +1 -0
- package/DS1/x-icon/block-text.svg +1 -0
- package/DS1/x-icon/bold.svg +3 -0
- package/DS1/x-icon/bullet.svg +5 -0
- package/DS1/x-icon/calendar.svg +6 -0
- package/DS1/x-icon/callout.svg +5 -0
- package/DS1/x-icon/camera.svg +5 -0
- package/DS1/x-icon/categories.svg +12 -0
- package/DS1/x-icon/check-alt.svg +3 -0
- package/DS1/x-icon/check.svg +3 -0
- package/DS1/x-icon/close.svg +3 -0
- package/DS1/x-icon/code-block.svg +4 -0
- package/DS1/x-icon/code.svg +3 -0
- package/DS1/x-icon/collapse.svg +3 -0
- package/DS1/x-icon/color.svg +4 -0
- package/DS1/x-icon/column.svg +3 -0
- package/DS1/x-icon/comment.svg +3 -0
- package/DS1/x-icon/compose.svg +4 -0
- package/DS1/x-icon/connect.svg +5 -0
- package/DS1/x-icon/content.svg +6 -0
- package/DS1/x-icon/default.svg +4 -0
- package/DS1/x-icon/delete.svg +5 -0
- package/DS1/x-icon/dictate.svg +6 -0
- package/DS1/x-icon/divider.svg +3 -0
- package/DS1/x-icon/down.svg +3 -0
- package/DS1/x-icon/duplicate.svg +8 -0
- package/DS1/x-icon/email.svg +3 -0
- package/DS1/x-icon/equation.svg +3 -0
- package/DS1/x-icon/exercise.svg +3 -0
- package/DS1/x-icon/expand.svg +3 -0
- package/DS1/x-icon/ezo-accordion-chevron.svg +11 -0
- package/DS1/x-icon/ezo-account-close.svg +1 -0
- package/DS1/x-icon/ezo-android-screen-archive.svg +4 -0
- package/DS1/x-icon/ezo-android-screen-calendar.svg +6 -0
- package/DS1/x-icon/ezo-android-screen-camera.svg +5 -0
- package/DS1/x-icon/ezo-android-screen-check.svg +3 -0
- package/DS1/x-icon/ezo-android-screen-compose.svg +4 -0
- package/DS1/x-icon/ezo-android-screen-globe.svg +1 -0
- package/DS1/x-icon/ezo-android-screen-lists.svg +3 -0
- package/DS1/x-icon/ezo-android-screen-shared.svg +5 -0
- package/DS1/x-icon/ezo-android-screen-stats.svg +3 -0
- package/DS1/x-icon/ezo-android-screen-store.svg +4 -0
- package/DS1/x-icon/ezo-android-screen-views.svg +4 -0
- package/DS1/x-icon/ezo-android-screen-work.svg +3 -0
- package/DS1/x-icon/ezo-arrow-cursor.svg +8 -0
- package/DS1/x-icon/ezo-block-accordion.svg +1 -0
- package/DS1/x-icon/ezo-block-divider.svg +1 -0
- package/DS1/x-icon/ezo-block-group.svg +1 -0
- package/DS1/x-icon/ezo-block-image.svg +1 -0
- package/DS1/x-icon/ezo-block-section.svg +1 -0
- package/DS1/x-icon/ezo-block-table.svg +1 -0
- package/DS1/x-icon/ezo-code.svg +14 -0
- package/DS1/x-icon/ezo-down.svg +3 -0
- package/DS1/x-icon/ezo-figma-premium-star.svg +5 -0
- package/DS1/x-icon/ezo-item-button-complete.svg +4 -0
- package/DS1/x-icon/ezo-item-button-header.svg +3 -0
- package/DS1/x-icon/ezo-item-button-open.svg +3 -0
- package/DS1/x-icon/ezo-item-button-reopen.svg +3 -0
- package/DS1/x-icon/ezo-item-button-star.svg +3 -0
- package/DS1/x-icon/ezo-item-button-start.svg +3 -0
- package/DS1/x-icon/ezo-item-button-unheader.svg +7 -0
- package/DS1/x-icon/ezo-item-button-unstar.svg +5 -0
- package/DS1/x-icon/ezo-item-star.svg +5 -0
- package/DS1/x-icon/ezo-left.svg +3 -0
- package/DS1/x-icon/ezo-logo.svg +1 -0
- package/DS1/x-icon/ezo-mic.svg +8 -0
- package/DS1/x-icon/ezo-move-column.svg +14 -0
- package/DS1/x-icon/ezo-move-row.svg +18 -0
- package/DS1/x-icon/ezo-navigation-check.svg +1 -0
- package/DS1/x-icon/ezo-note-back.svg +5 -0
- package/DS1/x-icon/ezo-note-menu-complete.svg +11 -0
- package/DS1/x-icon/ezo-note-menu-delete.svg +4 -0
- package/DS1/x-icon/ezo-note-menu-duplicate.svg +8 -0
- package/DS1/x-icon/ezo-note-menu-note.svg +5 -0
- package/DS1/x-icon/ezo-note-menu-page.svg +3 -0
- package/DS1/x-icon/ezo-note-menu-star.svg +5 -0
- package/DS1/x-icon/ezo-note-menu-start.svg +6 -0
- package/DS1/x-icon/ezo-note-menu-stop.svg +6 -0
- package/DS1/x-icon/ezo-note-more.svg +7 -0
- package/DS1/x-icon/ezo-note-star.svg +5 -0
- package/DS1/x-icon/ezo-password-visibility-see.svg +6 -0
- package/DS1/x-icon/ezo-password-visibility-unsee.svg +9 -0
- package/DS1/x-icon/ezo-pattern-call-to-action.svg +1 -0
- package/DS1/x-icon/ezo-play.svg +5 -0
- package/DS1/x-icon/ezo-premium-star.svg +5 -0
- package/DS1/x-icon/ezo-setting-1xdots.svg +13 -0
- package/DS1/x-icon/ezo-setting-1xgrid.svg +10 -0
- package/DS1/x-icon/ezo-setting-1xlines.svg +7 -0
- package/DS1/x-icon/ezo-setting-2xdots.svg +8 -0
- package/DS1/x-icon/ezo-setting-2xgrid.svg +8 -0
- package/DS1/x-icon/ezo-setting-2xlines.svg +6 -0
- package/DS1/x-icon/ezo-setting-blank.svg +5 -0
- package/DS1/x-icon/ezo-store-chevron.svg +1 -0
- package/DS1/x-icon/ezo-upgrade-close.svg +5 -0
- package/DS1/x-icon/folder.svg +3 -0
- package/DS1/x-icon/form.svg +5 -0
- package/DS1/x-icon/gallery.svg +3 -0
- package/DS1/x-icon/globe.svg +1 -0
- package/DS1/x-icon/google.svg +6 -0
- package/DS1/x-icon/group-alt-2.svg +3 -0
- package/DS1/x-icon/group-alt.svg +7 -0
- package/DS1/x-icon/group.svg +3 -0
- package/DS1/x-icon/h1.svg +3 -0
- package/DS1/x-icon/h2.svg +3 -0
- package/DS1/x-icon/h3.svg +3 -0
- package/DS1/x-icon/handle.svg +8 -0
- package/DS1/x-icon/head.svg +3 -0
- package/DS1/x-icon/help-alt.svg +3 -0
- package/DS1/x-icon/help.svg +5 -0
- package/DS1/x-icon/home.svg +3 -0
- package/DS1/x-icon/icon.svg +4 -0
- package/DS1/x-icon/image.svg +5 -0
- package/DS1/x-icon/in.svg +4 -0
- package/DS1/x-icon/indent.svg +4 -0
- package/DS1/x-icon/italic.svg +3 -0
- package/DS1/x-icon/item.svg +3 -0
- package/DS1/x-icon/left.svg +4 -0
- package/DS1/x-icon/life.svg +8 -0
- package/DS1/x-icon/link.svg +3 -0
- package/DS1/x-icon/list-line.svg +3 -0
- package/DS1/x-icon/lists.svg +3 -0
- package/DS1/x-icon/lock-filled.svg +3 -0
- package/DS1/x-icon/lock.svg +3 -0
- package/DS1/x-icon/logo-marquee.svg +5 -0
- package/DS1/x-icon/loop.svg +6 -0
- package/DS1/x-icon/mention.svg +4 -0
- package/DS1/x-icon/menu.svg +3 -0
- package/DS1/x-icon/mic.svg +5 -0
- package/DS1/x-icon/minimize-alt.svg +4 -0
- package/DS1/x-icon/minimize.svg +4 -0
- package/DS1/x-icon/money.svg +6 -0
- package/DS1/x-icon/more.svg +5 -0
- package/DS1/x-icon/navigation-check.svg +1 -0
- package/DS1/x-icon/note-alt-2.svg +6 -0
- package/DS1/x-icon/note-alt.svg +4 -0
- package/DS1/x-icon/note-lines.svg +6 -0
- package/DS1/x-icon/note.svg +4 -0
- package/DS1/x-icon/notifications.svg +3 -0
- package/DS1/x-icon/numbered.svg +4 -0
- package/DS1/x-icon/open-alt.svg +3 -0
- package/DS1/x-icon/open-source.svg +3 -0
- package/DS1/x-icon/open.svg +3 -0
- package/DS1/x-icon/outdent.svg +4 -0
- package/DS1/x-icon/pad.svg +8 -0
- package/DS1/x-icon/page-18.svg +3 -0
- package/DS1/x-icon/page-alt.svg +3 -0
- package/DS1/x-icon/page-note.svg +1 -0
- package/DS1/x-icon/page.svg +3 -0
- package/DS1/x-icon/panel.svg +4 -0
- package/DS1/x-icon/pattern-call-to-action.svg +1 -0
- package/DS1/x-icon/pattern-card.svg +1 -0
- package/DS1/x-icon/pattern-feature.svg +1 -0
- package/DS1/x-icon/pattern-hero.svg +1 -0
- package/DS1/x-icon/pen.svg +4 -0
- package/DS1/x-icon/play-alt.svg +3 -0
- package/DS1/x-icon/plus.svg +3 -0
- package/DS1/x-icon/product-sources.json +2557 -0
- package/DS1/x-icon/quote.svg +3 -0
- package/DS1/x-icon/redo.svg +3 -0
- package/DS1/x-icon/relationships.svg +3 -0
- package/DS1/x-icon/rewind-30-alt.svg +4 -0
- package/DS1/x-icon/rewind-30.svg +5 -0
- package/DS1/x-icon/rewind.svg +5 -0
- package/DS1/x-icon/right.svg +3 -0
- package/DS1/x-icon/row.svg +3 -0
- package/DS1/x-icon/school.svg +4 -0
- package/DS1/x-icon/sdown.svg +3 -0
- package/DS1/x-icon/search-30.svg +4 -0
- package/DS1/x-icon/search.svg +3 -0
- package/DS1/x-icon/see-30.svg +4 -0
- package/DS1/x-icon/see.svg +4 -0
- package/DS1/x-icon/settings.svg +8 -0
- package/DS1/x-icon/shared.svg +5 -0
- package/DS1/x-icon/slash.svg +3 -0
- package/DS1/x-icon/star-alt-2.svg +3 -0
- package/DS1/x-icon/star-alt.svg +3 -0
- package/DS1/x-icon/star.svg +3 -0
- package/DS1/x-icon/stats.svg +3 -0
- package/DS1/x-icon/status-alt.svg +11 -0
- package/DS1/x-icon/status-filled.svg +26 -0
- package/DS1/x-icon/status.svg +10 -0
- package/DS1/x-icon/store.svg +4 -0
- package/DS1/x-icon/strike.svg +3 -0
- package/DS1/x-icon/sup.svg +3 -0
- package/DS1/x-icon/table.svg +4 -0
- package/DS1/x-icon/template.svg +4 -0
- package/DS1/x-icon/templates.svg +4 -0
- package/DS1/x-icon/text.svg +3 -0
- package/DS1/x-icon/title.svg +3 -0
- package/DS1/x-icon/titlestyle.svg +11 -0
- package/DS1/x-icon/todo.svg +5 -0
- package/DS1/x-icon/toggle.svg +4 -0
- package/DS1/x-icon/triangle.svg +3 -0
- package/DS1/x-icon/underline.svg +3 -0
- package/DS1/x-icon/undo.svg +3 -0
- package/DS1/x-icon/ungroup.svg +4 -0
- package/DS1/x-icon/unhead.svg +7 -0
- package/DS1/x-icon/unicon.svg +6 -0
- package/DS1/x-icon/unlock.svg +3 -0
- package/DS1/x-icon/unmic.svg +6 -0
- package/DS1/x-icon/unsee.svg +5 -0
- package/DS1/x-icon/unstar.svg +5 -0
- package/DS1/x-icon/untitle.svg +7 -0
- package/DS1/x-icon/up-right.svg +3 -0
- package/DS1/x-icon/up.svg +3 -0
- package/DS1/x-icon/views.svg +4 -0
- package/DS1/x-icon/warning.svg +3 -0
- package/DS1/x-icon/work.svg +3 -0
- package/LICENSE +21 -0
- package/README.md +240 -2
- package/dist/0-face/control.d.ts +24 -0
- package/dist/0-face/control.d.ts.map +1 -0
- package/dist/0-face/control.js +117 -0
- package/dist/0-face/define.d.ts +3 -0
- package/dist/0-face/define.d.ts.map +1 -0
- package/dist/0-face/define.js +7 -0
- package/dist/0-face/device.d.ts +71 -0
- package/dist/0-face/device.d.ts.map +1 -0
- package/dist/0-face/device.js +318 -0
- package/dist/0-face/grid-fit.d.ts +3 -0
- package/dist/0-face/grid-fit.d.ts.map +1 -0
- package/dist/0-face/grid-fit.js +73 -0
- package/dist/0-face/grid.d.ts +3 -0
- package/dist/0-face/grid.d.ts.map +1 -0
- package/dist/0-face/grid.js +144 -0
- package/dist/0-face/i18n.d.ts +138 -0
- package/dist/0-face/i18n.d.ts.map +1 -0
- package/dist/0-face/i18n.js +725 -0
- package/dist/0-face/language-routing.d.ts +47 -0
- package/dist/0-face/language-routing.d.ts.map +1 -0
- package/dist/0-face/language-routing.js +91 -0
- package/dist/0-face/language-validator.d.ts +11 -0
- package/dist/0-face/language-validator.d.ts.map +1 -0
- package/dist/0-face/language-validator.js +31 -0
- package/dist/0-face/languages.d.ts +53 -0
- package/dist/0-face/languages.d.ts.map +1 -0
- package/dist/0-face/languages.js +192 -0
- package/dist/0-face/layout-inspector.d.ts +6 -0
- package/dist/0-face/layout-inspector.d.ts.map +1 -0
- package/dist/0-face/layout-inspector.js +197 -0
- package/dist/0-face/preferences.d.ts +20 -0
- package/dist/0-face/preferences.d.ts.map +1 -0
- package/dist/0-face/preferences.js +19 -0
- package/dist/0-face/pricing.d.ts +15 -0
- package/dist/0-face/pricing.d.ts.map +1 -0
- package/dist/0-face/pricing.js +46 -0
- package/dist/0-face/scaling.d.ts +10 -0
- package/dist/0-face/scaling.d.ts.map +1 -0
- package/dist/0-face/scaling.js +14 -0
- package/dist/0-face/shared-words.d.ts +14 -0
- package/dist/0-face/shared-words.d.ts.map +1 -0
- package/dist/0-face/shared-words.js +32 -0
- package/dist/0-face/theme.d.ts +4 -0
- package/dist/0-face/theme.d.ts.map +1 -0
- package/dist/0-face/theme.js +48 -0
- package/dist/0-face/tooltips.d.ts +8 -0
- package/dist/0-face/tooltips.d.ts.map +1 -0
- package/dist/0-face/tooltips.js +90 -0
- package/dist/0-face/translations/da.json +63 -0
- package/dist/0-face/translations/de.json +63 -0
- package/dist/0-face/translations/en.json +63 -0
- package/dist/0-face/translations/es.json +63 -0
- package/dist/0-face/translations/fi.json +63 -0
- package/dist/0-face/translations/fr.json +63 -0
- package/dist/0-face/translations/is.json +56 -0
- package/dist/0-face/translations/it.json +63 -0
- package/dist/0-face/translations/ja.json +63 -0
- package/dist/0-face/translations/ko.json +63 -0
- package/dist/0-face/translations/nb.json +63 -0
- package/dist/0-face/translations/pt-BR.json +63 -0
- package/dist/0-face/translations/pt.json +63 -0
- package/dist/0-face/translations/sv.json +63 -0
- package/dist/0-face/translations/zh.json +63 -0
- package/dist/0-face/translations-format.d.ts +62 -0
- package/dist/0-face/translations-format.d.ts.map +1 -0
- package/dist/0-face/translations-format.js +159 -0
- package/dist/1-root/palette.d.ts +31 -0
- package/dist/1-root/palette.d.ts.map +1 -0
- package/dist/1-root/palette.js +83 -0
- package/dist/2-core/ds-avatar.d.ts +82 -0
- package/dist/2-core/ds-avatar.d.ts.map +1 -0
- package/dist/2-core/ds-avatar.js +102 -0
- package/dist/2-core/ds-badge.d.ts +33 -0
- package/dist/2-core/ds-badge.d.ts.map +1 -0
- package/dist/2-core/ds-badge.js +77 -0
- package/dist/2-core/ds-banner.d.ts +68 -0
- package/dist/2-core/ds-banner.d.ts.map +1 -0
- package/dist/2-core/ds-banner.js +98 -0
- package/dist/2-core/ds-button.d.ts +102 -0
- package/dist/2-core/ds-button.d.ts.map +1 -0
- package/dist/2-core/ds-button.js +133 -0
- package/dist/2-core/ds-card.d.ts +39 -0
- package/dist/2-core/ds-card.d.ts.map +1 -0
- package/dist/2-core/ds-card.js +119 -0
- package/dist/2-core/ds-checkbox.d.ts +13 -0
- package/dist/2-core/ds-checkbox.d.ts.map +1 -0
- package/dist/2-core/ds-checkbox.js +11 -0
- package/dist/2-core/ds-color.d.ts +15 -0
- package/dist/2-core/ds-color.d.ts.map +1 -0
- package/dist/2-core/ds-color.js +30 -0
- package/dist/2-core/ds-composer.d.ts +69 -0
- package/dist/2-core/ds-composer.d.ts.map +1 -0
- package/dist/2-core/ds-composer.js +183 -0
- package/dist/2-core/ds-cycle.d.ts +85 -0
- package/dist/2-core/ds-cycle.d.ts.map +1 -0
- package/dist/2-core/ds-cycle.js +497 -0
- package/dist/2-core/ds-date.d.ts +16 -0
- package/dist/2-core/ds-date.d.ts.map +1 -0
- package/dist/2-core/ds-date.js +15 -0
- package/dist/2-core/ds-file-picker.d.ts +65 -0
- package/dist/2-core/ds-file-picker.d.ts.map +1 -0
- package/dist/2-core/ds-file-picker.js +80 -0
- package/dist/2-core/ds-gap.d.ts +27 -0
- package/dist/2-core/ds-gap.d.ts.map +1 -0
- package/dist/2-core/ds-gap.js +22 -0
- package/dist/2-core/ds-icon.d.ts +58 -0
- package/dist/2-core/ds-icon.d.ts.map +1 -0
- package/dist/2-core/ds-icon.js +128 -0
- package/dist/2-core/ds-input.d.ts +97 -0
- package/dist/2-core/ds-input.d.ts.map +1 -0
- package/dist/2-core/ds-input.js +429 -0
- package/dist/2-core/ds-language.d.ts +75 -0
- package/dist/2-core/ds-language.d.ts.map +1 -0
- package/dist/2-core/ds-language.js +74 -0
- package/dist/2-core/ds-pagedots.d.ts +32 -0
- package/dist/2-core/ds-pagedots.d.ts.map +1 -0
- package/dist/2-core/ds-pagedots.js +36 -0
- package/dist/2-core/ds-radio.d.ts +35 -0
- package/dist/2-core/ds-radio.d.ts.map +1 -0
- package/dist/2-core/ds-radio.js +19 -0
- package/dist/2-core/ds-select.d.ts +30 -0
- package/dist/2-core/ds-select.d.ts.map +1 -0
- package/dist/2-core/ds-select.js +45 -0
- package/dist/2-core/ds-split.d.ts +75 -0
- package/dist/2-core/ds-split.d.ts.map +1 -0
- package/dist/2-core/ds-split.js +101 -0
- package/dist/2-core/ds-swatch.d.ts +24 -0
- package/dist/2-core/ds-swatch.d.ts.map +1 -0
- package/dist/2-core/ds-swatch.js +16 -0
- package/dist/2-core/ds-switch.d.ts +13 -0
- package/dist/2-core/ds-switch.d.ts.map +1 -0
- package/dist/2-core/ds-switch.js +10 -0
- package/dist/2-core/ds-text.d.ts +75 -0
- package/dist/2-core/ds-text.d.ts.map +1 -0
- package/dist/2-core/ds-text.js +142 -0
- package/dist/2-core/ds-textarea.d.ts +46 -0
- package/dist/2-core/ds-textarea.d.ts.map +1 -0
- package/dist/2-core/ds-textarea.js +121 -0
- package/dist/2-core/ds-token.d.ts +48 -0
- package/dist/2-core/ds-token.d.ts.map +1 -0
- package/dist/2-core/ds-token.js +44 -0
- package/dist/2-core/ds-tooltip.d.ts +48 -0
- package/dist/2-core/ds-tooltip.d.ts.map +1 -0
- package/dist/2-core/ds-tooltip.js +99 -0
- package/dist/2-core/generated/ds-icon-map.d.ts +295 -0
- package/dist/2-core/generated/ds-icon-map.d.ts.map +1 -0
- package/dist/2-core/generated/ds-icon-map.js +579 -0
- package/dist/2-core/generated/icons-extra.d.ts +2 -0
- package/dist/2-core/generated/icons-extra.d.ts.map +1 -0
- package/dist/2-core/generated/icons-extra.js +243 -0
- package/dist/2-core/generated/icons-immediate.d.ts +3 -0
- package/dist/2-core/generated/icons-immediate.d.ts.map +1 -0
- package/dist/2-core/generated/icons-immediate.js +49 -0
- package/dist/3-unit/context-trigger.d.ts +22 -0
- package/dist/3-unit/context-trigger.d.ts.map +1 -0
- package/dist/3-unit/context-trigger.js +130 -0
- package/dist/3-unit/ds-accordion.d.ts +55 -0
- package/dist/3-unit/ds-accordion.d.ts.map +1 -0
- package/dist/3-unit/ds-accordion.js +105 -0
- package/dist/3-unit/ds-avatar-group.d.ts +40 -0
- package/dist/3-unit/ds-avatar-group.d.ts.map +1 -0
- package/dist/3-unit/ds-avatar-group.js +84 -0
- package/dist/3-unit/ds-form.d.ts +70 -0
- package/dist/3-unit/ds-form.d.ts.map +1 -0
- package/dist/3-unit/ds-form.js +232 -0
- package/dist/3-unit/ds-list.d.ts +25 -0
- package/dist/3-unit/ds-list.d.ts.map +1 -0
- package/dist/3-unit/ds-list.js +25 -0
- package/dist/3-unit/ds-menu.d.ts +162 -0
- package/dist/3-unit/ds-menu.d.ts.map +1 -0
- package/dist/3-unit/ds-menu.js +607 -0
- package/dist/3-unit/ds-row.d.ts +43 -0
- package/dist/3-unit/ds-row.d.ts.map +1 -0
- package/dist/3-unit/ds-row.js +32 -0
- package/dist/3-unit/ds-table.d.ts +33 -0
- package/dist/3-unit/ds-table.d.ts.map +1 -0
- package/dist/3-unit/ds-table.js +43 -0
- package/dist/3-unit/ds-tabs.d.ts +50 -0
- package/dist/3-unit/ds-tabs.d.ts.map +1 -0
- package/dist/3-unit/ds-tabs.js +64 -0
- package/dist/3-unit/ds-token-field.d.ts +64 -0
- package/dist/3-unit/ds-token-field.d.ts.map +1 -0
- package/dist/3-unit/ds-token-field.js +184 -0
- package/dist/4-page/ds-container.d.ts +17 -0
- package/dist/4-page/ds-container.d.ts.map +1 -0
- package/dist/4-page/ds-container.js +11 -0
- package/dist/4-page/ds-dialog.d.ts +105 -0
- package/dist/4-page/ds-dialog.d.ts.map +1 -0
- package/dist/4-page/ds-dialog.js +358 -0
- package/dist/4-page/ds-grid.d.ts +28 -0
- package/dist/4-page/ds-grid.d.ts.map +1 -0
- package/dist/4-page/ds-grid.js +49 -0
- package/dist/4-page/ds-layout.d.ts +31 -0
- package/dist/4-page/ds-layout.d.ts.map +1 -0
- package/dist/4-page/ds-layout.js +930 -0
- package/dist/4-page/ds-panel.d.ts +26 -0
- package/dist/4-page/ds-panel.d.ts.map +1 -0
- package/dist/4-page/ds-panel.js +29 -0
- package/dist/4-page/email.d.ts +49 -0
- package/dist/4-page/email.d.ts.map +1 -0
- package/dist/4-page/email.js +134 -0
- package/dist/components.d.ts +14 -0
- package/dist/components.d.ts.map +1 -0
- package/dist/components.js +13 -0
- package/dist/design-system-1.bundle.js +9115 -0
- package/dist/design-system-1.bundle.js.map +1 -0
- package/dist/design-system-1.bundle.min.js +6879 -0
- package/dist/design-system-1.bundle.min.js.map +1 -0
- package/dist/design-system-1.css +2 -0
- package/dist/icons-extra-BoAACA4X.js +944 -0
- package/dist/icons-extra-BoAACA4X.js.map +1 -0
- package/dist/icons-extra-DlxTo_Y4.js +247 -0
- package/dist/icons-extra-DlxTo_Y4.js.map +1 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +73 -0
- package/dist/react/accordion.d.ts +21 -0
- package/dist/react/accordion.d.ts.map +1 -0
- package/dist/react/accordion.js +30 -0
- package/dist/react/avatar-group.d.ts +6 -0
- package/dist/react/avatar-group.d.ts.map +1 -0
- package/dist/react/avatar-group.js +5 -0
- package/dist/react/avatar.d.ts +13 -0
- package/dist/react/avatar.d.ts.map +1 -0
- package/dist/react/avatar.js +18 -0
- package/dist/react/badge.d.ts +11 -0
- package/dist/react/badge.d.ts.map +1 -0
- package/dist/react/badge.js +4 -0
- package/dist/react/button.d.ts +13 -0
- package/dist/react/button.d.ts.map +1 -0
- package/dist/react/button.js +37 -0
- package/dist/react/choice.d.ts +43 -0
- package/dist/react/choice.d.ts.map +1 -0
- package/dist/react/choice.js +32 -0
- package/dist/react/composer.d.ts +17 -0
- package/dist/react/composer.d.ts.map +1 -0
- package/dist/react/composer.js +8 -0
- package/dist/react/context-menu.d.ts +657 -0
- package/dist/react/context-menu.d.ts.map +1 -0
- package/dist/react/context-menu.js +133 -0
- package/dist/react/dialog.d.ts +1173 -0
- package/dist/react/dialog.d.ts.map +1 -0
- package/dist/react/dialog.js +79 -0
- package/dist/react/file-picker.d.ts +29 -0
- package/dist/react/file-picker.d.ts.map +1 -0
- package/dist/react/file-picker.js +17 -0
- package/dist/react/input.d.ts +35 -0
- package/dist/react/input.d.ts.map +1 -0
- package/dist/react/input.js +128 -0
- package/dist/react/menu.d.ts +37 -0
- package/dist/react/menu.d.ts.map +1 -0
- package/dist/react/menu.js +31 -0
- package/dist/react/split.d.ts +15 -0
- package/dist/react/split.d.ts.map +1 -0
- package/dist/react/split.js +32 -0
- package/dist/react/token-field.d.ts +36 -0
- package/dist/react/token-field.d.ts.map +1 -0
- package/dist/react/token-field.js +33 -0
- package/dist/shared-words-Cg6Phtx0.js +915 -0
- package/dist/shared-words-Cg6Phtx0.js.map +1 -0
- package/dist/shared-words-Ddz0yUEF.js +933 -0
- package/dist/shared-words-Ddz0yUEF.js.map +1 -0
- package/package.json +149 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../DS1/0-face/preferences.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB,CAAC;AAEF,gFAAgF;AAChF,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QAAG,kBAAkB,CAAC,EAAE,iBAAiB,CAAC;KAAE;CAC7D;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,GAAG,MAAM,CAG1E;AAED,wBAAgB,eAAe,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI,CAc9D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function preferenceStorageKey(kind) {
|
|
2
|
+
const options = typeof window === "undefined" ? undefined : window.DS_ONE_PREFERENCES;
|
|
3
|
+
return (kind === "theme" ? options?.themeStorageKey : options?.storageKey) || `ds-one:${kind}`;
|
|
4
|
+
}
|
|
5
|
+
export function savePreferences(preferences) {
|
|
6
|
+
if (typeof window === "undefined") {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
try {
|
|
10
|
+
const key = preferenceStorageKey("preferences");
|
|
11
|
+
const raw = window.localStorage?.getItem(key);
|
|
12
|
+
const existing = raw ? JSON.parse(raw) : {};
|
|
13
|
+
const next = { ...existing, ...preferences };
|
|
14
|
+
window.localStorage?.setItem(key, JSON.stringify(next));
|
|
15
|
+
}
|
|
16
|
+
catch (error) {
|
|
17
|
+
console.warn("ds-one: unable to persist preferences", error);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Currency label utilities for regional price display
|
|
3
|
+
*
|
|
4
|
+
* Note: This module provides currency symbols/labels based on language and region.
|
|
5
|
+
* Consider moving this functionality into i18n.ts as it's region/locale-related.
|
|
6
|
+
* Actual price values will be stored in a database or managed via Stripe.
|
|
7
|
+
*/
|
|
8
|
+
import type { LanguageCode } from "./i18n";
|
|
9
|
+
type PriceLabelOptions = {
|
|
10
|
+
language: LanguageCode;
|
|
11
|
+
country?: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function getPriceLabel(options: PriceLabelOptions): string;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=pricing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricing.d.ts","sourceRoot":"","sources":["../../DS1/0-face/pricing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3C,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAgBF,wBAAgB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,MAAM,CA2BhE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Currency label utilities for regional price display
|
|
3
|
+
*
|
|
4
|
+
* Note: This module provides currency symbols/labels based on language and region.
|
|
5
|
+
* Consider moving this functionality into i18n.ts as it's region/locale-related.
|
|
6
|
+
* Actual price values will be stored in a database or managed via Stripe.
|
|
7
|
+
*/
|
|
8
|
+
// Simple price label mapping based on language/country
|
|
9
|
+
const PRICE_LABELS = {
|
|
10
|
+
da: "kr.",
|
|
11
|
+
nb: "kr.",
|
|
12
|
+
sv: "kr.",
|
|
13
|
+
de: "€",
|
|
14
|
+
en: "$",
|
|
15
|
+
pt: "€",
|
|
16
|
+
es: "€",
|
|
17
|
+
zh: "¥",
|
|
18
|
+
ja: "¥",
|
|
19
|
+
ko: "₩",
|
|
20
|
+
};
|
|
21
|
+
export function getPriceLabel(options) {
|
|
22
|
+
const { language, country } = options;
|
|
23
|
+
// If country is provided, try to map it to a currency
|
|
24
|
+
if (country) {
|
|
25
|
+
const countryUpper = country.toUpperCase();
|
|
26
|
+
// Add country-specific mappings if needed
|
|
27
|
+
if (countryUpper === "US" || countryUpper === "USA") {
|
|
28
|
+
return "$";
|
|
29
|
+
}
|
|
30
|
+
if (countryUpper === "GB" || countryUpper === "UK") {
|
|
31
|
+
return "£";
|
|
32
|
+
}
|
|
33
|
+
if (countryUpper === "JP" || countryUpper === "JPN") {
|
|
34
|
+
return "¥";
|
|
35
|
+
}
|
|
36
|
+
if (countryUpper === "CN" || countryUpper === "CHN") {
|
|
37
|
+
return "¥";
|
|
38
|
+
}
|
|
39
|
+
if (countryUpper === "KR" || countryUpper === "KOR") {
|
|
40
|
+
return "₩";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
// Fall back to language-based mapping
|
|
44
|
+
const primaryLang = language.toLowerCase().split(/[-_]/)[0];
|
|
45
|
+
return PRICE_LABELS[primaryLang] || "$";
|
|
46
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ScalingMode = "auto" | "fixed" | "fluid";
|
|
2
|
+
export interface ScalingConfig {
|
|
3
|
+
mode: ScalingMode;
|
|
4
|
+
baseWidth: number;
|
|
5
|
+
minScale: number;
|
|
6
|
+
maxScale: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const defaultScalingConfig: ScalingConfig;
|
|
9
|
+
export declare function calculateScalingFactor(viewportWidth: number, config?: ScalingConfig): number;
|
|
10
|
+
//# sourceMappingURL=scaling.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scaling.d.ts","sourceRoot":"","sources":["../../DS1/0-face/scaling.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAErD,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAMD,eAAO,MAAM,oBAAoB,EAAE,aAKlC,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,GAAE,aAAoC,GAAG,MAAM,CAGlH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Configuration & Signals
|
|
3
|
+
// ============================================================================
|
|
4
|
+
export const defaultScalingConfig = {
|
|
5
|
+
mode: "auto",
|
|
6
|
+
baseWidth: 280,
|
|
7
|
+
minScale: 0.75,
|
|
8
|
+
maxScale: 2.0,
|
|
9
|
+
};
|
|
10
|
+
export function calculateScalingFactor(viewportWidth, config = defaultScalingConfig) {
|
|
11
|
+
if (config.mode === "fixed")
|
|
12
|
+
return 1;
|
|
13
|
+
return Number(Math.max(config.minScale, Math.min(config.maxScale, viewportWidth / config.baseWidth)).toFixed(3));
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The interface words every product shares: common buttons, sign-in, empty
|
|
3
|
+
* states, dates, the settings ds-cycle shows, ds-banner's words and the
|
|
4
|
+
* names of the languages. Keyed by the English sentence, in the translations
|
|
5
|
+
* file format, one file per language in `./translations/`.
|
|
6
|
+
*
|
|
7
|
+
* A product turns them on with `configureI18n({ sharedWords: true })`; they
|
|
8
|
+
* sit beneath the product's own words, so the product's text wins. `nn` and
|
|
9
|
+
* `no` have no file of their own and read `nb`'s; a word missing from a
|
|
10
|
+
* language reads English.
|
|
11
|
+
*/
|
|
12
|
+
import type { TranslationsFile } from "./translations-format";
|
|
13
|
+
export declare const SHARED_WORDS: TranslationsFile;
|
|
14
|
+
//# sourceMappingURL=shared-words.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-words.d.ts","sourceRoot":"","sources":["../../DS1/0-face/shared-words.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAiB9D,eAAO,MAAM,YAAY,EAAE,gBAgB1B,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import da from "./translations/da.json";
|
|
2
|
+
import de from "./translations/de.json";
|
|
3
|
+
import en from "./translations/en.json";
|
|
4
|
+
import es from "./translations/es.json";
|
|
5
|
+
import fi from "./translations/fi.json";
|
|
6
|
+
import fr from "./translations/fr.json";
|
|
7
|
+
import is from "./translations/is.json";
|
|
8
|
+
import it from "./translations/it.json";
|
|
9
|
+
import ja from "./translations/ja.json";
|
|
10
|
+
import ko from "./translations/ko.json";
|
|
11
|
+
import nb from "./translations/nb.json";
|
|
12
|
+
import pt from "./translations/pt.json";
|
|
13
|
+
import ptBR from "./translations/pt-BR.json";
|
|
14
|
+
import sv from "./translations/sv.json";
|
|
15
|
+
import zh from "./translations/zh.json";
|
|
16
|
+
export const SHARED_WORDS = {
|
|
17
|
+
...en,
|
|
18
|
+
...da,
|
|
19
|
+
...de,
|
|
20
|
+
...es,
|
|
21
|
+
...fi,
|
|
22
|
+
...fr,
|
|
23
|
+
...is,
|
|
24
|
+
...it,
|
|
25
|
+
...ja,
|
|
26
|
+
...ko,
|
|
27
|
+
...nb,
|
|
28
|
+
...pt,
|
|
29
|
+
...ptBR,
|
|
30
|
+
...sv,
|
|
31
|
+
...zh,
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../DS1/0-face/theme.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAkBzC,eAAO,MAAM,YAAY,qDAAuC,CAAC;AAEjE,wBAAgB,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,CAwB/C"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { signal } from "@lit-labs/signals";
|
|
2
|
+
import { preferenceStorageKey } from "./preferences";
|
|
3
|
+
function getInitialTheme() {
|
|
4
|
+
if (typeof window === "undefined") {
|
|
5
|
+
return "light";
|
|
6
|
+
}
|
|
7
|
+
let storedTheme = null;
|
|
8
|
+
try {
|
|
9
|
+
storedTheme = window.localStorage?.getItem(preferenceStorageKey("theme"));
|
|
10
|
+
}
|
|
11
|
+
catch { /* Storage can be unavailable. */ }
|
|
12
|
+
if (storedTheme === "light" || storedTheme === "dark") {
|
|
13
|
+
return storedTheme;
|
|
14
|
+
}
|
|
15
|
+
// Check system preference
|
|
16
|
+
const prefersDark = window.matchMedia?.("(prefers-color-scheme: dark)").matches;
|
|
17
|
+
return prefersDark ? "dark" : "light";
|
|
18
|
+
}
|
|
19
|
+
export const currentTheme = signal(getInitialTheme());
|
|
20
|
+
export function setTheme(theme) {
|
|
21
|
+
if (theme === currentTheme.get()) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
currentTheme.set(theme);
|
|
25
|
+
if (typeof window !== "undefined") {
|
|
26
|
+
try {
|
|
27
|
+
window.localStorage?.setItem(preferenceStorageKey("theme"), theme);
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.warn("ds-one: unable to persist theme preference", error);
|
|
31
|
+
}
|
|
32
|
+
const root = window.document?.documentElement;
|
|
33
|
+
if (root) {
|
|
34
|
+
root.classList.remove("light-theme", "dark-theme");
|
|
35
|
+
root.classList.add(`${theme}-theme`);
|
|
36
|
+
}
|
|
37
|
+
window.dispatchEvent(new CustomEvent("theme-changed", { detail: { theme } }));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
// Initialize theme on load
|
|
41
|
+
if (typeof window !== "undefined") {
|
|
42
|
+
const theme = currentTheme.get();
|
|
43
|
+
const root = window.document?.documentElement;
|
|
44
|
+
if (root) {
|
|
45
|
+
root.classList.remove("light-theme", "dark-theme");
|
|
46
|
+
root.classList.add(`${theme}-theme`);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One tooltip for a whole page: any element with `data-tooltip="…"` shows its text in Design system 1's tooltip,
|
|
3
|
+
* Ezo's label: 16px high, black with white text (white on black in dark mode), 4px corners, 14px regular, 2.5px at
|
|
4
|
+
* the sides, two pixels above the element, shown at once. `data-tooltip-colour` gives it a colour of its own. The same look as `<ds-tooltip>`, without wrapping each element in a component, so a table of
|
|
5
|
+
* hundreds of cells can carry one each. Long text wraps at 320px on 20px lines.
|
|
6
|
+
*/
|
|
7
|
+
export declare function initTooltips(): void;
|
|
8
|
+
//# sourceMappingURL=tooltips.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltips.d.ts","sourceRoot":"","sources":["../../DS1/0-face/tooltips.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,YAAY,IAAI,IAAI,CAsEnC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One tooltip for a whole page: any element with `data-tooltip="…"` shows its text in Design system 1's tooltip,
|
|
3
|
+
* Ezo's label: 16px high, black with white text (white on black in dark mode), 4px corners, 14px regular, 2.5px at
|
|
4
|
+
* the sides, two pixels above the element, shown at once. `data-tooltip-colour` gives it a colour of its own. The same look as `<ds-tooltip>`, without wrapping each element in a component, so a table of
|
|
5
|
+
* hundreds of cells can carry one each. Long text wraps at 320px on 20px lines.
|
|
6
|
+
*/
|
|
7
|
+
export function initTooltips() {
|
|
8
|
+
if (typeof document === "undefined")
|
|
9
|
+
return;
|
|
10
|
+
const root = document.documentElement;
|
|
11
|
+
if (root.hasAttribute("data-ds-tooltips-ready"))
|
|
12
|
+
return;
|
|
13
|
+
root.setAttribute("data-ds-tooltips-ready", "");
|
|
14
|
+
const bubble = document.createElement("div");
|
|
15
|
+
bubble.setAttribute("data-ds-tooltip", "");
|
|
16
|
+
bubble.setAttribute("role", "tooltip");
|
|
17
|
+
bubble.id = "ds-tooltip";
|
|
18
|
+
const style = document.createElement("style");
|
|
19
|
+
style.textContent = `
|
|
20
|
+
[data-ds-tooltip] {
|
|
21
|
+
position: fixed; z-index: 2147483646; top: 0; left: 0; pointer-events: none; visibility: hidden;
|
|
22
|
+
max-width: 320px; min-height: 16px; box-sizing: border-box; padding: 0 2.5px; border-radius: 4px;
|
|
23
|
+
background: var(--ds-tooltip-background, light-dark(#000, #fff));
|
|
24
|
+
color: var(--ds-tooltip-color, light-dark(#fff, #000));
|
|
25
|
+
font-family: var(--typeface-regular, var(--font-regular, system-ui)), sans-serif;
|
|
26
|
+
font-size: 14px; font-weight: 400; line-height: 16px; letter-spacing: 0; white-space: nowrap;
|
|
27
|
+
}
|
|
28
|
+
[data-ds-tooltip].is-wide { white-space: normal; }
|
|
29
|
+
[data-ds-tooltip].is-visible { visibility: visible; }
|
|
30
|
+
@media print { [data-ds-tooltip] { display: none; } }
|
|
31
|
+
`;
|
|
32
|
+
document.head.appendChild(style);
|
|
33
|
+
document.body.appendChild(bubble);
|
|
34
|
+
let current = null;
|
|
35
|
+
const place = (target) => {
|
|
36
|
+
const box = target.getBoundingClientRect();
|
|
37
|
+
const width = bubble.offsetWidth;
|
|
38
|
+
const height = bubble.offsetHeight;
|
|
39
|
+
const left = Math.min(Math.max(4, box.left + box.width / 2 - width / 2), window.innerWidth - width - 4);
|
|
40
|
+
// Above the element, two pixels clear; below it when there is no room above.
|
|
41
|
+
const top = box.top - height - 2 >= 4 ? box.top - height - 2 : box.bottom + 2;
|
|
42
|
+
bubble.style.transform = `translate(${Math.round(left)}px, ${Math.round(top)}px)`;
|
|
43
|
+
};
|
|
44
|
+
const show = (target) => {
|
|
45
|
+
const text = target.dataset.tooltip;
|
|
46
|
+
if (!text)
|
|
47
|
+
return;
|
|
48
|
+
current = target;
|
|
49
|
+
bubble.textContent = text;
|
|
50
|
+
// A colour of its own, as Ezo's labels take the accent: data-tooltip-colour="#f5aad1", lettered in the ink.
|
|
51
|
+
const colour = target.dataset.tooltipColour;
|
|
52
|
+
bubble.style.setProperty("--ds-tooltip-background", colour || "");
|
|
53
|
+
bubble.style.setProperty("--ds-tooltip-color", colour ? "#1e1e1e" : "");
|
|
54
|
+
if (!colour) {
|
|
55
|
+
bubble.style.removeProperty("--ds-tooltip-background");
|
|
56
|
+
bubble.style.removeProperty("--ds-tooltip-color");
|
|
57
|
+
}
|
|
58
|
+
// One line, as Ezo's; a long text wraps at 320px instead of running off the page.
|
|
59
|
+
bubble.classList.remove("is-wide");
|
|
60
|
+
if (bubble.scrollWidth > 320)
|
|
61
|
+
bubble.classList.add("is-wide");
|
|
62
|
+
target.setAttribute("aria-describedby", bubble.id);
|
|
63
|
+
place(target);
|
|
64
|
+
bubble.classList.add("is-visible");
|
|
65
|
+
};
|
|
66
|
+
const hide = () => {
|
|
67
|
+
current?.removeAttribute("aria-describedby");
|
|
68
|
+
current = null;
|
|
69
|
+
bubble.classList.remove("is-visible");
|
|
70
|
+
};
|
|
71
|
+
const find = (event) => event.target?.closest?.("[data-tooltip]") ?? null;
|
|
72
|
+
document.addEventListener("pointerover", (event) => {
|
|
73
|
+
const target = find(event);
|
|
74
|
+
if (target !== current)
|
|
75
|
+
target ? show(target) : hide();
|
|
76
|
+
}, { passive: true });
|
|
77
|
+
document.addEventListener("pointerleave", hide, { passive: true });
|
|
78
|
+
document.addEventListener("focusin", (event) => { const target = find(event); if (target)
|
|
79
|
+
show(target); });
|
|
80
|
+
document.addEventListener("focusout", hide);
|
|
81
|
+
document.addEventListener("keydown", (event) => { if (event.key === "Escape")
|
|
82
|
+
hide(); });
|
|
83
|
+
window.addEventListener("scroll", hide, { passive: true, capture: true });
|
|
84
|
+
}
|
|
85
|
+
if (typeof document !== "undefined") {
|
|
86
|
+
if (document.readyState === "loading")
|
|
87
|
+
document.addEventListener("DOMContentLoaded", initTooltips, { once: true });
|
|
88
|
+
else
|
|
89
|
+
initTooltips();
|
|
90
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"da": {
|
|
3
|
+
"Save": "Gem",
|
|
4
|
+
"Cancel": "Annuller",
|
|
5
|
+
"Delete": "Slet",
|
|
6
|
+
"Close": "Luk",
|
|
7
|
+
"Back": "Tilbage",
|
|
8
|
+
"Next": "Næste",
|
|
9
|
+
"Done": "Færdig",
|
|
10
|
+
"Continue": "Fortsæt",
|
|
11
|
+
"Search": "Søg",
|
|
12
|
+
"Edit": "Rediger",
|
|
13
|
+
"Yes": "Ja",
|
|
14
|
+
"No": "Nej",
|
|
15
|
+
"Sign in": "Log ind",
|
|
16
|
+
"Sign out": "Log ud",
|
|
17
|
+
"Email": "E-mail",
|
|
18
|
+
"Password": "Adgangskode",
|
|
19
|
+
"Nothing here yet": "Intet her endnu",
|
|
20
|
+
"Today": "I dag",
|
|
21
|
+
"Yesterday": "I går",
|
|
22
|
+
"Tomorrow": "I morgen",
|
|
23
|
+
"Settings": "Indstillinger",
|
|
24
|
+
"Language": "Sprog",
|
|
25
|
+
"Theme": "Tema",
|
|
26
|
+
"Light": "Lys",
|
|
27
|
+
"Dark": "Mørk",
|
|
28
|
+
"Note": "Note",
|
|
29
|
+
"Page": "Side",
|
|
30
|
+
"Red": "Rød",
|
|
31
|
+
"Orange": "Orange",
|
|
32
|
+
"Yellow": "Gul",
|
|
33
|
+
"Apple green": "Æblegrøn",
|
|
34
|
+
"Green": "Grøn",
|
|
35
|
+
"Light blue": "Lyseblå",
|
|
36
|
+
"Blue": "Blå",
|
|
37
|
+
"Pink": "Lyserød",
|
|
38
|
+
"This is a beta version": "Dette er en betaversion",
|
|
39
|
+
"Report issue": "Rapportér et problem",
|
|
40
|
+
"Issue report": "Problemrapport",
|
|
41
|
+
"Describe the issue:": "Beskriv problemet:",
|
|
42
|
+
"App version:": "App-version:",
|
|
43
|
+
"Danish": "Dansk",
|
|
44
|
+
"German": "Tysk",
|
|
45
|
+
"English": "Engelsk",
|
|
46
|
+
"Spanish": "Spansk",
|
|
47
|
+
"Finnish": "Finsk",
|
|
48
|
+
"French": "Fransk",
|
|
49
|
+
"Icelandic": "Islandsk",
|
|
50
|
+
"Italian": "Italiensk",
|
|
51
|
+
"Japanese": "Japansk",
|
|
52
|
+
"Korean": "Koreansk",
|
|
53
|
+
"Norwegian Bokmål": "Norsk bokmål",
|
|
54
|
+
"Norwegian Nynorsk": "Nynorsk",
|
|
55
|
+
"Norwegian": "Norsk",
|
|
56
|
+
"Portuguese": "Portugisisk",
|
|
57
|
+
"Brazilian Portuguese": "Brasiliansk portugisisk",
|
|
58
|
+
"Swedish": "Svensk",
|
|
59
|
+
"Chinese": "Kinesisk",
|
|
60
|
+
"Show password": "Vis adgangskode",
|
|
61
|
+
"Hide password": "Skjul adgangskode"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"de": {
|
|
3
|
+
"Save": "Speichern",
|
|
4
|
+
"Cancel": "Abbrechen",
|
|
5
|
+
"Delete": "Löschen",
|
|
6
|
+
"Close": "Schließen",
|
|
7
|
+
"Back": "Zurück",
|
|
8
|
+
"Next": "Weiter",
|
|
9
|
+
"Done": "Fertig",
|
|
10
|
+
"Continue": "Weiter",
|
|
11
|
+
"Search": "Suchen",
|
|
12
|
+
"Edit": "Bearbeiten",
|
|
13
|
+
"Yes": "Ja",
|
|
14
|
+
"No": "Nein",
|
|
15
|
+
"Sign in": "Anmelden",
|
|
16
|
+
"Sign out": "Abmelden",
|
|
17
|
+
"Email": "E-Mail",
|
|
18
|
+
"Password": "Passwort",
|
|
19
|
+
"Nothing here yet": "Hier ist noch nichts",
|
|
20
|
+
"Today": "Heute",
|
|
21
|
+
"Yesterday": "Gestern",
|
|
22
|
+
"Tomorrow": "Morgen",
|
|
23
|
+
"Settings": "Einstellungen",
|
|
24
|
+
"Language": "Sprache",
|
|
25
|
+
"Theme": "Thema",
|
|
26
|
+
"Light": "Hell",
|
|
27
|
+
"Dark": "Dunkel",
|
|
28
|
+
"Note": "Notiz",
|
|
29
|
+
"Page": "Seite",
|
|
30
|
+
"Red": "Rot",
|
|
31
|
+
"Orange": "Orange",
|
|
32
|
+
"Yellow": "Gelb",
|
|
33
|
+
"Apple green": "Apfelgrün",
|
|
34
|
+
"Green": "Grün",
|
|
35
|
+
"Light blue": "Hellblau",
|
|
36
|
+
"Blue": "Blau",
|
|
37
|
+
"Pink": "Rosa",
|
|
38
|
+
"This is a beta version": "Dies ist eine Betaversion",
|
|
39
|
+
"Report issue": "Problem melden",
|
|
40
|
+
"Issue report": "Problembericht",
|
|
41
|
+
"Describe the issue:": "Beschreiben Sie das Problem:",
|
|
42
|
+
"App version:": "App-Version:",
|
|
43
|
+
"Danish": "Dänisch",
|
|
44
|
+
"German": "Deutsch",
|
|
45
|
+
"English": "Englisch",
|
|
46
|
+
"Spanish": "Spanisch",
|
|
47
|
+
"Finnish": "Finnisch",
|
|
48
|
+
"French": "Französisch",
|
|
49
|
+
"Icelandic": "Isländisch",
|
|
50
|
+
"Italian": "Italienisch",
|
|
51
|
+
"Japanese": "Japanisch",
|
|
52
|
+
"Korean": "Koreanisch",
|
|
53
|
+
"Norwegian Bokmål": "Norwegisch (Bokmål)",
|
|
54
|
+
"Norwegian Nynorsk": "Norwegisch (Nynorsk)",
|
|
55
|
+
"Norwegian": "Norwegisch",
|
|
56
|
+
"Portuguese": "Portugiesisch",
|
|
57
|
+
"Brazilian Portuguese": "Brasilianisches Portugiesisch",
|
|
58
|
+
"Swedish": "Schwedisch",
|
|
59
|
+
"Chinese": "Chinesisch",
|
|
60
|
+
"Show password": "Passwort anzeigen",
|
|
61
|
+
"Hide password": "Passwort verbergen"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"Save": "Save",
|
|
4
|
+
"Cancel": "Cancel",
|
|
5
|
+
"Delete": "Delete",
|
|
6
|
+
"Close": "Close",
|
|
7
|
+
"Back": "Back",
|
|
8
|
+
"Next": "Next",
|
|
9
|
+
"Done": "Done",
|
|
10
|
+
"Continue": "Continue",
|
|
11
|
+
"Search": "Search",
|
|
12
|
+
"Edit": "Edit",
|
|
13
|
+
"Yes": "Yes",
|
|
14
|
+
"No": "No",
|
|
15
|
+
"Sign in": "Sign in",
|
|
16
|
+
"Sign out": "Sign out",
|
|
17
|
+
"Email": "Email",
|
|
18
|
+
"Password": "Password",
|
|
19
|
+
"Nothing here yet": "Nothing here yet",
|
|
20
|
+
"Today": "Today",
|
|
21
|
+
"Yesterday": "Yesterday",
|
|
22
|
+
"Tomorrow": "Tomorrow",
|
|
23
|
+
"Settings": "Settings",
|
|
24
|
+
"Language": "Language",
|
|
25
|
+
"Theme": "Theme",
|
|
26
|
+
"Light": "Light",
|
|
27
|
+
"Dark": "Dark",
|
|
28
|
+
"Note": "Note",
|
|
29
|
+
"Page": "Page",
|
|
30
|
+
"Red": "Red",
|
|
31
|
+
"Orange": "Orange",
|
|
32
|
+
"Yellow": "Yellow",
|
|
33
|
+
"Apple green": "Apple green",
|
|
34
|
+
"Green": "Green",
|
|
35
|
+
"Light blue": "Light blue",
|
|
36
|
+
"Blue": "Blue",
|
|
37
|
+
"Pink": "Pink",
|
|
38
|
+
"This is a beta version": "This is a beta version",
|
|
39
|
+
"Report issue": "Report issue",
|
|
40
|
+
"Issue report": "Issue report",
|
|
41
|
+
"Describe the issue:": "Describe the issue:",
|
|
42
|
+
"App version:": "App version:",
|
|
43
|
+
"Danish": "Danish",
|
|
44
|
+
"German": "German",
|
|
45
|
+
"English": "English",
|
|
46
|
+
"Spanish": "Spanish",
|
|
47
|
+
"Finnish": "Finnish",
|
|
48
|
+
"French": "French",
|
|
49
|
+
"Icelandic": "Icelandic",
|
|
50
|
+
"Italian": "Italian",
|
|
51
|
+
"Japanese": "Japanese",
|
|
52
|
+
"Korean": "Korean",
|
|
53
|
+
"Norwegian Bokmål": "Norwegian Bokmål",
|
|
54
|
+
"Norwegian Nynorsk": "Norwegian Nynorsk",
|
|
55
|
+
"Norwegian": "Norwegian",
|
|
56
|
+
"Portuguese": "Portuguese",
|
|
57
|
+
"Brazilian Portuguese": "Brazilian Portuguese",
|
|
58
|
+
"Swedish": "Swedish",
|
|
59
|
+
"Chinese": "Chinese",
|
|
60
|
+
"Show password": "Show password",
|
|
61
|
+
"Hide password": "Hide password"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"es": {
|
|
3
|
+
"Save": "Guardar",
|
|
4
|
+
"Cancel": "Cancelar",
|
|
5
|
+
"Delete": "Eliminar",
|
|
6
|
+
"Close": "Cerrar",
|
|
7
|
+
"Back": "Atrás",
|
|
8
|
+
"Next": "Siguiente",
|
|
9
|
+
"Done": "Listo",
|
|
10
|
+
"Continue": "Continuar",
|
|
11
|
+
"Search": "Buscar",
|
|
12
|
+
"Edit": "Editar",
|
|
13
|
+
"Yes": "Sí",
|
|
14
|
+
"No": "No",
|
|
15
|
+
"Sign in": "Iniciar sesión",
|
|
16
|
+
"Sign out": "Cerrar sesión",
|
|
17
|
+
"Email": "Correo electrónico",
|
|
18
|
+
"Password": "Contraseña",
|
|
19
|
+
"Nothing here yet": "Aún no hay nada aquí",
|
|
20
|
+
"Today": "Hoy",
|
|
21
|
+
"Yesterday": "Ayer",
|
|
22
|
+
"Tomorrow": "Mañana",
|
|
23
|
+
"Settings": "Ajustes",
|
|
24
|
+
"Language": "Idioma",
|
|
25
|
+
"Theme": "Tema",
|
|
26
|
+
"Light": "Claro",
|
|
27
|
+
"Dark": "Oscuro",
|
|
28
|
+
"Note": "Nota",
|
|
29
|
+
"Page": "Página",
|
|
30
|
+
"Red": "Rojo",
|
|
31
|
+
"Orange": "Naranja",
|
|
32
|
+
"Yellow": "Amarillo",
|
|
33
|
+
"Apple green": "Verde manzana",
|
|
34
|
+
"Green": "Verde",
|
|
35
|
+
"Light blue": "Azul claro",
|
|
36
|
+
"Blue": "Azul",
|
|
37
|
+
"Pink": "Rosa",
|
|
38
|
+
"This is a beta version": "Esta es una versión beta",
|
|
39
|
+
"Report issue": "Informar de un problema",
|
|
40
|
+
"Issue report": "Informe de problema",
|
|
41
|
+
"Describe the issue:": "Describe el problema:",
|
|
42
|
+
"App version:": "Versión de la app:",
|
|
43
|
+
"Danish": "Danés",
|
|
44
|
+
"German": "Alemán",
|
|
45
|
+
"English": "Inglés",
|
|
46
|
+
"Spanish": "Español",
|
|
47
|
+
"Finnish": "Finés",
|
|
48
|
+
"French": "Francés",
|
|
49
|
+
"Icelandic": "Islandés",
|
|
50
|
+
"Italian": "Italiano",
|
|
51
|
+
"Japanese": "Japonés",
|
|
52
|
+
"Korean": "Coreano",
|
|
53
|
+
"Norwegian Bokmål": "Noruego bokmal",
|
|
54
|
+
"Norwegian Nynorsk": "Noruego nynorsk",
|
|
55
|
+
"Norwegian": "Noruego",
|
|
56
|
+
"Portuguese": "Portugués",
|
|
57
|
+
"Brazilian Portuguese": "Portugués de Brasil",
|
|
58
|
+
"Swedish": "Sueco",
|
|
59
|
+
"Chinese": "Chino",
|
|
60
|
+
"Show password": "Mostrar contraseña",
|
|
61
|
+
"Hide password": "Ocultar contraseña"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fi": {
|
|
3
|
+
"Save": "Tallenna",
|
|
4
|
+
"Cancel": "Peruuta",
|
|
5
|
+
"Delete": "Poista",
|
|
6
|
+
"Close": "Sulje",
|
|
7
|
+
"Back": "Takaisin",
|
|
8
|
+
"Next": "Seuraava",
|
|
9
|
+
"Done": "Valmis",
|
|
10
|
+
"Continue": "Jatka",
|
|
11
|
+
"Search": "Hae",
|
|
12
|
+
"Edit": "Muokkaa",
|
|
13
|
+
"Yes": "Kyllä",
|
|
14
|
+
"No": "Ei",
|
|
15
|
+
"Sign in": "Kirjaudu sisään",
|
|
16
|
+
"Sign out": "Kirjaudu ulos",
|
|
17
|
+
"Email": "Sähköposti",
|
|
18
|
+
"Password": "Salasana",
|
|
19
|
+
"Nothing here yet": "Täällä ei ole vielä mitään",
|
|
20
|
+
"Today": "Tänään",
|
|
21
|
+
"Yesterday": "Eilen",
|
|
22
|
+
"Tomorrow": "Huomenna",
|
|
23
|
+
"Settings": "Asetukset",
|
|
24
|
+
"Language": "Kieli",
|
|
25
|
+
"Theme": "Teema",
|
|
26
|
+
"Light": "Vaalea",
|
|
27
|
+
"Dark": "Tumma",
|
|
28
|
+
"Note": "Muistiinpano",
|
|
29
|
+
"Page": "Sivu",
|
|
30
|
+
"Red": "Punainen",
|
|
31
|
+
"Orange": "Oranssi",
|
|
32
|
+
"Yellow": "Keltainen",
|
|
33
|
+
"Apple green": "Omenanvihreä",
|
|
34
|
+
"Green": "Vihreä",
|
|
35
|
+
"Light blue": "Vaaleansininen",
|
|
36
|
+
"Blue": "Sininen",
|
|
37
|
+
"Pink": "Vaaleanpunainen",
|
|
38
|
+
"This is a beta version": "Tämä on beetaversio",
|
|
39
|
+
"Report issue": "Ilmoita ongelmasta",
|
|
40
|
+
"Issue report": "Ongelmaraportti",
|
|
41
|
+
"Describe the issue:": "Kuvaile ongelma:",
|
|
42
|
+
"App version:": "Sovelluksen versio:",
|
|
43
|
+
"Danish": "Tanska",
|
|
44
|
+
"German": "Saksa",
|
|
45
|
+
"English": "Englanti",
|
|
46
|
+
"Spanish": "Espanja",
|
|
47
|
+
"Finnish": "Suomi",
|
|
48
|
+
"French": "Ranska",
|
|
49
|
+
"Icelandic": "Islanti",
|
|
50
|
+
"Italian": "Italia",
|
|
51
|
+
"Japanese": "Japani",
|
|
52
|
+
"Korean": "Korea",
|
|
53
|
+
"Norwegian Bokmål": "Norjan bokmål",
|
|
54
|
+
"Norwegian Nynorsk": "Norjan nynorsk",
|
|
55
|
+
"Norwegian": "Norja",
|
|
56
|
+
"Portuguese": "Portugali",
|
|
57
|
+
"Brazilian Portuguese": "Brasilianportugali",
|
|
58
|
+
"Swedish": "Ruotsi",
|
|
59
|
+
"Chinese": "Kiina",
|
|
60
|
+
"Show password": "Näytä salasana",
|
|
61
|
+
"Hide password": "Piilota salasana"
|
|
62
|
+
}
|
|
63
|
+
}
|