@esri/calcite-components 1.0.4-next.5 → 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-114ff47b.entry.js → p-0122bf46.entry.js} +2 -2
- package/dist/calcite/{p-aabccb4f.entry.js → p-01d5f554.entry.js} +2 -2
- package/dist/calcite/{p-39e7d705.entry.js → p-0307c387.entry.js} +2 -2
- package/dist/calcite/{p-37a93079.entry.js → p-05de3161.entry.js} +2 -2
- package/dist/calcite/{p-977572ba.js → p-0e9616c9.js} +2 -2
- package/dist/calcite/{p-a4d7b199.entry.js → p-0eb8a83c.entry.js} +2 -2
- package/dist/calcite/{p-15266340.entry.js → p-113c75d0.entry.js} +2 -2
- package/dist/calcite/{p-8d31fe9f.entry.js → p-12acca8f.entry.js} +2 -2
- package/dist/calcite/{p-7ebe9e22.entry.js → p-12aee5ea.entry.js} +2 -2
- package/dist/calcite/{p-3cb250eb.entry.js → p-13c7a3b3.entry.js} +2 -2
- package/dist/calcite/{p-7dfb0797.js → p-15edd616.js} +1 -1
- package/dist/calcite/{p-5b83f5c9.entry.js → p-16ee1071.entry.js} +2 -2
- package/dist/calcite/{p-07f4c53c.js → p-17f50ec0.js} +2 -2
- package/dist/calcite/{p-40149f32.js → p-1861a75f.js} +1 -1
- package/dist/calcite/{p-0e5673db.entry.js → p-19d905bd.entry.js} +2 -2
- package/dist/calcite/{p-5828d28e.entry.js → p-1b36f197.entry.js} +2 -2
- package/dist/calcite/{p-5b905603.js → p-1cfb053f.js} +1 -1
- package/dist/calcite/{p-83244d6a.entry.js → p-1d9c9388.entry.js} +2 -2
- package/dist/calcite/{p-7ffd56e5.entry.js → p-20fb5cef.entry.js} +2 -2
- package/dist/calcite/{p-463aabd7.entry.js → p-219c395a.entry.js} +2 -2
- package/dist/calcite/{p-338c29c1.entry.js → p-24af6984.entry.js} +2 -2
- package/dist/calcite/{p-f4c6be46.entry.js → p-29accc43.entry.js} +2 -2
- package/dist/calcite/{p-142f5b18.entry.js → p-2aa30bbd.entry.js} +2 -2
- package/dist/calcite/{p-5c72b53a.entry.js → p-2bf11448.entry.js} +2 -2
- package/dist/calcite/{p-0b918318.js → p-2c3354ea.js} +2 -2
- package/dist/calcite/p-2d0b8490.js +6 -0
- package/dist/calcite/{p-ec4d3df4.js → p-2db7bb5c.js} +2 -2
- package/dist/calcite/{p-c7e01857.js → p-2dd9b3c6.js} +1 -1
- package/dist/calcite/p-30f9876e.entry.js +6 -0
- package/dist/calcite/{p-fe64d58c.entry.js → p-31f6633a.entry.js} +2 -2
- package/dist/calcite/{p-3cccadc4.js → p-326653a7.js} +1 -1
- package/dist/calcite/{p-a4252ce0.entry.js → p-326e62d7.entry.js} +2 -2
- package/dist/calcite/{p-93a12f69.js → p-330308af.js} +1 -1
- package/dist/calcite/{p-358b326d.js → p-374e129d.js} +2 -2
- package/dist/calcite/{p-9541d78a.entry.js → p-3cb80155.entry.js} +2 -2
- package/dist/calcite/{p-b31d7a3f.js → p-409d266a.js} +2 -2
- package/dist/calcite/{p-38f147d2.entry.js → p-47a01714.entry.js} +2 -2
- package/dist/calcite/p-4b708697.entry.js +6 -0
- package/dist/calcite/{p-cd9dd6c2.js → p-4bb22a15.js} +2 -2
- package/dist/calcite/{p-f0cfee8d.entry.js → p-4dc12b5d.entry.js} +2 -2
- package/dist/calcite/{p-966806b2.js → p-4f686600.js} +1 -1
- package/dist/calcite/{p-ab4e0136.entry.js → p-507827e3.entry.js} +2 -2
- package/dist/calcite/{p-1e637e7e.js → p-51de283b.js} +2 -2
- package/dist/calcite/{p-b788ed02.entry.js → p-53fbd8c5.entry.js} +2 -2
- package/dist/calcite/{p-84b642a5.entry.js → p-5b32e259.entry.js} +2 -2
- package/dist/calcite/{p-70ffeabc.entry.js → p-6a698f76.entry.js} +2 -2
- package/dist/calcite/{p-db26223b.entry.js → p-6a75fbe5.entry.js} +2 -2
- package/dist/calcite/{p-beffc9e8.entry.js → p-6bb35f8b.entry.js} +2 -2
- package/dist/calcite/{p-113203ce.entry.js → p-70fe2ff8.entry.js} +2 -2
- package/dist/calcite/{p-73bd3fe0.entry.js → p-729c9242.entry.js} +2 -2
- package/dist/calcite/{p-a24f134e.entry.js → p-7c66852b.entry.js} +2 -2
- package/dist/calcite/{p-b06b9453.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-32d12896.js → p-8462bcaf.js} +2 -2
- package/dist/calcite/{p-eee4dbbb.js → p-86a15905.js} +1 -1
- package/dist/calcite/{p-11d67099.js → p-880c785d.js} +1 -1
- package/dist/calcite/{p-8f10886a.js → p-8bb36fab.js} +1 -1
- package/dist/calcite/{p-0230585d.entry.js → p-948a136d.entry.js} +2 -2
- package/dist/calcite/p-97aa7f71.entry.js +6 -0
- package/dist/calcite/{p-8c507309.entry.js → p-9abeee06.entry.js} +2 -2
- package/dist/calcite/{p-050035cc.js → p-9c1c6a9f.js} +2 -2
- package/dist/calcite/{p-2110de3b.js → p-9db7bbbc.js} +2 -2
- package/dist/calcite/{p-02be0f65.js → p-9dc71950.js} +1 -1
- package/dist/calcite/{p-14ba5650.js → p-aa8a79b2.js} +1 -1
- package/dist/calcite/{p-e4587b22.entry.js → p-aac0390d.entry.js} +2 -2
- package/dist/calcite/{p-a82d983e.entry.js → p-ab9e6454.entry.js} +2 -2
- package/dist/calcite/{p-cd170527.js → p-b1a2552e.js} +2 -2
- package/dist/calcite/{p-7910b2bd.entry.js → p-b3fa43ec.entry.js} +2 -2
- package/dist/calcite/{p-1ba6cb26.entry.js → p-b66723c4.entry.js} +2 -2
- package/dist/calcite/{p-4f1b1c5b.js → p-b9e7365d.js} +1 -1
- package/dist/calcite/{p-e98ea83e.js → p-bac04566.js} +1 -1
- package/dist/calcite/{p-15a44b97.entry.js → p-bc073683.entry.js} +2 -2
- package/dist/calcite/{p-6f817a03.entry.js → p-bc11b07d.entry.js} +2 -2
- package/dist/calcite/{p-4c2d1400.js → p-bc374940.js} +2 -2
- package/dist/calcite/{p-c4cd2aaa.entry.js → p-bef747bc.entry.js} +2 -2
- package/dist/calcite/{p-5ab06eff.entry.js → p-bfef169d.entry.js} +2 -2
- package/dist/calcite/{p-7dcca20f.entry.js → p-c4f48711.entry.js} +2 -2
- package/dist/calcite/{p-ce15c97f.entry.js → p-c7ade4a1.entry.js} +2 -2
- package/dist/calcite/{p-6479ac48.entry.js → p-c853a272.entry.js} +2 -2
- package/dist/calcite/{p-76606d9f.js → p-c921c36a.js} +1 -1
- package/dist/calcite/{p-7b6437df.entry.js → p-cbce14a9.entry.js} +2 -2
- package/dist/calcite/p-cc18be02.entry.js +6 -0
- package/dist/calcite/{p-595251ed.entry.js → p-d5f391cf.entry.js} +2 -2
- package/dist/calcite/{p-c71320b6.entry.js → p-da6ff5ea.entry.js} +2 -2
- package/dist/calcite/{p-6df545f5.js → p-dbfb1055.js} +2 -2
- package/dist/calcite/{p-3c469f34.entry.js → p-ddcfb8d7.entry.js} +2 -2
- package/dist/calcite/{p-ec60b009.entry.js → p-e08f065a.entry.js} +2 -2
- package/dist/calcite/p-ed1b533b.entry.js +6 -0
- package/dist/calcite/{p-9d499209.js → p-f04da847.js} +1 -1
- package/dist/calcite/{p-a2744684.entry.js → p-f18d286b.entry.js} +2 -2
- package/dist/calcite/{p-5bd556b2.entry.js → p-f9c6c3e1.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-a11bed16.js → ExpandToggle-62a3c445.js} +5 -5
- package/dist/cjs/{Heading-c274ffcf.js → Heading-7a2fb8f8.js} +2 -2
- package/dist/cjs/{app-globals-94e86c97.js → app-globals-a23987ee.js} +2 -2
- package/dist/cjs/{array-0c8f8ca0.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 +10 -10
- 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-98b54564.js → conditionalSlot-7b748e3d.js} +3 -3
- package/dist/cjs/{debounce-c85de5f4.js → debounce-275af050.js} +1 -1
- package/dist/cjs/{dom-90e3a5e5.js → dom-b629e229.js} +3 -3
- package/dist/cjs/{filter-7e7ab78f.js → filter-15adea2e.js} +2 -2
- package/dist/cjs/{floating-ui-bfe5f9d3.js → floating-ui-4529191c.js} +4 -4
- package/dist/cjs/{focusTrapComponent-01b3ffb8.js → focusTrapComponent-b8490094.js} +2 -2
- package/dist/cjs/{form-e19a9624.js → form-b8993b12.js} +3 -3
- package/dist/cjs/{guid-38925fa8.js → guid-62fa6c6c.js} +1 -1
- package/dist/cjs/{index-82ae6c49.js → index-9913c089.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-fc156c17.js → interactive-d3293171.js} +1 -1
- package/dist/cjs/{key-693df862.js → key-b7f1f9fd.js} +1 -1
- package/dist/cjs/{label-8069c595.js → label-58ea8e1b.js} +2 -2
- package/dist/cjs/{loadable-c1b58aae.js → loadable-34f90424.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c3ff58f1.js → locale-f986aeb4.js} +4 -4
- package/dist/cjs/{math-b7c7db62.js → math-76393f37.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-c97ab4e2.js → nonChromiumPlatformUtils-31ff2a94.js} +6 -6
- package/dist/cjs/{observers-401a49c1.js → observers-d9d9e149.js} +1 -1
- package/dist/cjs/{openCloseComponent-3388620c.js → openCloseComponent-9cdb09e2.js} +2 -2
- package/dist/cjs/{resources-5be537d4.js → resources-170861cb.js} +1 -1
- package/dist/cjs/{resources-39afba1f.js → resources-1b7da7a7.js} +1 -1
- package/dist/cjs/{resources-9fb8a2f7.js → resources-7bade0ef.js} +1 -1
- package/dist/cjs/{resources-1ef86546.js → resources-7c00af82.js} +5 -5
- package/dist/cjs/{resources-b6f0ef1a.js → resources-a63c55cb.js} +1 -1
- package/dist/cjs/{resources-0f7edc13.js → resources-b9fa9073.js} +1 -1
- package/dist/cjs/{sortable.esm-575f0510.js → sortable.esm-403e05ac.js} +1 -1
- package/dist/cjs/{t9n-e9c97df7.js → t9n-441b35e1.js} +3 -3
- package/dist/cjs/{utils-75cef2ca.js → utils-9bb6fc2b.js} +3 -3
- package/dist/cjs/{utils-7ffe8193.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 +1 -1
- 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 +1 -1
- 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-6b5fb422.js → ExpandToggle-74a006e7.js} +5 -5
- package/dist/esm/{Heading-54a50bb1.js → Heading-8e6812f7.js} +2 -2
- package/dist/esm/{app-globals-e59baae9.js → app-globals-6319593c.js} +2 -2
- package/dist/esm/{array-33b5b5aa.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 +10 -10
- 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-d6de29db.js → conditionalSlot-be29408d.js} +3 -3
- package/dist/esm/{debounce-1ba0e805.js → debounce-9c6d0aff.js} +1 -1
- package/dist/esm/{dom-86a875e0.js → dom-421899c8.js} +3 -3
- package/dist/esm/{filter-831a6c50.js → filter-0c4e1779.js} +2 -2
- package/dist/esm/{floating-ui-0cc0a869.js → floating-ui-8912de4a.js} +4 -4
- package/dist/esm/{focusTrapComponent-da63f800.js → focusTrapComponent-63fa1bf4.js} +2 -2
- package/dist/esm/{form-295c6729.js → form-21313b8c.js} +3 -3
- package/dist/esm/{guid-bcc61b5c.js → guid-efe45248.js} +1 -1
- package/dist/esm/{index-b9e23a4d.js → index-b2b0ab06.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-04de3f50.js → interactive-b5c9800f.js} +1 -1
- package/dist/esm/{key-86e6ca6f.js → key-2e71dc88.js} +1 -1
- package/dist/esm/{label-a0e5e4db.js → label-ae6f5e0c.js} +2 -2
- package/dist/esm/{loadable-363260fc.js → loadable-9dc12b8d.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-5c17ab98.js → locale-4dc76aee.js} +4 -4
- package/dist/esm/{math-1da37dcc.js → math-f04ea8ed.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-b1f6ca08.js → nonChromiumPlatformUtils-ceb045d1.js} +6 -6
- package/dist/esm/{observers-8fa12656.js → observers-40fdbaa0.js} +1 -1
- package/dist/esm/{openCloseComponent-9ff85690.js → openCloseComponent-24bc30ff.js} +2 -2
- package/dist/esm/{resources-875b511a.js → resources-0605873d.js} +1 -1
- package/dist/esm/{resources-4931e3b8.js → resources-0cc2a73e.js} +1 -1
- package/dist/esm/{resources-0913179b.js → resources-27434fab.js} +1 -1
- package/dist/esm/{resources-51927d60.js → resources-4fe32769.js} +1 -1
- package/dist/esm/{resources-60072604.js → resources-70dac4f3.js} +5 -5
- package/dist/esm/{resources-3db3d7e1.js → resources-74d7217c.js} +1 -1
- package/dist/esm/{sortable.esm-6dbfa975.js → sortable.esm-82daa295.js} +1 -1
- package/dist/esm/{t9n-29afd3a3.js → t9n-c216fdda.js} +3 -3
- package/dist/esm/{utils-fcdc9133.js → utils-98fb7242.js} +1 -1
- package/dist/esm/{utils-e5e2a011.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.d.ts +28 -4
- package/hydrate/index.js +76 -4
- package/package.json +1 -1
- package/readme.md +1 -4
- package/dist/calcite/p-07acab63.entry.js +0 -6
- package/dist/calcite/p-142e1365.entry.js +0 -6
- package/dist/calcite/p-224b5e40.entry.js +0 -6
- package/dist/calcite/p-22fd8884.entry.js +0 -6
- package/dist/calcite/p-5b9f419e.entry.js +0 -6
- package/dist/calcite/p-77d377b1.js +0 -6
- package/dist/calcite/p-8e136eba.entry.js +0 -6
- package/dist/calcite/p-a75e4ffd.entry.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$": "-",
|
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.5
|
|
5
|
-
*/
|
|
6
|
-
import{r as i,c as t,h as e,F as a,g as s}from"./p-9d499209.js";import{n,c as o,d as c}from"./p-4c2d1400.js";import{u as r,c as l,s as h,d as p}from"./p-0b918318.js";import"./p-050035cc.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";import"./p-eee4dbbb.js";const m=class{constructor(e){i(this,e),this.calcitePaginationChange=t(this,"calcitePaginationChange",6),this.previousClicked=()=>{this.previousPage().then(),this.emitUpdate()},this.nextClicked=()=>{this.nextPage(),this.emitUpdate()},this.groupSeparator=!1,this.messageOverrides=void 0,this.pageSize=20,this.numberingSystem=void 0,this.startItem=1,this.totalItems=0,this.scale="m",this.defaultMessages=void 0,this.effectiveLocale="",this.messages=void 0}onMessagesChange(){}effectiveLocaleChange(){r(this,this.effectiveLocale)}effectiveLocaleWatcher(){n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator}}connectedCallback(){o(this),l(this)}async componentWillLoad(){await h(this)}disconnectedCallback(){c(this),p(this)}async nextPage(){this.startItem=Math.min(this.getLastStart(),this.startItem+this.pageSize)}async previousPage(){this.startItem=Math.max(1,this.startItem-this.pageSize)}getLastStart(){const{totalItems:i,pageSize:t}=this;return 1+(i%t==0?i-t:Math.floor(i/t)*t)}showLeftEllipsis(){return Math.floor(this.startItem/this.pageSize)>3}showRightEllipsis(){return(this.totalItems-this.startItem)/this.pageSize>3}emitUpdate(){this.calcitePaginationChange.emit()}renderPages(){const i=this.getLastStart();let t,e;this.totalItems/this.pageSize<=5?(e=1+this.pageSize,t=i-this.pageSize):this.startItem/this.pageSize<4?(e=1+this.pageSize,t=1+4*this.pageSize):this.startItem+3*this.pageSize>=this.totalItems?(e=i-4*this.pageSize,t=i-this.pageSize):(e=this.startItem-this.pageSize,t=this.startItem+this.pageSize);const a=[];for(;e<=t;)a.push(e),e+=this.pageSize;return a.map((i=>this.renderPage(i)))}renderPage(i){const t=Math.floor(i/this.pageSize)+(1===this.pageSize?0:1);n.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const a=n.localize(t.toString());return e("button",{class:{page:!0,"is-selected":i===this.startItem},onClick:()=>{this.startItem=i,this.emitUpdate()}},a)}renderLeftEllipsis(){if(this.totalItems/this.pageSize>5&&this.showLeftEllipsis())return e("span",{class:"ellipsis ellipsis--start"},"…")}renderRightEllipsis(){if(this.totalItems/this.pageSize>5&&this.showRightEllipsis())return e("span",{class:"ellipsis ellipsis--end"},"…")}render(){const{totalItems:i,pageSize:t,startItem:s}=this,n=1===t?s<=t:s<t,o=s+t>i;return e(a,null,e("button",{"aria-label":this.messages.previous,class:{previous:!0,"is-disabled":n},disabled:n,onClick:this.previousClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronLeft",scale:"l"===this.scale?"m":"s"})),i>t?this.renderPage(1):null,this.renderLeftEllipsis(),this.renderPages(),this.renderRightEllipsis(),this.renderPage(this.getLastStart()),e("button",{"aria-label":this.messages.next,class:{next:!0,"is-disabled":o},disabled:o,onClick:this.nextClicked},e("calcite-icon",{flipRtl:!0,icon:"chevronRight",scale:"l"===this.scale?"m":"s"})))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","effectiveLocaleWatcher"]}}};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([scale=s]){--calcite-pagination-spacing-internal:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-inline:0.25rem}:host([scale=m]){--calcite-pagination-spacing-internal:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-inline:0.5rem}:host([scale=l]){--calcite-pagination-spacing-internal:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-inline:1rem}:host{display:flex;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-block:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-block-end-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-end-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing-internal)}.ellipsis{display:flex;align-items:flex-end;color:var(--calcite-ui-text-3)}";export{m as calcite_pagination}
|
|
@@ -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.5
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,g as e}from"./p-9d499209.js";import{u as n}from"./p-14ba5650.js";const o=class{constructor(a){t(this,a),this.calciteSplitButtonPrimaryClick=i(this,"calciteSplitButtonPrimaryClick",6),this.calciteSplitButtonSecondaryClick=i(this,"calciteSplitButtonSecondaryClick",6),this.calciteSplitButtonPrimaryClickHandler=()=>this.calciteSplitButtonPrimaryClick.emit(),this.calciteSplitButtonSecondaryClickHandler=()=>this.calciteSplitButtonSecondaryClick.emit(),this.appearance="solid",this.kind="brand",this.disabled=!1,this.active=!1,this.dropdownIconType="chevron",this.dropdownLabel=void 0,this.loading=!1,this.overlayPositioning="absolute",this.primaryIconEnd=void 0,this.primaryIconFlipRtl=void 0,this.primaryIconStart=void 0,this.primaryLabel=void 0,this.primaryText=void 0,this.scale="m",this.width="auto"}handleDisabledChange(t){t||(this.active=!1)}activeHandler(){this.disabled&&(this.active=!1)}componentDidRender(){n(this)}render(){return a("div",{class:{"split-button__container":!0,"width-auto":"auto"===this.width,"width-half":"half"===this.width,"width-full":"full"===this.width}},a("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-end":this.primaryIconEnd?this.primaryIconEnd:null,"icon-start":this.primaryIconStart?this.primaryIconStart:null,iconFlipRtl:this.primaryIconFlipRtl?this.primaryIconFlipRtl:null,kind:this.kind,label:this.primaryLabel,loading:this.loading,onClick:this.calciteSplitButtonPrimaryClickHandler,scale:this.scale,splitChild:"primary",type:"button",width:"auto"===this.width?"auto":"full"},this.primaryText),a("div",{class:"split-button__divider-container"},a("div",{class:"split-button__divider"})),a("calcite-dropdown",{disabled:this.disabled,onClick:this.calciteSplitButtonSecondaryClickHandler,open:this.active,overlayPositioning:this.overlayPositioning,placement:"bottom-end",scale:this.scale,width:this.scale},a("calcite-button",{appearance:this.appearance,disabled:this.disabled,"icon-start":this.dropdownIcon,kind:this.kind,label:this.dropdownLabel,scale:this.scale,slot:"trigger",splitChild:"secondary",type:"button"}),a("slot",null)))}get dropdownIcon(){return"chevron"===this.dropdownIconType?"chevronDown":"caret"===this.dropdownIconType?"caretDown":"ellipsis"===this.dropdownIconType?"ellipsis":"handle-vertical"}static get delegatesFocus(){return!0}get el(){return e(this)}static get watchers(){return{disabled:["handleDisabledChange"],active:["activeHandler"]}}};o.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:inline-block}:host .split-button__container{display:flex;align-items:stretch}:host .split-button__container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}:host:host([kind=brand]){--calcite-split-button-background:var(--calcite-ui-brand);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=danger]){--calcite-split-button-background:var(--calcite-ui-danger);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host:host([kind=neutral]){--calcite-split-button-background:var(--calcite-ui-foreground-3);--calcite-split-button-divider:var(--calcite-ui-text-1)}:host:host([kind=inverse]){--calcite-split-button-background:var(--calcite-ui-inverse);--calcite-split-button-divider:var(--calcite-ui-foreground-1)}:host([appearance=transparent]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-foreground-1);--calcite-split-button-background:transparent}:host([appearance=outline]),:host([appearance=transparent]){--calcite-split-button-background:transparent}:host([appearance=outline-fill]){--calcite-split-button-background:var(--calcite-ui-foreground-1)}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-split-button-divider:var(--calcite-ui-foreground-3)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-split-button-divider:var(--calcite-ui-inverse)}.width-auto{inline-size:auto}.width-half{inline-size:50%}.width-full{inline-size:100%}.split-button__divider-container{display:flex;inline-size:1px;align-items:stretch;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background-color:var(--calcite-split-button-background)}.split-button__divider{margin-block:0.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]) .split-button__divider-container,:host([appearance=outline]) .split-button__divider-container{border-block:1px solid var(--calcite-split-button-divider)}:host([appearance=outline-fill]):hover .split-button__divider-container,:host([appearance=outline]):hover .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:hover) .split-button__divider-container,:host([appearance=outline]:hover) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-split-button-divider:var(--calcite-ui-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-split-button-divider:var(--calcite-ui-danger-press)}:host([appearance=outline-fill]:focus-within) .split-button__divider-container,:host([appearance=outline]:focus-within) .split-button__divider-container{background-color:var(--calcite-split-button-divider)}:host([disabled]) .split-button__divider-container{opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";export{o as calcite_split_button}
|
|
@@ -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.5
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as e,F as i,g as a,f as n}from"./p-9d499209.js";import{c as o,d as l}from"./p-1e637e7e.js";import{s,y as c,g as r,b as d,i as h}from"./p-050035cc.js";import{c as p,d as m}from"./p-4c2d1400.js";import{c as f}from"./p-7dfb0797.js";import{c as u,s as x,d as w,u as b}from"./p-0b918318.js";import"./p-eee4dbbb.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";const v=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!s(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!s(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!s(t),c(t)?.map((t=>{"CALCITE-ALERT"===t.nodeName&&(t.slottedInShell=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!s(t),c(t)?.map((t=>{"CALCITE-MODAL"===t.nodeName&&(t.slottedInShell=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1}connectedCallback(){o(this)}disconnectedCallback(){l(this)}renderHeader(){return e("div",{hidden:!this.hasHeader},e("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return e("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},e("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return e("div",{hidden:!this.hasAlerts},e("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderModals(){return e("div",{hidden:!this.hasModals},e("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderContent(){const t=e("slot",{key:"default-slot"}),i=e("slot",{key:"center-row-slot",name:"center-row"}),a="content-container";return this.contentBehind?[e("div",{class:{content:!0,"content--behind":!0},key:a},t),i]:[e("div",{class:"content",key:a},t,i)]}renderMain(){return e("div",{class:"main"},e("slot",{name:"panel-start"}),this.renderContent(),e("slot",{name:"panel-end"}))}renderPositionedSlots(){return e("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals())}render(){return e(i,null,this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return a(this)}};v.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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}.position-wrapper{position:absolute;pointer-events:none;inset:0}";const g=class{constructor(e){t(this,e),this.detached=!1,this.heightScale="s",this.position="end"}connectedCallback(){o(this)}disconnectedCallback(){l(this)}render(){const{el:t}=this,a=e("div",{class:"content"},e("slot",null)),n=r(t,"action-bar"),o=[n?e("div",{class:"action-bar-container",key:"action-bar"},e("slot",{name:"action-bar"})):null,a];return"end"===n?.position&&o.reverse(),e(i,null,o)}get el(){return a(this)}};g.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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex:1 1 auto;overflow:hidden;background-color:transparent}.content{margin:0px;display:flex;block-size:100%;inline-size:100%;overflow:hidden;flex:1 0 0}.action-bar-container{display:flex}:host([detached]){margin-inline:0.5rem;margin-block:0.5rem 1.5rem}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}:host([detached]){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;border-width:0px;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([position=end]){align-self:flex-end}:host([position=start]){align-self:flex-start}:host([height-scale=s]){block-size:33.333333%}:host([height-scale=m]){block-size:70%}:host([height-scale=l]){block-size:100%}:host([height-scale=l][detached]){block-size:calc(100% - 2rem)}::slotted(calcite-panel){block-size:100%;inline-size:100%}::slotted(calcite-action-bar),::slotted(calcite-action-bar[position=end]){border-inline-end:1px solid;border-color:var(--calcite-ui-border-3)}";const y=class{constructor(e){t(this,e),this.initialContentWidth=null,this.initialClientX=null,this.contentWidthMax=null,this.contentWidthMin=null,this.step=1,this.stepMultiplier=10,this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedWidth=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:n,contentWidthMin:o,contentWidthMax:l,initialContentWidth:s,position:c}=this,r=a*n;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const h=["ArrowLeft","ArrowRight"],p="rtl"===d(i)&&h.includes(e)?-1:1;return"ArrowUp"===e||("end"===c?e===h[0]:e===h[1])?s+p*(t.shiftKey?r:a):"ArrowDown"===e||("end"===c?e===h[1]:e===h[0])?s-p*(t.shiftKey?r:a):"number"==typeof o&&"Home"===e?o:"number"==typeof l&&"End"===e?l:"PageDown"===e?s-r:"PageUp"===e?s+r:null},this.separatorKeyDown=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedWidth(t);"number"==typeof e&&this.setContentWidth(e)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,initialContentWidth:i,position:a,initialClientX:n}=this,o=t.clientX-n,l="rtl"===d(e)?-1:1;this.setContentWidth(i+("end"===a?-l*o:l*o))},this.separatorPointerUp=t=>{h(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),this.setInitialContentWidth(),this.initialClientX=t.clientX,document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.collapsed=!1,this.detached=!1,this.detachedHeightScale="l",this.widthScale="m",this.position=void 0,this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){o(this),p(this),u(this)}async componentWillLoad(){await x(this)}disconnectedCallback(){l(this),this.disconnectSeparator(),m(this),w(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){b(this,this.effectiveLocale)}renderHeader(){const{el:t}=this;return r(t,"header")?e("div",{class:"content__header",key:"header"},e("slot",{name:"header"})):null}render(){const{collapsed:t,detached:i,position:a,initialContentWidth:n,contentWidth:o,contentWidthMax:l,contentWidthMin:s,resizable:c}=this,r=!i&&c,d=e("div",{class:{content:!0,"content--detached":i},hidden:t,key:"content",ref:this.storeContentEl,style:r&&o?{width:`${o}px`}:null},this.renderHeader(),e("div",{class:"content__body"},e("slot",null))),h=r?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal","aria-valuemax":l,"aria-valuemin":s,"aria-valuenow":o??n,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,p=[e("slot",{key:"action-bar",name:"action-bar"}),d,h];return"end"===a&&p.reverse(),e("div",{class:{container:!0}},p)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?f(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);if(!e)return;const i=parseInt(e.getPropertyValue("max-width"),10),a=parseInt(e.getPropertyValue("min-width"),10),o=parseInt(e.getPropertyValue("width"),10);"number"!=typeof o||isNaN(o)||(this.initialContentWidth=o),"number"!=typeof i||isNaN(i)||(this.contentWidthMax=i),"number"!=typeof a||isNaN(a)||(this.contentWidthMin=a),n(this)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.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{pointer-events:none;display:flex;flex:0 1 auto;align-items:stretch;--calcite-shell-panel-detached-max-height:unset}:host([width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 40vh)}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 60vh)}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height-internal:var(--calcite-shell-panel-detached-max-height, 80vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;inset-block:0px;display:flex;block-size:100%;inline-size:0.125rem;background-color:transparent;opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-ui-background);padding:0px;inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal);transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--detached{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-shell-panel-detached-max-height-internal)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-block-size:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}";export{v as calcite_shell,g as calcite_shell_center_row,y as calcite_shell_panel}
|
|
@@ -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.5
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,g as a}from"./p-9d499209.js";import{c as n,d as o}from"./p-1e637e7e.js";import{t as r,g as s}from"./p-050035cc.js";import{c,d as l}from"./p-4c2d1400.js";import{c as d,d as m,s as h,u as f}from"./p-0b918318.js";import"./p-eee4dbbb.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";const p=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){n(this),c(this),d(this)}disonnectedCallback(){o(this),l(this),m(this)}async componentWillLoad(){await h(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),e=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,e&&this.renderThumbnail(),i("section",{"aria-busy":r(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!e&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return s(this.el,"thumbnail")?i("section",{class:"thumbnail-wrapper"},i("slot",{name:"thumbnail"})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.selected?this.messages.deselect:this.messages.select}))}renderHeader(){const{el:t}=this,e=s(t,"title"),a=s(t,"subtitle");return e||a?i("header",{class:"header"},i("slot",{name:"title"}),i("slot",{name:"subtitle"})):null}renderFooter(){const{el:t}=this,e=s(t,"footer-start"),a=s(t,"footer-end");return e||a?i("footer",{class:"footer"},i("slot",{name:"footer-start"}),i("slot",{name:"footer-end"})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};p.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;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}";export{p as calcite_card}
|
|
@@ -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.5
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as a,F as i,g as e}from"./p-9d499209.js";import{c as n,d as o}from"./p-1e637e7e.js";import{g as c}from"./p-050035cc.js";import{c as s,d as r}from"./p-4c2d1400.js";import{u as l,c as m,d,s as p}from"./p-0b918318.js";import{S as u}from"./p-e98ea83e.js";import{S as h,I as f}from"./p-4f1b1c5b.js";import"./p-eee4dbbb.js";import"./p-40149f32.js";import"./p-76606d9f.js";import"./p-02be0f65.js";const g=class{constructor(a){t(this,a),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.expanded=!1,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){l(this,this.effectiveLocale)}connectedCallback(){s(this),m(this),n(this)}disconnectedCallback(){r(this),d(this),o(this)}async componentWillLoad(){await p(this)}renderTooltip(){const{el:t}=this;return c(t,h.menuTooltip)?a("slot",{name:h.menuTooltip,slot:u.tooltip}):null}renderMenu(){const{el:t,expanded:i,menuOpen:e,scale:n,layout:o,messages:s}=this;return c(t,h.menuActions)?a("calcite-action-menu",{expanded:i,flipPlacements:["left","right"],label:s.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,placement:"horizontal"===o?"bottom-start":"leading-start",scale:n},a("calcite-action",{icon:f.menu,scale:n,slot:u.trigger,text:s.more,textEnabled:i}),a("slot",{name:h.menuActions}),this.renderTooltip()):null}render(){return a(i,null,a("slot",null),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};g.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}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:flex;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns="1"]){--calcite-action-group-columns:1}:host([columns="2"]){--calcite-action-group-columns:2}:host([columns="3"]){--calcite-action-group-columns:3}:host([columns="4"]){--calcite-action-group-columns:4}:host([columns="5"]){--calcite-action-group-columns:5}:host([columns="6"]){--calcite-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]){flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}';export{g as calcite_action_group}
|