@ebrains/react 1.4.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/bin-37cad2f0.esm.js +3 -0
  2. package/clone-dab56639.esm.js +3 -0
  3. package/color-primary-palette_6.entry.esm.js +106 -106
  4. package/components-section.entry.esm.js +1 -1
  5. package/correct-use-of-colors.entry.esm.js +33 -33
  6. package/docs-palettes.entry.esm.js +1 -1
  7. package/docs-tokens.entry.esm.js +1 -1
  8. package/draft-dd5dada2.esm.js +3 -0
  9. package/edit-3893a517.esm.js +3 -0
  10. package/eds-accordion_33.entry.esm.js +1123 -0
  11. package/eds-app-root.entry.esm.js +4 -4
  12. package/eds-card-desc_2.entry.esm.js +4 -4
  13. package/eds-card-generic.entry.esm.js +4 -5
  14. package/eds-card-project.entry.esm.js +10 -11
  15. package/eds-card-tags.entry.esm.js +1 -1
  16. package/eds-card-tool.entry.esm.js +4 -4
  17. package/eds-cookies-preference.entry.esm.js +2 -2
  18. package/eds-feedback.entry.esm.js +5 -5
  19. package/eds-footer.entry.esm.js +135 -0
  20. package/eds-frame.entry.esm.js +4 -4
  21. package/eds-fullscreen-menu.entry.esm.js +124 -0
  22. package/eds-gauge.entry.esm.js +4 -4
  23. package/eds-icon-arrow-diagonal.entry.esm.js +1 -1
  24. package/eds-icon-arrow-right.entry.esm.js +1 -1
  25. package/eds-icon-bin.entry.esm.js +21 -0
  26. package/eds-icon-bluesky.entry.esm.js +1 -1
  27. package/eds-icon-bookmark.entry.esm.js +1 -1
  28. package/eds-icon-chevron-down.entry.esm.js +1 -1
  29. package/eds-icon-chevron-left.entry.esm.js +1 -1
  30. package/eds-icon-chevron-right.entry.esm.js +1 -1
  31. package/eds-icon-chevron-up.entry.esm.js +1 -1
  32. package/eds-icon-clone.entry.esm.js +21 -0
  33. package/eds-icon-close.entry.esm.js +1 -1
  34. package/eds-icon-copy.entry.esm.js +1 -1
  35. package/eds-icon-draft.entry.esm.js +21 -0
  36. package/eds-icon-edit.entry.esm.js +21 -0
  37. package/eds-icon-eu.entry.esm.js +1 -1
  38. package/eds-icon-external.entry.esm.js +1 -1
  39. package/eds-icon-facebook.entry.esm.js +1 -1
  40. package/eds-icon-gitlab.entry.esm.js +1 -1
  41. package/eds-icon-linkedin.entry.esm.js +1 -1
  42. package/eds-icon-loader.entry.esm.js +1 -1
  43. package/eds-icon-mastodon.entry.esm.js +1 -1
  44. package/eds-icon-menu.entry.esm.js +1 -1
  45. package/eds-icon-minus.entry.esm.js +1 -1
  46. package/eds-icon-more.entry.esm.js +1 -1
  47. package/eds-icon-paper.entry.esm.js +1 -1
  48. package/eds-icon-plus.entry.esm.js +1 -1
  49. package/eds-icon-portal.entry.esm.js +1 -1
  50. package/eds-icon-private.entry.esm.js +1 -1
  51. package/eds-icon-public.entry.esm.js +1 -1
  52. package/eds-icon-search.entry.esm.js +1 -1
  53. package/eds-icon-star.entry.esm.js +1 -1
  54. package/eds-icon-start.entry.esm.js +21 -0
  55. package/eds-icon-success.entry.esm.js +1 -1
  56. package/eds-icon-thumbs-down.entry.esm.js +1 -1
  57. package/eds-icon-thumbs-up.entry.esm.js +1 -1
  58. package/eds-icon-tutorial.entry.esm.js +1 -1
  59. package/eds-icon-twitter.entry.esm.js +1 -1
  60. package/eds-icon-unknown.entry.esm.js +1 -1
  61. package/eds-icon-updown.entry.esm.js +1 -1
  62. package/eds-icon-user.entry.esm.js +1 -1
  63. package/eds-icon-view.entry.esm.js +21 -0
  64. package/eds-icon-youtube.entry.esm.js +1 -1
  65. package/eds-modal.entry.esm.js +150 -0
  66. package/eds-progress-bar.entry.esm.js +4 -4
  67. package/eds-section-core_2.entry.esm.js +5 -5
  68. package/eds-social-networks.entry.esm.js +74 -0
  69. package/eds-spinner.entry.esm.js +51 -14
  70. package/eds-splash-screen.entry.esm.js +1 -4
  71. package/eds-timeline.entry.esm.js +4 -4
  72. package/eds-toast-manager.entry.esm.js +1 -1
  73. package/eds-tooltip.entry.esm.js +12 -6
  74. package/eds-trl.entry.esm.js +2 -2
  75. package/incorrect-use-of-colors.entry.esm.js +8 -8
  76. package/index.esm.js +1 -1
  77. package/index.esm2.js +37 -26
  78. package/logo-space.entry.esm.js +9 -9
  79. package/logo-variations-horizontal_2.entry.esm.js +28 -28
  80. package/logo-variations-tabs.entry.esm.js +1 -1
  81. package/logo-wrong-usage.entry.esm.js +25 -25
  82. package/package.json +1 -1
  83. package/src/components.d.ts +1 -0
  84. package/start-65126a4f.esm.js +3 -0
  85. package/svg-repository.entry.esm.js +15 -3
  86. package/token-list_3.entry.esm.js +5 -5
  87. package/token-ratios.entry.esm.js +3 -3
  88. package/token-spacing.entry.esm.js +26 -26
  89. package/token-typography.entry.esm.js +2 -2
  90. package/view-e900f2d4.esm.js +3 -0
  91. package/eds-accordion.entry.esm.js +0 -132
  92. package/eds-alert.entry.esm.js +0 -112
  93. package/eds-avatar_29.entry.esm.js +0 -3660
  94. package/eds-breadcrumb.entry.esm.js +0 -179
  95. package/eds-code-block.entry.esm.js +0 -2290
  96. package/eds-matomo-notice.entry.esm.js +0 -159
  97. package/eds-rating.entry.esm.js +0 -79
  98. package/eds-switch.entry.esm.js +0 -68
@@ -12,33 +12,33 @@ const LogoSpace = class {
12
12
  }
13
13
  render() {
14
14
  return h("div", {
15
- key: '3b8bd597cdf444eee5bf07fb627c4538e5d679cc',
15
+ key: '715c9aab5f553f14a183efcec753ac3a7d2a6ef7',
16
16
  class: "container"
17
17
  }, h("ul", {
18
- key: 'cba7e1a29b54f81a18c168b4b00568d40f2d4371',
18
+ key: 'd552744d7c502654c1863a0e2bfe939aa5ab0447',
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: 'ecc9fbea2532bed8b33987dc50ab32bf63150834',
21
+ key: '06ea3756aa8416e11a0f8c3995e70112808791e8',
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: 'b75492b9024929b8f210ceb3e3300c4fb1791994',
24
+ key: '186172fddc2a100fb5f757ce7175501f7b838896',
25
25
  class: "logo-container mx-auto w-[300px]",
26
26
  innerHTML: vLogoMargins
27
27
  })), h("li", {
28
- key: '7de22236a86b8e6f10e5bd32922fab53c1ba12a8',
28
+ key: '6131a46a1f7d4efac1feb05ffbd88ca35ba07d08',
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: 'e8c9f50e17751a17674d20c418d544f90a7ba35b',
31
+ key: 'df5acbe2348d1fcf069ddb55ce8c7180ecea0959',
32
32
  class: "text-center mt-16"
33
33
  }, h("p", {
34
- key: 'da441199660dc0601ccea107fbc8722f9b5a381f',
34
+ key: '65b120c29fd408808ab2b6ca3e038915f386c033',
35
35
  class: "f-body-01"
36
36
  }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", {
37
- key: '01501a72a8bec05c19de3fdc3d0d101441db25b5',
37
+ key: '137055ef0dd2e79db8dd0cfac8c297385c693338',
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: 'ded8166e2ff4c9d0836e78b9bb48e291f9008a6c',
41
+ key: 'cbaf5b78b83fa1874d2555ae07dcd849007d9b28',
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: 'b8329902e5b54186ff70883b7629ce713f9916e3',
14
+ key: '42b4022e993bb4e340a4f930706ed61d487856af',
15
15
  class: "container"
16
16
  }, h("ul", {
17
- key: 'bef5503199fa5390fe3690bf8398702b39f6ce43',
17
+ key: '368cb376390f9cd4f311c34f35e227916bccc3aa',
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: 'd5d87badeb69da37aa05c0265079cdadfa7b06ec',
20
+ key: 'c144cf24fe85d4ca731cbcb47aee2ae6bbfb9500',
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: '6e263eca9ee6d917b73314a9fed6843e90ab9ad1',
23
+ key: '9ebdf9fae31f6370bd469cf4c3964e5fa5dae53b',
24
24
  class: "f-body-01 text-center my-4"
25
25
  }, "#1 Coloured"), h("div", {
26
- key: 'dca876e83d4a3196f937204d1f36a22e5e554edb',
26
+ key: '347dfdc62a77f9bc2774870d0bce4803a9def6a1',
27
27
  class: "coloured"
28
28
  }, h("eds-logo", {
29
- key: '6fadb6eb40b3771e808718ab19e1dcbdb838af14',
29
+ key: '642ed4f4dd0720b457e8871d8d39a3e6f8817919',
30
30
  type: "no-bg",
31
31
  href: "#"
32
32
  }))), h("li", {
33
- key: '913d4163183e8df4978e5030e2049b9627f355ac',
33
+ key: '4b97f489fdc512de54c0f2c0bbf206f6d64fec57',
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: '94b74970ae70cd4a97ce07c8f2435995b6224e7b',
36
+ key: '217c5485599de77021d5b008952a7463a95e8d22',
37
37
  class: "f-body-01 text-center my-4"
38
38
  }, "#2 Black & White"), h("div", {
39
- key: '7a10955ff26e151c467e55ce839fa5377509cbca',
39
+ key: 'c3e7f3b4b770662cc83c261af241306e8449cddb',
40
40
  class: "bg-default"
41
41
  }, h("eds-logo", {
42
- key: '5bf7bc14877a77acf069e1067d67aebfb993c148',
42
+ key: '1d0a90da209d8dbc28b91ccd3d3e112ed189428d',
43
43
  type: "black",
44
44
  href: "#"
45
45
  }))), h("li", {
46
- key: '7b1d286ae816ce932c51bf944e606ce0a0dd692f',
46
+ key: 'f8879a7c790e1b5f0555d6d764e828fbc6a4e263',
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: '1385573e0cba33124c068536a6df0cc809d2e872',
49
+ key: '93f6729dc8f3e4cf0257e57c4b034e94cfefa99d',
50
50
  class: "f-body-01 text-center my-4"
51
51
  }, "#3 Dark"), h("div", {
52
- key: '0d0febe112256ef7372f86886da3d25b2cb8c7d9'
52
+ key: 'd45eaff596387f93aabc377fa96f1b386b8c5e42'
53
53
  }, h("eds-logo", {
54
- key: '104ee7af8e721feaf91f6e96909181afea93ebc6',
54
+ key: '4a8209824ad3dcec06be65303dc9f0cf01613a8f',
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: 'c5edd87842f2f02818087806b4e2f582da663277',
71
+ key: '9384d3b91a4b09c780a1bb8d6b49f441f7a7a22a',
72
72
  class: "container"
73
73
  }, h("ul", {
74
- key: 'e2d3e77fbcc9f6cbbe8c293e3548ab5b5b9be53c',
74
+ key: '60a89752afab4d76da7a3fc070bff2f7cc98d4b0',
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: '87864a42ddab2c0816e9ff46c8122ea645f077aa',
77
+ key: '6a8b35e2eaa5b0b5f4aa233fbcaa2a21b1e340c7',
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: '8187e615b2701e6496cd567882ea338d3e50150d',
80
+ key: 'f9893c662898f97567d4a56eaf2d5a620e087743',
81
81
  class: "f-body-01 text-center my-4"
82
82
  }, "#1 Coloured"), h("div", {
83
- key: '2368fe2ad41d8e325d4a54dac24786bc5a05ab56',
83
+ key: '6fad2d66a3e34c11344210c3b8d92279d566f866',
84
84
  class: "mx-auto coloured w-[300px]"
85
85
  }, h("eds-logo", {
86
- key: '8efcfe38b1dc0498fa5f132bf01feb3fbfdf05fe',
86
+ key: '66740c018c8f3aa3fbeb2cab8c392713b7e004ed',
87
87
  orientation: "vertical",
88
88
  type: "no-bg",
89
89
  href: "#"
90
90
  }))), h("li", {
91
- key: '780ca8af41665e5bc92c6c25efd1e9a3552eacbe',
91
+ key: '7a5a2ee2fab87b6ea7892134b5b1fb939cc5665c',
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: 'ea00627b69008f8438a74d84cd00ac76bcbc36f3',
94
+ key: '79bd10816b9dfe8ab28d444d7dfb4b361afea94f',
95
95
  class: "f-body-01 text-center my-4"
96
96
  }, "#2 Black & White"), h("div", {
97
- key: '5d91c7b29a539118254bfbca8d553794f96e00e5',
97
+ key: '10f00983923848d8e89b6d7c7990972a76fbaf80',
98
98
  class: "mx-auto bg-default w-[300px]"
99
99
  }, h("eds-logo", {
100
- key: '5f9a4fc71340ab9c45fabdacaea00eb01771d8b3',
100
+ key: '3e10d0887921355c0974ad8a4c04cc86e901440d',
101
101
  orientation: "vertical",
102
102
  type: "black",
103
103
  href: "#"
104
104
  }))), h("li", {
105
- key: '5c9306edbd30774b35431b5af16956545e7bc973',
105
+ key: 'eeaabdfa7d788647845d5488decfd06815fc2c47',
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: '8dbc48fd5256198bb0b50ce11267ac408c6e286c',
108
+ key: '1b058b1513f09eb8a1043ab3ff8a4cda28246576',
109
109
  class: "f-body-01 text-center my-4"
110
110
  }, "#3 Dark"), h("div", {
111
- key: '495a4c78848efe16898a7e37a802ca33ebe78989',
111
+ key: 'bd3698e6210ecbe356f0c334a983b21ef6b7b5e3',
112
112
  class: "mx-auto w-[300px]"
113
113
  }, h("eds-logo", {
114
- key: 'ed7793faeff06e70d05b829d7b361c8e52372232',
114
+ key: 'c9321f6b80b68e74a02dbf77ba83f2bc2567c538',
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: '978803ba74596825489ce19690036162c5d2d6fb',
23
+ key: 'ac936a8594bc4f5f8573da7ac2751103fe287e48',
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: 'ca22a0f8284bd418c0307e9b18443cf93dbd5ef7',
15
+ key: 'db92af6471b73d6342c4c218ef26b7439e72e9c9',
16
16
  class: "container"
17
17
  }, h("ul", {
18
- key: 'dae3e5fdf852e1684effe028fcb12f3a4a765c92',
18
+ key: '57239717b1f53107a5bfbc94794568ea9fe3b392',
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: 'f938ed546e420f7f3c9629b3029623d8b0b3cb33',
21
+ key: 'c32313633ff55e2fbb28bca75f4d0e9bc2eb85d0',
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: 'eecaba67c1506aa8192bdeb07dfe92417c200520',
24
+ key: 'ec127af6b1b3c5e0aed8c4c5bf6fb34166a50e89',
25
25
  class: "mx-auto no-other-bg-color logo",
26
26
  innerHTML: hLogoColor
27
27
  }), h("p", {
28
- key: '1057f9c302bc7e4b9ccdc5db8bdc5c92066b9efd',
28
+ key: '130ae0f920e4b4231d00bf46804176f9c2d2750a',
29
29
  class: "f-ui-02 text-center"
30
30
  }, "Do not use with backgrounds that make legibility difficult")), h("li", {
31
- key: '2b4ea9b064c01b08daa1a236f9f427aab55155df',
31
+ key: '4efd7dd8cbc1fdefd65a94891c465373ac05391e',
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: '9d42d01d4c2cacf71ab151bcd136a9b427ae2f61',
34
+ key: 'ea7fbe7c25663e944d80d1feb52ab972edf73aa8',
35
35
  class: "mx-auto no-other-color logo non-brand-color",
36
36
  innerHTML: hLogoColor
37
37
  }), h("p", {
38
- key: 'abc8b7da35ff02d255c7101b963216a6176876be',
38
+ key: '373939ac376d7f95a77e84e35b8c2773cecca0e0',
39
39
  class: "f-ui-02 text-center"
40
40
  }, "Do not apply other colors")), h("li", {
41
- key: '180f04ec0804841dff6aa1aadb4abcf39cd9795b',
41
+ key: '23351f40af859f9a36b108db8c95dbdefe7f889a',
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: 'b28e00dd5e87f8dfa0115c2a617755d0ad3615bf',
44
+ key: '6606581d39d6b1834eebc720be8695bec9052c5a',
45
45
  class: "mx-auto distorted logo",
46
46
  innerHTML: hLogoColor
47
47
  }), h("p", {
48
- key: '93724268eeedcc799ec3c90087ce2e7ac61dc07e',
48
+ key: '10d459c1e0db7351b8d247bb0ab2c3db1f39cfc3',
49
49
  class: "f-ui-02 text-center"
50
50
  }, "Do not deform the logo")), h("li", {
51
- key: '5063815d8df9ed7eb13d83734f23978916ade66a',
51
+ key: '9253a8fdab1547c0a9282e44d7dfb586107c0916',
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: '8f8624744ed71aebc2d42815f8012ed5c18c1cb7',
54
+ key: '7db0f94ca0d2a7c6b3cde529028c2789794b31b5',
55
55
  class: "mx-auto effects logo",
56
56
  innerHTML: hLogoColor
57
57
  }), h("p", {
58
- key: '14040538adcea3c5650ddb3e94a3a5186d009a2a',
58
+ key: '39280d53b73bb6ad80d3398e508941604f4fc856',
59
59
  class: "f-ui-02 text-center"
60
60
  }, "Do not apply effects")), h("li", {
61
- key: 'a80a2e6f66d27bd28a52d9ea45aa3352519f8973',
61
+ key: '24d87e264048c1f675cc0182c6dbf049af15f622',
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: 'ab16f170fde233d8e05c8b93babc83f6a54fe4df',
64
+ key: '35cac43885a2364650ab3e758071b1fd685019fa',
65
65
  class: "mx-auto rotated logo",
66
66
  innerHTML: hLogoColor
67
67
  }), h("p", {
68
- key: '12eb2d4f8c48b51397295e84fd13f9cdb7fe1291',
68
+ key: 'cd3d762cd6889f764bedc6b4ccd241e1b52413f6',
69
69
  class: "f-ui-02 text-center"
70
70
  }, "Do not rotate the logo")), h("li", {
71
- key: 'e93cc98bcb8594ea9cc715c3593bbbb05ef0a584',
71
+ key: '0a5c20a333830b85c2943b44c3ad1c3066c582cc',
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: 'e06d8c08690e542a9906526f31083cd19d36377c',
74
+ key: 'e2ced6578e0ea0574b1025c708061436beaa0c32',
75
75
  class: "mx-auto outlined logo",
76
76
  innerHTML: hLogoColor
77
77
  }), h("p", {
78
- key: '28ffd7eb8d963d8fbaca70bdacb408d1ad2b5628',
78
+ key: 'e41cf94b8ba85c372fe3118497a61f5fd9d127a0',
79
79
  class: "f-ui-02 text-center"
80
80
  }, "Do not apply outlines")), h("li", {
81
- key: '762de4272afb3425d05854efcebdbac901e3434e',
81
+ key: '87b548c1183299d29b14e3159ec712e27e72632f',
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: 'b886b389d207ffdb8b135fdc0fd26e5e72f40a42',
84
+ key: '1a96f1f9ffa1d9c3e29fa3c107893d440f259922',
85
85
  class: "mx-auto"
86
86
  }, h("div", {
87
- key: '2b03b5762338e7af827635e16f5a8da8a0322174',
87
+ key: 'a2cfab02c9328045d9833fa143d53cdb5cc249fc',
88
88
  class: "bg-accent p-16"
89
89
  }, h("div", {
90
- key: 'c6db8ce985ce69f68973d59acabd846ec3b296ed',
90
+ key: 'fee8c2a733e1822b1b97db56f6b835a9694ee071',
91
91
  class: "text-inverse",
92
92
  innerHTML: hLogoColor
93
93
  })), h("p", {
94
- key: '3c2424662345ce48f2db344a5efd0aa2dc5ef002',
94
+ key: 'a978cd92ca70c5dd3437e251e603bc33099bb250',
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": "1.4.0",
3
+ "version": "2.1.0",
4
4
  "module": "./index.esm.js",
5
5
  "type": "module",
6
6
  "main": "./index.esm.js",
@@ -24,6 +24,7 @@ export declare const EdsLink: import("react").ForwardRefExoticComponent<JSX.EdsL
24
24
  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>>;
25
25
  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>>;
26
26
  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>>;
27
+ export declare const EdsNps: import("react").ForwardRefExoticComponent<JSX.EdsNps & Omit<import("react").HTMLAttributes<HTMLEdsNpsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsNpsElement>>;
27
28
  export declare const EdsPagination: import("react").ForwardRefExoticComponent<JSX.EdsPagination & Omit<import("react").HTMLAttributes<HTMLEdsPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsPaginationElement>>;
28
29
  export declare const EdsPie: import("react").ForwardRefExoticComponent<JSX.EdsPie & Omit<import("react").HTMLAttributes<HTMLEdsPieElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsPieElement>>;
29
30
  export declare const EdsProgressBar: import("react").ForwardRefExoticComponent<JSX.EdsProgressBar & Omit<import("react").HTMLAttributes<HTMLEdsProgressBarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsProgressBarElement>>;
@@ -0,0 +1,3 @@
1
+ const start = `<svg fill="#000000" width="20" height="20" viewBox="0 0 1920 1920" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <g fill-rule="evenodd"> <path d="M451.823 1807.059h1185.883c31.203 0 56.47-25.25 56.47-56.47V169.411c0-31.221-25.267-56.47-56.47-56.47H451.823V0h1185.883c93.561 0 169.411 75.798 169.411 169.412v1581.176c0 93.614-75.85 169.412-169.411 169.412H451.823v-112.941Z" fill-rule="nonzero"></path> <path d="M225.941 0v1920h112.941V0zm993.081 1016.47H564.76V903.53h654.262L976.6 661.106l79.861-79.861L1435.216 960l-378.755 378.754-79.861-79.861z"></path> </g> </g></svg>`;
2
+
3
+ export { start as s };
@@ -37,6 +37,12 @@ import { p as privat } from './private-1c25ff8e.esm.js';
37
37
  import { p as pub } from './public-d4d8c585.esm.js';
38
38
  import { t as tutorial } from './tutotial-150ee1fd.esm.js';
39
39
  import { u as upDonw } from './up-and-down-d747abee.esm.js';
40
+ import { b as bin } from './bin-37cad2f0.esm.js';
41
+ import { s as start } from './start-65126a4f.esm.js';
42
+ import { d as draft } from './draft-dd5dada2.esm.js';
43
+ import { e as edit } from './edit-3893a517.esm.js';
44
+ import { v as view } from './view-e900f2d4.esm.js';
45
+ import { c as clone } from './clone-dab56639.esm.js';
40
46
  import 'react';
41
47
  import 'react/jsx-runtime';
42
48
  import 'react-dom';
@@ -284,7 +290,13 @@ const svgs = /*#__PURE__*/Object.freeze({
284
290
  thumbsUp: thumbsUp,
285
291
  thumbsDown: thumbsDown,
286
292
  star: star,
287
- external: arrowExternal
293
+ external: arrowExternal,
294
+ bin: bin,
295
+ start: start,
296
+ draft: draft,
297
+ edit: edit,
298
+ view: view,
299
+ clone: clone
288
300
  });
289
301
  const svgRepositoryCss = ":host,.full-width{display:block;width:100%}";
290
302
  const SvgRepositoryStyle0 = svgRepositoryCss;
@@ -317,10 +329,10 @@ const SvgRepository = class {
317
329
  }
318
330
  };
319
331
  return h("div", {
320
- key: 'c8c6a714522ff3e122b58c4bb931af7f95d281fa',
332
+ key: '7182d9e62bbee54fe4787d4fdd00e454d4f9df44',
321
333
  class: "full-width"
322
334
  }, h("eds-table", {
323
- key: 'f3251327f43c5b18f7677738f37b60ff0e604c3f',
335
+ key: '4f9e0681ce92a66ca09fd933663caf465208306d',
324
336
  "table-data": JSON.stringify(svgData),
325
337
  config: JSON.stringify(tableConfig),
326
338
  "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: '0ba9dbb1b98cb398c2eb989391f6e978f9dc21ef',
299
+ key: 'b8b778fe87179f77bb71705d89026c500b0293fb',
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: '0b0ccb9adcfa77ea898828ddbb244e959f93e2e4',
320
+ key: '584f5f90e1e3813692870fbd8fd382956729dbf1',
321
321
  class: "w-full mt-28"
322
322
  }, h("ul", {
323
- key: '94f17ad36ec9fcc47b645e323c7e5a8f3e040dda',
323
+ key: '81786b7835d62739d6ec034609e77209e15e3b38',
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: '18d2b4cdcc3b6d6ce8864a9c36e869be9b9e5cb4',
361
+ key: '8ca055cb3616c9bc3f6e8c1032671ff53a540156',
362
362
  class: "w-full mt-28"
363
363
  }, h("ul", {
364
- key: '63e646788009d3315d2f4e03f1a780811486d9a0',
364
+ key: '7b72868285aaffe0f31628b5ab142e39aaccd964',
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: '0fb029d34cba573e04e15030b3fdd1497ac9974e',
20
+ key: '255775984f1d0edd52f48814776dfb5739b4885e',
21
21
  class: "w-full"
22
22
  }, h("eds-section-core", {
23
- key: 'd6914b95ef74d590d58b0c90600fc44f5d9d6678',
23
+ key: '7fd28e74db00800fcaa4adb13dd6b0b9cace371d',
24
24
  tag: "div",
25
25
  "section-title": "Aspect Ratios",
26
26
  "heading-level": "h3"
27
27
  }, h("ul", {
28
- key: 'f08511f07380707795b810fd0f34c1acdc47d37d',
28
+ key: '1e4c0af9a699e69c5bc6c86df821c457bb20614a',
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: '144e643ff3f26d09b932b3bfa2086164134728c0',
12
+ key: '9967174337c771b175eb51d9cd77ec227071178e',
13
13
  class: "w-full"
14
14
  }, h("ul", {
15
- key: 'fabddc807bcd5cefbfced6391117e9eb065ffff0',
15
+ key: 'db8df572ea997ea83600cb522c761ec5c99788bc',
16
16
  class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
17
17
  }, h("li", {
18
- key: 'cc0fba19927a1c3ad33008dc1087ee75e0c9fe2d',
18
+ key: '25a7b31970e56ce8ff62c81a69daac121984d9d6',
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: '328054d7cfe6a0678e9e592b91dba6a8524c2039',
21
+ key: '1a1dfa005e39237c2fedb210c0082293770387c6',
22
22
  class: "container p-8 item-center border-2 border-soft"
23
23
  }, h("div", {
24
- key: 'e50e3533e36feb7021cac8ac10cc9a05e7f24c0a',
24
+ key: '473024ed6927d1a140eee0e021af92790c3ec5b0',
25
25
  class: "spacing-sample m-16 bg-strong"
26
26
  }, h("span", {
27
- key: '87165037495881426a3c9848953e049ec7e96b7a',
27
+ key: '7b691bf830943134160396ddcd8f71e419eb29e2',
28
28
  class: "f-body-01 text-inverse"
29
29
  }, "Margin: 1rem / m-16")))), h("li", {
30
- key: 'a6a98204655e53b6ef9ce9f2fd90b561c79c185d',
30
+ key: '38f1d4d7e78b1efdbc55cf732b6be2ac3a62b5b7',
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: '385ae898ce1f1f96cbb236ded619a05d8326c304',
33
+ key: '3a0fc8cdfa13bf0998a4829c36a74b17a6ee2314',
34
34
  class: "container p-8 item-center border-2 border-soft"
35
35
  }, h("div", {
36
- key: '4e6c11ae90e22efa73fb6c9481ee2c1511365394',
36
+ key: 'ec730379e1041a68c9d980bb6b5d4b16560debb0',
37
37
  class: "spacing-sample ml-64 bg-strong"
38
38
  }, h("span", {
39
- key: 'a13a1886b5019ca48a19d24ba03b3caa1c51bc3f',
39
+ key: 'fd6f3ab787f1d43fb0b060e8408a1464eacd9875',
40
40
  class: "f-body-01 text-inverse"
41
41
  }, "Margin Left: 4rem / ml-64")))), h("li", {
42
- key: '7b2f325ced5281668e6ece98d56caf864b34c7e8',
42
+ key: '60a45420ca9cd7f4dab1524c8d6be31b39295b0c',
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: '3e1a69b9983bc993686426ec84dd70b4803538a6',
45
+ key: 'ec433621396341959df05dd4becf2844c4266ea5',
46
46
  class: "container p-8 item-center border-2 border-soft"
47
47
  }, h("div", {
48
- key: '66804ce21771e53210bc385ac8cefce4c554d188',
48
+ key: 'e2ae2d3a3f0eb5226fae09d70eff099ed79ca0e6',
49
49
  class: "spacing-sample mt-32 bg-strong"
50
50
  }, h("span", {
51
- key: '91cee3a9cf00777f1d2b4cde4ce484fcddef52f5',
51
+ key: '1da10931bb4dae62a1a1c020c89463634a3c1630',
52
52
  class: "f-body-01 text-inverse"
53
53
  }, "Margin Top: 2rem / mt-32")))), h("li", {
54
- key: '9d9074db464e7ecc36977c69b0fdd053e8025dec',
54
+ key: 'f2f6ff5c992df7d4d426a3488cb7aa7ad9b7bc85',
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: 'e6a2d7d1ded9c92ca41d211dca3dcca9f03ad707',
57
+ key: '23700500e04f2ec99fb5329092b7e430f7ac4274',
58
58
  class: "container p-8 item-center border-2 border-soft"
59
59
  }, h("div", {
60
- key: 'c87e88d711ec5298525f1d901958a035837b3db0',
60
+ key: 'bc304e082326c02787a62681fa86d20382fbb2d7',
61
61
  class: "spacing-sample p-32 bg-strong"
62
62
  }, h("span", {
63
- key: '6276cb3c19a8fd1262c5002e682099f13d38b512',
63
+ key: '32692a307c58603ac232bb1004b88e0b5bff0c3d',
64
64
  class: "f-body-01 text-inverse"
65
65
  }, "Padding: 2rem / p-32")))), h("li", {
66
- key: 'c8614add23a4802ccbb3086c74ac2871ad0a0340',
66
+ key: '6fc5032427724389d29d200347e3f5de984d6ec5',
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: '68b73e788596e32a696e012d08ec11cf479a5d45',
69
+ key: 'f66687c53866291f4f455153e34813d53bbb6d68',
70
70
  class: "container p-8 item-center border-2 border-soft"
71
71
  }, h("div", {
72
- key: 'b057f25cdeda7c6cc3f0ce21e199d84d90bb0bfa',
72
+ key: 'c4305cf37d1f08f50be085664d9a4da0c4859805',
73
73
  class: "spacing-sample pt-32 bg-strong"
74
74
  }, h("span", {
75
- key: 'a72e385bdaed3c6c8a06fb7951f6b326eb8f2e4f',
75
+ key: '4bd0c2056950a34d119c11ffd04e1dce1b8136c5',
76
76
  class: "f-body-01 text-inverse"
77
77
  }, "Padding Top: 2rem / pt-32")))), h("li", {
78
- key: '11be77901177c2372b29076072dd7544f7371aa4',
78
+ key: '67053133a6c121e02b7cab1da4cf4bc025dcc28d',
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: '5606d88389c6aaa16a9941fefe2bc34e881b22a3',
81
+ key: 'dc7c1198e284eb0d71d183017e99fca72c3fb2a7',
82
82
  class: "container p-8 item-center border-2 border-soft"
83
83
  }, h("div", {
84
- key: '1341d44c62567c8b5078046644cda8ddcec59809',
84
+ key: '3e69f16b8673007197f18b736e07a9e2c86e7eeb',
85
85
  class: "spacing-sample pl-32 bg-strong"
86
86
  }, h("span", {
87
- key: 'b9208571277fced609ea55a113a30dc7a424c2a8',
87
+ key: '5a112de1bf2ce66ea278da76b8890aff02cce8af',
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: 'b831c9707b00d17768f585e2015de8a7289b11d2',
205
+ key: 'b638ddc335ade66f9eb0af8752f56945270fc5ee',
206
206
  class: "w-full"
207
207
  }, h("ul", {
208
- key: '472e46f2c903597d24e8f24cf28b6f475c7d7a82',
208
+ key: '40f638bc0eccdcc79aecaf5da8fc9c1332122d49',
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", {
@@ -0,0 +1,3 @@
1
+ const view = `<svg width="20" height="20" viewBox="-102.4 -102.4 1228.80 1228.80" xmlns="http://www.w3.org/2000/svg" fill="#000000" stroke="#000000" stroke-width="0.01024" transform="matrix(1, 0, 0, 1, 0, 0)rotate(0)"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill="#000000" d="M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"></path></g></svg>`;
2
+
3
+ export { view as v };