@stokelp/ui 1.4.2 → 1.4.3

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/ui.js CHANGED
@@ -21376,7 +21376,7 @@ const xx = (...l) => l.filter(Boolean).join(" "), mb = (l, f) => {
21376
21376
  };
21377
21377
  }, { withProvider: YM, withContext: ty } = mb(e_), M2 = YM(Lt(Rw), "root"), A2 = ty(Lt(bw), "item"), z2 = ty(Lt(Tw), "itemContent"), F2 = ty(Lt(xw), "itemIndicator", {
21378
21378
  defaultProps: {
21379
- children: /* @__PURE__ */ we("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ we("path", { d: "M4.94 10.97L8 7.9167L11.06 10.97L12 10.03L8 6.03003L4 10.03L4.94 10.97Z", fill: "currentColor" }) })
21379
+ children: /* @__PURE__ */ we("svg", { width: "16", height: "17", viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ we("path", { d: "M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z", fill: "currentColor" }) })
21380
21380
  }
21381
21381
  }), P2 = ty(Lt(ww), "itemTrigger"), U2 = Lt("button", t_), [WM, kw] = po({
21382
21382
  name: "CheckboxContext",
@@ -24830,8 +24830,9 @@ const nF = ry(Lt(fR), "list"), Nz = {
24830
24830
  slots: pw.keys(),
24831
24831
  base: {
24832
24832
  root: {
24833
- borderRadius: "radius-8",
24834
- border: "1px solid {colors.primary.100}"
24833
+ display: "flex",
24834
+ flexDirection: "column",
24835
+ gap: "space-8"
24835
24836
  },
24836
24837
  itemTrigger: {
24837
24838
  alignItems: "center",
@@ -24866,13 +24867,12 @@ const nF = ry(Lt(fR), "list"), Nz = {
24866
24867
  transitionDuration: "normal",
24867
24868
  transitionTimingFunction: "default",
24868
24869
  '& [data-scope="accordion"][data-part="root"]': {
24869
- border: "none",
24870
- borderRadius: "radius-0",
24871
- p: "space-12",
24872
- pr: "space-24!"
24870
+ gap: "space-12!"
24873
24871
  },
24874
24872
  '& [data-scope="accordion"][data-part="item-trigger"]': {
24875
24873
  textStyle: "body.sm",
24874
+ border: "none!",
24875
+ borderRadius: "radius-0!",
24876
24876
  p: "space-0!"
24877
24877
  },
24878
24878
  '& [data-scope="accordion"][data-part="item-content"]': {
@@ -24880,6 +24880,10 @@ const nF = ry(Lt(fR), "list"), Nz = {
24880
24880
  mt: "space-16!"
24881
24881
  },
24882
24882
  '& [data-scope="accordion"][data-part="item"]': {
24883
+ border: "none!",
24884
+ borderRadius: "radius-0!",
24885
+ p: "space-12",
24886
+ pr: "space-24!",
24883
24887
  pb: "space-0!"
24884
24888
  },
24885
24889
  _open: {
@@ -24897,11 +24901,23 @@ const nF = ry(Lt(fR), "list"), Nz = {
24897
24901
  size: {
24898
24902
  md: {
24899
24903
  itemTrigger: {
24904
+ _open: {
24905
+ borderBottomWidth: 0,
24906
+ borderBottomLeftRadius: 0,
24907
+ borderBottomRightRadius: 0
24908
+ },
24909
+ borderRadius: "radius-8",
24910
+ border: "1px solid {colors.primary.100}",
24900
24911
  padding: "space-12"
24901
24912
  },
24902
24913
  item: {
24903
24914
  _open: {
24904
- pb: "space-12"
24915
+ pb: "space-12",
24916
+ borderRadius: "radius-8",
24917
+ border: "1px solid {colors.primary.100}",
24918
+ borderTopWidth: 0,
24919
+ borderTopLeftRadius: 0,
24920
+ borderTopRightRadius: 0
24905
24921
  }
24906
24922
  },
24907
24923
  itemContent: {