@cloudflare/kumo 1.5.0 → 1.5.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/ai/component-registry.json +10 -4
  3. package/ai/component-registry.md +87 -35
  4. package/ai/schemas.ts +1 -0
  5. package/bin/kumo.js +23 -19
  6. package/dist/.build-complete +1 -1
  7. package/dist/ai/schemas.d.ts +2147 -0
  8. package/dist/ai/schemas.d.ts.map +1 -0
  9. package/dist/catalog.js +1 -1
  10. package/dist/{clipboard-text-CqueQiB8.js → clipboard-text-B32_yb2r.js} +9 -9
  11. package/dist/clipboard-text-B32_yb2r.js.map +1 -0
  12. package/dist/command-line/cli.js +16 -17
  13. package/dist/command-line/commands/ai.js +2 -3
  14. package/dist/components/clipboard-text.js +1 -1
  15. package/dist/components/pagination.js +1 -1
  16. package/dist/components/table.js +1 -1
  17. package/dist/index.js +40 -29
  18. package/dist/index.js.map +1 -1
  19. package/dist/{pagination-Bm8eMWpj.js → pagination-Cf-yRO-n.js} +20 -19
  20. package/dist/pagination-Cf-yRO-n.js.map +1 -0
  21. package/dist/{schemas-B-D2OT-O.js → schemas-H10xB2M_.js} +4 -2
  22. package/dist/{schemas-B-D2OT-O.js.map → schemas-H10xB2M_.js.map} +1 -1
  23. package/dist/src/blocks/delete-resource/delete-resource.d.ts.map +1 -1
  24. package/dist/src/blocks/delete-resource/delete-resource.tsx +213 -0
  25. package/dist/src/blocks/page-header/page-header.tsx +99 -0
  26. package/dist/src/blocks/resource-list/resource-list.test.tsx +28 -0
  27. package/dist/src/blocks/resource-list/resource-list.tsx +69 -0
  28. package/dist/src/command-line/commands/ai.d.ts.map +1 -1
  29. package/dist/src/components/pagination/pagination.d.ts +8 -1
  30. package/dist/src/components/pagination/pagination.d.ts.map +1 -1
  31. package/dist/src/components/table/table.d.ts +2 -0
  32. package/dist/src/components/table/table.d.ts.map +1 -1
  33. package/dist/styles/kumo-standalone.css +1 -1
  34. package/dist/table-DtUrZ2Rj.js +149 -0
  35. package/dist/table-DtUrZ2Rj.js.map +1 -0
  36. package/package.json +1 -1
  37. package/scripts/css-build.ts +47 -1
  38. package/dist/clipboard-text-CqueQiB8.js.map +0 -1
  39. package/dist/pagination-Bm8eMWpj.js.map +0 -1
  40. package/dist/table-BUmvaBj8.js +0 -153
  41. package/dist/table-BUmvaBj8.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"delete-resource.d.ts","sourceRoot":"","sources":["../../../../src/blocks/delete-resource/delete-resource.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,6BAA6B;;;;;;;;;;;CAWhC,CAAC;AAEX,eAAO,MAAM,qCAAqC;;CAExC,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,MAAM,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAElD,MAAM,WAAW,+BAA+B;IAC9C,IAAI,CAAC,EAAE,sBAAsB,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAoB,SAAQ,+BAA+B;IAC1E,iCAAiC;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,uCAAuC;IACvC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,kFAAkF;IAClF,YAAY,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,+CAA+C;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,UAAkB,EAClB,aAAoB,EACpB,gBAAgB,EAChB,IAAiD,EACjD,YAAY,EACZ,SAAS,GACV,EAAE,mBAAmB,2CAgIrB;yBA5Ie,cAAc"}
1
+ {"version":3,"file":"delete-resource.d.ts","sourceRoot":"","sources":["../../../../src/blocks/delete-resource/delete-resource.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,6BAA6B;;;;;;;;;;;CAWhC,CAAC;AAEX,eAAO,MAAM,qCAAqC;;CAExC,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,MAAM,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAElD,MAAM,WAAW,+BAA+B;IAC9C,IAAI,CAAC,EAAE,sBAAsB,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAoB,SAAQ,+BAA+B;IAC1E,iCAAiC;IACjC,IAAI,EAAE,OAAO,CAAC;IACd,uCAAuC;IACvC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,kFAAkF;IAClF,YAAY,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,QAAQ,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,+CAA+C;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,UAAkB,EAClB,aAAoB,EACpB,gBAAgB,EAChB,IAAiD,EACjD,YAAY,EACZ,SAAS,GACV,EAAE,mBAAmB,2CAqIrB;yBAjJe,cAAc"}
@@ -0,0 +1,213 @@
1
+ import { useState, useCallback, useEffect } from "react";
2
+ import {
3
+ Dialog,
4
+ DialogRoot,
5
+ DialogTitle,
6
+ DialogClose,
7
+ } from "../../components/dialog";
8
+ import { Input } from "../../components/input";
9
+ import { Button } from "../../components/button";
10
+ import { cn } from "../../utils/cn";
11
+ import {
12
+ CheckIcon,
13
+ CopyIcon,
14
+ WarningCircleIcon,
15
+ XIcon,
16
+ } from "@phosphor-icons/react";
17
+ import { Banner } from "../../components/banner";
18
+
19
+ export const KUMO_DELETE_RESOURCE_VARIANTS = {
20
+ size: {
21
+ sm: {
22
+ classes: "",
23
+ description: "Small dialog for simple delete confirmations",
24
+ },
25
+ base: {
26
+ classes: "",
27
+ description: "Default delete confirmation dialog size",
28
+ },
29
+ },
30
+ } as const;
31
+
32
+ export const KUMO_DELETE_RESOURCE_DEFAULT_VARIANTS = {
33
+ size: "base",
34
+ } as const;
35
+
36
+ export type KumoDeleteResourceSize =
37
+ keyof typeof KUMO_DELETE_RESOURCE_VARIANTS.size;
38
+
39
+ export interface KumoDeleteResourceVariantsProps {
40
+ size?: KumoDeleteResourceSize;
41
+ }
42
+
43
+ export interface DeleteResourceProps extends KumoDeleteResourceVariantsProps {
44
+ /** Whether the dialog is open */
45
+ open: boolean;
46
+ /** Callback when open state changes */
47
+ onOpenChange: (open: boolean) => void;
48
+ /** The type of resource being deleted (e.g., "Zone", "Worker", "KV Namespace") */
49
+ resourceType: string;
50
+ /** The name of the specific resource being deleted */
51
+ resourceName: string;
52
+ /** Callback when delete is confirmed */
53
+ onDelete: () => void | Promise<void>;
54
+ /** Whether the delete action is in progress */
55
+ isDeleting?: boolean;
56
+ /** Whether the confirmation input should be case-sensitive (default: true) */
57
+ caseSensitive?: boolean;
58
+ /** Custom delete button text (defaults to "Delete {resourceType}") */
59
+ deleteButtonText?: string;
60
+ /** Additional className for the dialog */
61
+ className?: string;
62
+ /** Error message to display if the delete action fails */
63
+ errorMessage?: string;
64
+ }
65
+
66
+ export function DeleteResource({
67
+ open,
68
+ onOpenChange,
69
+ resourceType,
70
+ resourceName,
71
+ onDelete,
72
+ isDeleting = false,
73
+ caseSensitive = true,
74
+ deleteButtonText,
75
+ size = KUMO_DELETE_RESOURCE_DEFAULT_VARIANTS.size,
76
+ errorMessage,
77
+ className,
78
+ }: DeleteResourceProps) {
79
+ const [confirmationInput, setConfirmationInput] = useState("");
80
+ const [copied, setCopied] = useState(false);
81
+
82
+ useEffect(() => {
83
+ if (!open) {
84
+ setConfirmationInput("");
85
+ setCopied(false);
86
+ }
87
+ }, [open]);
88
+
89
+ const normalizeForComparison = useCallback(
90
+ (str: string) => (caseSensitive ? str : str.toLowerCase()),
91
+ [caseSensitive],
92
+ );
93
+
94
+ const isConfirmed =
95
+ normalizeForComparison(confirmationInput) ===
96
+ normalizeForComparison(resourceName);
97
+
98
+ const handleDelete = useCallback(async () => {
99
+ if (!isConfirmed || isDeleting) return;
100
+ await onDelete();
101
+ }, [isConfirmed, isDeleting, onDelete]);
102
+
103
+ const handleCopy = useCallback(async () => {
104
+ await navigator.clipboard.writeText(resourceName);
105
+ setCopied(true);
106
+ setTimeout(() => setCopied(false), 1500);
107
+ }, [resourceName]);
108
+
109
+ return (
110
+ <DialogRoot open={open} onOpenChange={onOpenChange}>
111
+ <Dialog size={size} className={cn("p-0", className)}>
112
+ <div className="flex items-center justify-between border-b border-kumo-line px-6 py-4">
113
+ <DialogTitle className="text-lg font-semibold">
114
+ Delete {resourceName}
115
+ </DialogTitle>
116
+ <DialogClose
117
+ render={(props) => (
118
+ <Button
119
+ {...props}
120
+ variant="ghost"
121
+ shape="square"
122
+ size="sm"
123
+ aria-label="Close"
124
+ disabled={isDeleting}
125
+ >
126
+ <XIcon size={18} />
127
+ </Button>
128
+ )}
129
+ />
130
+ </div>
131
+
132
+ <div className="flex flex-col p-6 gap-4">
133
+ <div className="flex flex-col gap-2">
134
+ {errorMessage && (
135
+ <Banner icon={<WarningCircleIcon />} variant="error">
136
+ {errorMessage}
137
+ </Banner>
138
+ )}
139
+ <p className="text-base text-kumo-subtle max-w-prose text-pretty">
140
+ This action cannot be undone. This will permanently delete the{" "}
141
+ <span className="font-medium text-kumo-default">
142
+ {resourceName}
143
+ </span>{" "}
144
+ {resourceType.toLowerCase()}.
145
+ </p>
146
+ </div>
147
+
148
+ <div className="flex flex-col gap-2">
149
+ <div className="flex items-center gap-1.5 text-base">
150
+ <span>
151
+ Type{" "}
152
+ <button
153
+ className="font-mono text-sm inline font-semibold bg-kumo-tint hover:bg-kumo-fill rounded-md px-2 py-1 group hover:cursor-pointer"
154
+ onClick={handleCopy}
155
+ aria-label={`Copy ${resourceName} to clipboard`}
156
+ >
157
+ {resourceName}
158
+
159
+ {copied ? (
160
+ <CheckIcon
161
+ size={12}
162
+ weight="bold"
163
+ className="inline ml-1.5"
164
+ />
165
+ ) : (
166
+ <CopyIcon
167
+ size={12}
168
+ weight="bold"
169
+ className="inline text-kumo-subtle group-hover:text-kumo-default ml-1.5"
170
+ />
171
+ )}
172
+ </button>{" "}
173
+ to confirm:
174
+ </span>
175
+ </div>
176
+ <Input
177
+ placeholder={resourceName}
178
+ value={confirmationInput}
179
+ onChange={(e) => setConfirmationInput(e.target.value)}
180
+ disabled={isDeleting}
181
+ autoComplete="off"
182
+ autoCorrect="off"
183
+ autoCapitalize="off"
184
+ spellCheck={false}
185
+ aria-label={`Type ${resourceName} to confirm deletion`}
186
+ className="w-full"
187
+ />
188
+ </div>
189
+ </div>
190
+
191
+ <div className="flex justify-end gap-3 border-t border-kumo-line px-6 py-4">
192
+ <DialogClose
193
+ render={(props) => (
194
+ <Button {...props} variant="secondary" disabled={isDeleting}>
195
+ Cancel
196
+ </Button>
197
+ )}
198
+ />
199
+ <Button
200
+ variant="destructive"
201
+ onClick={handleDelete}
202
+ disabled={!isConfirmed || isDeleting}
203
+ loading={isDeleting}
204
+ >
205
+ {deleteButtonText || `Delete ${resourceType}`}
206
+ </Button>
207
+ </div>
208
+ </Dialog>
209
+ </DialogRoot>
210
+ );
211
+ }
212
+
213
+ DeleteResource.displayName = "DeleteResource";
@@ -0,0 +1,99 @@
1
+ import { ReactNode } from "react";
2
+ import { Tabs, type TabsItem } from "../../components/tabs";
3
+ import { cn } from "../../utils/cn";
4
+
5
+ export const KUMO_PAGE_HEADER_VARIANTS = {
6
+ spacing: {
7
+ compact: {
8
+ classes: "gap-1",
9
+ description: "Compact spacing between header elements",
10
+ },
11
+ base: {
12
+ classes: "gap-2",
13
+ description: "Default spacing between header elements",
14
+ },
15
+ relaxed: {
16
+ classes: "gap-4",
17
+ description: "Relaxed spacing for more prominent headers",
18
+ },
19
+ },
20
+ } as const;
21
+
22
+ export const KUMO_PAGE_HEADER_DEFAULT_VARIANTS = {
23
+ spacing: "base",
24
+ } as const;
25
+
26
+ export type KumoPageHeaderSpacing =
27
+ keyof typeof KUMO_PAGE_HEADER_VARIANTS.spacing;
28
+
29
+ export interface KumoPageHeaderVariantsProps {
30
+ spacing?: KumoPageHeaderSpacing;
31
+ }
32
+
33
+ export function pageHeaderVariants({
34
+ spacing = KUMO_PAGE_HEADER_DEFAULT_VARIANTS.spacing,
35
+ }: KumoPageHeaderVariantsProps = {}) {
36
+ return cn(
37
+ "flex flex-col",
38
+ KUMO_PAGE_HEADER_VARIANTS.spacing[spacing].classes,
39
+ );
40
+ }
41
+
42
+ export interface PageHeaderProps extends KumoPageHeaderVariantsProps {
43
+ breadcrumbs: ReactNode;
44
+ title?: string;
45
+ description?: string;
46
+ tabs?: TabsItem[];
47
+ defaultTab?: string;
48
+ onValueChange?: (value: string) => void;
49
+ className?: string;
50
+ children?: React.ReactNode;
51
+ }
52
+
53
+ export function PageHeader({
54
+ breadcrumbs,
55
+ title,
56
+ description,
57
+ tabs,
58
+ defaultTab,
59
+ onValueChange,
60
+ spacing = "base",
61
+ className,
62
+ children,
63
+ }: PageHeaderProps) {
64
+ return (
65
+ <div className={cn(pageHeaderVariants({ spacing }), className)}>
66
+ <div className="border-b border-kumo-line">{breadcrumbs}</div>
67
+
68
+ {(title || description) && (
69
+ <div className="flex flex-col gap-2 py-3 pl-3">
70
+ {title && (
71
+ <h1 className="font-heading text-3xl font-semibold text-kumo-default">
72
+ {title}
73
+ </h1>
74
+ )}
75
+ {description && (
76
+ <p className="max-w-prose text-base text-kumo-subtle">
77
+ {description}
78
+ </p>
79
+ )}
80
+ </div>
81
+ )}
82
+
83
+ {tabs && (
84
+ <div className="flex w-full items-center justify-between border-b border-kumo-line pt-1 pb-3 pl-3">
85
+ <Tabs
86
+ tabs={tabs}
87
+ selectedValue={defaultTab}
88
+ onValueChange={(nextValue) => {
89
+ const stringValue = String(nextValue);
90
+ onValueChange?.(stringValue);
91
+ }}
92
+ />
93
+
94
+ <div className="flex items-center gap-2">{children}</div>
95
+ </div>
96
+ )}
97
+ </div>
98
+ );
99
+ }
@@ -0,0 +1,28 @@
1
+ import { describe, it, expect } from "vitest";
2
+ import { ResourceListPage } from "./resource-list";
3
+
4
+ describe("ResourceListPage", () => {
5
+ it("should be defined", () => {
6
+ expect(ResourceListPage).toBeDefined();
7
+ });
8
+
9
+ it("should accept required props", () => {
10
+ const props = {
11
+ children: "Test content",
12
+ };
13
+ expect(() => ResourceListPage(props)).not.toThrow();
14
+ });
15
+
16
+ it("should accept all optional props", () => {
17
+ const props = {
18
+ title: "Test Title",
19
+ description: "Test Description",
20
+ icon: "Icon",
21
+ usage: "Usage",
22
+ additionalContent: "Additional",
23
+ children: "Content",
24
+ className: "custom-class",
25
+ };
26
+ expect(() => ResourceListPage(props)).not.toThrow();
27
+ });
28
+ });
@@ -0,0 +1,69 @@
1
+ import type { ReactNode } from "react";
2
+ import { cn } from "../../utils/cn";
3
+
4
+ export interface ResourceListPageProps {
5
+ title?: string;
6
+ description?: string;
7
+ icon?: ReactNode;
8
+ usage?: ReactNode;
9
+ additionalContent?: ReactNode;
10
+ children: ReactNode;
11
+ className?: string;
12
+ }
13
+
14
+ /**
15
+ * ResourceListPage - A layout component for resource list pages
16
+ *
17
+ * Layouts are page-level components that provide consistent structure
18
+ * for common page patterns like resource lists, dashboards, and settings.
19
+ */
20
+ export function ResourceListPage({
21
+ title,
22
+ description,
23
+ icon,
24
+ usage,
25
+ additionalContent,
26
+ children,
27
+ className,
28
+ }: ResourceListPageProps) {
29
+ return (
30
+ <div
31
+ className={cn(
32
+ "h-full min-h-screen w-full bg-kumo-overlay",
33
+ className,
34
+ )}
35
+ >
36
+ <div className="mx-auto flex max-w-[1400px] flex-col p-6 md:gap-4 md:p-8 lg:px-10 lg:py-9 xl:gap-6">
37
+ <div className="flex flex-col">
38
+ <div className="mb-1.5 flex items-center gap-1.5">
39
+ {icon}
40
+ <h1 className="font-heading m-0 p-0 text-3xl font-semibold">
41
+ {title}
42
+ </h1>
43
+ </div>
44
+ <p className="hidden p-0 text-lg leading-normal text-pretty text-kumo-strong md:block">
45
+ {description}
46
+ </p>
47
+ </div>
48
+
49
+ <div className="flex flex-col-reverse gap-6 xl:flex-row xl:gap-8">
50
+ <div className="min-w-0 grow">{children}</div>
51
+
52
+ {(usage || additionalContent) && (
53
+ <div
54
+ className={`top-22 flex h-fit w-full shrink-0 flex-col gap-4 xl:sticky xl:w-[380px]`}
55
+ >
56
+ {usage}
57
+
58
+ <div className={cn("hidden xl:block", usage ? "mt-6" : "")}>
59
+ {additionalContent}
60
+ </div>
61
+ </div>
62
+ )}
63
+ </div>
64
+
65
+ <div className="mt-6 xl:hidden">{additionalContent}</div>
66
+ </div>
67
+ </div>
68
+ );
69
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../../../src/command-line/commands/ai.ts"],"names":[],"mappings":";AACA;;;GAGG;AAQH;;GAEG;AACH,wBAAgB,EAAE,IAAI,IAAI,CAczB"}
1
+ {"version":3,"file":"ai.d.ts","sourceRoot":"","sources":["../../../../src/command-line/commands/ai.ts"],"names":[],"mappings":";AACA;;;GAGG;AAMH;;GAEG;AACH,wBAAgB,EAAE,IAAI,IAAI,CAczB"}
@@ -40,6 +40,13 @@ export interface PaginationProps extends KumoPaginationVariantsProps {
40
40
  perPage?: number;
41
41
  /** Total number of items across all pages. */
42
42
  totalCount?: number;
43
+ /** Method to provide custom pagination text */
44
+ text?: (props: {
45
+ page?: number;
46
+ perPage?: number;
47
+ totalCount?: number;
48
+ pageShowingRange: string;
49
+ }) => React.ReactNode;
43
50
  }
44
51
  /**
45
52
  * Page navigation controls with page count display.
@@ -49,5 +56,5 @@ export interface PaginationProps extends KumoPaginationVariantsProps {
49
56
  * <Pagination page={page} setPage={setPage} perPage={10} totalCount={100} />
50
57
  * ```
51
58
  */
52
- export declare function Pagination({ page, perPage, totalCount, setPage, controls, }: PaginationProps): import("react/jsx-runtime").JSX.Element;
59
+ export declare function Pagination({ page, perPage, totalCount, setPage, text, controls, }: PaginationProps): import("react/jsx-runtime").JSX.Element;
53
60
  //# sourceMappingURL=pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/pagination.tsx"],"names":[],"mappings":"AAUA,+CAA+C;AAC/C,eAAO,MAAM,wBAAwB;;;;;;;;;;;CAa3B,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,MAAM,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAEjD,eAAO,MAAM,gCAAgC;;CAEnC,CAAC;AAEX,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,sBAAsB,CAAC;CACnC;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAoD,GACrD,GAAE,2BAAgC,UAKlC;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAgB,SAAQ,2BAA2B;IAClE,oDAAoD;IACpD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAQ,EACR,OAAO,EACP,UAAU,EACV,OAAO,EACP,QAAoD,GACrD,EAAE,eAAe,2CAsGjB"}
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/pagination.tsx"],"names":[],"mappings":"AAUA,+CAA+C;AAC/C,eAAO,MAAM,wBAAwB;;;;;;;;;;;CAa3B,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,MAAM,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAEjD,eAAO,MAAM,gCAAgC;;CAEnC,CAAC;AAEX,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,sBAAsB,CAAC;CACnC;AAED,wBAAgB,kBAAkB,CAAC,EACjC,QAAoD,GACrD,GAAE,2BAAgC,UAKlC;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,eAAgB,SAAQ,2BAA2B;IAClE,oDAAoD;IACpD,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,KAAK,KAAK,CAAC,SAAS,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAQ,EACR,OAAO,EACP,UAAU,EACV,OAAO,EACP,IAAI,EACJ,QAAoD,GACrD,EAAE,eAAe,2CA2GjB"}
@@ -71,12 +71,14 @@ export declare const Table: import('react').ForwardRefExoticComponent<import('re
71
71
  Cell: import('react').ForwardRefExoticComponent<import('react').TdHTMLAttributes<HTMLTableCellElement> & import('react').RefAttributes<HTMLTableCellElement>>;
72
72
  CheckCell: import('react').ForwardRefExoticComponent<import('react').TdHTMLAttributes<HTMLTableCellElement> & {
73
73
  checked?: boolean;
74
+ indeterminate?: boolean;
74
75
  onValueChange?: (checked: boolean) => void;
75
76
  label?: string;
76
77
  disabled?: boolean;
77
78
  } & import('react').RefAttributes<HTMLTableCellElement>>;
78
79
  CheckHead: import('react').ForwardRefExoticComponent<import('react').ThHTMLAttributes<HTMLTableCellElement> & {
79
80
  checked?: boolean;
81
+ indeterminate?: boolean;
80
82
  onValueChange?: (checked: boolean) => void;
81
83
  label?: string;
82
84
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/components/table/table.tsx"],"names":[],"mappings":"AAIA,wFAAwF;AACxF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;CAsBtB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,mBAAmB,CAAC,OAAO,CAAC;AAC3E,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,mBAAmB,CAAC,MAAM,CAAC;AAkNtE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,KAAK;IAlNd;;;;;OAKG;aACM,eAAe;;;;;kBAmCd,mBAAmB;;;;;kBA+DnB,OAAO;wBACD,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;gBAClC,MAAM;mBACH,OAAO;;;kBAiCR,OAAO;wBACD,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;gBAClC,MAAM;mBACH,OAAO;;;;CA6EpB,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../src/components/table/table.tsx"],"names":[],"mappings":"AAIA,wFAAwF;AACxF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;CAsBtB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,mBAAmB,CAAC,OAAO,CAAC;AAC3E,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,mBAAmB,CAAC,MAAM,CAAC;AAgNtE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,KAAK;IAhNd;;;;;OAKG;aACM,eAAe;;;;;kBAmCd,mBAAmB;;;;;kBA+DnB,OAAO;wBACD,OAAO;wBACP,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;gBAClC,MAAM;mBACH,OAAO;;;kBA+BR,OAAO;wBACD,OAAO;wBACP,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;gBAClC,MAAM;mBACH,OAAO;;;;CA2EpB,CAAC"}