@reshape-biotech/design-system 0.0.30 → 0.0.31

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.
@@ -17,4 +17,5 @@ export const sizing: string[];
17
17
  export const positioning: string[];
18
18
  export const cursors: string[];
19
19
  export const misc: string[];
20
+ export const daisyui: string[];
20
21
  export const safelist: string[];
@@ -204,6 +204,162 @@ export const misc = [
204
204
  '[&>svg]:h-5'
205
205
  ];
206
206
 
207
+ // Setting all daisyui classes here so we can add them to the safelist
208
+ export const daisyui = [
209
+ // Actions
210
+ 'btn',
211
+ 'btn-primary',
212
+ 'btn-secondary',
213
+ 'btn-accent',
214
+ 'btn-info',
215
+ 'btn-success',
216
+ 'btn-warning',
217
+ 'btn-error',
218
+ 'btn-ghost',
219
+ 'btn-link',
220
+ 'btn-outline',
221
+ 'btn-active',
222
+ 'btn-disabled',
223
+ 'btn-lg',
224
+ 'btn-md',
225
+ 'btn-sm',
226
+ 'btn-xs',
227
+ 'btn-circle',
228
+ 'btn-square',
229
+
230
+ // Dropdown
231
+ 'dropdown',
232
+ 'dropdown-content',
233
+ 'dropdown-end',
234
+ 'dropdown-top',
235
+ 'dropdown-bottom',
236
+ 'dropdown-left',
237
+ 'dropdown-right',
238
+ 'dropdown-hover',
239
+ 'dropdown-open',
240
+
241
+ // Modal
242
+ 'modal',
243
+ 'modal-box',
244
+ 'modal-action',
245
+ 'modal-backdrop',
246
+ 'modal-open',
247
+ 'modal-toggle',
248
+
249
+ // Data Display
250
+ 'avatar',
251
+ 'avatar-group',
252
+ 'badge',
253
+ 'badge-primary',
254
+ 'badge-secondary',
255
+ 'badge-accent',
256
+ 'badge-outline',
257
+ 'card',
258
+ 'card-title',
259
+ 'card-body',
260
+ 'card-actions',
261
+ 'carousel',
262
+ 'carousel-item',
263
+ 'collapse',
264
+ 'collapse-title',
265
+ 'collapse-content',
266
+ 'table',
267
+ 'table-zebra',
268
+ 'table-pin-rows',
269
+ 'table-pin-cols',
270
+
271
+ // Navigation
272
+ 'menu',
273
+ 'menu-title',
274
+ 'menu-dropdown',
275
+ 'menu-horizontal',
276
+ 'menu-vertical',
277
+ 'navbar',
278
+ 'navbar-start',
279
+ 'navbar-center',
280
+ 'navbar-end',
281
+ 'tabs',
282
+ 'tab',
283
+ 'tab-active',
284
+ 'tab-disabled',
285
+
286
+ // Feedback
287
+ 'alert',
288
+ 'alert-info',
289
+ 'alert-success',
290
+ 'alert-warning',
291
+ 'alert-error',
292
+ 'loading',
293
+ 'skeleton',
294
+ 'progress',
295
+ 'radial-progress',
296
+ 'toast',
297
+ 'toast-start',
298
+ 'toast-center',
299
+ 'toast-end',
300
+ 'tooltip',
301
+ 'tooltip-open',
302
+
303
+ // Data Input
304
+ 'checkbox',
305
+ 'checkbox-primary',
306
+ 'checkbox-secondary',
307
+ 'checkbox-accent',
308
+ 'input',
309
+ 'input-bordered',
310
+ 'input-primary',
311
+ 'input-secondary',
312
+ 'input-accent',
313
+ 'input-error',
314
+ 'input-disabled',
315
+ 'input-lg',
316
+ 'input-md',
317
+ 'input-sm',
318
+ 'input-xs',
319
+ 'radio',
320
+ 'radio-primary',
321
+ 'radio-secondary',
322
+ 'radio-accent',
323
+ 'range',
324
+ 'range-primary',
325
+ 'range-secondary',
326
+ 'range-accent',
327
+ 'select',
328
+ 'select-bordered',
329
+ 'select-primary',
330
+ 'select-secondary',
331
+ 'select-accent',
332
+ 'toggle',
333
+ 'toggle-primary',
334
+ 'toggle-secondary',
335
+ 'toggle-accent',
336
+
337
+ // Layout
338
+ 'drawer',
339
+ 'drawer-toggle',
340
+ 'drawer-content',
341
+ 'drawer-side',
342
+ 'drawer-overlay',
343
+ 'drawer-end',
344
+ 'footer',
345
+ 'footer-title',
346
+ 'footer-center',
347
+ 'hero',
348
+ 'hero-content',
349
+ 'hero-overlay',
350
+ 'indicator',
351
+ 'indicator-item',
352
+ 'indicator-start',
353
+ 'indicator-center',
354
+ 'indicator-end',
355
+ 'divider',
356
+ 'divider-horizontal',
357
+ 'divider-vertical',
358
+ 'join',
359
+ 'join-item',
360
+ 'stack'
361
+ ];
362
+
207
363
  // Export all arrays as a single safelist
208
364
  export const safelist = [
209
365
  ...textColors,
@@ -224,5 +380,6 @@ export const safelist = [
224
380
  ...sizing,
225
381
  ...positioning,
226
382
  ...cursors,
227
- ...misc
383
+ ...misc,
384
+ ...daisyui
228
385
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reshape-biotech/design-system",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",