@s_and_a/arrow-ui 0.1.18 → 0.1.20

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.
@@ -39,6 +39,8 @@ export interface ArPeriodNavProps {
39
39
  next: string;
40
40
  pick: string;
41
41
  };
42
+ /** 真ん中の文字に乗せたとき、その上に1行で出す説明(「計算期間 2026/10/21 〜 2026/11/20」など)。 */
43
+ hint?: string;
42
44
  }
43
45
  export interface ArPeriodNavEmits {
44
46
  /** 前の期間へ(← のボタン)。 */
@@ -19,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<ArPeriodNavProps, {},
19
19
  date: string;
20
20
  nextDisabled: boolean;
21
21
  weekday: string;
22
+ hint: string;
22
23
  arrows: boolean;
23
24
  weekdayTone: "sun" | "sat";
24
25
  holidays: import("./ArPeriodNav.contract").ArHolidays;
@@ -23,6 +23,10 @@ export interface ArTooltipProps {
23
23
  disabled?: boolean;
24
24
  /** 出ているか(v-model:open)。渡さなければ乗せる・フォーカスで自動。 */
25
25
  open?: boolean;
26
+ /** 1行で出す(幅を絞らず、折り返さない)。期間(「計算期間 2026/10/21 〜 2026/11/20」)のような短い1行の説明に使う。 */
27
+ wide?: boolean;
28
+ /** 吹き出しが指す要素。省くと default slot の中の最初の操作できる要素。部品の中の一部(期間の文字など)を指すときに使う。 */
29
+ anchor?: HTMLElement | null;
26
30
  }
27
31
  export interface ArTooltipEmits {
28
32
  "update:open": [open: boolean];
@@ -12,6 +12,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArTooltipProps, {}, {},
12
12
  }, string, import("vue").PublicProps, Readonly<ArTooltipProps> & Readonly<{
13
13
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
14
14
  }>, {
15
+ anchor: HTMLElement | null;
15
16
  title: string;
16
17
  open: boolean;
17
18
  disabled: boolean;
@@ -19,6 +20,7 @@ declare const __VLS_base: import("vue").DefineComponent<ArTooltipProps, {}, {},
19
20
  placement: import("../internal/floating.js").ArPlacement;
20
21
  delay: number;
21
22
  hideDelay: number;
23
+ wide: boolean;
22
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
26
  declare const _default: typeof __VLS_export;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s_and_a/arrow-ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "ARROW シリーズ共通の Vue 3 デザインライブラリ(部品・契約・デザインの差し替えの仕組み)",
5
5
  "type": "module",
6
6
  "sideEffects": [