@s_and_a/arrow-ui 0.1.20 → 0.2.1
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/dist/{contracts-C0Amsdi9.js → contracts-a_yLRqbF.js} +1 -1
- package/dist/{design-DrseyOgF.js → design-DFw1iGyJ.js} +2 -1
- package/dist/design.js +2 -2
- package/dist/index.js +5043 -5004
- package/dist/{requirements-B86TU96J.js → requirements-CKgrF5eA.js} +1 -1
- package/dist/requirements.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/ArAlert.vue.d.ts +1 -1
- package/dist/types/components/ArAvatar.vue.d.ts +1 -1
- package/dist/types/components/ArBadge.vue.d.ts +1 -1
- package/dist/types/components/ArBalloon.vue.d.ts +1 -1
- package/dist/types/components/ArButton.vue.d.ts +1 -1
- package/dist/types/components/ArChoiceCard.vue.d.ts +1 -1
- package/dist/types/components/ArDropdown.vue.d.ts +1 -1
- package/dist/types/components/ArFloatButton.vue.d.ts +1 -1
- package/dist/types/components/ArMessage.vue.d.ts +1 -1
- package/dist/types/components/ArNotification.vue.d.ts +1 -1
- package/dist/types/components/ArPointerBadge.vue.d.ts +1 -1
- package/dist/types/components/ArShiftGrid.vue.d.ts +1 -1
- package/dist/types/components/ArShiftViewTable.contract.d.ts +2 -0
- package/dist/types/components/ArStatistic.vue.d.ts +1 -1
- package/dist/types/components/ArSwitch.vue.d.ts +1 -1
- package/dist/types/components/ArTag.vue.d.ts +1 -1
- package/dist/types/components/ArTooltip.vue.d.ts +1 -1
- package/dist/types/contracts.d.ts +1 -1
- package/dist/types/design-entry.d.ts +1 -1
- package/dist/types/design.d.ts +12 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/provider/ArUiProvider.vue.d.ts +6 -0
- package/package.json +1 -1
|
@@ -66,8 +66,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
66
66
|
}>, {
|
|
67
67
|
icon: false | "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps" | undefined;
|
|
68
68
|
title: string;
|
|
69
|
-
closable: boolean;
|
|
70
69
|
tone: NonNullable<"info" | "warn" | "danger" | "ok" | "neutral" | undefined>;
|
|
70
|
+
closable: boolean;
|
|
71
71
|
closeLabel: string;
|
|
72
72
|
banner: boolean;
|
|
73
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -3,10 +3,10 @@ declare const __VLS_export: import("vue").DefineComponent<ArAvatarProps, {}, {},
|
|
|
3
3
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
4
4
|
text: string;
|
|
5
5
|
name: string;
|
|
6
|
+
tone: import("./ArAvatar.contract").ArAvatarTone;
|
|
6
7
|
label: string;
|
|
7
8
|
size: "sm" | "md" | "lg" | "xs" | "xl";
|
|
8
9
|
color: readonly [string, string];
|
|
9
|
-
tone: import("./ArAvatar.contract").ArAvatarTone;
|
|
10
10
|
shape: "circle" | "square";
|
|
11
11
|
seed: string | number;
|
|
12
12
|
src: string;
|
|
@@ -10,10 +10,10 @@ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<ArBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArBadgeProps> & Readonly<{}>, {
|
|
11
11
|
text: string;
|
|
12
12
|
status: "accent" | "warn" | "danger" | "ok" | "neutral";
|
|
13
|
+
tone: "accent" | "warn" | "danger" | "neutral";
|
|
13
14
|
label: string;
|
|
14
15
|
max: number;
|
|
15
16
|
variant: "subtle" | "solid";
|
|
16
|
-
tone: "accent" | "warn" | "danger" | "neutral";
|
|
17
17
|
count: string | number;
|
|
18
18
|
dot: boolean;
|
|
19
19
|
showZero: boolean;
|
|
@@ -6,8 +6,8 @@ declare const __VLS_template: () => {
|
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<ArBalloonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArBalloonProps> & Readonly<{}>, {
|
|
9
|
-
size: number;
|
|
10
9
|
tone: "accent" | "warn" | "danger" | "ink";
|
|
10
|
+
size: number;
|
|
11
11
|
shape: "dot" | "bubble";
|
|
12
12
|
tail: "top" | "bottom" | "right" | "left";
|
|
13
13
|
live: boolean;
|
|
@@ -13,11 +13,11 @@ declare const __VLS_base: import("vue").DefineComponent<ArButtonProps, {}, {}, {
|
|
|
13
13
|
blink: boolean;
|
|
14
14
|
type: "button" | "submit";
|
|
15
15
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
16
|
+
tone: import("./ArButton.contract").ArButtonTone;
|
|
16
17
|
label: string;
|
|
17
18
|
block: boolean;
|
|
18
19
|
size: "sm" | "md" | "lg" | "xs" | "xl";
|
|
19
20
|
disabled: boolean;
|
|
20
|
-
tone: import("./ArButton.contract").ArButtonTone;
|
|
21
21
|
shape: "default" | "circle" | "round";
|
|
22
22
|
iconEnd: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
23
23
|
loading: boolean;
|
|
@@ -17,11 +17,11 @@ declare const __VLS_base: import("vue").DefineComponent<ArChoiceCardProps, {}, {
|
|
|
17
17
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
18
18
|
tag: string;
|
|
19
19
|
name: string;
|
|
20
|
+
value: ArChoiceValue;
|
|
20
21
|
size: import("./ArRadioGroup.contract.js").ArChoiceSize;
|
|
21
22
|
description: string;
|
|
22
23
|
variant: "radio" | "card" | "option" | "tile";
|
|
23
24
|
disabled: boolean;
|
|
24
|
-
value: ArChoiceValue;
|
|
25
25
|
modelValue: ArChoiceValue | null;
|
|
26
26
|
selected: boolean;
|
|
27
27
|
reason: string;
|
|
@@ -29,13 +29,13 @@ declare const __VLS_base: import("vue").DefineComponent<ArDropdownProps, {}, {},
|
|
|
29
29
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
32
|
+
tone: import("./ArButton.contract.js").ArButtonTone;
|
|
32
33
|
label: string;
|
|
33
34
|
size: "sm" | "md" | "lg";
|
|
34
35
|
open: boolean;
|
|
35
36
|
width: number;
|
|
36
37
|
variant: "split" | "button" | "ops";
|
|
37
38
|
disabled: boolean;
|
|
38
|
-
tone: import("./ArButton.contract.js").ArButtonTone;
|
|
39
39
|
items: readonly ArMenuItem[];
|
|
40
40
|
placement: "bottom-start" | "bottom-end" | "top-start" | "top-end";
|
|
41
41
|
closeOnSelect: boolean;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_export: import("vue").DefineComponent<ArFloatButtonProps, {}
|
|
|
9
9
|
fixed: boolean;
|
|
10
10
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
11
11
|
badge: string | number;
|
|
12
|
-
label: string;
|
|
13
12
|
tone: "default" | "primary";
|
|
13
|
+
label: string;
|
|
14
14
|
href: string;
|
|
15
15
|
items: readonly import("./ArFloatButton.contract").ArFloatButtonItem[];
|
|
16
16
|
backTop: boolean;
|
|
@@ -6,8 +6,8 @@ declare const __VLS_template: () => {
|
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<ArMessageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArMessageProps> & Readonly<{}>, {
|
|
9
|
-
content: string;
|
|
10
9
|
tone: "info" | "warn" | "danger" | "ok" | "loading";
|
|
10
|
+
content: string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -16,9 +16,9 @@ declare const __VLS_base: import("vue").DefineComponent<ArNotificationProps, {},
|
|
|
16
16
|
}>, {
|
|
17
17
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
18
18
|
progress: number;
|
|
19
|
+
tone: "info" | "warn" | "danger" | "ok";
|
|
19
20
|
description: string;
|
|
20
21
|
closable: boolean;
|
|
21
|
-
tone: "info" | "warn" | "danger" | "ok";
|
|
22
22
|
paused: boolean;
|
|
23
23
|
actions: readonly import("./ArNotification.contract").ArNotificationActionItem[];
|
|
24
24
|
closeLabel: string;
|
|
@@ -6,8 +6,8 @@ declare const __VLS_template: () => {
|
|
|
6
6
|
};
|
|
7
7
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<ArPointerBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArPointerBadgeProps> & Readonly<{}>, {
|
|
9
|
-
size: number;
|
|
10
9
|
tone: "accent" | "attention";
|
|
10
|
+
size: number;
|
|
11
11
|
side: "top" | "bottom" | "right" | "left";
|
|
12
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -161,7 +161,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArShiftGridProps, {
|
|
|
161
161
|
today: string;
|
|
162
162
|
controls: boolean;
|
|
163
163
|
editable: boolean;
|
|
164
|
-
fit: "
|
|
164
|
+
fit: "scale" | "scroll";
|
|
165
165
|
columnWidth: number | null;
|
|
166
166
|
patterns: readonly ArShiftGridPattern[];
|
|
167
167
|
chartRange: readonly [number, number];
|
|
@@ -34,6 +34,8 @@ export interface ArShiftViewRow {
|
|
|
34
34
|
avatar?: boolean | string;
|
|
35
35
|
/** 頭文字の丸の色を人ごとに選ぶ元(社員の番号など)。省くと key。 */
|
|
36
36
|
avatarSeed?: string | number;
|
|
37
|
+
/** 写真のURL。渡すと頭文字の丸の代わりに写真を出す(読み込めない場合は頭文字へ戻る)。 */
|
|
38
|
+
avatarSrc?: string;
|
|
37
39
|
/** 今日の勤怠の印(名前の前の丸)。working=勤務中(緑の点)、absent=まだ打刻がない(白抜き)。省くと出さない。データは製品が渡す。 */
|
|
38
40
|
live?: "working" | "absent";
|
|
39
41
|
/** 従業員の検索で名前のほかに当てる文字(かな・社員番号など)。 */
|
|
@@ -9,9 +9,9 @@ declare const __VLS_template: () => {
|
|
|
9
9
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
10
|
declare const __VLS_base: import("vue").DefineComponent<ArStatisticProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ArStatisticProps> & Readonly<{}>, {
|
|
11
11
|
title: string;
|
|
12
|
+
tone: "default" | "warn" | "danger" | "ok";
|
|
12
13
|
size: "sm" | "md";
|
|
13
14
|
prefix: string;
|
|
14
|
-
tone: "default" | "warn" | "danger" | "ok";
|
|
15
15
|
suffix: string;
|
|
16
16
|
precision: number;
|
|
17
17
|
trend: "flat" | "up" | "down";
|
|
@@ -14,10 +14,10 @@ declare const __VLS_base: import("vue").DefineComponent<ArSwitchProps, {}, {}, {
|
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<ArSwitchProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
+
tone: "default" | "accent";
|
|
17
18
|
id: string;
|
|
18
19
|
size: "sm" | "md" | "lg";
|
|
19
20
|
disabled: boolean;
|
|
20
|
-
tone: "default" | "accent";
|
|
21
21
|
loading: boolean;
|
|
22
22
|
onText: string;
|
|
23
23
|
offText: string;
|
|
@@ -15,11 +15,11 @@ declare const __VLS_base: import("vue").DefineComponent<ArTagProps, {}, {}, {},
|
|
|
15
15
|
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
icon: "search" | "repeat" | "shift" | "sort" | "filter" | "grid" | "layout" | "menu" | "upload" | "card" | "image" | "list" | "alert" | "info" | "cal" | "brief" | "calc" | "files" | "mega" | "bld" | "users" | "gear" | "todo" | "bell" | "cd" | "cl" | "cr" | "plus" | "x" | "pen" | "trash" | "more" | "lock" | "clock" | "layers" | "sheet" | "print" | "chart" | "gantt" | "check" | "pin" | "yen" | "minus" | "moon" | "play" | "store" | "eye" | "note" | "user" | "coffee" | "grip" | "undo" | "redo" | "panel" | "out" | "eyeoff" | "hand" | "swap" | "inbox" | "help" | "phone" | "mail" | "bug" | "speaker" | "hand2" | "dl" | "send" | "xls" | "star" | "copy" | "folder" | "file" | "home" | "up" | "down" | "zoom" | "reload" | "qmark" | "smile" | "drag" | "camera" | "unlock" | "pointer" | "movie" | "money" | "checkcircle" | "exclaim" | "schedule" | "comment" | "notice" | "cut" | "paste" | "save" | "return" | "zoomout" | "zoomreset" | "silhouette" | "twoperson" | "manager" | "nocard" | "keyboard" | "punchin" | "punchout" | "bank" | "hierarchy" | "status" | "chevrons" | "apply" | "umbrella" | "contract" | "switch-user" | "globe" | "walk" | "payment" | "gift" | "briefcase" | "calcheck" | "logout" | "apps";
|
|
18
|
+
tone: "accent" | "warn" | "danger" | "ok" | "neutral" | "solid" | "event";
|
|
18
19
|
dashed: boolean;
|
|
19
20
|
size: "sm" | "md" | "xs";
|
|
20
21
|
closable: boolean;
|
|
21
22
|
disabled: boolean;
|
|
22
|
-
tone: "accent" | "warn" | "danger" | "ok" | "neutral" | "solid" | "event";
|
|
23
23
|
shape: "square" | "pill";
|
|
24
24
|
count: boolean;
|
|
25
25
|
checked: boolean;
|
|
@@ -14,9 +14,9 @@ declare const __VLS_base: import("vue").DefineComponent<ArTooltipProps, {}, {},
|
|
|
14
14
|
}>, {
|
|
15
15
|
anchor: HTMLElement | null;
|
|
16
16
|
title: string;
|
|
17
|
+
tone: "accent" | "ink";
|
|
17
18
|
open: boolean;
|
|
18
19
|
disabled: boolean;
|
|
19
|
-
tone: "accent" | "ink";
|
|
20
20
|
placement: import("../internal/floating.js").ArPlacement;
|
|
21
21
|
delay: number;
|
|
22
22
|
hideDelay: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**デザインを作るための入口(@s_and_a/arrow-ui/デザイン)。部品を読み込まないので Node でも軽い。 */
|
|
2
2
|
export { defineDesign, ArDesignError } from "./design";
|
|
3
|
-
export type { ArDesign } from "./design";
|
|
3
|
+
export type { ArDesign, ArDesignTone } from "./design";
|
|
4
4
|
export type { ArIconName } from "./icons";
|
|
5
5
|
export { contracts, componentNames, designedComponents, structuralComponents } from "./contracts";
|
|
6
6
|
export type { ArComponentName } from "./contracts";
|
package/dist/types/design.d.ts
CHANGED
|
@@ -30,6 +30,18 @@ export interface ArDesign {
|
|
|
30
30
|
* 絵の中に `<style>`・`<script>` は書かない(ページ全体に効いてしまう)。色は属性(fill="…")で書く。
|
|
31
31
|
*/
|
|
32
32
|
icons?: Partial<Record<ArIconName, string>>;
|
|
33
|
+
/**
|
|
34
|
+
* 色合い(利用者が選べる色の強さの段階)。名前 → 上書きするトークンとテーマ色。
|
|
35
|
+
* 選ばれていないとき(または "standard")は tokens・palettes のまま。部品の形・大きさは変えず、色だけを変える。
|
|
36
|
+
* 例:{ vivid: { label: "あざやか", palettes: { blue: { accent: "#3D83D6", … } } } }。
|
|
37
|
+
*/
|
|
38
|
+
tones?: Record<string, ArDesignTone>;
|
|
39
|
+
}
|
|
40
|
+
/** 色合いの1段階。トークンとテーマ色の一部だけを上書きする(無い名前は元の値のまま)。 */
|
|
41
|
+
export interface ArDesignTone {
|
|
42
|
+
label: string;
|
|
43
|
+
tokens?: Partial<ArTokenValues>;
|
|
44
|
+
palettes?: Partial<Record<ArPaletteName, Partial<ArPalette>>>;
|
|
33
45
|
}
|
|
34
46
|
export declare class ArDesignError extends Error {
|
|
35
47
|
name: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import "./styles/index.css";
|
|
|
6
6
|
export { contracts, componentNames, designedComponents, structuralComponents } from "./contracts";
|
|
7
7
|
export type { ArComponentName } from "./contracts";
|
|
8
8
|
export { defineDesign, ArDesignError } from "./design";
|
|
9
|
-
export type { ArDesign } from "./design";
|
|
9
|
+
export type { ArDesign, ArDesignTone } from "./design";
|
|
10
10
|
export { icons } from "./icons";
|
|
11
11
|
export type { ArIconName } from "./icons";
|
|
12
12
|
export { useArUi, captureArUiContext } from "./provider/context";
|
|
@@ -9,6 +9,10 @@ type __VLS_Props = {
|
|
|
9
9
|
requires?: ArRequirements;
|
|
10
10
|
/** document:html 全体に当てる(製品)。self:この部品の中だけに当てる。 */
|
|
11
11
|
scope?: "document" | "self";
|
|
12
|
+
/** 色合い(デザインの tones の名前)。省くか "standard" なら標準の色。 */
|
|
13
|
+
tone?: string;
|
|
14
|
+
/** 文字の大きさの倍率(1 が標準)。部品の文字の大きさだけを変え、枠の形は変えない。 */
|
|
15
|
+
fontScale?: number;
|
|
12
16
|
};
|
|
13
17
|
declare const __VLS_template: () => {
|
|
14
18
|
__VLS_Slots: {
|
|
@@ -20,8 +24,10 @@ declare const __VLS_template: () => {
|
|
|
20
24
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
21
25
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
26
|
palette: "blue" | "green" | "yellow" | "pink" | "orange" | "teal" | "amber";
|
|
27
|
+
tone: string;
|
|
23
28
|
requires: ArRequirements;
|
|
24
29
|
scope: "document" | "self";
|
|
30
|
+
fontScale: number;
|
|
25
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
33
|
declare const _default: typeof __VLS_export;
|