@reshape-biotech/design-system 2.7.41 → 2.7.43

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 (59) hide show
  1. package/base.css +1 -0
  2. package/dist/app.css +5 -121
  3. package/dist/base.css +111 -0
  4. package/dist/components/banner/Banner.svelte +3 -6
  5. package/dist/components/button/Button.svelte +27 -321
  6. package/dist/components/card/CardWrapper.svelte +8 -24
  7. package/dist/components/collapsible/components/collapsible-trigger.svelte +8 -15
  8. package/dist/components/combobox/Combobox.stories.svelte +1 -1
  9. package/dist/components/combobox/components/combobox-add.svelte +3 -19
  10. package/dist/components/combobox/components/combobox-content.svelte +11 -51
  11. package/dist/components/datepicker/DatePicker.stories.svelte +1 -1
  12. package/dist/components/datepicker/DatePicker.svelte +27 -148
  13. package/dist/components/drawer/Drawer.stories.svelte +8 -7
  14. package/dist/components/drawer/Drawer.stories.svelte.d.ts +6 -14
  15. package/dist/components/dropdown/Dropdown.stories.svelte +1 -1
  16. package/dist/components/dropdown/components/dropdown-field-trigger.svelte +1 -1
  17. package/dist/components/dropdown/components/dropdown-item.svelte +3 -2
  18. package/dist/components/dropdown/components/dropdown-sub-trigger.svelte +3 -2
  19. package/dist/components/graphs/line/LineChart.stories.svelte +1 -1
  20. package/dist/components/graphs/matrix/Matrix.svelte +3 -3
  21. package/dist/components/graphs/scatterplot/Scatterplot.svelte +1 -1
  22. package/dist/components/icon-button/IconButton.stories.svelte +16 -16
  23. package/dist/components/icon-button/IconButton.svelte +43 -121
  24. package/dist/components/icons/AnalysisIcon.svelte +12 -29
  25. package/dist/components/icons/PrincipalIcon.svelte +12 -29
  26. package/dist/components/input/Input.svelte +29 -137
  27. package/dist/components/label/Label.stories.svelte +1 -0
  28. package/dist/components/list/List.svelte +15 -41
  29. package/dist/components/manual-cfu-counter/ManualCFUCounter.svelte +4 -4
  30. package/dist/components/multi-cfu-counter/MultiCFUCounter.svelte +4 -4
  31. package/dist/components/nav/Nav.stories.svelte +1 -1
  32. package/dist/components/nav/Nav.svelte +15 -22
  33. package/dist/components/nav/NavItem.svelte +11 -71
  34. package/dist/components/pill/Pill.svelte +4 -13
  35. package/dist/components/progress-circle/ProgressCircle.svelte +11 -22
  36. package/dist/components/segmented-control-buttons/ControlButton.svelte +11 -13
  37. package/dist/components/select/Select.stories.svelte +1 -1
  38. package/dist/components/select/components/SelectTrigger.svelte +1 -1
  39. package/dist/components/skeleton-loader/SkeletonLoader.stories.svelte +1 -0
  40. package/dist/components/slider/Slider.svelte +11 -37
  41. package/dist/components/spinner/Spinner.svelte +3 -3
  42. package/dist/components/status-badge/StatusBadge.svelte +49 -105
  43. package/dist/components/stepper/components/stepper-step.svelte +2 -3
  44. package/dist/components/table/Table.svelte +3 -5
  45. package/dist/components/table/components/Tr.svelte +6 -13
  46. package/dist/components/tabs/components/Tab.svelte +1 -1
  47. package/dist/components/tabs/components/Tabs.svelte +18 -40
  48. package/dist/components/tag/Tag.svelte +4 -8
  49. package/dist/components/textarea/Textarea.stories.svelte +1 -0
  50. package/dist/components/textarea/Textarea.svelte +1 -1
  51. package/dist/components/toggle/Toggle.svelte +17 -22
  52. package/dist/components/typography/Typography.stories.svelte +143 -0
  53. package/dist/components/typography/Typography.stories.svelte.d.ts +18 -0
  54. package/dist/safelist.css +3 -0
  55. package/dist/tailwind-safelist.js +7 -9
  56. package/dist/tailwind.preset.d.ts +28 -513
  57. package/dist/tailwind.preset.js +30 -25
  58. package/package.json +31 -19
  59. package/safelist.css +1 -0
@@ -15,24 +15,8 @@
15
15
  </button>
16
16
 
17
17
  <style>
18
+ @reference "../../../app.css";
18
19
  button {
19
- display: flex;
20
- min-height: 2.5rem;
21
- width: 100%;
22
- cursor: pointer;
23
- align-items: center;
24
- gap: 0.75rem;
25
- border-radius: 0.375rem;
26
- background-color: transparent;
27
- padding: 0.25rem;
28
- padding-left: 0.75rem;
29
- padding-right: 0.75rem;
30
- padding-top: 0.5rem;
31
- padding-bottom: 0.5rem;
32
- font-size: 0.875rem;
33
- line-height: 1.25rem
34
- }
35
- button:hover {
36
- background-color: #12192a0A
37
- }
20
+ @apply flex min-h-10 p-1 w-full cursor-pointer items-center rounded-md px-3 py-2 gap-3 text-sm bg-transparent hover:bg-neutral;
21
+ }
38
22
  </style>
@@ -68,69 +68,29 @@
68
68
  {/if}
69
69
 
70
70
  <style>
71
+ @reference "../../../app.css";
71
72
  :global([data-combobox-content]) {
72
- z-index: 1;
73
- width: 100%;
74
- min-width: 8rem;
75
- border-radius: 0.5rem;
76
- --tw-bg-opacity: 1;
77
- background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
78
- --tw-shadow: 0 4px 20px 0 rgba(18, 25, 42, 0.06), 0 0 0 1px rgba(18, 25, 42, 0.08);
79
- --tw-shadow-colored: 0 4px 20px 0 var(--tw-shadow-color), 0 0 0 1px var(--tw-shadow-color);
80
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
81
- outline: 2px solid transparent;
82
- outline-offset: 2px;
73
+ @apply z-[1] w-full rounded-lg bg-surface shadow-menu outline-none min-w-32;
83
74
  max-height: min(calc(var(--bits-combobox-content-available-height) - 40px), 800px);
84
- }
75
+ }
85
76
 
86
77
  :global([data-combobox-content].match-trigger-width) {
87
78
  width: var(--bits-combobox-anchor-width) !important;
88
79
  }
89
80
 
90
81
  :global([data-combobox-input]) {
91
- min-height: 2.5rem;
92
- width: 100%;
93
- overflow: hidden;
94
- text-overflow: ellipsis;
95
- white-space: nowrap;
96
- background-color: transparent;
97
- padding-left: 0.75rem;
98
- padding-right: 0.75rem;
99
- padding-top: 0.5rem;
100
- padding-bottom: 0.5rem;
101
- font-size: 0.875rem;
102
- line-height: 1.25rem;
103
- outline: 2px solid transparent;
104
- outline-offset: 2px;
105
- }
82
+ @apply w-full bg-transparent px-3 py-2 text-sm outline-none min-h-10 truncate;
83
+ }
106
84
 
107
85
  :global([data-combobox-item]) {
108
- display: flex;
109
- min-height: 2.5rem;
110
- width: 100%;
111
- cursor: pointer;
112
- align-items: center;
113
- justify-content: space-between;
114
- gap: 0.75rem;
115
- border-radius: 0.375rem;
116
- padding-left: 0.75rem;
117
- padding-right: 0.75rem;
118
- font-size: 0.875rem;
119
- line-height: 1.25rem;
120
- }
86
+ @apply flex min-h-10 w-full cursor-pointer items-center justify-between rounded-md px-3 text-sm gap-3;
87
+ }
121
88
 
122
89
  :global([data-combobox-item][data-highlighted]) {
123
- background-color: #12192a0A;
124
- }
90
+ @apply bg-neutral;
91
+ }
125
92
 
126
93
  :global([data-combobox-group-label]) {
127
- padding-left: 0.75rem;
128
- padding-right: 0.75rem;
129
- padding-top: 0.5rem;
130
- padding-bottom: 0.5rem;
131
- font-size: 13px;
132
- font-weight: 500;
133
- --tw-text-opacity: 1;
134
- color: rgb(136 140 148 / var(--tw-text-opacity, 1));
135
- }
94
+ @apply px-3 py-2 text-label font-medium text-tertiary;
95
+ }
136
96
  </style>
@@ -2,7 +2,7 @@
2
2
  import CalendarBlank from 'phosphor-svelte/lib/CalendarBlank';
3
3
  import { Icon } from '../icons/index.js';
4
4
  import { defineMeta } from '@storybook/addon-svelte-csf';
5
- import { userEvent, within } from '@storybook/test';
5
+ import { userEvent, within } from 'storybook/test';
6
6
  import { DateTime } from 'luxon';
7
7
  import DatePicker from './DatePicker.svelte';
8
8
  import * as Dropdown from '../dropdown/index';
@@ -167,178 +167,57 @@
167
167
  </div>
168
168
 
169
169
  <style>
170
+ @reference "../../app.css";
170
171
  .calendar-container {
171
-
172
- display: flex;
173
-
174
- width: 312px
175
- }
172
+ @apply flex w-[312px];
173
+ }
176
174
 
177
175
  .calendar {
178
-
179
- overflow: hidden;
180
-
181
- border-radius: 0.5rem;
182
-
183
- --tw-bg-opacity: 1;
184
-
185
- background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
186
-
187
- padding: 1rem;
188
-
189
- --tw-shadow: 0 4px 20px 0 rgba(18, 25, 42, 0.06), 0 0 0 1px rgba(18, 25, 42, 0.08);
190
-
191
- --tw-shadow-colored: 0 4px 20px 0 var(--tw-shadow-color), 0 0 0 1px var(--tw-shadow-color);
192
-
193
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
194
- }
176
+ @apply overflow-hidden rounded-lg bg-surface p-4 shadow-menu;
177
+ }
195
178
 
196
179
  .month-year {
197
-
198
- display: flex;
199
-
200
- align-items: center;
201
-
202
- justify-content: space-between
203
- }
180
+ @apply flex items-center justify-between;
181
+ }
204
182
 
205
183
  .calendar-body {
206
-
207
- display: flex;
208
-
209
- align-items: center;
210
-
211
- justify-content: space-between;
212
-
213
- overflow-x: auto;
214
-
215
- padding-top: 22px
216
- }
184
+ @apply flex items-center justify-between overflow-x-auto pt-[22px];
185
+ }
217
186
 
218
187
  table {
219
-
220
- margin: 0px;
221
-
222
- width: 100%;
223
-
224
- border-collapse: collapse;
225
-
226
- --tw-border-spacing-x: 0px;
227
-
228
- --tw-border-spacing-y: 0px;
229
-
230
- border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
231
-
232
- padding: 0px
233
- }
188
+ @apply m-0 w-full border-collapse border-spacing-0 p-0;
189
+ }
234
190
 
235
191
  table thead th p {
236
-
237
- text-align: center;
238
-
239
- font-size: 0.75rem;
240
-
241
- line-height: 1rem;
242
-
243
- font-weight: 500;
244
-
245
- --tw-text-opacity: 1;
246
-
247
- color: rgb(136 140 148 / var(--tw-text-opacity, 1))
248
- }
192
+ @apply text-center text-xs font-medium text-tertiary;
193
+ }
249
194
 
250
195
  tr {
251
-
252
- height: 2.5rem;
253
-
254
- border-style: none
255
- }
196
+ @apply h-10 border-none;
197
+ }
256
198
 
257
199
  table th,
258
200
  table td {
259
-
260
- margin: 0px;
261
-
262
- border-style: none;
263
-
264
- padding: 0px
265
- }
201
+ @apply m-0 border-none p-0;
202
+ }
266
203
 
267
204
  .date-container {
268
-
269
- position: relative
270
- }
205
+ @apply relative;
206
+ }
271
207
 
272
208
  .date {
273
-
274
- display: flex;
275
-
276
- height: 2.5rem;
277
-
278
- width: 2.5rem;
279
-
280
- cursor: pointer;
281
-
282
- align-items: center;
283
-
284
- justify-content: center;
285
-
286
- border-radius: 0.5rem;
287
-
288
- font-size: 0.875rem;
289
-
290
- line-height: 1.25rem;
291
-
292
- transition-duration: 150ms
293
- }
294
-
295
- .date:hover {
296
-
297
- background-color: #5750ee1A
298
- }
299
-
300
- .date:focus {
301
-
302
- --tw-bg-opacity: 1;
303
-
304
- background-color: rgb(87 80 238 / var(--tw-bg-opacity, 1));
305
-
306
- --tw-text-opacity: 1;
307
-
308
- color: rgb(255 255 255 / var(--tw-text-opacity, 1))
309
- }
209
+ @apply flex h-10 w-10 cursor-pointer items-center justify-center rounded-lg text-sm duration-150 hover:bg-accent focus:bg-accent-inverse focus:text-primary-inverse;
210
+ }
310
211
 
311
212
  .selected-date {
312
-
313
- --tw-bg-opacity: 1;
314
-
315
- background-color: rgb(87 80 238 / var(--tw-bg-opacity, 1));
316
-
317
- --tw-text-opacity: 1;
318
-
319
- color: rgb(255 255 255 / var(--tw-text-opacity, 1))
320
- }
321
-
322
- .selected-date:hover {
323
-
324
- --tw-bg-opacity: 1;
325
-
326
- background-color: rgb(87 80 238 / var(--tw-bg-opacity, 1))
327
- }
213
+ @apply bg-accent-inverse text-primary-inverse hover:bg-accent-inverse;
214
+ }
328
215
 
329
216
  .current-date-indicator {
330
-
331
- position: absolute;
332
-
333
- left: 18px;
334
-
335
- top: 2rem
336
- }
217
+ @apply absolute left-[18px] top-8;
218
+ }
337
219
 
338
220
  .date button {
339
-
340
- border-style: none;
341
-
342
- background-image: none
343
- }
221
+ @apply border-none bg-none;
222
+ }
344
223
  </style>
@@ -1,4 +1,4 @@
1
- <script context="module">
1
+ <script module lang="ts">
2
2
  import { defineMeta } from '@storybook/addon-svelte-csf';
3
3
  import Button from '../button/Button.svelte';
4
4
  import * as Drawer from './';
@@ -7,6 +7,7 @@
7
7
  const { Story } = defineMeta({
8
8
  title: 'Design System/Drawer',
9
9
  component: Root,
10
+ tags: ['autodocs'],
10
11
  parameters: {
11
12
  layout: 'fullscreen',
12
13
  },
@@ -119,16 +120,16 @@
119
120
  <p>This drawer includes a backdrop overlay.</p>
120
121
  <p>Clicking outside the drawer will close it.</p>
121
122
 
122
- <div class="space-y-3 rounded-lg border border-gray-200 p-4">
123
+ <div class="space-y-3 rounded-lg border border-static p-4">
123
124
  <h3 class="font-semibold">Form Example</h3>
124
125
  <input
125
126
  type="text"
126
127
  placeholder="Enter your name"
127
- class="w-full rounded border border-gray-300 p-2"
128
+ class="w-full rounded border border-input p-2"
128
129
  />
129
130
  <textarea
130
131
  placeholder="Add a comment..."
131
- class="h-24 w-full rounded border border-gray-300 p-2"
132
+ class="h-24 w-full rounded border border-input p-2"
132
133
  ></textarea>
133
134
  </div>
134
135
  </div>
@@ -150,12 +151,12 @@
150
151
  <Button variant="primary">Open Wide Drawer</Button>
151
152
  </Drawer.Trigger>
152
153
 
153
- <Drawer.Content {...defaultArgs} class="!w-[800px]" side="right">
154
+ <Drawer.Content {...defaultArgs} class="w-[800px]!" side="right">
154
155
  <div class="flex h-full flex-col p-5">
155
- <Drawer.Title>Wide Drawer (600px)</Drawer.Title>
156
+ <Drawer.Title>Wide Drawer (800px)</Drawer.Title>
156
157
 
157
158
  <div class="mt-6 flex-1 space-y-4">
158
- <p>This drawer has a custom width of 600px.</p>
159
+ <p>This drawer has a custom width of 800px.</p>
159
160
  <p>Perfect for forms, data tables, or detailed content.</p>
160
161
 
161
162
  <div class="grid grid-cols-2 gap-4">
@@ -1,19 +1,6 @@
1
- export default Drawer;
2
- type Drawer = SvelteComponent<{
3
- [x: string]: never;
4
- }, {
5
- [evt: string]: CustomEvent<any>;
6
- }, {}> & {
7
- $$bindings?: string | undefined;
8
- };
9
- declare const Drawer: $$__sveltets_2_IsomorphicComponent<{
10
- [x: string]: never;
11
- }, {
12
- [evt: string]: CustomEvent<any>;
13
- }, {}, {}, string>;
14
1
  import * as Drawer from './';
15
2
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
16
- new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
17
4
  $$bindings?: Bindings;
18
5
  } & Exports;
19
6
  (internal: unknown, props: {
@@ -25,3 +12,8 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
25
12
  };
26
13
  z_$$bindings?: Bindings;
27
14
  }
15
+ declare const Drawer: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
16
+ [evt: string]: CustomEvent<any>;
17
+ }, {}, {}, string>;
18
+ type Drawer = InstanceType<typeof Drawer>;
19
+ export default Drawer;
@@ -1,6 +1,6 @@
1
1
  <script module lang="ts">
2
2
  import { defineMeta } from '@storybook/addon-svelte-csf';
3
- import { userEvent, within } from '@storybook/test';
3
+ import { userEvent, within } from 'storybook/test';
4
4
  import * as Dropdown from './index';
5
5
 
6
6
  const { Story } = defineMeta({
@@ -6,7 +6,7 @@
6
6
  </script>
7
7
 
8
8
  <DropdownMenu.Trigger
9
- class="flex w-full cursor-pointer items-center gap-1 rounded-lg border-input bg-surface p-3 text-primary shadow-input focus-within:border-focus hover:border-hover disabled:bg-neutral disabled:text-tertiary {className}"
9
+ class="flex w-full cursor-pointer items-center gap-1 rounded-lg border border-input bg-surface p-3 text-primary shadow-input focus-within:border-focus hover:border-hover disabled:bg-neutral disabled:text-tertiary {className}"
10
10
  {...restProps}
11
11
  >
12
12
  {@render children()}
@@ -28,8 +28,9 @@
28
28
  </DropdownMenu.Item>
29
29
 
30
30
  <style>
31
+ @reference "../../../app.css";
31
32
  :global([data-variant="secondary"] .dropdown-item:hover),
32
33
  :global([data-variant="secondary"] .dropdown-item:focus) {
33
- background-color: #FFFFFF0D
34
- }
34
+ @apply bg-neutral-inverse;
35
+ }
35
36
  </style>
@@ -33,8 +33,9 @@
33
33
  </DropdownMenu.SubTrigger>
34
34
 
35
35
  <style>
36
+ @reference "../../../app.css";
36
37
  :global([data-variant="secondary"] .dropdown-sub-trigger:hover),
37
38
  :global([data-variant="secondary"] .dropdown-sub-trigger:focus) {
38
- background-color: #FFFFFF0D
39
- }
39
+ @apply bg-neutral-inverse;
40
+ }
40
41
  </style>
@@ -1,7 +1,7 @@
1
1
  <script module lang="ts">
2
2
  import { defineMeta } from '@storybook/addon-svelte-csf';
3
3
  import type { ECElementEvent } from '../../../echarts-config';
4
- import { within, userEvent } from '@storybook/test';
4
+ import { within, userEvent } from 'storybook/test';
5
5
  import LineChart from './LineChart.svelte';
6
6
 
7
7
  const { Story } = defineMeta({
@@ -91,7 +91,7 @@
91
91
  {#if xAxisName && !hideAxisNames}
92
92
  <!-- 80px is the width of the yAxisName, 72px is the width of the yAxisName, 72px is the yLabels -->
93
93
  <div class="flex w-[calc(100%-72px-72px)] items-center self-end text-center">
94
- <div class="mb-2 inline-block w-full border-b pb-3 text-sm font-normal text-secondary">
94
+ <div class="mb-2 inline-block w-full border-b border-static pb-3 text-sm font-normal text-secondary">
95
95
  {xAxisName}
96
96
  </div>
97
97
  </div>
@@ -99,7 +99,7 @@
99
99
 
100
100
  <div class="flex h-full flex-1 flex-row overflow-hidden">
101
101
  {#if yAxisName && !hideAxisNames}
102
- <div class="mr-2 flex h-[calc(100%)] items-center self-end border-r">
102
+ <div class="mr-2 flex h-[calc(100%)] items-center self-end border-r border-static">
103
103
  <div class="-rotate-90 transform whitespace-nowrap text-sm font-normal text-secondary">
104
104
  {yAxisName}
105
105
  </div>
@@ -122,7 +122,7 @@
122
122
  {#each displayData as row}
123
123
  {#each row as cell}
124
124
  <button
125
- class="m-0.5 flex flex-col items-center justify-center rounded-lg border border p-1 text-center"
125
+ class="m-0.5 flex flex-col items-center justify-center rounded-lg border border-static p-1 text-center"
126
126
  style="background-color: {cell.backgroundColor};"
127
127
  onclick={() => handleCellClick(cell)}
128
128
  onmouseover={() => handleCellHover(cell)}
@@ -351,7 +351,7 @@
351
351
  </Chart>
352
352
  {#if showLegend}
353
353
  <div
354
- class="absolute left-14 top-6 flex h-auto rounded-lg border bg-surface transition-all duration-200"
354
+ class="absolute left-14 top-6 flex h-auto rounded-lg border border-static bg-surface transition-all duration-200"
355
355
  >
356
356
  <div class="ml-1 flex flex-col justify-center p-2">
357
357
  {#each displayedLegendItems as item}
@@ -12,39 +12,39 @@
12
12
 
13
13
  <Story name="Base" asChild>
14
14
  <div class="flex flex-col gap-2">
15
- <IconButton aria-label="Add" variant="primary" />
16
- <IconButton aria-label="Add" variant="secondary" />
17
- <IconButton aria-label="Add" variant="danger" />
18
- <IconButton aria-label="Add" variant="transparent" />
15
+ <IconButton aria-label="Add" variant="primary"><Plus /></IconButton>
16
+ <IconButton aria-label="Add" variant="secondary"><Plus /></IconButton>
17
+ <IconButton aria-label="Add" variant="danger"><Plus /></IconButton>
18
+ <IconButton aria-label="Add" variant="transparent"><Plus /></IconButton>
19
19
  </div>
20
20
  </Story>
21
21
 
22
22
  <Story name="Sizes" asChild>
23
23
  <div class="flex flex-col gap-2">
24
- <IconButton aria-label="Add" variant="secondary" size="xs" />
25
- <IconButton aria-label="Add" variant="secondary" size="sm" />
26
- <IconButton aria-label="Add" variant="secondary" size="md" />
24
+ <IconButton aria-label="Add" variant="secondary" size="xs"><Plus /></IconButton>
25
+ <IconButton aria-label="Add" variant="secondary" size="sm"><Plus /></IconButton>
26
+ <IconButton aria-label="Add" variant="secondary" size="md"><Plus /></IconButton>
27
27
  </div>
28
28
  </Story>
29
29
  <Story name="Not rounded base" asChild>
30
30
  <div class="flex flex-col gap-2">
31
- <IconButton aria-label="Add" variant="primary" rounded={false} />
32
- <IconButton aria-label="Add" variant="secondary" rounded={false} />
33
- <IconButton aria-label="Add" variant="danger" rounded={false} />
34
- <IconButton aria-label="Add" variant="transparent" rounded={false} />
31
+ <IconButton aria-label="Add" variant="primary" rounded={false}><Plus /></IconButton>
32
+ <IconButton aria-label="Add" variant="secondary" rounded={false}><Plus /></IconButton>
33
+ <IconButton aria-label="Add" variant="danger" rounded={false}><Plus /></IconButton>
34
+ <IconButton aria-label="Add" variant="transparent" rounded={false}><Plus /></IconButton>
35
35
  </div>
36
36
  </Story>
37
37
 
38
38
  <Story name="Not rounded sizes" asChild>
39
39
  <div class="flex flex-col gap-2">
40
- <IconButton aria-label="Add" variant="secondary" size="xs" rounded={false} />
41
- <IconButton aria-label="Add" variant="secondary" size="sm" rounded={false} />
42
- <IconButton aria-label="Add" variant="secondary" size="md" rounded={false} />
40
+ <IconButton aria-label="Add" variant="secondary" size="xs" rounded={false}><Plus /></IconButton>
41
+ <IconButton aria-label="Add" variant="secondary" size="sm" rounded={false}><Plus /></IconButton>
42
+ <IconButton aria-label="Add" variant="secondary" size="md" rounded={false}><Plus /></IconButton>
43
43
  </div>
44
44
  </Story>
45
45
  <Story name="Disabled" asChild>
46
- <IconButton aria-label="Add" disabled />
46
+ <IconButton aria-label="Add" disabled><Plus /></IconButton>
47
47
  </Story>
48
48
  <Story name="Loading" asChild>
49
- <IconButton aria-label="Add" loading />
49
+ <IconButton aria-label="Add" loading><Plus /></IconButton>
50
50
  </Story>