@crystallize/design-system 1.24.1 → 1.24.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @crystallize/design-system
2
2
 
3
+ ## 1.24.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 76b52f5: Remove div in dialog content component that was blocking styling
8
+
9
+ ## 1.24.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 573bdb7: remove @tailwindcss/container-queries from tailwind config, which was redundant there
14
+
3
15
  ## 1.24.1
4
16
 
5
17
  ### Patch Changes
@@ -3969,7 +3969,8 @@ var Piece = forwardRef71((delegated, ref) => {
3969
3969
  children: [
3970
3970
  /* @__PURE__ */ jsx77("path", {
3971
3971
  fill: "#BFF6F8",
3972
- d: "M1.67 1.89h18.491v18.157H1.671V1.891Z"
3972
+ d: "M1.67 1.89h18.491v18.157H1.671V1.891Z",
3973
+ className: "c-icon-fill"
3973
3974
  }),
3974
3975
  /* @__PURE__ */ jsx77("path", {
3975
3976
  fill: "#fff",
@@ -6014,9 +6015,7 @@ function DialogContent({ children, closable = true, type, className, container,
6014
6015
  })
6015
6016
  })
6016
6017
  }),
6017
- /* @__PURE__ */ jsx113("div", {
6018
- children
6019
- })
6018
+ children
6020
6019
  ]
6021
6020
  })
6022
6021
  ]
package/dist/index.css CHANGED
@@ -1787,7 +1787,7 @@
1787
1787
  }
1788
1788
  .c-tag__remove-button {
1789
1789
  margin: 0px;
1790
- margin-right: -0.5rem;
1790
+ margin-right: -0.25rem;
1791
1791
  cursor: pointer;
1792
1792
  border-style: none;
1793
1793
  background-color: transparent;
package/dist/index.js CHANGED
@@ -4515,7 +4515,8 @@ var init_piece = __esm({
4515
4515
  children: [
4516
4516
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("path", {
4517
4517
  fill: "#BFF6F8",
4518
- d: "M1.67 1.89h18.491v18.157H1.671V1.891Z"
4518
+ d: "M1.67 1.89h18.491v18.157H1.671V1.891Z",
4519
+ className: "c-icon-fill"
4519
4520
  }),
4520
4521
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("path", {
4521
4522
  fill: "#fff",
@@ -6870,9 +6871,7 @@ function DialogContent({ children, closable = true, type, className, container,
6870
6871
  })
6871
6872
  })
6872
6873
  }),
6873
- /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", {
6874
- children
6875
- })
6874
+ children
6876
6875
  ]
6877
6876
  })
6878
6877
  ]
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  showError,
18
18
  showInfo,
19
19
  showWarning
20
- } from "./chunk-FWRBC56V.mjs";
20
+ } from "./chunk-LIMMZNXO.mjs";
21
21
  import "./chunk-NIH5ZMPE.mjs";
22
22
 
23
23
  // src/card/card.tsx
@@ -417,7 +417,7 @@ function Tag({
417
417
  // src/rich-text-editor/index.tsx
418
418
  import { lazy, Suspense } from "react";
419
419
  import { jsx as jsx13 } from "react/jsx-runtime";
420
- var LazyRichTextEditor = lazy(() => import("./rich-text-editor-6PGBZV6U.mjs"));
420
+ var LazyRichTextEditor = lazy(() => import("./rich-text-editor-VCMKO3HI.mjs"));
421
421
  var RichTextEditor = (props) => {
422
422
  return /* @__PURE__ */ jsx13(Suspense, {
423
423
  fallback: null,
@@ -6,7 +6,7 @@ import {
6
6
  Icon,
7
7
  IconButton,
8
8
  InputWithLabel
9
- } from "./chunk-FWRBC56V.mjs";
9
+ } from "./chunk-LIMMZNXO.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.1",
3
+ "version": "1.24.3",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -52,7 +52,7 @@ function DialogContent({ children, closable = true, type, className, container,
52
52
  </Button>
53
53
  </DialogClose>
54
54
  )}
55
- <div>{children}</div>
55
+ {children}
56
56
  </DialogPrimitive.Content>
57
57
  </DialogPrimitive.Portal>
58
58
  );
@@ -8,7 +8,7 @@ export const Piece = forwardRef<PieceRef, PieceProps>((delegated, ref) => {
8
8
  return (
9
9
  <svg ref={ref} width="22" height="22" viewBox="0 0 22 22" fill="none" {...delegated}>
10
10
  <g clipPath="url(#a)">
11
- <path fill="#BFF6F8" d="M1.67 1.89h18.491v18.157H1.671V1.891Z" />
11
+ <path fill="#BFF6F8" d="M1.67 1.89h18.491v18.157H1.671V1.891Z" className="c-icon-fill" />
12
12
  <path
13
13
  fill="#fff"
14
14
  d="M11.232 10.957h2.232l1.159-3.053H16.5l1.43 3.053h2.232v9.091h-8.93v-2.842l3.063-.346v-2.136l-3.063-.361v-3.406Z"
package/src/tag/tag.css CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  &__remove-button {
11
- @apply m-0 -mr-2 cursor-pointer border-none bg-transparent p-0 text-[0];
11
+ @apply m-0 -mr-1 cursor-pointer border-none bg-transparent p-0 text-[0];
12
12
  }
13
13
 
14
14
  &__remove-button-text {
@@ -74,5 +74,5 @@ module.exports = {
74
74
  },
75
75
  },
76
76
  },
77
- plugins: [colorsPlugin, require('tailwindcss-radix')(), require('@tailwindcss/container-queries')],
77
+ plugins: [colorsPlugin, require('tailwindcss-radix')()],
78
78
  };