srcdev-nuxt-components 9.2.5 → 9.2.6
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/.claude/settings.json +35 -1
- package/.claude/skills/components/content-docs.md +165 -0
- package/.claude/skills/components/expanding-panel.md +55 -0
- package/.claude/skills/index.md +4 -2
- package/.claude/skills/qa-panel.md +5 -6
- package/.claude/skills/theming-typography-tokens.md +109 -0
- package/.vscode/srcdev-component-content-docs.code-snippets +129 -0
- package/.vscode/srcdev-component-expanding-panel.code-snippets +123 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/ContentDocs.vue +410 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/playwright/content-docs.playwright.ts +53 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/playwright/content-docs.playwright.ts-snapshots/default-chromium-darwin.png +0 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/playwright/content-docs.playwright.ts-snapshots/state-desktop-chromium-darwin.png +0 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/playwright/content-docs.playwright.ts-snapshots/state-mobile-chromium-darwin.png +0 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/playwright/content-docs.playwright.ts-snapshots/state-tablet-chromium-darwin.png +0 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/stories/ContentDocs.stories.ts +172 -0
- package/app/components/01.atoms/content-wrappers/docs-pages/tests/ContentDocs.spec.ts +218 -0
- package/app/components/02.molecules/expandable/expanding-panel/CONSUMER-STYLING.md +103 -0
- package/app/components/02.molecules/expandable/expanding-panel/ExpandingPanel.vue +97 -56
- package/app/components/02.molecules/expandable/expanding-panel/stories/ExpandingPanel.stories.ts +50 -2
- package/app/components/02.molecules/expandable/expanding-panel/tests/ExpandingPanel.spec.ts +79 -2
- package/app/components/02.molecules/expandable/expanding-panel/tests/__snapshots__/ExpandingPanel.spec.ts.snap +25 -4
- package/app/components/02.molecules/pricing-card/tests/PricingCard.spec.ts +2 -1
- package/app/components/layout-grids/LayoutGridA.vue +59 -59
- package/app/composables/tests/useContainerBreakpoints.spec.ts +91 -0
- package/app/composables/useContainerBreakpoints.ts +71 -0
- package/app/layouts/default.vue +1 -0
- package/app/pages/ui/expanding-panel.vue +266 -129
- package/app/pages/ui/layout-content-docs.vue +72 -0
- package/app/pages/ui/layout-grid-a.vue +5 -58
- package/app/types/components/content-docs.d.ts +5 -0
- package/app/types/components/index.ts +1 -0
- package/package.json +1 -1
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<NuxtLayout name="default">
|
|
4
4
|
<template #layout-content>
|
|
5
|
-
<PageRow tag="div" variant="full" :
|
|
5
|
+
<PageRow tag="div" variant="full" :style-class-passthrough="['mbe-20']">
|
|
6
6
|
<h1 class="page-heading-2">Layout Grid 'A'</h1>
|
|
7
7
|
|
|
8
|
-
<CanvasSwitcher v-model:
|
|
8
|
+
<CanvasSwitcher v-model:canvas-name="canvasName" />
|
|
9
9
|
</PageRow>
|
|
10
10
|
|
|
11
|
-
<PageRow tag="div" variant="popout" :
|
|
12
|
-
<LayoutGridA :
|
|
11
|
+
<PageRow tag="div" variant="popout" :style-class-passthrough="['mbe-20']">
|
|
12
|
+
<LayoutGridA :style-class-passthrough="[canvasName]">
|
|
13
13
|
<template #slot1>
|
|
14
14
|
<h3 class="page-heading-3">Slot 1</h3>
|
|
15
15
|
<p>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</LayoutGridA>
|
|
57
57
|
</PageRow>
|
|
58
58
|
|
|
59
|
-
<PageRow tag="div" variant="full" :
|
|
59
|
+
<PageRow tag="div" variant="full" :style-class-passthrough="['mbe-20']">
|
|
60
60
|
<h2 class="page-heading-2">Full Width</h2>
|
|
61
61
|
<p>
|
|
62
62
|
Lorem ipsum odor amet, consectetuer adipiscing elit. Nec elementum maecenas placerat laoreet curae elit
|
|
@@ -94,56 +94,3 @@ useHead({
|
|
|
94
94
|
|
|
95
95
|
const canvasName = ref<MediaCanvas>("desktopCanvas");
|
|
96
96
|
</script>
|
|
97
|
-
|
|
98
|
-
<style lang="css">
|
|
99
|
-
.canvas-switcher {
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
gap: 20px;
|
|
103
|
-
|
|
104
|
-
ul {
|
|
105
|
-
display: flex;
|
|
106
|
-
gap: 10px;
|
|
107
|
-
list-style-type: none;
|
|
108
|
-
margin: 0;
|
|
109
|
-
padding: 0;
|
|
110
|
-
|
|
111
|
-
li {
|
|
112
|
-
button {
|
|
113
|
-
all: unset;
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
padding: 5px;
|
|
118
|
-
border: 0px solid light-dark(var(--slate-10), var(--slate-02));
|
|
119
|
-
border-radius: 4px;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
|
|
122
|
-
.icon {
|
|
123
|
-
color: light-dark(var(--slate-10), var(--slate-02));
|
|
124
|
-
|
|
125
|
-
width: 24px;
|
|
126
|
-
height: 24px;
|
|
127
|
-
|
|
128
|
-
&.current {
|
|
129
|
-
color: light-dark(var(--green-10), var(--green-04));
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.layout-grid-a-wrapper {
|
|
138
|
-
margin-inline: auto;
|
|
139
|
-
&.mobile {
|
|
140
|
-
max-width: 412px;
|
|
141
|
-
}
|
|
142
|
-
&.tablet {
|
|
143
|
-
max-width: 768px;
|
|
144
|
-
}
|
|
145
|
-
&.desktop {
|
|
146
|
-
max-width: 1060px;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
</style>
|