@crystallize/design-system 1.24.6 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @crystallize/design-system
2
2
 
3
+ ## 1.24.8
4
+
5
+ ### Patch Changes
6
+
7
+ - a074c5e: Add c-icon-fill to the new multiple choice component.
8
+
9
+ ## 1.24.7
10
+
11
+ ### Patch Changes
12
+
13
+ - 3f2da95: Add regenerate secrets and exclude subscription contracts to the tenant copy modal.
14
+
3
15
  ## 1.24.6
4
16
 
5
17
  ### Patch Changes
@@ -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: "none",
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.css CHANGED
@@ -1068,7 +1068,6 @@
1068
1068
  }
1069
1069
  .c-collapsible-trigger.arrow-right {
1070
1070
  flex-direction: row-reverse;
1071
- justify-content: flex-end;
1072
1071
  }
1073
1072
  .c-collapsible-arrow {
1074
1073
  transition: 0.3s;
@@ -1851,6 +1850,9 @@
1851
1850
  font-size: 0.75rem;
1852
1851
  line-height: 1rem;
1853
1852
  }
1853
+ .c-tag-xxs .c-tag__prepend {
1854
+ margin-left: -0.25rem;
1855
+ }
1854
1856
  .c-tag-xs {
1855
1857
  height: 1.5rem;
1856
1858
  padding-left: 0.5rem;
@@ -1858,6 +1860,9 @@
1858
1860
  font-size: 0.75rem;
1859
1861
  line-height: 1rem;
1860
1862
  }
1863
+ .c-tag-xs .c-tag__prepend {
1864
+ margin-left: -0.25rem;
1865
+ }
1861
1866
  .c-tag-sm {
1862
1867
  height: 2.25rem;
1863
1868
  padding-left: 1rem;
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: "none",
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
- fill: "purple-50-900",
39939
- width: 10,
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-BNSEEMOM.mjs";
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
- fill: "purple-50-900",
143
- width: 10,
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-BSPSXJSK.mjs"));
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,
@@ -6,7 +6,7 @@ import {
6
6
  Icon,
7
7
  IconButton,
8
8
  InputWithLabel
9
- } from "./chunk-BNSEEMOM.mjs";
9
+ } from "./chunk-LVKSZBWB.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.6",
3
+ "version": "1.24.8",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -6,7 +6,7 @@
6
6
  @apply flex gap-2 items-center;
7
7
 
8
8
  &.arrow-right {
9
- @apply flex-row-reverse justify-end;
9
+ @apply flex-row-reverse;
10
10
  }
11
11
  }
12
12
 
@@ -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" fill="purple-50-900" width={10} height={10} />}
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="none" {...delegated}>
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
package/src/tag/tag.css CHANGED
@@ -36,10 +36,16 @@
36
36
 
37
37
  .c-tag-xxs {
38
38
  @apply h-5 px-2 text-xs;
39
+ .c-tag__prepend {
40
+ @apply -ml-1;
41
+ }
39
42
  }
40
43
 
41
44
  .c-tag-xs {
42
45
  @apply h-6 px-2 text-xs;
46
+ .c-tag__prepend {
47
+ @apply -ml-1;
48
+ }
43
49
  }
44
50
 
45
51
  .c-tag-sm {