@ebrains/components 0.2.0-alpha.0 → 0.3.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.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/eds-alert.cjs.entry.js +96 -0
- package/dist/cjs/eds-avatar_17.cjs.entry.js +1454 -0
- package/dist/cjs/eds-card-desc_3.cjs.entry.js +117 -0
- package/dist/cjs/eds-card-generic.cjs.entry.js +105 -0
- package/dist/cjs/eds-card-section.cjs.entry.js +17 -6
- package/dist/cjs/eds-components-section.cjs.entry.js +44 -24
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-form.cjs.entry.js +322 -0
- package/dist/cjs/eds-input_7.cjs.entry.js +316 -0
- package/dist/cjs/eds-login.cjs.entry.js +1 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +27 -0
- package/dist/cjs/{eds-pagination.cjs.entry.js → eds-pagination_2.cjs.entry.js} +157 -0
- package/dist/cjs/eds-progress-bar.cjs.entry.js +29 -0
- package/dist/cjs/eds-svg-repository.cjs.entry.js +7 -1
- package/dist/cjs/eds-tabs-content.cjs.entry.js +2 -2
- package/dist/cjs/eds-tabs.cjs.entry.js +26 -5
- package/dist/cjs/eds-timeline.cjs.entry.js +76 -0
- package/dist/cjs/eds-trl.cjs.entry.js +52 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-f08e4f5c.js +38 -30
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +13 -12
- package/dist/collection/components/eds-button/eds-button.js +3 -3
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +140 -15
- package/dist/collection/components/eds-table/eds-table.css +4 -0
- package/dist/collection/components/eds-table/eds-table.js +69 -11
- package/dist/collection/components/eds-table/eds-table.stories.js +14 -93
- package/dist/collection/components/eds-timeline/eds-timeline.js +26 -16
- package/dist/collection/components/eds-trl/eds-trl.js +30 -22
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -5
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +3 -6
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +44 -0
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +7 -1
- package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
- package/dist/collection/eds-docs-ui/functional/installation.js +1 -1
- package/dist/collection/eds-docs-ui/functional/overview.js +1 -1
- package/dist/collection/eds-docs-ui/functional/react.js +1 -1
- package/dist/collection/eds-docs-ui/functional/vue.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +21 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +2 -54
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +4 -13
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +4 -0
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +19 -8
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +40 -7
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +4 -3
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +9 -5
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +16 -10
- package/dist/collection/shared-ui/eds-login/eds-login.js +3 -2
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +4 -4
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +29 -8
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +22 -4
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +48 -34
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +12 -6
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -11
- package/dist/components/components.css +17 -10
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-breadcrumb.js +13 -12
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-section.js +17 -6
- package/dist/components/eds-components-section.js +44 -24
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-footer2.js +1 -1
- package/dist/components/eds-header.js +6 -2
- package/dist/components/eds-input-select2.js +70 -2
- package/dist/components/eds-login.js +3 -2
- package/dist/components/eds-logo-variations.d.ts +11 -0
- package/dist/components/eds-logo-variations.js +60 -0
- package/dist/components/eds-social-networks.js +2 -2
- package/dist/components/eds-social-networks2.js +6 -6
- package/dist/components/eds-svg-repository.js +7 -1
- package/dist/components/eds-table2.js +36 -14
- package/dist/components/eds-tabs-content.js +2 -2
- package/dist/components/eds-tabs.js +26 -5
- package/dist/components/eds-timeline.js +23 -10
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-trl.js +95 -15
- package/dist/components/eds-user-modal2.js +1 -5
- package/dist/components/eds-user2.js +12 -6
- package/dist/components/incorrect-use-of-colors.js +20 -2
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal.js +2 -50
- package/dist/components/logo-variations-horizontal2.js +37 -0
- package/dist/components/logo-variations-vertical.js +2 -50
- package/dist/components/logo-variations-vertical2.js +42 -0
- package/dist/components/logo-wrong-usage.js +2 -2
- package/dist/components/p-005de86f.entry.js +1 -0
- package/dist/components/{p-5eb32f03.entry.js → p-0910d733.entry.js} +1 -1
- package/dist/components/{p-c9c3cc49.entry.js → p-22e6d7d5.entry.js} +1 -1
- package/dist/components/p-2851ff44.entry.js +1 -0
- package/dist/components/p-29648b47.entry.js +1 -0
- package/dist/components/{p-9722811d.entry.js → p-2e8459ef.entry.js} +1 -1
- package/dist/components/p-3617841d.entry.js +1 -0
- package/dist/components/p-3ff76976.entry.js +1 -0
- package/dist/components/{p-bb60412b.entry.js → p-435a14c1.entry.js} +1 -1
- package/dist/components/p-52ac3456.entry.js +1 -0
- package/dist/components/p-57c964c5.entry.js +1 -0
- package/dist/components/p-5a43503a.entry.js +1 -0
- package/dist/components/p-5afb626c.entry.js +1 -0
- package/dist/components/p-5d7af761.entry.js +1 -0
- package/dist/components/p-6378fb3e.entry.js +1 -0
- package/dist/components/p-7215789a.entry.js +1 -0
- package/dist/components/p-762c8c83.entry.js +1 -0
- package/dist/components/p-7802e966.entry.js +1 -0
- package/dist/components/p-84957b6d.entry.js +1 -0
- package/dist/components/{p-1bcfbaf1.entry.js → p-87830085.entry.js} +1 -1
- package/dist/components/p-ac0112d5.entry.js +1 -0
- package/dist/components/p-acb16e1c.entry.js +1 -0
- package/dist/components/p-ae5dbd41.entry.js +1 -0
- package/dist/components/p-be6c80da.entry.js +1 -0
- package/dist/components/p-d1f6a722.entry.js +1 -0
- package/dist/components/p-d53b7a75.entry.js +1 -0
- package/dist/components/{p-b717f95a.entry.js → p-d571d530.entry.js} +1 -1
- package/dist/components/p-d7a92efb.entry.js +1 -0
- package/dist/components/p-fd27e56c.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/eds-alert.entry.js +92 -0
- package/dist/esm/eds-avatar_17.entry.js +1434 -0
- package/dist/esm/eds-card-desc_3.entry.js +111 -0
- package/dist/esm/eds-card-generic.entry.js +101 -0
- package/dist/esm/eds-card-section.entry.js +17 -6
- package/dist/esm/eds-components-section.entry.js +44 -24
- package/dist/esm/eds-docs-palettes.entry.js +1 -1
- package/dist/esm/eds-docs-tokens.entry.js +1 -1
- package/dist/esm/eds-form.entry.js +318 -0
- package/dist/esm/eds-input_7.entry.js +306 -0
- package/dist/esm/eds-login.entry.js +1 -1
- package/dist/esm/eds-logo-variations.entry.js +23 -0
- package/dist/esm/{eds-pagination.entry.js → eds-pagination_2.entry.js} +157 -1
- package/dist/esm/eds-progress-bar.entry.js +25 -0
- package/dist/esm/eds-svg-repository.entry.js +8 -2
- package/dist/esm/eds-tabs-content.entry.js +2 -2
- package/dist/esm/eds-tabs.entry.js +26 -5
- package/dist/esm/eds-timeline.entry.js +72 -0
- package/dist/esm/eds-trl.entry.js +48 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-e96badea.js +38 -30
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/hydrate/index.js +378 -178
- package/dist/hydrate/index.mjs +378 -178
- package/dist/types/components/eds-breadcrump/eds-breadcrump.d.ts +1 -5
- package/dist/types/components/eds-button/eds-button.d.ts +2 -2
- package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +106 -3
- package/dist/types/components/eds-table/eds-table.d.ts +9 -1
- package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -67
- package/dist/types/components/eds-timeline/eds-timeline.d.ts +9 -12
- package/dist/types/components/eds-trl/eds-trl.d.ts +4 -1
- package/dist/types/components.d.ts +217 -38
- package/dist/types/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.d.ts +0 -4
- package/dist/types/eds-docs-ui/eds-logo-variations/eds-logo-variations.d.ts +9 -0
- package/dist/types/eds-docs-ui/eds-svg-repository/eds-svg-repository.d.ts +2 -0
- package/dist/types/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.d.ts +1 -7
- package/dist/types/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.d.ts +1 -1
- package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +6 -1
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +20 -1
- package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +8 -2
- package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +29 -0
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +7 -1
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +9 -1
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +13 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +18 -1
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +1 -2
- package/package.json +3 -3
- package/dist/cjs/eds-alert_28.cjs.entry.js +0 -2059
- package/dist/cjs/eds-block-break.cjs.entry.js +0 -21
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -153
- package/dist/cjs/eds-footer.cjs.entry.js +0 -50
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -100
- package/dist/cjs/eds-social-networks.cjs.entry.js +0 -66
- package/dist/cjs/eds-table.cjs.entry.js +0 -143
- package/dist/cjs/logo-variations-horizontal.cjs.entry.js +0 -31
- package/dist/cjs/logo-variations-vertical.cjs.entry.js +0 -31
- package/dist/collection/components/eds-trl/eds-trl.css +0 -0
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.css +0 -0
- package/dist/components/p-04e47e04.entry.js +0 -1
- package/dist/components/p-0a3b2576.entry.js +0 -1
- package/dist/components/p-0c99ef81.entry.js +0 -1
- package/dist/components/p-272d249f.entry.js +0 -1
- package/dist/components/p-2d8508cd.entry.js +0 -1
- package/dist/components/p-3a2e8ef3.entry.js +0 -1
- package/dist/components/p-3afafa59.entry.js +0 -1
- package/dist/components/p-3b40559e.entry.js +0 -1
- package/dist/components/p-49958f77.entry.js +0 -1
- package/dist/components/p-551c0b58.entry.js +0 -1
- package/dist/components/p-559b6ec9.entry.js +0 -1
- package/dist/components/p-5ae9722b.entry.js +0 -1
- package/dist/components/p-9000b245.entry.js +0 -1
- package/dist/components/p-b14ef448.entry.js +0 -1
- package/dist/components/p-b203eb1b.entry.js +0 -1
- package/dist/components/p-b33941a0.entry.js +0 -1
- package/dist/components/p-bca40434.entry.js +0 -1
- package/dist/components/p-df93db96.entry.js +0 -1
- package/dist/components/p-ebed87b8.entry.js +0 -1
- package/dist/components/p-ff5de62c.entry.js +0 -1
- package/dist/components/p-ffec8755.entry.js +0 -1
- package/dist/esm/eds-alert_28.entry.js +0 -2028
- package/dist/esm/eds-block-break.entry.js +0 -17
- package/dist/esm/eds-breadcrumb.entry.js +0 -149
- package/dist/esm/eds-footer.entry.js +0 -46
- package/dist/esm/eds-fullscreen-menu.entry.js +0 -96
- package/dist/esm/eds-social-networks.entry.js +0 -62
- package/dist/esm/eds-table.entry.js +0 -139
- package/dist/esm/logo-variations-horizontal.entry.js +0 -27
- package/dist/esm/logo-variations-vertical.entry.js +0 -27
- /package/dist/collection/shared-ui/eds-social-networks/{eds-social-network.css → eds-social-networks.css} +0 -0
|
@@ -48,11 +48,7 @@ export declare class EdsBreadcrumb {
|
|
|
48
48
|
*/
|
|
49
49
|
el: HTMLElement;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* Converts the `items` string into an array of objects if it is a JSON string.
|
|
53
|
-
* If the format is invalid, it logs an error and sets an empty array.
|
|
54
|
-
*
|
|
55
|
-
* @param newValue - The new value for the `items` prop.
|
|
51
|
+
* Watches for changes to the `items` prop and parses it.
|
|
56
52
|
*/
|
|
57
53
|
parseItems(newValue: string | Link[]): void;
|
|
58
54
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class EdsButton {
|
|
|
15
15
|
/**
|
|
16
16
|
* The label text to be displayed inside the button.
|
|
17
17
|
*/
|
|
18
|
-
label
|
|
18
|
+
label: string;
|
|
19
19
|
/**
|
|
20
20
|
* The accessible aria-label for the button, used when there is no visible label.
|
|
21
21
|
*/
|
|
@@ -28,7 +28,7 @@ export declare class EdsButton {
|
|
|
28
28
|
* The visual intent or style of the button.
|
|
29
29
|
* Options include 'primary', 'secondary', 'tertiary', 'ghost', and 'ghostInverse'.
|
|
30
30
|
*/
|
|
31
|
-
intent
|
|
31
|
+
intent: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'ghostInverse';
|
|
32
32
|
/**
|
|
33
33
|
* A boolean indicating whether the button is in a loading state.
|
|
34
34
|
*/
|
|
@@ -1,21 +1,124 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* A custom select input component that supports both static and dynamic options.
|
|
4
|
+
*
|
|
5
|
+
* Options can be provided in two formats:
|
|
6
|
+
* 1. Dynamic fetch configuration:
|
|
7
|
+
* [
|
|
8
|
+
* { endpoint: "http://localhost/api/applications", value: "_id", label: "title" }
|
|
9
|
+
* ]
|
|
10
|
+
* 2. Static options:
|
|
11
|
+
* [
|
|
12
|
+
* { value: "react", label: "React" },
|
|
13
|
+
* { value: "angular", label: "Angular" },
|
|
14
|
+
* { value: "vue", label: "Vue.js" },
|
|
15
|
+
* // etc.
|
|
16
|
+
* ]
|
|
17
|
+
*
|
|
18
|
+
* The component will automatically fetch data if a dynamic configuration is provided.
|
|
4
19
|
*/
|
|
5
20
|
export declare class EdsInputSelect {
|
|
21
|
+
/**
|
|
22
|
+
* Optional id for the input. If not provided, the component uses the `name` property.
|
|
23
|
+
*/
|
|
6
24
|
inputId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name attribute of the select input. Also used as the fallback id.
|
|
27
|
+
*/
|
|
7
28
|
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* Placeholder text (not used in the native select, but can be used for custom implementations).
|
|
31
|
+
*/
|
|
8
32
|
placeholder?: string;
|
|
33
|
+
/**
|
|
34
|
+
* If true, the select input will be disabled.
|
|
35
|
+
*/
|
|
9
36
|
disabled: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If true, indicates that there is an associated message (help or error).
|
|
39
|
+
*/
|
|
10
40
|
hasMessage: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* If true, the select input is in an error state.
|
|
43
|
+
*/
|
|
11
44
|
error: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* If true, the select input is marked as required.
|
|
47
|
+
*/
|
|
12
48
|
required: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Options can be provided in two formats:
|
|
51
|
+
*
|
|
52
|
+
* 1. Dynamic fetch configuration:
|
|
53
|
+
* [
|
|
54
|
+
* { endpoint: "http://localhost/api/applications", value: "_id", label: "title" }
|
|
55
|
+
* ]
|
|
56
|
+
*
|
|
57
|
+
* 2. Static options:
|
|
58
|
+
* [
|
|
59
|
+
* { value: "react", label: "React" },
|
|
60
|
+
* { value: "angular", label: "Angular" },
|
|
61
|
+
* { value: "vue", label: "Vue.js" },
|
|
62
|
+
* // etc.
|
|
63
|
+
* ]
|
|
64
|
+
*/
|
|
13
65
|
options: {
|
|
14
|
-
|
|
15
|
-
value: string;
|
|
66
|
+
[key: string]: any;
|
|
16
67
|
}[];
|
|
68
|
+
/**
|
|
69
|
+
* For static options, this property defines the key used to retrieve the display label.
|
|
70
|
+
*/
|
|
71
|
+
labelKey: string;
|
|
72
|
+
/**
|
|
73
|
+
* For static options, this property defines the key used to retrieve the option value.
|
|
74
|
+
*/
|
|
75
|
+
valueKey: string;
|
|
76
|
+
/**
|
|
77
|
+
* The currently selected value.
|
|
78
|
+
*/
|
|
17
79
|
value?: string | number;
|
|
80
|
+
/**
|
|
81
|
+
* Holds the list of options to be rendered in the select. This can be either:
|
|
82
|
+
* - The static options passed in via the `options` prop.
|
|
83
|
+
* - Or the dynamically fetched options.
|
|
84
|
+
*/
|
|
85
|
+
dynamicOptions: {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}[];
|
|
88
|
+
/**
|
|
89
|
+
* Indicates whether the component is currently loading dynamic options.
|
|
90
|
+
*/
|
|
91
|
+
loading: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Internal state that holds the key used to map the option's value.
|
|
94
|
+
*/
|
|
95
|
+
dynamicValueKey: string;
|
|
96
|
+
/**
|
|
97
|
+
* Internal state that holds the key used to map the option's display label.
|
|
98
|
+
*/
|
|
99
|
+
dynamicLabelKey: string;
|
|
100
|
+
/**
|
|
101
|
+
* Emitted when the value of the select input changes.
|
|
102
|
+
* @event changeEvent
|
|
103
|
+
*/
|
|
18
104
|
changeEvent: EventEmitter<string | number>;
|
|
105
|
+
componentWillLoad(): void;
|
|
106
|
+
/**
|
|
107
|
+
* Watches for changes in the `options` prop and loads the options accordingly.
|
|
108
|
+
*
|
|
109
|
+
* If the first object in the options array contains an "endpoint" key,
|
|
110
|
+
* the component will fetch options from the specified endpoint using the configured keys.
|
|
111
|
+
* Otherwise, it will treat the options as static.
|
|
112
|
+
*
|
|
113
|
+
* @async
|
|
114
|
+
*/
|
|
115
|
+
loadOptions(): Promise<void>;
|
|
116
|
+
/**
|
|
117
|
+
* Event handler for the select input's change event.
|
|
118
|
+
* Emits the selected value.
|
|
119
|
+
*
|
|
120
|
+
* @param event The change event from the select input.
|
|
121
|
+
*/
|
|
19
122
|
handleChange: (event: Event) => void;
|
|
20
123
|
render(): any;
|
|
21
124
|
}
|
|
@@ -29,6 +29,14 @@ export declare class EdsTable {
|
|
|
29
29
|
paginationEnabled: boolean;
|
|
30
30
|
/** Enable or disable search input for filtering */
|
|
31
31
|
searchEnabled: boolean;
|
|
32
|
+
hostWidth?: string;
|
|
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
|
+
*/
|
|
39
|
+
columnSize?: 'default' | 'medium' | 'large';
|
|
32
40
|
/** Internal state for pagination and data */
|
|
33
41
|
tableData: {
|
|
34
42
|
[key: string]: any;
|
|
@@ -61,6 +69,6 @@ export declare class EdsTable {
|
|
|
61
69
|
private shouldEnablePagination;
|
|
62
70
|
private updateColumns;
|
|
63
71
|
private getVisibleColumnsCount;
|
|
64
|
-
private
|
|
72
|
+
private divisionFactor;
|
|
65
73
|
render(): any;
|
|
66
74
|
}
|
|
@@ -58,73 +58,6 @@ declare const _default: {
|
|
|
58
58
|
export default _default;
|
|
59
59
|
export declare const Default: {
|
|
60
60
|
render: (args: any) => string;
|
|
61
|
-
};
|
|
62
|
-
export declare const WithHiddenColumn: {
|
|
63
|
-
render: (args: any) => string;
|
|
64
|
-
args: {
|
|
65
|
-
data: {
|
|
66
|
-
Property: string;
|
|
67
|
-
Type: string;
|
|
68
|
-
Required: string;
|
|
69
|
-
}[];
|
|
70
|
-
config: {
|
|
71
|
-
Required: {
|
|
72
|
-
hidden: boolean;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
export declare const WithEndpoint: {
|
|
78
|
-
render: (args: any) => string;
|
|
79
|
-
args: {
|
|
80
|
-
endpoint: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
export declare const WithCustomFormats: {
|
|
84
|
-
render: (args: any) => string;
|
|
85
|
-
args: {
|
|
86
|
-
data: {
|
|
87
|
-
Property: string;
|
|
88
|
-
Type: string;
|
|
89
|
-
Role: string;
|
|
90
|
-
}[];
|
|
91
|
-
config: {
|
|
92
|
-
Property: {
|
|
93
|
-
format: string;
|
|
94
|
-
};
|
|
95
|
-
Type: {
|
|
96
|
-
format: string;
|
|
97
|
-
};
|
|
98
|
-
Role: {
|
|
99
|
-
format: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
export declare const BasicPagination: {
|
|
105
|
-
render: (args: any) => string;
|
|
106
|
-
args: {
|
|
107
|
-
rowsPerPage: number;
|
|
108
|
-
paginationEnabled: boolean;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
export declare const CustomRowsPerPage: {
|
|
112
|
-
render: (args: any) => string;
|
|
113
|
-
args: {
|
|
114
|
-
rowsPerPage: number;
|
|
115
|
-
paginationEnabled: boolean;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
export declare const CustomRowsPerPageEndpoint: {
|
|
119
|
-
render: (args: any) => string;
|
|
120
|
-
args: {
|
|
121
|
-
rowsPerPage: number;
|
|
122
|
-
paginationEnabled: boolean;
|
|
123
|
-
endpoint: string;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
export declare const CompleteExample: {
|
|
127
|
-
render: (args: any) => string;
|
|
128
61
|
args: {
|
|
129
62
|
data: {
|
|
130
63
|
name: string;
|
|
@@ -145,3 +78,9 @@ export declare const CompleteExample: {
|
|
|
145
78
|
endpoint: string;
|
|
146
79
|
};
|
|
147
80
|
};
|
|
81
|
+
export declare const WithEndpoint: {
|
|
82
|
+
render: (args: any) => string;
|
|
83
|
+
args: {
|
|
84
|
+
endpoint: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal
|
|
3
|
-
*/
|
|
4
1
|
export declare class EdsTimeline {
|
|
2
|
+
/**
|
|
3
|
+
* Accepts a JSON string or object of timeline events.
|
|
4
|
+
*/
|
|
5
|
+
events: string | any[];
|
|
6
|
+
/**
|
|
7
|
+
* Reference to the host element.
|
|
8
|
+
*/
|
|
9
|
+
el: HTMLElement;
|
|
5
10
|
selectedEvent: any;
|
|
6
11
|
parsedEvents: Array<{
|
|
7
12
|
id: number;
|
|
@@ -11,15 +16,7 @@ export declare class EdsTimeline {
|
|
|
11
16
|
fullDescription: string;
|
|
12
17
|
completed: boolean;
|
|
13
18
|
}>;
|
|
14
|
-
|
|
15
|
-
* Reference to the host element.
|
|
16
|
-
*/
|
|
17
|
-
el: HTMLElement;
|
|
18
|
-
/**
|
|
19
|
-
* Accepts a JSON string of timeline events.
|
|
20
|
-
*/
|
|
21
|
-
events: string;
|
|
22
|
-
parseEvents(newValue: string): void;
|
|
19
|
+
parseEvents(newValue: string | any[]): void;
|
|
23
20
|
componentWillLoad(): void;
|
|
24
21
|
componentDidLoad(): void;
|
|
25
22
|
emitContext(cardElement: HTMLElement): void;
|