@humanonlyweb/ui 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +45 -2
- package/dist/components/accordion/Accordion.js +60 -0
- package/dist/components/accordion/Accordion.vue.d.ts +28 -0
- package/dist/components/accordion/AccordionItem.js +102 -0
- package/dist/components/accordion/AccordionItem.vue.d.ts +33 -0
- package/dist/components/avatar/Avatar.js +52 -0
- package/dist/components/avatar/Avatar.vue.d.ts +26 -0
- package/dist/components/avatar/AvatarGroup.js +48 -0
- package/dist/components/avatar/AvatarGroup.vue.d.ts +16 -0
- package/dist/components/breadcrumbs/Breadcrumbs.js +59 -0
- package/dist/components/breadcrumbs/Breadcrumbs.vue.d.ts +14 -0
- package/dist/components/button/Button.js +95 -0
- package/dist/components/button/Button.vue.d.ts +74 -0
- package/dist/components/button/IconButton.js +47 -0
- package/dist/components/button/IconButton.vue.d.ts +115 -0
- package/dist/components/checkbox/Checkbox.js +93 -0
- package/dist/components/checkbox/Checkbox.vue.d.ts +43 -0
- package/dist/components/checkbox-group/CheckboxGroup.js +89 -0
- package/dist/components/checkbox-group/CheckboxGroup.vue.d.ts +43 -0
- package/dist/components/combobox/Combobox.js +294 -0
- package/dist/components/combobox/Combobox.vue.d.ts +80 -0
- package/dist/components/context-menu/ContextMenu.js +170 -0
- package/dist/components/context-menu/ContextMenu.vue.d.ts +38 -0
- package/dist/components/dialog/ConfirmDialog.js +103 -0
- package/dist/components/dialog/ConfirmDialog.vue.d.ts +46 -0
- package/dist/components/dialog/Dialog.js +160 -0
- package/dist/components/dialog/Dialog.vue.d.ts +54 -0
- package/dist/components/field/FieldMessage.js +31 -0
- package/dist/components/fieldset/Fieldset.js +59 -0
- package/dist/components/fieldset/Fieldset.vue.d.ts +29 -0
- package/dist/components/input/Input.js +111 -0
- package/dist/components/input/Input.vue.d.ts +50 -0
- package/dist/components/kbd/Kbd.js +48 -0
- package/dist/components/kbd/Kbd.vue.d.ts +24 -0
- package/dist/components/menu/Menu.js +124 -0
- package/dist/components/menu/Menu.vue.d.ts +41 -0
- package/dist/components/otp-input/OtpInput.js +179 -0
- package/dist/components/otp-input/OtpInput.vue.d.ts +48 -0
- package/dist/components/pagination/Pagination.js +128 -0
- package/dist/components/pagination/Pagination.vue.d.ts +24 -0
- package/dist/components/password-input/PasswordInput.js +151 -0
- package/dist/components/password-input/PasswordInput.vue.d.ts +32 -0
- package/dist/components/popover/Popover.js +83 -0
- package/dist/components/popover/Popover.vue.d.ts +37 -0
- package/dist/components/progress/Progress.js +52 -0
- package/dist/components/progress/Progress.vue.d.ts +17 -0
- package/dist/components/radio-group/RadioGroup.js +125 -0
- package/dist/components/radio-group/RadioGroup.vue.d.ts +45 -0
- package/dist/components/segmented/Segmented.js +110 -0
- package/dist/components/segmented/Segmented.vue.d.ts +41 -0
- package/dist/components/select/Select.js +231 -0
- package/dist/components/select/Select.vue.d.ts +59 -0
- package/dist/components/slider/Slider.js +196 -0
- package/dist/components/slider/Slider.vue.d.ts +49 -0
- package/dist/components/spin-button/SpinButton.js +231 -0
- package/dist/components/spin-button/SpinButton.vue.d.ts +48 -0
- package/dist/components/split-button/SplitButton.js +69 -0
- package/dist/components/split-button/SplitButton.vue.d.ts +38 -0
- package/dist/components/switch/Switch.js +95 -0
- package/dist/components/switch/Switch.vue.d.ts +42 -0
- package/dist/components/table/Table.js +173 -0
- package/dist/components/table/Table.vue.d.ts +45 -0
- package/dist/components/tabs/Tabs.js +103 -0
- package/dist/components/tabs/Tabs.vue.d.ts +39 -0
- package/dist/components/tag-input/TagInput.js +186 -0
- package/dist/components/tag-input/TagInput.vue.d.ts +36 -0
- package/dist/components/textarea/Textarea.js +118 -0
- package/dist/components/textarea/Textarea.vue.d.ts +34 -0
- package/dist/components/toast/ToastItem.js +91 -0
- package/dist/components/toast/ToastItem.vue.d.ts +29 -0
- package/dist/components/toast/ToastViewport.js +56 -0
- package/dist/components/toast/ToastViewport.vue.d.ts +25 -0
- package/dist/components/toolbar/Toolbar.js +91 -0
- package/dist/components/toolbar/Toolbar.vue.d.ts +21 -0
- package/dist/components/tooltip/Tooltip.js +85 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts +25 -0
- package/dist/components/visually-hidden/VisuallyHidden.js +16 -0
- package/dist/components/visually-hidden/VisuallyHidden.vue.d.ts +19 -0
- package/dist/composables/internal/env.js +5 -0
- package/dist/composables/internal/is-equal.js +14 -0
- package/dist/composables/internal/on-click-outside.js +18 -0
- package/dist/composables/internal/standard-schema.d.ts +38 -0
- package/dist/composables/internal/use-document-visibility.js +16 -0
- package/dist/composables/internal/use-event-listener.js +24 -0
- package/dist/composables/internal/use-interval-fn.js +21 -0
- package/dist/composables/internal/use-resize-observer.js +21 -0
- package/dist/composables/internal/use-timeout-fn.js +25 -0
- package/dist/composables/use-accordion.d.ts +9 -0
- package/dist/composables/use-accordion.js +10 -0
- package/dist/composables/use-combobox.d.ts +44 -0
- package/dist/composables/use-combobox.js +185 -0
- package/dist/composables/use-field.d.ts +17 -0
- package/dist/composables/use-field.js +27 -0
- package/dist/composables/use-form.d.ts +44 -0
- package/dist/composables/use-form.js +146 -0
- package/dist/composables/use-menu.d.ts +26 -0
- package/dist/composables/use-menu.js +117 -0
- package/dist/composables/use-platform.d.ts +17 -0
- package/dist/composables/use-platform.js +126 -0
- package/dist/composables/use-popover.d.ts +35 -0
- package/dist/composables/use-popover.js +49 -0
- package/dist/composables/use-roving-selection.d.ts +22 -0
- package/dist/composables/use-roving-selection.js +65 -0
- package/dist/composables/use-select.d.ts +31 -0
- package/dist/composables/use-select.js +169 -0
- package/dist/composables/use-slide-indicator.d.ts +24 -0
- package/dist/composables/use-slide-indicator.js +52 -0
- package/dist/composables/use-toast.d.ts +23 -0
- package/dist/composables/use-toast.js +51 -0
- package/dist/config.d.ts +40 -0
- package/dist/config.js +35 -0
- package/dist/docs/README.md +52 -0
- package/dist/docs/changelog.md +21 -0
- package/dist/docs/components/accordion.md +100 -0
- package/dist/docs/components/avatar-group.md +58 -0
- package/dist/docs/components/avatar.md +40 -0
- package/dist/docs/components/breadcrumbs.md +81 -0
- package/dist/docs/components/button.md +109 -0
- package/dist/docs/components/checkbox-group.md +118 -0
- package/dist/docs/components/checkbox.md +123 -0
- package/dist/docs/components/combobox.md +207 -0
- package/dist/docs/components/confirm-dialog.md +107 -0
- package/dist/docs/components/context-menu.md +98 -0
- package/dist/docs/components/dialog.md +127 -0
- package/dist/docs/components/fieldset.md +65 -0
- package/dist/docs/components/icon-button.md +47 -0
- package/dist/docs/components/input.md +89 -0
- package/dist/docs/components/kbd.md +41 -0
- package/dist/docs/components/menu.md +112 -0
- package/dist/docs/components/otp-input.md +92 -0
- package/dist/docs/components/pagination.md +62 -0
- package/dist/docs/components/password-input.md +55 -0
- package/dist/docs/components/popover.md +72 -0
- package/dist/docs/components/progress.md +56 -0
- package/dist/docs/components/radio-group.md +114 -0
- package/dist/docs/components/segmented.md +96 -0
- package/dist/docs/components/select.md +129 -0
- package/dist/docs/components/slider.md +105 -0
- package/dist/docs/components/spin-button.md +73 -0
- package/dist/docs/components/split-button.md +64 -0
- package/dist/docs/components/switch.md +71 -0
- package/dist/docs/components/table.md +241 -0
- package/dist/docs/components/tabs.md +106 -0
- package/dist/docs/components/tag-input.md +88 -0
- package/dist/docs/components/textarea.md +46 -0
- package/dist/docs/components/toast.md +135 -0
- package/dist/docs/components/toolbar.md +71 -0
- package/dist/docs/components/tooltip.md +57 -0
- package/dist/docs/components/visually-hidden.md +53 -0
- package/dist/docs/forms.md +182 -0
- package/dist/docs/index.md +11 -0
- package/dist/docs/installation.md +71 -0
- package/dist/docs/localisation.md +42 -0
- package/dist/docs/ssr.md +24 -0
- package/dist/docs/styling.md +82 -0
- package/dist/index.d.ts +60 -0
- package/dist/index.js +56 -0
- package/dist/nuxt/module.d.ts +15 -0
- package/dist/nuxt/module.js +80 -0
- package/dist/nuxt/runtime/plugin.d.ts +4 -0
- package/dist/nuxt/runtime/plugin.js +24 -0
- package/dist/package.js +4 -0
- package/dist/styles/core.css +310 -0
- package/dist/translations.d.ts +85 -0
- package/dist/translations.js +62 -0
- package/dist/types.d.ts +69 -0
- package/package.json +93 -4
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
//#region src/translations.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Every string the components render or announce on their own. Override any of them
|
|
4
|
+
* with `createUi({ translations })`. Strings with a value in them are functions, so each
|
|
5
|
+
* language can order its words.
|
|
6
|
+
*/
|
|
7
|
+
export interface UiTranslations {
|
|
8
|
+
/** Dialog's header close button. */
|
|
9
|
+
close: string;
|
|
10
|
+
/** ConfirmDialog's buttons, when `confirm-text` / `cancel-text` aren't set. */
|
|
11
|
+
confirm: string;
|
|
12
|
+
cancel: string;
|
|
13
|
+
/** Toast's dismiss button. */
|
|
14
|
+
dismissToast: string;
|
|
15
|
+
/** Toast viewport's region name, when `label` isn't set. */
|
|
16
|
+
notifications: string;
|
|
17
|
+
/** Menu's trigger text and name, when `label` isn't set. */
|
|
18
|
+
menu: string;
|
|
19
|
+
/** ContextMenu's name, when `label` isn't set. */
|
|
20
|
+
contextMenu: string;
|
|
21
|
+
/** SpinButton's step buttons. */
|
|
22
|
+
decrease: string;
|
|
23
|
+
increase: string;
|
|
24
|
+
/** Appended to a field label with `optional`. */
|
|
25
|
+
optional: string;
|
|
26
|
+
/** Textarea's spoken character count. */
|
|
27
|
+
characterCount: (count: number, max: number) => string;
|
|
28
|
+
/** Select with several picked: what follows the first label. */
|
|
29
|
+
moreSelected: (count: number) => string;
|
|
30
|
+
/** Combobox or TagInput chip's remove button. */
|
|
31
|
+
removeItem: (label: string) => string;
|
|
32
|
+
/** Combobox with `multiple`: what's picked, part of the input's description. */
|
|
33
|
+
selectedItems: (labels: string[]) => string;
|
|
34
|
+
/** Combobox with nothing matching. */
|
|
35
|
+
noResults: string;
|
|
36
|
+
/** Combobox with `creatable`, offering to add the typed text. */
|
|
37
|
+
createOption: (query: string) => string;
|
|
38
|
+
/** Combobox's spoken result count while filtering. */
|
|
39
|
+
resultCount: (count: number) => string;
|
|
40
|
+
/** Combobox while `loading`. */
|
|
41
|
+
loading: string;
|
|
42
|
+
/** Table without rows. */
|
|
43
|
+
noData: string;
|
|
44
|
+
/** Slider range thumbs, when `thumb-labels` isn't set. */
|
|
45
|
+
rangeStart: string;
|
|
46
|
+
rangeEnd: string;
|
|
47
|
+
/** AvatarGroup's "+N" chip, when `overflow-label` isn't set. */
|
|
48
|
+
moreAvatars: (count: number) => string;
|
|
49
|
+
/** Pagination's nav landmark name, when `label` isn't set. */
|
|
50
|
+
pagination: string;
|
|
51
|
+
/** Pagination's previous-page button. */
|
|
52
|
+
previousPage: string;
|
|
53
|
+
/** Pagination's next-page button. */
|
|
54
|
+
nextPage: string;
|
|
55
|
+
/** A pagination page button's name, e.g. "Page 3". */
|
|
56
|
+
page: (page: number) => string;
|
|
57
|
+
/** PasswordInput's reveal button, while the password is concealed. */
|
|
58
|
+
showPassword: string;
|
|
59
|
+
/** PasswordInput's reveal button, while the password is shown. */
|
|
60
|
+
hidePassword: string;
|
|
61
|
+
/** Breadcrumbs' nav landmark name, when `label` isn't set. */
|
|
62
|
+
breadcrumbs: string;
|
|
63
|
+
/** Spoken names of Kbd's special keys. */
|
|
64
|
+
keys: {
|
|
65
|
+
command: string;
|
|
66
|
+
control: string;
|
|
67
|
+
option: string;
|
|
68
|
+
alt: string;
|
|
69
|
+
shift: string;
|
|
70
|
+
enter: string;
|
|
71
|
+
backspace: string;
|
|
72
|
+
tab: string;
|
|
73
|
+
escape: string;
|
|
74
|
+
space: string;
|
|
75
|
+
up: string;
|
|
76
|
+
down: string;
|
|
77
|
+
left: string;
|
|
78
|
+
right: string;
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
export type UiTranslationsInput = Partial<Omit<UiTranslations, "keys">> & {
|
|
82
|
+
keys?: Partial<UiTranslations["keys"]>;
|
|
83
|
+
};
|
|
84
|
+
export declare const defaultTranslations: UiTranslations;
|
|
85
|
+
//#endregion
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
//#region src/translations.ts
|
|
2
|
+
const defaultTranslations = {
|
|
3
|
+
close: "Close",
|
|
4
|
+
confirm: "Confirm",
|
|
5
|
+
cancel: "Cancel",
|
|
6
|
+
dismissToast: "Dismiss notification",
|
|
7
|
+
notifications: "Notifications",
|
|
8
|
+
menu: "Menu",
|
|
9
|
+
contextMenu: "Context menu",
|
|
10
|
+
decrease: "Decrease",
|
|
11
|
+
increase: "Increase",
|
|
12
|
+
optional: "(optional)",
|
|
13
|
+
characterCount: (count, max) => `${count} of ${max} characters`,
|
|
14
|
+
moreSelected: (count) => `(+${count} more)`,
|
|
15
|
+
removeItem: (label) => `Remove ${label}`,
|
|
16
|
+
selectedItems: (labels) => `Selected: ${labels.join(", ")}`,
|
|
17
|
+
noResults: "No results",
|
|
18
|
+
createOption: (query) => `Press Enter to add “${query}”`,
|
|
19
|
+
resultCount: (count) => count === 1 ? "1 result" : `${count} results`,
|
|
20
|
+
loading: "Loading…",
|
|
21
|
+
noData: "No data to display.",
|
|
22
|
+
rangeStart: "Minimum",
|
|
23
|
+
rangeEnd: "Maximum",
|
|
24
|
+
moreAvatars: (count) => `${count} more`,
|
|
25
|
+
pagination: "Pagination",
|
|
26
|
+
previousPage: "Previous page",
|
|
27
|
+
nextPage: "Next page",
|
|
28
|
+
page: (page) => `Page ${page}`,
|
|
29
|
+
showPassword: "Show password",
|
|
30
|
+
hidePassword: "Hide password",
|
|
31
|
+
breadcrumbs: "Breadcrumbs",
|
|
32
|
+
keys: {
|
|
33
|
+
command: "Command",
|
|
34
|
+
control: "Control",
|
|
35
|
+
option: "Option",
|
|
36
|
+
alt: "Alt",
|
|
37
|
+
shift: "Shift",
|
|
38
|
+
enter: "Enter",
|
|
39
|
+
backspace: "Backspace",
|
|
40
|
+
tab: "Tab",
|
|
41
|
+
escape: "Escape",
|
|
42
|
+
space: "Space",
|
|
43
|
+
up: "Up arrow",
|
|
44
|
+
down: "Down arrow",
|
|
45
|
+
left: "Left arrow",
|
|
46
|
+
right: "Right arrow"
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
/** Defaults with `overrides` on top, keys merged one level deep. */
|
|
50
|
+
function resolveTranslations(overrides) {
|
|
51
|
+
if (!overrides) return defaultTranslations;
|
|
52
|
+
return {
|
|
53
|
+
...defaultTranslations,
|
|
54
|
+
...overrides,
|
|
55
|
+
keys: {
|
|
56
|
+
...defaultTranslations.keys,
|
|
57
|
+
...overrides.keys
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
export { defaultTranslations, resolveTranslations };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { TdHTMLAttributes } from "vue";
|
|
2
|
+
//#region src/types.d.ts
|
|
3
|
+
export type SelectValue = string | number;
|
|
4
|
+
export interface SelectOption<T extends SelectValue = SelectValue> {
|
|
5
|
+
label: string;
|
|
6
|
+
value: T;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface MenuItem<T extends SelectValue = SelectValue> extends SelectOption<T> {
|
|
10
|
+
/** Trailing text, e.g. a shortcut like "⌘S". Render richer content via the `item` slot. */
|
|
11
|
+
hint?: string;
|
|
12
|
+
}
|
|
13
|
+
/** A line between groups of menu items. */
|
|
14
|
+
export interface MenuSeparator {
|
|
15
|
+
separator: true;
|
|
16
|
+
}
|
|
17
|
+
export type MenuEntry<T extends SelectValue = SelectValue> = MenuItem<T> | MenuSeparator;
|
|
18
|
+
export interface TableColumn<T> {
|
|
19
|
+
key: string;
|
|
20
|
+
header: string;
|
|
21
|
+
accessor?: (row: T) => unknown;
|
|
22
|
+
align?: TdHTMLAttributes["align"];
|
|
23
|
+
numeric?: boolean;
|
|
24
|
+
width?: `${number}px` | `${number}%`;
|
|
25
|
+
/** Its header becomes a button that sets the table's `v-model:sort`. */
|
|
26
|
+
sortable?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/** A table's sort: which column, which way. Sorting the rows is up to you. */
|
|
29
|
+
export interface TableSort {
|
|
30
|
+
key: string;
|
|
31
|
+
direction: "ascending" | "descending";
|
|
32
|
+
}
|
|
33
|
+
export type ButtonVariant = "primary" | "secondary" | "solid" | "ghost" | "danger" | "link";
|
|
34
|
+
export type ButtonSize = "small" | "medium" | "large";
|
|
35
|
+
export type ButtonType = "button" | "submit" | "reset";
|
|
36
|
+
export type LinkTarget = "_blank" | "_self" | "_parent" | "_top";
|
|
37
|
+
/** Whatever the app's router link accepts (`RouteLocationRaw` for vue-router). */
|
|
38
|
+
export type LinkTo = string | Record<string, unknown>;
|
|
39
|
+
export interface BreadcrumbItem {
|
|
40
|
+
/** Text of the crumb. */
|
|
41
|
+
label: string;
|
|
42
|
+
/** Route for the configured router link (`createUi({ link })`), rendered instead of an anchor. */
|
|
43
|
+
to?: LinkTo;
|
|
44
|
+
/** Plain URL, for crumbs without a router location. */
|
|
45
|
+
href?: string;
|
|
46
|
+
}
|
|
47
|
+
export type ToastTone = "success" | "danger" | "info";
|
|
48
|
+
export interface Toast {
|
|
49
|
+
id: number;
|
|
50
|
+
message: string;
|
|
51
|
+
tone: ToastTone;
|
|
52
|
+
/** Milliseconds before auto-dismiss; `0` keeps it until dismissed. */
|
|
53
|
+
duration: number;
|
|
54
|
+
/** A button in the toast, e.g. "Undo". Pressing it also dismisses the toast. */
|
|
55
|
+
action?: ToastAction;
|
|
56
|
+
}
|
|
57
|
+
export interface ToastAction {
|
|
58
|
+
label: string;
|
|
59
|
+
onClick: () => void;
|
|
60
|
+
}
|
|
61
|
+
export type AvatarSize = "small" | "medium" | "large";
|
|
62
|
+
export interface AvatarItem {
|
|
63
|
+
name: string;
|
|
64
|
+
src?: string;
|
|
65
|
+
id?: string | number;
|
|
66
|
+
}
|
|
67
|
+
/** Decides which key caps `<Kbd>` shows: ⌘ ⌥ ⇧ on Apple, Ctrl Alt Shift elsewhere. */
|
|
68
|
+
export type Platform = "apple" | "pc";
|
|
69
|
+
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,95 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@humanonlyweb/ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Headless, accessible, SSR-safe Vue components.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"a11y",
|
|
7
|
+
"accessible",
|
|
8
|
+
"anchor-positioning",
|
|
9
|
+
"components",
|
|
10
|
+
"headless",
|
|
11
|
+
"nuxt",
|
|
12
|
+
"popover",
|
|
13
|
+
"ssr",
|
|
14
|
+
"vue"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://github.com/humanonlyweb/ui#readme",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/humanonlyweb/ui/issues"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"author": "HumanOnlyWeb",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "git+https://github.com/humanonlyweb/ui.git"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"type": "module",
|
|
30
|
+
"sideEffects": [
|
|
31
|
+
"**/*.css"
|
|
32
|
+
],
|
|
33
|
+
"exports": {
|
|
34
|
+
".": "./dist/index.js",
|
|
35
|
+
"./package.json": "./package.json",
|
|
36
|
+
"./nuxt": "./dist/nuxt/module.js",
|
|
37
|
+
"./core.css": "./dist/styles/core.css"
|
|
38
|
+
},
|
|
39
|
+
"publishConfig": {
|
|
40
|
+
"access": "public"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "vp pack && nuxt build docs && node scripts/package-docs.mjs",
|
|
44
|
+
"dev": "vp pack --watch",
|
|
45
|
+
"test": "vp test",
|
|
46
|
+
"check": "nuxt prepare docs && vp check",
|
|
47
|
+
"typecheck": "vue-tsc --noEmit",
|
|
48
|
+
"prepublishOnly": "vp run build",
|
|
49
|
+
"docs": "nuxt dev docs",
|
|
50
|
+
"docs:build": "nuxt build docs",
|
|
51
|
+
"docs:preview": "nuxt build docs && wrangler dev --config docs/wrangler.jsonc",
|
|
52
|
+
"docs:deploy": "nuxt build docs && wrangler deploy --config docs/wrangler.jsonc",
|
|
53
|
+
"docs:typecheck": "nuxt typecheck docs",
|
|
54
|
+
"prepare": "vp config --no-agent"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@comark/nuxt": "0.7.0",
|
|
58
|
+
"@nuxt/fonts": "1.0.1",
|
|
59
|
+
"@nuxt/kit": "^4.6.2",
|
|
60
|
+
"@nuxt/schema": "^4.6.2",
|
|
61
|
+
"@shikijs/langs": "4.5.0",
|
|
62
|
+
"@shikijs/themes": "4.5.0",
|
|
63
|
+
"@types/node": "26.6.5",
|
|
64
|
+
"@vitejs/plugin-vue": "6.0.10",
|
|
65
|
+
"@vitest/browser-playwright": "5.0.5",
|
|
66
|
+
"@vue/test-utils": "2.5.1",
|
|
67
|
+
"axe-core": "4.14.0",
|
|
68
|
+
"nuxt": "^4.6.2",
|
|
69
|
+
"playwright": "1.64.1",
|
|
70
|
+
"shiki": "4.5.0",
|
|
71
|
+
"typescript": "npm:typescript-native-bridge@6.0.3-bridge.18.tsgo.7.0.2",
|
|
72
|
+
"unplugin-vue": "8.0.0",
|
|
73
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@1.3.0",
|
|
74
|
+
"vite-plus": "1.3.0",
|
|
75
|
+
"vue-component-meta": "3.3.13",
|
|
76
|
+
"vue-router": "5.4.0",
|
|
77
|
+
"vue-tsc": "3.3.13",
|
|
78
|
+
"wrangler": "4.151.1",
|
|
79
|
+
"zod": "4.6.7"
|
|
80
|
+
},
|
|
81
|
+
"peerDependencies": {
|
|
82
|
+
"@nuxt/kit": "^4.0.0",
|
|
83
|
+
"vue": "3.5.44"
|
|
84
|
+
},
|
|
85
|
+
"peerDependenciesMeta": {
|
|
86
|
+
"@nuxt/kit": {
|
|
87
|
+
"optional": true
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"overrides": {
|
|
91
|
+
"typescript": "$typescript",
|
|
92
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@1.3.0"
|
|
93
|
+
},
|
|
94
|
+
"packageManager": "bun@1.4.4"
|
|
95
|
+
}
|