independer-design-system 1.2.2 → 1.3.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.
Files changed (35) hide show
  1. package/README.md +24 -3
  2. package/dist/module.json +1 -1
  3. package/dist/runtime/assets/style.css +1 -1
  4. package/dist/runtime/components/Dialog.vue +1 -1
  5. package/dist/runtime/components/Expandable/Card.d.vue.ts +33 -0
  6. package/dist/runtime/components/Expandable/Card.vue +45 -0
  7. package/dist/runtime/components/Expandable/Card.vue.d.ts +33 -0
  8. package/dist/runtime/components/Expandable/Filter.d.vue.ts +33 -0
  9. package/dist/runtime/components/Expandable/Filter.vue +45 -0
  10. package/dist/runtime/components/Expandable/Filter.vue.d.ts +33 -0
  11. package/dist/runtime/components/Form/Checkbox.d.vue.ts +2 -0
  12. package/dist/runtime/components/Form/Checkbox.vue +7 -5
  13. package/dist/runtime/components/Form/Checkbox.vue.d.ts +2 -0
  14. package/dist/runtime/components/Form/CheckboxProduct.d.vue.ts +45 -0
  15. package/dist/runtime/components/Form/CheckboxProduct.vue +52 -0
  16. package/dist/runtime/components/Form/CheckboxProduct.vue.d.ts +45 -0
  17. package/dist/runtime/components/Form/Fieldset.vue +2 -1
  18. package/dist/runtime/components/Form/Radio.vue +8 -2
  19. package/dist/runtime/components/Form/RadioProduct.d.vue.ts +47 -0
  20. package/dist/runtime/components/Form/RadioProduct.vue +84 -0
  21. package/dist/runtime/components/Form/RadioProduct.vue.d.ts +47 -0
  22. package/dist/runtime/components/Modal.vue +1 -1
  23. package/dist/runtime/components/Notification.d.vue.ts +26 -0
  24. package/dist/runtime/components/Notification.vue +45 -0
  25. package/dist/runtime/components/Notification.vue.d.ts +26 -0
  26. package/dist/runtime/components/Price.d.vue.ts +64 -0
  27. package/dist/runtime/components/Price.vue +57 -0
  28. package/dist/runtime/components/Price.vue.d.ts +64 -0
  29. package/dist/runtime/components/PriceQuote.d.vue.ts +27 -0
  30. package/dist/runtime/components/PriceQuote.vue +35 -0
  31. package/dist/runtime/components/PriceQuote.vue.d.ts +27 -0
  32. package/dist/runtime/components/USP.d.vue.ts +35 -0
  33. package/dist/runtime/components/USP.vue +24 -0
  34. package/dist/runtime/components/USP.vue.d.ts +35 -0
  35. package/package.json +1 -1
package/README.md CHANGED
@@ -36,9 +36,30 @@ const name = ref('')
36
36
  </script>
37
37
  ```
38
38
 
39
- By default the module registers:
40
-
41
- `IndButton`, `IndButtonToggle`, `IndDialog`, `IndModal`, `IndPill`, `IndFormCheckbox`, `IndFormInput`, `IndFormLabel`, `IndFormRadio`, `IndFormRow`, `IndFormSelect`, `IndFormTabs`, and `IndFormTextarea`.
39
+ By default, the module registers the following components:
40
+
41
+ - `IndButton`
42
+ - `IndButtonToggle`
43
+ - `IndDialog`
44
+ - `IndExpandableCard`
45
+ - `IndExpandableFilter`
46
+ - `IndFormCheckbox`
47
+ - `IndFormCheckboxProduct`
48
+ - `IndFormFieldset`
49
+ - `IndFormInput`
50
+ - `IndFormLabel`
51
+ - `IndFormRadio`
52
+ - `IndFormRadioProduct`
53
+ - `IndFormRow`
54
+ - `IndFormSelect`
55
+ - `IndFormTabs`
56
+ - `IndFormTextarea`
57
+ - `IndModal`
58
+ - `IndNotification`
59
+ - `IndPill`
60
+ - `IndPrice`
61
+ - `IndPriceQuote`
62
+ - `IndUSP`
42
63
 
43
64
  Use the module in `nuxt.config.ts`:
44
65
 
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=4.2.0"
6
6
  },
7
- "version": "1.2.2",
7
+ "version": "1.3.0",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -1 +1 @@
1
- @import url("https://use.typekit.net/uxr2esn.css");@import "tailwindcss";@source "../components/**/*.{vue,js,ts}";:root{--ind-color-purple-100:#f2f1fd;--ind-color-purple-200:#d9d5f8;--ind-color-purple-300:#c1b9f2;--ind-color-purple-400:#aa9ceb;--ind-color-purple-500:#9480e4;--ind-color-purple-600:#8063dc;--ind-color-purple-700:#6e46cf;--ind-color-purple-800:#5532a7;--ind-color-purple-900:#3f247e;--ind-color-purple-1000:#291556;--ind-color-peach-100:#ffefe7;--ind-color-peach-200:#ffcfb7;--ind-color-peach-300:#f4b18e;--ind-color-peach-400:#d99876;--ind-color-peach-500:#b4856b;--ind-color-peach-600:#976f59;--ind-color-peach-700:#8d5232;--ind-color-peach-800:#753c1a;--ind-color-peach-900:#473227;--ind-color-peach-1000:#461000;--ind-color-grey-100:#f2f2f2;--ind-color-grey-200:#d7d9da;--ind-color-grey-300:#b3b7c1;--ind-color-grey-400:#a4a7a9;--ind-color-grey-500:#8b9091;--ind-color-grey-600:#74787a;--ind-color-grey-700:#5d6263;--ind-color-grey-800:#4c4b4f;--ind-color-grey-900:#37363a;--ind-color-grey-1000:#1f2325;--ind-color-blue-100:#e5f4ff;--ind-color-blue-200:#b4dffd;--ind-color-blue-300:#7dc8fa;--ind-color-blue-400:#33b0f5;--ind-color-blue-500:#0097e0;--ind-color-blue-600:#007dc5;--ind-color-blue-700:#0063aa;--ind-color-blue-800:#004b90;--ind-color-blue-900:#003478;--ind-color-blue-1000:#001c60;--ind-color-green-100:#e4f6f0;--ind-color-green-200:#abe4d2;--ind-color-green-300:#6ed2b7;--ind-color-green-400:#00bc9a;--ind-color-green-500:#00a281;--ind-color-green-600:#00886a;--ind-color-green-700:#006e52;--ind-color-green-800:#00563c;--ind-color-green-900:#004028;--ind-color-green-1000:#002914;--ind-color-yellow-100:#fff2bd;--ind-color-yellow-200:#fcd610;--ind-color-yellow-300:#e3bd00;--ind-color-yellow-400:#c8a300;--ind-color-yellow-500:#b08a00;--ind-color-yellow-600:#987200;--ind-color-yellow-700:#7f5a00;--ind-color-yellow-800:#684300;--ind-color-yellow-900:#542e00;--ind-color-yellow-1000:#3e1800;--ind-color-orange-100:#fff1e6;--ind-color-orange-200:#ffd1a9;--ind-color-orange-300:#ffae66;--ind-color-orange-400:#f68c12;--ind-color-orange-500:#db7400;--ind-color-orange-600:#c05b00;--ind-color-orange-700:#a54300;--ind-color-orange-800:#8b2800;--ind-color-orange-900:#720a00;--ind-color-orange-1000:#4f0000;--ind-color-red-100:#ffeff0;--ind-color-red-200:#ffcdd2;--ind-color-red-300:#ffa8b3;--ind-color-red-400:#ff7f94;--ind-color-red-500:#fb4f74;--ind-color-red-600:#e02f5e;--ind-color-red-700:#b7254b;--ind-color-red-800:#901b3a;--ind-color-red-900:#6d1129;--ind-color-red-1000:#490819;--ind-theme-color-background-interface:var(--ind-color-purple-100,#f2f1fd);--ind-theme-color-background-brand-primary-subtlest:var(--ind-color-purple-100,#f2f1fd);--ind-theme-color-background-brand-primary-subtler:var(--ind-color-purple-200,#d9d5f8);--ind-theme-color-background-brand-primary:var(--ind-color-purple-700,#6e46cf);--ind-theme-color-background-brand-primary-strong:var(--ind-color-purple-900,#3f247e);--ind-theme-color-background-brand-primary-strongest:var(--ind-color-purple-1000,#291556);--ind-theme-color-background-brand-secondary-subtlest:var(--ind-color-peach-100,#ffefe7);--ind-theme-color-background-brand-secondary-subtle:var(--ind-color-peach-200,#ffcfb7);--ind-theme-color-background-brand-secondary:var(--ind-color-peach-300,#f4b18e);--ind-theme-color-background-accent-subtlest:var(--ind-color-yellow-100,#fff2bd);--ind-theme-color-background-accent:var(--ind-color-yellow-200,#fcd610);--ind-theme-color-background-accent-hovered:var(--ind-color-yellow-300,#e3bd00);--ind-theme-color-background-positive-strong:var(--ind-color-green-400,#00bc9a);--ind-theme-color-background-negative-strong:var(--ind-color-red-600,#e02f5e);--ind-theme-color-background-warning:var(--ind-color-orange-100,#fff1e6);--ind-theme-color-background-warning-strong:var(--ind-color-orange-400,#f68c12);--ind-theme-color-background-spotlight:var(--ind-color-blue-100,#e5f4ff);--ind-theme-color-background-neutral-subtlest:var(--ind-color-grey-100,#f2f2f2);--ind-theme-color-background-neutral:var(--ind-color-grey-200,#d7d9da);--ind-theme-color-background-neutral-strong:var(--ind-color-grey-600,#74787a);--ind-theme-color-border-default-strong:var(--ind-color-grey-400,#a4a7a9);--ind-theme-color-border-spotlight:var(--ind-color-blue-400,#33b0f5);--ind-theme-color-outline-focus-ring-positive:var(--ind-color-green-200,#abe4d2);--ind-theme-color-text-default:var(--ind-color-grey-1000,#1f2325);--ind-theme-color-text-accent-inverse:var(--ind-color-yellow-900,#542e00);--ind-theme-color-text-expert-strong:var(--ind-color-peach-1000,#461000);--ind-theme-color-text-spotlight-strong:var(--ind-color-blue-1000,#001c60);--ind-theme-color-transparent:transparent;--ind-theme-color-current:currentColor}@theme{--container-mobile:320px;--container-tablet:768px;--container-desktop:1136px;--container-desktop-lg:1432px;--breakpoint-tablet:768px;--breakpoint-desktop:1136px;--breakpoint-desktop-lg:1432px;--font-sans:"proxima-nova",system-ui;--font-serif:"roboto-slab",system-ui;--text-xs:.75rem;--text-xs--line-height:1rem;--text-sm:.875rem;--text-sm--line-height:1.25rem;--text-base:1rem;--text-base--line-height:1.5rem;--text-lg:1.125rem;--text-lg--line-height:1.75rem;--text-xl:1.25rem;--text-xl--line-height:1.75rem;--text-2xl:1.5rem;--text-2xl--line-height:2rem;--text-3xl:2rem;--text-3xl--line-height:2.5rem;--text-4xl:2.5rem;--text-4xl--line-height:3rem;--text-5xl:3rem;--text-5xl--line-height:3.5rem;--color-interface:var(--ind-theme-color-background-interface,#f2f1fd);--color-brand-primary-subtlest:var(--ind-theme-color-background-brand-primary-subtlest,#f2f1fd);--color-brand-primary-subtler:var(--ind-theme-color-background-brand-primary-subtler,#d9d5f8);--color-brand-primary:var(--ind-theme-color-background-brand-primary,#6e46cf);--color-brand-primary-strong:var(--ind-theme-color-background-brand-primary-strong,#3f247e);--color-brand-primary-strongest:var(--ind-theme-color-background-brand-primary-strongest,#291556);--color-brand-secondary-subtlest:var(--ind-theme-color-background-brand-secondary-subtlest,#ffefe7);--color-brand-secondary-subtle:var(--ind-theme-color-background-brand-secondary-subtle,#ffcfb7);--color-brand-secondary:var(--ind-theme-color-background-brand-secondary,#f4b18e);--color-accent-subtlest:var(--ind-theme-color-background-accent-subtlest,#fff2bd);--color-accent:var(--ind-theme-color-background-accent,#fcd610);--color-accent-hovered:var(--ind-theme-color-background-accent-hovered,#e3bd00);--color-positive-strong:var(--ind-theme-color-background-positive-strong,#00bc9a);--color-negative-strong:var(--ind-theme-color-background-negative-strong,#e02f5e);--color-warning:var(--ind-theme-color-background-warning,#fff1e6);--color-warning-strong:var(--ind-theme-color-background-warning-strong,#f68c12);--color-spotlight:var(--ind-theme-color-background-spotlight,#e5f4ff);--color-neutral-subtlest:var(--ind-theme-color-background-neutral-subtlest,#f2f2f2);--color-neutral:var(--ind-theme-color-background-neutral,#d7d9da);--color-neutral-strong:var(--ind-theme-color-background-neutral-strong,#74787a);--color-border-default-strong:var(--ind-theme-color-border-default-strong,#a4a7a9);--color-border-spotlight:var(--ind-theme-color-border-spotlight,#33b0f5);--color-outline-focus-ring-positive:var(--ind-theme-color-outline-focus-ring-positive,#abe4d2);--color-text-default:var(--ind-theme-color-text-default,#1f2325);--color-text-accent-inverse:var(--ind-theme-color-text-accent-inverse,#542e00);--color-text-expert-strong:var(--ind-theme-color-text-expert-strong,#461000);--color-text-spotlight-strong:var(--ind-theme-color-text-spotlight-strong,#001c60);--color-transparent:var(--ind-theme-color-transparent,transparent);--color-current:var(--ind-theme-color-current,currentColor);--color-purple-100:var(--ind-color-purple-100,#f2f1fd);--color-purple-200:var(--ind-color-purple-200,#d9d5f8);--color-purple-300:var(--ind-color-purple-300,#c1b9f2);--color-purple-400:var(--ind-color-purple-400,#aa9ceb);--color-purple-500:var(--ind-color-purple-500,#9480e4);--color-purple-600:var(--ind-color-purple-600,#8063dc);--color-purple-700:var(--ind-color-purple-700,#6e46cf);--color-purple-800:var(--ind-color-purple-800,#5532a7);--color-purple-900:var(--ind-color-purple-900,#3f247e);--color-purple-1000:var(--ind-color-purple-1000,#291556);--color-purple-darkest:var(--ind-color-purple-1000,#291556);--color-purple-dark:var(--ind-color-purple-900,#3f247e);--color-purple:var(--ind-color-purple-700,#6e46cf);--color-purple-light:var(--ind-color-purple-200,#d9d5f8);--color-purple-lighter:var(--ind-color-purple-100,#f2f1fd);--color-peach-100:var(--ind-color-peach-100,#ffefe7);--color-peach-200:var(--ind-color-peach-200,#ffcfb7);--color-peach-300:var(--ind-color-peach-300,#f4b18e);--color-peach-400:var(--ind-color-peach-400,#d99876);--color-peach-500:var(--ind-color-peach-500,#b4856b);--color-peach-600:var(--ind-color-peach-600,#976f59);--color-peach-700:var(--ind-color-peach-700,#8d5232);--color-peach-800:var(--ind-color-peach-800,#753c1a);--color-peach-900:var(--ind-color-peach-900,#473227);--color-peach-1000:var(--ind-color-peach-1000,#461000);--color-peach-darkest:var(--ind-color-peach-1000,#461000);--color-peach-dark:var(--ind-color-peach-400,#d99876);--color-peach:var(--ind-color-peach-300,#f4b18e);--color-peach-light:var(--ind-color-peach-200,#ffcfb7);--color-peach-lighter:var(--ind-color-peach-100,#ffefe7);--color-grey-100:var(--ind-color-grey-100,#f2f2f2);--color-grey-200:var(--ind-color-grey-200,#d7d9da);--color-grey-300:var(--ind-color-grey-300,#b3b7c1);--color-grey-400:var(--ind-color-grey-400,#a4a7a9);--color-grey-500:var(--ind-color-grey-500,#8b9091);--color-grey-600:var(--ind-color-grey-600,#74787a);--color-grey-700:var(--ind-color-grey-700,#5d6263);--color-grey-800:var(--ind-color-grey-800,#4c4b4f);--color-grey-900:var(--ind-color-grey-900,#37363a);--color-grey-1000:var(--ind-color-grey-1000,#1f2325);--color-grey-darkest:var(--ind-color-grey-1000,#1f2325);--color-grey-dark:var(--ind-color-grey-600,#74787a);--color-grey:var(--ind-color-grey-400,#a4a7a9);--color-grey-light:var(--ind-color-grey-200,#d7d9da);--color-grey-lighter:var(--ind-color-grey-100,#f2f2f2);--color-blue-100:var(--ind-color-blue-100,#e5f4ff);--color-blue-200:var(--ind-color-blue-200,#b4dffd);--color-blue-300:var(--ind-color-blue-300,#7dc8fa);--color-blue-400:var(--ind-color-blue-400,#33b0f5);--color-blue-500:var(--ind-color-blue-500,#0097e0);--color-blue-600:var(--ind-color-blue-600,#007dc5);--color-blue-700:var(--ind-color-blue-700,#0063aa);--color-blue-800:var(--ind-color-blue-800,#004b90);--color-blue-900:var(--ind-color-blue-900,#003478);--color-blue-1000:var(--ind-color-blue-1000,#001c60);--color-blue-darkest:var(--ind-color-blue-1000,#001c60);--color-blue-dark:var(--ind-color-blue-600,#007dc5);--color-blue:var(--ind-color-blue-400,#33b0f5);--color-blue-light:var(--ind-color-blue-100,#e5f4ff);--color-green-100:var(--ind-color-green-100,#e4f6f0);--color-green-200:var(--ind-color-green-200,#abe4d2);--color-green-300:var(--ind-color-green-300,#6ed2b7);--color-green-400:var(--ind-color-green-400,#00bc9a);--color-green-500:var(--ind-color-green-500,#00a281);--color-green-600:var(--ind-color-green-600,#00886a);--color-green-700:var(--ind-color-green-700,#006e52);--color-green-800:var(--ind-color-green-800,#00563c);--color-green-900:var(--ind-color-green-900,#004028);--color-green-1000:var(--ind-color-green-1000,#002914);--color-green-darkest:var(--ind-color-green-1000,#002914);--color-green-dark:var(--ind-color-green-700,#006e52);--color-green:var(--ind-color-green-400,#00bc9a);--color-green-light:var(--ind-color-green-200,#abe4d2);--color-yellow-100:var(--ind-color-yellow-100,#fff2bd);--color-yellow-200:var(--ind-color-yellow-200,#fcd610);--color-yellow-300:var(--ind-color-yellow-300,#e3bd00);--color-yellow-400:var(--ind-color-yellow-400,#c8a300);--color-yellow-500:var(--ind-color-yellow-500,#b08a00);--color-yellow-600:var(--ind-color-yellow-600,#987200);--color-yellow-700:var(--ind-color-yellow-700,#7f5a00);--color-yellow-800:var(--ind-color-yellow-800,#684300);--color-yellow-900:var(--ind-color-yellow-900,#542e00);--color-yellow-1000:var(--ind-color-yellow-1000,#3e1800);--color-yellow-darkest:var(--ind-color-yellow-900,#542e00);--color-yellow-dark:var(--ind-color-yellow-300,#e3bd00);--color-yellow:var(--ind-color-yellow-200,#fcd610);--color-yellow-light:var(--ind-color-yellow-100,#fff2bd);--color-orange-100:var(--ind-color-orange-100,#fff1e6);--color-orange-200:var(--ind-color-orange-200,#ffd1a9);--color-orange-300:var(--ind-color-orange-300,#ffae66);--color-orange-400:var(--ind-color-orange-400,#f68c12);--color-orange-500:var(--ind-color-orange-500,#db7400);--color-orange-600:var(--ind-color-orange-600,#c05b00);--color-orange-700:var(--ind-color-orange-700,#a54300);--color-orange-800:var(--ind-color-orange-800,#8b2800);--color-orange-900:var(--ind-color-orange-900,#720a00);--color-orange-1000:var(--ind-color-orange-1000,#4f0000);--color-orange-darkest:var(--ind-color-orange-1000,#4f0000);--color-orange-dark:var(--ind-color-orange-400,#f68c12);--color-orange:var(--ind-color-orange-400,#f68c12);--color-orange-light:var(--ind-color-orange-200,#ffd1a9);--color-orange-lighter:var(--ind-color-orange-100,#fff1e6);--color-red-100:var(--ind-color-red-100,#ffeff0);--color-red-200:var(--ind-color-red-200,#ffcdd2);--color-red-300:var(--ind-color-red-300,#ffa8b3);--color-red-400:var(--ind-color-red-400,#ff7f94);--color-red-500:var(--ind-color-red-500,#fb4f74);--color-red-600:var(--ind-color-red-600,#e02f5e);--color-red-700:var(--ind-color-red-700,#b7254b);--color-red-800:var(--ind-color-red-800,#901b3a);--color-red-900:var(--ind-color-red-900,#6d1129);--color-red-1000:var(--ind-color-red-1000,#490819);--color-red-darkest:var(--ind-color-red-1000,#490819);--color-red-dark:var(--ind-color-red-700,#b7254b);--color-red:var(--ind-color-red-600,#e02f5e);--color-red-light:var(--ind-color-red-200,#ffcdd2);--animate-pulse-fast:pulse 1.5s cubic-bezier(0.4,0,0.6,1) infinite;--default-transition-duration:200ms;--default-transition-timing-function:cubic-bezier(0,0,0.2,1);--shadow-default:0 0 1px 0 rgba(0,0,0,.1),0 0 3px 0 rgba(0,0,0,.1),0 0 16px 4px rgba(0,0,0,.05)}html{scroll-behavior:smooth}body{@apply text-grey-darkest;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}.h1,h1{@apply text-3xl tablet:text-4xl text-purple-dark font-serif font-bold}.h2,h2{@apply text-2xl tablet:text-3xl text-purple-dark font-serif font-bold}.h3,h3{@apply text-xl tablet:text-2xl text-purple-dark font-serif font-bold}.h4,h4{@apply text-base tablet:text-xl text-purple-dark font-serif font-bold}.h5,h5{@apply text-base text-purple-dark font-semibold}strong{@apply font-semibold}.iconify{@apply block w-6 h-6 flex-shrink-0}
1
+ @import url("https://use.typekit.net/uxr2esn.css");@import "tailwindcss";@source "../components/**/*.{vue,js,ts}";:root{--ind-color-purple-100:#f2f1fd;--ind-color-purple-200:#d9d5f8;--ind-color-purple-300:#c1b9f2;--ind-color-purple-400:#aa9ceb;--ind-color-purple-500:#9480e4;--ind-color-purple-600:#8063dc;--ind-color-purple-700:#6e46cf;--ind-color-purple-800:#5532a7;--ind-color-purple-900:#3f247e;--ind-color-purple-1000:#291556;--ind-color-peach-100:#ffefe7;--ind-color-peach-200:#ffcfb7;--ind-color-peach-300:#f4b18e;--ind-color-peach-400:#d99876;--ind-color-peach-500:#b4856b;--ind-color-peach-600:#976f59;--ind-color-peach-700:#8d5232;--ind-color-peach-800:#753c1a;--ind-color-peach-900:#473227;--ind-color-peach-1000:#461000;--ind-color-grey-100:#f2f2f2;--ind-color-grey-200:#d7d9da;--ind-color-grey-300:#b3b7c1;--ind-color-grey-400:#a4a7a9;--ind-color-grey-500:#8b9091;--ind-color-grey-600:#74787a;--ind-color-grey-700:#5d6263;--ind-color-grey-800:#4c4b4f;--ind-color-grey-900:#37363a;--ind-color-grey-1000:#1f2325;--ind-color-blue-100:#e5f4ff;--ind-color-blue-200:#b4dffd;--ind-color-blue-300:#7dc8fa;--ind-color-blue-400:#33b0f5;--ind-color-blue-500:#0097e0;--ind-color-blue-600:#007dc5;--ind-color-blue-700:#0063aa;--ind-color-blue-800:#004b90;--ind-color-blue-900:#003478;--ind-color-blue-1000:#001c60;--ind-color-green-100:#e4f6f0;--ind-color-green-200:#abe4d2;--ind-color-green-300:#6ed2b7;--ind-color-green-400:#00bc9a;--ind-color-green-500:#00a281;--ind-color-green-600:#00886a;--ind-color-green-700:#006e52;--ind-color-green-800:#00563c;--ind-color-green-900:#004028;--ind-color-green-1000:#002914;--ind-color-yellow-100:#fff2bd;--ind-color-yellow-200:#fcd610;--ind-color-yellow-300:#e3bd00;--ind-color-yellow-400:#c8a300;--ind-color-yellow-500:#b08a00;--ind-color-yellow-600:#987200;--ind-color-yellow-700:#7f5a00;--ind-color-yellow-800:#684300;--ind-color-yellow-900:#542e00;--ind-color-yellow-1000:#3e1800;--ind-color-orange-100:#fff1e6;--ind-color-orange-200:#ffd1a9;--ind-color-orange-300:#ffae66;--ind-color-orange-400:#f68c12;--ind-color-orange-500:#db7400;--ind-color-orange-600:#c05b00;--ind-color-orange-700:#a54300;--ind-color-orange-800:#8b2800;--ind-color-orange-900:#720a00;--ind-color-orange-1000:#4f0000;--ind-color-red-100:#ffeff0;--ind-color-red-200:#ffcdd2;--ind-color-red-300:#ffa8b3;--ind-color-red-400:#ff7f94;--ind-color-red-500:#fb4f74;--ind-color-red-600:#e02f5e;--ind-color-red-700:#b7254b;--ind-color-red-800:#901b3a;--ind-color-red-900:#6d1129;--ind-color-red-1000:#490819;--ind-theme-color-background-interface:var(--ind-color-purple-100,#f2f1fd);--ind-theme-color-background-brand-primary-subtlest:var(--ind-color-purple-100,#f2f1fd);--ind-theme-color-background-brand-primary-subtler:var(--ind-color-purple-200,#d9d5f8);--ind-theme-color-background-brand-primary:var(--ind-color-purple-700,#6e46cf);--ind-theme-color-background-brand-primary-strong:var(--ind-color-purple-900,#3f247e);--ind-theme-color-background-brand-primary-strongest:var(--ind-color-purple-1000,#291556);--ind-theme-color-background-brand-secondary-subtlest:var(--ind-color-peach-100,#ffefe7);--ind-theme-color-background-brand-secondary-subtle:var(--ind-color-peach-200,#ffcfb7);--ind-theme-color-background-brand-secondary:var(--ind-color-peach-300,#f4b18e);--ind-theme-color-background-accent-subtlest:var(--ind-color-yellow-100,#fff2bd);--ind-theme-color-background-accent:var(--ind-color-yellow-200,#fcd610);--ind-theme-color-background-accent-hovered:var(--ind-color-yellow-300,#e3bd00);--ind-theme-color-background-positive-strong:var(--ind-color-green-400,#00bc9a);--ind-theme-color-background-negative-strong:var(--ind-color-red-600,#e02f5e);--ind-theme-color-background-warning:var(--ind-color-orange-100,#fff1e6);--ind-theme-color-background-warning-strong:var(--ind-color-orange-400,#f68c12);--ind-theme-color-background-spotlight:var(--ind-color-blue-100,#e5f4ff);--ind-theme-color-background-neutral-subtlest:var(--ind-color-grey-100,#f2f2f2);--ind-theme-color-background-neutral:var(--ind-color-grey-200,#d7d9da);--ind-theme-color-background-neutral-strong:var(--ind-color-grey-600,#74787a);--ind-theme-color-border-default-strong:var(--ind-color-grey-400,#a4a7a9);--ind-theme-color-border-spotlight:var(--ind-color-blue-400,#33b0f5);--ind-theme-color-outline-focus-ring-positive:var(--ind-color-green-200,#abe4d2);--ind-theme-color-text-default:var(--ind-color-grey-1000,#1f2325);--ind-theme-color-text-accent-inverse:var(--ind-color-yellow-900,#542e00);--ind-theme-color-text-expert-strong:var(--ind-color-peach-1000,#461000);--ind-theme-color-text-spotlight-strong:var(--ind-color-blue-1000,#001c60);--ind-theme-color-transparent:transparent;--ind-theme-color-current:currentColor}@theme{--container-mobile:320px;--container-tablet:768px;--container-desktop:1136px;--container-desktop-lg:1432px;--breakpoint-tablet:768px;--breakpoint-desktop:1136px;--breakpoint-desktop-lg:1432px;--font-sans:"proxima-nova",system-ui;--font-serif:"roboto-slab",system-ui;--text-xs:.75rem;--text-xs--line-height:1rem;--text-sm:.875rem;--text-sm--line-height:1.25rem;--text-base:1rem;--text-base--line-height:1.5rem;--text-lg:1.125rem;--text-lg--line-height:1.75rem;--text-xl:1.25rem;--text-xl--line-height:1.75rem;--text-2xl:1.5rem;--text-2xl--line-height:2rem;--text-3xl:2rem;--text-3xl--line-height:2.5rem;--text-4xl:2.5rem;--text-4xl--line-height:3rem;--text-5xl:3rem;--text-5xl--line-height:3.5rem;--color-interface:var(--ind-theme-color-background-interface,#f2f1fd);--color-brand-primary-subtlest:var(--ind-theme-color-background-brand-primary-subtlest,#f2f1fd);--color-brand-primary-subtler:var(--ind-theme-color-background-brand-primary-subtler,#d9d5f8);--color-brand-primary:var(--ind-theme-color-background-brand-primary,#6e46cf);--color-brand-primary-strong:var(--ind-theme-color-background-brand-primary-strong,#3f247e);--color-brand-primary-strongest:var(--ind-theme-color-background-brand-primary-strongest,#291556);--color-brand-secondary-subtlest:var(--ind-theme-color-background-brand-secondary-subtlest,#ffefe7);--color-brand-secondary-subtle:var(--ind-theme-color-background-brand-secondary-subtle,#ffcfb7);--color-brand-secondary:var(--ind-theme-color-background-brand-secondary,#f4b18e);--color-accent-subtlest:var(--ind-theme-color-background-accent-subtlest,#fff2bd);--color-accent:var(--ind-theme-color-background-accent,#fcd610);--color-accent-hovered:var(--ind-theme-color-background-accent-hovered,#e3bd00);--color-positive-strong:var(--ind-theme-color-background-positive-strong,#00bc9a);--color-negative-strong:var(--ind-theme-color-background-negative-strong,#e02f5e);--color-warning:var(--ind-theme-color-background-warning,#fff1e6);--color-warning-strong:var(--ind-theme-color-background-warning-strong,#f68c12);--color-spotlight:var(--ind-theme-color-background-spotlight,#e5f4ff);--color-neutral-subtlest:var(--ind-theme-color-background-neutral-subtlest,#f2f2f2);--color-neutral:var(--ind-theme-color-background-neutral,#d7d9da);--color-neutral-strong:var(--ind-theme-color-background-neutral-strong,#74787a);--color-border-default-strong:var(--ind-theme-color-border-default-strong,#a4a7a9);--color-border-spotlight:var(--ind-theme-color-border-spotlight,#33b0f5);--color-outline-focus-ring-positive:var(--ind-theme-color-outline-focus-ring-positive,#abe4d2);--color-text-default:var(--ind-theme-color-text-default,#1f2325);--color-text-accent-inverse:var(--ind-theme-color-text-accent-inverse,#542e00);--color-text-expert-strong:var(--ind-theme-color-text-expert-strong,#461000);--color-text-spotlight-strong:var(--ind-theme-color-text-spotlight-strong,#001c60);--color-transparent:var(--ind-theme-color-transparent,transparent);--color-current:var(--ind-theme-color-current,currentColor);--color-purple-100:var(--ind-color-purple-100,#f2f1fd);--color-purple-200:var(--ind-color-purple-200,#d9d5f8);--color-purple-300:var(--ind-color-purple-300,#c1b9f2);--color-purple-400:var(--ind-color-purple-400,#aa9ceb);--color-purple-500:var(--ind-color-purple-500,#9480e4);--color-purple-600:var(--ind-color-purple-600,#8063dc);--color-purple-700:var(--ind-color-purple-700,#6e46cf);--color-purple-800:var(--ind-color-purple-800,#5532a7);--color-purple-900:var(--ind-color-purple-900,#3f247e);--color-purple-1000:var(--ind-color-purple-1000,#291556);--color-purple-darkest:var(--ind-color-purple-1000,#291556);--color-purple-dark:var(--ind-color-purple-900,#3f247e);--color-purple:var(--ind-color-purple-700,#6e46cf);--color-purple-light:var(--ind-color-purple-200,#d9d5f8);--color-purple-lighter:var(--ind-color-purple-100,#f2f1fd);--color-peach-100:var(--ind-color-peach-100,#ffefe7);--color-peach-200:var(--ind-color-peach-200,#ffcfb7);--color-peach-300:var(--ind-color-peach-300,#f4b18e);--color-peach-400:var(--ind-color-peach-400,#d99876);--color-peach-500:var(--ind-color-peach-500,#b4856b);--color-peach-600:var(--ind-color-peach-600,#976f59);--color-peach-700:var(--ind-color-peach-700,#8d5232);--color-peach-800:var(--ind-color-peach-800,#753c1a);--color-peach-900:var(--ind-color-peach-900,#473227);--color-peach-1000:var(--ind-color-peach-1000,#461000);--color-peach-darkest:var(--ind-color-peach-1000,#461000);--color-peach-dark:var(--ind-color-peach-400,#d99876);--color-peach:var(--ind-color-peach-300,#f4b18e);--color-peach-light:var(--ind-color-peach-200,#ffcfb7);--color-peach-lighter:var(--ind-color-peach-100,#ffefe7);--color-grey-100:var(--ind-color-grey-100,#f2f2f2);--color-grey-200:var(--ind-color-grey-200,#d7d9da);--color-grey-300:var(--ind-color-grey-300,#b3b7c1);--color-grey-400:var(--ind-color-grey-400,#a4a7a9);--color-grey-500:var(--ind-color-grey-500,#8b9091);--color-grey-600:var(--ind-color-grey-600,#74787a);--color-grey-700:var(--ind-color-grey-700,#5d6263);--color-grey-800:var(--ind-color-grey-800,#4c4b4f);--color-grey-900:var(--ind-color-grey-900,#37363a);--color-grey-1000:var(--ind-color-grey-1000,#1f2325);--color-grey-darkest:var(--ind-color-grey-1000,#1f2325);--color-grey-dark:var(--ind-color-grey-600,#74787a);--color-grey:var(--ind-color-grey-400,#a4a7a9);--color-grey-light:var(--ind-color-grey-200,#d7d9da);--color-grey-lighter:var(--ind-color-grey-100,#f2f2f2);--color-blue-100:var(--ind-color-blue-100,#e5f4ff);--color-blue-200:var(--ind-color-blue-200,#b4dffd);--color-blue-300:var(--ind-color-blue-300,#7dc8fa);--color-blue-400:var(--ind-color-blue-400,#33b0f5);--color-blue-500:var(--ind-color-blue-500,#0097e0);--color-blue-600:var(--ind-color-blue-600,#007dc5);--color-blue-700:var(--ind-color-blue-700,#0063aa);--color-blue-800:var(--ind-color-blue-800,#004b90);--color-blue-900:var(--ind-color-blue-900,#003478);--color-blue-1000:var(--ind-color-blue-1000,#001c60);--color-blue-darkest:var(--ind-color-blue-1000,#001c60);--color-blue-dark:var(--ind-color-blue-600,#007dc5);--color-blue:var(--ind-color-blue-400,#33b0f5);--color-blue-light:var(--ind-color-blue-100,#e5f4ff);--color-green-100:var(--ind-color-green-100,#e4f6f0);--color-green-200:var(--ind-color-green-200,#abe4d2);--color-green-300:var(--ind-color-green-300,#6ed2b7);--color-green-400:var(--ind-color-green-400,#00bc9a);--color-green-500:var(--ind-color-green-500,#00a281);--color-green-600:var(--ind-color-green-600,#00886a);--color-green-700:var(--ind-color-green-700,#006e52);--color-green-800:var(--ind-color-green-800,#00563c);--color-green-900:var(--ind-color-green-900,#004028);--color-green-1000:var(--ind-color-green-1000,#002914);--color-green-darkest:var(--ind-color-green-1000,#002914);--color-green-dark:var(--ind-color-green-700,#006e52);--color-green:var(--ind-color-green-400,#00bc9a);--color-green-light:var(--ind-color-green-200,#abe4d2);--color-yellow-100:var(--ind-color-yellow-100,#fff2bd);--color-yellow-200:var(--ind-color-yellow-200,#fcd610);--color-yellow-300:var(--ind-color-yellow-300,#e3bd00);--color-yellow-400:var(--ind-color-yellow-400,#c8a300);--color-yellow-500:var(--ind-color-yellow-500,#b08a00);--color-yellow-600:var(--ind-color-yellow-600,#987200);--color-yellow-700:var(--ind-color-yellow-700,#7f5a00);--color-yellow-800:var(--ind-color-yellow-800,#684300);--color-yellow-900:var(--ind-color-yellow-900,#542e00);--color-yellow-1000:var(--ind-color-yellow-1000,#3e1800);--color-yellow-darkest:var(--ind-color-yellow-900,#542e00);--color-yellow-dark:var(--ind-color-yellow-300,#e3bd00);--color-yellow:var(--ind-color-yellow-200,#fcd610);--color-yellow-light:var(--ind-color-yellow-100,#fff2bd);--color-orange-100:var(--ind-color-orange-100,#fff1e6);--color-orange-200:var(--ind-color-orange-200,#ffd1a9);--color-orange-300:var(--ind-color-orange-300,#ffae66);--color-orange-400:var(--ind-color-orange-400,#f68c12);--color-orange-500:var(--ind-color-orange-500,#db7400);--color-orange-600:var(--ind-color-orange-600,#c05b00);--color-orange-700:var(--ind-color-orange-700,#a54300);--color-orange-800:var(--ind-color-orange-800,#8b2800);--color-orange-900:var(--ind-color-orange-900,#720a00);--color-orange-1000:var(--ind-color-orange-1000,#4f0000);--color-orange-darkest:var(--ind-color-orange-1000,#4f0000);--color-orange-dark:var(--ind-color-orange-400,#f68c12);--color-orange:var(--ind-color-orange-400,#f68c12);--color-orange-light:var(--ind-color-orange-200,#ffd1a9);--color-orange-lighter:var(--ind-color-orange-100,#fff1e6);--color-red-100:var(--ind-color-red-100,#ffeff0);--color-red-200:var(--ind-color-red-200,#ffcdd2);--color-red-300:var(--ind-color-red-300,#ffa8b3);--color-red-400:var(--ind-color-red-400,#ff7f94);--color-red-500:var(--ind-color-red-500,#fb4f74);--color-red-600:var(--ind-color-red-600,#e02f5e);--color-red-700:var(--ind-color-red-700,#b7254b);--color-red-800:var(--ind-color-red-800,#901b3a);--color-red-900:var(--ind-color-red-900,#6d1129);--color-red-1000:var(--ind-color-red-1000,#490819);--color-red-darkest:var(--ind-color-red-1000,#490819);--color-red-dark:var(--ind-color-red-700,#b7254b);--color-red:var(--ind-color-red-600,#e02f5e);--color-red-light:var(--ind-color-red-200,#ffcdd2);--animate-pulse-fast:pulse 1.5s cubic-bezier(0.4,0,0.6,1) infinite;--default-transition-duration:200ms;--default-transition-timing-function:cubic-bezier(0,0,0.2,1);--shadow-raised:0 1px 1px 0 rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.2);--shadow-floating:0 4px 8px 0 rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.2);--shadow-overlay:0 12px 16px 0 rgba(0,0,0,.2),0 0 1px 0 rgba(0,0,0,.2)}@utility grid-container{margin-inline:auto;max-width:var(--container-desktop-lg);padding-inline:--spacing(4);@variant tablet{padding-inline:--spacing(6)}@variant desktop{padding-inline:--spacing(8)}@variant desktop-lg{padding-inline:--spacing(10)}}@utility grid-main{@variant desktop{-moz-column-gap:--spacing(8);column-gap:--spacing(8);display:grid;grid-template-columns:repeat(12,minmax(0,1fr))}@variant desktop-lg{-moz-column-gap:--spacing(10);column-gap:--spacing(10)}}html{scroll-behavior:smooth}body{@apply text-text-default;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}.h1,h1{@apply text-3xl tablet:text-4xl text-brand-primary-strong font-serif font-bold}.h2,h2{@apply text-2xl tablet:text-3xl text-brand-primary-strong font-serif font-bold}.h3,h3{@apply text-xl tablet:text-2xl text-brand-primary-strong font-serif font-bold}.h4,h4{@apply text-base tablet:text-xl text-brand-primary-strong font-serif font-bold}.h5,h5{@apply text-base text-brand-primary-strong font-semibold}strong{@apply font-semibold}.link{@apply text-brand-primary underline underline-offset-4 decoration-1 hover:text-brand-primary-strong transition-colors cursor-pointer}.page-title{@apply pt-10 pb-6 tablet:pt-12 tablet:pb-8}.iconify{@apply block w-6 h-6 flex-shrink-0}:focus-visible{@apply outline-none ring-brand-primary-strong ring-offset-2 ring-offset-white focus-visible:ring-2 focus-visible:border-brand-primary}.v-collapse{@apply transition-all ease-in-out duration-400 transform-gpu}.v-collapse[data-collapse=expanded],.v-collapse[data-collapse=expanding]{@apply opacity-100}.v-collapse[data-collapse=collapsed],.v-collapse[data-collapse=collapsing]{@apply opacity-0}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}
@@ -3,7 +3,7 @@
3
3
  <Transition name="dialog-fade">
4
4
  <div
5
5
  v-if="isOpen"
6
- class="dialog fixed bottom-4 z-100 grid grid-rows-[auto_1fr_auto] rounded-xl shadow-default desktop:bottom-auto desktop:left-1/2 desktop:top-1/2 desktop:-translate-x-1/2 desktop:-translate-y-1/2"
6
+ class="dialog fixed bottom-4 z-100 grid grid-rows-[auto_1fr_auto] rounded-xl shadow-overlay desktop:bottom-auto desktop:left-1/2 desktop:top-1/2 desktop:-translate-x-1/2 desktop:-translate-y-1/2"
7
7
  :class="[classes, backgroundColorClass, sizeClasses]"
8
8
  role="dialog"
9
9
  aria-modal="true"
@@ -0,0 +1,33 @@
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
+ title: StringConstructor;
9
+ expanded: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ expandable: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ title: StringConstructor;
19
+ expanded: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ expandable: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ expanded: boolean;
29
+ expandable: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ type __VLS_Slots = {
32
+ default?: ((props: {}) => any) | undefined;
33
+ };
@@ -0,0 +1,45 @@
1
+ <template>
2
+ <div class="w-full bg-white shadow-raised rounded-xl transition-all">
3
+ <button class="group w-full flex items-center p-4 tablet:p-6" :class="{ 'cursor-pointer': expandable }" @click.prevent="toggle">
4
+ <h3 class="transition-all group-hover:underline group-hover:decoration-1 group-hover:underline-offset-4">{{ title }}</h3>
5
+
6
+ <div class="flex ml-auto rounded-full transition-all duration-300 ring-4 ring-transparent group-hover:bg-purple-200 group-hover:ring-purple/20 group-active:bg-purple/40 group-active:ring-purple/40">
7
+ <Icon v-if="expandable" name="eva:arrow-ios-downward-outline" class="text-purple transition-all duration-300 group-hover:text-purple-dark" :class="{ '-rotate-180' : expanded}" />
8
+ </div>
9
+ </button>
10
+
11
+ <Collapse :when="expanded" class="v-collapse">
12
+ <div class="p-4 pt-0 tablet:p-6 tablet:pt-0">
13
+ <slot />
14
+ </div>
15
+ </Collapse>
16
+ </div>
17
+ </template>
18
+
19
+ <script setup>
20
+ import { Collapse } from "vue-collapsed";
21
+ import { onMounted } from "vue";
22
+ const expanded = ref(false);
23
+ const props = defineProps({
24
+ title: String,
25
+ expanded: {
26
+ type: Boolean,
27
+ default: false
28
+ },
29
+ expandable: {
30
+ type: Boolean,
31
+ default: true
32
+ }
33
+ });
34
+ onMounted(() => {
35
+ if (!props.expandable || props.expanded) {
36
+ expanded.value = true;
37
+ }
38
+ });
39
+ const toggle = () => {
40
+ if (!props.expandable) {
41
+ return;
42
+ }
43
+ expanded.value = !expanded.value;
44
+ };
45
+ </script>
@@ -0,0 +1,33 @@
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
+ title: StringConstructor;
9
+ expanded: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ expandable: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ title: StringConstructor;
19
+ expanded: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ expandable: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ expanded: boolean;
29
+ expandable: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ type __VLS_Slots = {
32
+ default?: ((props: {}) => any) | undefined;
33
+ };
@@ -0,0 +1,33 @@
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
+ title: StringConstructor;
9
+ expanded: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ expandable: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ title: StringConstructor;
19
+ expanded: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ expandable: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ expanded: boolean;
29
+ expandable: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ type __VLS_Slots = {
32
+ default?: ((props: {}) => any) | undefined;
33
+ };
@@ -0,0 +1,45 @@
1
+ <template>
2
+ <div class="bg-white shadow-raised rounded-xl">
3
+ <button class="group flex items-center w-full pt-4 px-4 tablet:pt-6 tablet:px-6" :class="{ 'cursor-pointer': expandable }" @click.prevent="toggle">
4
+ <div class="font-serif font-semibold text-purple-dark line-clamp-1 text-left tablet:text-xl transition-all group-hover:underline group-hover:decoration-1 group-hover:underline-offset-4">{{ title }}</div>
5
+
6
+ <div class="flex ml-auto rounded-full transition-all duration-300 ring-4 ring-transparent group-hover:bg-purple-200 group-hover:ring-purple/20 group-active:bg-purple/40 group-active:ring-purple/40">
7
+ <Icon v-if="expandable" name="eva:arrow-ios-downward-outline" class="ml-auto text-purple transition-all duration-300 group-hover:text-purple-dark" :class="{ '-rotate-180' : expanded}" />
8
+ </div>
9
+ </button>
10
+
11
+ <div class="px-4 pb-4 tablet:px-6 tablet:pb-6">
12
+ <Collapse :when="expanded">
13
+ <slot />
14
+ </Collapse>
15
+ </div>
16
+ </div>
17
+ </template>
18
+
19
+ <script setup>
20
+ import { Collapse } from "vue-collapsed";
21
+ import { onMounted } from "vue";
22
+ const expanded = ref(false);
23
+ const props = defineProps({
24
+ title: String,
25
+ expanded: {
26
+ type: Boolean,
27
+ default: false
28
+ },
29
+ expandable: {
30
+ type: Boolean,
31
+ default: true
32
+ }
33
+ });
34
+ onMounted(() => {
35
+ if (!props.expandable || props.expanded) {
36
+ expanded.value = true;
37
+ }
38
+ });
39
+ const toggle = () => {
40
+ if (!props.expandable) {
41
+ return;
42
+ }
43
+ expanded.value = !expanded.value;
44
+ };
45
+ </script>
@@ -0,0 +1,33 @@
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
+ title: StringConstructor;
9
+ expanded: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ expandable: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ title: StringConstructor;
19
+ expanded: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ expandable: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ expanded: boolean;
29
+ expandable: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ type __VLS_Slots = {
32
+ default?: ((props: {}) => any) | undefined;
33
+ };
@@ -11,6 +11,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
11
11
  value: (StringConstructor | BooleanConstructor)[];
12
12
  checked: BooleanConstructor;
13
13
  advice: BooleanConstructor;
14
+ adviceLabel: StringConstructor;
14
15
  tooltip: BooleanConstructor;
15
16
  labelClasses: StringConstructor;
16
17
  disabled: BooleanConstructor;
@@ -26,6 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
26
27
  value: (StringConstructor | BooleanConstructor)[];
27
28
  checked: BooleanConstructor;
28
29
  advice: BooleanConstructor;
30
+ adviceLabel: StringConstructor;
29
31
  tooltip: BooleanConstructor;
30
32
  labelClasses: StringConstructor;
31
33
  disabled: BooleanConstructor;
@@ -19,7 +19,7 @@
19
19
 
20
20
  <div class="flex flex-col w-full">
21
21
  <div class="flex">
22
- <span :class="[{ 'font-semibold': slotPassed }, labelClasses]">{{ label }}</span>
22
+ <span :class="labelClasses">{{ label }}</span>
23
23
 
24
24
  <Icon
25
25
  v-if="tooltip"
@@ -27,7 +27,11 @@
27
27
  class="ml-2 cursor-pointer text-grey-dark"
28
28
  />
29
29
 
30
- <IndPill v-if="advice" />
30
+ <IndPill
31
+ v-if="advice"
32
+ :label="adviceLabel"
33
+ class="ml-2"
34
+ />
31
35
 
32
36
  <div
33
37
  v-if="number"
@@ -41,7 +45,6 @@
41
45
  </template>
42
46
 
43
47
  <script setup>
44
- import { useSlots } from "vue";
45
48
  defineOptions({
46
49
  name: "IndFormCheckbox"
47
50
  });
@@ -53,14 +56,13 @@ defineProps({
53
56
  value: [String, Boolean],
54
57
  checked: Boolean,
55
58
  advice: Boolean,
59
+ adviceLabel: String,
56
60
  tooltip: Boolean,
57
61
  labelClasses: String,
58
62
  disabled: Boolean,
59
63
  modelValue: Boolean,
60
64
  number: String
61
65
  });
62
- const slots = useSlots();
63
- const slotPassed = !!slots.default;
64
66
  </script>
65
67
 
66
68
  <style>
@@ -11,6 +11,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
11
11
  value: (StringConstructor | BooleanConstructor)[];
12
12
  checked: BooleanConstructor;
13
13
  advice: BooleanConstructor;
14
+ adviceLabel: StringConstructor;
14
15
  tooltip: BooleanConstructor;
15
16
  labelClasses: StringConstructor;
16
17
  disabled: BooleanConstructor;
@@ -26,6 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
26
27
  value: (StringConstructor | BooleanConstructor)[];
27
28
  checked: BooleanConstructor;
28
29
  advice: BooleanConstructor;
30
+ adviceLabel: StringConstructor;
29
31
  tooltip: BooleanConstructor;
30
32
  labelClasses: StringConstructor;
31
33
  disabled: BooleanConstructor;
@@ -0,0 +1,45 @@
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
+ id: StringConstructor;
9
+ name: StringConstructor;
10
+ label: StringConstructor;
11
+ value: StringConstructor;
12
+ disabled: BooleanConstructor;
13
+ advice: BooleanConstructor;
14
+ adviceLabel: StringConstructor;
15
+ tooltip: BooleanConstructor;
16
+ labelSecondary: StringConstructor;
17
+ price: NumberConstructor;
18
+ modelValue: BooleanConstructor;
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ focus: (...args: any[]) => void;
21
+ "update:modelValue": (...args: any[]) => void;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ id: StringConstructor;
24
+ name: StringConstructor;
25
+ label: StringConstructor;
26
+ value: StringConstructor;
27
+ disabled: BooleanConstructor;
28
+ advice: BooleanConstructor;
29
+ adviceLabel: StringConstructor;
30
+ tooltip: BooleanConstructor;
31
+ labelSecondary: StringConstructor;
32
+ price: NumberConstructor;
33
+ modelValue: BooleanConstructor;
34
+ }>> & Readonly<{
35
+ onFocus?: ((...args: any[]) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
37
+ }>, {
38
+ disabled: boolean;
39
+ advice: boolean;
40
+ tooltip: boolean;
41
+ modelValue: boolean;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
+ type __VLS_Slots = {
44
+ default?: ((props: {}) => any) | undefined;
45
+ };
@@ -0,0 +1,52 @@
1
+ <template>
2
+ <label class="checkbox group flex flex-col p-4 cursor-pointer border border-grey-light rounded-lg transition-all hover:border-grey" :class="{ '!border-green ring-1 ring-green' : modelValue }" :for="id">
3
+ <div class="flex pb-4">
4
+ <input
5
+ class="sr-only peer"
6
+ type="checkbox"
7
+ :id="id"
8
+ :name="name"
9
+ :value="value"
10
+ :ref="name"
11
+ :checked="modelValue"
12
+ :disabled="disabled"
13
+ @change="emit('update:modelValue', $event.target.checked)"
14
+ @focus="emit('focus', $event)"
15
+ />
16
+ <div class="checkbox-icon " />
17
+
18
+ <div class="flex flex-col w-full ml-2">
19
+ <div class="flex">
20
+ <span class="font-serif text-purple-dark font-bold" :class="{ 'text-grey-dark': disabled }">{{ label }}</span>
21
+
22
+ <Icon v-if="tooltip" name="eva:info-outline" class="ml-2 cursor-pointer text-grey-dark" />
23
+ </div>
24
+
25
+ <p v-if="labelSecondary" class="text-grey-dark">{{ labelSecondary }}</p>
26
+
27
+ <IndPriceQuote v-if="price" :price="price" :without-symbol="true" text-append=" per maand" class="font-semibold text-grey-darker" />
28
+
29
+ <IndPill v-if="advice" class="mt-1 self-start" :label="adviceLabel" />
30
+ </div>
31
+ </div>
32
+
33
+ <slot />
34
+ </label>
35
+ </template>
36
+
37
+ <script setup>
38
+ const emit = defineEmits(["update:modelValue", "focus"]);
39
+ defineProps({
40
+ id: String,
41
+ name: String,
42
+ label: String,
43
+ value: String,
44
+ disabled: Boolean,
45
+ advice: Boolean,
46
+ adviceLabel: String,
47
+ tooltip: Boolean,
48
+ labelSecondary: String,
49
+ price: Number,
50
+ modelValue: Boolean
51
+ });
52
+ </script>
@@ -0,0 +1,45 @@
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
+ id: StringConstructor;
9
+ name: StringConstructor;
10
+ label: StringConstructor;
11
+ value: StringConstructor;
12
+ disabled: BooleanConstructor;
13
+ advice: BooleanConstructor;
14
+ adviceLabel: StringConstructor;
15
+ tooltip: BooleanConstructor;
16
+ labelSecondary: StringConstructor;
17
+ price: NumberConstructor;
18
+ modelValue: BooleanConstructor;
19
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ focus: (...args: any[]) => void;
21
+ "update:modelValue": (...args: any[]) => void;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ id: StringConstructor;
24
+ name: StringConstructor;
25
+ label: StringConstructor;
26
+ value: StringConstructor;
27
+ disabled: BooleanConstructor;
28
+ advice: BooleanConstructor;
29
+ adviceLabel: StringConstructor;
30
+ tooltip: BooleanConstructor;
31
+ labelSecondary: StringConstructor;
32
+ price: NumberConstructor;
33
+ modelValue: BooleanConstructor;
34
+ }>> & Readonly<{
35
+ onFocus?: ((...args: any[]) => any) | undefined;
36
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
37
+ }>, {
38
+ disabled: boolean;
39
+ advice: boolean;
40
+ tooltip: boolean;
41
+ modelValue: boolean;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
+ type __VLS_Slots = {
44
+ default?: ((props: {}) => any) | undefined;
45
+ };
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <fieldset class="card w-full shrink-0 grow-0 mb-4 p-4 bg-white rounded-xl tablet:p-6 transition-all shadow-sm scroll-mt-6 tablet:scroll-mt-8" ref="sectionRef" :class="classesCard">
2
+ <fieldset class="card w-full shrink-0 grow-0 mb-4 p-4 bg-white rounded-xl tablet:p-6 transition-all shadow-raised scroll-mt-6 tablet:scroll-mt-8" ref="sectionRef" :class="classesCard">
3
3
  <header v-if="title" class="flex items-start border-b-grey-light" :class="classesHeader">
4
4
  <div v-if="step" class="hexagon w-7 h-7 tablet:w-8 tablet:h-8 mr-2 tablet:mr-4 z-10" :class="classesHexagon"></div>
5
5
 
@@ -26,6 +26,7 @@
26
26
 
27
27
  <script setup>
28
28
  import { Collapse } from "vue-collapsed";
29
+ import { computed, ref, watch } from "vue";
29
30
  const emit = defineEmits(["edit"]);
30
31
  const props = defineProps({
31
32
  title: String,
@@ -71,16 +71,22 @@
71
71
  <IndPill
72
72
  v-if="advice"
73
73
  :label="adviceLabel"
74
+ class="ml-2"
74
75
  />
75
76
 
76
77
  <div
77
78
  v-if="number"
78
79
  class="ml-auto text-grey-dark"
79
- >{{ number }}</div>
80
+ >
81
+ {{ number }}
82
+ </div>
83
+
80
84
  <div
81
85
  v-if="price && value === modelValue"
82
86
  class="ml-0 tablet:ml-auto text-grey-dark"
83
- >{{ price }}</div>
87
+ >
88
+ {{ price }}
89
+ </div>
84
90
  </div>
85
91
 
86
92
  <slot />