@crystallize/design-system 1.24.7 → 1.24.8
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 +6 -0
- package/dist/{chunk-BNSEEMOM.mjs → chunk-LVKSZBWB.mjs} +3 -1
- package/dist/index.js +5 -4
- package/dist/index.mjs +4 -5
- package/dist/{rich-text-editor-BSPSXJSK.mjs → rich-text-editor-ANU6NSC2.mjs} +1 -1
- package/package.json +1 -1
- package/src/collapsible/collapsible.tsx +1 -1
- package/src/iconography/caret.tsx +1 -1
- package/src/iconography/multiple-choice.tsx +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -713,7 +713,7 @@ var Caret = forwardRef13((delegated, ref) => {
|
|
|
713
713
|
width: "8",
|
|
714
714
|
height: "8",
|
|
715
715
|
viewBox: "0 0 8 8",
|
|
716
|
-
fill: "
|
|
716
|
+
fill: "#626778",
|
|
717
717
|
...delegated,
|
|
718
718
|
children: /* @__PURE__ */ jsx19("path", {
|
|
719
719
|
d: "M4.36763 6.81306C4.21367 7.07973 3.82877 7.07973 3.67481 6.81306L0.921902 2.04489C0.767942 1.77822 0.960391 1.44489 1.26831 1.44489L6.77412 1.44489C7.08204 1.44489 7.27449 1.77822 7.12053 2.04489L4.36763 6.81306Z"
|
|
@@ -3420,6 +3420,7 @@ var MultipleChoice = forwardRef62((delegated, ref) => {
|
|
|
3420
3420
|
}),
|
|
3421
3421
|
/* @__PURE__ */ jsx68("path", {
|
|
3422
3422
|
fill: "#BFF6F8",
|
|
3423
|
+
className: "c-icon-fill",
|
|
3423
3424
|
d: "M10.227 8.842a2 2 0 0 1 1.546 0l7.778 3.26a.5.5 0 0 1-.011.926l-7.811 3.056a2 2 0 0 1-1.458 0l-7.81-3.056a.5.5 0 0 1-.012-.927l7.778-3.26Z"
|
|
3424
3425
|
}),
|
|
3425
3426
|
/* @__PURE__ */ jsx68("path", {
|
|
@@ -3440,6 +3441,7 @@ var MultipleChoice = forwardRef62((delegated, ref) => {
|
|
|
3440
3441
|
}),
|
|
3441
3442
|
/* @__PURE__ */ jsx68("path", {
|
|
3442
3443
|
fill: "#BFF6F8",
|
|
3444
|
+
className: "c-icon-fill",
|
|
3443
3445
|
d: "M10.227 2.528a2 2 0 0 1 1.546 0l7.778 3.26a.5.5 0 0 1-.011.926L11.729 9.77a2 2 0 0 1-1.458 0l-7.81-3.056a.5.5 0 0 1-.012-.927l7.778-3.26Z"
|
|
3444
3446
|
}),
|
|
3445
3447
|
/* @__PURE__ */ jsx68("path", {
|
package/dist/index.js
CHANGED
|
@@ -911,7 +911,7 @@ var init_caret = __esm({
|
|
|
911
911
|
width: "8",
|
|
912
912
|
height: "8",
|
|
913
913
|
viewBox: "0 0 8 8",
|
|
914
|
-
fill: "
|
|
914
|
+
fill: "#626778",
|
|
915
915
|
...delegated,
|
|
916
916
|
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("path", {
|
|
917
917
|
d: "M4.36763 6.81306C4.21367 7.07973 3.82877 7.07973 3.67481 6.81306L0.921902 2.04489C0.767942 1.77822 0.960391 1.44489 1.26831 1.44489L6.77412 1.44489C7.08204 1.44489 7.27449 1.77822 7.12053 2.04489L4.36763 6.81306Z"
|
|
@@ -3912,6 +3912,7 @@ var init_multiple_choice = __esm({
|
|
|
3912
3912
|
}),
|
|
3913
3913
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", {
|
|
3914
3914
|
fill: "#BFF6F8",
|
|
3915
|
+
className: "c-icon-fill",
|
|
3915
3916
|
d: "M10.227 8.842a2 2 0 0 1 1.546 0l7.778 3.26a.5.5 0 0 1-.011.926l-7.811 3.056a2 2 0 0 1-1.458 0l-7.81-3.056a.5.5 0 0 1-.012-.927l7.778-3.26Z"
|
|
3916
3917
|
}),
|
|
3917
3918
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", {
|
|
@@ -3932,6 +3933,7 @@ var init_multiple_choice = __esm({
|
|
|
3932
3933
|
}),
|
|
3933
3934
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", {
|
|
3934
3935
|
fill: "#BFF6F8",
|
|
3936
|
+
className: "c-icon-fill",
|
|
3935
3937
|
d: "M10.227 2.528a2 2 0 0 1 1.546 0l7.778 3.26a.5.5 0 0 1-.011.926L11.729 9.77a2 2 0 0 1-1.458 0l-7.81-3.056a.5.5 0 0 1-.012-.927l7.778-3.26Z"
|
|
3936
3938
|
}),
|
|
3937
3939
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("path", {
|
|
@@ -39935,9 +39937,8 @@ function CollapsibleTrigger({
|
|
|
39935
39937
|
children: [
|
|
39936
39938
|
arrowPosition && /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon.Caret, {
|
|
39937
39939
|
className: "c-collapsible-arrow",
|
|
39938
|
-
|
|
39939
|
-
|
|
39940
|
-
height: 10
|
|
39940
|
+
width: 9,
|
|
39941
|
+
height: 9
|
|
39941
39942
|
}),
|
|
39942
39943
|
children
|
|
39943
39944
|
]
|
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
showError,
|
|
18
18
|
showInfo,
|
|
19
19
|
showWarning
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LVKSZBWB.mjs";
|
|
21
21
|
import "./chunk-NIH5ZMPE.mjs";
|
|
22
22
|
|
|
23
23
|
// src/card/card.tsx
|
|
@@ -139,9 +139,8 @@ function CollapsibleTrigger({
|
|
|
139
139
|
children: [
|
|
140
140
|
arrowPosition && /* @__PURE__ */ jsx4(Icon.Caret, {
|
|
141
141
|
className: "c-collapsible-arrow",
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
height: 10
|
|
142
|
+
width: 9,
|
|
143
|
+
height: 9
|
|
145
144
|
}),
|
|
146
145
|
children
|
|
147
146
|
]
|
|
@@ -417,7 +416,7 @@ function Tag({
|
|
|
417
416
|
// src/rich-text-editor/index.tsx
|
|
418
417
|
import { lazy, Suspense } from "react";
|
|
419
418
|
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
420
|
-
var LazyRichTextEditor = lazy(() => import("./rich-text-editor-
|
|
419
|
+
var LazyRichTextEditor = lazy(() => import("./rich-text-editor-ANU6NSC2.mjs"));
|
|
421
420
|
var RichTextEditor = (props) => {
|
|
422
421
|
return /* @__PURE__ */ jsx13(Suspense, {
|
|
423
422
|
fallback: null,
|
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@ export function CollapsibleTrigger({
|
|
|
29
29
|
className={cx('c-collapsible-trigger', arrowPosition === 'right' ? 'arrow-right' : '', className)}
|
|
30
30
|
>
|
|
31
31
|
<div>
|
|
32
|
-
{arrowPosition && <Icon.Caret className="c-collapsible-arrow"
|
|
32
|
+
{arrowPosition && <Icon.Caret className="c-collapsible-arrow" width={9} height={9} />}
|
|
33
33
|
{children}
|
|
34
34
|
</div>
|
|
35
35
|
</CollapsiblePrimitives.Trigger>
|
|
@@ -6,7 +6,7 @@ type CaretRef = SVGSVGElement;
|
|
|
6
6
|
|
|
7
7
|
export const Caret = forwardRef<CaretRef, CaretProps>((delegated, ref) => {
|
|
8
8
|
return (
|
|
9
|
-
<svg ref={ref} width="8" height="8" viewBox="0 0 8 8" fill="
|
|
9
|
+
<svg ref={ref} width="8" height="8" viewBox="0 0 8 8" fill="#626778" {...delegated}>
|
|
10
10
|
<path d="M4.36763 6.81306C4.21367 7.07973 3.82877 7.07973 3.67481 6.81306L0.921902 2.04489C0.767942 1.77822 0.960391 1.44489 1.26831 1.44489L6.77412 1.44489C7.08204 1.44489 7.27449 1.77822 7.12053 2.04489L4.36763 6.81306Z" />
|
|
11
11
|
</svg>
|
|
12
12
|
);
|
|
@@ -16,6 +16,7 @@ export const MultipleChoice = forwardRef<MultipleChoiceRef, MultipleChoiceProps>
|
|
|
16
16
|
/>
|
|
17
17
|
<path
|
|
18
18
|
fill="#BFF6F8"
|
|
19
|
+
className="c-icon-fill"
|
|
19
20
|
d="M10.227 8.842a2 2 0 0 1 1.546 0l7.778 3.26a.5.5 0 0 1-.011.926l-7.811 3.056a2 2 0 0 1-1.458 0l-7.81-3.056a.5.5 0 0 1-.012-.927l7.778-3.26Z"
|
|
20
21
|
/>
|
|
21
22
|
<path
|
|
@@ -36,6 +37,7 @@ export const MultipleChoice = forwardRef<MultipleChoiceRef, MultipleChoiceProps>
|
|
|
36
37
|
/>
|
|
37
38
|
<path
|
|
38
39
|
fill="#BFF6F8"
|
|
40
|
+
className="c-icon-fill"
|
|
39
41
|
d="M10.227 2.528a2 2 0 0 1 1.546 0l7.778 3.26a.5.5 0 0 1-.011.926L11.729 9.77a2 2 0 0 1-1.458 0l-7.81-3.056a.5.5 0 0 1-.012-.927l7.778-3.26Z"
|
|
40
42
|
/>
|
|
41
43
|
<path
|