@camunda/design-system 0.1.0 → 0.2.0
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/.storybook/CamundaLogo.d.ts +13 -0
- package/dist/.storybook/CamundaLogo.d.ts.map +1 -0
- package/dist/.storybook/CamundaLogo.js +14 -0
- package/dist/.storybook/CamundaLogo.js.map +1 -0
- package/dist/carbon-compat/filterable-multi-select.d.ts +39 -0
- package/dist/carbon-compat/filterable-multi-select.d.ts.map +1 -0
- package/dist/carbon-compat/filterable-multi-select.js +54 -0
- package/dist/carbon-compat/filterable-multi-select.js.map +1 -0
- package/dist/carbon-compat/form.d.ts +5 -0
- package/dist/carbon-compat/form.d.ts.map +1 -0
- package/dist/carbon-compat/form.js +6 -0
- package/dist/carbon-compat/form.js.map +1 -0
- package/dist/carbon-compat/index.d.ts +2 -0
- package/dist/carbon-compat/index.d.ts.map +1 -1
- package/dist/carbon-compat/index.js +2 -0
- package/dist/carbon-compat/index.js.map +1 -1
- package/dist/carbon-compat/multi-select.d.ts +37 -2
- package/dist/carbon-compat/multi-select.d.ts.map +1 -1
- package/dist/carbon-compat/multi-select.js +52 -2
- package/dist/carbon-compat/multi-select.js.map +1 -1
- package/dist/carbon-compat/select.d.ts +3 -3
- package/dist/carbon-compat/select.d.ts.map +1 -1
- package/dist/carbon-compat/select.js +47 -9
- package/dist/carbon-compat/select.js.map +1 -1
- package/dist/src/components/ui/checkbox.d.ts.map +1 -1
- package/dist/src/components/ui/checkbox.js +1 -1
- package/dist/src/components/ui/checkbox.js.map +1 -1
- package/dist/src/components/ui/data-table.d.ts.map +1 -1
- package/dist/src/components/ui/data-table.js +1 -1
- package/dist/src/components/ui/data-table.js.map +1 -1
- package/dist/src/components/ui/file-uploader.d.ts +39 -0
- package/dist/src/components/ui/file-uploader.d.ts.map +1 -0
- package/dist/src/components/ui/file-uploader.js +198 -0
- package/dist/src/components/ui/file-uploader.js.map +1 -0
- package/dist/src/components/ui/multi-select.d.ts +34 -0
- package/dist/src/components/ui/multi-select.d.ts.map +1 -0
- package/dist/src/components/ui/multi-select.js +88 -0
- package/dist/src/components/ui/multi-select.js.map +1 -0
- package/dist/src/components/ui/table.d.ts +1 -1
- package/dist/src/components/ui/table.d.ts.map +1 -1
- package/dist/src/components/ui/table.js +3 -3
- package/dist/src/components/ui/table.js.map +1 -1
- package/dist/src/examples/cost-dashboard/CostBreakdownChart.d.ts +2 -0
- package/dist/src/examples/cost-dashboard/CostBreakdownChart.d.ts.map +1 -0
- package/dist/src/examples/cost-dashboard/CostBreakdownChart.js +18 -0
- package/dist/src/examples/cost-dashboard/CostBreakdownChart.js.map +1 -0
- package/dist/src/examples/cost-dashboard/CostDashboardPage.d.ts +2 -0
- package/dist/src/examples/cost-dashboard/CostDashboardPage.d.ts.map +1 -0
- package/dist/src/examples/cost-dashboard/CostDashboardPage.js +53 -0
- package/dist/src/examples/cost-dashboard/CostDashboardPage.js.map +1 -0
- package/dist/src/examples/cost-dashboard/TrendChart.d.ts +2 -0
- package/dist/src/examples/cost-dashboard/TrendChart.d.ts.map +1 -0
- package/dist/src/examples/cost-dashboard/TrendChart.js +21 -0
- package/dist/src/examples/cost-dashboard/TrendChart.js.map +1 -0
- package/dist/src/examples/cost-dashboard/mock-data.d.ts +34 -0
- package/dist/src/examples/cost-dashboard/mock-data.d.ts.map +1 -0
- package/dist/src/examples/cost-dashboard/mock-data.js +120 -0
- package/dist/src/examples/cost-dashboard/mock-data.js.map +1 -0
- package/dist/src/examples/cost-dashboard/useChartColors.d.ts +10 -0
- package/dist/src/examples/cost-dashboard/useChartColors.d.ts.map +1 -0
- package/dist/src/examples/cost-dashboard/useChartColors.js +20 -0
- package/dist/src/examples/cost-dashboard/useChartColors.js.map +1 -0
- package/dist/src/examples/project-detail/ProjectDetailPage.d.ts +2 -0
- package/dist/src/examples/project-detail/ProjectDetailPage.d.ts.map +1 -0
- package/dist/src/examples/project-detail/ProjectDetailPage.js +68 -0
- package/dist/src/examples/project-detail/ProjectDetailPage.js.map +1 -0
- package/dist/src/examples/project-detail/mock-data.d.ts +38 -0
- package/dist/src/examples/project-detail/mock-data.d.ts.map +1 -0
- package/dist/src/examples/project-detail/mock-data.js +103 -0
- package/dist/src/examples/project-detail/mock-data.js.map +1 -0
- package/dist/src/examples/projects-list/ProjectsListPage.d.ts +4 -0
- package/dist/src/examples/projects-list/ProjectsListPage.d.ts.map +1 -0
- package/dist/src/examples/projects-list/ProjectsListPage.js +45 -0
- package/dist/src/examples/projects-list/ProjectsListPage.js.map +1 -0
- package/dist/src/examples/projects-list/mock-data.d.ts +10 -0
- package/dist/src/examples/projects-list/mock-data.d.ts.map +1 -0
- package/dist/src/examples/projects-list/mock-data.js +83 -0
- package/dist/src/examples/projects-list/mock-data.js.map +1 -0
- package/dist/src/examples/shared/AppShell.d.ts +13 -0
- package/dist/src/examples/shared/AppShell.d.ts.map +1 -0
- package/dist/src/examples/shared/AppShell.js +13 -0
- package/dist/src/examples/shared/AppShell.js.map +1 -0
- package/dist/src/examples/shared/console-nav.d.ts +5 -0
- package/dist/src/examples/shared/console-nav.d.ts.map +1 -0
- package/dist/src/examples/shared/console-nav.js +37 -0
- package/dist/src/examples/shared/console-nav.js.map +1 -0
- package/dist/src/examples/shared/cost-nav.d.ts +5 -0
- package/dist/src/examples/shared/cost-nav.d.ts.map +1 -0
- package/dist/src/examples/shared/cost-nav.js +47 -0
- package/dist/src/examples/shared/cost-nav.js.map +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/specs/schema.d.ts +4 -0
- package/dist/src/specs/schema.d.ts.map +1 -1
- package/dist/styles.css +233 -0
- package/package.json +9 -1
- package/dist/carbon-compat/stories/breadcrumb-skeleton.stories.d.ts +0 -10
- package/dist/carbon-compat/stories/breadcrumb-skeleton.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/breadcrumb-skeleton.stories.js +0 -17
- package/dist/carbon-compat/stories/breadcrumb-skeleton.stories.js.map +0 -1
- package/dist/carbon-compat/stories/breadcrumb.stories.d.ts +0 -6
- package/dist/carbon-compat/stories/breadcrumb.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/breadcrumb.stories.js +0 -11
- package/dist/carbon-compat/stories/breadcrumb.stories.js.map +0 -1
- package/dist/carbon-compat/stories/button.stories.d.ts +0 -13
- package/dist/carbon-compat/stories/button.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/button.stories.js +0 -45
- package/dist/carbon-compat/stories/button.stories.js.map +0 -1
- package/dist/carbon-compat/stories/c3-cluster-tag.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/c3-cluster-tag.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/c3-cluster-tag.stories.js +0 -12
- package/dist/carbon-compat/stories/c3-cluster-tag.stories.js.map +0 -1
- package/dist/carbon-compat/stories/c3-data-table.stories.d.ts +0 -32
- package/dist/carbon-compat/stories/c3-data-table.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/c3-data-table.stories.js +0 -244
- package/dist/carbon-compat/stories/c3-data-table.stories.js.map +0 -1
- package/dist/carbon-compat/stories/c3-responsive-stack.stories.d.ts +0 -9
- package/dist/carbon-compat/stories/c3-responsive-stack.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/c3-responsive-stack.stories.js +0 -28
- package/dist/carbon-compat/stories/c3-responsive-stack.stories.js.map +0 -1
- package/dist/carbon-compat/stories/checkbox-skeleton.stories.d.ts +0 -8
- package/dist/carbon-compat/stories/checkbox-skeleton.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/checkbox-skeleton.stories.js +0 -13
- package/dist/carbon-compat/stories/checkbox-skeleton.stories.js.map +0 -1
- package/dist/carbon-compat/stories/checkbox.stories.d.ts +0 -10
- package/dist/carbon-compat/stories/checkbox.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/checkbox.stories.js +0 -20
- package/dist/carbon-compat/stories/checkbox.stories.js.map +0 -1
- package/dist/carbon-compat/stories/code-snippet.stories.d.ts +0 -9
- package/dist/carbon-compat/stories/code-snippet.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/code-snippet.stories.js +0 -30
- package/dist/carbon-compat/stories/code-snippet.stories.js.map +0 -1
- package/dist/carbon-compat/stories/combo-box.stories.d.ts +0 -8
- package/dist/carbon-compat/stories/combo-box.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/combo-box.stories.js +0 -38
- package/dist/carbon-compat/stories/combo-box.stories.js.map +0 -1
- package/dist/carbon-compat/stories/content-switcher.stories.d.ts +0 -8
- package/dist/carbon-compat/stories/content-switcher.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/content-switcher.stories.js +0 -15
- package/dist/carbon-compat/stories/content-switcher.stories.js.map +0 -1
- package/dist/carbon-compat/stories/data-table-skeleton.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/data-table-skeleton.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/data-table-skeleton.stories.js +0 -37
- package/dist/carbon-compat/stories/data-table-skeleton.stories.js.map +0 -1
- package/dist/carbon-compat/stories/data-table.stories.d.ts +0 -16
- package/dist/carbon-compat/stories/data-table.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/data-table.stories.js +0 -103
- package/dist/carbon-compat/stories/data-table.stories.js.map +0 -1
- package/dist/carbon-compat/stories/dropdown.stories.d.ts +0 -7
- package/dist/carbon-compat/stories/dropdown.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/dropdown.stories.js +0 -23
- package/dist/carbon-compat/stories/dropdown.stories.js.map +0 -1
- package/dist/carbon-compat/stories/icon-button.stories.d.ts +0 -9
- package/dist/carbon-compat/stories/icon-button.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/icon-button.stories.js +0 -29
- package/dist/carbon-compat/stories/icon-button.stories.js.map +0 -1
- package/dist/carbon-compat/stories/link.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/link.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/link.stories.js +0 -24
- package/dist/carbon-compat/stories/link.stories.js.map +0 -1
- package/dist/carbon-compat/stories/loading.stories.d.ts +0 -9
- package/dist/carbon-compat/stories/loading.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/loading.stories.js +0 -22
- package/dist/carbon-compat/stories/loading.stories.js.map +0 -1
- package/dist/carbon-compat/stories/menu-button.stories.d.ts +0 -8
- package/dist/carbon-compat/stories/menu-button.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/menu-button.stories.js +0 -22
- package/dist/carbon-compat/stories/menu-button.stories.js.map +0 -1
- package/dist/carbon-compat/stories/modal.stories.d.ts +0 -8
- package/dist/carbon-compat/stories/modal.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/modal.stories.js +0 -28
- package/dist/carbon-compat/stories/modal.stories.js.map +0 -1
- package/dist/carbon-compat/stories/overflow-menu.stories.d.ts +0 -6
- package/dist/carbon-compat/stories/overflow-menu.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/overflow-menu.stories.js +0 -11
- package/dist/carbon-compat/stories/overflow-menu.stories.js.map +0 -1
- package/dist/carbon-compat/stories/popover.stories.d.ts +0 -6
- package/dist/carbon-compat/stories/popover.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/popover.stories.js +0 -16
- package/dist/carbon-compat/stories/popover.stories.js.map +0 -1
- package/dist/carbon-compat/stories/progress-bar.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/progress-bar.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/progress-bar.stories.js +0 -23
- package/dist/carbon-compat/stories/progress-bar.stories.js.map +0 -1
- package/dist/carbon-compat/stories/radio-button.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/radio-button.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/radio-button.stories.js +0 -25
- package/dist/carbon-compat/stories/radio-button.stories.js.map +0 -1
- package/dist/carbon-compat/stories/search.stories.d.ts +0 -12
- package/dist/carbon-compat/stories/search.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/search.stories.js +0 -31
- package/dist/carbon-compat/stories/search.stories.js.map +0 -1
- package/dist/carbon-compat/stories/select-skeleton.stories.d.ts +0 -8
- package/dist/carbon-compat/stories/select-skeleton.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/select-skeleton.stories.js +0 -13
- package/dist/carbon-compat/stories/select-skeleton.stories.js.map +0 -1
- package/dist/carbon-compat/stories/select.stories.d.ts +0 -7
- package/dist/carbon-compat/stories/select.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/select.stories.js +0 -18
- package/dist/carbon-compat/stories/select.stories.js.map +0 -1
- package/dist/carbon-compat/stories/skeleton-text.stories.d.ts +0 -10
- package/dist/carbon-compat/stories/skeleton-text.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/skeleton-text.stories.js +0 -26
- package/dist/carbon-compat/stories/skeleton-text.stories.js.map +0 -1
- package/dist/carbon-compat/stories/stack.stories.d.ts +0 -17
- package/dist/carbon-compat/stories/stack.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/stack.stories.js +0 -41
- package/dist/carbon-compat/stories/stack.stories.js.map +0 -1
- package/dist/carbon-compat/stories/structured-list-skeleton.stories.d.ts +0 -9
- package/dist/carbon-compat/stories/structured-list-skeleton.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/structured-list-skeleton.stories.js +0 -14
- package/dist/carbon-compat/stories/structured-list-skeleton.stories.js.map +0 -1
- package/dist/carbon-compat/stories/table.stories.d.ts +0 -6
- package/dist/carbon-compat/stories/table.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/table.stories.js +0 -16
- package/dist/carbon-compat/stories/table.stories.js.map +0 -1
- package/dist/carbon-compat/stories/tabs.stories.d.ts +0 -7
- package/dist/carbon-compat/stories/tabs.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/tabs.stories.js +0 -14
- package/dist/carbon-compat/stories/tabs.stories.js.map +0 -1
- package/dist/carbon-compat/stories/tag.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/tag.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/tag.stories.js +0 -46
- package/dist/carbon-compat/stories/tag.stories.js.map +0 -1
- package/dist/carbon-compat/stories/text-area.stories.d.ts +0 -10
- package/dist/carbon-compat/stories/text-area.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/text-area.stories.js +0 -27
- package/dist/carbon-compat/stories/text-area.stories.js.map +0 -1
- package/dist/carbon-compat/stories/text-input.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/text-input.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/text-input.stories.js +0 -30
- package/dist/carbon-compat/stories/text-input.stories.js.map +0 -1
- package/dist/carbon-compat/stories/tile.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/tile.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/tile.stories.js +0 -22
- package/dist/carbon-compat/stories/tile.stories.js.map +0 -1
- package/dist/carbon-compat/stories/toggle.stories.d.ts +0 -11
- package/dist/carbon-compat/stories/toggle.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/toggle.stories.js +0 -23
- package/dist/carbon-compat/stories/toggle.stories.js.map +0 -1
- package/dist/carbon-compat/stories/tooltip.stories.d.ts +0 -7
- package/dist/carbon-compat/stories/tooltip.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/tooltip.stories.js +0 -15
- package/dist/carbon-compat/stories/tooltip.stories.js.map +0 -1
- package/dist/carbon-compat/stories/unordered-list.stories.d.ts +0 -9
- package/dist/carbon-compat/stories/unordered-list.stories.d.ts.map +0 -1
- package/dist/carbon-compat/stories/unordered-list.stories.js +0 -22
- package/dist/carbon-compat/stories/unordered-list.stories.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
--breakpoint-xl: 80rem;
|
|
19
19
|
--container-xs: 20rem;
|
|
20
20
|
--container-sm: 24rem;
|
|
21
|
+
--container-md: 28rem;
|
|
21
22
|
--text-xs: 0.75rem;
|
|
22
23
|
--text-xs--line-height: calc(1 / 0.75);
|
|
23
24
|
--text-sm: 0.875rem;
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
--font-weight-normal: 400;
|
|
37
38
|
--font-weight-medium: 500;
|
|
38
39
|
--font-weight-semibold: 600;
|
|
40
|
+
--tracking-tight: -0.025em;
|
|
39
41
|
--tracking-wide: 0.025em;
|
|
40
42
|
--tracking-widest: 0.1em;
|
|
41
43
|
--leading-snug: 1.375;
|
|
@@ -251,6 +253,12 @@
|
|
|
251
253
|
.mt-4 {
|
|
252
254
|
margin-top: calc(var(--spacing) * 4);
|
|
253
255
|
}
|
|
256
|
+
.mt-6 {
|
|
257
|
+
margin-top: calc(var(--spacing) * 6);
|
|
258
|
+
}
|
|
259
|
+
.mt-12 {
|
|
260
|
+
margin-top: calc(var(--spacing) * 12);
|
|
261
|
+
}
|
|
254
262
|
.mt-auto {
|
|
255
263
|
margin-top: auto;
|
|
256
264
|
}
|
|
@@ -284,6 +292,12 @@
|
|
|
284
292
|
.-ml-0\.5 {
|
|
285
293
|
margin-left: calc(var(--spacing) * -0.5);
|
|
286
294
|
}
|
|
295
|
+
.-ml-px {
|
|
296
|
+
margin-left: -1px;
|
|
297
|
+
}
|
|
298
|
+
.ml-0\.5 {
|
|
299
|
+
margin-left: calc(var(--spacing) * 0.5);
|
|
300
|
+
}
|
|
287
301
|
.ml-1 {
|
|
288
302
|
margin-left: calc(var(--spacing) * 1);
|
|
289
303
|
}
|
|
@@ -339,6 +353,10 @@
|
|
|
339
353
|
width: calc(var(--spacing) * 2);
|
|
340
354
|
height: calc(var(--spacing) * 2);
|
|
341
355
|
}
|
|
356
|
+
.size-2\.5 {
|
|
357
|
+
width: calc(var(--spacing) * 2.5);
|
|
358
|
+
height: calc(var(--spacing) * 2.5);
|
|
359
|
+
}
|
|
342
360
|
.size-3 {
|
|
343
361
|
width: calc(var(--spacing) * 3);
|
|
344
362
|
height: calc(var(--spacing) * 3);
|
|
@@ -379,6 +397,10 @@
|
|
|
379
397
|
width: calc(var(--spacing) * 11);
|
|
380
398
|
height: calc(var(--spacing) * 11);
|
|
381
399
|
}
|
|
400
|
+
.size-12 {
|
|
401
|
+
width: calc(var(--spacing) * 12);
|
|
402
|
+
height: calc(var(--spacing) * 12);
|
|
403
|
+
}
|
|
382
404
|
.size-full {
|
|
383
405
|
width: 100%;
|
|
384
406
|
height: 100%;
|
|
@@ -440,9 +462,15 @@
|
|
|
440
462
|
.h-40 {
|
|
441
463
|
height: calc(var(--spacing) * 40);
|
|
442
464
|
}
|
|
465
|
+
.h-44 {
|
|
466
|
+
height: calc(var(--spacing) * 44);
|
|
467
|
+
}
|
|
443
468
|
.h-56 {
|
|
444
469
|
height: calc(var(--spacing) * 56);
|
|
445
470
|
}
|
|
471
|
+
.h-72 {
|
|
472
|
+
height: calc(var(--spacing) * 72);
|
|
473
|
+
}
|
|
446
474
|
.h-\[32rem\] {
|
|
447
475
|
height: 32rem;
|
|
448
476
|
}
|
|
@@ -482,6 +510,9 @@
|
|
|
482
510
|
.max-h-\[60vh\] {
|
|
483
511
|
max-height: 60vh;
|
|
484
512
|
}
|
|
513
|
+
.min-h-9 {
|
|
514
|
+
min-height: calc(var(--spacing) * 9);
|
|
515
|
+
}
|
|
485
516
|
.min-h-10 {
|
|
486
517
|
min-height: calc(var(--spacing) * 10);
|
|
487
518
|
}
|
|
@@ -497,6 +528,12 @@
|
|
|
497
528
|
.min-h-32 {
|
|
498
529
|
min-height: calc(var(--spacing) * 32);
|
|
499
530
|
}
|
|
531
|
+
.min-h-\[80px\] {
|
|
532
|
+
min-height: 80px;
|
|
533
|
+
}
|
|
534
|
+
.min-h-\[120px\] {
|
|
535
|
+
min-height: 120px;
|
|
536
|
+
}
|
|
500
537
|
.min-h-screen {
|
|
501
538
|
min-height: 100vh;
|
|
502
539
|
}
|
|
@@ -566,6 +603,9 @@
|
|
|
566
603
|
.w-40 {
|
|
567
604
|
width: calc(var(--spacing) * 40);
|
|
568
605
|
}
|
|
606
|
+
.w-44 {
|
|
607
|
+
width: calc(var(--spacing) * 44);
|
|
608
|
+
}
|
|
569
609
|
.w-48 {
|
|
570
610
|
width: calc(var(--spacing) * 48);
|
|
571
611
|
}
|
|
@@ -632,6 +672,9 @@
|
|
|
632
672
|
.max-w-\[calc\(100\%-2rem\)\] {
|
|
633
673
|
max-width: calc(100% - 2rem);
|
|
634
674
|
}
|
|
675
|
+
.max-w-md {
|
|
676
|
+
max-width: var(--container-md);
|
|
677
|
+
}
|
|
635
678
|
.max-w-sm {
|
|
636
679
|
max-width: var(--container-sm);
|
|
637
680
|
}
|
|
@@ -766,6 +809,9 @@
|
|
|
766
809
|
.auto-rows-min {
|
|
767
810
|
grid-auto-rows: min-content;
|
|
768
811
|
}
|
|
812
|
+
.grid-cols-1 {
|
|
813
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
814
|
+
}
|
|
769
815
|
.grid-cols-2 {
|
|
770
816
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
771
817
|
}
|
|
@@ -887,6 +933,25 @@
|
|
|
887
933
|
margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
|
|
888
934
|
}
|
|
889
935
|
}
|
|
936
|
+
.space-y-6 {
|
|
937
|
+
:where(& > :not(:last-child)) {
|
|
938
|
+
--tw-space-y-reverse: 0;
|
|
939
|
+
margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
|
|
940
|
+
margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
.gap-x-5 {
|
|
944
|
+
column-gap: calc(var(--spacing) * 5);
|
|
945
|
+
}
|
|
946
|
+
.gap-x-8 {
|
|
947
|
+
column-gap: calc(var(--spacing) * 8);
|
|
948
|
+
}
|
|
949
|
+
.gap-y-1 {
|
|
950
|
+
row-gap: calc(var(--spacing) * 1);
|
|
951
|
+
}
|
|
952
|
+
.gap-y-2 {
|
|
953
|
+
row-gap: calc(var(--spacing) * 2);
|
|
954
|
+
}
|
|
890
955
|
.divide-x {
|
|
891
956
|
:where(& > :not(:last-child)) {
|
|
892
957
|
--tw-divide-x-reverse: 0;
|
|
@@ -942,6 +1007,9 @@
|
|
|
942
1007
|
.rounded-4xl {
|
|
943
1008
|
border-radius: var(--radius-4xl);
|
|
944
1009
|
}
|
|
1010
|
+
.rounded-\[2px\] {
|
|
1011
|
+
border-radius: 2px;
|
|
1012
|
+
}
|
|
945
1013
|
.rounded-\[4px\] {
|
|
946
1014
|
border-radius: 4px;
|
|
947
1015
|
}
|
|
@@ -981,10 +1049,18 @@
|
|
|
981
1049
|
border-top-left-radius: calc(var(--radius) - 2px);
|
|
982
1050
|
border-bottom-left-radius: calc(var(--radius) - 2px);
|
|
983
1051
|
}
|
|
1052
|
+
.rounded-l-none {
|
|
1053
|
+
border-top-left-radius: 0;
|
|
1054
|
+
border-bottom-left-radius: 0;
|
|
1055
|
+
}
|
|
984
1056
|
.rounded-r-md {
|
|
985
1057
|
border-top-right-radius: calc(var(--radius) - 2px);
|
|
986
1058
|
border-bottom-right-radius: calc(var(--radius) - 2px);
|
|
987
1059
|
}
|
|
1060
|
+
.rounded-r-none {
|
|
1061
|
+
border-top-right-radius: 0;
|
|
1062
|
+
border-bottom-right-radius: 0;
|
|
1063
|
+
}
|
|
988
1064
|
.rounded-b-md {
|
|
989
1065
|
border-bottom-right-radius: calc(var(--radius) - 2px);
|
|
990
1066
|
border-bottom-left-radius: calc(var(--radius) - 2px);
|
|
@@ -1025,6 +1101,10 @@
|
|
|
1025
1101
|
border-left-style: var(--tw-border-style);
|
|
1026
1102
|
border-left-width: 3px;
|
|
1027
1103
|
}
|
|
1104
|
+
.border-dashed {
|
|
1105
|
+
--tw-border-style: dashed;
|
|
1106
|
+
border-style: dashed;
|
|
1107
|
+
}
|
|
1028
1108
|
.border-none {
|
|
1029
1109
|
--tw-border-style: none;
|
|
1030
1110
|
border-style: none;
|
|
@@ -1152,6 +1232,12 @@
|
|
|
1152
1232
|
background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
|
|
1153
1233
|
}
|
|
1154
1234
|
}
|
|
1235
|
+
.bg-destructive\/15 {
|
|
1236
|
+
background-color: var(--destructive);
|
|
1237
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1238
|
+
background-color: color-mix(in oklab, var(--destructive) 15%, transparent);
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1155
1241
|
.bg-destructive\/20 {
|
|
1156
1242
|
background-color: var(--destructive);
|
|
1157
1243
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1167,6 +1253,9 @@
|
|
|
1167
1253
|
background-color: color-mix(in oklab, var(--foreground) 10%, transparent);
|
|
1168
1254
|
}
|
|
1169
1255
|
}
|
|
1256
|
+
.bg-info {
|
|
1257
|
+
background-color: var(--info);
|
|
1258
|
+
}
|
|
1170
1259
|
.bg-info\/10 {
|
|
1171
1260
|
background-color: var(--info);
|
|
1172
1261
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1251,6 +1340,12 @@
|
|
|
1251
1340
|
background-color: color-mix(in oklab, var(--success) 10%, transparent);
|
|
1252
1341
|
}
|
|
1253
1342
|
}
|
|
1343
|
+
.bg-success\/15 {
|
|
1344
|
+
background-color: var(--success);
|
|
1345
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1346
|
+
background-color: color-mix(in oklab, var(--success) 15%, transparent);
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1254
1349
|
.bg-switch-background {
|
|
1255
1350
|
background-color: var(--switch-background);
|
|
1256
1351
|
}
|
|
@@ -1275,15 +1370,48 @@
|
|
|
1275
1370
|
.fill-background {
|
|
1276
1371
|
fill: var(--background);
|
|
1277
1372
|
}
|
|
1373
|
+
.fill-card {
|
|
1374
|
+
fill: var(--card);
|
|
1375
|
+
}
|
|
1278
1376
|
.fill-current {
|
|
1279
1377
|
fill: currentcolor;
|
|
1280
1378
|
}
|
|
1379
|
+
.fill-destructive\/10 {
|
|
1380
|
+
fill: var(--destructive);
|
|
1381
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1382
|
+
fill: color-mix(in oklab, var(--destructive) 10%, transparent);
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1281
1385
|
.fill-foreground {
|
|
1282
1386
|
fill: var(--foreground);
|
|
1283
1387
|
}
|
|
1388
|
+
.fill-info\/10 {
|
|
1389
|
+
fill: var(--info);
|
|
1390
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1391
|
+
fill: color-mix(in oklab, var(--info) 10%, transparent);
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
.fill-muted {
|
|
1395
|
+
fill: var(--muted);
|
|
1396
|
+
}
|
|
1397
|
+
.fill-muted-foreground {
|
|
1398
|
+
fill: var(--muted-foreground);
|
|
1399
|
+
}
|
|
1284
1400
|
.fill-primary {
|
|
1285
1401
|
fill: var(--primary);
|
|
1286
1402
|
}
|
|
1403
|
+
.stroke-border {
|
|
1404
|
+
stroke: var(--border);
|
|
1405
|
+
}
|
|
1406
|
+
.stroke-destructive {
|
|
1407
|
+
stroke: var(--destructive);
|
|
1408
|
+
}
|
|
1409
|
+
.stroke-info {
|
|
1410
|
+
stroke: var(--info);
|
|
1411
|
+
}
|
|
1412
|
+
.stroke-muted-foreground {
|
|
1413
|
+
stroke: var(--muted-foreground);
|
|
1414
|
+
}
|
|
1287
1415
|
.p-0 {
|
|
1288
1416
|
padding: calc(var(--spacing) * 0);
|
|
1289
1417
|
}
|
|
@@ -1383,6 +1511,9 @@
|
|
|
1383
1511
|
.py-6 {
|
|
1384
1512
|
padding-block: calc(var(--spacing) * 6);
|
|
1385
1513
|
}
|
|
1514
|
+
.py-10 {
|
|
1515
|
+
padding-block: calc(var(--spacing) * 10);
|
|
1516
|
+
}
|
|
1386
1517
|
.py-16 {
|
|
1387
1518
|
padding-block: calc(var(--spacing) * 16);
|
|
1388
1519
|
}
|
|
@@ -1398,6 +1529,9 @@
|
|
|
1398
1529
|
.pt-12 {
|
|
1399
1530
|
padding-top: calc(var(--spacing) * 12);
|
|
1400
1531
|
}
|
|
1532
|
+
.pr-0\.5 {
|
|
1533
|
+
padding-right: calc(var(--spacing) * 0.5);
|
|
1534
|
+
}
|
|
1401
1535
|
.pr-1 {
|
|
1402
1536
|
padding-right: calc(var(--spacing) * 1);
|
|
1403
1537
|
}
|
|
@@ -1434,6 +1568,9 @@
|
|
|
1434
1568
|
.pl-2\.5 {
|
|
1435
1569
|
padding-left: calc(var(--spacing) * 2.5);
|
|
1436
1570
|
}
|
|
1571
|
+
.pl-5 {
|
|
1572
|
+
padding-left: calc(var(--spacing) * 5);
|
|
1573
|
+
}
|
|
1437
1574
|
.pl-8 {
|
|
1438
1575
|
padding-left: calc(var(--spacing) * 8);
|
|
1439
1576
|
}
|
|
@@ -1486,6 +1623,15 @@
|
|
|
1486
1623
|
font-size: var(--text-xs);
|
|
1487
1624
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
1488
1625
|
}
|
|
1626
|
+
.text-\[10px\] {
|
|
1627
|
+
font-size: 10px;
|
|
1628
|
+
}
|
|
1629
|
+
.text-\[11px\] {
|
|
1630
|
+
font-size: 11px;
|
|
1631
|
+
}
|
|
1632
|
+
.text-\[12px\] {
|
|
1633
|
+
font-size: 12px;
|
|
1634
|
+
}
|
|
1489
1635
|
.text-\[28px\] {
|
|
1490
1636
|
font-size: 28px;
|
|
1491
1637
|
}
|
|
@@ -1559,6 +1705,10 @@
|
|
|
1559
1705
|
--tw-font-weight: var(--font-weight-semibold);
|
|
1560
1706
|
font-weight: var(--font-weight-semibold);
|
|
1561
1707
|
}
|
|
1708
|
+
.tracking-tight {
|
|
1709
|
+
--tw-tracking: var(--tracking-tight);
|
|
1710
|
+
letter-spacing: var(--tracking-tight);
|
|
1711
|
+
}
|
|
1562
1712
|
.tracking-wide {
|
|
1563
1713
|
--tw-tracking: var(--tracking-wide);
|
|
1564
1714
|
letter-spacing: var(--tracking-wide);
|
|
@@ -1642,6 +1792,9 @@
|
|
|
1642
1792
|
.text-warning {
|
|
1643
1793
|
color: var(--warning);
|
|
1644
1794
|
}
|
|
1795
|
+
.text-warning-foreground {
|
|
1796
|
+
color: var(--warning-foreground);
|
|
1797
|
+
}
|
|
1645
1798
|
.text-white {
|
|
1646
1799
|
color: var(--color-white);
|
|
1647
1800
|
}
|
|
@@ -1682,6 +1835,9 @@
|
|
|
1682
1835
|
.opacity-50 {
|
|
1683
1836
|
opacity: 50%;
|
|
1684
1837
|
}
|
|
1838
|
+
.opacity-60 {
|
|
1839
|
+
opacity: 60%;
|
|
1840
|
+
}
|
|
1685
1841
|
.opacity-70 {
|
|
1686
1842
|
opacity: 70%;
|
|
1687
1843
|
}
|
|
@@ -2124,6 +2280,13 @@
|
|
|
2124
2280
|
}
|
|
2125
2281
|
}
|
|
2126
2282
|
}
|
|
2283
|
+
.hover\:border-primary {
|
|
2284
|
+
&:hover {
|
|
2285
|
+
@media (hover: hover) {
|
|
2286
|
+
border-color: var(--primary);
|
|
2287
|
+
}
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2127
2290
|
.hover\:bg-accent {
|
|
2128
2291
|
&:hover {
|
|
2129
2292
|
@media (hover: hover) {
|
|
@@ -2348,6 +2511,13 @@
|
|
|
2348
2511
|
}
|
|
2349
2512
|
}
|
|
2350
2513
|
}
|
|
2514
|
+
.hover\:opacity-100 {
|
|
2515
|
+
&:hover {
|
|
2516
|
+
@media (hover: hover) {
|
|
2517
|
+
opacity: 100%;
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2351
2521
|
.hover\:shadow-md {
|
|
2352
2522
|
&:hover {
|
|
2353
2523
|
@media (hover: hover) {
|
|
@@ -2485,6 +2655,12 @@
|
|
|
2485
2655
|
text-decoration-line: underline;
|
|
2486
2656
|
}
|
|
2487
2657
|
}
|
|
2658
|
+
.focus-visible\:ring-1 {
|
|
2659
|
+
&:focus-visible {
|
|
2660
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2661
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2488
2664
|
.focus-visible\:ring-2 {
|
|
2489
2665
|
&:focus-visible {
|
|
2490
2666
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -2772,6 +2948,11 @@
|
|
|
2772
2948
|
height: calc(var(--spacing) * 8);
|
|
2773
2949
|
}
|
|
2774
2950
|
}
|
|
2951
|
+
.data-\[size\=sm\]\:min-h-8 {
|
|
2952
|
+
&[data-size="sm"] {
|
|
2953
|
+
min-height: calc(var(--spacing) * 8);
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2775
2956
|
.data-\[size\=sm\]\:gap-3 {
|
|
2776
2957
|
&[data-size="sm"] {
|
|
2777
2958
|
gap: calc(var(--spacing) * 3);
|
|
@@ -2956,6 +3137,11 @@
|
|
|
2956
3137
|
max-width: var(--container-sm);
|
|
2957
3138
|
}
|
|
2958
3139
|
}
|
|
3140
|
+
.sm\:grid-cols-3 {
|
|
3141
|
+
@media (width >= 40rem) {
|
|
3142
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
2959
3145
|
.sm\:flex-row {
|
|
2960
3146
|
@media (width >= 40rem) {
|
|
2961
3147
|
flex-direction: row;
|
|
@@ -2976,6 +3162,11 @@
|
|
|
2976
3162
|
display: none;
|
|
2977
3163
|
}
|
|
2978
3164
|
}
|
|
3165
|
+
.md\:grid-cols-4 {
|
|
3166
|
+
@media (width >= 48rem) {
|
|
3167
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
2979
3170
|
.md\:grid-cols-8 {
|
|
2980
3171
|
@media (width >= 48rem) {
|
|
2981
3172
|
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
@@ -2992,6 +3183,11 @@
|
|
|
2992
3183
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
2993
3184
|
}
|
|
2994
3185
|
}
|
|
3186
|
+
.lg\:col-span-2 {
|
|
3187
|
+
@media (width >= 64rem) {
|
|
3188
|
+
grid-column: span 2 / span 2;
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
2995
3191
|
.lg\:col-span-4 {
|
|
2996
3192
|
@media (width >= 64rem) {
|
|
2997
3193
|
grid-column: span 4 / span 4;
|
|
@@ -3007,11 +3203,31 @@
|
|
|
3007
3203
|
display: flex;
|
|
3008
3204
|
}
|
|
3009
3205
|
}
|
|
3206
|
+
.lg\:w-80 {
|
|
3207
|
+
@media (width >= 64rem) {
|
|
3208
|
+
width: calc(var(--spacing) * 80);
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
.lg\:grid-cols-3 {
|
|
3212
|
+
@media (width >= 64rem) {
|
|
3213
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
3214
|
+
}
|
|
3215
|
+
}
|
|
3216
|
+
.lg\:grid-cols-4 {
|
|
3217
|
+
@media (width >= 64rem) {
|
|
3218
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3219
|
+
}
|
|
3220
|
+
}
|
|
3010
3221
|
.lg\:grid-cols-16 {
|
|
3011
3222
|
@media (width >= 64rem) {
|
|
3012
3223
|
grid-template-columns: repeat(16, minmax(0, 1fr));
|
|
3013
3224
|
}
|
|
3014
3225
|
}
|
|
3226
|
+
.lg\:flex-row {
|
|
3227
|
+
@media (width >= 64rem) {
|
|
3228
|
+
flex-direction: row;
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3015
3231
|
.dark\:border-input {
|
|
3016
3232
|
&:is(.dark *) {
|
|
3017
3233
|
border-color: var(--input);
|
|
@@ -3357,6 +3573,23 @@
|
|
|
3357
3573
|
color: var(--muted-foreground);
|
|
3358
3574
|
}
|
|
3359
3575
|
}
|
|
3576
|
+
.\[\&_\[data-slot\=table-container\]\]\:rounded-none {
|
|
3577
|
+
& [data-slot=table-container] {
|
|
3578
|
+
border-radius: 0;
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
.\[\&_\[data-slot\=table-container\]\]\:border-0 {
|
|
3582
|
+
& [data-slot=table-container] {
|
|
3583
|
+
border-style: var(--tw-border-style);
|
|
3584
|
+
border-width: 0px;
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
.\[\&_\[data-slot\=table-container\]\]\:shadow-none {
|
|
3588
|
+
& [data-slot=table-container] {
|
|
3589
|
+
--tw-shadow: 0 0 #0000;
|
|
3590
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3591
|
+
}
|
|
3592
|
+
}
|
|
3360
3593
|
.\[\&_svg\]\:pointer-events-none {
|
|
3361
3594
|
& svg {
|
|
3362
3595
|
pointer-events: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Camunda's AI-first design system. shadcn + Tailwind components, design tokens aligned to Camunda's identity, and AI tooling for component authoring + migration.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -24,6 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"./styles.css": "./dist/styles.css"
|
|
26
26
|
},
|
|
27
|
+
"typesVersions": {
|
|
28
|
+
"*": {
|
|
29
|
+
"carbon-compat": [
|
|
30
|
+
"./dist/carbon-compat/index.d.ts"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
27
34
|
"files": [
|
|
28
35
|
"dist",
|
|
29
36
|
"README.md",
|
|
@@ -123,6 +130,7 @@
|
|
|
123
130
|
"react": "19.2.6",
|
|
124
131
|
"react-docgen-typescript": "2.4.0",
|
|
125
132
|
"react-dom": "19.2.6",
|
|
133
|
+
"recharts": "^3.8.1",
|
|
126
134
|
"remark-gfm": "^4.0.1",
|
|
127
135
|
"rimraf": "6.1.3",
|
|
128
136
|
"storybook": "10.4.1",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
-
import { BreadcrumbSkeleton } from "../breadcrumb-skeleton";
|
|
3
|
-
declare const meta: Meta<typeof BreadcrumbSkeleton>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof BreadcrumbSkeleton>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Small: Story;
|
|
8
|
-
export declare const FiveItems: Story;
|
|
9
|
-
export declare const NoTrailingSlash: Story;
|
|
10
|
-
//# sourceMappingURL=breadcrumb-skeleton.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb-skeleton.stories.d.ts","sourceRoot":"","sources":["../../../carbon-compat/stories/breadcrumb-skeleton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,kBAAkB,CASzC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AACjC,eAAO,MAAM,KAAK,EAAE,KAAgC,CAAC;AACrD,eAAO,MAAM,SAAS,EAAE,KAA8B,CAAC;AACvD,eAAO,MAAM,eAAe,EAAE,KAA2C,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbSkeleton } from "../breadcrumb-skeleton";
|
|
2
|
-
const meta = {
|
|
3
|
-
title: "Carbon Compat/BreadcrumbSkeleton",
|
|
4
|
-
component: BreadcrumbSkeleton,
|
|
5
|
-
argTypes: {
|
|
6
|
-
items: { control: { type: "number", min: 1, max: 8 } },
|
|
7
|
-
size: { control: "inline-radio", options: ["sm", "md"] },
|
|
8
|
-
noTrailingSlash: { control: "boolean" },
|
|
9
|
-
},
|
|
10
|
-
args: { items: 3, size: "md", noTrailingSlash: false },
|
|
11
|
-
};
|
|
12
|
-
export default meta;
|
|
13
|
-
export const Default = {};
|
|
14
|
-
export const Small = { args: { size: "sm" } };
|
|
15
|
-
export const FiveItems = { args: { items: 5 } };
|
|
16
|
-
export const NoTrailingSlash = { args: { noTrailingSlash: true } };
|
|
17
|
-
//# sourceMappingURL=breadcrumb-skeleton.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb-skeleton.stories.js","sourceRoot":"","sources":["../../../carbon-compat/stories/breadcrumb-skeleton.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,IAAI,GAAoC;IAC5C,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,kBAAkB;IAC7B,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE;QACtD,IAAI,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE;QACxD,eAAe,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;KACxC;IACD,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE;CACvD,CAAC;AACF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU,EAAE,CAAC;AACjC,MAAM,CAAC,MAAM,KAAK,GAAU,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC;AACrD,MAAM,CAAC,MAAM,SAAS,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;AACvD,MAAM,CAAC,MAAM,eAAe,GAAU,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../carbon-compat/stories/breadcrumb.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAEtB,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Breadcrumb, BreadcrumbItem } from "../breadcrumb";
|
|
3
|
-
const meta = {
|
|
4
|
-
title: "Carbon Compat/Breadcrumb",
|
|
5
|
-
component: Breadcrumb,
|
|
6
|
-
};
|
|
7
|
-
export default meta;
|
|
8
|
-
export const Default = {
|
|
9
|
-
render: () => (_jsxs(Breadcrumb, { children: [_jsx(BreadcrumbItem, { href: "/", children: "Home" }), _jsx(BreadcrumbItem, { href: "/processes", children: "Processes" }), _jsx(BreadcrumbItem, { isCurrentPage: true, children: "My Process" })] })),
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=breadcrumb.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.stories.js","sourceRoot":"","sources":["../../../carbon-compat/stories/breadcrumb.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3D,MAAM,IAAI,GAAS;IACjB,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,UAAU;CACtB,CAAC;AACF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,MAAC,UAAU,eACT,KAAC,cAAc,IAAC,IAAI,EAAC,GAAG,qBAAsB,EAC9C,KAAC,cAAc,IAAC,IAAI,EAAC,YAAY,0BAA2B,EAC5D,KAAC,cAAc,IAAC,aAAa,iCAA4B,IAC9C,CACd;CACF,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
-
import { Button } from "../button";
|
|
3
|
-
declare const meta: Meta<typeof Button>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Button>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Secondary: Story;
|
|
8
|
-
export declare const Tertiary: Story;
|
|
9
|
-
export declare const Ghost: Story;
|
|
10
|
-
export declare const Danger: Story;
|
|
11
|
-
export declare const AllKinds: Story;
|
|
12
|
-
export declare const Sizes: Story;
|
|
13
|
-
//# sourceMappingURL=button.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.stories.d.ts","sourceRoot":"","sources":["../../../carbon-compat/stories/button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA2B7B,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AACjC,eAAO,MAAM,SAAS,EAAE,KAAuC,CAAC;AAChE,eAAO,MAAM,QAAQ,EAAE,KAAsC,CAAC;AAC9D,eAAO,MAAM,KAAK,EAAE,KAAmC,CAAC;AACxD,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAYtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "../button";
|
|
3
|
-
const meta = {
|
|
4
|
-
title: "Carbon Compat/Button",
|
|
5
|
-
component: Button,
|
|
6
|
-
argTypes: {
|
|
7
|
-
kind: {
|
|
8
|
-
control: "inline-radio",
|
|
9
|
-
options: [
|
|
10
|
-
"primary",
|
|
11
|
-
"secondary",
|
|
12
|
-
"tertiary",
|
|
13
|
-
"ghost",
|
|
14
|
-
"danger",
|
|
15
|
-
"danger--tertiary",
|
|
16
|
-
"danger--ghost",
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
size: {
|
|
20
|
-
control: "inline-radio",
|
|
21
|
-
options: ["sm", "md", "lg", "xl", "2xl"],
|
|
22
|
-
},
|
|
23
|
-
disabled: { control: "boolean" },
|
|
24
|
-
},
|
|
25
|
-
args: {
|
|
26
|
-
kind: "primary",
|
|
27
|
-
size: "md",
|
|
28
|
-
children: "Create workspace",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
export default meta;
|
|
32
|
-
export const Primary = {};
|
|
33
|
-
export const Secondary = { args: { kind: "secondary" } };
|
|
34
|
-
export const Tertiary = { args: { kind: "tertiary" } };
|
|
35
|
-
export const Ghost = { args: { kind: "ghost" } };
|
|
36
|
-
export const Danger = {
|
|
37
|
-
args: { kind: "danger", children: "Delete workspace" },
|
|
38
|
-
};
|
|
39
|
-
export const AllKinds = {
|
|
40
|
-
render: () => (_jsx("div", { className: "flex flex-wrap gap-2", children: ["primary", "secondary", "tertiary", "ghost", "danger"].map((kind) => (_jsx(Button, { kind: kind, children: kind }, kind))) })),
|
|
41
|
-
};
|
|
42
|
-
export const Sizes = {
|
|
43
|
-
render: () => (_jsx("div", { className: "flex items-center gap-2", children: ["sm", "md", "lg", "xl", "2xl"].map((size) => (_jsx(Button, { size: size, children: size }, size))) })),
|
|
44
|
-
};
|
|
45
|
-
//# sourceMappingURL=button.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.stories.js","sourceRoot":"","sources":["../../../carbon-compat/stories/button.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,IAAI,GAAwB;IAChC,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,OAAO,EAAE,cAAc;YACvB,OAAO,EAAE;gBACP,SAAS;gBACT,WAAW;gBACX,UAAU;gBACV,OAAO;gBACP,QAAQ;gBACR,kBAAkB;gBAClB,eAAe;aAChB;SACF;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,cAAc;YACvB,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC;SACzC;QACD,QAAQ,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE;KACjC;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,kBAAkB;KAC7B;CACF,CAAC;AACF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU,EAAE,CAAC;AACjC,MAAM,CAAC,MAAM,SAAS,GAAU,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,CAAC;AAChE,MAAM,CAAC,MAAM,QAAQ,GAAU,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,CAAC;AAC9D,MAAM,CAAC,MAAM,KAAK,GAAU,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC;AACxD,MAAM,CAAC,MAAM,MAAM,GAAU;IAC3B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,kBAAkB,EAAE;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,cAAK,SAAS,EAAC,sBAAsB,YACjC,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,CAAW,CAAC,GAAG,CACrE,CAAC,IAAI,EAAE,EAAE,CAAC,CACR,KAAC,MAAM,IAAY,IAAI,EAAE,IAAI,YAC1B,IAAI,IADM,IAAI,CAER,CACV,CACF,GACG,CACP;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAU;IAC1B,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,cAAK,SAAS,EAAC,yBAAyB,YACpC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,CAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACxD,KAAC,MAAM,IAAY,IAAI,EAAE,IAAI,YAC1B,IAAI,IADM,IAAI,CAER,CACV,CAAC,GACE,CACP;CACF,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
-
import { C3ClusterTag } from "../c3-cluster-tag";
|
|
3
|
-
declare const meta: Meta<typeof C3ClusterTag>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof C3ClusterTag>;
|
|
6
|
-
export declare const Dev: Story;
|
|
7
|
-
export declare const Test: Story;
|
|
8
|
-
export declare const Stage: Story;
|
|
9
|
-
export declare const Prod: Story;
|
|
10
|
-
export declare const Subtle: Story;
|
|
11
|
-
//# sourceMappingURL=c3-cluster-tag.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"c3-cluster-tag.stories.d.ts","sourceRoot":"","sources":["../../../carbon-compat/stories/c3-cluster-tag.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAGnC,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,eAAO,MAAM,GAAG,EAAE,KAAkC,CAAC;AACrD,eAAO,MAAM,IAAI,EAAE,KAAmC,CAAC;AACvD,eAAO,MAAM,KAAK,EAAE,KAAoC,CAAC;AACzD,eAAO,MAAM,IAAI,EAAE,KAAmC,CAAC;AACvD,eAAO,MAAM,MAAM,EAAE,KAAiD,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { C3ClusterTag } from "../c3-cluster-tag";
|
|
2
|
-
const meta = {
|
|
3
|
-
title: "Carbon Compat/C3ClusterTag",
|
|
4
|
-
component: C3ClusterTag,
|
|
5
|
-
};
|
|
6
|
-
export default meta;
|
|
7
|
-
export const Dev = { args: { stage: "dev" } };
|
|
8
|
-
export const Test = { args: { stage: "test" } };
|
|
9
|
-
export const Stage = { args: { stage: "stage" } };
|
|
10
|
-
export const Prod = { args: { stage: "prod" } };
|
|
11
|
-
export const Subtle = { args: { stage: "prod", subtle: true } };
|
|
12
|
-
//# sourceMappingURL=c3-cluster-tag.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"c3-cluster-tag.stories.js","sourceRoot":"","sources":["../../../carbon-compat/stories/c3-cluster-tag.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,IAAI,GAA8B;IACtC,KAAK,EAAE,4BAA4B;IACnC,SAAS,EAAE,YAAY;CACxB,CAAC;AACF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,GAAG,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC;AACrD,MAAM,CAAC,MAAM,IAAI,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;AACvD,MAAM,CAAC,MAAM,KAAK,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC;AACzD,MAAM,CAAC,MAAM,IAAI,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;AACvD,MAAM,CAAC,MAAM,MAAM,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC"}
|