@cloudflare/kumo 2.12.0 → 2.13.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/CHANGELOG.md +53 -0
- package/ai/component-registry.json +105 -9
- package/ai/component-registry.md +134 -1
- package/ai/schemas.ts +14 -0
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +60 -0
- package/dist/ai/schemas.js +31 -0
- package/dist/chunks/{ToolbarInput-gxep3ixoe8r6v2to.js → ToolbarInput-er5t9irqvuwcjrir.js} +28 -1
- package/dist/chunks/{combobox-nosdsxdxe2abnqzr.js → combobox-fktl12ss7vfjryga.js} +1 -1
- package/dist/chunks/{dialog-nas75qs6d8gj5dxm.js → dialog-o0164pgcyc74lvp9.js} +1 -1
- package/dist/chunks/{index2.parts-epkfat8l4pvwpd1a.js → index2.parts-kiwz8e3k8utvm4zb.js} +1 -29
- package/dist/chunks/{input-group-ksh61axy2qgkxl5y.js → input-group-ijrmolg1svgq4ayn.js} +1 -1
- package/dist/chunks/{pagination-hu8y5b8zpef2z4lp.js → pagination-crizrd9w23nyw7zq.js} +13 -9
- package/dist/chunks/{select-jdz3yg2pvcjlkroy.js → select-k4olzuzdl8an5gez.js} +23 -8
- package/dist/chunks/{table-ebfyk2rmebrn82k0.js → table-hhq2akb92vd5e1x6.js} +1 -1
- package/dist/chunks/{text-fsaeol90bjy3pnik.js → text-jzp4mdlr222iuzxt.js} +4 -4
- package/dist/chunks/{toolbar-djjwqq141iealxa6.js → toolbar-jcocktiw68xtixzj.js} +22 -3
- package/dist/components/combobox.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/table.d.ts +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/text.d.ts +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/toolbar.d.ts +2 -2
- package/dist/components/toolbar.js +1 -1
- package/dist/{index-DTjmw8Vy2.d.ts → index-BXsHCLB82.d.ts} +4 -2
- package/dist/{index-CaoLMX-b2.d.ts → index-D97n4Bpf2.d.ts} +4 -2
- package/dist/{index-Dsn2VLZv.d.ts → index-DYYiDxZs.d.ts} +5 -0
- package/dist/index-Dh95FgdH2.d.ts +60 -0
- package/dist/{index-Bl6QyQDi2.d.ts → index-Dzzi1o7w2.d.ts} +4 -4
- package/dist/{index-BHclAeEt2.d.ts → index-_Sl5wohy2.d.ts} +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +8 -8
- package/dist/primitives/toolbar.js +1 -1
- package/dist/primitives.js +1 -1
- package/dist/styles/kumo-standalone.css +1 -1
- package/package.json +1 -1
|
@@ -193,7 +193,7 @@ function Empty(props) {
|
|
|
193
193
|
function Input(props) {
|
|
194
194
|
return /* @__PURE__ */ jsx(ComboboxInput, {
|
|
195
195
|
...props,
|
|
196
|
-
className: cn(inputVariants(), "mx-1.5 w-
|
|
196
|
+
className: cn(inputVariants(), "mx-0 -mt-1.5 w-full shrink-0 rounded-b-none first:mb-2", props.className)
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
function List({ className, ...props }) {
|
|
@@ -51,7 +51,7 @@ function useDialogRole() {
|
|
|
51
51
|
return useContext(DialogRoleContext);
|
|
52
52
|
}
|
|
53
53
|
function dialogVariants({ size = KUMO_DIALOG_DEFAULT_VARIANTS.size } = {}) {
|
|
54
|
-
return cn("shadow-m ring ring-kumo-line fixed top-
|
|
54
|
+
return cn("shadow-m ring ring-kumo-line fixed top-8 left-1/2 sm:top-16 w-full max-w-[calc(100vw-2rem)] -translate-x-1/2 overflow-hidden rounded-xl bg-kumo-base text-kumo-default duration-150 data-ending-style:scale-90 data-ending-style:opacity-0 data-starting-style:scale-90 data-starting-style:opacity-0", resolveVariant(KUMO_DIALOG_VARIANTS.size, size, KUMO_DIALOG_DEFAULT_VARIANTS.size).classes);
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Modal dialog overlay with backdrop. Compound component with `Dialog.Root`,
|
|
@@ -3,9 +3,8 @@ import { t as __exportAll } from "./rolldown-runtime-hi7ti5xiuxsegr96.js";
|
|
|
3
3
|
import { t as useRenderElement } from "./useRenderElement-m8kc7jyuczp71mq8.js";
|
|
4
4
|
import { t as Separator } from "./Separator-b8wf5rea6m1cei8k.js";
|
|
5
5
|
import { n as useToolbarRootContext } from "./ToolbarRootContext-lvi96r1vvs93rhde.js";
|
|
6
|
-
import { n as
|
|
6
|
+
import { i as ToolbarRoot, n as ToolbarLink, r as ToolbarButton, t as ToolbarInput } from "./ToolbarInput-er5t9irqvuwcjrir.js";
|
|
7
7
|
import { t as ToolbarGroupContext } from "./ToolbarGroupContext-nriz3632ymugfj6h.js";
|
|
8
|
-
import { t as CompositeItem } from "./CompositeItem-l7zee38lq5m224d5.js";
|
|
9
8
|
import * as React$1 from "react";
|
|
10
9
|
import { jsx } from "react/jsx-runtime";
|
|
11
10
|
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/toolbar/separator/ToolbarSeparator.mjs
|
|
@@ -55,33 +54,6 @@ const ToolbarGroup = /*#__PURE__*/ React$1.forwardRef(function ToolbarGroup(comp
|
|
|
55
54
|
});
|
|
56
55
|
ToolbarGroup.displayName = "ToolbarGroup";
|
|
57
56
|
//#endregion
|
|
58
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/toolbar/link/ToolbarLink.mjs
|
|
59
|
-
const TOOLBAR_LINK_METADATA = {
|
|
60
|
-
disabled: false,
|
|
61
|
-
focusableWhenDisabled: true
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* A link component.
|
|
65
|
-
* Renders an `<a>` element.
|
|
66
|
-
*
|
|
67
|
-
* Documentation: [Base UI Toolbar](https://base-ui.com/react/components/toolbar)
|
|
68
|
-
*/
|
|
69
|
-
const ToolbarLink = /*#__PURE__*/ React$1.forwardRef(function ToolbarLink(componentProps, forwardedRef) {
|
|
70
|
-
const { className, render, style, ...elementProps } = componentProps;
|
|
71
|
-
const { orientation } = useToolbarRootContext();
|
|
72
|
-
return /*#__PURE__*/ jsx(CompositeItem, {
|
|
73
|
-
tag: "a",
|
|
74
|
-
render,
|
|
75
|
-
className,
|
|
76
|
-
style,
|
|
77
|
-
metadata: TOOLBAR_LINK_METADATA,
|
|
78
|
-
state: { orientation },
|
|
79
|
-
refs: [forwardedRef],
|
|
80
|
-
props: [elementProps]
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
ToolbarLink.displayName = "ToolbarLink";
|
|
84
|
-
//#endregion
|
|
85
57
|
//#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/toolbar/index.parts.mjs
|
|
86
58
|
var index_parts_exports = /* @__PURE__ */ __exportAll({
|
|
87
59
|
Button: () => ToolbarButton,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { t as InputGroup } from "./input-group-
|
|
4
|
-
import { t as Select } from "./select-
|
|
3
|
+
import { t as InputGroup } from "./input-group-ijrmolg1svgq4ayn.js";
|
|
4
|
+
import { t as Select } from "./select-k4olzuzdl8an5gez.js";
|
|
5
5
|
import { createContext, useContext, useEffect, useMemo, useState } from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { CaretDoubleLeftIcon, CaretDoubleRightIcon, CaretLeftIcon, CaretRightIcon } from "@phosphor-icons/react";
|
|
@@ -77,14 +77,17 @@ function PaginationPageSize({ value, onChange, options = DEFAULT_PAGE_SIZE_OPTIO
|
|
|
77
77
|
}
|
|
78
78
|
PaginationPageSize.displayName = "Pagination.PageSize";
|
|
79
79
|
function PaginationControls({ controls = KUMO_PAGINATION_DEFAULT_VARIANTS.controls, pageSelector = "input", className }) {
|
|
80
|
-
const { page, maxPage, setPage, editingPage, setEditingPage, labels } = usePaginationContext();
|
|
80
|
+
const { page, totalCount, hasNextPage, maxPage, setPage, editingPage, setEditingPage, labels } = usePaginationContext();
|
|
81
|
+
const hasKnownTotal = totalCount != null;
|
|
82
|
+
const showFullControls = controls === "full" && !(!hasKnownTotal && hasNextPage !== void 0);
|
|
83
|
+
const isNextDisabled = hasKnownTotal ? page === maxPage : hasNextPage !== true;
|
|
81
84
|
return /* @__PURE__ */ jsx("div", {
|
|
82
85
|
"data-slot": "pagination-controls",
|
|
83
86
|
className: cn("flex grow flex-col items-end", className),
|
|
84
87
|
children: /* @__PURE__ */ jsx("nav", {
|
|
85
88
|
"aria-label": labels.navigation,
|
|
86
89
|
children: /* @__PURE__ */ jsxs(InputGroup, { children: [
|
|
87
|
-
|
|
90
|
+
showFullControls && /* @__PURE__ */ jsx(InputGroup.Button, {
|
|
88
91
|
variant: "secondary",
|
|
89
92
|
"aria-label": labels.firstPage,
|
|
90
93
|
disabled: page <= 1,
|
|
@@ -105,7 +108,7 @@ function PaginationControls({ controls = KUMO_PAGINATION_DEFAULT_VARIANTS.contro
|
|
|
105
108
|
},
|
|
106
109
|
children: /* @__PURE__ */ jsx(CaretLeftIcon, { size: 16 })
|
|
107
110
|
}),
|
|
108
|
-
|
|
111
|
+
showFullControls && (pageSelector === "dropdown" ? /* @__PURE__ */ jsx(Select, {
|
|
109
112
|
"aria-label": labels.pageNumber,
|
|
110
113
|
className: "rounded-none ring-kumo-hairline",
|
|
111
114
|
value: page,
|
|
@@ -146,15 +149,15 @@ function PaginationControls({ controls = KUMO_PAGINATION_DEFAULT_VARIANTS.contro
|
|
|
146
149
|
/* @__PURE__ */ jsx(InputGroup.Button, {
|
|
147
150
|
variant: "secondary",
|
|
148
151
|
"aria-label": labels.nextPage,
|
|
149
|
-
disabled:
|
|
152
|
+
disabled: isNextDisabled,
|
|
150
153
|
onClick: () => {
|
|
151
|
-
const nextPage = Math.min(page + 1, maxPage);
|
|
154
|
+
const nextPage = hasKnownTotal ? Math.min(page + 1, maxPage) : page + 1;
|
|
152
155
|
setPage(nextPage);
|
|
153
156
|
setEditingPage(nextPage);
|
|
154
157
|
},
|
|
155
158
|
children: /* @__PURE__ */ jsx(CaretRightIcon, { size: 16 })
|
|
156
159
|
}),
|
|
157
|
-
|
|
160
|
+
showFullControls && /* @__PURE__ */ jsx(InputGroup.Button, {
|
|
158
161
|
variant: "secondary",
|
|
159
162
|
"aria-label": labels.lastPage,
|
|
160
163
|
disabled: page === maxPage,
|
|
@@ -199,7 +202,7 @@ PaginationSeparator.displayName = "Pagination.Separator";
|
|
|
199
202
|
* ```
|
|
200
203
|
*/
|
|
201
204
|
function PaginationRoot(props) {
|
|
202
|
-
const { page = 1, perPage, totalCount, setPage, children, className, labels: labelsProp } = props;
|
|
205
|
+
const { page = 1, perPage, totalCount, hasNextPage, setPage, children, className, labels: labelsProp } = props;
|
|
203
206
|
const text = "text" in props ? props.text : void 0;
|
|
204
207
|
const controls = "controls" in props ? props.controls ?? KUMO_PAGINATION_DEFAULT_VARIANTS.controls : KUMO_PAGINATION_DEFAULT_VARIANTS.controls;
|
|
205
208
|
const [editingPage, setEditingPage] = useState(1);
|
|
@@ -225,6 +228,7 @@ function PaginationRoot(props) {
|
|
|
225
228
|
page,
|
|
226
229
|
perPage,
|
|
227
230
|
totalCount,
|
|
231
|
+
hasNextPage,
|
|
228
232
|
maxPage: useMemo(() => {
|
|
229
233
|
return Math.ceil((totalCount ?? 1) / (perPage ?? 1));
|
|
230
234
|
}, [totalCount, perPage]),
|
|
@@ -14,7 +14,7 @@ import { CaretUpDownIcon, CheckIcon } from "@phosphor-icons/react";
|
|
|
14
14
|
KUMO_INPUT_VARIANTS.size;
|
|
15
15
|
const KUMO_SELECT_DEFAULT_VARIANTS = { size: "base" };
|
|
16
16
|
function selectVariants({ size = KUMO_SELECT_DEFAULT_VARIANTS.size } = {}) {
|
|
17
|
-
return cn(buttonVariants({ size }), "justify-between font-normal", "focus:opacity-100 focus:ring-kumo-focus/50 focus-visible:ring-inset *:in-focus:opacity-100");
|
|
17
|
+
return cn(buttonVariants({ size }), "bg-kumo-control disabled:bg-kumo-control/50 data-[state=open]:bg-kumo-control", "justify-between font-normal", "focus:opacity-100 focus:ring-kumo-focus/50 focus-visible:ring-inset *:in-focus:opacity-100");
|
|
18
18
|
}
|
|
19
19
|
const triggerIconStyles = {
|
|
20
20
|
xs: {
|
|
@@ -87,7 +87,7 @@ function renderOptionsFromItems(items) {
|
|
|
87
87
|
* </Select>
|
|
88
88
|
* ```
|
|
89
89
|
*/
|
|
90
|
-
function Select({ children, className, render, renderValue, label, hideLabel, placeholder, loading, size = KUMO_SELECT_DEFAULT_VARIANTS.size, labelTooltip, description, error, required, container: containerProp, ...props }) {
|
|
90
|
+
function Select({ children, className, render, renderValue, label, hideLabel, placeholder, loading, size = KUMO_SELECT_DEFAULT_VARIANTS.size, labelTooltip, description, error, required, container: containerProp, side = "bottom", sideOffset = 4, align = "start", alignOffset, alignItemWithTrigger = false, anchor, arrowPadding, positionMethod, collisionAvoidance, collisionBoundary, collisionPadding, sticky, disableAnchorTracking, ...props }) {
|
|
91
91
|
const labelId = useId();
|
|
92
92
|
const contextContainer = usePortalContainer();
|
|
93
93
|
const container = containerProp ?? contextContainer ?? void 0;
|
|
@@ -150,13 +150,28 @@ function Select({ children, className, render, renderValue, label, hideLabel, pl
|
|
|
150
150
|
selectTrigger,
|
|
151
151
|
/* @__PURE__ */ jsx(SelectPortal, {
|
|
152
152
|
container,
|
|
153
|
-
children: /* @__PURE__ */ jsx(SelectPositioner, {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
children: /* @__PURE__ */ jsx(SelectPositioner, {
|
|
154
|
+
side,
|
|
155
|
+
sideOffset,
|
|
156
|
+
align,
|
|
157
|
+
alignOffset,
|
|
158
|
+
alignItemWithTrigger,
|
|
159
|
+
anchor,
|
|
160
|
+
arrowPadding,
|
|
161
|
+
positionMethod,
|
|
162
|
+
collisionAvoidance,
|
|
163
|
+
collisionBoundary,
|
|
164
|
+
collisionPadding,
|
|
165
|
+
sticky,
|
|
166
|
+
disableAnchorTracking,
|
|
167
|
+
children: /* @__PURE__ */ jsx(SelectPopup, {
|
|
168
|
+
className: cn("flex flex-col", "max-h-[var(--available-height)] bg-kumo-base text-kumo-default", "rounded-lg shadow-lg ring ring-kumo-line", "max-w-(--available-width) min-w-(--anchor-width) py-1.5"),
|
|
169
|
+
children: /* @__PURE__ */ jsx(SelectList, {
|
|
170
|
+
className: cn("min-h-0 flex-1 scroll-pt-2 scroll-pb-2 overflow-y-auto overscroll-none"),
|
|
171
|
+
children: renderedChildren
|
|
172
|
+
})
|
|
158
173
|
})
|
|
159
|
-
})
|
|
174
|
+
})
|
|
160
175
|
})
|
|
161
176
|
]
|
|
162
177
|
});
|
|
@@ -19,7 +19,7 @@ const KUMO_TABLE_VARIANTS = {
|
|
|
19
19
|
},
|
|
20
20
|
variant: {
|
|
21
21
|
default: {
|
|
22
|
-
classes: "even:bg-kumo-
|
|
22
|
+
classes: "even:bg-kumo-elevated [--kumo-table-row-bg:var(--color-kumo-base)] even:[--kumo-table-row-bg:var(--color-kumo-elevated)]",
|
|
23
23
|
description: "Default row variant"
|
|
24
24
|
},
|
|
25
25
|
selected: {
|
|
@@ -53,19 +53,19 @@ const KUMO_TEXT_VARIANTS = {
|
|
|
53
53
|
},
|
|
54
54
|
size: {
|
|
55
55
|
xs: {
|
|
56
|
-
classes: "text-xs",
|
|
56
|
+
classes: "text-xs/[inherit]",
|
|
57
57
|
description: "Extra small text"
|
|
58
58
|
},
|
|
59
59
|
sm: {
|
|
60
|
-
classes: "text-sm",
|
|
60
|
+
classes: "text-sm/[inherit]",
|
|
61
61
|
description: "Small text"
|
|
62
62
|
},
|
|
63
63
|
base: {
|
|
64
|
-
classes: "text-base",
|
|
64
|
+
classes: "text-base/[inherit]",
|
|
65
65
|
description: "Default text size"
|
|
66
66
|
},
|
|
67
67
|
lg: {
|
|
68
|
-
classes: "text-lg",
|
|
68
|
+
classes: "text-lg/[inherit]",
|
|
69
69
|
description: "Large text"
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { t as Button$1 } from "./button-iqaz1uluabeo18f0.js";
|
|
3
|
+
import { n as LinkButton, t as Button$1 } from "./button-iqaz1uluabeo18f0.js";
|
|
4
4
|
import { t as Input$1 } from "./input-jthoux2vfxltqtdh.js";
|
|
5
|
-
import { t as InputGroup } from "./input-group-
|
|
6
|
-
import { n as
|
|
5
|
+
import { t as InputGroup } from "./input-group-ijrmolg1svgq4ayn.js";
|
|
6
|
+
import { i as ToolbarRoot, n as ToolbarLink, r as ToolbarButton, t as ToolbarInput } from "./ToolbarInput-er5t9irqvuwcjrir.js";
|
|
7
7
|
import React, { Children, cloneElement, createContext, isValidElement } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/toolbar/toolbar.tsx
|
|
@@ -75,6 +75,24 @@ const Button = React.forwardRef(({ children, className, disabled, loading, shape
|
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
77
|
Button.displayName = "Toolbar.Button";
|
|
78
|
+
const Link = React.forwardRef(({ children, className, shape, icon: IconComponent, ...props }, ref) => {
|
|
79
|
+
const toolbar = React.useContext(ToolbarSizeContext);
|
|
80
|
+
const resolvedShape = shape ?? (children == null && IconComponent ? "square" : "base");
|
|
81
|
+
return /* @__PURE__ */ jsx(ToolbarLink, {
|
|
82
|
+
ref,
|
|
83
|
+
"data-kumo-component": "Toolbar.Link",
|
|
84
|
+
className: cn(className, TOOLBAR_CONTROL_STYLES),
|
|
85
|
+
render: /* @__PURE__ */ jsx(LinkButton, {
|
|
86
|
+
icon: IconComponent,
|
|
87
|
+
shape: resolvedShape,
|
|
88
|
+
size: toolbar.size,
|
|
89
|
+
variant: "ghost"
|
|
90
|
+
}),
|
|
91
|
+
...props,
|
|
92
|
+
children
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
Link.displayName = "Toolbar.Link";
|
|
78
96
|
const Input = React.forwardRef(({ className, style, ...props }, ref) => {
|
|
79
97
|
const toolbar = React.useContext(ToolbarSizeContext);
|
|
80
98
|
return /* @__PURE__ */ jsx(ToolbarInput, {
|
|
@@ -113,6 +131,7 @@ const InputGroupRoot = React.forwardRef(({ children, className, ...props }, ref)
|
|
|
113
131
|
InputGroupRoot.displayName = "Toolbar.InputGroup";
|
|
114
132
|
const Toolbar = Object.assign(Root, {
|
|
115
133
|
Button,
|
|
134
|
+
Link,
|
|
116
135
|
Input,
|
|
117
136
|
InputGroup: InputGroupRoot
|
|
118
137
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "../chunks/dialog-
|
|
2
|
+
import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "../chunks/dialog-o0164pgcyc74lvp9.js";
|
|
3
3
|
export { Dialog, DialogClose, DialogDescription, DialogRoot, DialogTitle, DialogTrigger };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-
|
|
2
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-ijrmolg1svgq4ayn.js";
|
|
3
3
|
export { InputGroup, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS };
|
package/dist/components/input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as inputVariants, t as Input } from "../chunks/input-jthoux2vfxltqtdh.js";
|
|
3
3
|
import { n as Textarea, t as InputArea } from "../chunks/input-oc9u4galsdrwy00s.js";
|
|
4
|
-
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-
|
|
4
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-ijrmolg1svgq4ayn.js";
|
|
5
5
|
export { Input, InputArea, InputGroup, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS, Textarea, inputVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Pagination } from "../index-
|
|
1
|
+
import { t as Pagination } from "../index-DYYiDxZs.js";
|
|
2
2
|
export { Pagination };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Select } from "../index-
|
|
1
|
+
import { t as Select } from "../index-D97n4Bpf2.js";
|
|
2
2
|
export { Select };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Table, i as KumoTableRowVariant, n as KUMO_TABLE_VARIANTS, r as KumoTableLayout, t as KUMO_TABLE_DEFAULT_VARIANTS } from "../index-
|
|
1
|
+
import { a as Table, i as KumoTableRowVariant, n as KUMO_TABLE_VARIANTS, r as KumoTableLayout, t as KUMO_TABLE_DEFAULT_VARIANTS } from "../index-_Sl5wohy2.js";
|
|
2
2
|
export { KUMO_TABLE_DEFAULT_VARIANTS, KUMO_TABLE_VARIANTS, type KumoTableLayout, type KumoTableRowVariant, Table };
|
package/dist/components/table.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_TABLE_VARIANTS, r as Table, t as KUMO_TABLE_DEFAULT_VARIANTS } from "../chunks/table-
|
|
2
|
+
import { n as KUMO_TABLE_VARIANTS, r as Table, t as KUMO_TABLE_DEFAULT_VARIANTS } from "../chunks/table-hhq2akb92vd5e1x6.js";
|
|
3
3
|
export { KUMO_TABLE_DEFAULT_VARIANTS, KUMO_TABLE_VARIANTS, Table };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Text } from "../index-
|
|
1
|
+
import { t as Text } from "../index-Dzzi1o7w2.js";
|
|
2
2
|
export { Text };
|
package/dist/components/text.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ToolbarInputGroupProps, c as
|
|
2
|
-
export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar, type ToolbarButtonProps, type ToolbarInputGroupProps, type ToolbarInputProps, type ToolbarProps, type ToolbarSize };
|
|
1
|
+
import { a as ToolbarInputGroupProps, c as ToolbarProps, i as ToolbarButtonProps, l as ToolbarSize, n as KUMO_TOOLBAR_VARIANTS, o as ToolbarInputProps, r as Toolbar, s as ToolbarLinkProps, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "../index-BXsHCLB82.js";
|
|
2
|
+
export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar, type ToolbarButtonProps, type ToolbarInputGroupProps, type ToolbarInputProps, type ToolbarLinkProps, type ToolbarProps, type ToolbarSize };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "../chunks/toolbar-
|
|
2
|
+
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "../chunks/toolbar-jcocktiw68xtixzj.js";
|
|
3
3
|
export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ButtonProps } from "./button-Bbi7gFL7.js";
|
|
1
|
+
import { a as LinkButtonProps, n as ButtonProps } from "./button-Bbi7gFL7.js";
|
|
2
2
|
import { n as InputProps } from "./input-BeWEb-jD.js";
|
|
3
3
|
import { t as InputGroup } from "./input-group-DpGSsAZy.js";
|
|
4
4
|
import React from "react";
|
|
@@ -41,6 +41,7 @@ interface ToolbarProps extends Omit<Toolbar.Root.Props, "children"> {
|
|
|
41
41
|
size?: ToolbarSize;
|
|
42
42
|
}
|
|
43
43
|
type ToolbarButtonProps = Omit<ButtonProps, "size" | "variant"> & Pick<Toolbar.Button.Props, "focusableWhenDisabled">;
|
|
44
|
+
type ToolbarLinkProps = Omit<LinkButtonProps, "size" | "variant">;
|
|
44
45
|
type ToolbarInputProps = Omit<InputProps, "size" | "variant" | "label" | "labelTooltip" | "description" | "hideLabel" | "error" | "passwordManagerIgnore" | "render"> & {
|
|
45
46
|
/** When `true`, the item remains focusable when disabled. */
|
|
46
47
|
focusableWhenDisabled?: Toolbar.Input.Props["focusableWhenDisabled"];
|
|
@@ -48,6 +49,7 @@ type ToolbarInputProps = Omit<InputProps, "size" | "variant" | "label" | "labelT
|
|
|
48
49
|
type ToolbarInputGroupProps = Omit<React.ComponentPropsWithoutRef<typeof InputGroup>, "size">;
|
|
49
50
|
declare const Toolbar$1: React.ForwardRefExoticComponent<Omit<ToolbarProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
50
51
|
Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "variant" | "size"> & Pick<import("@base-ui/react").ToolbarButtonProps, "focusableWhenDisabled"> & React.RefAttributes<HTMLButtonElement>>;
|
|
52
|
+
Link: React.ForwardRefExoticComponent<ToolbarLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
51
53
|
Input: React.ForwardRefExoticComponent<Omit<InputProps, "render" | "label" | "variant" | "labelTooltip" | "description" | "error" | "size" | "hideLabel" | "passwordManagerIgnore"> & {
|
|
52
54
|
/** When `true`, the item remains focusable when disabled. */
|
|
53
55
|
focusableWhenDisabled?: Toolbar.Input.Props["focusableWhenDisabled"];
|
|
@@ -55,4 +57,4 @@ declare const Toolbar$1: React.ForwardRefExoticComponent<Omit<ToolbarProps, "ref
|
|
|
55
57
|
InputGroup: React.ForwardRefExoticComponent<ToolbarInputGroupProps & React.RefAttributes<HTMLElement>>;
|
|
56
58
|
};
|
|
57
59
|
//#endregion
|
|
58
|
-
export { ToolbarInputGroupProps as a,
|
|
60
|
+
export { ToolbarInputGroupProps as a, ToolbarProps as c, ToolbarButtonProps as i, ToolbarSize as l, KUMO_TOOLBAR_VARIANTS as n, ToolbarInputProps as o, Toolbar$1 as r, ToolbarLinkProps as s, KUMO_TOOLBAR_DEFAULT_VARIANTS as t };
|
|
@@ -36,6 +36,8 @@ interface KumoSelectVariantsProps {
|
|
|
36
36
|
*/
|
|
37
37
|
size?: KumoSelectSize;
|
|
38
38
|
}
|
|
39
|
+
/** Base UI positioning controls forwarded to Select's popup. */
|
|
40
|
+
type SelectPositionerProps = Pick<Select.Positioner.Props, "align" | "alignItemWithTrigger" | "alignOffset" | "anchor" | "arrowPadding" | "collisionAvoidance" | "collisionBoundary" | "collisionPadding" | "disableAnchorTracking" | "positionMethod" | "side" | "sideOffset" | "sticky">;
|
|
39
41
|
/**
|
|
40
42
|
* Shape for items that carry extra metadata (disabled state, tooltip).
|
|
41
43
|
* Plain `ReactNode` values are still supported for backward compatibility.
|
|
@@ -112,7 +114,7 @@ type SelectPropsGeneric<T, Multiple extends boolean | undefined = false> = Omit<
|
|
|
112
114
|
* @default document.body (or KumoPortalProvider container if set)
|
|
113
115
|
*/
|
|
114
116
|
container?: PortalContainer;
|
|
115
|
-
};
|
|
117
|
+
} & SelectPositionerProps;
|
|
116
118
|
/**
|
|
117
119
|
* Dropdown for selecting a value from a list of options.
|
|
118
120
|
* Wraps Base UI Select with Kumo styling and optional Field integration.
|
|
@@ -125,7 +127,7 @@ type SelectPropsGeneric<T, Multiple extends boolean | undefined = false> = Omit<
|
|
|
125
127
|
* </Select>
|
|
126
128
|
* ```
|
|
127
129
|
*/
|
|
128
|
-
declare function Select$1<T, Multiple extends boolean | undefined = false>({ children, className, render, renderValue, label, hideLabel, placeholder, loading, size, labelTooltip, description, error, required, container: containerProp, ...props }: SelectPropsGeneric<T, Multiple> & {
|
|
130
|
+
declare function Select$1<T, Multiple extends boolean | undefined = false>({ children, className, render, renderValue, label, hideLabel, placeholder, loading, size, labelTooltip, description, error, required, container: containerProp, side, sideOffset, align, alignOffset, alignItemWithTrigger, anchor, arrowPadding, positionMethod, collisionAvoidance, collisionBoundary, collisionPadding, sticky, disableAnchorTracking, ...props }: SelectPropsGeneric<T, Multiple> & {
|
|
129
131
|
required?: boolean;
|
|
130
132
|
}): import("react/jsx-runtime").JSX.Element;
|
|
131
133
|
declare namespace Select$1 {
|
|
@@ -114,6 +114,11 @@ interface PaginationBaseProps {
|
|
|
114
114
|
perPage?: number;
|
|
115
115
|
/** Total number of items across all pages. */
|
|
116
116
|
totalCount?: number;
|
|
117
|
+
/**
|
|
118
|
+
* Whether another page exists when the total count is unknown. Ignored when
|
|
119
|
+
* `totalCount` is provided. Unknown totals use sequential controls only.
|
|
120
|
+
*/
|
|
121
|
+
hasNextPage?: boolean;
|
|
117
122
|
/** Additional CSS classes for the container */
|
|
118
123
|
className?: string;
|
|
119
124
|
/**
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { a as LinkButtonProps, n as ButtonProps } from "./button-Bbi7gFL7.js";
|
|
2
|
+
import { n as InputProps } from "./input-BeWEb-jD.js";
|
|
3
|
+
import { t as InputGroup } from "./input-group-DpGSsAZy.js";
|
|
4
|
+
import React from "react";
|
|
5
|
+
import { Toolbar } from "@base-ui/react/toolbar";
|
|
6
|
+
//#region src/components/toolbar/toolbar.d.ts
|
|
7
|
+
/** @deprecated Toolbar size customization is deprecated. Omit `size` to use the default base size. */
|
|
8
|
+
declare const KUMO_TOOLBAR_VARIANTS: {
|
|
9
|
+
readonly size: {
|
|
10
|
+
readonly xs: {
|
|
11
|
+
readonly classes: "text-xs";
|
|
12
|
+
readonly description: "Extra small toolbar for compact UIs";
|
|
13
|
+
};
|
|
14
|
+
readonly sm: {
|
|
15
|
+
readonly classes: "text-xs";
|
|
16
|
+
readonly description: "Small toolbar for secondary controls";
|
|
17
|
+
};
|
|
18
|
+
readonly base: {
|
|
19
|
+
readonly classes: "text-base";
|
|
20
|
+
readonly description: "Default toolbar size";
|
|
21
|
+
};
|
|
22
|
+
readonly lg: {
|
|
23
|
+
readonly classes: "text-base";
|
|
24
|
+
readonly description: "Large toolbar for prominent controls";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
/** @deprecated Toolbar size customization is deprecated. Omit `size` to use the default base size. */
|
|
29
|
+
declare const KUMO_TOOLBAR_DEFAULT_VARIANTS: {
|
|
30
|
+
readonly size: "base";
|
|
31
|
+
};
|
|
32
|
+
/** @deprecated Toolbar size customization is deprecated. Omit `size` to use the default base size. */
|
|
33
|
+
type ToolbarSize = keyof typeof KUMO_TOOLBAR_VARIANTS.size;
|
|
34
|
+
interface ToolbarProps extends Omit<Toolbar.Root.Props, "children"> {
|
|
35
|
+
/** Toolbar controls rendered as one grouped card. */
|
|
36
|
+
children: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Locks every toolbar item to this size.
|
|
39
|
+
* @deprecated Omit this prop to use the default base size. Toolbar size customization will be removed in a future major release.
|
|
40
|
+
*/
|
|
41
|
+
size?: ToolbarSize;
|
|
42
|
+
}
|
|
43
|
+
type ToolbarButtonProps = Omit<ButtonProps, "size" | "variant"> & Pick<Toolbar.Button.Props, "focusableWhenDisabled">;
|
|
44
|
+
type ToolbarLinkProps = Omit<LinkButtonProps, "size" | "variant">;
|
|
45
|
+
type ToolbarInputProps = Omit<InputProps, "size" | "variant" | "label" | "labelTooltip" | "description" | "hideLabel" | "error" | "passwordManagerIgnore" | "render"> & {
|
|
46
|
+
/** When `true`, the item remains focusable when disabled. */
|
|
47
|
+
focusableWhenDisabled?: Toolbar.Input.Props["focusableWhenDisabled"];
|
|
48
|
+
};
|
|
49
|
+
type ToolbarInputGroupProps = Omit<React.ComponentPropsWithoutRef<typeof InputGroup>, "size">;
|
|
50
|
+
declare const Toolbar$1: React.ForwardRefExoticComponent<Omit<ToolbarProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
51
|
+
Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "variant" | "size"> & Pick<import("@base-ui/react").ToolbarButtonProps, "focusableWhenDisabled"> & React.RefAttributes<HTMLButtonElement>>;
|
|
52
|
+
Link: React.ForwardRefExoticComponent<ToolbarLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
53
|
+
Input: React.ForwardRefExoticComponent<Omit<InputProps, "variant" | "label" | "labelTooltip" | "description" | "error" | "size" | "hideLabel" | "passwordManagerIgnore" | "render"> & {
|
|
54
|
+
/** When `true`, the item remains focusable when disabled. */
|
|
55
|
+
focusableWhenDisabled?: Toolbar.Input.Props["focusableWhenDisabled"];
|
|
56
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
57
|
+
InputGroup: React.ForwardRefExoticComponent<ToolbarInputGroupProps & React.RefAttributes<HTMLElement>>;
|
|
58
|
+
};
|
|
59
|
+
//#endregion
|
|
60
|
+
export { ToolbarInputGroupProps as a, ToolbarProps as c, ToolbarButtonProps as i, ToolbarSize as l, KUMO_TOOLBAR_VARIANTS as n, ToolbarInputProps as o, Toolbar$1 as r, ToolbarLinkProps as s, KUMO_TOOLBAR_DEFAULT_VARIANTS as t };
|
|
@@ -49,19 +49,19 @@ declare const KUMO_TEXT_VARIANTS: {
|
|
|
49
49
|
};
|
|
50
50
|
readonly size: {
|
|
51
51
|
readonly xs: {
|
|
52
|
-
readonly classes: "text-xs";
|
|
52
|
+
readonly classes: "text-xs/[inherit]";
|
|
53
53
|
readonly description: "Extra small text";
|
|
54
54
|
};
|
|
55
55
|
readonly sm: {
|
|
56
|
-
readonly classes: "text-sm";
|
|
56
|
+
readonly classes: "text-sm/[inherit]";
|
|
57
57
|
readonly description: "Small text";
|
|
58
58
|
};
|
|
59
59
|
readonly base: {
|
|
60
|
-
readonly classes: "text-base";
|
|
60
|
+
readonly classes: "text-base/[inherit]";
|
|
61
61
|
readonly description: "Default text size";
|
|
62
62
|
};
|
|
63
63
|
readonly lg: {
|
|
64
|
-
readonly classes: "text-lg";
|
|
64
|
+
readonly classes: "text-lg/[inherit]";
|
|
65
65
|
readonly description: "Large text";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
@@ -14,7 +14,7 @@ declare const KUMO_TABLE_VARIANTS: {
|
|
|
14
14
|
};
|
|
15
15
|
readonly variant: {
|
|
16
16
|
readonly default: {
|
|
17
|
-
readonly classes: "even:bg-kumo-
|
|
17
|
+
readonly classes: "even:bg-kumo-elevated [--kumo-table-row-bg:var(--color-kumo-base)] even:[--kumo-table-row-bg:var(--color-kumo-elevated)]";
|
|
18
18
|
readonly description: "Default row variant";
|
|
19
19
|
};
|
|
20
20
|
readonly selected: {
|
package/dist/index.d.ts
CHANGED
|
@@ -36,20 +36,20 @@ import { KUMO_LINK_DEFAULT_VARIANTS, KUMO_LINK_VARIANTS, KumoLinkVariant, KumoLi
|
|
|
36
36
|
import { n as Loader, t as SkeletonLine } from "./index-BAQwS4mL.js";
|
|
37
37
|
import { n as MenuBar, t as useMenuNavigation } from "./index-B7epkoHc.js";
|
|
38
38
|
import { t as Meter } from "./index-yK3Hayg_.js";
|
|
39
|
-
import { t as Pagination } from "./index-
|
|
39
|
+
import { t as Pagination } from "./index-DYYiDxZs.js";
|
|
40
40
|
import { _ as PopoverTriggerProps, a as Popover, d as PopoverDescriptionProps, h as PopoverTitleProps, l as PopoverContentProps, n as KUMO_POPOVER_VARIANTS, p as PopoverRootProps, s as PopoverCloseProps, t as KUMO_POPOVER_DEFAULT_VARIANTS } from "./index-BoPqM1Ia2.js";
|
|
41
41
|
import { a as KumoRadioVariantsProps, c as RadioGroup, d as RadioItemProps, f as RadioLegendProps, i as KumoRadioVariant, l as RadioGroupChangeEventDetails, m as radioVariants, n as KUMO_RADIO_VARIANTS, o as Radio, p as RadioVariant, r as KumoRadioAppearance, s as RadioControlPosition, t as KUMO_RADIO_DEFAULT_VARIANTS, u as RadioGroupProps } from "./index-bAud6rG22.js";
|
|
42
|
-
import { t as Select } from "./index-
|
|
42
|
+
import { t as Select } from "./index-D97n4Bpf2.js";
|
|
43
43
|
import { i as SensitiveInputProps, n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./index-D2Gvly0i2.js";
|
|
44
44
|
import { A as SidebarProviderProps, C as SidebarMenuItem, D as SidebarMenuSubButtonProps, E as SidebarMenuSubButton, F as SidebarScrollAlign, G as SidebarVariant, I as SidebarScrollToItemOptions, K as useSidebar, L as SidebarSeparator, M as SidebarResizeHandle, N as SidebarRoot, O as SidebarMenuSubItem, P as SidebarRootProps, R as SidebarSide, S as SidebarMenuChevron, T as SidebarMenuSub, U as SidebarState, V as SidebarSlidingViews, W as SidebarTrigger, _ as SidebarMenu, a as SidebarCollapsible, b as SidebarMenuButtonProps, c as SidebarCollapsibleTrigger, d as SidebarContextValue, f as SidebarFooter, g as SidebarLoading, h as SidebarHeader, i as Sidebar, j as SidebarRail, k as SidebarProvider, m as SidebarGroupLabel, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarGroup, r as KUMO_SIDEBAR_VARIANTS, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarContent, v as SidebarMenuBadge, w as SidebarMenuItemProps, x as SidebarMenuButtonSize, y as SidebarMenuButton, z as SidebarSlidingView } from "./index-CMiftS8L2.js";
|
|
45
45
|
import { t as Surface } from "./index-CzIWigmH.js";
|
|
46
46
|
import { a as Switch, c as SwitchLegendProps } from "./index-AMEc1MEg2.js";
|
|
47
47
|
import { a as KUMO_TABLE_OF_CONTENTS_VARIANTS, c as TableOfContentsGroupProps, d as TableOfContentsProps, f as TableOfContentsTitleProps, i as KUMO_TABLE_OF_CONTENTS_DEFAULT_VARIANTS, l as TableOfContentsItemProps, n as UseTableOfContentsActiveIdResult, o as KumoTableOfContentsState, r as useTableOfContentsActiveId, s as TableOfContents, t as UseTableOfContentsActiveIdOptions, u as TableOfContentsListProps } from "./index-DIV3riUd2.js";
|
|
48
|
-
import { a as Table } from "./index-
|
|
48
|
+
import { a as Table } from "./index-_Sl5wohy2.js";
|
|
49
49
|
import { n as TabsItem, r as TabsProps, t as Tabs } from "./index-FCkuxSvs2.js";
|
|
50
|
-
import { t as Text } from "./index-
|
|
50
|
+
import { t as Text } from "./index-Dzzi1o7w2.js";
|
|
51
51
|
import { a as Toasty, i as ToastProvider, o as createKumoToastManager, s as useKumoToastManager, t as Toast } from "./index-CGbkysYW2.js";
|
|
52
|
-
import { a as ToolbarInputGroupProps, c as
|
|
52
|
+
import { a as ToolbarInputGroupProps, c as ToolbarProps, i as ToolbarButtonProps, l as ToolbarSize, n as KUMO_TOOLBAR_VARIANTS, o as ToolbarInputProps, r as Toolbar, s as ToolbarLinkProps, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./index-BXsHCLB82.js";
|
|
53
53
|
import "./components/tooltip.js";
|
|
54
54
|
import { n as safeRandomId, t as cn } from "./cn-DCSItmT-.js";
|
|
55
55
|
//#region src/blocks/delete-resource/delete-resource.d.ts
|
|
@@ -99,4 +99,4 @@ declare namespace DeleteResource {
|
|
|
99
99
|
var displayName: string;
|
|
100
100
|
}
|
|
101
101
|
//#endregion
|
|
102
|
-
export { Autocomplete, type AutocompleteProps, Badge, type BadgeVariant, Banner, BannerVariant, Breadcrumb as Breadcrumbs, type BreadcrumbsProps, BubbleMap, type BubbleMapProps, Button, type ButtonProps, Chart, ChartLegend, ChartPalette, Checkbox, type CheckboxChangeEventDetails, type CheckboxLegendProps, type CheckboxProps, ChoroplethMap, type ChoroplethMapProps, ClipboardText, CloudflareLogo, type CloudflareLogoColor, type CloudflareLogoProps, type CloudflareLogoSvgColor, type CloudflareLogoSvgVariant, type CloudflareLogoVariant, Code, CodeBlock, Collapsible, type CollapsibleDefaultPanelProps, type CollapsibleDefaultTriggerProps, type CollapsiblePanelProps, type CollapsibleProps, type CollapsibleRootProps, type CollapsibleTriggerProps, Combobox, CommandPalette, type CommandPaletteEmptyProps, type CommandPaletteFooterProps, type CommandPaletteGroupLabelProps, type CommandPaletteGroupProps, type CommandPaletteInputProps, type CommandPaletteItemProps, type CommandPaletteListProps, type CommandPaletteLoadingProps, type CommandPaletteResultItemProps, type CommandPaletteRootProps, type ComponentRegistry, type ComponentSchema, type ComponentStyling, type ComponentType, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DayPickerProps, DeleteResource, type DeleteResourceProps, Dialog, DialogClose, type DialogCloseProps, DialogDescription, type DialogDescriptionProps, type DialogProps, DialogRoot, type DialogRootProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DropdownMenu, Empty, type EmptyProps, Field, type FieldErrorMatch, type FieldProps, Flow, type GenerateCloudflareLogoSvgOptions, Grid, GridItem, type GridItemProps, type GridProps, type HighlightRange, Input, InputArea, type InputAreaProps, InputGroup, type InputGroupAddonProps, type InputGroupButtonProps, type InputGroupInputProps, type InputGroupRootProps, type InputGroupSuffixProps, type InputProps, KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, KUMO_AUTOCOMPLETE_VARIANTS, KUMO_CLOUDFLARE_LOGO_DEFAULT_VARIANTS, KUMO_CLOUDFLARE_LOGO_VARIANTS, KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, KUMO_COMMAND_PALETTE_VARIANTS, KUMO_DELETE_RESOURCE_DEFAULT_VARIANTS, KUMO_DELETE_RESOURCE_VARIANTS, KUMO_FIELD_DEFAULT_VARIANTS, KUMO_FIELD_VARIANTS, KUMO_GRID_DEFAULT_VARIANTS, KUMO_GRID_VARIANTS, KUMO_LABEL_DEFAULT_VARIANTS, KUMO_LABEL_VARIANTS, KUMO_LINK_DEFAULT_VARIANTS, KUMO_LINK_VARIANTS, KUMO_POPOVER_DEFAULT_VARIANTS, KUMO_POPOVER_VARIANTS, KUMO_RADIO_DEFAULT_VARIANTS, KUMO_RADIO_VARIANTS, KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS, KUMO_SENSITIVE_INPUT_VARIANTS, KUMO_SIDEBAR_DEFAULT_VARIANTS, KUMO_SIDEBAR_STYLING, KUMO_SIDEBAR_VARIANTS, KUMO_TABLE_OF_CONTENTS_DEFAULT_VARIANTS, KUMO_TABLE_OF_CONTENTS_VARIANTS, KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, type KumoAutocompleteSize, type KumoChartOption, type KumoGridGap, type KumoGridVariant, type KumoLinkVariant, type KumoLinkVariantsProps, KumoPortalProvider, type KumoRadioAppearance, type KumoRadioVariant, type KumoRadioVariantsProps, type KumoTableOfContentsState, Label, type LabelProps, LayerCard, Link, LinkButton, type LinkButtonProps, type LinkComponentProps, type LinkProps, LinkProvider, Loader, type MapAccessor, type MapGeoJson, type MapProjection, type MapStyle, MenuBar, Meter, Pagination, Popover, type PopoverCloseProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverRootProps, type PopoverTitleProps, type PopoverTriggerProps, type PortalContainer, PoweredByCloudflare, type PoweredByCloudflareProps, type PropSchema, Radio, type RadioControlPosition, RadioGroup, type RadioGroupChangeEventDetails, type RadioGroupProps, type RadioItemProps, type RadioLegendProps, type RadioVariant, RefreshButton, SankeyChart, type SankeyChartProps, type SankeyLinkData, type SankeyNodeData, type SankeyTooltipParams, Select, SensitiveInput, type SensitiveInputProps, Sidebar, SidebarCollapsible, type SidebarCollapsible as SidebarCollapsibleType, SidebarCollapsibleContent, SidebarCollapsibleTrigger, SidebarContent, type SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarLoading, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, type SidebarMenuButtonSize, SidebarMenuChevron, SidebarMenuItem, type SidebarMenuItemProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarResizeHandle, SidebarRoot, type SidebarRootProps, type SidebarScrollAlign, type SidebarScrollToItemOptions, SidebarSeparator, type SidebarSide, SidebarSlidingView, SidebarSlidingViews, type SidebarState, SidebarTrigger, type SidebarVariant, SkeletonLine, type SubComponentSchema, Surface, Switch, type SwitchLegendProps, Table, TableOfContents, type TableOfContentsGroupProps, type TableOfContentsItemProps, type TableOfContentsListProps, type TableOfContentsProps, type TableOfContentsTitleProps, Tabs, type TabsItem, type TabsProps, Text, Textarea, TimeseriesChart, Toast, ToastProvider, Toasty, Toolbar, type ToolbarButtonProps, type ToolbarInputGroupProps, type ToolbarInputProps, type ToolbarProps, type ToolbarSize, Tooltip, TooltipProvider, type UseTableOfContentsActiveIdOptions, type UseTableOfContentsActiveIdResult, autocompleteVariants, buttonVariants, cn, createKumoToastManager, fieldVariants, generateCloudflareLogoSvg, gridItemVariants, gridVariants, inputVariants, labelContentVariants, labelVariants, linkVariants, radioVariants, safeRandomId, useKumoToastManager, useLinkComponent, useMenuNavigation, useSidebar, useTableOfContentsActiveId };
|
|
102
|
+
export { Autocomplete, type AutocompleteProps, Badge, type BadgeVariant, Banner, BannerVariant, Breadcrumb as Breadcrumbs, type BreadcrumbsProps, BubbleMap, type BubbleMapProps, Button, type ButtonProps, Chart, ChartLegend, ChartPalette, Checkbox, type CheckboxChangeEventDetails, type CheckboxLegendProps, type CheckboxProps, ChoroplethMap, type ChoroplethMapProps, ClipboardText, CloudflareLogo, type CloudflareLogoColor, type CloudflareLogoProps, type CloudflareLogoSvgColor, type CloudflareLogoSvgVariant, type CloudflareLogoVariant, Code, CodeBlock, Collapsible, type CollapsibleDefaultPanelProps, type CollapsibleDefaultTriggerProps, type CollapsiblePanelProps, type CollapsibleProps, type CollapsibleRootProps, type CollapsibleTriggerProps, Combobox, CommandPalette, type CommandPaletteEmptyProps, type CommandPaletteFooterProps, type CommandPaletteGroupLabelProps, type CommandPaletteGroupProps, type CommandPaletteInputProps, type CommandPaletteItemProps, type CommandPaletteListProps, type CommandPaletteLoadingProps, type CommandPaletteResultItemProps, type CommandPaletteRootProps, type ComponentRegistry, type ComponentSchema, type ComponentStyling, type ComponentType, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DayPickerProps, DeleteResource, type DeleteResourceProps, Dialog, DialogClose, type DialogCloseProps, DialogDescription, type DialogDescriptionProps, type DialogProps, DialogRoot, type DialogRootProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, DropdownMenu, Empty, type EmptyProps, Field, type FieldErrorMatch, type FieldProps, Flow, type GenerateCloudflareLogoSvgOptions, Grid, GridItem, type GridItemProps, type GridProps, type HighlightRange, Input, InputArea, type InputAreaProps, InputGroup, type InputGroupAddonProps, type InputGroupButtonProps, type InputGroupInputProps, type InputGroupRootProps, type InputGroupSuffixProps, type InputProps, KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, KUMO_AUTOCOMPLETE_VARIANTS, KUMO_CLOUDFLARE_LOGO_DEFAULT_VARIANTS, KUMO_CLOUDFLARE_LOGO_VARIANTS, KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, KUMO_COMMAND_PALETTE_VARIANTS, KUMO_DELETE_RESOURCE_DEFAULT_VARIANTS, KUMO_DELETE_RESOURCE_VARIANTS, KUMO_FIELD_DEFAULT_VARIANTS, KUMO_FIELD_VARIANTS, KUMO_GRID_DEFAULT_VARIANTS, KUMO_GRID_VARIANTS, KUMO_LABEL_DEFAULT_VARIANTS, KUMO_LABEL_VARIANTS, KUMO_LINK_DEFAULT_VARIANTS, KUMO_LINK_VARIANTS, KUMO_POPOVER_DEFAULT_VARIANTS, KUMO_POPOVER_VARIANTS, KUMO_RADIO_DEFAULT_VARIANTS, KUMO_RADIO_VARIANTS, KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS, KUMO_SENSITIVE_INPUT_VARIANTS, KUMO_SIDEBAR_DEFAULT_VARIANTS, KUMO_SIDEBAR_STYLING, KUMO_SIDEBAR_VARIANTS, KUMO_TABLE_OF_CONTENTS_DEFAULT_VARIANTS, KUMO_TABLE_OF_CONTENTS_VARIANTS, KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, type KumoAutocompleteSize, type KumoChartOption, type KumoGridGap, type KumoGridVariant, type KumoLinkVariant, type KumoLinkVariantsProps, KumoPortalProvider, type KumoRadioAppearance, type KumoRadioVariant, type KumoRadioVariantsProps, type KumoTableOfContentsState, Label, type LabelProps, LayerCard, Link, LinkButton, type LinkButtonProps, type LinkComponentProps, type LinkProps, LinkProvider, Loader, type MapAccessor, type MapGeoJson, type MapProjection, type MapStyle, MenuBar, Meter, Pagination, Popover, type PopoverCloseProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverRootProps, type PopoverTitleProps, type PopoverTriggerProps, type PortalContainer, PoweredByCloudflare, type PoweredByCloudflareProps, type PropSchema, Radio, type RadioControlPosition, RadioGroup, type RadioGroupChangeEventDetails, type RadioGroupProps, type RadioItemProps, type RadioLegendProps, type RadioVariant, RefreshButton, SankeyChart, type SankeyChartProps, type SankeyLinkData, type SankeyNodeData, type SankeyTooltipParams, Select, SensitiveInput, type SensitiveInputProps, Sidebar, SidebarCollapsible, type SidebarCollapsible as SidebarCollapsibleType, SidebarCollapsibleContent, SidebarCollapsibleTrigger, SidebarContent, type SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarLoading, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, type SidebarMenuButtonSize, SidebarMenuChevron, SidebarMenuItem, type SidebarMenuItemProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarResizeHandle, SidebarRoot, type SidebarRootProps, type SidebarScrollAlign, type SidebarScrollToItemOptions, SidebarSeparator, type SidebarSide, SidebarSlidingView, SidebarSlidingViews, type SidebarState, SidebarTrigger, type SidebarVariant, SkeletonLine, type SubComponentSchema, Surface, Switch, type SwitchLegendProps, Table, TableOfContents, type TableOfContentsGroupProps, type TableOfContentsItemProps, type TableOfContentsListProps, type TableOfContentsProps, type TableOfContentsTitleProps, Tabs, type TabsItem, type TabsProps, Text, Textarea, TimeseriesChart, Toast, ToastProvider, Toasty, Toolbar, type ToolbarButtonProps, type ToolbarInputGroupProps, type ToolbarInputProps, type ToolbarLinkProps, type ToolbarProps, type ToolbarSize, Tooltip, TooltipProvider, type UseTableOfContentsActiveIdOptions, type UseTableOfContentsActiveIdResult, autocompleteVariants, buttonVariants, cn, createKumoToastManager, fieldVariants, generateCloudflareLogoSvg, gridItemVariants, gridVariants, inputVariants, labelContentVariants, labelVariants, linkVariants, radioVariants, safeRandomId, useKumoToastManager, useLinkComponent, useMenuNavigation, useSidebar, useTableOfContentsActiveId };
|