@crystallize/design-system 1.20.1 → 1.21.1

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/chunk-QVHGXWBD.mjs +6022 -0
  3. package/dist/index.css +83 -472
  4. package/dist/index.d.ts +1 -22
  5. package/dist/index.js +37053 -35784
  6. package/dist/index.mjs +274 -9461
  7. package/dist/rich-text-editor-HJ3MS6B5.css +2366 -0
  8. package/dist/rich-text-editor-VCJEH7QE.mjs +3227 -0
  9. package/package.json +20 -20
  10. package/src/action-menu/action-menu.css +4 -0
  11. package/src/action-menu/action-menu.tsx +1 -1
  12. package/src/button/Button.stories.tsx +8 -1
  13. package/src/checkbox/checkbox.stories.tsx +13 -7
  14. package/src/colors/Colors.stories.tsx +37 -8
  15. package/src/dialog/Dialog.stories.tsx +4 -4
  16. package/src/dialog/confirm-dialog.tsx +1 -1
  17. package/src/dialog/dialog.css +10 -0
  18. package/src/dialog/dialog.tsx +1 -1
  19. package/src/dropdown-menu/DropdownMenu.stories.tsx +4 -4
  20. package/src/icon-button/IconButton.stories.tsx +9 -2
  21. package/src/iconography/Icon.stories.tsx +6 -3
  22. package/src/index.css +0 -11
  23. package/src/input-with-label/InputWithLabel.stories.tsx +1 -1
  24. package/src/popover/popover.stories.tsx +2 -2
  25. package/src/progress/progress.css +1 -1
  26. package/src/radio/radio.stories.tsx +75 -37
  27. package/src/rich-text-editor/index.tsx +15 -0
  28. package/src/rich-text-editor/plugins/DraggableBlockPlugin/index.css +1 -1
  29. package/src/rich-text-editor/plugins/FloatingLinkEditorPlugin/index.css +2 -1
  30. package/src/rich-text-editor/plugins/ToolbarPlugin/index.css +6 -1
  31. package/src/rich-text-editor/plugins/ToolbarPlugin/index.tsx +1 -1
  32. package/src/rich-text-editor/rich-text-editor.css +2 -1
  33. package/src/rich-text-editor/rich-text-editor.stories.tsx +9 -15
  34. package/src/rich-text-editor/rich-text-editor.tsx +2 -4
  35. package/src/rich-text-editor/tests/rich-text-editor-text-formats.test.tsx +11 -2
  36. package/src/rich-text-editor/themes/CrystallizeRTEditorTheme.css +8 -9
  37. package/src/select/select.css +2 -1
  38. package/src/select/select.stories.tsx +1 -1
  39. package/src/slider/Slider.stories.tsx +1 -1
  40. package/src/stack-icon/stack-icon.css +8 -0
  41. package/src/stack-icon/stack-icon.tsx +3 -5
  42. package/src/switch/Switch.stories.tsx +15 -9
  43. package/src/tag/tag.css +4 -0
  44. package/src/tag/tag.tsx +1 -1
  45. package/src/toast/toast.css +3 -1
  46. package/src/toast/toast.stories.tsx +2 -2
  47. package/src/tooltip/Tooltip.stories.tsx +20 -7
  48. package/src/tooltip/tooltip.css +2 -1
  49. package/tailwind.config.cjs +17 -1
  50. package/src/rich-text-editor/index.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @crystallize/design-system
2
2
 
3
+ ## 1.21.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 94bc1be: RichText didn't render with SSR, now we are loading it with Suspense. see: https://github.com/facebook/lexical/issues/4960
8
+
9
+ ## 1.21.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 32f87dc: The design system was exporting event common tailwind classes, which was causing issues when the css is imported. To fix is now we export only custom classes and remove all tailwind classes from the component files. Also storybook is no longer using tailwind when needs some styles but rather we use inline css.
14
+
3
15
  ## 1.20.1
4
16
 
5
17
  ### Patch Changes