@mozaic-ds/vue 2.12.0 → 2.13.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.
Files changed (121) hide show
  1. package/dist/mozaic-vue.css +1 -1
  2. package/dist/mozaic-vue.d.ts +702 -361
  3. package/dist/mozaic-vue.js +2791 -2428
  4. package/dist/mozaic-vue.js.map +1 -1
  5. package/dist/mozaic-vue.umd.cjs +5 -5
  6. package/dist/mozaic-vue.umd.cjs.map +1 -1
  7. package/package.json +7 -6
  8. package/src/components/{usingPresets.mdx → BrandPresets.mdx} +2 -2
  9. package/src/components/Changelog.mdx +19 -0
  10. package/src/components/Color.mdx +226 -0
  11. package/src/components/Contributing.mdx +12 -6
  12. package/src/components/GettingStarted.mdx +1 -1
  13. package/src/components/Icon.stories.ts +134 -0
  14. package/src/components/Welcome.mdx +49 -0
  15. package/src/components/accordionlist/MAccordionList.spec.ts +136 -0
  16. package/src/components/accordionlist/MAccordionList.stories.ts +123 -0
  17. package/src/components/accordionlist/MAccordionList.vue +91 -0
  18. package/src/components/accordionlist/README.md +24 -0
  19. package/src/components/accordionlist/m-accordion-list.const.ts +9 -0
  20. package/src/components/accordionlistitem/MAccordionListItem.spec.ts +123 -0
  21. package/src/components/accordionlistitem/MAccordionListItem.vue +95 -0
  22. package/src/components/accordionlistitem/README.md +23 -0
  23. package/src/components/actionbottombar/MActionBottomBar.spec.ts +52 -0
  24. package/src/components/actionbottombar/MActionBottomBar.stories.ts +162 -0
  25. package/src/components/actionbottombar/MActionBottomBar.vue +45 -0
  26. package/src/components/actionbottombar/README.md +31 -0
  27. package/src/components/actionlistbox/MActionListbox.spec.ts +134 -0
  28. package/src/components/actionlistbox/MActionListbox.stories.ts +74 -0
  29. package/src/components/actionlistbox/MActionListbox.vue +89 -0
  30. package/src/components/actionlistbox/README.md +25 -0
  31. package/src/components/avatar/MAvatar.stories.ts +1 -1
  32. package/src/components/breadcrumb/README.md +14 -0
  33. package/src/components/builtinmenu/MBuiltInMenu.stories.ts +2 -1
  34. package/src/components/builtinmenu/MBuiltInMenu.vue +1 -1
  35. package/src/components/builtinmenu/README.md +14 -0
  36. package/src/components/button/MButton.spec.ts +1 -1
  37. package/src/components/button/MButton.stories.ts +165 -5
  38. package/src/components/button/README.md +33 -1
  39. package/src/components/callout/MCallout.spec.ts +7 -6
  40. package/src/components/callout/MCallout.stories.ts +1 -2
  41. package/src/components/carousel/MCarousel.spec.ts +1 -2
  42. package/src/components/carousel/MCarousel.stories.ts +2 -1
  43. package/src/components/carousel/MCarousel.vue +1 -2
  44. package/src/components/carousel/README.md +14 -0
  45. package/src/components/checkbox/README.md +14 -0
  46. package/src/components/checkboxgroup/README.md +14 -0
  47. package/src/components/checklistmenu/MCheckListMenu.spec.ts +1 -1
  48. package/src/components/checklistmenu/MCheckListMenu.stories.ts +1 -0
  49. package/src/components/checklistmenu/MCheckListMenu.vue +1 -1
  50. package/src/components/checklistmenu/README.md +14 -0
  51. package/src/components/circularprogressbar/README.md +15 -1
  52. package/src/components/datepicker/MDatepicker.vue +1 -1
  53. package/src/components/divider/README.md +22 -0
  54. package/src/components/drawer/MDrawer.vue +1 -2
  55. package/src/components/drawer/README.md +16 -0
  56. package/src/components/field/README.md +14 -0
  57. package/src/components/fileuploader/MFileUploader.spec.ts +304 -0
  58. package/src/components/fileuploader/MFileUploader.stories.ts +123 -0
  59. package/src/components/fileuploader/MFileUploader.vue +314 -0
  60. package/src/components/fileuploader/README.md +58 -0
  61. package/src/components/fileuploaderitem/MFileUploaderItem.spec.ts +91 -0
  62. package/src/components/fileuploaderitem/MFileUploaderItem.vue +180 -0
  63. package/src/components/fileuploaderitem/README.md +58 -0
  64. package/src/components/flag/README.md +1 -1
  65. package/src/components/iconbutton/MIconButton.spec.ts +1 -1
  66. package/src/components/iconbutton/MIconButton.stories.ts +116 -7
  67. package/src/components/iconbutton/README.md +25 -1
  68. package/src/components/kpiitem/MKpiItem.vue +5 -3
  69. package/src/components/linearprogressbarbuffer/README.md +14 -0
  70. package/src/components/link/MLink.stories.ts +1 -2
  71. package/src/components/link/README.md +14 -0
  72. package/src/components/loader/README.md +20 -0
  73. package/src/components/loadingoverlay/README.md +14 -0
  74. package/src/components/modal/MModal.stories.ts +1 -2
  75. package/src/components/modal/MModal.vue +1 -1
  76. package/src/components/modal/README.md +16 -0
  77. package/src/components/numberbadge/README.md +17 -1
  78. package/src/components/overlay/README.md +16 -0
  79. package/src/components/pagination/MPagination.vue +1 -2
  80. package/src/components/pagination/README.md +18 -0
  81. package/src/components/passwordinput/MPasswordInput.vue +1 -1
  82. package/src/components/passwordinput/README.md +14 -0
  83. package/src/components/phonenumber/MPhoneNumber.spec.ts +7 -6
  84. package/src/components/phonenumber/MPhoneNumber.vue +1 -1
  85. package/src/components/quantityselector/MQuantitySelector.vue +1 -2
  86. package/src/components/radio/README.md +14 -0
  87. package/src/components/radiogroup/README.md +14 -0
  88. package/src/components/select/README.md +14 -0
  89. package/src/components/starrating/MStarRating.spec.ts +1 -2
  90. package/src/components/starrating/MStarRating.vue +1 -3
  91. package/src/components/statusbadge/README.md +14 -0
  92. package/src/components/statusdot/README.md +14 -0
  93. package/src/components/statusmessage/MStatusMessage.spec.ts +6 -4
  94. package/src/components/statusmessage/MStatusMessage.vue +6 -4
  95. package/src/components/statusmessage/README.md +14 -0
  96. package/src/components/statusnotification/MStatusNotification.spec.ts +6 -4
  97. package/src/components/statusnotification/MStatusNotification.stories.ts +1 -1
  98. package/src/components/statusnotification/MStatusNotification.vue +7 -5
  99. package/src/components/statusnotification/README.md +14 -0
  100. package/src/components/stepperbottombar/MStepperBottomBar.spec.ts +134 -0
  101. package/src/components/stepperbottombar/MStepperBottomBar.stories.ts +72 -0
  102. package/src/components/stepperbottombar/MStepperBottomBar.vue +131 -0
  103. package/src/components/stepperbottombar/README.md +40 -0
  104. package/src/components/steppercompact/README.md +14 -0
  105. package/src/components/stepperinline/MStepperInline.vue +1 -2
  106. package/src/components/tabs/MTabs.stories.ts +1 -1
  107. package/src/components/tabs/README.md +16 -0
  108. package/src/components/tag/MTag.vue +1 -1
  109. package/src/components/tag/README.md +14 -0
  110. package/src/components/textinput/MTextInput.spec.ts +1 -1
  111. package/src/components/textinput/MTextInput.stories.ts +1 -1
  112. package/src/components/textinput/MTextInput.vue +1 -1
  113. package/src/components/toaster/MToaster.spec.ts +6 -4
  114. package/src/components/toaster/MToaster.vue +7 -5
  115. package/src/components/toaster/README.md +16 -0
  116. package/src/components/toggle/README.md +14 -0
  117. package/src/components/togglegroup/README.md +14 -0
  118. package/src/main.ts +5 -0
  119. package/src/components/Introduction.mdx +0 -100
  120. package/src/components/Support.mdx +0 -18
  121. package/src/components/usingIcons.mdx +0 -35
@@ -19,3 +19,17 @@ A toggle is a switch component that allows users to enable or disable a setting,
19
19
  | Name | Description | Type |
20
20
  | --- | --- | --- |
21
21
  | `update:modelValue` | Emits when the toggle value changes, updating the modelValue prop. | [value: boolean] |
22
+
23
+ ## Dependencies
24
+
25
+ ### Used By
26
+
27
+ - [MToggleGroup](../togglegroup)
28
+
29
+ ### Graph
30
+
31
+ ```mermaid
32
+ graph TD;
33
+ MToggleGroup --> MToggle
34
+ style MToggle fill:#008240,stroke:#333,stroke-width:4px
35
+ ```
@@ -18,3 +18,17 @@ A toggle is a switch component that allows users to enable or disable a setting,
18
18
  | Name | Description | Type |
19
19
  | --- | --- | --- |
20
20
  | `update:modelValue` | Emits when the toggle group value changes, updating the modelValue prop. | [value: Array<string>] |
21
+
22
+ ## Dependencies
23
+
24
+ ### Depends on
25
+
26
+ - [MToggle](../toggle)
27
+
28
+ ### Graph
29
+
30
+ ```mermaid
31
+ graph TD;
32
+ MToggleGroup --> MToggle
33
+ style MToggleGroup fill:#008240,stroke:#333,stroke-width:4px
34
+ ```
package/src/main.ts CHANGED
@@ -1,4 +1,7 @@
1
+ export { default as MAccordionList } from './components/accordionlist/MAccordionList.vue';
2
+ export { default as MActionBottomBar } from './components/actionbottombar/MActionBottomBar.vue';
1
3
  export { default as MAvatar } from './components/avatar/MAvatar.vue';
4
+ export { default as MActionListbox } from './components/actionlistbox/MActionListbox.vue';
2
5
  export { default as MBreadcrumb } from './components/breadcrumb/MBreadcrumb.vue';
3
6
  export { default as MBuiltInMenu } from './components/builtinmenu/MBuiltInMenu.vue';
4
7
  export { default as MButton } from './components/button/MButton.vue';
@@ -14,6 +17,7 @@ export { default as MDivider } from './components/divider/MDivider.vue';
14
17
  export { default as MDrawer } from './components/drawer/MDrawer.vue';
15
18
  export { default as MField } from './components/field/MField.vue';
16
19
  export { default as MFieldGroup } from './components/fieldgroup/MFieldGroup.vue';
20
+ export { default as MFileUploader } from './components/fileuploader/MFileUploader.vue';
17
21
  export { default as MFlag } from './components/flag/MFlag.vue';
18
22
  export { default as MIconButton } from './components/iconbutton/MIconButton.vue';
19
23
  export { default as MLinearProgressbarBuffer } from './components/linearprogressbarbuffer/MLinearProgressbarBuffer.vue';
@@ -39,6 +43,7 @@ export { default as MStatusDot } from './components/statusdot/MStatusDot.vue';
39
43
  export { default as MStatusMessage } from './components/statusmessage/MStatusMessage.vue';
40
44
  export { default as MStatusNotification } from './components/statusnotification/MStatusNotification.vue';
41
45
  export { default as MStepperCompact } from './components/steppercompact/MStepperCompact.vue';
46
+ export { default as MStepperBottomBar } from './components/stepperbottombar/MStepperBottomBar.vue';
42
47
  export { default as MStepperInline } from './components/stepperinline/MStepperInline.vue';
43
48
  export { default as MTabs } from './components/tabs/MTabs.vue';
44
49
  export { default as MTag } from './components/tag/MTag.vue';
@@ -1,100 +0,0 @@
1
- import { Meta, Source } from '@storybook/addon-docs/blocks';
2
- import ads from '../../.storybook/assets/logo.svg';
3
- import vue from '../../.storybook/assets/vue.svg';
4
-
5
- <Meta title="Getting Started/Introduction" />
6
-
7
- <p
8
- style={{
9
- display: 'flex',
10
- alignItems: 'center',
11
- justifyContent: 'center',
12
- gap: '1rem',
13
- }}
14
- >
15
- <img src={ads} alt="ADEO Design system logo" style={{ height: '80px' }} />
16
- <span style={{ fontSize: '32px' }}>x</span>
17
- <img src={vue} alt="Vue.js logo" style={{ height: '80px' }} />
18
- </p>
19
-
20
- <h1 align="center">ADEO Design system - Vue.js library</h1>
21
-
22
- <p align="center">
23
- A library of **Vue.js** components implementing **ADEO Design system**
24
- guidelines.
25
- </p>
26
-
27
- <div
28
- style={{
29
- display: 'flex',
30
- alignItems: 'center',
31
- justifyContent: 'center',
32
- gap: '0.5rem',
33
- }}
34
- >
35
- <a href="https://www.npmjs.com/package/@mozaic-ds/vue">
36
- <img
37
- src="https://img.shields.io/npm/v/@mozaic-ds/vue?label=NPM&logo=npm&color=yellow"
38
- alt="npm version"
39
- />
40
- </a>
41
- <a href="https://github.com/adeo/mozaic-vue/blob/main/CONTRIBUTING.md">
42
- <img
43
- src="https://img.shields.io/badge/PRs-welcome-blue.svg?logo=github"
44
- alt="PRs welcome"
45
- />
46
- </a>
47
- <a href="https://app.slack.com/client/T4R6RCZFA/CN4K3A99R">
48
- <img
49
- src="https://img.shields.io/badge/Slack-mozaic_vue-611f69.svg?logo=slack"
50
- alt="Slack mozaic-vue"
51
- />
52
- </a>
53
- <a href="https://keys.adeo.com/keys/ls/space/2583429798460717/adeo-adeo-design-system">
54
- <img
55
- src="https://img.shields.io/badge/KEYS-Adeo_Design_System-4526ce.svg"
56
- alt="KEYS ADEO Design system"
57
- />
58
- </a>
59
- </div>
60
-
61
- <br />
62
- <br />
63
-
64
- ## đŸĒ„ Introduction
65
-
66
- ADEO Design system is a global and collaborative design system
67
- that facilitates the designer and developer experience,
68
- enabling them to create universal interfaces
69
- perfectly aligned with the business strategy of Adeo.
70
-
71
- ## 🎨 Getting Started
72
-
73
- Ready to begin using Mozaic in your project?\
74
- Our Getting Started guide will walk you through the basics, \
75
- from setting up the system to implementing core components in your application.
76
-
77
- Whether you're new to Mozaic or just need a refresher, \
78
- this guide has everything you need to hit the ground running.
79
-
80
- Read how to **[Setup your application](/docs/getting-started--docs)**!
81
-
82
- ## 🤝 Contributing
83
-
84
- Be part of something bigger!
85
-
86
- **Mozaic-Vue** is made possible by an incredible community that finds issues and creates pull requests.\
87
- It is our job to enable you to create amazing applications.
88
-
89
- To do so, see our **[contributing process](/docs/contributing--docs)**.
90
-
91
- ## â„šī¸ Support
92
-
93
- If you have any questions or need assistance,\
94
- we are here to help.
95
-
96
- Whether you're troubleshooting, looking for documentation,\
97
- or need to get in touch with our team,\
98
- you'll find all the resources you need to get the most out of **Mozaic-Vue**.
99
-
100
- Visit our **[Support page](/docs/support--docs)** for more information.
@@ -1,18 +0,0 @@
1
- import { Meta } from '@storybook/addon-docs/blocks';
2
-
3
- <Meta title="Getting Started/Support" />
4
-
5
- # Support
6
-
7
- Need help?
8
-
9
- Any feedback, ideas or questions?
10
-
11
- The **Mozaic Design System team** would welcome any feedback, ideas, or requirements that you have.<br/>
12
- Our goal is to make your lives easier.
13
-
14
- If you want to get more detailed information on the components or any other topic related to **Mozaic-Vue**, you can contact us through the channels below:
15
-
16
- - Join the [#mozaic-vue](https://app.slack.com/client/T4R6RCZFA/CN4K3A99R/) channel on **Slack**
17
- - Join the [#mozaic-support](https://app.slack.com/client/T4R6RCZFA/CKQJZL7C4/) channel on **Slack**
18
- - Follow our [KEYS page](https://keys.adeo.com/keys/ls/space/2583429798460717/adeo-adeo-design-system)
@@ -1,35 +0,0 @@
1
- import { Meta, Source } from '@storybook/addon-docs/blocks';
2
-
3
- <Meta title="Getting Started/Using Icons" />
4
-
5
- # Using Icons
6
-
7
- To use icons in Vue applications, you need to install a dedicated package.
8
-
9
- You must first install the [npm package](https://www.npmjs.com/package/@mozaic-ds/icons-vue):
10
-
11
- <Source language="bash" dark code="npm install @mozaic-ds/icons-vue" />
12
-
13
- Or with **Yarn**:
14
-
15
- <Source language="bash" dark code="yarn add @mozaic-ds/icons-vue" />
16
-
17
- You can then start importing the icon of your choice into your Vue component:
18
-
19
- <Source
20
- language='html'
21
- dark
22
- code={`
23
- // In one of the .vue file of your application
24
-
25
- <template>
26
- <A11y20 fill="#333" />
27
- </template>
28
-
29
- <script setup>
30
- import A11y20 from '@mozaic-ds/icons-vue/src/components/A11y20/A11y20.vue';
31
- </script>
32
-
33
- `} />
34
-
35
- [The full list of icons is available here](https://github.com/adeo/mozaic-icons-vue/tree/main/src/components).