@ebrains/components 0.2.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.
- package/dist/cjs/{color-3ffe3072.js → color-88793e49.js} +2 -2
- 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_28.cjs.entry.js → eds-accordion_33.cjs.entry.js} +773 -162
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-section.cjs.entry.js +18 -7
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +48 -1
- 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-login.cjs.entry.js +1 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +27 -0
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +1 -1
- package/dist/cjs/{eds-pagination.cjs.entry.js → eds-pagination_2.cjs.entry.js} +184 -9
- package/dist/cjs/eds-progress-bar.cjs.entry.js +29 -0
- package/dist/cjs/eds-rating.cjs.entry.js +5 -7
- package/dist/cjs/eds-svg-repository.cjs.entry.js +7 -1
- package/dist/cjs/eds-tabs-content.cjs.entry.js +3 -3
- package/dist/cjs/eds-tabs.cjs.entry.js +27 -6
- package/dist/cjs/eds-timeline.cjs.entry.js +77 -0
- package/dist/cjs/eds-tooltip.cjs.entry.js +11 -1
- package/dist/cjs/eds-trl.cjs.entry.js +51 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-f08e4f5c.js +20 -44
- 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 +2 -1
- package/dist/collection/components/eds-accordion/eds-accordion.js +11 -20
- package/dist/collection/components/eds-alert/eds-alert.js +5 -7
- package/dist/collection/components/eds-alert/eds-alert.stories.js +4 -4
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +24 -22
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +14 -12
- package/dist/collection/components/eds-button/eds-button.js +3 -3
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +9 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +14 -8
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.js +57 -2
- package/dist/collection/components/eds-code-block/eds-code-block.stories.js +78 -0
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +11 -21
- package/dist/collection/components/eds-form/eds-form.js +41 -31
- package/dist/collection/components/eds-form/eds-form.stories.js +0 -3
- package/dist/collection/components/eds-frame/eds-frame.stories.js +19 -18
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +142 -14
- package/dist/collection/components/eds-link/eds-link.js +3 -4
- package/dist/collection/components/eds-modal/eds-modal.css +16 -0
- package/dist/collection/components/eds-modal/eds-modal.js +71 -29
- package/dist/collection/components/eds-modal/eds-modal.stories.js +34 -18
- package/dist/collection/components/eds-pagination/eds-pagination.js +13 -9
- package/dist/collection/components/eds-rating/eds-rating.js +8 -10
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.stories.js +12 -11
- package/dist/collection/components/eds-table/eds-table.css +4 -0
- package/dist/collection/components/eds-table/eds-table.js +83 -12
- package/dist/collection/components/eds-table/eds-table.stories.js +14 -93
- package/dist/collection/components/eds-timeline/eds-timeline.js +27 -16
- package/dist/collection/components/eds-toast/eds-toast.js +21 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +10 -1
- package/dist/collection/components/eds-trl/eds-trl.js +29 -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 +22 -10
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +13 -11
- 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/analytics.js +2 -2
- package/dist/components/components.css +29 -10
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +12 -20
- package/dist/components/eds-alert2.js +5 -7
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +14 -12
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +3 -3
- package/dist/components/eds-card-section.js +18 -7
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-wrapper.js +1 -1
- package/dist/components/eds-code-block2.js +48 -1
- 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-dropdown2.js +12 -21
- package/dist/components/eds-footer2.js +1 -1
- package/dist/components/eds-form.js +37 -12
- package/dist/components/eds-header.js +6 -2
- package/dist/components/eds-input-select2.js +70 -2
- package/dist/components/eds-link2.js +3 -4
- 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-modal.js +56 -30
- package/dist/components/eds-pagination2.js +13 -9
- package/dist/components/eds-rating.js +6 -8
- 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 +50 -14
- package/dist/components/eds-tabs-content.js +2 -2
- package/dist/components/eds-tabs.js +26 -5
- package/dist/components/eds-timeline.js +24 -10
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +21 -0
- package/dist/components/eds-tooltip.js +11 -1
- package/dist/components/eds-trl.js +94 -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-2dda1ec4.entry.js +1 -0
- package/dist/components/{p-d9788b54.entry.js → p-35ec730b.entry.js} +1 -1
- package/dist/components/{p-bb60412b.entry.js → p-435a14c1.entry.js} +1 -1
- package/dist/components/{p-e6bfbf51.entry.js → p-5398d652.entry.js} +2 -2
- package/dist/components/p-57c964c5.entry.js +1 -0
- package/dist/components/p-5a43503a.entry.js +1 -0
- package/dist/components/{p-e20ed2c7.entry.js → p-610db2b2.entry.js} +1 -1
- package/dist/components/p-6378fb3e.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-832dc95a.entry.js +1 -0
- package/dist/components/p-855aa1a3.entry.js +1 -0
- package/dist/components/{p-1bcfbaf1.entry.js → p-87830085.entry.js} +1 -1
- package/dist/components/p-8ddc67a1.entry.js +1 -0
- package/dist/components/p-ab32b3fc.entry.js +1 -0
- 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-b04eff31.entry.js +1 -0
- package/dist/components/p-b86a4985.js +1 -0
- package/dist/components/{p-9722811d.entry.js → p-ba6bafef.entry.js} +1 -1
- package/dist/components/{p-6fc62452.entry.js → p-c3b294a0.entry.js} +1 -1
- package/dist/components/p-c6038449.entry.js +1 -0
- package/dist/components/p-c72c8fb0.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-dd6daa96.entry.js +1 -0
- package/dist/components/{p-73bd0c97.entry.js → p-df94285c.entry.js} +1 -1
- 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-0ba8ed56.js → color-bb472c37.js} +2 -2
- 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_28.entry.js → eds-accordion_33.entry.js} +767 -161
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-section.entry.js +18 -7
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +49 -2
- 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-login.entry.js +1 -1
- package/dist/esm/eds-logo-variations.entry.js +23 -0
- package/dist/esm/eds-matomo-notice.entry.js +1 -1
- package/dist/esm/{eds-pagination.entry.js → eds-pagination_2.entry.js} +184 -10
- package/dist/esm/eds-progress-bar.entry.js +25 -0
- package/dist/esm/eds-rating.entry.js +5 -7
- package/dist/esm/eds-svg-repository.entry.js +8 -2
- package/dist/esm/eds-tabs-content.entry.js +3 -3
- package/dist/esm/eds-tabs.entry.js +27 -6
- package/dist/esm/eds-timeline.entry.js +73 -0
- package/dist/esm/eds-tooltip.entry.js +11 -1
- package/dist/esm/eds-trl.entry.js +47 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-e96badea.js +20 -44
- 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 +1116 -783
- package/dist/hydrate/index.mjs +1116 -783
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +5 -12
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -18
- 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-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +8 -0
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +6 -2
- package/dist/types/components/eds-code-block/eds-code-block.d.ts +43 -3
- package/dist/types/components/eds-code-block/eds-code-block.stories.d.ts +54 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +0 -7
- package/dist/types/components/eds-form/eds-form.d.ts +3 -6
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -5
- package/dist/types/components/eds-frame/eds-frame.stories.d.ts +0 -2
- package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +108 -2
- package/dist/types/components/eds-link/eds-link.d.ts +1 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +18 -3
- package/dist/types/components/eds-modal/eds-modal.stories.d.ts +9 -0
- package/dist/types/components/eds-rating/eds-rating.d.ts +4 -6
- package/dist/types/components/eds-section/eds-section-core/eds-section-core.stories.d.ts +0 -1
- 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-toast/eds-toast.d.ts +9 -0
- package/dist/types/components/eds-trl/eds-trl.d.ts +4 -1
- package/dist/types/components.d.ts +217 -56
- 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 +1 -1
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +42 -2
- 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-accordion.cjs.entry.js +0 -93
- 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-frame.cjs.entry.js +0 -91
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +0 -100
- package/dist/cjs/eds-modal.cjs.entry.js +0 -86
- 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-02e2a62f.entry.js +0 -1
- 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-32f282a9.entry.js +0 -1
- package/dist/components/p-373673ca.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-42b4ecff.entry.js +0 -1
- package/dist/components/p-49958f77.entry.js +0 -1
- package/dist/components/p-54c75346.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-79887c2c.entry.js +0 -1
- package/dist/components/p-9000b245.entry.js +0 -1
- package/dist/components/p-96c4deda.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-accordion.entry.js +0 -89
- 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-frame.entry.js +0 -87
- package/dist/esm/eds-fullscreen-menu.entry.js +0 -96
- package/dist/esm/eds-modal.entry.js +0 -82
- 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
|
@@ -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
|
-
};
|
|
@@ -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,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
|
-
*
|
|
48
|
+
* Tags related to the card content.
|
|
45
49
|
*/
|
|
46
|
-
tags:
|
|
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
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The code content to display.
|
|
15
|
+
*/
|
|
7
16
|
code: string;
|
|
8
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* The language type for syntax highlighting (e.g., 'javascript', 'html', 'css')
|
|
19
|
+
* */
|
|
9
20
|
language: string;
|
|
10
|
-
/**
|
|
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
|
-
|
|
115
|
+
parseFields(newValue: string | any[]): void;
|
|
119
116
|
render(): any;
|
|
120
117
|
}
|
|
@@ -1,21 +1,127 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
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.
|
|
19
|
+
*/
|
|
2
20
|
/**
|
|
3
21
|
* @internal
|
|
4
22
|
*/
|
|
5
23
|
export declare class EdsInputSelect {
|
|
24
|
+
/**
|
|
25
|
+
* Optional id for the input. If not provided, the component uses the `name` property.
|
|
26
|
+
*/
|
|
6
27
|
inputId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The name attribute of the select input. Also used as the fallback id.
|
|
30
|
+
*/
|
|
7
31
|
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Placeholder text (not used in the native select, but can be used for custom implementations).
|
|
34
|
+
*/
|
|
8
35
|
placeholder?: string;
|
|
36
|
+
/**
|
|
37
|
+
* If true, the select input will be disabled.
|
|
38
|
+
*/
|
|
9
39
|
disabled: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* If true, indicates that there is an associated message (help or error).
|
|
42
|
+
*/
|
|
10
43
|
hasMessage: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* If true, the select input is in an error state.
|
|
46
|
+
*/
|
|
11
47
|
error: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* If true, the select input is marked as required.
|
|
50
|
+
*/
|
|
12
51
|
required: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Options can be provided in two formats:
|
|
54
|
+
*
|
|
55
|
+
* 1. Dynamic fetch configuration:
|
|
56
|
+
* [
|
|
57
|
+
* { endpoint: "http://localhost/api/applications", value: "_id", label: "title" }
|
|
58
|
+
* ]
|
|
59
|
+
*
|
|
60
|
+
* 2. Static options:
|
|
61
|
+
* [
|
|
62
|
+
* { value: "react", label: "React" },
|
|
63
|
+
* { value: "angular", label: "Angular" },
|
|
64
|
+
* { value: "vue", label: "Vue.js" },
|
|
65
|
+
* // etc.
|
|
66
|
+
* ]
|
|
67
|
+
*/
|
|
13
68
|
options: {
|
|
14
|
-
|
|
15
|
-
value: string;
|
|
69
|
+
[key: string]: any;
|
|
16
70
|
}[];
|
|
71
|
+
/**
|
|
72
|
+
* For static options, this property defines the key used to retrieve the display label.
|
|
73
|
+
*/
|
|
74
|
+
labelKey: string;
|
|
75
|
+
/**
|
|
76
|
+
* For static options, this property defines the key used to retrieve the option value.
|
|
77
|
+
*/
|
|
78
|
+
valueKey: string;
|
|
79
|
+
/**
|
|
80
|
+
* The currently selected value.
|
|
81
|
+
*/
|
|
17
82
|
value?: string | number;
|
|
83
|
+
/**
|
|
84
|
+
* Holds the list of options to be rendered in the select. This can be either:
|
|
85
|
+
* - The static options passed in via the `options` prop.
|
|
86
|
+
* - Or the dynamically fetched options.
|
|
87
|
+
*/
|
|
88
|
+
dynamicOptions: {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}[];
|
|
91
|
+
/**
|
|
92
|
+
* Indicates whether the component is currently loading dynamic options.
|
|
93
|
+
*/
|
|
94
|
+
loading: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Internal state that holds the key used to map the option's value.
|
|
97
|
+
*/
|
|
98
|
+
dynamicValueKey: string;
|
|
99
|
+
/**
|
|
100
|
+
* Internal state that holds the key used to map the option's display label.
|
|
101
|
+
*/
|
|
102
|
+
dynamicLabelKey: string;
|
|
103
|
+
/**
|
|
104
|
+
* Emitted when the value of the select input changes.
|
|
105
|
+
* @event changeEvent
|
|
106
|
+
*/
|
|
18
107
|
changeEvent: EventEmitter<string | number>;
|
|
108
|
+
componentWillLoad(): void;
|
|
109
|
+
/**
|
|
110
|
+
* Watches for changes in the `options` prop and loads the options accordingly.
|
|
111
|
+
*
|
|
112
|
+
* If the first object in the options array contains an "endpoint" key,
|
|
113
|
+
* the component will fetch options from the specified endpoint using the configured keys.
|
|
114
|
+
* Otherwise, it will treat the options as static.
|
|
115
|
+
*
|
|
116
|
+
* @async
|
|
117
|
+
*/
|
|
118
|
+
loadOptions(): Promise<void>;
|
|
119
|
+
/**
|
|
120
|
+
* Event handler for the select input's change event.
|
|
121
|
+
* Emits the selected value.
|
|
122
|
+
*
|
|
123
|
+
* @param event The change event from the select input.
|
|
124
|
+
*/
|
|
19
125
|
handleChange: (event: Event) => void;
|
|
20
126
|
render(): any;
|
|
21
127
|
}
|
|
@@ -74,7 +74,7 @@ export declare class EdsLink {
|
|
|
74
74
|
*/
|
|
75
75
|
el: HTMLElement;
|
|
76
76
|
private parentContext;
|
|
77
|
-
|
|
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 |
|
|
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 `
|
|
25
|
-
* Returns an empty array if parsing fails
|
|
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():
|
|
27
|
+
get parsedMappings(): string[];
|
|
30
28
|
/**
|
|
31
29
|
* Handles the click event on a star.
|
|
32
30
|
* @param rating - The selected rating value.
|
|
@@ -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;
|