@luxalgo/vela-ui 0.2.0 → 0.3.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 +41 -0
- package/dist/badge.js +1 -1
- package/dist/bar-chart.d.ts +1 -1
- package/dist/bar-chart.js +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.js +4 -4
- package/dist/callout-bubble.d.ts +1 -1
- package/dist/callout-bubble.js +4 -4
- package/dist/card.d.ts +52 -0
- package/dist/card.js +179 -0
- package/dist/checkbox.js +4 -4
- package/dist/{chunk-WGULXRWD.js → chunk-B2EZB5ZG.js} +3 -3
- package/dist/{chunk-G7IQLY3A.js → chunk-C3PXY2SW.js} +5 -0
- package/dist/{chunk-CC3DDNFC.js → chunk-DXDCKZ2M.js} +4 -4
- package/dist/{chunk-WBGSYCV2.js → chunk-IOOYDSSK.js} +3 -3
- package/dist/{chunk-B5ZSRUDQ.js → chunk-KKS6NEGI.js} +2 -2
- package/dist/{chunk-7VMN7NKJ.js → chunk-OJ2SEMN6.js} +3 -3
- package/dist/{chunk-MJ4RUGX7.js → chunk-OQXFQMZM.js} +2 -2
- package/dist/{chunk-V2Q4MRMS.js → chunk-TBXUF5YX.js} +12 -0
- package/dist/{chunk-WXH3EFV5.js → chunk-UEO6W37Z.js} +3 -3
- package/dist/{chunk-Z5PINFQO.js → chunk-WWHNUKSZ.js} +4 -4
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +3 -3
- package/dist/color-picker.js +4 -4
- package/dist/context-menu.js +4 -4
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.js +1 -1
- package/dist/date-picker.d.ts +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/dialog.d.ts +9 -1
- package/dist/dialog.js +14 -4
- package/dist/donut.d.ts +1 -1
- package/dist/donut.js +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +1 -1
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.js +4 -4
- package/dist/empty.d.ts +1 -1
- package/dist/empty.js +2 -2
- package/dist/field.js +12 -12
- package/dist/glyph-select.js +5 -5
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.js +3 -3
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -3
- package/dist/input-group.d.ts +1 -1
- package/dist/input-group.js +4 -4
- package/dist/input.js +2 -2
- package/dist/item.d.ts +1 -1
- package/dist/item.js +2 -2
- package/dist/kbd.d.ts +1 -1
- package/dist/kbd.js +2 -2
- package/dist/line-chart.d.ts +1 -1
- package/dist/line-chart.js +1 -1
- package/dist/manifest.json +618 -1
- package/dist/month-grid.js +1 -1
- package/dist/number-input.d.ts +1 -1
- package/dist/number-input.js +4 -4
- package/dist/popover.js +3 -3
- package/dist/scatter-chart.d.ts +1 -1
- package/dist/scatter-chart.js +1 -1
- package/dist/select.js +6 -6
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +1 -1
- package/dist/sort-button.js +3 -3
- package/dist/sparkline.d.ts +1 -1
- package/dist/sparkline.js +1 -1
- package/dist/stat.d.ts +1 -1
- package/dist/stat.js +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +2 -2
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +3 -3
- package/dist/text-area.d.ts +1 -1
- package/dist/text-area.js +2 -2
- package/dist/theme-Ct-q58xz.d.ts +341 -0
- package/dist/theme.d.ts +42 -192
- package/dist/theme.js +1 -1
- package/dist/theme.schema.json +292 -1
- package/dist/toast.d.ts +49 -0
- package/dist/toast.js +463 -0
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.js +3 -3
- package/dist/tooltip.js +1 -1
- package/dist/treemap.d.ts +80 -0
- package/dist/treemap.js +470 -0
- package/llms.txt +5 -2
- package/package.json +1 -1
- package/registry/button.ts +8 -0
- package/registry/card.ts +379 -0
- package/registry/dialog.ts +16 -0
- package/registry/toast.ts +965 -0
- package/registry/treemap.ts +847 -0
- package/skills/using-vela-ui-components/SKILL.md +4 -2
- package/src/components/button.ts +8 -0
- package/src/components/card.ts +379 -0
- package/src/components/dialog.ts +16 -0
- package/src/components/toast.ts +965 -0
- package/src/components/treemap.ts +847 -0
- package/src/lib/component-index.ts +12 -0
- package/src/lib/icons.ts +7 -0
- package/src/lib/theme.ts +6 -0
- package/dist/{chunk-U3EH42YY.js → chunk-5BJV5FY5.js} +1 -1
- package/dist/{chunk-E2FE6V2N.js → chunk-ALAHGSLC.js} +1 -1
- package/dist/{chunk-C3ICYMI3.js → chunk-FYVQO5TN.js} +1 -1
package/dist/number-input.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { NUMBER_CSS, NUMBER_STYLE_ID, NumberInput, clampNumber, createNumberInput, numberInputController, numberInputDef, numberInputVariants, snapToStep } from './chunk-
|
|
2
|
-
import './chunk-LZWZV2ZS.js';
|
|
3
|
-
import './chunk-G7IQLY3A.js';
|
|
1
|
+
export { NUMBER_CSS, NUMBER_STYLE_ID, NumberInput, clampNumber, createNumberInput, numberInputController, numberInputDef, numberInputVariants, snapToStep } from './chunk-UEO6W37Z.js';
|
|
4
2
|
import './chunk-FVH6L7FM.js';
|
|
5
3
|
import './chunk-FN2BUFNM.js';
|
|
6
4
|
import './chunk-A72NWYNP.js';
|
|
7
5
|
import './chunk-P4MTEMT7.js';
|
|
6
|
+
import './chunk-C3PXY2SW.js';
|
|
7
|
+
import './chunk-LZWZV2ZS.js';
|
|
8
8
|
import './chunk-Q6WTDVH6.js';
|
|
9
|
+
import './chunk-6QCILIT2.js';
|
|
9
10
|
import './chunk-VMCR3S2A.js';
|
|
10
11
|
import './chunk-XBEL4K33.js';
|
|
11
12
|
import './chunk-2GQIZM5Z.js';
|
|
12
13
|
import './chunk-BXMWQIBO.js';
|
|
13
14
|
import './chunk-X66RJAIS.js';
|
|
14
|
-
import './chunk-6QCILIT2.js';
|
package/dist/popover.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { POPOVER_CSS, POPOVER_STYLE_ID, Popover, closeOpenPopovers, createPopover, eventDismissedPopover, isPopoverOpen, openPopoverTrigger, popoverController, popoverDef } from './chunk-
|
|
1
|
+
export { POPOVER_CSS, POPOVER_STYLE_ID, Popover, closeOpenPopovers, createPopover, eventDismissedPopover, isPopoverOpen, openPopoverTrigger, popoverController, popoverDef } from './chunk-KKS6NEGI.js';
|
|
2
2
|
import './chunk-J2QJATCD.js';
|
|
3
3
|
import './chunk-S7USVSYP.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-TBXUF5YX.js';
|
|
5
5
|
import './chunk-TAKSIV57.js';
|
|
6
6
|
import './chunk-MMTMOV6R.js';
|
|
7
7
|
export { insetRect, intersectRects, placePopover, viewportRect } from './chunk-3Q32K4PE.js';
|
|
8
8
|
import './chunk-A72NWYNP.js';
|
|
9
9
|
import './chunk-Q6WTDVH6.js';
|
|
10
|
+
import './chunk-6QCILIT2.js';
|
|
10
11
|
import './chunk-VMCR3S2A.js';
|
|
11
12
|
import './chunk-XBEL4K33.js';
|
|
12
13
|
import './chunk-2GQIZM5Z.js';
|
|
13
14
|
import './chunk-BXMWQIBO.js';
|
|
14
15
|
import './chunk-X66RJAIS.js';
|
|
15
|
-
import './chunk-6QCILIT2.js';
|
package/dist/scatter-chart.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ComponentDef } from './define-D5u3F5Dj.js';
|
|
2
2
|
import './t.js';
|
|
3
3
|
|
|
4
|
-
declare const scatterChartDef: ComponentDef<"scatter-chart", "
|
|
4
|
+
declare const scatterChartDef: ComponentDef<"scatter-chart", "focus" | "label" | "root" | "grid" | "tip" | "point" | "trend", "tip-radius" | "tip-shadow" | "tip-z" | "tip-bg">;
|
|
5
5
|
interface ScatterPoint {
|
|
6
6
|
x: number;
|
|
7
7
|
y: number;
|
package/dist/scatter-chart.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { chartFrame, compactNumber, escapeXml, showTip, niceStep } from './chunk-A2FJ7Y7D.js';
|
|
2
|
+
import { t } from './chunk-6QCILIT2.js';
|
|
2
3
|
import { defineComponent } from './chunk-VMCR3S2A.js';
|
|
3
4
|
import { defineStyles, css } from './chunk-XBEL4K33.js';
|
|
4
5
|
import './chunk-2GQIZM5Z.js';
|
|
5
6
|
import './chunk-BXMWQIBO.js';
|
|
6
7
|
import './chunk-X66RJAIS.js';
|
|
7
|
-
import { t } from './chunk-6QCILIT2.js';
|
|
8
8
|
|
|
9
9
|
// src/components/scatter-chart.ts
|
|
10
10
|
var scatterChartDef = defineComponent({
|
package/dist/select.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { SELECT_CSS, SELECT_STYLE_ID, Select, createSelect, decorateSelectScroll, fillSelectList, openSelectList, selectController, selectDef, selectVariants, toggleSelectList } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-G7IQLY3A.js';
|
|
4
|
-
import './chunk-B5ZSRUDQ.js';
|
|
1
|
+
export { SELECT_CSS, SELECT_STYLE_ID, Select, createSelect, decorateSelectScroll, fillSelectList, openSelectList, selectController, selectDef, selectVariants, toggleSelectList } from './chunk-WWHNUKSZ.js';
|
|
2
|
+
import './chunk-KKS6NEGI.js';
|
|
5
3
|
import './chunk-J2QJATCD.js';
|
|
6
4
|
import './chunk-S7USVSYP.js';
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-TBXUF5YX.js';
|
|
8
6
|
import './chunk-TAKSIV57.js';
|
|
9
7
|
import './chunk-MMTMOV6R.js';
|
|
10
8
|
import './chunk-3Q32K4PE.js';
|
|
11
9
|
import './chunk-A72NWYNP.js';
|
|
12
10
|
import './chunk-P4MTEMT7.js';
|
|
11
|
+
import './chunk-C3PXY2SW.js';
|
|
12
|
+
import './chunk-LZWZV2ZS.js';
|
|
13
13
|
import './chunk-Q6WTDVH6.js';
|
|
14
|
+
import './chunk-6QCILIT2.js';
|
|
14
15
|
import './chunk-VMCR3S2A.js';
|
|
15
16
|
import './chunk-XBEL4K33.js';
|
|
16
17
|
import './chunk-2GQIZM5Z.js';
|
|
17
18
|
import './chunk-BXMWQIBO.js';
|
|
18
19
|
import './chunk-X66RJAIS.js';
|
|
19
|
-
import './chunk-6QCILIT2.js';
|
package/dist/slider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ComponentDef } from './define-D5u3F5Dj.js';
|
|
2
2
|
import './t.js';
|
|
3
3
|
|
|
4
|
-
declare const sliderDef: ComponentDef<"slider", "
|
|
4
|
+
declare const sliderDef: ComponentDef<"slider", "track" | "root" | "thumb" | "control" | "range", "radius" | "focus-ring" | "track-height" | "thumb-size">;
|
|
5
5
|
interface SliderProps {
|
|
6
6
|
/** The value it starts with (default `min`). */
|
|
7
7
|
defaultValue?: number;
|
package/dist/slider.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ownTeardown } from './chunk-A72NWYNP.js';
|
|
2
2
|
import { nextUid, runMachine, normalizeProps, spreadProps } from './chunk-P4MTEMT7.js';
|
|
3
3
|
import { h } from './chunk-Q6WTDVH6.js';
|
|
4
|
+
import { t } from './chunk-6QCILIT2.js';
|
|
4
5
|
import { defineComponent } from './chunk-VMCR3S2A.js';
|
|
5
6
|
import { defineStyles, css } from './chunk-XBEL4K33.js';
|
|
6
7
|
import './chunk-2GQIZM5Z.js';
|
|
7
8
|
import './chunk-BXMWQIBO.js';
|
|
8
9
|
import './chunk-X66RJAIS.js';
|
|
9
|
-
import { t } from './chunk-6QCILIT2.js';
|
|
10
10
|
import * as zagSlider from '@zag-js/slider';
|
|
11
11
|
|
|
12
12
|
var sliderDef = defineComponent({
|
package/dist/sort-button.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { variants } from './chunk-LZWZV2ZS.js';
|
|
2
|
-
import { iconEl } from './chunk-G7IQLY3A.js';
|
|
3
1
|
import { kitTranslator } from './chunk-FVH6L7FM.js';
|
|
4
2
|
import { msg, textOf } from './chunk-FN2BUFNM.js';
|
|
5
3
|
import { nextUid } from './chunk-P4MTEMT7.js';
|
|
4
|
+
import { iconEl } from './chunk-C3PXY2SW.js';
|
|
5
|
+
import { variants } from './chunk-LZWZV2ZS.js';
|
|
6
6
|
import { h } from './chunk-Q6WTDVH6.js';
|
|
7
|
+
import { t } from './chunk-6QCILIT2.js';
|
|
7
8
|
import { defineComponent } from './chunk-VMCR3S2A.js';
|
|
8
9
|
import { defineStyles, css } from './chunk-XBEL4K33.js';
|
|
9
10
|
import './chunk-2GQIZM5Z.js';
|
|
10
11
|
import './chunk-BXMWQIBO.js';
|
|
11
12
|
import './chunk-X66RJAIS.js';
|
|
12
|
-
import { t } from './chunk-6QCILIT2.js';
|
|
13
13
|
|
|
14
14
|
// src/components/sort-button.ts
|
|
15
15
|
var sortButtonDef = defineComponent({
|
package/dist/sparkline.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as ComponentDef } from './define-D5u3F5Dj.js';
|
|
2
2
|
import './t.js';
|
|
3
3
|
|
|
4
|
-
declare const sparklineDef: ComponentDef<"sparkline", "
|
|
4
|
+
declare const sparklineDef: ComponentDef<"sparkline", "area" | "line" | "root" | "baseline", "stroke-width">;
|
|
5
5
|
interface SparklineProps {
|
|
6
6
|
values: readonly number[];
|
|
7
7
|
/** px (default 56 × 20). */
|
package/dist/sparkline.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { t } from './chunk-6QCILIT2.js';
|
|
1
2
|
import { defineComponent } from './chunk-VMCR3S2A.js';
|
|
2
3
|
import { defineStyles, css } from './chunk-XBEL4K33.js';
|
|
3
4
|
import './chunk-2GQIZM5Z.js';
|
|
4
5
|
import './chunk-BXMWQIBO.js';
|
|
5
6
|
import './chunk-X66RJAIS.js';
|
|
6
|
-
import { t } from './chunk-6QCILIT2.js';
|
|
7
7
|
|
|
8
8
|
// src/components/sparkline.ts
|
|
9
9
|
var sparklineDef = defineComponent({
|
package/dist/stat.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { V as VariantFn, a as VariantProps } from './variants-B4stUBnY.js';
|
|
|
2
2
|
import { C as ComponentDef } from './define-D5u3F5Dj.js';
|
|
3
3
|
import './t.js';
|
|
4
4
|
|
|
5
|
-
declare const statDef: ComponentDef<"stat", "
|
|
5
|
+
declare const statDef: ComponentDef<"stat", "label" | "sub" | "root" | "value", never>;
|
|
6
6
|
declare const statVariants: VariantFn<{
|
|
7
7
|
readonly tone: readonly ["neutral", "profit", "loss"];
|
|
8
8
|
}>;
|
package/dist/stat.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { variants } from './chunk-LZWZV2ZS.js';
|
|
2
2
|
import { h } from './chunk-Q6WTDVH6.js';
|
|
3
|
+
import { t } from './chunk-6QCILIT2.js';
|
|
3
4
|
import { defineComponent } from './chunk-VMCR3S2A.js';
|
|
4
5
|
import { defineStyles, css } from './chunk-XBEL4K33.js';
|
|
5
6
|
import './chunk-2GQIZM5Z.js';
|
|
6
7
|
import './chunk-BXMWQIBO.js';
|
|
7
8
|
import './chunk-X66RJAIS.js';
|
|
8
|
-
import { t } from './chunk-6QCILIT2.js';
|
|
9
9
|
|
|
10
10
|
// src/components/stat.ts
|
|
11
11
|
var statDef = defineComponent({
|
package/dist/switch.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import './t.js';
|
|
|
4
4
|
|
|
5
5
|
type SwitchSize = 'default' | 'sm';
|
|
6
6
|
type SwitchVariant = 'default' | 'destructive';
|
|
7
|
-
declare const switchDef: ComponentDef<"switch", "root" | "thumb" | "control", "height" | "
|
|
7
|
+
declare const switchDef: ComponentDef<"switch", "root" | "thumb" | "control", "height" | "width" | "height-sm" | "thumb-size" | "width-sm" | "thumb-size-sm">;
|
|
8
8
|
declare const switchVariants: VariantFn<{
|
|
9
9
|
readonly size: readonly ["default", "sm"];
|
|
10
10
|
readonly variant: readonly ["default", "destructive"];
|
package/dist/switch.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { variants } from './chunk-LZWZV2ZS.js';
|
|
2
1
|
import { ownTeardown } from './chunk-A72NWYNP.js';
|
|
3
2
|
import { nextUid, runMachine, normalizeProps, spreadProps } from './chunk-P4MTEMT7.js';
|
|
3
|
+
import { variants } from './chunk-LZWZV2ZS.js';
|
|
4
4
|
import { h } from './chunk-Q6WTDVH6.js';
|
|
5
|
+
import { t } from './chunk-6QCILIT2.js';
|
|
5
6
|
import { defineComponent } from './chunk-VMCR3S2A.js';
|
|
6
7
|
import { defineStyles, css } from './chunk-XBEL4K33.js';
|
|
7
8
|
import './chunk-2GQIZM5Z.js';
|
|
8
9
|
import './chunk-BXMWQIBO.js';
|
|
9
10
|
import './chunk-X66RJAIS.js';
|
|
10
|
-
import { t } from './chunk-6QCILIT2.js';
|
|
11
11
|
import * as zagSwitch from '@zag-js/switch';
|
|
12
12
|
|
|
13
13
|
var switchDef = defineComponent({
|
package/dist/tabs.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { a as VariantProps, V as VariantFn } from './variants-B4stUBnY.js';
|
|
|
2
2
|
import { C as ComponentDef } from './define-D5u3F5Dj.js';
|
|
3
3
|
import './t.js';
|
|
4
4
|
|
|
5
|
-
declare const tabsDef: ComponentDef<"tabs", "
|
|
5
|
+
declare const tabsDef: ComponentDef<"tabs", "label" | "count" | "icon" | "trigger" | "content" | "description" | "list", "track-radius" | "trigger-radius" | "filled-radius" | "soft-radius" | "count-radius">;
|
|
6
6
|
declare const tabsVariants: VariantFn<{
|
|
7
7
|
readonly variant: readonly ["default", "line", "filled", "soft", "nav"];
|
|
8
8
|
}>;
|
package/dist/tabs.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { variants } from './chunk-LZWZV2ZS.js';
|
|
2
|
-
import { iconEl } from './chunk-G7IQLY3A.js';
|
|
3
1
|
import { ownTeardown } from './chunk-A72NWYNP.js';
|
|
4
2
|
import { nextUid, runMachine, normalizeProps, spreadProps } from './chunk-P4MTEMT7.js';
|
|
3
|
+
import { iconEl } from './chunk-C3PXY2SW.js';
|
|
4
|
+
import { variants } from './chunk-LZWZV2ZS.js';
|
|
5
5
|
import { h } from './chunk-Q6WTDVH6.js';
|
|
6
|
+
import { t } from './chunk-6QCILIT2.js';
|
|
6
7
|
import { defineComponent } from './chunk-VMCR3S2A.js';
|
|
7
8
|
import { css, defineStyles } from './chunk-XBEL4K33.js';
|
|
8
9
|
import './chunk-2GQIZM5Z.js';
|
|
9
10
|
import './chunk-BXMWQIBO.js';
|
|
10
11
|
import './chunk-X66RJAIS.js';
|
|
11
|
-
import { t } from './chunk-6QCILIT2.js';
|
|
12
12
|
import * as tabs from '@zag-js/tabs';
|
|
13
13
|
|
|
14
14
|
var tabsDef = defineComponent({
|
package/dist/text-area.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ interface TextAreaController {
|
|
|
22
22
|
}
|
|
23
23
|
/** The text area's last committed string, without DOM. */
|
|
24
24
|
declare function textAreaController(opts?: TextAreaControllerOptions): TextAreaController;
|
|
25
|
-
declare const textAreaDef: ComponentDef<"text-area", "
|
|
25
|
+
declare const textAreaDef: ComponentDef<"text-area", "input" | "root", "radius" | "focus-ring">;
|
|
26
26
|
declare const textAreaVariants: VariantFn<{
|
|
27
27
|
readonly size: readonly ["md", "sm"];
|
|
28
28
|
}>;
|
package/dist/text-area.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { TextArea, createTextArea, textAreaController, textAreaDef, textAreaVariants } from './chunk-
|
|
1
|
+
export { TextArea, createTextArea, textAreaController, textAreaDef, textAreaVariants } from './chunk-ALAHGSLC.js';
|
|
2
2
|
import './chunk-LZWZV2ZS.js';
|
|
3
3
|
import './chunk-Q6WTDVH6.js';
|
|
4
|
+
import './chunk-6QCILIT2.js';
|
|
4
5
|
import './chunk-VMCR3S2A.js';
|
|
5
6
|
import './chunk-XBEL4K33.js';
|
|
6
7
|
import './chunk-2GQIZM5Z.js';
|
|
7
8
|
import './chunk-BXMWQIBO.js';
|
|
8
9
|
import './chunk-X66RJAIS.js';
|
|
9
|
-
import './chunk-6QCILIT2.js';
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { badgeDef } from './badge.js';
|
|
2
|
+
import { barChartDef } from './bar-chart.js';
|
|
3
|
+
import { buttonDef } from './button.js';
|
|
4
|
+
import { calloutBubbleDef } from './callout-bubble.js';
|
|
5
|
+
import { cardDef } from './card.js';
|
|
6
|
+
import { colorPickerDef } from './color-picker.js';
|
|
7
|
+
import { dataTableDef } from './data-table.js';
|
|
8
|
+
import { datePickerDef } from './date-picker.js';
|
|
9
|
+
import { dialogDef } from './dialog.js';
|
|
10
|
+
import { donutDef } from './donut.js';
|
|
11
|
+
import { drawerDef } from './drawer.js';
|
|
12
|
+
import { emptyDef } from './empty.js';
|
|
13
|
+
import { fieldDef } from './field.js';
|
|
14
|
+
import { glyphSelectDef } from './glyph-select.js';
|
|
15
|
+
import { hoverCardDef } from './hover-card.js';
|
|
16
|
+
import { kbdDef } from './kbd.js';
|
|
17
|
+
import { lineChartDef } from './line-chart.js';
|
|
18
|
+
import { dropdownMenuDef } from './dropdown-menu.js';
|
|
19
|
+
import { numberInputDef } from './number-input.js';
|
|
20
|
+
import { popoverDef } from './popover.js';
|
|
21
|
+
import { scatterChartDef } from './scatter-chart.js';
|
|
22
|
+
import { selectDef } from './select.js';
|
|
23
|
+
import { sparklineDef } from './sparkline.js';
|
|
24
|
+
import { statDef } from './stat.js';
|
|
25
|
+
import { checkboxDef } from './checkbox.js';
|
|
26
|
+
import { collapsibleDef } from './collapsible.js';
|
|
27
|
+
import { tabsDef } from './tabs.js';
|
|
28
|
+
import { textAreaDef } from './text-area.js';
|
|
29
|
+
import { inputDef } from './input.js';
|
|
30
|
+
import { inputGroupDef } from './input-group.js';
|
|
31
|
+
import { itemDef } from './item.js';
|
|
32
|
+
import { monthGridDef } from './month-grid.js';
|
|
33
|
+
import { sliderDef } from './slider.js';
|
|
34
|
+
import { sortButtonDef } from './sort-button.js';
|
|
35
|
+
import { switchDef } from './switch.js';
|
|
36
|
+
import { C as ComponentDef } from './define-D5u3F5Dj.js';
|
|
37
|
+
import { toggleGroupDef } from './toggle-group.js';
|
|
38
|
+
import { tooltipDef } from './tooltip.js';
|
|
39
|
+
import { treemapDef } from './treemap.js';
|
|
40
|
+
import { ChartTheme } from './tokens.js';
|
|
41
|
+
import { Translator } from './i18n.js';
|
|
42
|
+
|
|
43
|
+
declare const toastDef: ComponentDef<"toast", "cancel" | "close" | "title" | "root" | "icon" | "content" | "description" | "action" | "item" | "list", "error" | "border" | "width" | "shadow" | "radius" | "info" | "background" | "foreground" | "description-color" | "success" | "warning">;
|
|
44
|
+
type ToastType = 'default' | 'success' | 'info' | 'warning' | 'error' | 'loading';
|
|
45
|
+
type ToasterPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
46
|
+
type SwipeDirection = 'top' | 'right' | 'bottom' | 'left';
|
|
47
|
+
type ToastId = string | number;
|
|
48
|
+
/** Text, an element, or a function returning either (read when the toast renders). */
|
|
49
|
+
type ToastContent = string | Node | (() => string | Node);
|
|
50
|
+
interface ToastAction {
|
|
51
|
+
label: string;
|
|
52
|
+
/** Runs on a press. The toast then closes, unless the handler calls `preventDefault()`. */
|
|
53
|
+
onClick: (event: MouseEvent) => void;
|
|
54
|
+
}
|
|
55
|
+
/** A toast's options: the second argument of `toast()`. */
|
|
56
|
+
interface ExternalToast {
|
|
57
|
+
/** Reuse an id to update that toast in place (a loading toast turned into its result). */
|
|
58
|
+
id?: ToastId;
|
|
59
|
+
/** The muted line under the title. */
|
|
60
|
+
description?: ToastContent;
|
|
61
|
+
/** An icon id from the registry or an element; null hides the kind's icon. */
|
|
62
|
+
icon?: string | Node | null;
|
|
63
|
+
/** How long it stays, in milliseconds (default the toaster's). `Infinity` keeps it until dismissed. */
|
|
64
|
+
duration?: number;
|
|
65
|
+
/** A button at the end: a label and a handler, or an element. */
|
|
66
|
+
action?: ToastAction | Node;
|
|
67
|
+
/** A muted button before the action; a press runs its handler and closes the toast. */
|
|
68
|
+
cancel?: ToastAction | Node;
|
|
69
|
+
/** A close button on the toast's corner (default the toaster's). */
|
|
70
|
+
closeButton?: boolean;
|
|
71
|
+
/** False: no close button, no swipe, and `toast.dismiss` is the only way out (default true). */
|
|
72
|
+
dismissible?: boolean;
|
|
73
|
+
/** Tint the toast with its kind's color (default the toaster's). */
|
|
74
|
+
richColors?: boolean;
|
|
75
|
+
/** Swap the toast's background and text colors (default the toaster's). */
|
|
76
|
+
invert?: boolean;
|
|
77
|
+
/** Show it on a toaster's other corner. */
|
|
78
|
+
position?: ToasterPosition;
|
|
79
|
+
/** Show it only on the toaster created with this `id`. */
|
|
80
|
+
toasterId?: string;
|
|
81
|
+
/** Extra class names (layout hooks). */
|
|
82
|
+
className?: string;
|
|
83
|
+
/** Called when the toast is closed: the close button, a swipe, an action or `toast.dismiss`. */
|
|
84
|
+
onDismiss?: (toast: ToastT) => void;
|
|
85
|
+
/** Called when the toast's time runs out. */
|
|
86
|
+
onAutoClose?: (toast: ToastT) => void;
|
|
87
|
+
}
|
|
88
|
+
/** A toast as the queue holds it. */
|
|
89
|
+
interface ToastT extends ExternalToast {
|
|
90
|
+
id: ToastId;
|
|
91
|
+
type: ToastType;
|
|
92
|
+
title?: ToastContent;
|
|
93
|
+
}
|
|
94
|
+
type PromiseSource<T> = Promise<T> | (() => Promise<T>);
|
|
95
|
+
interface PromiseData<T> extends Omit<ExternalToast, 'description'> {
|
|
96
|
+
/** Shown while the promise runs; without it the toast appears once the promise settles. */
|
|
97
|
+
loading?: ToastContent;
|
|
98
|
+
success?: ToastContent | ((data: T) => ToastContent);
|
|
99
|
+
error?: ToastContent | ((error: unknown) => ToastContent);
|
|
100
|
+
description?: ToastContent | ((result: T | unknown) => ToastContent);
|
|
101
|
+
/** Runs once the promise settles, either way. */
|
|
102
|
+
finally?: () => void;
|
|
103
|
+
}
|
|
104
|
+
interface ToastPromise<T> {
|
|
105
|
+
/** The toast's id, or undefined while no `loading` toast shows. */
|
|
106
|
+
readonly id: ToastId | undefined;
|
|
107
|
+
/** The promise itself, to await its value after the toast. */
|
|
108
|
+
unwrap(): Promise<T>;
|
|
109
|
+
}
|
|
110
|
+
type ToastFn = (message: ToastContent, data?: ExternalToast) => ToastId;
|
|
111
|
+
interface ToastFunction extends ToastFn {
|
|
112
|
+
/** A plain toast (the same as calling `toast()`). */
|
|
113
|
+
message: ToastFn;
|
|
114
|
+
success: ToastFn;
|
|
115
|
+
info: ToastFn;
|
|
116
|
+
warning: ToastFn;
|
|
117
|
+
error: ToastFn;
|
|
118
|
+
/** A toast with a spinner that stays until it is updated or dismissed. */
|
|
119
|
+
loading: ToastFn;
|
|
120
|
+
/** A loading toast that turns into the promise's success or error. */
|
|
121
|
+
promise<T>(promise: PromiseSource<T>, data?: PromiseData<T>): ToastPromise<T>;
|
|
122
|
+
/** Close one toast, or every toast without an id. */
|
|
123
|
+
dismiss(id?: ToastId): ToastId | undefined;
|
|
124
|
+
/** The toasts on the page now. */
|
|
125
|
+
getToasts(): ToastT[];
|
|
126
|
+
}
|
|
127
|
+
/** Raise a toast. Every toaster on the page shows it (or the one named by `toasterId`). */
|
|
128
|
+
declare const toast: ToastFunction;
|
|
129
|
+
type ToastOffset = number | string | {
|
|
130
|
+
top?: number | string;
|
|
131
|
+
right?: number | string;
|
|
132
|
+
bottom?: number | string;
|
|
133
|
+
left?: number | string;
|
|
134
|
+
};
|
|
135
|
+
interface ToasterProps {
|
|
136
|
+
/** Where the toaster mounts (default the document's body). */
|
|
137
|
+
host?: HTMLElement;
|
|
138
|
+
/** Stack in the host's corners instead of the viewport's; the host must be positioned. */
|
|
139
|
+
contained?: boolean;
|
|
140
|
+
/** The corner the toasts stack in (default `bottom-right`). */
|
|
141
|
+
position?: ToasterPosition;
|
|
142
|
+
/** Keep the stack spread out instead of folding the older toasts behind the newest. */
|
|
143
|
+
expand?: boolean;
|
|
144
|
+
/** Tint each toast with its kind's color. */
|
|
145
|
+
richColors?: boolean;
|
|
146
|
+
/** A close button on every toast. */
|
|
147
|
+
closeButton?: boolean;
|
|
148
|
+
/** Swap the toasts' background and text colors. */
|
|
149
|
+
invert?: boolean;
|
|
150
|
+
/** How long a toast stays, in milliseconds (default 4000). */
|
|
151
|
+
duration?: number;
|
|
152
|
+
/** Space between spread toasts, in pixels (default 14). */
|
|
153
|
+
gap?: number;
|
|
154
|
+
/** How many toasts show at once (default 3). */
|
|
155
|
+
visibleToasts?: number;
|
|
156
|
+
/** Distance from the edges: one value, or one per side (default 24px, 16px contained). */
|
|
157
|
+
offset?: ToastOffset;
|
|
158
|
+
/** The keys that spread the stack and focus it: event flags and codes (default `['altKey', 'KeyT']`). */
|
|
159
|
+
hotkey?: string[];
|
|
160
|
+
/** The writing direction of the toasts (default the page's). */
|
|
161
|
+
dir?: 'ltr' | 'rtl' | 'auto';
|
|
162
|
+
/** Swipe directions that close a toast (default its corner's edges). */
|
|
163
|
+
swipeDirections?: SwipeDirection[];
|
|
164
|
+
/** Icons in place of the kinds' own: registry ids or elements. */
|
|
165
|
+
icons?: Partial<Record<Exclude<ToastType, 'default'> | 'close', string | Node>>;
|
|
166
|
+
/** Defaults for every toast of this toaster. */
|
|
167
|
+
toastOptions?: Pick<ExternalToast, 'className' | 'duration' | 'closeButton' | 'richColors' | 'invert' | 'dismissible'>;
|
|
168
|
+
/** The region's accessible name (default "Notifications"). */
|
|
169
|
+
containerAriaLabel?: string;
|
|
170
|
+
/** Name the toaster, to show only the toasts raised with this `toasterId`. */
|
|
171
|
+
id?: string;
|
|
172
|
+
/** A kit theme, for a toaster mounted outside a themed host. */
|
|
173
|
+
theme?: Parameters<typeof ensureUIHost>[1];
|
|
174
|
+
/** Translates the close button's and the region's names (default the kit's). */
|
|
175
|
+
i18n?: Translator | null;
|
|
176
|
+
/** Extra class names on the region (layout hooks). */
|
|
177
|
+
className?: string;
|
|
178
|
+
}
|
|
179
|
+
interface ToasterHandle {
|
|
180
|
+
readonly el: HTMLElement;
|
|
181
|
+
/** Re-read the region's and the close buttons' names from the translator, after its language changed. */
|
|
182
|
+
relabel(): void;
|
|
183
|
+
destroy(): void;
|
|
184
|
+
}
|
|
185
|
+
declare function createToaster(props?: ToasterProps): ToasterHandle;
|
|
186
|
+
|
|
187
|
+
/** The built-in dark chart theme. */
|
|
188
|
+
declare const DARK_CHART: ChartTheme;
|
|
189
|
+
/** The built-in light chart theme. Candle hues are shared across themes: switching themes
|
|
190
|
+
* recolors surfaces and text, never the series. */
|
|
191
|
+
declare const LIGHT_CHART: ChartTheme;
|
|
192
|
+
/** Every token, by name without the `--vela-` prefix. A test checks the list against what
|
|
193
|
+
* `createTheme` writes. */
|
|
194
|
+
declare const TOKEN_NAMES: readonly ["space-1", "space-2", "space-3", "space-4", "radius-sm", "radius-md", "radius-lg", "z-tooltip", "z-menu", "z-dialog", "z-popover", "ease", "dur-fast", "dur-med", "font-size-sm", "font-size-md", "font-size-lg", "scroll-size", "font", "bg", "fg", "fg-muted", "fg-faint", "fg-bright", "surface", "surface-elev", "surface-overlay", "surface-sunken", "border", "border-strong", "border-soft", "border-faint", "hover", "active", "hover-strong", "focus", "focus-soft", "separator-hover-band", "separator-hover-line", "scroll", "accent", "accent-bright", "highlight", "selected-bg", "selected-fg", "fg-on-fill", "up", "down", "profit", "loss", "danger", "shadow", "shadow-dialog", "backdrop"];
|
|
195
|
+
type TokenName = (typeof TOKEN_NAMES)[number];
|
|
196
|
+
/** The components a theme can set, by name: each one's declaration. A package with
|
|
197
|
+
* components of its own adds them here by declaration merging. */
|
|
198
|
+
interface ComponentDefs {
|
|
199
|
+
badge: typeof badgeDef;
|
|
200
|
+
'bar-chart': typeof barChartDef;
|
|
201
|
+
button: typeof buttonDef;
|
|
202
|
+
'callout-bubble': typeof calloutBubbleDef;
|
|
203
|
+
card: typeof cardDef;
|
|
204
|
+
checkbox: typeof checkboxDef;
|
|
205
|
+
collapsible: typeof collapsibleDef;
|
|
206
|
+
'color-picker': typeof colorPickerDef;
|
|
207
|
+
'data-table': typeof dataTableDef;
|
|
208
|
+
'date-picker': typeof datePickerDef;
|
|
209
|
+
dialog: typeof dialogDef;
|
|
210
|
+
donut: typeof donutDef;
|
|
211
|
+
drawer: typeof drawerDef;
|
|
212
|
+
'dropdown-menu': typeof dropdownMenuDef;
|
|
213
|
+
empty: typeof emptyDef;
|
|
214
|
+
field: typeof fieldDef;
|
|
215
|
+
'glyph-select': typeof glyphSelectDef;
|
|
216
|
+
'hover-card': typeof hoverCardDef;
|
|
217
|
+
'input-group': typeof inputGroupDef;
|
|
218
|
+
input: typeof inputDef;
|
|
219
|
+
item: typeof itemDef;
|
|
220
|
+
kbd: typeof kbdDef;
|
|
221
|
+
'line-chart': typeof lineChartDef;
|
|
222
|
+
'month-grid': typeof monthGridDef;
|
|
223
|
+
'number-input': typeof numberInputDef;
|
|
224
|
+
popover: typeof popoverDef;
|
|
225
|
+
'scatter-chart': typeof scatterChartDef;
|
|
226
|
+
select: typeof selectDef;
|
|
227
|
+
slider: typeof sliderDef;
|
|
228
|
+
'sort-button': typeof sortButtonDef;
|
|
229
|
+
sparkline: typeof sparklineDef;
|
|
230
|
+
stat: typeof statDef;
|
|
231
|
+
switch: typeof switchDef;
|
|
232
|
+
tabs: typeof tabsDef;
|
|
233
|
+
'text-area': typeof textAreaDef;
|
|
234
|
+
toast: typeof toastDef;
|
|
235
|
+
'toggle-group': typeof toggleGroupDef;
|
|
236
|
+
tooltip: typeof tooltipDef;
|
|
237
|
+
treemap: typeof treemapDef;
|
|
238
|
+
}
|
|
239
|
+
type SettingsOf<D> = D extends ComponentDef<string, string, infer S> ? S : never;
|
|
240
|
+
type PartsOf<D> = D extends ComponentDef<string, infer P, string> ? P : never;
|
|
241
|
+
/** Settings by component, then by setting (`{ button: { radius: '2px' } }`), each written
|
|
242
|
+
* as `--vela-<component>-<setting>`. `css` restyles the component's parts completely: each
|
|
243
|
+
* part's CSS, written with the `css` tag, applies to that part under the theme, after every
|
|
244
|
+
* other layer of the kit. */
|
|
245
|
+
type ComponentSettings = {
|
|
246
|
+
[K in keyof ComponentDefs]?: {
|
|
247
|
+
[S in SettingsOf<ComponentDefs[K]>]?: string;
|
|
248
|
+
} & {
|
|
249
|
+
css?: {
|
|
250
|
+
[P in PartsOf<ComponentDefs[K]>]?: string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
interface CreateThemeOptions {
|
|
255
|
+
/** Apply part CSS that was not written with the `css` tag (a theme loaded from data).
|
|
256
|
+
* Off by default: CSS from someone else can restyle the page to mislead, and load
|
|
257
|
+
* remote images that leak what the page shows. */
|
|
258
|
+
allowCss?: boolean;
|
|
259
|
+
}
|
|
260
|
+
/** A theme's settings beyond the chart's colors. */
|
|
261
|
+
interface ThemeSettings {
|
|
262
|
+
/** The brand color; its readable ink derives from it. */
|
|
263
|
+
accent?: string;
|
|
264
|
+
/** Scales every radius token: `none`, `sm`, `md` (default), `lg`. */
|
|
265
|
+
radius?: 'none' | 'sm' | 'md' | 'lg';
|
|
266
|
+
font?: string;
|
|
267
|
+
/** Any token, by name. */
|
|
268
|
+
tokens?: Partial<Record<TokenName, string>>;
|
|
269
|
+
components?: ComponentSettings;
|
|
270
|
+
}
|
|
271
|
+
/** The choices a theme is built from. Every field is optional: `createTheme()` is the dark theme. */
|
|
272
|
+
interface ThemeInput extends ThemeSettings {
|
|
273
|
+
/** The theme to start from: `dark` (default), `light`, or a chart theme's seven fields. */
|
|
274
|
+
base?: 'dark' | 'light' | ChartTheme;
|
|
275
|
+
/** A theme from colors alone: everything else derives from them, light or dark read
|
|
276
|
+
* from the background. */
|
|
277
|
+
colors?: {
|
|
278
|
+
background?: string;
|
|
279
|
+
text?: string;
|
|
280
|
+
grid?: string;
|
|
281
|
+
border?: string;
|
|
282
|
+
up?: string;
|
|
283
|
+
down?: string;
|
|
284
|
+
accent?: string;
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
/** A theme built by {@link createTheme}. */
|
|
288
|
+
interface UiTheme {
|
|
289
|
+
/** Derived from the values: equal themes share one rule. */
|
|
290
|
+
readonly id: string;
|
|
291
|
+
/** The chart's colors and font. */
|
|
292
|
+
readonly chart: ChartTheme;
|
|
293
|
+
/** Every token, by custom property (`--vela-accent`). */
|
|
294
|
+
readonly tokens: Readonly<Record<string, string>>;
|
|
295
|
+
/** Component settings, by component then setting. */
|
|
296
|
+
readonly components: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
297
|
+
/** Part CSS, by component then part. */
|
|
298
|
+
readonly css: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
299
|
+
/** Its settings beyond the chart's colors: with {@link chart}, they rebuild the theme. */
|
|
300
|
+
readonly settings: Readonly<ThemeSettings>;
|
|
301
|
+
}
|
|
302
|
+
/** A chart theme with optional settings: its seven fields seed the UI theme and `ui`
|
|
303
|
+
* adjusts it. Chrome that recolors its surface (an overlay following the plot's
|
|
304
|
+
* background) keeps the settings. */
|
|
305
|
+
type ThemedChart = ChartTheme & {
|
|
306
|
+
readonly ui?: ThemeSettings;
|
|
307
|
+
};
|
|
308
|
+
/** What is wrong with a theme's input: unknown tokens, components, settings and parts, colors
|
|
309
|
+
* the theme cannot derive from, text with too little contrast on its background, and part
|
|
310
|
+
* CSS that is left out or reaches past the component's contract. `createTheme` warns about
|
|
311
|
+
* each. */
|
|
312
|
+
declare function checkTheme(input?: ThemeInput, options?: CreateThemeOptions): string[];
|
|
313
|
+
/** Build a theme. Without overrides, `dark` and `light` give exactly the built-in tokens. */
|
|
314
|
+
declare function createTheme(input?: ThemeInput, options?: CreateThemeOptions): UiTheme;
|
|
315
|
+
/** The theme's rules: every token and component setting, by default on the hosts that carry
|
|
316
|
+
* its id; and the part CSS, on those parts inside them, in the last layer. */
|
|
317
|
+
declare function themeCss(theme: UiTheme, selector?: string): string;
|
|
318
|
+
/** Theme a host and everything inside it. A chart theme's seven fields build the theme on
|
|
319
|
+
* the way, keeping the choices of the UI theme it carries. */
|
|
320
|
+
declare function applyTheme(host: HTMLElement, theme: UiTheme | ThemedChart): UiTheme;
|
|
321
|
+
/** Theme a host from a chart theme's seven fields.
|
|
322
|
+
* @deprecated Use {@link applyTheme}, which also takes a theme from {@link createTheme}. */
|
|
323
|
+
declare function applyThemeTokens(el: HTMLElement, t: ThemedChart): void;
|
|
324
|
+
/** Re-token a chart-overlay host (statusline, watermark, toast — chrome floating OVER
|
|
325
|
+
* the plot) from the LIVE plot surface: a config edit can recolor the plot background
|
|
326
|
+
* independently of the app theme (a white plot typed into settings on the dark theme),
|
|
327
|
+
* and the overlay ink must stay readable either way. `config` is the renderer's
|
|
328
|
+
* `getConfig()` snapshot; a missing/shapeless one falls back to the base app theme.
|
|
329
|
+
* Floating menus and dropdowns do NOT use this — they mount on {@link floatingLayerHost}
|
|
330
|
+
* so their surface follows the app theme alone. */
|
|
331
|
+
declare function applyPlotOverlayTokens(host: HTMLElement, base: ThemedChart, config: unknown): void;
|
|
332
|
+
/** Mount floating kit layers (menus, select lists) on the nearest `.vela-ui` so they
|
|
333
|
+
* inherit the app-theme tokens. A plot-overlay host (the cell) retokens from
|
|
334
|
+
* `layout.background`; chrome panels must not follow that. Falls back to `fallback`
|
|
335
|
+
* (typically `document.body`) when no kit host is an ancestor. */
|
|
336
|
+
declare function floatingLayerHost(from: HTMLElement, fallback?: HTMLElement): HTMLElement;
|
|
337
|
+
/** Mark an element as a kit host (the `.vela-ui` class and the shared sheet), themed when
|
|
338
|
+
* a theme is given. */
|
|
339
|
+
declare function ensureUIHost(el: HTMLElement, theme?: UiTheme | ThemedChart): void;
|
|
340
|
+
|
|
341
|
+
export { ensureUIHost as A, floatingLayerHost as B, type ComponentDefs as C, DARK_CHART as D, type ExternalToast as E, themeCss as F, LIGHT_CHART as L, type PromiseData as P, type SwipeDirection as S, TOKEN_NAMES as T, type UiTheme as U, type ComponentSettings as a, type CreateThemeOptions as b, type ThemeInput as c, type ThemeSettings as d, type ThemedChart as e, type TokenName as f, applyTheme as g, checkTheme as h, createTheme as i, type PromiseSource as j, type ToastAction as k, type ToastContent as l, type ToastFunction as m, type ToastId as n, type ToastOffset as o, type ToastPromise as p, type ToastT as q, type ToastType as r, type ToasterHandle as s, type ToasterPosition as t, type ToasterProps as u, createToaster as v, toast as w, toastDef as x, applyPlotOverlayTokens as y, applyThemeTokens as z };
|