@octans/ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +226 -0
- package/bin/octans-icons.mjs +208 -0
- package/dist/components/ActionList/ActionList.vue.d.ts +77 -0
- package/dist/components/ActionList/ActionListButton.vue.d.ts +85 -0
- package/dist/components/ActionList/ActionListMenu.vue.d.ts +18 -0
- package/dist/components/ActionList/index.d.ts +1 -0
- package/dist/components/AppFrame/AppFrame.vue.d.ts +26 -0
- package/dist/components/AppFrame/context.d.ts +40 -0
- package/dist/components/AppFrame/index.d.ts +3 -0
- package/dist/components/AppFrame/types.d.ts +52 -0
- package/dist/components/Badge/Badge.vue.d.ts +125 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/Banner/Banner.vue.d.ts +239 -0
- package/dist/components/Banner/index.d.ts +1 -0
- package/dist/components/Button/Button.vue.d.ts +284 -0
- package/dist/components/Button/ButtonGroup.vue.d.ts +44 -0
- package/dist/components/Button/ButtonGroupItem.vue.d.ts +5 -0
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +15 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/Calendar/types.d.ts +39 -0
- package/dist/components/CalendarHeatmap/CalendarHeatmap.vue.d.ts +21 -0
- package/dist/components/CalendarHeatmap/index.d.ts +2 -0
- package/dist/components/CalendarHeatmap/types.d.ts +168 -0
- package/dist/components/Caption/Caption.vue.d.ts +5 -0
- package/dist/components/Caption/index.d.ts +1 -0
- package/dist/components/Card/Card.vue.d.ts +82 -0
- package/dist/components/Card/CardSection.vue.d.ts +89 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/utils.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +171 -0
- package/dist/components/Checkbox/CheckboxControl.vue.d.ts +59 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Choice/Choice.vue.d.ts +102 -0
- package/dist/components/Choice/index.d.ts +1 -0
- package/dist/components/ChoiceList/ChoiceList.vue.d.ts +199 -0
- package/dist/components/ChoiceList/index.d.ts +2 -0
- package/dist/components/ChoiceList/types.d.ts +31 -0
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts +18 -0
- package/dist/components/ColorPicker/index.d.ts +2 -0
- package/dist/components/ColorPicker/types.d.ts +62 -0
- package/dist/components/ColorSelector/ColorSelector.vue.d.ts +34 -0
- package/dist/components/ColorSelector/index.d.ts +2 -0
- package/dist/components/ColorSelector/types.d.ts +143 -0
- package/dist/components/DataTable/BulkActions.vue.d.ts +282 -0
- package/dist/components/DataTable/DataTable.vue.d.ts +40 -0
- package/dist/components/DataTable/DataTableFooter.vue.d.ts +22 -0
- package/dist/components/DataTable/index.d.ts +2 -0
- package/dist/components/DataTable/types.d.ts +249 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +17 -0
- package/dist/components/DatePicker/index.d.ts +4 -0
- package/dist/components/DatePicker/types.d.ts +57 -0
- package/dist/components/Divider/Divider.vue.d.ts +20 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/types.d.ts +76 -0
- package/dist/components/EventDelegator/EventDelegator.vue.d.ts +18 -0
- package/dist/components/EventDelegator/index.d.ts +1 -0
- package/dist/components/EventDelegator/utils.d.ts +25 -0
- package/dist/components/FileInput/DropZone.vue.d.ts +67 -0
- package/dist/components/FileInput/FileInput.vue.d.ts +422 -0
- package/dist/components/FileInput/ItemList.vue.d.ts +109 -0
- package/dist/components/FileInput/index.d.ts +1 -0
- package/dist/components/FileInput/utils.d.ts +15 -0
- package/dist/components/Filters/FilterActions.vue.d.ts +236 -0
- package/dist/components/Filters/FilterItem.vue.d.ts +813 -0
- package/dist/components/Filters/Filters.vue.d.ts +1627 -0
- package/dist/components/Filters/index.d.ts +1 -0
- package/dist/components/Filters/utils.d.ts +1 -0
- package/dist/components/FooterHelp/FooterHelp.vue.d.ts +16 -0
- package/dist/components/FooterHelp/index.d.ts +1 -0
- package/dist/components/FormLayout/FormLayout.vue.d.ts +5 -0
- package/dist/components/FormLayout/FormLayoutGroup.vue.d.ts +17 -0
- package/dist/components/FormLayout/index.d.ts +2 -0
- package/dist/components/Formatter/Formatter.vue.d.ts +42 -0
- package/dist/components/Formatter/index.d.ts +1 -0
- package/dist/components/GlobalNav/GlobalNav.vue.d.ts +33 -0
- package/dist/components/GlobalNav/index.d.ts +2 -0
- package/dist/components/GlobalNav/types.d.ts +64 -0
- package/dist/components/GradientPicker/GradientPicker.vue.d.ts +20 -0
- package/dist/components/GradientPicker/index.d.ts +2 -0
- package/dist/components/GradientPicker/types.d.ts +74 -0
- package/dist/components/Heading/Heading.vue.d.ts +18 -0
- package/dist/components/Heading/index.d.ts +1 -0
- package/dist/components/Icon/Icon.vue.d.ts +112 -0
- package/dist/components/Icon/iconBundle.d.ts +1 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/InlineError/InlineError.vue.d.ts +6 -0
- package/dist/components/InlineError/index.d.ts +1 -0
- package/dist/components/Labelled/Labelled.vue.d.ts +110 -0
- package/dist/components/Labelled/index.d.ts +1 -0
- package/dist/components/Layout/Layout.vue.d.ts +13 -0
- package/dist/components/Layout/LayoutSection.vue.d.ts +16 -0
- package/dist/components/Layout/LayoutSectionAnnotated.vue.d.ts +34 -0
- package/dist/components/Layout/index.d.ts +3 -0
- package/dist/components/LineClamper/LineClamper.vue.d.ts +16 -0
- package/dist/components/LineClamper/index.d.ts +2 -0
- package/dist/components/LineClamper/types.d.ts +7 -0
- package/dist/components/Link/Link.vue.d.ts +19 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/List/List.vue.d.ts +15 -0
- package/dist/components/List/ListItem.vue.d.ts +16 -0
- package/dist/components/List/index.d.ts +3 -0
- package/dist/components/List/types.d.ts +51 -0
- package/dist/components/LoaderOverlay/LoaderOverlay.vue.d.ts +18 -0
- package/dist/components/LoaderOverlay/host.d.ts +6 -0
- package/dist/components/LoaderOverlay/index.d.ts +26 -0
- package/dist/components/LoaderOverlay/store.d.ts +7 -0
- package/dist/components/LoaderOverlay/types.d.ts +24 -0
- package/dist/components/LoadingBar/LoadingBar.vue.d.ts +7 -0
- package/dist/components/LoadingBar/host.d.ts +6 -0
- package/dist/components/LoadingBar/index.d.ts +28 -0
- package/dist/components/LoadingBar/store.d.ts +6 -0
- package/dist/components/LoadingBar/types.d.ts +16 -0
- package/dist/components/MaybeMountingPortal/MaybeMountingPortal.vue.d.ts +53 -0
- package/dist/components/MaybeMountingPortal/index.d.ts +1 -0
- package/dist/components/MaybeRouterLink/MaybeRouterLink.vue.d.ts +34 -0
- package/dist/components/MaybeRouterLink/index.d.ts +2 -0
- package/dist/components/MaybeRouterLink/types.d.ts +49 -0
- package/dist/components/Modal/Modal.vue.d.ts +28 -0
- package/dist/components/Modal/ModalBackdrop.vue.d.ts +12 -0
- package/dist/components/Modal/ModalHost.vue.d.ts +3 -0
- package/dist/components/Modal/ModalStackItem.vue.d.ts +14 -0
- package/dist/components/Modal/api/AlertModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/Base.d.ts +12 -0
- package/dist/components/Modal/api/ConfirmModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/GenericModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/PromptModal.vue.d.ts +10 -0
- package/dist/components/Modal/api/types.d.ts +110 -0
- package/dist/components/Modal/host.d.ts +2 -0
- package/dist/components/Modal/index.d.ts +10 -0
- package/dist/components/Modal/manager.d.ts +80 -0
- package/dist/components/Modal/types.d.ts +49 -0
- package/dist/components/NavField/NavField.vue.d.ts +223 -0
- package/dist/components/NavField/index.d.ts +1 -0
- package/dist/components/Navigation/Navigation.vue.d.ts +47 -0
- package/dist/components/Navigation/components/Item.vue.d.ts +10 -0
- package/dist/components/Navigation/components/Section.vue.d.ts +13 -0
- package/dist/components/Navigation/index.d.ts +2 -0
- package/dist/components/Navigation/types.d.ts +117 -0
- package/dist/components/OtpInput/OtpInput.vue.d.ts +21 -0
- package/dist/components/OtpInput/index.d.ts +2 -0
- package/dist/components/OtpInput/types.d.ts +87 -0
- package/dist/components/Page/Page.vue.d.ts +34 -0
- package/dist/components/Page/index.d.ts +2 -0
- package/dist/components/Page/types.d.ts +75 -0
- package/dist/components/PageActions/PageActions.vue.d.ts +6 -0
- package/dist/components/PageActions/index.d.ts +2 -0
- package/dist/components/PageActions/types.d.ts +17 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +22 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/Popper/Popper.vue.d.ts +45 -0
- package/dist/components/Popper/index.d.ts +2 -0
- package/dist/components/Popper/types.d.ts +29 -0
- package/dist/components/PreventAutoComplete/PreventAutoComplete.vue.d.ts +24 -0
- package/dist/components/PreventAutoComplete/index.d.ts +1 -0
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +48 -0
- package/dist/components/ProgressBar/index.d.ts +2 -0
- package/dist/components/RadioButton/RadioButton.vue.d.ts +143 -0
- package/dist/components/RadioButton/RadioButtonControl.vue.d.ts +50 -0
- package/dist/components/RadioButton/index.d.ts +2 -0
- package/dist/components/RangeSlider/RangeSlider.vue.d.ts +303 -0
- package/dist/components/RangeSlider/index.d.ts +1 -0
- package/dist/components/Rating/Rating.vue.d.ts +20 -0
- package/dist/components/Rating/index.d.ts +2 -0
- package/dist/components/Rating/types.d.ts +78 -0
- package/dist/components/ResourceList/ResourceItem.vue.d.ts +17 -0
- package/dist/components/ResourceList/ResourceList.vue.d.ts +19 -0
- package/dist/components/ResourceList/index.d.ts +3 -0
- package/dist/components/ResourceList/types.d.ts +19 -0
- package/dist/components/SaveBar/SaveBar.vue.d.ts +15 -0
- package/dist/components/SaveBar/index.d.ts +4 -0
- package/dist/components/SaveBar/store.d.ts +56 -0
- package/dist/components/SaveBar/types.d.ts +42 -0
- package/dist/components/SaveBarController/SaveBarController.vue.d.ts +40 -0
- package/dist/components/SaveBarController/index.d.ts +1 -0
- package/dist/components/ScrollPane/ScrollPane.vue.d.ts +24 -0
- package/dist/components/ScrollPane/index.d.ts +2 -0
- package/dist/components/ScrollPane/types.d.ts +64 -0
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +39 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/SegmentedControl/types.d.ts +119 -0
- package/dist/components/Select/Select.vue.d.ts +901 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Sheet/Sheet.vue.d.ts +41 -0
- package/dist/components/Sheet/index.d.ts +2 -0
- package/dist/components/Sheet/manager.d.ts +34 -0
- package/dist/components/Sheet/types.d.ts +92 -0
- package/dist/components/SkeletonBodyText/SkeletonBodyText.vue.d.ts +17 -0
- package/dist/components/SkeletonBodyText/index.d.ts +1 -0
- package/dist/components/SkeletonCard/SkeletonCard.vue.d.ts +34 -0
- package/dist/components/SkeletonCard/index.d.ts +1 -0
- package/dist/components/SkeletonDisplayText/SkeletonDisplayText.vue.d.ts +17 -0
- package/dist/components/SkeletonDisplayText/index.d.ts +1 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +52 -0
- package/dist/components/Spinner/index.d.ts +1 -0
- package/dist/components/Splitter/Splitter.vue.d.ts +60 -0
- package/dist/components/Splitter/index.d.ts +2 -0
- package/dist/components/Splitter/types.d.ts +177 -0
- package/dist/components/Stack/Stack.vue.d.ts +130 -0
- package/dist/components/Stack/StackItem.vue.d.ts +23 -0
- package/dist/components/Stack/index.d.ts +2 -0
- package/dist/components/StatGroup/Stat.vue.d.ts +16 -0
- package/dist/components/StatGroup/StatGroup.vue.d.ts +17 -0
- package/dist/components/StatGroup/index.d.ts +3 -0
- package/dist/components/StatGroup/types.d.ts +42 -0
- package/dist/components/Sticky/Sticky.vue.d.ts +27 -0
- package/dist/components/Sticky/index.d.ts +2 -0
- package/dist/components/Sticky/types.d.ts +24 -0
- package/dist/components/SyntaxHighlighter/SyntaxHighlighter.vue.d.ts +12 -0
- package/dist/components/SyntaxHighlighter/index.d.ts +2 -0
- package/dist/components/SyntaxHighlighter/types.d.ts +10 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +23 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/types.d.ts +19 -0
- package/dist/components/Tag/Tag.vue.d.ts +29 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/TextContainer/TextContainer.vue.d.ts +13 -0
- package/dist/components/TextContainer/index.d.ts +1 -0
- package/dist/components/TextField/TextField.vue.d.ts +38 -0
- package/dist/components/TextField/index.d.ts +2 -0
- package/dist/components/TextField/types.d.ts +130 -0
- package/dist/components/TextStyle/TextStyle.vue.d.ts +15 -0
- package/dist/components/TextStyle/index.d.ts +1 -0
- package/dist/components/Thumbnail/Thumbnail.vue.d.ts +17 -0
- package/dist/components/Thumbnail/index.d.ts +2 -0
- package/dist/components/Thumbnail/types.d.ts +32 -0
- package/dist/components/TimePicker/TimePicker.vue.d.ts +25 -0
- package/dist/components/TimePicker/index.d.ts +2 -0
- package/dist/components/TimePicker/types.d.ts +90 -0
- package/dist/components/TimezonePicker/TimezonePicker.vue.d.ts +15 -0
- package/dist/components/TimezonePicker/index.d.ts +2 -0
- package/dist/components/TimezonePicker/types.d.ts +50 -0
- package/dist/components/TimezonePicker/zoneCountries.d.ts +2 -0
- package/dist/components/ToastManager/ProgressBar.vue.d.ts +8 -0
- package/dist/components/ToastManager/Toast.vue.d.ts +14 -0
- package/dist/components/ToastManager/ToastManager.vue.d.ts +19 -0
- package/dist/components/ToastManager/host.d.ts +14 -0
- package/dist/components/ToastManager/index.d.ts +24 -0
- package/dist/components/ToastManager/manager.d.ts +45 -0
- package/dist/components/ToastManager/types.d.ts +44 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.vue.d.ts +35 -0
- package/dist/components/ToggleSwitch/index.d.ts +2 -0
- package/dist/components/ToggleSwitch/types.d.ts +84 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +20 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/UiProvider/UiProvider.vue.d.ts +16 -0
- package/dist/components/UiProvider/index.d.ts +2 -0
- package/dist/components/UiProvider/types.d.ts +2 -0
- package/dist/components/UiProvider/utils.d.ts +5 -0
- package/dist/components/UnstyledLink/UnstyledLink.vue.d.ts +5 -0
- package/dist/components/UnstyledLink/index.d.ts +1 -0
- package/dist/components/all.d.ts +92 -0
- package/dist/components/types.d.ts +74 -0
- package/dist/globalExtensions.d.ts +7 -0
- package/dist/i18n/en.json.d.ts +60 -0
- package/dist/lib.d.ts +67 -0
- package/dist/lib.umd.d.ts +1 -0
- package/dist/style.css +2 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/ui.js +20051 -0
- package/dist/ui.umd.js +10 -0
- package/dist/utils/autoHost.d.ts +27 -0
- package/dist/utils/color.d.ts +112 -0
- package/dist/utils/colorRamp.d.ts +51 -0
- package/dist/utils/createTheme.d.ts +52 -0
- package/dist/utils/customTheme.d.ts +73 -0
- package/dist/utils/date.d.ts +4 -0
- package/dist/utils/debounce.d.ts +3 -0
- package/dist/utils/deferredPromise.d.ts +6 -0
- package/dist/utils/format.d.ts +9 -0
- package/dist/utils/fuzzy.d.ts +33 -0
- package/dist/utils/gradient.d.ts +83 -0
- package/dist/utils/index.d.ts +31 -0
- package/dist/utils/loader.d.ts +1 -0
- package/dist/utils/positionPanel.d.ts +32 -0
- package/dist/utils/radix.d.ts +6 -0
- package/dist/utils/theme.d.ts +42 -0
- package/dist/utils/timezone.d.ts +66 -0
- package/dist/utils/tokens.d.ts +62 -0
- package/dist/utils/translate.d.ts +27 -0
- package/dist/zoneCountries-CWZGMHyp.js +353 -0
- package/package.json +120 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The design token registry.
|
|
3
|
+
*
|
|
4
|
+
* This is the machine-readable companion to `styles/tokens.scss` — it drives
|
|
5
|
+
* the Theme Builder, and is exported so applications can build their own
|
|
6
|
+
* theming UI without hardcoding a token list.
|
|
7
|
+
*
|
|
8
|
+
* Keep it in sync when adding a token. `tokens.test.ts` fails if the stylesheet
|
|
9
|
+
* and this registry drift apart, so it cannot rot silently.
|
|
10
|
+
*/
|
|
11
|
+
export type TokenKind = 'color' | 'shadow' | 'radius' | 'font';
|
|
12
|
+
export interface TokenDefinition {
|
|
13
|
+
/** Token name without the `--octans-` prefix. */
|
|
14
|
+
name: string;
|
|
15
|
+
kind: TokenKind;
|
|
16
|
+
/** What it's for. Shown in the Theme Builder. */
|
|
17
|
+
description?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Set when the stylesheet computes this token from others (via `var()`
|
|
20
|
+
* chains or `color-mix()`). A theming UI can hide these by default — they
|
|
21
|
+
* follow the tokens they are derived from, and only need touching to break
|
|
22
|
+
* the derivation on purpose.
|
|
23
|
+
*/
|
|
24
|
+
derived?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface TokenGroup {
|
|
27
|
+
title: string;
|
|
28
|
+
description?: string;
|
|
29
|
+
/** Primitives are the raw palette; components should only use semantic. */
|
|
30
|
+
tier: 'primitive' | 'semantic';
|
|
31
|
+
tokens: TokenDefinition[];
|
|
32
|
+
}
|
|
33
|
+
export interface TokenRamp {
|
|
34
|
+
/** Token prefix. `neutral` covers `neutral-0`, `neutral-50`, and so on. */
|
|
35
|
+
prefix: string;
|
|
36
|
+
/** Human label, for a theming UI. */
|
|
37
|
+
title: string;
|
|
38
|
+
/**
|
|
39
|
+
* The step numbers, ascending.
|
|
40
|
+
*
|
|
41
|
+
* They are positions, not indices — 500 sits halfway along a 0–1000 ramp
|
|
42
|
+
* whether or not there is a step either side of it. A generator that treats
|
|
43
|
+
* them as evenly spaced indices produces a ramp that no longer matches the
|
|
44
|
+
* hand-authored one it replaced.
|
|
45
|
+
*/
|
|
46
|
+
steps: number[];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The primitive ramps, declared once so a theming UI can offer to generate a
|
|
50
|
+
* whole ramp rather than twelve separate colour pickers. `TOKEN_GROUPS` below
|
|
51
|
+
* is built from these, so the two cannot disagree about which steps exist.
|
|
52
|
+
*/
|
|
53
|
+
export declare const TOKEN_RAMPS: TokenRamp[];
|
|
54
|
+
/** Lookup by prefix, e.g. `TOKEN_RAMP_BY_PREFIX['primary']`. */
|
|
55
|
+
export declare const TOKEN_RAMP_BY_PREFIX: Record<string, TokenRamp>;
|
|
56
|
+
export declare const TOKEN_GROUPS: TokenGroup[];
|
|
57
|
+
/** Every token name, flattened. */
|
|
58
|
+
export declare const TOKEN_NAMES: string[];
|
|
59
|
+
/** Lookup by name, e.g. `TOKEN_BY_NAME['surface-sunken']`. */
|
|
60
|
+
export declare const TOKEN_BY_NAME: Record<string, TokenDefinition>;
|
|
61
|
+
/** `surface-sunken` → `--octans-surface-sunken` */
|
|
62
|
+
export declare function tokenVar(name: string): string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type TranslationDictionary = Record<string, string>;
|
|
2
|
+
/**
|
|
3
|
+
* Replaces every registered string for `locale`.
|
|
4
|
+
*
|
|
5
|
+
* ```ts
|
|
6
|
+
* setTranslations('fr', { 'ui.modal.close': 'Fermer' })
|
|
7
|
+
* ```
|
|
8
|
+
*/
|
|
9
|
+
export declare function setTranslations(locale: string, dictionary: TranslationDictionary): void;
|
|
10
|
+
/** Merges `dictionary` into whatever is already registered for `locale`. */
|
|
11
|
+
export declare function addTranslations(locale: string, dictionary: TranslationDictionary): void;
|
|
12
|
+
/**
|
|
13
|
+
* Switches the active locale. Unknown locales are still accepted — lookups
|
|
14
|
+
* simply fall through to English until a dictionary is registered for them.
|
|
15
|
+
*/
|
|
16
|
+
export declare function setTranslationLocale(locale: string): void;
|
|
17
|
+
export declare function getTranslationLocale(): string;
|
|
18
|
+
export declare function getAvailableLocales(): string[];
|
|
19
|
+
/**
|
|
20
|
+
* Looks up `key` in the active locale, falling back to English and finally to
|
|
21
|
+
* the key itself, then interpolates any `{placeholder}` values from `args`.
|
|
22
|
+
*
|
|
23
|
+
* Returning the key on a miss is deliberate: a missing translation shows up as
|
|
24
|
+
* a visible, greppable string instead of an empty element.
|
|
25
|
+
*/
|
|
26
|
+
export declare function translate(key: string, args?: Record<string, any>): string;
|
|
27
|
+
export declare const $t: typeof translate;
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
//#region src/components/TimezonePicker/zoneCountries.ts
|
|
2
|
+
var e = {
|
|
3
|
+
"Africa/Abidjan": "CI",
|
|
4
|
+
"Africa/Accra": "GH",
|
|
5
|
+
"Africa/Algiers": "DZ",
|
|
6
|
+
"Africa/Bissau": "GW",
|
|
7
|
+
"Africa/Cairo": "EG",
|
|
8
|
+
"Africa/Casablanca": "MA",
|
|
9
|
+
"Africa/Ceuta": "ES",
|
|
10
|
+
"Africa/El_Aaiun": "EH",
|
|
11
|
+
"Africa/Johannesburg": "ZA",
|
|
12
|
+
"Africa/Juba": "SS",
|
|
13
|
+
"Africa/Khartoum": "SD",
|
|
14
|
+
"Africa/Lagos": "NG",
|
|
15
|
+
"Africa/Maputo": "MZ",
|
|
16
|
+
"Africa/Monrovia": "LR",
|
|
17
|
+
"Africa/Nairobi": "KE",
|
|
18
|
+
"Africa/Ndjamena": "TD",
|
|
19
|
+
"Africa/Sao_Tome": "ST",
|
|
20
|
+
"Africa/Tripoli": "LY",
|
|
21
|
+
"Africa/Tunis": "TN",
|
|
22
|
+
"Africa/Windhoek": "NA",
|
|
23
|
+
"America/Adak": "US",
|
|
24
|
+
"America/Anchorage": "US",
|
|
25
|
+
"America/Araguaina": "BR",
|
|
26
|
+
"America/Argentina/Buenos_Aires": "AR",
|
|
27
|
+
"America/Argentina/Catamarca": "AR",
|
|
28
|
+
"America/Argentina/Cordoba": "AR",
|
|
29
|
+
"America/Argentina/Jujuy": "AR",
|
|
30
|
+
"America/Argentina/La_Rioja": "AR",
|
|
31
|
+
"America/Argentina/Mendoza": "AR",
|
|
32
|
+
"America/Argentina/Rio_Gallegos": "AR",
|
|
33
|
+
"America/Argentina/Salta": "AR",
|
|
34
|
+
"America/Argentina/San_Juan": "AR",
|
|
35
|
+
"America/Argentina/San_Luis": "AR",
|
|
36
|
+
"America/Argentina/Tucuman": "AR",
|
|
37
|
+
"America/Argentina/Ushuaia": "AR",
|
|
38
|
+
"America/Asuncion": "PY",
|
|
39
|
+
"America/Atikokan": "CA",
|
|
40
|
+
"America/Bahia": "BR",
|
|
41
|
+
"America/Bahia_Banderas": "MX",
|
|
42
|
+
"America/Barbados": "BB",
|
|
43
|
+
"America/Belem": "BR",
|
|
44
|
+
"America/Belize": "BZ",
|
|
45
|
+
"America/Blanc-Sablon": "CA",
|
|
46
|
+
"America/Boa_Vista": "BR",
|
|
47
|
+
"America/Bogota": "CO",
|
|
48
|
+
"America/Boise": "US",
|
|
49
|
+
"America/Cambridge_Bay": "CA",
|
|
50
|
+
"America/Campo_Grande": "BR",
|
|
51
|
+
"America/Cancun": "MX",
|
|
52
|
+
"America/Caracas": "VE",
|
|
53
|
+
"America/Cayenne": "GF",
|
|
54
|
+
"America/Chicago": "US",
|
|
55
|
+
"America/Chihuahua": "MX",
|
|
56
|
+
"America/Costa_Rica": "CR",
|
|
57
|
+
"America/Creston": "CA",
|
|
58
|
+
"America/Cuiaba": "BR",
|
|
59
|
+
"America/Curacao": "CW",
|
|
60
|
+
"America/Danmarkshavn": "GL",
|
|
61
|
+
"America/Dawson": "CA",
|
|
62
|
+
"America/Dawson_Creek": "CA",
|
|
63
|
+
"America/Denver": "US",
|
|
64
|
+
"America/Detroit": "US",
|
|
65
|
+
"America/Edmonton": "CA",
|
|
66
|
+
"America/Eirunepe": "BR",
|
|
67
|
+
"America/El_Salvador": "SV",
|
|
68
|
+
"America/Fort_Nelson": "CA",
|
|
69
|
+
"America/Fortaleza": "BR",
|
|
70
|
+
"America/Glace_Bay": "CA",
|
|
71
|
+
"America/Godthab": "GL",
|
|
72
|
+
"America/Goose_Bay": "CA",
|
|
73
|
+
"America/Grand_Turk": "TC",
|
|
74
|
+
"America/Guatemala": "GT",
|
|
75
|
+
"America/Guayaquil": "EC",
|
|
76
|
+
"America/Guyana": "GY",
|
|
77
|
+
"America/Halifax": "CA",
|
|
78
|
+
"America/Havana": "CU",
|
|
79
|
+
"America/Hermosillo": "MX",
|
|
80
|
+
"America/Indiana/Indianapolis": "US",
|
|
81
|
+
"America/Indiana/Knox": "US",
|
|
82
|
+
"America/Indiana/Marengo": "US",
|
|
83
|
+
"America/Indiana/Petersburg": "US",
|
|
84
|
+
"America/Indiana/Tell_City": "US",
|
|
85
|
+
"America/Indiana/Vevay": "US",
|
|
86
|
+
"America/Indiana/Vincennes": "US",
|
|
87
|
+
"America/Indiana/Winamac": "US",
|
|
88
|
+
"America/Inuvik": "CA",
|
|
89
|
+
"America/Iqaluit": "CA",
|
|
90
|
+
"America/Jamaica": "JM",
|
|
91
|
+
"America/Juneau": "US",
|
|
92
|
+
"America/Kentucky/Louisville": "US",
|
|
93
|
+
"America/Kentucky/Monticello": "US",
|
|
94
|
+
"America/La_Paz": "BO",
|
|
95
|
+
"America/Lima": "PE",
|
|
96
|
+
"America/Los_Angeles": "US",
|
|
97
|
+
"America/Maceio": "BR",
|
|
98
|
+
"America/Managua": "NI",
|
|
99
|
+
"America/Manaus": "BR",
|
|
100
|
+
"America/Martinique": "MQ",
|
|
101
|
+
"America/Matamoros": "MX",
|
|
102
|
+
"America/Mazatlan": "MX",
|
|
103
|
+
"America/Menominee": "US",
|
|
104
|
+
"America/Merida": "MX",
|
|
105
|
+
"America/Metlakatla": "US",
|
|
106
|
+
"America/Mexico_City": "MX",
|
|
107
|
+
"America/Miquelon": "PM",
|
|
108
|
+
"America/Moncton": "CA",
|
|
109
|
+
"America/Monterrey": "MX",
|
|
110
|
+
"America/Montevideo": "UY",
|
|
111
|
+
"America/Nassau": "BS",
|
|
112
|
+
"America/New_York": "US",
|
|
113
|
+
"America/Nipigon": "CA",
|
|
114
|
+
"America/Nome": "US",
|
|
115
|
+
"America/Noronha": "BR",
|
|
116
|
+
"America/North_Dakota/Beulah": "US",
|
|
117
|
+
"America/North_Dakota/Center": "US",
|
|
118
|
+
"America/North_Dakota/New_Salem": "US",
|
|
119
|
+
"America/Ojinaga": "MX",
|
|
120
|
+
"America/Panama": "PA",
|
|
121
|
+
"America/Pangnirtung": "CA",
|
|
122
|
+
"America/Paramaribo": "SR",
|
|
123
|
+
"America/Phoenix": "US",
|
|
124
|
+
"America/Port_of_Spain": "TT",
|
|
125
|
+
"America/Port-au-Prince": "HT",
|
|
126
|
+
"America/Porto_Velho": "BR",
|
|
127
|
+
"America/Puerto_Rico": "PR",
|
|
128
|
+
"America/Punta_Arenas": "CL",
|
|
129
|
+
"America/Rainy_River": "CA",
|
|
130
|
+
"America/Rankin_Inlet": "CA",
|
|
131
|
+
"America/Recife": "BR",
|
|
132
|
+
"America/Regina": "CA",
|
|
133
|
+
"America/Resolute": "CA",
|
|
134
|
+
"America/Rio_Branco": "BR",
|
|
135
|
+
"America/Santarem": "BR",
|
|
136
|
+
"America/Santiago": "CL",
|
|
137
|
+
"America/Santo_Domingo": "DO",
|
|
138
|
+
"America/Sao_Paulo": "BR",
|
|
139
|
+
"America/Scoresbysund": "GL",
|
|
140
|
+
"America/Sitka": "US",
|
|
141
|
+
"America/St_Johns": "CA",
|
|
142
|
+
"America/Swift_Current": "CA",
|
|
143
|
+
"America/Tegucigalpa": "HN",
|
|
144
|
+
"America/Thule": "GL",
|
|
145
|
+
"America/Thunder_Bay": "CA",
|
|
146
|
+
"America/Tijuana": "MX",
|
|
147
|
+
"America/Toronto": "CA",
|
|
148
|
+
"America/Vancouver": "CA",
|
|
149
|
+
"America/Whitehorse": "CA",
|
|
150
|
+
"America/Winnipeg": "CA",
|
|
151
|
+
"America/Yakutat": "US",
|
|
152
|
+
"America/Yellowknife": "CA",
|
|
153
|
+
"Antarctica/Casey": "AQ",
|
|
154
|
+
"Antarctica/Davis": "AQ",
|
|
155
|
+
"Antarctica/DumontDUrville": "AQ",
|
|
156
|
+
"Antarctica/Macquarie": "AU",
|
|
157
|
+
"Antarctica/Mawson": "AQ",
|
|
158
|
+
"Antarctica/Palmer": "AQ",
|
|
159
|
+
"Antarctica/Rothera": "AQ",
|
|
160
|
+
"Antarctica/Syowa": "AQ",
|
|
161
|
+
"Antarctica/Troll": "AQ",
|
|
162
|
+
"Antarctica/Vostok": "AQ",
|
|
163
|
+
"Asia/Almaty": "KZ",
|
|
164
|
+
"Asia/Amman": "JO",
|
|
165
|
+
"Asia/Anadyr": "RU",
|
|
166
|
+
"Asia/Aqtau": "KZ",
|
|
167
|
+
"Asia/Aqtobe": "KZ",
|
|
168
|
+
"Asia/Ashgabat": "TM",
|
|
169
|
+
"Asia/Atyrau": "KZ",
|
|
170
|
+
"Asia/Baghdad": "IQ",
|
|
171
|
+
"Asia/Baku": "AZ",
|
|
172
|
+
"Asia/Bangkok": "TH",
|
|
173
|
+
"Asia/Barnaul": "RU",
|
|
174
|
+
"Asia/Beirut": "LB",
|
|
175
|
+
"Asia/Bishkek": "KG",
|
|
176
|
+
"Asia/Brunei": "BN",
|
|
177
|
+
"Asia/Chita": "RU",
|
|
178
|
+
"Asia/Choibalsan": "MN",
|
|
179
|
+
"Asia/Colombo": "LK",
|
|
180
|
+
"Asia/Damascus": "SY",
|
|
181
|
+
"Asia/Dhaka": "BD",
|
|
182
|
+
"Asia/Dili": "TL",
|
|
183
|
+
"Asia/Dubai": "AE",
|
|
184
|
+
"Asia/Dushanbe": "TJ",
|
|
185
|
+
"Asia/Famagusta": "CY",
|
|
186
|
+
"Asia/Gaza": "PS",
|
|
187
|
+
"Asia/Hebron": "PS",
|
|
188
|
+
"Asia/Ho_Chi_Minh": "VN",
|
|
189
|
+
"Asia/Hong_Kong": "HK",
|
|
190
|
+
"Asia/Hovd": "MN",
|
|
191
|
+
"Asia/Irkutsk": "RU",
|
|
192
|
+
"Asia/Jakarta": "ID",
|
|
193
|
+
"Asia/Jayapura": "ID",
|
|
194
|
+
"Asia/Jerusalem": "IL",
|
|
195
|
+
"Asia/Kabul": "AF",
|
|
196
|
+
"Asia/Kamchatka": "RU",
|
|
197
|
+
"Asia/Karachi": "PK",
|
|
198
|
+
"Asia/Kathmandu": "NP",
|
|
199
|
+
"Asia/Khandyga": "RU",
|
|
200
|
+
"Asia/Kolkata": "IN",
|
|
201
|
+
"Asia/Krasnoyarsk": "RU",
|
|
202
|
+
"Asia/Kuala_Lumpur": "MY",
|
|
203
|
+
"Asia/Kuching": "MY",
|
|
204
|
+
"Asia/Macau": "MO",
|
|
205
|
+
"Asia/Magadan": "RU",
|
|
206
|
+
"Asia/Makassar": "ID",
|
|
207
|
+
"Asia/Manila": "PH",
|
|
208
|
+
"Asia/Nicosia": "CY",
|
|
209
|
+
"Asia/Novokuznetsk": "RU",
|
|
210
|
+
"Asia/Novosibirsk": "RU",
|
|
211
|
+
"Asia/Omsk": "RU",
|
|
212
|
+
"Asia/Oral": "KZ",
|
|
213
|
+
"Asia/Pontianak": "ID",
|
|
214
|
+
"Asia/Pyongyang": "KP",
|
|
215
|
+
"Asia/Qatar": "QA",
|
|
216
|
+
"Asia/Qostanay": "KZ",
|
|
217
|
+
"Asia/Qyzylorda": "KZ",
|
|
218
|
+
"Asia/Riyadh": "SA",
|
|
219
|
+
"Asia/Sakhalin": "RU",
|
|
220
|
+
"Asia/Samarkand": "UZ",
|
|
221
|
+
"Asia/Seoul": "KR",
|
|
222
|
+
"Asia/Shanghai": "CN",
|
|
223
|
+
"Asia/Singapore": "SG",
|
|
224
|
+
"Asia/Srednekolymsk": "RU",
|
|
225
|
+
"Asia/Taipei": "TW",
|
|
226
|
+
"Asia/Tashkent": "UZ",
|
|
227
|
+
"Asia/Tbilisi": "GE",
|
|
228
|
+
"Asia/Tehran": "IR",
|
|
229
|
+
"Asia/Thimphu": "BT",
|
|
230
|
+
"Asia/Tokyo": "JP",
|
|
231
|
+
"Asia/Tomsk": "RU",
|
|
232
|
+
"Asia/Ulaanbaatar": "MN",
|
|
233
|
+
"Asia/Urumqi": "CN",
|
|
234
|
+
"Asia/Ust-Nera": "RU",
|
|
235
|
+
"Asia/Vladivostok": "RU",
|
|
236
|
+
"Asia/Yakutsk": "RU",
|
|
237
|
+
"Asia/Yangon": "MM",
|
|
238
|
+
"Asia/Yekaterinburg": "RU",
|
|
239
|
+
"Asia/Yerevan": "AM",
|
|
240
|
+
"Atlantic/Azores": "PT",
|
|
241
|
+
"Atlantic/Bermuda": "BM",
|
|
242
|
+
"Atlantic/Canary": "ES",
|
|
243
|
+
"Atlantic/Cape_Verde": "CV",
|
|
244
|
+
"Atlantic/Faroe": "FO",
|
|
245
|
+
"Atlantic/Madeira": "PT",
|
|
246
|
+
"Atlantic/Reykjavik": "IS",
|
|
247
|
+
"Atlantic/South_Georgia": "GS",
|
|
248
|
+
"Atlantic/Stanley": "FK",
|
|
249
|
+
"Australia/Adelaide": "AU",
|
|
250
|
+
"Australia/Brisbane": "AU",
|
|
251
|
+
"Australia/Broken_Hill": "AU",
|
|
252
|
+
"Australia/Currie": "AU",
|
|
253
|
+
"Australia/Darwin": "AU",
|
|
254
|
+
"Australia/Eucla": "AU",
|
|
255
|
+
"Australia/Hobart": "AU",
|
|
256
|
+
"Australia/Lindeman": "AU",
|
|
257
|
+
"Australia/Lord_Howe": "AU",
|
|
258
|
+
"Australia/Melbourne": "AU",
|
|
259
|
+
"Australia/Perth": "AU",
|
|
260
|
+
"Australia/Sydney": "AU",
|
|
261
|
+
"Europe/Amsterdam": "NL",
|
|
262
|
+
"Europe/Andorra": "AD",
|
|
263
|
+
"Europe/Astrakhan": "RU",
|
|
264
|
+
"Europe/Athens": "GR",
|
|
265
|
+
"Europe/Belgrade": "RS",
|
|
266
|
+
"Europe/Berlin": "DE",
|
|
267
|
+
"Europe/Brussels": "BE",
|
|
268
|
+
"Europe/Bucharest": "RO",
|
|
269
|
+
"Europe/Budapest": "HU",
|
|
270
|
+
"Europe/Chisinau": "MD",
|
|
271
|
+
"Europe/Copenhagen": "DK",
|
|
272
|
+
"Europe/Dublin": "IE",
|
|
273
|
+
"Europe/Gibraltar": "GI",
|
|
274
|
+
"Europe/Helsinki": "FI",
|
|
275
|
+
"Europe/Istanbul": "TR",
|
|
276
|
+
"Europe/Kaliningrad": "RU",
|
|
277
|
+
"Europe/Kiev": "UA",
|
|
278
|
+
"Europe/Kirov": "RU",
|
|
279
|
+
"Europe/Lisbon": "PT",
|
|
280
|
+
"Europe/London": "GB",
|
|
281
|
+
"Europe/Luxembourg": "LU",
|
|
282
|
+
"Europe/Madrid": "ES",
|
|
283
|
+
"Europe/Malta": "MT",
|
|
284
|
+
"Europe/Minsk": "BY",
|
|
285
|
+
"Europe/Monaco": "MC",
|
|
286
|
+
"Europe/Moscow": "RU",
|
|
287
|
+
"Europe/Oslo": "NO",
|
|
288
|
+
"Europe/Paris": "FR",
|
|
289
|
+
"Europe/Prague": "CZ",
|
|
290
|
+
"Europe/Riga": "LV",
|
|
291
|
+
"Europe/Rome": "IT",
|
|
292
|
+
"Europe/Samara": "RU",
|
|
293
|
+
"Europe/Saratov": "RU",
|
|
294
|
+
"Europe/Simferopol": "RU",
|
|
295
|
+
"Europe/Sofia": "BG",
|
|
296
|
+
"Europe/Stockholm": "SE",
|
|
297
|
+
"Europe/Tallinn": "EE",
|
|
298
|
+
"Europe/Tirane": "AL",
|
|
299
|
+
"Europe/Ulyanovsk": "RU",
|
|
300
|
+
"Europe/Uzhgorod": "UA",
|
|
301
|
+
"Europe/Vienna": "AT",
|
|
302
|
+
"Europe/Vilnius": "LT",
|
|
303
|
+
"Europe/Volgograd": "RU",
|
|
304
|
+
"Europe/Warsaw": "PL",
|
|
305
|
+
"Europe/Zaporozhye": "UA",
|
|
306
|
+
"Europe/Zurich": "CH",
|
|
307
|
+
"Indian/Chagos": "IO",
|
|
308
|
+
"Indian/Christmas": "CX",
|
|
309
|
+
"Indian/Cocos": "CC",
|
|
310
|
+
"Indian/Kerguelen": "TF",
|
|
311
|
+
"Indian/Mahe": "SC",
|
|
312
|
+
"Indian/Maldives": "MV",
|
|
313
|
+
"Indian/Mauritius": "MU",
|
|
314
|
+
"Indian/Reunion": "RE",
|
|
315
|
+
"Pacific/Apia": "WS",
|
|
316
|
+
"Pacific/Auckland": "NZ",
|
|
317
|
+
"Pacific/Bougainville": "PG",
|
|
318
|
+
"Pacific/Chatham": "NZ",
|
|
319
|
+
"Pacific/Chuuk": "FM",
|
|
320
|
+
"Pacific/Easter": "CL",
|
|
321
|
+
"Pacific/Efate": "VU",
|
|
322
|
+
"Pacific/Enderbury": "KI",
|
|
323
|
+
"Pacific/Fakaofo": "TK",
|
|
324
|
+
"Pacific/Fiji": "FJ",
|
|
325
|
+
"Pacific/Funafuti": "TV",
|
|
326
|
+
"Pacific/Galapagos": "EC",
|
|
327
|
+
"Pacific/Gambier": "PF",
|
|
328
|
+
"Pacific/Guadalcanal": "SB",
|
|
329
|
+
"Pacific/Guam": "GU",
|
|
330
|
+
"Pacific/Honolulu": "US",
|
|
331
|
+
"Pacific/Kiritimati": "KI",
|
|
332
|
+
"Pacific/Kosrae": "FM",
|
|
333
|
+
"Pacific/Kwajalein": "MH",
|
|
334
|
+
"Pacific/Majuro": "MH",
|
|
335
|
+
"Pacific/Marquesas": "PF",
|
|
336
|
+
"Pacific/Nauru": "NR",
|
|
337
|
+
"Pacific/Niue": "NU",
|
|
338
|
+
"Pacific/Norfolk": "NF",
|
|
339
|
+
"Pacific/Noumea": "NC",
|
|
340
|
+
"Pacific/Pago_Pago": "AS",
|
|
341
|
+
"Pacific/Palau": "PW",
|
|
342
|
+
"Pacific/Pitcairn": "PN",
|
|
343
|
+
"Pacific/Pohnpei": "FM",
|
|
344
|
+
"Pacific/Port_Moresby": "PG",
|
|
345
|
+
"Pacific/Rarotonga": "CK",
|
|
346
|
+
"Pacific/Tahiti": "PF",
|
|
347
|
+
"Pacific/Tarawa": "KI",
|
|
348
|
+
"Pacific/Tongatapu": "TO",
|
|
349
|
+
"Pacific/Wake": "UM",
|
|
350
|
+
"Pacific/Wallis": "WF"
|
|
351
|
+
};
|
|
352
|
+
//#endregion
|
|
353
|
+
export { e as ZONE_COUNTRIES, e as default };
|
package/package.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@octans/ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A Vue 3 component library — accessible, themeable UI primitives and application shell components.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"vue",
|
|
7
|
+
"vue3",
|
|
8
|
+
"components",
|
|
9
|
+
"component-library",
|
|
10
|
+
"design-system",
|
|
11
|
+
"ui",
|
|
12
|
+
"octans"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/tarwin/octans-ui.git"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://octans.dev",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/tarwin/octans-ui/issues"
|
|
22
|
+
},
|
|
23
|
+
"type": "module",
|
|
24
|
+
"main": "./dist/ui.js",
|
|
25
|
+
"module": "./dist/ui.js",
|
|
26
|
+
"types": "./dist/lib.d.ts",
|
|
27
|
+
"bin": {
|
|
28
|
+
"octans-icons": "./bin/octans-icons.mjs"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"bin"
|
|
33
|
+
],
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./dist/lib.d.ts",
|
|
37
|
+
"import": "./dist/ui.js",
|
|
38
|
+
"default": "./dist/ui.js"
|
|
39
|
+
},
|
|
40
|
+
"./style.css": "./dist/style.css",
|
|
41
|
+
"./dist/*": "./dist/*",
|
|
42
|
+
"./package.json": "./package.json"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@floating-ui/dom": "^1.8.0",
|
|
49
|
+
"@iconify/vue": "^5.0.1",
|
|
50
|
+
"dayjs": "^1.11.21",
|
|
51
|
+
"lodash-es": "^4.18.1",
|
|
52
|
+
"maska": "^3.2.0",
|
|
53
|
+
"reka-ui": "^2.10.1"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"vue": "^3.5.0",
|
|
57
|
+
"vue-router": "^4.0.0 || ^5.0.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"vue-router": {
|
|
61
|
+
"optional": true
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@eslint/js": "^10.0.1",
|
|
66
|
+
"@storybook/addon-docs": "^10.5.7",
|
|
67
|
+
"@storybook/addon-links": "^10.5.7",
|
|
68
|
+
"@storybook/vue3-vite": "^10.5.7",
|
|
69
|
+
"@tsconfig/node24": "^24.0.4",
|
|
70
|
+
"@types/lodash-es": "^4.17.12",
|
|
71
|
+
"@types/node": "^24.13.3",
|
|
72
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
73
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
74
|
+
"@vue/eslint-config-prettier": "^10.2.0",
|
|
75
|
+
"@vue/eslint-config-typescript": "^14.9.0",
|
|
76
|
+
"@vue/test-utils": "^2.4.11",
|
|
77
|
+
"@vue/tsconfig": "^0.9.1",
|
|
78
|
+
"eslint": "^10.8.1",
|
|
79
|
+
"eslint-plugin-storybook": "^10.5.7",
|
|
80
|
+
"eslint-plugin-vue": "^10.10.0",
|
|
81
|
+
"jsdom": "^30.0.1",
|
|
82
|
+
"npm-run-all2": "^9.0.3",
|
|
83
|
+
"package-version-git-tag": "^3.0.0",
|
|
84
|
+
"prettier": "^3.9.6",
|
|
85
|
+
"sass": "^1.102.0",
|
|
86
|
+
"storybook": "^10.5.7",
|
|
87
|
+
"storybook-vue3-router": "^7.0.0",
|
|
88
|
+
"typescript": "~6.0.3",
|
|
89
|
+
"vite": "^8.2.1",
|
|
90
|
+
"vite-plugin-dts": "^5.0.3",
|
|
91
|
+
"vite-plus": "^0.2.8",
|
|
92
|
+
"vitest": "^4.1.10",
|
|
93
|
+
"vue": "^3.5.41",
|
|
94
|
+
"vue-router": "^4.6.4",
|
|
95
|
+
"vue-tsc": "^3.3.9"
|
|
96
|
+
},
|
|
97
|
+
"engines": {
|
|
98
|
+
"node": ">=24"
|
|
99
|
+
},
|
|
100
|
+
"scripts": {
|
|
101
|
+
"dev": "pnpm storybook",
|
|
102
|
+
"storybook": "storybook dev -p 6006",
|
|
103
|
+
"build-storybook": "storybook build",
|
|
104
|
+
"type-check": "vue-tsc --noEmit -p tsconfig.app.json",
|
|
105
|
+
"test": "vitest run",
|
|
106
|
+
"test:watch": "vitest",
|
|
107
|
+
"test:coverage": "vitest run --coverage",
|
|
108
|
+
"check:contrast": "node scripts/check-contrast.mjs",
|
|
109
|
+
"lint": "eslint .",
|
|
110
|
+
"lint:fix": "eslint . --fix",
|
|
111
|
+
"format": "prettier --write src/ .storybook/ scripts/ *.ts *.js",
|
|
112
|
+
"format:check": "prettier --check src/ .storybook/ scripts/ *.ts *.js",
|
|
113
|
+
"icons:bundle": "node scripts/build-icon-bundle.mjs",
|
|
114
|
+
"check:icons": "node scripts/check-icon-bundle.mjs",
|
|
115
|
+
"build": "pnpm run build-lib",
|
|
116
|
+
"build-lib": "vp build --config vite.config-lib.ts && vp build --config vite.config-umd.ts",
|
|
117
|
+
"verify": "pnpm run lint && pnpm run type-check && pnpm run test && pnpm run check:contrast && pnpm run check:icons && pnpm run build-lib",
|
|
118
|
+
"tag": "package-version-git-tag --push"
|
|
119
|
+
}
|
|
120
|
+
}
|