@sudobility/components 5.0.75 → 5.0.78

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.
package/dist/index.js CHANGED
@@ -17674,67 +17674,6 @@ const qu = ({
17674
17674
  return /* @__PURE__ */ g("div", { className: "w-full flex-1 min-h-0 flex flex-col", children: [
17675
17675
  l && /* @__PURE__ */ a("div", { className: "z-10 flex-shrink-0 hidden md:block", children: l }),
17676
17676
  /* @__PURE__ */ g("div", { className: "flex-1 min-h-0 flex flex-col", children: [
17677
- /* @__PURE__ */ g(
17678
- "div",
17679
- {
17680
- className: `md:hidden ${u === "navigation" ? "block" : "hidden"} flex-1 overflow-y-auto`,
17681
- "aria-hidden": K ? !0 : void 0,
17682
- children: [
17683
- l && /* @__PURE__ */ a("div", { className: "flex-shrink-0", children: l }),
17684
- /* @__PURE__ */ g(
17685
- "div",
17686
- {
17687
- className: b ? `${A.background.surface} p-6` : "p-6",
17688
- children: [
17689
- t && /* @__PURE__ */ g("div", { className: v, children: [
17690
- /* @__PURE__ */ a("h2", { className: `${L.heading.h4()} mb-4`, children: t }),
17691
- e && /* @__PURE__ */ a("p", { className: `${L.body.sm()} mb-6 break-all`, children: e })
17692
- ] }),
17693
- /* @__PURE__ */ a("div", { className: m, children: n })
17694
- ]
17695
- }
17696
- )
17697
- ]
17698
- }
17699
- ),
17700
- /* @__PURE__ */ g(
17701
- "div",
17702
- {
17703
- className: `md:hidden ${u === "content" ? "flex flex-col flex-1 min-h-0" : "hidden"} ${v} py-8`,
17704
- children: [
17705
- u === "content" && d && /* @__PURE__ */ g(
17706
- "button",
17707
- {
17708
- onClick: d,
17709
- className: `mb-4 px-4 py-2 border ${A.border.default} rounded-md text-sm font-medium ${A.background.surface} hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors flex-shrink-0 ${L.body.sm()}`,
17710
- children: [
17711
- "← ",
17712
- $
17713
- ]
17714
- }
17715
- ),
17716
- /* @__PURE__ */ a(
17717
- "div",
17718
- {
17719
- ref: z,
17720
- className: `${A.background.surface} rounded-lg border ${A.border.default} p-8 flex-1 min-h-0 overflow-y-auto ${h}`,
17721
- style: V,
17722
- children: /* @__PURE__ */ g("div", { className: F, style: _, children: [
17723
- s && /* @__PURE__ */ a(
17724
- "h1",
17725
- {
17726
- className: `${L.heading.h1()} mb-6 ${y}`,
17727
- children: s
17728
- }
17729
- ),
17730
- o
17731
- ] })
17732
- }
17733
- ),
17734
- i && /* @__PURE__ */ a("div", { className: "flex-shrink-0", children: i })
17735
- ]
17736
- }
17737
- ),
17738
17677
  /* @__PURE__ */ g(
17739
17678
  "div",
17740
17679
  {
@@ -17795,6 +17734,66 @@ const qu = ({
17795
17734
  )
17796
17735
  ]
17797
17736
  }
17737
+ ),
17738
+ /* @__PURE__ */ g(
17739
+ "div",
17740
+ {
17741
+ className: `md:hidden ${u === "navigation" ? "block" : "hidden"} flex-1 overflow-y-auto`,
17742
+ "aria-hidden": K ? !0 : void 0,
17743
+ children: [
17744
+ l && /* @__PURE__ */ a("div", { className: "flex-shrink-0", children: l }),
17745
+ /* @__PURE__ */ g(
17746
+ "div",
17747
+ {
17748
+ className: b ? `${A.background.surface} p-6` : "p-6",
17749
+ children: [
17750
+ t && /* @__PURE__ */ g("div", { className: v, children: [
17751
+ /* @__PURE__ */ a("h2", { className: `${L.heading.h4()} mb-4`, children: t }),
17752
+ e && /* @__PURE__ */ a("p", { className: `${L.body.sm()} mb-6 break-all`, children: e })
17753
+ ] }),
17754
+ /* @__PURE__ */ a("div", { className: m, children: n })
17755
+ ]
17756
+ }
17757
+ )
17758
+ ]
17759
+ }
17760
+ ),
17761
+ /* @__PURE__ */ g(
17762
+ "div",
17763
+ {
17764
+ className: `md:hidden ${u === "content" ? "flex flex-col flex-1 min-h-0" : "hidden"} ${v} py-8`,
17765
+ children: [
17766
+ u === "content" && d && /* @__PURE__ */ g(
17767
+ "button",
17768
+ {
17769
+ onClick: d,
17770
+ className: `mb-4 px-4 py-2 border ${A.border.default} rounded-md text-sm font-medium ${A.background.surface} hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors flex-shrink-0 ${L.body.sm()}`,
17771
+ children: [
17772
+ "← ",
17773
+ $
17774
+ ]
17775
+ }
17776
+ ),
17777
+ /* @__PURE__ */ a(
17778
+ "div",
17779
+ {
17780
+ className: `${A.background.surface} rounded-lg border ${A.border.default} p-8 flex-1 min-h-0 overflow-y-auto ${h}`,
17781
+ style: V,
17782
+ children: /* @__PURE__ */ g("div", { className: F, style: _, children: [
17783
+ s && /* @__PURE__ */ a(
17784
+ "h1",
17785
+ {
17786
+ className: `${L.heading.h1()} mb-6 ${y}`,
17787
+ children: s
17788
+ }
17789
+ ),
17790
+ o
17791
+ ] })
17792
+ }
17793
+ ),
17794
+ i && /* @__PURE__ */ a("div", { className: "flex-shrink-0", children: i })
17795
+ ]
17796
+ }
17798
17797
  )
17799
17798
  ] }),
17800
17799
  i && /* @__PURE__ */ a("div", { className: "z-10 flex-shrink-0 hidden md:block", children: i })
@@ -1 +1 @@
1
- {"version":3,"file":"MasterDetailLayout.d.ts","sourceRoot":"","sources":["../../src/layout/MasterDetailLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAItE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,8CAA8C;IAC9C,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,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AA+E;IAC/E,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,oFAAoF;IACpF,UAAU,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACtC,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,8CAA8C;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8CAA8C;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oCAAoC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,kEAAkE;IAClE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,YAAY,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACpC,iBAAiB,EAAE,CAAC,eAAe,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;KAC1D,GAAG,IAAI,CAAC,CAAC;CACX;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiRhE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/components",
3
- "version": "5.0.75",
3
+ "version": "5.0.78",
4
4
  "description": "Reusable UI components and design system - Reorganized for better maintainability",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -52,7 +52,7 @@
52
52
  "@radix-ui/react-slot": ">=1.0.0",
53
53
  "@radix-ui/react-switch": ">=1.0.0",
54
54
  "@radix-ui/react-tabs": ">=1.0.0",
55
- "@sudobility/design": "^1.1.31",
55
+ "@sudobility/design": "^1.1.32",
56
56
  "@sudobility/types": "^1.9.62",
57
57
  "class-variance-authority": ">=0.7.0",
58
58
  "clsx": ">=2.0.0",
@@ -74,7 +74,7 @@
74
74
  "@radix-ui/react-slot": "^1.2.3",
75
75
  "@radix-ui/react-switch": "^1.2.6",
76
76
  "@radix-ui/react-tabs": "^1.1.13",
77
- "@sudobility/design": "^1.1.31",
77
+ "@sudobility/design": "^1.1.32",
78
78
  "@sudobility/types": "^1.9.62",
79
79
  "@testing-library/dom": "^10.4.1",
80
80
  "@testing-library/jest-dom": "^6.9.1",