@ebrains/react 0.8.0-alpha.0 → 0.9.0-beta

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 (83) hide show
  1. package/README.md +7 -0
  2. package/bookmark-c200037c.esm.js +16 -0
  3. package/color-primary-palette_6.entry.esm.js +163 -141
  4. package/{eds-components-section.entry.esm.js → components-section.entry.esm.js} +22 -18
  5. package/correct-use-of-colors.entry.esm.js +49 -49
  6. package/{eds-docs-palettes.entry.esm.js → docs-palettes.entry.esm.js} +3 -3
  7. package/{eds-docs-tokens.entry.esm.js → docs-tokens.entry.esm.js} +3 -3
  8. package/eds-accordion.entry.esm.js +132 -0
  9. package/eds-app-root.entry.esm.js +4 -4
  10. package/{eds-accordion_17.entry.esm.js → eds-avatar_24.entry.esm.js} +128 -49
  11. package/eds-card-desc_3.entry.esm.js +1 -1
  12. package/eds-cookies-preference.entry.esm.js +2 -2
  13. package/eds-feedback.entry.esm.js +9 -9
  14. package/eds-frame.entry.esm.js +9 -15
  15. package/eds-icon-bluesky.entry.esm.js +1 -1
  16. package/eds-icon-bookmark.entry.esm.js +21 -0
  17. package/eds-icon-close.entry.esm.js +1 -1
  18. package/eds-icon-copy.entry.esm.js +1 -1
  19. package/eds-icon-eu.entry.esm.js +1 -1
  20. package/eds-icon-external.entry.esm.js +21 -0
  21. package/eds-icon-facebook.entry.esm.js +1 -1
  22. package/eds-icon-gitlab.entry.esm.js +1 -1
  23. package/eds-icon-linkedin.entry.esm.js +1 -1
  24. package/eds-icon-loader.entry.esm.js +1 -1
  25. package/eds-icon-mastodon.entry.esm.js +1 -1
  26. package/eds-icon-menu.entry.esm.js +1 -1
  27. package/eds-icon-minus.entry.esm.js +21 -0
  28. package/eds-icon-more.entry.esm.js +1 -1
  29. package/eds-icon-paper.entry.esm.js +21 -0
  30. package/eds-icon-plus.entry.esm.js +21 -0
  31. package/eds-icon-portal.entry.esm.js +21 -0
  32. package/eds-icon-private.entry.esm.js +21 -0
  33. package/eds-icon-public.entry.esm.js +21 -0
  34. package/eds-icon-search.entry.esm.js +1 -1
  35. package/eds-icon-star.entry.esm.js +1 -1
  36. package/eds-icon-success.entry.esm.js +1 -1
  37. package/eds-icon-thumbs-down.entry.esm.js +1 -1
  38. package/eds-icon-thumbs-up.entry.esm.js +1 -1
  39. package/eds-icon-tutorial.entry.esm.js +21 -0
  40. package/eds-icon-twitter.entry.esm.js +1 -1
  41. package/eds-icon-unknown.entry.esm.js +21 -0
  42. package/eds-icon-updown.entry.esm.js +21 -0
  43. package/eds-icon-user.entry.esm.js +1 -1
  44. package/eds-icon-youtube.entry.esm.js +1 -1
  45. package/eds-login_2.entry.esm.js +27 -15
  46. package/eds-matomo-notice.entry.esm.js +162 -0
  47. package/eds-modal.entry.esm.js +13 -13
  48. package/eds-pagination_2.entry.esm.js +12 -12
  49. package/eds-progress-bar.entry.esm.js +2 -2
  50. package/eds-rating.entry.esm.js +1 -1
  51. package/eds-section-core_2.entry.esm.js +5 -5
  52. package/eds-spinner.entry.esm.js +3 -3
  53. package/eds-switch.entry.esm.js +5 -5
  54. package/eds-tabs.entry.esm.js +4 -4
  55. package/eds-timeline.entry.esm.js +5 -5
  56. package/eds-toast-manager.entry.esm.js +1 -1
  57. package/eds-tooltip.entry.esm.js +3 -3
  58. package/eds-trl.entry.esm.js +2 -2
  59. package/incorrect-use-of-colors.entry.esm.js +9 -9
  60. package/index.esm.js +1 -1
  61. package/index.esm2.js +58 -30
  62. package/logo-space.entry.esm.js +28 -12
  63. package/logo-variations-horizontal_2.entry.esm.js +73 -66
  64. package/{eds-logo-variations.entry.esm.js → logo-variations-tabs.entry.esm.js} +3 -3
  65. package/logo-wrong-usage.entry.esm.js +71 -107
  66. package/minus-b30a7c71.esm.js +11 -0
  67. package/package.json +1 -1
  68. package/paper-8e74ea31.esm.js +15 -0
  69. package/plus-89c07be2.esm.js +12 -0
  70. package/portal-d6c8ce56.esm.js +18 -0
  71. package/private-1c25ff8e.esm.js +25 -0
  72. package/public-d4d8c585.esm.js +16 -0
  73. package/src/components.d.ts +0 -2
  74. package/{eds-svg-repository.entry.esm.js → svg-repository.entry.esm.js} +29 -28
  75. package/token-list_3.entry.esm.js +9 -9
  76. package/token-ratios.entry.esm.js +3 -3
  77. package/token-typography.entry.esm.js +10 -7
  78. package/tutotial-150ee1fd.esm.js +27 -0
  79. package/unknown-ed01a24c.esm.js +22 -0
  80. package/up-and-down-d747abee.esm.js +12 -0
  81. package/eds-form.entry.esm.js +0 -473
  82. package/eds-input_7.entry.esm.js +0 -569
  83. package/token-spacing.entry.esm.js +0 -93
@@ -115,7 +115,7 @@ const EdsTag = class {
115
115
  intent: this.intent
116
116
  });
117
117
  return h("span", {
118
- key: '314cc7432e8a56cf4676982180ada160c7b14746',
118
+ key: '55a6039b040436e5dded9aaf1007668b97091ba3',
119
119
  class: classes
120
120
  }, this.label);
121
121
  }
@@ -29,9 +29,9 @@ const EdsCookiesPreference = class {
29
29
  }
30
30
  render() {
31
31
  return h("div", {
32
- key: '13e1244d4e151f091eaca1d22dbed009bcb97786'
32
+ key: 'fe3330180b8f3a5ff6b02156f5d76afb8cdf7edd'
33
33
  }, h("eds-link", {
34
- key: '4cfc54b447c93824f98da1f990a28fdb61018afe',
34
+ key: 'c5d63e486cb63bcb28b89babe606ac1eae525fe0',
35
35
  size: "small",
36
36
  intent: this.intent,
37
37
  label: this.buttonText,
@@ -4,7 +4,7 @@ import 'react';
4
4
  import 'react/jsx-runtime';
5
5
  import 'react-dom';
6
6
 
7
- const edsFeedbackCss = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.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)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.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)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}";
7
+ const edsFeedbackCss = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.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)}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.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)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}";
8
8
  const EdsFeedbackStyle0 = edsFeedbackCss;
9
9
  const EdsFeedback = class {
10
10
  constructor(hostRef) {
@@ -56,20 +56,20 @@ const EdsFeedback = class {
56
56
  }
57
57
  render() {
58
58
  return h("div", {
59
- key: '3cdbbc2eb256ca4f2008f03e90ae9aacb6afbaac',
59
+ key: '5fbf2af8386c318134b64c1323553bc00ee2fe2c',
60
60
  class: "grid inline"
61
- }, h("p", {
62
- key: 'afb5aa7ab4a8c3117a4db0a5cbeca0195ccec3e8',
63
- class: "f-heading-03 my-4"
61
+ }, h("h1", {
62
+ key: 'f5ec1e3cbbfa9c1d549a69c76e01609253c6dfea',
63
+ class: "f-heading-01 my-4"
64
64
  }, this.label), h("p", {
65
- key: '9b1b83b31d05d10943bcf9e9a413686caa9e49a7',
66
- class: "f-body-02 text-light"
65
+ key: '60348466e10a5295fdb861f512c1037cdf8fbf27',
66
+ class: "f-body-01 text-light"
67
67
  }, this.description), h("eds-rating", {
68
- key: '4535006f72ee21d168d9b42da6a5c3528417d2f4',
68
+ key: 'ed559e7844c20081e82ccc0cddd4a34691a7ad1d',
69
69
  "rating-type": this.type,
70
70
  "rating-count": this.count
71
71
  }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && h("span", {
72
- key: 'b90b59aaae1e2bc6071e1488f332d0c154bdb25a',
72
+ key: 'b4ab49d3c936649c75714ef2cd9fc09f9a213437',
73
73
  class: "f-ui-04 text-lighter"
74
74
  }, this.parsedMappings[this.selectedRating - 1]));
75
75
  }
@@ -9,10 +9,10 @@ const EdsFrame = class {
9
9
  constructor(hostRef) {
10
10
  registerInstance(this, hostRef);
11
11
  this.frameLabel = undefined;
12
- this.urlLabel = 'Open in Storybook';
13
- this.errorMessage = 'Could not load the requested Storybook content. Please check the URL or try again later.';
14
- this.storybookUrl = undefined;
15
- this.storyPath = undefined;
12
+ this.frameSrc = undefined;
13
+ this.urlLabel = 'Open';
14
+ this.errorMessage = 'Could not load the requested content. Please check the URL or try again later.';
15
+ this.url = undefined;
16
16
  this.intent = 'strong';
17
17
  this.size = 'auto';
18
18
  this.iframeError = false;
@@ -71,32 +71,26 @@ const EdsFrame = class {
71
71
  this.iframeError = true;
72
72
  }
73
73
  }
74
- get storyLink() {
75
- return `${this.storybookUrl}/?path=/story/${this.storyPath}`;
76
- }
77
- get frameSrc() {
78
- return `${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`;
79
- }
80
74
  render() {
81
75
  return h("div", {
82
- key: '387b8a4cb8f300a5a6b82287369f123b33613616',
76
+ key: 'b26229611868992daf5f4ca5037e1e10b2540ee5',
83
77
  class: this.articleClasses()
84
78
  }, h("div", {
85
- key: '8db6b1b5aecdaf2722786db85b2d3cf5b4bccac4',
79
+ key: '4cf9ff78b27ce7f88db50feccc9d267c2e727a2c',
86
80
  class: "effect-height flex items-center justify-between py-8 px-12"
87
81
  }, h("span", {
88
- key: '696cb266ffbaeb8325c274c646668ba0d8beb751',
82
+ key: 'bf2c1607d3fcbbf152691ec4e6134e737f6d1082',
89
83
  class: "f-ui-02"
90
84
  }, this.frameLabel), !this.iframeError ? h("eds-link", {
91
85
  label: this.urlLabel,
92
- url: this.storyLink,
86
+ url: this.url,
93
87
  intent: this.intent,
94
88
  class: "ml-auto",
95
89
  external: true,
96
90
  disabled: false,
97
91
  icon: "arrow-diagonal"
98
92
  }) : null), h("div", {
99
- key: '9841812873efe999746eb008dd5e606e89efdb71',
93
+ key: 'd9f059766c509d7325ea734c63e29d7995cc8065',
100
94
  class: "border-softer"
101
95
  }, this.iframeError ? h("div", {
102
96
  class: "container ml-8 mr-8 mt-16"
@@ -11,7 +11,7 @@ const EdsIconBluesky = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '79800c239aca2980caac99b21bc5ed025801f11b',
14
+ key: 'a06ab2e79a1ec7603244ec09649ccc2c9ea1950c',
15
15
  class: this.class,
16
16
  innerHTML: bluesky
17
17
  });
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { b as bookmark } from './bookmark-c200037c.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconBookmark = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: '9cc4aa1805e43ca6275305e26d2fff79e2818862',
15
+ class: this.class,
16
+ innerHTML: bookmark
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconBookmark as eds_icon_bookmark };
@@ -11,7 +11,7 @@ const EdsIconClose = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'cdc9ce68b682f85cd180461ec58ec0a402833941',
14
+ key: '95690e0a265a88172a33edfa456de45a9943578f',
15
15
  class: this.class,
16
16
  innerHTML: close
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconCopy = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'cf0aeae1e95d6bf9fab75d9153b28395821bc41a',
14
+ key: '2f2e67b6792ca2c4aa711526a3d69e7a9779e159',
15
15
  class: this.class,
16
16
  innerHTML: copy
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconEu = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'b05d83668879b6f05e20bb569f98b5614b134594',
14
+ key: '9758d733a6bdc751f059588ca8c3bc916f430968',
15
15
  class: this.class,
16
16
  innerHTML: euSvg
17
17
  });
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { a as arrowDiagonal } from './arrow-diagonal-black-8f0494c3.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconExternal = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: '8b5169456f56b7294d86af4e75a9aeec20a20174',
15
+ class: this.class,
16
+ innerHTML: arrowDiagonal
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconExternal as eds_icon_external };
@@ -11,7 +11,7 @@ const EdsIconFacebook = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '1c2cc23670adff6ad51800e71c43e91381a0b15e',
14
+ key: '62aec1f1d6b8e4844be83c94471b64a30c1212b9',
15
15
  class: this.class,
16
16
  innerHTML: facebook
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconGitlab = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '844a286865abb7d1cb0037126dda71edf53e05a3',
14
+ key: '804e76ad1a00913b2e5ac695e43eeb33f1fd9727',
15
15
  class: this.class,
16
16
  innerHTML: gitlabBlack
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconLinkedin = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '39c4f238655f348f385886861ce5f0c5098f39ec',
14
+ key: '72eb0709ccbfc7830ab146f936a2587407feb0bb',
15
15
  class: this.class,
16
16
  innerHTML: linkedin
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconLoader = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '00c35977290c38061fd73a30d4187d43efae102e',
14
+ key: 'c7d6b2dae9717ba0e99a8ecb98e4f9b02c45be6d',
15
15
  class: this.class,
16
16
  innerHTML: loader
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconMastodon = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '3a5ecd9141abeac3ee4e51e31eb10b3e14e4c0ab',
14
+ key: '5388b5cef5d643984157e0bed9263e83934dc7e3',
15
15
  class: this.class,
16
16
  innerHTML: mastodon
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconMenu = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'd4c98e638eaa5cb15ff671d989fd40ae84f59b1a',
14
+ key: '3fcbaa6aba76b06be9f4e72bf7c61a0c3fbae9fd',
15
15
  class: this.class,
16
16
  innerHTML: menu
17
17
  });
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { m as minus } from './minus-b30a7c71.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconMinus = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: 'e615c57f7195878310f596124ede34304fcce5e1',
15
+ class: this.class,
16
+ innerHTML: minus
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconMinus as eds_icon_minus };
@@ -11,7 +11,7 @@ const EdsIconMore = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'e9500869c3e6bcff5cfc460596cc5632d93885a1',
14
+ key: '770c34b98ec0e0a7e16de4d7b5b41b4afec9911e',
15
15
  class: this.class,
16
16
  innerHTML: more
17
17
  });
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { p as paper } from './paper-8e74ea31.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconPaper = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: 'cb9f7af8825527f86c200203611dae752cb3d647',
15
+ class: this.class,
16
+ innerHTML: paper
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconPaper as eds_icon_paper };
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { p as plus } from './plus-89c07be2.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconPlus = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: '75a9d03500e01cc9d5f7b19a5afd2491ad2e6fee',
15
+ class: this.class,
16
+ innerHTML: plus
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconPlus as eds_icon_plus };
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { p as portal } from './portal-d6c8ce56.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconPortal = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: '260c4eeb69ff79d943571c1461346b9019ea513a',
15
+ class: this.class,
16
+ innerHTML: portal
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconPortal as eds_icon_portal };
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { p as privat } from './private-1c25ff8e.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconPrivate = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: 'd57700e721a421e4c970a1e643d92548fcf2b18c',
15
+ class: this.class,
16
+ innerHTML: privat
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconPrivate as eds_icon_private };
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { p as pub } from './public-d4d8c585.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconPublic = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: 'b3a338684e00d2d612a49734cbb3cfd8e44b4eee',
15
+ class: this.class,
16
+ innerHTML: pub
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconPublic as eds_icon_public };
@@ -11,7 +11,7 @@ const EdsIconSearch = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '994194ec98bb519584b4ba72fa630c3ded51d26e',
14
+ key: '6795d973d3a1fff27c2fd6181235d0284abaf3b7',
15
15
  class: this.class,
16
16
  innerHTML: search
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconStar = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'f9dcfa2e4c9cc938f3fd994ca3637c80f0495028',
14
+ key: 'dd9df55fa03c1b27f2f931c7d07ccc69ee940ff4',
15
15
  class: this.class,
16
16
  innerHTML: star
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconSuccess = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '77c30814dc10c8de54368bd9d1282da4d81df555',
14
+ key: 'e0e594e8a715e0cbaf87280f2b4c55b017dc07ba',
15
15
  class: this.class,
16
16
  innerHTML: success
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconThumbsDown = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'c46717d76f06b3d3a52d5072b85f5886aa75d321',
14
+ key: '94d79a5d32574820ab3459708e3d8c4a3f28f79f',
15
15
  class: this.class,
16
16
  innerHTML: thumbsDown
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconThumbsUp = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'ddfcfc0690d869c16402c265219faa73e1f324b2',
14
+ key: 'd7f5361ec8f863891c79de15966d546bae782c0a',
15
15
  class: this.class,
16
16
  innerHTML: thumbsUp
17
17
  });
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { t as tutorial } from './tutotial-150ee1fd.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconTutorial = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: '9db1730236b54d01a4264e92465f9a953325f7ca',
15
+ class: this.class,
16
+ innerHTML: tutorial
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconTutorial as eds_icon_tutorial };
@@ -11,7 +11,7 @@ const EdsIconTwitter = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'e0e594e8a715e0cbaf87280f2b4c55b017dc07ba',
14
+ key: 'cd91bfb2003e955cfb02b5efc28e13b54cc3b7e6',
15
15
  class: this.class,
16
16
  innerHTML: twitter
17
17
  });
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { u as unknown } from './unknown-ed01a24c.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconUnknown = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: '259a1fae59093dd4e1fd6d26e07aae0e8c3de2fd',
15
+ class: this.class,
16
+ innerHTML: unknown
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconUnknown as eds_icon_unknown };
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index.esm2.js';
2
+ import { u as upDonw } from './up-and-down-d747abee.esm.js';
3
+ import 'react';
4
+ import 'react/jsx-runtime';
5
+ import 'react-dom';
6
+
7
+ const EdsIconUpdown = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ this.class = '';
11
+ }
12
+ render() {
13
+ return h("span", {
14
+ key: '9383784da3e52d22395288f8eba5b6f4ee826aa5',
15
+ class: this.class,
16
+ innerHTML: upDonw
17
+ });
18
+ }
19
+ };
20
+
21
+ export { EdsIconUpdown as eds_icon_updown };
@@ -11,7 +11,7 @@ const EdsIconUser = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: 'ff014a9761d8380a9fd8c97d3dd483b8d6fc786c',
14
+ key: '15fa7c4b7d2dea5740d0926bb1ff6490b23667f8',
15
15
  class: this.class,
16
16
  innerHTML: user
17
17
  });
@@ -11,7 +11,7 @@ const EdsIconYoutube = class {
11
11
  }
12
12
  render() {
13
13
  return h("span", {
14
- key: '8b5d4cfeedf6d7e9bea48d7ba892527d484c858d',
14
+ key: '1a7ad8d7cbef70822ebda2f152d8b537df1eaf27',
15
15
  class: this.class,
16
16
  innerHTML: youtube
17
17
  });
@@ -1732,10 +1732,10 @@ const EdsLogin = class {
1732
1732
  }
1733
1733
  render() {
1734
1734
  return h("div", {
1735
- key: 'dace7b16af2f945e4981c9ef139f4c2ae94e130c',
1735
+ key: 'ac10895096f36f2fb3a79622972d5a8c519685eb',
1736
1736
  class: "block"
1737
1737
  }, !this.authenticated && h("eds-button", {
1738
- key: 'a8d0bd545e8ae4a159b5977d50d05ae27dec7df3',
1738
+ key: '55aab5ee63214d6a1ccdefc303273df99aa309cf',
1739
1739
  label: "Login",
1740
1740
  intent: "primary",
1741
1741
  "extra-class": "text-default",
@@ -1754,21 +1754,28 @@ const EdsSplashScreen = class {
1754
1754
  this.initPromise = undefined;
1755
1755
  this.isVisible = true;
1756
1756
  }
1757
+ // When the component loads, check if there is a promise.
1757
1758
  componentWillLoad() {
1758
- // If an initialization promise is provided, wait for it.
1759
1759
  if (this.initPromise) {
1760
- this.initPromise.then(() => {
1761
- // eslint-disable-next-line
1762
- console.log('Promises resolved');
1763
- this.hideSplash();
1764
- }).catch(error => {
1765
- // eslint-disable-next-line
1766
- console.error('Initialization error:', error);
1767
- this.splash.emit({
1768
- type: 'error',
1769
- message: error.message || 'Unknown error'
1770
- });
1771
- //this.hideSplash();
1760
+ this.handleInitPromise(this.initPromise);
1761
+ }
1762
+ }
1763
+ // Watch for changes on initPromise.
1764
+ async watchInitPromise(newPromise) {
1765
+ if (newPromise) {
1766
+ this.handleInitPromise(newPromise);
1767
+ }
1768
+ }
1769
+ async handleInitPromise(promise) {
1770
+ try {
1771
+ await promise;
1772
+ //console.log('Promises resolved');
1773
+ this.hideSplash();
1774
+ } catch (error) {
1775
+ //console.error('Initialization error:', error);
1776
+ this.splash.emit({
1777
+ type: 'error',
1778
+ message: error.message || 'Unknown error'
1772
1779
  });
1773
1780
  }
1774
1781
  }
@@ -1810,6 +1817,11 @@ const EdsSplashScreen = class {
1810
1817
  fullscreen: false
1811
1818
  }))));
1812
1819
  }
1820
+ static get watchers() {
1821
+ return {
1822
+ "initPromise": ["watchInitPromise"]
1823
+ };
1824
+ }
1813
1825
  };
1814
1826
  EdsSplashScreen.style = EdsSplashScreenStyle0;
1815
1827