@ebrains/components 1.0.0 → 1.2.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/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/eds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/eds-alert.cjs.entry.js +2 -2
- package/dist/cjs/{eds-avatar_34.cjs.entry.js → eds-avatar_28.cjs.entry.js} +494 -523
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +145 -0
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +77 -0
- package/dist/cjs/eds-card-generic.cjs.entry.js +92 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- 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-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-gauge.cjs.entry.js +60 -0
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-pie.cjs.entry.js +106 -0
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-tooltip.cjs.entry.js +32 -0
- package/dist/cjs/index-88c8039f.js +28 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +16 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
- package/dist/collection/components/eds-button/eds-button.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -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-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +121 -109
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.css +5 -0
- package/dist/collection/components/eds-table/eds-table.js +171 -22
- package/dist/collection/eds-docs-ui/components-section/functional/react.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
- package/dist/collection/shared-ui/eds-form/eds-form.js +35 -3
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +2 -2
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +17 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +20 -2
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +7 -0
- package/dist/components/components.esm.js +1 -1
- package/dist/components/eds-accordion2.js +2 -2
- package/dist/components/eds-alert2.js +2 -2
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +1 -1
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -2
- package/dist/components/eds-footer2.js +2 -2
- package/dist/components/eds-form.js +15 -3
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-bookmark.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +18 -27
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +5 -3
- package/dist/components/eds-steps2.js +2 -2
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +85 -25
- package/dist/components/eds-user.js +1 -1
- package/dist/components/p-023bc47c.entry.js +1 -0
- package/dist/components/p-11efb1d1.entry.js +1 -0
- package/dist/components/p-14679a86.entry.js +1 -0
- package/dist/components/p-158c95bc.entry.js +1 -0
- package/dist/components/p-177103fd.entry.js +1 -0
- package/dist/components/{p-bfc62d3e.entry.js → p-17d39d66.entry.js} +1 -1
- package/dist/components/p-19d586e6.entry.js +1 -0
- package/dist/components/p-1de8401b.entry.js +1 -0
- package/dist/components/{p-8ad05566.entry.js → p-1f5c19b9.entry.js} +1 -1
- package/dist/components/p-233d3577.entry.js +1 -0
- package/dist/components/p-321a950b.entry.js +1 -0
- package/dist/components/p-38c9aee7.entry.js +1 -0
- package/dist/components/p-42295abe.entry.js +1 -0
- package/dist/components/p-424e91b3.entry.js +1 -0
- package/dist/components/p-43cff423.entry.js +1 -0
- package/dist/components/p-45f21238.entry.js +1 -0
- package/dist/components/p-4bdf1589.entry.js +1 -0
- package/dist/components/p-4dcdd4d9.entry.js +1 -0
- package/dist/components/p-4fad9296.entry.js +1 -0
- package/dist/components/p-50f43dfd.entry.js +1 -0
- package/dist/components/p-563d56c0.entry.js +1 -0
- package/dist/components/p-5827fd52.entry.js +1 -0
- package/dist/components/{p-7af6b832.entry.js → p-590fb0e7.entry.js} +1 -1
- package/dist/components/p-5c5dfc4a.entry.js +1 -0
- package/dist/components/p-66f4cdd9.entry.js +1 -0
- package/dist/components/p-6dc6f729.entry.js +1 -0
- package/dist/components/p-6f9ab63c.entry.js +1 -0
- package/dist/components/p-7502b8b4.entry.js +1 -0
- package/dist/components/p-750e3ec8.entry.js +1 -0
- package/dist/components/p-8c0b0121.entry.js +1 -0
- package/dist/components/p-95518776.entry.js +1 -0
- package/dist/components/p-99d9bb29.entry.js +1 -0
- package/dist/components/p-9a4b5746.entry.js +1 -0
- package/dist/components/p-9c823b5e.entry.js +1 -0
- package/dist/components/p-9d64d1fd.entry.js +1 -0
- package/dist/components/p-ab4447f6.entry.js +1 -0
- package/dist/components/p-b073d78f.entry.js +1 -0
- package/dist/components/{p-8b016d76.entry.js → p-b5e64725.entry.js} +1 -1
- package/dist/components/p-b630e51a.entry.js +1 -0
- package/dist/components/p-c91b4eec.entry.js +1 -0
- package/dist/components/{p-0eeddc13.entry.js → p-d05a09df.entry.js} +1 -1
- package/dist/components/{p-84fd3e40.entry.js → p-d0b1e963.entry.js} +1 -1
- package/dist/components/p-d25364db.entry.js +1 -0
- package/dist/components/p-d3bb444a.entry.js +1 -0
- package/dist/components/p-d4f239d7.entry.js +1 -0
- package/dist/components/{p-a81cba86.entry.js → p-deb9bbed.entry.js} +1 -1
- package/dist/components/p-df772a35.entry.js +1 -0
- package/dist/components/p-e5113509.entry.js +1 -0
- package/dist/components/p-e8f0d7fc.entry.js +1 -0
- package/dist/components/{p-abb2ad00.entry.js → p-f189be4f.entry.js} +1 -1
- package/dist/components/p-f221eca2.entry.js +1 -0
- package/dist/components/p-f2416727.entry.js +1 -0
- package/dist/components/{p-50ea5b07.entry.js → p-f7716080.entry.js} +1 -1
- package/dist/components/p-fd85675b.entry.js +1 -0
- package/dist/components/{p-ea97a94e.entry.js → p-fe167c78.entry.js} +2 -2
- package/dist/components/p-ffccfeb6.entry.js +1 -0
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/eds-accordion.entry.js +2 -2
- package/dist/esm/eds-alert.entry.js +2 -2
- package/dist/esm/{eds-avatar_34.entry.js → eds-avatar_28.entry.js} +494 -517
- package/dist/esm/eds-breadcrumb.entry.js +141 -0
- package/dist/esm/eds-card-desc_2.entry.js +72 -0
- package/dist/esm/eds-card-generic.entry.js +88 -0
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-gauge.entry.js +56 -0
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-pie.entry.js +102 -0
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-tooltip.entry.js +28 -0
- package/dist/esm/index-fdb33359.js +28 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/token-spacing.entry.js +12 -0
- package/dist/hydrate/index.js +201 -148
- package/dist/hydrate/index.mjs +201 -148
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +47 -72
- package/dist/types/components/eds-table/eds-table.d.ts +69 -0
- package/dist/types/components.d.ts +114 -78
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +3 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -403
- package/dist/components/p-04b4e9d0.entry.js +0 -1
- package/dist/components/p-0863352c.entry.js +0 -1
- package/dist/components/p-0d6434e1.entry.js +0 -1
- package/dist/components/p-0e94a89f.entry.js +0 -1
- package/dist/components/p-100909ce.entry.js +0 -1
- package/dist/components/p-124b8747.entry.js +0 -1
- package/dist/components/p-14a223fe.entry.js +0 -1
- package/dist/components/p-18ceadd2.entry.js +0 -1
- package/dist/components/p-26d6679b.entry.js +0 -1
- package/dist/components/p-2b1b2026.entry.js +0 -1
- package/dist/components/p-3c642a30.entry.js +0 -1
- package/dist/components/p-46619042.entry.js +0 -1
- package/dist/components/p-511b23ec.entry.js +0 -1
- package/dist/components/p-5462923d.entry.js +0 -1
- package/dist/components/p-6199b8c0.entry.js +0 -1
- package/dist/components/p-624e653e.entry.js +0 -1
- package/dist/components/p-6ba42d02.entry.js +0 -1
- package/dist/components/p-6e929acb.entry.js +0 -1
- package/dist/components/p-6ede7101.entry.js +0 -1
- package/dist/components/p-70bac015.entry.js +0 -1
- package/dist/components/p-822ac246.entry.js +0 -1
- package/dist/components/p-848506b8.entry.js +0 -1
- package/dist/components/p-85634ad2.entry.js +0 -1
- package/dist/components/p-8bdf5841.entry.js +0 -1
- package/dist/components/p-8ff39cef.entry.js +0 -1
- package/dist/components/p-affe2b55.entry.js +0 -1
- package/dist/components/p-b31591db.entry.js +0 -1
- package/dist/components/p-b7efd666.entry.js +0 -1
- package/dist/components/p-ba784274.entry.js +0 -1
- package/dist/components/p-c0b22803.entry.js +0 -1
- package/dist/components/p-cdd491f5.entry.js +0 -1
- package/dist/components/p-d268c96b.entry.js +0 -1
- package/dist/components/p-d437bae2.entry.js +0 -1
- package/dist/components/p-d456e649.entry.js +0 -1
- package/dist/components/p-dae8f66a.entry.js +0 -1
- package/dist/components/p-e1791844.entry.js +0 -1
- package/dist/components/p-e82edd4a.entry.js +0 -1
- package/dist/components/p-e9f608a8.entry.js +0 -1
- package/dist/components/p-f26fd186.entry.js +0 -1
- package/dist/components/p-fe1cba17.entry.js +0 -1
- package/dist/esm/eds-pagination_2.entry.js +0 -398
|
@@ -8,7 +8,7 @@ export class EdsIconTwitter {
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: 'c2ee643b5da517a53bd97ec6263161927ad229a7', class: this.class, innerHTML: twitter });
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "eds-icon-twitter"; }
|
|
14
14
|
static get properties() {
|
|
@@ -8,7 +8,7 @@ export class EdsIconYoutube {
|
|
|
8
8
|
this.class = '';
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return h("span", { key: '
|
|
11
|
+
return h("span", { key: '0a6abd6b62e24c07b4338f0f1f6febbec876791f', class: this.class, innerHTML: youtube });
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "eds-icon-youtube"; }
|
|
14
14
|
static get properties() {
|
|
@@ -57,10 +57,10 @@ export class EdsImg {
|
|
|
57
57
|
imgOpts['loading'] = 'lazy';
|
|
58
58
|
imgOpts['decoding'] = 'async';
|
|
59
59
|
}
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '13ed3aa346c99321c609e49ce045b6361921350f', class: {
|
|
61
61
|
'items-center justify-center': true,
|
|
62
62
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
63
|
-
} }, h("picture", { key: '
|
|
63
|
+
} }, h("picture", { key: '56aa0ed8fd1ef8f9faf6ad576dd05edc34139c9b' }, this.formats.map((format) => (h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), h("img", Object.assign({ key: '78e3ed9adcfe423d48388bf30140f4b70649faf7', ref: (el) => (this.img = el), class: {
|
|
64
64
|
'effect-opacity object-cover object-center': true,
|
|
65
65
|
'opacity-100': this.loaded,
|
|
66
66
|
'opacity-0': !this.loaded
|
|
@@ -47,12 +47,12 @@ export class EdsInput {
|
|
|
47
47
|
render() {
|
|
48
48
|
const withIcon = !!this.icon;
|
|
49
49
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: '5c66c14b19aa3d5fc37e7a77a2d1194fa0be9b8c', class: "relative flex items-center" }, this.type === 'textarea' ? (h("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (h("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (h("input", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined, class: `
|
|
51
51
|
${this.extraClass || ''}
|
|
52
52
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
53
53
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
54
54
|
${this.error ? 'input-error' : ''}
|
|
55
|
-
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === 'textarea' && (h("span", { key: '
|
|
55
|
+
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === 'textarea' && (h("span", { key: '4326db3729dea8bbddb7a109a90424aa832aded7', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (h("eds-icon-wrapper", { key: 'df2f5598aedd36b9cb2ce886fb8ea08da58dc5ff', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "eds-input"; }
|
|
58
58
|
static get properties() {
|
|
@@ -11,7 +11,7 @@ export class EdsInputFooter {
|
|
|
11
11
|
this.link = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: 'd5424778da81d6558246efe97917d3e3ccfa9aaa', class: "space-y-4 mt-4" }, this.error && this.errorMessage && (h("div", { key: 'e915fc1f4719f48eca5a831ac72913d2f91f633b', id: `error_${this.name}`, class: "text-error flex items-center" }, h("eds-icon-wrapper", { key: '9cc87cfd4955766947a2581604fe1e072f8d82a9', icon: "warning" }), h("p", { key: '564a2397fb7e8185e43e1c2be216c76060e7498e', class: "f-ui-04 ml-4", innerHTML: this.errorMessage }))), this.message && h("p", { key: '24e0702df7e5c2fe4ef0cc6755159fefe76b70a7', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (h("a", { key: '9e3720a3ded9d755afd7755104df0942246f1fbe', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "eds-input-footer"; }
|
|
17
17
|
static get properties() {
|
|
@@ -10,7 +10,7 @@ export class EdsInputLabel {
|
|
|
10
10
|
this.disabled = false;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("label", { key: '
|
|
13
|
+
return (h("label", { key: 'd700690a67a8348836aec27d2ff4f4d4ee18b9c8', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (h("span", { key: '9b52c053652db132a9bdb2d9fc64c569a529c2d9' }, h("span", { key: 'cd17268b6048ebaa70dc7f905fc7f7bf3ed3fa34', "aria-hidden": "true" }, "*"), h("span", { key: '352d7b5ef080336a5c7b53e0b710d5b0d7aa0efe', class: "sr-only" }, "required")))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "eds-input-label"; }
|
|
16
16
|
static get properties() {
|
|
@@ -45,7 +45,7 @@ export class EdsInputRange {
|
|
|
45
45
|
return this.inputElement;
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: '5c55f65e2acd6f4554af7d8ba513c9d9dfd445eb', class: "relative flex flex-col items-start space-y-2" }, h("input", { key: '4fcd0d3d978ddba7929958dd22a283c2ba61ee48', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), h("p", { key: 'c63b223e6af149efb68cabbe5228e77b09ca2168', id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal)));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "eds-input-range"; }
|
|
51
51
|
static get properties() {
|
|
@@ -66,7 +66,7 @@ export class EdsInputSearch {
|
|
|
66
66
|
return this.inputElement;
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: '27d6871df962e2bd27eac38b1a105142b1b68bab', class: "relative flex items-center" }, h("eds-icon-wrapper", { key: 'b4b497cb435c673a550b169dea93fbc7006d0c5e', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), h("input", { key: '1419cd8f5b8791b5b812c57ba649567e1b6ec0bb', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
|
|
70
70
|
//onInput={this.onInput}
|
|
71
71
|
onChange: this.onChange })));
|
|
72
72
|
}
|
|
@@ -26,12 +26,12 @@ export class EdsInputSelect {
|
|
|
26
26
|
const selectId = this.inputId || this.name;
|
|
27
27
|
const placeholderText = this.placeholder || `Please select ${this.name}`;
|
|
28
28
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '80cbdab87f5baa21df5edc857685c3af4dee3a58', class: "relative" }, h("select", { key: '4e8f84fd9dbc63df7981898cadc24450f48aa92a', id: selectId, name: this.name, class: {
|
|
30
30
|
input: true,
|
|
31
31
|
'input-error': this.error,
|
|
32
32
|
'px-4': true,
|
|
33
33
|
'py-2': true
|
|
34
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: '
|
|
34
|
+
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, h("option", { key: '54b90339cae4c5c80711793a8c68c4587e0c2495', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (h("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), h("span", { key: '6c9f0a0606f1d6f282c756f84ace7618584d5fa3', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, h("eds-icon-wrapper", { key: '4524af72468d3b37c01b0252d4b6b2bf7454514e', class: "w-20 h-20", icon: "chevron-right" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "eds-input-select"; }
|
|
37
37
|
static get properties() {
|
|
@@ -1,50 +1,27 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
/**
|
|
3
|
-
* `EdsInputField` is a versatile form input component that supports various input types and customization options.
|
|
4
|
-
*
|
|
5
|
-
* Key Features:
|
|
6
|
-
* - Supports multiple input types (text, checkbox, radio, select, file) with corresponding behaviors and styling.
|
|
7
|
-
* - Provides options for validation, including required fields and max length.
|
|
8
|
-
* - Allows custom messages and error handling with `message` and `errorMessage` props.
|
|
9
|
-
* - Offers additional features like icons, labels, links, and hints to enhance user experience.
|
|
10
|
-
*
|
|
11
|
-
* This component provides a structured and configurable form input with additional features to suit various input requirements.
|
|
12
|
-
*/
|
|
13
2
|
export class EdsInputField {
|
|
14
3
|
constructor() {
|
|
15
4
|
this.handleNativeInput = (ev) => {
|
|
16
5
|
var _a;
|
|
17
|
-
// 1) Call any passed-in handler
|
|
18
6
|
(_a = this.onInput) === null || _a === void 0 ? void 0 : _a.call(this, ev);
|
|
19
7
|
if (this.shouldEmitValue()) {
|
|
20
|
-
// 2) Re-emit on host so Vue/others can catch it
|
|
21
8
|
const newValue = ev.target.value;
|
|
22
|
-
this.
|
|
23
|
-
detail: { value: newValue },
|
|
24
|
-
bubbles: false,
|
|
25
|
-
composed: true
|
|
26
|
-
}));
|
|
9
|
+
this.edsinput.emit({ value: newValue });
|
|
27
10
|
}
|
|
28
11
|
};
|
|
29
12
|
this.handleNativeChange = (ev) => {
|
|
30
13
|
var _a;
|
|
31
|
-
(_a = this.
|
|
14
|
+
(_a = this.onChangeNative) === null || _a === void 0 ? void 0 : _a.call(this, ev);
|
|
32
15
|
if (this.shouldEmitValue()) {
|
|
33
16
|
const target = ev.target;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
bubbles: false,
|
|
37
|
-
composed: true
|
|
38
|
-
}));
|
|
17
|
+
const value = target.value;
|
|
18
|
+
this.edschange.emit({ value });
|
|
39
19
|
}
|
|
40
20
|
};
|
|
41
21
|
this.name = undefined;
|
|
42
22
|
this.inputId = undefined;
|
|
43
23
|
this.placeholder = undefined;
|
|
44
24
|
this.disabled = false;
|
|
45
|
-
this.onChange = undefined;
|
|
46
|
-
this.onInput = undefined;
|
|
47
|
-
this.type = 'text';
|
|
48
25
|
this.required = false;
|
|
49
26
|
this.label = undefined;
|
|
50
27
|
this.hint = undefined;
|
|
@@ -57,22 +34,22 @@ export class EdsInputField {
|
|
|
57
34
|
this.value = undefined;
|
|
58
35
|
this.maxLength = undefined;
|
|
59
36
|
this.options = undefined;
|
|
37
|
+
this.type = 'text';
|
|
38
|
+
this.onChangeNative = undefined;
|
|
39
|
+
this.onInput = undefined;
|
|
60
40
|
this.exposeValueEvents = true;
|
|
61
41
|
}
|
|
62
42
|
shouldEmitValue() {
|
|
63
|
-
// Never emit for password fields, and respect the exposeValueEvents prop
|
|
64
43
|
return this.exposeValueEvents && this.type !== 'password';
|
|
65
44
|
}
|
|
66
45
|
get parsedOptions() {
|
|
67
|
-
if (Array.isArray(this.options))
|
|
46
|
+
if (Array.isArray(this.options))
|
|
68
47
|
return this.options;
|
|
69
|
-
|
|
70
|
-
else if (typeof this.options === 'string') {
|
|
48
|
+
if (typeof this.options === 'string') {
|
|
71
49
|
try {
|
|
72
50
|
return JSON.parse(this.options);
|
|
73
51
|
}
|
|
74
52
|
catch (_a) {
|
|
75
|
-
// eslint-disable-next-line
|
|
76
53
|
console.warn('Invalid options format');
|
|
77
54
|
return [];
|
|
78
55
|
}
|
|
@@ -94,7 +71,8 @@ export class EdsInputField {
|
|
|
94
71
|
icon: this.icon,
|
|
95
72
|
checked: this.checked
|
|
96
73
|
};
|
|
97
|
-
return (h("div", { key: '
|
|
74
|
+
return (h("div", { key: '2ff82dedd17922c5cb72fc30b7f616c7fafa7b07', class: "space-y-8" }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (h("fieldset", { class: "space-y-4 mt-8" }, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (h("div", { class: "flex items-center gap-x-2", key: option.value }, h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' &&
|
|
75
|
+
this.value.split(',').includes(String(option.value)) })), h("eds-input-label", { name: `${this.name}-${option.value}`, label: option.label })))))) : (h("div", { class: "flex items-center gap-x-8" }, h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' })), this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (h("div", null, h("div", { class: "flex justify-between" }, this.label && (h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
|
|
98
76
|
var _a, _b, _c;
|
|
99
77
|
const rangeProps = {
|
|
100
78
|
name: inputOpts.name,
|
|
@@ -107,7 +85,7 @@ export class EdsInputField {
|
|
|
107
85
|
const opt = this.parsedOptions;
|
|
108
86
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
109
87
|
return (h("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
|
|
110
|
-
})()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '
|
|
88
|
+
})()) : (h("eds-input", Object.assign({}, inputOpts))))), h("eds-input-footer", { key: '4b8513dcd713d56953934b158ba1b9182e1497a8', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
|
|
111
89
|
}
|
|
112
90
|
static get is() { return "eds-input-field"; }
|
|
113
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +113,7 @@ export class EdsInputField {
|
|
|
135
113
|
"optional": false,
|
|
136
114
|
"docs": {
|
|
137
115
|
"tags": [],
|
|
138
|
-
"text": "The `name` attribute
|
|
116
|
+
"text": "The `name` attribute of the input element. Required for form submission."
|
|
139
117
|
},
|
|
140
118
|
"attribute": "name",
|
|
141
119
|
"reflect": false
|
|
@@ -152,7 +130,7 @@ export class EdsInputField {
|
|
|
152
130
|
"optional": true,
|
|
153
131
|
"docs": {
|
|
154
132
|
"tags": [],
|
|
155
|
-
"text": "The
|
|
133
|
+
"text": "The `id` attribute of the internal input element. Defaults to `name` if not set."
|
|
156
134
|
},
|
|
157
135
|
"attribute": "input-id",
|
|
158
136
|
"reflect": false
|
|
@@ -169,7 +147,7 @@ export class EdsInputField {
|
|
|
169
147
|
"optional": true,
|
|
170
148
|
"docs": {
|
|
171
149
|
"tags": [],
|
|
172
|
-
"text": "
|
|
150
|
+
"text": "Placeholder text for the input field."
|
|
173
151
|
},
|
|
174
152
|
"attribute": "placeholder",
|
|
175
153
|
"reflect": false
|
|
@@ -186,70 +164,12 @@ export class EdsInputField {
|
|
|
186
164
|
"optional": false,
|
|
187
165
|
"docs": {
|
|
188
166
|
"tags": [],
|
|
189
|
-
"text": "If `true`,
|
|
167
|
+
"text": "If `true`, the input is disabled."
|
|
190
168
|
},
|
|
191
169
|
"attribute": "disabled",
|
|
192
170
|
"reflect": false,
|
|
193
171
|
"defaultValue": "false"
|
|
194
172
|
},
|
|
195
|
-
"onChange": {
|
|
196
|
-
"type": "unknown",
|
|
197
|
-
"mutable": false,
|
|
198
|
-
"complexType": {
|
|
199
|
-
"original": "(event: Event) => void",
|
|
200
|
-
"resolved": "(event: Event) => void",
|
|
201
|
-
"references": {
|
|
202
|
-
"Event": {
|
|
203
|
-
"location": "global",
|
|
204
|
-
"id": "global::Event"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
"required": false,
|
|
209
|
-
"optional": true,
|
|
210
|
-
"docs": {
|
|
211
|
-
"tags": [],
|
|
212
|
-
"text": "The `onChange` event handler for the input element."
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"onInput": {
|
|
216
|
-
"type": "unknown",
|
|
217
|
-
"mutable": false,
|
|
218
|
-
"complexType": {
|
|
219
|
-
"original": "(event: InputEvent) => void",
|
|
220
|
-
"resolved": "(event: InputEvent) => void",
|
|
221
|
-
"references": {
|
|
222
|
-
"InputEvent": {
|
|
223
|
-
"location": "global",
|
|
224
|
-
"id": "global::InputEvent"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"required": false,
|
|
229
|
-
"optional": true,
|
|
230
|
-
"docs": {
|
|
231
|
-
"tags": [],
|
|
232
|
-
"text": "The `onInput` event handler for the input element."
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
"type": {
|
|
236
|
-
"type": "string",
|
|
237
|
-
"mutable": false,
|
|
238
|
-
"complexType": {
|
|
239
|
-
"original": "string",
|
|
240
|
-
"resolved": "string",
|
|
241
|
-
"references": {}
|
|
242
|
-
},
|
|
243
|
-
"required": false,
|
|
244
|
-
"optional": false,
|
|
245
|
-
"docs": {
|
|
246
|
-
"tags": [],
|
|
247
|
-
"text": "The type of the input element. Defaults to `text`.\nSupported types: `text`, `checkbox`, `radio`, `select`, `file`, `search`, etc."
|
|
248
|
-
},
|
|
249
|
-
"attribute": "type",
|
|
250
|
-
"reflect": false,
|
|
251
|
-
"defaultValue": "'text'"
|
|
252
|
-
},
|
|
253
173
|
"required": {
|
|
254
174
|
"type": "boolean",
|
|
255
175
|
"mutable": false,
|
|
@@ -262,7 +182,7 @@ export class EdsInputField {
|
|
|
262
182
|
"optional": false,
|
|
263
183
|
"docs": {
|
|
264
184
|
"tags": [],
|
|
265
|
-
"text": "If `true`, the input
|
|
185
|
+
"text": "If `true`, the input is required."
|
|
266
186
|
},
|
|
267
187
|
"attribute": "required",
|
|
268
188
|
"reflect": false,
|
|
@@ -280,7 +200,7 @@ export class EdsInputField {
|
|
|
280
200
|
"optional": true,
|
|
281
201
|
"docs": {
|
|
282
202
|
"tags": [],
|
|
283
|
-
"text": "
|
|
203
|
+
"text": "Label text for the input field."
|
|
284
204
|
},
|
|
285
205
|
"attribute": "label",
|
|
286
206
|
"reflect": false
|
|
@@ -297,7 +217,7 @@ export class EdsInputField {
|
|
|
297
217
|
"optional": true,
|
|
298
218
|
"docs": {
|
|
299
219
|
"tags": [],
|
|
300
|
-
"text": "
|
|
220
|
+
"text": "Optional hint displayed next to the label."
|
|
301
221
|
},
|
|
302
222
|
"attribute": "hint",
|
|
303
223
|
"reflect": false
|
|
@@ -314,7 +234,7 @@ export class EdsInputField {
|
|
|
314
234
|
"optional": true,
|
|
315
235
|
"docs": {
|
|
316
236
|
"tags": [],
|
|
317
|
-
"text": "
|
|
237
|
+
"text": "Optional icon name to display inside the input."
|
|
318
238
|
},
|
|
319
239
|
"attribute": "icon",
|
|
320
240
|
"reflect": false
|
|
@@ -331,7 +251,7 @@ export class EdsInputField {
|
|
|
331
251
|
"optional": true,
|
|
332
252
|
"docs": {
|
|
333
253
|
"tags": [],
|
|
334
|
-
"text": "
|
|
254
|
+
"text": "Optional link associated with the input (for help or docs)."
|
|
335
255
|
}
|
|
336
256
|
},
|
|
337
257
|
"message": {
|
|
@@ -346,7 +266,7 @@ export class EdsInputField {
|
|
|
346
266
|
"optional": true,
|
|
347
267
|
"docs": {
|
|
348
268
|
"tags": [],
|
|
349
|
-
"text": "
|
|
269
|
+
"text": "Message shown below the input (e.g., additional info or validation message)."
|
|
350
270
|
},
|
|
351
271
|
"attribute": "message",
|
|
352
272
|
"reflect": false
|
|
@@ -363,7 +283,7 @@ export class EdsInputField {
|
|
|
363
283
|
"optional": false,
|
|
364
284
|
"docs": {
|
|
365
285
|
"tags": [],
|
|
366
|
-
"text": "If `true`,
|
|
286
|
+
"text": "If `true`, renders the input with error styles."
|
|
367
287
|
},
|
|
368
288
|
"attribute": "error",
|
|
369
289
|
"reflect": false,
|
|
@@ -381,7 +301,7 @@ export class EdsInputField {
|
|
|
381
301
|
"optional": true,
|
|
382
302
|
"docs": {
|
|
383
303
|
"tags": [],
|
|
384
|
-
"text": "If `true`, the
|
|
304
|
+
"text": "If `true`, the checkbox/radio is checked."
|
|
385
305
|
},
|
|
386
306
|
"attribute": "checked",
|
|
387
307
|
"reflect": false
|
|
@@ -398,7 +318,7 @@ export class EdsInputField {
|
|
|
398
318
|
"optional": true,
|
|
399
319
|
"docs": {
|
|
400
320
|
"tags": [],
|
|
401
|
-
"text": "
|
|
321
|
+
"text": "Error message text shown when validation fails."
|
|
402
322
|
},
|
|
403
323
|
"attribute": "error-message",
|
|
404
324
|
"reflect": false
|
|
@@ -415,7 +335,7 @@ export class EdsInputField {
|
|
|
415
335
|
"optional": true,
|
|
416
336
|
"docs": {
|
|
417
337
|
"tags": [],
|
|
418
|
-
"text": "The value of the input
|
|
338
|
+
"text": "The value of the input. Can be `string` or `number`."
|
|
419
339
|
},
|
|
420
340
|
"attribute": "value",
|
|
421
341
|
"reflect": false
|
|
@@ -432,7 +352,7 @@ export class EdsInputField {
|
|
|
432
352
|
"optional": true,
|
|
433
353
|
"docs": {
|
|
434
354
|
"tags": [],
|
|
435
|
-
"text": "The maximum length
|
|
355
|
+
"text": "The maximum allowed length for text input."
|
|
436
356
|
},
|
|
437
357
|
"attribute": "max-length",
|
|
438
358
|
"reflect": false
|
|
@@ -449,11 +369,70 @@ export class EdsInputField {
|
|
|
449
369
|
"optional": true,
|
|
450
370
|
"docs": {
|
|
451
371
|
"tags": [],
|
|
452
|
-
"text": "Options for
|
|
372
|
+
"text": "Options for select, checkbox, radio, or range inputs.\nCan be a JSON string or an array of `{ value, label }` objects."
|
|
453
373
|
},
|
|
454
374
|
"attribute": "options",
|
|
455
375
|
"reflect": false
|
|
456
376
|
},
|
|
377
|
+
"type": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"mutable": false,
|
|
380
|
+
"complexType": {
|
|
381
|
+
"original": "string",
|
|
382
|
+
"resolved": "string",
|
|
383
|
+
"references": {}
|
|
384
|
+
},
|
|
385
|
+
"required": false,
|
|
386
|
+
"optional": false,
|
|
387
|
+
"docs": {
|
|
388
|
+
"tags": [],
|
|
389
|
+
"text": "Type of the input: e.g., `text`, `checkbox`, `select`, `range`, etc."
|
|
390
|
+
},
|
|
391
|
+
"attribute": "type",
|
|
392
|
+
"reflect": false,
|
|
393
|
+
"defaultValue": "'text'"
|
|
394
|
+
},
|
|
395
|
+
"onChangeNative": {
|
|
396
|
+
"type": "unknown",
|
|
397
|
+
"mutable": false,
|
|
398
|
+
"complexType": {
|
|
399
|
+
"original": "(event: Event) => void",
|
|
400
|
+
"resolved": "(event: Event) => void",
|
|
401
|
+
"references": {
|
|
402
|
+
"Event": {
|
|
403
|
+
"location": "import",
|
|
404
|
+
"path": "@stencil/core",
|
|
405
|
+
"id": "../../../node_modules/@stencil/core/internal/stencil-core/index.d.ts::Event"
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"required": false,
|
|
410
|
+
"optional": true,
|
|
411
|
+
"docs": {
|
|
412
|
+
"tags": [],
|
|
413
|
+
"text": "Native `onChange` handler for React/Vue wrappers.\nEnables use without manually attaching DOM event listeners."
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"onInput": {
|
|
417
|
+
"type": "unknown",
|
|
418
|
+
"mutable": false,
|
|
419
|
+
"complexType": {
|
|
420
|
+
"original": "(event: InputEvent) => void",
|
|
421
|
+
"resolved": "(event: InputEvent) => void",
|
|
422
|
+
"references": {
|
|
423
|
+
"InputEvent": {
|
|
424
|
+
"location": "global",
|
|
425
|
+
"id": "global::InputEvent"
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
"required": false,
|
|
430
|
+
"optional": true,
|
|
431
|
+
"docs": {
|
|
432
|
+
"tags": [],
|
|
433
|
+
"text": "Native `onInput` handler for React/Vue wrappers.\nEnables use without manually attaching DOM event listeners."
|
|
434
|
+
}
|
|
435
|
+
},
|
|
457
436
|
"exposeValueEvents": {
|
|
458
437
|
"type": "boolean",
|
|
459
438
|
"mutable": false,
|
|
@@ -466,7 +445,7 @@ export class EdsInputField {
|
|
|
466
445
|
"optional": false,
|
|
467
446
|
"docs": {
|
|
468
447
|
"tags": [],
|
|
469
|
-
"text": "
|
|
448
|
+
"text": "If `true`, emits `edsChange` and `edsInput` events for external usage.\nSet to `false` to disable value emission entirely."
|
|
470
449
|
},
|
|
471
450
|
"attribute": "expose-value-events",
|
|
472
451
|
"reflect": false,
|
|
@@ -474,5 +453,38 @@ export class EdsInputField {
|
|
|
474
453
|
}
|
|
475
454
|
};
|
|
476
455
|
}
|
|
456
|
+
static get events() {
|
|
457
|
+
return [{
|
|
458
|
+
"method": "edsinput",
|
|
459
|
+
"name": "edsinput",
|
|
460
|
+
"bubbles": true,
|
|
461
|
+
"cancelable": true,
|
|
462
|
+
"composed": true,
|
|
463
|
+
"docs": {
|
|
464
|
+
"tags": [],
|
|
465
|
+
"text": "Emits on every user input (key press, typing, etc.).\nUse `event.detail.value` to access the new value."
|
|
466
|
+
},
|
|
467
|
+
"complexType": {
|
|
468
|
+
"original": "{ value: string }",
|
|
469
|
+
"resolved": "{ value: string; }",
|
|
470
|
+
"references": {}
|
|
471
|
+
}
|
|
472
|
+
}, {
|
|
473
|
+
"method": "edschange",
|
|
474
|
+
"name": "edschange",
|
|
475
|
+
"bubbles": true,
|
|
476
|
+
"cancelable": true,
|
|
477
|
+
"composed": true,
|
|
478
|
+
"docs": {
|
|
479
|
+
"tags": [],
|
|
480
|
+
"text": "Emits on blur or change event (e.g., selecting an option, leaving the field).\nUse `event.detail.value` to access the final value."
|
|
481
|
+
},
|
|
482
|
+
"complexType": {
|
|
483
|
+
"original": "{ value: string }",
|
|
484
|
+
"resolved": "{ value: string; }",
|
|
485
|
+
"references": {}
|
|
486
|
+
}
|
|
487
|
+
}];
|
|
488
|
+
}
|
|
477
489
|
static get elementRef() { return "hostEl"; }
|
|
478
490
|
}
|
|
@@ -216,7 +216,7 @@ export class EdsLink {
|
|
|
216
216
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
217
217
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
218
218
|
: '';
|
|
219
|
-
return (h(ComponentType, { key: '
|
|
219
|
+
return (h(ComponentType, { key: '8c7ab8b80b9765e83e4e57d59ba1b45fe36f15b7', class: `${classes || ''} ${this.extraClass || ''}`, href: !this.disabled ? this.url : undefined, target: this.external && !this.disabled ? '_blank' : undefined, rel: this.external && !this.disabled ? 'noopener noreferrer' : undefined, "aria-label": computedAriaLabel, "aria-disabled": this.disabled ? 'true' : null, "aria-current": this.current ? 'page' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event) }, h("span", { key: '94284b425a331f6a56a3e63db89fed5fa1a207c1', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), h("span", { key: '7496886c7c975d6795633c36b9cc8d31673d5a4b', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
220
220
|
}
|
|
221
221
|
static get is() { return "eds-link"; }
|
|
222
222
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,7 @@ export class EdsLogo {
|
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
78
|
const logoContent = this.getLogo();
|
|
79
|
-
return (h("a", { key: '
|
|
79
|
+
return (h("a", { key: 'ab11d53e1f417221dcca2de441c7b3efa96f99a5', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '0d4a6b970788534d34d55b28fe83407ce7c4e00e', innerHTML: logoContent })));
|
|
80
80
|
}
|
|
81
81
|
static get is() { return "eds-logo"; }
|
|
82
82
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,9 +121,9 @@ export class EdsModal {
|
|
|
121
121
|
render() {
|
|
122
122
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
123
123
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: 'affa340307adc5bdd637696b56a59e3f73cbf7e9', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'e4359b32052a155f879070deea34fbca2fb67e3b', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
125
125
|
,
|
|
126
|
-
onClick: () => this.close() })), h("div", { key: '
|
|
126
|
+
onClick: () => this.close() })), h("div", { key: 'ba95f463e8c807e2ac2e900b3167191908ca2f5d', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '1fc4649d6ba728745e4f1ed73e8fb8bdac6eda59', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, h("span", { key: '731e7cb6c7aaa36bcda8d1c32bd1b8da9d85f253', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '89657ac29b27ce173569353f3101e998cb756eec', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: '2e39edaa1f5cc5389873e203c3e4294de8b56678', class: "pt-8 px-20 py-20" }, h("slot", { key: '0fb09f52100042fc5f20f5f443a8f5cff381d944' })))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "eds-modal"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -173,7 +173,7 @@ export class EdsPagination {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h("div", { key: '
|
|
176
|
+
return (h("div", { key: '6377e0187e461bcbeac835dd7cb83e93ef199865' }, this.total > 0 && this.mode === 'default' && (h("p", { key: 'ec2a6b6a40c76352743d012c51cda5d7fe1137df', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, h("span", { key: '3a23e3d156f87167b0dacb4085870958ce19e793', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination" }, h("ul", { class: "flex items-center justify-center gap-x-8" }, h("li", { class: "mr-auto" }, h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
|
|
177
177
|
? this.prevUrl || '#' // Use prevUrl if provided, otherwise disable with '#'
|
|
178
178
|
: this.isFirstPage()
|
|
179
179
|
? '#'
|
|
@@ -39,7 +39,7 @@ export class EdsProgressBar {
|
|
|
39
39
|
]
|
|
40
40
|
.filter(Boolean)
|
|
41
41
|
.join(' ');
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '3360c1a9e61c83fee5312d007f6d2965a8983eba', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: '7210dc5931f08626b286c30ae790a3a864533632', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '7586cd593b4e851f4605ad33b96781841ee0b1aa', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: '21fa3de543e5e717ed4fd76c689aa47c3fa6a853', class: "text-default f-body-02" }, progressValue, "%"))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "eds-progress-bar"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class EdsRating {
|
|
|
39
39
|
this.rating.emit(rating);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '6686575f0b8b9017bf19b105208f6adbfd46dabd', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
43
43
|
const starRating = index + 1;
|
|
44
44
|
const isSelected = starRating <= this.selectedRating;
|
|
45
45
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|