genesys-spark-components 3.17.1 → 3.20.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/CHANGELOG.md +21 -0
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-card-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +6 -2
- package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +8 -9
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number.cjs.entry.js +6 -5
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-range.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +18 -7
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -4
- package/dist/cjs/{gux-form-field.service-13fc997c.js → gux-form-field.service-c1cdde0e.js} +22 -4
- package/dist/cjs/gux-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +20 -0
- package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +33 -0
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
- package/dist/cjs/index-262c2e3a.js +8 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/on-input-disabled-state-change-d66fb86b.js +25 -0
- package/dist/cjs/{usage-tracking-a1cfacb3.js → usage-tracking-1577c51d.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.css +22 -0
- package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +16 -0
- package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-list.css +29 -0
- package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-list.js +26 -0
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +6 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +5 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +1 -75
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +7 -9
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +5 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +7 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +22 -5
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +4 -3
- package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +21 -4
- package/dist/collection/utils/dom/calculate-input-disabled-state.js +4 -0
- package/dist/collection/utils/dom/on-input-disabled-state-change.js +16 -0
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-legacy.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button-legacy.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-list-legacy.entry.js +1 -1
- package/dist/esm/gux-action-toast.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
- package/dist/esm/gux-badge-beta.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot-beta.entry.js +1 -1
- package/dist/esm/gux-button.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +1 -1
- package/dist/esm/gux-card-beta.entry.js +1 -1
- package/dist/esm/gux-chart-column-beta.entry.js +1 -1
- package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
- package/dist/esm/gux-chart-line-beta.entry.js +1 -1
- package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
- package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +1 -1
- package/dist/esm/gux-disclosure-button.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +6 -2
- package/dist/esm/gux-error-message-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +5 -5
- package/dist/esm/gux-form-field-color.entry.js +6 -5
- package/dist/esm/gux-form-field-dropdown.entry.js +9 -10
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-legacy.entry.js +1 -1
- package/dist/esm/gux-form-field-number.entry.js +7 -6
- package/dist/esm/gux-form-field-radio.entry.js +5 -5
- package/dist/esm/gux-form-field-range.entry.js +6 -5
- package/dist/esm/gux-form-field-search.entry.js +6 -5
- package/dist/esm/gux-form-field-select.entry.js +6 -5
- package/dist/esm/gux-form-field-text-like.entry.js +19 -8
- package/dist/esm/gux-form-field-textarea.entry.js +6 -5
- package/dist/esm/{gux-form-field.service-2ff78b1b.js → gux-form-field.service-debdaed0.js} +22 -5
- package/dist/esm/gux-icon.entry.js +1 -1
- package/dist/esm/gux-list-item-legacy_2.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-notification-toast.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-beta.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-popover.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +1 -1
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-side-panel-legacy.entry.js +1 -1
- package/dist/esm/gux-simple-toast.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-item.entry.js +16 -0
- package/dist/esm/gux-skip-navigation-list-beta.entry.js +29 -0
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-switch.entry.js +1 -1
- package/dist/esm/gux-table-beta.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs-legacy.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag-beta.entry.js +1 -1
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-text-label-legacy.entry.js +1 -1
- package/dist/esm/gux-time-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip.entry.js +1 -1
- package/dist/esm/gux-visualization-beta.entry.js +1 -1
- package/dist/esm/index-74e605ae.js +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/on-input-disabled-state-change-3ea76372.js +22 -0
- package/dist/esm/{usage-tracking-1815b37d.js → usage-tracking-8e48cf8c.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.de.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr-ca.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.he.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
- package/dist/genesys-webcomponents/less/typography.less +1 -6
- package/dist/genesys-webcomponents/p-018290ef.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1f68e4a3.entry.js → p-08bdbeba.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0a456351.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-58044e15.entry.js → p-0e7278ae.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49f518f9.entry.js → p-157335b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e13c8acf.entry.js → p-1b1454bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-90c01d84.entry.js → p-1fc8155a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3bad07db.entry.js → p-259d1f95.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da430acd.entry.js → p-2b4b37a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-465f89f6.js → p-2c2fec86.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d9a02b4.entry.js → p-2c65a02c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-317fd5b7.entry.js +1 -0
- package/dist/genesys-webcomponents/p-38439a3a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e05d4857.entry.js → p-3c0298af.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3e412855.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-297ced22.entry.js → p-3f29df54.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3f5341ea.js +1 -0
- package/dist/genesys-webcomponents/{p-6899ba7f.entry.js → p-41e9f98b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38eaa363.entry.js → p-46a22b92.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d47ca13d.entry.js → p-4c11109d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9441a376.entry.js → p-4c730a4e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0827c25a.entry.js → p-50bb1707.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9048c58d.entry.js → p-51a14752.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-038656e8.entry.js → p-529c29c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f5b7b0a.entry.js → p-545d7bd5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0c88ce67.entry.js → p-594ee8c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5e62c239.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b99a3610.entry.js → p-5eca79ac.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9c25fc0d.entry.js → p-63e576f0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-67556723.entry.js +1 -0
- package/dist/genesys-webcomponents/p-68e6b0e4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-cfd1c47d.entry.js → p-6a6680bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-56725338.entry.js → p-782ae868.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-93ea816b.entry.js → p-7beb85b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e056757e.entry.js → p-7cedadb0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d46b6457.entry.js → p-7e2d62a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7f614c57.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-046c4d4c.entry.js → p-822b4a04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-11f7efbf.entry.js → p-83cdf8bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-88301f55.entry.js +1 -0
- package/dist/genesys-webcomponents/p-8caf2514.js +1 -0
- package/dist/genesys-webcomponents/p-900230b2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e79c57d4.entry.js → p-931f5a4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c6be8743.entry.js → p-958ea819.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7916892d.entry.js → p-9c7bd483.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0275db5.entry.js → p-9c9572d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64a5ea8e.entry.js → p-a53f0cca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8aa41116.entry.js → p-a742d7c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b3b26f5.entry.js → p-ab0e97aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00851515.entry.js → p-ae0661e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b8e80f2.entry.js → p-af2d9444.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7d38535.entry.js → p-b0a7799c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a331ec5a.entry.js → p-b1223d4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80111d4a.entry.js → p-b5b384f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e6469f2.entry.js → p-b65f5d73.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-393bb7f2.entry.js → p-b8687520.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-234e4466.entry.js → p-bbebe2c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4d527abb.entry.js → p-bd6c3674.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-178b2b06.entry.js → p-c1f85df7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c5620be5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2265bb6f.entry.js → p-cafb669a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f98efaab.entry.js → p-cbbfb924.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9fb6e0c4.entry.js → p-d1c5bf71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9608773.entry.js → p-d347e861.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d725360d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6d753e41.entry.js → p-da7de0f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-706c3ebe.entry.js → p-db48bbcc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-de98b5ab.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6358f9cb.entry.js → p-df79c0c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-51b6e718.entry.js → p-e2e93fc8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac9e00d2.entry.js → p-ecdead3c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1ad2c64.entry.js → p-edde4fee.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ef020ce1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bf9be6a2.entry.js → p-efc2cc84.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9169702e.entry.js → p-f43d8bcc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6e98893.entry.js → p-f543af0c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c8937107.entry.js → p-f7f356f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e63f5f19.entry.js → p-f932b7ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fbc901ab.entry.js → p-fb1cf654.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19f61f9c.entry.js → p-fb4ed5fe.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.d.ts +4 -0
- package/dist/types/components/beta/gux-skip-navigation-list/gux-skip-navigation-list.d.ts +7 -0
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +4 -0
- package/dist/types/components/stable/gux-form-field/gux-form-field.service.d.ts +1 -0
- package/dist/types/components.d.ts +26 -0
- package/dist/types/utils/dom/calculate-input-disabled-state.d.ts +1 -0
- package/dist/types/utils/dom/on-input-disabled-state-change.d.ts +1 -0
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-2bcbc97c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3e7ba83a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5f58575f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6d2cdd09.entry.js +0 -1
- package/dist/genesys-webcomponents/p-85cd9ac2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8b48f04a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95b1c3da.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9d6961b1.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b9ae2afa.entry.js +0 -1
- package/dist/genesys-webcomponents/p-bc7cd0af.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dcd342ec.js +0 -1
- package/dist/genesys-webcomponents/p-e69e61b7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e6a3b956.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f0607d82.entry.js +0 -1
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
|
-
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
9
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
11
11
|
require('./random-html-id-b86b61c0.js');
|
|
12
12
|
require('./log-error-a57681bf.js');
|
|
13
13
|
require('./set-input-value-610d7da3.js');
|
|
@@ -50,8 +50,8 @@ const GuxFormFieldCheckbox = class {
|
|
|
50
50
|
setInput() {
|
|
51
51
|
this.input = this.root.querySelector('input[type="checkbox"][slot="input"]');
|
|
52
52
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
53
|
-
this.disabled = this.input
|
|
54
|
-
this.disabledObserver =
|
|
53
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
54
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
55
55
|
this.disabled = disabled;
|
|
56
56
|
});
|
|
57
57
|
guxFormField_service.validateFormIds(this.root, this.input);
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
12
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
13
14
|
require('./log-error-a57681bf.js');
|
|
14
15
|
require('./set-input-value-610d7da3.js');
|
|
@@ -59,9 +60,9 @@ const GuxFormFieldColor = class {
|
|
|
59
60
|
setInput() {
|
|
60
61
|
this.input = this.root.querySelector('input[type="color"][slot="input"]');
|
|
61
62
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
62
|
-
this.disabled = this.input
|
|
63
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
63
64
|
this.required = this.input.required;
|
|
64
|
-
this.disabledObserver =
|
|
65
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
65
66
|
this.disabled = disabled;
|
|
66
67
|
});
|
|
67
68
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
9
10
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
10
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
11
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
11
12
|
require('./random-html-id-b86b61c0.js');
|
|
12
13
|
require('./log-error-a57681bf.js');
|
|
13
14
|
require('./set-input-value-610d7da3.js');
|
|
14
15
|
require('./simulate-native-event-fe3e62da.js');
|
|
15
16
|
|
|
16
|
-
const guxFormFieldDropdownCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}
|
|
17
|
+
const guxFormFieldDropdownCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:0.5}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";
|
|
17
18
|
|
|
18
19
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
19
20
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -47,11 +48,9 @@ const GuxFormFieldDropdown = class {
|
|
|
47
48
|
render() {
|
|
48
49
|
return (index.h(guxFormFieldLabel.GuxFormFieldContainer, { labelPosition: this.computedLabelPosition }, index.h(guxFormFieldLabel.GuxFormFieldLabel, { position: this.computedLabelPosition, required: this.required }, index.h("slot", { name: "label", onSlotchange: () => this.setLabel() })), index.h("div", { class: "gux-input-and-error-container" }, index.h("div", { class: {
|
|
49
50
|
'gux-input': true,
|
|
50
|
-
'gux-input-error': this.hasError
|
|
51
|
-
} }, index.h("div", { class: {
|
|
52
|
-
'gux-dropdown-container': true,
|
|
51
|
+
'gux-input-error': this.hasError,
|
|
53
52
|
'gux-disabled': this.disabled
|
|
54
|
-
} }, index.h("slot", null))
|
|
53
|
+
} }, index.h("slot", null)), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))));
|
|
55
54
|
}
|
|
56
55
|
get variant() {
|
|
57
56
|
const labelPositionVariant = this.labelPosition
|
|
@@ -67,9 +66,9 @@ const GuxFormFieldDropdown = class {
|
|
|
67
66
|
this.listboxElement =
|
|
68
67
|
this.root.querySelector('gux-listbox') ||
|
|
69
68
|
this.root.querySelector('gux-listbox-multi');
|
|
70
|
-
this.disabled = this.dropdownElement
|
|
69
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.dropdownElement);
|
|
71
70
|
this.required = this.dropdownElement.required;
|
|
72
|
-
this.disabledObserver =
|
|
71
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.dropdownElement, (disabled) => {
|
|
73
72
|
this.disabled = disabled;
|
|
74
73
|
});
|
|
75
74
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.dropdownElement, (required) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
const index$1 = require('./index-03fd0894.js');
|
|
8
8
|
require('./get-closest-element-ab4b2eee.js');
|
|
9
9
|
|
|
@@ -8,7 +8,7 @@ const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
|
8
8
|
const logError = require('./log-error-a57681bf.js');
|
|
9
9
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
10
10
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
11
|
-
const usageTracking = require('./usage-tracking-
|
|
11
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
12
12
|
|
|
13
13
|
const guxFormFieldCss = "gux-form-field-legacy{display:block;color:#2e394c}gux-form-field-legacy .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field-legacy .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field-legacy .gux-label-and-input-and-error-container input,gux-form-field-legacy .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field-legacy .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field-legacy .gux-error{display:none;margin:4px 0}gux-form-field-legacy .gux-error.gux-show{display:block}";
|
|
14
14
|
|
|
@@ -4,14 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const index$1 = require('./index-03fd0894.js');
|
|
7
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
7
8
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
8
9
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
9
10
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
10
|
-
const usageTracking = require('./usage-tracking-
|
|
11
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
11
12
|
const setInputValue = require('./set-input-value-610d7da3.js');
|
|
12
13
|
const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
|
|
13
14
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
14
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
15
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
15
16
|
require('./get-closest-element-ab4b2eee.js');
|
|
16
17
|
require('./random-html-id-b86b61c0.js');
|
|
17
18
|
require('./log-error-a57681bf.js');
|
|
@@ -23,7 +24,7 @@ const componentResources = {
|
|
|
23
24
|
decrement: decrement
|
|
24
25
|
};
|
|
25
26
|
|
|
26
|
-
const guxFormFieldNumberCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:108px;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:-moz-fit-content;width:fit-content}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input
|
|
27
|
+
const guxFormFieldNumberCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:108px;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:-moz-fit-content;width:fit-content}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";
|
|
27
28
|
|
|
28
29
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
29
30
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -81,9 +82,9 @@ const GuxFormFieldNumber = class {
|
|
|
81
82
|
this.input.addEventListener('input', () => {
|
|
82
83
|
this.hasContent = guxFormField_service.hasContent(this.input);
|
|
83
84
|
});
|
|
84
|
-
this.disabled = this.input
|
|
85
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
85
86
|
this.required = this.input.required;
|
|
86
|
-
this.disabledObserver =
|
|
87
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
87
88
|
this.disabled = disabled;
|
|
88
89
|
});
|
|
89
90
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
|
-
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
8
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
9
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
11
11
|
require('./random-html-id-b86b61c0.js');
|
|
12
12
|
require('./log-error-a57681bf.js');
|
|
13
13
|
require('./set-input-value-610d7da3.js');
|
|
@@ -50,8 +50,8 @@ const GuxFormFieldRadio = class {
|
|
|
50
50
|
setInput() {
|
|
51
51
|
this.input = this.root.querySelector('input[type="radio"][slot="input"]');
|
|
52
52
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
53
|
-
this.disabled = this.input
|
|
54
|
-
this.disabledObserver =
|
|
53
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
54
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
55
55
|
this.disabled = disabled;
|
|
56
56
|
});
|
|
57
57
|
guxFormField_service.validateFormIds(this.root, this.input);
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
12
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
13
14
|
require('./log-error-a57681bf.js');
|
|
14
15
|
require('./set-input-value-610d7da3.js');
|
|
@@ -72,10 +73,10 @@ const GuxFormField = class {
|
|
|
72
73
|
setInput() {
|
|
73
74
|
this.input = this.root.querySelector('input[type="range"][slot="input"]');
|
|
74
75
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
75
|
-
this.disabled = this.input
|
|
76
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
76
77
|
this.required = this.input.required;
|
|
77
78
|
this.value = this.input.value;
|
|
78
|
-
this.disabledObserver =
|
|
79
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
79
80
|
this.disabled = disabled;
|
|
80
81
|
});
|
|
81
82
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
12
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
13
14
|
require('./log-error-a57681bf.js');
|
|
14
15
|
require('./set-input-value-610d7da3.js');
|
|
@@ -70,9 +71,9 @@ const GuxFormFieldSearch = class {
|
|
|
70
71
|
this.input.addEventListener('input', () => {
|
|
71
72
|
this.hasContent = guxFormField_service.hasContent(this.input);
|
|
72
73
|
});
|
|
73
|
-
this.disabled = this.input
|
|
74
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
74
75
|
this.required = this.input.required;
|
|
75
|
-
this.disabledObserver =
|
|
76
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
76
77
|
this.disabled = disabled;
|
|
77
78
|
});
|
|
78
79
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
12
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
13
14
|
require('./log-error-a57681bf.js');
|
|
14
15
|
require('./set-input-value-610d7da3.js');
|
|
@@ -64,9 +65,9 @@ const GuxFormFieldSelect = class {
|
|
|
64
65
|
setInput() {
|
|
65
66
|
this.input = this.root.querySelector('select[slot="input"]');
|
|
66
67
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
67
|
-
this.disabled = this.input
|
|
68
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
68
69
|
this.required = this.input.required;
|
|
69
|
-
this.disabledObserver =
|
|
70
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
70
71
|
this.disabled = disabled;
|
|
71
72
|
});
|
|
72
73
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
12
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
13
14
|
require('./log-error-a57681bf.js');
|
|
14
15
|
require('./set-input-value-610d7da3.js');
|
|
15
16
|
require('./simulate-native-event-fe3e62da.js');
|
|
16
17
|
|
|
17
|
-
const guxFormFieldTextLikeCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";
|
|
18
|
+
const guxFormFieldTextLikeCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}::slotted(span){color:#2e394c;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px 4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}";
|
|
18
19
|
|
|
19
20
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20
21
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -40,6 +41,14 @@ const GuxFormFieldTextLike = class {
|
|
|
40
41
|
this.setInput();
|
|
41
42
|
this.setLabel();
|
|
42
43
|
this.hasError = guxFormField_service.hasErrorSlot(this.root);
|
|
44
|
+
this.hasPrefix = Boolean(this.root.querySelector('[slot="prefix"]'));
|
|
45
|
+
this.hasSuffix = Boolean(this.root.querySelector('[slot="suffix"]'));
|
|
46
|
+
if (this.hasPrefix) {
|
|
47
|
+
guxFormField_service.setSlotAriaDescribedby(this.root, this.input, 'prefix');
|
|
48
|
+
}
|
|
49
|
+
if (this.hasSuffix) {
|
|
50
|
+
guxFormField_service.setSlotAriaDescribedby(this.root, this.input, 'suffix');
|
|
51
|
+
}
|
|
43
52
|
usageTracking.trackComponent(this.root, { variant: this.variant });
|
|
44
53
|
}
|
|
45
54
|
disconnectedCallback() {
|
|
@@ -52,8 +61,10 @@ const GuxFormFieldTextLike = class {
|
|
|
52
61
|
'gux-input-error': this.hasError
|
|
53
62
|
} }, index.h("div", { class: {
|
|
54
63
|
'gux-input-container': true,
|
|
55
|
-
'gux-disabled': this.disabled
|
|
56
|
-
|
|
64
|
+
'gux-disabled': this.disabled,
|
|
65
|
+
'gux-has-prefix': this.hasPrefix,
|
|
66
|
+
'gux-has-suffix': this.hasSuffix
|
|
67
|
+
} }, index.h("slot", { name: "prefix" }), index.h("slot", { name: "input" }), index.h("slot", { name: "suffix" }), this.clearable && this.hasContent && !this.disabled && (index.h("gux-form-field-input-clear-button", { onClick: () => guxFormField_service.clearInput(this.input) })))), index.h(guxFormField_service.GuxFormFieldError, { hasError: this.hasError }, index.h("slot", { name: "error" })))));
|
|
57
68
|
}
|
|
58
69
|
get variant() {
|
|
59
70
|
const labelPositionVariant = this.labelPosition
|
|
@@ -70,9 +81,9 @@ const GuxFormFieldTextLike = class {
|
|
|
70
81
|
this.input.addEventListener('input', () => {
|
|
71
82
|
this.hasContent = guxFormField_service.hasContent(this.input);
|
|
72
83
|
});
|
|
73
|
-
this.disabled = this.input
|
|
84
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
74
85
|
this.required = this.input.required;
|
|
75
|
-
this.disabledObserver =
|
|
86
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
76
87
|
this.disabled = disabled;
|
|
77
88
|
});
|
|
78
89
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
|
-
const guxFormField_service = require('./gux-form-field.service-
|
|
12
|
+
const guxFormField_service = require('./gux-form-field.service-c1cdde0e.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
13
14
|
require('./log-error-a57681bf.js');
|
|
14
15
|
require('./set-input-value-610d7da3.js');
|
|
@@ -70,9 +71,9 @@ const GuxFormFieldTextarea = class {
|
|
|
70
71
|
this.input.addEventListener('input', () => {
|
|
71
72
|
this.updateHeight(this.textareaContainerElement, this.input, this.resize);
|
|
72
73
|
});
|
|
73
|
-
this.disabled = this.input
|
|
74
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
74
75
|
this.required = this.input.required;
|
|
75
|
-
this.disabledObserver =
|
|
76
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
76
77
|
this.disabled = disabled;
|
|
77
78
|
});
|
|
78
79
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -37,6 +37,7 @@ function getComputedLabelPosition(label, labelPosition) {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
function validateFormIds(root, input) {
|
|
40
|
+
var _a, _b;
|
|
40
41
|
if (hasLabelSlot(root)) {
|
|
41
42
|
const label = root.querySelector('label[slot="label"]');
|
|
42
43
|
const inputHasId = Boolean(input.hasAttribute('id'));
|
|
@@ -65,14 +66,30 @@ function validateFormIds(root, input) {
|
|
|
65
66
|
if (hasErrorSlot(root)) {
|
|
66
67
|
const error = root.querySelector('[slot="error"]');
|
|
67
68
|
const errorId = randomHtmlId.randomHTMLId('gux-form-field-error');
|
|
69
|
+
const describedByIds = ((_a = input
|
|
70
|
+
.getAttribute('aria-describedby')) === null || _a === void 0 ? void 0 : _a.split(' ').filter(id => !id.startsWith(`gux-form-field-error`))) || [];
|
|
68
71
|
error.setAttribute('id', errorId);
|
|
69
|
-
|
|
72
|
+
describedByIds.push(errorId);
|
|
73
|
+
describedByIds &&
|
|
74
|
+
input.setAttribute('aria-describedby', describedByIds.join(' '));
|
|
70
75
|
}
|
|
71
|
-
else if (input.getAttribute('aria-describedby')
|
|
72
|
-
|
|
73
|
-
|
|
76
|
+
else if (input.getAttribute('aria-describedby')) {
|
|
77
|
+
const describedByIds = ((_b = input
|
|
78
|
+
.getAttribute('aria-describedby')) === null || _b === void 0 ? void 0 : _b.split(' ').filter(id => !id.startsWith(`gux-form-field-error`))) || [];
|
|
79
|
+
input.setAttribute('aria-describedby', describedByIds.join(' '));
|
|
74
80
|
}
|
|
75
81
|
}
|
|
82
|
+
function setSlotAriaDescribedby(root, input, slotName) {
|
|
83
|
+
var _a;
|
|
84
|
+
const slottedElement = root.querySelector(`[slot=${slotName}]`);
|
|
85
|
+
const randomId = randomHtmlId.randomHTMLId(`gux-${slotName}`);
|
|
86
|
+
const describedByIds = ((_a = input
|
|
87
|
+
.getAttribute('aria-describedby')) === null || _a === void 0 ? void 0 : _a.split(' ').filter(id => !id.startsWith(`gux-${slotName}`))) || [];
|
|
88
|
+
slottedElement.setAttribute('id', randomId);
|
|
89
|
+
describedByIds === null || describedByIds === void 0 ? void 0 : describedByIds.push(randomId);
|
|
90
|
+
describedByIds &&
|
|
91
|
+
input.setAttribute('aria-describedby', describedByIds.join(' '));
|
|
92
|
+
}
|
|
76
93
|
function hasLabelSlot(root) {
|
|
77
94
|
return Boolean(root.querySelector('label[slot="label"]'));
|
|
78
95
|
}
|
|
@@ -82,4 +99,5 @@ exports.clearInput = clearInput;
|
|
|
82
99
|
exports.getComputedLabelPosition = getComputedLabelPosition;
|
|
83
100
|
exports.hasContent = hasContent;
|
|
84
101
|
exports.hasErrorSlot = hasErrorSlot;
|
|
102
|
+
exports.setSlotAriaDescribedby = setSlotAriaDescribedby;
|
|
85
103
|
exports.validateFormIds = validateFormIds;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
const logError = require('./log-error-a57681bf.js');
|
|
8
8
|
|
|
9
9
|
const iconNameMap = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
const guxListItemCss = ":host:focus .gux-list-item,:host:active .gux-list-item,:host:hover:not([disabled]) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host(:focus) .gux-list-item,:host(:active) .gux-list-item,:host(:hover:not([disabled])) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host([disabled]) .gux-list-item{pointer-events:none;cursor:default;opacity:0.5}.gux-list-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}.gux-list-item .gux-text{width:100%}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
const validFocusableItems = ['gux-list-item'];
|
|
9
9
|
function getRootChildren(root) {
|
|
@@ -7,7 +7,7 @@ const guxListbox_service = require('./gux-listbox.service-d394da79.js');
|
|
|
7
7
|
const index$1 = require('./index-03fd0894.js');
|
|
8
8
|
const whenEventIsFrom = require('./when-event-is-from-69b5ca13.js');
|
|
9
9
|
const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
|
|
10
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
11
11
|
require('./get-closest-element-ab4b2eee.js');
|
|
12
12
|
|
|
13
13
|
const noMatches = "No matches";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Below are the max-widths for the loading component.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
const guxModalCss = ":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
const guxNotificationToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
const guxPageLoadingSpinnerCss = ":host{display:flex}.gux-spinner{margin:auto}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
const guxPaginationBetaCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:40px;margin:12px 12px 0 12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:24px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
const index$1 = require('./index-03fd0894.js');
|
|
8
8
|
require('./get-closest-element-ab4b2eee.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
const guxPaginationCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
7
7
|
|
|
8
8
|
function hasSlot(element, slotName) {
|
|
9
9
|
return Boolean(element.querySelector(`[slot=${slotName}]`));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const onClickOutside = require('./on-click-outside-0d16a176.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
|
-
const usageTracking = require('./usage-tracking-
|
|
8
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
9
9
|
const popper = require('./popper-71bf3058.js');
|
|
10
10
|
|
|
11
11
|
const guxPopoverListCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const onClickOutside = require('./on-click-outside-0d16a176.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
|
-
const usageTracking = require('./usage-tracking-
|
|
8
|
+
const usageTracking = require('./usage-tracking-1577c51d.js');
|
|
9
9
|
const popper = require('./popper-71bf3058.js');
|
|
10
10
|
|
|
11
11
|
const guxPopoverCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:16px;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|