@muenchen/muc-patternlab-vue 1.13.0-beta.7 → 1.13.0-beta.8
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/components/Banner/MucBanner.stories.d.ts +70 -0
- package/components/Banner/MucBanner.vue.d.ts +37 -0
- package/components/BuisnessHours/BusinessHours.stories.d.ts +80 -0
- package/components/BuisnessHours/MucBusinessHours.vue.d.ts +56 -0
- package/components/Button/MucButton.stories.d.ts +114 -0
- package/{dist/components → components}/Button/MucButton.vue.d.ts +23 -43
- package/components/Callout/MucCallout.stories.d.ts +77 -0
- package/components/Callout/MucCallout.vue.d.ts +57 -0
- package/components/Card/MucCard.stories.d.ts +117 -0
- package/components/Card/MucCard.vue.d.ts +42 -0
- package/components/Card/MucCardContainer.stories.d.ts +124 -0
- package/components/Card/MucCardContainer.vue.d.ts +24 -0
- package/components/Comment/MucComment.stories.d.ts +82 -0
- package/components/Comment/MucComment.vue.d.ts +89 -0
- package/components/Comment/MucCommentText.stories.d.ts +51 -0
- package/components/Comment/MucCommentText.vue.d.ts +24 -0
- package/{dist/components → components}/Divider/MucDivider.stories.d.ts +1 -1
- package/{dist/components → components}/Divider/MucDivider.vue.d.ts +1 -1
- package/components/Form/MucCheckbox.stories.d.ts +33 -0
- package/components/Form/MucCheckbox.vue.d.ts +18 -0
- package/components/Form/MucCheckboxGroup.stories.d.ts +188 -0
- package/components/Form/MucCheckboxGroup.vue.d.ts +42 -0
- package/components/Form/MucCounter.stories.d.ts +63 -0
- package/components/Form/MucCounter.vue.d.ts +33 -0
- package/components/Form/MucErrorList.stories.d.ts +31 -0
- package/components/Form/MucErrorList.vue.d.ts +8 -0
- package/components/Form/MucInput.stories.d.ts +165 -0
- package/{dist/components → components}/Form/MucInput.vue.d.ts +23 -42
- package/components/Form/MucRadioButton.stories.d.ts +104 -0
- package/components/Form/MucRadioButton.vue.d.ts +38 -0
- package/components/Form/MucRadioButtonGroup.vue.d.ts +38 -0
- package/components/Form/MucSelect.stories.d.ts +82 -0
- package/{dist/components → components}/Form/MucSelect.vue.d.ts +5 -30
- package/components/Form/MucSelectItem.vue.d.ts +9 -0
- package/components/Form/MucTextArea.stories.d.ts +64 -0
- package/components/Form/MucTextArea.vue.d.ts +38 -0
- package/components/Icon/MucIcon.stories.d.ts +33 -0
- package/components/Icon/MucIcon.vue.d.ts +20 -0
- package/components/Intro/MucIntro.stories.d.ts +61 -0
- package/components/Intro/MucIntro.vue.d.ts +50 -0
- package/components/Link/MucLink.stories.d.ts +83 -0
- package/components/Link/MucLink.vue.d.ts +72 -0
- package/components/PercentageSpinner/MucPercentageSpinner.stories.d.ts +32 -0
- package/components/PercentageSpinner/MucPercentageSpinner.vue.d.ts +30 -0
- package/components/PercentageSpinner/index.d.ts +2 -0
- package/{dist/components → components}/index.d.ts +2 -1
- package/muc-patternlab-vue.es.js +1003 -0
- package/package.json +4 -7
- package/{dist/style.css → style.css} +1 -1
- package/LICENSE +0 -21
- package/README.md +0 -111
- package/dist/components/Banner/MucBanner.stories.d.ts +0 -82
- package/dist/components/Banner/MucBanner.vue.d.ts +0 -54
- package/dist/components/BuisnessHours/BusinessHours.stories.d.ts +0 -116
- package/dist/components/BuisnessHours/MucBusinessHours.vue.d.ts +0 -74
- package/dist/components/Button/MucButton.stories.d.ts +0 -158
- package/dist/components/Callout/MucCallout.stories.d.ts +0 -89
- package/dist/components/Callout/MucCallout.vue.d.ts +0 -73
- package/dist/components/Card/MucCard.stories.d.ts +0 -165
- package/dist/components/Card/MucCard.vue.d.ts +0 -46
- package/dist/components/Card/MucCardContainer.stories.d.ts +0 -148
- package/dist/components/Card/MucCardContainer.vue.d.ts +0 -19
- package/dist/components/Comment/MucComment.stories.d.ts +0 -106
- package/dist/components/Comment/MucComment.vue.d.ts +0 -105
- package/dist/components/Comment/MucCommentText.stories.d.ts +0 -93
- package/dist/components/Comment/MucCommentText.vue.d.ts +0 -47
- package/dist/components/Form/MucCheckbox.stories.d.ts +0 -40
- package/dist/components/Form/MucCheckbox.vue.d.ts +0 -26
- package/dist/components/Form/MucCheckboxGroup.stories.d.ts +0 -241
- package/dist/components/Form/MucCheckboxGroup.vue.d.ts +0 -46
- package/dist/components/Form/MucCounter.stories.d.ts +0 -89
- package/dist/components/Form/MucCounter.vue.d.ts +0 -54
- package/dist/components/Form/MucErrorList.stories.d.ts +0 -41
- package/dist/components/Form/MucErrorList.vue.d.ts +0 -17
- package/dist/components/Form/MucInput.stories.d.ts +0 -239
- package/dist/components/Form/MucRadioButton.stories.d.ts +0 -168
- package/dist/components/Form/MucRadioButton.vue.d.ts +0 -59
- package/dist/components/Form/MucRadioButtonGroup.vue.d.ts +0 -54
- package/dist/components/Form/MucSelect.stories.d.ts +0 -116
- package/dist/components/Form/MucSelectItem.vue.d.ts +0 -18
- package/dist/components/Form/MucTextArea.stories.d.ts +0 -94
- package/dist/components/Form/MucTextArea.vue.d.ts +0 -61
- package/dist/components/Icon/MucIcon.stories.d.ts +0 -43
- package/dist/components/Icon/MucIcon.vue.d.ts +0 -29
- package/dist/components/Intro/MucIntro.stories.d.ts +0 -97
- package/dist/components/Intro/MucIntro.vue.d.ts +0 -54
- package/dist/components/Link/MucLink.stories.d.ts +0 -139
- package/dist/components/Link/MucLink.vue.d.ts +0 -92
- package/dist/muc-patternlab-vue.es.js +0 -973
- package/src/components/Banner/MucBanner.stories.ts +0 -47
- package/src/components/Banner/MucBanner.vue +0 -109
- package/src/components/Banner/index.ts +0 -3
- package/src/components/BuisnessHours/BusinessHourType.ts +0 -28
- package/src/components/BuisnessHours/BusinessHours.stories.ts +0 -108
- package/src/components/BuisnessHours/MucBusinessHours.vue +0 -162
- package/src/components/Button/MucButton.stories.ts +0 -63
- package/src/components/Button/MucButton.vue +0 -89
- package/src/components/Button/index.ts +0 -3
- package/src/components/Callout/MucCallout.stories.ts +0 -49
- package/src/components/Callout/MucCallout.vue +0 -140
- package/src/components/Callout/index.ts +0 -3
- package/src/components/Card/MucCard.stories.ts +0 -55
- package/src/components/Card/MucCard.vue +0 -92
- package/src/components/Card/MucCardContainer.stories.ts +0 -43
- package/src/components/Card/MucCardContainer.vue +0 -37
- package/src/components/Card/index.ts +0 -4
- package/src/components/Comment/CommentType.ts +0 -3
- package/src/components/Comment/MucComment.stories.ts +0 -38
- package/src/components/Comment/MucComment.vue +0 -179
- package/src/components/Comment/MucCommentText.stories.ts +0 -38
- package/src/components/Comment/MucCommentText.vue +0 -61
- package/src/components/Comment/index.ts +0 -4
- package/src/components/Divider/MucDivider.stories.ts +0 -19
- package/src/components/Divider/MucDivider.vue +0 -9
- package/src/components/Divider/index.ts +0 -3
- package/src/components/Form/MucCheckbox.stories.ts +0 -25
- package/src/components/Form/MucCheckbox.vue +0 -47
- package/src/components/Form/MucCheckboxGroup.stories.ts +0 -43
- package/src/components/Form/MucCheckboxGroup.vue +0 -80
- package/src/components/Form/MucCounter.stories.ts +0 -47
- package/src/components/Form/MucCounter.vue +0 -128
- package/src/components/Form/MucErrorList.stories.ts +0 -31
- package/src/components/Form/MucErrorList.vue +0 -34
- package/src/components/Form/MucInput.stories.ts +0 -90
- package/src/components/Form/MucInput.vue +0 -198
- package/src/components/Form/MucRadioButton.stories.ts +0 -32
- package/src/components/Form/MucRadioButton.vue +0 -81
- package/src/components/Form/MucRadioButtonGroup.vue +0 -65
- package/src/components/Form/MucRadioButtonTypes.ts +0 -41
- package/src/components/Form/MucSelect.stories.ts +0 -69
- package/src/components/Form/MucSelect.vue +0 -352
- package/src/components/Form/MucSelectItem.vue +0 -25
- package/src/components/Form/MucSelectTypes.ts +0 -8
- package/src/components/Form/MucTextArea.stories.ts +0 -47
- package/src/components/Form/MucTextArea.vue +0 -80
- package/src/components/Form/index.ts +0 -23
- package/src/components/Icon/MucIcon.stories.ts +0 -35
- package/src/components/Icon/MucIcon.vue +0 -29
- package/src/components/Icon/index.ts +0 -3
- package/src/components/Intro/MucIntro.stories.ts +0 -37
- package/src/components/Intro/MucIntro.vue +0 -70
- package/src/components/Intro/index.ts +0 -3
- package/src/components/Link/MucLink.stories.ts +0 -36
- package/src/components/Link/MucLink.vue +0 -74
- package/src/components/Link/index.ts +0 -3
- package/src/components/index.ts +0 -43
- package/src/composables/useOnClickOutside.ts +0 -24
- package/src/index.ts +0 -14
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-700.eot +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-700.svg +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-700.ttf +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-700.woff +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-700.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-italic.eot +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-italic.svg +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-italic.ttf +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-italic.woff +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-italic.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-regular.eot +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-regular.svg +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-regular.ttf +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-regular.woff +0 -0
- /package/{dist/assets → assets}/fonts/open-sans/open-sans-v27-latin-regular.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300.eot +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300.svg +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300.ttf +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300.woff +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300italic.eot +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300italic.svg +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300italic.ttf +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300italic.woff +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-300italic.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700.eot +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700.svg +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700.ttf +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700.woff +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700italic.eot +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700italic.svg +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700italic.ttf +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700italic.woff +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-700italic.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-italic.eot +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-italic.svg +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-italic.ttf +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-italic.woff +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-italic.woff2 +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-regular.eot +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-regular.svg +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-regular.ttf +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-regular.woff +0 -0
- /package/{dist/assets → assets}/fonts/roboto-condensed/roboto-condensed-v19-latin-regular.woff2 +0 -0
- /package/{dist/assets → assets}/temporary/custom-icons.svg +0 -0
- /package/{dist/assets → assets}/temporary/custom-style.css +0 -0
- /package/{dist/assets → assets}/temporary/muc-icons.svg +0 -0
- /package/{dist/assets → assets}/temporary/muenchende-fontfaces.css +0 -0
- /package/{dist/assets → assets}/temporary/muenchende-style.css +0 -0
- /package/{dist/components → components}/Banner/index.d.ts +0 -0
- /package/{dist/components → components}/BuisnessHours/BusinessHourType.d.ts +0 -0
- /package/{dist/components → components}/Button/index.d.ts +0 -0
- /package/{dist/components → components}/Callout/index.d.ts +0 -0
- /package/{dist/components → components}/Card/index.d.ts +0 -0
- /package/{dist/components → components}/Comment/CommentType.d.ts +0 -0
- /package/{dist/components → components}/Comment/index.d.ts +0 -0
- /package/{dist/components → components}/Divider/index.d.ts +0 -0
- /package/{dist/components → components}/Form/MucRadioButtonTypes.d.ts +0 -0
- /package/{dist/components → components}/Form/MucSelectTypes.d.ts +0 -0
- /package/{dist/components → components}/Form/index.d.ts +0 -0
- /package/{dist/components → components}/Icon/index.d.ts +0 -0
- /package/{dist/components → components}/Intro/index.d.ts +0 -0
- /package/{dist/components → components}/Link/index.d.ts +0 -0
- /package/{dist/composables → composables}/useOnClickOutside.d.ts +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
"author": "FabianWilms",
|
|
4
4
|
"description": "A vue component library of some of the components available from https://patternlab.muenchen.space",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "1.13.0-beta.
|
|
6
|
+
"version": "1.13.0-beta.8",
|
|
7
7
|
"private": false,
|
|
8
8
|
"module": "./dist/muc-patternlab-vue.es.js",
|
|
9
|
+
"main": "./dist/index.d.ts",
|
|
9
10
|
"types": "./dist/types/index.d.ts",
|
|
10
11
|
"prettier": "@muenchen/prettier-codeformat",
|
|
11
12
|
"repository": {
|
|
@@ -28,12 +29,8 @@
|
|
|
28
29
|
"./dist/assets/temporary/muc-icons.svg": "./dist/assets/temporary/muc-icons.svg",
|
|
29
30
|
"./dist/assets/temporary/custom-icons.svg": "./dist/assets/temporary/custom-icons.svg"
|
|
30
31
|
},
|
|
31
|
-
"files": [
|
|
32
|
-
"src",
|
|
33
|
-
"dist"
|
|
34
|
-
],
|
|
35
32
|
"scripts": {
|
|
36
|
-
"build": "rimraf dist && npm run build-only",
|
|
33
|
+
"build": "rimraf dist && npm run build-only && cp package.json dist/package.json",
|
|
37
34
|
"test:unit": "vitest",
|
|
38
35
|
"build-only": "vite build",
|
|
39
36
|
"lint": "prettier . --check && eslint . --ignore-path .gitignore && vue-tsc -p tsconfig.json --emitDeclarationOnly --skipLibCheck --composite false",
|
|
@@ -75,7 +72,7 @@
|
|
|
75
72
|
"semantic-release": "^23.1.1",
|
|
76
73
|
"semantic-release-gitmoji": "^1.6.5",
|
|
77
74
|
"storybook": "^8.0.9",
|
|
78
|
-
"typescript": "~5.
|
|
75
|
+
"typescript": "~5.6.0",
|
|
79
76
|
"vite": "^5.0.11",
|
|
80
77
|
"vite-plugin-dts": "^4.0.0",
|
|
81
78
|
"vitest": "^2.0.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-banner--success[data-v-53bc7eca]{background-color:#f1f6f3;border-bottom:1px solid #3a7f53}.m-callout--success[data-v-
|
|
1
|
+
.m-banner--success[data-v-53bc7eca]{background-color:#f1f6f3;border-bottom:1px solid #3a7f53}.m-callout--success[data-v-609b68ea]{background-color:#f1f6f3;border-color:#95b9a2}.m-callout--success .m-callout__icon[data-v-609b68ea]{background-color:#3a7f53;box-shadow:0 .3125rem .625rem #005a9f33}.m-callout--error[data-v-609b68ea]{background-color:#f8f2f2;border-color:#c79a9b}.m-callout--error .m-callout__icon[data-v-609b68ea]{background-color:#984447;box-shadow:0 .3125rem .625rem #005a9f33}.card[data-v-acf0a1dd]{cursor:pointer;border:solid 1px var(--color-neutrals-blue);border-bottom:solid 5px var(--color-brand-main-blue);transition:background-color ease-in .15s}.card[data-v-acf0a1dd]:hover{background-color:#f1f1f1}.card-content[data-v-acf0a1dd]{padding:32px 24px}.card-header[data-v-acf0a1dd]{display:flex}.card-tagline[data-v-acf0a1dd]{font-size:16px;font-family:Open Sans,sans-serif;color:#005a9f;font-weight:700;line-height:24px;word-wrap:break-word;padding-bottom:4px}.muc-divider[data-v-acf0a1dd]{margin-top:16px;margin-bottom:16px}@media all and (min-width: 992px){.card-container[data-v-6740df8f]{padding-left:0;padding-right:0;display:grid;grid-template-columns:repeat(auto-fit,384px);grid-column-gap:32px;grid-row-gap:32px}}@media all and (max-width: 992px){.card-container[data-v-6740df8f]{padding-left:0;padding-right:0;display:inline-grid;grid-template-columns:1fr;grid-row-gap:32px}}.divider-border[data-v-a2b37f5b]{border-bottom:1px solid var(--color-neutrals-blue)}.wrapper[data-v-a20e4a10]{display:flex}.wrapper[data-v-a20e4a10]>*{margin:0 8px}.centered-text[data-v-a20e4a10]{display:flex;justify-content:center;align-items:center;height:100%}.display-listbox[data-v-e39e3aae]{display:block!important}.muc-divider[data-v-5c768acc]{margin-top:8px;margin-bottom:16px}@media screen and (width >992px){.muc-intro-content[data-v-5c768acc]{width:66.6%}}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Landeshauptstadt München | it@M
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img height="140" src="docs/images/muc-patternlab.png" />
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<p align="center">
|
|
6
|
-
<a href="https://github.com/it-at-m/muc-patternlab-vue/actions/workflows/build.yaml?query=branch%3Amain">
|
|
7
|
-
<img src="https://img.shields.io/github/actions/workflow/status/it-at-m/muc-patternlab-vue/build.yaml"
|
|
8
|
-
alt="Build Status">
|
|
9
|
-
</a>
|
|
10
|
-
<a href="https://gitmoji.dev">
|
|
11
|
-
<img src="https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg"
|
|
12
|
-
alt="Gitmoji">
|
|
13
|
-
</a>
|
|
14
|
-
<a href="https://github.com/semantic-release/semantic-release">
|
|
15
|
-
<img src="https://img.shields.io/badge/semantic--release-gitmoji-e10079?logo=semantic-release"
|
|
16
|
-
alt="semantic-release: gitmoji">
|
|
17
|
-
</a>
|
|
18
|
-
</p>
|
|
19
|
-
|
|
20
|
-
# muc-patternlab-vue
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
This repository contains a ready-to-use Vue-Components-Library based
|
|
24
|
-
on [munich.de's MDE5 Patternlab](https://patternlab.muenchen.space/).
|
|
25
|
-
|
|
26
|
-
In its current state only some components exist. The library will continually grow as the need for new components grows.
|
|
27
|
-
|
|
28
|
-
We intend to let this project be a community project in which every developer who needs new components contributes the
|
|
29
|
-
results of his work into this library.
|
|
30
|
-
|
|
31
|
-
## Roadmap
|
|
32
|
-
|
|
33
|
-
In the near future we plan to
|
|
34
|
-
|
|
35
|
-
- Create more components
|
|
36
|
-
- Integrate MDE5 Patternlab npm-Package as soon as it's available
|
|
37
|
-
|
|
38
|
-
See the [open issues](https://github.com/it-at-m/muc-patternlab-vue/issues) for a full list of proposed features (and
|
|
39
|
-
known issues).
|
|
40
|
-
|
|
41
|
-
## Usage
|
|
42
|
-
|
|
43
|
-
Please refer to the [usage guide](https://it-at-m.github.io/muc-patternlab-vue/?path=/docs/getting-started--docs/).
|
|
44
|
-
|
|
45
|
-
## Develop
|
|
46
|
-
|
|
47
|
-
### Setup
|
|
48
|
-
|
|
49
|
-
```shell
|
|
50
|
-
git clone https://github.com/it-at-m/muc-patternlab-vue.git
|
|
51
|
-
cd muc-patternlab-vue
|
|
52
|
-
npm install
|
|
53
|
-
npm run storybook
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Adding a new Component
|
|
57
|
-
|
|
58
|
-
1. Create a new Folder under `./src/components`-Directory
|
|
59
|
-
2. Create Vue-Component (with composition api) and index.ts-File which exports your component
|
|
60
|
-
3. Add your new Component to `./src/components/index.ts`
|
|
61
|
-
4. Create at least one story in storybook of your component by creating a `<MyComponent>.stories.ts`-File.
|
|
62
|
-
|
|
63
|
-
### Using MDE5 Patternlab-Icons
|
|
64
|
-
|
|
65
|
-
Patternlab-Icons are provided by a svg-Sprite which is automatically injected in this repos App.vue-File for local
|
|
66
|
-
testing. You can expect the users of this library to do the same thing.
|
|
67
|
-
|
|
68
|
-
So to use an icon from Patternlab you can simply follow the official
|
|
69
|
-
documentation: https://patternlab.muenchen.space/?p=viewall-guidelines-icons
|
|
70
|
-
|
|
71
|
-
```html
|
|
72
|
-
<muc-icon :icon="name"/>
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
## Contributing
|
|
76
|
-
|
|
77
|
-
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any
|
|
78
|
-
contributions you make are **greatly appreciated**.
|
|
79
|
-
|
|
80
|
-
If you have a suggestion that would make this better, please open an issue with the tag "enhancement", fork the repo and
|
|
81
|
-
create a pull request. You can also simply open an issue with the tag "enhancement".
|
|
82
|
-
Don't forget to give the project a star! Thanks again!
|
|
83
|
-
|
|
84
|
-
1. Open an issue with the tag "enhancement"
|
|
85
|
-
2. Fork the Project
|
|
86
|
-
3. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
|
|
87
|
-
4. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
|
|
88
|
-
5. Push to the Branch (`git push origin feature/AmazingFeature`)
|
|
89
|
-
6. Open a Pull Request
|
|
90
|
-
|
|
91
|
-
More about this in the [CODE_OF_CONDUCT](/CODE_OF_CONDUCT.md) file.
|
|
92
|
-
|
|
93
|
-
### Release and Publish
|
|
94
|
-
|
|
95
|
-
This project uses [semantic-release](https://github.com/semantic-release/semantic-release)!
|
|
96
|
-
|
|
97
|
-
It follows [gitmoji commit conventions](https://gitmoji.dev/). For example:
|
|
98
|
-
|
|
99
|
-
| Commit message | Release type |
|
|
100
|
-
|-------------------------------------------------------------------------------------------------------------------------------------|---------------|
|
|
101
|
-
| `:lipstick` / `:lock:` / `:ambulance:` / `:bug: stop graphite breaking when too much pressure applied` | Patch Release |
|
|
102
|
-
| `:sparkles: add 'graphiteWidth' option` | Minor Release |
|
|
103
|
-
| `:boom: The graphiteWidth option has been removed.`<br>`The default graphite width of 10mm is always used for performance reasons.` | Major Release |
|
|
104
|
-
|
|
105
|
-
## License
|
|
106
|
-
|
|
107
|
-
Distributed under the MIT License. See [LICENSE](LICENSE) file for more information.
|
|
108
|
-
|
|
109
|
-
## Contact
|
|
110
|
-
|
|
111
|
-
it@M - opensource@muenchen.de
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
-
type: {
|
|
5
|
-
type: import('vue').PropType<"info" | "success" | "warning" | "emergency">;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
-
type: {
|
|
10
|
-
type: import('vue').PropType<"info" | "success" | "warning" | "emergency">;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
}>>, {
|
|
14
|
-
type: "info" | "success" | "warning" | "emergency";
|
|
15
|
-
}, true, {}, {}, {
|
|
16
|
-
P: {};
|
|
17
|
-
B: {};
|
|
18
|
-
D: {};
|
|
19
|
-
C: {};
|
|
20
|
-
M: {};
|
|
21
|
-
Defaults: {};
|
|
22
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
-
type: {
|
|
24
|
-
type: import('vue').PropType<"info" | "success" | "warning" | "emergency">;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
}>>, {}, {}, {}, {}, {
|
|
28
|
-
type: "info" | "success" | "warning" | "emergency";
|
|
29
|
-
}>;
|
|
30
|
-
__isFragment?: never;
|
|
31
|
-
__isTeleport?: never;
|
|
32
|
-
__isSuspense?: never;
|
|
33
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
-
type: {
|
|
35
|
-
type: import('vue').PropType<"info" | "success" | "warning" | "emergency">;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
39
|
-
type: "info" | "success" | "warning" | "emergency";
|
|
40
|
-
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
41
|
-
$slots: Readonly<{
|
|
42
|
-
default(): any;
|
|
43
|
-
}> & {
|
|
44
|
-
default(): any;
|
|
45
|
-
};
|
|
46
|
-
});
|
|
47
|
-
title: string;
|
|
48
|
-
tags: string[];
|
|
49
|
-
excludeStories: RegExp;
|
|
50
|
-
parameters: {
|
|
51
|
-
docs: {
|
|
52
|
-
description: {
|
|
53
|
-
component: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export default _default;
|
|
59
|
-
export declare const Default: {
|
|
60
|
-
args: {
|
|
61
|
-
default: string;
|
|
62
|
-
type: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export declare const Success: {
|
|
66
|
-
args: {
|
|
67
|
-
default: string;
|
|
68
|
-
type: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
export declare const Warning: {
|
|
72
|
-
args: {
|
|
73
|
-
default: string;
|
|
74
|
-
type: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
export declare const Emergency: {
|
|
78
|
-
args: {
|
|
79
|
-
default: string;
|
|
80
|
-
type: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
type bannerType = "info" | "success" | "warning" | "emergency";
|
|
2
|
-
declare function __VLS_template(): Readonly<{
|
|
3
|
-
/**
|
|
4
|
-
* Text-content of the banner.
|
|
5
|
-
*/
|
|
6
|
-
default(): any;
|
|
7
|
-
}> & {
|
|
8
|
-
/**
|
|
9
|
-
* Text-content of the banner.
|
|
10
|
-
*/
|
|
11
|
-
default(): any;
|
|
12
|
-
};
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
|
-
/**
|
|
15
|
-
* Changes the style of the banner. Available types are `info`, `warning` and `emergency`.
|
|
16
|
-
*/
|
|
17
|
-
type?: bannerType;
|
|
18
|
-
}>, {
|
|
19
|
-
type: string;
|
|
20
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
21
|
-
/**
|
|
22
|
-
* Changes the style of the banner. Available types are `info`, `warning` and `emergency`.
|
|
23
|
-
*/
|
|
24
|
-
type?: bannerType;
|
|
25
|
-
}>, {
|
|
26
|
-
type: string;
|
|
27
|
-
}>>>, {
|
|
28
|
-
type: bannerType;
|
|
29
|
-
}, {}>;
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
|
-
export default _default;
|
|
32
|
-
|
|
33
|
-
type __VLS_WithDefaults<P, D> = {
|
|
34
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
-
default: D[K];
|
|
36
|
-
}> : P[K];
|
|
37
|
-
};
|
|
38
|
-
type __VLS_Prettify<T> = {
|
|
39
|
-
[K in keyof T]: T[K];
|
|
40
|
-
} & {};
|
|
41
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
-
new (): {
|
|
43
|
-
$slots: S;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToOption<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
-
icon: {
|
|
5
|
-
type: import('vue').PropType<string>;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
businessHours: {
|
|
9
|
-
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
toggleable: {
|
|
13
|
-
type: import('vue').PropType<boolean>;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
-
icon: {
|
|
18
|
-
type: import('vue').PropType<string>;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
businessHours: {
|
|
22
|
-
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
toggleable: {
|
|
26
|
-
type: import('vue').PropType<boolean>;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
}>>, {
|
|
30
|
-
icon: string;
|
|
31
|
-
toggleable: boolean;
|
|
32
|
-
}, true, {}, {}, {
|
|
33
|
-
P: {};
|
|
34
|
-
B: {};
|
|
35
|
-
D: {};
|
|
36
|
-
C: {};
|
|
37
|
-
M: {};
|
|
38
|
-
Defaults: {};
|
|
39
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
-
icon: {
|
|
41
|
-
type: import('vue').PropType<string>;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
44
|
-
businessHours: {
|
|
45
|
-
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
toggleable: {
|
|
49
|
-
type: import('vue').PropType<boolean>;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
}>>, {}, {}, {}, {}, {
|
|
53
|
-
icon: string;
|
|
54
|
-
toggleable: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
__isFragment?: never;
|
|
57
|
-
__isTeleport?: never;
|
|
58
|
-
__isSuspense?: never;
|
|
59
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
60
|
-
icon: {
|
|
61
|
-
type: import('vue').PropType<string>;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
businessHours: {
|
|
65
|
-
type: import('vue').PropType<import('./BusinessHourType').BusinessHourType[]>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
toggleable: {
|
|
69
|
-
type: import('vue').PropType<boolean>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
}>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
73
|
-
icon: string;
|
|
74
|
-
toggleable: boolean;
|
|
75
|
-
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
76
|
-
$slots: Readonly<{
|
|
77
|
-
hint(): any;
|
|
78
|
-
}> & {
|
|
79
|
-
hint(): any;
|
|
80
|
-
};
|
|
81
|
-
});
|
|
82
|
-
title: string;
|
|
83
|
-
tags: string[];
|
|
84
|
-
parameters: {
|
|
85
|
-
docs: {
|
|
86
|
-
description: {
|
|
87
|
-
component: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
export default _default;
|
|
93
|
-
export declare const Default: {
|
|
94
|
-
args: {
|
|
95
|
-
businessHours: {
|
|
96
|
-
weekDay: string;
|
|
97
|
-
openingHours: {
|
|
98
|
-
from: string;
|
|
99
|
-
to: string;
|
|
100
|
-
}[];
|
|
101
|
-
}[];
|
|
102
|
-
toggleable: boolean;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
export declare const Fixed: {
|
|
106
|
-
args: {
|
|
107
|
-
toggleable: boolean;
|
|
108
|
-
businessHours: {
|
|
109
|
-
weekDay: string;
|
|
110
|
-
openingHours: {
|
|
111
|
-
from: string;
|
|
112
|
-
to: string;
|
|
113
|
-
}[];
|
|
114
|
-
}[];
|
|
115
|
-
};
|
|
116
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { BusinessHourType } from './BusinessHourType';
|
|
2
|
-
declare function __VLS_template(): Readonly<{
|
|
3
|
-
/**
|
|
4
|
-
* Display a hint beneath all the opening hours.
|
|
5
|
-
*/
|
|
6
|
-
hint(): any;
|
|
7
|
-
}> & {
|
|
8
|
-
/**
|
|
9
|
-
* Display a hint beneath all the opening hours.
|
|
10
|
-
*/
|
|
11
|
-
hint(): any;
|
|
12
|
-
};
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
14
|
-
/**
|
|
15
|
-
* This array includes all the opening hours for all days of the week.
|
|
16
|
-
*/
|
|
17
|
-
businessHours: BusinessHourType[];
|
|
18
|
-
/**
|
|
19
|
-
* Lets you choose between the toggleable and fixed state of the component.
|
|
20
|
-
* In the fixed state, no toggle button will be shown.
|
|
21
|
-
*/
|
|
22
|
-
toggleable?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Choose an icon for the toggle button. The default if none is given is the time icon.
|
|
25
|
-
*/
|
|
26
|
-
icon?: string;
|
|
27
|
-
}>, {
|
|
28
|
-
icon: string;
|
|
29
|
-
toggleable: boolean;
|
|
30
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
31
|
-
/**
|
|
32
|
-
* This array includes all the opening hours for all days of the week.
|
|
33
|
-
*/
|
|
34
|
-
businessHours: BusinessHourType[];
|
|
35
|
-
/**
|
|
36
|
-
* Lets you choose between the toggleable and fixed state of the component.
|
|
37
|
-
* In the fixed state, no toggle button will be shown.
|
|
38
|
-
*/
|
|
39
|
-
toggleable?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Choose an icon for the toggle button. The default if none is given is the time icon.
|
|
42
|
-
*/
|
|
43
|
-
icon?: string;
|
|
44
|
-
}>, {
|
|
45
|
-
icon: string;
|
|
46
|
-
toggleable: boolean;
|
|
47
|
-
}>>>, {
|
|
48
|
-
icon: string;
|
|
49
|
-
toggleable: boolean;
|
|
50
|
-
}, {}>;
|
|
51
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
52
|
-
export default _default;
|
|
53
|
-
type __VLS_WithDefaults<P, D> = {
|
|
54
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
-
default: D[K];
|
|
56
|
-
}> : P[K];
|
|
57
|
-
};
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K];
|
|
60
|
-
} & {};
|
|
61
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
-
new (): {
|
|
63
|
-
$slots: S;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
|
-
type __VLS_TypePropsToOption<T> = {
|
|
68
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
69
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
70
|
-
} : {
|
|
71
|
-
type: import('vue').PropType<T[K]>;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
component: {
|
|
3
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
-
icon: {
|
|
5
|
-
type: import('vue').PropType<string>;
|
|
6
|
-
};
|
|
7
|
-
variant: {
|
|
8
|
-
type: import('vue').PropType<"primary" | "secondary" | "ghost">;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
disabled: {
|
|
12
|
-
type: import('vue').PropType<boolean>;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
iconAnimated: {
|
|
16
|
-
type: import('vue').PropType<boolean>;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
}>> & {
|
|
20
|
-
onClick?: (() => any) | undefined;
|
|
21
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
-
click: () => void;
|
|
23
|
-
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
24
|
-
icon: {
|
|
25
|
-
type: import('vue').PropType<string>;
|
|
26
|
-
};
|
|
27
|
-
variant: {
|
|
28
|
-
type: import('vue').PropType<"primary" | "secondary" | "ghost">;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
disabled: {
|
|
32
|
-
type: import('vue').PropType<boolean>;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
iconAnimated: {
|
|
36
|
-
type: import('vue').PropType<boolean>;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
}>> & {
|
|
40
|
-
onClick?: (() => any) | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
variant: "primary" | "secondary" | "ghost";
|
|
43
|
-
disabled: boolean;
|
|
44
|
-
iconAnimated: boolean;
|
|
45
|
-
}, true, {}, {}, {
|
|
46
|
-
P: {};
|
|
47
|
-
B: {};
|
|
48
|
-
D: {};
|
|
49
|
-
C: {};
|
|
50
|
-
M: {};
|
|
51
|
-
Defaults: {};
|
|
52
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
53
|
-
icon: {
|
|
54
|
-
type: import('vue').PropType<string>;
|
|
55
|
-
};
|
|
56
|
-
variant: {
|
|
57
|
-
type: import('vue').PropType<"primary" | "secondary" | "ghost">;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
disabled: {
|
|
61
|
-
type: import('vue').PropType<boolean>;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
iconAnimated: {
|
|
65
|
-
type: import('vue').PropType<boolean>;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
}>> & {
|
|
69
|
-
onClick?: (() => any) | undefined;
|
|
70
|
-
}, {}, {}, {}, {}, {
|
|
71
|
-
variant: "primary" | "secondary" | "ghost";
|
|
72
|
-
disabled: boolean;
|
|
73
|
-
iconAnimated: boolean;
|
|
74
|
-
}>;
|
|
75
|
-
__isFragment?: never;
|
|
76
|
-
__isTeleport?: never;
|
|
77
|
-
__isSuspense?: never;
|
|
78
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
-
icon: {
|
|
80
|
-
type: import('vue').PropType<string>;
|
|
81
|
-
};
|
|
82
|
-
variant: {
|
|
83
|
-
type: import('vue').PropType<"primary" | "secondary" | "ghost">;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
disabled: {
|
|
87
|
-
type: import('vue').PropType<boolean>;
|
|
88
|
-
default: boolean;
|
|
89
|
-
};
|
|
90
|
-
iconAnimated: {
|
|
91
|
-
type: import('vue').PropType<boolean>;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
}>> & {
|
|
95
|
-
onClick?: (() => any) | undefined;
|
|
96
|
-
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
97
|
-
click: () => void;
|
|
98
|
-
}, string, {
|
|
99
|
-
variant: "primary" | "secondary" | "ghost";
|
|
100
|
-
disabled: boolean;
|
|
101
|
-
iconAnimated: boolean;
|
|
102
|
-
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
103
|
-
$slots: Readonly<{
|
|
104
|
-
default(): any;
|
|
105
|
-
}> & {
|
|
106
|
-
default(): any;
|
|
107
|
-
};
|
|
108
|
-
});
|
|
109
|
-
title: string;
|
|
110
|
-
tags: string[];
|
|
111
|
-
args: {
|
|
112
|
-
onClick: import('@vitest/spy').Mock<any, any>;
|
|
113
|
-
};
|
|
114
|
-
parameters: {
|
|
115
|
-
docs: {
|
|
116
|
-
description: {
|
|
117
|
-
component: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
export default _default;
|
|
123
|
-
export declare const Default: {
|
|
124
|
-
args: {
|
|
125
|
-
default: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
export declare const Secondary: {
|
|
129
|
-
args: {
|
|
130
|
-
default: string;
|
|
131
|
-
variant: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
export declare const Ghost: {
|
|
135
|
-
args: {
|
|
136
|
-
default: string;
|
|
137
|
-
variant: string;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
export declare const Disabled: {
|
|
141
|
-
args: {
|
|
142
|
-
default: string;
|
|
143
|
-
disabled: boolean;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
export declare const Icon: {
|
|
147
|
-
args: {
|
|
148
|
-
default: string;
|
|
149
|
-
icon: string;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
export declare const IconAnimated: {
|
|
153
|
-
args: {
|
|
154
|
-
default: string;
|
|
155
|
-
icon: string;
|
|
156
|
-
iconAnimated: boolean;
|
|
157
|
-
};
|
|
158
|
-
};
|