@esri/calcite-components 1.0.0-next.321 → 1.0.0-next.325
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/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/{p-b6b6ec04.js → p-0229a408.js} +1 -1
- package/dist/calcite/p-03fb996f.entry.js +5 -0
- package/dist/calcite/p-06399508.entry.js +5 -0
- package/dist/calcite/p-0d3c30eb.system.entry.js +5 -0
- package/dist/calcite/p-0f2b51bf.system.js +5 -0
- package/dist/calcite/p-101529ad.entry.js +5 -0
- package/dist/calcite/p-17a5fd88.entry.js +5 -0
- package/dist/calcite/p-184c9b62.system.entry.js +5 -0
- package/dist/calcite/p-18899170.entry.js +5 -0
- package/dist/calcite/p-1942876c.js +5 -0
- package/dist/calcite/p-1a30f69e.system.entry.js +5 -0
- package/dist/calcite/p-1c667bd9.system.entry.js +5 -0
- package/dist/calcite/p-1e2e8b64.entry.js +5 -0
- package/dist/calcite/p-1ec19629.system.entry.js +5 -0
- package/dist/calcite/p-202740f8.system.entry.js +5 -0
- package/dist/calcite/p-204d9aca.entry.js +5 -0
- package/dist/calcite/p-20bc20ee.entry.js +5 -0
- package/dist/calcite/p-26328035.system.entry.js +5 -0
- package/dist/calcite/p-27cec7b3.system.entry.js +5 -0
- package/dist/calcite/p-28f081f0.entry.js +5 -0
- package/dist/calcite/p-2977b7e8.entry.js +5 -0
- package/dist/calcite/p-2b11469c.entry.js +5 -0
- package/dist/calcite/p-2d0578a8.entry.js +5 -0
- package/dist/calcite/p-2f011be9.system.entry.js +5 -0
- package/dist/calcite/p-2fd6f4f4.system.entry.js +5 -0
- package/dist/calcite/p-3037c513.entry.js +5 -0
- package/dist/calcite/{p-714ae4f6.entry.js → p-327b0ae2.entry.js} +1 -1
- package/dist/calcite/{p-d07ff1ee.system.js → p-35a5c74c.system.js} +1 -1
- package/dist/calcite/p-3ce6883b.system.entry.js +5 -0
- package/dist/calcite/p-3d27070c.system.entry.js +5 -0
- package/dist/calcite/p-3dae9da3.js +5 -0
- package/dist/calcite/{p-fa9a1d8f.system.entry.js → p-3eeeebe5.system.entry.js} +1 -1
- package/dist/calcite/p-45ba7337.system.entry.js +5 -0
- package/dist/calcite/p-488ca1e1.system.entry.js +5 -0
- package/dist/calcite/p-4b14db4d.system.entry.js +5 -0
- package/dist/calcite/p-4bb92105.system.entry.js +5 -0
- package/dist/calcite/{p-71cdeee3.system.js → p-523bc291.system.js} +1 -1
- package/dist/calcite/p-52cc870b.js +5 -0
- package/dist/calcite/p-53de3684.system.entry.js +5 -0
- package/dist/calcite/p-575c5661.system.entry.js +5 -0
- package/dist/calcite/p-588d27df.entry.js +5 -0
- package/dist/calcite/p-5b02dc87.system.entry.js +5 -0
- package/dist/calcite/p-5ca9284c.system.entry.js +5 -0
- package/dist/calcite/p-5cdf37a7.entry.js +5 -0
- package/dist/calcite/p-5df7df57.system.entry.js +5 -0
- package/dist/calcite/{p-7bb94bfa.entry.js → p-5f1684f3.entry.js} +1 -1
- package/dist/calcite/p-606c2ba6.entry.js +5 -0
- package/dist/calcite/p-60b60d22.system.entry.js +5 -0
- package/dist/calcite/p-62f3d4df.system.js +5 -0
- package/dist/calcite/p-6be0a24d.entry.js +5 -0
- package/dist/calcite/p-6cc23c39.system.js +5 -0
- package/dist/calcite/p-6d969c5b.entry.js +5 -0
- package/dist/calcite/p-6ee81faa.system.entry.js +5 -0
- package/dist/calcite/p-6fc7d27c.system.entry.js +5 -0
- package/dist/calcite/p-70894126.system.entry.js +5 -0
- package/dist/calcite/p-70def0a2.entry.js +5 -0
- package/dist/calcite/p-7403ee95.system.entry.js +5 -0
- package/dist/calcite/p-774454cc.system.entry.js +5 -0
- package/dist/calcite/p-7a87a393.entry.js +5 -0
- package/dist/calcite/{p-23bc2d32.entry.js → p-7afed2f6.entry.js} +1 -1
- package/dist/calcite/p-7bd3efdb.entry.js +5 -0
- package/dist/calcite/p-7c7df54d.entry.js +5 -0
- package/dist/calcite/p-7db12757.entry.js +5 -0
- package/dist/calcite/p-7e7cfeaa.entry.js +5 -0
- package/dist/calcite/p-7efe15d0.entry.js +5 -0
- package/dist/calcite/p-7f576b77.system.entry.js +5 -0
- package/dist/calcite/p-80d8c468.system.entry.js +5 -0
- package/dist/calcite/p-83467ae1.system.entry.js +5 -0
- package/dist/calcite/p-87dac28d.system.entry.js +5 -0
- package/dist/calcite/p-8e252799.system.js +1 -1
- package/dist/calcite/p-91a1824b.entry.js +5 -0
- package/dist/calcite/p-94982d31.entry.js +5 -0
- package/dist/calcite/p-94dc5a56.entry.js +5 -0
- package/dist/calcite/p-95c632ab.entry.js +5 -0
- package/dist/calcite/p-96d305ef.entry.js +5 -0
- package/dist/calcite/p-974ca4ba.system.entry.js +5 -0
- package/dist/calcite/p-980d9025.entry.js +5 -0
- package/dist/calcite/p-99fb19ec.system.entry.js +5 -0
- package/dist/calcite/p-9a2b1a29.system.entry.js +5 -0
- package/dist/calcite/p-9b117f75.entry.js +5 -0
- package/dist/calcite/p-9c3d34ca.entry.js +5 -0
- package/dist/calcite/p-a173826c.system.entry.js +5 -0
- package/dist/calcite/p-a49c5514.system.entry.js +5 -0
- package/dist/calcite/p-a871ba8a.system.entry.js +5 -0
- package/dist/calcite/p-b19f7605.system.entry.js +5 -0
- package/dist/calcite/p-b5fa03c1.entry.js +5 -0
- package/dist/calcite/p-b93a6d2d.system.entry.js +5 -0
- package/dist/calcite/p-ba1cabf2.system.entry.js +5 -0
- package/dist/calcite/p-ba631974.system.entry.js +5 -0
- package/dist/calcite/p-bbd8636a.entry.js +5 -0
- package/dist/calcite/p-bd919913.entry.js +5 -0
- package/dist/calcite/p-bff145c5.entry.js +5 -0
- package/dist/calcite/p-c00b1d26.js +5 -0
- package/dist/calcite/p-c02b5eba.system.entry.js +5 -0
- package/dist/calcite/p-c0eefed8.entry.js +5 -0
- package/dist/calcite/p-c1610a5c.system.entry.js +5 -0
- package/dist/calcite/{p-47f55191.system.js → p-c34c4414.system.js} +1 -1
- package/dist/calcite/p-c3f2b03a.system.entry.js +5 -0
- package/dist/calcite/p-c7ed36e5.system.entry.js +5 -0
- package/dist/calcite/p-cd0018ac.system.entry.js +5 -0
- package/dist/calcite/p-ce622e0a.system.entry.js +5 -0
- package/dist/calcite/p-ce704ece.js +5 -0
- package/dist/calcite/p-cefe5a4e.entry.js +5 -0
- package/dist/calcite/p-d0d237ab.entry.js +5 -0
- package/dist/calcite/p-d373de48.system.entry.js +5 -0
- package/dist/calcite/{p-3f07a3e7.system.entry.js → p-d64659ba.system.entry.js} +1 -1
- package/dist/calcite/p-d6860bd7.system.entry.js +5 -0
- package/dist/calcite/p-d9af4015.entry.js +5 -0
- package/dist/calcite/p-ddd419d6.entry.js +5 -0
- package/dist/calcite/p-e1049030.entry.js +5 -0
- package/dist/calcite/p-e2058b98.system.entry.js +5 -0
- package/dist/calcite/p-e3f4d68f.entry.js +5 -0
- package/dist/calcite/p-e542274a.entry.js +5 -0
- package/dist/calcite/p-e633c044.system.entry.js +5 -0
- package/dist/calcite/p-e78f8c8f.entry.js +5 -0
- package/dist/calcite/{p-fba77b86.entry.js → p-e83339b1.entry.js} +1 -1
- package/dist/calcite/p-eb665026.system.entry.js +5 -0
- package/dist/calcite/p-ed0935d6.system.entry.js +5 -0
- package/dist/calcite/p-effec307.system.entry.js +5 -0
- package/dist/calcite/p-f5b19445.entry.js +5 -0
- package/dist/calcite/p-f658de6f.entry.js +5 -0
- package/dist/calcite/p-f6aa5d7e.entry.js +5 -0
- package/dist/calcite/p-f834b297.entry.js +5 -0
- package/dist/calcite/p-f8818895.entry.js +5 -0
- package/dist/calcite/p-f953f1a9.system.entry.js +5 -0
- package/dist/calcite/p-f993aab7.entry.js +5 -0
- package/dist/calcite/p-fee12dc7.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-ca629f39.js → CalciteExpandToggle-d654421a.js} +3 -3
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +4 -9
- package/dist/cjs/calcite-action.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +3 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +4 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-button.cjs.entry.js +4 -5
- package/dist/cjs/calcite-card.cjs.entry.js +2 -5
- package/dist/cjs/calcite-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -5
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -13
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +10 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -21
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +3 -4
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +25 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -7
- package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input.cjs.entry.js +6 -8
- package/dist/cjs/calcite-label.cjs.entry.js +2 -5
- package/dist/cjs/calcite-link.cjs.entry.js +3 -3
- package/dist/cjs/calcite-list_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +3 -4
- package/dist/cjs/calcite-notice.cjs.entry.js +3 -4
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +5 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +6 -8
- package/dist/cjs/calcite-popover_2.cjs.entry.js +5 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-radio_2.cjs.entry.js → calcite-radio-button.cjs.entry.js} +6 -47
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -16
- package/dist/cjs/calcite-rating.cjs.entry.js +5 -6
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +4 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -6
- package/dist/cjs/calcite-tab_4.cjs.entry.js +12 -14
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +3 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tree_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite.cjs.js +1 -1
- package/dist/cjs/{dom-41ce6029.js → dom-19822169.js} +0 -7
- package/dist/cjs/{form-7f276aa5.js → form-a5b44a1f.js} +1 -1
- package/dist/cjs/{label-98a31f7d.js → label-8e3552b2.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{popper-4c24a334.js → popper-a7580aca.js} +1 -1
- package/dist/cjs/{resources-fee43dc4.js → resources-6c4b32ef.js} +3 -3
- package/dist/collection/collection-manifest.json +5 -7
- package/dist/collection/components/calcite-accordion/calcite-accordion.css +6 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +11 -24
- package/dist/collection/components/calcite-action/calcite-action.css +6 -2
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +6 -2
- package/dist/collection/components/calcite-action-group/calcite-action-group.css +6 -2
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +6 -2
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +8 -9
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +2 -8
- package/dist/collection/components/calcite-alert/calcite-alert.css +13 -36
- package/dist/collection/components/calcite-alert/calcite-alert.js +2 -5
- package/dist/collection/components/calcite-avatar/calcite-avatar.css +6 -2
- package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
- package/dist/collection/components/calcite-block/calcite-block.css +7 -3
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +8 -14
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +3 -4
- package/dist/collection/components/calcite-button/calcite-button.css +17 -51
- package/dist/collection/components/calcite-button/calcite-button.js +2 -4
- package/dist/collection/components/calcite-card/calcite-card.css +7 -8
- package/dist/collection/components/calcite-card/calcite-card.js +1 -4
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +6 -2
- package/dist/collection/components/calcite-chip/calcite-chip.css +19 -40
- package/dist/collection/components/calcite-chip/calcite-chip.js +3 -5
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +7 -8
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +5 -8
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +6 -2
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +3 -4
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +6 -2
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +10 -14
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +2 -5
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +8 -15
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +1 -4
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +8 -20
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +2 -4
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +6 -2
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +20 -8
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +28 -10
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +6 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +5 -7
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +6 -2
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -6
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +6 -29
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -4
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +6 -2
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +35 -131
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +3 -6
- package/dist/collection/components/calcite-fab/calcite-fab.css +6 -2
- package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
- package/dist/collection/components/calcite-filter/calcite-filter.css +9 -23
- package/dist/collection/components/calcite-filter/calcite-filter.js +3 -5
- package/dist/collection/components/calcite-flow/calcite-flow.css +6 -2
- package/dist/collection/components/calcite-graph/calcite-graph.css +6 -2
- package/dist/collection/components/calcite-handle/calcite-handle.css +6 -2
- package/dist/collection/components/calcite-icon/calcite-icon.css +6 -2
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +7 -3
- package/dist/collection/components/calcite-input/calcite-input.css +30 -118
- package/dist/collection/components/calcite-input/calcite-input.js +2 -4
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +6 -2
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +17 -5
- package/dist/collection/components/calcite-input-message/calcite-input-message.css +10 -11
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +6 -2
- package/dist/collection/components/calcite-label/calcite-label.css +10 -9
- package/dist/collection/components/calcite-label/calcite-label.js +1 -4
- package/dist/collection/components/calcite-link/calcite-link.css +12 -18
- package/dist/collection/components/calcite-link/calcite-link.js +1 -1
- package/dist/collection/components/calcite-list/calcite-list.css +6 -2
- package/dist/collection/components/calcite-list-item/calcite-list-item.css +6 -2
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +6 -2
- package/dist/collection/components/calcite-loader/calcite-loader.css +7 -8
- package/dist/collection/components/calcite-modal/calcite-modal.css +10 -23
- package/dist/collection/components/calcite-modal/calcite-modal.js +2 -4
- package/dist/collection/components/calcite-notice/calcite-notice.css +12 -31
- package/dist/collection/components/calcite-notice/calcite-notice.js +2 -4
- package/dist/collection/components/calcite-option/calcite-option.css +6 -2
- package/dist/collection/components/calcite-option-group/calcite-option-group.css +6 -2
- package/dist/collection/components/calcite-pagination/calcite-pagination.css +7 -3
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
- package/dist/collection/components/calcite-panel/calcite-panel.css +10 -29
- package/dist/collection/components/calcite-panel/calcite-panel.js +4 -9
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +6 -2
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +7 -8
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +2 -5
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +7 -8
- package/dist/collection/components/calcite-popover/calcite-popover.css +6 -6
- package/dist/collection/components/calcite-popover/calcite-popover.js +2 -5
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +6 -2
- package/dist/collection/components/calcite-progress/calcite-progress.css +6 -2
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +75 -2
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -3
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +6 -2
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +6 -2
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +2 -2
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +6 -2
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -15
- package/dist/collection/components/calcite-rating/calcite-rating.css +9 -20
- package/dist/collection/components/calcite-rating/calcite-rating.js +2 -5
- package/dist/collection/components/calcite-scrim/calcite-scrim.css +6 -2
- package/dist/collection/components/calcite-select/calcite-select.css +13 -26
- package/dist/collection/components/calcite-select/calcite-select.js +5 -7
- package/dist/collection/components/calcite-shell/calcite-shell.css +7 -3
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +9 -20
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +3 -5
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +7 -3
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +3 -3
- package/dist/collection/components/calcite-slider/calcite-slider.css +145 -162
- package/dist/collection/components/calcite-slider/calcite-slider.js +64 -27
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +6 -2
- package/dist/collection/components/calcite-split-button/calcite-split-button.css +6 -2
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -6
- package/dist/collection/components/calcite-stepper/calcite-stepper.css +6 -2
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +20 -74
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +2 -4
- package/dist/collection/components/calcite-switch/calcite-switch.css +8 -26
- package/dist/collection/components/calcite-switch/calcite-switch.js +2 -4
- package/dist/collection/components/calcite-tab/calcite-tab.css +6 -2
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +6 -2
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +12 -23
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +6 -9
- package/dist/collection/components/calcite-tabs/calcite-tabs.css +6 -2
- package/dist/collection/components/calcite-tile/calcite-tile.css +6 -2
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +8 -16
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +1 -4
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +6 -2
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +6 -2
- package/dist/collection/components/calcite-tip/calcite-tip.css +6 -2
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +6 -2
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +9 -14
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +6 -2
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +6 -2
- package/dist/collection/components/calcite-tree/calcite-tree.css +6 -2
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +9 -5
- package/dist/collection/components/calcite-value-list/calcite-value-list.css +6 -2
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +6 -2
- package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
- package/dist/collection/utils/dom.js +0 -6
- package/dist/components/CalciteExpandToggle.js +3 -3
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group2.js +1 -1
- package/dist/components/calcite-action-menu2.js +1 -1
- package/dist/components/calcite-action-pad.js +3 -8
- package/dist/components/calcite-action2.js +1 -1
- package/dist/components/calcite-alert.js +3 -5
- package/dist/components/calcite-avatar.js +4 -5
- package/dist/components/calcite-block-section.js +4 -4
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button2.js +3 -4
- package/dist/components/calcite-card.js +2 -4
- package/dist/components/calcite-checkbox2.js +1 -1
- package/dist/components/calcite-chip2.js +4 -5
- package/dist/components/calcite-color-picker-hex-input2.js +4 -5
- package/dist/components/calcite-color-picker-swatch2.js +2 -2
- package/dist/components/calcite-color-picker.js +6 -8
- package/dist/components/calcite-combobox-item-group.js +3 -4
- package/dist/components/calcite-combobox-item.js +2 -4
- package/dist/components/calcite-combobox.js +3 -6
- package/dist/components/calcite-date-picker-day2.js +1 -1
- package/dist/components/calcite-date-picker-month-header2.js +5 -7
- package/dist/components/calcite-date-picker-month2.js +6 -8
- package/dist/components/calcite-date-picker2.js +17 -9
- package/dist/components/calcite-dropdown-group.js +3 -4
- package/dist/components/calcite-dropdown-item.js +4 -6
- package/dist/components/calcite-dropdown2.js +3 -4
- package/dist/components/calcite-fab.js +4 -5
- package/dist/components/calcite-filter2.js +3 -4
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph2.js +1 -1
- package/dist/components/calcite-handle2.js +1 -1
- package/dist/components/calcite-icon2.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +14 -6
- package/dist/components/calcite-input-message.js +3 -4
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input2.js +3 -5
- package/dist/components/calcite-label2.js +2 -4
- package/dist/components/calcite-link2.js +2 -2
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader2.js +1 -1
- package/dist/components/calcite-modal.js +3 -4
- package/dist/components/calcite-notice.js +3 -4
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +3 -5
- package/dist/components/calcite-panel.js +5 -9
- package/dist/components/calcite-pick-list-group.js +3 -5
- package/dist/components/calcite-pick-list-item2.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover2.js +3 -5
- package/dist/components/calcite-progress2.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +5 -11
- package/dist/components/calcite-radio-group-item.js +6 -14
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +2 -4
- package/dist/components/calcite-scrim2.js +1 -1
- package/dist/components/calcite-select.js +5 -6
- package/dist/components/calcite-shell-center-row.js +4 -5
- package/dist/components/calcite-shell-panel.js +4 -4
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +24 -10
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -4
- package/dist/components/calcite-stepper-item.js +3 -4
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch2.js +3 -4
- package/dist/components/calcite-tab-nav2.js +4 -4
- package/dist/components/calcite-tab-title2.js +7 -9
- package/dist/components/calcite-tab2.js +1 -1
- package/dist/components/calcite-tabs2.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +2 -4
- package/dist/components/calcite-tile2.js +1 -1
- package/dist/components/calcite-time-picker2.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager2.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/dom.js +1 -7
- package/dist/components/form.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/shared-list-render.js +3 -3
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +219 -296
- package/dist/esm/{CalciteExpandToggle-4b38a7d1.js → CalciteExpandToggle-c33bd6fd.js} +3 -3
- package/dist/esm/calcite-accordion_2.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +3 -3
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +2 -2
- package/dist/esm/calcite-action-pad.entry.js +4 -9
- package/dist/esm/calcite-action.entry.js +1 -1
- package/dist/esm/calcite-alert.entry.js +3 -5
- package/dist/esm/calcite-avatar.entry.js +4 -5
- package/dist/esm/calcite-block_2.entry.js +5 -5
- package/dist/esm/calcite-button.entry.js +4 -5
- package/dist/esm/calcite-card.entry.js +2 -5
- package/dist/esm/calcite-checkbox.entry.js +4 -4
- package/dist/esm/calcite-chip.entry.js +4 -5
- package/dist/esm/calcite-color-picker_3.entry.js +10 -13
- package/dist/esm/calcite-combobox_3.entry.js +10 -15
- package/dist/esm/calcite-date-picker_4.entry.js +28 -21
- package/dist/esm/calcite-dropdown_3.entry.js +9 -13
- package/dist/esm/calcite-fab.entry.js +4 -5
- package/dist/esm/calcite-filter.entry.js +3 -4
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +26 -13
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +3 -3
- package/dist/esm/calcite-input-date-picker.entry.js +16 -7
- package/dist/esm/calcite-input-message.entry.js +3 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +5 -5
- package/dist/esm/calcite-input.entry.js +6 -8
- package/dist/esm/calcite-label.entry.js +2 -5
- package/dist/esm/calcite-link.entry.js +3 -3
- package/dist/esm/calcite-list_3.entry.js +4 -4
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +3 -4
- package/dist/esm/calcite-notice.entry.js +3 -4
- package/dist/esm/calcite-option_3.entry.js +9 -10
- package/dist/esm/calcite-pagination.entry.js +3 -6
- package/dist/esm/calcite-panel.entry.js +5 -9
- package/dist/esm/calcite-pick-list_3.entry.js +6 -8
- package/dist/esm/calcite-popover_2.entry.js +5 -7
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +8 -48
- package/dist/esm/calcite-radio-group_2.entry.js +9 -16
- package/dist/esm/calcite-rating.entry.js +5 -6
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +8 -9
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +2 -5
- package/dist/esm/calcite-stepper_2.entry.js +4 -5
- package/dist/esm/calcite-switch.entry.js +5 -6
- package/dist/esm/calcite-tab_4.entry.js +12 -14
- package/dist/esm/calcite-tile-select_2.entry.js +3 -5
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-tip_3.entry.js +5 -5
- package/dist/esm/calcite-tooltip_2.entry.js +4 -4
- package/dist/esm/calcite-tree_2.entry.js +3 -3
- package/dist/esm/calcite-value-list_2.entry.js +4 -4
- package/dist/esm/calcite.js +1 -1
- package/dist/esm/{dom-dc012a45.js → dom-f24e866c.js} +1 -7
- package/dist/esm/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
- package/dist/esm/{label-0d804a87.js → label-5559055d.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
- package/dist/esm/{resources-c31631e5.js → resources-35c1823f.js} +3 -3
- package/dist/esm-es5/CalciteExpandToggle-c33bd6fd.js +5 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/dom-f24e866c.js +5 -0
- package/dist/esm-es5/{form-6b717ce8.js → form-160b0fb5.js} +1 -1
- package/dist/esm-es5/{label-0d804a87.js → label-5559055d.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{popper-ed1eefa6.js → popper-f5caedc4.js} +1 -1
- package/dist/esm-es5/resources-35c1823f.js +5 -0
- package/dist/extras/docs-json.json +33 -116
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -1
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +2 -0
- package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +1 -1
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +2 -0
- package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -2
- package/dist/types/components/calcite-select/calcite-select.d.ts +1 -2
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +5 -0
- package/dist/types/components.d.ts +8 -53
- package/dist/types/preact.d.ts +0 -2
- package/dist/types/utils/dom.d.ts +0 -4
- package/hydrate/index.js +220 -309
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-04bce033.entry.js +0 -5
- package/dist/calcite/p-058ee7b0.entry.js +0 -5
- package/dist/calcite/p-0b53c2c6.system.entry.js +0 -5
- package/dist/calcite/p-0d67d5bf.system.entry.js +0 -5
- package/dist/calcite/p-0f33798d.system.entry.js +0 -5
- package/dist/calcite/p-0f9f1f89.system.entry.js +0 -5
- package/dist/calcite/p-141051c4.entry.js +0 -5
- package/dist/calcite/p-1480eb2d.entry.js +0 -5
- package/dist/calcite/p-198902ca.entry.js +0 -5
- package/dist/calcite/p-19d3c50f.system.entry.js +0 -5
- package/dist/calcite/p-1ad123f9.entry.js +0 -5
- package/dist/calcite/p-1de453ba.entry.js +0 -5
- package/dist/calcite/p-1e4955d7.entry.js +0 -5
- package/dist/calcite/p-1eb04aad.system.entry.js +0 -5
- package/dist/calcite/p-1eb85972.entry.js +0 -5
- package/dist/calcite/p-1f809e6c.system.entry.js +0 -5
- package/dist/calcite/p-2033f545.system.entry.js +0 -5
- package/dist/calcite/p-266ee9db.entry.js +0 -5
- package/dist/calcite/p-26f8f2d1.js +0 -5
- package/dist/calcite/p-29d4765b.entry.js +0 -5
- package/dist/calcite/p-2cd9d307.entry.js +0 -5
- package/dist/calcite/p-30afa3c6.system.entry.js +0 -5
- package/dist/calcite/p-33802886.entry.js +0 -5
- package/dist/calcite/p-3d69fba9.entry.js +0 -5
- package/dist/calcite/p-3ec67fae.entry.js +0 -5
- package/dist/calcite/p-3f82f702.system.entry.js +0 -5
- package/dist/calcite/p-41f87fe7.entry.js +0 -5
- package/dist/calcite/p-42091a1f.system.entry.js +0 -5
- package/dist/calcite/p-43020fb5.js +0 -5
- package/dist/calcite/p-437e9d52.entry.js +0 -5
- package/dist/calcite/p-4a8b3cf3.system.entry.js +0 -5
- package/dist/calcite/p-4af85388.system.entry.js +0 -5
- package/dist/calcite/p-4e47f1a5.entry.js +0 -5
- package/dist/calcite/p-4e95e13d.system.entry.js +0 -5
- package/dist/calcite/p-4ee2f6cf.system.entry.js +0 -5
- package/dist/calcite/p-5035488d.entry.js +0 -5
- package/dist/calcite/p-52578054.js +0 -5
- package/dist/calcite/p-535d635b.system.entry.js +0 -5
- package/dist/calcite/p-55bfe4fc.entry.js +0 -5
- package/dist/calcite/p-58208234.system.entry.js +0 -5
- package/dist/calcite/p-58e21391.system.entry.js +0 -5
- package/dist/calcite/p-5c606579.entry.js +0 -5
- package/dist/calcite/p-5dc52ebc.entry.js +0 -5
- package/dist/calcite/p-5dce20e5.system.entry.js +0 -5
- package/dist/calcite/p-65748440.entry.js +0 -5
- package/dist/calcite/p-659898bf.entry.js +0 -5
- package/dist/calcite/p-6af46786.entry.js +0 -5
- package/dist/calcite/p-6c5b849f.system.entry.js +0 -5
- package/dist/calcite/p-6e050609.entry.js +0 -5
- package/dist/calcite/p-702140ce.entry.js +0 -5
- package/dist/calcite/p-71e299a6.system.js +0 -5
- package/dist/calcite/p-730b8963.system.entry.js +0 -5
- package/dist/calcite/p-7311f615.entry.js +0 -5
- package/dist/calcite/p-7325e7fc.system.entry.js +0 -5
- package/dist/calcite/p-732d4acf.entry.js +0 -5
- package/dist/calcite/p-784e4e32.system.entry.js +0 -5
- package/dist/calcite/p-7bf46f12.system.entry.js +0 -5
- package/dist/calcite/p-82c6cd9a.entry.js +0 -5
- package/dist/calcite/p-832affcb.system.entry.js +0 -5
- package/dist/calcite/p-87f1831b.entry.js +0 -5
- package/dist/calcite/p-88b4f504.entry.js +0 -5
- package/dist/calcite/p-89987575.entry.js +0 -5
- package/dist/calcite/p-8b2ead09.system.entry.js +0 -5
- package/dist/calcite/p-8fef13ca.system.entry.js +0 -5
- package/dist/calcite/p-9339cca3.entry.js +0 -5
- package/dist/calcite/p-9470d123.system.entry.js +0 -5
- package/dist/calcite/p-949c8f43.system.entry.js +0 -5
- package/dist/calcite/p-95a17f62.system.entry.js +0 -5
- package/dist/calcite/p-95b9a0f2.system.entry.js +0 -5
- package/dist/calcite/p-96bbc815.system.entry.js +0 -5
- package/dist/calcite/p-97f8034a.system.entry.js +0 -5
- package/dist/calcite/p-99e52ea7.system.entry.js +0 -5
- package/dist/calcite/p-9abbbcbd.system.entry.js +0 -5
- package/dist/calcite/p-9be50494.entry.js +0 -5
- package/dist/calcite/p-9dff8dc8.system.entry.js +0 -5
- package/dist/calcite/p-a57aa5d0.entry.js +0 -5
- package/dist/calcite/p-a7be885b.entry.js +0 -5
- package/dist/calcite/p-a821e9b3.system.entry.js +0 -5
- package/dist/calcite/p-ab8ce668.system.entry.js +0 -5
- package/dist/calcite/p-ac38b743.system.entry.js +0 -5
- package/dist/calcite/p-aced5f01.entry.js +0 -5
- package/dist/calcite/p-ad617a5a.entry.js +0 -5
- package/dist/calcite/p-b16b831d.entry.js +0 -5
- package/dist/calcite/p-b4b1081f.system.entry.js +0 -5
- package/dist/calcite/p-b5d21a5d.system.entry.js +0 -5
- package/dist/calcite/p-b6aabc24.entry.js +0 -5
- package/dist/calcite/p-bf82491b.entry.js +0 -5
- package/dist/calcite/p-c0690971.entry.js +0 -5
- package/dist/calcite/p-c12e88cd.entry.js +0 -5
- package/dist/calcite/p-c1794615.entry.js +0 -5
- package/dist/calcite/p-c3ba61ea.entry.js +0 -5
- package/dist/calcite/p-c9551366.entry.js +0 -5
- package/dist/calcite/p-ca5c0679.entry.js +0 -5
- package/dist/calcite/p-cb55c32c.system.entry.js +0 -5
- package/dist/calcite/p-cbe9f1a2.system.entry.js +0 -5
- package/dist/calcite/p-cd1cdf3c.entry.js +0 -5
- package/dist/calcite/p-d102e280.system.entry.js +0 -5
- package/dist/calcite/p-d4e9d7bb.system.entry.js +0 -5
- package/dist/calcite/p-dab6ebab.system.entry.js +0 -5
- package/dist/calcite/p-ddcf2620.system.entry.js +0 -5
- package/dist/calcite/p-e2d18d39.system.entry.js +0 -5
- package/dist/calcite/p-e5305b02.js +0 -5
- package/dist/calcite/p-e6a47d34.system.entry.js +0 -5
- package/dist/calcite/p-e817ded0.entry.js +0 -5
- package/dist/calcite/p-e9e13891.entry.js +0 -5
- package/dist/calcite/p-eada9cef.entry.js +0 -5
- package/dist/calcite/p-ed82600e.system.entry.js +0 -5
- package/dist/calcite/p-eeb8dfe5.system.entry.js +0 -5
- package/dist/calcite/p-f0338acf.system.entry.js +0 -5
- package/dist/calcite/p-f2620bc3.js +0 -5
- package/dist/calcite/p-f7b5dd98.system.entry.js +0 -5
- package/dist/calcite/p-f8266626.system.js +0 -5
- package/dist/calcite/p-f87ba8eb.system.js +0 -5
- package/dist/calcite/p-fc32b022.entry.js +0 -5
- package/dist/calcite/p-fc47547f.system.entry.js +0 -5
- package/dist/calcite/p-fd1ddcd2.system.entry.js +0 -5
- package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
- package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
- package/dist/components/calcite-radio.d.ts +0 -11
- package/dist/components/calcite-radio.js +0 -10
- package/dist/components/calcite-radio2.js +0 -71
- package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +0 -5
- package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
- package/dist/esm-es5/dom-dc012a45.js +0 -5
- package/dist/esm-es5/resources-c31631e5.js +0 -5
- package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, Method, Prop, Watch, h, Fragment } from "@stencil/core";
|
|
6
6
|
import { CSS, HEADING_LEVEL, ICONS, SLOTS, TEXT } from "./resources";
|
|
7
|
-
import { getElementDir,
|
|
8
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
7
|
+
import { getElementDir, getSlotted } from "../../utils/dom";
|
|
9
8
|
import { CalciteHeading } from "../functional/CalciteHeading";
|
|
10
9
|
import { SLOTS as ACTION_MENU_SLOTS } from "../calcite-action-menu/resources";
|
|
11
10
|
/**
|
|
@@ -106,7 +105,7 @@ export class CalcitePanel {
|
|
|
106
105
|
// --------------------------------------------------------------------------
|
|
107
106
|
renderBackButton() {
|
|
108
107
|
const { el } = this;
|
|
109
|
-
const rtl =
|
|
108
|
+
const rtl = getElementDir(el) === "rtl";
|
|
110
109
|
const { showBackButton, intlBack, backButtonClick } = this;
|
|
111
110
|
const label = intlBack || TEXT.back;
|
|
112
111
|
const icon = rtl ? ICONS.backRight : ICONS.backLeft;
|
|
@@ -200,12 +199,8 @@ export class CalcitePanel {
|
|
|
200
199
|
h("slot", { name: SLOTS.fab })));
|
|
201
200
|
}
|
|
202
201
|
render() {
|
|
203
|
-
const { dismissed, disabled, dismissible,
|
|
204
|
-
const
|
|
205
|
-
const panelNode = (h("article", { "aria-busy": loading.toString(), class: {
|
|
206
|
-
[CSS.container]: true,
|
|
207
|
-
[CSS_UTILITY.rtl]: rtl
|
|
208
|
-
}, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 },
|
|
202
|
+
const { dismissed, disabled, dismissible, loading, panelKeyDownHandler } = this;
|
|
203
|
+
const panelNode = (h("article", { "aria-busy": loading.toString(), class: CSS.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 },
|
|
209
204
|
this.renderHeaderNode(),
|
|
210
205
|
this.renderContent(),
|
|
211
206
|
this.renderFooterSlottedContent() || this.renderFooterActions()));
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -15,14 +15,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
15
15
|
};
|
|
16
16
|
import { h, Host } from "@stencil/core";
|
|
17
17
|
import { CSS, SLOTS } from "./resources";
|
|
18
|
-
import { getElementDir } from "../../utils/dom";
|
|
19
18
|
export const List = (_a) => {
|
|
20
|
-
var { props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder,
|
|
19
|
+
var { props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl } } = _a, rest = __rest(_a, ["props"]);
|
|
21
20
|
const defaultSlot = h("slot", null);
|
|
22
21
|
return (h(Host, Object.assign({ "aria-busy": loading.toString(), "aria-disabled": disabled.toString(), role: "menu" }, rest),
|
|
23
22
|
h("section", null,
|
|
24
23
|
h("header", { class: { [CSS.sticky]: true } },
|
|
25
|
-
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder,
|
|
24
|
+
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
26
25
|
h("slot", { name: SLOTS.menuActions })),
|
|
27
26
|
loading || disabled ? h("calcite-scrim", { loading: loading }) : null,
|
|
28
27
|
defaultSlot)));
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -155,10 +159,5 @@ h3.heading {
|
|
|
155
159
|
}
|
|
156
160
|
|
|
157
161
|
.container--indented {
|
|
158
|
-
margin-
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.calcite--rtl.container--indented {
|
|
162
|
-
margin-left: 0;
|
|
163
|
-
margin-right: 1.5rem;
|
|
162
|
+
margin-inline-start: 1.5rem;
|
|
164
163
|
}
|
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Prop, h, Fragment } from "@stencil/core";
|
|
6
6
|
import { CSS, SLOTS } from "./resources";
|
|
7
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
8
7
|
import { HEADING_LEVEL } from "./resources";
|
|
9
|
-
import {
|
|
8
|
+
import { getSlotted } from "../../utils/dom";
|
|
10
9
|
import { CalciteHeading, constrainHeadingLevel } from "../functional/CalciteHeading";
|
|
11
10
|
/**
|
|
12
11
|
* @slot - A slot for adding `calcite-pick-list-item` elements.
|
|
@@ -20,12 +19,10 @@ export class CalcitePickListGroup {
|
|
|
20
19
|
render() {
|
|
21
20
|
var _a;
|
|
22
21
|
const { el, groupTitle, headingLevel } = this;
|
|
23
|
-
const rtl = getElementDir(el) === "rtl";
|
|
24
22
|
const hasParentItem = getSlotted(el, SLOTS.parentItem) !== null;
|
|
25
23
|
const sectionClasses = {
|
|
26
24
|
[CSS.container]: true,
|
|
27
|
-
[CSS.indented]: hasParentItem
|
|
28
|
-
[CSS_UTILITY.rtl]: rtl
|
|
25
|
+
[CSS.indented]: hasParentItem
|
|
29
26
|
};
|
|
30
27
|
const title = groupTitle;
|
|
31
28
|
const parentLevel = (_a = el.closest("calcite-pick-list")) === null || _a === void 0 ? void 0 : _a.headingLevel;
|
|
@@ -49,13 +49,17 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
:root {
|
|
52
|
-
--calcite-animation-timing:
|
|
52
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
53
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
55
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
56
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
53
57
|
}
|
|
54
58
|
|
|
55
59
|
.calcite-animate {
|
|
56
60
|
opacity: 0;
|
|
57
61
|
animation-fill-mode: both;
|
|
58
|
-
animation-duration: var(--calcite-animation-timing);
|
|
62
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
.calcite-animate__in {
|
|
@@ -210,10 +214,5 @@
|
|
|
210
214
|
}
|
|
211
215
|
|
|
212
216
|
.actions--start ~ .label {
|
|
213
|
-
padding-
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.calcite--rtl .actions--start ~ .label {
|
|
217
|
-
padding-left: unset;
|
|
218
|
-
padding-right: 0.25rem;
|
|
217
|
+
padding-inline-start: 0.25rem;
|
|
219
218
|
}
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -231,10 +235,6 @@
|
|
|
231
235
|
width: 100%;
|
|
232
236
|
}
|
|
233
237
|
|
|
234
|
-
.calcite--rtl .close-button {
|
|
235
|
-
border-radius: 0.25rem 0 0 0.25rem;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
238
|
::slotted(calcite-panel),
|
|
239
239
|
::slotted(calcite-flow) {
|
|
240
240
|
height: 100%;
|
|
@@ -6,8 +6,7 @@ import { Component, Element, Event, forceUpdate, Host, Method, Prop, State, Watc
|
|
|
6
6
|
import { CSS, ARIA_CONTROLS, ARIA_EXPANDED, HEADING_LEVEL, POPOVER_REFERENCE, TEXT } from "./resources";
|
|
7
7
|
import { defaultOffsetDistance, createPopper, updatePopper, CSS as PopperCSS } from "../../utils/popper";
|
|
8
8
|
import { guid } from "../../utils/guid";
|
|
9
|
-
import {
|
|
10
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
9
|
+
import { queryElementRoots } from "../../utils/dom";
|
|
11
10
|
import { CalciteHeading } from "../functional/CalciteHeading";
|
|
12
11
|
/**
|
|
13
12
|
* @slot - A slot for adding custom content.
|
|
@@ -253,14 +252,12 @@ export class CalcitePopover {
|
|
|
253
252
|
this.renderCloseButton())) : null;
|
|
254
253
|
}
|
|
255
254
|
render() {
|
|
256
|
-
const { effectiveReferenceElement,
|
|
257
|
-
const rtl = getElementDir(el) === "rtl";
|
|
255
|
+
const { effectiveReferenceElement, heading, label, open, disablePointer } = this;
|
|
258
256
|
const displayed = effectiveReferenceElement && open;
|
|
259
257
|
const hidden = !displayed;
|
|
260
258
|
const arrowNode = !disablePointer ? (h("div", { class: CSS.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) })) : null;
|
|
261
259
|
return (h(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" },
|
|
262
260
|
h("div", { class: {
|
|
263
|
-
[CSS_UTILITY.rtl]: rtl,
|
|
264
261
|
[PopperCSS.animation]: true,
|
|
265
262
|
[PopperCSS.animationActive]: displayed
|
|
266
263
|
}, onTransitionEnd: this.transitionEnd },
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -95,10 +99,79 @@
|
|
|
95
99
|
outline-offset: 2px;
|
|
96
100
|
}
|
|
97
101
|
|
|
102
|
+
:host .radio {
|
|
103
|
+
background-color: var(--calcite-ui-foreground-1);
|
|
104
|
+
border-radius: 9999px;
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
transition-property: all;
|
|
107
|
+
transition-duration: 150ms;
|
|
108
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
109
|
+
box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:host([hovered]) .radio,
|
|
113
|
+
:host(:not([checked])[focused]) .radio {
|
|
114
|
+
box-shadow: inset 0 0 0 2px var(--calcite-ui-brand);
|
|
115
|
+
}
|
|
116
|
+
|
|
98
117
|
:host([disabled]) {
|
|
99
118
|
cursor: pointer;
|
|
100
119
|
}
|
|
101
120
|
|
|
121
|
+
:host([disabled]) .radio {
|
|
122
|
+
cursor: default;
|
|
123
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host([hovered][disabled]) .radio {
|
|
127
|
+
box-shadow: inset 0 0 0 1px var(--calcite-ui-border-input);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
:host([scale=s]) {
|
|
131
|
+
--calcite-radio-size: var(--calcite-font-size--2);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
:host([scale=m]) {
|
|
135
|
+
--calcite-radio-size: var(--calcite-font-size--1);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host([scale=l]) {
|
|
139
|
+
--calcite-radio-size: var(--calcite-font-size-0);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.radio {
|
|
143
|
+
height: var(--calcite-radio-size);
|
|
144
|
+
max-width: var(--calcite-radio-size);
|
|
145
|
+
min-width: var(--calcite-radio-size);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host([scale=s][checked]) .radio,
|
|
149
|
+
:host([hovered][scale=s][checked][disabled]) .radio {
|
|
150
|
+
box-shadow: inset 0 0 0 4px var(--calcite-ui-brand);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([scale=s][focused][checked]) .radio {
|
|
154
|
+
box-shadow: inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:host([scale=m][checked]) .radio,
|
|
158
|
+
:host([hovered][scale=m][checked][disabled]) .radio {
|
|
159
|
+
box-shadow: inset 0 0 0 5px var(--calcite-ui-brand);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
:host([scale=m][focused][checked]) .radio {
|
|
163
|
+
box-shadow: inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
:host([scale=l][checked]) .radio,
|
|
167
|
+
:host([hovered][scale=l][checked][disabled]) .radio {
|
|
168
|
+
box-shadow: inset 0 0 0 6px var(--calcite-ui-brand);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
:host([scale=l][focused][checked]) .radio {
|
|
172
|
+
box-shadow: inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);
|
|
173
|
+
}
|
|
174
|
+
|
|
102
175
|
::slotted(input[slot=hidden-form-input]) {
|
|
103
176
|
bottom: 0 !important;
|
|
104
177
|
left: 0 !important;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, Watch } from "@stencil/core";
|
|
6
6
|
import { guid } from "../../utils/guid";
|
|
7
|
-
import { focusElement,
|
|
7
|
+
import { focusElement, getElementDir } from "../../utils/dom";
|
|
8
8
|
import { connectLabel, disconnectLabel, getLabelText } from "../../utils/label";
|
|
9
9
|
import { HiddenFormInputSlot, connectForm, disconnectForm } from "../../utils/form";
|
|
10
10
|
import { CSS } from "./resources";
|
|
@@ -78,7 +78,7 @@ export class CalciteRadioButton {
|
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
80
|
let adjustedKey = key;
|
|
81
|
-
if (
|
|
81
|
+
if (getElementDir(el) === "rtl") {
|
|
82
82
|
if (key === "ArrowRight") {
|
|
83
83
|
adjustedKey = "ArrowLeft";
|
|
84
84
|
}
|
|
@@ -234,7 +234,7 @@ export class CalciteRadioButton {
|
|
|
234
234
|
render() {
|
|
235
235
|
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown },
|
|
236
236
|
h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: CSS.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: this.checked || this.isDefaultSelectable() ? 0 : -1 },
|
|
237
|
-
h("
|
|
237
|
+
h("div", { class: "radio" })),
|
|
238
238
|
h(HiddenFormInputSlot, { component: this })));
|
|
239
239
|
}
|
|
240
240
|
static get is() { return "calcite-radio-button"; }
|
package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css
CHANGED
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Event, h, Listen, Element, Prop, Watch, Host, Build, Method } from "@stencil/core";
|
|
6
|
-
import {
|
|
6
|
+
import { getElementDir } from "../../utils/dom";
|
|
7
7
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
8
8
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
9
9
|
/**
|
|
@@ -108,7 +108,7 @@ export class CalciteRadioGroup {
|
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
let adjustedKey = key;
|
|
111
|
-
if (
|
|
111
|
+
if (getElementDir(el) === "rtl") {
|
|
112
112
|
if (key === "ArrowRight") {
|
|
113
113
|
adjustedKey = "ArrowLeft";
|
|
114
114
|
}
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import { Component, h, Prop, Element, Event, Host, Watch
|
|
6
|
-
import {
|
|
5
|
+
import { Component, h, Prop, Element, Event, Host, Watch } from "@stencil/core";
|
|
6
|
+
import { getElementProp } from "../../utils/dom";
|
|
7
7
|
import { SLOTS, CSS } from "./resources";
|
|
8
8
|
import { createObserver } from "../../utils/observers";
|
|
9
9
|
export class CalciteRadioGroupItem {
|
|
@@ -44,19 +44,12 @@ export class CalciteRadioGroupItem {
|
|
|
44
44
|
var _a;
|
|
45
45
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
46
46
|
}
|
|
47
|
-
componentWillLoad() {
|
|
48
|
-
// only use default slot content in browsers that support shadow dom
|
|
49
|
-
// or if ie11 has no label provided (#374)
|
|
50
|
-
const label = this.el.querySelector("label");
|
|
51
|
-
this.useFallback = !label || label.textContent === "";
|
|
52
|
-
}
|
|
53
47
|
render() {
|
|
54
|
-
const { checked,
|
|
55
|
-
const dir = getElementDir(this.el);
|
|
48
|
+
const { checked, value } = this;
|
|
56
49
|
const scale = getElementProp(this.el, "scale", "m");
|
|
57
50
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
58
51
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
59
|
-
const iconEl = (h("calcite-icon", { class: CSS.radioGroupItemIcon,
|
|
52
|
+
const iconEl = (h("calcite-icon", { class: CSS.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
60
53
|
return (h(Host, { "aria-checked": checked.toString(), role: "radio" },
|
|
61
54
|
h("label", { class: {
|
|
62
55
|
"label--scale-s": scale === "s",
|
|
@@ -66,7 +59,7 @@ export class CalciteRadioGroupItem {
|
|
|
66
59
|
"label--outline": appearance === "outline"
|
|
67
60
|
} },
|
|
68
61
|
this.icon && this.iconPosition === "start" ? iconEl : null,
|
|
69
|
-
h("slot", null,
|
|
62
|
+
h("slot", null, value),
|
|
70
63
|
h("slot", { name: SLOTS.input }),
|
|
71
64
|
this.icon && this.iconPosition === "end" ? iconEl : null)));
|
|
72
65
|
}
|
|
@@ -196,9 +189,6 @@ export class CalciteRadioGroupItem {
|
|
|
196
189
|
"reflect": false
|
|
197
190
|
}
|
|
198
191
|
}; }
|
|
199
|
-
static get states() { return {
|
|
200
|
-
"useFallback": {}
|
|
201
|
-
}; }
|
|
202
192
|
static get events() { return [{
|
|
203
193
|
"method": "calciteRadioGroupItemChange",
|
|
204
194
|
"name": "calciteRadioGroupItemChange",
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|
|
@@ -133,12 +137,7 @@
|
|
|
133
137
|
|
|
134
138
|
.wrapper {
|
|
135
139
|
display: inline-block;
|
|
136
|
-
margin-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.calcite--rtl .wrapper {
|
|
140
|
-
margin-right: 0;
|
|
141
|
-
margin-left: var(--calcite-rating-spacing-unit);
|
|
140
|
+
margin-inline-end: var(--calcite-rating-spacing-unit);
|
|
142
141
|
}
|
|
143
142
|
|
|
144
143
|
.star {
|
|
@@ -183,13 +182,8 @@
|
|
|
183
182
|
overflow: hidden;
|
|
184
183
|
pointer-events: none;
|
|
185
184
|
top: 0;
|
|
186
|
-
left: 0;
|
|
187
185
|
transition: 150ms ease-in-out;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
.calcite--rtl .fraction {
|
|
191
|
-
right: 0;
|
|
192
|
-
left: auto;
|
|
186
|
+
inset-inline-start: 0;
|
|
193
187
|
}
|
|
194
188
|
|
|
195
189
|
calcite-chip {
|
|
@@ -207,12 +201,7 @@ calcite-chip {
|
|
|
207
201
|
}
|
|
208
202
|
|
|
209
203
|
.number--count:not(:first-child) {
|
|
210
|
-
margin-
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.calcite--rtl .number--count:not(:first-child) {
|
|
214
|
-
margin-left: 0;
|
|
215
|
-
margin-right: var(--calcite-rating-spacing-unit);
|
|
204
|
+
margin-inline-start: var(--calcite-rating-spacing-unit);
|
|
216
205
|
}
|
|
217
206
|
|
|
218
207
|
.visually-hidden {
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, Fragment, h, Listen, Method, Prop, State } from "@stencil/core";
|
|
6
|
-
import { getElementDir } from "../../utils/dom";
|
|
7
6
|
import { guid } from "../../utils/guid";
|
|
8
7
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
9
8
|
import { connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
10
9
|
import { TEXT } from "./resources";
|
|
11
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
12
10
|
export class CalciteRating {
|
|
13
11
|
constructor() {
|
|
14
12
|
// --------------------------------------------------------------------------
|
|
@@ -92,12 +90,11 @@ export class CalciteRating {
|
|
|
92
90
|
}
|
|
93
91
|
render() {
|
|
94
92
|
const { intlRating, showChip, scale, count, average } = this;
|
|
95
|
-
const dir = getElementDir(this.el);
|
|
96
93
|
return (h(Fragment, null,
|
|
97
|
-
h("fieldset", { class:
|
|
94
|
+
h("fieldset", { class: "fieldset", onBlur: () => (this.hoverValue = null), onMouseLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) },
|
|
98
95
|
h("legend", { class: "visually-hidden" }, intlRating),
|
|
99
96
|
this.renderStars()),
|
|
100
|
-
(count || average) && showChip ? (h("calcite-chip", {
|
|
97
|
+
(count || average) && showChip ? (h("calcite-chip", { scale: scale, value: count === null || count === void 0 ? void 0 : count.toString() },
|
|
101
98
|
!!average && h("span", { class: "number--average" }, average.toString()),
|
|
102
99
|
!!count && h("span", { class: "number--count" },
|
|
103
100
|
"(", count === null || count === void 0 ? void 0 :
|
|
@@ -47,13 +47,17 @@
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:root {
|
|
50
|
-
--calcite-animation-timing:
|
|
50
|
+
--calcite-internal-animation-timing-factor: var(--calcite-animation-timing-factor, 1);
|
|
51
|
+
--calcite-internal-animation-timing: calc(150ms * var(--calcite-internal-animation-timing-factor));
|
|
52
|
+
--calcite-internal-animation-timing-quick: calc(100ms * var(--calcite-internal-animation-timing-factor));
|
|
53
|
+
--calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-animation-timing-factor));
|
|
54
|
+
--calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-animation-timing-factor));
|
|
51
55
|
}
|
|
52
56
|
|
|
53
57
|
.calcite-animate {
|
|
54
58
|
opacity: 0;
|
|
55
59
|
animation-fill-mode: both;
|
|
56
|
-
animation-duration: var(--calcite-animation-timing);
|
|
60
|
+
animation-duration: var(--calcite-internal-animation-timing);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.calcite-animate__in {
|