srcdev-nuxt-components 6.0.1 → 6.1.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.
- package/app/components/accordian/AccordianCore.vue +11 -4
- package/nuxt.config.ts +14 -14
- package/package.json +2 -2
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="display-accordian" :class="[elementClasses]">
|
|
3
|
-
<ExpandingPanel
|
|
3
|
+
<ExpandingPanel
|
|
4
|
+
v-for="(item, key) in itemCount"
|
|
5
|
+
:key="key"
|
|
6
|
+
:name
|
|
7
|
+
:animation-duration="300"
|
|
8
|
+
icon-size="medium"
|
|
9
|
+
:style-class-passthrough="['accordian-item']"
|
|
10
|
+
>
|
|
4
11
|
<template #summary>
|
|
5
12
|
<slot :name="`accordian-${key}-summary`"></slot>
|
|
6
13
|
</template>
|
|
@@ -32,10 +39,10 @@ const props = defineProps({
|
|
|
32
39
|
type: Array as PropType<string[]>,
|
|
33
40
|
default: () => [],
|
|
34
41
|
},
|
|
35
|
-
})
|
|
42
|
+
})
|
|
36
43
|
|
|
37
|
-
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
38
|
-
const animationDurationStr = computed(() => `${props.animationDuration}ms`)
|
|
44
|
+
const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
|
|
45
|
+
const animationDurationStr = computed(() => `${props.animationDuration}ms`)
|
|
39
46
|
</script>
|
|
40
47
|
|
|
41
48
|
<style lang="css">
|
package/nuxt.config.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
2
2
|
export default defineNuxtConfig({
|
|
3
3
|
devtools: { enabled: true },
|
|
4
|
-
css: [
|
|
5
|
-
modules: [
|
|
4
|
+
css: ["modern-normalize", "./app/assets/styles/main.css"],
|
|
5
|
+
modules: ["@nuxt/eslint", "@nuxt/icon", "@nuxt/image"],
|
|
6
6
|
app: {
|
|
7
7
|
head: {
|
|
8
8
|
htmlAttrs: {
|
|
9
|
-
lang:
|
|
10
|
-
|
|
9
|
+
lang: "en",
|
|
10
|
+
"data-color-scheme": "auto",
|
|
11
11
|
},
|
|
12
|
-
titleTemplate:
|
|
13
|
-
meta: [{ charset:
|
|
12
|
+
titleTemplate: "%s - Nuxt Components Layer",
|
|
13
|
+
meta: [{ charset: "utf-8" }, { name: "viewport", content: "width=device-width, initial-scale=1" }],
|
|
14
14
|
bodyAttrs: {
|
|
15
|
-
class:
|
|
15
|
+
class: "srcdev-components-extended",
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
pageTransition: {
|
|
19
|
-
name:
|
|
20
|
-
mode:
|
|
19
|
+
name: "page",
|
|
20
|
+
mode: "out-in",
|
|
21
21
|
},
|
|
22
22
|
layoutTransition: {
|
|
23
|
-
name:
|
|
24
|
-
mode:
|
|
23
|
+
name: "layout",
|
|
24
|
+
mode: "out-in",
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
components: [
|
|
28
28
|
{
|
|
29
|
-
path:
|
|
29
|
+
path: "./components",
|
|
30
30
|
pathPrefix: false,
|
|
31
31
|
},
|
|
32
32
|
],
|
|
33
33
|
vue: {
|
|
34
34
|
runtimeCompiler: true,
|
|
35
35
|
},
|
|
36
|
-
compatibilityDate:
|
|
36
|
+
compatibilityDate: "2024-11-01",
|
|
37
37
|
typescript: {
|
|
38
38
|
includeWorkspace: true,
|
|
39
39
|
},
|
|
40
|
-
})
|
|
40
|
+
})
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "srcdev-nuxt-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.0
|
|
4
|
+
"version": "6.1.0",
|
|
5
5
|
"main": "nuxt.config.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"clean": "rm -rf .nuxt && rm -rf .output && rm -rf .playground/.nuxt && rm -rf .playground/.output",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@iconify-json/akar-icons": "1.2.7",
|
|
26
26
|
"@iconify-json/bitcoin-icons": "1.2.4",
|
|
27
|
-
"@nuxt/eslint
|
|
27
|
+
"@nuxt/eslint": "1.8.0",
|
|
28
28
|
"@nuxt/icon": "2.0.0",
|
|
29
29
|
"@nuxt/image": "1.11.0",
|
|
30
30
|
"@vueuse/core": "13.6.0",
|