@crystallize/design-system 1.23.5 → 1.23.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @crystallize/design-system
2
2
 
3
+ ## 1.23.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 162a582: This PR is fixng dropdown story, that was not showing the ContentWithIcon in storybook code preview
8
+
3
9
  ## 1.23.5
4
10
 
5
11
  ### Patch Changes
@@ -2064,7 +2064,8 @@ var Folder = forwardRef41((delegated, ref) => {
2064
2064
  children: [
2065
2065
  /* @__PURE__ */ jsx47("path", {
2066
2066
  d: "M2.604 4.108v13.146a.6.6 0 00.6.6h11.968c.59 0 1.166-.255 1.429-.784 1.374-2.77 1.642-8.38 1.166-10.692-.114-.555-.706-.927-1.272-.927l-7.091.067-2-1.41h-4.8z",
2067
- fill: "#BFF6F8"
2067
+ fill: "#BFF6F8",
2068
+ className: "c-icon-fill"
2068
2069
  }),
2069
2070
  /* @__PURE__ */ jsx47("path", {
2070
2071
  fillRule: "evenodd",
@@ -2074,7 +2075,8 @@ var Folder = forwardRef41((delegated, ref) => {
2074
2075
  }),
2075
2076
  /* @__PURE__ */ jsx47("path", {
2076
2077
  d: "M4.659 10.021L3.502 17.17a.6.6 0 00.594.685h12.076c.59 0 1.164-.254 1.46-.765 1.419-2.445 2.065-6 1.765-7.956-.086-.56-.617-.829-1.184-.829H6.64a2 2 0 00-1.98 1.717z",
2077
- fill: "#BFF6F8"
2078
+ fill: "#BFF6F8",
2079
+ className: "c-icon-fill"
2078
2080
  }),
2079
2081
  /* @__PURE__ */ jsx47("path", {
2080
2082
  fillRule: "evenodd",
package/dist/index.js CHANGED
@@ -2430,7 +2430,8 @@ var init_folder = __esm({
2430
2430
  children: [
2431
2431
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", {
2432
2432
  d: "M2.604 4.108v13.146a.6.6 0 00.6.6h11.968c.59 0 1.166-.255 1.429-.784 1.374-2.77 1.642-8.38 1.166-10.692-.114-.555-.706-.927-1.272-.927l-7.091.067-2-1.41h-4.8z",
2433
- fill: "#BFF6F8"
2433
+ fill: "#BFF6F8",
2434
+ className: "c-icon-fill"
2434
2435
  }),
2435
2436
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", {
2436
2437
  fillRule: "evenodd",
@@ -2440,7 +2441,8 @@ var init_folder = __esm({
2440
2441
  }),
2441
2442
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", {
2442
2443
  d: "M4.659 10.021L3.502 17.17a.6.6 0 00.594.685h12.076c.59 0 1.164-.254 1.46-.765 1.419-2.445 2.065-6 1.765-7.956-.086-.56-.617-.829-1.184-.829H6.64a2 2 0 00-1.98 1.717z",
2443
- fill: "#BFF6F8"
2444
+ fill: "#BFF6F8",
2445
+ className: "c-icon-fill"
2444
2446
  }),
2445
2447
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", {
2446
2448
  fillRule: "evenodd",
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  showError,
18
18
  showInfo,
19
19
  showWarning
20
- } from "./chunk-HTAQYJ4Y.mjs";
20
+ } from "./chunk-FWRBC56V.mjs";
21
21
  import "./chunk-NIH5ZMPE.mjs";
22
22
 
23
23
  // src/card/card.tsx
@@ -377,7 +377,7 @@ function Tag({
377
377
  // src/rich-text-editor/index.tsx
378
378
  import { lazy, Suspense } from "react";
379
379
  import { jsx as jsx12 } from "react/jsx-runtime";
380
- var LazyRichTextEditor = lazy(() => import("./rich-text-editor-EN3ZWHSO.mjs"));
380
+ var LazyRichTextEditor = lazy(() => import("./rich-text-editor-6PGBZV6U.mjs"));
381
381
  var RichTextEditor = (props) => {
382
382
  return /* @__PURE__ */ jsx12(Suspense, {
383
383
  fallback: null,
@@ -6,7 +6,7 @@ import {
6
6
  Icon,
7
7
  IconButton,
8
8
  InputWithLabel
9
- } from "./chunk-HTAQYJ4Y.mjs";
9
+ } from "./chunk-FWRBC56V.mjs";
10
10
  import "./chunk-NIH5ZMPE.mjs";
11
11
 
12
12
  // src/rich-text-editor/rich-text-editor.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystallize/design-system",
3
- "version": "1.23.5",
3
+ "version": "1.23.6",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -9,8 +9,8 @@ export default {
9
9
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
10
10
  } as Meta<any>;
11
11
 
12
- function ContentWithIcon() {
13
- return (
12
+ export const WithOpenState = () => {
13
+ const ContentWithIcon = () => (
14
14
  <>
15
15
  <DropdownMenu.Label>View</DropdownMenu.Label>
16
16
  <DropdownMenu.Item>
@@ -27,9 +27,7 @@ function ContentWithIcon() {
27
27
  </DropdownMenu.Item>
28
28
  </>
29
29
  );
30
- }
31
30
 
32
- export const WithOpenState = () => {
33
31
  return (
34
32
  <DropdownMenu.Root content={<ContentWithIcon />}>
35
33
  <Button prepend={<Icon.NailPolish width={20} height={20} />}>Pretty</Button>
@@ -10,6 +10,7 @@ export const Folder = forwardRef<FolderRef, FolderProps>((delegated, ref) => {
10
10
  <path
11
11
  d="M2.604 4.108v13.146a.6.6 0 00.6.6h11.968c.59 0 1.166-.255 1.429-.784 1.374-2.77 1.642-8.38 1.166-10.692-.114-.555-.706-.927-1.272-.927l-7.091.067-2-1.41h-4.8z"
12
12
  fill="#BFF6F8"
13
+ className="c-icon-fill"
13
14
  />
14
15
  <path
15
16
  fillRule="evenodd"
@@ -20,6 +21,7 @@ export const Folder = forwardRef<FolderRef, FolderProps>((delegated, ref) => {
20
21
  <path
21
22
  d="M4.659 10.021L3.502 17.17a.6.6 0 00.594.685h12.076c.59 0 1.164-.254 1.46-.765 1.419-2.445 2.065-6 1.765-7.956-.086-.56-.617-.829-1.184-.829H6.64a2 2 0 00-1.98 1.717z"
22
23
  fill="#BFF6F8"
24
+ className="c-icon-fill"
23
25
  />
24
26
  <path
25
27
  fillRule="evenodd"