@bridge-ui/vue 0.15.0 → 0.17.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/AGENTS.md +1 -1
- package/ai/README.md +1 -1
- package/ai/llms.txt +0 -1
- package/ai/skills/bridge-ui-components/SKILL.md +3 -1
- package/ai/skills/bridge-ui-setup/SKILL.md +8 -8
- package/dist/Actions/Snackbar/BridgeSnackbarItem.vue_vue_type_script_setup_true_lang.js +42 -44
- package/dist/Actions/actionHostRegistry.d.ts +2 -1
- package/dist/Actions/actionHostRegistry.js +11 -7
- package/dist/Adapters/index.d.ts +0 -1
- package/dist/Adapters/index.js +1 -2
- package/dist/Components/Accordion/composables/useAccordion.js +1 -1
- package/dist/Components/Autocomplete/composables/useAutocomplete.js +248 -258
- package/dist/Components/Chart/Chart.js +5 -0
- package/dist/Components/Chart/Chart.vue.d.ts +14 -0
- package/dist/Components/Chart/Chart.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/Components/Chart/chart.types.d.ts +126 -0
- package/dist/Components/Chart/chartInjectionKey.d.ts +94 -0
- package/dist/Components/Chart/chartInjectionKey.js +10 -0
- package/dist/Components/Chart/composables/useChart.d.ts +40 -0
- package/dist/Components/Chart/composables/useChart.js +344 -0
- package/dist/Components/Chart/echartsChart.d.ts +14 -0
- package/dist/Components/Chart/echartsChart.js +199 -0
- package/dist/Components/Chart/index.d.ts +4 -0
- package/dist/Components/Chart/index.js +4 -0
- package/dist/Components/ChartAxis/ChartAxis.js +5 -0
- package/dist/Components/ChartAxis/ChartAxis.vue.d.ts +7 -0
- package/dist/Components/ChartAxis/ChartAxis.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/Components/ChartAxis/chartAxis.types.d.ts +56 -0
- package/dist/Components/ChartAxis/composables/useChartAxis.d.ts +5 -0
- package/dist/Components/ChartAxis/composables/useChartAxis.js +28 -0
- package/dist/Components/ChartAxis/index.d.ts +3 -0
- package/dist/Components/ChartAxis/index.js +3 -0
- package/dist/Components/ChartLegend/ChartLegend.js +5 -0
- package/dist/Components/ChartLegend/ChartLegend.vue.d.ts +6 -0
- package/dist/Components/ChartLegend/ChartLegend.vue_vue_type_script_setup_true_lang.js +33 -0
- package/dist/Components/ChartLegend/chartLegend.types.d.ts +71 -0
- package/dist/Components/ChartLegend/composables/useChartLegend.d.ts +16 -0
- package/dist/Components/ChartLegend/composables/useChartLegend.js +98 -0
- package/dist/Components/ChartLegend/index.d.ts +3 -0
- package/dist/Components/ChartLegend/index.js +3 -0
- package/dist/Components/ChartSeries/ChartSeries.js +5 -0
- package/dist/Components/ChartSeries/ChartSeries.vue.d.ts +4 -0
- package/dist/Components/ChartSeries/ChartSeries.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/Components/ChartSeries/chartSeries.types.d.ts +37 -0
- package/dist/Components/ChartSeries/composables/useChartSeries.d.ts +10 -0
- package/dist/Components/ChartSeries/composables/useChartSeries.js +29 -0
- package/dist/Components/ChartSeries/index.d.ts +3 -0
- package/dist/Components/ChartSeries/index.js +3 -0
- package/dist/Components/ChartTooltip/ChartTooltip.js +5 -0
- package/dist/Components/ChartTooltip/ChartTooltip.vue.d.ts +11 -0
- package/dist/Components/ChartTooltip/ChartTooltip.vue_vue_type_script_setup_true_lang.js +25 -0
- package/dist/Components/ChartTooltip/chartTooltip.types.d.ts +82 -0
- package/dist/Components/ChartTooltip/composables/useChartTooltip.d.ts +15 -0
- package/dist/Components/ChartTooltip/composables/useChartTooltip.js +110 -0
- package/dist/Components/ChartTooltip/index.d.ts +3 -0
- package/dist/Components/ChartTooltip/index.js +3 -0
- package/dist/Components/DataTable/DataTable.vue.d.ts +5 -3
- package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +138 -117
- package/dist/Components/DataTable/DataTableCellContent.vue.d.ts +1 -5
- package/dist/Components/DataTable/DataTableCellContent.vue_vue_type_script_setup_true_lang.js +24 -25
- package/dist/Components/DataTable/composables/useDataTable.d.ts +5 -3
- package/dist/Components/DataTable/composables/useDataTable.js +294 -272
- package/dist/Components/DataTable/composables/useDataTablePagination.js +1 -1
- package/dist/Components/DataTable/dataTable.types.d.ts +35 -2
- package/dist/Components/Drawer/composables/useDrawer.js +68 -67
- package/dist/Components/Modal/composables/useModal.js +129 -119
- package/dist/Components/Pagination/Pagination.vue.d.ts +6 -0
- package/dist/Components/Pagination/Pagination.vue_vue_type_script_setup_true_lang.js +23 -11
- package/dist/Components/Pagination/composables/usePagination.d.ts +3 -3
- package/dist/Components/Pagination/composables/usePagination.js +95 -84
- package/dist/Components/Pagination/pagination.types.d.ts +30 -2
- package/dist/Components/Resizable/Resizable.js +5 -0
- package/dist/Components/Resizable/Resizable.vue.d.ts +17 -0
- package/dist/Components/Resizable/Resizable.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/Components/Resizable/composables/useResizable.d.ts +18 -0
- package/dist/Components/Resizable/composables/useResizable.js +195 -0
- package/dist/Components/Resizable/index.d.ts +4 -0
- package/dist/Components/Resizable/index.js +4 -0
- package/dist/Components/Resizable/resizable.types.d.ts +53 -0
- package/dist/Components/Resizable/resizableInjectionKey.d.ts +111 -0
- package/dist/Components/Resizable/resizableInjectionKey.js +4 -0
- package/dist/Components/ResizableHandle/ResizableHandle.js +5 -0
- package/dist/Components/ResizableHandle/ResizableHandle.vue.d.ts +14 -0
- package/dist/Components/ResizableHandle/ResizableHandle.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/Components/ResizableHandle/composables/useResizableHandle.d.ts +35 -0
- package/dist/Components/ResizableHandle/composables/useResizableHandle.js +85 -0
- package/dist/Components/ResizableHandle/index.d.ts +3 -0
- package/dist/Components/ResizableHandle/index.js +3 -0
- package/dist/Components/ResizableHandle/resizableHandle.types.d.ts +58 -0
- package/dist/Components/ResizablePanel/ResizablePanel.js +5 -0
- package/dist/Components/ResizablePanel/ResizablePanel.vue.d.ts +24 -0
- package/dist/Components/ResizablePanel/ResizablePanel.vue_vue_type_script_setup_true_lang.js +39 -0
- package/dist/Components/ResizablePanel/composables/useResizablePanel.d.ts +21 -0
- package/dist/Components/ResizablePanel/composables/useResizablePanel.js +87 -0
- package/dist/Components/ResizablePanel/index.d.ts +3 -0
- package/dist/Components/ResizablePanel/index.js +3 -0
- package/dist/Components/ResizablePanel/resizablePanel.types.d.ts +71 -0
- package/dist/Components/RichTextEditor/RichTextEditor.vue.d.ts +1 -1
- package/dist/Components/RichTextEditor/RichTextEditor.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.d.ts +2 -2
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.js +67 -73
- package/dist/Components/RichTextEditor/richTextEditor.types.d.ts +1 -1
- package/dist/Components/RichTextEditor/tiptapEditor.d.ts +111 -0
- package/dist/Components/RichTextEditor/tiptapEditor.js +121 -0
- package/dist/Components/Select/composables/useSelect.js +147 -157
- package/dist/Components/Snackbar/Snackbar.vue.d.ts +1 -1
- package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +6 -7
- package/dist/Components/Snackbar/composables/useSnackbar.js +140 -146
- package/dist/Components/Stepper/composables/useStepper.js +1 -1
- package/dist/Components/Table/composables/useTableCell.d.ts +1 -1
- package/dist/Components/Tabs/composables/useTabs.js +1 -1
- package/dist/Components/ToggleGroup/composables/useToggleGroup.js +3 -3
- package/dist/augments.d.ts +34 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.js +187 -183
- package/dist/theme.css +1 -1
- package/docs/README.md +4 -3
- package/docs/components/BridgeUIProvider.md +0 -17
- package/docs/components/Chart.md +252 -0
- package/docs/components/DataTable.md +19 -0
- package/docs/components/Pagination.md +17 -5
- package/docs/components/Resizable.md +224 -0
- package/docs/components/RichTextEditor.md +2 -23
- package/package.json +27 -6
- package/dist/Adapters/RichText/index.d.ts +0 -1
- package/dist/Adapters/RichText/index.js +0 -2
- package/dist/Adapters/RichText/mockRichTextAdapter.d.ts +0 -5
- package/dist/Adapters/RichText/useRichTextAdapter.d.ts +0 -12
- package/dist/Adapters/RichText/useRichTextAdapter.js +0 -13
package/dist/index.js
CHANGED
|
@@ -2,186 +2,190 @@ import { useBridgeUI as e } from "./Provider/useBridgeUI.js";
|
|
|
2
2
|
import { setDateAdapterForTests as t, useDateAdapter as n } from "./Adapters/Date/useDateAdapter.js";
|
|
3
3
|
import { setI18nAdapterForTests as r, useI18nAdapter as i, useResolveMessage as a } from "./Adapters/I18n/useI18nAdapter.js";
|
|
4
4
|
import { setIconAdapterForTests as o, useIconAdapter as s } from "./Adapters/Icon/useIconAdapter.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import {
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import {
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import
|
|
71
|
-
import
|
|
72
|
-
import
|
|
73
|
-
import
|
|
74
|
-
import
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import {
|
|
80
|
-
import
|
|
81
|
-
import
|
|
82
|
-
import
|
|
83
|
-
import {
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import
|
|
87
|
-
import {
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import {
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import
|
|
102
|
-
import
|
|
103
|
-
import {
|
|
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
|
-
|
|
5
|
+
import { ACCORDION_INJECTION_KEY as c } from "./Components/Accordion/accordionInjectionKey.js";
|
|
6
|
+
import { useBreakpoint as l } from "./Utils/useBreakpoint.js";
|
|
7
|
+
import { useBridgeUIComponent as u, useBridgeUIMergedRegistryClasses as d } from "./Utils/index.js";
|
|
8
|
+
import { useAccordion as f } from "./Components/Accordion/composables/useAccordion.js";
|
|
9
|
+
import p from "./Components/Accordion/Accordion.js";
|
|
10
|
+
import { useAccordionItem as m } from "./Components/AccordionItem/composables/useAccordionItem.js";
|
|
11
|
+
import h from "./Components/Icon/Icon.js";
|
|
12
|
+
import g from "./Components/AccordionItem/AccordionItem.js";
|
|
13
|
+
import { useActionFooter as _ } from "./Components/ActionFooter/composables/useActionFooter.js";
|
|
14
|
+
import { BUTTON_GROUP_INJECTION_KEY as v } from "./Components/ButtonGroup/buttonGroupInjectionKey.js";
|
|
15
|
+
import { useButton as y } from "./Components/Button/composables/useButton.js";
|
|
16
|
+
import b from "./Components/Button/Button.js";
|
|
17
|
+
import x from "./Components/ActionFooter/ActionFooter.js";
|
|
18
|
+
import { useAlert as S } from "./Components/Alert/composables/useAlert.js";
|
|
19
|
+
import C from "./Components/Alert/Alert.js";
|
|
20
|
+
import { useFormField as w } from "./Components/FormField/composables/useFormField.js";
|
|
21
|
+
import { findFirstEnabledOptionIndex as T, findLastEnabledOptionIndex as E, getListboxActiveDescendantId as D, getListboxOptionId as O, moveListboxHighlight as k, useListboxNavigation as A } from "./Components/Listbox/composables/useListboxNavigation.js";
|
|
22
|
+
import { useChip as j } from "./Components/Chip/composables/useChip.js";
|
|
23
|
+
import M from "./Components/Chip/Chip.js";
|
|
24
|
+
import { useLabel as N } from "./Components/Label/composables/useLabel.js";
|
|
25
|
+
import P from "./Components/Label/Label.js";
|
|
26
|
+
import F from "./Components/FormField/FormField.js";
|
|
27
|
+
import { useListbox as I } from "./Components/Listbox/composables/useListbox.js";
|
|
28
|
+
import { useFieldOverlay as L } from "./Components/FieldOverlay/composables/useFieldOverlay.js";
|
|
29
|
+
import { useDrawer as R } from "./Components/Drawer/composables/useDrawer.js";
|
|
30
|
+
import z from "./Components/Drawer/Drawer.js";
|
|
31
|
+
import { useMenu as B } from "./Components/Menu/composables/useMenu.js";
|
|
32
|
+
import V from "./Components/Menu/Menu.js";
|
|
33
|
+
import { useModal as H } from "./Components/Modal/composables/useModal.js";
|
|
34
|
+
import U from "./Components/Modal/Modal.js";
|
|
35
|
+
import W from "./Components/FieldOverlay/FieldOverlay.js";
|
|
36
|
+
import { useList as G } from "./Components/List/composables/useList.js";
|
|
37
|
+
import K from "./Components/List/List.js";
|
|
38
|
+
import q from "./Components/ListItem/ListItem.js";
|
|
39
|
+
import J from "./Components/ListSection/ListSection.js";
|
|
40
|
+
import { useProgress as Y } from "./Components/Progress/composables/useProgress.js";
|
|
41
|
+
import X from "./Components/Progress/Progress.js";
|
|
42
|
+
import Z from "./Components/Listbox/Listbox.js";
|
|
43
|
+
import Q from "./Components/Autocomplete/Autocomplete.js";
|
|
44
|
+
import $ from "./Components/Autocomplete/AutocompleteOption.js";
|
|
45
|
+
import ee from "./Components/Avatar/Avatar.js";
|
|
46
|
+
import { useBadge as te } from "./Components/Badge/composables/useBadge.js";
|
|
47
|
+
import ne from "./Components/Badge/Badge.js";
|
|
48
|
+
import re from "./Components/BaseField/BaseField.js";
|
|
49
|
+
import { useBaseField as ie } from "./Components/BaseField/composables/useBaseField.js";
|
|
50
|
+
import { useBreadcrumb as ae } from "./Components/Breadcrumb/composables/useBreadcrumb.js";
|
|
51
|
+
import { useBreadcrumbItem as oe } from "./Components/BreadcrumbItem/composables/useBreadcrumbItem.js";
|
|
52
|
+
import se from "./Components/BreadcrumbItem/BreadcrumbItem.js";
|
|
53
|
+
import ce from "./Components/Breadcrumb/Breadcrumb.js";
|
|
54
|
+
import { useButtonGroup as le } from "./Components/ButtonGroup/composables/useButtonGroup.js";
|
|
55
|
+
import ue from "./Components/ButtonGroup/ButtonGroup.js";
|
|
56
|
+
import { useCalendar as de } from "./Components/Calendar/composables/useCalendar.js";
|
|
57
|
+
import { useCalendarDate as fe } from "./Components/CalendarDate/composables/useCalendarDate.js";
|
|
58
|
+
import pe from "./Components/CalendarDate/CalendarDate.js";
|
|
59
|
+
import { useCalendarMonth as me } from "./Components/CalendarMonth/composables/useCalendarMonth.js";
|
|
60
|
+
import he from "./Components/CalendarMonth/CalendarMonth.js";
|
|
61
|
+
import { useCalendarYear as ge } from "./Components/CalendarYear/composables/useCalendarYear.js";
|
|
62
|
+
import _e from "./Components/CalendarYear/CalendarYear.js";
|
|
63
|
+
import ve from "./Components/Calendar/Calendar.js";
|
|
64
|
+
import { useCalendarRange as ye } from "./Components/CalendarRange/composables/useCalendarRange.js";
|
|
65
|
+
import { useDivider as be } from "./Components/Divider/composables/useDivider.js";
|
|
66
|
+
import xe from "./Components/Divider/Divider.js";
|
|
67
|
+
import Se from "./Components/CalendarRange/CalendarRange.js";
|
|
68
|
+
import { useCard as Ce } from "./Components/Card/composables/useCard.js";
|
|
69
|
+
import we from "./Components/Card/Card.js";
|
|
70
|
+
import { useCarousel as Te } from "./Components/Carousel/composables/useCarousel.js";
|
|
71
|
+
import Ee from "./Components/Carousel/Carousel.js";
|
|
72
|
+
import { useCarouselSlide as De } from "./Components/CarouselSlide/composables/useCarouselSlide.js";
|
|
73
|
+
import Oe from "./Components/CarouselSlide/CarouselSlide.js";
|
|
74
|
+
import { useFormControl as ke } from "./Components/FormControl/composables/useFormControl.js";
|
|
75
|
+
import Ae from "./Components/FormControl/FormControl.js";
|
|
76
|
+
import { useCheckbox as je } from "./Components/Checkbox/composables/useCheckbox.js";
|
|
77
|
+
import Me from "./Components/Checkbox/Checkbox.js";
|
|
78
|
+
import { useColorField as Ne } from "./Components/ColorField/composables/useColorField.js";
|
|
79
|
+
import { useColorPicker as Pe } from "./Components/ColorPicker/composables/useColorPicker.js";
|
|
80
|
+
import Fe from "./Components/ColorPicker/ColorPicker.js";
|
|
81
|
+
import Ie from "./Components/ColorField/ColorField.js";
|
|
82
|
+
import { useDateField as Le } from "./Components/DateField/composables/useDateField.js";
|
|
83
|
+
import { useDatePicker as Re } from "./Components/DatePicker/composables/useDatePicker.js";
|
|
84
|
+
import ze from "./Components/DatePicker/DatePicker.js";
|
|
85
|
+
import Be from "./Components/DateField/DateField.js";
|
|
86
|
+
import { useDateRangeField as Ve } from "./Components/DateRangeField/composables/useDateRangeField.js";
|
|
87
|
+
import { useDateRangePicker as He } from "./Components/DateRangePicker/composables/useDateRangePicker.js";
|
|
88
|
+
import Ue from "./Components/DateRangePicker/DateRangePicker.js";
|
|
89
|
+
import We from "./Components/DateRangeField/DateRangeField.js";
|
|
90
|
+
import { useDateTimeField as Ge } from "./Components/DateTimeField/composables/useDateTimeField.js";
|
|
91
|
+
import { useDateTimePicker as Ke } from "./Components/DateTimePicker/composables/useDateTimePicker.js";
|
|
92
|
+
import { useTimePanel as qe } from "./Components/TimePanel/composables/useTimePanel.js";
|
|
93
|
+
import Je from "./Components/TimePanel/TimePanel.js";
|
|
94
|
+
import Ye from "./Components/DateTimePicker/DateTimePicker.js";
|
|
95
|
+
import Xe from "./Components/DateTimeField/DateTimeField.js";
|
|
96
|
+
import { useDateTimeRangeField as Ze } from "./Components/DateTimeRangeField/composables/useDateTimeRangeField.js";
|
|
97
|
+
import { useDateTimeRangePicker as Qe } from "./Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js";
|
|
98
|
+
import $e from "./Components/DateTimeRangePicker/DateTimeRangePicker.js";
|
|
99
|
+
import et from "./Components/DateTimeRangeField/DateTimeRangeField.js";
|
|
100
|
+
import { useEmptyState as tt } from "./Components/EmptyState/composables/useEmptyState.js";
|
|
101
|
+
import nt from "./Components/EmptyState/EmptyState.js";
|
|
102
|
+
import { useFileUpload as rt } from "./Components/FileUpload/composables/useFileUpload.js";
|
|
103
|
+
import { useFileUploadItem as it } from "./Components/FileUploadItem/composables/useFileUploadItem.js";
|
|
104
|
+
import at from "./Components/FileUploadItem/FileUploadItem.js";
|
|
105
|
+
import ot from "./Components/FileUpload/FileUpload.js";
|
|
106
|
+
import { useLink as st } from "./Components/Link/composables/useLink.js";
|
|
107
|
+
import ct from "./Components/Link/Link.js";
|
|
108
|
+
import { useNumberField as lt } from "./Components/NumberField/composables/useNumberField.js";
|
|
109
|
+
import ut from "./Components/NumberField/NumberField.js";
|
|
110
|
+
import { useOtpField as dt } from "./Components/OtpField/composables/useOtpField.js";
|
|
111
|
+
import ft from "./Components/OtpField/OtpField.js";
|
|
112
|
+
import { usePagination as pt } from "./Components/Pagination/composables/usePagination.js";
|
|
113
|
+
import mt from "./Components/Pagination/Pagination.js";
|
|
114
|
+
import { usePasswordField as ht } from "./Components/PasswordField/composables/usePasswordField.js";
|
|
115
|
+
import gt from "./Components/PasswordField/PasswordField.js";
|
|
116
|
+
import { useRadio as _t } from "./Components/Radio/composables/useRadio.js";
|
|
117
|
+
import vt from "./Components/Radio/Radio.js";
|
|
118
|
+
import yt from "./Provider/BridgeUIProvider.js";
|
|
119
|
+
import { createBridgeUI as bt } from "./Provider/createBridgeUI.js";
|
|
120
|
+
import { useRating as xt } from "./Components/Rating/composables/useRating.js";
|
|
121
|
+
import St from "./Components/Rating/Rating.js";
|
|
122
|
+
import { RESIZABLE_INJECTION_KEY as Ct } from "./Components/Resizable/resizableInjectionKey.js";
|
|
123
|
+
import { useResizable as wt } from "./Components/Resizable/composables/useResizable.js";
|
|
124
|
+
import Tt from "./Components/Resizable/Resizable.js";
|
|
125
|
+
import { useResizableHandle as Et } from "./Components/ResizableHandle/composables/useResizableHandle.js";
|
|
126
|
+
import Dt from "./Components/ResizableHandle/ResizableHandle.js";
|
|
127
|
+
import { useResizablePanel as Ot } from "./Components/ResizablePanel/composables/useResizablePanel.js";
|
|
128
|
+
import kt from "./Components/ResizablePanel/ResizablePanel.js";
|
|
129
|
+
import At from "./Components/Select/Select.js";
|
|
130
|
+
import jt from "./Components/Select/SelectOption.js";
|
|
131
|
+
import { useSidebar as Mt } from "./Components/Sidebar/composables/useSidebar.js";
|
|
132
|
+
import { useSidebarInset as Nt } from "./Components/Sidebar/composables/useSidebarInset.js";
|
|
133
|
+
import { useSidebarList as Pt } from "./Components/Sidebar/composables/useSidebarList.js";
|
|
134
|
+
import { useSidebarListItem as Ft } from "./Components/Sidebar/composables/useSidebarListItem.js";
|
|
135
|
+
import { useSidebarProvider as It } from "./Components/Sidebar/composables/useSidebarProvider.js";
|
|
136
|
+
import { useSidebarShell as Lt } from "./Components/Sidebar/composables/useSidebarShell.js";
|
|
137
|
+
import { useSidebarTrigger as Rt } from "./Components/Sidebar/composables/useSidebarTrigger.js";
|
|
138
|
+
import zt from "./Components/Sidebar/Sidebar.js";
|
|
139
|
+
import Bt from "./Components/Sidebar/SidebarInset.js";
|
|
140
|
+
import Vt from "./Components/Sidebar/SidebarList.js";
|
|
141
|
+
import { useTooltip as Ht } from "./Components/Tooltip/composables/useTooltip.js";
|
|
142
|
+
import Ut from "./Components/Tooltip/Tooltip.js";
|
|
143
|
+
import Wt from "./Components/Sidebar/SidebarListItem.js";
|
|
144
|
+
import Gt from "./Components/Sidebar/SidebarProvider.js";
|
|
145
|
+
import Kt from "./Components/Sidebar/SidebarTrigger.js";
|
|
146
|
+
import { useSkeleton as qt } from "./Components/Skeleton/composables/useSkeleton.js";
|
|
147
|
+
import Jt from "./Components/Skeleton/Skeleton.js";
|
|
148
|
+
import { useSlider as Yt } from "./Components/Slider/composables/useSlider.js";
|
|
149
|
+
import Xt from "./Components/Slider/Slider.js";
|
|
150
|
+
import { useSnackbar as Zt } from "./Components/Snackbar/composables/useSnackbar.js";
|
|
151
|
+
import Qt from "./Components/Snackbar/Snackbar.js";
|
|
152
|
+
import { useSpinner as $t } from "./Components/Spinner/composables/useSpinner.js";
|
|
153
|
+
import en from "./Components/Spinner/Spinner.js";
|
|
154
|
+
import { useStep as tn } from "./Components/Step/composables/useStep.js";
|
|
155
|
+
import nn from "./Components/Step/Step.js";
|
|
156
|
+
import { useStepper as rn } from "./Components/Stepper/composables/useStepper.js";
|
|
157
|
+
import an from "./Components/Stepper/Stepper.js";
|
|
158
|
+
import { useSwitch as on } from "./Components/Switch/composables/useSwitch.js";
|
|
159
|
+
import sn from "./Components/Switch/Switch.js";
|
|
160
|
+
import { TABS_INJECTION_KEY as cn } from "./Components/Tabs/tabsInjectionKey.js";
|
|
161
|
+
import { useTab as ln } from "./Components/Tab/composables/useTab.js";
|
|
162
|
+
import un from "./Components/Tab/Tab.js";
|
|
163
|
+
import { useTabItem as dn } from "./Components/TabItem/composables/useTabItem.js";
|
|
164
|
+
import fn from "./Components/TabItem/TabItem.js";
|
|
165
|
+
import { useTabList as pn } from "./Components/TabList/composables/useTabList.js";
|
|
166
|
+
import mn from "./Components/TabList/TabList.js";
|
|
167
|
+
import { useTabPanel as hn } from "./Components/TabPanel/composables/useTabPanel.js";
|
|
168
|
+
import gn from "./Components/TabPanel/TabPanel.js";
|
|
169
|
+
import { useTabs as _n } from "./Components/Tabs/composables/useTabs.js";
|
|
170
|
+
import vn from "./Components/Tabs/Tabs.js";
|
|
171
|
+
import { useTextarea as yn } from "./Components/Textarea/composables/useTextarea.js";
|
|
172
|
+
import bn from "./Components/Textarea/Textarea.js";
|
|
173
|
+
import { useTextField as xn } from "./Components/TextField/composables/useTextField.js";
|
|
174
|
+
import Sn from "./Components/TextField/TextField.js";
|
|
175
|
+
import { useTimeField as Cn } from "./Components/TimeField/composables/useTimeField.js";
|
|
176
|
+
import { useTimePicker as wn } from "./Components/TimePicker/composables/useTimePicker.js";
|
|
177
|
+
import Tn from "./Components/TimePicker/TimePicker.js";
|
|
178
|
+
import En from "./Components/TimeField/TimeField.js";
|
|
179
|
+
import { useTimeRangeField as Dn } from "./Components/TimeRangeField/composables/useTimeRangeField.js";
|
|
180
|
+
import { useTimeRangePicker as On } from "./Components/TimeRangePicker/composables/useTimeRangePicker.js";
|
|
181
|
+
import kn from "./Components/TimeRangePicker/TimeRangePicker.js";
|
|
182
|
+
import An from "./Components/TimeRangeField/TimeRangeField.js";
|
|
183
|
+
import { TOGGLE_GROUP_INJECTION_KEY as jn } from "./Components/ToggleGroup/toggleGroupInjectionKey.js";
|
|
184
|
+
import { useToggleGroup as Mn } from "./Components/ToggleGroup/composables/useToggleGroup.js";
|
|
185
|
+
import Nn from "./Components/ToggleGroup/ToggleGroup.js";
|
|
186
|
+
import { useToggleItem as Pn } from "./Components/ToggleItem/composables/useToggleItem.js";
|
|
187
|
+
import Fn from "./Components/ToggleItem/ToggleItem.js";
|
|
188
|
+
import { SEMANTIC_ICON_NAMES as In, interpolateMessage as Ln, resolveMessage as Rn, selectPluralMessage as zn } from "@bridge-ui/core/Adapters";
|
|
189
|
+
import { cn as Bn } from "@bridge-ui/core/Utils";
|
|
190
|
+
import { BRIDGE_UI_DEFAULT_GLOBAL as Vn, mergeBridgeUIComponents as Hn, mergeBridgeUIGlobal as Un, resolveBridgeUIOptions as Wn } from "@bridge-ui/core/Config";
|
|
191
|
+
export { c as ACCORDION_INJECTION_KEY, p as Accordion, g as AccordionItem, x as ActionFooter, C as Alert, Q as Autocomplete, $ as AutocompleteOption, ee as Avatar, Vn as BRIDGE_UI_DEFAULT_GLOBAL, v as BUTTON_GROUP_INJECTION_KEY, ne as Badge, re as BaseField, ce as Breadcrumb, se as BreadcrumbItem, yt as BridgeUIProvider, b as Button, ue as ButtonGroup, ve as Calendar, pe as CalendarDate, he as CalendarMonth, Se as CalendarRange, _e as CalendarYear, we as Card, Ee as Carousel, Oe as CarouselSlide, Me as Checkbox, M as Chip, Ie as ColorField, Fe as ColorPicker, Be as DateField, ze as DatePicker, We as DateRangeField, Ue as DateRangePicker, Xe as DateTimeField, Ye as DateTimePicker, et as DateTimeRangeField, $e as DateTimeRangePicker, xe as Divider, z as Drawer, nt as EmptyState, W as FieldOverlay, ot as FileUpload, at as FileUploadItem, Ae as FormControl, F as FormField, h as Icon, P as Label, ct as Link, K as List, q as ListItem, J as ListSection, Z as Listbox, V as Menu, U as Modal, ut as NumberField, ft as OtpField, mt as Pagination, gt as PasswordField, X as Progress, Ct as RESIZABLE_INJECTION_KEY, vt as Radio, St as Rating, Tt as Resizable, Dt as ResizableHandle, kt as ResizablePanel, In as SEMANTIC_ICON_NAMES, At as Select, jt as SelectOption, zt as Sidebar, Bt as SidebarInset, Vt as SidebarList, Wt as SidebarListItem, Gt as SidebarProvider, Kt as SidebarTrigger, Jt as Skeleton, Xt as Slider, Qt as Snackbar, en as Spinner, nn as Step, an as Stepper, sn as Switch, cn as TABS_INJECTION_KEY, jn as TOGGLE_GROUP_INJECTION_KEY, un as Tab, fn as TabItem, mn as TabList, gn as TabPanel, vn as Tabs, Sn as TextField, bn as Textarea, En as TimeField, Je as TimePanel, Tn as TimePicker, An as TimeRangeField, kn as TimeRangePicker, Nn as ToggleGroup, Fn as ToggleItem, Ut as Tooltip, Bn as cn, bt as createBridgeUI, T as findFirstEnabledOptionIndex, E as findLastEnabledOptionIndex, D as getListboxActiveDescendantId, O as getListboxOptionId, Ln as interpolateMessage, Hn as mergeBridgeUIComponents, Un as mergeBridgeUIGlobal, k as moveListboxHighlight, Wn as resolveBridgeUIOptions, Rn as resolveMessage, zn as selectPluralMessage, t as setDateAdapterForTests, r as setI18nAdapterForTests, o as setIconAdapterForTests, f as useAccordion, m as useAccordionItem, _ as useActionFooter, S as useAlert, te as useBadge, ie as useBaseField, ae as useBreadcrumb, oe as useBreadcrumbItem, l as useBreakpoint, e as useBridgeUI, u as useBridgeUIComponent, d as useBridgeUIMergedRegistryClasses, y as useButton, le as useButtonGroup, de as useCalendar, fe as useCalendarDate, me as useCalendarMonth, ye as useCalendarRange, ge as useCalendarYear, Ce as useCard, Te as useCarousel, De as useCarouselSlide, je as useCheckbox, j as useChip, Ne as useColorField, Pe as useColorPicker, n as useDateAdapter, Le as useDateField, Re as useDatePicker, Ve as useDateRangeField, He as useDateRangePicker, Ge as useDateTimeField, Ke as useDateTimePicker, Ze as useDateTimeRangeField, Qe as useDateTimeRangePicker, be as useDivider, R as useDrawer, tt as useEmptyState, L as useFieldOverlay, rt as useFileUpload, it as useFileUploadItem, ke as useFormControl, w as useFormField, i as useI18nAdapter, s as useIconAdapter, N as useLabel, st as useLink, G as useList, I as useListbox, A as useListboxNavigation, B as useMenu, H as useModal, lt as useNumberField, dt as useOtpField, pt as usePagination, ht as usePasswordField, Y as useProgress, _t as useRadio, xt as useRating, wt as useResizable, Et as useResizableHandle, Ot as useResizablePanel, a as useResolveMessage, Mt as useSidebar, Nt as useSidebarInset, Pt as useSidebarList, Ft as useSidebarListItem, It as useSidebarProvider, Lt as useSidebarShell, Rt as useSidebarTrigger, qt as useSkeleton, Yt as useSlider, Zt as useSnackbar, $t as useSpinner, tn as useStep, rn as useStepper, on as useSwitch, ln as useTab, dn as useTabItem, pn as useTabList, hn as useTabPanel, _n as useTabs, xn as useTextField, yn as useTextarea, Cn as useTimeField, qe as useTimePanel, wn as useTimePicker, Dn as useTimeRangeField, On as useTimeRangePicker, Mn as useToggleGroup, Pn as useToggleItem, Ht as useTooltip };
|
package/dist/theme.css
CHANGED
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
@apply dark:disabled:hover:text-dark-400 dark:disabled:hover:bg-transparent;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
/* Editable surface emitted by
|
|
283
|
+
/* Editable surface emitted by RichTextEditor's TipTap mount. */
|
|
284
284
|
.bridge-rich-text-editable {
|
|
285
285
|
@apply flex-1 outline-none;
|
|
286
286
|
}
|
package/docs/README.md
CHANGED
|
@@ -22,6 +22,7 @@ Component reference for **Vue**. This folder ships with the npm package.
|
|
|
22
22
|
- [CalendarYear](./components/CalendarYear.md)
|
|
23
23
|
- [Card](./components/Card.md)
|
|
24
24
|
- [Carousel](./components/Carousel.md)
|
|
25
|
+
- [Chart](./components/Chart.md)
|
|
25
26
|
- [Checkbox](./components/Checkbox.md)
|
|
26
27
|
- [ColorField](./components/ColorField.md)
|
|
27
28
|
- [ColorPicker](./components/ColorPicker.md)
|
|
@@ -54,6 +55,7 @@ Component reference for **Vue**. This folder ships with the npm package.
|
|
|
54
55
|
- [Progress](./components/Progress.md)
|
|
55
56
|
- [Radio](./components/Radio.md)
|
|
56
57
|
- [Rating](./components/Rating.md)
|
|
58
|
+
- [Resizable](./components/Resizable.md)
|
|
57
59
|
- [RichTextEditor](./components/RichTextEditor.md)
|
|
58
60
|
- [Select](./components/Select.md)
|
|
59
61
|
- [Sidebar](./components/Sidebar.md)
|
|
@@ -86,7 +88,7 @@ Component reference for **Vue**. This folder ships with the npm package.
|
|
|
86
88
|
|
|
87
89
|
## Adapters
|
|
88
90
|
|
|
89
|
-
Ready-made adapters ship in the separate `@bridge-ui/adapters` package. Install it, import from a subpath, and install the matching optional peer (date lib, icon set, i18n lib
|
|
91
|
+
Ready-made adapters ship in the separate `@bridge-ui/adapters` package. Install it, import from a subpath, and install the matching optional peer (date lib, icon set, or i18n lib).
|
|
90
92
|
|
|
91
93
|
```bash
|
|
92
94
|
npm install @bridge-ui/adapters
|
|
@@ -103,7 +105,6 @@ npm install @bridge-ui/adapters
|
|
|
103
105
|
- `@bridge-ui/adapters/vue/icon-fontawesome`
|
|
104
106
|
- `@bridge-ui/adapters/vue/i18n-dictionary`
|
|
105
107
|
- `@bridge-ui/adapters/vue/i18n-vue-i18n`
|
|
106
|
-
- `@bridge-ui/adapters/vue/rich-text-tiptap`
|
|
107
108
|
|
|
108
109
|
### Migrating from `Adapters/Examples`
|
|
109
110
|
|
|
@@ -113,4 +114,4 @@ npm install @bridge-ui/adapters
|
|
|
113
114
|
| ----------------------------------------- | -------------------------------- |
|
|
114
115
|
| `@bridge-ui/vue/Adapters/Examples/<name>` | `@bridge-ui/adapters/vue/<name>` |
|
|
115
116
|
|
|
116
|
-
`@bridge-ui/vue` no longer declares the adapter libraries as peers. Keep them in your app dependencies. No extra Tailwind `@source` is needed
|
|
117
|
+
`@bridge-ui/vue` no longer declares the adapter libraries as peers. Keep them in your app dependencies. No extra Tailwind `@source` is needed.
|
|
@@ -101,23 +101,6 @@ const dates = createMomentDateAdapter({
|
|
|
101
101
|
});
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
### Rich-text adapter
|
|
105
|
-
|
|
106
|
-
Provide `global.richText` when using `RichTextEditor`. There is no native default — mounting without an adapter throws. Ready adapter: `@bridge-ui/adapters/vue/rich-text-tiptap`. Install `@bridge-ui/adapters` and the TipTap peers.
|
|
107
|
-
|
|
108
|
-
```ts
|
|
109
|
-
import { createBridgeUI } from "@bridge-ui/vue";
|
|
110
|
-
import { createTiptapRichTextAdapter } from "@bridge-ui/adapters/vue/rich-text-tiptap";
|
|
111
|
-
|
|
112
|
-
const richText = createTiptapRichTextAdapter();
|
|
113
|
-
|
|
114
|
-
app.use(
|
|
115
|
-
createBridgeUI({
|
|
116
|
-
global: { richText },
|
|
117
|
-
}),
|
|
118
|
-
);
|
|
119
|
-
```
|
|
120
|
-
|
|
121
104
|
### Custom global values
|
|
122
105
|
|
|
123
106
|
Packages can add their own keys to `global` by augmenting `BridgeUIGlobal`. Nested providers and `setGlobal` merge every key by the same rule:
|