@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
|
@@ -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 {
|
|
@@ -86,6 +90,46 @@
|
|
|
86
90
|
display: none;
|
|
87
91
|
}
|
|
88
92
|
|
|
93
|
+
.scale--s {
|
|
94
|
+
--calcite-slider-handle-size: 10px;
|
|
95
|
+
--calcite-slider-handle-extension-height: 6.5px;
|
|
96
|
+
--calcite-slider-container-font-size: var(--calcite-font-size--3);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.scale--s .handle__label,
|
|
100
|
+
.scale--s .tick__label {
|
|
101
|
+
line-height: .75rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.scale--m {
|
|
105
|
+
--calcite-slider-handle-size: 14px;
|
|
106
|
+
--calcite-slider-handle-extension-height: 8px;
|
|
107
|
+
--calcite-slider-container-font-size: var(--calcite-font-size--2);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.scale--m .handle__label,
|
|
111
|
+
.scale--m .tick__label {
|
|
112
|
+
line-height: 1rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.scale--l {
|
|
116
|
+
--calcite-slider-handle-size: 16px;
|
|
117
|
+
--calcite-slider-handle-extension-height: 10.5px;
|
|
118
|
+
--calcite-slider-container-font-size: var(--calcite-font-size--1);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.scale--l .handle__label,
|
|
122
|
+
.scale--l .tick__label {
|
|
123
|
+
line-height: 1rem;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.handle__label,
|
|
127
|
+
.tick__label {
|
|
128
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
129
|
+
color: var(--calcite-ui-text-2);
|
|
130
|
+
font-size: var(--calcite-slider-container-font-size);
|
|
131
|
+
}
|
|
132
|
+
|
|
89
133
|
:host {
|
|
90
134
|
display: block;
|
|
91
135
|
}
|
|
@@ -93,8 +137,11 @@
|
|
|
93
137
|
.container {
|
|
94
138
|
display: block;
|
|
95
139
|
position: relative;
|
|
96
|
-
padding:
|
|
97
|
-
margin:
|
|
140
|
+
padding: calc(var(--calcite-slider-handle-size) * 0.5);
|
|
141
|
+
margin: calc(var(--calcite-slider-handle-size) * 0.5) 0;
|
|
142
|
+
--calcite-slider-full-handle-height: calc(
|
|
143
|
+
var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)
|
|
144
|
+
);
|
|
98
145
|
}
|
|
99
146
|
|
|
100
147
|
:host([disabled]) {
|
|
@@ -107,34 +154,29 @@
|
|
|
107
154
|
background-color: var(--calcite-ui-text-3);
|
|
108
155
|
}
|
|
109
156
|
|
|
110
|
-
:
|
|
111
|
-
|
|
157
|
+
.scale--s .thumb:not(.thumb--precise) {
|
|
158
|
+
--calcite-slider-thumb-y-offset: -6px;
|
|
112
159
|
}
|
|
113
160
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* with text elements to prevent overlap
|
|
117
|
-
*/
|
|
118
|
-
|
|
119
|
-
:host([label-handles]) .container,
|
|
120
|
-
:host([precise]:not([precise=false])) .container {
|
|
121
|
-
margin-top: 21px;
|
|
161
|
+
.scale--m .thumb:not(.thumb--precise) {
|
|
162
|
+
--calcite-slider-thumb-y-offset: -8px;
|
|
122
163
|
}
|
|
123
164
|
|
|
124
|
-
:
|
|
125
|
-
:
|
|
126
|
-
margin-bottom: 21px;
|
|
165
|
+
.scale--l .thumb:not(.thumb--precise) {
|
|
166
|
+
--calcite-slider-thumb-y-offset: -9px;
|
|
127
167
|
}
|
|
128
168
|
|
|
129
|
-
:host([precise]:not([
|
|
130
|
-
|
|
169
|
+
:host([precise]:not([has-histogram])) .container .thumb--value {
|
|
170
|
+
--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1);
|
|
131
171
|
}
|
|
132
172
|
|
|
133
|
-
|
|
134
|
-
|
|
173
|
+
.thumb-container {
|
|
174
|
+
max-width: 100%;
|
|
175
|
+
position: relative;
|
|
135
176
|
}
|
|
136
177
|
|
|
137
178
|
.thumb {
|
|
179
|
+
--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * 0.5);
|
|
138
180
|
position: absolute;
|
|
139
181
|
border-style: none;
|
|
140
182
|
background-color: transparent;
|
|
@@ -147,16 +189,7 @@
|
|
|
147
189
|
flex-direction: column;
|
|
148
190
|
align-items: center;
|
|
149
191
|
font-family: inherit;
|
|
150
|
-
|
|
151
|
-
transform: translate(7px, -8px);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.thumb .handle__label {
|
|
155
|
-
font-size: var(--calcite-font-size--2);
|
|
156
|
-
font-weight: 500;
|
|
157
|
-
line-height: 1;
|
|
158
|
-
color: var(--calcite-ui-text-2);
|
|
159
|
-
margin-bottom: 5px;
|
|
192
|
+
transform: translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));
|
|
160
193
|
}
|
|
161
194
|
|
|
162
195
|
.thumb .handle__label.static, .thumb .handle__label.transformed {
|
|
@@ -176,18 +209,18 @@
|
|
|
176
209
|
outline-offset: 0;
|
|
177
210
|
outline-color: transparent;
|
|
178
211
|
transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;
|
|
179
|
-
height: 14px;
|
|
180
|
-
width: 14px;
|
|
181
212
|
box-sizing: border-box;
|
|
182
|
-
border-radius:
|
|
213
|
+
border-radius: 9999px;
|
|
183
214
|
background-color: var(--calcite-ui-foreground-1);
|
|
215
|
+
height: var(--calcite-slider-handle-size);
|
|
216
|
+
width: var(--calcite-slider-handle-size);
|
|
184
217
|
box-shadow: 0 0 0 2px var(--calcite-ui-text-3) inset;
|
|
185
218
|
transition: border 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
|
|
186
219
|
}
|
|
187
220
|
|
|
188
221
|
.thumb .handle-extension {
|
|
189
|
-
width:
|
|
190
|
-
height:
|
|
222
|
+
width: 0.125rem;
|
|
223
|
+
height: var(--calcite-slider-handle-extension-height);
|
|
191
224
|
background-color: var(--calcite-ui-text-3);
|
|
192
225
|
}
|
|
193
226
|
|
|
@@ -202,112 +235,56 @@
|
|
|
202
235
|
.thumb:focus .handle {
|
|
203
236
|
outline: 2px solid var(--calcite-ui-brand);
|
|
204
237
|
outline-offset: 2px;
|
|
205
|
-
outline-offset: 2px;
|
|
206
238
|
}
|
|
207
239
|
|
|
208
240
|
.thumb:focus .handle-extension {
|
|
209
241
|
background-color: var(--calcite-ui-brand);
|
|
210
242
|
}
|
|
211
243
|
|
|
212
|
-
.thumb--minValue {
|
|
213
|
-
transform: translate(-
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/* uncomment for helpful debugging UI */
|
|
217
|
-
|
|
218
|
-
:host([label-handles]) .thumb {
|
|
219
|
-
transform: translate(50%, -25px);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
:host([label-handles]) .thumb--minValue {
|
|
223
|
-
transform: translate(-50%, -25px);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
:host([has-histogram][label-handles]) .thumb {
|
|
227
|
-
transform: translate(50%, -8px);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
:host([has-histogram][label-handles]) .thumb .handle__label {
|
|
231
|
-
margin-bottom: unset;
|
|
232
|
-
margin-top: 5px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
:host([has-histogram][label-handles]) .thumb--minValue {
|
|
236
|
-
transform: translate(-50%, -8px);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
:host([precise]:not([precise=false])) .thumb {
|
|
240
|
-
transform: translate(7px, -21px);
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
:host([precise]:not([precise=false])) .thumb--minValue {
|
|
244
|
-
transform: translate(-7px, -2px);
|
|
244
|
+
.thumb.thumb--minValue {
|
|
245
|
+
transform: translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));
|
|
245
246
|
}
|
|
246
247
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
margin-top: 5px;
|
|
248
|
+
.thumb.thumb--precise {
|
|
249
|
+
--calcite-slider-thumb-y-offset: -2px;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
:host([
|
|
253
|
-
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
:host([has-histogram][precise]:not([precise=false])) .thumb--minValue {
|
|
257
|
-
transform: translate(-50%, -2px);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
:host([ticks][precise]:not([precise=false])) .thumb {
|
|
261
|
-
transform: translate(7px, -20px);
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
:host([ticks][precise]:not([precise=false])) .thumb--minValue {
|
|
265
|
-
transform: translate(-7px, -3px);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
:host([has-histogram][ticks][precise]:not([precise=false])) .thumb {
|
|
269
|
-
transform: translate(7px, -3px);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
:host([has-histogram][ticks][precise]:not([precise=false])) .thumb--minValue {
|
|
273
|
-
transform: translate(-50%, -3px);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
:host([label-handles][precise]:not([precise=false])) .thumb {
|
|
277
|
-
transform: translate(50%, -38px);
|
|
252
|
+
:host([label-handles]) .thumb {
|
|
253
|
+
--calcite-slider-thumb-x-offset: 50%;
|
|
278
254
|
}
|
|
279
255
|
|
|
280
|
-
:host([label-handles]
|
|
281
|
-
|
|
256
|
+
:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise) {
|
|
257
|
+
--calcite-slider-thumb-y-offset: -23px;
|
|
282
258
|
}
|
|
283
259
|
|
|
284
|
-
:host([
|
|
285
|
-
|
|
260
|
+
:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise) {
|
|
261
|
+
--calcite-slider-thumb-y-offset: -30px;
|
|
286
262
|
}
|
|
287
263
|
|
|
288
|
-
:host([
|
|
289
|
-
|
|
264
|
+
:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise) {
|
|
265
|
+
--calcite-slider-thumb-y-offset: -32px;
|
|
290
266
|
}
|
|
291
267
|
|
|
292
|
-
:host([
|
|
293
|
-
|
|
268
|
+
:host([has-histogram][label-handles]) .handle__label,
|
|
269
|
+
:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label {
|
|
270
|
+
margin-top: 0.5em;
|
|
294
271
|
}
|
|
295
272
|
|
|
296
|
-
:host([
|
|
297
|
-
|
|
273
|
+
:host(:not([has-histogram]):not([precise])) .handle__label,
|
|
274
|
+
:host([label-handles]:not([has-histogram])) .thumb--value .handle__label {
|
|
275
|
+
margin-bottom: 0.5em;
|
|
298
276
|
}
|
|
299
277
|
|
|
300
|
-
:host([
|
|
301
|
-
|
|
278
|
+
:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value {
|
|
279
|
+
--calcite-slider-thumb-y-offset: -33px;
|
|
302
280
|
}
|
|
303
281
|
|
|
304
|
-
:host([
|
|
305
|
-
|
|
282
|
+
:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value {
|
|
283
|
+
--calcite-slider-thumb-y-offset: -44px;
|
|
306
284
|
}
|
|
307
285
|
|
|
308
|
-
.thumb
|
|
309
|
-
|
|
310
|
-
z-index: 3;
|
|
286
|
+
:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value {
|
|
287
|
+
--calcite-slider-thumb-y-offset: -49px;
|
|
311
288
|
}
|
|
312
289
|
|
|
313
290
|
.thumb:focus .handle,
|
|
@@ -323,18 +300,17 @@
|
|
|
323
300
|
}
|
|
324
301
|
|
|
325
302
|
.track {
|
|
326
|
-
height:
|
|
303
|
+
height: 0.125rem;
|
|
327
304
|
border-radius: 0;
|
|
328
|
-
|
|
305
|
+
position: relative;
|
|
329
306
|
background-color: var(--calcite-ui-border-2);
|
|
330
307
|
transition: all 250ms ease-in;
|
|
331
|
-
position: relative;
|
|
332
308
|
}
|
|
333
309
|
|
|
334
310
|
.track__range {
|
|
335
311
|
position: absolute;
|
|
336
312
|
top: 0;
|
|
337
|
-
height:
|
|
313
|
+
height: 0.125rem;
|
|
338
314
|
background-color: var(--calcite-ui-brand);
|
|
339
315
|
}
|
|
340
316
|
|
|
@@ -343,23 +319,24 @@
|
|
|
343
319
|
}
|
|
344
320
|
|
|
345
321
|
.container--range .track__range:after {
|
|
346
|
-
content: "";
|
|
347
322
|
position: absolute;
|
|
348
|
-
top: -5px;
|
|
349
323
|
width: 100%;
|
|
350
|
-
|
|
324
|
+
content: "";
|
|
325
|
+
top: calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);
|
|
326
|
+
height: calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height));
|
|
351
327
|
}
|
|
352
328
|
|
|
353
329
|
.tick {
|
|
354
330
|
position: absolute;
|
|
331
|
+
width: 0.125rem;
|
|
332
|
+
height: 0.25rem;
|
|
333
|
+
border-width: 1px;
|
|
334
|
+
border-style: solid;
|
|
335
|
+
background-color: var(--calcite-ui-border-input);
|
|
336
|
+
border-color: var(--calcite-ui-foreground-1);
|
|
355
337
|
top: -2px;
|
|
356
|
-
width: 2px;
|
|
357
|
-
height: 4px;
|
|
358
|
-
left: var(--calcite-ui-border-1-offset);
|
|
359
|
-
margin-left: -2px;
|
|
360
|
-
border: 1px solid var(--calcite-ui-foreground-1);
|
|
361
|
-
background-color: var(--calcite-ui-border-1);
|
|
362
338
|
pointer-events: none;
|
|
339
|
+
margin-inline-start: calc(-1 * 0.125rem);
|
|
363
340
|
}
|
|
364
341
|
|
|
365
342
|
.tick--active {
|
|
@@ -367,43 +344,25 @@
|
|
|
367
344
|
}
|
|
368
345
|
|
|
369
346
|
.tick__label {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
font-weight: 500;
|
|
373
|
-
color: var(--calcite-ui-text-2);
|
|
374
|
-
width: 4em;
|
|
375
|
-
margin: 14px -2em;
|
|
376
|
-
text-align: center;
|
|
377
|
-
display: block;
|
|
347
|
+
display: flex;
|
|
348
|
+
justify-content: center;
|
|
378
349
|
pointer-events: none;
|
|
350
|
+
margin-top: 0.875rem;
|
|
379
351
|
}
|
|
380
352
|
|
|
381
353
|
.tick__label--min {
|
|
382
|
-
left: 0;
|
|
383
|
-
margin: 14px -3px;
|
|
384
|
-
text-align: left;
|
|
385
354
|
transition: opacity 150ms;
|
|
386
355
|
}
|
|
387
356
|
|
|
388
357
|
.tick__label--max {
|
|
389
|
-
left: unset;
|
|
390
|
-
right: 0;
|
|
391
|
-
margin: 14px -3px;
|
|
392
|
-
text-align: right;
|
|
393
358
|
transition: opacity 50ms;
|
|
394
359
|
}
|
|
395
360
|
|
|
396
361
|
:host([has-histogram][label-handles]) .tick__label--min,
|
|
397
|
-
:host([has-histogram][label-handles]) .tick__label--max
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
:host([has-histogram][precise]:not([precise=false])) .tick__label--min,
|
|
404
|
-
:host([has-histogram][precise]:not([precise=false])) .tick__label--max {
|
|
405
|
-
margin: 6px -3px;
|
|
406
|
-
font-weight: 300;
|
|
362
|
+
:host([has-histogram][label-handles]) .tick__label--max,
|
|
363
|
+
:host([has-histogram][precise]) .tick__label--min,
|
|
364
|
+
:host([has-histogram][precise]) .tick__label--max {
|
|
365
|
+
font-weight: var(--calcite-font-weight-normal);
|
|
407
366
|
color: var(--calcite-ui-text-3);
|
|
408
367
|
}
|
|
409
368
|
|
|
@@ -411,16 +370,40 @@
|
|
|
411
370
|
color: var(--calcite-ui-foreground-3);
|
|
412
371
|
}
|
|
413
372
|
|
|
414
|
-
:host([
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
373
|
+
:host([label-ticks][ticks]) .container {
|
|
374
|
+
padding-bottom: calc(0.875rem + var(--calcite-slider-container-font-size));
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
:host([has-histogram]):host([precise][label-handles]) .container {
|
|
378
|
+
padding-bottom: calc(var(--calcite-slider-full-handle-height) + 1em);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
:host([has-histogram]):host([label-handles]:not([precise])) .container {
|
|
382
|
+
padding-bottom: calc(var(--calcite-slider-handle-size) * 0.5 + 1em);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
:host([has-histogram]):host([precise]:not([label-handles])) .container {
|
|
386
|
+
padding-bottom: var(--calcite-slider-full-handle-height);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
:host(:not([has-histogram])):host([precise]:not([label-handles])) .container {
|
|
390
|
+
padding-top: var(--calcite-slider-full-handle-height);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range {
|
|
394
|
+
padding-bottom: var(--calcite-slider-full-handle-height);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
:host(:not([has-histogram])):host([label-handles]:not([precise])) .container {
|
|
398
|
+
padding-top: calc(var(--calcite-slider-full-handle-height) + 4px);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
:host(:not([has-histogram])):host([label-handles][precise]) .container {
|
|
402
|
+
padding-top: calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);
|
|
418
403
|
}
|
|
419
404
|
|
|
420
|
-
:host(
|
|
421
|
-
|
|
422
|
-
left: 0;
|
|
423
|
-
text-align: left;
|
|
405
|
+
:host(:not([has-histogram])):host([label-handles][precise]) .container--range {
|
|
406
|
+
padding-bottom: calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px);
|
|
424
407
|
}
|
|
425
408
|
|
|
426
409
|
::slotted(input[slot=hidden-form-input]) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, State, Watch } from "@stencil/core";
|
|
6
6
|
import { guid } from "../../utils/guid";
|
|
7
7
|
import { intersects } from "../../utils/dom";
|
|
8
|
-
import { clamp } from "../../utils/math";
|
|
8
|
+
import { clamp, decimalPlaces } from "../../utils/math";
|
|
9
9
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
10
10
|
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
11
11
|
export class CalciteSlider {
|
|
@@ -45,6 +45,10 @@ export class CalciteSlider {
|
|
|
45
45
|
this.step = 1;
|
|
46
46
|
/** Currently selected number (if single select) */
|
|
47
47
|
this.value = null;
|
|
48
|
+
/**
|
|
49
|
+
* Specify the scale of the slider, defaults to m
|
|
50
|
+
*/
|
|
51
|
+
this.scale = "m";
|
|
48
52
|
this.guid = `calcite-slider-${guid()}`;
|
|
49
53
|
this.isRange = false;
|
|
50
54
|
this.activeProp = "value";
|
|
@@ -259,7 +263,11 @@ export class CalciteSlider {
|
|
|
259
263
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue static" }, this.minValue && this.minValue.toLocaleString()),
|
|
260
264
|
h("span", { "aria-hidden": "true", class: "handle__label handle__label--minValue transformed" }, this.minValue && this.minValue.toLocaleString())));
|
|
261
265
|
return (h(Host, { id: id, onTouchStart: this.handleTouchStart },
|
|
262
|
-
h("div", { class: {
|
|
266
|
+
h("div", { class: {
|
|
267
|
+
["container"]: true,
|
|
268
|
+
["container--range"]: this.isRange,
|
|
269
|
+
[`scale--${this.scale}`]: true
|
|
270
|
+
} },
|
|
263
271
|
this.renderGraph(),
|
|
264
272
|
h("div", { class: "track", ref: this.storeTrackRef },
|
|
265
273
|
h("div", { class: "track__range", onPointerDown: () => this.dragStart("minMaxValue"), style: {
|
|
@@ -280,27 +288,31 @@ export class CalciteSlider {
|
|
|
280
288
|
right: mirror ? tickOffset : ""
|
|
281
289
|
} }, this.renderTickLabel(tick)));
|
|
282
290
|
}))),
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
!this.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
291
|
+
h("div", { class: "thumb-container" },
|
|
292
|
+
!this.precise && !this.labelHandles && this.isRange && minHandle,
|
|
293
|
+
!this.hasHistogram &&
|
|
294
|
+
!this.precise &&
|
|
295
|
+
this.labelHandles &&
|
|
296
|
+
this.isRange &&
|
|
297
|
+
minLabeledHandle,
|
|
298
|
+
this.precise && !this.labelHandles && this.isRange && minPreciseHandle,
|
|
299
|
+
this.precise && this.labelHandles && this.isRange && minLabeledPreciseHandle,
|
|
300
|
+
this.hasHistogram &&
|
|
301
|
+
!this.precise &&
|
|
302
|
+
this.labelHandles &&
|
|
303
|
+
this.isRange &&
|
|
304
|
+
minHistogramLabeledHandle,
|
|
305
|
+
!this.precise && !this.labelHandles && handle,
|
|
306
|
+
!this.hasHistogram && !this.precise && this.labelHandles && labeledHandle,
|
|
307
|
+
!this.hasHistogram && this.precise && !this.labelHandles && preciseHandle,
|
|
308
|
+
this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle,
|
|
309
|
+
!this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle,
|
|
310
|
+
this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle,
|
|
311
|
+
this.hasHistogram &&
|
|
312
|
+
this.precise &&
|
|
313
|
+
this.labelHandles &&
|
|
314
|
+
histogramLabeledPreciseHandle,
|
|
315
|
+
h(HiddenFormInputSlot, { component: this })))));
|
|
304
316
|
}
|
|
305
317
|
renderGraph() {
|
|
306
318
|
return this.histogram ? (h("div", { class: "graph" },
|
|
@@ -407,7 +419,8 @@ export class CalciteSlider {
|
|
|
407
419
|
return;
|
|
408
420
|
}
|
|
409
421
|
event.preventDefault();
|
|
410
|
-
|
|
422
|
+
const fixedDecimalAdjustment = Number(adjustment.toFixed(decimalPlaces(step)));
|
|
423
|
+
this.setValue(activeProp, this.clamp(fixedDecimalAdjustment, activeProp));
|
|
411
424
|
}
|
|
412
425
|
clickHandler(event) {
|
|
413
426
|
this.focusActiveHandle(event.clientX);
|
|
@@ -545,7 +558,8 @@ export class CalciteSlider {
|
|
|
545
558
|
const { left, width } = this.trackEl.getBoundingClientRect();
|
|
546
559
|
const percent = (x - left) / width;
|
|
547
560
|
const mirror = this.shouldMirror();
|
|
548
|
-
|
|
561
|
+
const clampedValue = this.clamp(this.min + range * (mirror ? 1 - percent : percent));
|
|
562
|
+
let value = Number(clampedValue.toFixed(decimalPlaces(this.step)));
|
|
549
563
|
if (this.snap && this.step) {
|
|
550
564
|
value = this.getClosestStep(value);
|
|
551
565
|
}
|
|
@@ -556,10 +570,10 @@ export class CalciteSlider {
|
|
|
556
570
|
* @internal
|
|
557
571
|
*/
|
|
558
572
|
getClosestStep(num) {
|
|
559
|
-
num = this.clamp(num);
|
|
573
|
+
num = Number(this.clamp(num).toFixed(decimalPlaces(this.step)));
|
|
560
574
|
if (this.step) {
|
|
561
575
|
const step = Math.round(num / this.step) * this.step;
|
|
562
|
-
num = this.clamp(step);
|
|
576
|
+
num = Number(this.clamp(step).toFixed(decimalPlaces(this.step)));
|
|
563
577
|
}
|
|
564
578
|
return num;
|
|
565
579
|
}
|
|
@@ -1141,6 +1155,29 @@ export class CalciteSlider {
|
|
|
1141
1155
|
"attribute": "value",
|
|
1142
1156
|
"reflect": true,
|
|
1143
1157
|
"defaultValue": "null"
|
|
1158
|
+
},
|
|
1159
|
+
"scale": {
|
|
1160
|
+
"type": "string",
|
|
1161
|
+
"mutable": false,
|
|
1162
|
+
"complexType": {
|
|
1163
|
+
"original": "Scale",
|
|
1164
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
1165
|
+
"references": {
|
|
1166
|
+
"Scale": {
|
|
1167
|
+
"location": "import",
|
|
1168
|
+
"path": "../interfaces"
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"required": false,
|
|
1173
|
+
"optional": false,
|
|
1174
|
+
"docs": {
|
|
1175
|
+
"tags": [],
|
|
1176
|
+
"text": "Specify the scale of the slider, defaults to m"
|
|
1177
|
+
},
|
|
1178
|
+
"attribute": "scale",
|
|
1179
|
+
"reflect": false,
|
|
1180
|
+
"defaultValue": "\"m\""
|
|
1144
1181
|
}
|
|
1145
1182
|
}; }
|
|
1146
1183
|
static get states() { return {
|
|
@@ -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 {
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Prop } from "@stencil/core";
|
|
6
6
|
import { CSS } from "./resources";
|
|
7
|
-
import { getElementDir } from "../../utils/dom";
|
|
8
7
|
/**
|
|
9
8
|
* @slot - A slot for adding `calcite-dropdown` content.
|
|
10
9
|
*/
|
|
@@ -36,7 +35,6 @@ export class CalciteSplitButton {
|
|
|
36
35
|
this.calciteSplitButtonSecondaryClickHandler = (e) => this.calciteSplitButtonSecondaryClick.emit(e);
|
|
37
36
|
}
|
|
38
37
|
render() {
|
|
39
|
-
const dir = getElementDir(this.el);
|
|
40
38
|
const widthClasses = {
|
|
41
39
|
[CSS.container]: true,
|
|
42
40
|
[CSS.widthAuto]: this.width === "auto",
|
|
@@ -44,12 +42,12 @@ export class CalciteSplitButton {
|
|
|
44
42
|
[CSS.widthFull]: this.width === "full"
|
|
45
43
|
};
|
|
46
44
|
const buttonWidth = this.width === "auto" ? "auto" : "full";
|
|
47
|
-
return (h("div", { class: widthClasses
|
|
48
|
-
h("calcite-button", { appearance: this.appearance, color: this.color,
|
|
45
|
+
return (h("div", { class: widthClasses },
|
|
46
|
+
h("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText),
|
|
49
47
|
h("div", { class: CSS.dividerContainer },
|
|
50
48
|
h("div", { class: CSS.divider })),
|
|
51
|
-
h("calcite-dropdown", { active: this.active,
|
|
52
|
-
h("calcite-button", { appearance: this.appearance, color: this.color,
|
|
49
|
+
h("calcite-dropdown", { active: this.active, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale },
|
|
50
|
+
h("calcite-button", { appearance: this.appearance, color: this.color, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }),
|
|
53
51
|
h("slot", null))));
|
|
54
52
|
}
|
|
55
53
|
get dropdownIcon() {
|