@phillips/seldon 1.104.0 → 1.104.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.
@@ -1,43 +1,43 @@
1
1
  import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
2
  import { getCommonProps as d, noOp as p } from "../../utils/index.js";
3
- import e from "../../node_modules/classnames/index.js";
3
+ import o from "../../node_modules/classnames/index.js";
4
4
  import { Root as f, Portal as C, Overlay as h, Content as u, Title as v, Description as N, Close as w } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
5
5
  import y from "../../assets/close.svg.js";
6
6
  import _ from "../IconButton/IconButton.js";
7
7
  import { ButtonVariants as g } from "../Button/types.js";
8
- const B = ({ className: i, isOpen: l = !1, onClose: o = p, children: n, ...t }) => {
9
- const { className: a, ...m } = d(t, "Drawer");
8
+ const B = ({ className: i, isOpen: l = !1, onClose: a = p, children: m, ...t }) => {
9
+ const { className: e, ...n } = d(t, "Drawer");
10
10
  return /* @__PURE__ */ r(
11
11
  f,
12
12
  {
13
13
  open: l,
14
14
  onOpenChange: (c) => {
15
- c || o();
15
+ c || a();
16
16
  },
17
17
  children: /* @__PURE__ */ s(C, { children: [
18
18
  /* @__PURE__ */ r(
19
19
  h,
20
20
  {
21
- onClick: o,
22
- className: e(`${a}__overlay`),
21
+ onClick: a,
22
+ className: o(`${e}__overlay`),
23
23
  "data-testid": "drawer-overlay"
24
24
  }
25
25
  ),
26
- /* @__PURE__ */ s(u, { className: e(a, i), id: t.id, ...m, children: [
26
+ /* @__PURE__ */ s(u, { className: o(e, i), id: t.id, ...n, children: [
27
27
  /* @__PURE__ */ r(v, {}),
28
28
  /* @__PURE__ */ r(N, {}),
29
29
  /* @__PURE__ */ r(w, { asChild: !0, children: /* @__PURE__ */ r(
30
30
  _,
31
31
  {
32
- onClick: o,
33
- className: e(`${a}__close`),
32
+ onClick: a,
33
+ className: o(`${e}__close`),
34
34
  "aria-label": "Close",
35
35
  "data-testid": "drawer-close",
36
- variant: g.secondary,
36
+ variant: g.tertiary,
37
37
  children: /* @__PURE__ */ r(y, {})
38
38
  }
39
39
  ) }),
40
- n
40
+ m
41
41
  ] })
42
42
  ] })
43
43
  }
@@ -40,7 +40,7 @@ const w = ({
40
40
  onClick: a,
41
41
  "aria-label": "Close Modal",
42
42
  className: t(`${e}__close`),
43
- variant: N.secondary,
43
+ variant: N.tertiary,
44
44
  children: /* @__PURE__ */ s(v, {})
45
45
  }
46
46
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.104.0",
3
+ "version": "1.104.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"