@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,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Prop, Host, Event, h, Listen } from "@stencil/core";
|
|
6
6
|
import { inRange, sameDate, dateFromRange } from "../../utils/date";
|
|
7
|
-
import { getElementDir } from "../../utils/dom";
|
|
8
7
|
export class CalciteDatePickerMonth {
|
|
9
8
|
constructor() {
|
|
10
9
|
/** Date currently active.*/
|
|
@@ -98,20 +97,19 @@ export class CalciteDatePickerMonth {
|
|
|
98
97
|
const curMonDays = this.getCurrentMonthDays(month, year);
|
|
99
98
|
const prevMonDays = this.getPrevMonthdays(month, year, startOfWeek);
|
|
100
99
|
const nextMonDays = this.getNextMonthDays(month, year, startOfWeek);
|
|
101
|
-
const dir = getElementDir(this.el);
|
|
102
100
|
const days = [
|
|
103
101
|
...prevMonDays.map((day) => {
|
|
104
102
|
const date = new Date(year, month - 1, day);
|
|
105
|
-
return this.renderDateDay(false, day,
|
|
103
|
+
return this.renderDateDay(false, day, date);
|
|
106
104
|
}),
|
|
107
105
|
...curMonDays.map((day) => {
|
|
108
106
|
const date = new Date(year, month, day);
|
|
109
107
|
const active = sameDate(date, this.activeDate);
|
|
110
|
-
return this.renderDateDay(active, day,
|
|
108
|
+
return this.renderDateDay(active, day, date, true, true);
|
|
111
109
|
}),
|
|
112
110
|
...nextMonDays.map((day) => {
|
|
113
111
|
const date = new Date(year, month + 1, day);
|
|
114
|
-
return this.renderDateDay(false, day,
|
|
112
|
+
return this.renderDateDay(false, day, date);
|
|
115
113
|
})
|
|
116
114
|
];
|
|
117
115
|
const weeks = [];
|
|
@@ -224,7 +222,7 @@ export class CalciteDatePickerMonth {
|
|
|
224
222
|
/**
|
|
225
223
|
* Render calcite-date-picker-day
|
|
226
224
|
*/
|
|
227
|
-
renderDateDay(active, day,
|
|
225
|
+
renderDateDay(active, day, date, currentMonth, ref) {
|
|
228
226
|
var _a;
|
|
229
227
|
const isFocusedOnStart = this.isFocusedOnStart();
|
|
230
228
|
const isHoverInRange = this.isHoverInRange() ||
|
|
@@ -234,7 +232,7 @@ export class CalciteDatePickerMonth {
|
|
|
234
232
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
235
233
|
"focused--start": isFocusedOnStart,
|
|
236
234
|
"focused--end": !isFocusedOnStart
|
|
237
|
-
}, currentMonth: currentMonth, day: day,
|
|
235
|
+
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData, onCalciteDayHover: this.dayHover, onCalciteDaySelect: this.daySelect, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
|
|
238
236
|
// when moving via keyboard, focus must be updated on active date
|
|
239
237
|
if (ref && active && this.activeFocus) {
|
|
240
238
|
el === null || el === void 0 ? void 0 : el.focus();
|
|
@@ -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,6 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Prop, Event, h, State, Watch, Fragment } from "@stencil/core";
|
|
6
|
-
import { getElementDir } from "../../utils/dom";
|
|
7
6
|
import { dateFromRange, nextMonth, prevMonth, localizeNumber, parseNumber, getOrder } from "../../utils/date";
|
|
8
7
|
import { CalciteHeading } from "../functional/CalciteHeading";
|
|
9
8
|
export class CalciteDatePickerMonthHeader {
|
|
@@ -68,10 +67,9 @@ export class CalciteDatePickerMonthHeader {
|
|
|
68
67
|
this.setNextPrevMonthDates();
|
|
69
68
|
}
|
|
70
69
|
render() {
|
|
71
|
-
|
|
72
|
-
return (h("div", { class: "header", dir: dir }, this.renderContent(dir)));
|
|
70
|
+
return h("div", { class: "header" }, this.renderContent());
|
|
73
71
|
}
|
|
74
|
-
renderContent(
|
|
72
|
+
renderContent() {
|
|
75
73
|
var _a;
|
|
76
74
|
if (!this.activeDate || !this.localeData) {
|
|
77
75
|
return null;
|
|
@@ -86,7 +84,7 @@ export class CalciteDatePickerMonthHeader {
|
|
|
86
84
|
const suffix = (_a = this.localeData.year) === null || _a === void 0 ? void 0 : _a.suffix;
|
|
87
85
|
return (h(Fragment, null,
|
|
88
86
|
h("a", { "aria-disabled": (this.prevMonthDate.getMonth() === activeMonth).toString(), "aria-label": this.intlPrevMonth, class: "chevron", href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 },
|
|
89
|
-
h("calcite-icon", {
|
|
87
|
+
h("calcite-icon", { "flip-rtl": true, icon: "chevron-left", scale: iconScale })),
|
|
90
88
|
h("div", { class: { text: true, "text--reverse": reverse } },
|
|
91
89
|
h(CalciteHeading, { class: "month", level: this.headingLevel }, localizedMonth),
|
|
92
90
|
h("span", { class: "year-wrap" },
|
|
@@ -98,7 +96,7 @@ export class CalciteDatePickerMonthHeader {
|
|
|
98
96
|
h("span", { "aria-hidden": "true", class: "suffix__invisible" }, localizedYear),
|
|
99
97
|
" " + suffix)))),
|
|
100
98
|
h("a", { "aria-disabled": (this.nextMonthDate.getMonth() === activeMonth).toString(), "aria-label": this.intlNextMonth, class: "chevron", href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 },
|
|
101
|
-
h("calcite-icon", {
|
|
99
|
+
h("calcite-icon", { "flip-rtl": true, icon: "chevron-right", scale: iconScale }))));
|
|
102
100
|
}
|
|
103
101
|
setNextPrevMonthDates() {
|
|
104
102
|
if (!this.activeDate) {
|
|
@@ -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 {
|
|
@@ -174,31 +178,4 @@
|
|
|
174
178
|
|
|
175
179
|
:host([width=l]) {
|
|
176
180
|
--calcite-dropdown-width: 16rem;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
:host([scale=s]) {
|
|
180
|
-
--calcite-dropdown-group-padding: 0.5rem 0;
|
|
181
|
-
--calcite-dropdown-item-padding: 0.25rem 0.75rem 0.25rem 1.5rem;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
:host([scale=m]) {
|
|
185
|
-
--calcite-dropdown-group-padding: 0.5rem 0;
|
|
186
|
-
--calcite-dropdown-item-padding: 0.5rem 0.75rem 0.5rem 1.5rem;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
:host([scale=l]) {
|
|
190
|
-
--calcite-dropdown-group-padding: 0.75rem 0;
|
|
191
|
-
--calcite-dropdown-item-padding: 0.5rem 0.75rem 0.5rem 1.5rem;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
:host([scale=s]) .calcite--rtl {
|
|
195
|
-
--calcite-dropdown-item-padding: 0.25rem 1.5rem 0.25rem 0.75rem;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
:host([scale=m]) .calcite--rtl {
|
|
199
|
-
--calcite-dropdown-item-padding: 0.5rem 1.5rem 0.5rem 0.75rem;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
:host([scale=l]) .calcite--rtl {
|
|
203
|
-
--calcite-dropdown-item-padding: 0.5rem 1.5rem 0.5rem 0.75rem;
|
|
204
181
|
}
|
|
@@ -3,10 +3,9 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Host, Listen, Method, Prop, Watch } from "@stencil/core";
|
|
6
|
-
import { focusElement
|
|
6
|
+
import { focusElement } from "../../utils/dom";
|
|
7
7
|
import { createPopper, CSS as PopperCSS, updatePopper } from "../../utils/popper";
|
|
8
8
|
import { DefaultDropdownPlacement, SLOTS } from "./resources";
|
|
9
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
10
9
|
import { createObserver } from "../../utils/observers";
|
|
11
10
|
/**
|
|
12
11
|
* @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
|
|
@@ -157,9 +156,8 @@ export class CalciteDropdown {
|
|
|
157
156
|
}
|
|
158
157
|
render() {
|
|
159
158
|
const { active } = this;
|
|
160
|
-
const dir = getElementDir(this.el);
|
|
161
159
|
return (h(Host, { tabIndex: this.disabled ? -1 : null },
|
|
162
|
-
h("div", { class:
|
|
160
|
+
h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl },
|
|
163
161
|
h("slot", { "aria-expanded": active.toString(), "aria-haspopup": "true", name: SLOTS.dropdownTrigger })),
|
|
164
162
|
h("div", { "aria-hidden": (!active).toString(), class: "calcite-dropdown-wrapper", ref: this.setMenuEl },
|
|
165
163
|
h("div", { class: {
|
|
@@ -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, Element, Event, h, Host, Listen, Prop } from "@stencil/core";
|
|
6
|
-
import {
|
|
6
|
+
import { getElementProp } from "../../utils/dom";
|
|
7
7
|
import { CSS } from "./resources";
|
|
8
8
|
/**
|
|
9
9
|
* @slot - A slot for adding `calcite-dropdown-item`s.
|
|
@@ -23,7 +23,6 @@ export class CalciteDropdownGroup {
|
|
|
23
23
|
this.groupPosition = this.getGroupPosition();
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
const dir = getElementDir(this.el);
|
|
27
26
|
const scale = this.scale || getElementProp(this.el, "scale", "m");
|
|
28
27
|
const groupTitle = this.groupTitle ? (h("span", { "aria-hidden": "true", class: "dropdown-title" }, this.groupTitle)) : null;
|
|
29
28
|
const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
@@ -33,7 +32,7 @@ export class CalciteDropdownGroup {
|
|
|
33
32
|
[CSS.containerSmall]: scale === "s",
|
|
34
33
|
[CSS.containerMedium]: scale === "m",
|
|
35
34
|
[CSS.containerLarge]: scale === "l"
|
|
36
|
-
},
|
|
35
|
+
}, title: this.groupTitle },
|
|
37
36
|
dropdownSeparator,
|
|
38
37
|
groupTitle,
|
|
39
38
|
h("slot", null))));
|
|
@@ -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 {
|
|
@@ -87,43 +91,28 @@
|
|
|
87
91
|
.container--s {
|
|
88
92
|
font-size: var(--calcite-font-size--2);
|
|
89
93
|
line-height: 1rem;
|
|
90
|
-
padding-right: 0.5rem;
|
|
91
|
-
padding-left: 1.5rem;
|
|
92
94
|
padding-top: 0.25rem;
|
|
93
95
|
padding-bottom: 0.25rem;
|
|
96
|
+
padding-inline-end: 0.5rem;
|
|
97
|
+
padding-inline-start: 1.5rem;
|
|
94
98
|
}
|
|
95
99
|
|
|
96
100
|
.container--m {
|
|
97
101
|
font-size: var(--calcite-font-size--1);
|
|
98
102
|
line-height: 1rem;
|
|
99
|
-
padding-right: 0.75rem;
|
|
100
|
-
padding-left: 2rem;
|
|
101
103
|
padding-top: 0.5rem;
|
|
102
104
|
padding-bottom: 0.5rem;
|
|
105
|
+
padding-inline-end: 0.75rem;
|
|
106
|
+
padding-inline-start: 2rem;
|
|
103
107
|
}
|
|
104
108
|
|
|
105
109
|
.container--l {
|
|
106
110
|
font-size: var(--calcite-font-size-0);
|
|
107
111
|
line-height: 1.25rem;
|
|
108
|
-
padding-right: 1rem;
|
|
109
|
-
padding-left: 2.5rem;
|
|
110
112
|
padding-top: 0.75rem;
|
|
111
113
|
padding-bottom: 0.75rem;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
.container--s.calcite--rtl {
|
|
115
|
-
padding-right: 1.5rem;
|
|
116
|
-
padding-left: 0.5rem;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.container--m.calcite--rtl {
|
|
120
|
-
padding-right: 2rem;
|
|
121
|
-
padding-left: 0.75rem;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.container--l.calcite--rtl {
|
|
125
|
-
padding-right: 2.5rem;
|
|
126
|
-
padding-left: 1rem;
|
|
114
|
+
padding-inline-end: 1rem;
|
|
115
|
+
padding-inline-start: 2.5rem;
|
|
127
116
|
}
|
|
128
117
|
|
|
129
118
|
:host {
|
|
@@ -148,13 +137,8 @@
|
|
|
148
137
|
}
|
|
149
138
|
|
|
150
139
|
.dropdown-item-content {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.calcite--rtl .dropdown-item-content {
|
|
156
|
-
margin-left: auto;
|
|
157
|
-
margin-right: 0;
|
|
140
|
+
padding-inline-end: auto;
|
|
141
|
+
padding-inline-start: 0.25rem;
|
|
158
142
|
}
|
|
159
143
|
|
|
160
144
|
:host,
|
|
@@ -190,28 +174,28 @@
|
|
|
190
174
|
.container--s .dropdown-link {
|
|
191
175
|
font-size: var(--calcite-font-size--2);
|
|
192
176
|
line-height: 1rem;
|
|
193
|
-
padding-right: 0.5rem;
|
|
194
|
-
padding-left: 1.5rem;
|
|
195
177
|
padding-top: 0.25rem;
|
|
196
178
|
padding-bottom: 0.25rem;
|
|
179
|
+
padding-inline-end: 0.5rem;
|
|
180
|
+
padding-inline-start: 1.5rem;
|
|
197
181
|
}
|
|
198
182
|
|
|
199
183
|
.container--m .dropdown-link {
|
|
200
184
|
font-size: var(--calcite-font-size--1);
|
|
201
185
|
line-height: 1rem;
|
|
202
|
-
padding-right: 0.75rem;
|
|
203
|
-
padding-left: 2rem;
|
|
204
186
|
padding-top: 0.5rem;
|
|
205
187
|
padding-bottom: 0.5rem;
|
|
188
|
+
padding-inline-end: 0.75rem;
|
|
189
|
+
padding-inline-start: 2rem;
|
|
206
190
|
}
|
|
207
191
|
|
|
208
192
|
.container--l .dropdown-link {
|
|
209
193
|
font-size: var(--calcite-font-size-0);
|
|
210
194
|
line-height: 1.25rem;
|
|
211
|
-
padding-right: 1rem;
|
|
212
|
-
padding-left: 2.5rem;
|
|
213
195
|
padding-top: 0.75rem;
|
|
214
196
|
padding-bottom: 0.75rem;
|
|
197
|
+
padding-inline-end: 1rem;
|
|
198
|
+
padding-inline-start: 2.5rem;
|
|
215
199
|
}
|
|
216
200
|
|
|
217
201
|
:host(:hover) .container,
|
|
@@ -241,16 +225,6 @@
|
|
|
241
225
|
opacity: 1;
|
|
242
226
|
}
|
|
243
227
|
|
|
244
|
-
.calcite--rtl:before {
|
|
245
|
-
left: unset;
|
|
246
|
-
right: 1rem;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.calcite--rtl .dropdown-link {
|
|
250
|
-
padding-right: 0;
|
|
251
|
-
padding-left: 0;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
228
|
:host([active]) .container:not(.container--none-selection),
|
|
255
229
|
:host([active]) .container--link .dropdown-link {
|
|
256
230
|
color: var(--calcite-ui-text-1);
|
|
@@ -274,31 +248,15 @@
|
|
|
274
248
|
}
|
|
275
249
|
|
|
276
250
|
.container--s:before {
|
|
277
|
-
|
|
251
|
+
inset-inline-start: 0.5rem;
|
|
278
252
|
}
|
|
279
253
|
|
|
280
254
|
.container--m:before {
|
|
281
|
-
|
|
255
|
+
inset-inline-start: 0.75rem;
|
|
282
256
|
}
|
|
283
257
|
|
|
284
258
|
.container--l:before {
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.calcite--rtl:before {
|
|
289
|
-
left: unset;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.container--s.calcite--rtl:before {
|
|
293
|
-
right: 0.5rem;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.container--m.calcite--rtl:before {
|
|
297
|
-
right: 0.75rem;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.container--l.calcite--rtl:before {
|
|
301
|
-
right: 1rem;
|
|
259
|
+
inset-inline-start: 1rem;
|
|
302
260
|
}
|
|
303
261
|
|
|
304
262
|
.dropdown-item-icon {
|
|
@@ -310,32 +268,15 @@
|
|
|
310
268
|
}
|
|
311
269
|
|
|
312
270
|
.container--s .dropdown-item-icon {
|
|
313
|
-
|
|
271
|
+
inset-inline-start: 0.25rem;
|
|
314
272
|
}
|
|
315
273
|
|
|
316
274
|
.container--m .dropdown-item-icon {
|
|
317
|
-
|
|
275
|
+
inset-inline-start: 0.5rem;
|
|
318
276
|
}
|
|
319
277
|
|
|
320
278
|
.container--l .dropdown-item-icon {
|
|
321
|
-
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.calcite--rtl .dropdown-item-icon {
|
|
325
|
-
left: unset;
|
|
326
|
-
margin-left: 0;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.container--s.calcite--rtl .dropdown-item-icon {
|
|
330
|
-
right: 0.25rem;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.container--m.calcite--rtl .dropdown-item-icon {
|
|
334
|
-
right: 0.5rem;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.container--l.calcite--rtl .dropdown-item-icon {
|
|
338
|
-
right: 0.75rem;
|
|
279
|
+
inset-inline-start: 0.75rem;
|
|
339
280
|
}
|
|
340
281
|
|
|
341
282
|
:host(:hover) .dropdown-item-icon {
|
|
@@ -349,65 +290,28 @@
|
|
|
349
290
|
}
|
|
350
291
|
|
|
351
292
|
.container--s .dropdown-item-icon-start {
|
|
352
|
-
margin-
|
|
353
|
-
margin-
|
|
293
|
+
margin-inline-end: 0.5rem;
|
|
294
|
+
margin-inline-start: 0.25rem;
|
|
354
295
|
}
|
|
355
296
|
|
|
356
297
|
.container--s .dropdown-item-icon-end {
|
|
357
|
-
margin-
|
|
298
|
+
margin-inline-start: 0.5rem;
|
|
358
299
|
}
|
|
359
300
|
|
|
360
301
|
.container--m .dropdown-item-icon-start {
|
|
361
|
-
margin-
|
|
362
|
-
margin-
|
|
302
|
+
margin-inline-end: 0.75rem;
|
|
303
|
+
margin-inline-start: 0.25rem;
|
|
363
304
|
}
|
|
364
305
|
|
|
365
306
|
.container--m .dropdown-item-icon-end {
|
|
366
|
-
margin-
|
|
307
|
+
margin-inline-start: 0.75rem;
|
|
367
308
|
}
|
|
368
309
|
|
|
369
310
|
.container--l .dropdown-item-icon-start {
|
|
370
|
-
margin-
|
|
371
|
-
margin-
|
|
311
|
+
margin-inline-end: 1rem;
|
|
312
|
+
margin-inline-start: 0.25rem;
|
|
372
313
|
}
|
|
373
314
|
|
|
374
315
|
.container--l .dropdown-item-icon-end {
|
|
375
|
-
margin-
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.calcite--rtl .dropdown-item-icon-start {
|
|
379
|
-
margin-right: 0;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.calcite--rtl .dropdown-item-icon-end {
|
|
383
|
-
margin-left: 0;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.container--s.calcite--rtl .dropdown-item-icon-start {
|
|
387
|
-
margin-left: 0.5rem;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.container--s.calcite--rtl .dropdown-item-icon-end {
|
|
391
|
-
margin-right: 0.5rem;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.container--m.calcite--rtl .dropdown-item-icon-start {
|
|
395
|
-
margin-left: 0.75rem;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.container--m.calcite--rtl .dropdown-item-icon-end {
|
|
399
|
-
margin-right: 0.75rem;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.container--l.calcite--rtl .dropdown-item-icon-start {
|
|
403
|
-
margin-left: 1rem;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.container--l.calcite--rtl .dropdown-item-icon-end {
|
|
407
|
-
margin-right: 1rem;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
.calcite--rtl calcite-icon {
|
|
411
|
-
margin-right: 0;
|
|
412
|
-
margin-left: 0.75rem;
|
|
316
|
+
margin-inline-start: 1rem;
|
|
413
317
|
}
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Event, h, Host, Listen, Method, Prop } from "@stencil/core";
|
|
6
|
-
import {
|
|
7
|
-
import { CSS_UTILITY } from "../../utils/resources";
|
|
6
|
+
import { getElementProp } from "../../utils/dom";
|
|
8
7
|
import { CSS } from "./resources";
|
|
9
8
|
/**
|
|
10
9
|
* @slot - A slot for adding text.
|
|
@@ -41,12 +40,11 @@ export class CalciteDropdownItem {
|
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
42
|
render() {
|
|
44
|
-
const dir = getElementDir(this.el);
|
|
45
43
|
const scale = getElementProp(this.el, "scale", "m");
|
|
46
|
-
const iconStartEl = (h("calcite-icon", { class: "dropdown-item-icon-start",
|
|
44
|
+
const iconStartEl = (h("calcite-icon", { class: "dropdown-item-icon-start", flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
47
45
|
const contentNode = (h("span", { class: "dropdown-item-content" },
|
|
48
46
|
h("slot", null)));
|
|
49
|
-
const iconEndEl = (h("calcite-icon", { class: "dropdown-item-icon-end",
|
|
47
|
+
const iconEndEl = (h("calcite-icon", { class: "dropdown-item-icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
50
48
|
const slottedContent = this.iconStart && this.iconEnd
|
|
51
49
|
? [iconStartEl, contentNode, iconEndEl]
|
|
52
50
|
: this.iconStart
|
|
@@ -66,7 +64,6 @@ export class CalciteDropdownItem {
|
|
|
66
64
|
return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" },
|
|
67
65
|
h("div", { class: {
|
|
68
66
|
container: true,
|
|
69
|
-
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
70
67
|
[CSS.containerLink]: !!this.href,
|
|
71
68
|
[CSS.containerSmall]: scale === "s",
|
|
72
69
|
[CSS.containerMedium]: scale === "m",
|
|
@@ -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,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Component, Element, Method, Prop, h } from "@stencil/core";
|
|
6
6
|
import { CSS, ICONS } from "./resources";
|
|
7
|
-
import { focusElement
|
|
7
|
+
import { focusElement } from "../../utils/dom";
|
|
8
8
|
export class CalciteFab {
|
|
9
9
|
constructor() {
|
|
10
10
|
// --------------------------------------------------------------------------
|
|
@@ -57,10 +57,9 @@ export class CalciteFab {
|
|
|
57
57
|
//
|
|
58
58
|
// --------------------------------------------------------------------------
|
|
59
59
|
render() {
|
|
60
|
-
const { appearance, color, disabled,
|
|
60
|
+
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
61
61
|
const title = !textEnabled ? label || text || null : null;
|
|
62
|
-
|
|
63
|
-
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS.button, color: color, dir: dir, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
62
|
+
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
64
63
|
this.buttonEl = buttonEl;
|
|
65
64
|
}, round: true, scale: scale, title: title, width: "auto" }, this.textEnabled ? this.text : null));
|
|
66
65
|
}
|
|
@@ -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 {
|
|
@@ -145,42 +149,24 @@ calcite-input {
|
|
|
145
149
|
|
|
146
150
|
.search-icon {
|
|
147
151
|
display: flex;
|
|
148
|
-
left: 0;
|
|
149
152
|
position: absolute;
|
|
150
153
|
color: var(--calcite-ui-text-2);
|
|
154
|
+
inset-inline-start: 0;
|
|
151
155
|
transition: left 150ms ease-in-out, right 150ms ease-in-out, opacity 150ms ease-in-out;
|
|
152
156
|
}
|
|
153
157
|
|
|
154
|
-
.calcite--rtl .search-icon {
|
|
155
|
-
right: 0;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
158
|
input[type=text]:focus {
|
|
159
159
|
border-color: var(--calcite-ui-brand);
|
|
160
160
|
outline: 2px solid transparent;
|
|
161
161
|
outline-offset: 2px;
|
|
162
|
-
padding-
|
|
163
|
-
padding-right: 0.25rem;
|
|
162
|
+
padding-inline: 0.25rem;
|
|
164
163
|
}
|
|
165
164
|
|
|
166
165
|
input[type=text]:focus ~ .search-icon {
|
|
167
|
-
|
|
166
|
+
inset-inline-start: calc(1rem * -1);
|
|
168
167
|
opacity: 0;
|
|
169
168
|
}
|
|
170
169
|
|
|
171
|
-
.calcite--rtl input[type=text] {
|
|
172
|
-
padding-left: 0.25rem;
|
|
173
|
-
padding-right: 1.5rem;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.calcite--rtl input[type=text]:focus {
|
|
177
|
-
padding-right: 1.25rem;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.calcite--rtl input[type=text]:focus ~ .search-icon {
|
|
181
|
-
right: calc(1rem * -1);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
170
|
.clear-button {
|
|
185
171
|
color: var(--calcite-ui-text-2);
|
|
186
172
|
background-color: transparent;
|