@geckou/ui-vue 0.10.0 → 0.13.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/README.md CHANGED
@@ -301,6 +301,37 @@ const articles = ref<any[]>([])
301
301
 
302
302
  定義例はデモの `demo/styles/base.scss` を参照。
303
303
 
304
+ ## 0.13.0 の変更
305
+
306
+ - `BasicButton` はローディング中に `disabled` にしない(押した瞬間にフォーカスが
307
+ `body` へ落ちるため)。代わりに `aria-disabled` / `aria-busy` を付け、
308
+ `pointer-events` と click ガードで押せなくする。**`:disabled` を前提に
309
+ スタイルを当てている場合は `[aria-disabled]` の追従が要る**
310
+ - `BasicButton` のローディング中もアクセシブル名を保つ(`visibility: hidden` → `opacity: 0`)。
311
+ `LoadingSpinner` は `aria-hidden="true"`
312
+ - `BasicButton` の hover 色が `color-mix()` になった(3 桁 hex 等で不正値になっていた)。
313
+ `cssStyle` の差し替えにも追従する(`hoverStyle` を `computed` に)
314
+ - `PopupBox` は**表示している間だけ**スロットを描画する
315
+ - `ModalBox` はマウント時点で `isShown` が true でもダイアログへフォーカスを移す
316
+ - `ModalBox` の背景クリック判定が「押し始めも背景だったとき」だけになった
317
+ - `RadioButtons` が `role="radiogroup"`、`CheckBoxes` が `role="group"` になり、
318
+ どちらも `ariaLabel` / `ariaLabelledBy` を受ける。エラーは `aria-describedby` で結び付く
319
+ - `RadioButtons` が `cssStyle.textColor` を `--text-color` へ出す(React 版と揃えた)
320
+ - `CheckButton` が `ariaLabel` / `ariaLabelledBy` を受ける
321
+ - `CheckBoxes` の `errorColor` が `cssStyle` の差し替えに追従する
322
+ - `ErrorMessage` が `id` を受ける
323
+ ## 0.12.0 の変更
324
+
325
+ - `GenericArticleList` が `theme='grid'` を実装した(型には含まれるのに switch に無く、
326
+ 黙って Standard になっていた)。`<ul>` の `list-style` もリセットする
327
+ - `CategoryList` / `MetadataList` が引き当てに失敗した値(空文字)を描かない。
328
+ `categoryData` を渡し忘れると、ID の数だけ空の `<li>` が並んでいた
329
+ - `MetadataList` の `icon.name` が prop の変更に追従する(setup 時の一度きりだった)
330
+ - `News` / `Row` カードが `isPickUpItem` を宣言した(`ispickupitem` 属性として
331
+ `<a>` に落ちていた)
332
+ - `News` カードの `AuthorInfo` へ渡す文字サイズを `text.fontSize` に直した
333
+ (`fontSize` は prop ではなく、小さくなっていなかった)
334
+ - `DateSelector` の使われていないクリックハンドラ(`openDropdown`)を削除
304
335
  ## 0.10.0 の変更
305
336
 
306
337
  - `DatePicker` の年月日欄は**入力中にエラー文言を出さない**。判定は入力のたびに
@@ -2,6 +2,7 @@ import { Article, Category, PostConfig } from '../../../types';
2
2
  type __VLS_Props = {
3
3
  article: Article;
4
4
  path: string;
5
+ isPickUpItem?: boolean;
5
6
  postConfig: PostConfig;
6
7
  categories: Category[];
7
8
  };
@@ -8,11 +8,12 @@ import h from "../Parts/CategoryList.vue.js";
8
8
  import C from "../Parts/TagList.vue.js";
9
9
  import $ from "../Parts/PostedDate.vue.js";
10
10
  import b from "../Parts/ExcerptText.vue.js";
11
- const B = /* @__PURE__ */ m({
11
+ const A = /* @__PURE__ */ m({
12
12
  __name: "News",
13
13
  props: {
14
14
  article: {},
15
15
  path: {},
16
+ isPickUpItem: { type: Boolean },
16
17
  postConfig: {},
17
18
  categories: {}
18
19
  },
@@ -79,9 +80,9 @@ const B = /* @__PURE__ */ m({
79
80
  class: t(a.$style.author),
80
81
  text: {
81
82
  color: "var(--gray)",
82
- preposition: "by"
83
+ preposition: "by",
84
+ fontSize: "small"
83
85
  },
84
- fontSize: "small",
85
86
  style: { "grid-area": "author" }
86
87
  }, null, 8, ["name", "class"])) : o("", !0)
87
88
  ];
@@ -91,5 +92,5 @@ const B = /* @__PURE__ */ m({
91
92
  }
92
93
  });
93
94
  export {
94
- B as default
95
+ A as default
95
96
  };
@@ -2,6 +2,7 @@ import { Article, Category, PostConfig } from '../../../types';
2
2
  type __VLS_Props = {
3
3
  article: Article;
4
4
  path: string;
5
+ isPickUpItem?: boolean;
5
6
  postConfig: PostConfig;
6
7
  categories: Category[];
7
8
  };
@@ -6,18 +6,19 @@ import u from "../Parts/AuthorInfo.vue.js";
6
6
  import h from "../Parts/CardHeading.vue.js";
7
7
  import C from "../Parts/CategoryList.vue.js";
8
8
  import $ from "../Parts/TagList.vue.js";
9
- import v from "../Parts/PostedDate.vue.js";
10
- import b from "../Parts/ExcerptText.vue.js";
11
- const R = /* @__PURE__ */ g({
9
+ import k from "../Parts/PostedDate.vue.js";
10
+ import v from "../Parts/ExcerptText.vue.js";
11
+ const N = /* @__PURE__ */ g({
12
12
  __name: "Row",
13
13
  props: {
14
14
  article: {},
15
15
  path: {},
16
+ isPickUpItem: { type: Boolean },
16
17
  postConfig: {},
17
18
  categories: {}
18
19
  },
19
20
  setup(e) {
20
- return (a, k) => e.article ? (r(), l(y, {
21
+ return (a, b) => e.article ? (r(), l(y, {
21
22
  key: 0,
22
23
  class: t(a.$style.container),
23
24
  path: e.path
@@ -46,7 +47,7 @@ const R = /* @__PURE__ */ g({
46
47
  class: t(a.$style.thumbnail),
47
48
  style: { "grid-area": "thumbnail" }
48
49
  }, null, 8, ["article", "class"]),
49
- o(v, {
50
+ o(k, {
50
51
  date: e.article.date,
51
52
  formatString: "yy.M.d",
52
53
  class: t(a.$style.date),
@@ -58,7 +59,7 @@ const R = /* @__PURE__ */ g({
58
59
  class: t(a.$style.heading),
59
60
  style: { "grid-area": "heading" }
60
61
  }, null, 8, ["heading", "class"]),
61
- o(b, {
62
+ o(v, {
62
63
  excerpt: e.article.excerpt.rendered,
63
64
  class: t(a.$style.excerpt),
64
65
  fontSize: "small",
@@ -93,5 +94,5 @@ const R = /* @__PURE__ */ g({
93
94
  }
94
95
  });
95
96
  export {
96
- R as default
97
+ N as default
97
98
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, computed as r, openBlock as n, createElementBlock as a, normalizeStyle as c, normalizeClass as C, Fragment as g, renderList as b, createBlock as y, resolveDynamicComponent as k, unref as h } from "vue";
1
+ import { defineComponent as f, computed as t, openBlock as n, createElementBlock as i, normalizeStyle as c, normalizeClass as C, Fragment as g, renderList as b, createBlock as y, resolveDynamicComponent as k, unref as h } from "vue";
2
2
  import { normalizePostConfig as v, returnArticlePath as N } from "../../scripts/utils.js";
3
3
  import u from "./Card/Standard.vue.js";
4
4
  import P from "./Card/Rounded.vue.js";
@@ -7,9 +7,10 @@ import w from "./Card/Tile.vue.js";
7
7
  import E from "./Card/Simple.vue.js";
8
8
  import z from "./Card/Row.vue.js";
9
9
  import A from "./Card/News.vue.js";
10
- import B from "./Card/Entertainment.vue.js";
10
+ import B from "./Card/Grid.vue.js";
11
+ import G from "./Card/Entertainment.vue.js";
11
12
  import I from "./Card/Gallery.vue.js";
12
- const K = /* @__PURE__ */ f({
13
+ const O = /* @__PURE__ */ f({
13
14
  __name: "GenericArticleList",
14
15
  props: {
15
16
  articles: {},
@@ -19,10 +20,10 @@ const K = /* @__PURE__ */ f({
19
20
  settings: {}
20
21
  },
21
22
  setup(e) {
22
- const t = e, d = r(() => t.settings.domainToUse), i = r(() => t.settings.isEnabledPickUp), s = r(
23
- () => v(t.settings.postConfig)
24
- ), p = r(() => {
25
- switch (t.theme) {
23
+ const r = e, d = t(() => r.settings.domainToUse), a = t(() => r.settings.isEnabledPickUp), s = t(
24
+ () => v(r.settings.postConfig)
25
+ ), p = t(() => {
26
+ switch (r.theme) {
26
27
  case "standard":
27
28
  return u;
28
29
  case "rounded":
@@ -37,29 +38,31 @@ const K = /* @__PURE__ */ f({
37
38
  return z;
38
39
  case "news":
39
40
  return A;
41
+ case "grid":
42
+ return B;
40
43
  case "gallery":
41
44
  return I;
42
45
  case "entertainment":
43
- return B;
46
+ return G;
44
47
  default:
45
48
  return u;
46
49
  }
47
50
  });
48
- return (m, S) => (n(), a("ul", {
51
+ return (m, S) => (n(), i("ul", {
49
52
  style: c({
50
53
  "--column-number": e.columnNumber,
51
54
  "--tablet-column-number": e.columnNumber - 1 ? e.columnNumber - 1 : 1
52
55
  }),
53
- class: C([m.$style.list, { [m.$style.pickup]: i.value }])
56
+ class: C([m.$style.list, { [m.$style.pickup]: a.value }])
54
57
  }, [
55
- (n(!0), a(g, null, b(e.articles, (o, l) => (n(), a("li", {
58
+ (n(!0), i(g, null, b(e.articles, (o, l) => (n(), i("li", {
56
59
  key: o.id,
57
60
  style: c({ animationDelay: `${Number(l) * 0.1}s` })
58
61
  }, [
59
62
  (n(), y(k(p.value), {
60
63
  path: h(N)(s.value, d.value, o.id),
61
64
  article: o,
62
- isPickUpItem: Number(l) === 0 && i.value,
65
+ isPickUpItem: Number(l) === 0 && a.value,
63
66
  postConfig: s.value,
64
67
  categories: e.categories
65
68
  }, null, 8, ["path", "article", "isPickUpItem", "postConfig", "categories"]))
@@ -68,5 +71,5 @@ const K = /* @__PURE__ */ f({
68
71
  }
69
72
  });
70
73
  export {
71
- K as default
74
+ O as default
72
75
  };
@@ -1,11 +1,11 @@
1
- const t = "_list_h2kvz_1", s = "_fadeIn_h2kvz_1", _ = "_pickup_h2kvz_39", c = {
2
- list: t,
3
- fadeIn: s,
4
- pickup: _
1
+ const c = "_list_cv8hf_1", t = "_fadeIn_cv8hf_1", s = "_pickup_cv8hf_42", _ = {
2
+ list: c,
3
+ fadeIn: t,
4
+ pickup: s
5
5
  };
6
6
  export {
7
- c as default,
8
- s as fadeIn,
9
- t as list,
10
- _ as pickup
7
+ _ as default,
8
+ t as fadeIn,
9
+ c as list,
10
+ s as pickup
11
11
  };
@@ -9,26 +9,26 @@ const b = /* @__PURE__ */ m({
9
9
  label: {},
10
10
  delimiter: {}
11
11
  },
12
- setup(e) {
13
- const n = e, l = (t, c) => {
12
+ setup(t) {
13
+ const n = t, l = (e, i) => {
14
14
  var a;
15
- return t.length ? ((a = t.find((o) => String(o.id) === String(c))) == null ? void 0 : a.name) ?? "" : "";
15
+ return e.length ? ((a = e.find((o) => String(o.id) === String(i))) == null ? void 0 : a.name) ?? "" : "";
16
16
  }, r = d(
17
17
  () => n.categoryIds.map(
18
- (t) => l(n.categoryData, t)
19
- )
18
+ (e) => l(n.categoryData, e)
19
+ ).filter((e) => e !== "")
20
20
  );
21
- return (t, c) => {
22
- var a, o, i;
21
+ return (e, i) => {
22
+ var a, o, c;
23
23
  return s(), u(g, {
24
24
  metadata: r.value,
25
25
  icon: {
26
- name: (a = e.icon) != null && a.color ? "FolderIcon" : null,
27
- color: (o = e.icon) == null ? void 0 : o.color,
28
- size: (i = e.icon) == null ? void 0 : i.size
26
+ name: (a = t.icon) != null && a.color ? "FolderIcon" : null,
27
+ color: (o = t.icon) == null ? void 0 : o.color,
28
+ size: (c = t.icon) == null ? void 0 : c.size
29
29
  },
30
- label: e.label,
31
- delimiter: e.delimiter
30
+ label: t.label,
31
+ delimiter: t.delimiter
32
32
  }, null, 8, ["metadata", "icon", "label", "delimiter"]);
33
33
  };
34
34
  }
@@ -1,7 +1,7 @@
1
- import { defineComponent as s, openBlock as a, createElementBlock as o, normalizeClass as t, normalizeStyle as n, createBlock as m, resolveDynamicComponent as d, unref as u, createCommentVNode as i, createElementVNode as b, Fragment as f, renderList as y, toDisplayString as g } from "vue";
2
- import k from "../../Icon/Folder.vue.js";
3
- import v from "../../Icon/Tag.vue.js";
4
- const z = ["data-delimiter"], F = /* @__PURE__ */ s({
1
+ import { defineComponent as b, computed as c, openBlock as a, createElementBlock as o, normalizeClass as t, normalizeStyle as n, createBlock as f, resolveDynamicComponent as y, createCommentVNode as m, createElementVNode as v, Fragment as g, renderList as k, toDisplayString as z } from "vue";
2
+ import C from "../../Icon/Folder.vue.js";
3
+ import h from "../../Icon/Tag.vue.js";
4
+ const $ = ["data-delimiter"], q = /* @__PURE__ */ b({
5
5
  __name: "MetadataList",
6
6
  props: {
7
7
  metadata: {},
@@ -20,25 +20,27 @@ const z = ["data-delimiter"], F = /* @__PURE__ */ s({
20
20
  delimiter: { default: "" }
21
21
  },
22
22
  setup(e) {
23
- const c = e.icon.name === "FolderIcon" ? k : v;
24
- return (l, C) => e.metadata.length ? (a(), o("div", {
23
+ const r = e, d = c(
24
+ () => r.icon.name === "FolderIcon" ? C : h
25
+ ), i = c(() => r.metadata.filter((l) => l !== ""));
26
+ return (l, S) => i.value.length ? (a(), o("div", {
25
27
  key: 0,
26
28
  class: t(l.$style.metadata_list),
27
29
  style: n({ "--icon-color": e.icon.color })
28
30
  }, [
29
- e.icon.name ? (a(), m(d(u(c)), {
31
+ e.icon.name ? (a(), f(y(d.value), {
30
32
  key: 0,
31
33
  class: t(l.$style.icon),
32
34
  style: n({
33
35
  "--icon-color": e.icon.color,
34
36
  "--icon-size": e.icon.size === "small" ? "var(--small-icon-size, 0.9375rem)" : "var(--medium-icon-size, 1.125rem)"
35
37
  })
36
- }, null, 8, ["class", "style"])) : i("", !0),
37
- b("ul", {
38
+ }, null, 8, ["class", "style"])) : m("", !0),
39
+ v("ul", {
38
40
  class: t(l.$style.list)
39
41
  }, [
40
- (a(!0), o(f, null, y(e.metadata, (r) => (a(), o("li", {
41
- key: r,
42
+ (a(!0), o(g, null, k(i.value, (s, u) => (a(), o("li", {
43
+ key: `${u}_${s}`,
42
44
  class: t([
43
45
  l.$style.list_item,
44
46
  l.$style[e.label.shape ?? "square"],
@@ -52,11 +54,11 @@ const z = ["data-delimiter"], F = /* @__PURE__ */ s({
52
54
  "--label-font-weight": e.label.fontWeight ?? "normal"
53
55
  }),
54
56
  "data-delimiter": e.delimiter
55
- }, g(r), 15, z))), 128))
57
+ }, z(s), 15, $))), 128))
56
58
  ], 2)
57
- ], 6)) : i("", !0);
59
+ ], 6)) : m("", !0);
58
60
  }
59
61
  });
60
62
  export {
61
- F as default
63
+ q as default
62
64
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as K, computed as M, openBlock as A, createElementBlock as P, normalizeClass as F, normalizeStyle as Q, unref as l, withDirectives as U, createElementVNode as H, renderSlot as J, createBlock as W, vShow as X } from "vue";
2
- import Y from "./LoadingSpinner.vue.js";
3
- import { COLOR as s } from "@geckou/ui-core";
4
- const Z = ["type", "disabled"], ro = /* @__PURE__ */ K({
1
+ import { defineComponent as J, computed as R, openBlock as V, createElementBlock as K, normalizeClass as j, normalizeStyle as M, withDirectives as Q, createElementVNode as q, renderSlot as A, createBlock as U, vShow as W } from "vue";
2
+ import X from "./LoadingSpinner.vue.js";
3
+ import { COLOR as i } from "@geckou/ui-core";
4
+ const Y = ["type", "disabled", "aria-disabled", "aria-busy"], oe = /* @__PURE__ */ J({
5
5
  __name: "BasicButton",
6
6
  props: {
7
7
  cssStyle: {},
@@ -10,62 +10,70 @@ const Z = ["type", "disabled"], ro = /* @__PURE__ */ K({
10
10
  isDisabled: { type: Boolean },
11
11
  buttonType: {}
12
12
  },
13
- setup(r) {
14
- var i;
15
- const d = r, o = M(() => {
16
- var n, t;
17
- const e = d.isDisabled ? (n = d.cssStyle) == null ? void 0 : n.disabled : (t = d.cssStyle) == null ? void 0 : t.default;
13
+ setup(a) {
14
+ const r = a, o = R(() => {
15
+ var t, d;
16
+ const e = r.isDisabled ? (t = r.cssStyle) == null ? void 0 : t.disabled : (d = r.cssStyle) == null ? void 0 : d.default;
18
17
  return {
19
- textColor: s.white,
20
- backgroundColor: d.isDisabled ? s.darkGray : s.blue,
18
+ textColor: i.white,
19
+ backgroundColor: r.isDisabled ? i.darkGray : i.blue,
21
20
  backgroundImage: "none",
22
21
  border: {
23
- color: d.isDisabled ? s.darkGray : s.blue,
22
+ color: r.isDisabled ? i.darkGray : i.blue,
24
23
  size: "1px",
25
24
  radius: ".25rem"
26
25
  },
27
26
  boxShadow: "0 0 0 0 transparent",
28
27
  ...e
29
28
  };
30
- }), a = ((i = d.cssStyle) == null ? void 0 : i.hover) || {};
31
- return (e, n) => {
32
- var t, u, b, c, g, v, m, y, h, k, S, C, f, z, p, w, x, $, B, D, L, I, E, G, O, T, N, R, V, j, q;
33
- return A(), P("button", {
34
- class: F([e.$style.button, { [e.$style.loading]: r.isLoading }]),
35
- style: Q({
36
- "--text-color": (t = o.value) == null ? void 0 : t.textColor,
37
- "--background-color": (u = o.value) == null ? void 0 : u.backgroundColor,
38
- "--background-image": (b = o.value) == null ? void 0 : b.backgroundImage,
39
- "--border-color": (g = (c = o.value) == null ? void 0 : c.border) == null ? void 0 : g.color,
40
- "--border-size": (m = (v = o.value) == null ? void 0 : v.border) == null ? void 0 : m.size,
41
- "--radius-size": (h = (y = o.value) == null ? void 0 : y.border) == null ? void 0 : h.radius,
42
- "--box-shadow": (k = o.value) == null ? void 0 : k.boxShadow,
43
- "--hover-text-color": ((S = l(a)) == null ? void 0 : S.textColor) || ((C = o.value) == null ? void 0 : C.textColor),
44
- "--hover-background-color": ((f = l(a)) == null ? void 0 : f.backgroundColor) || ((z = o.value) == null ? void 0 : z.backgroundColor) && `${(p = o.value) == null ? void 0 : p.backgroundColor}cc`,
45
- "--hover-background-image": ((w = l(a)) == null ? void 0 : w.backgroundImage) || ((x = o.value) == null ? void 0 : x.backgroundImage),
46
- "--hover-border-color": ((B = ($ = l(a)) == null ? void 0 : $.border) == null ? void 0 : B.color) || ((L = (D = o.value) == null ? void 0 : D.border) == null ? void 0 : L.color),
47
- "--hover-border-size": ((E = (I = l(a)) == null ? void 0 : I.border) == null ? void 0 : E.size) || ((O = (G = o.value) == null ? void 0 : G.border) == null ? void 0 : O.size),
48
- "--hover-radius-size": ((N = (T = l(a)) == null ? void 0 : T.border) == null ? void 0 : N.radius) || ((V = (R = o.value) == null ? void 0 : R.border) == null ? void 0 : V.radius),
49
- "--hover-box-shadow": ((j = l(a)) == null ? void 0 : j.boxShadow) || ((q = o.value) == null ? void 0 : q.boxShadow),
50
- "--duration": `${r.duration || 0.3}s`
29
+ }), l = R(() => {
30
+ var e;
31
+ return ((e = r.cssStyle) == null ? void 0 : e.hover) || {};
32
+ }), F = (e) => e && `color-mix(in srgb, ${e} 80%, transparent)`, H = (e) => {
33
+ r.isLoading && (e.preventDefault(), e.stopImmediatePropagation());
34
+ };
35
+ return (e, t) => {
36
+ var d, n, s, u, b, c, v, g, m, y, h, k, S, f, C, x, z, p, w, D, L, $, B, I, E, G, O, T, N, P;
37
+ return V(), K("button", {
38
+ class: j([e.$style.button, { [e.$style.loading]: a.isLoading }]),
39
+ style: M({
40
+ "--text-color": (d = o.value) == null ? void 0 : d.textColor,
41
+ "--background-color": (n = o.value) == null ? void 0 : n.backgroundColor,
42
+ "--background-image": (s = o.value) == null ? void 0 : s.backgroundImage,
43
+ "--border-color": (b = (u = o.value) == null ? void 0 : u.border) == null ? void 0 : b.color,
44
+ "--border-size": (v = (c = o.value) == null ? void 0 : c.border) == null ? void 0 : v.size,
45
+ "--radius-size": (m = (g = o.value) == null ? void 0 : g.border) == null ? void 0 : m.radius,
46
+ "--box-shadow": (y = o.value) == null ? void 0 : y.boxShadow,
47
+ "--hover-text-color": ((h = l.value) == null ? void 0 : h.textColor) || ((k = o.value) == null ? void 0 : k.textColor),
48
+ "--hover-background-color": ((S = l.value) == null ? void 0 : S.backgroundColor) || F((f = o.value) == null ? void 0 : f.backgroundColor),
49
+ "--hover-background-image": ((C = l.value) == null ? void 0 : C.backgroundImage) || ((x = o.value) == null ? void 0 : x.backgroundImage),
50
+ "--hover-border-color": ((p = (z = l.value) == null ? void 0 : z.border) == null ? void 0 : p.color) || ((D = (w = o.value) == null ? void 0 : w.border) == null ? void 0 : D.color),
51
+ "--hover-border-size": (($ = (L = l.value) == null ? void 0 : L.border) == null ? void 0 : $.size) || ((I = (B = o.value) == null ? void 0 : B.border) == null ? void 0 : I.size),
52
+ "--hover-radius-size": ((G = (E = l.value) == null ? void 0 : E.border) == null ? void 0 : G.radius) || ((T = (O = o.value) == null ? void 0 : O.border) == null ? void 0 : T.radius),
53
+ "--hover-box-shadow": ((N = l.value) == null ? void 0 : N.boxShadow) || ((P = o.value) == null ? void 0 : P.boxShadow),
54
+ "--duration": `${a.duration || 0.3}s`
51
55
  }),
52
- type: r.buttonType || "button",
53
- disabled: r.isDisabled || r.isLoading
56
+ type: a.buttonType || "button",
57
+ disabled: a.isDisabled,
58
+ "aria-disabled": a.isDisabled || a.isLoading || void 0,
59
+ "aria-busy": a.isLoading || void 0,
60
+ onClick: H
54
61
  }, [
55
- U(H("div", {
56
- class: F(e.$style.loading_animation)
62
+ Q(q("div", {
63
+ class: j(e.$style.loading_animation),
64
+ "aria-hidden": "true"
57
65
  }, [
58
- e.$slots.loading ? J(e.$slots, "loading", {}, void 0, void 0, 0) : (A(), W(Y, { key: 1 }))
66
+ e.$slots.loading ? A(e.$slots, "loading", {}, void 0, void 0, 0) : (V(), U(X, { key: 1 }))
59
67
  ], 2), [
60
- [X, r.isLoading]
68
+ [W, a.isLoading]
61
69
  ]),
62
- H("div", null, [
63
- J(e.$slots, "default")
70
+ q("div", null, [
71
+ A(e.$slots, "default")
64
72
  ])
65
- ], 14, Z);
73
+ ], 14, Y);
66
74
  };
67
75
  }
68
76
  });
69
77
  export {
70
- ro as default
78
+ oe as default
71
79
  };
@@ -1,11 +1,11 @@
1
- const n = "_button_pz98w_1", o = "_loading_pz98w_25", t = "_loading_animation_pz98w_35", a = {
2
- button: n,
3
- loading: o,
1
+ const o = "_button_1ocs4_1", n = "_loading_1ocs4_25", t = "_loading_animation_1ocs4_35", a = {
2
+ button: o,
3
+ loading: n,
4
4
  loading_animation: t
5
5
  };
6
6
  export {
7
- n as button,
7
+ o as button,
8
8
  a as default,
9
- o as loading,
9
+ n as loading,
10
10
  t as loading_animation
11
11
  };
@@ -6,6 +6,12 @@ type __VLS_Props = {
6
6
  isDisabled?: boolean;
7
7
  isRequired?: boolean;
8
8
  cssStyle?: CheckBoxStyleForEachStatus;
9
+ /**
10
+ * チェックボックス群自体のアクセシブル名。
11
+ * 可視ラベル(見出し等)があるなら ariaLabelledBy でその要素を指すこと
12
+ */
13
+ ariaLabel?: string;
14
+ ariaLabelledBy?: string;
9
15
  };
10
16
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
17
  "update:modelValue": (newValue: SelectValue[]) => any;
@@ -14,5 +20,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
14
20
  }>, {
15
21
  cssStyle: CheckBoxStyleForEachStatus;
16
22
  modelValue: SelectValue[];
23
+ ariaLabel: string;
24
+ ariaLabelledBy: string;
17
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
26
  export default _default;