@cloudflare/kumo 2.13.0 → 2.13.2
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 +12 -0
- package/ai/component-registry.json +2 -2
- package/ai/component-registry.md +2 -2
- package/dist/.build-complete +1 -1
- package/dist/chunks/{autocomplete-msex8kc8sw3fp373.js → autocomplete-dn6g4rc8bktdl4an.js} +2 -2
- package/dist/chunks/{banner-nz02b60ech1e2m6f.js → banner-n1ekcvrwashsgv93.js} +1 -1
- package/dist/chunks/{breadcrumbs-jvlyp3bw0u8qx4fi.js → breadcrumbs-ffwe8tzqzmpyikq5.js} +1 -1
- package/dist/chunks/{button-iqaz1uluabeo18f0.js → button-h36q7tklakhd38nx.js} +1 -1
- package/dist/chunks/{checkbox-crxoyqsxiupt9kmi.js → checkbox-jachq6akfh72x12r.js} +1 -1
- package/dist/chunks/{clipboard-text-osbgah3jz16ma2vv.js → clipboard-text-ms46uaujvkjmjnng.js} +2 -2
- package/dist/chunks/{combobox-fktl12ss7vfjryga.js → combobox-hxarufzb1z61xnbv.js} +2 -2
- package/dist/chunks/{empty-kfofsb6khrn1s26v.js → empty-ox60d384lkwbj5n4.js} +1 -1
- package/dist/chunks/{field-i7lxgmtio7nutt7c.js → field-kgz7w7yixmtpg010.js} +1 -1
- package/dist/chunks/{input-group-ijrmolg1svgq4ayn.js → input-group-kshukialqry0fmra.js} +4 -4
- package/dist/chunks/{input-oc9u4galsdrwy00s.js → input-ikfimmpl5sngvh9s.js} +2 -2
- package/dist/chunks/{input-jthoux2vfxltqtdh.js → input-pehjmr1q131tz38w.js} +1 -1
- package/dist/chunks/{label-ow6ait7o31g1umgy.js → label-ie2gpde0nco1avi7.js} +2 -2
- package/dist/chunks/{menubar-fu5u76o529yi19kp.js → menubar-ljbsj2ulayebjyza.js} +1 -1
- package/dist/chunks/{pagination-crizrd9w23nyw7zq.js → pagination-i3jewbdolgru0xnr.js} +2 -2
- package/dist/chunks/{select-k4olzuzdl8an5gez.js → select-ndqpqpmqtmn497rq.js} +4 -4
- package/dist/chunks/{sensitive-input-lba9qvv3ai4xwgux.js → sensitive-input-jtbp3mvdynz9wewu.js} +2 -2
- package/dist/chunks/{sidebar-enm5suo7wq163iw5.js → sidebar-icky50wdc2b1biw8.js} +16 -4
- package/dist/chunks/{switch-bstb0wl1bi8hjt4z.js → switch-oghrd7f6i5jqar59.js} +1 -1
- package/dist/chunks/{table-hhq2akb92vd5e1x6.js → table-miggde3uqhhrd5at.js} +1 -1
- package/dist/chunks/{toast-byzrdv104awqbkjh.js → toast-g435fvt74w5orxqo.js} +1 -1
- package/dist/chunks/{toolbar-jcocktiw68xtixzj.js → toolbar-e0b61hr6ys6dmwhv.js} +3 -3
- package/dist/chunks/{tooltip-k9f7io0k22k5jorq.js → tooltip-jq15p5jzgfrhslpo.js} +1 -1
- package/dist/code.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/clipboard-text.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/label.js +1 -1
- package/dist/components/menubar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/sensitive-input.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toolbar.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/{index-CMiftS8L2.d.ts → index-BcRyiNd72.d.ts} +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -23
- package/package.json +2 -2
- package/dist/index-Dh95FgdH2.d.ts +0 -60
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @cloudflare/kumo
|
|
2
2
|
|
|
3
|
+
## 2.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 36fc155: Add `scrollItemIntoView()` to preserve the position of visible sidebar items while honoring alignment for offscreen items.
|
|
8
|
+
|
|
9
|
+
## 2.13.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7d5241d: Allow default Tooltip trigger children to control their line height, preventing inherited text from being clipped.
|
|
14
|
+
|
|
3
15
|
## 2.13.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -6752,14 +6752,14 @@
|
|
|
6752
6752
|
}
|
|
6753
6753
|
},
|
|
6754
6754
|
"examples": [
|
|
6755
|
-
"<div className=\"flex flex-col gap-6\">\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Segmented (default)</p>\n <Tabs\n variant=\"segmented\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Underline</p>\n <Tabs\n variant=\"underline\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n </div>",
|
|
6755
|
+
"<div className=\"flex flex-col items-start gap-6\">\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Segmented (default)</p>\n <Tabs\n variant=\"segmented\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Underline</p>\n <Tabs\n variant=\"underline\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n </div>",
|
|
6756
6756
|
"<Tabs\n variant=\"segmented\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />",
|
|
6757
6757
|
"<Tabs\n variant=\"underline\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />",
|
|
6758
6758
|
"<div className=\"space-y-4\">\n <Tabs\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n value={activeTab}\n onValueChange={setActiveTab}\n />\n <p className=\"text-sm text-kumo-subtle\">\n Active tab: <code className=\"text-sm\">{activeTab}</code>\n </p>\n </div>",
|
|
6759
6759
|
"<div className=\"w-full max-w-md\">\n <Tabs\n tabs={[\n { value: \"overview\", label: \"Overview\" },\n { value: \"analytics\", label: \"Analytics\" },\n { value: \"reports\", label: \"Reports\" },\n { value: \"notifications\", label: \"Notifications\" },\n { value: \"settings\", label: \"Settings\" },\n { value: \"billing\", label: \"Billing\" },\n { value: \"security\", label: \"Security\" },\n { value: \"integrations\", label: \"Integrations\" },\n ]}\n selectedValue=\"overview\"\n />\n </div>",
|
|
6760
6760
|
"<div className=\"w-full max-w-xs\">\n <Tabs\n tabs={[\n { value: \"overview\", label: \"Overview\" },\n { value: \"analytics\", label: \"Analytics\" },\n { value: \"reports\", label: \"Reports\" },\n { value: \"notifications\", label: \"Notifications\" },\n { value: \"settings\", label: \"Settings\" },\n { value: \"billing\", label: \"Billing\" },\n { value: \"security\", label: \"Security\" },\n { value: \"integrations\", label: \"Integrations\" },\n ]}\n selectedValue=\"overview\"\n />\n </div>",
|
|
6761
6761
|
"<div className=\"space-y-3\">\n <div className=\"w-full max-w-[588px]\">\n <Tabs tabs={tabs} selectedValue=\"settings\" />\n </div>\n <div className=\"flex items-center gap-3 text-sm text-kumo-subtle\">\n <button\n type=\"button\"\n className=\"rounded-md border border-kumo-line bg-kumo-base px-2.5 py-1 text-kumo-default hover:bg-kumo-tint focus:ring-2 focus:ring-kumo-brand focus:outline-none\"\n onClick={() => setShowExtraTabs((current) => !current)}\n >\n Toggle extra tabs\n </button>\n <span>{showExtraTabs ? \"10 tabs\" : \"7 tabs\"}</span>\n </div>\n </div>",
|
|
6762
|
-
"<div className=\"flex flex-col gap-6\">\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Segmented sm</p>\n <Tabs\n variant=\"segmented\"\n size=\"sm\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Underline sm</p>\n <Tabs\n variant=\"underline\"\n size=\"sm\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n </div>",
|
|
6762
|
+
"<div className=\"flex flex-col items-start gap-6\">\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Segmented sm</p>\n <Tabs\n variant=\"segmented\"\n size=\"sm\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n <div>\n <p className=\"mb-2 text-sm text-kumo-subtle\">Underline sm</p>\n <Tabs\n variant=\"underline\"\n size=\"sm\"\n tabs={[\n { value: \"tab1\", label: \"Tab 1\" },\n { value: \"tab2\", label: \"Tab 2\" },\n { value: \"tab3\", label: \"Tab 3\" },\n ]}\n selectedValue=\"tab1\"\n />\n </div>\n </div>",
|
|
6763
6763
|
"<Tabs\n tabs={[\n {\n value: \"tab1\",\n label: \"Regular Tab\",\n },\n {\n value: \"tab2\",\n label: \"Link Tab\",\n nativeButton: false,\n render: (props) => <a {...props} href=\"#tab2\" />,\n },\n {\n value: \"tab3\",\n label: \"Cloudflare\",\n nativeButton: false,\n render: (props) => (\n <a {...props} href=\"https://cloudflare.com\" target=\"_blank\" />\n ),\n },\n ]}\n selectedValue=\"tab1\"\n />"
|
|
6764
6764
|
],
|
|
6765
6765
|
"colors": [
|
package/ai/component-registry.md
CHANGED
|
@@ -9198,7 +9198,7 @@ Tab navigation component with segmented or underline style. Built on Base UI Tab
|
|
|
9198
9198
|
**Examples:**
|
|
9199
9199
|
|
|
9200
9200
|
```tsx
|
|
9201
|
-
<div className="flex flex-col gap-6">
|
|
9201
|
+
<div className="flex flex-col items-start gap-6">
|
|
9202
9202
|
<div>
|
|
9203
9203
|
<p className="mb-2 text-sm text-kumo-subtle">Segmented (default)</p>
|
|
9204
9204
|
<Tabs
|
|
@@ -9292,7 +9292,7 @@ Tab navigation component with segmented or underline style. Built on Base UI Tab
|
|
|
9292
9292
|
```
|
|
9293
9293
|
|
|
9294
9294
|
```tsx
|
|
9295
|
-
<div className="flex flex-col gap-6">
|
|
9295
|
+
<div className="flex flex-col items-start gap-6">
|
|
9296
9296
|
<div>
|
|
9297
9297
|
<p className="mb-2 text-sm text-kumo-subtle">Segmented sm</p>
|
|
9298
9298
|
<Tabs
|
package/dist/.build-complete
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1788876240364
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
|
-
import { t as Field } from "./field-
|
|
5
|
-
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-
|
|
4
|
+
import { t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
5
|
+
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-pehjmr1q131tz38w.js";
|
|
6
6
|
import { a as ComboboxGroupLabel, c as ComboboxList, l as ComboboxCollection, o as ComboboxGroup, t as ComboboxEmpty, u as ComboboxInput, y as useCoreFilter } from "./ComboboxEmpty-hwv2kjxnf9un635e.js";
|
|
7
7
|
import { n as ComboboxPositioner, r as ComboboxPortal, t as ComboboxPopup } from "./ComboboxPopup-fx7xex6g75t9u0gm.js";
|
|
8
8
|
import { t as Separator$1 } from "./Separator-b8wf5rea6m1cei8k.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { r as Link } from "./link-gp4swsrd3vfnvori.js";
|
|
5
|
-
import { t as Button } from "./button-
|
|
5
|
+
import { t as Button } from "./button-h36q7tklakhd38nx.js";
|
|
6
6
|
import { createContext, forwardRef, isValidElement, useContext } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/banner/banner-action.tsx
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
|
|
5
|
-
import { t as Button } from "./button-
|
|
5
|
+
import { t as Button } from "./button-h36q7tklakhd38nx.js";
|
|
6
6
|
import { t as SkeletonLine } from "./skeleton-line-hlk5vauzo7xsalbo.js";
|
|
7
7
|
import { Children, cloneElement, isValidElement, useEffect, useState } from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
|
|
5
5
|
import { t as Loader } from "./loader-j2v6fab8iucuxz1z.js";
|
|
6
|
-
import { t as Tooltip } from "./tooltip-
|
|
6
|
+
import { t as Tooltip } from "./tooltip-jq15p5jzgfrhslpo.js";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { ArrowsClockwise } from "@phosphor-icons/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { r as Label } from "./label-
|
|
3
|
+
import { r as Label } from "./label-ie2gpde0nco1avi7.js";
|
|
4
4
|
import { n as FieldsetRoot, t as FieldsetLegend } from "./FieldsetLegend-j5piwq1giyhrr8s4.js";
|
|
5
5
|
import { n as FieldRoot, t as FieldLabel } from "./FieldLabel-f6vwzm8nefzxwlh8.js";
|
|
6
6
|
import { t as CheckboxRoot } from "./CheckboxRoot-o5bfpje6e4p6pdgm.js";
|
package/dist/chunks/{clipboard-text-osbgah3jz16ma2vv.js → clipboard-text-ms46uaujvkjmjnng.js}
RENAMED
|
@@ -3,9 +3,9 @@ import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { a as TooltipTrigger, i as TooltipPortal, n as TooltipPositioner, s as TooltipRoot, t as TooltipPopup } from "./TooltipPopup-l2zrbjavf1cqclfx.js";
|
|
5
5
|
import { t as TooltipProvider } from "./TooltipProvider-eyhgia63aq2x4frl.js";
|
|
6
|
-
import { t as Button } from "./button-
|
|
6
|
+
import { t as Button } from "./button-h36q7tklakhd38nx.js";
|
|
7
7
|
import { a as ToastDescription, c as ToastViewport, l as ToastProvider, n as useToastManager, o as ToastRoot, r as ToastPositioner, t as createToastManager } from "./createToastManager-kv89sv0xhhsvmq54.js";
|
|
8
|
-
import { r as inputVariants } from "./input-
|
|
8
|
+
import { r as inputVariants } from "./input-pehjmr1q131tz38w.js";
|
|
9
9
|
import { forwardRef, useCallback, useEffect, useRef, useState } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { CheckIcon, CopyIcon } from "@phosphor-icons/react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { n as usePortalContainer } from "./portal-provider-gznk6snyqj6egd6d.js";
|
|
4
|
-
import { t as Field } from "./field-
|
|
5
|
-
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-
|
|
4
|
+
import { t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
5
|
+
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-pehjmr1q131tz38w.js";
|
|
6
6
|
import { a as ComboboxGroupLabel, c as ComboboxList, l as ComboboxCollection, n as ComboboxItem, o as ComboboxGroup, t as ComboboxEmpty, u as ComboboxInput, v as useComboboxFilter } from "./ComboboxEmpty-hwv2kjxnf9un635e.js";
|
|
7
7
|
import { a as ComboboxValue, i as ComboboxItemIndicator, n as ComboboxChip, o as ComboboxRoot, r as ComboboxChips, t as ComboboxChipRemove } from "./ComboboxChipRemove-ksyozjezihhstmbu.js";
|
|
8
8
|
import { n as ComboboxIcon, r as ComboboxTrigger, t as ComboboxClear } from "./ComboboxClear-glm805v81uaaf3su.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
|
-
import { t as Button } from "./button-
|
|
4
|
+
import { t as Button } from "./button-h36q7tklakhd38nx.js";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { CheckIcon, CopyIcon } from "@phosphor-icons/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { r as Label } from "./label-
|
|
3
|
+
import { r as Label } from "./label-ie2gpde0nco1avi7.js";
|
|
4
4
|
import { n as FieldRoot, t as FieldLabel } from "./FieldLabel-f6vwzm8nefzxwlh8.js";
|
|
5
5
|
import { n as FieldError, t as FieldDescription } from "./FieldDescription-ju607ea6gwgzga8p.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { t as Tooltip } from "./tooltip-
|
|
4
|
-
import { t as Button$1 } from "./button-
|
|
5
|
-
import { t as Field } from "./field-
|
|
6
|
-
import { r as inputVariants, t as Input$1 } from "./input-
|
|
3
|
+
import { t as Tooltip } from "./tooltip-jq15p5jzgfrhslpo.js";
|
|
4
|
+
import { t as Button$1 } from "./button-h36q7tklakhd38nx.js";
|
|
5
|
+
import { t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
6
|
+
import { r as inputVariants, t as Input$1 } from "./input-pehjmr1q131tz38w.js";
|
|
7
7
|
import React, { Children, cloneElement, createContext, forwardRef, isValidElement, useContext, useId, useMemo } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/input-group/context.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as FieldControl } from "./FieldControl-oz007qbkl6ejp7di.js";
|
|
4
|
-
import { a as normalizeFieldError, t as Field } from "./field-
|
|
5
|
-
import { r as inputVariants } from "./input-
|
|
4
|
+
import { a as normalizeFieldError, t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
5
|
+
import { r as inputVariants } from "./input-pehjmr1q131tz38w.js";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { useCallback, useEffect, useLayoutEffect, useRef } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { t as Input$1 } from "./Input-ovqfhsmpfcrg5czm.js";
|
|
5
|
-
import { a as normalizeFieldError, t as Field } from "./field-
|
|
5
|
+
import { a as normalizeFieldError, t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/input/input.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { t as Tooltip } from "./tooltip-
|
|
4
|
-
import { t as Button } from "./button-
|
|
3
|
+
import { t as Tooltip } from "./tooltip-jq15p5jzgfrhslpo.js";
|
|
4
|
+
import { t as Button } from "./button-h36q7tklakhd38nx.js";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { Info } from "@phosphor-icons/react";
|
|
7
7
|
//#region src/components/label/label.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { t as Tooltip } from "./tooltip-
|
|
3
|
+
import { t as Tooltip } from "./tooltip-jq15p5jzgfrhslpo.js";
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { IconContext } from "@phosphor-icons/react";
|
|
@@ -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-kshukialqry0fmra.js";
|
|
4
|
+
import { t as Select } from "./select-ndqpqpmqtmn497rq.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";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { n as usePortalContainer } from "./portal-provider-gznk6snyqj6egd6d.js";
|
|
4
|
-
import { i as buttonVariants } from "./button-
|
|
5
|
-
import { r as Label } from "./label-
|
|
6
|
-
import { t as Field } from "./field-
|
|
7
|
-
import { n as KUMO_INPUT_VARIANTS } from "./input-
|
|
4
|
+
import { i as buttonVariants } from "./button-h36q7tklakhd38nx.js";
|
|
5
|
+
import { r as Label } from "./label-ie2gpde0nco1avi7.js";
|
|
6
|
+
import { t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
7
|
+
import { n as KUMO_INPUT_VARIANTS } from "./input-pehjmr1q131tz38w.js";
|
|
8
8
|
import { t as Separator$1 } from "./Separator-b8wf5rea6m1cei8k.js";
|
|
9
9
|
import { t as SkeletonLine } from "./skeleton-line-hlk5vauzo7xsalbo.js";
|
|
10
10
|
import { a as SelectItem, c as SelectPositioner, d as SelectIcon, f as SelectValue, h as SelectRoot, i as SelectItemIndicator, m as SelectLabel, n as SelectGroup, o as SelectList, p as SelectTrigger, r as SelectItemText, s as SelectPopup, t as SelectGroupLabel, u as SelectPortal } from "./SelectGroupLabel-m4h5hrft9043nsd1.js";
|
package/dist/chunks/{sensitive-input-lba9qvv3ai4xwgux.js → sensitive-input-jtbp3mvdynz9wewu.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as Input } from "./Input-ovqfhsmpfcrg5czm.js";
|
|
4
|
-
import { t as Field } from "./field-
|
|
5
|
-
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-
|
|
4
|
+
import { t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
5
|
+
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-pehjmr1q131tz38w.js";
|
|
6
6
|
import { forwardRef, useCallback, useEffect, useId, useRef, useState } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { Eye, EyeSlash } from "@phosphor-icons/react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
|
|
4
|
-
import { n as TooltipProvider, t as Tooltip } from "./tooltip-
|
|
5
|
-
import { t as Button } from "./button-
|
|
4
|
+
import { n as TooltipProvider, t as Tooltip } from "./tooltip-jq15p5jzgfrhslpo.js";
|
|
5
|
+
import { t as Button } from "./button-h36q7tklakhd38nx.js";
|
|
6
6
|
import { t as SkeletonLine } from "./skeleton-line-hlk5vauzo7xsalbo.js";
|
|
7
7
|
import { a as ScrollAreaRoot, i as ScrollAreaViewport, n as ScrollAreaContent, r as ScrollAreaScrollbar, t as ScrollAreaThumb } from "./ScrollAreaThumb-kmhan411yxfo0362.js";
|
|
8
8
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -176,7 +176,8 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
|
|
|
176
176
|
if (!viewport) return;
|
|
177
177
|
const targetRect = target.getBoundingClientRect();
|
|
178
178
|
const viewportRect = viewport.getBoundingClientRect();
|
|
179
|
-
const
|
|
179
|
+
const viewportScaleY = viewport.offsetHeight > 0 && viewportRect.height > 0 ? viewportRect.height / viewport.offsetHeight : 1;
|
|
180
|
+
const itemScrollOffset = (targetRect.top - viewportRect.top) / viewportScaleY + viewport.scrollTop;
|
|
180
181
|
let desired;
|
|
181
182
|
if (align === "center") desired = itemScrollOffset - (viewport.clientHeight - target.offsetHeight) / 2;
|
|
182
183
|
else if (align === "end") desired = itemScrollOffset - (viewport.clientHeight - target.offsetHeight);
|
|
@@ -194,6 +195,16 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
|
|
|
194
195
|
behavior: reducedMotion ? "auto" : behavior
|
|
195
196
|
});
|
|
196
197
|
}, []);
|
|
198
|
+
const scrollItemIntoView = useCallback((id, options = {}) => {
|
|
199
|
+
const target = itemsRef.current.get(id);
|
|
200
|
+
if (!target) return;
|
|
201
|
+
const viewport = target.closest("[data-sidebar=\"viewport\"]");
|
|
202
|
+
if (!viewport) return;
|
|
203
|
+
const targetRect = target.getBoundingClientRect();
|
|
204
|
+
const viewportRect = viewport.getBoundingClientRect();
|
|
205
|
+
if (targetRect.top >= viewportRect.top && targetRect.bottom <= viewportRect.bottom) return;
|
|
206
|
+
scrollToItem(id, options);
|
|
207
|
+
}, [scrollToItem]);
|
|
197
208
|
const contextValue = useMemo(() => ({
|
|
198
209
|
state,
|
|
199
210
|
open,
|
|
@@ -219,7 +230,8 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
|
|
|
219
230
|
contained,
|
|
220
231
|
animationDuration,
|
|
221
232
|
registerItem,
|
|
222
|
-
scrollToItem
|
|
233
|
+
scrollToItem,
|
|
234
|
+
scrollItemIntoView
|
|
223
235
|
}), [
|
|
224
236
|
state,
|
|
225
237
|
open,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { n as FieldsetRoot, t as FieldsetLegend } from "./FieldsetLegend-j5piwq1giyhrr8s4.js";
|
|
4
|
-
import { t as Field } from "./field-
|
|
4
|
+
import { t as Field } from "./field-kgz7w7yixmtpg010.js";
|
|
5
5
|
import { t as SwitchRoot } from "./SwitchRoot-e3hnyh3mf8qd30hj.js";
|
|
6
6
|
import { createContext, forwardRef, useContext } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
|
-
import { t as Checkbox } from "./checkbox-
|
|
4
|
+
import { t as Checkbox } from "./checkbox-jachq6akfh72x12r.js";
|
|
5
5
|
import { forwardRef } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/table/table.tsx
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { n as usePortalContainer } from "./portal-provider-gznk6snyqj6egd6d.js";
|
|
5
|
-
import { t as Button } from "./button-
|
|
5
|
+
import { t as Button } from "./button-h36q7tklakhd38nx.js";
|
|
6
6
|
import { a as ToastDescription, c as ToastViewport, l as ToastProvider$1, n as useToastManager, o as ToastRoot, t as createToastManager } from "./createToastManager-kv89sv0xhhsvmq54.js";
|
|
7
7
|
import { a as ToastContent, i as ToastTitle, n as ToastPortal, r as ToastClose } from "./index.parts-lz9cnngidxppvhz7.js";
|
|
8
8
|
import * as e$4 from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { n as LinkButton, t as Button$1 } from "./button-
|
|
4
|
-
import { t as Input$1 } from "./input-
|
|
5
|
-
import { t as InputGroup } from "./input-group-
|
|
3
|
+
import { n as LinkButton, t as Button$1 } from "./button-h36q7tklakhd38nx.js";
|
|
4
|
+
import { t as Input$1 } from "./input-pehjmr1q131tz38w.js";
|
|
5
|
+
import { t as InputGroup } from "./input-group-kshukialqry0fmra.js";
|
|
6
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";
|
|
@@ -27,7 +27,7 @@ function Tooltip({ content, children, align, asChild, render, side, className, c
|
|
|
27
27
|
children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
28
28
|
closeDelay,
|
|
29
29
|
delay,
|
|
30
|
-
className: cn(!shouldUseRender && "m-0 inline-flex h-auto min-h-0 items-center border-none bg-transparent p-0
|
|
30
|
+
className: cn(!shouldUseRender && "m-0 inline-flex h-auto min-h-0 items-center border-none bg-transparent p-0 shadow-none", "cursor-default", className),
|
|
31
31
|
render: resolvedRender,
|
|
32
32
|
children: asChild ? void 0 : children
|
|
33
33
|
}), /* @__PURE__ */ jsx(TooltipPortal, {
|
package/dist/code.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./chunks/vendor-styling-da1xibnxfkjmtglr.js";
|
|
3
|
-
import { t as Button } from "./chunks/button-
|
|
3
|
+
import { t as Button } from "./chunks/button-h36q7tklakhd38nx.js";
|
|
4
4
|
import { createContext, useCallback, useContext, useEffect, useMemo, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/code/context.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "../chunks/autocomplete-
|
|
2
|
+
import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "../chunks/autocomplete-dn6g4rc8bktdl4an.js";
|
|
3
3
|
export { Autocomplete, KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, KUMO_AUTOCOMPLETE_VARIANTS, autocompleteVariants };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as breadcrumbsVariants, n as KUMO_BREADCRUMBS_DEFAULT_VARIANTS, r as KUMO_BREADCRUMBS_VARIANTS, t as Breadcrumb } from "../chunks/breadcrumbs-
|
|
2
|
+
import { i as breadcrumbsVariants, n as KUMO_BREADCRUMBS_DEFAULT_VARIANTS, r as KUMO_BREADCRUMBS_VARIANTS, t as Breadcrumb } from "../chunks/breadcrumbs-ffwe8tzqzmpyikq5.js";
|
|
3
3
|
export { Breadcrumb as Breadcrumbs, KUMO_BREADCRUMBS_DEFAULT_VARIANTS, KUMO_BREADCRUMBS_VARIANTS, breadcrumbsVariants };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "../chunks/button-
|
|
2
|
+
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "../chunks/button-h36q7tklakhd38nx.js";
|
|
3
3
|
export { Button, LinkButton, RefreshButton, buttonVariants };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_CHECKBOX_DEFAULT_VARIANTS, r as KUMO_CHECKBOX_VARIANTS, t as Checkbox } from "../chunks/checkbox-
|
|
2
|
+
import { n as KUMO_CHECKBOX_DEFAULT_VARIANTS, r as KUMO_CHECKBOX_VARIANTS, t as Checkbox } from "../chunks/checkbox-jachq6akfh72x12r.js";
|
|
3
3
|
export { Checkbox, KUMO_CHECKBOX_DEFAULT_VARIANTS, KUMO_CHECKBOX_VARIANTS };
|
package/dist/components/empty.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as emptyVariants, n as KUMO_EMPTY_DEFAULT_VARIANTS, r as KUMO_EMPTY_VARIANTS, t as Empty } from "../chunks/empty-
|
|
2
|
+
import { i as emptyVariants, n as KUMO_EMPTY_DEFAULT_VARIANTS, r as KUMO_EMPTY_VARIANTS, t as Empty } from "../chunks/empty-ox60d384lkwbj5n4.js";
|
|
3
3
|
export { Empty, KUMO_EMPTY_DEFAULT_VARIANTS, KUMO_EMPTY_VARIANTS, emptyVariants };
|
package/dist/components/field.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as normalizeFieldError, i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "../chunks/field-
|
|
2
|
+
import { a as normalizeFieldError, i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "../chunks/field-kgz7w7yixmtpg010.js";
|
|
3
3
|
export { Field, KUMO_FIELD_DEFAULT_VARIANTS, KUMO_FIELD_VARIANTS, fieldVariants, normalizeFieldError };
|
|
@@ -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-kshukialqry0fmra.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
|
-
import { r as inputVariants, t as Input } from "../chunks/input-
|
|
3
|
-
import { n as Textarea, t as InputArea } from "../chunks/input-
|
|
4
|
-
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-
|
|
2
|
+
import { r as inputVariants, t as Input } from "../chunks/input-pehjmr1q131tz38w.js";
|
|
3
|
+
import { n as Textarea, t as InputArea } from "../chunks/input-ikfimmpl5sngvh9s.js";
|
|
4
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-kshukialqry0fmra.js";
|
|
5
5
|
export { Input, InputArea, InputGroup, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS, Textarea, inputVariants };
|
package/dist/components/label.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "../chunks/label-
|
|
2
|
+
import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "../chunks/label-ie2gpde0nco1avi7.js";
|
|
3
3
|
export { KUMO_LABEL_DEFAULT_VARIANTS, KUMO_LABEL_VARIANTS, Label, labelContentVariants, labelVariants };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "../chunks/sensitive-input-
|
|
2
|
+
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "../chunks/sensitive-input-jtbp3mvdynz9wewu.js";
|
|
3
3
|
export { KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS, KUMO_SENSITIVE_INPUT_VARIANTS, SensitiveInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as SidebarProviderProps, B as SidebarSlidingViewProps, C as SidebarMenuItem, D as SidebarMenuSubButtonProps, E as SidebarMenuSubButton, F as SidebarScrollAlign, G as SidebarVariant, H as SidebarSlidingViewsProps, 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, l as SidebarCollapsibleTriggerProps, m as SidebarGroupLabel, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarGroup, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleProps, 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-
|
|
1
|
+
import { A as SidebarProviderProps, B as SidebarSlidingViewProps, C as SidebarMenuItem, D as SidebarMenuSubButtonProps, E as SidebarMenuSubButton, F as SidebarScrollAlign, G as SidebarVariant, H as SidebarSlidingViewsProps, 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, l as SidebarCollapsibleTriggerProps, m as SidebarGroupLabel, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarGroup, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleProps, 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-BcRyiNd72.js";
|
|
2
2
|
export { KUMO_SIDEBAR_DEFAULT_VARIANTS, KUMO_SIDEBAR_STYLING, KUMO_SIDEBAR_VARIANTS, Sidebar, SidebarCollapsible, type SidebarCollapsible as SidebarCollapsibleType, SidebarCollapsibleContent, type SidebarCollapsibleProps, SidebarCollapsibleTrigger, type SidebarCollapsibleTriggerProps, 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, type SidebarSlidingViewProps, SidebarSlidingViews, type SidebarSlidingViewsProps, type SidebarState, SidebarTrigger, type SidebarVariant, useSidebar };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "../chunks/sidebar-
|
|
2
|
+
import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "../chunks/sidebar-icky50wdc2b1biw8.js";
|
|
3
3
|
export { KUMO_SIDEBAR_DEFAULT_VARIANTS, KUMO_SIDEBAR_STYLING, KUMO_SIDEBAR_VARIANTS, Sidebar, SidebarCollapsible, SidebarCollapsibleContent, SidebarCollapsibleTrigger, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarLoading, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarResizeHandle, SidebarRoot, SidebarSeparator, SidebarSlidingView, SidebarSlidingViews, SidebarTrigger, useSidebar };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_SWITCH_VARIANTS, r as Switch, t as KUMO_SWITCH_DEFAULT_VARIANTS } from "../chunks/switch-
|
|
2
|
+
import { n as KUMO_SWITCH_VARIANTS, r as Switch, t as KUMO_SWITCH_DEFAULT_VARIANTS } from "../chunks/switch-oghrd7f6i5jqar59.js";
|
|
3
3
|
export { KUMO_SWITCH_DEFAULT_VARIANTS, KUMO_SWITCH_VARIANTS, Switch };
|
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-miggde3uqhhrd5at.js";
|
|
3
3
|
export { KUMO_TABLE_DEFAULT_VARIANTS, KUMO_TABLE_VARIANTS, Table };
|
package/dist/components/toast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as index_parts_exports } from "../chunks/index.parts-lz9cnngidxppvhz7.js";
|
|
3
|
-
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "../chunks/toast-
|
|
3
|
+
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "../chunks/toast-g435fvt74w5orxqo.js";
|
|
4
4
|
export { index_parts_exports as Toast, ToastProvider, Toasty, createKumoToastManager, useKumoToastManager };
|
|
@@ -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-e0b61hr6ys6dmwhv.js";
|
|
3
3
|
export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar };
|
|
@@ -99,6 +99,11 @@ interface SidebarContextValue {
|
|
|
99
99
|
* @param options.behavior — `"auto"` for instant, `"smooth"` for animated (default `"auto"`)
|
|
100
100
|
*/
|
|
101
101
|
scrollToItem: (id: string, options?: SidebarScrollToItemOptions) => void;
|
|
102
|
+
/**
|
|
103
|
+
* Scroll a tagged nav item only when it is outside its sidebar viewport.
|
|
104
|
+
* Explicit alignment controls where an offscreen item lands.
|
|
105
|
+
*/
|
|
106
|
+
scrollItemIntoView: (id: string, options?: SidebarScrollToItemOptions) => void;
|
|
102
107
|
}
|
|
103
108
|
/**
|
|
104
109
|
* Vertical alignment of the target item within the sidebar viewport.
|
package/dist/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ import { _ as PopoverTriggerProps, a as Popover, d as PopoverDescriptionProps, h
|
|
|
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
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
|
-
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-
|
|
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-BcRyiNd72.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";
|
package/dist/index.js
CHANGED
|
@@ -6,51 +6,51 @@ import { n as useLinkComponent, t as LinkProvider } from "./chunks/link-provider
|
|
|
6
6
|
import { i as linkVariants, n as KUMO_LINK_VARIANTS, r as Link, t as KUMO_LINK_DEFAULT_VARIANTS } from "./chunks/link-gp4swsrd3vfnvori.js";
|
|
7
7
|
import { t as Loader } from "./chunks/loader-j2v6fab8iucuxz1z.js";
|
|
8
8
|
import { t as KumoPortalProvider } from "./chunks/portal-provider-gznk6snyqj6egd6d.js";
|
|
9
|
-
import { n as TooltipProvider, t as Tooltip } from "./chunks/tooltip-
|
|
10
|
-
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "./chunks/button-
|
|
11
|
-
import { n as BannerVariant, t as Banner } from "./chunks/banner-
|
|
9
|
+
import { n as TooltipProvider, t as Tooltip } from "./chunks/tooltip-jq15p5jzgfrhslpo.js";
|
|
10
|
+
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "./chunks/button-h36q7tklakhd38nx.js";
|
|
11
|
+
import { n as BannerVariant, t as Banner } from "./chunks/banner-n1ekcvrwashsgv93.js";
|
|
12
12
|
import { t as DateRangePicker } from "./chunks/date-range-picker-iymdx410i1hpvxai.js";
|
|
13
|
-
import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "./chunks/label-
|
|
14
|
-
import { t as Checkbox } from "./chunks/checkbox-
|
|
13
|
+
import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "./chunks/label-ie2gpde0nco1avi7.js";
|
|
14
|
+
import { t as Checkbox } from "./chunks/checkbox-jachq6akfh72x12r.js";
|
|
15
15
|
import { t as index_parts_exports } from "./chunks/index.parts-lz9cnngidxppvhz7.js";
|
|
16
|
-
import { i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "./chunks/field-
|
|
17
|
-
import { r as inputVariants, t as Input } from "./chunks/input-
|
|
18
|
-
import { n as Textarea, t as InputArea } from "./chunks/input-
|
|
19
|
-
import { t as InputGroup } from "./chunks/input-group-
|
|
20
|
-
import { t as ClipboardText } from "./chunks/clipboard-text-
|
|
16
|
+
import { i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "./chunks/field-kgz7w7yixmtpg010.js";
|
|
17
|
+
import { r as inputVariants, t as Input } from "./chunks/input-pehjmr1q131tz38w.js";
|
|
18
|
+
import { n as Textarea, t as InputArea } from "./chunks/input-ikfimmpl5sngvh9s.js";
|
|
19
|
+
import { t as InputGroup } from "./chunks/input-group-kshukialqry0fmra.js";
|
|
20
|
+
import { t as ClipboardText } from "./chunks/clipboard-text-ms46uaujvkjmjnng.js";
|
|
21
21
|
import { n as CodeBlock, t as Code } from "./chunks/code-eu8kzwqnlhoyin24.js";
|
|
22
|
-
import { t as Combobox } from "./chunks/combobox-
|
|
23
|
-
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-
|
|
22
|
+
import { t as Combobox } from "./chunks/combobox-hxarufzb1z61xnbv.js";
|
|
23
|
+
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-e0b61hr6ys6dmwhv.js";
|
|
24
24
|
import { t as LayerCard } from "./chunks/layer-card-dnikj7emx8qeaspz.js";
|
|
25
25
|
import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "./chunks/dialog-o0164pgcyc74lvp9.js";
|
|
26
26
|
import { t as DropdownMenu } from "./chunks/dropdown-d5qrzj1w1a96w2we.js";
|
|
27
27
|
import { t as Collapsible } from "./chunks/collapsible-jyajpe40jcca357s.js";
|
|
28
28
|
import "./components/field.js";
|
|
29
29
|
import { t as SkeletonLine } from "./chunks/skeleton-line-hlk5vauzo7xsalbo.js";
|
|
30
|
-
import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-
|
|
30
|
+
import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-ljbsj2ulayebjyza.js";
|
|
31
31
|
import { t as Meter } from "./chunks/meter-fl03ece4glrrzizj.js";
|
|
32
|
-
import { t as Select } from "./chunks/select-
|
|
33
|
-
import { t as Pagination } from "./chunks/pagination-
|
|
32
|
+
import { t as Select } from "./chunks/select-ndqpqpmqtmn497rq.js";
|
|
33
|
+
import { t as Pagination } from "./chunks/pagination-i3jewbdolgru0xnr.js";
|
|
34
34
|
import { t as Surface } from "./chunks/surface-ef2kr5pn7r1y3ipk.js";
|
|
35
|
-
import { r as Switch } from "./chunks/switch-
|
|
35
|
+
import { r as Switch } from "./chunks/switch-oghrd7f6i5jqar59.js";
|
|
36
36
|
import { t as Tabs } from "./chunks/tabs-mr2dsloqfe0io4a5.js";
|
|
37
|
-
import { r as Table } from "./chunks/table-
|
|
37
|
+
import { r as Table } from "./chunks/table-miggde3uqhhrd5at.js";
|
|
38
38
|
import { t as Text } from "./chunks/text-jzp4mdlr222iuzxt.js";
|
|
39
|
-
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-
|
|
39
|
+
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-g435fvt74w5orxqo.js";
|
|
40
40
|
import { n as KUMO_POPOVER_VARIANTS, r as Popover, t as KUMO_POPOVER_DEFAULT_VARIANTS } from "./chunks/popover-jal8z9sv176703lf.js";
|
|
41
|
-
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./chunks/sensitive-input-
|
|
41
|
+
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./chunks/sensitive-input-jtbp3mvdynz9wewu.js";
|
|
42
42
|
import { a as radioVariants, i as RadioGroup, n as KUMO_RADIO_VARIANTS, r as Radio, t as KUMO_RADIO_DEFAULT_VARIANTS } from "./chunks/radio-gvy6ekh5hu9awlru.js";
|
|
43
43
|
import { n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, r as KUMO_COMMAND_PALETTE_VARIANTS, t as CommandPalette } from "./chunks/command-palette-iomiziccabzh4ogg.js";
|
|
44
44
|
import "./components/link.js";
|
|
45
|
-
import { t as Breadcrumb } from "./chunks/breadcrumbs-
|
|
46
|
-
import { t as Empty } from "./chunks/empty-
|
|
45
|
+
import { t as Breadcrumb } from "./chunks/breadcrumbs-ffwe8tzqzmpyikq5.js";
|
|
46
|
+
import { t as Empty } from "./chunks/empty-ox60d384lkwbj5n4.js";
|
|
47
47
|
import { a as gridItemVariants, i as KUMO_GRID_VARIANTS, n as GridItem, o as gridVariants, r as KUMO_GRID_DEFAULT_VARIANTS, t as Grid } from "./chunks/grid-fjlo3wlpkwgw56y9.js";
|
|
48
48
|
import { a as generateCloudflareLogoSvg, i as PoweredByCloudflare, n as KUMO_CLOUDFLARE_LOGO_DEFAULT_VARIANTS, r as KUMO_CLOUDFLARE_LOGO_VARIANTS, t as CloudflareLogo } from "./chunks/cloudflare-logo-boafurcbm5ttoo4o.js";
|
|
49
49
|
import { t as DatePicker } from "./chunks/date-picker-fwe3vllwco4u1utz.js";
|
|
50
50
|
import { t as Flow } from "./chunks/flow-fmfb3ri8cxo7w9ci.js";
|
|
51
51
|
import { a as TimeseriesChart, i as ChartLegend, n as ChoroplethMap, o as Chart, r as SankeyChart, s as ChartPalette, t as BubbleMap } from "./chunks/chart-qmls2klknm1pd6hs.js";
|
|
52
|
-
import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-
|
|
53
|
-
import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "./chunks/sidebar-
|
|
52
|
+
import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-dn6g4rc8bktdl4an.js";
|
|
53
|
+
import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "./chunks/sidebar-icky50wdc2b1biw8.js";
|
|
54
54
|
import { i as TableOfContents, n as KUMO_TABLE_OF_CONTENTS_DEFAULT_VARIANTS, r as KUMO_TABLE_OF_CONTENTS_VARIANTS, t as useTableOfContentsActiveId } from "./chunks/table-of-contents-cvduqgssxdcbpagh.js";
|
|
55
55
|
import { useCallback, useEffect, useState } from "react";
|
|
56
56
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/kumo",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Kumo - Cloudflare's component library for building modern web applications",
|
|
6
6
|
"keywords": [
|
|
@@ -469,7 +469,7 @@
|
|
|
469
469
|
"vite-plus": "0.2.6",
|
|
470
470
|
"vitest": "4.1.10",
|
|
471
471
|
"vitest-browser-react": "^2.0.5",
|
|
472
|
-
"wrangler": "4.
|
|
472
|
+
"wrangler": "4.127.1",
|
|
473
473
|
"zod": "^4.0.0"
|
|
474
474
|
},
|
|
475
475
|
"peerDependencies": {
|
|
@@ -1,60 +0,0 @@
|
|
|
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 };
|