@crystallize/design-system 2.0.1 → 2.0.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.
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  showError,
18
18
  showInfo,
19
19
  showWarning
20
- } from "./chunk-B2Q2EUTC.mjs";
20
+ } from "./chunk-73MZIXLZ.mjs";
21
21
  import "./chunk-NIH5ZMPE.mjs";
22
22
 
23
23
  // src/card/card.tsx
@@ -365,7 +365,7 @@ function Tag({
365
365
  // src/rich-text-editor/index.tsx
366
366
  import { lazy, Suspense } from "react";
367
367
  import { jsx as jsx15 } from "react/jsx-runtime";
368
- var LazyRichTextEditor = lazy(() => import("./rich-text-editor-SIZB67MA.mjs"));
368
+ var LazyRichTextEditor = lazy(() => import("./rich-text-editor-D6ZIOV7A.mjs"));
369
369
  var RichTextEditor = (props) => {
370
370
  return /* @__PURE__ */ jsx15(Suspense, { fallback: null, children: /* @__PURE__ */ jsx15(LazyRichTextEditor, { ...props }) });
371
371
  };
@@ -6,7 +6,7 @@ import {
6
6
  Icon,
7
7
  IconButton,
8
8
  InputWithLabel
9
- } from "./chunk-B2Q2EUTC.mjs";
9
+ } from "./chunk-73MZIXLZ.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": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -80,6 +80,7 @@ import { Mushroom } from './mushroom';
80
80
  import { NailPolish } from './nail-polish';
81
81
  import { Number } from './number';
82
82
  import { Numeric } from './numeric';
83
+ import { OperationLog } from './operation-log';
83
84
  import { Order } from './order';
84
85
  import { Organization } from './organization';
85
86
  import { ParagraphCollection } from './paragraph-collection';
@@ -209,6 +210,7 @@ export const Icon: Record<
209
210
  Number,
210
211
  Order,
211
212
  Organization,
213
+ OperationLog,
212
214
  Paths,
213
215
  People,
214
216
  Percentage,
@@ -0,0 +1,33 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ import { fill, stroke } from './variables';
4
+
5
+ export const OperationLog = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>((delegated, ref) => {
6
+ return (
7
+ <svg ref={ref} width="22" height="22" fill="none" viewBox="0 0 22 22" {...delegated}>
8
+ <path
9
+ fill={fill}
10
+ d="M5 3.8a.8.8 0 0 1 .8-.8h10.4a.8.8 0 0 1 .8.8v14.4a.8.8 0 0 1-.8.8H5.8a.8.8 0 0 1-.8-.8V3.8Z"
11
+ />
12
+ <path
13
+ fill={stroke}
14
+ d="M4.4 18.2V3.8a1.4 1.4 0 0 1 1.4-1.4V3a.8.8 0 0 0-.8.8v14.4l.004.082A.8.8 0 0 0 5.8 19h10.4l.082-.004a.8.8 0 0 0 .714-.714L17 18.2V3.8a.8.8 0 0 0-.718-.796L16.2 3v-.6a1.4 1.4 0 0 1 1.4 1.4v14.4a1.4 1.4 0 0 1-1.4 1.4H5.8a1.4 1.4 0 0 1-1.4-1.4ZM16.2 2.4V3H5.8v-.6h10.4Z"
15
+ />
16
+ <path fill="#fff" d="M9 2.8a.8.8 0 0 1 .8-.8h2.4a.8.8 0 0 1 .8.8v.4a.8.8 0 0 1-.8.8H9.8a.8.8 0 0 1-.8-.8v-.4Z" />
17
+ <path
18
+ fill={stroke}
19
+ d="M8.4 3.2v-.4a1.4 1.4 0 0 1 1.4-1.4V2a.8.8 0 0 0-.8.8v.4l.004.082A.8.8 0 0 0 9.8 4h2.4l.082-.004a.8.8 0 0 0 .714-.714L13 3.2v-.4a.8.8 0 0 0-.718-.796L12.2 2v-.6a1.4 1.4 0 0 1 1.4 1.4v.4a1.4 1.4 0 0 1-1.4 1.4H9.8a1.4 1.4 0 0 1-1.4-1.4Zm3.8-1.8V2H9.8v-.6h2.4Z"
20
+ />
21
+ <path
22
+ fill="#fff"
23
+ d="m14.925 10.301-.986-.185c-.06-.199-.139-.39-.236-.57l.57-.834a.212.212 0 0 0-.024-.259l-.703-.703a.212.212 0 0 0-.259-.024l-.834.57c-.185-.1-.382-.18-.588-.24l-.184-.98a.212.212 0 0 0-.2-.167h-.995a.212.212 0 0 0-.2.166l-.186.99a3.04 3.04 0 0 0-.564.236l-.823-.563a.212.212 0 0 0-.26.024l-.703.703a.212.212 0 0 0-.024.26l.567.828a3.055 3.055 0 0 0-.232.564l-.986.184a.212.212 0 0 0-.166.2v.995c0 .094.075.183.166.2l.985.185c.06.201.14.394.237.575l-.56.82a.211.211 0 0 0 .024.259l.703.703a.212.212 0 0 0 .26.024l.818-.56c.177.095.364.173.559.232l.185.99a.212.212 0 0 0 .2.167h.995a.212.212 0 0 0 .2-.166l.185-.981c.203-.06.398-.139.582-.237l.829.567a.212.212 0 0 0 .26-.024l.702-.703a.212.212 0 0 0 .025-.259l-.565-.825c.1-.183.18-.378.241-.582l.985-.184a.212.212 0 0 0 .166-.2v-.995a.212.212 0 0 0-.166-.2ZM11 12.706a1.706 1.706 0 1 1 0-3.412 1.706 1.706 0 0 1 0 3.412Z"
24
+ />
25
+ <path
26
+ fill={stroke}
27
+ d="M6.91 11.496c0 .093.073.183.165.2l.985.186c.06.2.14.393.237.574l-.56.82a.212.212 0 0 0 .024.26l.703.702c.05.05.128.068.196.052l.064-.027.818-.56c.176.094.363.172.559.232l.185.99a.213.213 0 0 0 .133.153l.068.013h.994a.212.212 0 0 0 .2-.166l.185-.98c.203-.06.398-.14.581-.238l.83.567a.21.21 0 0 0 .259-.024l.703-.702a.213.213 0 0 0 .025-.26l-.565-.824c.1-.184.18-.379.241-.582l.985-.186a.211.211 0 0 0 .166-.2v-.994a.213.213 0 0 0-.166-.201l-.987-.185c-.06-.2-.138-.39-.235-.57l.57-.834a.211.211 0 0 0 .015-.201l-.04-.058-.702-.703a.211.211 0 0 0-.259-.024l-.834.57c-.185-.1-.383-.18-.588-.24l-.184-.98a.213.213 0 0 0-.131-.154l-.069-.013v-.6c.335 0 .634.215.751.52l.04.135.118.64.006.002.553-.377a.813.813 0 0 1 .913.006l.109.09.702.703.09.109a.812.812 0 0 1 .005.914l-.37.54.637.12h.002a.812.812 0 0 1 .654.79v.995c0 .383-.28.719-.654.79h-.002l-.646.12v.002l.37.541v.001a.812.812 0 0 1-.095 1.022l-.703.703-.001-.001a.81.81 0 0 1-1.022.096l-.548-.375-.119.64v.002a.812.812 0 0 1-.79.654h-.994a.812.812 0 0 1-.79-.654v-.002l-.119-.63-.516.353a.812.812 0 0 1-1.022-.095v-.001l-.703-.703a.811.811 0 0 1-.096-1.022l.363-.532-.64-.119h-.001a.812.812 0 0 1-.654-.79v-.994c0-.383.28-.719.654-.79h.002l.629-.118-.364-.53v-.002a.811.811 0 0 1 .096-1.021l.702-.703a.813.813 0 0 1 .9-.164l.124.068.524.36.12-.637v-.001a.812.812 0 0 1 .79-.654v.6a.212.212 0 0 0-.2.165l-.185.99c-.198.06-.387.139-.565.236l-.823-.563a.212.212 0 0 0-.26.024l-.703.703a.213.213 0 0 0-.025.26l.568.828a3.058 3.058 0 0 0-.233.563l-.985.185a.213.213 0 0 0-.166.2v.995ZM12.105 11A1.107 1.107 0 1 0 11 12.106v.601l-.175-.009a1.707 1.707 0 0 1-1.522-1.523L9.293 11c0-.942.765-1.706 1.707-1.706l.175.009c.86.087 1.532.814 1.532 1.697l-.009.175A1.708 1.708 0 0 1 11 12.707v-.6c.611 0 1.106-.496 1.106-1.107Zm-.625-4.69v.6h-.995v-.6h.995Z"
28
+ />
29
+ </svg>
30
+ );
31
+ });
32
+
33
+ OperationLog.displayName = 'OperationLogIcon';
@@ -1,5 +1,7 @@
1
1
  import { forwardRef, type SVGProps } from 'react';
2
2
 
3
+ import { fill, stroke } from './variables';
4
+
3
5
  export const Order = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>((delegated, ref) => {
4
6
  return (
5
7
  <svg ref={ref} width="22" height="23" viewBox="0 0 22 23" fill="none" {...delegated}>
@@ -11,21 +13,18 @@ export const Order = forwardRef<SVGSVGElement, SVGProps<SVGSVGElement>>((delegat
11
13
  fillRule="evenodd"
12
14
  clipRule="evenodd"
13
15
  d="M5.278 3.72h11.443c.933 0 1.69.757 1.69 1.69v13.833a1.69 1.69 0 0 1-1.69 1.69H5.278a1.69 1.69 0 0 1-1.689-1.69V5.41c0-.933.756-1.69 1.69-1.69Zm0 .634c-.583 0-1.055.473-1.055 1.056v13.833c0 .583.472 1.056 1.055 1.056h11.443c.584 0 1.056-.473 1.056-1.056V5.41c0-.583-.472-1.056-1.056-1.056H5.278Z"
14
- fill="#528693"
15
- />
16
- <path
17
- d="M7.552 4.119c0-.54.439-.98.98-.98h4.701a.98.98 0 0 1 0 1.96H8.532a.98.98 0 0 1-.98-.98Z"
18
- fill="#BFF6F8"
16
+ fill={stroke}
19
17
  />
18
+ <path d="M7.552 4.119c0-.54.439-.98.98-.98h4.701a.98.98 0 0 1 0 1.96H8.532a.98.98 0 0 1-.98-.98Z" fill={fill} />
20
19
  <path
21
20
  fillRule="evenodd"
22
21
  clipRule="evenodd"
23
22
  d="M8.532 2.506h4.7a1.613 1.613 0 0 1 0 3.226h-4.7a1.613 1.613 0 0 1 0-3.226Zm0 .634a.98.98 0 0 0 0 1.958h4.7a.98.98 0 0 0 0-1.958h-4.7Z"
24
- fill="#528693"
23
+ fill={stroke}
25
24
  />
26
25
  <path
27
26
  d="M7.063 8.546c0-.175.142-.317.317-.317h7.005a.317.317 0 0 1 0 .634H7.38a.317.317 0 0 1-.317-.317ZM7.063 11.31c0-.174.142-.316.317-.316h7.005a.317.317 0 0 1 0 .633H7.38a.317.317 0 0 1-.317-.316ZM7.063 14.075c0-.175.142-.316.317-.316h7.005a.317.317 0 1 1 0 .633H7.38a.317.317 0 0 1-.317-.317ZM7.063 16.84c0-.175.142-.317.317-.317h7.005a.317.317 0 1 1 0 .634H7.38a.317.317 0 0 1-.317-.317Z"
28
- fill="#528693"
27
+ fill={stroke}
29
28
  />
30
29
  </svg>
31
30
  );