@gov-design-system-ce/components 4.0.6 → 4.0.8-rc01
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/array.utils-5a024b3a.js +46 -0
- package/dist/cjs/array.utils-5a024b3a.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{form-74063d50.js → form-47b5ef29.js} +2 -2
- package/dist/cjs/form-47b5ef29.js.map +1 -0
- package/dist/cjs/gov-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gov-attachments_3.cjs.entry.js +1 -1
- package/dist/cjs/gov-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js +26 -3
- package/dist/cjs/gov-breadcrumbs.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-button.cjs.entry.js +7 -4
- package/dist/cjs/gov-button.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-card.cjs.entry.js +1 -1
- package/dist/cjs/gov-chip.cjs.entry.js +2 -2
- package/dist/cjs/gov-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-container.cjs.entry.js +1 -1
- package/dist/cjs/gov-control-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/gov-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gov-empty.cjs.entry.js +1 -1
- package/dist/cjs/gov-error-code.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-control.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-file.cjs.entry.js +17 -5
- package/dist/cjs/gov-form-file.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-group.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-input.cjs.entry.js +6 -2
- package/dist/cjs/gov-form-input.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-multi-select.cjs.entry.js +83 -102
- package/dist/cjs/gov-form-multi-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-radio.cjs.entry.js +2 -2
- package/dist/cjs/gov-form-search.cjs.entry.js +1 -1
- package/dist/cjs/gov-form-search.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-select.cjs.entry.js +15 -19
- package/dist/cjs/gov-form-select.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-form-switch.cjs.entry.js +2 -2
- package/dist/cjs/gov-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-grid.cjs.entry.js +1 -1
- package/dist/cjs/gov-icon.cjs.entry.js +2 -2
- package/dist/cjs/gov-infobar.cjs.entry.js +3 -2
- package/dist/cjs/gov-infobar.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-layout-column.cjs.entry.js +1 -1
- package/dist/cjs/gov-layout.cjs.entry.js +1 -1
- package/dist/cjs/gov-loading.cjs.entry.js +1 -1
- package/dist/cjs/gov-message.cjs.entry.js +1 -1
- package/dist/cjs/gov-modal.cjs.entry.js +5 -2
- package/dist/cjs/gov-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-pagination.cjs.entry.js +9 -11
- package/dist/cjs/gov-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-prompt.cjs.entry.js +5 -2
- package/dist/cjs/gov-prompt.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-side-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-side-nav.cjs.entry.js +1 -1
- package/dist/cjs/gov-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/gov-spacer.cjs.entry.js +1 -1
- package/dist/cjs/gov-statsbar-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-statsbar.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-stepper.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gov-tag.cjs.entry.js +2 -2
- package/dist/cjs/gov-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tile.cjs.entry.js +3 -3
- package/dist/cjs/gov-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tiles.cjs.entry.js +1 -1
- package/dist/cjs/gov-toast.cjs.entry.js +1 -1
- package/dist/cjs/gov-tooltip-content.cjs.entry.js +2 -2
- package/dist/cjs/gov-tooltip-content.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-tooltip.cjs.entry.js +8 -9
- package/dist/cjs/gov-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/gov-wizard-item.cjs.entry.js +1 -1
- package/dist/cjs/gov-wizard.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/stencil.utils-22814956.js +11 -0
- package/dist/cjs/stencil.utils-22814956.js.map +1 -0
- package/dist/cjs/{template-4b951d1d.js → template-9534c584.js} +5 -1
- package/dist/cjs/template-9534c584.js.map +1 -0
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.css +58 -16
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js +48 -1
- package/dist/collection/components/gov-breadcrumbs/gov-breadcrumbs.js.map +1 -1
- package/dist/collection/components/gov-button/button/gov-button.css +1 -1
- package/dist/collection/components/gov-button/button/gov-button.js +13 -16
- package/dist/collection/components/gov-button/button/gov-button.js.map +1 -1
- package/dist/collection/components/gov-chip/gov-chip.css +2 -6
- package/dist/collection/components/gov-form/file/gov-form-file.js +51 -3
- package/dist/collection/components/gov-form/file/gov-form-file.js.map +1 -1
- package/dist/collection/components/gov-form/input/gov-form-input.js +18 -0
- package/dist/collection/components/gov-form/input/gov-form-input.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js +134 -253
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.js.map +1 -1
- package/dist/collection/components/gov-form/multiselect/gov-form-multi-select.types.js.map +1 -1
- package/dist/collection/components/gov-form/search/gov-form-search.css +1 -1
- package/dist/collection/components/gov-form/select/constants.js +1 -1
- package/dist/collection/components/gov-form/select/constants.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.js +40 -64
- package/dist/collection/components/gov-form/select/gov-form-select.js.map +1 -1
- package/dist/collection/components/gov-form/select/gov-form-select.types.js.map +1 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js +25 -1
- package/dist/collection/components/gov-infobar/gov-infobar.js.map +1 -1
- package/dist/collection/components/gov-modal/gov-modal.js +6 -3
- package/dist/collection/components/gov-modal/gov-modal.js.map +1 -1
- package/dist/collection/components/gov-pagination/gov-pagination.js +80 -5
- package/dist/collection/components/gov-pagination/gov-pagination.js.map +1 -1
- package/dist/collection/components/gov-promp/gov-prompt.js +4 -1
- package/dist/collection/components/gov-promp/gov-prompt.js.map +1 -1
- package/dist/collection/components/gov-tag/gov-tag.css +5 -100
- package/dist/collection/components/gov-tile/gov-tile.css +3 -5
- package/dist/collection/components/gov-tile/gov-tile.js +1 -1
- package/dist/collection/components/gov-tile/gov-tile.js.map +1 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip-content.css +2 -1
- package/dist/collection/components/gov-tooltip/gov-tooltip.js +7 -8
- package/dist/collection/components/gov-tooltip/gov-tooltip.js.map +1 -1
- package/dist/collection/helpers/Dom/template.js +3 -0
- package/dist/collection/helpers/Dom/template.js.map +1 -1
- package/dist/collection/pages/Breadcrumbs.js +3 -2
- package/dist/collection/pages/Breadcrumbs.js.map +1 -1
- package/dist/collection/pages/Button.js +101 -101
- package/dist/collection/pages/Button.js.map +1 -1
- package/dist/collection/pages/Chip.js +50 -50
- package/dist/collection/pages/Chip.js.map +1 -1
- package/dist/collection/pages/Forms.js +27 -17
- package/dist/collection/pages/Forms.js.map +1 -1
- package/dist/collection/pages/Tag.js +27 -27
- package/dist/collection/pages/Tag.js.map +1 -1
- package/dist/collection/pages/Tooltip.js +13 -16
- package/dist/collection/pages/Tooltip.js.map +1 -1
- package/dist/collection/utils/array.utils.js +14 -0
- package/dist/collection/utils/array.utils.js.map +1 -1
- package/dist/collection/utils/object.utils.js +18 -0
- package/dist/collection/utils/object.utils.js.map +1 -0
- package/dist/collection/utils/stencil.utils.js +6 -0
- package/dist/collection/utils/stencil.utils.js.map +1 -0
- package/dist/components/gov-accordion-item.js +1 -1
- package/dist/components/gov-accordion.js +1 -1
- package/dist/components/gov-attachments-item.js +1 -1
- package/dist/components/gov-attachments.js +1 -1
- package/dist/components/gov-backdrop.js +1 -1
- package/dist/components/gov-breadcrumbs.js +1 -1
- package/dist/components/gov-breadcrumbs.js.map +1 -1
- package/dist/components/gov-button.js +1 -1
- package/dist/components/gov-card.js +1 -1
- package/dist/components/gov-chip.js +1 -1
- package/dist/components/gov-container.js +1 -1
- package/dist/components/gov-control-group.js +1 -1
- package/dist/components/gov-cookiebar.js +1 -1
- package/dist/components/gov-dropdown.js +1 -1
- package/dist/components/gov-empty.js +1 -1
- package/dist/components/gov-error-code.js +1 -1
- package/dist/components/gov-form-autocomplete.js +1 -1
- package/dist/components/gov-form-checkbox.js +1 -1
- package/dist/components/gov-form-control.js +1 -1
- package/dist/components/gov-form-file.js +1 -1
- package/dist/components/gov-form-file.js.map +1 -1
- package/dist/components/gov-form-group.js +1 -1
- package/dist/components/gov-form-input.js +1 -1
- package/dist/components/gov-form-message.js +1 -1
- package/dist/components/gov-form-multi-select.js +1 -1
- package/dist/components/gov-form-multi-select.js.map +1 -1
- package/dist/components/gov-form-radio.js +1 -1
- package/dist/components/gov-form-search.js +1 -1
- package/dist/components/gov-form-search.js.map +1 -1
- package/dist/components/gov-form-select.js +1 -1
- package/dist/components/gov-form-switch.js +1 -1
- package/dist/components/gov-grid-item.js +1 -1
- package/dist/components/gov-grid.js +1 -1
- package/dist/components/gov-icon.js +1 -1
- package/dist/components/gov-infobar.js +1 -1
- package/dist/components/gov-infobar.js.map +1 -1
- package/dist/components/gov-layout-column.js +1 -1
- package/dist/components/gov-layout.js +1 -1
- package/dist/components/gov-loading.js +1 -1
- package/dist/components/gov-message.js +1 -1
- package/dist/components/gov-modal.js +1 -1
- package/dist/components/gov-modal.js.map +1 -1
- package/dist/components/gov-pagination.js +1 -1
- package/dist/components/gov-pagination.js.map +1 -1
- package/dist/components/gov-prompt.js +1 -1
- package/dist/components/gov-prompt.js.map +1 -1
- package/dist/components/gov-side-nav-item.js +1 -1
- package/dist/components/gov-side-nav.js +1 -1
- package/dist/components/gov-side-nav.js.map +1 -1
- package/dist/components/gov-skeleton.js +1 -1
- package/dist/components/gov-skeleton.js.map +1 -1
- package/dist/components/gov-spacer.js +1 -1
- package/dist/components/gov-statsbar-item.js +1 -1
- package/dist/components/gov-statsbar.js +1 -1
- package/dist/components/gov-stepper-item.js +1 -1
- package/dist/components/gov-stepper.js +1 -1
- package/dist/components/gov-tabs-item.js +1 -1
- package/dist/components/gov-tabs.js +1 -1
- package/dist/components/gov-tag.js +1 -1
- package/dist/components/gov-tag.js.map +1 -1
- package/dist/components/gov-tile.js +1 -1
- package/dist/components/gov-tile.js.map +1 -1
- package/dist/components/gov-tiles.js +1 -1
- package/dist/components/gov-toast.js +1 -1
- package/dist/components/gov-tooltip-content.js +1 -1
- package/dist/components/gov-tooltip-content.js.map +1 -1
- package/dist/components/gov-tooltip.js +1 -1
- package/dist/components/gov-tooltip.js.map +1 -1
- package/dist/components/gov-wizard-item.js +1 -1
- package/dist/components/gov-wizard.js +1 -1
- package/dist/components/{p-b526e440.js → p-033f8bda.js} +2 -2
- package/dist/components/{p-ec6c2272.js → p-23990b41.js} +2 -2
- package/dist/components/{p-62074db5.js → p-26805569.js} +2 -2
- package/dist/components/p-2dee9951.js.map +1 -1
- package/dist/components/p-6c1d0f47.js +2 -0
- package/dist/components/p-6c1d0f47.js.map +1 -0
- package/dist/components/p-a6a15eb1.js +2 -0
- package/dist/components/p-a6a15eb1.js.map +1 -0
- package/dist/components/p-b48d3aae.js +2 -0
- package/dist/components/p-b48d3aae.js.map +1 -0
- package/dist/components/{p-990d2990.js → p-b5a06a0a.js} +2 -2
- package/dist/components/p-b5a06a0a.js.map +1 -0
- package/dist/components/{p-9795ad94.js → p-b9ee51d6.js} +2 -2
- package/dist/components/{p-28e59384.js → p-c353678b.js} +2 -2
- package/dist/components/p-c353678b.js.map +1 -0
- package/dist/components/p-c9baa62f.js +2 -0
- package/dist/components/p-c9baa62f.js.map +1 -0
- package/dist/components/{p-d29431c0.js → p-e2bee1ef.js} +2 -2
- package/dist/components/p-e2bee1ef.js.map +1 -0
- package/dist/components/{p-570803ab.js → p-f8b7ea69.js} +2 -2
- package/dist/components/p-f9f8e529.js +2 -0
- package/dist/components/{p-6f391c4a.js.map → p-f9f8e529.js.map} +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-96d141a3.entry.js → p-0028fadc.entry.js} +2 -2
- package/dist/core/{p-2969eb69.entry.js → p-0ab12526.entry.js} +2 -2
- package/dist/core/{p-22abe742.entry.js → p-0c5c6dee.entry.js} +2 -2
- package/dist/core/{p-1116fec6.entry.js → p-127af1b4.entry.js} +2 -2
- package/dist/core/{p-fb51d693.entry.js → p-151f1b89.entry.js} +2 -2
- package/dist/core/{p-fd4b0f54.entry.js → p-191e9b0c.entry.js} +2 -2
- package/dist/core/p-1cbd2c7c.entry.js +2 -0
- package/dist/core/p-1cbd2c7c.entry.js.map +1 -0
- package/dist/core/{p-fc8a29e9.entry.js → p-2a13c39c.entry.js} +2 -2
- package/dist/core/{p-6dc942b8.entry.js → p-2d1f3d62.entry.js} +2 -2
- package/dist/core/p-2d1f3d62.entry.js.map +1 -0
- package/dist/core/p-30673e46.entry.js +2 -0
- package/dist/core/p-30673e46.entry.js.map +1 -0
- package/dist/core/{p-de3429ab.entry.js → p-3975851f.entry.js} +2 -2
- package/dist/core/{p-141d9af4.entry.js → p-4988c0bb.entry.js} +2 -2
- package/dist/core/p-4b4a270d.entry.js +2 -0
- package/dist/core/p-4b4a270d.entry.js.map +1 -0
- package/dist/core/{p-83e998d8.entry.js → p-529ce9a4.entry.js} +2 -2
- package/dist/core/{p-fc2a1e14.entry.js → p-53e0ad52.entry.js} +2 -2
- package/dist/core/{p-81593c86.entry.js → p-54fa7af5.entry.js} +2 -2
- package/dist/core/{p-41c18f64.entry.js → p-555eaa93.entry.js} +2 -2
- package/dist/core/{p-e24236b0.entry.js → p-55cb727e.entry.js} +2 -2
- package/dist/core/p-575d0c94.entry.js +2 -0
- package/dist/core/p-575d0c94.entry.js.map +1 -0
- package/dist/core/p-5bc604a3.js.map +1 -1
- package/dist/core/{p-28e59384.js → p-5de606f8.js} +2 -2
- package/dist/core/p-5de606f8.js.map +1 -0
- package/dist/core/{p-3c12c766.entry.js → p-60d681a6.entry.js} +2 -2
- package/dist/core/{p-b4a59c79.entry.js → p-64c5748e.entry.js} +2 -2
- package/dist/core/p-64c5748e.entry.js.map +1 -0
- package/dist/core/p-67096d72.entry.js +2 -0
- package/dist/core/p-67096d72.entry.js.map +1 -0
- package/dist/core/{p-b49293dc.entry.js → p-6bf8e7bf.entry.js} +2 -2
- package/dist/core/{p-89b3e4d4.entry.js → p-72c5997f.entry.js} +2 -2
- package/dist/core/p-7f158b6f.entry.js +2 -0
- package/dist/core/p-7f158b6f.entry.js.map +1 -0
- package/dist/core/p-831edc90.entry.js +2 -0
- package/dist/core/p-831edc90.entry.js.map +1 -0
- package/dist/core/{p-bb7f0a66.entry.js → p-8f121cad.entry.js} +2 -2
- package/dist/core/p-8fcc8483.js +2 -0
- package/dist/core/p-8fcc8483.js.map +1 -0
- package/dist/core/{p-01d928c5.entry.js → p-90c068ff.entry.js} +2 -2
- package/dist/core/{p-cf86a858.entry.js → p-927880d6.entry.js} +2 -2
- package/dist/core/p-927880d6.entry.js.map +1 -0
- package/dist/core/{p-b4ab0d15.entry.js → p-9469ecc2.entry.js} +2 -2
- package/dist/core/{p-f29b0193.entry.js → p-984b36f7.entry.js} +2 -2
- package/dist/core/p-9c04470d.entry.js +2 -0
- package/dist/core/p-9c04470d.entry.js.map +1 -0
- package/dist/core/{p-ccf73a1a.entry.js → p-a35484ed.entry.js} +2 -2
- package/dist/core/p-a49391e5.entry.js +2 -0
- package/dist/core/p-a49391e5.entry.js.map +1 -0
- package/dist/core/{p-b127c8a8.entry.js → p-aaf2510a.entry.js} +2 -2
- package/dist/core/p-aaf2510a.entry.js.map +1 -0
- package/dist/core/p-ab5a13ea.js +2 -0
- package/dist/core/p-ab5a13ea.js.map +1 -0
- package/dist/core/{p-b580666b.entry.js → p-adf276b0.entry.js} +2 -2
- package/dist/core/{p-b1184db4.entry.js → p-af9a14e3.entry.js} +2 -2
- package/dist/core/{p-e5c2f601.entry.js → p-b7e0b030.entry.js} +2 -2
- package/dist/core/{p-78942f76.entry.js → p-be8eec3f.entry.js} +2 -2
- package/dist/core/{p-9c6699d6.entry.js → p-c0e8802d.entry.js} +2 -2
- package/dist/core/p-c0e8802d.entry.js.map +1 -0
- package/dist/core/{p-f1227928.entry.js → p-c6a4ca41.entry.js} +2 -2
- package/dist/core/{p-67138ae9.entry.js → p-ce1486b8.entry.js} +2 -2
- package/dist/core/{p-ee4c58e3.entry.js → p-d2c370d6.entry.js} +2 -2
- package/dist/core/p-d513468a.entry.js +2 -0
- package/dist/core/p-d513468a.entry.js.map +1 -0
- package/dist/core/p-d784c44d.js +2 -0
- package/dist/core/p-d784c44d.js.map +1 -0
- package/dist/core/{p-ac5e5b2c.entry.js → p-dd4445ee.entry.js} +2 -2
- package/dist/core/{p-b7d23697.entry.js → p-dd8816aa.entry.js} +2 -2
- package/dist/core/p-dd8816aa.entry.js.map +1 -0
- package/dist/core/{p-92af05f2.entry.js → p-e4f11ddf.entry.js} +2 -2
- package/dist/core/{p-6675a0f0.entry.js → p-eaedc9e3.entry.js} +2 -2
- package/dist/core/{p-b5e1ee46.entry.js → p-ed580ac7.entry.js} +2 -2
- package/dist/core/p-ef387ab2.entry.js +2 -0
- package/dist/core/{p-f76f0a67.entry.js.map → p-ef387ab2.entry.js.map} +1 -1
- package/dist/core/{p-f636a1ca.entry.js → p-f2206bbb.entry.js} +2 -2
- package/dist/core/{p-497c90ea.entry.js → p-f4f969d0.entry.js} +2 -2
- package/dist/core/p-f4f969d0.entry.js.map +1 -0
- package/dist/core/{p-4a235ef5.entry.js → p-f59b858f.entry.js} +2 -2
- package/dist/core/{p-7757e4a1.entry.js → p-fc710edb.entry.js} +2 -2
- package/dist/esm/array.utils-b27436ea.js +43 -0
- package/dist/esm/array.utils-b27436ea.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{form-39dc6896.js → form-e3424b70.js} +2 -2
- package/dist/esm/form-e3424b70.js.map +1 -0
- package/dist/esm/gov-accordion-item.entry.js +1 -1
- package/dist/esm/gov-accordion.entry.js +1 -1
- package/dist/esm/gov-attachments_3.entry.js +1 -1
- package/dist/esm/gov-backdrop.entry.js +1 -1
- package/dist/esm/gov-breadcrumbs.entry.js +26 -3
- package/dist/esm/gov-breadcrumbs.entry.js.map +1 -1
- package/dist/esm/gov-button.entry.js +7 -4
- package/dist/esm/gov-button.entry.js.map +1 -1
- package/dist/esm/gov-card.entry.js +1 -1
- package/dist/esm/gov-chip.entry.js +2 -2
- package/dist/esm/gov-chip.entry.js.map +1 -1
- package/dist/esm/gov-container.entry.js +1 -1
- package/dist/esm/gov-control-group.entry.js +1 -1
- package/dist/esm/gov-cookiebar.entry.js +1 -1
- package/dist/esm/gov-dropdown.entry.js +1 -1
- package/dist/esm/gov-empty.entry.js +1 -1
- package/dist/esm/gov-error-code.entry.js +1 -1
- package/dist/esm/gov-form-autocomplete.entry.js +1 -1
- package/dist/esm/gov-form-checkbox.entry.js +2 -2
- package/dist/esm/gov-form-control.entry.js +2 -2
- package/dist/esm/gov-form-file.entry.js +17 -5
- package/dist/esm/gov-form-file.entry.js.map +1 -1
- package/dist/esm/gov-form-group.entry.js +1 -1
- package/dist/esm/gov-form-input.entry.js +6 -2
- package/dist/esm/gov-form-input.entry.js.map +1 -1
- package/dist/esm/gov-form-multi-select.entry.js +83 -102
- package/dist/esm/gov-form-multi-select.entry.js.map +1 -1
- package/dist/esm/gov-form-radio.entry.js +2 -2
- package/dist/esm/gov-form-search.entry.js +1 -1
- package/dist/esm/gov-form-search.entry.js.map +1 -1
- package/dist/esm/gov-form-select.entry.js +15 -19
- package/dist/esm/gov-form-select.entry.js.map +1 -1
- package/dist/esm/gov-form-switch.entry.js +2 -2
- package/dist/esm/gov-grid-item.entry.js +1 -1
- package/dist/esm/gov-grid.entry.js +1 -1
- package/dist/esm/gov-icon.entry.js +2 -2
- package/dist/esm/gov-infobar.entry.js +3 -2
- package/dist/esm/gov-infobar.entry.js.map +1 -1
- package/dist/esm/gov-layout-column.entry.js +1 -1
- package/dist/esm/gov-layout.entry.js +1 -1
- package/dist/esm/gov-loading.entry.js +1 -1
- package/dist/esm/gov-message.entry.js +1 -1
- package/dist/esm/gov-modal.entry.js +5 -2
- package/dist/esm/gov-modal.entry.js.map +1 -1
- package/dist/esm/gov-pagination.entry.js +9 -11
- package/dist/esm/gov-pagination.entry.js.map +1 -1
- package/dist/esm/gov-prompt.entry.js +5 -2
- package/dist/esm/gov-prompt.entry.js.map +1 -1
- package/dist/esm/gov-side-nav-item.entry.js +1 -1
- package/dist/esm/gov-side-nav.entry.js +1 -1
- package/dist/esm/gov-skeleton.entry.js +1 -1
- package/dist/esm/gov-spacer.entry.js +1 -1
- package/dist/esm/gov-statsbar-item.entry.js +1 -1
- package/dist/esm/gov-statsbar.entry.js +1 -1
- package/dist/esm/gov-stepper-item.entry.js +1 -1
- package/dist/esm/gov-stepper.entry.js +1 -1
- package/dist/esm/gov-tabs-item.entry.js +1 -1
- package/dist/esm/gov-tabs.entry.js +1 -1
- package/dist/esm/gov-tag.entry.js +2 -2
- package/dist/esm/gov-tag.entry.js.map +1 -1
- package/dist/esm/gov-tile.entry.js +3 -3
- package/dist/esm/gov-tile.entry.js.map +1 -1
- package/dist/esm/gov-tiles.entry.js +1 -1
- package/dist/esm/gov-toast.entry.js +1 -1
- package/dist/esm/gov-tooltip-content.entry.js +2 -2
- package/dist/esm/gov-tooltip-content.entry.js.map +1 -1
- package/dist/esm/gov-tooltip.entry.js +8 -9
- package/dist/esm/gov-tooltip.entry.js.map +1 -1
- package/dist/esm/gov-wizard-item.entry.js +1 -1
- package/dist/esm/gov-wizard.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/stencil.utils-7cb5b075.js +9 -0
- package/dist/esm/stencil.utils-7cb5b075.js.map +1 -0
- package/dist/esm/{template-df429738.js → template-a0067bb6.js} +5 -2
- package/dist/esm/template-a0067bb6.js.map +1 -0
- package/dist/hydrate/index.js +238 -167
- package/dist/stencil.config.js +23 -1
- package/dist/stencil.config.js.map +1 -1
- package/dist/types/Users/iwory/iWork/asseco/mv/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +2 -0
- package/dist/types/components/gov-breadcrumbs/gov-breadcrumbs.d.ts +9 -0
- package/dist/types/components/gov-button/button/gov-button.d.ts +5 -4
- package/dist/types/components/gov-form/file/gov-form-file.d.ts +9 -0
- package/dist/types/components/gov-form/input/gov-form-input.d.ts +5 -0
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.d.ts +17 -29
- package/dist/types/components/gov-form/multiselect/gov-form-multi-select.types.d.ts +3 -2
- package/dist/types/components/gov-form/select/constants.d.ts +1 -1
- package/dist/types/components/gov-form/select/gov-form-select.d.ts +6 -9
- package/dist/types/components/gov-form/select/gov-form-select.types.d.ts +1 -1
- package/dist/types/components/gov-infobar/gov-infobar.d.ts +4 -0
- package/dist/types/components/gov-modal/gov-modal.d.ts +1 -0
- package/dist/types/components/gov-pagination/gov-pagination.d.ts +17 -1
- package/dist/types/components/gov-promp/gov-prompt.d.ts +1 -0
- package/dist/types/components/gov-tile/gov-tile.d.ts +3 -3
- package/dist/types/components.d.ts +100 -40
- package/dist/types/helpers/Dom/template.d.ts +1 -0
- package/dist/types/utils/array.utils.d.ts +1 -0
- package/dist/types/utils/object.utils.d.ts +1 -0
- package/dist/types/utils/stencil.utils.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/form-74063d50.js.map +0 -1
- package/dist/cjs/template-4b951d1d.js.map +0 -1
- package/dist/components/p-28e59384.js.map +0 -1
- package/dist/components/p-43554d2d.js +0 -2
- package/dist/components/p-43554d2d.js.map +0 -1
- package/dist/components/p-53e02bee.js +0 -2
- package/dist/components/p-53e02bee.js.map +0 -1
- package/dist/components/p-6f391c4a.js +0 -2
- package/dist/components/p-990d2990.js.map +0 -1
- package/dist/components/p-a3d5a7e3.js +0 -2
- package/dist/components/p-a3d5a7e3.js.map +0 -1
- package/dist/components/p-d29431c0.js.map +0 -1
- package/dist/core/p-044f4c35.entry.js +0 -2
- package/dist/core/p-044f4c35.entry.js.map +0 -1
- package/dist/core/p-09966eaa.entry.js +0 -2
- package/dist/core/p-09966eaa.entry.js.map +0 -1
- package/dist/core/p-0e5fa8bf.js +0 -2
- package/dist/core/p-0e5fa8bf.js.map +0 -1
- package/dist/core/p-2712444e.entry.js +0 -2
- package/dist/core/p-2712444e.entry.js.map +0 -1
- package/dist/core/p-28e59384.js.map +0 -1
- package/dist/core/p-2f858bf5.entry.js +0 -2
- package/dist/core/p-2f858bf5.entry.js.map +0 -1
- package/dist/core/p-3b42950e.entry.js +0 -2
- package/dist/core/p-3b42950e.entry.js.map +0 -1
- package/dist/core/p-497c90ea.entry.js.map +0 -1
- package/dist/core/p-6dc942b8.entry.js.map +0 -1
- package/dist/core/p-73b7585b.entry.js +0 -2
- package/dist/core/p-73b7585b.entry.js.map +0 -1
- package/dist/core/p-9c6699d6.entry.js.map +0 -1
- package/dist/core/p-a63bb91e.entry.js +0 -2
- package/dist/core/p-a63bb91e.entry.js.map +0 -1
- package/dist/core/p-a6b6dc73.entry.js +0 -2
- package/dist/core/p-a6b6dc73.entry.js.map +0 -1
- package/dist/core/p-b127c8a8.entry.js.map +0 -1
- package/dist/core/p-b4a59c79.entry.js.map +0 -1
- package/dist/core/p-b7d23697.entry.js.map +0 -1
- package/dist/core/p-c574ecc8.entry.js +0 -2
- package/dist/core/p-c574ecc8.entry.js.map +0 -1
- package/dist/core/p-cf86a858.entry.js.map +0 -1
- package/dist/core/p-d69599bc.entry.js +0 -2
- package/dist/core/p-d69599bc.entry.js.map +0 -1
- package/dist/core/p-f76f0a67.entry.js +0 -2
- package/dist/esm/form-39dc6896.js.map +0 -1
- package/dist/esm/template-df429738.js.map +0 -1
- package/dist/globals.d.ts +0 -2
- package/dist/types/Users/leo/Projects/repos/asseco/design-system/gov-design-system-ce/packages/core/.stencil/packages/core/stencil.config.d.ts +0 -2
- package/dist/types/types/typings.d.ts +0 -6
- /package/dist/components/{p-b526e440.js.map → p-033f8bda.js.map} +0 -0
- /package/dist/components/{p-ec6c2272.js.map → p-23990b41.js.map} +0 -0
- /package/dist/components/{p-62074db5.js.map → p-26805569.js.map} +0 -0
- /package/dist/components/{p-9795ad94.js.map → p-b9ee51d6.js.map} +0 -0
- /package/dist/components/{p-570803ab.js.map → p-f8b7ea69.js.map} +0 -0
- /package/dist/core/{p-96d141a3.entry.js.map → p-0028fadc.entry.js.map} +0 -0
- /package/dist/core/{p-2969eb69.entry.js.map → p-0ab12526.entry.js.map} +0 -0
- /package/dist/core/{p-22abe742.entry.js.map → p-0c5c6dee.entry.js.map} +0 -0
- /package/dist/core/{p-1116fec6.entry.js.map → p-127af1b4.entry.js.map} +0 -0
- /package/dist/core/{p-fb51d693.entry.js.map → p-151f1b89.entry.js.map} +0 -0
- /package/dist/core/{p-fd4b0f54.entry.js.map → p-191e9b0c.entry.js.map} +0 -0
- /package/dist/core/{p-fc8a29e9.entry.js.map → p-2a13c39c.entry.js.map} +0 -0
- /package/dist/core/{p-de3429ab.entry.js.map → p-3975851f.entry.js.map} +0 -0
- /package/dist/core/{p-141d9af4.entry.js.map → p-4988c0bb.entry.js.map} +0 -0
- /package/dist/core/{p-83e998d8.entry.js.map → p-529ce9a4.entry.js.map} +0 -0
- /package/dist/core/{p-fc2a1e14.entry.js.map → p-53e0ad52.entry.js.map} +0 -0
- /package/dist/core/{p-81593c86.entry.js.map → p-54fa7af5.entry.js.map} +0 -0
- /package/dist/core/{p-41c18f64.entry.js.map → p-555eaa93.entry.js.map} +0 -0
- /package/dist/core/{p-e24236b0.entry.js.map → p-55cb727e.entry.js.map} +0 -0
- /package/dist/core/{p-3c12c766.entry.js.map → p-60d681a6.entry.js.map} +0 -0
- /package/dist/core/{p-b49293dc.entry.js.map → p-6bf8e7bf.entry.js.map} +0 -0
- /package/dist/core/{p-89b3e4d4.entry.js.map → p-72c5997f.entry.js.map} +0 -0
- /package/dist/core/{p-bb7f0a66.entry.js.map → p-8f121cad.entry.js.map} +0 -0
- /package/dist/core/{p-01d928c5.entry.js.map → p-90c068ff.entry.js.map} +0 -0
- /package/dist/core/{p-b4ab0d15.entry.js.map → p-9469ecc2.entry.js.map} +0 -0
- /package/dist/core/{p-f29b0193.entry.js.map → p-984b36f7.entry.js.map} +0 -0
- /package/dist/core/{p-ccf73a1a.entry.js.map → p-a35484ed.entry.js.map} +0 -0
- /package/dist/core/{p-b580666b.entry.js.map → p-adf276b0.entry.js.map} +0 -0
- /package/dist/core/{p-b1184db4.entry.js.map → p-af9a14e3.entry.js.map} +0 -0
- /package/dist/core/{p-e5c2f601.entry.js.map → p-b7e0b030.entry.js.map} +0 -0
- /package/dist/core/{p-78942f76.entry.js.map → p-be8eec3f.entry.js.map} +0 -0
- /package/dist/core/{p-f1227928.entry.js.map → p-c6a4ca41.entry.js.map} +0 -0
- /package/dist/core/{p-67138ae9.entry.js.map → p-ce1486b8.entry.js.map} +0 -0
- /package/dist/core/{p-ee4c58e3.entry.js.map → p-d2c370d6.entry.js.map} +0 -0
- /package/dist/core/{p-ac5e5b2c.entry.js.map → p-dd4445ee.entry.js.map} +0 -0
- /package/dist/core/{p-92af05f2.entry.js.map → p-e4f11ddf.entry.js.map} +0 -0
- /package/dist/core/{p-6675a0f0.entry.js.map → p-eaedc9e3.entry.js.map} +0 -0
- /package/dist/core/{p-b5e1ee46.entry.js.map → p-ed580ac7.entry.js.map} +0 -0
- /package/dist/core/{p-f636a1ca.entry.js.map → p-f2206bbb.entry.js.map} +0 -0
- /package/dist/core/{p-4a235ef5.entry.js.map → p-f59b858f.entry.js.map} +0 -0
- /package/dist/core/{p-7757e4a1.entry.js.map → p-fc710edb.entry.js.map} +0 -0
|
@@ -4,31 +4,31 @@ class ChipPage extends HTMLElement {
|
|
|
4
4
|
<h1>Chips</h1>
|
|
5
5
|
<h4>Chips close</h4>
|
|
6
6
|
<div class="container-view">
|
|
7
|
-
<gov-chip variant="primary" size="s" inverse="">
|
|
7
|
+
<gov-chip variant="primary" size="s" type="solid" inverse="">
|
|
8
8
|
Not clickable S
|
|
9
|
-
<gov-button slot="right" variant="primary" type="
|
|
9
|
+
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="s">
|
|
10
10
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
11
11
|
</gov-button>
|
|
12
12
|
</gov-chip>
|
|
13
|
-
<gov-chip variant="primary" size="s">
|
|
13
|
+
<gov-chip variant="primary" size="s" type="solid">
|
|
14
14
|
Not clickable S
|
|
15
15
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="s">
|
|
16
16
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
17
17
|
</gov-button>
|
|
18
18
|
</gov-chip>
|
|
19
|
-
<gov-chip variant="primary" size="m">
|
|
19
|
+
<gov-chip variant="primary" size="m" type="solid">
|
|
20
20
|
Not clickable M
|
|
21
21
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="m">
|
|
22
22
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
23
23
|
</gov-button>
|
|
24
24
|
</gov-chip>
|
|
25
|
-
<gov-chip variant="primary" size="l">
|
|
25
|
+
<gov-chip variant="primary" size="l" type="solid">
|
|
26
26
|
Not clickable L
|
|
27
27
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="l">
|
|
28
28
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
29
29
|
</gov-button>
|
|
30
30
|
</gov-chip>
|
|
31
|
-
<gov-chip variant="primary" size="xl">
|
|
31
|
+
<gov-chip variant="primary" size="xl" type="solid">
|
|
32
32
|
Not clickable XL
|
|
33
33
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="xl">
|
|
34
34
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
@@ -37,25 +37,25 @@ class ChipPage extends HTMLElement {
|
|
|
37
37
|
</div>
|
|
38
38
|
<h4>Chips close (inversed)</h4>
|
|
39
39
|
<div class="container-view gov-bg--primary-600">
|
|
40
|
-
<gov-chip variant="primary" size="s" inverse>
|
|
40
|
+
<gov-chip variant="primary" size="s" type="solid" inverse>
|
|
41
41
|
Not clickable S
|
|
42
42
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="s">
|
|
43
43
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
44
44
|
</gov-button>
|
|
45
45
|
</gov-chip>
|
|
46
|
-
<gov-chip variant="primary" size="m" inverse>
|
|
46
|
+
<gov-chip variant="primary" size="m" type="solid" inverse>
|
|
47
47
|
Not clickable M
|
|
48
48
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="m">
|
|
49
49
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
50
50
|
</gov-button>
|
|
51
51
|
</gov-chip>
|
|
52
|
-
<gov-chip variant="primary" size="l" inverse>
|
|
52
|
+
<gov-chip variant="primary" size="l" type="solid" inverse>
|
|
53
53
|
Not clickable L
|
|
54
54
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="l">
|
|
55
55
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
56
56
|
</gov-button>
|
|
57
57
|
</gov-chip>
|
|
58
|
-
<gov-chip variant="primary" size="xl" inverse>
|
|
58
|
+
<gov-chip variant="primary" size="xl" type="solid" inverse>
|
|
59
59
|
Not clickable XL
|
|
60
60
|
<gov-button slot="right" variant="primary" type="solid" wcag-label="Zavřít vše" size="xl">
|
|
61
61
|
<gov-icon slot="right-icon" name="x-lg"></gov-icon>
|
|
@@ -64,60 +64,60 @@ class ChipPage extends HTMLElement {
|
|
|
64
64
|
</div>
|
|
65
65
|
<h4>Chips - primary (default)</h4>
|
|
66
66
|
<div class="container-view">
|
|
67
|
-
<gov-chip variant="primary" size="xs">
|
|
67
|
+
<gov-chip variant="primary" size="xs" type="solid">
|
|
68
68
|
Chip
|
|
69
69
|
</gov-chip>
|
|
70
|
-
<gov-chip variant="primary" size="s">
|
|
70
|
+
<gov-chip variant="primary" size="s" type="solid">
|
|
71
71
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
72
72
|
Not clickable
|
|
73
73
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
74
74
|
</gov-chip>
|
|
75
|
-
<gov-chip variant="primary" href="http://www.example.com/">
|
|
75
|
+
<gov-chip variant="primary" type="solid" href="http://www.example.com/">
|
|
76
76
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
77
77
|
Normal href
|
|
78
78
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
79
79
|
</gov-chip>
|
|
80
|
-
<gov-chip variant="primary" disabled href="http://www.example.com/" target="_blank">
|
|
80
|
+
<gov-chip variant="primary" type="solid" disabled href="http://www.example.com/" target="_blank">
|
|
81
81
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
82
82
|
Disabled with href
|
|
83
83
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
84
84
|
</gov-chip>
|
|
85
|
-
<gov-chip variant="primary" size="l" href="http://www.example.com/">
|
|
85
|
+
<gov-chip variant="primary" size="l" type="solid" href="http://www.example.com/">
|
|
86
86
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
87
87
|
Clickable
|
|
88
88
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
89
89
|
</gov-chip>
|
|
90
|
-
<gov-chip variant="primary" size="xl" disabled>
|
|
90
|
+
<gov-chip variant="primary" size="xl" type="solid" disabled>
|
|
91
91
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
92
92
|
X-Large Primary
|
|
93
93
|
</gov-chip>
|
|
94
94
|
</div>
|
|
95
95
|
<h4>Chips - primary (inversed)</h4>
|
|
96
96
|
<div class="container-view">
|
|
97
|
-
<gov-chip variant="primary" size="xs" inverse>
|
|
97
|
+
<gov-chip variant="primary" size="xs" type="solid" inverse>
|
|
98
98
|
Chip
|
|
99
99
|
</gov-chip>
|
|
100
|
-
<gov-chip variant="primary" size="s" inverse>
|
|
100
|
+
<gov-chip variant="primary" size="s" type="solid" inverse>
|
|
101
101
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
102
102
|
Not clickable
|
|
103
103
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
104
104
|
</gov-chip>
|
|
105
|
-
<gov-chip variant="primary" href="http://www.example.com/" inverse>
|
|
105
|
+
<gov-chip variant="primary" type="solid" href="http://www.example.com/" inverse>
|
|
106
106
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
107
107
|
Normal href
|
|
108
108
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
109
109
|
</gov-chip>
|
|
110
|
-
<gov-chip variant="primary" disabled href="http://www.example.com/" target="_blank" inverse>
|
|
110
|
+
<gov-chip variant="primary" type="solid" disabled href="http://www.example.com/" target="_blank" inverse>
|
|
111
111
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
112
112
|
Disabled with href
|
|
113
113
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
114
114
|
</gov-chip>
|
|
115
|
-
<gov-chip variant="primary" size="l" href="http://www.example.com/" inverse>
|
|
115
|
+
<gov-chip variant="primary" size="l" type="solid" href="http://www.example.com/" inverse>
|
|
116
116
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
117
117
|
Clickable
|
|
118
118
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
119
119
|
</gov-chip>
|
|
120
|
-
<gov-chip variant="primary" size="xl" disabled inverse>
|
|
120
|
+
<gov-chip variant="primary" size="xl" type="solid" disabled inverse>
|
|
121
121
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
122
122
|
X-Large Primary
|
|
123
123
|
</gov-chip>
|
|
@@ -148,33 +148,33 @@ class ChipPage extends HTMLElement {
|
|
|
148
148
|
|
|
149
149
|
<h4>Chips - secondary (default)</h4>
|
|
150
150
|
<div class="container-view">
|
|
151
|
-
<gov-chip variant="secondary" size="xs">
|
|
151
|
+
<gov-chip variant="secondary" size="xs" type="solid">
|
|
152
152
|
Chip
|
|
153
153
|
</gov-chip>
|
|
154
|
-
<gov-chip variant="secondary" size="xs" inverse>
|
|
154
|
+
<gov-chip variant="secondary" size="xs" type="solid" inverse>
|
|
155
155
|
Chip
|
|
156
156
|
</gov-chip>
|
|
157
|
-
<gov-chip variant="secondary" size="s">
|
|
157
|
+
<gov-chip variant="secondary" size="s" type="solid">
|
|
158
158
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
159
159
|
Not clickable
|
|
160
160
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
161
161
|
</gov-chip>
|
|
162
|
-
<gov-chip tag="button" variant="secondary">
|
|
162
|
+
<gov-chip tag="button" variant="secondary" type="solid">
|
|
163
163
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
164
164
|
Normal href
|
|
165
165
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
166
166
|
</gov-chip>
|
|
167
|
-
<gov-chip variant="secondary" disabled href="http://www.example.com/">
|
|
167
|
+
<gov-chip variant="secondary" type="solid" disabled href="http://www.example.com/">
|
|
168
168
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
169
169
|
Disabled with href
|
|
170
170
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
171
171
|
</gov-chip>
|
|
172
|
-
<gov-chip variant="secondary" size="l" tag="a">
|
|
172
|
+
<gov-chip variant="secondary" size="l" type="solid" tag="a">
|
|
173
173
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
174
174
|
Clickable
|
|
175
175
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
176
176
|
</gov-chip>
|
|
177
|
-
<gov-chip variant="secondary" size="xl" disabled>
|
|
177
|
+
<gov-chip variant="secondary" size="xl" type="solid" disabled>
|
|
178
178
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
179
179
|
X-Large secondary
|
|
180
180
|
</gov-chip>
|
|
@@ -205,33 +205,33 @@ class ChipPage extends HTMLElement {
|
|
|
205
205
|
|
|
206
206
|
<h4>Chips - success (default)</h4>
|
|
207
207
|
<div class="container-view">
|
|
208
|
-
<gov-chip variant="success" size="xs">
|
|
208
|
+
<gov-chip variant="success" size="xs" type="solid">
|
|
209
209
|
Chip
|
|
210
210
|
</gov-chip>
|
|
211
|
-
<gov-chip variant="success" size="xs" inverse>
|
|
211
|
+
<gov-chip variant="success" size="xs" type="solid" inverse>
|
|
212
212
|
Chip
|
|
213
213
|
</gov-chip>
|
|
214
|
-
<gov-chip variant="success" size="s">
|
|
214
|
+
<gov-chip variant="success" size="s" type="solid">
|
|
215
215
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
216
216
|
Not clickable
|
|
217
217
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
218
218
|
</gov-chip>
|
|
219
|
-
<gov-chip tag="button" variant="success">
|
|
219
|
+
<gov-chip tag="button" variant="success" type="solid">
|
|
220
220
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
221
221
|
Normal href
|
|
222
222
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
223
223
|
</gov-chip>
|
|
224
|
-
<gov-chip variant="success" disabled href="http://www.example.com/">
|
|
224
|
+
<gov-chip variant="success" type="solid" disabled href="http://www.example.com/">
|
|
225
225
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
226
226
|
Disabled with href
|
|
227
227
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
228
228
|
</gov-chip>
|
|
229
|
-
<gov-chip variant="success" size="l" tag="a">
|
|
229
|
+
<gov-chip variant="success" size="l" type="solid" tag="a">
|
|
230
230
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
231
231
|
Clickable
|
|
232
232
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
233
233
|
</gov-chip>
|
|
234
|
-
<gov-chip variant="success" size="xl" disabled>
|
|
234
|
+
<gov-chip variant="success" size="xl" type="solid" disabled>
|
|
235
235
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
236
236
|
X-Large success
|
|
237
237
|
</gov-chip>
|
|
@@ -262,33 +262,33 @@ class ChipPage extends HTMLElement {
|
|
|
262
262
|
|
|
263
263
|
<h4>Chips - warning (default)</h4>
|
|
264
264
|
<div class="container-view">
|
|
265
|
-
<gov-chip variant="warning" size="xs">
|
|
265
|
+
<gov-chip variant="warning" size="xs" type="solid">
|
|
266
266
|
Chip
|
|
267
267
|
</gov-chip>
|
|
268
|
-
<gov-chip variant="warning" size="xs" inverse>
|
|
268
|
+
<gov-chip variant="warning" size="xs" type="solid" inverse>
|
|
269
269
|
Chip
|
|
270
270
|
</gov-chip>
|
|
271
|
-
<gov-chip variant="warning" size="s">
|
|
271
|
+
<gov-chip variant="warning" size="s" type="solid">
|
|
272
272
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
273
273
|
Not clickable
|
|
274
274
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
275
275
|
</gov-chip>
|
|
276
|
-
<gov-chip tag="button" variant="warning">
|
|
276
|
+
<gov-chip tag="button" variant="warning" type="solid">
|
|
277
277
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
278
278
|
Normal href
|
|
279
279
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
280
280
|
</gov-chip>
|
|
281
|
-
<gov-chip variant="warning" disabled href="http://www.example.com/">
|
|
281
|
+
<gov-chip variant="warning" type="solid" disabled href="http://www.example.com/">
|
|
282
282
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
283
283
|
Disabled with href
|
|
284
284
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
285
285
|
</gov-chip>
|
|
286
|
-
<gov-chip variant="warning" size="l" tag="a">
|
|
286
|
+
<gov-chip variant="warning" size="l" type="solid" tag="a">
|
|
287
287
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
288
288
|
Clickable
|
|
289
289
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
290
290
|
</gov-chip>
|
|
291
|
-
<gov-chip variant="warning" size="xl" disabled>
|
|
291
|
+
<gov-chip variant="warning" size="xl" type="solid" disabled>
|
|
292
292
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
293
293
|
X-Large warning
|
|
294
294
|
</gov-chip>
|
|
@@ -319,33 +319,33 @@ class ChipPage extends HTMLElement {
|
|
|
319
319
|
|
|
320
320
|
<h4>Chips - error (default)</h4>
|
|
321
321
|
<div class="container-view">
|
|
322
|
-
<gov-chip variant="error" size="xs">
|
|
322
|
+
<gov-chip variant="error" size="xs" type="solid">
|
|
323
323
|
Chip
|
|
324
324
|
</gov-chip>
|
|
325
|
-
<gov-chip variant="error" size="xs" inverse>
|
|
325
|
+
<gov-chip variant="error" size="xs" type="solid" inverse>
|
|
326
326
|
Chip
|
|
327
327
|
</gov-chip>
|
|
328
|
-
<gov-chip variant="error" size="s">
|
|
328
|
+
<gov-chip variant="error" size="s" type="solid">
|
|
329
329
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
330
330
|
Not clickable
|
|
331
331
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
332
332
|
</gov-chip>
|
|
333
|
-
<gov-chip tag="button" variant="error">
|
|
333
|
+
<gov-chip tag="button" variant="error" type="solid">
|
|
334
334
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
335
335
|
Normal href
|
|
336
336
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
337
337
|
</gov-chip>
|
|
338
|
-
<gov-chip variant="error" disabled href="http://www.example.com/">
|
|
338
|
+
<gov-chip variant="error" type="solid" disabled href="http://www.example.com/">
|
|
339
339
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
340
340
|
Disabled with href
|
|
341
341
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
342
342
|
</gov-chip>
|
|
343
|
-
<gov-chip variant="error" size="l" href="http://www.example.com/">
|
|
343
|
+
<gov-chip variant="error" size="l" type="solid" href="http://www.example.com/">
|
|
344
344
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
345
345
|
Clickable
|
|
346
346
|
<gov-icon slot="right-icon" name="info"></gov-icon>
|
|
347
347
|
</gov-chip>
|
|
348
|
-
<gov-chip variant="error" size="xl" disabled>
|
|
348
|
+
<gov-chip variant="error" size="xl" type="solid" disabled>
|
|
349
349
|
<gov-icon slot="left-icon" name="info"></gov-icon>
|
|
350
350
|
X-Large error
|
|
351
351
|
</gov-chip>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../../../../src/pages/Chip.ts"],"names":[],"mappings":"AAAA,MAAM,QAAS,SAAQ,WAAW;EACjC,iBAAiB;IAChB,IAAI,CAAC,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoXhB,CAAA;EACF,CAAC;CACD;AAED,IAAI,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,SAAS,EAAE;EAClD,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;CAC5C","sourcesContent":["class ChipPage extends HTMLElement {\n\tconnectedCallback() {\n\t\tthis.innerHTML = `\n\t\t\t<h1>Chips</h1>\n\t\t\t<h4>Chips close</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" size=\"s\" inverse=\"\">\n\t\t\t\tNot clickable S\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"base\" wcag-label=\"Zavřít vše\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"s\">\n\t\t\t\tNot clickable S\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"m\">\n\t\t\t\tNot clickable M\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"m\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"l\">\n\t\t\t\tNot clickable L\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"xl\">\n\t\t\t\tNot clickable XL\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips close (inversed)</h4>\n\t\t\t<div class=\"container-view gov-bg--primary-600\">\n\t\t\t<gov-chip variant=\"primary\" size=\"s\" inverse>\n\t\t\t\tNot clickable S\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"m\" inverse>\n\t\t\t\tNot clickable M\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"m\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"l\" inverse>\n\t\t\t\tNot clickable L\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"xl\" inverse>\n\t\t\t\tNot clickable XL\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - primary (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" disabled href=\"http://www.example.com/\" target=\"_blank\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"l\" href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xl\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large Primary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - primary (inversed)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xs\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"s\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" href=\"http://www.example.com/\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" disabled href=\"http://www.example.com/\" target=\"_blank\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"l\" href=\"http://www.example.com/\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xl\" disabled inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large Primary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - primary (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall Primary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal Primary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge Primary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large Primary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - secondary (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"xs\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"secondary\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"l\" tag=\"a\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"xl\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large secondary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - secondary (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall secondary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal secondary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge secondary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large secondary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - success (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"success\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"xs\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"success\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"l\" tag=\"a\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"xl\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large success\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - success (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"success\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall success\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal success\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge success\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large success\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - warning (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"warning\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"xs\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"warning\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"l\" tag=\"a\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"xl\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large warning\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - warning (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall warning\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal warning\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge warning\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large warning\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - error (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"error\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"xs\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"error\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"l\" href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"xl\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large error\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - error (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"error\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall error\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal error\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge error\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large error\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\nif (customElements.get('chip-page') === undefined) {\n\tcustomElements.define('chip-page', ChipPage)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Chip.js","sourceRoot":"","sources":["../../../../../src/pages/Chip.ts"],"names":[],"mappings":"AAAA,MAAM,QAAS,SAAQ,WAAW;EACjC,iBAAiB;IAChB,IAAI,CAAC,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoXhB,CAAA;EACF,CAAC;CACD;AAED,IAAI,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,SAAS,EAAE;EAClD,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;CAC5C","sourcesContent":["class ChipPage extends HTMLElement {\n\tconnectedCallback() {\n\t\tthis.innerHTML = `\n\t\t\t<h1>Chips</h1>\n\t\t\t<h4>Chips close</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" size=\"s\" type=\"solid\" inverse=\"\">\n\t\t\t\tNot clickable S\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"s\" type=\"solid\">\n\t\t\t\tNot clickable S\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"m\" type=\"solid\">\n\t\t\t\tNot clickable M\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"m\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"l\" type=\"solid\">\n\t\t\t\tNot clickable L\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"xl\" type=\"solid\">\n\t\t\t\tNot clickable XL\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips close (inversed)</h4>\n\t\t\t<div class=\"container-view gov-bg--primary-600\">\n\t\t\t<gov-chip variant=\"primary\" size=\"s\" type=\"solid\" inverse>\n\t\t\t\tNot clickable S\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"m\" type=\"solid\" inverse>\n\t\t\t\tNot clickable M\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"m\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"l\" type=\"solid\" inverse>\n\t\t\t\tNot clickable L\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t<gov-chip variant=\"primary\" size=\"xl\" type=\"solid\" inverse>\n\t\t\t\tNot clickable XL\n\t\t\t\t<gov-button slot=\"right\" variant=\"primary\" type=\"solid\" wcag-label=\"Zavřít vše\" size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"x-lg\"></gov-icon>\n\t\t\t\t</gov-button>\n\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - primary (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xs\" type=\"solid\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"s\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" type=\"solid\" href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" type=\"solid\" disabled href=\"http://www.example.com/\" target=\"_blank\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"l\" type=\"solid\" href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xl\" type=\"solid\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large Primary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - primary (inversed)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xs\" type=\"solid\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"s\" type=\"solid\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" type=\"solid\" href=\"http://www.example.com/\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" type=\"solid\" disabled href=\"http://www.example.com/\" target=\"_blank\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"l\" type=\"solid\" href=\"http://www.example.com/\" inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" size=\"xl\" type=\"solid\" disabled inverse>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large Primary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - primary (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"primary\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall Primary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal Primary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge Primary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"primary\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large Primary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - secondary (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"xs\" type=\"solid\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"xs\" type=\"solid\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"s\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"secondary\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" type=\"solid\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"l\" type=\"solid\" tag=\"a\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" size=\"xl\" type=\"solid\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large secondary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - secondary (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall secondary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal secondary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge secondary\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"secondary\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large secondary\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - success (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"success\" size=\"xs\" type=\"solid\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"xs\" type=\"solid\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"s\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"success\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" type=\"solid\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"l\" type=\"solid\" tag=\"a\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" size=\"xl\" type=\"solid\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large success\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - success (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"success\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall success\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal success\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge success\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"success\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large success\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - warning (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"warning\" size=\"xs\" type=\"solid\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"xs\" type=\"solid\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"s\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"warning\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" type=\"solid\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"l\" type=\"solid\" tag=\"a\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" size=\"xl\" type=\"solid\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large warning\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - warning (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall warning\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal warning\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge warning\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"warning\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large warning\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<hr />\n\n\t\t\t<h4>Chips - error (default)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"error\" size=\"xs\" type=\"solid\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"xs\" type=\"solid\" inverse>\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"s\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNot clickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip tag=\"button\" variant=\"error\" type=\"solid\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tNormal href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" type=\"solid\" disabled href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tDisabled with href\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"l\" type=\"solid\" href=\"http://www.example.com/\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tClickable\n\t\t\t\t\t<gov-icon slot=\"right-icon\" name=\"info\"></gov-icon>\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" size=\"xl\" type=\"solid\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\t\tX-Large error\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t\t<h4>Chips - error (outlined)</h4>\n\t\t\t<div class=\"container-view\">\n\t\t\t\t<gov-chip variant=\"error\" tag=\"a\" type=\"outlined\" size=\"xs\">\n\t\t\t\t\tChip\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"a\" type=\"outlined\" size=\"s\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tSmall error\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"button\" type=\"outlined\" disabled>\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tNormal error\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"a\" type=\"outlined\" size=\"l\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tLarge error\n\t\t\t\t</gov-chip>\n\t\t\t\t<gov-chip variant=\"error\" tag=\"button\" type=\"outlined\" disabled size=\"xl\">\n\t\t\t\t\t<gov-icon slot=\"left-icon\" name=\"info\"></gov-icon>\n\t\t\t\t\tX-Large error\n\t\t\t\t</gov-chip>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\nif (customElements.get('chip-page') === undefined) {\n\tcustomElements.define('chip-page', ChipPage)\n}\n"]}
|
|
@@ -48,8 +48,7 @@ class FormsPage extends HTMLElement {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
if (da) {
|
|
51
|
-
|
|
52
|
-
da.addEventListener('gov-add-file', function (e) {
|
|
51
|
+
da.addEventListener('gov-files', function (e) {
|
|
53
52
|
console.log(e.detail);
|
|
54
53
|
});
|
|
55
54
|
}
|
|
@@ -77,12 +76,12 @@ class FormsPage extends HTMLElement {
|
|
|
77
76
|
const cta = document.createElement('button');
|
|
78
77
|
cta.innerHTML = item.name;
|
|
79
78
|
cta.addEventListener('click', () => {
|
|
80
|
-
ms.
|
|
79
|
+
ms.options = [{ value: 'a', name: 'Aneta' }];
|
|
81
80
|
});
|
|
82
81
|
selectedList.appendChild(cta);
|
|
83
82
|
});
|
|
84
83
|
});
|
|
85
|
-
ms.setOptions([{
|
|
84
|
+
// ms.setOptions([{value: 'a', name: 'Aneta'}, {value: 'b', name: 'Beata'}, {value: 't', name: 'Tomáš'}])
|
|
86
85
|
setTimeout(() => {
|
|
87
86
|
//ms.setSelectedOption({value: 'a', name: 'Aneta'})
|
|
88
87
|
//ms.setSelectedOptions([{value: 'a', name: 'Aneta'}])
|
|
@@ -91,26 +90,37 @@ class FormsPage extends HTMLElement {
|
|
|
91
90
|
}, 5000);
|
|
92
91
|
}
|
|
93
92
|
if (moja) {
|
|
94
|
-
moja.
|
|
93
|
+
moja.addEventListener('gov-change', console.log);
|
|
94
|
+
moja.options = [{ value: 'd', label: 'Value D' }, { value: 'e', label: 'Value E' }, {
|
|
95
95
|
value: 'f',
|
|
96
96
|
label: 'Value F',
|
|
97
97
|
disabled: true
|
|
98
|
-
}]
|
|
98
|
+
}];
|
|
99
99
|
setTimeout(() => {
|
|
100
100
|
moja.value = 'h';
|
|
101
|
-
moja.
|
|
101
|
+
moja.options = [{ value: 'g', label: 'Value G' }, { value: 'h', label: 'Value H' }, {
|
|
102
102
|
value: 'i',
|
|
103
103
|
label: 'Value I',
|
|
104
|
-
}]
|
|
104
|
+
}];
|
|
105
105
|
}, 2000);
|
|
106
106
|
}
|
|
107
|
+
const mojeId = document.getElementById('moje-id');
|
|
108
|
+
const input = document.createElement('gov-form-input');
|
|
109
|
+
input.setAttribute('size', 'l');
|
|
110
|
+
input.setAttribute('placeholder', 'Co hledáte HYDRATED?');
|
|
111
|
+
input.addEventListener('gov-hydrated', () => {
|
|
112
|
+
console.log('hydrated');
|
|
113
|
+
});
|
|
114
|
+
mojeId.prepend(input);
|
|
107
115
|
}, 1000);
|
|
108
116
|
})();
|
|
109
117
|
this.innerHTML = `
|
|
110
118
|
|
|
111
119
|
|
|
112
120
|
<div id="selected" style="border: 1px solid blue"></div>
|
|
113
|
-
|
|
121
|
+
<div id="moje-id"></div>
|
|
122
|
+
|
|
123
|
+
<gov-form-control>
|
|
114
124
|
<gov-form-label size="m" slot="top">Multiselect</gov-form-label>
|
|
115
125
|
<gov-form-group>
|
|
116
126
|
<gov-form-multi-select name="test-me" size="xl" id="poleno">
|
|
@@ -119,7 +129,7 @@ class FormsPage extends HTMLElement {
|
|
|
119
129
|
</gov-form-control>
|
|
120
130
|
|
|
121
131
|
<gov-form-control>
|
|
122
|
-
<gov-form-label size="m" slot="top">Souhlasím
|
|
132
|
+
<gov-form-label size="m" slot="top">Souhlasím A je to?</gov-form-label>
|
|
123
133
|
<gov-form-group>
|
|
124
134
|
<gov-form-select value="e" name="test-me" size="xl" id="moja">
|
|
125
135
|
</gov-form-select>
|
|
@@ -221,8 +231,8 @@ class FormsPage extends HTMLElement {
|
|
|
221
231
|
<gov-form-control>
|
|
222
232
|
<gov-form-group>
|
|
223
233
|
<gov-form-search name="test-me-c" value="me" variant="secondary">
|
|
224
|
-
<gov-form-input slot="input" id="kapr" name="test-me" size="m" placeholder="Co hledáte"></gov-form-input>
|
|
225
|
-
<gov-button slot="button" variant="primary" size="
|
|
234
|
+
<gov-form-input slot="input" id="kapr" name="test-me" size="m" variant="secondary" placeholder="Co hledáte"></gov-form-input>
|
|
235
|
+
<gov-button slot="button" variant="primary" size="m" type="solid">
|
|
226
236
|
<gov-icon slot="left-icon" name="search"></gov-icon>
|
|
227
237
|
</gov-button>
|
|
228
238
|
</gov-form-search>
|
|
@@ -232,8 +242,8 @@ class FormsPage extends HTMLElement {
|
|
|
232
242
|
<gov-form-control>
|
|
233
243
|
<gov-form-group>
|
|
234
244
|
<gov-form-search name="test-me-c" value="me" variant="primary">
|
|
235
|
-
<gov-form-input slot="input" id="kapr" name="test-me" size="l" placeholder="Co hledáte"></gov-form-input>
|
|
236
|
-
<gov-button slot="button" variant="primary" size="
|
|
245
|
+
<gov-form-input slot="input" id="kapr" name="test-me" size="l" variant="secondary" placeholder="Co hledáte"></gov-form-input>
|
|
246
|
+
<gov-button slot="button" variant="primary" size="l" type="solid">
|
|
237
247
|
Hledat
|
|
238
248
|
</gov-button>
|
|
239
249
|
</gov-form-search>
|
|
@@ -243,8 +253,8 @@ class FormsPage extends HTMLElement {
|
|
|
243
253
|
<gov-form-control>
|
|
244
254
|
<gov-form-group>
|
|
245
255
|
<gov-form-search name="test-me-c" value="me"checked variant="secondary">
|
|
246
|
-
<gov-form-input slot="input" id="kapr" size="xl" name="test-me" placeholder="Co hledáte"></gov-form-input>
|
|
247
|
-
<gov-button slot="button" variant="secondary" size="
|
|
256
|
+
<gov-form-input slot="input" id="kapr" size="xl" variant="secondary" name="test-me" placeholder="Co hledáte"></gov-form-input>
|
|
257
|
+
<gov-button slot="button" variant="secondary" size="xl" type="solid">
|
|
248
258
|
Hledat
|
|
249
259
|
</gov-button>
|
|
250
260
|
</gov-form-search>
|
|
@@ -261,7 +271,7 @@ class FormsPage extends HTMLElement {
|
|
|
261
271
|
<gov-form-control>
|
|
262
272
|
<gov-form-label size="s" slot="top">Přidat přílohu *</gov-form-label>
|
|
263
273
|
<gov-form-group>
|
|
264
|
-
<gov-form-file id="test-me-ujo" multiple accept=".pdf,.jpg,.png,.jpeg" max-file-size="616448">
|
|
274
|
+
<gov-form-file id="test-me-ujo" display-attachments="false" multiple accept=".pdf,.jpg,.png,.jpeg" max-file-size="616448">
|
|
265
275
|
<p>
|
|
266
276
|
<gov-button variant="primary" type="outlined" tabindex="-1">
|
|
267
277
|
Nahrát soubor ze zařízení
|