@crystallize/design-system 1.24.20 → 1.24.21

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-W7U5TSTK.mjs";
20
+ } from "./chunk-5RNPHH5B.mjs";
21
21
  import "./chunk-NIH5ZMPE.mjs";
22
22
 
23
23
  // src/card/card.tsx
@@ -486,7 +486,7 @@ function Tag({
486
486
  // src/rich-text-editor/index.tsx
487
487
  import { lazy, Suspense } from "react";
488
488
  import { jsx as jsx15 } from "react/jsx-runtime";
489
- var LazyRichTextEditor = lazy(() => import("./rich-text-editor-3QCILLYH.mjs"));
489
+ var LazyRichTextEditor = lazy(() => import("./rich-text-editor-PGTFVNXG.mjs"));
490
490
  var RichTextEditor = (props) => {
491
491
  return /* @__PURE__ */ jsx15(Suspense, {
492
492
  fallback: null,
@@ -6,7 +6,7 @@ import {
6
6
  Icon,
7
7
  IconButton,
8
8
  InputWithLabel
9
- } from "./chunk-W7U5TSTK.mjs";
9
+ } from "./chunk-5RNPHH5B.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.20",
3
+ "version": "1.24.21",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -11,11 +11,11 @@
11
11
  }
12
12
 
13
13
  .c-collapsible-arrow {
14
- @apply transition duration-300;
14
+ @apply transition duration-150;
15
15
  }
16
16
 
17
17
  .c-collapsible-tree .c-collapsible-arrow {
18
- @apply -rotate-90 duration-200;
18
+ @apply -rotate-90 duration-150;
19
19
  }
20
20
 
21
21
  .c-collapsible-trigger[data-state='open'] .c-collapsible-arrow {
@@ -98,6 +98,8 @@ import { SubscriptionPlans } from './subscription-plans';
98
98
  import { Switch } from './switch';
99
99
  import { Target } from './target';
100
100
  import { Topics } from './topics';
101
+ import { TopicsBranch } from './topics-branch';
102
+ import { TopicsLeaf } from './topics-leaf';
101
103
  import { Unpublish } from './unpublish';
102
104
  import { Usage } from './usage';
103
105
  import { UsageMeter } from './usage-meter';
@@ -219,6 +221,8 @@ export const Icon = {
219
221
  Subscription,
220
222
  Target,
221
223
  Topics,
224
+ TopicsBranch,
225
+ TopicsLeaf,
222
226
  UsageMeter,
223
227
  Unpublish,
224
228
  User,
@@ -0,0 +1,47 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type TopicsBranchProps = SVGProps<SVGSVGElement>;
4
+
5
+ type TopicsBranchRef = SVGSVGElement;
6
+
7
+ export const TopicsBranch = forwardRef<TopicsBranchRef, TopicsBranchProps>((delegated, ref) => {
8
+ return (
9
+ <svg ref={ref} width="22" height="22" fill="none" viewBox="0 0 22 22" {...delegated}>
10
+ <path d="M3.6 10.9a2.1 2.1 0 0 1 4.2 0 2.1 2.1 0 1 1-4.2 0Z" fill="#BFF6F8" />
11
+ <path
12
+ fillRule="evenodd"
13
+ clipRule="evenodd"
14
+ d="M5.7 13.6a2.7 2.7 0 1 1 0-5.4 2.7 2.7 0 0 1 0 5.4Zm0-4.8a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2Z"
15
+ fill="#528693"
16
+ />
17
+ <path d="M13.2 16.3a2.1 2.1 0 0 1 4.2 0 2.1 2.1 0 1 1-4.2 0Z" fill="#BFF6F8" />
18
+ <path
19
+ fillRule="evenodd"
20
+ clipRule="evenodd"
21
+ d="M15.3 19a2.7 2.7 0 1 1 0-5.4 2.7 2.7 0 0 1 0 5.4Zm0-4.8a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2Z"
22
+ fill="#528693"
23
+ />
24
+ <path d="M13.2 5.5a2.1 2.1 0 0 1 4.2 0 2.1 2.1 0 1 1-4.2 0Z" fill="#fff" />
25
+ <path
26
+ fillRule="evenodd"
27
+ clipRule="evenodd"
28
+ d="M15.3 8.2a2.7 2.7 0 1 1 0-5.4 2.7 2.7 0 0 1 0 5.4Zm0-4.8a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2Z"
29
+ fill="#528693"
30
+ />
31
+ <path
32
+ fillRule="evenodd"
33
+ clipRule="evenodd"
34
+ d="M10.1 5.74a.3.3 0 0 1 .3-.3h2.4a.3.3 0 1 1 0 .6h-2.1v9.92h2.1a.3.3 0 1 1 0 .6h-2.4a.3.3 0 0 1-.3-.3V5.74Z"
35
+ fill="#528693"
36
+ />
37
+ <path
38
+ fillRule="evenodd"
39
+ clipRule="evenodd"
40
+ d="M8.1 11a.3.3 0 0 1 .3-.3h1.907a.3.3 0 1 1 0 .6H8.4a.3.3 0 0 1-.3-.3Z"
41
+ fill="#528693"
42
+ />
43
+ </svg>
44
+ );
45
+ });
46
+
47
+ TopicsBranch.displayName = 'TopicsBranchIcon';
@@ -0,0 +1,34 @@
1
+ import { forwardRef, SVGProps } from 'react';
2
+
3
+ type TopicsLeafProps = SVGProps<SVGSVGElement>;
4
+
5
+ type TopicsLeafRef = SVGSVGElement;
6
+
7
+ export const TopicsLeaf = forwardRef<TopicsLeafRef, TopicsLeafProps>((delegated, ref) => {
8
+ return (
9
+ <svg ref={ref} width="22" height="22" fill="none" viewBox="0 0 22 22" {...delegated}>
10
+ <path d="M3.6 10.9a2.1 2.1 0 0 1 4.2 0 2.1 2.1 0 1 1-4.2 0Z" fill="#BFF6F8" />
11
+ <path
12
+ fillRule="evenodd"
13
+ clipRule="evenodd"
14
+ d="M5.7 13.6a2.7 2.7 0 1 1 0-5.4 2.7 2.7 0 0 1 0 5.4Zm0-4.8a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2Z"
15
+ fill="#528693"
16
+ />
17
+ <path d="M13.2 10.9a2.1 2.1 0 1 1 4.2 0 2.1 2.1 0 1 1-4.2 0Z" fill="#fff" />
18
+ <path
19
+ fillRule="evenodd"
20
+ clipRule="evenodd"
21
+ d="M15.3 13.6a2.7 2.7 0 1 1 0-5.4 2.7 2.7 0 0 1 0 5.4Zm0-4.8a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2Z"
22
+ fill="#528693"
23
+ />
24
+ <path
25
+ fillRule="evenodd"
26
+ clipRule="evenodd"
27
+ d="M8 11a.3.3 0 0 1 .3-.3h4.4a.3.3 0 0 1 0 .6H8.3A.3.3 0 0 1 8 11Z"
28
+ fill="#528693"
29
+ />
30
+ </svg>
31
+ );
32
+ });
33
+
34
+ TopicsLeaf.displayName = 'TopicsLeafIcon';
@@ -64,8 +64,8 @@ module.exports = {
64
64
  },
65
65
  },
66
66
  animation: {
67
- 'collapsible-open': 'collapsible-open 300ms ease-out forwards',
68
- 'collapsible-close': 'collapsible-close 300ms ease-out forwards',
67
+ 'collapsible-open': 'collapsible-open 150ms ease-out',
68
+ 'collapsible-close': 'collapsible-close 150ms ease-out',
69
69
  spin: 'spin 2s linear infinite',
70
70
  },
71
71
  boxShadow: {