@crystallize/design-system 1.24.45 → 1.24.46

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.24.46
4
+
5
+ ### Patch Changes
6
+
7
+ - 377acbb: Small assets fixes and image theater mode
8
+
3
9
  ## 1.24.45
4
10
 
5
11
  ### Patch Changes
@@ -2367,7 +2367,7 @@ var EyeClosed = forwardRef47((delegated, ref) => {
2367
2367
  viewBox: "0 0 17 17",
2368
2368
  ...delegated,
2369
2369
  children: /* @__PURE__ */ jsx52("path", {
2370
- fill: "#528693",
2370
+ fill: stroke,
2371
2371
  d: "M12.772 7.303c.515-.48.77-.882.795-.924a.294.294 0 1 0-.502-.308c-.014.024-1.492 2.367-4.89 2.367-3.385 0-4.832-2.27-4.892-2.367a.294.294 0 0 0-.501.308c.025.042.28.445.794.924l-.966.975a.21.21 0 0 0 .298.296l.987-.995c.2.163.43.327.689.485l-.698 1.167a.21.21 0 1 0 .36.216L4.95 8.27c.22.115.456.222.711.317L5.25 9.894a.21.21 0 0 0 .4.127l.41-1.298c.242.074.5.137.772.186l-.202 1.364a.21.21 0 0 0 .416.062l.201-1.364c.23.028.469.045.717.051v1.372a.21.21 0 0 0 .42 0V9.022a7.63 7.63 0 0 0 .733-.053l.277 1.377a.21.21 0 1 0 .412-.084l-.273-1.356c.253-.047.494-.105.722-.173l.445 1.293a.21.21 0 1 0 .397-.137L10.654 8.6c.268-.099.516-.21.745-.33l.703 1.177a.21.21 0 1 0 .36-.216l-.697-1.167c.259-.158.488-.322.689-.485l.986.995a.21.21 0 0 0 .298.002.21.21 0 0 0 0-.298l-.966-.975Z"
2372
2372
  })
2373
2373
  });
@@ -2390,27 +2390,27 @@ var EyeOpen = forwardRef48((delegated, ref) => {
2390
2390
  clipPath: "url(#eye-open)",
2391
2391
  children: [
2392
2392
  /* @__PURE__ */ jsx53("path", {
2393
- fill: "#BFF6F8",
2393
+ fill,
2394
2394
  d: "M8.15 4.132c2.607-.007 5.953 2.523 7.313 3.649a.674.674 0 0 1-.005 1.052c-1.366 1.108-4.714 3.59-7.308 3.583-2.577-.007-5.907-2.478-7.268-3.583a.675.675 0 0 1-.005-1.052C2.232 6.658 5.56 4.139 8.15 4.13Z"
2395
2395
  }),
2396
2396
  /* @__PURE__ */ jsx53("path", {
2397
- fill: "#528693",
2397
+ fill: stroke,
2398
2398
  fillRule: "evenodd",
2399
- d: "M12.052 5.914c-1.317-.764-2.72-1.343-3.901-1.34-1.174.003-2.568.583-3.878 1.346-1.296.754-2.446 1.647-3.114 2.2-.12.1-.12.271.002.37.67.545 1.822 1.422 3.118 2.163 1.31.748 2.703 1.318 3.872 1.321 1.177.003 2.578-.566 3.895-1.316 1.303-.74 2.46-1.622 3.133-2.168a.233.233 0 0 0 .002-.369c-.67-.555-1.826-1.452-3.129-2.207Zm3.41 1.867c-1.359-1.126-4.705-3.656-7.312-3.65-2.59.008-5.918 2.527-7.273 3.65a.675.675 0 0 0 .005 1.052c1.36 1.105 4.691 3.576 7.268 3.583 2.594.007 5.942-2.475 7.308-3.583a.674.674 0 0 0 .005-1.052Z",
2400
- clipRule: "evenodd"
2399
+ clipRule: "evenodd",
2400
+ d: "M12.052 5.914c-1.317-.764-2.72-1.343-3.901-1.34-1.174.003-2.568.583-3.878 1.346-1.296.754-2.446 1.647-3.114 2.2-.12.1-.12.271.002.37.67.545 1.822 1.422 3.118 2.163 1.31.748 2.703 1.318 3.872 1.321 1.177.003 2.578-.566 3.895-1.316 1.303-.74 2.46-1.622 3.133-2.168a.233.233 0 0 0 .002-.369c-.67-.555-1.826-1.452-3.129-2.207Zm3.41 1.867c-1.359-1.126-4.705-3.656-7.312-3.65-2.59.008-5.918 2.527-7.273 3.65a.675.675 0 0 0 .005 1.052c1.36 1.105 4.691 3.576 7.268 3.583 2.594.007 5.942-2.475 7.308-3.583a.674.674 0 0 0 .005-1.052Z"
2401
2401
  }),
2402
2402
  /* @__PURE__ */ jsx53("path", {
2403
2403
  fill: "#fff",
2404
2404
  d: "M11.678 8.273a3.508 3.508 0 1 1-7.016 0 3.508 3.508 0 0 1 7.016 0Z"
2405
2405
  }),
2406
2406
  /* @__PURE__ */ jsx53("path", {
2407
- fill: "#528693",
2407
+ fill: stroke,
2408
2408
  fillRule: "evenodd",
2409
- d: "M12.12 8.273a3.95 3.95 0 1 1-7.9 0 3.95 3.95 0 0 1 7.9 0Zm-3.95 3.508a3.508 3.508 0 1 0 0-7.016 3.508 3.508 0 0 0 0 7.016Z",
2410
- clipRule: "evenodd"
2409
+ clipRule: "evenodd",
2410
+ d: "M12.12 8.273a3.95 3.95 0 1 1-7.9 0 3.95 3.95 0 0 1 7.9 0Zm-3.95 3.508a3.508 3.508 0 1 0 0-7.016 3.508 3.508 0 0 0 0 7.016Z"
2411
2411
  }),
2412
2412
  /* @__PURE__ */ jsx53("path", {
2413
- fill: "#528693",
2413
+ fill: stroke,
2414
2414
  d: "M8.168 6.445a1.829 1.829 0 1 0 0 3.657 1.829 1.829 0 0 0 0-3.657Z"
2415
2415
  })
2416
2416
  ]
package/dist/index.js CHANGED
@@ -2767,6 +2767,7 @@ var init_eye_closed = __esm({
2767
2767
  "src/iconography/eye-closed.tsx"() {
2768
2768
  "use strict";
2769
2769
  import_react50 = require("react");
2770
+ init_variables();
2770
2771
  import_jsx_runtime55 = require("react/jsx-runtime");
2771
2772
  EyeClosed = (0, import_react50.forwardRef)((delegated, ref) => {
2772
2773
  return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("svg", {
@@ -2777,7 +2778,7 @@ var init_eye_closed = __esm({
2777
2778
  viewBox: "0 0 17 17",
2778
2779
  ...delegated,
2779
2780
  children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("path", {
2780
- fill: "#528693",
2781
+ fill: stroke,
2781
2782
  d: "M12.772 7.303c.515-.48.77-.882.795-.924a.294.294 0 1 0-.502-.308c-.014.024-1.492 2.367-4.89 2.367-3.385 0-4.832-2.27-4.892-2.367a.294.294 0 0 0-.501.308c.025.042.28.445.794.924l-.966.975a.21.21 0 0 0 .298.296l.987-.995c.2.163.43.327.689.485l-.698 1.167a.21.21 0 1 0 .36.216L4.95 8.27c.22.115.456.222.711.317L5.25 9.894a.21.21 0 0 0 .4.127l.41-1.298c.242.074.5.137.772.186l-.202 1.364a.21.21 0 0 0 .416.062l.201-1.364c.23.028.469.045.717.051v1.372a.21.21 0 0 0 .42 0V9.022a7.63 7.63 0 0 0 .733-.053l.277 1.377a.21.21 0 1 0 .412-.084l-.273-1.356c.253-.047.494-.105.722-.173l.445 1.293a.21.21 0 1 0 .397-.137L10.654 8.6c.268-.099.516-.21.745-.33l.703 1.177a.21.21 0 1 0 .36-.216l-.697-1.167c.259-.158.488-.322.689-.485l.986.995a.21.21 0 0 0 .298.002.21.21 0 0 0 0-.298l-.966-.975Z"
2782
2783
  })
2783
2784
  });
@@ -2792,6 +2793,7 @@ var init_eye_open = __esm({
2792
2793
  "src/iconography/eye-open.tsx"() {
2793
2794
  "use strict";
2794
2795
  import_react51 = require("react");
2796
+ init_variables();
2795
2797
  import_jsx_runtime56 = require("react/jsx-runtime");
2796
2798
  EyeOpen = (0, import_react51.forwardRef)((delegated, ref) => {
2797
2799
  return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("svg", {
@@ -2806,27 +2808,27 @@ var init_eye_open = __esm({
2806
2808
  clipPath: "url(#eye-open)",
2807
2809
  children: [
2808
2810
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", {
2809
- fill: "#BFF6F8",
2811
+ fill,
2810
2812
  d: "M8.15 4.132c2.607-.007 5.953 2.523 7.313 3.649a.674.674 0 0 1-.005 1.052c-1.366 1.108-4.714 3.59-7.308 3.583-2.577-.007-5.907-2.478-7.268-3.583a.675.675 0 0 1-.005-1.052C2.232 6.658 5.56 4.139 8.15 4.13Z"
2811
2813
  }),
2812
2814
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", {
2813
- fill: "#528693",
2815
+ fill: stroke,
2814
2816
  fillRule: "evenodd",
2815
- d: "M12.052 5.914c-1.317-.764-2.72-1.343-3.901-1.34-1.174.003-2.568.583-3.878 1.346-1.296.754-2.446 1.647-3.114 2.2-.12.1-.12.271.002.37.67.545 1.822 1.422 3.118 2.163 1.31.748 2.703 1.318 3.872 1.321 1.177.003 2.578-.566 3.895-1.316 1.303-.74 2.46-1.622 3.133-2.168a.233.233 0 0 0 .002-.369c-.67-.555-1.826-1.452-3.129-2.207Zm3.41 1.867c-1.359-1.126-4.705-3.656-7.312-3.65-2.59.008-5.918 2.527-7.273 3.65a.675.675 0 0 0 .005 1.052c1.36 1.105 4.691 3.576 7.268 3.583 2.594.007 5.942-2.475 7.308-3.583a.674.674 0 0 0 .005-1.052Z",
2816
- clipRule: "evenodd"
2817
+ clipRule: "evenodd",
2818
+ d: "M12.052 5.914c-1.317-.764-2.72-1.343-3.901-1.34-1.174.003-2.568.583-3.878 1.346-1.296.754-2.446 1.647-3.114 2.2-.12.1-.12.271.002.37.67.545 1.822 1.422 3.118 2.163 1.31.748 2.703 1.318 3.872 1.321 1.177.003 2.578-.566 3.895-1.316 1.303-.74 2.46-1.622 3.133-2.168a.233.233 0 0 0 .002-.369c-.67-.555-1.826-1.452-3.129-2.207Zm3.41 1.867c-1.359-1.126-4.705-3.656-7.312-3.65-2.59.008-5.918 2.527-7.273 3.65a.675.675 0 0 0 .005 1.052c1.36 1.105 4.691 3.576 7.268 3.583 2.594.007 5.942-2.475 7.308-3.583a.674.674 0 0 0 .005-1.052Z"
2817
2819
  }),
2818
2820
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", {
2819
2821
  fill: "#fff",
2820
2822
  d: "M11.678 8.273a3.508 3.508 0 1 1-7.016 0 3.508 3.508 0 0 1 7.016 0Z"
2821
2823
  }),
2822
2824
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", {
2823
- fill: "#528693",
2825
+ fill: stroke,
2824
2826
  fillRule: "evenodd",
2825
- d: "M12.12 8.273a3.95 3.95 0 1 1-7.9 0 3.95 3.95 0 0 1 7.9 0Zm-3.95 3.508a3.508 3.508 0 1 0 0-7.016 3.508 3.508 0 0 0 0 7.016Z",
2826
- clipRule: "evenodd"
2827
+ clipRule: "evenodd",
2828
+ d: "M12.12 8.273a3.95 3.95 0 1 1-7.9 0 3.95 3.95 0 0 1 7.9 0Zm-3.95 3.508a3.508 3.508 0 1 0 0-7.016 3.508 3.508 0 0 0 0 7.016Z"
2827
2829
  }),
2828
2830
  /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("path", {
2829
- fill: "#528693",
2831
+ fill: stroke,
2830
2832
  d: "M8.168 6.445a1.829 1.829 0 1 0 0 3.657 1.829 1.829 0 0 0 0-3.657Z"
2831
2833
  })
2832
2834
  ]
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  showError,
18
18
  showInfo,
19
19
  showWarning
20
- } from "./chunk-ASHS3SWM.mjs";
20
+ } from "./chunk-6DIAYHKQ.mjs";
21
21
  import "./chunk-NIH5ZMPE.mjs";
22
22
 
23
23
  // src/card/card.tsx
@@ -488,7 +488,7 @@ function Tag({
488
488
  // src/rich-text-editor/index.tsx
489
489
  import { lazy, Suspense } from "react";
490
490
  import { jsx as jsx15 } from "react/jsx-runtime";
491
- var LazyRichTextEditor = lazy(() => import("./rich-text-editor-LL7UCSDS.mjs"));
491
+ var LazyRichTextEditor = lazy(() => import("./rich-text-editor-QGMRYDKQ.mjs"));
492
492
  var RichTextEditor = (props) => {
493
493
  return /* @__PURE__ */ jsx15(Suspense, {
494
494
  fallback: null,
@@ -6,7 +6,7 @@ import {
6
6
  Icon,
7
7
  IconButton,
8
8
  InputWithLabel
9
- } from "./chunk-ASHS3SWM.mjs";
9
+ } from "./chunk-6DIAYHKQ.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.24.45",
3
+ "version": "1.24.46",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -1,5 +1,7 @@
1
1
  import { forwardRef, SVGProps } from 'react';
2
2
 
3
+ import { stroke } from './variables';
4
+
3
5
  type EyeClosedProps = SVGProps<SVGSVGElement>;
4
6
 
5
7
  type EyeClosedRef = SVGSVGElement;
@@ -8,7 +10,7 @@ export const EyeClosed = forwardRef<EyeClosedRef, EyeClosedProps>((delegated, re
8
10
  return (
9
11
  <svg ref={ref} width="17" height="17" fill="none" viewBox="0 0 17 17" {...delegated}>
10
12
  <path
11
- fill="#528693"
13
+ fill={stroke}
12
14
  d="M12.772 7.303c.515-.48.77-.882.795-.924a.294.294 0 1 0-.502-.308c-.014.024-1.492 2.367-4.89 2.367-3.385 0-4.832-2.27-4.892-2.367a.294.294 0 0 0-.501.308c.025.042.28.445.794.924l-.966.975a.21.21 0 0 0 .298.296l.987-.995c.2.163.43.327.689.485l-.698 1.167a.21.21 0 1 0 .36.216L4.95 8.27c.22.115.456.222.711.317L5.25 9.894a.21.21 0 0 0 .4.127l.41-1.298c.242.074.5.137.772.186l-.202 1.364a.21.21 0 0 0 .416.062l.201-1.364c.23.028.469.045.717.051v1.372a.21.21 0 0 0 .42 0V9.022a7.63 7.63 0 0 0 .733-.053l.277 1.377a.21.21 0 1 0 .412-.084l-.273-1.356c.253-.047.494-.105.722-.173l.445 1.293a.21.21 0 1 0 .397-.137L10.654 8.6c.268-.099.516-.21.745-.33l.703 1.177a.21.21 0 1 0 .36-.216l-.697-1.167c.259-.158.488-.322.689-.485l.986.995a.21.21 0 0 0 .298.002.21.21 0 0 0 0-.298l-.966-.975Z"
13
15
  />
14
16
  </svg>
@@ -1,5 +1,7 @@
1
1
  import { forwardRef, SVGProps } from 'react';
2
2
 
3
+ import { fill, stroke } from './variables';
4
+
3
5
  type EyeOpenProps = SVGProps<SVGSVGElement>;
4
6
 
5
7
  type EyeOpenRef = SVGSVGElement;
@@ -9,23 +11,23 @@ export const EyeOpen = forwardRef<EyeOpenRef, EyeOpenProps>((delegated, ref) =>
9
11
  <svg ref={ref} width="17" height="17" fill="none" viewBox="0 0 17 17" {...delegated}>
10
12
  <g clipPath="url(#eye-open)">
11
13
  <path
12
- fill="#BFF6F8"
14
+ fill={fill}
13
15
  d="M8.15 4.132c2.607-.007 5.953 2.523 7.313 3.649a.674.674 0 0 1-.005 1.052c-1.366 1.108-4.714 3.59-7.308 3.583-2.577-.007-5.907-2.478-7.268-3.583a.675.675 0 0 1-.005-1.052C2.232 6.658 5.56 4.139 8.15 4.13Z"
14
16
  />
15
17
  <path
16
- fill="#528693"
18
+ fill={stroke}
17
19
  fillRule="evenodd"
18
- d="M12.052 5.914c-1.317-.764-2.72-1.343-3.901-1.34-1.174.003-2.568.583-3.878 1.346-1.296.754-2.446 1.647-3.114 2.2-.12.1-.12.271.002.37.67.545 1.822 1.422 3.118 2.163 1.31.748 2.703 1.318 3.872 1.321 1.177.003 2.578-.566 3.895-1.316 1.303-.74 2.46-1.622 3.133-2.168a.233.233 0 0 0 .002-.369c-.67-.555-1.826-1.452-3.129-2.207Zm3.41 1.867c-1.359-1.126-4.705-3.656-7.312-3.65-2.59.008-5.918 2.527-7.273 3.65a.675.675 0 0 0 .005 1.052c1.36 1.105 4.691 3.576 7.268 3.583 2.594.007 5.942-2.475 7.308-3.583a.674.674 0 0 0 .005-1.052Z"
19
20
  clipRule="evenodd"
21
+ d="M12.052 5.914c-1.317-.764-2.72-1.343-3.901-1.34-1.174.003-2.568.583-3.878 1.346-1.296.754-2.446 1.647-3.114 2.2-.12.1-.12.271.002.37.67.545 1.822 1.422 3.118 2.163 1.31.748 2.703 1.318 3.872 1.321 1.177.003 2.578-.566 3.895-1.316 1.303-.74 2.46-1.622 3.133-2.168a.233.233 0 0 0 .002-.369c-.67-.555-1.826-1.452-3.129-2.207Zm3.41 1.867c-1.359-1.126-4.705-3.656-7.312-3.65-2.59.008-5.918 2.527-7.273 3.65a.675.675 0 0 0 .005 1.052c1.36 1.105 4.691 3.576 7.268 3.583 2.594.007 5.942-2.475 7.308-3.583a.674.674 0 0 0 .005-1.052Z"
20
22
  />
21
23
  <path fill="#fff" d="M11.678 8.273a3.508 3.508 0 1 1-7.016 0 3.508 3.508 0 0 1 7.016 0Z" />
22
24
  <path
23
- fill="#528693"
25
+ fill={stroke}
24
26
  fillRule="evenodd"
25
- d="M12.12 8.273a3.95 3.95 0 1 1-7.9 0 3.95 3.95 0 0 1 7.9 0Zm-3.95 3.508a3.508 3.508 0 1 0 0-7.016 3.508 3.508 0 0 0 0 7.016Z"
26
27
  clipRule="evenodd"
28
+ d="M12.12 8.273a3.95 3.95 0 1 1-7.9 0 3.95 3.95 0 0 1 7.9 0Zm-3.95 3.508a3.508 3.508 0 1 0 0-7.016 3.508 3.508 0 0 0 0 7.016Z"
27
29
  />
28
- <path fill="#528693" d="M8.168 6.445a1.829 1.829 0 1 0 0 3.657 1.829 1.829 0 0 0 0-3.657Z" />
30
+ <path fill={stroke} d="M8.168 6.445a1.829 1.829 0 1 0 0 3.657 1.829 1.829 0 0 0 0-3.657Z" />
29
31
  </g>
30
32
  <defs>
31
33
  <clipPath id="eye-open">