frontile 0.18.0-beta.4 → 0.18.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.
Files changed (83) hide show
  1. package/declarations/components/collections/dropdown/menu-context.d.ts +10 -0
  2. package/declarations/components/collections/dropdown/menu-context.d.ts.map +1 -1
  3. package/declarations/components/collections/dropdown/sub.d.ts +34 -0
  4. package/declarations/components/collections/dropdown/sub.d.ts.map +1 -1
  5. package/declarations/components/collections/table/cell-default.d.ts.map +1 -1
  6. package/declarations/components/collections/table/index.d.ts.map +1 -1
  7. package/declarations/components/collections/table/table.d.ts.map +1 -1
  8. package/declarations/components/collections/table/types.d.ts.map +1 -1
  9. package/declarations/components/collections/table/utils.d.ts.map +1 -1
  10. package/declarations/components/forms/field.d.ts.map +1 -1
  11. package/declarations/components/forms/form.d.ts.map +1 -1
  12. package/declarations/components/forms/native-select.d.ts.map +1 -1
  13. package/declarations/components/forms/select/select.d.ts +4 -76
  14. package/declarations/components/forms/select/select.d.ts.map +1 -1
  15. package/declarations/components/forms/select/types.d.ts.map +1 -1
  16. package/declarations/components/navigation/breadcrumbs/breadcrumbs.d.ts +251 -0
  17. package/declarations/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -0
  18. package/declarations/components/navigation/breadcrumbs/collapse.d.ts +52 -0
  19. package/declarations/components/navigation/breadcrumbs/collapse.d.ts.map +1 -0
  20. package/declarations/components/navigation/breadcrumbs/ellipsis.d.ts +56 -0
  21. package/declarations/components/navigation/breadcrumbs/ellipsis.d.ts.map +1 -0
  22. package/declarations/components/navigation/breadcrumbs/item.d.ts +100 -0
  23. package/declarations/components/navigation/breadcrumbs/item.d.ts.map +1 -0
  24. package/declarations/components/navigation/breadcrumbs/separator.d.ts +27 -0
  25. package/declarations/components/navigation/breadcrumbs/separator.d.ts.map +1 -0
  26. package/declarations/components/navigation/breadcrumbs.d.ts +6 -0
  27. package/declarations/components/navigation/breadcrumbs.d.ts.map +1 -0
  28. package/declarations/components/navigation/index.d.ts +1 -0
  29. package/declarations/components/navigation/index.d.ts.map +1 -1
  30. package/declarations/components/overlays/overlay.d.ts.map +1 -1
  31. package/declarations/components/overlays/tooltip.d.ts +18 -19
  32. package/declarations/components/overlays/tooltip.d.ts.map +1 -1
  33. package/declarations/components/status/progress-bar.d.ts.map +1 -1
  34. package/declarations/components/utilities/collapsible.d.ts.map +1 -1
  35. package/declarations/utils/deferred-work.d.ts +4 -1
  36. package/declarations/utils/deferred-work.d.ts.map +1 -1
  37. package/dist/components/collections/dropdown/menu-context.js.map +1 -1
  38. package/dist/components/collections/dropdown/sub.js +78 -13
  39. package/dist/components/collections/dropdown/sub.js.map +1 -1
  40. package/dist/components/collections/simple-table/index.js.map +1 -1
  41. package/dist/components/collections/table/cell-default.js +0 -2
  42. package/dist/components/collections/table/cell-default.js.map +1 -1
  43. package/dist/components/collections/table/table.js +4 -46
  44. package/dist/components/collections/table/table.js.map +1 -1
  45. package/dist/components/collections/table/utils.js +0 -2
  46. package/dist/components/collections/table/utils.js.map +1 -1
  47. package/dist/components/forms/field.js +0 -1
  48. package/dist/components/forms/field.js.map +1 -1
  49. package/dist/components/forms/form.js +1 -39
  50. package/dist/components/forms/form.js.map +1 -1
  51. package/dist/components/forms/native-select.js +0 -3
  52. package/dist/components/forms/native-select.js.map +1 -1
  53. package/dist/components/forms/select/select.js +9 -116
  54. package/dist/components/forms/select/select.js.map +1 -1
  55. package/dist/components/navigation/breadcrumbs/breadcrumbs.js +208 -0
  56. package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -0
  57. package/dist/components/navigation/breadcrumbs/collapse.js +49 -0
  58. package/dist/components/navigation/breadcrumbs/collapse.js.map +1 -0
  59. package/dist/components/navigation/breadcrumbs/ellipsis.js +40 -0
  60. package/dist/components/navigation/breadcrumbs/ellipsis.js.map +1 -0
  61. package/dist/components/navigation/breadcrumbs/item.js +102 -0
  62. package/dist/components/navigation/breadcrumbs/item.js.map +1 -0
  63. package/dist/components/navigation/breadcrumbs/separator.js +24 -0
  64. package/dist/components/navigation/breadcrumbs/separator.js.map +1 -0
  65. package/dist/components/navigation/breadcrumbs.js +4 -0
  66. package/dist/components/navigation/breadcrumbs.js.map +1 -0
  67. package/dist/components/navigation/index.js +3 -0
  68. package/dist/components/navigation/index.js.map +1 -1
  69. package/dist/components/overlays/overlay.js +0 -1
  70. package/dist/components/overlays/overlay.js.map +1 -1
  71. package/dist/components/overlays/tooltip.js +19 -21
  72. package/dist/components/overlays/tooltip.js.map +1 -1
  73. package/dist/components/status/progress-bar.js +0 -3
  74. package/dist/components/status/progress-bar.js.map +1 -1
  75. package/dist/components/utilities/collapsible.js +2 -4
  76. package/dist/components/utilities/collapsible.js.map +1 -1
  77. package/dist/index.js +3 -0
  78. package/dist/index.js.map +1 -1
  79. package/dist/navigation.js +3 -0
  80. package/dist/navigation.js.map +1 -1
  81. package/dist/utils/deferred-work.js +27 -2
  82. package/dist/utils/deferred-work.js.map +1 -1
  83. package/package.json +3 -3
@@ -0,0 +1,251 @@
1
+ import Component from '@glimmer/component';
2
+ import { type SlotsToClasses } from '@frontile/theme';
3
+ import BreadcrumbsItemComponent from './item';
4
+ import BreadcrumbsEllipsisComponent from './ellipsis';
5
+ import { type BreadcrumbsItemData } from './collapse';
6
+ import type { BreadcrumbsSlots, BreadcrumbsVariants } from '@frontile/theme';
7
+ import type { ComponentLike, WithBoundArgs } from '@glint/template';
8
+ interface BreadcrumbsArgs {
9
+ /**
10
+ * Accessible name for the navigation landmark.
11
+ *
12
+ * @defaultValue 'Breadcrumb'
13
+ */
14
+ label?: string;
15
+ /**
16
+ * @defaultValue 'md'
17
+ */
18
+ size?: BreadcrumbsVariants['size'];
19
+ /**
20
+ * The colour of the hover and current-page ink.
21
+ *
22
+ * Three categories rather than the usual seven: the others are fill colours,
23
+ * meant to carry `text-on-*` on top of them, and as ink on a light surface
24
+ * they fall below the contrast a reader needs. See `breadcrumbs.ts` in the
25
+ * theme for the measurements.
26
+ *
27
+ * @defaultValue 'neutral'
28
+ */
29
+ color?: BreadcrumbsVariants['color'];
30
+ /**
31
+ * @defaultValue 'hover'
32
+ */
33
+ underline?: BreadcrumbsVariants['underline'];
34
+ /**
35
+ * Replaces the separator glyph. A component argument rather than a named
36
+ * block because the separator is rendered inside each `<li>`, which `Item`
37
+ * owns -- a named block on this component cannot be handed down to a child.
38
+ *
39
+ * @defaultValue ChevronRightIcon
40
+ */
41
+ separator?: ComponentLike<{
42
+ Element: SVGElement;
43
+ }>;
44
+ /** Class names for each slot of the component, merged with the theme's. */
45
+ classes?: SlotsToClasses<BreadcrumbsSlots>;
46
+ /**
47
+ * Renders the trail from an array instead of from blocks. Passing it is what
48
+ * makes `@maxItems` meaningful -- yielded blocks cannot be counted before
49
+ * they render, so in the block form there is nothing for it to divide.
50
+ */
51
+ items?: BreadcrumbsItemData[];
52
+ /**
53
+ * Collapses the middle of the trail once there are more crumbs than this.
54
+ * `@items` form only.
55
+ */
56
+ maxItems?: number;
57
+ /** @defaultValue 1 */
58
+ itemsBeforeCollapse?: number;
59
+ /** @defaultValue 1 */
60
+ itemsAfterCollapse?: number;
61
+ }
62
+ /** What the `item` block receives, once per rendered crumb. */
63
+ interface BreadcrumbsItemContext {
64
+ item: BreadcrumbsItemData;
65
+ index: number;
66
+ isCurrent: boolean;
67
+ itemClass: string;
68
+ linkClass: string;
69
+ separatorClass: string;
70
+ }
71
+ /** One rendered slot, prebuilt so the template needs no sub-expression calls. */
72
+ interface RenderedSlot {
73
+ key: string;
74
+ isEllipsis: boolean;
75
+ item?: BreadcrumbsItemData;
76
+ /**
77
+ * `true`/`false` for a crumb the root could judge on its own; `undefined`
78
+ * for a `@route` crumb it could not, so `Item`'s own precedence takes over
79
+ * and asks the router -- exactly as in the block form.
80
+ */
81
+ resolvedIsCurrent?: boolean;
82
+ hiddenCount?: number;
83
+ /**
84
+ * Required, not optional: it is yielded to the `ellipsis` block, whose
85
+ * contract promises consumers a real array, and Glint will not narrow it
86
+ * through the template's branch.
87
+ */
88
+ hiddenItems: BreadcrumbsItemData[];
89
+ /**
90
+ * Always populated, even for an ellipsis slot -- Glimmer's `{{#if
91
+ * slot.isEllipsis}}...{{else if (has-block "item")}}` does not narrow this
92
+ * field's type the way a plain TS `if` would, so making it optional here
93
+ * would make every `{{yield slot.context to="item"}}` a type error despite
94
+ * being reached only for a non-ellipsis slot at runtime.
95
+ */
96
+ context: BreadcrumbsItemContext;
97
+ }
98
+ interface BreadcrumbsSignature {
99
+ Args: BreadcrumbsArgs;
100
+ Blocks: {
101
+ default: [
102
+ {
103
+ Item: WithBoundArgs<typeof BreadcrumbsItemComponent, 'itemClass' | 'linkClass' | 'separatorClass' | 'separator' | 'setupItem'>;
104
+ Ellipsis: WithBoundArgs<typeof BreadcrumbsEllipsisComponent, 'itemClass' | 'ellipsisClass' | 'separatorClass' | 'separator'>;
105
+ itemClass: string;
106
+ linkClass: string;
107
+ separatorClass: string;
108
+ setupItem: Breadcrumbs['setupItem'];
109
+ }
110
+ ];
111
+ item: [BreadcrumbsItemContext];
112
+ ellipsis: [{
113
+ hiddenCount?: number;
114
+ hiddenItems: BreadcrumbsItemData[];
115
+ }];
116
+ };
117
+ Element: HTMLElement;
118
+ }
119
+ /**
120
+ * An ordered trail of links ending in the current page.
121
+ *
122
+ * Like `TabNav`, it deliberately does **not** use roving focus: these are
123
+ * links, so every one of them stays individually reachable by Tab and the
124
+ * arrow keys are left to the browser.
125
+ */
126
+ declare class Breadcrumbs extends Component<BreadcrumbsSignature> {
127
+ get label(): string;
128
+ get styles(): {
129
+ base: (slotProps?: ({
130
+ color?: "neutral" | "primary" | "danger" | undefined;
131
+ size?: "sm" | "md" | "lg" | undefined;
132
+ underline?: "none" | "hover" | "always" | undefined;
133
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
134
+ list: (slotProps?: ({
135
+ color?: "neutral" | "primary" | "danger" | undefined;
136
+ size?: "sm" | "md" | "lg" | undefined;
137
+ underline?: "none" | "hover" | "always" | undefined;
138
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
139
+ item: (slotProps?: ({
140
+ color?: "neutral" | "primary" | "danger" | undefined;
141
+ size?: "sm" | "md" | "lg" | undefined;
142
+ underline?: "none" | "hover" | "always" | undefined;
143
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
144
+ link: (slotProps?: ({
145
+ color?: "neutral" | "primary" | "danger" | undefined;
146
+ size?: "sm" | "md" | "lg" | undefined;
147
+ underline?: "none" | "hover" | "always" | undefined;
148
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
149
+ separator: (slotProps?: ({
150
+ color?: "neutral" | "primary" | "danger" | undefined;
151
+ size?: "sm" | "md" | "lg" | undefined;
152
+ underline?: "none" | "hover" | "always" | undefined;
153
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
154
+ ellipsis: (slotProps?: ({
155
+ color?: "neutral" | "primary" | "danger" | undefined;
156
+ size?: "sm" | "md" | "lg" | undefined;
157
+ underline?: "none" | "hover" | "always" | undefined;
158
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
159
+ } & {
160
+ base: (slotProps?: ({
161
+ color?: "neutral" | "primary" | "danger" | undefined;
162
+ size?: "sm" | "md" | "lg" | undefined;
163
+ underline?: "none" | "hover" | "always" | undefined;
164
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
165
+ list: (slotProps?: ({
166
+ color?: "neutral" | "primary" | "danger" | undefined;
167
+ size?: "sm" | "md" | "lg" | undefined;
168
+ underline?: "none" | "hover" | "always" | undefined;
169
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
170
+ item: (slotProps?: ({
171
+ color?: "neutral" | "primary" | "danger" | undefined;
172
+ size?: "sm" | "md" | "lg" | undefined;
173
+ underline?: "none" | "hover" | "always" | undefined;
174
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
175
+ link: (slotProps?: ({
176
+ color?: "neutral" | "primary" | "danger" | undefined;
177
+ size?: "sm" | "md" | "lg" | undefined;
178
+ underline?: "none" | "hover" | "always" | undefined;
179
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
180
+ separator: (slotProps?: ({
181
+ color?: "neutral" | "primary" | "danger" | undefined;
182
+ size?: "sm" | "md" | "lg" | undefined;
183
+ underline?: "none" | "hover" | "always" | undefined;
184
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
185
+ ellipsis: (slotProps?: ({
186
+ color?: "neutral" | "primary" | "danger" | undefined;
187
+ size?: "sm" | "md" | "lg" | undefined;
188
+ underline?: "none" | "hover" | "always" | undefined;
189
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
190
+ } & {
191
+ base: (slotProps?: ({
192
+ color?: "neutral" | "primary" | "danger" | undefined;
193
+ size?: "sm" | "md" | "lg" | undefined;
194
+ underline?: "none" | "hover" | "always" | undefined;
195
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
196
+ };
197
+ get itemClass(): string;
198
+ get linkClass(): string;
199
+ get separatorClass(): string;
200
+ get ellipsisClass(): string;
201
+ /**
202
+ * Presence, not truthiness: Glimmer treats an empty array as falsy, so
203
+ * `{{#if @items}}` would send `@items={{(array)}}` down the block-form
204
+ * branch and silently render nothing rather than an empty trail.
205
+ */
206
+ get usesItemsForm(): boolean;
207
+ /**
208
+ * The indices the root can see as current *without* consulting the router:
209
+ * an explicit `isCurrent: true`, or a crumb with no link target at all
210
+ * *and* no explicit `isCurrent` of its own. The no-target fallback must not
211
+ * override an explicit `isCurrent: false` -- that would make the `@items`
212
+ * form disagree with the block form, where `@isCurrent={{false}}` always
213
+ * wins (see the "in both directions" test on `Breadcrumbs.Item`).
214
+ * Router-derived currency stays with `Item`, so this deliberately does not
215
+ * cover `route` crumbs.
216
+ */
217
+ get staticallyCurrentIndices(): number[];
218
+ /**
219
+ * Last wins. Two unlinked crumbs would otherwise render two
220
+ * `aria-current="page"` elements, which is invalid; the root can see the
221
+ * whole array, so it fixes the trail rather than only complaining about it.
222
+ * The warning is there so the author still learns about the ambiguity.
223
+ */
224
+ get currentIndex(): number | undefined;
225
+ /**
226
+ * A placeholder satisfying `RenderedSlot.context`'s required type for an
227
+ * ellipsis slot, which never actually yields it -- see the field doc on
228
+ * `RenderedSlot.context` for why the field can't be optional instead. Named
229
+ * so its unreachability is obvious at the one place it's constructed,
230
+ * rather than only in a comment several lines above.
231
+ */
232
+ get unreachableEllipsisContext(): BreadcrumbsItemContext;
233
+ get slots(): RenderedSlot[];
234
+ /**
235
+ * Marks an element as the current page. Yielded so a consumer can bring
236
+ * their own link component -- `ember-link`, a custom `<AppLink>`, a plain
237
+ * `<a>` -- and still get the correct ARIA. `Breadcrumbs.Item` applies this
238
+ * internally, so there is exactly one definition of what "current" writes to
239
+ * the DOM.
240
+ */
241
+ setupItem: import("ember-modifier").FunctionBasedModifier<{
242
+ Args: {
243
+ Positional: [boolean];
244
+ Named: import("ember-modifier/-private/signature").EmptyObject;
245
+ };
246
+ Element: HTMLElement;
247
+ }>;
248
+ }
249
+ export { Breadcrumbs, type BreadcrumbsSignature, type BreadcrumbsArgs, type BreadcrumbsItemContext };
250
+ export default Breadcrumbs;
251
+ //# sourceMappingURL=breadcrumbs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/breadcrumbs/breadcrumbs.gts"],"names":[],"mappings":"AA6aA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,wBAAwB,MAAM,QAAQ,CAAC;AAC9C,OAAO,4BAA4B,MAAM,YA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AI,MAAM,CAE1B;IAED;;;;OAIG;IACH,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED;;;;;;;;;OASG;IACH,IACI,wBAAwB,IAAI,MAAM,EAAE,CAWvC;IAED;;;;;OAKG;IACH,IAAI,YAAY,IAAI,MAAM,GAAG,SAAS,CAWrC;IAED;;;;;;OAMG;IACH,IACI,0BAA0B,IAAI,sBAAsB,CASvD;IAED,IACI,KAAK,IAAI,YAAY,EAAE,CAwD1B;IAED;;;;;;OAMG;IACH,SAAS;;;;;;OAQN;CA0GJ;AAED,OAAO,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC5B,CAAC;AACF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * One entry in `Breadcrumbs`' `@items` array.
3
+ *
4
+ * The index signature is deliberate: it lets a consumer carry extra data (an
5
+ * icon name, the record the crumb came from) through to the `item` block,
6
+ * which is yielded the original object alongside the computed context.
7
+ */
8
+ export interface BreadcrumbsItemData {
9
+ label?: string;
10
+ route?: string;
11
+ model?: unknown;
12
+ models?: unknown[];
13
+ query?: Record<string, unknown>;
14
+ href?: string;
15
+ isCurrent?: boolean;
16
+ isDisabled?: boolean;
17
+ [key: string]: unknown;
18
+ }
19
+ /**
20
+ * One rendered slot: either a crumb, or the gap marker standing in for the run
21
+ * of crumbs that did not fit. `index` is the crumb's position in the original
22
+ * array, not in the rendered list -- the `item` block needs the former.
23
+ */
24
+ export type BreadcrumbsSlot<T extends BreadcrumbsItemData = BreadcrumbsItemData> = {
25
+ type: 'item';
26
+ item: T;
27
+ index: number;
28
+ } | {
29
+ type: 'ellipsis';
30
+ hiddenItems: T[];
31
+ };
32
+ export interface CollapseOptions {
33
+ /** Omitted, nothing collapses. */
34
+ maxItems?: number;
35
+ /** @defaultValue 1 */
36
+ itemsBeforeCollapse?: number;
37
+ /** @defaultValue 1 */
38
+ itemsAfterCollapse?: number;
39
+ }
40
+ /**
41
+ * Splits a trail into the crumbs that render and the ones an ellipsis stands
42
+ * in for.
43
+ *
44
+ * Unlike `paginationRange`, this needs no special case for a gap of exactly
45
+ * one: clamping `maxItems` up to `before + after + 1` means `items.length >
46
+ * max` implies `items.length >= before + after + 2`, so a rendered ellipsis
47
+ * always hides at least two crumbs. Clamping rather than throwing because a
48
+ * `@maxItems` smaller than the crumbs that are always kept is a caller
49
+ * mistake that has an obvious correct reading.
50
+ */
51
+ export declare function collapseBreadcrumbs<T extends BreadcrumbsItemData>(items: T[], options?: CollapseOptions): BreadcrumbsSlot<T>[];
52
+ //# sourceMappingURL=collapse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapse.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/breadcrumbs/collapse.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,MAAM,eAAe,CACzB,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,IAEjD;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,CAAC,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,WAAW,EAAE,CAAC,EAAE,CAAA;CAAE,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sBAAsB;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sBAAsB;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,mBAAmB,EAC/D,KAAK,EAAE,CAAC,EAAE,EACV,OAAO,GAAE,eAAoB,GAC5B,eAAe,CAAC,CAAC,CAAC,EAAE,CA4BtB"}
@@ -0,0 +1,56 @@
1
+ import Component from '@glimmer/component';
2
+ import type { BreadcrumbsItemData } from './collapse';
3
+ import type { ComponentLike } from '@glint/template';
4
+ interface BreadcrumbsEllipsisArgs {
5
+ /**
6
+ * Drives the visually-hidden announcement. The `@items` form passes it; in
7
+ * the block form an author may supply it, and without it the announcement
8
+ * falls back to an uncounted one rather than making the author count their
9
+ * own crumbs.
10
+ */
11
+ hiddenCount?: number;
12
+ /** The crumbs this marker stands in for. Yielded straight back to the block. */
13
+ hiddenItems?: BreadcrumbsItemData[];
14
+ /** Class names appended to this marker's theme classes. */
15
+ class?: string;
16
+ /** @internal */
17
+ itemClass: string;
18
+ /** @internal */
19
+ ellipsisClass: string;
20
+ /** @internal */
21
+ separatorClass: string;
22
+ /** @internal */
23
+ separator?: ComponentLike<{
24
+ Element: SVGElement;
25
+ }>;
26
+ }
27
+ interface BreadcrumbsEllipsisSignature {
28
+ Args: BreadcrumbsEllipsisArgs;
29
+ Blocks: {
30
+ /** Replaces the glyph. This is where a `Dropdown` goes. */
31
+ default: [{
32
+ hiddenCount?: number;
33
+ hiddenItems: BreadcrumbsItemData[];
34
+ }];
35
+ };
36
+ Element: HTMLElement;
37
+ }
38
+ /**
39
+ * The gap marker standing in for a run of crumbs.
40
+ *
41
+ * It renders its own `<li>` including a separator, structurally identical to
42
+ * what `Item` renders -- a bare `<span>` would fall outside the
43
+ * `group-last/item:hidden` scheme that hides the trailing separator, and the
44
+ * trail would end in a dangling chevron whenever an ellipsis came last.
45
+ */
46
+ declare class BreadcrumbsEllipsis extends Component<BreadcrumbsEllipsisSignature> {
47
+ get hiddenItems(): BreadcrumbsItemData[];
48
+ /**
49
+ * `undefined` rather than a number when the count is unknown, so the template
50
+ * can pick between the two announcements without an `eq` helper.
51
+ */
52
+ get hiddenCount(): number | undefined;
53
+ }
54
+ export { BreadcrumbsEllipsis, type BreadcrumbsEllipsisSignature, type BreadcrumbsEllipsisArgs };
55
+ export default BreadcrumbsEllipsis;
56
+ //# sourceMappingURL=ellipsis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ellipsis.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/breadcrumbs/ellipsis.gts"],"names":[],"mappings":"AA4GA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,UAAU,uBAAuB;IAC/B;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,gFAAgF;IAChF,WAAW,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAEpC,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,gBAAgB;IAChB,SAAS,EAAE,MAAM,CAAC;IAElB,gBAAgB;IAChB,aAAa,EAAE,MAAM,CAAC;IAEtB,gBAAgB;IAChB,cAAc,EAAE,MAAM,CAAC;IAEvB,gBAAgB;IAChB,SAAS,CAAC,EAAE,aAAa,CAAC;QAAE,OAAO,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CACpD;AAED,UAAU,4BAA4B;IACpC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,MAAM,EAAE;QACN,2DAA2D;QAC3D,OAAO,EAAE,CAAC;YAAE,WAAW,CAAC,EAAE,MAAM,CAAC;YAAC,WAAW,EAAE,mBAAmB,EAAE,CAAA;SAAE,CAAC,CAAC;KACzE,CAAC;IACF,OAAO,EAAE,WAAW,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,cAAM,mBAAoB,SAAQ,SAAS,CAAC,4BAA4B,CAAC;IACvE,IAAI,WAAW,IAAI,mBAAmB,EAAE,CAEvC;IAED;;;OAGG;IACH,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAEpC;CAuEF;AAED,OAAO,EACL,mBAAmB,EACnB,KAAK,4BAA4B,EACjC,KAAK,uBAAuB,EAC7B,CAAC;AACF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,100 @@
1
+ import Component from '@glimmer/component';
2
+ import type RouterService from '@ember/routing/router-service';
3
+ import type { ComponentLike, ModifierLike } from '@glint/template';
4
+ interface BreadcrumbsItemArgs {
5
+ /**
6
+ * Renders a `LinkTo` for this route and derives the current state from the
7
+ * router. Omit it (and pass `@href`) to stay entirely router-free.
8
+ */
9
+ route?: string;
10
+ /** Dynamic segments for `@route`. */
11
+ models?: unknown[];
12
+ /** A single dynamic segment for `@route`. */
13
+ model?: unknown;
14
+ /** Query params for `@route`. */
15
+ query?: Record<string, unknown>;
16
+ /** Renders a plain anchor. */
17
+ href?: string;
18
+ /**
19
+ * Overrides the current-page state. Wins over every other rule.
20
+ */
21
+ isCurrent?: boolean;
22
+ /**
23
+ * Marks the crumb as disabled. An anchor cannot be natively disabled, so the
24
+ * href is dropped as well -- `aria-disabled` alone still leaves it
25
+ * clickable. Only affects a linked crumb: an unlinked crumb (no `@route` or
26
+ * `@href`) renders as a `<span>` and never receives `aria-disabled` or
27
+ * `data-disabled` regardless of this arg.
28
+ *
29
+ * @defaultValue false
30
+ */
31
+ isDisabled?: boolean;
32
+ /** Class names appended to this crumb's theme classes. */
33
+ class?: string;
34
+ /**
35
+ * Supplied by Breadcrumbs. Not part of the public API.
36
+ *
37
+ * @internal
38
+ */
39
+ itemClass: string;
40
+ /** @internal */
41
+ linkClass: string;
42
+ /** @internal */
43
+ separatorClass: string;
44
+ /** @internal */
45
+ separator?: ComponentLike<{
46
+ Element: SVGElement;
47
+ }>;
48
+ /** @internal */
49
+ setupItem: ModifierLike<{
50
+ Element: HTMLElement;
51
+ Args: {
52
+ Positional: [boolean];
53
+ };
54
+ }>;
55
+ }
56
+ interface BreadcrumbsItemSignature {
57
+ Args: BreadcrumbsItemArgs;
58
+ Blocks: {
59
+ default: [];
60
+ };
61
+ /**
62
+ * Not `HTMLAnchorElement`: this component's crumb element varies -- an `<a>`
63
+ * or a `<span>` for an unlinked current crumb -- so the signature has to name
64
+ * the common supertype or `...attributes` is mistyped for the span case.
65
+ */
66
+ Element: HTMLElement;
67
+ }
68
+ /**
69
+ * One crumb: its `<li>`, the crumb itself, and the separator that follows it.
70
+ *
71
+ * The separator is rendered here rather than by the root, and hidden on the
72
+ * last crumb by CSS. That is what lets both authoring forms work without
73
+ * either one knowing an item's position.
74
+ */
75
+ declare class BreadcrumbsItem extends Component<BreadcrumbsItemSignature> {
76
+ router: RouterService;
77
+ get models(): unknown[];
78
+ get query(): Record<string, unknown>;
79
+ get isDisabled(): boolean;
80
+ /** Whether this crumb points anywhere at all. */
81
+ get hasTarget(): boolean;
82
+ /**
83
+ * A `LinkTo` is only rendered for a route the crumb can actually navigate
84
+ * to. `LinkTo` cannot be talked out of a real, navigable href -- its
85
+ * `@disabled` only short-circuits the click handler and tags on an un-themed
86
+ * `disabled` class -- so a disabled route crumb falls through to the plain
87
+ * anchor instead, where dropping the href is what actually disables it.
88
+ */
89
+ get rendersLink(): boolean;
90
+ /**
91
+ * Precedence, highest first: an explicit `@isCurrent`; the router, for a
92
+ * `@route` crumb; then the rule that a crumb with no link target is the page
93
+ * you are on -- which is what lets `<b.Item>Title</b.Item>` be correct with
94
+ * no arguments.
95
+ */
96
+ get isCurrent(): boolean;
97
+ }
98
+ export { BreadcrumbsItem, type BreadcrumbsItemSignature, type BreadcrumbsItemArgs };
99
+ export default BreadcrumbsItem;
100
+ //# sourceMappingURL=item.d.ts.map
@@ -0,0 +1 @@
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IACxB;;;;OAIG;IACH,OAAO,EAAE,WAAW,CAAC;CACtB;AAED;;;;;;GAMG;AACH,cAAM,eAAgB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IAK9C,MAAM,EAAE,aAAa,CAAC;IAEvC,IACI,MAAM,IAAI,OAAO,EAAE,CAMtB;IAKD,IACI,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEnC;IAED,IAAI,UAAU,IAAI,OAAO,CAExB;IAED,iDAAiD;IACjD,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;;;OAMG;IACH,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED;;;;;OAKG;IACH,IAAI,SAAS,IAAI,OAAO,CA2BvB;CAwFF;AAED,OAAO,EACL,eAAe,EACf,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACzB,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ import type { ComponentLike } from '@glint/template';
3
+ export interface BreadcrumbsSeparatorSignature {
4
+ Args: {
5
+ /** The `separator` slot's resolved classes, from the root. */
6
+ class: string;
7
+ /** The consumer's `@separator`, replacing the default chevron. */
8
+ separator?: ComponentLike<{
9
+ Element: SVGElement;
10
+ }>;
11
+ };
12
+ Element: HTMLSpanElement;
13
+ }
14
+ /**
15
+ * The punctuation between two crumbs.
16
+ *
17
+ * Shared by `Item` and `Ellipsis`, which each render their own `<li>` and so
18
+ * each need one. The CSS that hides it on the last `<li>` only works while the
19
+ * two stay identical, which one definition guarantees and two copies don't.
20
+ *
21
+ * Always `aria-hidden`: the `<ol>` and `aria-current` carry the structure, so
22
+ * announcing a chevron between every crumb would be reading decoration.
23
+ */
24
+ declare const BreadcrumbsSeparator: TOC<BreadcrumbsSeparatorSignature>;
25
+ export { BreadcrumbsSeparator };
26
+ export default BreadcrumbsSeparator;
27
+ //# sourceMappingURL=separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/breadcrumbs/separator.gts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE;QACJ,8DAA8D;QAC9D,KAAK,EAAE,MAAM,CAAC;QAEd,kEAAkE;QAClE,SAAS,CAAC,EAAE,aAAa,CAAC;YAAE,OAAO,EAAE,UAAU,CAAA;SAAE,CAAC,CAAC;KACpD,CAAC;IACF,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,oBAAoB,EAAE,GAAG,CAAC,6BAA6B,CA0B3D,CAAC;AAEH,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAChC,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './breadcrumbs/breadcrumbs';
2
+ export { default } from './breadcrumbs/breadcrumbs';
3
+ export * from './breadcrumbs/item';
4
+ export * from './breadcrumbs/ellipsis';
5
+ export type { BreadcrumbsItemData } from './breadcrumbs/collapse';
6
+ //# sourceMappingURL=breadcrumbs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/breadcrumbs.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -2,4 +2,5 @@ export * from './tabs';
2
2
  export * from './tab-nav';
3
3
  export * from './external-link';
4
4
  export * from './pagination';
5
+ export * from './breadcrumbs';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/components/overlays/overlay.gts"],"names":[],"mappings":"AA6mBA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,OAAO,EAAa,KAAK,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAkB,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAY,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAQ9D,OAAO,EAA4B,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAC1E,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAG7F,KAAK,gBAAgB,GAAG,WAAW,CACjC,0BAA0B,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,kBAAkB,CAAC,CAChE,CAAC;AAqHF,UAAU,IAAK,SAAQ,IAAI,CACzB,eAAe,CAAC,MAAM,CAAC,EACvB,eAAe,GAAG,QAAQ,CAC3B;IACC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,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AU;;;;;;;;;;;;MAWb;CAkDF;AAED,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,CAAC;AAC1C,eAAe,OAAO,CAAC"}
@@ -186,8 +186,8 @@ declare class Tooltip extends Component<TooltipSignature> {
186
186
  * and possibly infinite" (reproduces the same way typed as `unknown`).
187
187
  * Applying a modifier directly (`{{this.someModifier someArg}}`) type-checks
188
188
  * fine; it is specifically the currying keyword's overload resolution that
189
- * Glint chokes on, matching the brief's anticipated fallback: build the
190
- * bound modifier value from plain JS instead of templated currying.
189
+ * Glint chokes on, so this file builds the bound modifier value from plain
190
+ * JS instead of templated currying.
191
191
  *
192
192
  * `modifier()` from `ember-modifier` returns the exact function it is
193
193
  * given, with only a modifier manager attached out of band (see its
@@ -215,16 +215,15 @@ declare class Tooltip extends Component<TooltipSignature> {
215
215
  * reading `this.args.isDisabled` there is what makes ember-modifier tear
216
216
  * down and reinstall the trigger's listeners when it changes, without
217
217
  * needing a new outer modifier identity (so the element itself is never
218
- * remounted). The brief's sketch instead made `@isDisabled` an unreachable
219
- * `openDelay` (`Number.MAX_SAFE_INTEGER`) passed through to `Popover`. That
220
- * does not work: `@ember/test-helpers`' `settled()` -- which every
221
- * `await triggerEvent(...)` calls internally -- waits on
222
- * `backburner.hasTimers()`, which is true for *any* pending `later()` call
223
- * no matter how far in the future, so a `mouseenter` scheduling an
224
- * effectively-infinite open left every subsequent `await` hanging until
225
- * the QUnit test timeout (confirmed: the test hung at exactly 60000ms).
226
- * Skipping the hover installation entirely while disabled avoids ever
227
- * scheduling that timer in the first place.
218
+ * remounted). Passing `@isDisabled` through as an unreachable `openDelay`
219
+ * (`Number.MAX_SAFE_INTEGER`) does not work instead: `@ember/test-helpers`'
220
+ * `settled()` -- which every `await triggerEvent(...)` calls internally --
221
+ * waits on `backburner.hasTimers()`, which is true for *any* pending
222
+ * `later()` call no matter how far in the future, so a `mouseenter`
223
+ * scheduling an effectively-infinite open left every subsequent `await`
224
+ * hanging until the QUnit test timeout. Skipping the hover installation
225
+ * entirely while disabled avoids ever scheduling that timer in the first
226
+ * place.
228
227
  *
229
228
  * ANCHOR CHURN GUARD: the wrapper function below reads `this.isOpen`
230
229
  * *transitively* -- not directly, but through `trigger`'s own autotracking
@@ -244,16 +243,16 @@ declare class Tooltip extends Component<TooltipSignature> {
244
243
  * `ember-modifier` before *every* re-run, same-element re-runs included --
245
244
  * therefore does not tear the anchor down synchronously; it only tears
246
245
  * down `trigger` immediately (the half that legitimately needs to re-run on
247
- * every open/close -- that's what keeps `aria-describedby` in sync, and
248
- * Task 5 documented it as required for controlled mode) and *defers* the
249
- * anchor decision via `scheduleAnchorTeardownCheck`.
246
+ * every open/close -- that's what keeps `aria-describedby` in sync, which
247
+ * controlled mode also depends on) and *defers* the anchor decision via
248
+ * `scheduleAnchorTeardownCheck`.
250
249
  *
251
- * FIX ROUND 2 -- the leak this guard introduced, and why a deferred check:
250
+ * Why a deferred check, rather than just comparing `element` identity:
252
251
  * `ember-modifier` gives the destructor no way to tell "about to re-run for
253
252
  * the same element" apart from "genuinely destroyed" -- both call the same
254
- * returned closure. Guarding the anchor by comparing `element` identity (as
255
- * fix round 1 did) is correct for the re-run case but has no destructor
256
- * path left for the case where `element` is removed entirely while
253
+ * returned closure. An identity comparison alone is correct for the
254
+ * re-run case but has no destructor path left for the case where `element`
255
+ * is removed entirely while
257
256
  * `Tooltip` itself keeps living (e.g. `{{#if this.show}}<button
258
257
  * {{t.trigger}}>{{/if}}`) -- nothing ever calls `ensureAnchor` again to
259
258
  * notice the change, and `willDestroy` only runs when `Tooltip` itself is
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/overlays/tooltip.gts"],"names":[],"mappings":"AAotBA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE1D,OAAO,EAAW,KAAK,gBAAgB,EAAE,MAAM,W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