@wow-two-beta/fe 0.0.32 → 0.0.34

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.
Files changed (73) hide show
  1. package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js +155 -0
  2. package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js.map +1 -0
  3. package/dist/chunks/{BackToTopButton.vue_vue_type_script_setup_true_lang-dmN5MH2T.js → BackToTopButton.vue_vue_type_script_setup_true_lang-DHSpEajG.js} +74 -31
  4. package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-DHSpEajG.js.map +1 -0
  5. package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js → ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js} +70 -230
  6. package/dist/chunks/ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js.map +1 -0
  7. package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js → ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js} +87 -233
  8. package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js.map +1 -0
  9. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js +216 -0
  10. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js.map +1 -0
  11. package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js → KanbanCard.vue_vue_type_script_setup_true_lang-akNFA0JK.js} +390 -203
  12. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-akNFA0JK.js.map +1 -0
  13. package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-BmWwoZrv.js.map +1 -1
  14. package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js → RowsField.vue_vue_type_script_setup_true_lang-C0L-DjCW.js} +939 -1063
  15. package/dist/chunks/RowsField.vue_vue_type_script_setup_true_lang-C0L-DjCW.js.map +1 -0
  16. package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js +447 -0
  17. package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js.map +1 -0
  18. package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js → TypedConfirmModal.vue_vue_type_script_setup_true_lang-3Sdgh0cV.js} +313 -109
  19. package/dist/chunks/TypedConfirmModal.vue_vue_type_script_setup_true_lang-3Sdgh0cV.js.map +1 -0
  20. package/dist/foundation/device/hooks/UseBreakpointRange.d.ts +21 -0
  21. package/dist/foundation/device/index.d.ts +1 -0
  22. package/dist/foundation/device/index.js +13 -0
  23. package/dist/foundation/device/index.js.map +1 -1
  24. package/dist/foundation/http/ApiDecoderExtensions.d.ts +22 -0
  25. package/dist/foundation/http/ApiFailureExtensions.d.ts +22 -0
  26. package/dist/foundation/http/ProblemDetailsExtensions.d.ts +31 -0
  27. package/dist/foundation/http/index.d.ts +3 -0
  28. package/dist/foundation/http/index.js +93 -2
  29. package/dist/foundation/http/index.js.map +1 -1
  30. package/dist/index.js +642 -633
  31. package/dist/index.js.map +1 -1
  32. package/dist/presentation/actions/index.d.ts +1 -0
  33. package/dist/presentation/actions/index.js +12 -11
  34. package/dist/presentation/actions/refreshButton/RefreshButton.vue.d.ts +26 -0
  35. package/dist/presentation/actions/refreshButton/index.d.ts +1 -0
  36. package/dist/presentation/display/badge/Badge.variants.d.ts +77 -10
  37. package/dist/presentation/display/badge/Badge.vue.d.ts +18 -1
  38. package/dist/presentation/display/badge/index.d.ts +1 -1
  39. package/dist/presentation/display/card/CardLink.vue.d.ts +19 -0
  40. package/dist/presentation/display/card/index.d.ts +1 -0
  41. package/dist/presentation/display/index.js +63 -60
  42. package/dist/presentation/display/index.js.map +1 -1
  43. package/dist/presentation/display/listGroup/ListGroupItem.vue.d.ts +17 -0
  44. package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +32 -2
  45. package/dist/presentation/display/sparkline/index.d.ts +1 -1
  46. package/dist/presentation/feedback/dataRegion/DataRegion.vue.d.ts +1 -1
  47. package/dist/presentation/feedback/index.js +43 -42
  48. package/dist/presentation/feedback/index.js.map +1 -1
  49. package/dist/presentation/forms/index.d.ts +2 -0
  50. package/dist/presentation/forms/index.js +140 -137
  51. package/dist/presentation/forms/rowsField/RowsField.vue.d.ts +56 -0
  52. package/dist/presentation/forms/rowsField/index.d.ts +1 -0
  53. package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +1 -1
  54. package/dist/presentation/forms/typedConfirmField/TypedConfirmField.vue.d.ts +61 -0
  55. package/dist/presentation/forms/typedConfirmField/UseTypedConfirmation.d.ts +32 -0
  56. package/dist/presentation/forms/typedConfirmField/index.d.ts +2 -0
  57. package/dist/presentation/overlays/index.d.ts +1 -0
  58. package/dist/presentation/overlays/index.js +6 -5
  59. package/dist/presentation/overlays/typedConfirmModal/TypedConfirmModal.vue.d.ts +80 -0
  60. package/dist/presentation/overlays/typedConfirmModal/index.d.ts +1 -0
  61. package/dist/router/adapters/vueRouter/hooks/UseListDetailRoute.d.ts +28 -0
  62. package/dist/router/adapters/vueRouter/index.d.ts +1 -0
  63. package/dist/router/index.js +34 -0
  64. package/dist/router/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dmN5MH2T.js.map +0 -1
  67. package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js.map +0 -1
  68. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js.map +0 -1
  69. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js.map +0 -1
  70. package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js.map +0 -1
  71. package/dist/chunks/ListboxPicker.variants-hiMcl66_.js +0 -44
  72. package/dist/chunks/ListboxPicker.variants-hiMcl66_.js.map +0 -1
  73. package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js.map +0 -1
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,6 +2,7 @@ export * from './button';
2
2
  export * from './buttonGroup';
3
3
  export * from './fabButton';
4
4
  export * from './copyButton';
5
+ export * from './refreshButton';
5
6
  export * from './googleSignInButton';
6
7
  export * from './disclosureButton';
7
8
  export * from './toolbar';
@@ -1,4 +1,4 @@
1
- import { _, a, b, c, d, F, e, f, S, g, h, i, j, T, k, l, m, n, o, u, p } from "../../chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-dmN5MH2T.js";
1
+ import { _, a, b, c, d, F, e, f, g, S, h, i, j, k, T, l, m, n, o, p, u, q } from "../../chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-DHSpEajG.js";
2
2
  import { _ as _2, B, a as a2, b as b2 } from "../../chunks/Button.vue_vue_type_script_setup_true_lang-CAbPBMuc.js";
3
3
  export {
4
4
  _ as BackToTopButton,
@@ -12,19 +12,20 @@ export {
12
12
  F as FabButtonSize,
13
13
  e as FabButtonVariant,
14
14
  f as GoogleSignInButton,
15
+ g as RefreshButton,
15
16
  S as SpeedDialGroup,
16
- g as SpeedDialGroupAction,
17
- h as SpeedDialGroupDirection,
18
- i as SpeedDialGroupKey,
19
- j as SpeedDialGroupTrigger,
17
+ h as SpeedDialGroupAction,
18
+ i as SpeedDialGroupDirection,
19
+ j as SpeedDialGroupKey,
20
+ k as SpeedDialGroupTrigger,
20
21
  T as Toolbar,
21
- k as ToolbarButton,
22
- l as ToolbarKey,
23
- m as ToolbarLink,
24
- n as ToolbarSeparator,
22
+ l as ToolbarButton,
23
+ m as ToolbarKey,
24
+ n as ToolbarLink,
25
+ o as ToolbarSeparator,
25
26
  b2 as buttonVariants,
26
- o as fabVariants,
27
+ p as fabVariants,
27
28
  u as useSpeedDialContext,
28
- p as useToolbarContext
29
+ q as useToolbarContext
29
30
  };
30
31
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,26 @@
1
+ import { ButtonProps } from '../button';
2
+ /** @internal The `ButtonProps` this preset decides itself. */
3
+ type OwnedButtonProp = keyof Pick<ButtonProps, 'isLoading' | 'shape' | 'leadingSlot'>;
4
+ /** Defines the forwarded `ButtonProps`, minus the ones the refresh preset sets. */
5
+ type RefreshButtonAttributes = Omit<ButtonProps, OwnedButtonProp>;
6
+ /** Defines props for the one refresh control a region shows. */
7
+ export interface RefreshButtonProps extends /* @vue-ignore */ RefreshButtonAttributes {
8
+ /** True from the click until the refresh settles — `useRefresh`'s `refreshing`; the icon spins and clicks wait. */
9
+ readonly isRefreshing?: boolean;
10
+ /** The visible label, or the accessible name of an icon-only button. Default `"Refresh"`, localized. */
11
+ readonly label?: string;
12
+ /** Renders the icon alone, square at its size, named by `label`. */
13
+ readonly isIconOnly?: boolean;
14
+ /** The visual surface style. Default `outline`; `ghost` inside a panel header. */
15
+ readonly variant?: ButtonProps['variant'];
16
+ /** The size step. Default `sm`; `md` beside page-level controls. */
17
+ readonly size?: ButtonProps['size'];
18
+ }
19
+ declare const _default: import('vue').DefineComponent<RefreshButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RefreshButtonProps> & Readonly<{}>, {
20
+ readonly size: import('..').ButtonSize;
21
+ readonly variant: import('..').ButtonVariant;
22
+ readonly label: string;
23
+ readonly isRefreshing: boolean;
24
+ readonly isIconOnly: boolean;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as RefreshButton, type RefreshButtonProps } from './RefreshButton.vue';
@@ -15,8 +15,22 @@ export declare const BadgeVariant: {
15
15
  readonly Info: "info";
16
16
  /** Refers to a bordered, transparent fill. */
17
17
  readonly Outline: "outline";
18
+ /** Refers to the card fill with the body text — a calm status that lets its icon carry the colour. */
19
+ readonly Surface: "surface";
20
+ /** Refers to a transparent fill with muted text — a state that asks for no attention. */
21
+ readonly Quiet: "quiet";
18
22
  };
19
23
  export type BadgeVariant = (typeof BadgeVariant)[keyof typeof BadgeVariant];
24
+ /** Defines the Badge outline's line style; it shows wherever the pill draws a border. */
25
+ export declare const BadgeBorderStyle: {
26
+ /** Refers to a solid outline. */
27
+ readonly Solid: "solid";
28
+ /** Refers to a dashed outline — a state that has not happened, such as nothing applied. */
29
+ readonly Dashed: "dashed";
30
+ /** Refers to a dotted outline — a state nobody can tell, such as unknown. */
31
+ readonly Dotted: "dotted";
32
+ };
33
+ export type BadgeBorderStyle = (typeof BadgeBorderStyle)[keyof typeof BadgeBorderStyle];
20
34
  export declare const badgeVariants: import('tailwind-variants').TVReturnType<{
21
35
  variant: {
22
36
  neutral: "bg-muted text-foreground";
@@ -26,13 +40,28 @@ export declare const badgeVariants: import('tailwind-variants').TVReturnType<{
26
40
  danger: "bg-destructive-soft text-destructive-soft-foreground";
27
41
  info: "bg-info-soft text-info-soft-foreground";
28
42
  outline: "border border-border text-foreground";
43
+ surface: "bg-card text-foreground";
44
+ quiet: "bg-transparent text-muted-foreground";
29
45
  };
30
46
  size: {
31
- sm: "h-5 px-2 text-xs";
32
- md: "h-6 px-2.5 text-xs";
33
- lg: "h-7 px-3 text-sm";
47
+ sm: "h-5 gap-1 px-2 text-xs";
48
+ md: "h-6 gap-1.5 px-2.5 text-xs";
49
+ lg: "h-7 gap-1.5 px-3 text-sm";
50
+ };
51
+ isOutlined: {
52
+ true: "border";
53
+ false: "";
54
+ };
55
+ borderStyle: {
56
+ solid: "";
57
+ dashed: "border-dashed";
58
+ dotted: "border-dotted";
34
59
  };
35
- }, undefined, "inline-flex items-center rounded-full font-medium", {
60
+ hasLeading: {
61
+ true: "";
62
+ false: "";
63
+ };
64
+ }, undefined, "inline-flex max-w-full items-center rounded-full font-medium", {
36
65
  variant: {
37
66
  neutral: "bg-muted text-foreground";
38
67
  brand: "bg-primary-soft text-primary-soft-foreground";
@@ -41,11 +70,26 @@ export declare const badgeVariants: import('tailwind-variants').TVReturnType<{
41
70
  danger: "bg-destructive-soft text-destructive-soft-foreground";
42
71
  info: "bg-info-soft text-info-soft-foreground";
43
72
  outline: "border border-border text-foreground";
73
+ surface: "bg-card text-foreground";
74
+ quiet: "bg-transparent text-muted-foreground";
44
75
  };
45
76
  size: {
46
- sm: "h-5 px-2 text-xs";
47
- md: "h-6 px-2.5 text-xs";
48
- lg: "h-7 px-3 text-sm";
77
+ sm: "h-5 gap-1 px-2 text-xs";
78
+ md: "h-6 gap-1.5 px-2.5 text-xs";
79
+ lg: "h-7 gap-1.5 px-3 text-sm";
80
+ };
81
+ isOutlined: {
82
+ true: "border";
83
+ false: "";
84
+ };
85
+ borderStyle: {
86
+ solid: "";
87
+ dashed: "border-dashed";
88
+ dotted: "border-dotted";
89
+ };
90
+ hasLeading: {
91
+ true: "";
92
+ false: "";
49
93
  };
50
94
  }, undefined, import('tailwind-variants').TVReturnTypeLike<{
51
95
  variant: {
@@ -56,11 +100,34 @@ export declare const badgeVariants: import('tailwind-variants').TVReturnType<{
56
100
  danger: "bg-destructive-soft text-destructive-soft-foreground";
57
101
  info: "bg-info-soft text-info-soft-foreground";
58
102
  outline: "border border-border text-foreground";
103
+ surface: "bg-card text-foreground";
104
+ quiet: "bg-transparent text-muted-foreground";
59
105
  };
60
106
  size: {
61
- sm: "h-5 px-2 text-xs";
62
- md: "h-6 px-2.5 text-xs";
63
- lg: "h-7 px-3 text-sm";
107
+ sm: "h-5 gap-1 px-2 text-xs";
108
+ md: "h-6 gap-1.5 px-2.5 text-xs";
109
+ lg: "h-7 gap-1.5 px-3 text-sm";
110
+ };
111
+ isOutlined: {
112
+ true: "border";
113
+ false: "";
114
+ };
115
+ borderStyle: {
116
+ solid: "";
117
+ dashed: "border-dashed";
118
+ dotted: "border-dotted";
119
+ };
120
+ hasLeading: {
121
+ true: "";
122
+ false: "";
64
123
  };
65
124
  }, undefined>>;
125
+ /** The leading icon's box per size step; an icon the caller sizes itself keeps its own size. */
126
+ export declare const badgeLeadingSize: {
127
+ readonly sm: "[&>svg]:size-3";
128
+ readonly md: "[&>svg]:size-3.5";
129
+ readonly lg: "[&>svg]:size-4";
130
+ };
131
+ /** Whether a variant tints its text, so the detail keeps the tint instead of turning muted. */
132
+ export declare function isTintedBadge(variant: BadgeVariant): boolean;
66
133
  export type BadgeVariants = VariantProps<typeof badgeVariants>;
@@ -1,19 +1,36 @@
1
1
  import { Size } from '../../../foundation/styles';
2
- import { BadgeVariant } from './Badge.variants';
2
+ import { BadgeBorderStyle, BadgeVariant } from './Badge.variants';
3
3
  export interface BadgeProps {
4
4
  /** The color treatment. */
5
5
  readonly variant?: BadgeVariant;
6
6
  /** The size step. */
7
7
  readonly size?: Size;
8
+ /** Draws the pill's border in its tint's colour — a status pill rather than a plain label. */
9
+ readonly isOutlined?: boolean;
10
+ /** The border's line style wherever the pill draws one. Default `solid`. */
11
+ readonly borderStyle?: BadgeBorderStyle;
12
+ /** The quieter text after the label — a version, a count, a state's word. The `detail` slot is the rich override. */
13
+ readonly detail?: string;
14
+ /** Turns the leading icon slowly — a state still in progress; it holds still under reduced motion. */
15
+ readonly isSpinning?: boolean;
8
16
  /** Draws the pill as its placeholder; defaults to the nearest `DataRegion` first load. */
9
17
  readonly isSkeleton?: boolean;
10
18
  }
11
19
  declare const _default: __VLS_WithSlots<import('vue').DefineComponent<BadgeProps, {
12
20
  el: Readonly<import('vue').ShallowRef<HTMLSpanElement | null>>;
13
21
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
22
+ readonly detail: string;
14
23
  readonly isSkeleton: boolean;
24
+ readonly isOutlined: boolean;
25
+ readonly borderStyle: BadgeBorderStyle;
26
+ readonly isSpinning: boolean;
15
27
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
28
+ /** The badge copy — React's `children`. */
16
29
  default(): unknown;
30
+ /** The leading icon; decorative, so the label must carry the meaning. */
31
+ leading?(): unknown;
32
+ /** The rich override for the `detail` prop. */
33
+ detail?(): unknown;
17
34
  }>;
18
35
  export default _default;
19
36
  type __VLS_WithSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
1
  export { default as Badge, type BadgeProps } from './Badge.vue';
2
- export { badgeVariants, BadgeVariant, type BadgeVariants } from './Badge.variants';
2
+ export { badgeVariants, BadgeBorderStyle, BadgeVariant, type BadgeVariants } from './Badge.variants';
@@ -0,0 +1,19 @@
1
+ /** Defines props for the link that opens a card's subject from anywhere on the card. */
2
+ export interface CardLinkProps {
3
+ /** The address the card opens. Omit it with `asChild` to merge onto a router link instead. */
4
+ readonly href?: string;
5
+ /** Renders the single slot child — a `RouterLink` or `AppLink` — with the stretched-link behaviour merged in. */
6
+ readonly asChild?: boolean;
7
+ }
8
+ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<CardLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CardLinkProps> & Readonly<{}>, {
9
+ readonly href: string;
10
+ readonly asChild: boolean;
11
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
12
+ default(): unknown;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -4,3 +4,4 @@ export { default as CardTitle } from './CardTitle.vue';
4
4
  export { default as CardDescription } from './CardDescription.vue';
5
5
  export { default as CardBody } from './CardBody.vue';
6
6
  export { default as CardFooter } from './CardFooter.vue';
7
+ export { default as CardLink, type CardLinkProps } from './CardLink.vue';
@@ -1,9 +1,10 @@
1
- import { _, a, b, c, A, d, e, f, g, h, i, j, k, l, m, n, B, o, p, q, r, s, t, u, v, w, x, y, z, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN } from "../../chunks/KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js";
1
+ import { _, a, b, c, A, d, e, f, g, h, i, j, k, l, m, B, n, o, p, q, r, s, t, u, v, w, x, y, z, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM } from "../../chunks/KanbanCard.vue_vue_type_script_setup_true_lang-akNFA0JK.js";
2
2
  import { _ as _2, A as A2, a as a10, b as b10, c as c2, d as d2 } from "../../chunks/Avatar.vue_vue_type_script_setup_true_lang-BHnzqtQH.js";
3
- import { a as a11, b as b11, c as c3, d as d3, e as e2, f as f2, S as S2, g as g2, T as T2, h as h2, i as i2, j as j2, k as k2, t as t2, u as u2, l as l2 } from "../../chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js";
4
- import { _ as _3, E as E2 } from "../../chunks/EmptyState.vue_vue_type_script_setup_true_lang-DHwwGzyu.js";
5
- import { _ as _4, H as H2, a as a12, b as b12, c as c4, S as S3, h as h3 } from "../../chunks/SectionHeading.vue_vue_type_script_setup_true_lang-CaN3iIR_.js";
6
- import { _ as _5, T as T3, a as a13, b as b13, t as t3 } from "../../chunks/Text.vue_vue_type_script_setup_true_lang-DjUtnxS2.js";
3
+ import { _ as _3, C as C2, a as a11, b as b11, c as c3 } from "../../chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js";
4
+ import { a as a12, b as b12, c as c4, d as d3, S as S2, e as e2, T as T2, f as f2, g as g2, h as h2, i as i2, t as t2, u as u2, j as j2 } from "../../chunks/ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js";
5
+ import { _ as _4, E as E2 } from "../../chunks/EmptyState.vue_vue_type_script_setup_true_lang-DHwwGzyu.js";
6
+ import { _ as _5, H as H2, a as a13, b as b13, c as c5, S as S3, h as h3 } from "../../chunks/SectionHeading.vue_vue_type_script_setup_true_lang-CaN3iIR_.js";
7
+ import { _ as _6, T as T3, a as a14, b as b14, t as t3 } from "../../chunks/Text.vue_vue_type_script_setup_true_lang-DjUtnxS2.js";
7
8
  export {
8
9
  _ as AccordionGroup,
9
10
  a as AccordionGroupContent,
@@ -25,35 +26,37 @@ export {
25
26
  b10 as AvatarShape,
26
27
  c2 as AvatarTone,
27
28
  m as Badge,
29
+ B as BadgeBorderStyle,
28
30
  n as BadgeOverlay,
29
- B as BadgeVariant,
30
- o as Card,
31
- p as CardBody,
32
- q as CardDescription,
33
- r as CardFooter,
34
- s as CardHeader,
35
- t as CardTitle,
36
- u as Carousel,
37
- v as CarouselDot,
38
- w as CarouselDots,
39
- x as CarouselNext,
40
- y as CarouselPrev,
41
- z as CarouselSlide,
42
- C as CarouselSlides,
43
- D as CarouselViewport,
44
- E as CellsGlyph,
45
- F as ChatBubbleCard,
46
- G as ChatSide,
47
- H as ChatStatus,
48
- I as ChatTone,
49
- J as CodeText,
50
- K as CodeTextVariant,
31
+ o as BadgeVariant,
32
+ p as Card,
33
+ q as CardBody,
34
+ r as CardDescription,
35
+ s as CardFooter,
36
+ t as CardHeader,
37
+ u as CardLink,
38
+ v as CardTitle,
39
+ w as Carousel,
40
+ x as CarouselDot,
41
+ y as CarouselDots,
42
+ z as CarouselNext,
43
+ C as CarouselPrev,
44
+ D as CarouselSlide,
45
+ E as CarouselSlides,
46
+ F as CarouselViewport,
47
+ G as CellsGlyph,
48
+ H as ChatBubbleCard,
49
+ I as ChatSide,
50
+ J as ChatStatus,
51
+ K as ChatTone,
52
+ _3 as CodeText,
53
+ C2 as CodeTextVariant,
51
54
  L as CollapsibleGroup,
52
55
  M as CollapsibleGroupContent,
53
56
  N as CollapsibleGroupKey,
54
57
  O as CollapsibleGroupTrigger,
55
- a11 as ColorSwatchPreview,
56
- b11 as ColorSwatchPreviewSize,
58
+ a12 as ColorSwatchPreview,
59
+ b12 as ColorSwatchPreviewSize,
57
60
  P as Comment,
58
61
  Q as CommentThreadGroup,
59
62
  R as ConfettiOverlay,
@@ -69,22 +72,22 @@ export {
69
72
  a0 as DiffView,
70
73
  a1 as DiffViewer,
71
74
  a2 as DotsGlyph,
72
- _3 as EmptyState,
75
+ _4 as EmptyState,
73
76
  E2 as EmptyStateSize,
74
77
  a3 as EventCalendarViewer,
75
78
  a4 as EventCalendarViewerView,
76
79
  a5 as EyebrowText,
77
80
  a6 as EyebrowTextTone,
78
81
  a7 as FeatureCard,
79
- c3 as FieldHelperText,
82
+ a11 as FieldHelperText,
80
83
  a8 as FrameGlyph,
81
84
  a9 as GanttTimeline,
82
85
  aa as GradientText,
83
86
  ab as GradientTextDirection,
84
- _4 as Heading,
87
+ _5 as Heading,
85
88
  H2 as HeadingAlign,
86
- a12 as HeadingSize,
87
- b12 as HeadingWeight,
89
+ a13 as HeadingSize,
90
+ b13 as HeadingWeight,
88
91
  ac as HeatmapCalendarGrid,
89
92
  ad as HeatmapCalendarGridTone,
90
93
  ae as HighlightText,
@@ -96,10 +99,10 @@ export {
96
99
  ak as KanbanBoardKey,
97
100
  al as KanbanCard,
98
101
  am as KanbanColumn,
99
- d3 as KbdText,
102
+ c4 as KbdText,
100
103
  an as KeyboardShortcutText,
101
- e2 as LabelText,
102
- f2 as LegendText,
104
+ b11 as LabelText,
105
+ d3 as LegendText,
103
106
  ao as ListGroup,
104
107
  ap as ListGroupItem,
105
108
  aq as ListGroupKey,
@@ -130,7 +133,7 @@ export {
130
133
  aP as ScheduleView,
131
134
  aQ as ScrollRevealGroup,
132
135
  aR as ScrollRevealGroupEffect,
133
- c4 as SectionHeading,
136
+ c5 as SectionHeading,
134
137
  S3 as SectionHeadingSize,
135
138
  aS as SnippetText,
136
139
  aT as SnippetTextVariant,
@@ -166,12 +169,12 @@ export {
166
169
  bk as TabsGroupList,
167
170
  bl as TabsGroupPanel,
168
171
  bm as TabsGroupTab,
169
- g2 as Tag,
172
+ e2 as Tag,
170
173
  T2 as TagVariant,
171
- _5 as Text,
174
+ _6 as Text,
172
175
  T3 as TextAlign,
173
- a13 as TextColor,
174
- b13 as TextWeight,
176
+ a14 as TextColor,
177
+ b14 as TextWeight,
175
178
  bn as ThreadView,
176
179
  bo as Timeline,
177
180
  bp as TimelineAlign,
@@ -180,9 +183,9 @@ export {
180
183
  bs as TimelineKey,
181
184
  bt as TimelineStatus,
182
185
  bu as TimelineTitle,
183
- h2 as TreeViewer,
184
- i2 as TreeViewerGroup,
185
- j2 as TreeViewerItem,
186
+ f2 as TreeViewer,
187
+ g2 as TreeViewerGroup,
188
+ h2 as TreeViewerItem,
186
189
  bv as TruncatedText,
187
190
  bw as TypewriterText,
188
191
  bx as VerticalBarsGlyph,
@@ -190,24 +193,24 @@ export {
190
193
  bz as VideoTrackKind,
191
194
  d2 as avatarVariants,
192
195
  bA as badgeVariants,
193
- bB as codeVariants,
194
- k2 as colorSwatchVariants,
196
+ c3 as codeVariants,
197
+ i2 as colorSwatchVariants,
195
198
  h3 as headingVariants,
196
- bC as listVariants,
199
+ bB as listVariants,
197
200
  t2 as tagVariants,
198
201
  t3 as textVariants,
199
- bD as useAccordionContext,
200
- bE as useAccordionItemContext,
201
- bF as useCarouselContext,
202
- bG as useCollapsibleContext,
203
- bH as useKanbanBoardContext,
204
- bI as useListContext,
205
- bJ as useOnboardingChecklist,
206
- bK as useStepperContext,
207
- bL as useTableContext,
208
- bM as useTabsContext,
209
- bN as useTimelineContext,
202
+ bC as useAccordionContext,
203
+ bD as useAccordionItemContext,
204
+ bE as useCarouselContext,
205
+ bF as useCollapsibleContext,
206
+ bG as useKanbanBoardContext,
207
+ bH as useListContext,
208
+ bI as useOnboardingChecklist,
209
+ bJ as useStepperContext,
210
+ bK as useTableContext,
211
+ bL as useTabsContext,
212
+ bM as useTimelineContext,
210
213
  u2 as useTreeContext,
211
- l2 as useTreeLevel
214
+ j2 as useTreeLevel
212
215
  };
213
216
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -7,11 +7,28 @@ export interface ListGroupItemProps {
7
7
  * off for one row.
8
8
  */
9
9
  readonly hasCheckMarker?: boolean;
10
+ /**
11
+ * The quieter second line under the row's content — a name under a slug, a count under a title. An empty string
12
+ * keeps the line, so a placeholder row draws both bars.
13
+ */
14
+ readonly description?: string;
15
+ /** Marks the row as the current one — `aria-current="true"` and the brand's soft fill. */
16
+ readonly isSelected?: boolean;
17
+ /**
18
+ * Makes the whole row a button that selects it — a list that navigates a detail pane.
19
+ *
20
+ * Kept a PROP, not an emit: its presence turns the row into a button, which an emit cannot signal. `@select` binds
21
+ * it all the same.
22
+ */
23
+ readonly onSelect?: () => void;
10
24
  }
11
25
  declare const _default: __VLS_WithSlots<import('vue').DefineComponent<ListGroupItemProps, {
12
26
  el: Readonly<import('vue').ShallowRef<HTMLLIElement | null>>;
13
27
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ListGroupItemProps> & Readonly<{}>, {
28
+ readonly onSelect: () => void;
29
+ readonly description: string;
14
30
  readonly hasCheckMarker: boolean;
31
+ readonly isSelected: boolean;
15
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
16
33
  /** The leading slot — icon, avatar, marker. React's `leading` node prop. */
17
34
  leading?(): unknown;
@@ -26,9 +26,34 @@ export declare const SparklineTone: {
26
26
  readonly Current: "current";
27
27
  };
28
28
  export type SparklineTone = (typeof SparklineTone)[keyof typeof SparklineTone];
29
+ /** Defines one reading of a time-based series. */
30
+ export interface SparklinePoint {
31
+ /** The reading's instant, in epoch milliseconds. */
32
+ readonly at: number;
33
+ /** The reading's value. */
34
+ readonly value: number;
35
+ }
36
+ /** Defines a horizontal reference line — a warning or danger level. */
37
+ export interface SparklineThreshold {
38
+ /** The level, on the same scale as the series. */
39
+ readonly value: number;
40
+ /** The line's color tone. Default `muted`. */
41
+ readonly tone?: SparklineTone;
42
+ }
29
43
  export interface SparklineProps {
30
- /** The series to plot, in order. */
31
- readonly data: ReadonlyArray<number>;
44
+ /** The series to plot, evenly spaced in order. Ignored when `points` is set. */
45
+ readonly data?: ReadonlyArray<number>;
46
+ /**
47
+ * The time-based series, oldest first — each reading placed by its instant inside `since`…`until`, so a short history
48
+ * sits at the right end instead of stretching across the chart.
49
+ */
50
+ readonly points?: ReadonlyArray<SparklinePoint>;
51
+ /** The time window's start, in epoch milliseconds. Defaults to the first point's instant. */
52
+ readonly since?: number;
53
+ /** The time window's end, in epoch milliseconds. Defaults to the last point's instant. */
54
+ readonly until?: number;
55
+ /** The reference lines drawn dashed across the chart — levels on the series' scale. */
56
+ readonly thresholds?: ReadonlyArray<SparklineThreshold>;
32
57
  /** The render style. Default `line`. */
33
58
  readonly variant?: SparklineVariant;
34
59
  /** The px width of the viewBox. Default `120`. */
@@ -53,11 +78,16 @@ declare const _default: import('vue').DefineComponent<SparklineProps, {
53
78
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SparklineProps> & Readonly<{}>, {
54
79
  readonly variant: SparklineVariant;
55
80
  readonly tone: SparklineTone;
81
+ readonly data: ReadonlyArray<number>;
56
82
  readonly height: number;
57
83
  readonly max: number;
58
84
  readonly min: number;
59
85
  readonly width: number;
86
+ readonly points: ReadonlyArray<SparklinePoint>;
60
87
  readonly isSkeleton: boolean;
88
+ readonly since: number;
89
+ readonly until: number;
90
+ readonly thresholds: ReadonlyArray<SparklineThreshold>;
61
91
  readonly hasLast: boolean;
62
92
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
63
93
  export default _default;
@@ -1 +1 @@
1
- export { default as Sparkline, SparklineTone, SparklineVariant, type SparklineProps } from './Sparkline.vue';
1
+ export { default as Sparkline, SparklineTone, SparklineVariant, type SparklinePoint, type SparklineProps, type SparklineThreshold, } from './Sparkline.vue';
@@ -47,9 +47,9 @@ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<DataRegion
47
47
  onRetry?: (() => any) | undefined;
48
48
  }>, {
49
49
  readonly error: DataRegionError | null;
50
+ readonly isRefreshing: boolean;
50
51
  readonly isEmpty: boolean;
51
52
  readonly isFirstLoad: boolean;
52
- readonly isRefreshing: boolean;
53
53
  readonly hasData: boolean;
54
54
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
55
55
  /** The region's real layout — rendered as component skeletons on the first load. */