@datavac/ui-kit 1.8.0 → 1.9.0-change-size-padding.1

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
@@ -6842,7 +6842,7 @@ function Bu({ trigger: e, title: t, children: n, className: r }) {
6842
6842
  asChild: !0,
6843
6843
  children: e
6844
6844
  }), /* @__PURE__ */ m(zu.Portal, { children: [/* @__PURE__ */ p(zu.Overlay, { className: "fixed inset-0 bg-overlay backdrop-blur-sm z-40" }), /* @__PURE__ */ m(zu.Content, {
6845
- className: K("fixed right-0 top-0 bottom-0 z-50 flex flex-col bg-card w-[464px] pt-16 pb-10 px-8 overflow-y-auto overflow-x-hidden", r),
6845
+ className: K("fixed right-0 top-0 bottom-0 z-50 flex flex-col bg-card w-full max-w-[464px] pt-6 pb-4 px-4 md:pt-16 md:pb-10 md:px-8 overflow-y-auto overflow-x-hidden", r),
6846
6846
  children: [
6847
6847
  /* @__PURE__ */ p(zu.Title, {
6848
6848
  className: "font-semibold text-lg text-fg font-sans mb-5",
@@ -6852,19 +6852,22 @@ function Bu({ trigger: e, title: t, children: n, className: r }) {
6852
6852
  className: "font-sans text-base text-fg leading-5 flex-1",
6853
6853
  children: n
6854
6854
  }),
6855
- /* @__PURE__ */ p(zu.Close, {
6856
- "aria-label": "Закрыть",
6857
- className: "absolute top-4 right-4 w-10 h-10 flex items-center justify-center rounded-full bg-accent hover:bg-accent-hover transition-colors text-white",
6858
- children: /* @__PURE__ */ p("svg", {
6859
- width: "24",
6860
- height: "24",
6861
- viewBox: "0 0 24 24",
6862
- fill: "none",
6863
- stroke: "currentColor",
6864
- strokeWidth: "2",
6865
- strokeLinecap: "round",
6866
- strokeLinejoin: "round",
6867
- children: /* @__PURE__ */ p("path", { d: "M18 6 6 18M6 6l12 12" })
6855
+ /* @__PURE__ */ p("div", {
6856
+ className: "flex items-center justify-center",
6857
+ children: /* @__PURE__ */ p(zu.Close, {
6858
+ "aria-label": "Закрыть",
6859
+ className: "absolute bottom-4 md:top-4 md:right-4 w-10 h-10 flex items-center justify-center rounded-full bg-accent xl:hover:bg-accent-hover transition-colors text-white",
6860
+ children: /* @__PURE__ */ p("svg", {
6861
+ width: "24",
6862
+ height: "24",
6863
+ viewBox: "0 0 24 24",
6864
+ fill: "none",
6865
+ stroke: "currentColor",
6866
+ strokeWidth: "2",
6867
+ strokeLinecap: "round",
6868
+ strokeLinejoin: "round",
6869
+ children: /* @__PURE__ */ p("path", { d: "M18 6 6 18M6 6l12 12" })
6870
+ })
6868
6871
  })
6869
6872
  })
6870
6873
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datavac/ui-kit",
3
- "version": "1.8.0",
3
+ "version": "1.9.0-change-size-padding.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",