impact-nova 2.2.3 → 2.2.5

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 (59) hide show
  1. package/dist/components/data/ag-grid-react/headers/custom-header.js +133 -110
  2. package/dist/components/data/ag-grid-react/headers/header-search-input.js +23 -23
  3. package/dist/components/data/ag-grid-react/index.js +202 -206
  4. package/dist/components/data/data-table/build-column-tree-from-grid.js +65 -67
  5. package/dist/components/data/data-table/data-table-column-list-sync.js +5 -10
  6. package/dist/components/data/data-table/data-table-column-list.js +64 -61
  7. package/dist/components/data/data-table/data-table-column-tree-cache.d.ts +29 -0
  8. package/dist/components/data/data-table/data-table-column-tree-cache.js +117 -0
  9. package/dist/components/data/data-table/data-table-constants.d.ts +2 -0
  10. package/dist/components/data/data-table/data-table-constants.js +3 -2
  11. package/dist/components/data/data-table/data-table-sheet.js +46 -49
  12. package/dist/components/data/data-table/data-table.js +137 -119
  13. package/dist/components/data/data-table/index.js +24 -23
  14. package/dist/components/data/data-table/patch-column-tree-indicators-from-grid.d.ts +3 -0
  15. package/dist/components/data/data-table/patch-column-tree-indicators-from-grid.js +24 -0
  16. package/dist/components/data/data-table/use-data-table-column-list-sync.d.ts +2 -1
  17. package/dist/components/data/data-table/use-data-table-column-list-sync.js +249 -150
  18. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.d.ts +2 -1
  19. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +30 -27
  20. package/dist/components/data/expandable-list-item/expandable-list-item-parts.d.ts +1 -1
  21. package/dist/components/data/expandable-list-item/expandable-list-item-parts.js +179 -118
  22. package/dist/components/data/expandable-list-item/expandable-list-item-preset.js +30 -29
  23. package/dist/components/data/expandable-list-item/expandable-list-item.types.d.ts +8 -1
  24. package/dist/components/data/expandable-list-item/index.d.ts +1 -1
  25. package/dist/components/data/nested-list/components/NestedListContent.js +158 -96
  26. package/dist/components/data/nested-list/nested-list-constants.d.ts +4 -0
  27. package/dist/components/data/nested-list/nested-list-constants.js +6 -0
  28. package/dist/components/data/nested-list/nested-list-tree-utils.d.ts +3 -0
  29. package/dist/components/data/nested-list/nested-list-tree-utils.js +24 -0
  30. package/dist/components/data/nested-list/nested-list.js +214 -215
  31. package/dist/components/data-display/card/card.js +6 -5
  32. package/dist/components/feedback/dialog/dialog.js +7 -5
  33. package/dist/components/feedback/sheet/sheet.js +28 -27
  34. package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
  35. package/dist/components/flows/filter-panel/filter-panel.js +36 -35
  36. package/dist/components/flows/filter-strip/filter-tag-list.js +44 -44
  37. package/dist/components/forms/combobox/combobox.js +110 -100
  38. package/dist/components/forms/date-picker/date-input-behavior.d.ts +9 -0
  39. package/dist/components/forms/date-picker/date-input-behavior.js +32 -19
  40. package/dist/components/forms/date-picker/date-picker.js +96 -90
  41. package/dist/components/forms/date-picker/date-range-picker.js +160 -152
  42. package/dist/components/forms/date-picker/month-picker.js +71 -65
  43. package/dist/components/forms/date-picker/month-range-picker.js +153 -145
  44. package/dist/components/forms/date-picker/multi-date-picker.js +127 -99
  45. package/dist/components/forms/date-picker/multi-month-picker.js +109 -97
  46. package/dist/components/forms/date-picker/multi-week-picker.js +98 -86
  47. package/dist/components/forms/date-picker/week-picker.js +82 -76
  48. package/dist/components/forms/date-picker/week-range-picker.js +127 -119
  49. package/dist/impact-nova-base.scss +10 -5
  50. package/dist/impact-nova-components.css +9 -5
  51. package/dist/impact-nova.css +1 -1
  52. package/dist/index.js +189 -188
  53. package/dist/lib/overlay/overlay-portal-context.d.ts +11 -2
  54. package/dist/lib/overlay/overlay-portal-context.js +39 -28
  55. package/dist/lib/primitives/create-compound.d.ts +5 -0
  56. package/dist/lib/primitives/create-compound.js +17 -16
  57. package/dist/llms/rules/installation.js +1 -1
  58. package/dist/llms/rules/requirements.js +1 -1
  59. package/package.json +1 -1
@@ -1,55 +1,154 @@
1
- import { useState as O, useRef as h, useCallback as a, useEffect as x } from "react";
2
- import { mergePartialOrderedColumnState as N } from "./data-table-column-state.js";
3
- import { afterSynchronousColumnApply as v, normalizeColumnPinned as q, GRID_AUTO_UNPIN_WAIT_MS as J, alignColumnTreePinMetadata as L, EXTERNAL_SYNC_DEBOUNCE_MS as Q, readGridColumnPinned as Z } from "./data-table-column-apply.js";
4
- import { buildColumnTreeFromGrid as $ } from "./build-column-tree-from-grid.js";
5
- import { computeColumnListSyncFingerprints as z, resolveColumnListSyncMode as A } from "./data-table-column-list-sync.js";
6
- import { subscribeGridApiEvent as j } from "../ag-grid-react/grid-api-event-subscription.js";
7
- import { subscribeColumnIndicatorSync as ee } from "../ag-grid-react/column-indicator-sync-bus.js";
8
- function ie({
9
- gridApi: o,
10
- frozenColumnsLabel: D,
11
- scrollableColumnsLabel: U
1
+ import { useState as U, useRef as S, useCallback as m, useLayoutEffect as et, useEffect as _ } from "react";
2
+ import { mergePartialOrderedColumnState as V } from "./data-table-column-state.js";
3
+ import { afterSynchronousColumnApply as M, normalizeColumnPinned as B, GRID_AUTO_UNPIN_WAIT_MS as nt, alignColumnTreePinMetadata as X, EXTERNAL_SYNC_DEBOUNCE_MS as rt, readGridColumnPinned as ot } from "./data-table-column-apply.js";
4
+ import { computeColumnListSyncFingerprints as Y } from "./data-table-column-list-sync.js";
5
+ import { resolveColumnTreeFromCacheOrGrid as z, peekColumnListSyncWouldSkip as ct, readColumnTreeCache as H, writeColumnTreeCache as ut } from "./data-table-column-tree-cache.js";
6
+ import { patchColumnTreeIndicatorsFromGrid as J } from "./patch-column-tree-indicators-from-grid.js";
7
+ import { subscribeGridApiEvent as P } from "../ag-grid-react/grid-api-event-subscription.js";
8
+ import { subscribeColumnIndicatorSync as Q } from "../ag-grid-react/column-indicator-sync-bus.js";
9
+ function Ct({
10
+ gridApi: t,
11
+ frozenColumnsLabel: d,
12
+ scrollableColumnsLabel: f,
13
+ isSyncActive: a = !0
12
14
  }) {
13
- const [K, R] = O([]), [V, W] = O(!1), [_, B] = O(!1), i = h(!1), E = h(null), S = h(0), y = h(""), G = h(""), C = a(() => !o || i.current ? null : $(o, {
14
- frozenColumns: D,
15
- scrollableColumns: U
16
- }), [o, D, U]), I = a(
17
- (n, e) => {
18
- const r = y.current, l = z(n);
19
- y.current = l.structural, G.current = l.indicators, R(n), W(!0), e === "structural" && r !== "" && B((t) => !t);
15
+ const [Z, k] = U([]), [$, x] = U(!1), [q, N] = U(!1), i = S(!1), g = S(null), E = S(0), I = S(""), R = S(""), W = S(a), b = S(!1), T = m(
16
+ (e, n) => {
17
+ const o = I.current, c = Y(e);
18
+ I.current = c.structural, R.current = c.indicators, k(e), x(!0), n === "structural" && o !== "" && N((r) => !r), n === "indicators-only" && b.current && (b.current = !1, N((r) => !r));
20
19
  },
21
20
  []
22
- ), f = a(
21
+ ), p = m(
23
22
  () => {
24
- const n = C();
25
- n && I(n, "structural");
23
+ if (!t || i.current) return;
24
+ const e = z({
25
+ gridApi: t,
26
+ labels: {
27
+ frozenColumns: d,
28
+ scrollableColumns: f
29
+ },
30
+ previousFingerprints: {
31
+ structural: I.current,
32
+ indicators: R.current
33
+ }
34
+ });
35
+ if (e.syncMode === "skip" || !e.rootItems) {
36
+ e.syncMode !== "skip" && x(!0);
37
+ return;
38
+ }
39
+ T(
40
+ e.rootItems,
41
+ e.syncMode === "indicators-only" ? "indicators-only" : "structural"
42
+ );
26
43
  },
27
- [I, C]
28
- ), k = a(
44
+ [
45
+ T,
46
+ d,
47
+ t,
48
+ f
49
+ ]
50
+ ), j = m(
29
51
  () => {
30
- const n = C();
31
- if (!n) return;
32
- const e = A(
33
- n,
34
- y.current,
35
- G.current
36
- );
37
- if (e !== "skip") {
38
- if (e === "structural") {
39
- const r = E.current?.querySelector(
52
+ if (!t || i.current) return;
53
+ const e = z({
54
+ gridApi: t,
55
+ labels: {
56
+ frozenColumns: d,
57
+ scrollableColumns: f
58
+ },
59
+ previousFingerprints: {
60
+ structural: I.current,
61
+ indicators: R.current
62
+ }
63
+ });
64
+ if (e.syncMode !== "skip" && e.rootItems) {
65
+ if (e.syncMode === "structural") {
66
+ const n = g.current?.querySelector(
40
67
  '[data-component="nested-list"] .overflow-y-auto'
41
68
  );
42
- r && (S.current = r.scrollTop);
69
+ n && (E.current = n.scrollTop);
43
70
  }
44
- I(n, e);
71
+ T(
72
+ e.rootItems,
73
+ e.syncMode === "indicators-only" ? "indicators-only" : "structural"
74
+ );
45
75
  }
46
76
  },
47
- [I, C]
77
+ [
78
+ T,
79
+ d,
80
+ t,
81
+ f
82
+ ]
48
83
  );
49
- x(() => {
50
- if (!o) return;
51
- queueMicrotask(() => f());
52
- const n = [
84
+ et(() => {
85
+ const e = a && !W.current;
86
+ if (W.current = a, !t || !a) return;
87
+ const n = {
88
+ frozenColumns: d,
89
+ scrollableColumns: f
90
+ }, o = {
91
+ structural: I.current,
92
+ indicators: R.current
93
+ };
94
+ if (!(!e && o.structural !== "" && ct({
95
+ gridApi: t,
96
+ labels: n,
97
+ previousFingerprints: o
98
+ }))) {
99
+ if (e) {
100
+ b.current = !0, queueMicrotask(() => {
101
+ const c = H(t, n);
102
+ if (c) {
103
+ const s = J(
104
+ c.items,
105
+ t
106
+ );
107
+ T(s, "indicators-only");
108
+ return;
109
+ }
110
+ p();
111
+ });
112
+ return;
113
+ }
114
+ queueMicrotask(() => {
115
+ p();
116
+ });
117
+ }
118
+ }, [
119
+ t,
120
+ a,
121
+ d,
122
+ f,
123
+ p,
124
+ T
125
+ ]), _(() => {
126
+ if (!t || a) return;
127
+ const e = {
128
+ frozenColumns: d,
129
+ scrollableColumns: f
130
+ }, n = () => {
131
+ const r = H(t, e);
132
+ if (!r)
133
+ return;
134
+ const h = J(
135
+ r.items,
136
+ t
137
+ );
138
+ ut(t, h);
139
+ }, o = P(t, "sortChanged", () => {
140
+ n();
141
+ }), c = P(t, "filterChanged", () => {
142
+ n();
143
+ }), s = Q(() => {
144
+ n();
145
+ });
146
+ return () => {
147
+ o(), c(), s();
148
+ };
149
+ }, [t, a, d, f]), _(() => {
150
+ if (!t || !a) return;
151
+ const e = [
53
152
  "columnVisible",
54
153
  "columnPinned",
55
154
  "columnMoved",
@@ -65,161 +164,161 @@ function ie({
65
164
  "filterChanged",
66
165
  "newColumnsLoaded"
67
166
  ];
68
- let e = null;
69
- const r = () => {
70
- i.current || (e && clearTimeout(e), e = setTimeout(() => {
71
- e = null, !(i.current || o.isDestroyed()) && k();
72
- }, Q));
73
- }, l = n.map(
74
- (t) => j(o, t, () => {
75
- r();
167
+ let n = null;
168
+ const o = () => {
169
+ i.current || (n && clearTimeout(n), n = setTimeout(() => {
170
+ n = null, !(i.current || t.isDestroyed()) && j();
171
+ }, rt));
172
+ }, c = e.map(
173
+ (r) => P(t, r, () => {
174
+ o();
76
175
  })
77
- ), u = ee(() => {
78
- r();
176
+ ), s = Q(() => {
177
+ o();
79
178
  });
80
179
  return () => {
81
- e && clearTimeout(e), l.forEach((t) => t()), u();
180
+ n && clearTimeout(n), c.forEach((r) => r()), s();
82
181
  };
83
- }, [o, f, k]), x(() => {
84
- if (S.current === 0) return;
85
- const n = requestAnimationFrame(() => {
86
- const e = E.current?.querySelector(
182
+ }, [t, a, j]), _(() => {
183
+ if (E.current === 0) return;
184
+ const e = requestAnimationFrame(() => {
185
+ const n = g.current?.querySelector(
87
186
  '[data-component="nested-list"] .overflow-y-auto'
88
187
  );
89
- e && (e.scrollTop = S.current, S.current = 0);
188
+ n && (n.scrollTop = E.current, E.current = 0);
90
189
  });
91
- return () => cancelAnimationFrame(n);
92
- }, [_]);
93
- const w = a(
94
- (n) => {
95
- const e = [], r = (l, u) => {
96
- l.forEach((t) => {
97
- if (t.id === "root-frozen") {
98
- t.children && r(t.children, "left");
190
+ return () => cancelAnimationFrame(e);
191
+ }, [q]);
192
+ const K = m(
193
+ (e) => {
194
+ const n = [], o = (c, s) => {
195
+ c.forEach((r) => {
196
+ if (r.id === "root-frozen") {
197
+ r.children && o(r.children, "left");
99
198
  return;
100
199
  }
101
- if (t.id === "root-scrollable") {
102
- t.children && r(t.children, null);
200
+ if (r.id === "root-scrollable") {
201
+ r.children && o(r.children, null);
103
202
  return;
104
203
  }
105
- if (t.category === "group" || t.children && t.children.length > 0)
106
- t.children && r(t.children, u);
204
+ if (r.category === "group" || r.children && r.children.length > 0)
205
+ r.children && o(r.children, s);
107
206
  else {
108
- let c;
109
- if (u === null)
110
- c = null;
207
+ let u;
208
+ if (s === null)
209
+ u = null;
111
210
  else {
112
- const d = t.data?.pinned;
113
- c = d === "left" || d === "right" ? d : u;
211
+ const y = r.data?.pinned;
212
+ u = y === "left" || y === "right" ? y : s;
114
213
  }
115
- e.push({
116
- colId: t.id,
117
- pinned: c,
118
- hide: !t.checked
214
+ n.push({
215
+ colId: r.id,
216
+ pinned: u,
217
+ hide: !r.checked
119
218
  });
120
219
  }
121
220
  });
122
221
  };
123
- return r(n, null), e;
222
+ return o(e, null), n;
124
223
  },
125
224
  []
126
- ), g = a(
127
- (n) => {
128
- if (!o) return;
225
+ ), F = m(
226
+ (e) => {
227
+ if (!t) return;
129
228
  i.current = !0;
130
- const e = w(n);
131
- if (e.length === 0) {
132
- v(() => {
229
+ const n = K(e);
230
+ if (n.length === 0) {
231
+ M(() => {
133
232
  i.current = !1;
134
233
  });
135
234
  return;
136
235
  }
137
- const r = o.getColumnState(), l = N(r, e), u = new Set(
138
- r.filter((s) => q(s.pinned)).map((s) => s.colId)
139
- ), t = l.filter(
140
- (s) => q(s.pinned) && !u.has(s.colId)
141
- ), p = new Set(t.map((s) => s.colId));
142
- o.applyColumnState({ state: l, applyOrder: !0 });
143
- const c = () => {
144
- i.current = !1, f();
236
+ const o = t.getColumnState(), c = V(o, n), s = new Set(
237
+ o.filter((l) => B(l.pinned)).map((l) => l.colId)
238
+ ), r = c.filter(
239
+ (l) => B(l.pinned) && !s.has(l.colId)
240
+ ), h = new Set(r.map((l) => l.colId));
241
+ t.applyColumnState({ state: c, applyOrder: !0 });
242
+ const u = () => {
243
+ i.current = !1, p();
145
244
  };
146
- if (p.size === 0) {
147
- v(c);
245
+ if (h.size === 0) {
246
+ M(u);
148
247
  return;
149
248
  }
150
- let b = !1, d = null, P = null;
151
- P = j(o, "columnPinned", () => {
152
- if (b || o.isDestroyed()) return;
153
- const s = o.getColumnState();
154
- if (t.filter((T) => {
155
- const m = s.find((F) => F.colId === T.colId);
156
- return m && !m.pinned;
249
+ let v = !1, y = null, O = null;
250
+ O = P(t, "columnPinned", () => {
251
+ if (v || t.isDestroyed()) return;
252
+ const l = t.getColumnState();
253
+ if (r.filter((G) => {
254
+ const C = l.find((w) => w.colId === G.colId);
255
+ return C && !C.pinned;
157
256
  }).length > 0) {
158
- b = !0, d && clearTimeout(d), P?.();
159
- const T = l.filter(
160
- (m) => m.pinned && !p.has(m.colId)
257
+ v = !0, y && clearTimeout(y), O?.();
258
+ const G = c.filter(
259
+ (C) => C.pinned && !h.has(C.colId)
161
260
  );
162
- if (T.length > 0) {
163
- const m = T[0], F = l.map(
164
- (M) => M.colId === m.colId ? { ...M, pinned: null } : M
261
+ if (G.length > 0) {
262
+ const C = G[0], w = c.map(
263
+ (D) => D.colId === C.colId ? { ...D, pinned: null } : D
165
264
  );
166
- o.applyColumnState({ state: F, applyOrder: !0 });
265
+ t.applyColumnState({ state: w, applyOrder: !0 });
167
266
  }
168
- v(c);
267
+ M(u);
169
268
  }
170
- }), d = setTimeout(() => {
171
- P?.(), b || c();
172
- }, J);
269
+ }), y = setTimeout(() => {
270
+ O?.(), v || u();
271
+ }, nt);
173
272
  },
174
- [o, w, f]
175
- ), X = a(
176
- (n) => {
177
- g(L(n));
273
+ [t, K, p]
274
+ ), L = m(
275
+ (e) => {
276
+ F(X(e));
178
277
  },
179
- [g]
180
- ), Y = a(
181
- (n, e) => {
182
- const r = L(n);
183
- e || g(r), R(r);
184
- const l = z(r);
185
- y.current = l.structural, G.current = l.indicators;
278
+ [F]
279
+ ), A = m(
280
+ (e, n) => {
281
+ const o = X(e);
282
+ n || F(o), k(o);
283
+ const c = Y(o);
284
+ I.current = c.structural, R.current = c.indicators;
186
285
  },
187
- [g]
188
- ), H = a(
189
- (n, e) => {
190
- if (R((u) => {
191
- const t = (p) => p.map((c) => c.id === n ? {
192
- ...c,
286
+ [F]
287
+ ), tt = m(
288
+ (e, n) => {
289
+ if (k((s) => {
290
+ const r = (h) => h.map((u) => u.id === e ? {
291
+ ...u,
193
292
  data: {
194
- ...c.data,
195
- pinned: e
293
+ ...u.data,
294
+ pinned: n
196
295
  }
197
- } : c.children ? {
198
- ...c,
199
- children: t(c.children)
200
- } : c);
201
- return t(u);
202
- }), !o) return;
296
+ } : u.children ? {
297
+ ...u,
298
+ children: r(u.children)
299
+ } : u);
300
+ return r(s);
301
+ }), !t) return;
203
302
  i.current = !0;
204
- const r = o.getColumnState(), l = N(r, [
205
- { colId: n, pinned: e }
303
+ const o = t.getColumnState(), c = V(o, [
304
+ { colId: e, pinned: n }
206
305
  ]);
207
- o.applyColumnState({ state: l, applyOrder: !0 }), v(() => {
208
- i.current = !1, Z(o, n) !== e && f();
306
+ t.applyColumnState({ state: c, applyOrder: !0 }), M(() => {
307
+ i.current = !1, ot(t, e) !== n && p();
209
308
  });
210
309
  },
211
- [o, f]
310
+ [t, p]
212
311
  );
213
312
  return {
214
- items: K,
215
- isReady: V,
216
- externalSyncKey: _,
217
- listWrapperRef: E,
218
- handleChange: Y,
219
- handleSubmit: X,
220
- handlePinChange: H
313
+ items: Z,
314
+ isReady: $,
315
+ externalSyncKey: q,
316
+ listWrapperRef: g,
317
+ handleChange: A,
318
+ handleSubmit: L,
319
+ handlePinChange: tt
221
320
  };
222
321
  }
223
322
  export {
224
- ie as useDataTableColumnListSync
323
+ Ct as useDataTableColumnListSync
225
324
  };
@@ -4,5 +4,6 @@ export interface ExpandableListItemAttributesProps {
4
4
  title?: string;
5
5
  maxVisibleTags?: number;
6
6
  formatOverflow?: ExpandableListItemAttributesSection["formatOverflow"];
7
+ externalCopyFunction?: ExpandableListItemAttributesSection["externalCopyFunction"];
7
8
  }
8
- export declare function ExpandableListItemAttributes({ tags, title, maxVisibleTags, formatOverflow, }: ExpandableListItemAttributesProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ExpandableListItemAttributes({ tags, title, maxVisibleTags, formatOverflow, externalCopyFunction, }: ExpandableListItemAttributesProps): import("react/jsx-runtime").JSX.Element;
@@ -1,64 +1,67 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { Badge as p } from "../../data-display/badge/badge.js";
3
- import { FilterPopoverContent as h } from "../../flows/filter-strip/filter-tag-list.js";
4
- import { Popover as u, PopoverTrigger as f } from "../../feedback/popover/popover.js";
5
- import { Tag as x } from "../../primitives/tag/tag.js";
6
- import { Tooltip as b, TooltipTrigger as g, TooltipContent as v } from "../../feedback/tooltip/tooltip.js";
2
+ import { Badge as s } from "../../data-display/badge/badge.js";
3
+ import { FilterPopoverContent as u } from "../../flows/filter-strip/filter-tag-list.js";
4
+ import { Popover as b, PopoverTrigger as f } from "../../feedback/popover/popover.js";
5
+ import { Tooltip as g, TooltipTrigger as v, TooltipContent as x } from "../../feedback/tooltip/tooltip.js";
6
+ import "react";
7
7
  function I({
8
- tags: n,
9
- title: i = "Attributes",
10
- maxVisibleTags: a = 4,
11
- formatOverflow: s
8
+ tags: o,
9
+ title: l = "Attributes",
10
+ maxVisibleTags: n = 4,
11
+ formatOverflow: c,
12
+ externalCopyFunction: m
12
13
  }) {
13
- const c = n.slice(0, a), t = n.slice(a), o = t.length, d = s?.(o) ?? (o > 0 ? `+${o}` : null);
14
+ const p = o.slice(0, n), t = o.slice(n), i = t.length, d = c?.(i) ?? (i > 0 ? `+${i}` : null);
14
15
  return /* @__PURE__ */ r(
15
16
  "div",
16
17
  {
17
18
  className: "px-4 py-4 pt-0 sm:px-5",
18
19
  "data-component": "expandable-list-item-attributes",
19
20
  children: [
20
- /* @__PURE__ */ e("p", { className: "text-xs font-semibold leading-5 text-content-heading", children: i }),
21
+ /* @__PURE__ */ e("p", { className: "text-xs font-semibold leading-5 text-content-heading", children: l }),
21
22
  /* @__PURE__ */ r("div", { className: "mt-2 flex flex-wrap gap-1.5", children: [
22
- c.map((l, m) => /* @__PURE__ */ e(
23
- p,
23
+ p.map((a, h) => /* @__PURE__ */ e(
24
+ s,
24
25
  {
25
26
  variant: "subtle",
26
27
  color: "neutral",
27
28
  size: "sm",
28
29
  shape: "circle",
29
30
  className: "max-w-full",
30
- children: l
31
+ children: a
31
32
  },
32
- `${m}-${l}`
33
+ `${h}-${a}`
33
34
  )),
34
- t.length > 0 ? /* @__PURE__ */ r(u, { children: [
35
- /* @__PURE__ */ r(b, { children: [
36
- /* @__PURE__ */ e(g, { asChild: !0, children: /* @__PURE__ */ e(f, { asChild: !0, children: /* @__PURE__ */ e(
37
- x,
35
+ t.length > 0 ? /* @__PURE__ */ r(b, { children: [
36
+ /* @__PURE__ */ r(g, { children: [
37
+ /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(f, { asChild: !0, children: /* @__PURE__ */ e(
38
+ s,
38
39
  {
39
- variant: "secondary",
40
- size: "md",
41
- shape: "rounded",
42
- className: "h-6 cursor-pointer whitespace-nowrap border-0 bg-accent px-2 font-['Manrope'] text-xs font-medium text-accent-foreground hover:bg-accent/80",
40
+ variant: "subtle",
41
+ color: "primary",
42
+ size: "sm",
43
+ shape: "circle",
44
+ className: "cursor-pointer hover:bg-accent/80",
43
45
  tabIndex: 0,
44
46
  role: "button",
45
- "aria-label": `${t.length} more attributes for ${i}`,
47
+ "aria-label": `${t.length} more attributes for ${l}`,
46
48
  children: d
47
49
  }
48
50
  ) }) }),
49
- /* @__PURE__ */ r(v, { variant: "tertiary", side: "top", children: [
51
+ /* @__PURE__ */ r(x, { variant: "tertiary", side: "top", children: [
50
52
  t.length,
51
53
  " more"
52
54
  ] })
53
55
  ] }),
54
56
  /* @__PURE__ */ e(
55
- h,
57
+ u,
56
58
  {
57
59
  remainingValues: t,
58
60
  onItemRemove: () => {
59
61
  },
60
62
  isRemovable: !1,
61
- isCopyable: !0
63
+ isCopyable: !0,
64
+ externalCopyFunction: m
62
65
  }
63
66
  )
64
67
  ] }) : null
@@ -21,7 +21,7 @@ export declare const ExpandableListItemTrigger: React.ForwardRefExoticComponent<
21
21
  rightActions?: React.ReactNode;
22
22
  headingLevel?: import('../../..').AccordionHeadingLevel;
23
23
  variant?: "default" | "plain";
24
- renderChevronTooltip?: import('../../..').InfoTooltipRender;
24
+ renderChevronTooltip?: import('../../feedback/tooltip').InfoTooltipRender;
25
25
  } & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
26
26
  export declare const ExpandableListItemTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
27
27
  export declare const ExpandableListItemDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;