@breadstone/mosaik-elements-vue 0.0.205 → 0.0.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +197 -0
- package/Cdk/Index.d.ts +2 -0
- package/Cdk/Index.d.ts.map +1 -0
- package/Cdk/Index.js +4 -0
- package/Cdk/Index.js.map +1 -0
- package/Cdk/Overlays/BottomSheet/Index.d.ts +2 -0
- package/Cdk/Overlays/BottomSheet/Index.d.ts.map +1 -0
- package/Cdk/Overlays/BottomSheet/Index.js +4 -0
- package/Cdk/Overlays/BottomSheet/Index.js.map +1 -0
- package/Cdk/Overlays/BottomSheet/useBottomSheet.d.ts +48 -0
- package/Cdk/Overlays/BottomSheet/useBottomSheet.d.ts.map +1 -0
- package/Cdk/Overlays/BottomSheet/useBottomSheet.js +43 -0
- package/Cdk/Overlays/BottomSheet/useBottomSheet.js.map +1 -0
- package/Cdk/Overlays/Dialog/Index.d.ts +2 -0
- package/Cdk/Overlays/Dialog/Index.d.ts.map +1 -0
- package/Cdk/Overlays/Dialog/Index.js +4 -0
- package/Cdk/Overlays/Dialog/Index.js.map +1 -0
- package/Cdk/Overlays/Dialog/useDialog.d.ts +49 -0
- package/Cdk/Overlays/Dialog/useDialog.d.ts.map +1 -0
- package/Cdk/Overlays/Dialog/useDialog.js +49 -0
- package/Cdk/Overlays/Dialog/useDialog.js.map +1 -0
- package/Cdk/Overlays/Drawer/Index.d.ts +2 -0
- package/Cdk/Overlays/Drawer/Index.d.ts.map +1 -0
- package/Cdk/Overlays/Drawer/Index.js +4 -0
- package/Cdk/Overlays/Drawer/Index.js.map +1 -0
- package/Cdk/Overlays/Drawer/useDrawer.d.ts +49 -0
- package/Cdk/Overlays/Drawer/useDrawer.d.ts.map +1 -0
- package/Cdk/Overlays/Drawer/useDrawer.js +44 -0
- package/Cdk/Overlays/Drawer/useDrawer.js.map +1 -0
- package/Cdk/Overlays/Index.d.ts +6 -0
- package/Cdk/Overlays/Index.d.ts.map +1 -0
- package/Cdk/Overlays/Index.js +8 -0
- package/Cdk/Overlays/Index.js.map +1 -0
- package/Cdk/Overlays/MessageBox/Index.d.ts +2 -0
- package/Cdk/Overlays/MessageBox/Index.d.ts.map +1 -0
- package/Cdk/Overlays/MessageBox/Index.js +4 -0
- package/Cdk/Overlays/MessageBox/Index.js.map +1 -0
- package/Cdk/Overlays/MessageBox/useMessageBox.d.ts +54 -0
- package/Cdk/Overlays/MessageBox/useMessageBox.d.ts.map +1 -0
- package/Cdk/Overlays/MessageBox/useMessageBox.js +52 -0
- package/Cdk/Overlays/MessageBox/useMessageBox.js.map +1 -0
- package/Cdk/Overlays/Sheet/Index.d.ts +2 -0
- package/Cdk/Overlays/Sheet/Index.d.ts.map +1 -0
- package/Cdk/Overlays/Sheet/Index.js +4 -0
- package/Cdk/Overlays/Sheet/Index.js.map +1 -0
- package/Cdk/Overlays/Sheet/useSheet.d.ts +48 -0
- package/Cdk/Overlays/Sheet/useSheet.d.ts.map +1 -0
- package/Cdk/Overlays/Sheet/useSheet.js +43 -0
- package/Cdk/Overlays/Sheet/useSheet.js.map +1 -0
- package/Cdk/Overlays/Toast/Index.d.ts +2 -0
- package/Cdk/Overlays/Toast/Index.d.ts.map +1 -0
- package/Cdk/Overlays/Toast/Index.js +4 -0
- package/Cdk/Overlays/Toast/Index.js.map +1 -0
- package/Cdk/Overlays/Toast/useToast.d.ts +51 -0
- package/Cdk/Overlays/Toast/useToast.d.ts.map +1 -0
- package/Cdk/Overlays/Toast/useToast.js +46 -0
- package/Cdk/Overlays/Toast/useToast.js.map +1 -0
- package/Controls/Components/Forms/FormFieldComponent.js +1 -1
- package/Controls/Components/Forms/FormFieldComponent.js.map +1 -1
- package/Controls/Components/Grouping/Expander/ExpanderComponent.js +1 -1
- package/Controls/Components/Grouping/Expander/ExpanderComponent.js.map +1 -1
- package/Controls/Components/Grouping/Region/RegionComponent.d.ts +23 -0
- package/Controls/Components/Grouping/Region/RegionComponent.d.ts.map +1 -0
- package/Controls/Components/Grouping/Region/RegionComponent.js +33 -0
- package/Controls/Components/Grouping/Region/RegionComponent.js.map +1 -0
- package/Controls/Components/Grouping/Region/RegionViewComponent.d.ts +24 -0
- package/Controls/Components/Grouping/Region/RegionViewComponent.d.ts.map +1 -0
- package/Controls/Components/Grouping/Region/RegionViewComponent.js +32 -0
- package/Controls/Components/Grouping/Region/RegionViewComponent.js.map +1 -0
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxComponent.d.ts +35 -17
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxComponent.js +8 -4
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxComponent.js.map +1 -1
- package/Controls/Components/Inputs/ColorBox/ColorBoxComponent.d.ts +7 -1
- package/Controls/Components/Inputs/ColorBox/ColorBoxComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/ColorBox/ColorBoxComponent.js +7 -3
- package/Controls/Components/Inputs/ColorBox/ColorBoxComponent.js.map +1 -1
- package/Controls/Components/Inputs/NumberBox/NumberBoxComponent.d.ts +2 -1
- package/Controls/Components/Inputs/NumberBox/NumberBoxComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/NumberBox/NumberBoxComponent.js +3 -2
- package/Controls/Components/Inputs/NumberBox/NumberBoxComponent.js.map +1 -1
- package/Controls/Components/Layouts/Split/SplitComponent.d.ts +6 -4
- package/Controls/Components/Layouts/Split/SplitComponent.d.ts.map +1 -1
- package/Controls/Components/Layouts/Split/SplitComponent.js +1 -1
- package/Controls/Components/Layouts/Split/SplitComponent.js.map +1 -1
- package/Controls/Components/Media/Avatar/AvatarComponent.d.ts +2 -0
- package/Controls/Components/Media/Avatar/AvatarComponent.d.ts.map +1 -1
- package/Controls/Components/Media/Avatar/AvatarComponent.js +1 -1
- package/Controls/Components/Media/Avatar/AvatarComponent.js.map +1 -1
- package/Controls/Components/Media/Persona/PersonaComponent.d.ts +2 -0
- package/Controls/Components/Media/Persona/PersonaComponent.d.ts.map +1 -1
- package/Controls/Components/Media/Persona/PersonaComponent.js +1 -1
- package/Controls/Components/Media/Persona/PersonaComponent.js.map +1 -1
- package/Controls/Components/Media/Timeline/TimelineComponent.d.ts +24 -0
- package/Controls/Components/Media/Timeline/TimelineComponent.d.ts.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineComponent.js +32 -0
- package/Controls/Components/Media/Timeline/TimelineComponent.js.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineContentComponent.d.ts +20 -0
- package/Controls/Components/Media/Timeline/TimelineContentComponent.d.ts.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineContentComponent.js +32 -0
- package/Controls/Components/Media/Timeline/TimelineContentComponent.js.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineItemComponent.d.ts +20 -0
- package/Controls/Components/Media/Timeline/TimelineItemComponent.d.ts.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineItemComponent.js +32 -0
- package/Controls/Components/Media/Timeline/TimelineItemComponent.js.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineMarkerComponent.d.ts +20 -0
- package/Controls/Components/Media/Timeline/TimelineMarkerComponent.d.ts.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineMarkerComponent.js +32 -0
- package/Controls/Components/Media/Timeline/TimelineMarkerComponent.js.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineOppositeComponent.d.ts +20 -0
- package/Controls/Components/Media/Timeline/TimelineOppositeComponent.d.ts.map +1 -0
- package/Controls/Components/Media/Timeline/TimelineOppositeComponent.js +32 -0
- package/Controls/Components/Media/Timeline/TimelineOppositeComponent.js.map +1 -0
- package/Controls/Components/Misc/CookieConsent/CookiesConsentComponent.js +1 -1
- package/Controls/Components/Misc/CookieConsent/CookiesConsentComponent.js.map +1 -1
- package/Controls/Components/Overlays/Dialog/DialogComponent.js +1 -1
- package/Controls/Components/Overlays/Dialog/DialogComponent.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerComponent.js +2 -2
- package/Controls/Components/Overlays/Drawer/DrawerComponent.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerFooterComponent.d.ts +24 -0
- package/Controls/Components/Overlays/Drawer/DrawerFooterComponent.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerFooterComponent.js +32 -0
- package/Controls/Components/Overlays/Drawer/DrawerFooterComponent.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderComponent.d.ts +24 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderComponent.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderComponent.js +32 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderComponent.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderSubTextComponent.d.ts +22 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderSubTextComponent.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderSubTextComponent.js +32 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderSubTextComponent.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderTextComponent.d.ts +22 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderTextComponent.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderTextComponent.js +32 -0
- package/Controls/Components/Overlays/Drawer/DrawerHeaderTextComponent.js.map +1 -0
- package/Controls/Components/Overlays/Sheet/SheetComponent.d.ts +28 -0
- package/Controls/Components/Overlays/Sheet/SheetComponent.d.ts.map +1 -0
- package/Controls/Components/Overlays/Sheet/SheetComponent.js +34 -0
- package/Controls/Components/Overlays/Sheet/SheetComponent.js.map +1 -0
- package/Controls/Components/Overlays/Toast/ToastComponent.js +1 -1
- package/Controls/Components/Overlays/Toast/ToastComponent.js.map +1 -1
- package/Controls/Components/Primitives/Backdrop/BackdropComponent.js +1 -1
- package/Controls/Components/Primitives/Backdrop/BackdropComponent.js.map +1 -1
- package/Controls/Components/Primitives/Error/ErrorComponent.js +1 -1
- package/Controls/Components/Primitives/Error/ErrorComponent.js.map +1 -1
- package/Controls/Components/Primitives/Expandable/ExpandableComponent.js +1 -1
- package/Controls/Components/Primitives/Expandable/ExpandableComponent.js.map +1 -1
- package/Controls/Components/Primitives/Floating/FloatingComponent.d.ts +2 -2
- package/Controls/Components/Primitives/Floating/FloatingComponent.js +1 -1
- package/Controls/Components/Primitives/Floating/FloatingComponent.js.map +1 -1
- package/Controls/Components/Primitives/Portal/PortalComponent.d.ts +2 -2
- package/Controls/Components/Primitives/Toggletip/ToggleTipComponent.js +1 -1
- package/Controls/Components/Primitives/Toggletip/ToggleTipComponent.js.map +1 -1
- package/Controls/Components/Selectors/Carousel2/CarouselItem2Component.d.ts +2 -2
- package/Controls/Components/Selectors/Menu/MenuItemComponent.d.ts +2 -0
- package/Controls/Components/Selectors/Menu/MenuItemComponent.d.ts.map +1 -1
- package/Controls/Components/Selectors/Menu/MenuItemComponent.js +1 -1
- package/Controls/Components/Selectors/Menu/MenuItemComponent.js.map +1 -1
- package/Controls/Components/Selectors/Stepper/StepperComponent.d.ts +29 -0
- package/Controls/Components/Selectors/Stepper/StepperComponent.d.ts.map +1 -0
- package/Controls/Components/Selectors/Stepper/StepperComponent.js +35 -0
- package/Controls/Components/Selectors/Stepper/StepperComponent.js.map +1 -0
- package/Controls/Components/Selectors/Stepper/StepperItemComponent.d.ts +40 -0
- package/Controls/Components/Selectors/Stepper/StepperItemComponent.d.ts.map +1 -0
- package/Controls/Components/Selectors/Stepper/StepperItemComponent.js +34 -0
- package/Controls/Components/Selectors/Stepper/StepperItemComponent.js.map +1 -0
- package/Controls/Components/Selectors/Tab/TabItemComponent.js +1 -1
- package/Controls/Components/Selectors/Tab/TabItemComponent.js.map +1 -1
- package/Controls/Components/Selectors/Wizard/WizardStepComponent.js +1 -1
- package/Controls/Components/Selectors/Wizard/WizardStepComponent.js.map +1 -1
- package/Index.d.ts +14 -1
- package/Index.d.ts.map +1 -1
- package/Index.js +14 -1
- package/Index.js.map +1 -1
- package/Theming/Theme2Component.js +1 -1
- package/Theming/Theme2Component.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,200 @@
|
|
|
1
|
+
## 0.0.208 (2025-12-13)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- update component properties and descriptions for better clarity and functionality ([5d4069bff7](https://github.com/RueDeRennes/mosaik/commit/5d4069bff7))
|
|
6
|
+
|
|
7
|
+
## 0.0.207 (2025-12-13)
|
|
8
|
+
|
|
9
|
+
### 🚀 Features
|
|
10
|
+
|
|
11
|
+
- **split): add min and max properties for size constraints in SplitElement feat(stepper): introduce isActive property in StepperItemElement refactor(split): update SplitElement to use CssLength for position, min, and max fix(split): adjust CSS properties and templates to reflect new min/max constraints style(split:** remove deprecated CSS variables for min and max in themes ([0478bec83f](https://github.com/RueDeRennes/mosaik/commit/0478bec83f))
|
|
12
|
+
- **stepper): add Cosmopolitan, Joy, and Memphis themes for Stepper and StepperItem components feat(stepper): implement React and Svelte components for Stepper and StepperItem feat(stepper): create Vue components for Stepper and StepperItem fix(wizard): update event detail interfaces for active step changes style(stepper:** define token styles for various themes in SCSS ([f3922024d6](https://github.com/RueDeRennes/mosaik/commit/f3922024d6))
|
|
13
|
+
- **tailwind:** implement Tailwind v4 config generation and update package scripts ([db31430aaf](https://github.com/RueDeRennes/mosaik/commit/db31430aaf))
|
|
14
|
+
|
|
15
|
+
### 🩹 Fixes
|
|
16
|
+
|
|
17
|
+
- **stepper:** update properties and styles for Stepper themes and components ([5f66855a75](https://github.com/RueDeRennes/mosaik/commit/5f66855a75))
|
|
18
|
+
|
|
19
|
+
## 0.0.206 (2025-12-09)
|
|
20
|
+
|
|
21
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
22
|
+
|
|
23
|
+
## 0.0.205 (2025-12-07)
|
|
24
|
+
|
|
25
|
+
### 🩹 Fixes
|
|
26
|
+
|
|
27
|
+
- **buttons): update stack-gap variable usage in FloatingActionButton, RepeatButton, SplitButton, ToggleButton themes fix(card): update stack-gap variable usage in CardActions theme fix(expander): update stack-gap variable usage in Expander theme fix(comment): update stack-gap variable usage in Comment theme fix(dialog): update stack-gap variable usage in DialogActions theme fix(segment): update stack-gap variable usage in SegmentItem theme fix(tab-strip): update stack-gap variable usage in TabStripItem theme fix(states): update stack-gap variable usage in Busy, Empty, Error, and Success state themes chore(package:** bump version to 0.0.204 in package.json ([878a490c1e](https://github.com/RueDeRennes/mosaik/commit/878a490c1e))
|
|
28
|
+
|
|
29
|
+
## 0.0.204 (2025-12-07)
|
|
30
|
+
|
|
31
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
32
|
+
|
|
33
|
+
## 0.0.203 (2025-12-06)
|
|
34
|
+
|
|
35
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
36
|
+
|
|
37
|
+
## 0.0.202 (2025-12-06)
|
|
38
|
+
|
|
39
|
+
### 🚀 Features
|
|
40
|
+
|
|
41
|
+
- **error, hint:** add textOverflow property to Error and Hint components ([131d8bec1e](https://github.com/RueDeRennes/mosaik/commit/131d8bec1e))
|
|
42
|
+
|
|
43
|
+
## 0.0.201 (2025-12-05)
|
|
44
|
+
|
|
45
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
46
|
+
|
|
47
|
+
## 0.0.200 (2025-12-05)
|
|
48
|
+
|
|
49
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
50
|
+
|
|
51
|
+
## 0.0.199 (2025-12-05)
|
|
52
|
+
|
|
53
|
+
### 🩹 Fixes
|
|
54
|
+
|
|
55
|
+
- **package:** add missing newline at end of file ([e7bbe4e7c1](https://github.com/RueDeRennes/mosaik/commit/e7bbe4e7c1))
|
|
56
|
+
|
|
57
|
+
## 0.0.198 (2025-12-05)
|
|
58
|
+
|
|
59
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
60
|
+
|
|
61
|
+
## 0.0.197 (2025-12-05)
|
|
62
|
+
|
|
63
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
64
|
+
|
|
65
|
+
## 0.0.196 (2025-12-05)
|
|
66
|
+
|
|
67
|
+
### 🚀 Features
|
|
68
|
+
|
|
69
|
+
- **event-hub:** add Event Hub pattern implementation for Angular 2025 ([88dc4f7404](https://github.com/RueDeRennes/mosaik/commit/88dc4f7404))
|
|
70
|
+
|
|
71
|
+
### 🩹 Fixes
|
|
72
|
+
|
|
73
|
+
- **keywords:** add Event Bus and Message Bus to event hub documentation ([69cafcf76f](https://github.com/RueDeRennes/mosaik/commit/69cafcf76f))
|
|
74
|
+
|
|
75
|
+
## 0.0.195 (2025-12-03)
|
|
76
|
+
|
|
77
|
+
### 🩹 Fixes
|
|
78
|
+
|
|
79
|
+
- **package:** add missing newline at end of file in package.json ([a9bf15349b](https://github.com/RueDeRennes/mosaik/commit/a9bf15349b))
|
|
80
|
+
|
|
81
|
+
## 0.0.194 (2025-12-03)
|
|
82
|
+
|
|
83
|
+
### 🩹 Fixes
|
|
84
|
+
|
|
85
|
+
- **Cdk:** export FormFieldStatusDirective alongside FORM_STATUS_HOST from FormStatusDirective ([c8521cd4ff](https://github.com/RueDeRennes/mosaik/commit/c8521cd4ff))
|
|
86
|
+
|
|
87
|
+
## 0.0.193 (2025-12-03)
|
|
88
|
+
|
|
89
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
90
|
+
|
|
91
|
+
## 0.0.192 (2025-12-03)
|
|
92
|
+
|
|
93
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
94
|
+
|
|
95
|
+
## 0.0.191 (2025-12-03)
|
|
96
|
+
|
|
97
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
98
|
+
|
|
99
|
+
## 0.0.190 (2025-12-02)
|
|
100
|
+
|
|
101
|
+
### 🩹 Fixes
|
|
102
|
+
|
|
103
|
+
- **choice-group:** add flex property to root part for improved layout consistency ([8bd80ed40b](https://github.com/RueDeRennes/mosaik/commit/8bd80ed40b))
|
|
104
|
+
|
|
105
|
+
## 0.0.189 (2025-12-02)
|
|
106
|
+
|
|
107
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
108
|
+
|
|
109
|
+
## 0.0.188 (2025-12-02)
|
|
110
|
+
|
|
111
|
+
### 🚀 Features
|
|
112
|
+
|
|
113
|
+
- **directives:** update FormFieldDirective to improve error handling and usage documentation ([7c07bb43fd](https://github.com/RueDeRennes/mosaik/commit/7c07bb43fd))
|
|
114
|
+
|
|
115
|
+
## 0.0.187 (2025-12-02)
|
|
116
|
+
|
|
117
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
118
|
+
|
|
119
|
+
## 0.0.186 (2025-12-02)
|
|
120
|
+
|
|
121
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
122
|
+
|
|
123
|
+
## 0.0.185 (2025-12-02)
|
|
124
|
+
|
|
125
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
126
|
+
|
|
127
|
+
## 0.0.184 (2025-12-02)
|
|
128
|
+
|
|
129
|
+
### 🚀 Features
|
|
130
|
+
|
|
131
|
+
- **eslint:** enhance ESLint configuration and add .eslintignore file ([4b3deb5566](https://github.com/RueDeRennes/mosaik/commit/4b3deb5566))
|
|
132
|
+
|
|
133
|
+
## 0.0.183 (2025-11-30)
|
|
134
|
+
|
|
135
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
136
|
+
|
|
137
|
+
## 0.0.182 (2025-11-30)
|
|
138
|
+
|
|
139
|
+
### 🚀 Features
|
|
140
|
+
|
|
141
|
+
- **themes:** refactor theme generator strategies and update build process ([55859a854f](https://github.com/RueDeRennes/mosaik/commit/55859a854f))
|
|
142
|
+
|
|
143
|
+
## 0.0.181 (2025-11-30)
|
|
144
|
+
|
|
145
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
146
|
+
|
|
147
|
+
## 0.0.180 (2025-11-30)
|
|
148
|
+
|
|
149
|
+
This was a version bump only for mosaik-elements-vue to align it with other projects, there were no code changes.
|
|
150
|
+
|
|
151
|
+
## 0.0.179 (2025-11-29)
|
|
152
|
+
|
|
153
|
+
### 🚀 Features
|
|
154
|
+
|
|
155
|
+
- **tailwind): add Material and Memphis presets for Tailwind CSS themes fix(tokens): correct typo in headline2 key in joy and memphis theme JSON files chore(tsconfig:** update TypeScript configuration to include Tailwind files ([0ae3d28053](https://github.com/RueDeRennes/mosaik/commit/0ae3d28053))
|
|
156
|
+
|
|
157
|
+
## 0.0.178 (2025-11-29)
|
|
158
|
+
|
|
159
|
+
### 🩹 Fixes
|
|
160
|
+
|
|
161
|
+
- **package:** add missing newline at end of file ([0fc5a107d6](https://github.com/RueDeRennes/mosaik/commit/0fc5a107d6))
|
|
162
|
+
|
|
163
|
+
## 0.0.177 (2025-11-29)
|
|
164
|
+
|
|
165
|
+
### 🩹 Fixes
|
|
166
|
+
|
|
167
|
+
- **release:** update release script version to 0.0.177 ([1895016b0a](https://github.com/RueDeRennes/mosaik/commit/1895016b0a))
|
|
168
|
+
|
|
169
|
+
## 0.0.176 (2025-11-29)
|
|
170
|
+
|
|
171
|
+
### 🚀 Features
|
|
172
|
+
|
|
173
|
+
- add oklch color transform and update dependencies in style-dictionary plugins ([40063afe0a](https://github.com/RueDeRennes/mosaik/commit/40063afe0a))
|
|
174
|
+
|
|
175
|
+
### 🩹 Fixes
|
|
176
|
+
|
|
177
|
+
- add missing newline at end of JSON files ([60b2109dd0](https://github.com/RueDeRennes/mosaik/commit/60b2109dd0))
|
|
178
|
+
|
|
179
|
+
## 0.0.175 (2025-11-28)
|
|
180
|
+
|
|
181
|
+
### 🩹 Fixes
|
|
182
|
+
|
|
183
|
+
- add missing newline at end of package.json ([b00046e27b](https://github.com/RueDeRennes/mosaik/commit/b00046e27b))
|
|
184
|
+
|
|
185
|
+
## 0.0.174 (2025-11-28)
|
|
186
|
+
|
|
187
|
+
### 🚀 Features
|
|
188
|
+
|
|
189
|
+
- **tailwind:** add Joy Tailwind plugin with configuration options and token exposure ([72bbf954a8](https://github.com/RueDeRennes/mosaik/commit/72bbf954a8))
|
|
190
|
+
- **svg:** add SVG to path conversion utility ([f2f74da782](https://github.com/RueDeRennes/mosaik/commit/f2f74da782))
|
|
191
|
+
|
|
192
|
+
### 🩹 Fixes
|
|
193
|
+
|
|
194
|
+
- remove unused elevation2 light token and update release version in package.json ([9a63ade438](https://github.com/RueDeRennes/mosaik/commit/9a63ade438))
|
|
195
|
+
- remove unused dependency 'element-to-path' from yarn.lock ([df86dc94de](https://github.com/RueDeRennes/mosaik/commit/df86dc94de))
|
|
196
|
+
- add newline at end of package.json ([73db364d3c](https://github.com/RueDeRennes/mosaik/commit/73db364d3c))
|
|
197
|
+
|
|
1
198
|
## 0.0.173 (2025-11-26)
|
|
2
199
|
|
|
3
200
|
### 🚀 Features
|
package/Cdk/Index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../src/Cdk/Index.ts"],"names":[],"mappings":"AAEA,cAAc,kBAAkB,CAAC"}
|
package/Cdk/Index.js
ADDED
package/Cdk/Index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../../src/Cdk/Index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,cAAc,kBAAkB,CAAC;AAEjC,aAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/BottomSheet/Index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/BottomSheet/Index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,cAAc,EAA8B,MAAM,kBAAkB,CAAC;AAE9E,aAAa"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type IBottomSheetOptions } from '@breadstone/mosaik-elements-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the return type of the `useBottomSheet` composable.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface IUseBottomSheetReturn {
|
|
8
|
+
/**
|
|
9
|
+
* Opens a bottom sheet with the specified wrapper component.
|
|
10
|
+
*/
|
|
11
|
+
open: <T extends HTMLElement, TData, TResult>(bottomSheetId: string, wrapperClass: new (args?: TData) => T, options?: IBottomSheetOptions, data?: TData) => Promise<TResult>;
|
|
12
|
+
/**
|
|
13
|
+
* Closes a bottom sheet by its identifier.
|
|
14
|
+
*/
|
|
15
|
+
close: <TResult>(bottomSheetId: string, result?: TResult) => Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Vue composable for managing bottom sheets using the foundation BottomSheetService singleton.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* This composable provides a Vue-idiomatic interface to the foundation BottomSheetService.
|
|
22
|
+
* The service should be configured at application startup using `BottomSheetService.configure()`.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```vue
|
|
26
|
+
* <script setup lang="ts">
|
|
27
|
+
* import { useBottomSheet } from '@breadstone/mosaik-elements-vue';
|
|
28
|
+
*
|
|
29
|
+
* const bottomSheet = useBottomSheet();
|
|
30
|
+
*
|
|
31
|
+
* async function handleOpen() {
|
|
32
|
+
* const result = await bottomSheet.open('mySheet', MySheetWrapper, {
|
|
33
|
+
* header: 'Select Option'
|
|
34
|
+
* });
|
|
35
|
+
* console.log('Bottom sheet result:', result);
|
|
36
|
+
* }
|
|
37
|
+
* </script>
|
|
38
|
+
*
|
|
39
|
+
* <template>
|
|
40
|
+
* <button @click="handleOpen">Open Bottom Sheet</button>
|
|
41
|
+
* </template>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @public
|
|
45
|
+
* @returns An object containing bottom sheet management functions.
|
|
46
|
+
*/
|
|
47
|
+
export declare function useBottomSheet(): IUseBottomSheetReturn;
|
|
48
|
+
//# sourceMappingURL=useBottomSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/BottomSheet/useBottomSheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAItG;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAElC;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,OAAO,EACxC,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,EACrC,OAAO,CAAC,EAAE,mBAAmB,EAC7B,IAAI,CAAC,EAAE,KAAK,KACX,OAAO,CAAC,OAAO,CAAC,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAE9E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,cAAc,IAAI,qBAAqB,CAkBtD"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// #region Imports
|
|
2
|
+
import { BottomSheetService } from '@breadstone/mosaik-elements-foundation';
|
|
3
|
+
/**
|
|
4
|
+
* Vue composable for managing bottom sheets using the foundation BottomSheetService singleton.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* This composable provides a Vue-idiomatic interface to the foundation BottomSheetService.
|
|
8
|
+
* The service should be configured at application startup using `BottomSheetService.configure()`.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup lang="ts">
|
|
13
|
+
* import { useBottomSheet } from '@breadstone/mosaik-elements-vue';
|
|
14
|
+
*
|
|
15
|
+
* const bottomSheet = useBottomSheet();
|
|
16
|
+
*
|
|
17
|
+
* async function handleOpen() {
|
|
18
|
+
* const result = await bottomSheet.open('mySheet', MySheetWrapper, {
|
|
19
|
+
* header: 'Select Option'
|
|
20
|
+
* });
|
|
21
|
+
* console.log('Bottom sheet result:', result);
|
|
22
|
+
* }
|
|
23
|
+
* </script>
|
|
24
|
+
*
|
|
25
|
+
* <template>
|
|
26
|
+
* <button @click="handleOpen">Open Bottom Sheet</button>
|
|
27
|
+
* </template>
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @public
|
|
31
|
+
* @returns An object containing bottom sheet management functions.
|
|
32
|
+
*/
|
|
33
|
+
export function useBottomSheet() {
|
|
34
|
+
// #region Methods
|
|
35
|
+
const open = (bottomSheetId, wrapperClass, options, data) => BottomSheetService.instance.open(bottomSheetId, wrapperClass, options, data);
|
|
36
|
+
const close = (bottomSheetId, result) => BottomSheetService.instance.close(bottomSheetId, result);
|
|
37
|
+
// #endregion
|
|
38
|
+
return {
|
|
39
|
+
open,
|
|
40
|
+
close
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=useBottomSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBottomSheet.js","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/BottomSheet/useBottomSheet.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,kBAAkB,EAA4B,MAAM,wCAAwC,CAAC;AA4BtG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,UAAU,cAAc;IAC1B,kBAAkB;IAElB,MAAM,IAAI,GAAG,CACT,aAAqB,EACrB,YAAqC,EACrC,OAA6B,EAC7B,IAAY,EACI,EAAE,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAoB,aAAa,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAEvH,MAAM,KAAK,GAAG,CAAU,aAAqB,EAAE,MAAgB,EAAiB,EAAE,CAAC,kBAAkB,CAAC,QAAQ,CAAC,KAAK,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAE5I,aAAa;IAEb,OAAO;QACH,IAAI;QACJ,KAAK;KACR,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Dialog/Index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Dialog/Index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,SAAS,EAAyB,MAAM,aAAa,CAAC;AAE/D,aAAa"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type IDialogOptions } from '@breadstone/mosaik-elements-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the return type of the `useDialog` composable.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface IUseDialogReturn {
|
|
8
|
+
/**
|
|
9
|
+
* Opens a dialog with the specified wrapper component.
|
|
10
|
+
*/
|
|
11
|
+
open: <T extends HTMLElement, TData, TResult>(dialogId: string, wrapperClass: new (args?: TData) => T, data?: TData, options?: IDialogOptions) => Promise<TResult>;
|
|
12
|
+
/**
|
|
13
|
+
* Closes a dialog by its identifier.
|
|
14
|
+
*/
|
|
15
|
+
close: <TResult>(dialogId: string, result?: TResult) => Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Vue composable for managing dialogs using the foundation DialogService singleton.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* This composable provides a Vue-idiomatic interface to the foundation DialogService.
|
|
22
|
+
* The service should be configured at application startup using `DialogService.configure()`.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```vue
|
|
26
|
+
* <script setup lang="ts">
|
|
27
|
+
* import { useDialog } from '@breadstone/mosaik-elements-vue';
|
|
28
|
+
*
|
|
29
|
+
* const dialog = useDialog();
|
|
30
|
+
*
|
|
31
|
+
* async function handleOpen() {
|
|
32
|
+
* const result = await dialog.open('myDialog', MyDialogWrapper, {
|
|
33
|
+
* header: 'Confirm Action',
|
|
34
|
+
* closeable: true
|
|
35
|
+
* });
|
|
36
|
+
* console.log('Dialog result:', result);
|
|
37
|
+
* }
|
|
38
|
+
* </script>
|
|
39
|
+
*
|
|
40
|
+
* <template>
|
|
41
|
+
* <button @click="handleOpen">Open Dialog</button>
|
|
42
|
+
* </template>
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @public
|
|
46
|
+
* @returns An object containing dialog management functions.
|
|
47
|
+
*/
|
|
48
|
+
export declare function useDialog(): IUseDialogReturn;
|
|
49
|
+
//# sourceMappingURL=useDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialog.d.ts","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Dialog/useDialog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAI5F;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,OAAO,EACxC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,EACrC,IAAI,CAAC,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,cAAc,KACvB,OAAO,CAAC,OAAO,CAAC,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAEzE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,SAAS,IAAI,gBAAgB,CAwB5C"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// #region Imports
|
|
2
|
+
import { DialogService } from '@breadstone/mosaik-elements-foundation';
|
|
3
|
+
/**
|
|
4
|
+
* Vue composable for managing dialogs using the foundation DialogService singleton.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* This composable provides a Vue-idiomatic interface to the foundation DialogService.
|
|
8
|
+
* The service should be configured at application startup using `DialogService.configure()`.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup lang="ts">
|
|
13
|
+
* import { useDialog } from '@breadstone/mosaik-elements-vue';
|
|
14
|
+
*
|
|
15
|
+
* const dialog = useDialog();
|
|
16
|
+
*
|
|
17
|
+
* async function handleOpen() {
|
|
18
|
+
* const result = await dialog.open('myDialog', MyDialogWrapper, {
|
|
19
|
+
* header: 'Confirm Action',
|
|
20
|
+
* closeable: true
|
|
21
|
+
* });
|
|
22
|
+
* console.log('Dialog result:', result);
|
|
23
|
+
* }
|
|
24
|
+
* </script>
|
|
25
|
+
*
|
|
26
|
+
* <template>
|
|
27
|
+
* <button @click="handleOpen">Open Dialog</button>
|
|
28
|
+
* </template>
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
* @returns An object containing dialog management functions.
|
|
33
|
+
*/
|
|
34
|
+
export function useDialog() {
|
|
35
|
+
// #region Methods
|
|
36
|
+
const open = (dialogId, wrapperClass, data, options) => {
|
|
37
|
+
if (data !== undefined) {
|
|
38
|
+
return DialogService.instance.open(dialogId, wrapperClass, data, options);
|
|
39
|
+
}
|
|
40
|
+
return DialogService.instance.open(dialogId, wrapperClass, options);
|
|
41
|
+
};
|
|
42
|
+
const close = (dialogId, result) => DialogService.instance.close(dialogId, result);
|
|
43
|
+
// #endregion
|
|
44
|
+
return {
|
|
45
|
+
open,
|
|
46
|
+
close
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=useDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDialog.js","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Dialog/useDialog.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,aAAa,EAAuB,MAAM,wCAAwC,CAAC;AA4B5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,UAAU,SAAS;IACrB,kBAAkB;IAElB,MAAM,IAAI,GAAG,CACT,QAAgB,EAChB,YAAqC,EACrC,IAAY,EACZ,OAAwB,EACR,EAAE;QAClB,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;YACrB,OAAO,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAoB,QAAQ,EAAE,YAAsC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC3H,CAAC;QAED,OAAO,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAa,QAAQ,EAAE,YAA2B,EAAE,OAAO,CAAC,CAAC;IACnG,CAAC,CAAC;IAEF,MAAM,KAAK,GAAG,CAAU,QAAgB,EAAE,MAAgB,EAAiB,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAE7H,aAAa;IAEb,OAAO;QACH,IAAI;QACJ,KAAK;KACR,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Drawer/Index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Drawer/Index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,SAAS,EAAyB,MAAM,aAAa,CAAC;AAE/D,aAAa"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type IDrawerOptions } from '@breadstone/mosaik-elements-foundation';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the return type of the `useDrawer` composable.
|
|
4
|
+
*
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface IUseDrawerReturn {
|
|
8
|
+
/**
|
|
9
|
+
* Opens a drawer with the specified wrapper component.
|
|
10
|
+
*/
|
|
11
|
+
open: <T extends HTMLElement, TData, TResult>(drawerId: string, wrapperClass: new (args?: TData) => T, options?: IDrawerOptions, data?: TData) => Promise<TResult>;
|
|
12
|
+
/**
|
|
13
|
+
* Closes a drawer by its identifier.
|
|
14
|
+
*/
|
|
15
|
+
close: <TResult>(drawerId: string, result?: TResult) => Promise<void>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Vue composable for managing drawers using the foundation DrawerService singleton.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* This composable provides a Vue-idiomatic interface to the foundation DrawerService.
|
|
22
|
+
* The service should be configured at application startup using `DrawerService.configure()`.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```vue
|
|
26
|
+
* <script setup lang="ts">
|
|
27
|
+
* import { useDrawer } from '@breadstone/mosaik-elements-vue';
|
|
28
|
+
*
|
|
29
|
+
* const drawer = useDrawer();
|
|
30
|
+
*
|
|
31
|
+
* async function handleOpen() {
|
|
32
|
+
* const result = await drawer.open('myDrawer', MyDrawerWrapper, {
|
|
33
|
+
* position: 'right',
|
|
34
|
+
* width: '400px'
|
|
35
|
+
* });
|
|
36
|
+
* console.log('Drawer result:', result);
|
|
37
|
+
* }
|
|
38
|
+
* </script>
|
|
39
|
+
*
|
|
40
|
+
* <template>
|
|
41
|
+
* <button @click="handleOpen">Open Drawer</button>
|
|
42
|
+
* </template>
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @public
|
|
46
|
+
* @returns An object containing drawer management functions.
|
|
47
|
+
*/
|
|
48
|
+
export declare function useDrawer(): IUseDrawerReturn;
|
|
49
|
+
//# sourceMappingURL=useDrawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrawer.d.ts","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Drawer/useDrawer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAI5F;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAE7B;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,OAAO,EACxC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,EACrC,OAAO,CAAC,EAAE,cAAc,EACxB,IAAI,CAAC,EAAE,KAAK,KACX,OAAO,CAAC,OAAO,CAAC,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAEzE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,SAAS,IAAI,gBAAgB,CAkB5C"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// #region Imports
|
|
2
|
+
import { DrawerService } from '@breadstone/mosaik-elements-foundation';
|
|
3
|
+
/**
|
|
4
|
+
* Vue composable for managing drawers using the foundation DrawerService singleton.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* This composable provides a Vue-idiomatic interface to the foundation DrawerService.
|
|
8
|
+
* The service should be configured at application startup using `DrawerService.configure()`.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```vue
|
|
12
|
+
* <script setup lang="ts">
|
|
13
|
+
* import { useDrawer } from '@breadstone/mosaik-elements-vue';
|
|
14
|
+
*
|
|
15
|
+
* const drawer = useDrawer();
|
|
16
|
+
*
|
|
17
|
+
* async function handleOpen() {
|
|
18
|
+
* const result = await drawer.open('myDrawer', MyDrawerWrapper, {
|
|
19
|
+
* position: 'right',
|
|
20
|
+
* width: '400px'
|
|
21
|
+
* });
|
|
22
|
+
* console.log('Drawer result:', result);
|
|
23
|
+
* }
|
|
24
|
+
* </script>
|
|
25
|
+
*
|
|
26
|
+
* <template>
|
|
27
|
+
* <button @click="handleOpen">Open Drawer</button>
|
|
28
|
+
* </template>
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
* @returns An object containing drawer management functions.
|
|
33
|
+
*/
|
|
34
|
+
export function useDrawer() {
|
|
35
|
+
// #region Methods
|
|
36
|
+
const open = (drawerId, wrapperClass, options, data) => DrawerService.instance.open(drawerId, wrapperClass, options, data);
|
|
37
|
+
const close = (drawerId, result) => DrawerService.instance.close(drawerId, result);
|
|
38
|
+
// #endregion
|
|
39
|
+
return {
|
|
40
|
+
open,
|
|
41
|
+
close
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=useDrawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDrawer.js","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/Drawer/useDrawer.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,aAAa,EAAuB,MAAM,wCAAwC,CAAC;AA4B5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,UAAU,SAAS;IACrB,kBAAkB;IAElB,MAAM,IAAI,GAAG,CACT,QAAgB,EAChB,YAAqC,EACrC,OAAwB,EACxB,IAAY,EACI,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAoB,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IAE7G,MAAM,KAAK,GAAG,CAAU,QAAgB,EAAE,MAAgB,EAAiB,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAE7H,aAAa;IAEb,OAAO;QACH,IAAI;QACJ,KAAK;KACR,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../../src/Cdk/Overlays/Index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../../../src/Cdk/Overlays/Index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAE9B,aAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.d.ts","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/MessageBox/Index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.js","sourceRoot":"","sources":["../../../../src/Cdk/Overlays/MessageBox/Index.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,aAAa,EAA6B,MAAM,iBAAiB,CAAC;AAE3E,aAAa"}
|