@ebrains/components 0.3.0-alpha.0 → 0.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/cjs/{color-3ffe3072.js → color-88793e49.js} +2 -2
  2. package/dist/cjs/components.cjs.js +1 -1
  3. package/dist/cjs/eds-accordion_33.cjs.entry.js +2670 -0
  4. package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
  5. package/dist/cjs/eds-card-section.cjs.entry.js +3 -3
  6. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  7. package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
  8. package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-code-block.cjs.entry.js +48 -1
  10. package/dist/cjs/eds-matomo-notice.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-pagination_2.cjs.entry.js +33 -15
  12. package/dist/cjs/eds-rating.cjs.entry.js +5 -7
  13. package/dist/cjs/eds-tabs-content.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-tabs.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-timeline.cjs.entry.js +3 -2
  16. package/dist/cjs/eds-tooltip.cjs.entry.js +11 -1
  17. package/dist/cjs/eds-trl.cjs.entry.js +7 -8
  18. package/dist/cjs/index-f08e4f5c.js +2 -34
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/collection/collection-manifest.json +1 -1
  21. package/dist/collection/components/eds-accordion/eds-accordion.js +11 -20
  22. package/dist/collection/components/eds-alert/eds-alert.js +5 -7
  23. package/dist/collection/components/eds-alert/eds-alert.stories.js +4 -4
  24. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  25. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +24 -22
  26. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  27. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +2 -1
  28. package/dist/collection/components/eds-button/eds-button.js +1 -1
  29. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +9 -1
  30. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  31. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  32. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
  33. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +14 -8
  34. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +1 -1
  35. package/dist/collection/components/eds-code-block/eds-code-block.js +57 -2
  36. package/dist/collection/components/eds-code-block/eds-code-block.stories.js +78 -0
  37. package/dist/collection/components/eds-dropdown/eds-dropdown.js +11 -21
  38. package/dist/collection/components/eds-form/eds-form.js +41 -31
  39. package/dist/collection/components/eds-form/eds-form.stories.js +0 -3
  40. package/dist/collection/components/eds-frame/eds-frame.stories.js +19 -18
  41. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +4 -1
  42. package/dist/collection/components/eds-link/eds-link.js +3 -4
  43. package/dist/collection/components/eds-modal/eds-modal.css +16 -0
  44. package/dist/collection/components/eds-modal/eds-modal.js +71 -29
  45. package/dist/collection/components/eds-modal/eds-modal.stories.js +34 -18
  46. package/dist/collection/components/eds-pagination/eds-pagination.js +13 -9
  47. package/dist/collection/components/eds-rating/eds-rating.js +8 -10
  48. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.stories.js +12 -11
  49. package/dist/collection/components/eds-table/eds-table.js +20 -7
  50. package/dist/collection/components/eds-timeline/eds-timeline.js +3 -2
  51. package/dist/collection/components/eds-toast/eds-toast.js +21 -0
  52. package/dist/collection/components/eds-tooltip/eds-tooltip.js +10 -1
  53. package/dist/collection/components/eds-trl/eds-trl.js +7 -8
  54. package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +7 -6
  55. package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +8 -39
  56. package/dist/components/analytics.js +2 -2
  57. package/dist/components/components.css +12 -0
  58. package/dist/components/components.esm.js +1 -1
  59. package/dist/components/eds-accordion2.js +12 -20
  60. package/dist/components/eds-alert2.js +5 -7
  61. package/dist/components/eds-avatar2.js +1 -1
  62. package/dist/components/eds-block-break2.js +1 -1
  63. package/dist/components/eds-breadcrumb.js +2 -1
  64. package/dist/components/eds-button2.js +1 -1
  65. package/dist/components/eds-card-desc2.js +1 -1
  66. package/dist/components/eds-card-generic2.js +3 -3
  67. package/dist/components/eds-card-section.js +3 -3
  68. package/dist/components/eds-card-tags.js +1 -1
  69. package/dist/components/eds-card-title2.js +1 -1
  70. package/dist/components/eds-card-wrapper.js +1 -1
  71. package/dist/components/eds-code-block2.js +48 -1
  72. package/dist/components/eds-dropdown2.js +12 -21
  73. package/dist/components/eds-form.js +37 -12
  74. package/dist/components/eds-input-select2.js +1 -1
  75. package/dist/components/eds-link2.js +3 -4
  76. package/dist/components/eds-modal.js +56 -30
  77. package/dist/components/eds-pagination2.js +13 -9
  78. package/dist/components/eds-rating.js +6 -8
  79. package/dist/components/eds-table2.js +20 -6
  80. package/dist/components/eds-timeline.js +3 -2
  81. package/dist/components/eds-toast2.js +21 -0
  82. package/dist/components/eds-tooltip.js +11 -1
  83. package/dist/components/eds-trl.js +7 -8
  84. package/dist/components/p-2dda1ec4.entry.js +1 -0
  85. package/dist/components/{p-d9788b54.entry.js → p-35ec730b.entry.js} +1 -1
  86. package/dist/components/{p-e6bfbf51.entry.js → p-5398d652.entry.js} +2 -2
  87. package/dist/components/{p-e20ed2c7.entry.js → p-610db2b2.entry.js} +1 -1
  88. package/dist/components/p-832dc95a.entry.js +1 -0
  89. package/dist/components/p-855aa1a3.entry.js +1 -0
  90. package/dist/components/{p-52ac3456.entry.js → p-8ddc67a1.entry.js} +1 -1
  91. package/dist/components/p-ab32b3fc.entry.js +1 -0
  92. package/dist/components/p-b04eff31.entry.js +1 -0
  93. package/dist/components/p-b86a4985.js +1 -0
  94. package/dist/components/{p-2e8459ef.entry.js → p-ba6bafef.entry.js} +1 -1
  95. package/dist/components/{p-6fc62452.entry.js → p-c3b294a0.entry.js} +1 -1
  96. package/dist/components/p-c6038449.entry.js +1 -0
  97. package/dist/components/p-c72c8fb0.entry.js +1 -0
  98. package/dist/components/p-dd6daa96.entry.js +1 -0
  99. package/dist/components/{p-73bd0c97.entry.js → p-df94285c.entry.js} +1 -1
  100. package/dist/esm/{color-0ba8ed56.js → color-bb472c37.js} +2 -2
  101. package/dist/esm/components.js +1 -1
  102. package/dist/esm/eds-accordion_33.entry.js +2634 -0
  103. package/dist/esm/eds-card-project.entry.js +1 -1
  104. package/dist/esm/eds-card-section.entry.js +3 -3
  105. package/dist/esm/eds-card-tags.entry.js +1 -1
  106. package/dist/esm/eds-card-tool.entry.js +1 -1
  107. package/dist/esm/eds-card-wrapper.entry.js +1 -1
  108. package/dist/esm/eds-code-block.entry.js +49 -2
  109. package/dist/esm/eds-matomo-notice.entry.js +1 -1
  110. package/dist/esm/eds-pagination_2.entry.js +33 -15
  111. package/dist/esm/eds-rating.entry.js +5 -7
  112. package/dist/esm/eds-tabs-content.entry.js +1 -1
  113. package/dist/esm/eds-tabs.entry.js +1 -1
  114. package/dist/esm/eds-timeline.entry.js +3 -2
  115. package/dist/esm/eds-tooltip.entry.js +11 -1
  116. package/dist/esm/eds-trl.entry.js +7 -8
  117. package/dist/esm/index-e96badea.js +2 -34
  118. package/dist/esm/loader.js +1 -1
  119. package/dist/hydrate/index.js +560 -427
  120. package/dist/hydrate/index.mjs +560 -427
  121. package/dist/types/components/eds-accordion/eds-accordion.d.ts +5 -12
  122. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -18
  123. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +8 -0
  124. package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +6 -2
  125. package/dist/types/components/eds-code-block/eds-code-block.d.ts +43 -3
  126. package/dist/types/components/eds-code-block/eds-code-block.stories.d.ts +54 -0
  127. package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +0 -7
  128. package/dist/types/components/eds-form/eds-form.d.ts +3 -6
  129. package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
  130. package/dist/types/components/eds-frame/eds-frame.stories.d.ts +0 -2
  131. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +3 -0
  132. package/dist/types/components/eds-link/eds-link.d.ts +1 -1
  133. package/dist/types/components/eds-modal/eds-modal.d.ts +18 -3
  134. package/dist/types/components/eds-modal/eds-modal.stories.d.ts +9 -0
  135. package/dist/types/components/eds-rating/eds-rating.d.ts +4 -6
  136. package/dist/types/components/eds-section/eds-section-core/eds-section-core.stories.d.ts +0 -1
  137. package/dist/types/components/eds-table/eds-table.d.ts +5 -5
  138. package/dist/types/components/eds-toast/eds-toast.d.ts +9 -0
  139. package/dist/types/components.d.ts +66 -84
  140. package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +1 -6
  141. package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +42 -21
  142. package/package.json +1 -1
  143. package/dist/cjs/eds-accordion.cjs.entry.js +0 -93
  144. package/dist/cjs/eds-alert.cjs.entry.js +0 -96
  145. package/dist/cjs/eds-avatar_17.cjs.entry.js +0 -1454
  146. package/dist/cjs/eds-card-desc_3.cjs.entry.js +0 -117
  147. package/dist/cjs/eds-card-generic.cjs.entry.js +0 -105
  148. package/dist/cjs/eds-form.cjs.entry.js +0 -322
  149. package/dist/cjs/eds-frame.cjs.entry.js +0 -91
  150. package/dist/cjs/eds-input_7.cjs.entry.js +0 -316
  151. package/dist/cjs/eds-modal.cjs.entry.js +0 -86
  152. package/dist/components/p-02e2a62f.entry.js +0 -1
  153. package/dist/components/p-32f282a9.entry.js +0 -1
  154. package/dist/components/p-3617841d.entry.js +0 -1
  155. package/dist/components/p-373673ca.js +0 -1
  156. package/dist/components/p-3ff76976.entry.js +0 -1
  157. package/dist/components/p-42b4ecff.entry.js +0 -1
  158. package/dist/components/p-54c75346.entry.js +0 -1
  159. package/dist/components/p-5afb626c.entry.js +0 -1
  160. package/dist/components/p-5d7af761.entry.js +0 -1
  161. package/dist/components/p-7215789a.entry.js +0 -1
  162. package/dist/components/p-79887c2c.entry.js +0 -1
  163. package/dist/components/p-84957b6d.entry.js +0 -1
  164. package/dist/components/p-96c4deda.entry.js +0 -1
  165. package/dist/components/p-be6c80da.entry.js +0 -1
  166. package/dist/components/p-d1f6a722.entry.js +0 -1
  167. package/dist/components/p-d7a92efb.entry.js +0 -1
  168. package/dist/components/p-fd27e56c.entry.js +0 -1
  169. package/dist/esm/eds-accordion.entry.js +0 -89
  170. package/dist/esm/eds-alert.entry.js +0 -92
  171. package/dist/esm/eds-avatar_17.entry.js +0 -1434
  172. package/dist/esm/eds-card-desc_3.entry.js +0 -111
  173. package/dist/esm/eds-card-generic.entry.js +0 -101
  174. package/dist/esm/eds-form.entry.js +0 -318
  175. package/dist/esm/eds-frame.entry.js +0 -87
  176. package/dist/esm/eds-input_7.entry.js +0 -306
  177. package/dist/esm/eds-modal.entry.js +0 -82
@@ -47,6 +47,11 @@ export declare class EdsAccordion {
47
47
  private wrapperRef;
48
48
  /** Reference to the element containing the main content */
49
49
  private childContentRef;
50
+ /**
51
+ * Lifecycle method that sets up the initial panel height and adds a resize event listener
52
+ * to recalculate height on window resize.
53
+ */
54
+ componentDidLoad(): void;
50
55
  /**
51
56
  * Handles the click event on the accordion header to toggle expansion.
52
57
  * Toggles the `isExpanded` state and emits the `accordionChange` event.
@@ -57,18 +62,6 @@ export declare class EdsAccordion {
57
62
  * and adjusts based on the `shortContent` and `isExpanded` states.
58
63
  */
59
64
  private setPanelHeight;
60
- /**
61
- * Lifecycle method that sets up the initial panel height and adds a resize event listener
62
- * to recalculate height on window resize.
63
- */
64
- componentDidLoad(): void;
65
- /**
66
- * Emits a custom event called `parentContext` for a given link element.
67
- * This event provides context information about the breadcrumb component.
68
- *
69
- * @param linkElement - The link element to which the event will be dispatched.
70
- */
71
- emitContext(linkElement: HTMLElement): void;
72
65
  /**
73
66
  * Lifecycle method that cleans up the resize event listener when the component is removed.
74
67
  */
@@ -43,21 +43,3 @@ export declare const Default: {
43
43
  rounded: boolean;
44
44
  };
45
45
  };
46
- export declare const WithPicture: {
47
- render: (args: any) => string;
48
- args: {
49
- firstName: string;
50
- lastName: string;
51
- picture: string;
52
- rounded: boolean;
53
- };
54
- };
55
- export declare const BackgroundColorVariant: {
56
- render: (args: any) => string;
57
- args: {
58
- firstName: string;
59
- lastName: string;
60
- color: string;
61
- rounded: boolean;
62
- };
63
- };
@@ -1,3 +1,11 @@
1
+ /**
2
+ * `eds-card-desc` is a simple component that renders a card description.
3
+ *
4
+ * It displays a block of text with optional truncation applied using a CSS line clamp.
5
+ * You can customize the description styling via the `descClass` property and control
6
+ * whether or not the text is truncated and to how many lines.
7
+ *
8
+ */
1
9
  export declare class EdsCardDesc {
2
10
  /**
3
11
  * The description text to be displayed inside the card.
@@ -1,3 +1,7 @@
1
+ export interface Tag {
2
+ label: string;
3
+ style: 'accent' | 'default' | 'weak' | 'strong';
4
+ }
1
5
  /**
2
6
  * `EdsCardGeneric` is a versatile card component designed to display rich content such as titles, descriptions, images, and tags.
3
7
  * The card supports various visual configurations, including hover effects, background styling, and compact layout options.
@@ -41,9 +45,9 @@ export declare class EdsCardGeneric {
41
45
  */
42
46
  headingLevel: string;
43
47
  /**
44
- * A comma-separated string of tags related to the card content.
48
+ * Tags related to the card content.
45
49
  */
46
- tags: any;
50
+ tags: string | Tag[];
47
51
  /**
48
52
  * A boolean that determines whether the card should be displayed with a smaller height.
49
53
  * If true, the card will use the 'tiny' height class.
@@ -2,14 +2,54 @@ import 'prismjs/components/prism-python';
2
2
  import 'prismjs/components/prism-bash';
3
3
  import 'prismjs/components/prism-yaml';
4
4
  import 'prismjs/components/prism-css';
5
+ /**
6
+ * A component that displays a code block with syntax highlighting.
7
+ *
8
+ * Uses Prism.js for syntax highlighting. Supports multiple languages such as JavaScript, HTML, CSS,
9
+ * Python, Bash/Shell, and YAML.
10
+ *
11
+ * */
5
12
  export declare class EdsCodeBlock {
6
- /** The code content to display */
13
+ /**
14
+ * The code content to display.
15
+ */
7
16
  code: string;
8
- /** The language type for syntax highlighting (e.g., 'javascript', 'html', 'css') */
17
+ /**
18
+ * The language type for syntax highlighting (e.g., 'javascript', 'html', 'css')
19
+ * */
9
20
  language: string;
10
- /** Tooltip text for when the code is copied */
21
+ /**
22
+ * Tooltip text for when the code is copied
23
+ * */
11
24
  copied: boolean;
25
+ /**
26
+ * Host element reference
27
+ * */
28
+ el: HTMLElement;
29
+ /**
30
+ * Copies the current code content to the clipboard and sets a temporary copied state.
31
+ *
32
+ * @private
33
+ * @returns {void}
34
+ */
12
35
  private copyToClipboard;
36
+ /**
37
+ * Utility function that creates a human-friendly analytics name based on the code and language.
38
+ * It uses:
39
+ * - The language (in uppercase)
40
+ * - The number of non-empty lines in the code
41
+ * - The first non-empty line of code (truncated to 30 characters, if needed)
42
+ *
43
+ * returns A descriptive analytics name.
44
+ */
45
+ /**
46
+ * Returns the syntax-highlighted HTML for the code.
47
+ * If the provided language is supported by Prism, this method returns the highlighted code.
48
+ * Otherwise, it logs a warning and returns the raw code.
49
+ *
50
+ * @private
51
+ * @returns {string} The highlighted HTML string for the code block.
52
+ */
13
53
  private getHighlightedCode;
14
54
  render(): any;
15
55
  }
@@ -0,0 +1,54 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: string;
4
+ argTypes: {
5
+ code: {
6
+ control: string;
7
+ description: string;
8
+ };
9
+ language: {
10
+ control: string;
11
+ description: string;
12
+ };
13
+ };
14
+ args: {
15
+ code: string;
16
+ language: string;
17
+ };
18
+ };
19
+ export default _default;
20
+ export declare const Default: {
21
+ render: (args: any) => string;
22
+ args: {
23
+ code: string;
24
+ language: string;
25
+ };
26
+ };
27
+ export declare const PythonExample: {
28
+ render: (args: any) => string;
29
+ args: {
30
+ code: string;
31
+ language: string;
32
+ };
33
+ };
34
+ export declare const BashExample: {
35
+ render: (args: any) => string;
36
+ args: {
37
+ code: string;
38
+ language: string;
39
+ };
40
+ };
41
+ export declare const YamlExample: {
42
+ render: (args: any) => string;
43
+ args: {
44
+ code: string;
45
+ language: string;
46
+ };
47
+ };
48
+ export declare const UnsupportedLanguage: {
49
+ render: (args: any) => string;
50
+ args: {
51
+ code: string;
52
+ language: string;
53
+ };
54
+ };
@@ -105,13 +105,6 @@ export declare class EdsDropdown {
105
105
  * Initializes focusable items within the dropdown.
106
106
  */
107
107
  componentDidLoad(): void;
108
- /**
109
- * Emits a custom event called `parentContext` for a given button element.
110
- * Provides context information about the dropdown component.
111
- *
112
- * @param linkElement - The button element to which the event will be dispatched.
113
- */
114
- emitContext(linkElement: HTMLElement): void;
115
108
  /**
116
109
  * Renders the dropdown component and displays its content when open.
117
110
  * @returns {JSX.Element} The rendered dropdown component.
@@ -14,10 +14,6 @@ import { EventEmitter } from '../../stencil-public-runtime';
14
14
  * This component is ideal for implementing complex forms with specific validation and submission behaviors.
15
15
  */
16
16
  export declare class EdsForm {
17
- /**
18
- * If `true`, displays a small alert for messages.
19
- */
20
- smallAlert?: boolean;
21
17
  /**
22
18
  * If `true`, includes the current form URL in the submission data.
23
19
  */
@@ -60,7 +56,7 @@ export declare class EdsForm {
60
56
  * ]
61
57
  * ```
62
58
  */
63
- fields: string;
59
+ fields: string | any[];
64
60
  values: {
65
61
  [key: string]: any;
66
62
  };
@@ -102,6 +98,7 @@ export declare class EdsForm {
102
98
  el: HTMLElement;
103
99
  isAuthenticated: boolean;
104
100
  authUser: any;
101
+ parsedFields: any[];
105
102
  onAuthStatusChanged(event: CustomEvent<any>): void;
106
103
  private formEl;
107
104
  componentDidLoad(): void;
@@ -115,6 +112,6 @@ export declare class EdsForm {
115
112
  handleChange: (e: Event, field: any) => void;
116
113
  handleSubmit: (e: Event) => Promise<void>;
117
114
  getFormData(): Promise<FormData>;
118
- get parseFields(): any;
115
+ parseFields(newValue: string | any[]): void;
119
116
  render(): any;
120
117
  }
@@ -31,11 +31,6 @@ declare const _default: {
31
31
  description: string;
32
32
  defaultValue: boolean;
33
33
  };
34
- smallAlert: {
35
- control: string;
36
- description: string;
37
- defaultValue: boolean;
38
- };
39
34
  setFormUrl: {
40
35
  control: string;
41
36
  description: string;
@@ -41,5 +41,3 @@ declare const _default: {
41
41
  };
42
42
  export default _default;
43
43
  export declare const Default: any;
44
- export declare const SmallFrame: any;
45
- export declare const ErrorState: any;
@@ -17,6 +17,9 @@ import { EventEmitter } from '../../../stencil-public-runtime';
17
17
  *
18
18
  * The component will automatically fetch data if a dynamic configuration is provided.
19
19
  */
20
+ /**
21
+ * @internal
22
+ */
20
23
  export declare class EdsInputSelect {
21
24
  /**
22
25
  * Optional id for the input. If not provided, the component uses the `name` property.
@@ -74,7 +74,7 @@ export declare class EdsLink {
74
74
  */
75
75
  el: HTMLElement;
76
76
  private parentContext;
77
- handleBreadcrumbContext(event: CustomEvent): void;
77
+ handleParentContext(event: CustomEvent): void;
78
78
  private handleClick;
79
79
  private getLinkSize;
80
80
  private renderLeftIcon;
@@ -27,11 +27,29 @@ export declare class EdsModal {
27
27
  * Default is 3 lines.
28
28
  */
29
29
  truncateLines: string;
30
+ /**
31
+ * Specifies the position of the modal.
32
+ *
33
+ * Acceptable values are:
34
+ * - `"middle"` (default): The modal is centered both vertically and horizontally.
35
+ * - `"top"`: The modal is positioned near the top of the viewport.
36
+ * - `"bottom"`: The modal is positioned near the bottom of the viewport.
37
+ * - `"left"`: The modal is positioned on the left side of the viewport, centered vertically.
38
+ * - `"right"`: The modal is positioned on the right side of the viewport, centered vertically.
39
+ */
40
+ position: 'middle' | 'top' | 'bottom' | 'left' | 'right';
30
41
  /**
31
42
  * Reference to the host element.
32
43
  */
33
44
  el: HTMLElement;
34
45
  private getTruncateClass;
46
+ /**
47
+ * Returns the Tailwind CSS classes to position the modal based on the `position` prop.
48
+ *
49
+ * @private
50
+ * @returns {string} The concatenated CSS classes for modal positioning.
51
+ */
52
+ private getModalPositionClasses;
35
53
  /**
36
54
  * Opens the modal.
37
55
  */
@@ -52,9 +70,6 @@ export declare class EdsModal {
52
70
  /**
53
71
  * Emits a custom event called `parentContext` for a given button element.
54
72
  * This event provides context information about the eds-modal component.
55
- *
56
- * @param btnElement - The link element to which the event will be dispatched.
57
73
  */
58
- emitContext(btnElement: HTMLElement): void;
59
74
  render(): any;
60
75
  }
@@ -7,6 +7,15 @@ declare const _default: {
7
7
  description: string;
8
8
  defaultValue: string;
9
9
  };
10
+ position: {
11
+ control: string;
12
+ options: string[];
13
+ description: string;
14
+ };
15
+ };
16
+ args: {
17
+ title: string;
18
+ position: string;
10
19
  };
11
20
  };
12
21
  export default _default;
@@ -11,7 +11,7 @@ export declare class EdsRating {
11
11
  /**
12
12
  * Mapping of text to star ratings.
13
13
  */
14
- textMapping: string | any;
14
+ textMapping: string | string[];
15
15
  /**
16
16
  * Current selected rating value.
17
17
  */
@@ -21,12 +21,10 @@ export declare class EdsRating {
21
21
  */
22
22
  ratingChange: EventEmitter<number>;
23
23
  /**
24
- * Parses the `links` prop into an array of link objects.
25
- * Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
26
- *
27
- * @returns {any[]} Array of parsed link objects
24
+ * Parses the `textMapping` prop into an array of strings.
25
+ * Returns an empty array if parsing fails.
28
26
  */
29
- get parsedMappings(): any[];
27
+ get parsedMappings(): string[];
30
28
  /**
31
29
  * Handles the click event on a star.
32
30
  * @param rating - The selected rating value.
@@ -23,4 +23,3 @@ declare const _default: {
23
23
  };
24
24
  export default _default;
25
25
  export declare const Default: any;
26
- export declare const WithForm: any;
@@ -31,11 +31,11 @@ export declare class EdsTable {
31
31
  searchEnabled: boolean;
32
32
  hostWidth?: string;
33
33
  /**
34
- * Optional property to control the column sizing mode.
35
- * - 'default' uses containerWidth / visibleColumns.
36
- * - 'medium' divides that result by 2.
37
- * - 'large' divides that result by 4.
38
- */
34
+ * Optional property to control the column sizing mode.
35
+ * - 'default' uses containerWidth / visibleColumns.
36
+ * - 'medium' divides that result by 2.
37
+ * - 'large' divides that result by 4.
38
+ */
39
39
  columnSize?: 'default' | 'medium' | 'large';
40
40
  /** Internal state for pagination and data */
41
41
  tableData: {
@@ -18,6 +18,15 @@ export declare class EdsToast {
18
18
  visible: boolean;
19
19
  el: HTMLElement;
20
20
  private dismissTimeout;
21
+ /**
22
+ * Lifecycle method that sets up the initial panel height and adds a resize event listener
23
+ * to recalculate height on window resize.
24
+ */
25
+ componentDidLoad(): void;
26
+ /**
27
+ * Emits a custom event called `parentContext` for a given button element.
28
+ */
29
+ emitContext(linkElement: HTMLElement): void;
21
30
  /**
22
31
  * Dismisses the toast.
23
32
  */