@s_and_a/arrow-ui 0.1.11 → 0.1.12
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-MlDifXRO.js → contracts-BsrLkSLM.js} +5 -5
- package/dist/{design-DQEH2c8P.js → design-HHaurir0.js} +1 -1
- package/dist/design.js +2 -2
- package/dist/index.js +248 -183
- package/dist/{requirements-D6YQEVU7.js → requirements-Ddub119-.js} +1 -1
- package/dist/requirements.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/ArList.contract.d.ts +2 -0
- package/dist/types/components/ArPeriodNav.vue.d.ts +1 -1
- package/dist/types/components/ArProfileCard.contract.d.ts +5 -0
- package/dist/types/components/ArProfileCard.vue.d.ts +8 -1
- package/dist/types/components/ArShiftDaySheet.vue.d.ts +1 -1
- package/dist/types/components/ArTable.contract.d.ts +2 -0
- package/dist/types/components/ArTag.contract.d.ts +4 -0
- package/dist/types/components/ArWizard.contract.d.ts +2 -0
- package/dist/types/components/ArWizard.vue.d.ts +1 -0
- package/dist/types/contracts.d.ts +5 -5
- package/package.json +1 -1
|
@@ -5,6 +5,8 @@ export interface ArListItem {
|
|
|
5
5
|
key: string | number;
|
|
6
6
|
/** 1行目の太字(名前)。 */
|
|
7
7
|
title: string;
|
|
8
|
+
/** データに保存した色(イベント等)。指定時は見出しと色の印に反映する。 */
|
|
9
|
+
color?: string;
|
|
8
10
|
/** 2行目の灰色の小さな文字(「09:00〜18:00 / 渋谷店」)。 */
|
|
9
11
|
description?: string;
|
|
10
12
|
/** 頭文字の丸。true なら title の1文字目。1.1: src を渡すと写真。 */
|
|
@@ -17,6 +17,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArPeriodNavProps, {},
|
|
|
17
17
|
pick: string;
|
|
18
18
|
};
|
|
19
19
|
date: string;
|
|
20
|
+
nextDisabled: boolean;
|
|
20
21
|
weekday: string;
|
|
21
22
|
arrows: boolean;
|
|
22
23
|
weekdayTone: "sun" | "sat";
|
|
@@ -27,7 +28,6 @@ declare const __VLS_export: import("vue").DefineComponent<ArPeriodNavProps, {},
|
|
|
27
28
|
todayDisabled: boolean;
|
|
28
29
|
inverse: boolean;
|
|
29
30
|
prevDisabled: boolean;
|
|
30
|
-
nextDisabled: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ArDescriptionsItem } from "./ArDescriptions.contract";
|
|
2
2
|
import type { ArTagProps } from "./ArTag.contract";
|
|
3
|
+
import type { ArPaletteName } from "@s_and_a/arrow-ui-tokens";
|
|
3
4
|
/** Employee identity, metadata and actions share one responsive surface in both designs. */
|
|
4
5
|
export interface ArProfileCardProps {
|
|
5
6
|
/** compact keeps the identity, metadata and actions together above a detail page. */
|
|
@@ -9,11 +10,15 @@ export interface ArProfileCardProps {
|
|
|
9
10
|
kana?: string;
|
|
10
11
|
code?: string;
|
|
11
12
|
image?: string;
|
|
13
|
+
/** 写真を押して編集を始める。編集の権限と保存は利用側が管理する。 */
|
|
14
|
+
photoEditable?: boolean;
|
|
15
|
+
photoLabel?: string;
|
|
12
16
|
items?: readonly ArDescriptionsItem[];
|
|
13
17
|
tags?: readonly {
|
|
14
18
|
key: string;
|
|
15
19
|
label: string;
|
|
16
20
|
tone?: ArTagProps["tone"];
|
|
21
|
+
palette?: ArPaletteName;
|
|
17
22
|
}[];
|
|
18
23
|
tagsLabel?: string;
|
|
19
24
|
}
|
|
@@ -9,7 +9,11 @@ declare const __VLS_template: () => {
|
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
12
|
-
declare const __VLS_base: import("vue").DefineComponent<ArProfileCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<ArProfileCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"photo-click": () => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<ArProfileCardProps> & Readonly<{
|
|
15
|
+
"onPhoto-click"?: (() => any) | undefined;
|
|
16
|
+
}>, {
|
|
13
17
|
layout: "default" | "compact";
|
|
14
18
|
title: string;
|
|
15
19
|
image: string;
|
|
@@ -20,8 +24,11 @@ declare const __VLS_base: import("vue").DefineComponent<ArProfileCardProps, {},
|
|
|
20
24
|
key: string;
|
|
21
25
|
label: string;
|
|
22
26
|
tone?: import("./ArTag.contract.js").ArTagProps["tone"];
|
|
27
|
+
palette?: import("@s_and_a/arrow-ui-tokens").ArPaletteName;
|
|
23
28
|
}[];
|
|
24
29
|
kana: string;
|
|
30
|
+
photoEditable: boolean;
|
|
31
|
+
photoLabel: string;
|
|
25
32
|
tagsLabel: string;
|
|
26
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
34
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -31,12 +31,12 @@ declare const __VLS_base: import("vue").DefineComponent<ArShiftDaySheetProps, {}
|
|
|
31
31
|
close?: string;
|
|
32
32
|
};
|
|
33
33
|
height: string | number;
|
|
34
|
+
nextDisabled: boolean;
|
|
34
35
|
weekday: string;
|
|
35
36
|
published: boolean;
|
|
36
37
|
publishDisabled: boolean;
|
|
37
38
|
weekdayTone: "sun" | "sat";
|
|
38
39
|
prevDisabled: boolean;
|
|
39
|
-
nextDisabled: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
@@ -217,6 +217,8 @@ export interface ArTableProps<Row> {
|
|
|
217
217
|
* 長文の列はwrapを併用する。省略時は各テーマの従来の表幅と横スクロールを維持する。
|
|
218
218
|
*/
|
|
219
219
|
fit?: boolean;
|
|
220
|
+
/** fit時の操作列の幅(px)。省略時は96px。アイコン1つなら56pxなど、操作の数に合わせる。 */
|
|
221
|
+
actionsWidth?: number;
|
|
220
222
|
/** 列。 */
|
|
221
223
|
columns: readonly ArTableColumn<Row>[];
|
|
222
224
|
/** 列・サムネイルの表示を ArViewOptions で切り替える。先頭列と操作列は常に表示する。 */
|
|
@@ -14,6 +14,10 @@ export interface ArTagProps {
|
|
|
14
14
|
icon?: ArIconName;
|
|
15
15
|
/** 件数の札(数字を等幅にする)。 */
|
|
16
16
|
count?: boolean;
|
|
17
|
+
/** 親の幅に揃える。表の状態列など、文字数の異なる札を同じ幅にする。 */
|
|
18
|
+
block?: boolean;
|
|
19
|
+
/** 同じ場所に並ぶ状態ラベルの最小幅(px)。長い翻訳は折り返さず必要な幅まで広がる。 */
|
|
20
|
+
minWidth?: number;
|
|
17
21
|
/** 右に × を出して外せるようにする(close を出す)。 */
|
|
18
22
|
closable?: boolean;
|
|
19
23
|
/** × の読み上げの名前。 */
|
|
@@ -15,6 +15,8 @@ export interface ArWizardProps {
|
|
|
15
15
|
/** Actual destination when the consumer skips optional steps; navigation remains consumer-owned. */
|
|
16
16
|
nextValue?: number;
|
|
17
17
|
disabled?: boolean;
|
|
18
|
+
/** Keep back navigation available while the current step is incomplete. */
|
|
19
|
+
nextDisabled?: boolean;
|
|
18
20
|
/** form は読みやすい幅で中央に配置。fluid は従来どおり配置先の全幅を使う。 */
|
|
19
21
|
layout?: "fluid" | "form";
|
|
20
22
|
/** nextStep may contain {step}; an explicit option.nextText still takes precedence. */
|
|
@@ -20,6 +20,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArWizardProps, {}, {}, {
|
|
|
20
20
|
nextStep?: string;
|
|
21
21
|
};
|
|
22
22
|
disabled: boolean;
|
|
23
|
+
nextDisabled: boolean;
|
|
23
24
|
scrollOnChange: boolean;
|
|
24
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -34,7 +34,7 @@ export declare const contracts: {
|
|
|
34
34
|
readonly ArSteps: "1.1.0";
|
|
35
35
|
readonly ArStepSelect: "1.0.0";
|
|
36
36
|
readonly ArTabs: "1.1.0";
|
|
37
|
-
readonly ArWizard: "1.
|
|
37
|
+
readonly ArWizard: "1.3.0";
|
|
38
38
|
readonly ArAutoComplete: "1.0.0";
|
|
39
39
|
readonly ArCascader: "1.0.0";
|
|
40
40
|
readonly ArCheckbox: "1.1.0";
|
|
@@ -85,18 +85,18 @@ export declare const contracts: {
|
|
|
85
85
|
readonly ArDescriptions: "1.1.0";
|
|
86
86
|
readonly ArEmpty: "1.0.0";
|
|
87
87
|
readonly ArImage: "1.0.0";
|
|
88
|
-
readonly ArList: "1.
|
|
88
|
+
readonly ArList: "1.2.0";
|
|
89
89
|
readonly ArMapPreview: "1.0.0";
|
|
90
90
|
readonly ArOrgChart: "1.1.0";
|
|
91
91
|
readonly ArPdfViewer: "1.0.0";
|
|
92
92
|
readonly ArPointerBadge: "1.0.0";
|
|
93
93
|
readonly ArPopover: "1.0.0";
|
|
94
|
-
readonly ArProfileCard: "1.
|
|
94
|
+
readonly ArProfileCard: "1.1.0";
|
|
95
95
|
readonly ArQRCode: "1.0.0";
|
|
96
96
|
readonly ArRibbon: "1.0.0";
|
|
97
97
|
readonly ArStatistic: "1.0.0";
|
|
98
|
-
readonly ArTable: "1.
|
|
99
|
-
readonly ArTag: "1.
|
|
98
|
+
readonly ArTable: "1.7.0";
|
|
99
|
+
readonly ArTag: "1.1.0";
|
|
100
100
|
readonly ArTimeline: "1.0.0";
|
|
101
101
|
readonly ArTooltip: "1.1.0";
|
|
102
102
|
readonly ArTour: "1.0.0";
|