@reshape-biotech/design-system 2.7.20 → 2.7.22
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/dist/tailwind-safelist.js +18 -0
- package/package.json +6 -1
|
@@ -97,6 +97,10 @@ export const shadows = [
|
|
|
97
97
|
'shadow-input',
|
|
98
98
|
'shadow-outline',
|
|
99
99
|
'shadow-focus',
|
|
100
|
+
'shadow-sm',
|
|
101
|
+
'shadow-md',
|
|
102
|
+
'shadow-lg',
|
|
103
|
+
'shadow-2xl',
|
|
100
104
|
];
|
|
101
105
|
|
|
102
106
|
export const textSizes = [
|
|
@@ -208,9 +212,11 @@ export const spacing = [
|
|
|
208
212
|
];
|
|
209
213
|
|
|
210
214
|
export const sizing = [
|
|
215
|
+
'h-2.5',
|
|
211
216
|
'h-4',
|
|
212
217
|
'h-5',
|
|
213
218
|
'h-6',
|
|
219
|
+
'!h-6',
|
|
214
220
|
'h-7',
|
|
215
221
|
'h-8',
|
|
216
222
|
'h-10',
|
|
@@ -221,10 +227,14 @@ export const sizing = [
|
|
|
221
227
|
'h-screen',
|
|
222
228
|
'h-full',
|
|
223
229
|
'!h-full',
|
|
230
|
+
'h-1.5',
|
|
224
231
|
'w-0.5',
|
|
232
|
+
'w-1.5',
|
|
233
|
+
'w-2.5',
|
|
225
234
|
'w-4',
|
|
226
235
|
'w-5',
|
|
227
236
|
'w-6',
|
|
237
|
+
'!w-6',
|
|
228
238
|
'w-7',
|
|
229
239
|
'w-8',
|
|
230
240
|
'w-10',
|
|
@@ -260,6 +270,7 @@ export const misc = [
|
|
|
260
270
|
'[&>*]:flex-1',
|
|
261
271
|
'[&>*]:flex-none',
|
|
262
272
|
'[&>*]:!rounded-md',
|
|
273
|
+
'[&>*]:rounded-xl',
|
|
263
274
|
'[&>*>.control-button]:flex-col',
|
|
264
275
|
'data-[highlighted]:bg-neutral',
|
|
265
276
|
'data-[highlighted]:text-accent-foreground',
|
|
@@ -269,6 +280,13 @@ export const misc = [
|
|
|
269
280
|
'[&>svg]:h-4',
|
|
270
281
|
'[&>svg]:w-5',
|
|
271
282
|
'[&>svg]:h-5',
|
|
283
|
+
'ring-1',
|
|
284
|
+
'ring-gray-950/10',
|
|
285
|
+
'translate-y-[2px]',
|
|
286
|
+
'-rotate-90',
|
|
287
|
+
'transform',
|
|
288
|
+
'w-[calc(100%-72px-72px)]',
|
|
289
|
+
'h-[calc(100%-26px)]',
|
|
272
290
|
];
|
|
273
291
|
|
|
274
292
|
// Setting all daisyui classes here so we can add them to the safelist
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reshape-biotech/design-system",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.22",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build",
|
|
@@ -353,6 +353,11 @@
|
|
|
353
353
|
"types": "./dist/tailwind.d.ts",
|
|
354
354
|
"import": "./dist/tailwind.js",
|
|
355
355
|
"default": "./dist/tailwind.js"
|
|
356
|
+
},
|
|
357
|
+
"./tailwind-safelist": {
|
|
358
|
+
"types": "./dist/tailwind-safelist.d.ts",
|
|
359
|
+
"import": "./dist/tailwind-safelist.js",
|
|
360
|
+
"default": "./dist/tailwind-safelist.js"
|
|
356
361
|
}
|
|
357
362
|
},
|
|
358
363
|
"peerDependencies": {
|