@camunda/design-system 0.2.0 → 0.3.1
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/carbon-compat/breadcrumb-skeleton.js +1 -1
- package/dist/carbon-compat/breadcrumb.js +2 -2
- package/dist/carbon-compat/button.js +2 -2
- package/dist/carbon-compat/c3-cluster-tag.js +2 -2
- package/dist/carbon-compat/c3-data-table.js +9 -9
- package/dist/carbon-compat/c3-responsive-stack.js +1 -1
- package/dist/carbon-compat/checkbox-skeleton.js +1 -1
- package/dist/carbon-compat/checkbox.js +2 -2
- package/dist/carbon-compat/code-snippet.js +1 -1
- package/dist/carbon-compat/combo-box.js +3 -3
- package/dist/carbon-compat/content-switcher.js +2 -2
- package/dist/carbon-compat/data-table-skeleton.js +1 -1
- package/dist/carbon-compat/data-table.d.ts +1 -1
- package/dist/carbon-compat/data-table.js +2 -2
- package/dist/carbon-compat/dropdown.js +2 -2
- package/dist/carbon-compat/filterable-multi-select.js +2 -2
- package/dist/carbon-compat/icon-button.js +3 -3
- package/dist/carbon-compat/index.d.ts +67 -66
- package/dist/carbon-compat/index.d.ts.map +1 -1
- package/dist/carbon-compat/index.js +67 -66
- package/dist/carbon-compat/index.js.map +1 -1
- package/dist/carbon-compat/link.js +1 -1
- package/dist/carbon-compat/loading.js +1 -1
- package/dist/carbon-compat/menu-button.js +3 -3
- package/dist/carbon-compat/modal.js +4 -4
- package/dist/carbon-compat/multi-select.js +2 -2
- package/dist/carbon-compat/overflow-menu.js +3 -3
- package/dist/carbon-compat/popover.js +2 -2
- package/dist/carbon-compat/progress-bar.js +2 -2
- package/dist/carbon-compat/radio-button.js +2 -2
- package/dist/carbon-compat/search.js +2 -2
- package/dist/carbon-compat/select-skeleton.js +1 -1
- package/dist/carbon-compat/select.js +2 -2
- package/dist/carbon-compat/skeleton-text.js +1 -1
- package/dist/carbon-compat/stack.js +1 -1
- package/dist/carbon-compat/structured-list-skeleton.js +1 -1
- package/dist/carbon-compat/switch.js +2 -2
- package/dist/carbon-compat/table-batch-actions.js +2 -2
- package/dist/carbon-compat/table-container.js +1 -1
- package/dist/carbon-compat/table-expand.js +2 -2
- package/dist/carbon-compat/table-select.js +2 -2
- package/dist/carbon-compat/table-toolbar.js +3 -3
- package/dist/carbon-compat/table.js +2 -2
- package/dist/carbon-compat/tabs.js +2 -2
- package/dist/carbon-compat/tag.js +2 -2
- package/dist/carbon-compat/text-area.js +2 -2
- package/dist/carbon-compat/text-input.js +2 -2
- package/dist/carbon-compat/tile.js +2 -2
- package/dist/carbon-compat/time-picker.d.ts +8 -0
- package/dist/carbon-compat/time-picker.d.ts.map +1 -0
- package/dist/carbon-compat/time-picker.js +24 -0
- package/dist/carbon-compat/time-picker.js.map +1 -0
- package/dist/carbon-compat/toggle.js +2 -2
- package/dist/carbon-compat/tooltip.js +2 -2
- package/dist/carbon-compat/unordered-list.js +1 -1
- package/dist/src/components/ui/alert-dialog.js +3 -3
- package/dist/src/components/ui/app-header.js +3 -3
- package/dist/src/components/ui/app-sidebar.js +5 -5
- package/dist/src/components/ui/badge.js +1 -1
- package/dist/src/components/ui/breadcrumb.js +1 -1
- package/dist/src/components/ui/button.js +1 -1
- package/dist/src/components/ui/card.js +1 -1
- package/dist/src/components/ui/checkbox.js +1 -1
- package/dist/src/components/ui/command.js +1 -1
- package/dist/src/components/ui/data-table.js +6 -6
- package/dist/src/components/ui/dialog.js +3 -3
- package/dist/src/components/ui/dropdown.js +2 -2
- package/dist/src/components/ui/file-uploader.js +2 -2
- package/dist/src/components/ui/input.js +1 -1
- package/dist/src/components/ui/label.js +1 -1
- package/dist/src/components/ui/multi-select.d.ts.map +1 -1
- package/dist/src/components/ui/multi-select.js +6 -6
- package/dist/src/components/ui/multi-select.js.map +1 -1
- package/dist/src/components/ui/nav-breadcrumb.js +3 -3
- package/dist/src/components/ui/popover.js +2 -2
- package/dist/src/components/ui/progress.js +1 -1
- package/dist/src/components/ui/radio-group.js +1 -1
- package/dist/src/components/ui/scroll-area.js +1 -1
- package/dist/src/components/ui/select.js +2 -2
- package/dist/src/components/ui/separator.js +1 -1
- package/dist/src/components/ui/sheet.js +3 -3
- package/dist/src/components/ui/sidebar-provider.d.ts +1 -1
- package/dist/src/components/ui/sidebar-provider.js +2 -2
- package/dist/src/components/ui/stepper.js +1 -1
- package/dist/src/components/ui/switch.js +1 -1
- package/dist/src/components/ui/table.js +1 -1
- package/dist/src/components/ui/tabs.js +1 -1
- package/dist/src/components/ui/textarea.js +1 -1
- package/dist/src/components/ui/toggle-group.d.ts +1 -1
- package/dist/src/components/ui/toggle-group.js +2 -2
- package/dist/src/components/ui/toggle.js +1 -1
- package/dist/src/components/ui/tooltip.js +2 -2
- package/dist/src/components/ui/tree-view.js +2 -2
- package/dist/src/examples/cost-dashboard/CostBreakdownChart.js +2 -2
- package/dist/src/examples/cost-dashboard/CostDashboardPage.js +6 -6
- package/dist/src/examples/cost-dashboard/TrendChart.js +2 -2
- package/dist/src/examples/project-detail/ProjectDetailPage.js +4 -4
- package/dist/src/examples/projects-list/ProjectsListPage.js +4 -4
- package/dist/src/examples/shared/AppShell.d.ts +1 -1
- package/dist/src/examples/shared/AppShell.js +2 -2
- package/dist/src/examples/shared/console-nav.d.ts +1 -1
- package/dist/src/examples/shared/console-nav.js +1 -1
- package/dist/src/examples/shared/cost-nav.d.ts +1 -1
- package/dist/src/examples/shared/cost-nav.js +1 -1
- package/dist/src/hooks/use-is-mobile.js +1 -1
- package/dist/src/index.d.ts +41 -41
- package/dist/src/index.js +39 -39
- package/dist/styles.css +3 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment } from "react";
|
|
3
|
-
import { cn } from "../src/lib/utils";
|
|
3
|
+
import { cn } from "../src/lib/utils.js";
|
|
4
4
|
function BreadcrumbSkeleton({ items = 3, noTrailingSlash, size = "md", className, ...rest }) {
|
|
5
5
|
const lineHeight = size === "sm" ? "h-3" : "h-4";
|
|
6
6
|
return (_jsx("div", { "data-slot": "carbon-compat-breadcrumb-skeleton", className: cn("flex items-center gap-2", className), ...rest, children: Array.from({ length: items }).map((_, i) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Breadcrumb as ShadcnBreadcrumb, BreadcrumbItem as ShadcnBreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, } from '../src/components/ui/breadcrumb';
|
|
4
|
-
import { warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { Breadcrumb as ShadcnBreadcrumb, BreadcrumbItem as ShadcnBreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, } from '../src/components/ui/breadcrumb.js';
|
|
4
|
+
import { warnDroppedProps } from '../src/lib/utils.js';
|
|
5
5
|
function Breadcrumb(props) {
|
|
6
6
|
const { children, className, noTrailingSlash, 'aria-label': ariaLabel, ...rest } = props;
|
|
7
7
|
warnDroppedProps('Breadcrumb', { noTrailingSlash });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Button as ShadcnButton } from '../src/components/ui/button';
|
|
4
|
-
import { warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { Button as ShadcnButton } from '../src/components/ui/button.js';
|
|
4
|
+
import { warnDroppedProps } from '../src/lib/utils.js';
|
|
5
5
|
const KIND_TO_VARIANT = {
|
|
6
6
|
primary: 'default',
|
|
7
7
|
secondary: 'secondary',
|
|
@@ -12,8 +12,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
12
12
|
* themselves before passing it. Worth revisiting once we have a clearer
|
|
13
13
|
* picture of how many consumer sites use which form.
|
|
14
14
|
*/
|
|
15
|
-
import { Badge } from "../src/components/ui/badge";
|
|
16
|
-
import { cn, warnDroppedProps } from "../src/lib/utils";
|
|
15
|
+
import { Badge } from "../src/components/ui/badge.js";
|
|
16
|
+
import { cn, warnDroppedProps } from "../src/lib/utils.js";
|
|
17
17
|
export const StageClusterLabels = {
|
|
18
18
|
dev: "dev",
|
|
19
19
|
test: "test",
|
|
@@ -26,15 +26,15 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
26
26
|
*/
|
|
27
27
|
import * as React from "react";
|
|
28
28
|
import { ChevronDown, SearchIcon } from "lucide-react";
|
|
29
|
-
import { Button } from "../src/components/ui/button";
|
|
30
|
-
import { Checkbox } from "../src/components/ui/checkbox";
|
|
31
|
-
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "../src/components/ui/command";
|
|
32
|
-
import { DataTable, } from "../src/components/ui/data-table";
|
|
33
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "../src/components/ui/dropdown";
|
|
34
|
-
import { Input } from "../src/components/ui/input";
|
|
35
|
-
import { Popover, PopoverContent, PopoverTrigger, } from "../src/components/ui/popover";
|
|
36
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "../src/components/ui/select";
|
|
37
|
-
import { cn, renderIconNode, warnDroppedProps } from "../src/lib/utils";
|
|
29
|
+
import { Button } from "../src/components/ui/button.js";
|
|
30
|
+
import { Checkbox } from "../src/components/ui/checkbox.js";
|
|
31
|
+
import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "../src/components/ui/command.js";
|
|
32
|
+
import { DataTable, } from "../src/components/ui/data-table.js";
|
|
33
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "../src/components/ui/dropdown.js";
|
|
34
|
+
import { Input } from "../src/components/ui/input.js";
|
|
35
|
+
import { Popover, PopoverContent, PopoverTrigger, } from "../src/components/ui/popover.js";
|
|
36
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "../src/components/ui/select.js";
|
|
37
|
+
import { cn, renderIconNode, warnDroppedProps } from "../src/lib/utils.js";
|
|
38
38
|
// ── Helpers ──────────────────────────────────────────────────────────────
|
|
39
39
|
const KIND_TO_VARIANT = {
|
|
40
40
|
primary: "default",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../src/lib/utils";
|
|
2
|
+
import { cn } from "../src/lib/utils.js";
|
|
3
3
|
function CheckboxSkeleton({ className, ...rest }) {
|
|
4
4
|
// Visual: Carbon's actual CheckboxSkeleton renders only a label stripe.
|
|
5
5
|
// We render a small square + label stripe — the square reads as a
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Checkbox as ShadcnCheckbox } from '../src/components/ui/checkbox';
|
|
4
|
-
import { cn, warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { Checkbox as ShadcnCheckbox } from '../src/components/ui/checkbox.js';
|
|
4
|
+
import { cn, warnDroppedProps } from '../src/lib/utils.js';
|
|
5
5
|
function Checkbox(props) {
|
|
6
6
|
const { id, labelText, checked, defaultChecked, indeterminate, onChange, disabled, className, helperText, invalid, invalidText, warn, warnText, readOnly, hideLabel, title, ...rest } = props;
|
|
7
7
|
warnDroppedProps('Checkbox', { helperText, invalid, invalidText, warn, warnText, readOnly, hideLabel });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useVirtualizer } from "@tanstack/react-virtual";
|
|
4
|
-
import { Popover, PopoverContent, PopoverTrigger, } from "../src/components/ui/popover";
|
|
5
|
-
import { cn } from "../src/lib/utils";
|
|
6
|
-
import { warnDroppedProps } from "../src/lib/utils";
|
|
4
|
+
import { Popover, PopoverContent, PopoverTrigger, } from "../src/components/ui/popover.js";
|
|
5
|
+
import { cn } from "../src/lib/utils.js";
|
|
6
|
+
import { warnDroppedProps } from "../src/lib/utils.js";
|
|
7
7
|
const ITEM_HEIGHT = 32;
|
|
8
8
|
const MAX_LIST_HEIGHT = 256;
|
|
9
9
|
function defaultItemToString(item) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { ToggleGroup } from "../src/components/ui/toggle-group";
|
|
4
|
-
import { cn, warnDroppedProps } from "../src/lib/utils";
|
|
3
|
+
import { ToggleGroup } from "../src/components/ui/toggle-group.js";
|
|
4
|
+
import { cn, warnDroppedProps } from "../src/lib/utils.js";
|
|
5
5
|
/**
|
|
6
6
|
* ContentSwitcher — Carbon-shaped adapter wrapping shadcn `ToggleGroup`
|
|
7
7
|
* in single-select mode.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../src/lib/utils";
|
|
2
|
+
import { cn } from "../src/lib/utils.js";
|
|
3
3
|
/**
|
|
4
4
|
* DataTableSkeleton — Carbon-shaped adapter that renders a table-shaped
|
|
5
5
|
* placeholder using Tailwind `animate-pulse`. Useful while real row
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* corresponding DS DataTable props directly on this adapter.
|
|
20
20
|
*/
|
|
21
21
|
import * as React from "react";
|
|
22
|
-
import { type DataTableProps as DSDataTableProps } from "../src/components/ui/data-table";
|
|
22
|
+
import { type DataTableProps as DSDataTableProps } from "../src/components/ui/data-table.js";
|
|
23
23
|
export interface DataTableRow {
|
|
24
24
|
id: string;
|
|
25
25
|
[key: string]: unknown;
|
|
@@ -20,8 +20,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
20
20
|
* corresponding DS DataTable props directly on this adapter.
|
|
21
21
|
*/
|
|
22
22
|
import * as React from "react";
|
|
23
|
-
import { DataTable as DSDataTable, } from "../src/components/ui/data-table";
|
|
24
|
-
import { warnDroppedProps } from "../src/lib/utils";
|
|
23
|
+
import { DataTable as DSDataTable, } from "../src/components/ui/data-table.js";
|
|
24
|
+
import { warnDroppedProps } from "../src/lib/utils.js";
|
|
25
25
|
const SIZE_MAP = {
|
|
26
26
|
xs: "sm",
|
|
27
27
|
sm: "sm",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '../src/components/ui/select';
|
|
4
|
-
import { warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '../src/components/ui/select.js';
|
|
4
|
+
import { warnDroppedProps } from '../src/lib/utils.js';
|
|
5
5
|
function getItemKey(item, index) {
|
|
6
6
|
if (item && typeof item === 'object') {
|
|
7
7
|
const id = item.id;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { warnDroppedProps } from "../src/lib/utils";
|
|
4
|
-
import { MultiSelect } from "../src/components/ui/multi-select";
|
|
3
|
+
import { warnDroppedProps } from "../src/lib/utils.js";
|
|
4
|
+
import { MultiSelect } from "../src/components/ui/multi-select.js";
|
|
5
5
|
function defaultItemToString(item) {
|
|
6
6
|
if (item == null)
|
|
7
7
|
return "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Button } from '../src/components/ui/button';
|
|
4
|
-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from '../src/components/ui/tooltip';
|
|
5
|
-
import { warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { Button } from '../src/components/ui/button.js';
|
|
4
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from '../src/components/ui/tooltip.js';
|
|
5
|
+
import { warnDroppedProps } from '../src/lib/utils.js';
|
|
6
6
|
const KIND_TO_VARIANT = {
|
|
7
7
|
primary: 'default',
|
|
8
8
|
secondary: 'secondary',
|
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
export * from "./breadcrumb";
|
|
2
|
-
export * from "./breadcrumb-skeleton";
|
|
3
|
-
export * from "./button";
|
|
4
|
-
export * from "./c3-cluster-tag";
|
|
5
|
-
export * from "./c3-data-table";
|
|
6
|
-
export * from "./c3-responsive-stack";
|
|
7
|
-
export * from "./checkbox";
|
|
8
|
-
export * from "./checkbox-skeleton";
|
|
9
|
-
export * from "./code-snippet";
|
|
10
|
-
export * from "./combo-box";
|
|
11
|
-
export * from "./content-switcher";
|
|
12
|
-
export * from "./data-table-skeleton";
|
|
13
|
-
export * from "./dropdown";
|
|
14
|
-
export * from "./icon-button";
|
|
15
|
-
export * from "./link";
|
|
16
|
-
export * from "./loading";
|
|
17
|
-
export * from "./menu-button";
|
|
18
|
-
export * from "./modal";
|
|
19
|
-
export * from "./overflow-menu";
|
|
20
|
-
export * from "./popover";
|
|
21
|
-
export * from "./progress-bar";
|
|
22
|
-
export * from "./radio-button";
|
|
23
|
-
export * from "./search";
|
|
24
|
-
export * from "./select";
|
|
25
|
-
export * from "./select-skeleton";
|
|
26
|
-
export * from "./skeleton-text";
|
|
27
|
-
export * from "./stack";
|
|
28
|
-
export * from "./structured-list-skeleton";
|
|
29
|
-
export * from "./switch";
|
|
30
|
-
export * from "./table";
|
|
31
|
-
export * from "./tabs";
|
|
32
|
-
export * from "./tag";
|
|
33
|
-
export * from "./text-area";
|
|
34
|
-
export * from "./text-input";
|
|
35
|
-
export * from "./tile";
|
|
36
|
-
export * from "./
|
|
37
|
-
export * from "./
|
|
38
|
-
export * from "./
|
|
39
|
-
export * from "./
|
|
40
|
-
export * from "./
|
|
41
|
-
export * from "./
|
|
42
|
-
export * from "./
|
|
43
|
-
export * from "./
|
|
44
|
-
export * from "./
|
|
45
|
-
export * from "./
|
|
46
|
-
export * from "./
|
|
47
|
-
export * from "./
|
|
48
|
-
export * from "./
|
|
49
|
-
export * from "./inline-
|
|
50
|
-
export * from "./
|
|
51
|
-
export * from "./
|
|
52
|
-
export * from "./
|
|
53
|
-
export * from "./
|
|
54
|
-
export * from "./
|
|
55
|
-
export * from "./
|
|
56
|
-
export * from "./
|
|
57
|
-
export * from "./
|
|
58
|
-
export * from "./
|
|
59
|
-
export * from "./
|
|
60
|
-
export * from "./
|
|
61
|
-
export * from "./table-
|
|
62
|
-
export * from "./table-
|
|
63
|
-
export * from "./table-
|
|
64
|
-
export * from "./table-
|
|
65
|
-
export * from "./
|
|
66
|
-
export * from "./
|
|
1
|
+
export * from "./breadcrumb.js";
|
|
2
|
+
export * from "./breadcrumb-skeleton.js";
|
|
3
|
+
export * from "./button.js";
|
|
4
|
+
export * from "./c3-cluster-tag.js";
|
|
5
|
+
export * from "./c3-data-table.js";
|
|
6
|
+
export * from "./c3-responsive-stack.js";
|
|
7
|
+
export * from "./checkbox.js";
|
|
8
|
+
export * from "./checkbox-skeleton.js";
|
|
9
|
+
export * from "./code-snippet.js";
|
|
10
|
+
export * from "./combo-box.js";
|
|
11
|
+
export * from "./content-switcher.js";
|
|
12
|
+
export * from "./data-table-skeleton.js";
|
|
13
|
+
export * from "./dropdown.js";
|
|
14
|
+
export * from "./icon-button.js";
|
|
15
|
+
export * from "./link.js";
|
|
16
|
+
export * from "./loading.js";
|
|
17
|
+
export * from "./menu-button.js";
|
|
18
|
+
export * from "./modal.js";
|
|
19
|
+
export * from "./overflow-menu.js";
|
|
20
|
+
export * from "./popover.js";
|
|
21
|
+
export * from "./progress-bar.js";
|
|
22
|
+
export * from "./radio-button.js";
|
|
23
|
+
export * from "./search.js";
|
|
24
|
+
export * from "./select.js";
|
|
25
|
+
export * from "./select-skeleton.js";
|
|
26
|
+
export * from "./skeleton-text.js";
|
|
27
|
+
export * from "./stack.js";
|
|
28
|
+
export * from "./structured-list-skeleton.js";
|
|
29
|
+
export * from "./switch.js";
|
|
30
|
+
export * from "./table.js";
|
|
31
|
+
export * from "./tabs.js";
|
|
32
|
+
export * from "./tag.js";
|
|
33
|
+
export * from "./text-area.js";
|
|
34
|
+
export * from "./text-input.js";
|
|
35
|
+
export * from "./tile.js";
|
|
36
|
+
export * from "./time-picker.js";
|
|
37
|
+
export * from "./toggle.js";
|
|
38
|
+
export * from "./tooltip.js";
|
|
39
|
+
export * from "./unordered-list.js";
|
|
40
|
+
export * from "./actionable-notification.js";
|
|
41
|
+
export * from "./callout.js";
|
|
42
|
+
export * from "./column.js";
|
|
43
|
+
export * from "./contained-list.js";
|
|
44
|
+
export * from "./data-table.js";
|
|
45
|
+
export * from "./date-picker.js";
|
|
46
|
+
export * from "./grid.js";
|
|
47
|
+
export * from "./header.js";
|
|
48
|
+
export * from "./heading.js";
|
|
49
|
+
export * from "./inline-loading.js";
|
|
50
|
+
export * from "./inline-notification.js";
|
|
51
|
+
export * from "./layer.js";
|
|
52
|
+
export * from "./filterable-multi-select.js";
|
|
53
|
+
export * from "./form.js";
|
|
54
|
+
export * from "./multi-select.js";
|
|
55
|
+
export * from "./ordered-list.js";
|
|
56
|
+
export * from "./pagination.js";
|
|
57
|
+
export * from "./password-input.js";
|
|
58
|
+
export * from "./section.js";
|
|
59
|
+
export * from "./skeleton-icon.js";
|
|
60
|
+
export * from "./structured-list.js";
|
|
61
|
+
export * from "./table-batch-actions.js";
|
|
62
|
+
export * from "./table-container.js";
|
|
63
|
+
export * from "./table-expand.js";
|
|
64
|
+
export * from "./table-select.js";
|
|
65
|
+
export * from "./table-toolbar.js";
|
|
66
|
+
export * from "./toast-notification.js";
|
|
67
|
+
export * from "./tree-view.js";
|
|
67
68
|
//# source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-compat"
|
|
8
8
|
// is misnomer-but-pragmatic; revisit if the team grows).
|
|
9
9
|
// ────────────────────────────────────────────────────────────────────────
|
|
10
|
-
export * from "./breadcrumb";
|
|
11
|
-
export * from "./breadcrumb-skeleton";
|
|
12
|
-
export * from "./button";
|
|
13
|
-
export * from "./c3-cluster-tag";
|
|
14
|
-
export * from "./c3-data-table";
|
|
15
|
-
export * from "./c3-responsive-stack";
|
|
16
|
-
export * from "./checkbox";
|
|
17
|
-
export * from "./checkbox-skeleton";
|
|
18
|
-
export * from "./code-snippet";
|
|
19
|
-
export * from "./combo-box";
|
|
20
|
-
export * from "./content-switcher";
|
|
21
|
-
export * from "./data-table-skeleton";
|
|
22
|
-
export * from "./dropdown";
|
|
23
|
-
export * from "./icon-button";
|
|
24
|
-
export * from "./link";
|
|
25
|
-
export * from "./loading";
|
|
26
|
-
export * from "./menu-button";
|
|
27
|
-
export * from "./modal";
|
|
28
|
-
export * from "./overflow-menu";
|
|
29
|
-
export * from "./popover";
|
|
30
|
-
export * from "./progress-bar";
|
|
31
|
-
export * from "./radio-button";
|
|
32
|
-
export * from "./search";
|
|
33
|
-
export * from "./select";
|
|
34
|
-
export * from "./select-skeleton";
|
|
35
|
-
export * from "./skeleton-text";
|
|
36
|
-
export * from "./stack";
|
|
37
|
-
export * from "./structured-list-skeleton";
|
|
38
|
-
export * from "./switch";
|
|
39
|
-
export * from "./table";
|
|
40
|
-
export * from "./tabs";
|
|
41
|
-
export * from "./tag";
|
|
42
|
-
export * from "./text-area";
|
|
43
|
-
export * from "./text-input";
|
|
44
|
-
export * from "./tile";
|
|
45
|
-
export * from "./
|
|
46
|
-
export * from "./
|
|
47
|
-
export * from "./
|
|
10
|
+
export * from "./breadcrumb.js";
|
|
11
|
+
export * from "./breadcrumb-skeleton.js";
|
|
12
|
+
export * from "./button.js";
|
|
13
|
+
export * from "./c3-cluster-tag.js";
|
|
14
|
+
export * from "./c3-data-table.js";
|
|
15
|
+
export * from "./c3-responsive-stack.js";
|
|
16
|
+
export * from "./checkbox.js";
|
|
17
|
+
export * from "./checkbox-skeleton.js";
|
|
18
|
+
export * from "./code-snippet.js";
|
|
19
|
+
export * from "./combo-box.js";
|
|
20
|
+
export * from "./content-switcher.js";
|
|
21
|
+
export * from "./data-table-skeleton.js";
|
|
22
|
+
export * from "./dropdown.js";
|
|
23
|
+
export * from "./icon-button.js";
|
|
24
|
+
export * from "./link.js";
|
|
25
|
+
export * from "./loading.js";
|
|
26
|
+
export * from "./menu-button.js";
|
|
27
|
+
export * from "./modal.js";
|
|
28
|
+
export * from "./overflow-menu.js";
|
|
29
|
+
export * from "./popover.js";
|
|
30
|
+
export * from "./progress-bar.js";
|
|
31
|
+
export * from "./radio-button.js";
|
|
32
|
+
export * from "./search.js";
|
|
33
|
+
export * from "./select.js";
|
|
34
|
+
export * from "./select-skeleton.js";
|
|
35
|
+
export * from "./skeleton-text.js";
|
|
36
|
+
export * from "./stack.js";
|
|
37
|
+
export * from "./structured-list-skeleton.js";
|
|
38
|
+
export * from "./switch.js";
|
|
39
|
+
export * from "./table.js";
|
|
40
|
+
export * from "./tabs.js";
|
|
41
|
+
export * from "./tag.js";
|
|
42
|
+
export * from "./text-area.js";
|
|
43
|
+
export * from "./text-input.js";
|
|
44
|
+
export * from "./tile.js";
|
|
45
|
+
export * from "./time-picker.js";
|
|
46
|
+
export * from "./toggle.js";
|
|
47
|
+
export * from "./tooltip.js";
|
|
48
|
+
export * from "./unordered-list.js";
|
|
48
49
|
// ────────────────────────────────────────────────────────────────────────
|
|
49
50
|
// Shims — Carbon API re-exported unchanged. Promote to a real adapter
|
|
50
51
|
// when a shadcn target exists or when one of the trivial-HTML
|
|
51
52
|
// promotions is worth doing.
|
|
52
53
|
// ────────────────────────────────────────────────────────────────────────
|
|
53
|
-
export * from "./actionable-notification";
|
|
54
|
-
export * from "./callout";
|
|
55
|
-
export * from "./column";
|
|
56
|
-
export * from "./contained-list";
|
|
57
|
-
export * from "./data-table";
|
|
58
|
-
export * from "./date-picker";
|
|
59
|
-
export * from "./grid";
|
|
60
|
-
export * from "./header";
|
|
61
|
-
export * from "./heading";
|
|
62
|
-
export * from "./inline-loading";
|
|
63
|
-
export * from "./inline-notification";
|
|
64
|
-
export * from "./layer";
|
|
65
|
-
export * from "./filterable-multi-select";
|
|
66
|
-
export * from "./form";
|
|
67
|
-
export * from "./multi-select";
|
|
68
|
-
export * from "./ordered-list";
|
|
69
|
-
export * from "./pagination";
|
|
70
|
-
export * from "./password-input";
|
|
71
|
-
export * from "./section";
|
|
72
|
-
export * from "./skeleton-icon";
|
|
73
|
-
export * from "./structured-list";
|
|
74
|
-
export * from "./table-batch-actions";
|
|
75
|
-
export * from "./table-container";
|
|
76
|
-
export * from "./table-expand";
|
|
77
|
-
export * from "./table-select";
|
|
78
|
-
export * from "./table-toolbar";
|
|
79
|
-
export * from "./toast-notification";
|
|
80
|
-
export * from "./tree-view";
|
|
54
|
+
export * from "./actionable-notification.js";
|
|
55
|
+
export * from "./callout.js";
|
|
56
|
+
export * from "./column.js";
|
|
57
|
+
export * from "./contained-list.js";
|
|
58
|
+
export * from "./data-table.js";
|
|
59
|
+
export * from "./date-picker.js";
|
|
60
|
+
export * from "./grid.js";
|
|
61
|
+
export * from "./header.js";
|
|
62
|
+
export * from "./heading.js";
|
|
63
|
+
export * from "./inline-loading.js";
|
|
64
|
+
export * from "./inline-notification.js";
|
|
65
|
+
export * from "./layer.js";
|
|
66
|
+
export * from "./filterable-multi-select.js";
|
|
67
|
+
export * from "./form.js";
|
|
68
|
+
export * from "./multi-select.js";
|
|
69
|
+
export * from "./ordered-list.js";
|
|
70
|
+
export * from "./pagination.js";
|
|
71
|
+
export * from "./password-input.js";
|
|
72
|
+
export * from "./section.js";
|
|
73
|
+
export * from "./skeleton-icon.js";
|
|
74
|
+
export * from "./structured-list.js";
|
|
75
|
+
export * from "./table-batch-actions.js";
|
|
76
|
+
export * from "./table-container.js";
|
|
77
|
+
export * from "./table-expand.js";
|
|
78
|
+
export * from "./table-select.js";
|
|
79
|
+
export * from "./table-toolbar.js";
|
|
80
|
+
export * from "./toast-notification.js";
|
|
81
|
+
export * from "./tree-view.js";
|
|
81
82
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../carbon-compat/index.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,+DAA+D;AAC/D,EAAE;AACF,oDAAoD;AACpD,wEAAwE;AACxE,qEAAqE;AACrE,qEAAqE;AACrE,yDAAyD;AACzD,2EAA2E;AAC3E,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAA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AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Loader2 } from "lucide-react";
|
|
3
|
-
import { cn, warnDroppedProps } from "../src/lib/utils";
|
|
3
|
+
import { cn, warnDroppedProps } from "../src/lib/utils.js";
|
|
4
4
|
/**
|
|
5
5
|
* Loading — Carbon-shaped adapter that renders a spinning indicator
|
|
6
6
|
* using lucide's `Loader2` icon + Tailwind animation.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ChevronDownIcon } from 'lucide-react';
|
|
4
|
-
import { Button } from '../src/components/ui/button';
|
|
5
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from '../src/components/ui/dropdown';
|
|
6
|
-
import { warnDroppedProps } from '../src/lib/utils';
|
|
4
|
+
import { Button } from '../src/components/ui/button.js';
|
|
5
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from '../src/components/ui/dropdown.js';
|
|
6
|
+
import { warnDroppedProps } from '../src/lib/utils.js';
|
|
7
7
|
const KIND_TO_VARIANT = {
|
|
8
8
|
primary: 'default',
|
|
9
9
|
tertiary: 'outline',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from '../src/components/ui/alert-dialog';
|
|
4
|
-
import { Button, buttonVariants } from '../src/components/ui/button';
|
|
5
|
-
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle, } from '../src/components/ui/dialog';
|
|
6
|
-
import { cn, warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from '../src/components/ui/alert-dialog.js';
|
|
4
|
+
import { Button, buttonVariants } from '../src/components/ui/button.js';
|
|
5
|
+
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle, } from '../src/components/ui/dialog.js';
|
|
6
|
+
import { cn, warnDroppedProps } from '../src/lib/utils.js';
|
|
7
7
|
function bridgeOnOpenChange(onClose) {
|
|
8
8
|
if (!onClose)
|
|
9
9
|
return undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { warnDroppedProps } from "../src/lib/utils";
|
|
4
|
-
import { MultiSelect as DSMultiSelect } from "../src/components/ui/multi-select";
|
|
3
|
+
import { warnDroppedProps } from "../src/lib/utils.js";
|
|
4
|
+
import { MultiSelect as DSMultiSelect } from "../src/components/ui/multi-select.js";
|
|
5
5
|
function defaultItemToString(item) {
|
|
6
6
|
if (item == null)
|
|
7
7
|
return "";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { MoreVerticalIcon } from 'lucide-react';
|
|
4
|
-
import { Button } from '../src/components/ui/button';
|
|
5
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from '../src/components/ui/dropdown';
|
|
6
|
-
import { warnDroppedProps } from '../src/lib/utils';
|
|
4
|
+
import { Button } from '../src/components/ui/button.js';
|
|
5
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from '../src/components/ui/dropdown.js';
|
|
6
|
+
import { warnDroppedProps } from '../src/lib/utils.js';
|
|
7
7
|
function OverflowMenu(props) {
|
|
8
8
|
const { 'aria-label': ariaLabel, ariaLabel: ariaLabelDeprecated, children, className, direction, flipped, focusTrap, iconClass, iconDescription, id, innerRef, light, menuOffset, menuOffsetFlip, menuOptionsClass, onClick, onClose, onOpen, open, renderIcon: RenderIcon, selectorPrimaryFocus, size, } = props;
|
|
9
9
|
warnDroppedProps('OverflowMenu', {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { Popover as ShadcnPopover, PopoverContent as ShadcnPopoverContent, PopoverTrigger, } from '../src/components/ui/popover';
|
|
4
|
-
import { warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { Popover as ShadcnPopover, PopoverContent as ShadcnPopoverContent, PopoverTrigger, } from '../src/components/ui/popover.js';
|
|
4
|
+
import { warnDroppedProps } from '../src/lib/utils.js';
|
|
5
5
|
const ALIGN_TO_SIDE_ALIGN = {
|
|
6
6
|
top: { side: 'top', align: 'center' },
|
|
7
7
|
'top-left': { side: 'top', align: 'start' },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useId } from "react";
|
|
3
|
-
import { Progress } from "../src/components/ui/progress";
|
|
4
|
-
import { cn, warnDroppedProps } from "../src/lib/utils";
|
|
3
|
+
import { Progress } from "../src/components/ui/progress.js";
|
|
4
|
+
import { cn, warnDroppedProps } from "../src/lib/utils.js";
|
|
5
5
|
/**
|
|
6
6
|
* ProgressBar — Carbon-shaped adapter wrapping shadcn `Progress`.
|
|
7
7
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { RadioGroup, RadioGroupItem } from '../src/components/ui/radio-group';
|
|
4
|
-
import { cn, warnDroppedProps } from '../src/lib/utils';
|
|
3
|
+
import { RadioGroup, RadioGroupItem } from '../src/components/ui/radio-group.js';
|
|
4
|
+
import { cn, warnDroppedProps } from '../src/lib/utils.js';
|
|
5
5
|
function RadioButtonGroup(props) {
|
|
6
6
|
const { children, className, defaultSelected, disabled, helperText, invalid, invalidText, legendText, name, onChange, orientation, readOnly, valueSelected, warn, warnText, ...rest } = props;
|
|
7
7
|
warnDroppedProps('RadioButtonGroup', { helperText, invalid, invalidText, readOnly, warn, warnText });
|