welcome-ui 10.7.2 → 10.7.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.
Files changed (2) hide show
  1. package/dist/StickyNote.js +21 -20
  2. package/package.json +1 -1
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import './StickyNote.css';
3
3
  import { jsx as t, jsxs as c } from "react/jsx-runtime";
4
- import { forwardRef as N } from "react";
5
- import { CloseButton as d } from "./CloseButton.js";
4
+ import { forwardRef as d } from "react";
5
+ import { CloseButton as b } from "./CloseButton.js";
6
6
  import { c as s } from "./index-B6iGEm-i.js";
7
- import { Button as b } from "./Button.js";
8
- import { Icon as f } from "./Icon.js";
9
- import { Text as h } from "./Text.js";
10
- const g = "_root_1wey5_2", k = "_content_1wey5_114", x = "_title_1wey5_42", B = "_action_1wey5_134", i = {
11
- root: g,
7
+ import { Button as f } from "./Button.js";
8
+ import { Icon as h } from "./Icon.js";
9
+ import { Text as g } from "./Text.js";
10
+ const k = "_root_1wey5_2", x = "_content_1wey5_114", B = "_title_1wey5_42", S = "_action_1wey5_134", i = {
11
+ root: k,
12
12
  "shape-rectangle": "_shape-rectangle_1wey5_27",
13
13
  "shape-square": "_shape-square_1wey5_31",
14
14
  "shape-full": "_shape-full_1wey5_35",
@@ -21,19 +21,19 @@ const g = "_root_1wey5_2", k = "_content_1wey5_114", x = "_title_1wey5_42", B =
21
21
  "variant-orange": "_variant-orange_1wey5_88",
22
22
  "variant-teal": "_variant-teal_1wey5_98",
23
23
  "close-button": "_close-button_1wey5_108",
24
- content: k,
25
- title: x,
26
- action: B
27
- }, S = s(i), l = ({ children: e, className: a, ...n }) => /* @__PURE__ */ t(b, { className: S("action", a), ...n, size: "sm", variant: "primary-neutral", children: e });
24
+ content: x,
25
+ title: B,
26
+ action: S
27
+ }, $ = s(i), l = ({ children: e, className: a, ...n }) => /* @__PURE__ */ t(f, { className: $("action", a), ...n, size: "sm", variant: "primary-neutral", children: e });
28
28
  l.displayName = "StickyNote.Button";
29
- const r = s(i), _ = ({ children: e, icon: a = "lightbulb-alt" }) => /* @__PURE__ */ c(h, { as: "div", className: r("title"), variant: "body-md-strong", children: [
30
- /* @__PURE__ */ t("div", { className: r("title-icon"), children: /* @__PURE__ */ t(f, { name: a }) }),
29
+ const r = s(i), _ = ({ children: e, icon: a = "lightbulb-alt" }) => /* @__PURE__ */ c(g, { as: "div", className: r("title"), variant: "body-md-strong", children: [
30
+ /* @__PURE__ */ t("div", { className: r("title-icon"), children: /* @__PURE__ */ t(h, { name: a }) }),
31
31
  /* @__PURE__ */ t("span", { children: e })
32
32
  ] });
33
33
  _.displayName = "StickyNote.Title";
34
- const o = s(i), m = N(
35
- ({ children: e, className: a, handleClose: n, isFullWidth: y, shape: p = "square", variant: u = "brand" }, v) => {
36
- const w = !!n;
34
+ const o = s(i), m = d(
35
+ ({ children: e, className: a, handleClose: n, isFullWidth: y, shape: p = "square", variant: u = "brand", ...v }, w) => {
36
+ const N = !!n;
37
37
  return /* @__PURE__ */ c(
38
38
  "div",
39
39
  {
@@ -44,9 +44,10 @@ const o = s(i), m = N(
44
44
  y && "shape-full",
45
45
  a
46
46
  ),
47
- ref: v,
47
+ ref: w,
48
+ ...v,
48
49
  children: [
49
- w ? /* @__PURE__ */ t(d, { className: o("close-button"), onClick: n, size: "sm" }) : null,
50
+ N ? /* @__PURE__ */ t(b, { className: o("close-button"), onClick: n, size: "sm" }) : null,
50
51
  /* @__PURE__ */ t("div", { className: o("content"), children: e })
51
52
  ]
52
53
  }
@@ -54,11 +55,11 @@ const o = s(i), m = N(
54
55
  }
55
56
  );
56
57
  m.displayName = "StickyNote";
57
- const O = Object.assign(m, {
58
+ const R = Object.assign(m, {
58
59
  Button: l,
59
60
  Title: _
60
61
  });
61
62
  export {
62
- O as StickyNote,
63
+ R as StickyNote,
63
64
  i as stickyNoteClasses
64
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "welcome-ui",
3
- "version": "10.7.2",
3
+ "version": "10.7.3",
4
4
  "description": "Customizable design system with react, typescript, tailwindcss and ariakit.",
5
5
  "files": [
6
6
  "dist"