@ebrains/react 2.2.0 → 2.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 (84) hide show
  1. package/color-primary-palette_6.entry.esm.js +106 -106
  2. package/components-section.entry.esm.js +1 -1
  3. package/correct-use-of-colors.entry.esm.js +33 -33
  4. package/docs-palettes.entry.esm.js +1 -1
  5. package/docs-tokens.entry.esm.js +1 -1
  6. package/{eds-accordion_34.entry.esm.js → eds-accordion_36.entry.esm.js} +65 -43
  7. package/eds-app-root.entry.esm.js +4 -4
  8. package/eds-card-desc_2.entry.esm.js +4 -4
  9. package/eds-card-generic.entry.esm.js +12 -9
  10. package/eds-card-project.entry.esm.js +10 -10
  11. package/eds-card-section.entry.esm.js +2 -2
  12. package/eds-card-tags.entry.esm.js +1 -1
  13. package/eds-card-tool.entry.esm.js +4 -4
  14. package/eds-cookies-preference.entry.esm.js +2 -2
  15. package/eds-feedback.entry.esm.js +5 -5
  16. package/eds-footer.entry.esm.js +12 -12
  17. package/eds-frame.entry.esm.js +4 -4
  18. package/eds-gauge.entry.esm.js +4 -4
  19. package/eds-icon-arrow-diagonal.entry.esm.js +1 -1
  20. package/eds-icon-arrow-right.entry.esm.js +1 -1
  21. package/eds-icon-bin.entry.esm.js +1 -1
  22. package/eds-icon-bluesky.entry.esm.js +1 -1
  23. package/eds-icon-bookmark.entry.esm.js +1 -1
  24. package/eds-icon-chevron-down.entry.esm.js +1 -1
  25. package/eds-icon-chevron-left.entry.esm.js +1 -1
  26. package/eds-icon-chevron-right.entry.esm.js +1 -1
  27. package/eds-icon-chevron-up.entry.esm.js +1 -1
  28. package/eds-icon-clone.entry.esm.js +1 -1
  29. package/eds-icon-close.entry.esm.js +1 -1
  30. package/eds-icon-copy.entry.esm.js +1 -1
  31. package/eds-icon-download.entry.esm.js +1 -1
  32. package/eds-icon-draft.entry.esm.js +1 -1
  33. package/eds-icon-edit.entry.esm.js +1 -1
  34. package/eds-icon-eu.entry.esm.js +1 -1
  35. package/eds-icon-external.entry.esm.js +1 -1
  36. package/eds-icon-facebook.entry.esm.js +1 -1
  37. package/eds-icon-gitlab.entry.esm.js +1 -1
  38. package/eds-icon-linkedin.entry.esm.js +1 -1
  39. package/eds-icon-loader.entry.esm.js +1 -1
  40. package/eds-icon-mastodon.entry.esm.js +1 -1
  41. package/eds-icon-menu.entry.esm.js +1 -1
  42. package/eds-icon-minus.entry.esm.js +1 -1
  43. package/eds-icon-more.entry.esm.js +1 -1
  44. package/eds-icon-paper.entry.esm.js +1 -1
  45. package/eds-icon-plus.entry.esm.js +1 -1
  46. package/eds-icon-portal.entry.esm.js +1 -1
  47. package/eds-icon-private.entry.esm.js +1 -1
  48. package/eds-icon-public.entry.esm.js +1 -1
  49. package/eds-icon-search.entry.esm.js +1 -1
  50. package/eds-icon-star.entry.esm.js +1 -1
  51. package/eds-icon-start.entry.esm.js +1 -1
  52. package/eds-icon-success.entry.esm.js +1 -1
  53. package/eds-icon-thumbs-down.entry.esm.js +1 -1
  54. package/eds-icon-thumbs-up.entry.esm.js +1 -1
  55. package/eds-icon-tutorial.entry.esm.js +1 -1
  56. package/eds-icon-twitter.entry.esm.js +1 -1
  57. package/eds-icon-unknown.entry.esm.js +1 -1
  58. package/eds-icon-updown.entry.esm.js +1 -1
  59. package/eds-icon-user.entry.esm.js +1 -1
  60. package/eds-icon-view.entry.esm.js +1 -1
  61. package/eds-icon-youtube.entry.esm.js +1 -1
  62. package/eds-modal.entry.esm.js +10 -10
  63. package/eds-progress-bar.entry.esm.js +4 -4
  64. package/eds-section-core_2.entry.esm.js +5 -5
  65. package/eds-social-networks.entry.esm.js +3 -3
  66. package/eds-timeline.entry.esm.js +4 -4
  67. package/eds-toast-manager.entry.esm.js +1 -1
  68. package/eds-trl.entry.esm.js +2 -2
  69. package/incorrect-use-of-colors.entry.esm.js +8 -8
  70. package/index.esm.js +1 -1
  71. package/index.esm2.js +7 -8
  72. package/logo-space.entry.esm.js +9 -9
  73. package/logo-variations-horizontal_2.entry.esm.js +28 -28
  74. package/logo-variations-tabs.entry.esm.js +1 -1
  75. package/logo-wrong-usage.entry.esm.js +25 -25
  76. package/package.json +1 -1
  77. package/src/components.d.ts +1 -0
  78. package/src/generated/components.d.ts +0 -1
  79. package/svg-repository.entry.esm.js +2 -2
  80. package/token-list_3.entry.esm.js +5 -5
  81. package/token-ratios.entry.esm.js +3 -3
  82. package/token-spacing.entry.esm.js +26 -26
  83. package/token-typography.entry.esm.js +2 -2
  84. package/eds-spinner.entry.esm.js +0 -104
@@ -12,33 +12,33 @@ const LogoSpace = class {
12
12
  }
13
13
  render() {
14
14
  return h("div", {
15
- key: '2ff3cdb12cbd61fc4053418d1a678409c05755f2',
15
+ key: 'b07b6c2b9e042c3c330de470cf2e792285362a0f',
16
16
  class: "container"
17
17
  }, h("ul", {
18
- key: 'abfc33d14841a457959f5b15e8542465e8a0f883',
18
+ key: '40cb4cca1a4b42026becc95a46a380e23ed77723',
19
19
  class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
20
20
  }, h("li", {
21
- key: 'd81281a2d146a19d036678cb794f5224236ce521',
21
+ key: 'aabdf6b8bf59cd755976ae99b79dca074e904c71',
22
22
  class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
23
23
  }, h("div", {
24
- key: '9d3774468a2b09098b84a8354683b2c6940491f5',
24
+ key: '4f3b6da2c7f238b814c8a8537d6246215e935a26',
25
25
  class: "logo-container mx-auto w-[300px]",
26
26
  innerHTML: vLogoMargins
27
27
  })), h("li", {
28
- key: 'cb4d4a3ff951b25fba627bd98cc1319dcb803158',
28
+ key: 'b8ee9f87dc5140b964f20600cad7ec65dc6c9837',
29
29
  class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
30
30
  }, h("div", {
31
- key: 'fa2f563d8ad8100b6d12c626f41b4552d99c743e',
31
+ key: 'ac4e8c0cdd8f2f206f9ead55806b32425279c8ee',
32
32
  class: "text-center mt-16"
33
33
  }, h("p", {
34
- key: 'bda0bb099f9e82b9462bee494f7d417bdd9984b9',
34
+ key: '0db3cdd9c348fa3855f995363fc3cd872b6da2c4',
35
35
  class: "f-body-01"
36
36
  }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", {
37
- key: '92b100f67e3a7dd84d817b5dbc8cdfe76d6b2408',
37
+ key: '9bd39257f807324aa45013009ebbe08c1a8b2ee7',
38
38
  data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]',
39
39
  config: '{\n "Media": { "format": "bold" }\n }'
40
40
  }))), h("li", {
41
- key: '4d6ad4aacf24c4386493fe74ed928321627602ac',
41
+ key: '27789915053632c4fa664363b4e2fbdd5524569c',
42
42
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
43
43
  })));
44
44
  }
@@ -11,47 +11,47 @@ const LogoVariationsHorizontal = class {
11
11
  }
12
12
  render() {
13
13
  return h("div", {
14
- key: 'd8357d0a4234d0c411881928a6daabdda928f272',
14
+ key: '148d0694cc666c2048a65f035e3b423f14721a24',
15
15
  class: "container"
16
16
  }, h("ul", {
17
- key: '30e3d8efd0f5fd173f48c6e1e02005e7da813ce9',
17
+ key: '577efdbf7af11206706768435afcf949e704c16a',
18
18
  class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
19
19
  }, h("li", {
20
- key: '751d2de97fe8774614b15de1feda7f59c8da2ef0',
20
+ key: 'e280ee9020e2750a2f3637a01cf623ccc0b94bfe',
21
21
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
22
22
  }, h("p", {
23
- key: 'd0ba9b152a505a591cabf5a54b720b6e718173e0',
23
+ key: 'a5be5fc2dae4b966722d0ad69510f6622882aa99',
24
24
  class: "f-body-01 text-center my-4"
25
25
  }, "#1 Coloured"), h("div", {
26
- key: '81b91d5c53a7ac440364083dd06222f32bf5dc51',
26
+ key: 'e20d0633cc5c1c6f61c8147d55b7dd228c774f99',
27
27
  class: "coloured"
28
28
  }, h("eds-logo", {
29
- key: '921cac572b2da3871eff8c2912de79babb909c91',
29
+ key: '2a5a4eea4c70fadfcaef15c5b2c498b833231603',
30
30
  type: "no-bg",
31
31
  href: "#"
32
32
  }))), h("li", {
33
- key: '74cebe6855e0e23d95a3ec74927b569c29b34d07',
33
+ key: '6da7cc2329e7abcccfe3d2a0f095320d33b6272e',
34
34
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
35
35
  }, h("p", {
36
- key: 'ed5484e8ff8f85251f85a61fb53d21639dbb914b',
36
+ key: '5dcb436091288a40213ad53fff116c0a18fd8626',
37
37
  class: "f-body-01 text-center my-4"
38
38
  }, "#2 Black & White"), h("div", {
39
- key: '7a5f1894fe514a323e8955c01d1ab071187c2a5c',
39
+ key: 'e0f165856fb0a693ca2a655b5f6beb8f37810905',
40
40
  class: "bg-default"
41
41
  }, h("eds-logo", {
42
- key: '9a072cdaf4f7f901b8cb91d3fe9bc85ddb0e8eba',
42
+ key: 'ca1d9b99e93b458c9a4c59389ade43db1aedd473',
43
43
  type: "black",
44
44
  href: "#"
45
45
  }))), h("li", {
46
- key: 'ea3f60807f78264c6305061dc292d1d17f7fd173',
46
+ key: '8ae1f94da858d44f7efa0d7c2c4d83b8e1780bf6',
47
47
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
48
48
  }, h("p", {
49
- key: '530e8f71e5d6f56a9f8981ad454ecbd00162030e',
49
+ key: 'dcd75bb1f4717a6d8b34f522c25b04a976bcbdea',
50
50
  class: "f-body-01 text-center my-4"
51
51
  }, "#3 Dark"), h("div", {
52
- key: 'b74d2cfb21a8d6f8288444cfed8ba9dc80d929b7'
52
+ key: '11f500da753124767502a09824007bef6586b445'
53
53
  }, h("eds-logo", {
54
- key: 'f31c76f4f3e3f03f02d2712a272ba893f7832a7a',
54
+ key: '95ed147e3a5284960d5c740841620d622537cc3c',
55
55
  type: "color-white",
56
56
  href: "#"
57
57
  })))));
@@ -68,50 +68,50 @@ const LogoVariationsVertical = class {
68
68
  }
69
69
  render() {
70
70
  return h("div", {
71
- key: '983decc613dcf98cc903eb0220e4604e6eaff4d0',
71
+ key: '33670ab1d0922b7ce5d561ae1bcb25d85cdf3ecb',
72
72
  class: "container"
73
73
  }, h("ul", {
74
- key: '4c76eb52168bc862e3d9ba4afcfce2feadb92ab8',
74
+ key: '7b05bb7f6e1699766f6d0321762f0ef66ab3b306',
75
75
  class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
76
76
  }, h("li", {
77
- key: '4e51746424e45dcae4bd01fe5ff30a9634333e2f',
77
+ key: 'f64a1ad98d1c126581283ed16b665dea3fa1d03e',
78
78
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
79
79
  }, h("p", {
80
- key: '18227e8430d94259740bcbcfe100540831d2a857',
80
+ key: '41c416c593cacad33a826c76e6617bc6c6b5b9e3',
81
81
  class: "f-body-01 text-center my-4"
82
82
  }, "#1 Coloured"), h("div", {
83
- key: '374be81aba7532670ff470026317a49d78f54762',
83
+ key: '9bf761058eb7581b949af689a0341dc2a8b85b24',
84
84
  class: "mx-auto coloured w-[300px]"
85
85
  }, h("eds-logo", {
86
- key: 'fdfe6b1cc100dff3a53c9065bc16803043df97e5',
86
+ key: 'eb04b74cf4feb3054ba5b769fd7690281dbf768b',
87
87
  orientation: "vertical",
88
88
  type: "no-bg",
89
89
  href: "#"
90
90
  }))), h("li", {
91
- key: '5aaf638a69109964188bbcad753f420177859107',
91
+ key: '15eede1e668a9012de6ab03dde25b5e4c51605c6',
92
92
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
93
93
  }, h("p", {
94
- key: 'aadc470260f28236f3f4628ebf5c7261915f1fb2',
94
+ key: '8d99d4f4caf4ef224fb691fdebfd3048075db0c0',
95
95
  class: "f-body-01 text-center my-4"
96
96
  }, "#2 Black & White"), h("div", {
97
- key: '3fed72cb0a3f38c6619d78a6995746a3cee5ee0e',
97
+ key: 'f4b55a2fc4305075270e9e4a6149be5278fe3618',
98
98
  class: "mx-auto bg-default w-[300px]"
99
99
  }, h("eds-logo", {
100
- key: 'bcf169b31b33615c82b768f20a0b648236644c65',
100
+ key: '38ca84d79e788b92ce2489e19f35b8ba989313f2',
101
101
  orientation: "vertical",
102
102
  type: "black",
103
103
  href: "#"
104
104
  }))), h("li", {
105
- key: '62f0c6803ca0ec6090db435388da6754054c2007',
105
+ key: 'e6193b54d8b8cda2dc44bce2b983af7e7f3db0b3',
106
106
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
107
107
  }, h("p", {
108
- key: '32813722dca892164d108df2ef0a3048cb4ebbbd',
108
+ key: '2564444f18acf01edd3caa3e4df06a0a54cad60a',
109
109
  class: "f-body-01 text-center my-4"
110
110
  }, "#3 Dark"), h("div", {
111
- key: 'e33669ea223f6d923d71e2a8568140ae5ef739e3',
111
+ key: '70db409bd6dfd47bb66cef38059a52a9b0556e14',
112
112
  class: "mx-auto w-[300px]"
113
113
  }, h("eds-logo", {
114
- key: '4176811098a57727ed30bfc1db82fa16aa06bd6c',
114
+ key: '567844257939403cee8d4ce76b84dfdc12df97d1',
115
115
  orientation: "vertical",
116
116
  type: "color-white",
117
117
  href: "#"
@@ -20,7 +20,7 @@ const LogoVariationsTabs = class {
20
20
  }
21
21
  render() {
22
22
  return h("div", {
23
- key: 'a7e8981363410d2a325478150990092516e74f2e',
23
+ key: '5e6042f51c956138d571256803766ef2497ca160',
24
24
  class: "container"
25
25
  }, this.renderContent());
26
26
  }
@@ -12,86 +12,86 @@ const LogoWrongUsage = class {
12
12
  }
13
13
  render() {
14
14
  return h("div", {
15
- key: 'fa573cdaaa0d55c820b5a355bff48d5f1d10544a',
15
+ key: 'a5d22b7db9bf43fa54d7e0fe611b819e374b6f6b',
16
16
  class: "container"
17
17
  }, h("ul", {
18
- key: '5c1941d3c45fa4814ffbdfaf30af106542862802',
18
+ key: 'a2d9ebad864822e00db5bb207caf599de80be433',
19
19
  class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
20
20
  }, h("li", {
21
- key: 'fd02c67fbe23ebb78289e5281c5b4917a44c950e',
21
+ key: 'ad449a11eb8e1404a47266adb9072efa0c182752',
22
22
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
23
23
  }, h("div", {
24
- key: '246527a7926c377c287a3c8073b06952b54dc694',
24
+ key: '3f9ab867a20bc72e15c5403683d50b0f86c18727',
25
25
  class: "mx-auto no-other-bg-color logo",
26
26
  innerHTML: hLogoColor
27
27
  }), h("p", {
28
- key: '88ebc748214a558e6cee28b8624f287de2faf80c',
28
+ key: '8a9ebdfd97d048e046adc85f182657c065d7c5e2',
29
29
  class: "f-ui-02 text-center"
30
30
  }, "Do not use with backgrounds that make legibility difficult")), h("li", {
31
- key: 'dbf4655e3bbbad7566f64f5b8eb474c749967c38',
31
+ key: '621dc6459bd6934ada8cbbcb99e848464c6d7719',
32
32
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
33
33
  }, h("div", {
34
- key: '5d2c9c916bc81ce831daf99c6293024aa9b0b2f0',
34
+ key: 'be8c7b7fc30111d6bd7e7803d4a47b58ab8275f9',
35
35
  class: "mx-auto no-other-color logo non-brand-color",
36
36
  innerHTML: hLogoColor
37
37
  }), h("p", {
38
- key: 'f9a37e0a587b60bf607efd2e1f3aa4114f67ef33',
38
+ key: '1e458e14065bc2f064c29f03e7047578837e8dbf',
39
39
  class: "f-ui-02 text-center"
40
40
  }, "Do not apply other colors")), h("li", {
41
- key: '3e1126e6636e0064ce852cc4249a684b77d7ba0a',
41
+ key: '92f588b1b08e74ae6de62037c611cd2c07c2d0f6',
42
42
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
43
43
  }, h("div", {
44
- key: 'a1eb4d8ea7764734f24b39cb95b36d6718f331a3',
44
+ key: '1a8b871c1887b96183efc5a884085cd627a5dd03',
45
45
  class: "mx-auto distorted logo",
46
46
  innerHTML: hLogoColor
47
47
  }), h("p", {
48
- key: 'e3d0156ec563c657c03beaa61a7ae068e78df09c',
48
+ key: '2ca68cc09eac491203fec3d84b19623dfc1c0433',
49
49
  class: "f-ui-02 text-center"
50
50
  }, "Do not deform the logo")), h("li", {
51
- key: '062a45841b978d79fe82e5773ba82c98e8f9eb6c',
51
+ key: 'ee43635fa2d0dff9b9a5ea76127f5a35d1863c2a',
52
52
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
53
53
  }, h("div", {
54
- key: 'd0f276a91bf1ea13b4f482e39e9f83b7ef3f2593',
54
+ key: '3176d2dbec423d743b8d05c64d7a21088bf830a1',
55
55
  class: "mx-auto effects logo",
56
56
  innerHTML: hLogoColor
57
57
  }), h("p", {
58
- key: '62f67b5f28839a5bb3706e78004c1989feced677',
58
+ key: '1148d744012e92f34ac48a2b69c3fb6451e4f844',
59
59
  class: "f-ui-02 text-center"
60
60
  }, "Do not apply effects")), h("li", {
61
- key: 'c4d0025e06c8385935a4b6162d65f78bc3d7b94d',
61
+ key: 'acde874cf0fd644ec0edc7350fc038e0ae13719d',
62
62
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
63
63
  }, h("div", {
64
- key: 'c6118e7d56abcf4a54f6f590d9a77a9397fa3209',
64
+ key: '27b2b50f017142b1e9638baf1865fd804ba9121d',
65
65
  class: "mx-auto rotated logo",
66
66
  innerHTML: hLogoColor
67
67
  }), h("p", {
68
- key: 'a6c71000e3cf8b6d3a28c8f8c0df0840fdf2a749',
68
+ key: '28dfe52d02bdb82f29947227a9a9a699aabf82ef',
69
69
  class: "f-ui-02 text-center"
70
70
  }, "Do not rotate the logo")), h("li", {
71
- key: 'd558e277275a305f3d491eba94aad8c1e7eec471',
71
+ key: 'e754250d250603022bb031e66e7fd8e8e0f04155',
72
72
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
73
73
  }, h("div", {
74
- key: '56947add9521b76a88ea05f8f64b6f0f656a9863',
74
+ key: '042817f8f946a10372439398e4f6dd3c0fc182f6',
75
75
  class: "mx-auto outlined logo",
76
76
  innerHTML: hLogoColor
77
77
  }), h("p", {
78
- key: '0de198ca711a32e9b0f6ff7275af9dc2bce3c1b6',
78
+ key: 'f5136df73757f3ebd3c954f3aa5f9e47d7907c64',
79
79
  class: "f-ui-02 text-center"
80
80
  }, "Do not apply outlines")), h("li", {
81
- key: '12b7c15e994ae6b40041da68eaa609ee0ec499a7',
81
+ key: '6e30b4684ebe21136ddecef9e879024ce93206ad',
82
82
  class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col"
83
83
  }, h("div", {
84
- key: '9ef38af84bee3b83b04f881e6481769fc39991ff',
84
+ key: '29ceba568f002cf04a810546ac76ed4d4a0c63fd',
85
85
  class: "mx-auto"
86
86
  }, h("div", {
87
- key: '7f793491cf76a2c937ab0ca820dfd3f2a5779728',
87
+ key: '53976603b457baf9d28f4216b2ef54284467ffd7',
88
88
  class: "bg-accent p-16"
89
89
  }, h("div", {
90
- key: '60bfff8e962a543dcda5db9d1bdf75a3702f8b38',
90
+ key: 'bdce208801ad76f3f8fd1639ca08b3a341ccf014',
91
91
  class: "text-inverse",
92
92
  innerHTML: hLogoColor
93
93
  })), h("p", {
94
- key: '8a0a6a43def963fd5bd00e857ab7e21d60e54454',
94
+ key: '97e656465d81823f22593dd8ec936dde966560e0',
95
95
  class: "f-ui-02 text-center"
96
96
  }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones")))));
97
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebrains/react",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "module": "./index.esm.js",
5
5
  "type": "module",
6
6
  "main": "./index.esm.js",
@@ -14,6 +14,7 @@ export declare const EdsFooter: import("react").ForwardRefExoticComponent<JSX.Ed
14
14
  export declare const EdsForm: import("react").ForwardRefExoticComponent<JSX.EdsForm & Omit<import("react").HTMLAttributes<HTMLEdsFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFormElement>>;
15
15
  export declare const EdsFullscreenMenu: import("react").ForwardRefExoticComponent<JSX.EdsFullscreenMenu & Omit<import("react").HTMLAttributes<HTMLEdsFullscreenMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFullscreenMenuElement>>;
16
16
  export declare const EdsGauge: import("react").ForwardRefExoticComponent<JSX.EdsGauge & Omit<import("react").HTMLAttributes<HTMLEdsGaugeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsGaugeElement>>;
17
+ export declare const EdsGlobalSearch: import("react").ForwardRefExoticComponent<JSX.EdsGlobalSearch & Omit<import("react").HTMLAttributes<HTMLEdsGlobalSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsGlobalSearchElement>>;
17
18
  export declare const EdsHeader: import("react").ForwardRefExoticComponent<JSX.EdsHeader & Omit<import("react").HTMLAttributes<HTMLEdsHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsHeaderElement>>;
18
19
  export declare const EdsIconWrapper: import("react").ForwardRefExoticComponent<JSX.EdsIconWrapper & Omit<import("react").HTMLAttributes<HTMLEdsIconWrapperElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsIconWrapperElement>>;
19
20
  export declare const EdsImg: import("react").ForwardRefExoticComponent<JSX.EdsImg & Omit<import("react").HTMLAttributes<HTMLEdsImgElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsImgElement>>;
@@ -19,7 +19,6 @@ export declare const EdsIconWrapper: import("react").ForwardRefExoticComponent<J
19
19
  export declare const EdsImg: import("react").ForwardRefExoticComponent<JSX.EdsImg & Omit<import("react").HTMLAttributes<HTMLEdsImgElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsImgElement>>;
20
20
  export declare const EdsInputField: import("react").ForwardRefExoticComponent<JSX.EdsInputField & Omit<import("react").HTMLAttributes<HTMLEdsInputFieldElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsInputFieldElement>>;
21
21
  export declare const EdsLink: import("react").ForwardRefExoticComponent<JSX.EdsLink & Omit<import("react").HTMLAttributes<HTMLEdsLinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsLinkElement>>;
22
- export declare const EdsLogin: import("react").ForwardRefExoticComponent<any>;
23
22
  export declare const EdsLogo: import("react").ForwardRefExoticComponent<JSX.EdsLogo & Omit<import("react").HTMLAttributes<HTMLEdsLogoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsLogoElement>>;
24
23
  export declare const EdsMatomoNotice: import("react").ForwardRefExoticComponent<JSX.EdsMatomoNotice & Omit<import("react").HTMLAttributes<HTMLEdsMatomoNoticeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsMatomoNoticeElement>>;
25
24
  export declare const EdsModal: import("react").ForwardRefExoticComponent<JSX.EdsModal & Omit<import("react").HTMLAttributes<HTMLEdsModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsModalElement>>;
@@ -314,10 +314,10 @@ const SvgRepository = class {
314
314
  }
315
315
  };
316
316
  return h("div", {
317
- key: '36ab796174ab215a5e8f834f0d6291853305e732',
317
+ key: '9e4eb1306b8d43f5879b2e7c0ef0019f83c0b3b5',
318
318
  class: "full-width"
319
319
  }, h("eds-table", {
320
- key: '31fca470f340fa54137887ef426f4f7e1fc72f73',
320
+ key: '3b6349562155ffed788587d39a82d0a2fb9798bb',
321
321
  "table-data": JSON.stringify(svgData),
322
322
  config: JSON.stringify(tableConfig),
323
323
  "rows-per-page": 10,
@@ -296,7 +296,7 @@ const TokenList = class {
296
296
  [this.show]: colors[this.show]
297
297
  } : colors;
298
298
  return h("section", {
299
- key: 'c5a0dc7f4e58c77624481262b1a6ac31df5425ee',
299
+ key: 'db196307702df28bf9e2f7fb0b87298bf84baabb',
300
300
  class: "w-full mt-28"
301
301
  }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
302
302
  // Only render sections that exist in `colors`
@@ -317,10 +317,10 @@ const TokenRadii = class {
317
317
  }
318
318
  render() {
319
319
  return h("section", {
320
- key: 'd0e212f61414068b55b2ce1a3d9c7c2a51743908',
320
+ key: 'bdd584d53625299e4faa9a28f6f259bc5587b125',
321
321
  class: "w-full mt-28"
322
322
  }, h("ul", {
323
- key: 'f656822bfc1a95bb4435eec2db9573e4362d1c59',
323
+ key: '3076e4efcca5749cc07e69df70ce2658d6186ec6',
324
324
  class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
325
325
  }, Object.entries(radii).map(([key, value]) => h("li", {
326
326
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
@@ -358,10 +358,10 @@ const TokenShadows = class {
358
358
  }
359
359
  render() {
360
360
  return h("section", {
361
- key: '2f8e9eef279ee176ba1c72660181a4a36a184985',
361
+ key: 'a2fbc57c2153391bc53b47a263488118ca3aa01a',
362
362
  class: "w-full mt-28"
363
363
  }, h("ul", {
364
- key: 'a5ddc9f6faab20c73b6dbb08364925d3b221e848',
364
+ key: 'e4e2d6cbc8d1510ede2b678b24ce8b34b838888f',
365
365
  class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
366
366
  }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => h("li", {
367
367
  class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16"
@@ -17,15 +17,15 @@ const TokenRatios = class {
17
17
  }
18
18
  render() {
19
19
  return h("section", {
20
- key: '0215729c6c798288f74b3e9a589763c8a71c6fd3',
20
+ key: '83fc87fd64531611114fe47d977dc54b6af1d327',
21
21
  class: "w-full"
22
22
  }, h("eds-section-core", {
23
- key: '9ac3c1b933b7bb7cc6c8dd9aeface59ba3646750',
23
+ key: 'b0b72d4f387cd48f4905c68b9f05ac3058d359c1',
24
24
  tag: "div",
25
25
  "section-title": "Aspect Ratios",
26
26
  "heading-level": "h3"
27
27
  }, h("ul", {
28
- key: 'd4ae2c487aa2402740dfd1465823fe3d04c19e18',
28
+ key: 'af5677bb15a4ffb008fd90bdfdfb1b757a36e138',
29
29
  class: "gap-y-8 md:gap-y-12 lg:gap-y-16"
30
30
  }, Object.entries(ratios).map(([key, value]) => h("li", {
31
31
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
@@ -9,82 +9,82 @@ const TokenSpacing = class {
9
9
  }
10
10
  render() {
11
11
  return h("div", {
12
- key: 'e01032fc0640d466fbf25d52c786c2ad09282deb',
12
+ key: '46cb6fe655e9f8b8688f44e2351f3992e8011b2a',
13
13
  class: "w-full"
14
14
  }, h("ul", {
15
- key: '067499a0d422c6759393a729018a0e428ac5bb73',
15
+ key: '9d7205ee2e0b3b0386284dc282fcc5375c43ec26',
16
16
  class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
17
17
  }, h("li", {
18
- key: '18811cd88f3627f824c09ed57522b624c905704a',
18
+ key: 'b3e9d62bb934c1b413712b182cfdf015484db525',
19
19
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
20
20
  }, h("div", {
21
- key: '6f810ada1266d71181c85ae01f6d0f03d74c5d62',
21
+ key: '78c8a23dcacfd216a6159da8af3809607ef29702',
22
22
  class: "container p-8 item-center border-2 border-soft"
23
23
  }, h("div", {
24
- key: 'be8c8193dd759eb651230904f482bdd29ece17d9',
24
+ key: '92a2938c5bdcb38456d96077f78993c711bc789f',
25
25
  class: "spacing-sample m-16 bg-strong"
26
26
  }, h("span", {
27
- key: '3275ae8d2dcc26a097fcec9e47e865d122e8a7a0',
27
+ key: '7738363bee7cc25863bec922f55224044af61b6e',
28
28
  class: "f-body-01 text-inverse"
29
29
  }, "Margin: 1rem / m-16")))), h("li", {
30
- key: '1501280856acd0f86ed6d18deb2994e2b938d550',
30
+ key: '96c1f622b7e4136cebd53862b79bbc17ad484a25',
31
31
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
32
32
  }, h("div", {
33
- key: '9c6bd09fb408bf28e1ff7259ee82858657055d53',
33
+ key: 'ff4357650e10f9e7a61903c3c9f6a4f4d60d8c73',
34
34
  class: "container p-8 item-center border-2 border-soft"
35
35
  }, h("div", {
36
- key: '66ce0e318e1ef01c95634678d8dad929261c3559',
36
+ key: 'cd07be06a51604f81f2868786028066f834cd87d',
37
37
  class: "spacing-sample ml-64 bg-strong"
38
38
  }, h("span", {
39
- key: '746c47d3d838c4a2afc3e33f97ea92e4152505a4',
39
+ key: 'ded579013d8765c7802862b57cf2bf7ae03f1b99',
40
40
  class: "f-body-01 text-inverse"
41
41
  }, "Margin Left: 4rem / ml-64")))), h("li", {
42
- key: '1e743a6b9907f8d533b6bb0e47204ca9f2ac1540',
42
+ key: 'a8e244c95f027993755fa567d900ff88ed08669b',
43
43
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
44
44
  }, h("div", {
45
- key: '9b127a0fc072a67d2a03af42718407f7c570981c',
45
+ key: 'e3662c064d089089ebb796aadede38bbd7ebe69d',
46
46
  class: "container p-8 item-center border-2 border-soft"
47
47
  }, h("div", {
48
- key: '603d387bfc95e7eaaa688d9bed69d17dcdbeb023',
48
+ key: 'f168cbeaec417b0eccd66ed60f2776bdffdb7bfb',
49
49
  class: "spacing-sample mt-32 bg-strong"
50
50
  }, h("span", {
51
- key: '19105f04e3571991899dcd237a2e88285200fa2a',
51
+ key: '696ec848f217896ae3fc06bf07546fe735d6ccd8',
52
52
  class: "f-body-01 text-inverse"
53
53
  }, "Margin Top: 2rem / mt-32")))), h("li", {
54
- key: 'a4bba328ebdb74767c06aed1ddf90251ff53c774',
54
+ key: '5e5d4a63fd7e28114a87dfa5789f5213b6c057f3',
55
55
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
56
56
  }, h("div", {
57
- key: '8c0ddf065902880ea676a0178d8d384696d11d44',
57
+ key: '14cb262cc18f340e72a922dc793244c17fa9fb05',
58
58
  class: "container p-8 item-center border-2 border-soft"
59
59
  }, h("div", {
60
- key: 'c73eb82ac1b447d2441be39f1e07e4864bba2a49',
60
+ key: '791781717dc851f2e174277c557212e7e5c15b7a',
61
61
  class: "spacing-sample p-32 bg-strong"
62
62
  }, h("span", {
63
- key: '6c76e373c0827ed4449abfd0fa1b69db2e02ef10',
63
+ key: 'd1df2d8f2520746e49ec9c85d8e17cf5569c4bc5',
64
64
  class: "f-body-01 text-inverse"
65
65
  }, "Padding: 2rem / p-32")))), h("li", {
66
- key: '23699817570e914c03849e8bc5ab3c72b732470c',
66
+ key: '312e2c71672a05cc54cd492297a1cdcb2b11a395',
67
67
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
68
68
  }, h("div", {
69
- key: '253d94e4ddabd622302bbc38a5e866b9a9dc8826',
69
+ key: '8cd16bfafd2345b68e50a46c08c7a8f2430ee6ef',
70
70
  class: "container p-8 item-center border-2 border-soft"
71
71
  }, h("div", {
72
- key: 'c366056f299a7fd53eb589cedbf8f40aa996d032',
72
+ key: '8f7e910d8fc43b596b35f3e72a48646e9550e8ba',
73
73
  class: "spacing-sample pt-32 bg-strong"
74
74
  }, h("span", {
75
- key: '22b94a1f3f4605af8f11dcd10b03f112ad426798',
75
+ key: '509c712085a239a435fc11f8ea7a6c9c788be60c',
76
76
  class: "f-body-01 text-inverse"
77
77
  }, "Padding Top: 2rem / pt-32")))), h("li", {
78
- key: '18418c7ea84aaaefe187e484774e96d5233946ab',
78
+ key: 'b99c86cd7dd23e7c091dd2c70ec42133d9d2e2ef',
79
79
  class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
80
80
  }, h("div", {
81
- key: '953b9ebfb47560f768bdf606fdc455eae18fa351',
81
+ key: '0e61fb5d7bf779eddc16c9627d6ca0ff6cf702e1',
82
82
  class: "container p-8 item-center border-2 border-soft"
83
83
  }, h("div", {
84
- key: '1ee32fc2918a078e421e0641c84e76c2bf48e839',
84
+ key: 'e65eb20ca88e563ae43eb0c208feacf7e310870f',
85
85
  class: "spacing-sample pl-32 bg-strong"
86
86
  }, h("span", {
87
- key: '15f50b76c805eb9fc1610d8027cd710f6c8c89b4',
87
+ key: '2a40e6977caccb37173f60de613c1a72b02f6d3e',
88
88
  class: "f-body-01 text-inverse"
89
89
  }, "Padding Left: 2rem / pl-32"))))));
90
90
  }
@@ -202,10 +202,10 @@ const TokenTypography = class {
202
202
  }
203
203
  render() {
204
204
  return h("section", {
205
- key: 'a50023eb5ce02aebb63994e4319450f3a330617d',
205
+ key: 'ff15f73114d16107a766fe6fe8342315cf2fa542',
206
206
  class: "w-full"
207
207
  }, h("ul", {
208
- key: '757a1845f16da440eaa8ba332b39f62ccb69ed89',
208
+ key: '22e8e89e792fee03f1957e5705fca1938771b9ac',
209
209
  class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
210
210
  }, Object.entries(typography.typesets).filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
211
211
  .flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => h("li", {
@@ -1,104 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index.esm2.js';
2
- import 'react';
3
- import 'react/jsx-runtime';
4
- import 'react-dom';
5
-
6
- const edsSpinnerCss = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}";
7
- const EdsSpinnerStyle0 = edsSpinnerCss;
8
- const EdsSpinner = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.size = 'md';
12
- this.variant = 'secondary';
13
- this.message = undefined;
14
- this.background = 'var(--grey-200)';
15
- this.fullscreen = false;
16
- }
17
- get spinnerSize() {
18
- switch (this.size) {
19
- case 'xs':
20
- return '1rem';
21
- case 'sm':
22
- return '4rem';
23
- case 'lg':
24
- return '8rem';
25
- case 'xl':
26
- return '10rem';
27
- case 'md':
28
- default:
29
- return '6rem';
30
- }
31
- }
32
- get spinnerThickness() {
33
- switch (this.size) {
34
- case 'xs':
35
- return '4px';
36
- case 'sm':
37
- return '8px';
38
- case 'lg':
39
- return '16px';
40
- case 'xl':
41
- return '20px';
42
- case 'md':
43
- default:
44
- return '12px';
45
- }
46
- }
47
- render() {
48
- // derive colors from variant
49
- const borderColor = this.variant === 'primary' ? 'var(--grey-900)' : 'var(--grey-400)';
50
- const bottomColor = this.variant === 'primary' ? 'var(--green-400)' : 'var(--grey-900)';
51
- const spinnerStyle = Object.assign({
52
- width: this.spinnerSize,
53
- height: this.spinnerSize,
54
- border: `${this.spinnerThickness} solid ${borderColor}`,
55
- borderBottomColor: bottomColor
56
- }, !this.fullscreen && {
57
- display: 'inline-block'
58
- });
59
- // Overlay style: use fixed positioning for fullscreen,
60
- // and absolute positioning for inline mode.
61
- const overlayStyle = this.fullscreen ? {
62
- position: 'fixed',
63
- top: '0',
64
- left: '0',
65
- width: '100vw',
66
- height: '100vh',
67
- zIndex: '9999999',
68
- backgroundColor: this.background,
69
- display: 'flex',
70
- flexDirection: 'column',
71
- alignItems: 'center',
72
- justifyContent: 'center'
73
- } : {
74
- position: 'absolute',
75
- top: '0',
76
- left: '0',
77
- width: '100%',
78
- height: '100%',
79
- //zIndex: '1000',
80
- backgroundColor: this.background,
81
- display: 'flex',
82
- flexDirection: 'column',
83
- alignItems: 'center',
84
- justifyContent: 'center'
85
- };
86
- return h(Host, {
87
- key: 'b10a5d28d0b06e7b36276fb814e3b8b57b767094'
88
- }, h("div", {
89
- key: '8f2205bb74775c16660d35f80bf880ac9c39d725',
90
- class: "spinner-overlay",
91
- style: overlayStyle
92
- }, h("span", {
93
- key: 'f681700791c6c10ea63473f34719a873757bcf5e',
94
- class: "spinner",
95
- style: spinnerStyle
96
- }), this.message && h("p", {
97
- key: 'b0afdd60a6c74fd740626cb7da3402a9a5075e34',
98
- class: "f-body-01"
99
- }, this.message)));
100
- }
101
- };
102
- EdsSpinner.style = EdsSpinnerStyle0;
103
-
104
- export { EdsSpinner as eds_spinner };