@goliapkg/gds 0.9.6 → 0.9.7

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.
@@ -1,2 +1,2 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as A, c as j, ct as M, d as N, dt as P, et as F, f as I, ft as L, g as R, h as z, ht as B, i as V, it as H, j as U, k as W, l as G, lt as K, m as q, mt as J, n as Y, nt as X, o as Z, ot as Q, p as $, pt as ee, q as te, r as ne, rt as re, s as ie, st as ae, t as oe, tt as se, u as ce, ut as le, v as ue, w as de, x as fe, y as pe, z as me } from "../l5-organisms-8KB_8a-H.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as D, a as O, at as k, b as A, c as j, ct as M, d as N, dt as P, et as F, f as I, ft as L, g as R, h as z, ht as B, i as V, it as H, j as U, k as W, l as G, lt as K, m as q, mt as J, n as Y, nt as X, o as Z, ot as Q, p as $, pt as ee, q as te, r as ne, rt as re, s as ie, st as ae, t as oe, tt as se, u as ce, ut as le, v as ue, w as de, x as fe, y as pe, z as me } from "../l5-organisms-DTAGRTeh.js";
2
2
  export { B as ActivityFeed, J as AnimatePresence, ee as AnimatedList, L as AudioPlayer, P as AuditLog, le as AvatarList, K as Calendar, M as Carousel, ae as Changelog, Q as CommandPalette, k as CommentThread, H as Confetti, re as ContactCard, X as ContainerList, se as CookieBanner, F as CronSchedule, e as DataGrid, _ as DataList, E as DataTable, w as DatePicker, T as DeployLog, u as DescriptionList, te as DiffViewer, d as EmailListItem, s as Embed, C as EmployeeCard, x as ErrorBoundary, c as FileBrowser, S as FileCard, n as FormBuilder, me as HeatmapTable, v as ImagePreview, f as InfiniteScroll, l as JsonViewer, o as Kanban, m as MarkdownEditor, g as MarkdownPreview, p as MasonryGrid, U as NotificationCenter, t as NotificationToast, W as Parallax, h as PayslipCard, i as PermissionMatrix, a as ProgressTimeline, b as PropertyEditor, de as QuickLinks, r as RecentActivity, y as ResponsiveStack, A as ResponsiveTable, pe as RichSelect, ue as SearchResults, D as ServiceCard, R as SignaturePad, z as SortableList, q as SortableTable, $ as Spotlight, I as StackedList, N as StepForm, ce as SystemHealth, fe as Table, G as TagCloud, j as TaskBoard, ie as Timeline, Z as Tour, O as TransactionList, V as Tree, ne as VideoPlayer, Y as VirtualList, oe as WeatherWidget };
@@ -10,14 +10,14 @@ export type NotificationCenterProps = React.HTMLAttributes<HTMLDivElement> & {
10
10
  glass?: boolean;
11
11
  notifications: NotificationItem[];
12
12
  onClear?: () => void;
13
- onDismiss?: (id: string) => void;
13
+ onClose?: (id: string) => void;
14
14
  };
15
15
  export declare const NotificationCenter: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
16
16
  emptyMessage?: string;
17
17
  glass?: boolean;
18
18
  notifications: NotificationItem[];
19
19
  onClear?: () => void;
20
- onDismiss?: (id: string) => void;
20
+ onClose?: (id: string) => void;
21
21
  } & import("react").RefAttributes<HTMLDivElement>>;
22
22
  export type { NotificationItem };
23
23
  //# sourceMappingURL=notification-center.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notification-center.d.ts","sourceRoot":"","sources":["../../src/l5-organisms/notification-center.tsx"],"names":[],"mappings":"AAQA,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;CACpD,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,aAAa,EAAE,gBAAgB,EAAE,CAAA;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,kBAAkB;mBAPd,MAAM;YACb,OAAO;mBACA,gBAAgB,EAAE;cACvB,MAAM,IAAI;gBACR,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI;kDAgEjC,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"notification-center.d.ts","sourceRoot":"","sources":["../../src/l5-organisms/notification-center.tsx"],"names":[],"mappings":"AAQA,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;CACpD,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,aAAa,EAAE,gBAAgB,EAAE,CAAA;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,kBAAkB;mBAPd,MAAM;YACb,OAAO;mBACA,gBAAgB,EAAE;cACvB,MAAM,IAAI;cACV,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI;kDAgE/B,CAAA;AAED,YAAY,EAAE,gBAAgB,EAAE,CAAA"}
@@ -7,7 +7,7 @@ type ToastEntry = {
7
7
  type NotificationToastPosition = 'bottom-right' | 'top-right';
8
8
  type NotificationToastProps = {
9
9
  className?: string;
10
- onDismiss: (id: string) => void;
10
+ onClose: (id: string) => void;
11
11
  position?: NotificationToastPosition;
12
12
  toasts: ToastEntry[];
13
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"notification-toast.d.ts","sourceRoot":"","sources":["../../src/l5-organisms/notification-toast.tsx"],"names":[],"mappings":"AAOA,KAAK,UAAU,GAAG;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;CACpD,CAAA;AAED,KAAK,yBAAyB,GAAG,cAAc,GAAG,WAAW,CAAA;AAE7D,KAAK,sBAAsB,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAA;AAYD,eAAO,MAAM,iBAAiB,mHAuB7B,CAAA;AAED,YAAY,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"notification-toast.d.ts","sourceRoot":"","sources":["../../src/l5-organisms/notification-toast.tsx"],"names":[],"mappings":"AAOA,KAAK,UAAU,GAAG;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAA;CACpD,CAAA;AAED,KAAK,yBAAyB,GAAG,cAAc,GAAG,WAAW,CAAA;AAE7D,KAAK,sBAAsB,GAAG;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7B,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB,CAAA;AAYD,eAAO,MAAM,iBAAiB,mHAuB7B,CAAA;AAED,YAAY,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,UAAU,EAAE,CAAA"}
@@ -491,7 +491,7 @@ var R = C(function({ value: e, onChange: n, min: r, max: a, className: o }, s) {
491
491
  className: t("mt-0.5 shrink-0 rounded-full px-1.5 py-px text-[9px] font-bold uppercase leading-tight", me[e.type]),
492
492
  children: e.type
493
493
  }), /* @__PURE__ */ j("span", { children: e.text })]
494
- }, n))
494
+ }, `${e.type}-${n}`))
495
495
  })]
496
496
  }, e.version))
497
497
  });
@@ -955,7 +955,7 @@ var je = C(function({ expression: e, className: n, ...r }, i) {
955
955
  className: t("text-fg", l, V[e.align ?? "left"]),
956
956
  children: n[e.key]
957
957
  }, e.key))
958
- }, r))] })]
958
+ }, `${String(n[e[0]?.key ?? ""] ?? "")}-${r}`))] })]
959
959
  })
960
960
  });
961
961
  });
@@ -1042,7 +1042,7 @@ function Le({ columns: n, data: r, className: i, onRowClick: a, sortKey: o, sort
1042
1042
  className: "gds-pad-x gds-pad-y text-fg",
1043
1043
  children: t.render === void 0 ? String(e[t.key] ?? "") : t.render(e)
1044
1044
  }, t.key))
1045
- }, r))
1045
+ }, `${String(e[n[0]?.key ?? ""] ?? "")}-${r}`))
1046
1046
  ] })]
1047
1047
  })
1048
1048
  });
@@ -1157,7 +1157,7 @@ var Be = C(function({ value: e, onChange: r, placeholder: a = "Select date", min
1157
1157
  children: e.timestamp
1158
1158
  })
1159
1159
  ]
1160
- }, n)) })]
1160
+ }, `${e.project}-${e.timestamp}-${n}`)) })]
1161
1161
  })
1162
1162
  });
1163
1163
  });
@@ -2091,7 +2091,7 @@ var q = C(function({ content: e, glass: n, className: r }, i) {
2091
2091
  children: e
2092
2092
  }))
2093
2093
  });
2094
- }), wt = C(function({ className: e, emptyMessage: r = "No notifications", glass: i, notifications: a, onClear: o, onDismiss: s, ...c }, l) {
2094
+ }), wt = C(function({ className: e, emptyMessage: r = "No notifications", glass: i, notifications: a, onClear: o, onClose: s, ...c }, l) {
2095
2095
  let u = a.length > 0;
2096
2096
  return /* @__PURE__ */ M("div", {
2097
2097
  ref: l,
@@ -2131,7 +2131,7 @@ var q = C(function({ content: e, glass: n, className: r }, i) {
2131
2131
  }), Tt = {
2132
2132
  "top-right": "top-4 right-4",
2133
2133
  "bottom-right": "bottom-4 right-4"
2134
- }, Et = (e) => e === "info" ? "default" : e ?? "default", Dt = C(function({ toasts: e, onDismiss: n, position: r = "top-right", className: i }, a) {
2134
+ }, Et = (e) => e === "info" ? "default" : e ?? "default", Dt = C(function({ toasts: e, onClose: n, position: r = "top-right", className: i }, a) {
2135
2135
  return T(() => {
2136
2136
  let t = e.map((e) => window.setTimeout(() => n(e.id), 5e3));
2137
2137
  return () => t.forEach((e) => window.clearTimeout(e));
@@ -2286,7 +2286,7 @@ var q = C(function({ content: e, glass: n, className: r }, i) {
2286
2286
  children: e.date
2287
2287
  })
2288
2288
  ]
2289
- }, n))
2289
+ }, `${e.label}-${n}`))
2290
2290
  ]
2291
2291
  })
2292
2292
  });
@@ -2878,7 +2878,7 @@ var en = C(function({ className: e, disabled: n, itemClassName: r, items: i, onR
2878
2878
  className: "px-3 py-1.5 text-fg",
2879
2879
  children: String(t[e.key] ?? "")
2880
2880
  }, e.key))
2881
- }, n)) })]
2881
+ }, `${String(t[e[0]?.key ?? ""] ?? "")}-${n}`)) })]
2882
2882
  })
2883
2883
  });
2884
2884
  });
@@ -3039,7 +3039,7 @@ var sn = C(function({ steps: e, onComplete: n, className: r }, a) {
3039
3039
  children: e.label
3040
3040
  })]
3041
3041
  })]
3042
- }, n))
3042
+ }, `${e.label}-${n}`))
3043
3043
  }),
3044
3044
  /* @__PURE__ */ j("div", {
3045
3045
  className: "min-h-[120px]",
@@ -3795,4 +3795,4 @@ var En = C(Tn), Dn = C(function({ className: e, condition: n, icon: r, location:
3795
3795
  //#endregion
3796
3796
  export { Me as $, Dt as A, ot as B, Pt as C, At as D, jt as E, yt as F, Xe as G, rt as H, ht as I, Ue as J, Ye as K, lt as L, Ct as M, St as N, kt as O, q as P, Ne as Q, ct as R, Rt as S, Mt as T, $e as U, it as V, Qe as W, Be as X, He as Y, Re as Z, qt as _, hn as a, _e as at, Vt as b, Z as c, pe as ct, sn as d, ie as dt, je as et, on as f, re as ft, Qt as g, en as h, N as ht, _n as i, Se as it, wt as j, Ot as k, un as l, R as lt, tn as m, ee as mt, En as n, Te as nt, pn as o, ge as ot, an as p, ne as pt, Je as q, wn as r, Ce as rt, fn as s, z as st, Dn as t, Oe as tt, ln as u, ae as ut, Wt as v, Nt as w, J as x, Ut as y, st as z };
3797
3797
 
3798
- //# sourceMappingURL=l5-organisms-8KB_8a-H.js.map
3798
+ //# sourceMappingURL=l5-organisms-DTAGRTeh.js.map