@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
package/dist/index.js
CHANGED
|
@@ -18,174 +18,178 @@ import x from "./Components/ActionFooter/ActionFooter.js";
|
|
|
18
18
|
import { useAlert as S } from "./Components/Alert/composables/useAlert.js";
|
|
19
19
|
import C from "./Components/Alert/Alert.js";
|
|
20
20
|
import { useFormField as w } from "./Components/FormField/composables/useFormField.js";
|
|
21
|
-
import {
|
|
22
|
-
import { useChip as
|
|
23
|
-
import
|
|
24
|
-
import { useLabel as
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import { useListbox as
|
|
28
|
-
import { useFieldOverlay as
|
|
29
|
-
import { useDrawer as
|
|
30
|
-
import
|
|
31
|
-
import { useMenu as
|
|
32
|
-
import
|
|
33
|
-
import { useModal as
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { useList as
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import { useProgress as
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import { useBadge as
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import { useBaseField as
|
|
50
|
-
import { useBreadcrumb as
|
|
51
|
-
import { useBreadcrumbItem as
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import { useButtonGroup as
|
|
55
|
-
import
|
|
56
|
-
import { useCalendar as
|
|
57
|
-
import { useCalendarDate as
|
|
58
|
-
import
|
|
59
|
-
import { useCalendarMonth as
|
|
60
|
-
import
|
|
61
|
-
import { useCalendarYear as
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import { useCalendarRange as
|
|
65
|
-
import { useDivider as
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import { useCard as
|
|
69
|
-
import
|
|
70
|
-
import { useCarousel as
|
|
71
|
-
import
|
|
72
|
-
import { useCarouselSlide as
|
|
73
|
-
import
|
|
74
|
-
import { useFormControl as
|
|
75
|
-
import
|
|
76
|
-
import { useCheckbox as
|
|
77
|
-
import
|
|
78
|
-
import { useColorField as
|
|
79
|
-
import { useColorPicker as
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import { useDateField as
|
|
83
|
-
import { useDatePicker as
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import { useDateRangeField as
|
|
87
|
-
import { useDateRangePicker as
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import { useDateTimeField as
|
|
91
|
-
import { useDateTimePicker as
|
|
92
|
-
import { useTimePanel as
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import { useDateTimeRangeField as
|
|
97
|
-
import { useDateTimeRangePicker as
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import { useEmptyState as
|
|
101
|
-
import
|
|
102
|
-
import { useFileUpload as
|
|
103
|
-
import { useFileUploadItem as
|
|
104
|
-
import
|
|
105
|
-
import
|
|
106
|
-
import {
|
|
107
|
-
import
|
|
108
|
-
import {
|
|
109
|
-
import
|
|
110
|
-
import {
|
|
111
|
-
import
|
|
112
|
-
import {
|
|
113
|
-
import
|
|
114
|
-
import {
|
|
115
|
-
import
|
|
116
|
-
import {
|
|
117
|
-
import
|
|
118
|
-
import
|
|
119
|
-
import
|
|
120
|
-
import
|
|
121
|
-
import
|
|
122
|
-
import {
|
|
123
|
-
import
|
|
124
|
-
import
|
|
125
|
-
import {
|
|
126
|
-
import
|
|
127
|
-
import {
|
|
128
|
-
import
|
|
129
|
-
import
|
|
130
|
-
import
|
|
131
|
-
import
|
|
132
|
-
import
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import
|
|
139
|
-
import
|
|
140
|
-
import
|
|
141
|
-
import
|
|
142
|
-
import
|
|
143
|
-
import
|
|
144
|
-
import
|
|
145
|
-
import
|
|
146
|
-
import
|
|
147
|
-
import
|
|
148
|
-
import {
|
|
149
|
-
import
|
|
150
|
-
import {
|
|
151
|
-
import
|
|
152
|
-
import {
|
|
153
|
-
import
|
|
154
|
-
import {
|
|
155
|
-
import
|
|
156
|
-
import {
|
|
157
|
-
import
|
|
158
|
-
import {
|
|
159
|
-
import
|
|
160
|
-
import {
|
|
161
|
-
import
|
|
162
|
-
import
|
|
163
|
-
import {
|
|
164
|
-
import
|
|
165
|
-
import {
|
|
166
|
-
import
|
|
167
|
-
import {
|
|
168
|
-
import
|
|
169
|
-
import {
|
|
170
|
-
import
|
|
171
|
-
import {
|
|
172
|
-
import
|
|
173
|
-
import {
|
|
174
|
-
import
|
|
175
|
-
import {
|
|
176
|
-
import
|
|
177
|
-
import
|
|
178
|
-
import
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import
|
|
182
|
-
import
|
|
183
|
-
import {
|
|
184
|
-
import {
|
|
185
|
-
import
|
|
186
|
-
import
|
|
187
|
-
import
|
|
188
|
-
import {
|
|
189
|
-
import
|
|
190
|
-
import {
|
|
191
|
-
|
|
21
|
+
import { useListboxNavigation as T } from "./Components/Listbox/composables/useListboxNavigation.js";
|
|
22
|
+
import { useChip as E } from "./Components/Chip/composables/useChip.js";
|
|
23
|
+
import D from "./Components/Chip/Chip.js";
|
|
24
|
+
import { useLabel as O } from "./Components/Label/composables/useLabel.js";
|
|
25
|
+
import k from "./Components/Label/Label.js";
|
|
26
|
+
import A from "./Components/FormField/FormField.js";
|
|
27
|
+
import { useListbox as j } from "./Components/Listbox/composables/useListbox.js";
|
|
28
|
+
import { useFieldOverlay as M } from "./Components/FieldOverlay/composables/useFieldOverlay.js";
|
|
29
|
+
import { useDrawer as N } from "./Components/Drawer/composables/useDrawer.js";
|
|
30
|
+
import P from "./Components/Drawer/Drawer.js";
|
|
31
|
+
import { useMenu as F } from "./Components/Menu/composables/useMenu.js";
|
|
32
|
+
import I from "./Components/Menu/Menu.js";
|
|
33
|
+
import { useModal as L } from "./Components/Modal/composables/useModal.js";
|
|
34
|
+
import R from "./Components/Modal/Modal.js";
|
|
35
|
+
import z from "./Components/FieldOverlay/FieldOverlay.js";
|
|
36
|
+
import { useList as B } from "./Components/List/composables/useList.js";
|
|
37
|
+
import V from "./Components/List/List.js";
|
|
38
|
+
import H from "./Components/ListItem/ListItem.js";
|
|
39
|
+
import U from "./Components/ListSection/ListSection.js";
|
|
40
|
+
import { useProgress as W } from "./Components/Progress/composables/useProgress.js";
|
|
41
|
+
import G from "./Components/Progress/Progress.js";
|
|
42
|
+
import K from "./Components/Listbox/Listbox.js";
|
|
43
|
+
import q from "./Components/Autocomplete/Autocomplete.js";
|
|
44
|
+
import J from "./Components/Autocomplete/AutocompleteOption.js";
|
|
45
|
+
import Y from "./Components/Avatar/Avatar.js";
|
|
46
|
+
import { useBadge as X } from "./Components/Badge/composables/useBadge.js";
|
|
47
|
+
import Z from "./Components/Badge/Badge.js";
|
|
48
|
+
import Q from "./Components/BaseField/BaseField.js";
|
|
49
|
+
import { useBaseField as $ } from "./Components/BaseField/composables/useBaseField.js";
|
|
50
|
+
import { useBreadcrumb as ee } from "./Components/Breadcrumb/composables/useBreadcrumb.js";
|
|
51
|
+
import { useBreadcrumbItem as te } from "./Components/BreadcrumbItem/composables/useBreadcrumbItem.js";
|
|
52
|
+
import ne from "./Components/BreadcrumbItem/BreadcrumbItem.js";
|
|
53
|
+
import re from "./Components/Breadcrumb/Breadcrumb.js";
|
|
54
|
+
import { useButtonGroup as ie } from "./Components/ButtonGroup/composables/useButtonGroup.js";
|
|
55
|
+
import ae from "./Components/ButtonGroup/ButtonGroup.js";
|
|
56
|
+
import { useCalendar as oe } from "./Components/Calendar/composables/useCalendar.js";
|
|
57
|
+
import { useCalendarDate as se } from "./Components/CalendarDate/composables/useCalendarDate.js";
|
|
58
|
+
import ce from "./Components/CalendarDate/CalendarDate.js";
|
|
59
|
+
import { useCalendarMonth as le } from "./Components/CalendarMonth/composables/useCalendarMonth.js";
|
|
60
|
+
import ue from "./Components/CalendarMonth/CalendarMonth.js";
|
|
61
|
+
import { useCalendarYear as de } from "./Components/CalendarYear/composables/useCalendarYear.js";
|
|
62
|
+
import fe from "./Components/CalendarYear/CalendarYear.js";
|
|
63
|
+
import pe from "./Components/Calendar/Calendar.js";
|
|
64
|
+
import { useCalendarRange as me } from "./Components/CalendarRange/composables/useCalendarRange.js";
|
|
65
|
+
import { useDivider as he } from "./Components/Divider/composables/useDivider.js";
|
|
66
|
+
import ge from "./Components/Divider/Divider.js";
|
|
67
|
+
import _e from "./Components/CalendarRange/CalendarRange.js";
|
|
68
|
+
import { useCard as ve } from "./Components/Card/composables/useCard.js";
|
|
69
|
+
import ye from "./Components/Card/Card.js";
|
|
70
|
+
import { useCarousel as be } from "./Components/Carousel/composables/useCarousel.js";
|
|
71
|
+
import xe from "./Components/Carousel/Carousel.js";
|
|
72
|
+
import { useCarouselSlide as Se } from "./Components/CarouselSlide/composables/useCarouselSlide.js";
|
|
73
|
+
import Ce from "./Components/CarouselSlide/CarouselSlide.js";
|
|
74
|
+
import { useFormControl as we } from "./Components/FormControl/composables/useFormControl.js";
|
|
75
|
+
import Te from "./Components/FormControl/FormControl.js";
|
|
76
|
+
import { useCheckbox as Ee } from "./Components/Checkbox/composables/useCheckbox.js";
|
|
77
|
+
import De from "./Components/Checkbox/Checkbox.js";
|
|
78
|
+
import { useColorField as Oe } from "./Components/ColorField/composables/useColorField.js";
|
|
79
|
+
import { useColorPicker as ke } from "./Components/ColorPicker/composables/useColorPicker.js";
|
|
80
|
+
import Ae from "./Components/ColorPicker/ColorPicker.js";
|
|
81
|
+
import je from "./Components/ColorField/ColorField.js";
|
|
82
|
+
import { useDateField as Me } from "./Components/DateField/composables/useDateField.js";
|
|
83
|
+
import { useDatePicker as Ne } from "./Components/DatePicker/composables/useDatePicker.js";
|
|
84
|
+
import Pe from "./Components/DatePicker/DatePicker.js";
|
|
85
|
+
import Fe from "./Components/DateField/DateField.js";
|
|
86
|
+
import { useDateRangeField as Ie } from "./Components/DateRangeField/composables/useDateRangeField.js";
|
|
87
|
+
import { useDateRangePicker as Le } from "./Components/DateRangePicker/composables/useDateRangePicker.js";
|
|
88
|
+
import Re from "./Components/DateRangePicker/DateRangePicker.js";
|
|
89
|
+
import ze from "./Components/DateRangeField/DateRangeField.js";
|
|
90
|
+
import { useDateTimeField as Be } from "./Components/DateTimeField/composables/useDateTimeField.js";
|
|
91
|
+
import { useDateTimePicker as Ve } from "./Components/DateTimePicker/composables/useDateTimePicker.js";
|
|
92
|
+
import { useTimePanel as He } from "./Components/TimePanel/composables/useTimePanel.js";
|
|
93
|
+
import Ue from "./Components/TimePanel/TimePanel.js";
|
|
94
|
+
import We from "./Components/DateTimePicker/DateTimePicker.js";
|
|
95
|
+
import Ge from "./Components/DateTimeField/DateTimeField.js";
|
|
96
|
+
import { useDateTimeRangeField as Ke } from "./Components/DateTimeRangeField/composables/useDateTimeRangeField.js";
|
|
97
|
+
import { useDateTimeRangePicker as qe } from "./Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js";
|
|
98
|
+
import Je from "./Components/DateTimeRangePicker/DateTimeRangePicker.js";
|
|
99
|
+
import Ye from "./Components/DateTimeRangeField/DateTimeRangeField.js";
|
|
100
|
+
import { useEmptyState as Xe } from "./Components/EmptyState/composables/useEmptyState.js";
|
|
101
|
+
import Ze from "./Components/EmptyState/EmptyState.js";
|
|
102
|
+
import { useFileUpload as Qe } from "./Components/FileUpload/composables/useFileUpload.js";
|
|
103
|
+
import { useFileUploadItem as $e } from "./Components/FileUploadItem/composables/useFileUploadItem.js";
|
|
104
|
+
import et from "./Components/FileUploadItem/FileUploadItem.js";
|
|
105
|
+
import tt from "./Components/FileUpload/FileUpload.js";
|
|
106
|
+
import { useHeading as nt } from "./Components/Heading/composables/useHeading.js";
|
|
107
|
+
import rt from "./Components/Heading/Heading.js";
|
|
108
|
+
import { useLink as it } from "./Components/Link/composables/useLink.js";
|
|
109
|
+
import at from "./Components/Link/Link.js";
|
|
110
|
+
import { useNumberField as ot } from "./Components/NumberField/composables/useNumberField.js";
|
|
111
|
+
import st from "./Components/NumberField/NumberField.js";
|
|
112
|
+
import { useOtpField as ct } from "./Components/OtpField/composables/useOtpField.js";
|
|
113
|
+
import lt from "./Components/OtpField/OtpField.js";
|
|
114
|
+
import { usePagination as ut } from "./Components/Pagination/composables/usePagination.js";
|
|
115
|
+
import dt from "./Components/Pagination/Pagination.js";
|
|
116
|
+
import { usePasswordField as ft } from "./Components/PasswordField/composables/usePasswordField.js";
|
|
117
|
+
import pt from "./Components/PasswordField/PasswordField.js";
|
|
118
|
+
import { useRadio as mt } from "./Components/Radio/composables/useRadio.js";
|
|
119
|
+
import ht from "./Components/Radio/Radio.js";
|
|
120
|
+
import gt from "./Provider/BridgeUIProvider.js";
|
|
121
|
+
import { createBridgeUI as _t } from "./Provider/createBridgeUI.js";
|
|
122
|
+
import { useRating as vt } from "./Components/Rating/composables/useRating.js";
|
|
123
|
+
import yt from "./Components/Rating/Rating.js";
|
|
124
|
+
import { RESIZABLE_INJECTION_KEY as bt } from "./Components/Resizable/resizableInjectionKey.js";
|
|
125
|
+
import { useResizable as xt } from "./Components/Resizable/composables/useResizable.js";
|
|
126
|
+
import St from "./Components/Resizable/Resizable.js";
|
|
127
|
+
import { useResizableHandle as Ct } from "./Components/ResizableHandle/composables/useResizableHandle.js";
|
|
128
|
+
import wt from "./Components/ResizableHandle/ResizableHandle.js";
|
|
129
|
+
import { useResizablePanel as Tt } from "./Components/ResizablePanel/composables/useResizablePanel.js";
|
|
130
|
+
import Et from "./Components/ResizablePanel/ResizablePanel.js";
|
|
131
|
+
import Dt from "./Components/Select/Select.js";
|
|
132
|
+
import Ot from "./Components/Select/SelectOption.js";
|
|
133
|
+
import { useSidebar as kt } from "./Components/Sidebar/composables/useSidebar.js";
|
|
134
|
+
import { useSidebarInset as At } from "./Components/Sidebar/composables/useSidebarInset.js";
|
|
135
|
+
import { useSidebarList as jt } from "./Components/Sidebar/composables/useSidebarList.js";
|
|
136
|
+
import { useSidebarListItem as Mt } from "./Components/Sidebar/composables/useSidebarListItem.js";
|
|
137
|
+
import { useSidebarProvider as Nt } from "./Components/Sidebar/composables/useSidebarProvider.js";
|
|
138
|
+
import { useSidebarShell as Pt } from "./Components/Sidebar/composables/useSidebarShell.js";
|
|
139
|
+
import { useSidebarTrigger as Ft } from "./Components/Sidebar/composables/useSidebarTrigger.js";
|
|
140
|
+
import It from "./Components/Sidebar/Sidebar.js";
|
|
141
|
+
import Lt from "./Components/Sidebar/SidebarInset.js";
|
|
142
|
+
import Rt from "./Components/Sidebar/SidebarList.js";
|
|
143
|
+
import { useTooltip as zt } from "./Components/Tooltip/composables/useTooltip.js";
|
|
144
|
+
import Bt from "./Components/Tooltip/Tooltip.js";
|
|
145
|
+
import Vt from "./Components/Sidebar/SidebarListItem.js";
|
|
146
|
+
import Ht from "./Components/Sidebar/SidebarProvider.js";
|
|
147
|
+
import Ut from "./Components/Sidebar/SidebarTrigger.js";
|
|
148
|
+
import { useSkeleton as Wt } from "./Components/Skeleton/composables/useSkeleton.js";
|
|
149
|
+
import Gt from "./Components/Skeleton/Skeleton.js";
|
|
150
|
+
import { useSlider as Kt } from "./Components/Slider/composables/useSlider.js";
|
|
151
|
+
import qt from "./Components/Slider/Slider.js";
|
|
152
|
+
import { useSnackbar as Jt } from "./Components/Snackbar/composables/useSnackbar.js";
|
|
153
|
+
import Yt from "./Components/Snackbar/Snackbar.js";
|
|
154
|
+
import { useSpinner as Xt } from "./Components/Spinner/composables/useSpinner.js";
|
|
155
|
+
import Zt from "./Components/Spinner/Spinner.js";
|
|
156
|
+
import { useStep as Qt } from "./Components/Step/composables/useStep.js";
|
|
157
|
+
import $t from "./Components/Step/Step.js";
|
|
158
|
+
import { useStepper as en } from "./Components/Stepper/composables/useStepper.js";
|
|
159
|
+
import tn from "./Components/Stepper/Stepper.js";
|
|
160
|
+
import { useSwitch as nn } from "./Components/Switch/composables/useSwitch.js";
|
|
161
|
+
import rn from "./Components/Switch/Switch.js";
|
|
162
|
+
import { TABS_INJECTION_KEY as an } from "./Components/Tabs/tabsInjectionKey.js";
|
|
163
|
+
import { useTab as on } from "./Components/Tab/composables/useTab.js";
|
|
164
|
+
import sn from "./Components/Tab/Tab.js";
|
|
165
|
+
import { useTabItem as cn } from "./Components/TabItem/composables/useTabItem.js";
|
|
166
|
+
import ln from "./Components/TabItem/TabItem.js";
|
|
167
|
+
import { useTabList as un } from "./Components/TabList/composables/useTabList.js";
|
|
168
|
+
import dn from "./Components/TabList/TabList.js";
|
|
169
|
+
import { useTabPanel as fn } from "./Components/TabPanel/composables/useTabPanel.js";
|
|
170
|
+
import pn from "./Components/TabPanel/TabPanel.js";
|
|
171
|
+
import { useTabs as mn } from "./Components/Tabs/composables/useTabs.js";
|
|
172
|
+
import hn from "./Components/Tabs/Tabs.js";
|
|
173
|
+
import { useText as gn } from "./Components/Text/composables/useText.js";
|
|
174
|
+
import _n from "./Components/Text/Text.js";
|
|
175
|
+
import { useTextarea as vn } from "./Components/Textarea/composables/useTextarea.js";
|
|
176
|
+
import yn from "./Components/Textarea/Textarea.js";
|
|
177
|
+
import { useTextField as bn } from "./Components/TextField/composables/useTextField.js";
|
|
178
|
+
import xn from "./Components/TextField/TextField.js";
|
|
179
|
+
import { useTimeField as Sn } from "./Components/TimeField/composables/useTimeField.js";
|
|
180
|
+
import { useTimePicker as Cn } from "./Components/TimePicker/composables/useTimePicker.js";
|
|
181
|
+
import wn from "./Components/TimePicker/TimePicker.js";
|
|
182
|
+
import Tn from "./Components/TimeField/TimeField.js";
|
|
183
|
+
import { useTimeRangeField as En } from "./Components/TimeRangeField/composables/useTimeRangeField.js";
|
|
184
|
+
import { useTimeRangePicker as Dn } from "./Components/TimeRangePicker/composables/useTimeRangePicker.js";
|
|
185
|
+
import On from "./Components/TimeRangePicker/TimeRangePicker.js";
|
|
186
|
+
import kn from "./Components/TimeRangeField/TimeRangeField.js";
|
|
187
|
+
import { TOGGLE_GROUP_INJECTION_KEY as An } from "./Components/ToggleGroup/toggleGroupInjectionKey.js";
|
|
188
|
+
import { useToggleGroup as jn } from "./Components/ToggleGroup/composables/useToggleGroup.js";
|
|
189
|
+
import Mn from "./Components/ToggleGroup/ToggleGroup.js";
|
|
190
|
+
import { useToggleItem as Nn } from "./Components/ToggleItem/composables/useToggleItem.js";
|
|
191
|
+
import Pn from "./Components/ToggleItem/ToggleItem.js";
|
|
192
|
+
import { SEMANTIC_ICON_NAMES as Fn, interpolateMessage as In, resolveMessage as Ln, selectPluralMessage as Rn } from "@bridge-ui/core/Adapters";
|
|
193
|
+
import { cn as zn } from "@bridge-ui/core/Utils";
|
|
194
|
+
import { BRIDGE_UI_DEFAULT_GLOBAL as Bn, mergeBridgeUIComponents as Vn, mergeBridgeUIGlobal as Hn, resolveBridgeUIOptions as Un } from "@bridge-ui/core/Config";
|
|
195
|
+
export { c as ACCORDION_INJECTION_KEY, p as Accordion, g as AccordionItem, x as ActionFooter, C as Alert, q as Autocomplete, J as AutocompleteOption, Y as Avatar, Bn as BRIDGE_UI_DEFAULT_GLOBAL, v as BUTTON_GROUP_INJECTION_KEY, Z as Badge, Q as BaseField, re as Breadcrumb, ne as BreadcrumbItem, gt as BridgeUIProvider, b as Button, ae as ButtonGroup, pe as Calendar, ce as CalendarDate, ue as CalendarMonth, _e as CalendarRange, fe as CalendarYear, ye as Card, xe as Carousel, Ce as CarouselSlide, De as Checkbox, D as Chip, je as ColorField, Ae as ColorPicker, Fe as DateField, Pe as DatePicker, ze as DateRangeField, Re as DateRangePicker, Ge as DateTimeField, We as DateTimePicker, Ye as DateTimeRangeField, Je as DateTimeRangePicker, ge as Divider, P as Drawer, Ze as EmptyState, z as FieldOverlay, tt as FileUpload, et as FileUploadItem, Te as FormControl, A as FormField, rt as Heading, h as Icon, k as Label, at as Link, V as List, H as ListItem, U as ListSection, K as Listbox, I as Menu, R as Modal, st as NumberField, lt as OtpField, dt as Pagination, pt as PasswordField, G as Progress, bt as RESIZABLE_INJECTION_KEY, ht as Radio, yt as Rating, St as Resizable, wt as ResizableHandle, Et as ResizablePanel, Fn as SEMANTIC_ICON_NAMES, Dt as Select, Ot as SelectOption, It as Sidebar, Lt as SidebarInset, Rt as SidebarList, Vt as SidebarListItem, Ht as SidebarProvider, Ut as SidebarTrigger, Gt as Skeleton, qt as Slider, Yt as Snackbar, Zt as Spinner, $t as Step, tn as Stepper, rn as Switch, an as TABS_INJECTION_KEY, An as TOGGLE_GROUP_INJECTION_KEY, sn as Tab, ln as TabItem, dn as TabList, pn as TabPanel, hn as Tabs, _n as Text, xn as TextField, yn as Textarea, Tn as TimeField, Ue as TimePanel, wn as TimePicker, kn as TimeRangeField, On as TimeRangePicker, Mn as ToggleGroup, Pn as ToggleItem, Bt as Tooltip, zn as cn, _t as createBridgeUI, In as interpolateMessage, Vn as mergeBridgeUIComponents, Hn as mergeBridgeUIGlobal, Un as resolveBridgeUIOptions, Ln as resolveMessage, Rn as selectPluralMessage, t as setDateAdapterForTests, r as setI18nAdapterForTests, o as setIconAdapterForTests, f as useAccordion, m as useAccordionItem, _ as useActionFooter, S as useAlert, X as useBadge, $ as useBaseField, ee as useBreadcrumb, te as useBreadcrumbItem, l as useBreakpoint, e as useBridgeUI, u as useBridgeUIComponent, d as useBridgeUIMergedRegistryClasses, y as useButton, ie as useButtonGroup, oe as useCalendar, se as useCalendarDate, le as useCalendarMonth, me as useCalendarRange, de as useCalendarYear, ve as useCard, be as useCarousel, Se as useCarouselSlide, Ee as useCheckbox, E as useChip, Oe as useColorField, ke as useColorPicker, n as useDateAdapter, Me as useDateField, Ne as useDatePicker, Ie as useDateRangeField, Le as useDateRangePicker, Be as useDateTimeField, Ve as useDateTimePicker, Ke as useDateTimeRangeField, qe as useDateTimeRangePicker, he as useDivider, N as useDrawer, Xe as useEmptyState, M as useFieldOverlay, Qe as useFileUpload, $e as useFileUploadItem, we as useFormControl, w as useFormField, nt as useHeading, i as useI18nAdapter, s as useIconAdapter, O as useLabel, it as useLink, B as useList, j as useListbox, T as useListboxNavigation, F as useMenu, L as useModal, ot as useNumberField, ct as useOtpField, ut as usePagination, ft as usePasswordField, W as useProgress, mt as useRadio, vt as useRating, xt as useResizable, Ct as useResizableHandle, Tt as useResizablePanel, a as useResolveMessage, kt as useSidebar, At as useSidebarInset, jt as useSidebarList, Mt as useSidebarListItem, Nt as useSidebarProvider, Pt as useSidebarShell, Ft as useSidebarTrigger, Wt as useSkeleton, Kt as useSlider, Jt as useSnackbar, Xt as useSpinner, Qt as useStep, en as useStepper, nn as useSwitch, on as useTab, cn as useTabItem, un as useTabList, fn as useTabPanel, mn as useTabs, gn as useText, bn as useTextField, vn as useTextarea, Sn as useTimeField, He as useTimePanel, Cn as useTimePicker, En as useTimeRangeField, Dn as useTimeRangePicker, jn as useToggleGroup, Nn as useToggleItem, zt as useTooltip };
|
package/docs/README.md
CHANGED
|
@@ -46,6 +46,7 @@ Component reference for **Vue**. This folder ships with the npm package.
|
|
|
46
46
|
- [FileUpload](./components/FileUpload.md)
|
|
47
47
|
- [FormControl](./components/FormControl.md)
|
|
48
48
|
- [FormField](./components/FormField.md)
|
|
49
|
+
- [Heading](./components/Heading.md)
|
|
49
50
|
- [I18n](./components/I18n.md)
|
|
50
51
|
- [Icon](./components/Icon.md)
|
|
51
52
|
- [Label](./components/Label.md)
|
|
@@ -72,6 +73,7 @@ Component reference for **Vue**. This folder ships with the npm package.
|
|
|
72
73
|
- [Switch](./components/Switch.md)
|
|
73
74
|
- [Table](./components/Table.md)
|
|
74
75
|
- [Tabs](./components/Tabs.md)
|
|
76
|
+
- [Text](./components/Text.md)
|
|
75
77
|
- [Textarea](./components/Textarea.md)
|
|
76
78
|
- [TextField](./components/TextField.md)
|
|
77
79
|
- [TimeField](./components/TimeField.md)
|
|
@@ -150,7 +150,7 @@ app.use(
|
|
|
150
150
|
|
|
151
151
|
### Default color
|
|
152
152
|
|
|
153
|
-
Set `global.defaultColor` to replace the library default `color` (`primary`, `dark`, or `secondary`) on every colorable component: Button, ButtonGroup, Badge, Alert, Avatar, Link, Tabs, ToggleGroup, Snackbar, Progress, Spinner, Stepper, Pagination, Accordion, Calendar, ActionFooter, form fields, and pickers. Divider and
|
|
153
|
+
Set `global.defaultColor` to replace the library default `color` (`primary`, `dark`, or `secondary`) on every colorable component: Button, ButtonGroup, Badge, Alert, Avatar, Link, Tabs, ToggleGroup, Snackbar, Progress, Spinner, Stepper, Pagination, Accordion, Calendar, ActionFooter, form fields, and pickers. Divider, Tooltip, Text, and Heading keep their neutral defaults.
|
|
154
154
|
|
|
155
155
|
Use `"black"` for a monochrome UI. To rebrand `primary`, change the palette in CSS instead.
|
|
156
156
|
|
package/docs/components/Card.md
CHANGED
|
@@ -34,6 +34,21 @@ import { Card } from "@bridge-ui/vue/Components/Card";
|
|
|
34
34
|
</Card>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
+
### Text color
|
|
38
|
+
|
|
39
|
+
Card content and the title inherit the surrounding text color (the base color from `theme.css` on `body`). For secondary text, use `Text` with `variant="muted"`.
|
|
40
|
+
|
|
41
|
+
```vue
|
|
42
|
+
<Card title="Balance">
|
|
43
|
+
<Text numeric size="2xl" weight="semibold">
|
|
44
|
+
$9,300.00
|
|
45
|
+
</Text>
|
|
46
|
+
<Text size="xs" variant="muted">
|
|
47
|
+
Compared to last month
|
|
48
|
+
</Text>
|
|
49
|
+
</Card>
|
|
50
|
+
```
|
|
51
|
+
|
|
37
52
|
### Borderless
|
|
38
53
|
|
|
39
54
|
```vue
|
package/docs/components/Chart.md
CHANGED
|
@@ -13,10 +13,10 @@ Charts for dashboards and reports. Pick the root for the shape of your data; eve
|
|
|
13
13
|
Shared parts:
|
|
14
14
|
|
|
15
15
|
| Part | Line | Bar | Scatter | Pie | Funnel |
|
|
16
|
-
| -------------- |
|
|
17
|
-
| `ChartLegend` |
|
|
18
|
-
| `ChartTooltip` |
|
|
19
|
-
| `ChartAxis` |
|
|
16
|
+
| -------------- | ---- | --- | ------- | --- | ------ |
|
|
17
|
+
| `ChartLegend` | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
18
|
+
| `ChartTooltip` | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
19
|
+
| `ChartAxis` | ✅ | ✅ | ✅ | — | — |
|
|
20
20
|
|
|
21
21
|
## Import
|
|
22
22
|
|
|
@@ -94,6 +94,13 @@ Series and slices take palette colors in order. Override the palette on the root
|
|
|
94
94
|
|
|
95
95
|
Token keys (`primary`, `info`, `success`, `warning`, `error`, `secondary`, `dark`, `black`) follow light and dark mode automatically.
|
|
96
96
|
|
|
97
|
+
Colors can also follow the data:
|
|
98
|
+
|
|
99
|
+
- `color-ranges` on `ChartLineSeries`, `ChartBarSeries`, and `ChartScatterSeries` recolors points, bars, or stretches of a line by value ([ChartLine](./ChartLine.md#color-by-value), [ChartBar](./ChartBar.md#color-by-value), [ChartScatter](./ChartScatter.md#color-by-range)).
|
|
100
|
+
- `category-colors` on `ChartBar` gives each category its own color, and `tone="muted"` lightens a series ([ChartBar](./ChartBar.md#category-colors)).
|
|
101
|
+
|
|
102
|
+
Color is never the only cue: range labels show in the tooltip, the data table, and the keyboard announcements.
|
|
103
|
+
|
|
97
104
|
### Loading and empty
|
|
98
105
|
|
|
99
106
|
While `loading` is true, the plot stays visible behind a translucent overlay with a spinner, and the root gets `aria-busy`. Use the `loading` slot to replace the spinner.
|
|
@@ -204,11 +211,11 @@ Slots: `default` (series, `ChartAxis`, `ChartLegend`, `ChartTooltip`), `empty`,
|
|
|
204
211
|
|
|
205
212
|
## Props (`ChartTooltip`)
|
|
206
213
|
|
|
207
|
-
| Prop | Type | Default | Description
|
|
208
|
-
| ---------------- | --------------------------- | ------- |
|
|
209
|
-
| `format-value` | `(value, item) => string` | — | Value formatter.
|
|
210
|
-
| `format-percent` | `(percent, item) => string` | — | Share formatter (pie, funnel).
|
|
211
|
-
| `classes` | `ChartTooltipClasses` | — | `root`, `title`, `item`, `swatch`, `label`, `value`, `percent`. |
|
|
212
|
-
| `custom-props` | `ChartTooltipCustomProps` | — | Extra props for `root`.
|
|
214
|
+
| Prop | Type | Default | Description |
|
|
215
|
+
| ---------------- | --------------------------- | ------- | ----------------------------------------------------------------------- |
|
|
216
|
+
| `format-value` | `(value, item) => string` | — | Value formatter. |
|
|
217
|
+
| `format-percent` | `(percent, item) => string` | — | Share formatter (pie, funnel). |
|
|
218
|
+
| `classes` | `ChartTooltipClasses` | — | `root`, `title`, `item`, `swatch`, `label`, `value`, `percent`, `note`. |
|
|
219
|
+
| `custom-props` | `ChartTooltipCustomProps` | — | Extra props for `root`. |
|
|
213
220
|
|
|
214
221
|
Slot: `content` (`{ index, title, color, items }`) replaces the title and rows.
|
|
@@ -65,6 +65,55 @@ The `ChartBar` `stack` applies to bars only: a line stays on its own values (a t
|
|
|
65
65
|
|
|
66
66
|
`ChartBar` loads the ECharts line series too, so bar + line charts need no extra import.
|
|
67
67
|
|
|
68
|
+
### Category colors
|
|
69
|
+
|
|
70
|
+
`category-colors` gives each category its own bar color. Every bar series in a category shares that color; `tone="muted"` tells a comparison series apart with a lighter shade of the same color.
|
|
71
|
+
|
|
72
|
+
```vue
|
|
73
|
+
<script setup lang="ts">
|
|
74
|
+
const tagColors = {
|
|
75
|
+
housing: "primary",
|
|
76
|
+
groceries: "success",
|
|
77
|
+
transport: "warning",
|
|
78
|
+
delivery: "#8b5cf6",
|
|
79
|
+
};
|
|
80
|
+
</script>
|
|
81
|
+
|
|
82
|
+
<template>
|
|
83
|
+
<ChartBar :categories="tags" :category-colors="tagColors">
|
|
84
|
+
<ChartBarSeries name="October" :data="october" />
|
|
85
|
+
<ChartBarSeries tone="muted" :data="average" name="6-month average" />
|
|
86
|
+
<ChartLegend />
|
|
87
|
+
<ChartTooltip />
|
|
88
|
+
</ChartBar>
|
|
89
|
+
</template>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`category-colors` takes a record keyed by category label, an array in category order, or `true` (the bare `category-colors` attribute) to use the palette in category order. Categories without a color take the palette entry at their index.
|
|
93
|
+
|
|
94
|
+
With category colors the legend shows each series in a neutral color (muted series in a lighter shade), and the tooltip shows the bar colors. `ChartLineSeries` inside keep their own color.
|
|
95
|
+
|
|
96
|
+
`tone="muted"` also works without `category-colors`: it lightens the series color (a previous period next to the current one). Muted shades mix toward the background behind the chart, so they follow light and dark mode.
|
|
97
|
+
|
|
98
|
+
### Color by value
|
|
99
|
+
|
|
100
|
+
`color-ranges` recolors single bars by value. A value in `[min, max)` takes the range color; bars outside every range keep the series color. Range labels show in the tooltip, the data table, and the keyboard announcements.
|
|
101
|
+
|
|
102
|
+
```vue
|
|
103
|
+
<ChartBar :categories="months">
|
|
104
|
+
<ChartBarSeries
|
|
105
|
+
name="Spent"
|
|
106
|
+
:data="spent"
|
|
107
|
+
:color-ranges="[
|
|
108
|
+
{ max: 1000, color: 'success', label: 'On budget' },
|
|
109
|
+
{ min: 1000, color: 'error', label: 'Over budget' },
|
|
110
|
+
]"
|
|
111
|
+
/>
|
|
112
|
+
</ChartBar>
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
With `color-by="category"`, `min` and `max` are category indices (both included) instead of values. Ranges win over `category-colors`.
|
|
116
|
+
|
|
68
117
|
### Negative values
|
|
69
118
|
|
|
70
119
|
Bars round the end that points away from zero.
|
|
@@ -113,25 +162,29 @@ Dates as `categories` place bars by time. See [ChartLine](./ChartLine.md#time-ax
|
|
|
113
162
|
|
|
114
163
|
Shared root props (`height`, `palette`, `loading`, `summary`, …) are listed in [Chart](./Chart.md#props-every-root).
|
|
115
164
|
|
|
116
|
-
| Prop
|
|
117
|
-
|
|
|
118
|
-
| `categories`
|
|
119
|
-
| `
|
|
120
|
-
| `
|
|
121
|
-
| `
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
124
|
-
| `format-
|
|
165
|
+
| Prop | Type | Default | Description |
|
|
166
|
+
| ----------------- | ----------------------------------------------------------------- | ------------ | ------------------------------------------------------------------------------------ |
|
|
167
|
+
| `categories` | `string[] \| Date[]` | required | Category labels, or dates for a time axis. |
|
|
168
|
+
| `category-colors` | `boolean \| ChartColorValue[] \| Record<string, ChartColorValue>` | — | Bar color per category (record by label, array by index, or `true` for the palette). |
|
|
169
|
+
| `orientation` | `"vertical" \| "horizontal"` | `"vertical"` | `horizontal` puts categories on `y`. |
|
|
170
|
+
| `stack` | `string` | — | Stack every bar series under this key. |
|
|
171
|
+
| `labels` | `boolean` | `false` | Value labels on every series. |
|
|
172
|
+
| `radius` | `number` | `4` | Corner radius (px) on the value end. |
|
|
173
|
+
| `format-date` | `(date: Date) => string` | — | Date labels in the tooltip, table, and summary. |
|
|
174
|
+
| `format-label` | `(value: number) => string` | — | Value labels and reference line labels. |
|
|
125
175
|
|
|
126
176
|
## Props (`ChartBarSeries`)
|
|
127
177
|
|
|
128
178
|
Unset options fall back to the `ChartBar` props.
|
|
129
179
|
|
|
130
|
-
| Prop
|
|
131
|
-
|
|
|
132
|
-
| `name`
|
|
133
|
-
| `data`
|
|
134
|
-
| `color`
|
|
135
|
-
| `stack`
|
|
136
|
-
| `labels`
|
|
137
|
-
| `reference`
|
|
180
|
+
| Prop | Type | Default | Description |
|
|
181
|
+
| -------------- | ------------------------------------ | --------- | -------------------------------------------------------------------------------------- |
|
|
182
|
+
| `name` | `string` | required | Legend, tooltip, and table name. |
|
|
183
|
+
| `data` | `(number \| null)[]` | required | One value per category. |
|
|
184
|
+
| `color` | `ChartColorValue` | palette | Token key or CSS color. |
|
|
185
|
+
| `stack` | `string` | root | Stack key. |
|
|
186
|
+
| `labels` | `boolean` | root | Value labels. |
|
|
187
|
+
| `reference` | `ChartReference \| ChartReference[]` | — | `{ type: "average" \| "min" \| "max" }` or `{ value }`, each with an optional `label`. |
|
|
188
|
+
| `tone` | `"solid" \| "muted"` | `"solid"` | `muted` mixes the bar colors toward the background. |
|
|
189
|
+
| `color-ranges` | `ChartColorRangeOption[]` | — | `{ min?, max?, color, label? }`: bars with a value in `[min, max)` take `color`. |
|
|
190
|
+
| `color-by` | `"value" \| "category"` | `"value"` | `category` matches `color-ranges` against category indices (both ends included). |
|