@crystallize/design-system 1.16.2 → 1.16.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,11 @@
1
1
  # @crystallize/design-system
2
2
 
3
+ ## 1.16.3
4
+
5
+ ### Patch Changes
6
+
7
+ - dfe2f9d: Fix button stlyes for xs-button and storybook for all buttons
8
+
3
9
  ## 1.16.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.css CHANGED
@@ -935,13 +935,15 @@ button {
935
935
  }
936
936
  .c-btn-xs {
937
937
  height: 1.5rem;
938
- padding-top: 0.5rem;
939
- padding-bottom: 0.5rem;
940
938
  padding-left: 1rem;
941
939
  padding-right: 1rem;
940
+ padding-top: 0.5rem;
941
+ padding-bottom: 0.5rem;
942
+ font-size: 12px;
943
+ line-height: 0;
942
944
  }
943
945
  .c-btn-xs .c-btn__loading-spinner {
944
- left: 3px;
946
+ left: 2px;
945
947
  }
946
948
  .c-btn-sm {
947
949
  height: 2.25rem;
package/dist/index.js CHANGED
@@ -167,6 +167,11 @@ var buttonStyles = (0, import_class_variance_authority2.cva)("c-btn", {
167
167
  intent: "danger",
168
168
  variant: "elevate",
169
169
  class: "c-btn-danger c-btn-elevate"
170
+ },
171
+ {
172
+ intent: "action",
173
+ variant: "elevate",
174
+ class: "c-btn-action c-btn-elevate"
170
175
  }
171
176
  ],
172
177
  defaultVariants: {
package/dist/index.mjs CHANGED
@@ -107,6 +107,11 @@ var buttonStyles = cva("c-btn", {
107
107
  intent: "danger",
108
108
  variant: "elevate",
109
109
  class: "c-btn-danger c-btn-elevate"
110
+ },
111
+ {
112
+ intent: "action",
113
+ variant: "elevate",
114
+ class: "c-btn-action c-btn-elevate"
110
115
  }
111
116
  ],
112
117
  defaultVariants: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystallize/design-system",
3
- "version": "1.16.2",
3
+ "version": "1.16.3",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -92,10 +92,10 @@
92
92
  }
93
93
 
94
94
  .c-btn-xs {
95
- @apply h-6 py-2 px-4;
95
+ @apply h-6 px-4 py-2 text-[12px] leading-[0];
96
96
 
97
97
  .c-btn__loading-spinner {
98
- @apply left-[3px];
98
+ @apply left-[2px];
99
99
  }
100
100
  }
101
101
 
@@ -65,6 +65,11 @@ const buttonStyles = cva('c-btn', {
65
65
  variant: 'elevate',
66
66
  class: 'c-btn-danger c-btn-elevate',
67
67
  },
68
+ {
69
+ intent: 'action',
70
+ variant: 'elevate',
71
+ class: 'c-btn-action c-btn-elevate',
72
+ },
68
73
  ],
69
74
  defaultVariants: {
70
75
  intent: 'default',