@bridge-ui/vue 0.18.0 → 0.20.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/ai/skills/bridge-ui-components/SKILL.md +35 -34
- package/ai/skills/bridge-ui-setup/SKILL.md +1 -1
- package/dist/Components/Autocomplete/composables/useAutocomplete.js +257 -265
- package/dist/Components/Calendar/composables/useCalendar.d.ts +1 -1
- package/dist/Components/Calendar/composables/useCalendar.js +192 -187
- package/dist/Components/CalendarMonth/composables/useCalendarMonth.d.ts +1 -1
- package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +1 -1
- package/dist/Components/CalendarRange/composables/useCalendarRange.js +243 -238
- package/dist/Components/ChartBar/ChartBar.vue_vue_type_script_setup_true_lang.js +5 -0
- package/dist/Components/ChartBar/chartBar.types.d.ts +11 -1
- package/dist/Components/ChartBar/composables/useChartBar.js +4 -4
- package/dist/Components/ChartBar/index.d.ts +1 -1
- package/dist/Components/ChartBarSeries/ChartBarSeries.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/Components/ChartBarSeries/chartBarSeries.types.d.ts +24 -2
- package/dist/Components/ChartBarSeries/composables/useChartBarSeries.js +3 -0
- package/dist/Components/ChartBarSeries/index.d.ts +1 -0
- package/dist/Components/ChartFunnel/composables/useChartFunnel.js +10 -10
- package/dist/Components/ChartLine/ChartLine.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/ChartLine/chartLine.types.d.ts +7 -0
- package/dist/Components/ChartLine/composables/useChartLine.js +1 -1
- package/dist/Components/ChartLineSeries/ChartLineSeries.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/Components/ChartLineSeries/chartLineSeries.types.d.ts +23 -2
- package/dist/Components/ChartLineSeries/composables/useChartLineSeries.js +3 -0
- package/dist/Components/ChartLineSeries/index.d.ts +1 -0
- package/dist/Components/ChartPie/ChartPie.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/Components/ChartPie/chartPie.types.d.ts +20 -1
- package/dist/Components/ChartPie/composables/useChartPie.d.ts +1 -1
- package/dist/Components/ChartPie/composables/useChartPie.js +39 -29
- package/dist/Components/ChartScatter/composables/useChartScatter.js +63 -58
- package/dist/Components/ChartScatterSeries/ChartScatterSeries.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/ChartScatterSeries/chartScatterSeries.types.d.ts +8 -1
- package/dist/Components/ChartScatterSeries/composables/useChartScatterSeries.js +2 -1
- package/dist/Components/ChartScatterSeries/index.d.ts +1 -0
- package/dist/Components/ChartTooltip/ChartTooltip.vue_vue_type_script_setup_true_lang.js +11 -7
- package/dist/Components/ChartTooltip/chartTooltip.types.d.ts +4 -0
- package/dist/Components/ChartTooltip/composables/useChartTooltip.d.ts +1 -0
- package/dist/Components/ChartTooltip/composables/useChartTooltip.js +4 -0
- package/dist/Components/DataTable/DataTableColumnsMenu.vue.d.ts +1 -2
- package/dist/Components/DataTable/composables/useDataTable.d.ts +8 -66
- package/dist/Components/DataTable/composables/useDataTable.js +267 -349
- package/dist/Components/DataTable/composables/useDataTableColumnsMenu.d.ts +1 -2
- package/dist/Components/Heading/Heading.js +5 -0
- package/dist/Components/Heading/Heading.vue.d.ts +11 -0
- package/dist/Components/Heading/Heading.vue_vue_type_script_setup_true_lang.js +29 -0
- package/dist/Components/Heading/composables/useHeading.d.ts +10 -0
- package/dist/Components/Heading/composables/useHeading.js +56 -0
- package/dist/Components/Heading/heading.types.d.ts +56 -0
- package/dist/Components/Heading/index.d.ts +3 -0
- package/dist/Components/Heading/index.js +3 -0
- package/dist/Components/ListItem/composables/useListItem.js +29 -30
- package/dist/Components/Listbox/composables/useListboxNavigation.d.ts +0 -5
- package/dist/Components/Listbox/composables/useListboxNavigation.js +23 -50
- package/dist/Components/Listbox/index.d.ts +1 -1
- package/dist/Components/Listbox/index.js +5 -5
- package/dist/Components/ResizablePanel/composables/useResizablePanel.d.ts +1 -1
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.js +31 -31
- package/dist/Components/Select/composables/useSelect.js +201 -211
- package/dist/Components/Slider/composables/useSlider.js +93 -122
- package/dist/Components/Text/Text.js +5 -0
- package/dist/Components/Text/Text.vue.d.ts +11 -0
- package/dist/Components/Text/Text.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/Components/Text/composables/useText.d.ts +9 -0
- package/dist/Components/Text/composables/useText.js +56 -0
- package/dist/Components/Text/index.d.ts +3 -0
- package/dist/Components/Text/index.js +3 -0
- package/dist/Components/Text/text.types.d.ts +76 -0
- package/dist/Utils/Charts/chart.types.d.ts +17 -0
- package/dist/Utils/Charts/chartInjectionKey.d.ts +2 -2
- package/dist/Utils/Charts/index.d.ts +1 -1
- package/dist/Utils/Charts/useChartCartesian.d.ts +4 -2
- package/dist/Utils/Charts/useChartCartesian.js +90 -76
- package/dist/augments.d.ts +10 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +175 -171
- package/docs/README.md +2 -0
- package/docs/components/BridgeUIProvider.md +1 -1
- package/docs/components/Card.md +15 -0
- package/docs/components/Chart.md +17 -10
- package/docs/components/ChartBar.md +70 -17
- package/docs/components/ChartLine.md +57 -16
- package/docs/components/ChartPie.md +33 -10
- package/docs/components/ChartScatter.md +25 -7
- package/docs/components/Heading.md +85 -0
- package/docs/components/Text.md +118 -0
- package/package.json +2 -2
- package/dist/Components/RichTextEditor/tiptapEditor.d.ts +0 -111
- package/dist/Components/RichTextEditor/tiptapEditor.js +0 -121
- package/dist/Utils/Charts/echarts/bar.d.ts +0 -6
- package/dist/Utils/Charts/echarts/bar.js +0 -22
- package/dist/Utils/Charts/echarts/cartesian.d.ts +0 -15
- package/dist/Utils/Charts/echarts/cartesian.js +0 -255
- package/dist/Utils/Charts/echarts/funnel.d.ts +0 -15
- package/dist/Utils/Charts/echarts/funnel.js +0 -79
- package/dist/Utils/Charts/echarts/line.d.ts +0 -5
- package/dist/Utils/Charts/echarts/line.js +0 -19
- package/dist/Utils/Charts/echarts/part.d.ts +0 -19
- package/dist/Utils/Charts/echarts/part.js +0 -45
- package/dist/Utils/Charts/echarts/pie.d.ts +0 -14
- package/dist/Utils/Charts/echarts/pie.js +0 -75
- package/dist/Utils/Charts/echarts/plot.d.ts +0 -44
- package/dist/Utils/Charts/echarts/plot.js +0 -52
- package/dist/Utils/Charts/echarts/scatter.d.ts +0 -14
- package/dist/Utils/Charts/echarts/scatter.js +0 -152
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ChartCartesianRenderOptions, ChartCurve, ChartHandle, ChartMountOptions, ChartOrientation, ChartStep } from '@bridge-ui/core/Domain';
|
|
2
|
-
import { ChartRootOwnProps } from './chart.types';
|
|
2
|
+
import { ChartCategoryColors, ChartRootOwnProps } from './chart.types';
|
|
3
3
|
import { ChartRootMerged } from './useChartRoot';
|
|
4
4
|
/**
|
|
5
5
|
* Props shared by `ChartLine` and `ChartBar` (each root exposes its subset).
|
|
6
6
|
*/
|
|
7
7
|
export type ChartCartesianOwnProps = ChartRootOwnProps & {
|
|
8
8
|
area?: boolean;
|
|
9
|
+
areaOpacity?: number;
|
|
9
10
|
categories: Date[] | string[];
|
|
11
|
+
categoryColors?: ChartCategoryColors;
|
|
10
12
|
curve?: ChartCurve;
|
|
11
13
|
formatDate?: (date: Date) => string;
|
|
12
14
|
formatLabel?: (value: number) => string;
|
|
@@ -21,7 +23,7 @@ export type ChartCartesianOwnProps = ChartRootOwnProps & {
|
|
|
21
23
|
/**
|
|
22
24
|
* Merged cartesian props after registry defaults.
|
|
23
25
|
*/
|
|
24
|
-
export type ChartCartesianMerged = ChartRootMerged & Pick<ChartCartesianOwnProps, "area" | "step" | "curve" | "labels" | "radius" | "showPoints" | "orientation">;
|
|
26
|
+
export type ChartCartesianMerged = ChartRootMerged & Pick<ChartCartesianOwnProps, "area" | "step" | "curve" | "labels" | "radius" | "showPoints" | "areaOpacity" | "orientation">;
|
|
25
27
|
/**
|
|
26
28
|
* Line / bar root: series registry, category (or time) axis, stacks, and the
|
|
27
29
|
* shared chart frame.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useChartRegistry as e } from "./useChartRegistry.js";
|
|
2
2
|
import { chartRootBridgeKeys as t, toChartLegendItems as n, useChartColors as r, useChartContextValue as i, useChartFrame as a, useChartPlot as o, useChartRoot as s } from "./useChartRoot.js";
|
|
3
3
|
import { computed as c } from "vue";
|
|
4
|
-
import { isDate as l,
|
|
5
|
-
import { DEFAULT_CHART_BAR_RADIUS as
|
|
4
|
+
import { isDate as l, isEmpty as u, isNil as d, isString as f } from "es-toolkit/compat";
|
|
5
|
+
import { DEFAULT_CHART_AREA_OPACITY as p, DEFAULT_CHART_BAR_RADIUS as m, formatChartValue as h, getChartCartesianRenderSeries as g, getChartCartesianSummaryParams as _, getChartCartesianTable as v, getChartCartesianTooltip as y, getChartCategoryColorItems as b, getChartCategoryLabels as x, getChartRangeColorItems as S, getChartTimeTickFormatter as C, isChartEmpty as w, isChartTimeCategories as T } from "@bridge-ui/core/Domain";
|
|
6
6
|
//#region src/Utils/Charts/useChartCartesian.ts
|
|
7
|
-
var
|
|
7
|
+
var E = [
|
|
8
8
|
...t,
|
|
9
9
|
"area",
|
|
10
10
|
"step",
|
|
@@ -16,9 +16,11 @@ var x = [
|
|
|
16
16
|
"categories",
|
|
17
17
|
"formatDate",
|
|
18
18
|
"showPoints",
|
|
19
|
+
"areaOpacity",
|
|
19
20
|
"formatLabel",
|
|
20
|
-
"orientation"
|
|
21
|
-
|
|
21
|
+
"orientation",
|
|
22
|
+
"categoryColors"
|
|
23
|
+
], D = [
|
|
22
24
|
"area",
|
|
23
25
|
"size",
|
|
24
26
|
"step",
|
|
@@ -29,18 +31,22 @@ var x = [
|
|
|
29
31
|
"classes",
|
|
30
32
|
"animation",
|
|
31
33
|
"showPoints",
|
|
34
|
+
"areaOpacity",
|
|
32
35
|
"customProps",
|
|
33
36
|
"orientation"
|
|
34
37
|
];
|
|
35
|
-
function
|
|
38
|
+
function O(e, t, n) {
|
|
36
39
|
return e.kind === "bar" ? {
|
|
37
40
|
kind: "bar",
|
|
38
41
|
id: e.id,
|
|
39
42
|
name: e.name,
|
|
40
43
|
data: e.data,
|
|
41
44
|
color: e.color,
|
|
45
|
+
tone: e.tone ?? "solid",
|
|
42
46
|
reference: e.reference ?? [],
|
|
47
|
+
colorBy: e.colorBy ?? "value",
|
|
43
48
|
stack: e.stack ?? t.stack,
|
|
49
|
+
colorRanges: e.colorRanges ?? [],
|
|
44
50
|
labels: e.labels ?? t.labels ?? !1
|
|
45
51
|
} : {
|
|
46
52
|
kind: "line",
|
|
@@ -50,106 +56,114 @@ function C(e, t, n) {
|
|
|
50
56
|
color: e.color,
|
|
51
57
|
dashed: e.dashed ?? !1,
|
|
52
58
|
reference: e.reference ?? [],
|
|
59
|
+
colorBy: e.colorBy ?? "value",
|
|
60
|
+
colorRanges: e.colorRanges ?? [],
|
|
53
61
|
area: e.area ?? t.area ?? !1,
|
|
54
62
|
step: e.step ?? t.step ?? !1,
|
|
55
63
|
labels: e.labels ?? t.labels ?? !1,
|
|
56
64
|
curve: e.curve ?? t.curve ?? "linear",
|
|
57
65
|
showPoints: e.showPoints ?? t.showPoints ?? !1,
|
|
58
|
-
stack: e.stack ?? (n === "line" ? t.stack : void 0)
|
|
66
|
+
stack: e.stack ?? (n === "line" ? t.stack : void 0),
|
|
67
|
+
areaOpacity: e.areaOpacity ?? t.areaOpacity ?? p
|
|
59
68
|
};
|
|
60
69
|
}
|
|
61
|
-
function
|
|
62
|
-
let
|
|
70
|
+
function k(t, { kind: p, mount: k, libDefaults: A, componentName: j }) {
|
|
71
|
+
let M = s({
|
|
63
72
|
props: t,
|
|
64
|
-
libDefaults:
|
|
65
|
-
componentName:
|
|
66
|
-
bridgeKeys:
|
|
67
|
-
registryKeys:
|
|
73
|
+
libDefaults: A,
|
|
74
|
+
componentName: j,
|
|
75
|
+
bridgeKeys: E,
|
|
76
|
+
registryKeys: D,
|
|
68
77
|
fallbackProps: () => t.sparkline ? { height: 48 } : {}
|
|
69
|
-
}),
|
|
70
|
-
locale:
|
|
71
|
-
categories:
|
|
78
|
+
}), N = e(), { merged: P, hidden: F, locale: I, resolveMessage: L } = M, R = c(() => JSON.stringify((t.categories ?? []).map((e) => l(e) ? { time: e.getTime() } : e))), z = c(() => JSON.parse(R.value).map((e) => f(e) ? e : new Date(e.time))), B = c(() => T(z.value) ? z.value.map((e) => e.getTime()) : null), V = c(() => x({
|
|
79
|
+
locale: I.value,
|
|
80
|
+
categories: z.value,
|
|
72
81
|
formatDate: t.formatDate
|
|
73
|
-
})),
|
|
74
|
-
let e = t.formatLabel, n =
|
|
75
|
-
return e ?? ((e) =>
|
|
76
|
-
}),
|
|
77
|
-
...
|
|
82
|
+
})), H = c(() => {
|
|
83
|
+
let e = t.formatLabel, n = I.value;
|
|
84
|
+
return e ?? ((e) => h(e, n));
|
|
85
|
+
}), U = c(() => p === "bar" ? P.value.orientation ?? "vertical" : "vertical"), W = c(() => N.entries.value.map((e) => O(e, {
|
|
86
|
+
...P.value,
|
|
78
87
|
stack: t.stack
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}))),
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
}, p))), G = r(M, () => [...N.entries.value, ...S(W.value)]), K = c(() => b({
|
|
89
|
+
labels: V.value,
|
|
90
|
+
categoryColors: p === "bar" ? t.categoryColors : void 0
|
|
91
|
+
})), q = r(M, () => K.value), J = c(() => g({
|
|
92
|
+
colors: G.value,
|
|
93
|
+
series: W.value,
|
|
94
|
+
theme: M.theme.value,
|
|
95
|
+
categoryColors: u(K.value) ? null : K.value.map((e) => q.value[e.id] ?? "")
|
|
96
|
+
})), Y = c(() => J.value.filter((e) => !F.value.includes(e.id))), X = c(() => Object.fromEntries(J.value.map((e) => [e.id, e.color]))), Z = c(() => {
|
|
97
|
+
let e = { ...N.axes.value.x }, t = { ...N.axes.value.y };
|
|
98
|
+
if (!d(B.value)) {
|
|
99
|
+
let n = U.value === "horizontal" ? t : e;
|
|
100
|
+
n.formatTick ??= C({
|
|
101
|
+
locale: I.value,
|
|
102
|
+
timestamps: B.value
|
|
89
103
|
});
|
|
90
104
|
}
|
|
91
105
|
return {
|
|
92
106
|
xAxis: e,
|
|
93
107
|
yAxis: t
|
|
94
108
|
};
|
|
95
|
-
}),
|
|
96
|
-
let e =
|
|
97
|
-
return
|
|
109
|
+
}), Q = c(() => {
|
|
110
|
+
let e = M.theme.value;
|
|
111
|
+
return d(e) ? null : {
|
|
98
112
|
theme: e,
|
|
99
|
-
xAxis:
|
|
100
|
-
yAxis:
|
|
101
|
-
categories:
|
|
102
|
-
series:
|
|
103
|
-
timestamps:
|
|
104
|
-
orientation:
|
|
105
|
-
formatLabel:
|
|
106
|
-
animation:
|
|
107
|
-
width:
|
|
108
|
-
height:
|
|
113
|
+
xAxis: Z.value.xAxis,
|
|
114
|
+
yAxis: Z.value.yAxis,
|
|
115
|
+
categories: V.value,
|
|
116
|
+
series: Y.value,
|
|
117
|
+
timestamps: B.value,
|
|
118
|
+
orientation: U.value,
|
|
119
|
+
formatLabel: H.value,
|
|
120
|
+
animation: M.animation.value,
|
|
121
|
+
width: M.plotSize.value.width,
|
|
122
|
+
height: M.plotSize.value.height,
|
|
109
123
|
sparkline: t.sparkline === !0,
|
|
110
|
-
radius:
|
|
124
|
+
radius: P.value.radius ?? m
|
|
111
125
|
};
|
|
112
126
|
});
|
|
113
|
-
o(
|
|
114
|
-
mount:
|
|
115
|
-
options:
|
|
127
|
+
o(M, {
|
|
128
|
+
mount: k,
|
|
129
|
+
options: Q
|
|
116
130
|
});
|
|
117
|
-
let
|
|
118
|
-
let e =
|
|
119
|
-
return
|
|
131
|
+
let $ = c(() => {
|
|
132
|
+
let e = M.active.value.index;
|
|
133
|
+
return d(e) ? null : y({
|
|
120
134
|
index: e,
|
|
121
|
-
series:
|
|
122
|
-
title:
|
|
135
|
+
series: Y.value,
|
|
136
|
+
title: V.value[e] ?? ""
|
|
123
137
|
});
|
|
124
138
|
});
|
|
125
139
|
return {
|
|
126
|
-
frame: a(
|
|
127
|
-
tooltip:
|
|
128
|
-
count:
|
|
129
|
-
isEmpty:
|
|
130
|
-
table:
|
|
131
|
-
locale:
|
|
132
|
-
series:
|
|
133
|
-
categories:
|
|
134
|
-
categoryHeader:
|
|
140
|
+
frame: a(M, c(() => ({
|
|
141
|
+
tooltip: $.value,
|
|
142
|
+
count: V.value.length,
|
|
143
|
+
isEmpty: w(W.value.flatMap((e) => e.data)),
|
|
144
|
+
table: v({
|
|
145
|
+
locale: I.value,
|
|
146
|
+
series: W.value,
|
|
147
|
+
categories: V.value,
|
|
148
|
+
categoryHeader: L(d(B.value) ? "Category" : "Date")
|
|
135
149
|
}),
|
|
136
|
-
summary:
|
|
137
|
-
series:
|
|
138
|
-
categories:
|
|
150
|
+
summary: L("Chart with {{count}} series ({{names}}) across {{categories}} categories, from {{first}} to {{last}}.", _({
|
|
151
|
+
series: W.value,
|
|
152
|
+
categories: V.value
|
|
139
153
|
}))
|
|
140
154
|
}))),
|
|
141
|
-
merged:
|
|
142
|
-
context: i(
|
|
143
|
-
family:
|
|
144
|
-
tooltip:
|
|
145
|
-
setAxis:
|
|
146
|
-
removeAxis:
|
|
147
|
-
upsertSeries:
|
|
148
|
-
removeSeries:
|
|
149
|
-
legendItems: n(
|
|
155
|
+
merged: P,
|
|
156
|
+
context: i(M, c(() => ({
|
|
157
|
+
family: p,
|
|
158
|
+
tooltip: $.value,
|
|
159
|
+
setAxis: N.setAxis,
|
|
160
|
+
removeAxis: N.removeAxis,
|
|
161
|
+
upsertSeries: N.upsertSeries,
|
|
162
|
+
removeSeries: N.removeSeries,
|
|
163
|
+
legendItems: n(W.value, X.value, F.value)
|
|
150
164
|
}))),
|
|
151
|
-
options:
|
|
165
|
+
options: Q
|
|
152
166
|
};
|
|
153
167
|
}
|
|
154
168
|
//#endregion
|
|
155
|
-
export {
|
|
169
|
+
export { k as useChartCartesian };
|
package/dist/augments.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { ChipClasses, ChipProps } from './Components/Chip';
|
|
|
20
20
|
import { DividerClasses, DividerProps } from './Components/Divider';
|
|
21
21
|
import { EmptyStateClasses, EmptyStateProps } from './Components/EmptyState';
|
|
22
22
|
import { FileUploadClasses, FileUploadProps } from './Components/FileUpload';
|
|
23
|
+
import { HeadingClasses, HeadingProps } from './Components/Heading';
|
|
23
24
|
import { IconProps } from './Components/Icon';
|
|
24
25
|
import { LabelClasses, LabelProps } from './Components/Label';
|
|
25
26
|
import { LinkClasses, LinkProps } from './Components/Link';
|
|
@@ -44,6 +45,7 @@ import { SliderClasses, SliderProps } from './Components/Slider';
|
|
|
44
45
|
import { SnackbarClasses, SnackbarProps } from './Components/Snackbar';
|
|
45
46
|
import { SpinnerClasses, SpinnerProps } from './Components/Spinner';
|
|
46
47
|
import { SwitchClasses, SwitchProps } from './Components/Switch';
|
|
48
|
+
import { TextClasses, TextProps } from './Components/Text';
|
|
47
49
|
import { TextareaClasses, TextareaProps } from './Components/Textarea';
|
|
48
50
|
import { TextFieldClasses, TextFieldProps } from './Components/TextField';
|
|
49
51
|
declare module "@bridge-ui/core/Config" {
|
|
@@ -133,6 +135,10 @@ declare module "@bridge-ui/core/Config" {
|
|
|
133
135
|
classes: FileUploadClasses;
|
|
134
136
|
defaultProps: Partial<Pick<FileUploadProps, "size" | "color" | "rounded" | "variant" | "multiple" | "orientation">>;
|
|
135
137
|
}
|
|
138
|
+
interface HeadingConfigOverrides {
|
|
139
|
+
classes: HeadingClasses;
|
|
140
|
+
defaultProps: Partial<Pick<HeadingProps, "size" | "color" | "weight" | "variant">>;
|
|
141
|
+
}
|
|
136
142
|
interface IconConfigOverrides {
|
|
137
143
|
defaultProps: Partial<Pick<IconProps, "size">>;
|
|
138
144
|
}
|
|
@@ -226,6 +232,10 @@ declare module "@bridge-ui/core/Config" {
|
|
|
226
232
|
classes: SwitchClasses;
|
|
227
233
|
defaultProps: Partial<Pick<SwitchProps, "size" | "color" | "rounded" | "hideErrorMessage">>;
|
|
228
234
|
}
|
|
235
|
+
interface TextConfigOverrides {
|
|
236
|
+
classes: TextClasses;
|
|
237
|
+
defaultProps: Partial<Pick<TextProps, "size" | "color" | "weight" | "variant">>;
|
|
238
|
+
}
|
|
229
239
|
interface TextareaConfigOverrides {
|
|
230
240
|
classes: TextareaClasses;
|
|
231
241
|
defaultProps: Partial<Pick<TextareaProps, "size" | "color" | "resize" | "rounded" | "variant" | "autosize" | "showErrorIcon" | "hideErrorMessage" | "showDescriptionOnError">>;
|
package/dist/index.d.ts
CHANGED
|
@@ -82,6 +82,8 @@ export { FormControl, useFormControl } from './Components/FormControl';
|
|
|
82
82
|
export type { FormControlClasses, FormControlCustomProps, FormControlOwnProps, FormControlProps, FormControlSizeOverrides, FormControlSlots, UseFormControlReturn, } from './Components/FormControl';
|
|
83
83
|
export { FormField, useFormField } from './Components/FormField';
|
|
84
84
|
export type { FormFieldClasses, FormFieldColorOverrides, FormFieldCustomProps, FormFieldOwnProps, FormFieldProps, FormFieldRoundedOverrides, FormFieldSizeOverrides, FormFieldSlots, FormFieldVariantOverrides, UseFormFieldReturn, } from './Components/FormField';
|
|
85
|
+
export { Heading, useHeading } from './Components/Heading';
|
|
86
|
+
export type { HeadingClasses, HeadingOwnProps, HeadingProps, HeadingSlots, } from './Components/Heading';
|
|
85
87
|
export { Icon, type IconOwnProps, type IconProps } from './Components/Icon';
|
|
86
88
|
export type { IconSizeOverrides } from './Components/Icon';
|
|
87
89
|
export { Label, useLabel } from './Components/Label';
|
|
@@ -90,7 +92,7 @@ export { Link, useLink } from './Components/Link';
|
|
|
90
92
|
export type { LinkClasses, LinkColorOverrides, LinkCustomProps, LinkOwnProps, LinkProps, LinkSizeOverrides, LinkSlots, LinkUnderlineOverrides, } from './Components/Link';
|
|
91
93
|
export { List, useList } from './Components/List';
|
|
92
94
|
export type { ListClasses, ListContextValue, ListCustomProps, ListOwnProps, ListProps, } from './Components/List';
|
|
93
|
-
export { Listbox,
|
|
95
|
+
export { Listbox, useListbox, useListboxNavigation, } from './Components/Listbox';
|
|
94
96
|
export type { ListboxClasses, ListboxColorOverrides, ListboxCustomProps, ListboxEmits, ListboxEntry, ListboxOption, ListboxOwnProps, ListboxProps, ListboxSlots, ListboxValue, } from './Components/Listbox';
|
|
95
97
|
export { ListItem } from './Components/ListItem';
|
|
96
98
|
export type { ListItemClasses, ListItemCustomProps, ListItemOwnProps, ListItemProps, ListItemSlots, } from './Components/ListItem';
|
|
@@ -148,6 +150,8 @@ export { TabPanel, useTabPanel } from './Components/TabPanel';
|
|
|
148
150
|
export type { TabPanelClasses, TabPanelCustomProps, TabPanelOwnProps, TabPanelProps, TabPanelSlots, } from './Components/TabPanel';
|
|
149
151
|
export { TABS_INJECTION_KEY, Tabs, useTabs } from './Components/Tabs';
|
|
150
152
|
export type { TabsClasses, TabsColorOverrides, TabsContextValue, TabsCustomProps, TabsEmits, TabsItemEntry, TabsOrientationOverrides, TabsOwnProps, TabsProps, TabsSizeOverrides, TabsSlots, TabsTokenClasses, TabsVariantOverrides, } from './Components/Tabs';
|
|
153
|
+
export { Text, useText } from './Components/Text';
|
|
154
|
+
export type { TextClasses, TextColorOverrides, TextOwnProps, TextProps, TextSizeOverrides, TextSlots, TextVariantOverrides, TextWeightOverrides, } from './Components/Text';
|
|
151
155
|
export { Textarea, useTextarea } from './Components/Textarea';
|
|
152
156
|
export type { TextareaClasses, TextareaCustomProps, TextareaOwnProps, TextareaProps, TextareaSlots, } from './Components/Textarea';
|
|
153
157
|
export { TextField, useTextField } from './Components/TextField';
|