independer-design-system 1.4.2 → 1.5.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/dist/module.json +1 -1
- package/dist/runtime/assets/images/energie.svg +26 -0
- package/dist/runtime/assets/images/hypotheek.svg +21 -0
- package/dist/runtime/assets/images/logo-full.svg +19 -0
- package/dist/runtime/assets/images/phone.svg +22 -0
- package/dist/runtime/assets/images/shield.svg +21 -0
- package/dist/runtime/assets/images/sparen.svg +21 -0
- package/dist/runtime/components/Footer.d.vue.ts +13 -0
- package/dist/runtime/components/Footer.vue +82 -0
- package/dist/runtime/components/Footer.vue.d.ts +13 -0
- package/dist/runtime/components/Form/Input.d.vue.ts +1 -1
- package/dist/runtime/components/Form/Input.vue.d.ts +1 -1
- package/dist/runtime/components/Form/Textarea.d.vue.ts +1 -1
- package/dist/runtime/components/Form/Textarea.vue.d.ts +1 -1
- package/dist/runtime/components/Header.d.vue.ts +55 -0
- package/dist/runtime/components/Header.vue +285 -0
- package/dist/runtime/components/Header.vue.d.ts +55 -0
- package/dist/runtime/components/Logo.d.vue.ts +15 -0
- package/dist/runtime/components/Logo.vue +23 -0
- package/dist/runtime/components/Logo.vue.d.ts +15 -0
- package/dist/runtime/components/Menu/Account.d.vue.ts +21 -0
- package/dist/runtime/components/Menu/Account.vue +60 -0
- package/dist/runtime/components/Menu/Account.vue.d.ts +21 -0
- package/dist/runtime/components/Menu/Button.d.vue.ts +29 -0
- package/dist/runtime/components/Menu/Button.vue +26 -0
- package/dist/runtime/components/Menu/Button.vue.d.ts +29 -0
- package/dist/runtime/components/Menu/Energie.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Energie.vue +15 -0
- package/dist/runtime/components/Menu/Energie.vue.d.ts +3 -0
- package/dist/runtime/components/Menu/Kennis.d.vue.ts +13 -0
- package/dist/runtime/components/Menu/Kennis.vue +35 -0
- package/dist/runtime/components/Menu/Kennis.vue.d.ts +13 -0
- package/dist/runtime/components/Menu/Kennisbank.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Kennisbank.vue +20 -0
- package/dist/runtime/components/Menu/Kennisbank.vue.d.ts +3 -0
- package/dist/runtime/components/Menu/Klantenservice.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Klantenservice.vue +21 -0
- package/dist/runtime/components/Menu/Klantenservice.vue.d.ts +3 -0
- package/dist/runtime/components/Menu/Products.d.vue.ts +28 -0
- package/dist/runtime/components/Menu/Products.vue +65 -0
- package/dist/runtime/components/Menu/Products.vue.d.ts +28 -0
- package/dist/runtime/components/Menu/Verzekeringen.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Verzekeringen.vue +40 -0
- package/dist/runtime/components/Menu/Verzekeringen.vue.d.ts +3 -0
- package/dist/runtime/components/PriceQuote.d.vue.ts +18 -0
- package/dist/runtime/components/PriceQuote.vue +25 -9
- package/dist/runtime/components/PriceQuote.vue.d.ts +18 -0
- package/dist/runtime/components/Shoppingcart/Footer.d.vue.ts +33 -0
- package/dist/runtime/components/Shoppingcart/Footer.vue +31 -0
- package/dist/runtime/components/Shoppingcart/Footer.vue.d.ts +33 -0
- package/dist/runtime/components/Shoppingcart/Index.d.vue.ts +21 -0
- package/dist/runtime/components/Shoppingcart/Index.vue +25 -0
- package/dist/runtime/components/Shoppingcart/Index.vue.d.ts +21 -0
- package/dist/runtime/components/Shoppingcart/Mobile.d.vue.ts +51 -0
- package/dist/runtime/components/Shoppingcart/Mobile.vue +55 -0
- package/dist/runtime/components/Shoppingcart/Mobile.vue.d.ts +51 -0
- package/dist/runtime/components/Shoppingcart/Summary.d.vue.ts +29 -0
- package/dist/runtime/components/Shoppingcart/Summary.vue +27 -0
- package/dist/runtime/components/Shoppingcart/Summary.vue.d.ts +29 -0
- package/dist/runtime/components/StepsIndicator.d.vue.ts +7 -0
- package/dist/runtime/components/StepsIndicator.vue +37 -0
- package/dist/runtime/components/StepsIndicator.vue.d.ts +7 -0
- package/dist/runtime/components/SubmenuExpand.d.vue.ts +14 -0
- package/dist/runtime/components/SubmenuExpand.vue +34 -0
- package/dist/runtime/components/SubmenuExpand.vue.d.ts +14 -0
- package/dist/runtime/components/SubmenuItem.d.vue.ts +30 -0
- package/dist/runtime/components/SubmenuItem.vue +41 -0
- package/dist/runtime/components/SubmenuItem.vue.d.ts +30 -0
- package/dist/runtime/components/SubmenuProduct.d.vue.ts +13 -0
- package/dist/runtime/components/SubmenuProduct.vue +30 -0
- package/dist/runtime/components/SubmenuProduct.vue.d.ts +13 -0
- package/package.json +4 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
logo: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
company: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
product: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
total: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
domain: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
toggleModalCart: (...args: any[]) => void;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
logo: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
company: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
product: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
total: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
domain: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{
|
|
48
|
+
onToggleModalCart?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
domain: string;
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
logo: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
company: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
product: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
logo: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
company: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
product: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex w-full">
|
|
3
|
+
<div class="flex flex-col">
|
|
4
|
+
<div class="font-semibold">{{ company}}</div>
|
|
5
|
+
<div class="text-grey-dark">{{ product }}</div>
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<img class="w-27 h-12 ml-auto object-contain object-right" :src="logo" />
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup>
|
|
13
|
+
defineProps({
|
|
14
|
+
logo: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
18
|
+
company: {
|
|
19
|
+
type: String,
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
product: {
|
|
23
|
+
type: String,
|
|
24
|
+
required: true
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
logo: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
company: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
product: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
logo: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
company: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
product: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
steps: ArrayConstructor;
|
|
5
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
steps: ArrayConstructor;
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bg-white border-t border-purple-light">
|
|
3
|
+
<div class="grid-container flex flex-row justify-between items-center py-3">
|
|
4
|
+
<ol class="flex list-none gap-2 w-full">
|
|
5
|
+
<li
|
|
6
|
+
v-for="(step, index) in steps"
|
|
7
|
+
:key="step.number"
|
|
8
|
+
class="flex gap-2 text-grey"
|
|
9
|
+
>
|
|
10
|
+
<NuxtLink
|
|
11
|
+
:to="step.path"
|
|
12
|
+
class="group flex gap-2 font-semibold text-grey-dark hover:text-grey-darkest hover:underline transition-all hover:underline-offset-4 hover:decoration-1"
|
|
13
|
+
:class="{ 'text-purple hover:text-purple-dark': step.path === $route.path }"
|
|
14
|
+
>
|
|
15
|
+
<span class="block">
|
|
16
|
+
{{ step.label }}
|
|
17
|
+
</span>
|
|
18
|
+
</NuxtLink>
|
|
19
|
+
|
|
20
|
+
<span
|
|
21
|
+
v-if="index + 1 != steps.length"
|
|
22
|
+
class="block"
|
|
23
|
+
>–</span>
|
|
24
|
+
</li>
|
|
25
|
+
</ol>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script>
|
|
31
|
+
export default {
|
|
32
|
+
name: "TheStepsIndicator",
|
|
33
|
+
props: {
|
|
34
|
+
steps: Array
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
</script>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
steps: ArrayConstructor;
|
|
5
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
steps: ArrayConstructor;
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
label: StringConstructor;
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
label: StringConstructor;
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
type __VLS_Slots = {
|
|
13
|
+
default?: ((props: {}) => any) | undefined;
|
|
14
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<details>
|
|
3
|
+
<summary
|
|
4
|
+
class="group flex pt-4 px-3 pb-2 font-serif text-purple-dark font-bold cursor-pointer"
|
|
5
|
+
@click="toggleOpen"
|
|
6
|
+
>
|
|
7
|
+
{{ label }}
|
|
8
|
+
|
|
9
|
+
<Icon
|
|
10
|
+
v-if="!open"
|
|
11
|
+
name="eva:plus-outline"
|
|
12
|
+
class="ml-auto"
|
|
13
|
+
/>
|
|
14
|
+
|
|
15
|
+
<Icon
|
|
16
|
+
v-if="open"
|
|
17
|
+
name="eva:minus-outline"
|
|
18
|
+
class="ml-auto"
|
|
19
|
+
/>
|
|
20
|
+
</summary>
|
|
21
|
+
|
|
22
|
+
<slot />
|
|
23
|
+
</details>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script setup>
|
|
27
|
+
defineProps({
|
|
28
|
+
label: String
|
|
29
|
+
});
|
|
30
|
+
const open = ref(false);
|
|
31
|
+
const toggleOpen = () => {
|
|
32
|
+
open.value = !open.value;
|
|
33
|
+
};
|
|
34
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
label: StringConstructor;
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
label: StringConstructor;
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
type __VLS_Slots = {
|
|
13
|
+
default?: ((props: {}) => any) | undefined;
|
|
14
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: StringConstructor;
|
|
5
|
+
icon: StringConstructor;
|
|
6
|
+
iconRight: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
active: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
to: StringConstructor;
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
label: StringConstructor;
|
|
17
|
+
icon: StringConstructor;
|
|
18
|
+
iconRight: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
active: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
to: StringConstructor;
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
iconRight: boolean;
|
|
29
|
+
active: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<li>
|
|
3
|
+
<NuxtLink
|
|
4
|
+
class="w-full flex justify-between p-3 text-purple text-left rounded hover:underline hover:text-purple-dark hover:underline-offset-4 hover:decoration-1 active:bg-purple-200 cursor-pointer transition-all"
|
|
5
|
+
:class="{ 'bg-purple-200': active }"
|
|
6
|
+
:to="to"
|
|
7
|
+
>
|
|
8
|
+
<div class="flex">
|
|
9
|
+
<Icon
|
|
10
|
+
v-if="icon"
|
|
11
|
+
:name="icon"
|
|
12
|
+
class="mr-2"
|
|
13
|
+
/>
|
|
14
|
+
|
|
15
|
+
{{ label }}
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
<Icon
|
|
19
|
+
v-if="iconRight"
|
|
20
|
+
name="eva:chevron-right-outline"
|
|
21
|
+
class="ml-auto"
|
|
22
|
+
/>
|
|
23
|
+
</NuxtLink>
|
|
24
|
+
</li>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script setup>
|
|
28
|
+
defineProps({
|
|
29
|
+
label: String,
|
|
30
|
+
icon: String,
|
|
31
|
+
iconRight: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: false
|
|
34
|
+
},
|
|
35
|
+
active: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
to: String
|
|
40
|
+
});
|
|
41
|
+
</script>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: StringConstructor;
|
|
5
|
+
icon: StringConstructor;
|
|
6
|
+
iconRight: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
active: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
to: StringConstructor;
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
label: StringConstructor;
|
|
17
|
+
icon: StringConstructor;
|
|
18
|
+
iconRight: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
active: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
to: StringConstructor;
|
|
27
|
+
}>> & Readonly<{}>, {
|
|
28
|
+
iconRight: boolean;
|
|
29
|
+
active: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: StringConstructor;
|
|
5
|
+
icon: StringConstructor;
|
|
6
|
+
active: BooleanConstructor;
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
label: StringConstructor;
|
|
9
|
+
icon: StringConstructor;
|
|
10
|
+
active: BooleanConstructor;
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
active: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<li>
|
|
3
|
+
<button
|
|
4
|
+
class="flex items-center justify-between w-full p-2 font-semibold text-purple rounded cursor-pointer hover:underline hover:text-purple-dark hover:underline-offset-4 hover:decoration-1 active:bg-purple-200 transition-all"
|
|
5
|
+
:class="{ 'bg-purple-200': active }"
|
|
6
|
+
>
|
|
7
|
+
<div class="flex items-center gap-2">
|
|
8
|
+
<img
|
|
9
|
+
:src="icon"
|
|
10
|
+
class="h-12 w-12"
|
|
11
|
+
>
|
|
12
|
+
|
|
13
|
+
<span class="font-serif">{{ label }}</span>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<Icon
|
|
17
|
+
name="eva:chevron-right-outline"
|
|
18
|
+
class="ml-auto"
|
|
19
|
+
/>
|
|
20
|
+
</button>
|
|
21
|
+
</li>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script setup>
|
|
25
|
+
defineProps({
|
|
26
|
+
label: String,
|
|
27
|
+
icon: String,
|
|
28
|
+
active: Boolean
|
|
29
|
+
});
|
|
30
|
+
</script>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
label: StringConstructor;
|
|
5
|
+
icon: StringConstructor;
|
|
6
|
+
active: BooleanConstructor;
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
label: StringConstructor;
|
|
9
|
+
icon: StringConstructor;
|
|
10
|
+
active: BooleanConstructor;
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
active: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "independer-design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Vue 3 component library for the Independer Design System (DS2)",
|
|
5
5
|
"repository": "arjanvanrees/independer-design-system",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
|
|
33
33
|
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
|
34
34
|
"lint": "eslint .",
|
|
35
|
+
"lint:fix": "eslint . --fix",
|
|
35
36
|
"test": "vitest run",
|
|
36
37
|
"test:watch": "vitest watch",
|
|
37
38
|
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
|
|
@@ -42,6 +43,8 @@
|
|
|
42
43
|
"@nuxt/kit": "^4.3.1",
|
|
43
44
|
"@nuxtjs/tailwindcss": "^6.14.0",
|
|
44
45
|
"@tailwindcss/vite": "^4.2.1",
|
|
46
|
+
"@vueuse/components": "^14.3.0",
|
|
47
|
+
"@vueuse/core": "^14.3.0",
|
|
45
48
|
"maska": "^3.2.0",
|
|
46
49
|
"tailwindcss": "^4.2.1",
|
|
47
50
|
"vue-collapsed": "^1.3.5"
|