@ebrains/vue 0.0.1-alpha.1 → 0.2.0-alpha.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 (190) hide show
  1. package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +4 -0
  2. package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +1 -0
  3. package/arrow-right-9322ba8a-DBcxNU_p.js +3 -0
  4. package/arrow-right-9322ba8a-DHq-_PPe.mjs +6 -0
  5. package/bluesky-cc5edd2d-DaFQc-pr.js +12 -0
  6. package/bluesky-cc5edd2d-DfuDDO5h.mjs +15 -0
  7. package/chevron-down-6144c823-DWGlv9eV.mjs +13 -0
  8. package/chevron-down-6144c823-D_8976Ke.js +10 -0
  9. package/chevron-left-ca6c66e1-DANhLw_T.mjs +12 -0
  10. package/chevron-left-ca6c66e1-uCH5SUhm.js +9 -0
  11. package/chevron-right-b88ed2d4-C7dkTMvP.js +3 -0
  12. package/chevron-right-b88ed2d4-CgEZBvy7.mjs +6 -0
  13. package/chevron-up-c66bd477-ByW7R48t.js +10 -0
  14. package/chevron-up-c66bd477-CETJkshq.mjs +13 -0
  15. package/close-87fc0d63-Cbd-ScJr.js +3 -0
  16. package/close-87fc0d63-DtDU2HIU.mjs +6 -0
  17. package/color-0ba8ed56-BVeDdJAE.js +1 -0
  18. package/color-0ba8ed56-D-UJpBQL.mjs +207 -0
  19. package/color-primary-palette_6.entry-CfqMCd3g.mjs +300 -0
  20. package/color-primary-palette_6.entry-CoXWiKJ3.js +1 -0
  21. package/copy-03b72cb6-B_WCNQrG.mjs +6 -0
  22. package/copy-03b72cb6-CZAFAegx.js +3 -0
  23. package/correct-use-of-colors.entry-CfXsWbhB.js +1 -0
  24. package/correct-use-of-colors.entry-CotQESQa.mjs +59 -0
  25. package/eds-accordion.entry-BsT7Ved4.mjs +58 -0
  26. package/eds-accordion.entry-BvDNoDvv.js +4 -0
  27. package/eds-alert_28.entry-Ctl9tHqr.js +29465 -0
  28. package/eds-alert_28.entry-DbTB72ow.mjs +30921 -0
  29. package/eds-block-break.entry-B8gP4ig9.mjs +13 -0
  30. package/eds-block-break.entry-L9LG-PtO.js +1 -0
  31. package/eds-breadcrumb.entry-C6mAAYNs.js +1 -0
  32. package/eds-breadcrumb.entry-Dio_2hx4.mjs +114 -0
  33. package/eds-card-project.entry-CKYhNPPH.mjs +43 -0
  34. package/eds-card-project.entry-XK15egnP.js +1 -0
  35. package/eds-card-section.entry-B7jR75ty.js +1 -0
  36. package/eds-card-section.entry-x8CPk5NZ.mjs +33 -0
  37. package/eds-card-tags.entry-Bvn8dDXI.mjs +13 -0
  38. package/eds-card-tags.entry-CndclGXB.js +1 -0
  39. package/eds-card-tool.entry-DFuXjfhh.mjs +56 -0
  40. package/eds-card-tool.entry-DZqHML8u.js +1 -0
  41. package/eds-card-wrapper.entry-C_r0u0Fd.js +1 -0
  42. package/eds-card-wrapper.entry-DNnlCvMe.mjs +24 -0
  43. package/eds-code-block.entry-ClmjgThG.js +9 -0
  44. package/eds-code-block.entry-DwfHDe4j.mjs +1582 -0
  45. package/eds-components-section.entry-8sEheaoX.js +130 -0
  46. package/eds-components-section.entry-BSRNSdwF.mjs +244 -0
  47. package/eds-docs-palettes.entry-BlQEI2Bl.mjs +22 -0
  48. package/eds-docs-palettes.entry-Gi9kzOYC.js +1 -0
  49. package/eds-docs-tokens.entry-Bxzd9uSz.mjs +30 -0
  50. package/eds-docs-tokens.entry-G6O1zRxS.js +1 -0
  51. package/eds-footer.entry-9xXgg22T.mjs +29 -0
  52. package/eds-footer.entry-DqnRHQ32.js +1 -0
  53. package/eds-frame.entry-Bz-23eT7.js +1 -0
  54. package/eds-frame.entry-YVbNIAAz.mjs +74 -0
  55. package/eds-fullscreen-menu.entry-4kxB1p-j.mjs +74 -0
  56. package/eds-fullscreen-menu.entry-DwOubHgX.js +1 -0
  57. package/eds-icon-arrow-diagonal.entry-C06V6TIW.js +1 -0
  58. package/eds-icon-arrow-diagonal.entry-Ky6NoFbS.mjs +13 -0
  59. package/eds-icon-arrow-right.entry-BPHnm7pX.mjs +13 -0
  60. package/eds-icon-arrow-right.entry-Dv17zi29.js +1 -0
  61. package/eds-icon-bluesky.entry-7_AzEVLl.mjs +13 -0
  62. package/eds-icon-bluesky.entry-DQshm0EA.js +1 -0
  63. package/eds-icon-chevron-down.entry-BlnVbI1I.js +1 -0
  64. package/eds-icon-chevron-down.entry-DkcBkTRK.mjs +13 -0
  65. package/eds-icon-chevron-left.entry-BTxaVVnF.js +1 -0
  66. package/eds-icon-chevron-left.entry-BwhZiPKE.mjs +13 -0
  67. package/eds-icon-chevron-right.entry-BPKLFXW0.mjs +13 -0
  68. package/eds-icon-chevron-right.entry-c4irNhqS.js +1 -0
  69. package/eds-icon-chevron-up.entry-CFiZyc6u.js +1 -0
  70. package/eds-icon-chevron-up.entry-oja5yYhS.mjs +13 -0
  71. package/eds-icon-close.entry-5BdzrFmk.mjs +13 -0
  72. package/eds-icon-close.entry-DQD_dDo5.js +1 -0
  73. package/eds-icon-copy.entry-CQ237xrq.js +1 -0
  74. package/eds-icon-copy.entry-jpUaAQ7k.mjs +13 -0
  75. package/eds-icon-eu.entry-CjCnJWwP.js +1 -0
  76. package/eds-icon-eu.entry-gJ234Xni.mjs +13 -0
  77. package/eds-icon-facebook.entry-BHUSe9LK.js +1 -0
  78. package/eds-icon-facebook.entry-Ch94iA-s.mjs +13 -0
  79. package/eds-icon-gitlab.entry-B06LmNCU.mjs +13 -0
  80. package/eds-icon-gitlab.entry-j6RBYOBc.js +1 -0
  81. package/eds-icon-linkedin.entry-CMW1rKpG.mjs +13 -0
  82. package/eds-icon-linkedin.entry-DouHzclR.js +1 -0
  83. package/eds-icon-loader.entry-BlGbpEzt.js +1 -0
  84. package/eds-icon-loader.entry-Cx_ffiBq.mjs +13 -0
  85. package/eds-icon-mastodon.entry-C4ITVPfN.mjs +13 -0
  86. package/eds-icon-mastodon.entry-Cpl3lSng.js +1 -0
  87. package/eds-icon-menu.entry-BcPeEfV2.js +1 -0
  88. package/eds-icon-menu.entry-DvQARmJU.mjs +13 -0
  89. package/eds-icon-more.entry-BoAVOpyT.mjs +13 -0
  90. package/eds-icon-more.entry-m61loZHO.js +1 -0
  91. package/eds-icon-search.entry-BJMtVlnR.js +1 -0
  92. package/eds-icon-search.entry-D-nQvhug.mjs +13 -0
  93. package/eds-icon-success.entry-D8S7QlRm.mjs +13 -0
  94. package/eds-icon-success.entry-DvIchNgX.js +1 -0
  95. package/eds-icon-twitter.entry-CD1nT3iI.js +1 -0
  96. package/eds-icon-twitter.entry-DD48tnaV.mjs +13 -0
  97. package/eds-icon-user.entry-DDRH46_Z.js +1 -0
  98. package/eds-icon-user.entry-DSPBBAZa.mjs +13 -0
  99. package/eds-icon-youtube.entry-BRyOsCV-.mjs +13 -0
  100. package/eds-icon-youtube.entry-CfpQHgDF.js +1 -0
  101. package/eds-login.entry-CY0ZugpF.js +1 -0
  102. package/eds-login.entry-bC6f6bvF.mjs +46 -0
  103. package/eds-matomo-notice.entry-DGHq-ICP.mjs +91 -0
  104. package/eds-matomo-notice.entry-DanLI8VZ.js +1 -0
  105. package/eds-modal.entry-Bikh63fB.mjs +65 -0
  106. package/eds-modal.entry-TMxTmjgT.js +1 -0
  107. package/eds-navigator.entry-CUAf3hTM.js +1 -0
  108. package/eds-navigator.entry-D-fIKqub.mjs +33 -0
  109. package/eds-pagination.entry-C8g4pxcm.js +1 -0
  110. package/eds-pagination.entry-D6iJH84k.mjs +128 -0
  111. package/eds-rating.entry-B2lhi19L.mjs +40 -0
  112. package/eds-rating.entry-BdE-bKae.js +1 -0
  113. package/eds-section-core_2.entry-BRNJshCh.js +1 -0
  114. package/eds-section-core_2.entry-CqFyAWoq.mjs +39 -0
  115. package/eds-social-networks.entry-6VfWBLuR.js +1 -0
  116. package/eds-social-networks.entry-BgiRVGXx.mjs +50 -0
  117. package/eds-svg-repository.entry-BdZya_DA.js +192 -0
  118. package/eds-svg-repository.entry-qaL9fhLI.mjs +287 -0
  119. package/eds-tab.entry-BqqMdTQv.mjs +31 -0
  120. package/eds-tab.entry-C6q7naM_.js +1 -0
  121. package/eds-table.entry-BojRZdP2.mjs +112 -0
  122. package/eds-table.entry-ShWS4LWJ.js +1 -0
  123. package/eds-tabs-content.entry-D9b289Td.mjs +106 -0
  124. package/eds-tabs-content.entry-H__1SNbo.js +1 -0
  125. package/eds-tabs.entry-DGHlnSwh.js +1 -0
  126. package/eds-tabs.entry-KsWwc6xS.mjs +95 -0
  127. package/eds-tooltip.entry-BI1EvTiw.js +1 -0
  128. package/eds-tooltip.entry-ByxJjA_6.mjs +69 -0
  129. package/eu-9ddde93a-BFtIQw9B.js +28 -0
  130. package/eu-9ddde93a-ft4szvR5.mjs +31 -0
  131. package/facebook-9cb5c17f-BcUhbrj6.mjs +15 -0
  132. package/facebook-9cb5c17f-Y_gvQ682.js +12 -0
  133. package/generated/components.d.ts +0 -1
  134. package/incorrect-use-of-colors.entry-C7xABbpE.js +1 -0
  135. package/incorrect-use-of-colors.entry-DNOV6p4p.mjs +42 -0
  136. package/index-39c58238-BwYCDOHZ.mjs +44 -0
  137. package/index-39c58238-SQ-JC-LH.js +1 -0
  138. package/index-BGGkUjck.js +21 -0
  139. package/index-DQrtrXyM.mjs +3529 -0
  140. package/index.js +1 -21
  141. package/index.mjs +38 -2363
  142. package/keycloak-13893af6-BLzE1H6E.mjs +878 -0
  143. package/keycloak-13893af6-NiM3zoVg.js +9 -0
  144. package/linkedin-e8650abb-BkDrkjzY.js +26 -0
  145. package/linkedin-e8650abb-DYMdsale.mjs +29 -0
  146. package/loader-c9628637-ChpnbJkv.mjs +31 -0
  147. package/loader-c9628637-Vj8Wt1e8.js +28 -0
  148. package/logo-color-7f1fd803-CFgbXdt8.mjs +116 -0
  149. package/logo-color-7f1fd803-DRD3vZVn.js +113 -0
  150. package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +119 -0
  151. package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +116 -0
  152. package/logo-space.entry-DpgwdyOK.js +1 -0
  153. package/logo-space.entry-OauRHmO8.mjs +14 -0
  154. package/logo-variations-horizontal.entry-BG8fM5Bs.js +4 -0
  155. package/logo-variations-horizontal.entry-BicKkgRN.mjs +16 -0
  156. package/logo-variations-vertical.entry-CXVFf9-0.mjs +16 -0
  157. package/logo-variations-vertical.entry-DJ-IpAyZ.js +4 -0
  158. package/logo-white-no-bg-f382f86f-DXYn3NwV.js +1011 -0
  159. package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +1022 -0
  160. package/logo-wrong-usage.entry-7MfyIkPp.js +1 -0
  161. package/logo-wrong-usage.entry-CH7JMqbI.mjs +14 -0
  162. package/mastodon-3703ec61-C7iI4Hk0.mjs +15 -0
  163. package/mastodon-3703ec61-C9v6Olc-.js +12 -0
  164. package/menu-340ea948-BpnYX3gY.mjs +12 -0
  165. package/menu-340ea948-ZdelWVw3.js +9 -0
  166. package/mono-53f70232-DGi2XDlR.mjs +12 -0
  167. package/mono-53f70232-DgAsWvoQ.js +9 -0
  168. package/more-4449d549-D4HA1cRq.js +11 -0
  169. package/more-4449d549-rI9hOpEp.mjs +14 -0
  170. package/package.json +2 -2
  171. package/search-fbcd79c2-BMxCaeEk.js +10 -0
  172. package/search-fbcd79c2-rfV0PlHP.mjs +13 -0
  173. package/success-443809da-BD23vltm.mjs +19 -0
  174. package/success-443809da-BUEhLsAD.js +16 -0
  175. package/toastManager-d9eee791-CEYNwx25.mjs +30 -0
  176. package/toastManager-d9eee791-DvR_vUPI.js +1 -0
  177. package/token-list_3.entry-CVZDegic.js +1 -0
  178. package/token-list_3.entry-Ca9muGhp.mjs +247 -0
  179. package/token-ratios.entry-D3JWYlHy.mjs +25 -0
  180. package/token-ratios.entry-DGMJ2vJj.js +1 -0
  181. package/token-spacing.entry-CdrdqAOb.js +1 -0
  182. package/token-spacing.entry-CjITQ8pH.mjs +12 -0
  183. package/token-typography.entry-C8CdhyIM.js +2 -0
  184. package/token-typography.entry-DwUOTznz.mjs +213 -0
  185. package/twitter-ac21b505-CGWVGWM9.mjs +15 -0
  186. package/twitter-ac21b505-DDdHS4hB.js +12 -0
  187. package/user-71ebdc15-BBKQbcQD.js +14 -0
  188. package/user-71ebdc15-CoHlCtJg.mjs +17 -0
  189. package/youtube-efbfbdc4-BLTH1Jl9.js +12 -0
  190. package/youtube-efbfbdc4-BfySbfjR.mjs +15 -0
@@ -0,0 +1,95 @@
1
+ import { r as i, c as o, h as s, g as n } from "./index-DQrtrXyM.mjs";
2
+ import { s as b } from "./color-0ba8ed56-D-UJpBQL.mjs";
3
+ import { c as l } from "./index-39c58238-BwYCDOHZ.mjs";
4
+ const c = "", d = c, f = class {
5
+ constructor(e) {
6
+ i(this, e), this.tabChange = o(this, "tabChange", 7), this.tabCva = l([
7
+ "relative px-16 py-12",
8
+ "f-ui-03 whitespace-nowrap",
9
+ "effect-color",
10
+ "focus-visible:text-default hover:text-default",
11
+ "border-2",
12
+ "after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:border-3 after:border-accent after:opacity-0",
13
+ "outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100"
14
+ ], {
15
+ variants: {
16
+ position: {
17
+ left: "rounded-tl-lg border-r-0 pr-28 -mr-16 after:right-16",
18
+ right: "rounded-tr-lg border-l-0 pl-28 -ml-16 after:left-16",
19
+ center: "",
20
+ first: "rounded-t-lg"
21
+ },
22
+ active: {
23
+ false: "text-lighter bg-dark hover:bg-darker border-softest",
24
+ true: [
25
+ "bg-default text-default z-99",
26
+ "rounded-t-lg",
27
+ "before:content-[''] before:absolute before:-bottom-2 z-1 before:inset-x-0 before:h-3 before:bg-default",
28
+ "border-[#d2d2d2]"
29
+ ]
30
+ }
31
+ }
32
+ }), this.id = void 0, this.navAriaLabel = "Tabs", this.tabs = void 0, this.parsedTabs = [], this.activeIndex = -1;
33
+ }
34
+ componentWillLoad() {
35
+ this.parseTabs(), this.setActiveIndex(), this.tabChange.emit({ tabId: this.id, index: 0 });
36
+ }
37
+ parseTabs() {
38
+ try {
39
+ this.parsedTabs = JSON.parse(this.tabs);
40
+ } catch {
41
+ this.parsedTabs = [];
42
+ }
43
+ }
44
+ componentDidLoad() {
45
+ this.scrollToActiveTab();
46
+ }
47
+ setActiveIndex() {
48
+ this.activeIndex = this.parsedTabs.findIndex((e) => e.active);
49
+ }
50
+ scrollToActiveTab() {
51
+ var e;
52
+ const t = (e = this.tabContainer) === null || e === void 0 ? void 0 : e.querySelector("[data-tab-active]");
53
+ t && setTimeout(() => {
54
+ t.scrollIntoView({
55
+ inline: "center",
56
+ block: "nearest"
57
+ });
58
+ }, 316);
59
+ }
60
+ getTabOptions(e, t) {
61
+ const a = e ? "center" : this.activeIndex === -1 && t === 0 ? "first" : t < this.activeIndex ? "left" : "right";
62
+ return Object.assign({ class: this.tabCva({
63
+ active: e,
64
+ position: a
65
+ }), style: {
66
+ zIndex: `${e ? this.parsedTabs.length + 99 : a === "left" ? t : this.parsedTabs.length + 1 - t}`
67
+ } }, e ? { "data-tab-active": "true" } : {});
68
+ }
69
+ handleTabClick(e, t) {
70
+ this.activeIndex = e, this.parsedTabs = this.parsedTabs.map((a, r) => Object.assign(Object.assign({}, a), { active: r === e })), this.tabChange.emit({ tabId: this.id, index: e, name: t }), b({
71
+ category: "ui-component",
72
+ tag: this.el.tagName.toLowerCase(),
73
+ name: (t == null ? void 0 : t.toLowerCase()) || "",
74
+ action: "click"
75
+ });
76
+ }
77
+ render() {
78
+ return s("div", { key: "25078703609dbdaa2025013d0e266b169c880c50", id: `${this.id}`, class: "after:border-softest before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, s("div", { key: "8aa1b4ab1f15692c912db3ee39486a59d634c6a5", class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, s("nav", { key: "33728823ca0f039e1037a691da90b295cbe3f3ac", ref: (e) => this.tabContainer = e, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((e, t) => {
79
+ const a = this.getTabOptions(e.active, t);
80
+ return s("eds-tab", Object.assign({}, a, { label: e.label || e.ariaLabel, url: e.url, active: t === this.activeIndex, onClick: () => this.handleTabClick(t, e.label) }));
81
+ }))));
82
+ }
83
+ get el() {
84
+ return n(this);
85
+ }
86
+ static get watchers() {
87
+ return {
88
+ tabs: ["parseTabs"]
89
+ };
90
+ }
91
+ };
92
+ f.style = d;
93
+ export {
94
+ f as eds_tabs
95
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-BGGkUjck.js"),f=".relative{position:relative}.absolute{position:absolute}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.bg-stronger{background-color:var(--grey-900)}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.text-default{color:var(--black)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.-top-8{top:-0.5rem}.left-1\\/2{left:50%}.z-10{z-index:10}.block{display:block}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}",h=f,c=class{constructor(t){i.registerInstance(this,t),this.content=void 0,this.position="above",this.isVisible=!1,this.isPositioned=!1,this.tooltipStyle={top:"0px",left:"0px",transform:""}}async showTooltip(){await this.updateTooltipPosition(),this.isPositioned=!0,this.isVisible=!0}hideTooltip(){this.isVisible=!1,this.isPositioned=!1}handleKeyPress(t){t.key==="Escape"&&(this.isVisible=!1,this.isPositioned=!1)}updateTooltipPosition(){var t,o;const s=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot");if(!s)return;const n=((s==null?void 0:s.assignedNodes({flatten:!0}))||[]).find(e=>e instanceof HTMLElement);if(n){const e=n.getBoundingClientRect(),a=(o=this.el.shadowRoot)===null||o===void 0?void 0:o.querySelector('[role="tooltip"]');if(a){const d=a.offsetWidth,p=a.offsetHeight;let r=0,l=0;switch(this.position){case"above":r=window.scrollY-p-8,l=e.left+e.width/2-d/2;break;case"below":r=p-window.scrollY+18,l=e.left+e.width/2-d/2;break}this.tooltipStyle={top:`${r}px`,left:`${l}px`,transform:"translateX(0)"}}}}render(){return i.h("div",{key:"5edce5e2ca66ef992ad22604a5017e5ab02f846b",class:"relative"},i.h("slot",{key:"74c9ef5978e023a45eb9c25c18f95f1875c19b13"}),this.isVisible&&this.isPositioned&&this.content&&i.h("div",{key:"4cc3ea40bd81308eb7685b5c1065e8bd30f99191",class:"rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6",role:"tooltip",style:{top:this.tooltipStyle.top,left:this.tooltipStyle.left,transform:this.tooltipStyle.transform}},this.content))}get el(){return i.getElement(this)}};c.style=h;exports.eds_tooltip=c;
@@ -0,0 +1,69 @@
1
+ import { r as f, h as l, g as c } from "./index-DQrtrXyM.mjs";
2
+ const h = ".relative{position:relative}.absolute{position:absolute}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.bg-stronger{background-color:var(--grey-900)}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.text-default{color:var(--black)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.-top-8{top:-0.5rem}.left-1\\/2{left:50%}.z-10{z-index:10}.block{display:block}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}", w = h, v = class {
3
+ constructor(t) {
4
+ f(this, t), this.content = void 0, this.position = "above", this.isVisible = !1, this.isPositioned = !1, this.tooltipStyle = { top: "0px", left: "0px", transform: "" };
5
+ }
6
+ /**
7
+ * Show the tooltip and update its position.
8
+ */
9
+ async showTooltip() {
10
+ await this.updateTooltipPosition(), this.isPositioned = !0, this.isVisible = !0;
11
+ }
12
+ /**
13
+ * Hide the tooltip.
14
+ */
15
+ hideTooltip() {
16
+ this.isVisible = !1, this.isPositioned = !1;
17
+ }
18
+ /**
19
+ * Hide the tooltip when the `Escape` key is pressed.
20
+ */
21
+ handleKeyPress(t) {
22
+ t.key === "Escape" && (this.isVisible = !1, this.isPositioned = !1);
23
+ }
24
+ /**
25
+ * Update the tooltip's position dynamically based on the slotted element's dimensions and position.
26
+ */
27
+ updateTooltipPosition() {
28
+ var t, s;
29
+ const i = (t = this.el.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector("slot");
30
+ if (!i)
31
+ return;
32
+ const n = ((i == null ? void 0 : i.assignedNodes({ flatten: !0 })) || []).find((e) => e instanceof HTMLElement);
33
+ if (n) {
34
+ const e = n.getBoundingClientRect(), o = (s = this.el.shadowRoot) === null || s === void 0 ? void 0 : s.querySelector('[role="tooltip"]');
35
+ if (o) {
36
+ const d = o.offsetWidth, p = o.offsetHeight;
37
+ let a = 0, r = 0;
38
+ switch (this.position) {
39
+ case "above":
40
+ a = window.scrollY - p - 8, r = e.left + e.width / 2 - d / 2;
41
+ break;
42
+ case "below":
43
+ a = p - window.scrollY + 18, r = e.left + e.width / 2 - d / 2;
44
+ break;
45
+ }
46
+ this.tooltipStyle = {
47
+ top: `${a}px`,
48
+ left: `${r}px`,
49
+ transform: "translateX(0)"
50
+ // No additional horizontal adjustment needed
51
+ };
52
+ }
53
+ }
54
+ }
55
+ render() {
56
+ return l("div", { key: "5edce5e2ca66ef992ad22604a5017e5ab02f846b", class: "relative" }, l("slot", { key: "74c9ef5978e023a45eb9c25c18f95f1875c19b13" }), this.isVisible && this.isPositioned && this.content && l("div", { key: "4cc3ea40bd81308eb7685b5c1065e8bd30f99191", class: "rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6", role: "tooltip", style: {
57
+ top: this.tooltipStyle.top,
58
+ left: this.tooltipStyle.left,
59
+ transform: this.tooltipStyle.transform
60
+ } }, this.content));
61
+ }
62
+ get el() {
63
+ return c(this);
64
+ }
65
+ };
66
+ v.style = w;
67
+ export {
68
+ v as eds_tooltip
69
+ };
@@ -0,0 +1,28 @@
1
+ "use strict";const e=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-eu" viewBox="0 0 640 480">
2
+ <defs>
3
+ <g id="d">
4
+ <g id="b">
5
+ <path id="a" d="m0-1-.3 1 .5.1z"/>
6
+ <use xlink:href="#a" transform="scale(-1 1)"/>
7
+ </g>
8
+ <g id="c">
9
+ <use xlink:href="#b" transform="rotate(72)"/>
10
+ <use xlink:href="#b" transform="rotate(144)"/>
11
+ </g>
12
+ <use xlink:href="#c" transform="scale(-1 1)"/>
13
+ </g>
14
+ </defs>
15
+ <path fill="#039" d="M0 0h640v480H0z"/>
16
+ <g fill="#fc0" transform="translate(320 242.3) scale(23.7037)">
17
+ <use xlink:href="#d" width="100%" height="100%" y="-6"/>
18
+ <use xlink:href="#d" width="100%" height="100%" y="6"/>
19
+ <g id="e">
20
+ <use xlink:href="#d" width="100%" height="100%" x="-6"/>
21
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(-144 -2.3 -2.1)"/>
22
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(144 -2.1 -2.3)"/>
23
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -4.7 -2)"/>
24
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -5 .5)"/>
25
+ </g>
26
+ <use xlink:href="#e" width="100%" height="100%" transform="scale(-1 1)"/>
27
+ </g>
28
+ </svg>`;exports.euSvg=e;
@@ -0,0 +1,31 @@
1
+ const e = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-eu" viewBox="0 0 640 480">
2
+ <defs>
3
+ <g id="d">
4
+ <g id="b">
5
+ <path id="a" d="m0-1-.3 1 .5.1z"/>
6
+ <use xlink:href="#a" transform="scale(-1 1)"/>
7
+ </g>
8
+ <g id="c">
9
+ <use xlink:href="#b" transform="rotate(72)"/>
10
+ <use xlink:href="#b" transform="rotate(144)"/>
11
+ </g>
12
+ <use xlink:href="#c" transform="scale(-1 1)"/>
13
+ </g>
14
+ </defs>
15
+ <path fill="#039" d="M0 0h640v480H0z"/>
16
+ <g fill="#fc0" transform="translate(320 242.3) scale(23.7037)">
17
+ <use xlink:href="#d" width="100%" height="100%" y="-6"/>
18
+ <use xlink:href="#d" width="100%" height="100%" y="6"/>
19
+ <g id="e">
20
+ <use xlink:href="#d" width="100%" height="100%" x="-6"/>
21
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(-144 -2.3 -2.1)"/>
22
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(144 -2.1 -2.3)"/>
23
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -4.7 -2)"/>
24
+ <use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -5 .5)"/>
25
+ </g>
26
+ <use xlink:href="#e" width="100%" height="100%" transform="scale(-1 1)"/>
27
+ </g>
28
+ </svg>`;
29
+ export {
30
+ e
31
+ };
@@ -0,0 +1,15 @@
1
+ const o = ` <svg
2
+ width="20"
3
+ height="20"
4
+ viewBox="0 0 20 20"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ d="M10.9481 19.9556C16.0263 19.4781 20 15.2031 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 14.7129 3.26027 18.6643 7.64847 19.722V12.0931H6V9.36828H7.64847V7.73228C7.64847 5.50935 8.5793 4.1875 11.2239 4.1875H13.4256V6.91266H12.0494C11.0199 6.91266 10.9518 7.29347 10.9518 8.00415L10.9481 9.36797H13.4412L13.1494 12.0928H10.9481V19.9556Z"
10
+ fill="currentColor"
11
+ />
12
+ </svg>`;
13
+ export {
14
+ o as f
15
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";const o=` <svg
2
+ width="20"
3
+ height="20"
4
+ viewBox="0 0 20 20"
5
+ fill="none"
6
+ xmlns="http://www.w3.org/2000/svg"
7
+ >
8
+ <path
9
+ d="M10.9481 19.9556C16.0263 19.4781 20 15.2031 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 14.7129 3.26027 18.6643 7.64847 19.722V12.0931H6V9.36828H7.64847V7.73228C7.64847 5.50935 8.5793 4.1875 11.2239 4.1875H13.4256V6.91266H12.0494C11.0199 6.91266 10.9518 7.29347 10.9518 8.00415L10.9481 9.36797H13.4412L13.1494 12.0928H10.9481V19.9556Z"
10
+ fill="currentColor"
11
+ />
12
+ </svg>`;exports.facebook=o;
@@ -1,5 +1,4 @@
1
1
  import { JSX } from '../../../../dist/packages/components';
2
-
3
2
  export declare const EdsAccordion: import('vue').DefineSetupFnComponent<JSX.EdsAccordion & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsAccordion & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
4
3
  export declare const EdsAlert: import('vue').DefineSetupFnComponent<JSX.EdsAlert & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsAlert & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
5
4
  export declare const EdsAvatar: import('vue').DefineSetupFnComponent<JSX.EdsAvatar & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsAvatar & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BGGkUjck.js"),a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#C461FF"},{background:"#5D3DF9"}],o=[{background:"#FFA543"},{background:"#FF4D68"}],s=[{background:"#3FA9F5"},...d,...o],l=class{constructor(c){e.registerInstance(this,c)}render(){return e.h("div",{key:"024316623703e89a7d5d226a75c25c145be9b2c6",class:"container"},e.h("p",{key:"c2ddb12f2d87bf1c5bb7f49bcf2b76d42ccfd310",class:"f-body-01"},"Each of the four colour tones cannot be mixed in the same composition."),e.h("div",{key:"c5f1acb20614d5732836240dd65b23a8dd074447",class:"flex"},e.h("div",{key:"cb2fb1c0355b744e53977c573383989be12fe1ad",class:"w-full"},e.h("ul",{key:"9ceb752231d8a7764221d45653c4ef73fad4573d",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map(c=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}}))))),e.h("div",{key:"494eaadc1547f91e11d93655b91424f98de6a635",class:"w-full"},e.h("ul",{key:"51de6e25df144ab9014ca95ad645a437b6469441",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map(c=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:c.background}})))))))}};exports.incorrect_use_of_colors=l;
@@ -0,0 +1,42 @@
1
+ import { r as a, h as c } from "./index-DQrtrXyM.mjs";
2
+ const d = [
3
+ {
4
+ background: "#9CE142"
5
+ },
6
+ {
7
+ background: "#00C959"
8
+ },
9
+ {
10
+ background: "#00A595"
11
+ }
12
+ ], s = [
13
+ {
14
+ background: "#C461FF"
15
+ },
16
+ {
17
+ background: "#5D3DF9"
18
+ }
19
+ ], o = [
20
+ {
21
+ background: "#FFA543"
22
+ },
23
+ {
24
+ background: "#FF4D68"
25
+ }
26
+ ], l = [
27
+ {
28
+ background: "#3FA9F5"
29
+ },
30
+ ...s,
31
+ ...o
32
+ ], n = class {
33
+ constructor(e) {
34
+ a(this, e);
35
+ }
36
+ render() {
37
+ return c("div", { key: "024316623703e89a7d5d226a75c25c145be9b2c6", class: "container" }, c("p", { key: "c2ddb12f2d87bf1c5bb7f49bcf2b76d42ccfd310", class: "f-body-01" }, "Each of the four colour tones cannot be mixed in the same composition."), c("div", { key: "c5f1acb20614d5732836240dd65b23a8dd074447", class: "flex" }, c("div", { key: "cb2fb1c0355b744e53977c573383989be12fe1ad", class: "w-full" }, c("ul", { key: "9ceb752231d8a7764221d45653c4ef73fad4573d", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((e) => c("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, c("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: e.background } }))))), c("div", { key: "494eaadc1547f91e11d93655b91424f98de6a635", class: "w-full" }, c("ul", { key: "51de6e25df144ab9014ca95ad645a437b6469441", class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, l.map((e) => c("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, c("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: e.background } })))))));
38
+ }
39
+ };
40
+ export {
41
+ n as incorrect_use_of_colors
42
+ };
@@ -0,0 +1,44 @@
1
+ function m(n) {
2
+ var e, t, l = "";
3
+ if (typeof n == "string" || typeof n == "number") l += n;
4
+ else if (typeof n == "object") if (Array.isArray(n)) for (e = 0; e < n.length; e++) n[e] && (t = m(n[e])) && (l && (l += " "), l += t);
5
+ else for (e in n) n[e] && (l && (l += " "), l += e);
6
+ return l;
7
+ }
8
+ function j() {
9
+ for (var n, e, t = 0, l = ""; t < arguments.length; ) (n = arguments[t++]) && (e = m(n)) && (l && (l += " "), l += e);
10
+ return l;
11
+ }
12
+ const f = (n) => typeof n == "boolean" ? "".concat(n) : n === 0 ? "0" : n, y = j, A = (n, e) => (t) => {
13
+ var l;
14
+ if ((e == null ? void 0 : e.variants) == null) return y(n, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
15
+ const { variants: d, defaultVariants: u } = e, N = Object.keys(d).map((a) => {
16
+ const r = t == null ? void 0 : t[a], s = u == null ? void 0 : u[a];
17
+ if (r === null) return null;
18
+ const i = f(r) || f(s);
19
+ return d[a][i];
20
+ }), v = t && Object.entries(t).reduce((a, r) => {
21
+ let [s, i] = r;
22
+ return i === void 0 || (a[s] = i), a;
23
+ }, {}), V = e == null || (l = e.compoundVariants) === null || l === void 0 ? void 0 : l.reduce((a, r) => {
24
+ let { class: s, className: i, ...b } = r;
25
+ return Object.entries(b).every((C) => {
26
+ let [c, o] = C;
27
+ return Array.isArray(o) ? o.includes({
28
+ ...u,
29
+ ...v
30
+ }[c]) : {
31
+ ...u,
32
+ ...v
33
+ }[c] === o;
34
+ }) ? [
35
+ ...a,
36
+ s,
37
+ i
38
+ ] : a;
39
+ }, []);
40
+ return y(n, N, V, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
41
+ };
42
+ export {
43
+ A as c
44
+ };
@@ -0,0 +1 @@
1
+ "use strict";function m(n){var e,t,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(t=m(n[e]))&&(l&&(l+=" "),l+=t);else for(e in n)n[e]&&(l&&(l+=" "),l+=e);return l}function j(){for(var n,e,t=0,l="";t<arguments.length;)(n=arguments[t++])&&(e=m(n))&&(l&&(l+=" "),l+=e);return l}const f=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,y=j,A=(n,e)=>t=>{var l;if((e==null?void 0:e.variants)==null)return y(n,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:d,defaultVariants:u}=e,N=Object.keys(d).map(a=>{const r=t==null?void 0:t[a],s=u==null?void 0:u[a];if(r===null)return null;const i=f(r)||f(s);return d[a][i]}),v=t&&Object.entries(t).reduce((a,r)=>{let[s,i]=r;return i===void 0||(a[s]=i),a},{}),V=e==null||(l=e.compoundVariants)===null||l===void 0?void 0:l.reduce((a,r)=>{let{class:s,className:i,...b}=r;return Object.entries(b).every(C=>{let[c,o]=C;return Array.isArray(o)?o.includes({...u,...v}[c]):{...u,...v}[c]===o})?[...a,s,i]:a},[]);return y(n,N,V,t==null?void 0:t.class,t==null?void 0:t.className)};exports.cva=A;