@segmentify/ui 0.0.44 → 0.0.45

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.
@@ -20534,10 +20534,11 @@ function $M({
20534
20534
  className: e,
20535
20535
  children: t,
20536
20536
  showCloseButton: n = !0,
20537
- ...r
20537
+ overlayClassName: r,
20538
+ ...o
20538
20539
  }) {
20539
20540
  return /* @__PURE__ */ ne(VX, { "data-slot": "dialog-portal", children: [
20540
- /* @__PURE__ */ v($X, {}),
20541
+ /* @__PURE__ */ v($X, { className: r }),
20541
20542
  /* @__PURE__ */ ne(
20542
20543
  lu,
20543
20544
  {
@@ -20546,7 +20547,7 @@ function $M({
20546
20547
  "ui:bg-background ui:data-[state=open]:animate-in ui:data-[state=closed]:animate-out ui:data-[state=closed]:fade-out-0 ui:data-[state=open]:fade-in-0 ui:data-[state=closed]:zoom-out-95 ui:data-[state=open]:zoom-in-95 ui:fixed ui:top-[50%] ui:left-[50%] ui:z-50 ui:grid ui:w-full ui:max-w-[calc(100%-2rem)] ui:translate-x-[-50%] ui:translate-y-[-50%] ui:gap-4 ui:rounded-lg ui:border ui:p-6 ui:shadow-lg ui:duration-200 ui:outline-none ui:sm:max-w-lg",
20547
20548
  e
20548
20549
  ),
20549
- ...r,
20550
+ ...o,
20550
20551
  children: [
20551
20552
  t,
20552
20553
  n && /* @__PURE__ */ ne(
@@ -27199,7 +27200,7 @@ const xJ = ({
27199
27200
  o
27200
27201
  ),
27201
27202
  children: [
27202
- /* @__PURE__ */ v(QL, { className: "ui:mr-2 ui:h-4 ui:w-4" }),
27203
+ /* @__PURE__ */ v(QL, { className: "ui:h-4 ui:w-4" }),
27203
27204
  f?.from ? f.to ? /* @__PURE__ */ ne(Mr, { children: [
27204
27205
  hl(f.from, "LLL dd, y", { locale: u }),
27205
27206
  " -",
@@ -34978,7 +34979,7 @@ const Lv = [
34978
34979
  { bg: "ui:bg-orange-600/10", text: "ui:text-orange-600" }
34979
34980
  ], zne = (e) => Array.from({ length: e }, () => Math.floor(Math.random() * Lv.length)), Ype = ({ items: e, header: t, className: n, onItemClick: r, dateLocale: o }) => {
34980
34981
  const [i] = ht(() => zne(e.length));
34981
- return /* @__PURE__ */ ne("div", { className: F("ui:w-full", n), children: [
34982
+ return /* @__PURE__ */ ne("div", { className: F("ui:w-full ui:bg-white ui:rounded-lg ui:border ui:shadow-sm ui:p-6", n), children: [
34982
34983
  t && /* @__PURE__ */ v("div", { className: "ui:mb-4 ui:text-sm ui:text-muted-foreground", children: t }),
34983
34984
  /* @__PURE__ */ v("div", { className: "ui:relative", children: e.map((s, a) => {
34984
34985
  const { iconConfig: l, title: u, description: c, timestamp: d, tags: f, topRightSlot: p, bottomRightSlot: h } = s, g = l.icon, b = i[a] ?? a % Lv.length, y = Lv[b], w = l.bg ?? y.bg, C = l.text ?? y.text, x = !!r;
@@ -34998,11 +34999,11 @@ const Lv = [
34998
34999
  ),
34999
35000
  children: [
35000
35001
  /* @__PURE__ */ ne("div", { className: "ui:space-y-1", children: [
35001
- /* @__PURE__ */ v("h3", { className: "ui:text-sm", children: u }),
35002
+ /* @__PURE__ */ v("h3", { className: "ui:text-base", children: u }),
35002
35003
  /* @__PURE__ */ v("p", { className: "ui:text-sm ui:text-muted-foreground", children: c }),
35003
35004
  f && /* @__PURE__ */ v("div", { className: "ui:flex ui:items-center ui:gap-1.5 ui:pt-1 ui:text-xs ui:text-muted-foreground", children: f.map((S) => /* @__PURE__ */ v(bP, { variant: "outline", className: "ui:shrink-0", children: S }, S)) }),
35004
35005
  /* @__PURE__ */ ne("div", { className: "ui:flex ui:items-center ui:gap-1.5 ui:pt-1 ui:text-xs ui:text-muted-foreground", children: [
35005
- /* @__PURE__ */ v(gF, { className: "ui:size-3.5" }),
35006
+ /* @__PURE__ */ v(gF, { className: "ui:size-3" }),
35006
35007
  /* @__PURE__ */ v("span", { children: hl(new Date(d), void 0, { locale: o }) })
35007
35008
  ] })
35008
35009
  ] }),
package/dist/ui.css CHANGED
@@ -429,6 +429,10 @@
429
429
  width: calc(var(--ui-spacing) * 2.5);
430
430
  height: calc(var(--ui-spacing) * 2.5);
431
431
  }
432
+ .ui\:size-3 {
433
+ width: calc(var(--ui-spacing) * 3);
434
+ height: calc(var(--ui-spacing) * 3);
435
+ }
432
436
  .ui\:size-3\.5 {
433
437
  width: calc(var(--ui-spacing) * 3.5);
434
438
  height: calc(var(--ui-spacing) * 3.5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentify/ui",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "description": "A collection of reusable React UI components built with Tailwind CSS and Radix UI",
5
5
  "repository": {
6
6
  "type": "git",