@esri/calcite-components 1.0.4-next.4 → 1.1.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-24794559.entry.js → p-0122bf46.entry.js} +2 -2
- package/dist/calcite/{p-937d4cc5.entry.js → p-01d5f554.entry.js} +2 -2
- package/dist/calcite/{p-a3e1e3cc.entry.js → p-0307c387.entry.js} +2 -2
- package/dist/calcite/{p-f67834f6.entry.js → p-05de3161.entry.js} +2 -2
- package/dist/calcite/{p-a819e279.js → p-0e9616c9.js} +2 -2
- package/dist/calcite/{p-37a35bb4.entry.js → p-0eb8a83c.entry.js} +2 -2
- package/dist/calcite/{p-54d19765.entry.js → p-113c75d0.entry.js} +2 -2
- package/dist/calcite/{p-be8968e8.entry.js → p-12acca8f.entry.js} +2 -2
- package/dist/calcite/{p-552a469c.entry.js → p-12aee5ea.entry.js} +2 -2
- package/dist/calcite/{p-b50ac33f.entry.js → p-13c7a3b3.entry.js} +2 -2
- package/dist/calcite/{p-fac2edde.js → p-15edd616.js} +1 -1
- package/dist/calcite/{p-6e1e1c0b.entry.js → p-16ee1071.entry.js} +2 -2
- package/dist/calcite/{p-da7d759c.js → p-17f50ec0.js} +2 -2
- package/dist/calcite/{p-c5f97d95.js → p-1861a75f.js} +1 -1
- package/dist/calcite/{p-410a6d82.entry.js → p-19d905bd.entry.js} +2 -2
- package/dist/calcite/{p-8e1871b1.entry.js → p-1b36f197.entry.js} +2 -2
- package/dist/calcite/{p-aaba1ce0.js → p-1cfb053f.js} +1 -1
- package/dist/calcite/{p-87badd6a.entry.js → p-1d9c9388.entry.js} +2 -2
- package/dist/calcite/{p-87293af8.entry.js → p-20fb5cef.entry.js} +2 -2
- package/dist/calcite/{p-a373bff6.entry.js → p-219c395a.entry.js} +2 -2
- package/dist/calcite/{p-4766d951.entry.js → p-24af6984.entry.js} +2 -2
- package/dist/calcite/{p-ecbf5f40.entry.js → p-29accc43.entry.js} +2 -2
- package/dist/calcite/{p-205ddd7d.entry.js → p-2aa30bbd.entry.js} +2 -2
- package/dist/calcite/{p-387a1a65.entry.js → p-2bf11448.entry.js} +2 -2
- package/dist/calcite/p-2c3354ea.js +6 -0
- package/dist/calcite/p-2d0b8490.js +6 -0
- package/dist/calcite/{p-252105fb.js → p-2db7bb5c.js} +2 -2
- package/dist/calcite/{p-d3b504cb.js → p-2dd9b3c6.js} +1 -1
- package/dist/calcite/p-30f9876e.entry.js +6 -0
- package/dist/calcite/{p-ef08387f.entry.js → p-31f6633a.entry.js} +2 -2
- package/dist/calcite/{p-2d076457.js → p-326653a7.js} +1 -1
- package/dist/calcite/{p-71c9dce5.entry.js → p-326e62d7.entry.js} +2 -2
- package/dist/calcite/{p-f62d1d22.js → p-330308af.js} +1 -1
- package/dist/calcite/{p-194e8b62.js → p-374e129d.js} +3 -3
- package/dist/calcite/{p-1acf8f3c.entry.js → p-3cb80155.entry.js} +2 -2
- package/dist/calcite/{p-5318def2.js → p-409d266a.js} +2 -2
- package/dist/calcite/p-47a01714.entry.js +6 -0
- package/dist/calcite/p-4b708697.entry.js +6 -0
- package/dist/calcite/{p-f7f367a7.js → p-4bb22a15.js} +2 -2
- package/dist/calcite/{p-44c0514d.entry.js → p-4dc12b5d.entry.js} +2 -2
- package/dist/calcite/{p-e1907483.js → p-4f686600.js} +1 -1
- package/dist/calcite/{p-988470a7.entry.js → p-507827e3.entry.js} +2 -2
- package/dist/calcite/p-51de283b.js +6 -0
- package/dist/calcite/{p-81820418.entry.js → p-53fbd8c5.entry.js} +2 -2
- package/dist/calcite/{p-c12f3585.entry.js → p-5b32e259.entry.js} +2 -2
- package/dist/calcite/{p-e5ed11db.entry.js → p-6a698f76.entry.js} +2 -2
- package/dist/calcite/{p-c8e52870.entry.js → p-6a75fbe5.entry.js} +2 -2
- package/dist/calcite/{p-12b995d4.entry.js → p-6bb35f8b.entry.js} +2 -2
- package/dist/calcite/{p-29485204.entry.js → p-70fe2ff8.entry.js} +2 -2
- package/dist/calcite/{p-6f218a33.entry.js → p-729c9242.entry.js} +2 -2
- package/dist/calcite/{p-ff5dde7c.entry.js → p-7c66852b.entry.js} +2 -2
- package/dist/calcite/{p-e2d21175.js → p-7c9c5f58.js} +2 -2
- package/dist/calcite/p-82019682.entry.js +6 -0
- package/dist/calcite/p-833b5cb9.entry.js +6 -0
- package/dist/calcite/{p-affeac0b.js → p-8462bcaf.js} +2 -2
- package/dist/calcite/{p-3a9f8ae0.js → p-86a15905.js} +1 -1
- package/dist/calcite/{p-d1398f31.js → p-880c785d.js} +1 -1
- package/dist/calcite/{p-d0859607.js → p-8bb36fab.js} +1 -1
- package/dist/calcite/{p-25fb95b6.entry.js → p-948a136d.entry.js} +2 -2
- package/dist/calcite/p-97aa7f71.entry.js +6 -0
- package/dist/calcite/{p-7ca0b3dc.entry.js → p-9abeee06.entry.js} +2 -2
- package/dist/calcite/{p-474d104a.js → p-9c1c6a9f.js} +2 -2
- package/dist/calcite/{p-4a5f5836.js → p-9db7bbbc.js} +2 -2
- package/dist/calcite/{p-d632f8c0.js → p-9dc71950.js} +1 -1
- package/dist/calcite/{p-90123067.js → p-aa8a79b2.js} +1 -1
- package/dist/calcite/{p-338d978d.entry.js → p-aac0390d.entry.js} +2 -2
- package/dist/calcite/{p-fc02e5c5.entry.js → p-ab9e6454.entry.js} +2 -2
- package/dist/calcite/p-b1a2552e.js +6 -0
- package/dist/calcite/{p-65d95dba.entry.js → p-b3fa43ec.entry.js} +2 -2
- package/dist/calcite/{p-7ebc63fe.entry.js → p-b66723c4.entry.js} +2 -2
- package/dist/calcite/{p-3046b372.js → p-b9e7365d.js} +1 -1
- package/dist/calcite/{p-8bba86d0.js → p-bac04566.js} +1 -1
- package/dist/calcite/{p-a8c3ad78.entry.js → p-bc073683.entry.js} +2 -2
- package/dist/calcite/{p-929b208e.entry.js → p-bc11b07d.entry.js} +2 -2
- package/dist/calcite/{p-2901c4df.js → p-bc374940.js} +2 -2
- package/dist/calcite/{p-c205d41a.entry.js → p-bef747bc.entry.js} +2 -2
- package/dist/calcite/{p-20ef9833.entry.js → p-bfef169d.entry.js} +2 -2
- package/dist/calcite/{p-af53ec53.entry.js → p-c4f48711.entry.js} +2 -2
- package/dist/calcite/{p-0c271d38.entry.js → p-c7ade4a1.entry.js} +2 -2
- package/dist/calcite/{p-02f0f305.entry.js → p-c853a272.entry.js} +2 -2
- package/dist/calcite/{p-49260fb9.js → p-c921c36a.js} +1 -1
- package/dist/calcite/{p-a80cb91b.entry.js → p-cbce14a9.entry.js} +2 -2
- package/dist/calcite/p-cc18be02.entry.js +6 -0
- package/dist/calcite/{p-b62d78d1.entry.js → p-d5f391cf.entry.js} +2 -2
- package/dist/calcite/{p-2f03fd32.entry.js → p-da6ff5ea.entry.js} +2 -2
- package/dist/calcite/{p-c51803eb.js → p-dbfb1055.js} +2 -2
- package/dist/calcite/{p-85715253.entry.js → p-ddcfb8d7.entry.js} +2 -2
- package/dist/calcite/{p-fb208fe0.entry.js → p-e08f065a.entry.js} +2 -2
- package/dist/calcite/p-ed1b533b.entry.js +6 -0
- package/dist/calcite/{p-8cb661ea.js → p-f04da847.js} +1 -1
- package/dist/calcite/{p-0e9b4930.entry.js → p-f18d286b.entry.js} +2 -2
- package/dist/calcite/{p-a6dc887d.entry.js → p-f9c6c3e1.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-83ceadb2.js → ExpandToggle-62a3c445.js} +5 -5
- package/dist/cjs/{Heading-194bddbf.js → Heading-7a2fb8f8.js} +2 -2
- package/dist/cjs/{app-globals-14012bb1.js → app-globals-a23987ee.js} +2 -2
- package/dist/cjs/{array-fe719ddc.js → array-93c33f7e.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +27 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +27 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +19 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +20 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +19 -16
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-d01aea40.js → conditionalSlot-7b748e3d.js} +3 -3
- package/dist/cjs/{debounce-55b173f1.js → debounce-275af050.js} +1 -1
- package/dist/cjs/{dom-c5d7692f.js → dom-b629e229.js} +3 -3
- package/dist/cjs/{filter-14c06aa1.js → filter-15adea2e.js} +2 -2
- package/dist/cjs/{floating-ui-da6d24cd.js → floating-ui-4529191c.js} +4 -4
- package/dist/cjs/{focusTrapComponent-a272de53.js → focusTrapComponent-b8490094.js} +2 -2
- package/dist/cjs/{form-d2779cd1.js → form-b8993b12.js} +3 -3
- package/dist/cjs/{guid-9cd94b97.js → guid-62fa6c6c.js} +1 -1
- package/dist/cjs/{index-ca45c0cd.js → index-9913c089.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-92fbd542.js → interactive-d3293171.js} +1 -1
- package/dist/cjs/{key-7a097df1.js → key-b7f1f9fd.js} +1 -1
- package/dist/cjs/{label-0f318ae2.js → label-58ea8e1b.js} +2 -2
- package/dist/cjs/{loadable-55bda284.js → loadable-34f90424.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-5d6fda2e.js → locale-f986aeb4.js} +4 -4
- package/dist/cjs/{math-72823dbe.js → math-76393f37.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-89da735e.js → nonChromiumPlatformUtils-31ff2a94.js} +6 -6
- package/dist/cjs/{observers-ebc8a875.js → observers-d9d9e149.js} +1 -1
- package/dist/cjs/{openCloseComponent-e1c5362a.js → openCloseComponent-9cdb09e2.js} +2 -2
- package/dist/cjs/{resources-b35311da.js → resources-170861cb.js} +1 -1
- package/dist/cjs/{resources-d8c408c1.js → resources-1b7da7a7.js} +1 -1
- package/dist/cjs/{resources-1c65f5c5.js → resources-7bade0ef.js} +1 -1
- package/dist/cjs/{resources-a2154514.js → resources-7c00af82.js} +5 -5
- package/dist/cjs/{resources-0c94f313.js → resources-a63c55cb.js} +1 -1
- package/dist/cjs/{resources-eb5b7664.js → resources-b9fa9073.js} +1 -1
- package/dist/cjs/{sortable.esm-3987b222.js → sortable.esm-403e05ac.js} +1 -1
- package/dist/cjs/{t9n-26d0dbc6.js → t9n-441b35e1.js} +3 -3
- package/dist/cjs/{utils-a7ba2f7a.js → utils-9bb6fc2b.js} +3 -3
- package/dist/cjs/{utils-12ba18fa.js → utils-eff4dc48.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +37 -3
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +36 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +32 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +6 -3
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +6 -3
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +27 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +38 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +10 -7
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +18 -2
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- 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-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- 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-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +12 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +20 -2
- package/dist/components/calcite-stepper-item.js +10 -7
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- 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/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +18 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +17 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-4bc0a941.js → ExpandToggle-74a006e7.js} +5 -5
- package/dist/esm/{Heading-822d7794.js → Heading-8e6812f7.js} +2 -2
- package/dist/esm/{app-globals-e0960a3c.js → app-globals-6319593c.js} +2 -2
- package/dist/esm/{array-1031aa1f.js → array-1a545464.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +27 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +14 -14
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +27 -12
- package/dist/esm/calcite-dropdown_3.entry.js +26 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +16 -16
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +19 -9
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +20 -3
- package/dist/esm/calcite-stepper_2.entry.js +19 -16
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-9ce81622.js → conditionalSlot-be29408d.js} +3 -3
- package/dist/esm/{debounce-9efde6e0.js → debounce-9c6d0aff.js} +1 -1
- package/dist/esm/{dom-72bdc6bb.js → dom-421899c8.js} +3 -3
- package/dist/esm/{filter-dc3552da.js → filter-0c4e1779.js} +2 -2
- package/dist/esm/{floating-ui-805901e1.js → floating-ui-8912de4a.js} +4 -4
- package/dist/esm/{focusTrapComponent-2749eac3.js → focusTrapComponent-63fa1bf4.js} +2 -2
- package/dist/esm/{form-116c0daa.js → form-21313b8c.js} +3 -3
- package/dist/esm/{guid-37d913db.js → guid-efe45248.js} +1 -1
- package/dist/esm/{index-05ee55ac.js → index-b2b0ab06.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-6267b910.js → interactive-b5c9800f.js} +1 -1
- package/dist/esm/{key-7c6bc916.js → key-2e71dc88.js} +1 -1
- package/dist/esm/{label-d6598fba.js → label-ae6f5e0c.js} +2 -2
- package/dist/esm/{loadable-e1583eaa.js → loadable-9dc12b8d.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-59693551.js → locale-4dc76aee.js} +4 -4
- package/dist/esm/{math-567c6a0a.js → math-f04ea8ed.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-ab55fb87.js → nonChromiumPlatformUtils-ceb045d1.js} +6 -6
- package/dist/esm/{observers-4b13d15d.js → observers-40fdbaa0.js} +1 -1
- package/dist/esm/{openCloseComponent-215db150.js → openCloseComponent-24bc30ff.js} +2 -2
- package/dist/esm/{resources-7ae7ba0b.js → resources-0605873d.js} +1 -1
- package/dist/esm/{resources-31e4f631.js → resources-0cc2a73e.js} +1 -1
- package/dist/esm/{resources-f87e59b4.js → resources-27434fab.js} +1 -1
- package/dist/esm/{resources-dd49d237.js → resources-4fe32769.js} +1 -1
- package/dist/esm/{resources-1b2b81e6.js → resources-70dac4f3.js} +5 -5
- package/dist/esm/{resources-3db98946.js → resources-74d7217c.js} +1 -1
- package/dist/esm/{sortable.esm-1aa318d4.js → sortable.esm-82daa295.js} +1 -1
- package/dist/esm/{t9n-8083be20.js → t9n-c216fdda.js} +3 -3
- package/dist/esm/{utils-a2512649.js → utils-98fb7242.js} +1 -1
- package/dist/esm/{utils-06098d1f.js → utils-9dd31f6f.js} +3 -3
- package/dist/extras/docs-json.json +76 -8
- package/dist/extras/vscode-data.json +2 -2
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/action-group/action-group.d.ts +5 -1
- package/dist/types/components/date-picker/date-picker.d.ts +5 -1
- package/dist/types/components/dropdown/dropdown.d.ts +5 -1
- package/dist/types/components/input-number/input-number.d.ts +3 -1
- package/dist/types/components/input-text/input-text.d.ts +3 -1
- package/dist/types/components/pagination/pagination.d.ts +5 -1
- package/dist/types/components/split-button/split-button.d.ts +6 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +1 -0
- package/dist/types/components.d.ts +28 -4
- package/hydrate/index.js +85 -10
- package/package.json +1 -1
- package/readme.md +1 -4
- package/dist/calcite/p-0649028b.entry.js +0 -6
- package/dist/calcite/p-133ce7eb.entry.js +0 -6
- package/dist/calcite/p-31fd6cd5.js +0 -6
- package/dist/calcite/p-3a0cd6f5.entry.js +0 -6
- package/dist/calcite/p-71a43950.entry.js +0 -6
- package/dist/calcite/p-77ce6bab.entry.js +0 -6
- package/dist/calcite/p-a3624dca.entry.js +0 -6
- package/dist/calcite/p-a5f0a01f.js +0 -6
- package/dist/calcite/p-a8f685ad.entry.js +0 -6
- package/dist/calcite/p-d23fa64b.js +0 -6
- package/dist/calcite/p-f3923c4e.entry.js +0 -6
- package/dist/calcite/p-f511b513.js +0 -6
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0
|
|
4
|
+
* v1.1.0-next.0
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0
|
|
4
|
+
* v1.1.0-next.0
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0
|
|
4
|
+
* v1.1.0-next.0
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { CalciteActionMenuCustomEvent } from "../../components";
|
|
3
3
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
4
|
+
import { LoadableComponent } from "../../utils/loadable";
|
|
4
5
|
import { LocalizedComponent } from "../../utils/locale";
|
|
5
6
|
import { T9nComponent } from "../../utils/t9n";
|
|
6
7
|
import { Columns, Layout, Scale } from "../interfaces";
|
|
@@ -10,7 +11,7 @@ import { ActionGroupMessages } from "./assets/action-group/t9n";
|
|
|
10
11
|
* @slot menu-actions - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`.
|
|
11
12
|
* @slot menu-tooltip - A slot for adding a `calcite-tooltip` for the menu.
|
|
12
13
|
*/
|
|
13
|
-
export declare class ActionGroup implements ConditionalSlotComponent, LocalizedComponent, T9nComponent {
|
|
14
|
+
export declare class ActionGroup implements ConditionalSlotComponent, LoadableComponent, LocalizedComponent, T9nComponent {
|
|
14
15
|
/**
|
|
15
16
|
* When `true`, the component is expanded.
|
|
16
17
|
*/
|
|
@@ -47,9 +48,12 @@ export declare class ActionGroup implements ConditionalSlotComponent, LocalizedC
|
|
|
47
48
|
effectiveLocale: string;
|
|
48
49
|
effectiveLocaleChange(): void;
|
|
49
50
|
defaultMessages: ActionGroupMessages;
|
|
51
|
+
/** Sets focus on the component's first focusable element. */
|
|
52
|
+
setFocus(): Promise<void>;
|
|
50
53
|
connectedCallback(): void;
|
|
51
54
|
disconnectedCallback(): void;
|
|
52
55
|
componentWillLoad(): Promise<void>;
|
|
56
|
+
componentDidLoad(): void;
|
|
53
57
|
renderTooltip(): VNode;
|
|
54
58
|
renderMenu(): VNode;
|
|
55
59
|
render(): VNode;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
|
+
import { LoadableComponent } from "../../utils/loadable";
|
|
2
3
|
import { LocalizedComponent, NumberingSystem } from "../../utils/locale";
|
|
3
4
|
import { T9nComponent } from "../../utils/t9n";
|
|
4
5
|
import { HeadingLevel } from "../functional/Heading";
|
|
5
6
|
import { DatePickerMessages } from "./assets/date-picker/t9n";
|
|
6
|
-
export declare class DatePicker implements LocalizedComponent, T9nComponent {
|
|
7
|
+
export declare class DatePicker implements LocalizedComponent, LoadableComponent, T9nComponent {
|
|
7
8
|
el: HTMLCalciteDatePickerElement;
|
|
8
9
|
/** Specifies the component's active date. */
|
|
9
10
|
activeDate: Date;
|
|
@@ -73,9 +74,12 @@ export declare class DatePicker implements LocalizedComponent, T9nComponent {
|
|
|
73
74
|
activeEndDate: Date;
|
|
74
75
|
startAsDate: Date;
|
|
75
76
|
endAsDate: Date;
|
|
77
|
+
/** Sets focus on the component's first focusable element. */
|
|
78
|
+
setFocus(): Promise<void>;
|
|
76
79
|
connectedCallback(): void;
|
|
77
80
|
disconnectedCallback(): void;
|
|
78
81
|
componentWillLoad(): Promise<void>;
|
|
82
|
+
componentDidLoad(): void;
|
|
79
83
|
render(): VNode;
|
|
80
84
|
effectiveLocale: string;
|
|
81
85
|
effectiveLocaleChange(): void;
|
|
@@ -2,6 +2,7 @@ import { Event, EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { ItemKeyboardEvent } from "./interfaces";
|
|
3
3
|
import { EffectivePlacement, FloatingUIComponent, MenuPlacement, OverlayPositioning } from "../../utils/floating-ui";
|
|
4
4
|
import { InteractiveComponent } from "../../utils/interactive";
|
|
5
|
+
import { LoadableComponent } from "../../utils/loadable";
|
|
5
6
|
import { OpenCloseComponent } from "../../utils/openCloseComponent";
|
|
6
7
|
import { RequestedItem } from "../dropdown-group/interfaces";
|
|
7
8
|
import { Scale } from "../interfaces";
|
|
@@ -9,7 +10,7 @@ import { Scale } from "../interfaces";
|
|
|
9
10
|
* @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
|
|
10
11
|
* @slot trigger - A slot for the element that triggers the `calcite-dropdown`.
|
|
11
12
|
*/
|
|
12
|
-
export declare class Dropdown implements InteractiveComponent, OpenCloseComponent, FloatingUIComponent {
|
|
13
|
+
export declare class Dropdown implements InteractiveComponent, LoadableComponent, OpenCloseComponent, FloatingUIComponent {
|
|
13
14
|
el: HTMLCalciteDropdownElement;
|
|
14
15
|
/**
|
|
15
16
|
* When `true`, displays and positions the component.
|
|
@@ -74,7 +75,10 @@ export declare class Dropdown implements InteractiveComponent, OpenCloseComponen
|
|
|
74
75
|
* Specifies the width of the component.
|
|
75
76
|
*/
|
|
76
77
|
width: Scale;
|
|
78
|
+
/** Sets focus on the component's first focusable element. */
|
|
79
|
+
setFocus(): Promise<void>;
|
|
77
80
|
connectedCallback(): void;
|
|
81
|
+
componentWillLoad(): void;
|
|
78
82
|
componentDidLoad(): void;
|
|
79
83
|
componentDidRender(): void;
|
|
80
84
|
disconnectedCallback(): void;
|
|
@@ -43,7 +43,9 @@ export declare class InputNumber implements LabelableComponent, FormComponent, I
|
|
|
43
43
|
*/
|
|
44
44
|
hidden: boolean;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Specifies an icon to display.
|
|
47
|
+
*
|
|
48
|
+
* @futureBreaking Remove boolean type as it is not supported.
|
|
47
49
|
*/
|
|
48
50
|
icon: string | boolean;
|
|
49
51
|
/** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
|
|
@@ -38,7 +38,9 @@ export declare class InputText implements LabelableComponent, FormComponent, Int
|
|
|
38
38
|
*/
|
|
39
39
|
hidden: boolean;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Specifies an icon to display.
|
|
42
|
+
*
|
|
43
|
+
* @futureBreaking Remove boolean type as it is not supported.
|
|
42
44
|
*/
|
|
43
45
|
icon: string | boolean;
|
|
44
46
|
/** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
|
+
import { LoadableComponent } from "../../utils/loadable";
|
|
2
3
|
import { LocalizedComponent, NumberingSystem } from "../../utils/locale";
|
|
3
4
|
import { T9nComponent } from "../../utils/t9n";
|
|
4
5
|
import { Scale } from "../interfaces";
|
|
@@ -8,7 +9,7 @@ export interface PaginationDetail {
|
|
|
8
9
|
totalItems: number;
|
|
9
10
|
startItem: number;
|
|
10
11
|
}
|
|
11
|
-
export declare class Pagination implements LocalizedComponent, LocalizedComponent, T9nComponent {
|
|
12
|
+
export declare class Pagination implements LocalizedComponent, LocalizedComponent, LoadableComponent, T9nComponent {
|
|
12
13
|
/**
|
|
13
14
|
* When `true`, number values are displayed with a group separator corresponding to the language and country format.
|
|
14
15
|
*/
|
|
@@ -47,7 +48,10 @@ export declare class Pagination implements LocalizedComponent, LocalizedComponen
|
|
|
47
48
|
calcitePaginationChange: EventEmitter<void>;
|
|
48
49
|
connectedCallback(): void;
|
|
49
50
|
componentWillLoad(): Promise<void>;
|
|
51
|
+
componentDidLoad(): void;
|
|
50
52
|
disconnectedCallback(): void;
|
|
53
|
+
/** Sets focus on the component's first focusable element. */
|
|
54
|
+
setFocus(): Promise<void>;
|
|
51
55
|
/** Go to the next page of results. */
|
|
52
56
|
nextPage(): Promise<void>;
|
|
53
57
|
/** Go to the previous page of results. */
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
2
|
import { OverlayPositioning } from "../../utils/floating-ui";
|
|
3
3
|
import { InteractiveComponent } from "../../utils/interactive";
|
|
4
|
+
import { LoadableComponent } from "../../utils/loadable";
|
|
4
5
|
import { DropdownIconType } from "../button/interfaces";
|
|
5
6
|
import { Appearance, FlipContext, Kind, Scale, Width } from "../interfaces";
|
|
6
7
|
/**
|
|
7
8
|
* @slot - A slot for adding `calcite-dropdown` content.
|
|
8
9
|
*/
|
|
9
|
-
export declare class SplitButton implements InteractiveComponent {
|
|
10
|
+
export declare class SplitButton implements InteractiveComponent, LoadableComponent {
|
|
10
11
|
el: HTMLCalciteSplitButtonElement;
|
|
11
12
|
/** Specifies the appearance style of the component. */
|
|
12
13
|
appearance: Extract<"outline" | "outline-fill" | "solid" | "transparent", Appearance>;
|
|
@@ -61,6 +62,10 @@ export declare class SplitButton implements InteractiveComponent {
|
|
|
61
62
|
* Fires when the dropdown menu is clicked.
|
|
62
63
|
*/
|
|
63
64
|
calciteSplitButtonSecondaryClick: EventEmitter<void>;
|
|
65
|
+
/** Sets focus on the component's first focusable element. */
|
|
66
|
+
setFocus(): Promise<void>;
|
|
67
|
+
componentWillLoad(): void;
|
|
68
|
+
componentDidLoad(): void;
|
|
64
69
|
componentDidRender(): void;
|
|
65
70
|
render(): VNode;
|
|
66
71
|
private calciteSplitButtonPrimaryClickHandler;
|
|
@@ -255,6 +255,10 @@ export namespace Components {
|
|
|
255
255
|
* Specifies the size of the `calcite-action-menu`.
|
|
256
256
|
*/
|
|
257
257
|
"scale": Scale;
|
|
258
|
+
/**
|
|
259
|
+
* Sets focus on the component's first focusable element.
|
|
260
|
+
*/
|
|
261
|
+
"setFocus": () => Promise<void>;
|
|
258
262
|
}
|
|
259
263
|
interface CalciteActionMenu {
|
|
260
264
|
/**
|
|
@@ -990,6 +994,10 @@ export namespace Components {
|
|
|
990
994
|
* Specifies the size of the component.
|
|
991
995
|
*/
|
|
992
996
|
"scale": "s" | "m" | "l";
|
|
997
|
+
/**
|
|
998
|
+
* Sets focus on the component's first focusable element.
|
|
999
|
+
*/
|
|
1000
|
+
"setFocus": () => Promise<void>;
|
|
993
1001
|
/**
|
|
994
1002
|
* Specifies the selected date as a string (`"yyyy-mm-dd"`), or an array of strings for `range` values (`["yyyy-mm-dd", "yyyy-mm-dd"]`).
|
|
995
1003
|
*/
|
|
@@ -1166,6 +1174,10 @@ export namespace Components {
|
|
|
1166
1174
|
* @readonly
|
|
1167
1175
|
*/
|
|
1168
1176
|
"selectedItems": HTMLCalciteDropdownItemElement[];
|
|
1177
|
+
/**
|
|
1178
|
+
* Sets focus on the component's first focusable element.
|
|
1179
|
+
*/
|
|
1180
|
+
"setFocus": () => Promise<void>;
|
|
1169
1181
|
/**
|
|
1170
1182
|
* Specifies the action to open the component from the container element.
|
|
1171
1183
|
*/
|
|
@@ -1816,7 +1828,8 @@ export namespace Components {
|
|
|
1816
1828
|
*/
|
|
1817
1829
|
"hidden": boolean;
|
|
1818
1830
|
/**
|
|
1819
|
-
*
|
|
1831
|
+
* Specifies an icon to display.
|
|
1832
|
+
* @futureBreaking Remove boolean type as it is not supported.
|
|
1820
1833
|
*/
|
|
1821
1834
|
"icon": string | boolean;
|
|
1822
1835
|
/**
|
|
@@ -1965,7 +1978,8 @@ export namespace Components {
|
|
|
1965
1978
|
*/
|
|
1966
1979
|
"hidden": boolean;
|
|
1967
1980
|
/**
|
|
1968
|
-
*
|
|
1981
|
+
* Specifies an icon to display.
|
|
1982
|
+
* @futureBreaking Remove boolean type as it is not supported.
|
|
1969
1983
|
*/
|
|
1970
1984
|
"icon": string | boolean;
|
|
1971
1985
|
/**
|
|
@@ -2497,6 +2511,10 @@ export namespace Components {
|
|
|
2497
2511
|
* Specifies the size of the component.
|
|
2498
2512
|
*/
|
|
2499
2513
|
"scale": Scale;
|
|
2514
|
+
/**
|
|
2515
|
+
* Sets focus on the component's first focusable element.
|
|
2516
|
+
*/
|
|
2517
|
+
"setFocus": () => Promise<void>;
|
|
2500
2518
|
/**
|
|
2501
2519
|
* Specifies the starting item number.
|
|
2502
2520
|
*/
|
|
@@ -3289,6 +3307,10 @@ export namespace Components {
|
|
|
3289
3307
|
* Specifies the size of the component.
|
|
3290
3308
|
*/
|
|
3291
3309
|
"scale": Scale;
|
|
3310
|
+
/**
|
|
3311
|
+
* Sets focus on the component's first focusable element.
|
|
3312
|
+
*/
|
|
3313
|
+
"setFocus": () => Promise<void>;
|
|
3292
3314
|
/**
|
|
3293
3315
|
* Specifies the width of the component.
|
|
3294
3316
|
*/
|
|
@@ -6541,7 +6563,8 @@ declare namespace LocalJSX {
|
|
|
6541
6563
|
*/
|
|
6542
6564
|
"hidden"?: boolean;
|
|
6543
6565
|
/**
|
|
6544
|
-
*
|
|
6566
|
+
* Specifies an icon to display.
|
|
6567
|
+
* @futureBreaking Remove boolean type as it is not supported.
|
|
6545
6568
|
*/
|
|
6546
6569
|
"icon"?: string | boolean;
|
|
6547
6570
|
/**
|
|
@@ -6681,7 +6704,8 @@ declare namespace LocalJSX {
|
|
|
6681
6704
|
*/
|
|
6682
6705
|
"hidden"?: boolean;
|
|
6683
6706
|
/**
|
|
6684
|
-
*
|
|
6707
|
+
* Specifies an icon to display.
|
|
6708
|
+
* @futureBreaking Remove boolean type as it is not supported.
|
|
6685
6709
|
*/
|
|
6686
6710
|
"icon"?: string | boolean;
|
|
6687
6711
|
/**
|
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0
|
|
4
|
+
* v1.1.0-next.0
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -9254,6 +9254,16 @@ class ActionGroup {
|
|
|
9254
9254
|
effectiveLocaleChange() {
|
|
9255
9255
|
updateMessages(this, this.effectiveLocale);
|
|
9256
9256
|
}
|
|
9257
|
+
//--------------------------------------------------------------------------
|
|
9258
|
+
//
|
|
9259
|
+
// Public Methods
|
|
9260
|
+
//
|
|
9261
|
+
//--------------------------------------------------------------------------
|
|
9262
|
+
/** Sets focus on the component's first focusable element. */
|
|
9263
|
+
async setFocus() {
|
|
9264
|
+
await componentLoaded(this);
|
|
9265
|
+
this.el.focus();
|
|
9266
|
+
}
|
|
9257
9267
|
// --------------------------------------------------------------------------
|
|
9258
9268
|
//
|
|
9259
9269
|
// Lifecycle
|
|
@@ -9270,8 +9280,12 @@ class ActionGroup {
|
|
|
9270
9280
|
disconnectConditionalSlotComponent(this);
|
|
9271
9281
|
}
|
|
9272
9282
|
async componentWillLoad() {
|
|
9283
|
+
setUpLoadableComponent(this);
|
|
9273
9284
|
await setUpMessages(this);
|
|
9274
9285
|
}
|
|
9286
|
+
componentDidLoad() {
|
|
9287
|
+
setComponentLoaded(this);
|
|
9288
|
+
}
|
|
9275
9289
|
// --------------------------------------------------------------------------
|
|
9276
9290
|
//
|
|
9277
9291
|
// Component Methods
|
|
@@ -9311,7 +9325,8 @@ class ActionGroup {
|
|
|
9311
9325
|
"messages": [1040],
|
|
9312
9326
|
"messageOverrides": [1040],
|
|
9313
9327
|
"effectiveLocale": [32],
|
|
9314
|
-
"defaultMessages": [32]
|
|
9328
|
+
"defaultMessages": [32],
|
|
9329
|
+
"setFocus": [64]
|
|
9315
9330
|
},
|
|
9316
9331
|
"$listeners$": undefined,
|
|
9317
9332
|
"$lazyBundleId$": "-",
|
|
@@ -18063,6 +18078,16 @@ class DatePicker {
|
|
|
18063
18078
|
onMessagesChange() {
|
|
18064
18079
|
/* wired up by t9n util */
|
|
18065
18080
|
}
|
|
18081
|
+
//--------------------------------------------------------------------------
|
|
18082
|
+
//
|
|
18083
|
+
// Public Methods
|
|
18084
|
+
//
|
|
18085
|
+
//--------------------------------------------------------------------------
|
|
18086
|
+
/** Sets focus on the component's first focusable element. */
|
|
18087
|
+
async setFocus() {
|
|
18088
|
+
await componentLoaded(this);
|
|
18089
|
+
this.el.focus();
|
|
18090
|
+
}
|
|
18066
18091
|
// --------------------------------------------------------------------------
|
|
18067
18092
|
//
|
|
18068
18093
|
// Lifecycle
|
|
@@ -18089,11 +18114,15 @@ class DatePicker {
|
|
|
18089
18114
|
disconnectMessages(this);
|
|
18090
18115
|
}
|
|
18091
18116
|
async componentWillLoad() {
|
|
18117
|
+
setUpLoadableComponent(this);
|
|
18092
18118
|
await this.loadLocaleData();
|
|
18093
18119
|
this.onMinChanged(this.min);
|
|
18094
18120
|
this.onMaxChanged(this.max);
|
|
18095
18121
|
await setUpMessages(this);
|
|
18096
18122
|
}
|
|
18123
|
+
componentDidLoad() {
|
|
18124
|
+
setComponentLoaded(this);
|
|
18125
|
+
}
|
|
18097
18126
|
render() {
|
|
18098
18127
|
const date = dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
18099
18128
|
let activeDate = this.getActiveDate(date, this.minAsDate, this.maxAsDate);
|
|
@@ -18227,7 +18256,8 @@ class DatePicker {
|
|
|
18227
18256
|
"effectiveLocale": [32],
|
|
18228
18257
|
"defaultMessages": [32],
|
|
18229
18258
|
"localeData": [32],
|
|
18230
|
-
"hoverRange": [32]
|
|
18259
|
+
"hoverRange": [32],
|
|
18260
|
+
"setFocus": [64]
|
|
18231
18261
|
},
|
|
18232
18262
|
"$listeners$": undefined,
|
|
18233
18263
|
"$lazyBundleId$": "-",
|
|
@@ -19064,6 +19094,16 @@ class Dropdown {
|
|
|
19064
19094
|
}
|
|
19065
19095
|
//--------------------------------------------------------------------------
|
|
19066
19096
|
//
|
|
19097
|
+
// Public Methods
|
|
19098
|
+
//
|
|
19099
|
+
//--------------------------------------------------------------------------
|
|
19100
|
+
/** Sets focus on the component's first focusable element. */
|
|
19101
|
+
async setFocus() {
|
|
19102
|
+
await componentLoaded(this);
|
|
19103
|
+
this.el.focus();
|
|
19104
|
+
}
|
|
19105
|
+
//--------------------------------------------------------------------------
|
|
19106
|
+
//
|
|
19067
19107
|
// Lifecycle
|
|
19068
19108
|
//
|
|
19069
19109
|
//--------------------------------------------------------------------------
|
|
@@ -19076,7 +19116,11 @@ class Dropdown {
|
|
|
19076
19116
|
}
|
|
19077
19117
|
connectOpenCloseComponent(this);
|
|
19078
19118
|
}
|
|
19119
|
+
componentWillLoad() {
|
|
19120
|
+
setUpLoadableComponent(this);
|
|
19121
|
+
}
|
|
19079
19122
|
componentDidLoad() {
|
|
19123
|
+
setComponentLoaded(this);
|
|
19080
19124
|
this.reposition(true);
|
|
19081
19125
|
}
|
|
19082
19126
|
componentDidRender() {
|
|
@@ -19259,6 +19303,7 @@ class Dropdown {
|
|
|
19259
19303
|
"selectedItems": [1040],
|
|
19260
19304
|
"type": [513],
|
|
19261
19305
|
"width": [513],
|
|
19306
|
+
"setFocus": [64],
|
|
19262
19307
|
"reposition": [64]
|
|
19263
19308
|
},
|
|
19264
19309
|
"$listeners$": [[9, "pointerdown", "closeCalciteDropdownOnClick"], [0, "calciteInternalDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "pointerenter", "mouseEnterHandler"], [1, "pointerleave", "mouseLeaveHandler"], [0, "calciteInternalDropdownItemKeyEvent", "calciteInternalDropdownItemKeyEvent"], [0, "calciteInternalDropdownItemSelect", "handleItemSelect"]],
|
|
@@ -25939,6 +25984,10 @@ class Pagination {
|
|
|
25939
25984
|
}
|
|
25940
25985
|
async componentWillLoad() {
|
|
25941
25986
|
await setUpMessages(this);
|
|
25987
|
+
setUpLoadableComponent(this);
|
|
25988
|
+
}
|
|
25989
|
+
componentDidLoad() {
|
|
25990
|
+
setComponentLoaded(this);
|
|
25942
25991
|
}
|
|
25943
25992
|
disconnectedCallback() {
|
|
25944
25993
|
disconnectLocalized(this);
|
|
@@ -25949,6 +25998,11 @@ class Pagination {
|
|
|
25949
25998
|
// Public Methods
|
|
25950
25999
|
//
|
|
25951
26000
|
// --------------------------------------------------------------------------
|
|
26001
|
+
/** Sets focus on the component's first focusable element. */
|
|
26002
|
+
async setFocus() {
|
|
26003
|
+
await componentLoaded(this);
|
|
26004
|
+
this.el.focus();
|
|
26005
|
+
}
|
|
25952
26006
|
/** Go to the next page of results. */
|
|
25953
26007
|
async nextPage() {
|
|
25954
26008
|
this.startItem = Math.min(this.getLastStart(), this.startItem + this.pageSize);
|
|
@@ -26077,6 +26131,7 @@ class Pagination {
|
|
|
26077
26131
|
"messages": [1040],
|
|
26078
26132
|
"defaultMessages": [32],
|
|
26079
26133
|
"effectiveLocale": [32],
|
|
26134
|
+
"setFocus": [64],
|
|
26080
26135
|
"nextPage": [64],
|
|
26081
26136
|
"previousPage": [64]
|
|
26082
26137
|
},
|
|
@@ -33313,9 +33368,25 @@ class SplitButton {
|
|
|
33313
33368
|
}
|
|
33314
33369
|
//--------------------------------------------------------------------------
|
|
33315
33370
|
//
|
|
33371
|
+
// Public Methods
|
|
33372
|
+
//
|
|
33373
|
+
//--------------------------------------------------------------------------
|
|
33374
|
+
/** Sets focus on the component's first focusable element. */
|
|
33375
|
+
async setFocus() {
|
|
33376
|
+
await componentLoaded(this);
|
|
33377
|
+
this.el.focus();
|
|
33378
|
+
}
|
|
33379
|
+
//--------------------------------------------------------------------------
|
|
33380
|
+
//
|
|
33316
33381
|
// Lifecycle
|
|
33317
33382
|
//
|
|
33318
33383
|
//--------------------------------------------------------------------------
|
|
33384
|
+
componentWillLoad() {
|
|
33385
|
+
setUpLoadableComponent(this);
|
|
33386
|
+
}
|
|
33387
|
+
componentDidLoad() {
|
|
33388
|
+
setComponentLoaded(this);
|
|
33389
|
+
}
|
|
33319
33390
|
componentDidRender() {
|
|
33320
33391
|
updateHostInteraction(this);
|
|
33321
33392
|
}
|
|
@@ -33363,7 +33434,8 @@ class SplitButton {
|
|
|
33363
33434
|
"primaryLabel": [513, "primary-label"],
|
|
33364
33435
|
"primaryText": [513, "primary-text"],
|
|
33365
33436
|
"scale": [513],
|
|
33366
|
-
"width": [513]
|
|
33437
|
+
"width": [513],
|
|
33438
|
+
"setFocus": [64]
|
|
33367
33439
|
},
|
|
33368
33440
|
"$listeners$": undefined,
|
|
33369
33441
|
"$lazyBundleId$": "-",
|
|
@@ -33680,11 +33752,6 @@ class StepperItem {
|
|
|
33680
33752
|
if (this.selected) {
|
|
33681
33753
|
this.emitRequestedItem();
|
|
33682
33754
|
}
|
|
33683
|
-
numberStringFormatter.numberFormatOptions = {
|
|
33684
|
-
locale: this.effectiveLocale,
|
|
33685
|
-
numberingSystem: this.parentStepperEl?.numberingSystem,
|
|
33686
|
-
useGrouping: false
|
|
33687
|
-
};
|
|
33688
33755
|
}
|
|
33689
33756
|
componentDidLoad() {
|
|
33690
33757
|
setComponentLoaded(this);
|
|
@@ -33698,7 +33765,7 @@ class StepperItem {
|
|
|
33698
33765
|
render() {
|
|
33699
33766
|
return (hAsync(Host, { "aria-expanded": toAriaBoolean(this.selected), onClick: this.handleItemClick, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "container" }, hAsync("div", { class: "stepper-item-header", ref: (el) => (this.headerEl = el), tabIndex:
|
|
33700
33767
|
/* additional tab index logic needed because of display: contents */
|
|
33701
|
-
this.layout === "horizontal" && !this.disabled ? 0 : null }, this.icon ? this.renderIcon() : null, this.numbered ?
|
|
33768
|
+
this.layout === "horizontal" && !this.disabled ? 0 : null }, this.icon ? this.renderIcon() : null, this.numbered ? hAsync("div", { class: "stepper-item-number" }, this.renderNumbers(), ".") : null, hAsync("div", { class: "stepper-item-header-text" }, hAsync("span", { class: "stepper-item-heading" }, this.heading), hAsync("span", { class: "stepper-item-description" }, this.description))), hAsync("div", { class: "stepper-item-content" }, hAsync("slot", null)))));
|
|
33702
33769
|
}
|
|
33703
33770
|
//--------------------------------------------------------------------------
|
|
33704
33771
|
//
|
|
@@ -33743,6 +33810,14 @@ class StepperItem {
|
|
|
33743
33810
|
getItemPosition() {
|
|
33744
33811
|
return Array.from(this.parentStepperEl?.querySelectorAll("calcite-stepper-item")).indexOf(this.el);
|
|
33745
33812
|
}
|
|
33813
|
+
renderNumbers() {
|
|
33814
|
+
numberStringFormatter.numberFormatOptions = {
|
|
33815
|
+
locale: this.effectiveLocale,
|
|
33816
|
+
numberingSystem: this.parentStepperEl?.numberingSystem,
|
|
33817
|
+
useGrouping: false
|
|
33818
|
+
};
|
|
33819
|
+
return numberStringFormatter.numberFormatter.format(this.itemPosition + 1);
|
|
33820
|
+
}
|
|
33746
33821
|
get el() { return getElement(this); }
|
|
33747
33822
|
static get watchers() { return {
|
|
33748
33823
|
"selected": ["selectedHandler"],
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -13,10 +13,7 @@ Calcite Components, part of Esri's Calcite Design System, is a rich library of f
|
|
|
13
13
|
The most common approach for loading Calcite Components is to use the version hosted on the CDN. The components can be loaded via `<script>` and `<link>` tags in the head of your HTML document:
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script
|
|
17
|
-
type="module"
|
|
18
|
-
src="https://unpkg.com/@esri/calcite-components@1.0.3/dist/calcite/calcite.esm.js"
|
|
19
|
-
></script>
|
|
16
|
+
<script type="module" src="https://unpkg.com/@esri/calcite-components@1.0.3/dist/calcite/calcite.esm.js"></script>
|
|
20
17
|
<link
|
|
21
18
|
rel="stylesheet"
|
|
22
19
|
type="text/css"
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.4-next.4
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as a,H as i,g as r,F as o}from"./p-8cb661ea.js";import{h as s,b as n,c,g as l,f as h,e as d,s as u,j as g,i as p,k as f,n as v,p as m}from"./p-f7f367a7.js";import{c as w,d as y,n as x}from"./p-2901c4df.js";import{c as b,d as k,s as D,u as z}from"./p-d23fa64b.js";import{c as _,b as C}from"./p-474d104a.js";import{u as A}from"./p-90123067.js";import{i as P}from"./p-d632f8c0.js";import{C as S}from"./p-49260fb9.js";import{H as j}from"./p-f511b513.js";import"./p-3a9f8ae0.js";import"./p-c5f97d95.js";const M=class{constructor(a){t(this,a),this.calciteDatePickerChange=e(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=e(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=t=>{"Escape"===t.key&&this.reset()},this.monthHeaderSelectChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthActiveDateChange=t=>{const e=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=e:this.activeStartDate=e,this.mostRecentRangeValue=e):this.activeDate=e},this.monthHoverChange=t=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:e}=this,a=Array.isArray(e)&&e[0],i=Array.isArray(e)&&e[1],r=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:a,end:i},this.proximitySelectionDisabled)i?this.hoverRange=void 0:r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end");else if(i){const t=s(r,a),e=s(r,i);e>0?(this.hoverRange.end=r,this.hoverRange.focused="end"):t<0||t>e?(this.hoverRange.start=r,this.hoverRange.focused="start"):(this.hoverRange.end=r,this.hoverRange.focused="end")}else r<a?this.hoverRange={focused:"start",start:r,end:a}:(this.hoverRange.end=r,this.hoverRange.focused="end");t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.reset=()=>{const{valueAsDate:t}=this;!Array.isArray(t)&&t&&t?.getTime()!==this.activeDate?.getTime()&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]?.getTime()!==(this.activeStartDate instanceof Date&&this.activeStartDate?.getTime())&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]?.getTime()!==(this.activeStartDate instanceof Date&&this.activeEndDate?.getTime())&&(this.activeEndDate=new Date(t[1])))},this.monthDateChange=t=>{const e=new Date(t.detail),a=n(e);if(!this.range&&a===n(this.valueAsDate))return;if(!this.range)return this.value=a||"",this.valueAsDate=e||null,this.activeDate=e||null,void this.calciteDatePickerChange.emit();const i=this.getStartDate(),r=this.getEndDate();if(!i||!r&&e<i)i&&this.setEndDate(new Date(i)),"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else if(r)if(this.proximitySelectionDisabled)this.setStartDate(e);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(e):this.setStartDate(e);else{const t=s(e,i),a=s(e,r);0===a||t<0?this.setStartDate(e):0===t||a<0?this.setEndDate(e):t<a?this.setStartDate(e):this.setEndDate(e)}else this.setEndDate(e);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeStartDate=void 0,this.activeEndDate=void 0,this.startAsDate=void 0,this.endAsDate=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.localeData=void 0,this.hoverRange=void 0}activeDateWatcher(t){"end"===this.activeRange&&(this.activeEndDate=t)}valueAsDateWatcher(t){if(this.range&&Array.isArray(t)){const{activeStartDate:e,activeEndDate:a}=this,i=t[0],r=t[1];this.activeStartDate=e!==i&&i,this.activeEndDate=a!==r&&r}else t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){t&&(this.minAsDate=c(t))}onMaxChanged(t){t&&(this.maxAsDate=c(t))}onMessagesChange(){}connectedCallback(){w(this),b(this),Array.isArray(this.value)?this.valueAsDate=l(this.value):this.value&&(this.valueAsDate=c(this.value)),this.min&&(this.minAsDate=c(this.min)),this.max&&(this.maxAsDate=c(this.max))}disconnectedCallback(){y(this),k(this)}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await D(this)}render(){const t=h(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let e=this.getActiveDate(t,this.minAsDate,this.maxAsDate);const r=this.range&&Array.isArray(this.valueAsDate)?h(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,o=this.getActiveEndDate(r,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!r)||!o||(e=o),this.range&&this.mostRecentRangeValue&&(e=this.mostRecentRangeValue),a(i,{onBlur:this.reset,onKeyDown:this.keyDownHandler,role:"application"},this.renderCalendar(e,this.range&&this.activeRange&&"start"===this.activeRange&&r||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:t||this.minAsDate:this.minAsDate,t,r))}effectiveLocaleChange(){z(this,this.effectiveLocale)}valueHandler(t){Array.isArray(t)?this.valueAsDate=l(t):t&&(this.valueAsDate=c(t))}async loadLocaleData(){x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await d(this.effectiveLocale)}renderCalendar(t,e,i,r,o){return this.localeData&&[a("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||2,localeData:this.localeData,max:e,messages:this.messages,min:i,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r||new Date}),a("calcite-date-picker-month",{activeDate:t,endDate:this.range?o:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:e,min:i,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?o:r,startDate:this.range?r:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){const e=this.getStartDate(),a=t?u(t):t;this.value=[n(e),n(t)],this.valueAsDate=[e,t],this.mostRecentRangeValue=a,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=t||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){const e=this.getEndDate();this.value=[n(t),n(e)],this.valueAsDate=[t,e],this.mostRecentRangeValue=t,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=t||null}getActiveDate(t,e,a){return h(this.activeDate,e,a)||t||h(new Date,e,a)}getActiveEndDate(t,e,a){return h(this.activeEndDate,e,a)||t||h(new Date,e,a)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};M.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";const I=class{constructor(a){t(this,a),this.calciteDaySelect=e(this,"calciteDaySelect",6),this.calciteInternalDayHover=e(this,"calciteInternalDayHover",6),this.onClick=()=>{!this.disabled&&this.calciteDaySelect.emit()},this.keyDownHandler=t=>{P(t.key)&&(!this.disabled&&this.calciteDaySelect.emit(),t.preventDefault())},this.day=void 0,this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.scale=void 0,this.value=void 0}mouseoverHandler(){this.calciteInternalDayHover.emit()}componentWillLoad(){this.parentDatePickerEl=_(this.el,"calcite-date-picker")}render(){const t=n(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:t,lang:e}=this.parentDatePickerEl;x.numberFormatOptions={useGrouping:!1,...t&&{numberingSystem:t},...e&&{locale:e}}}const e=x.localize(String(this.day)),r=C(this.el);return a(i,{id:t,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"gridcell"},a("div",{class:{"day-v-wrapper":!0,[S.rtl]:"rtl"===r}},a("div",{class:"day-wrapper"},a("span",{class:"day"},a("span",{class:"text"},e)))))}componentDidRender(){A(this,this.isTabbable)}isTabbable(){return this.active}get el(){return r(this)}};I.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;min-inline-size:0px;cursor:pointer;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day,:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day,:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";const H=class{constructor(a){t(this,a),this.calciteInternalDatePickerSelect=e(this,"calciteInternalDatePickerSelect",6),this.calciteInternalDatePickerHover=e(this,"calciteInternalDatePickerHover",6),this.calciteInternalDatePickerActiveDateChange=e(this,"calciteInternalDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=e(this,"calciteInternalDatePickerMouseOut",6),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const e="rtl"===this.el.dir;switch(t.key){case"ArrowUp":t.preventDefault(),this.addDays(-7);break;case"ArrowRight":t.preventDefault(),this.addDays(e?-1:1);break;case"ArrowDown":t.preventDefault(),this.addDays(7);break;case"ArrowLeft":t.preventDefault(),this.addDays(e?1:-1);break;case"PageUp":t.preventDefault(),this.addMonths(-1);break;case"PageDown":t.preventDefault(),this.addMonths(1);break;case"Home":t.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":t.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":t.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=t=>{const e=t.target;e.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(e.value),t.stopPropagation()},this.daySelect=t=>{this.calciteInternalDatePickerSelect.emit(t.target.value)},this.selectedDate=void 0,this.activeDate=new Date,this.startDate=void 0,this.endDate=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.hoverRange=void 0}mouseoutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const t=this.activeDate.getMonth(),e=this.activeDate.getFullYear(),r=this.localeData.weekStart%7,{abbreviated:o,short:s,narrow:n}=this.localeData.days,c="s"===this.scale?n||s||o:s||o||n,l=[...c.slice(r,7),...c.slice(0,r)],h=this.getCurrentMonthDays(t,e),d=this.getPreviousMonthDays(t,e,r),u=this.getNextMonthDays(t,e,r),p=[...d.map((a=>{const i=new Date(e,t-1,a);return this.renderDateDay(!1,a,i)})),...h.map((a=>{const i=new Date(e,t,a),r=g(i,this.activeDate);return this.renderDateDay(r,a,i,!0,!0)})),...u.map((a=>{const i=new Date(e,t+1,a);return this.renderDateDay(!1,a,i)}))],f=[];for(let t=0;t<p.length;t+=7)f.push(p.slice(t,t+7));return a(i,{onFocusOut:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calender",role:"grid"},a("div",{class:"week-headers",role:"row"},l.map((t=>a("span",{class:"week-header",role:"columnheader"},t)))),f.map((t=>a("div",{class:"week-days",role:"row"},t)))))}addMonths(t){const e=new Date(this.activeDate);e.setMonth(this.activeDate.getMonth()+t),this.calciteInternalDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}addDays(t=0){const e=new Date(this.activeDate);e.setDate(this.activeDate.getDate()+t),this.calciteInternalDatePickerActiveDateChange.emit(h(e,this.min,this.max)),this.activeFocus=!0}getPreviousMonthDays(t,e,a){const i=new Date(e,t,0),r=i.getDate(),o=i.getDay(),s=[];if(o===(a+6)%7)return s;if(o===a)return[r];for(let t=(7+o-a)%7;t>=0;t--)s.push(r-t);return s}getCurrentMonthDays(t,e){const a=new Date(e,t+1,0).getDate(),i=[];for(let t=0;t<a;t++)i.push(t+1);return i}getNextMonthDays(t,e,a){const i=new Date(e,t+1,0).getDay(),r=[];if(i===(a+6)%7)return r;for(let t=0;t<(6-(i-a))%7;t++)r.push(t+1);return r}betweenSelectedRange(t){return!(!(this.startDate&&this.endDate&&t>this.startDate&&t<this.endDate)||this.isRangeHover(t))}isSelected(t){return!!(g(t,this.selectedDate)||this.startDate&&g(t,this.startDate)||this.endDate&&g(t,this.endDate))}isStartOfRange(t){return!(!this.startDate||g(this.startDate,this.endDate)||!g(this.startDate,t)||this.isEndOfRange(t))}isEndOfRange(t){return!!(this.endDate&&!g(this.startDate,this.endDate)&&g(this.endDate,t)||!this.endDate&&this.hoverRange&&g(this.startDate,this.hoverRange.end)&&g(t,this.hoverRange.end))}renderDateDay(t,e,i,r,o){const s=this.isFocusedOnStart(),n=this.isHoverInRange()||!this.endDate&&this.hoverRange&&g(this.hoverRange?.end,this.startDate);return a("calcite-date-picker-day",{active:t,class:{"hover--inside-range":this.startDate&&n,"hover--outside-range":this.startDate&&!n,"focused--start":s,"focused--end":!s},currentMonth:r,day:e,disabled:!p(i,this.min,this.max),endOfRange:this.isEndOfRange(i),highlighted:this.betweenSelectedRange(i),key:i.toDateString(),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!g(this.startDate,this.endDate),rangeHover:this.isRangeHover(i),ref:e=>{o&&t&&this.activeFocus&&e?.focus()},scale:this.scale,selected:this.isSelected(i),startOfRange:this.isStartOfRange(i),value:i})}isFocusedOnStart(){return"start"===this.hoverRange?.focused}isHoverInRange(){if(!this.hoverRange)return!1;const{start:t,end:e}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||e<this.endDate)||this.isFocusedOnStart()&&this.startDate&&t>this.startDate)}isRangeHover(t){if(!this.hoverRange)return!1;const{start:e,end:a}=this.hoverRange,i=this.isFocusedOnStart(),r=this.isHoverInRange(),o=r&&(!i&&t>this.startDate&&(t<a||g(t,a))||i&&t<this.endDate&&(t>e||g(t,e))),s=!r&&(!i&&t>=this.endDate&&(t<a||g(t,a))||i&&(t<this.startDate||this.endDate&&g(t,this.startDate))&&(t>e||g(t,e)));return o||s}get el(){return r(this)}};H.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}.calender{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:flex;flex-direction:row;padding-block:0px;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";const R=class{constructor(a){t(this,a),this.calciteInternalDatePickerSelect=e(this,"calciteInternalDatePickerSelect",6),this.onYearKey=t=>{const e=this.parseCalendarYear(t.target.value);switch(t.key){case"ArrowDown":t.preventDefault(),this.setYear({localizedYear:e,offset:-1});break;case"ArrowUp":t.preventDefault(),this.setYear({localizedYear:e,offset:1})}},this.onYearChange=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value)})},this.onYearInput=t=>{this.setYear({localizedYear:this.parseCalendarYear(t.target.value),commit:!1})},this.prevMonthClick=t=>{this.handleArrowClick(t,this.prevMonthDate)},this.prevMonthKeydown=t=>{P(t.key)&&this.prevMonthClick(t)},this.nextMonthClick=t=>{this.handleArrowClick(t,this.nextMonthDate)},this.nextMonthKeydown=t=>{P(t.key)&&this.nextMonthClick(t)},this.handleArrowClick=(t,e)=>{t.preventDefault(),this.calciteInternalDatePickerSelect.emit(e)},this.selectedDate=void 0,this.activeDate=void 0,this.headingLevel=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.messages=void 0,this.globalAttributes={},this.nextMonthDate=void 0,this.prevMonthDate=void 0}componentWillLoad(){this.parentDatePickerEl=_(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{class:"header"},this.renderContent())}renderContent(){const{messages:t,localeData:e,activeDate:i}=this;if(!i||!e)return null;if(this.parentDatePickerEl){const{numberingSystem:t,lang:e}=this.parentDatePickerEl;x.numberFormatOptions={useGrouping:!1,...t&&{numberingSystem:t},...e&&{locale:e}}}const r=i.getMonth(),{months:s,unitOrder:n}=e,c=(s.wide||s.narrow||s.abbreviated)[r],l=this.formatCalendarYear(i.getFullYear()),h="l"===this.scale?"m":"s",d=f(n),u=d.indexOf("y")<d.indexOf("m"),g=e.year?.suffix;return a(o,null,a("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===r}`,"aria-label":t.prevMonth,class:"chevron",href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:h})),a("div",{class:{text:!0,"text--reverse":u}},a(j,{class:"month",level:this.headingLevel},c),a("span",{class:"year-wrap"},a("input",{"aria-label":t.year,class:{year:!0,"year--suffix":!!g},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:t=>this.yearInput=t,type:"text",value:l}),g&&a("span",{class:"suffix"},g))),a("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===r}`,"aria-label":t.nextMonth,class:"chevron",href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===r?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:h})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(v(this.activeDate),this.min,this.max),this.prevMonthDate=h(m(this.activeDate),this.min,this.max))}formatCalendarYear(t){const{localeData:e}=this;return x.localize(`${t+("buddhist"===e["default-calendar"]?543:0)}`)}parseCalendarYear(t){const{localeData:e}=this,a="buddhist"===e["default-calendar"]?543:0,i=Number(x.delocalize(t))-a;return x.localize(`${i}`)}getInRangeDate({localizedYear:t,offset:e=0}){const{min:a,max:i,activeDate:r}=this,o=Number(x.delocalize(t)),s=o.toString().length,n=!isNaN(o)&&o+e,c=n&&(!a||a.getFullYear()<=n)&&(!i||i.getFullYear()>=n);if(n&&c&&s===t.length){const t=new Date(r);return t.setFullYear(n),h(t,a,i)}}setYear({localizedYear:t,commit:e=!0,offset:a=0}){const{yearInput:i,activeDate:r}=this,o=this.getInRangeDate({localizedYear:t,offset:a});o&&this.calciteInternalDatePickerSelect.emit(o),e&&(i.value=this.formatCalendarYear((o||r).getFullYear()))}get el(){return r(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};R.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}";export{M as calcite_date_picker,I as calcite_date_picker_day,H as calcite_date_picker_month,R as calcite_date_picker_month_header}
|