From 0ed47b2edee20914f5d9150023bc4522eb267267 Mon Sep 17 00:00:00 2001 From: "jannik.lange" Date: Tue, 13 Aug 2024 17:56:13 +0200 Subject: [PATCH 1/6] added divider #183 --- src/components/Divider/MucDivider.stories.ts | 21 ++++++++++++++++++++ src/components/Divider/MucDivider.vue | 9 +++++++++ 2 files changed, 30 insertions(+) create mode 100644 src/components/Divider/MucDivider.stories.ts create mode 100644 src/components/Divider/MucDivider.vue diff --git a/src/components/Divider/MucDivider.stories.ts b/src/components/Divider/MucDivider.stories.ts new file mode 100644 index 00000000..eb1e1efe --- /dev/null +++ b/src/components/Divider/MucDivider.stories.ts @@ -0,0 +1,21 @@ +import MucDivider from "./MucDivider.vue"; + +export default { + component: MucDivider, + title: "MucDivider", + tags: ["autodocs"], + // 👇 Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked + parameters: { + docs: { + description: { + component: `The \`muc-icon\` component is a wrapper commponent for all icons in the patternlab. + +[🔗 Patternlab-Docs](https://patternlab.muenchen.space/?p=viewall-guidelines-icons) +[🖼 Iconography](https://it-at-m.github.io/muc-patternlab-vue/?path=/docs/iconography--docs) +`, + }, + }, + }, +}; + +export const Default = {}; diff --git a/src/components/Divider/MucDivider.vue b/src/components/Divider/MucDivider.vue new file mode 100644 index 00000000..ebb9cf34 --- /dev/null +++ b/src/components/Divider/MucDivider.vue @@ -0,0 +1,9 @@ + + + From c854218d875a7d43e6d01ae962426fcbb2c8ad17 Mon Sep 17 00:00:00 2001 From: "jannik.lange" Date: Tue, 13 Aug 2024 17:58:35 +0200 Subject: [PATCH 2/6] adjusted documentation #183 --- src/components/Divider/MucDivider.stories.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Divider/MucDivider.stories.ts b/src/components/Divider/MucDivider.stories.ts index eb1e1efe..a77d53b6 100644 --- a/src/components/Divider/MucDivider.stories.ts +++ b/src/components/Divider/MucDivider.stories.ts @@ -8,10 +8,9 @@ export default { parameters: { docs: { description: { - component: `The \`muc-icon\` component is a wrapper commponent for all icons in the patternlab. + component: `The \`muc-divider\` is a trivial divider. -[🔗 Patternlab-Docs](https://patternlab.muenchen.space/?p=viewall-guidelines-icons) -[🖼 Iconography](https://it-at-m.github.io/muc-patternlab-vue/?path=/docs/iconography--docs) +[🔗 Patternlab-Docs](https://patternlab.muenchen.space/?p=viewall-components-all) `, }, }, From 11148878b3e71a5e1843d27d65465273ea63a66c Mon Sep 17 00:00:00 2001 From: "jannik.lange" Date: Wed, 14 Aug 2024 12:12:24 +0200 Subject: [PATCH 3/6] replaced color with css-variable #183 --- src/components/Divider/MucDivider.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Divider/MucDivider.vue b/src/components/Divider/MucDivider.vue index ebb9cf34..fdf9c867 100644 --- a/src/components/Divider/MucDivider.vue +++ b/src/components/Divider/MucDivider.vue @@ -4,6 +4,6 @@ From 2e2df25bf43d3244e36fa3ce694081af22920845 Mon Sep 17 00:00:00 2001 From: "jannik.lange" Date: Wed, 14 Aug 2024 13:50:06 +0200 Subject: [PATCH 4/6] changed to hr tag #183 --- src/components/Divider/MucDivider.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Divider/MucDivider.vue b/src/components/Divider/MucDivider.vue index fdf9c867..f0481157 100644 --- a/src/components/Divider/MucDivider.vue +++ b/src/components/Divider/MucDivider.vue @@ -1,5 +1,5 @@