@esri/calcite-components 1.0.0-next.445 → 1.0.0-next.448
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/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-d4f2f493.system.js → p-01b1cc17.system.js} +2 -2
- package/dist/calcite/{p-090880ec.entry.js → p-026da492.entry.js} +2 -2
- package/dist/calcite/{p-fe25dd66.js → p-02bec8a3.js} +1 -1
- package/dist/calcite/{p-4cff6ed2.system.entry.js → p-02e07e7c.system.entry.js} +2 -2
- package/dist/calcite/{p-be653c75.js → p-030c631e.js} +1 -1
- package/dist/calcite/{p-d0dd920e.system.js → p-03699d0f.system.js} +2 -2
- package/dist/calcite/{p-8491b37f.entry.js → p-041225fa.entry.js} +2 -2
- package/dist/calcite/{p-041b61cd.js → p-04c221b0.js} +2 -2
- package/dist/calcite/{p-df191ce8.system.entry.js → p-05909457.system.entry.js} +2 -2
- package/dist/calcite/{p-e455cf93.system.entry.js → p-06161665.system.entry.js} +2 -2
- package/dist/calcite/{p-ae1dd9d3.entry.js → p-063676a9.entry.js} +2 -2
- package/dist/calcite/{p-8f061a44.entry.js → p-06547a6f.entry.js} +2 -2
- package/dist/calcite/p-07a74ef2.system.entry.js +6 -0
- package/dist/calcite/{p-311f6ae3.system.js → p-08c914b0.system.js} +2 -2
- package/dist/calcite/{p-319fca0a.system.entry.js → p-0953c811.system.entry.js} +2 -2
- package/dist/calcite/{p-9500d5a1.entry.js → p-0a816f05.entry.js} +2 -2
- package/dist/calcite/{p-b0a06984.entry.js → p-0ac85d35.entry.js} +2 -2
- package/dist/calcite/{p-99b56a57.system.js → p-0c7b39db.system.js} +1 -1
- package/dist/calcite/{p-31197ab6.system.js → p-12d4a5f1.system.js} +1 -1
- package/dist/calcite/{p-258de3b5.system.js → p-12da5100.system.js} +1 -1
- package/dist/calcite/{p-a01d5702.system.js → p-12deb8e2.system.js} +1 -1
- package/dist/calcite/{p-27627646.entry.js → p-13c3a48a.entry.js} +2 -2
- package/dist/calcite/{p-3b2f0536.js → p-141d280a.js} +2 -2
- package/dist/calcite/{p-27d2b999.entry.js → p-1607bfb6.entry.js} +2 -2
- package/dist/calcite/{p-29ffb1a4.system.entry.js → p-169ed046.system.entry.js} +2 -2
- package/dist/calcite/{p-25ee06e8.entry.js → p-16fc66a8.entry.js} +2 -2
- package/dist/calcite/{p-dcd66dbe.entry.js → p-175c4971.entry.js} +2 -2
- package/dist/calcite/{p-28ab1bdc.system.entry.js → p-1d9d9727.system.entry.js} +2 -2
- package/dist/calcite/{p-ea01de75.js → p-20eee135.js} +2 -2
- package/dist/calcite/{p-569ab61c.entry.js → p-210e2fbe.entry.js} +2 -2
- package/dist/calcite/{p-fbcdf49c.system.js → p-229d4c7d.system.js} +1 -1
- package/dist/calcite/{p-dd2433b8.js → p-243dcc84.js} +1 -1
- package/dist/calcite/{p-3dba8986.entry.js → p-25dc7a3b.entry.js} +2 -2
- package/dist/calcite/{p-e5c97b3c.system.entry.js → p-282cefae.system.entry.js} +2 -2
- package/dist/calcite/{p-1d36af45.system.js → p-28b5b7e7.system.js} +1 -1
- package/dist/calcite/{p-74c3913a.entry.js → p-2b9bf6e4.entry.js} +2 -2
- package/dist/calcite/{p-de88a90d.system.entry.js → p-2bce172a.system.entry.js} +2 -2
- package/dist/calcite/{p-dac748b6.entry.js → p-2cc1c3b2.entry.js} +2 -2
- package/dist/calcite/{p-b02dac57.entry.js → p-2cc4a38c.entry.js} +2 -2
- package/dist/calcite/{p-d9639ef6.system.entry.js → p-2fd9db65.system.entry.js} +2 -2
- package/dist/calcite/{p-cbed5ee5.entry.js → p-314ee74c.entry.js} +2 -2
- package/dist/calcite/{p-4a910e1a.system.entry.js → p-3185fbb1.system.entry.js} +2 -2
- package/dist/calcite/{p-2e5debed.system.js → p-32fc7d08.system.js} +1 -1
- package/dist/calcite/{p-14ec9332.system.entry.js → p-335ca82c.system.entry.js} +2 -2
- package/dist/calcite/{p-5500906f.entry.js → p-35edae18.entry.js} +2 -2
- package/dist/calcite/p-3a3cfe0d.entry.js +6 -0
- package/dist/calcite/{p-fecc0290.entry.js → p-3b40988a.entry.js} +2 -2
- package/dist/calcite/p-3c2079c1.system.js +6 -0
- package/dist/calcite/p-3d7a9888.system.entry.js +6 -0
- package/dist/calcite/{p-f7d5923a.system.entry.js → p-3f938b8c.system.entry.js} +2 -2
- package/dist/calcite/{p-355798dd.js → p-429681dc.js} +1 -1
- package/dist/calcite/{p-ad7a67c5.js → p-4309bd5a.js} +1 -1
- package/dist/calcite/{p-2d00654f.entry.js → p-43a0d015.entry.js} +2 -2
- package/dist/calcite/{p-6723c6d8.entry.js → p-4686d0bb.entry.js} +2 -2
- package/dist/calcite/{p-a7793b59.system.js → p-490b2b57.system.js} +1 -1
- package/dist/calcite/p-4a7097c5.js +6 -0
- package/dist/calcite/{p-0f89e70c.entry.js → p-4af3700a.entry.js} +2 -2
- package/dist/calcite/{p-99b389a4.system.entry.js → p-4d1db9b7.system.entry.js} +2 -2
- package/dist/calcite/p-4d7a082a.js +6 -0
- package/dist/calcite/{p-dd148aa5.entry.js → p-5659eb52.entry.js} +2 -2
- package/dist/calcite/{p-ff6ac4c3.system.entry.js → p-57ff3d4e.system.entry.js} +2 -2
- package/dist/calcite/{p-26a03754.system.entry.js → p-597831a9.system.entry.js} +3 -3
- package/dist/calcite/{p-8b8402ab.entry.js → p-5dc52feb.entry.js} +2 -2
- package/dist/calcite/{p-f984a8fb.system.entry.js → p-6093c924.system.entry.js} +2 -2
- package/dist/calcite/{p-ff8e5fb9.system.entry.js → p-62b4fac5.system.entry.js} +2 -2
- package/dist/calcite/{p-28383893.system.entry.js → p-65a8a4ab.system.entry.js} +2 -2
- package/dist/calcite/{p-8eb729b2.entry.js → p-66cca937.entry.js} +2 -2
- package/dist/calcite/{p-57d67d2d.js → p-680fc7a5.js} +1 -1
- package/dist/calcite/{p-e5147246.entry.js → p-6956c26a.entry.js} +2 -2
- package/dist/calcite/{p-381ae536.system.entry.js → p-695a157a.system.entry.js} +2 -2
- package/dist/calcite/{p-02fd2883.system.entry.js → p-6a396bbd.system.entry.js} +2 -2
- package/dist/calcite/{p-2ffe62e7.entry.js → p-6be8d5fa.entry.js} +2 -2
- package/dist/calcite/{p-f713dcde.system.js → p-6dd02e3f.system.js} +2 -2
- package/dist/calcite/p-709fd531.entry.js +6 -0
- package/dist/calcite/{p-97dd099f.system.entry.js → p-71887235.system.entry.js} +2 -2
- package/dist/calcite/{p-a6c8b4f4.system.entry.js → p-71caddce.system.entry.js} +2 -2
- package/dist/calcite/{p-47872617.entry.js → p-721bb711.entry.js} +2 -2
- package/dist/calcite/{p-37d36485.system.entry.js → p-72c0bfd4.system.entry.js} +2 -2
- package/dist/calcite/{p-b8d7f7c8.system.entry.js → p-738e1327.system.entry.js} +2 -2
- package/dist/calcite/{p-ced91d61.entry.js → p-74982f54.entry.js} +2 -2
- package/dist/calcite/{p-a39a6120.entry.js → p-75d566f8.entry.js} +2 -2
- package/dist/calcite/{p-204cff7c.system.entry.js → p-76865cbe.system.entry.js} +2 -2
- package/dist/calcite/p-77cb1549.js +6 -0
- package/dist/calcite/{p-4393b27e.system.entry.js → p-7c27f0fe.system.entry.js} +2 -2
- package/dist/calcite/{p-4039990d.system.entry.js → p-7c5b4fa8.system.entry.js} +2 -2
- package/dist/calcite/{p-16dde710.system.js → p-7d69e4d7.system.js} +1 -1
- package/dist/calcite/{p-d57599f3.system.js → p-7ea54b66.system.js} +1 -1
- package/dist/calcite/{p-bf8a1a90.entry.js → p-8118a198.entry.js} +2 -2
- package/dist/calcite/{p-d647b605.js → p-81cd3e3f.js} +2 -2
- package/dist/calcite/{p-0f5a49ed.system.entry.js → p-81f00229.system.entry.js} +2 -2
- package/dist/calcite/{p-a39652a8.entry.js → p-83389696.entry.js} +2 -2
- package/dist/calcite/{p-886b7bfa.system.entry.js → p-84900e91.system.entry.js} +2 -2
- package/dist/calcite/{p-d6ef83f2.system.js → p-8644e8cf.system.js} +1 -1
- package/dist/calcite/{p-6bef1081.system.entry.js → p-87199b41.system.entry.js} +2 -2
- package/dist/calcite/{p-5a60f994.system.entry.js → p-8bf8ac39.system.entry.js} +2 -2
- package/dist/calcite/{p-9988579e.entry.js → p-8d481287.entry.js} +2 -2
- package/dist/calcite/{p-b4d3d3e3.js → p-8dee96c2.js} +2 -2
- package/dist/calcite/p-8f8353ca.js +6 -0
- package/dist/calcite/{p-bcbdb44e.entry.js → p-919d27cd.entry.js} +2 -2
- package/dist/calcite/{p-abc466c1.system.entry.js → p-95044c27.system.entry.js} +2 -2
- package/dist/calcite/{p-266d8bf5.entry.js → p-95869087.entry.js} +2 -2
- package/dist/calcite/{p-34e35997.system.js → p-963fabd6.system.js} +2 -2
- package/dist/calcite/{p-ff299c31.entry.js → p-96481f10.entry.js} +2 -2
- package/dist/calcite/{p-11ba757d.system.entry.js → p-9730f87a.system.entry.js} +2 -2
- package/dist/calcite/{p-161c0fe3.system.entry.js → p-97c04c2d.system.entry.js} +2 -2
- package/dist/calcite/{p-42dc5adc.entry.js → p-98228fcf.entry.js} +2 -2
- package/dist/calcite/{p-0b025cd8.system.entry.js → p-98c991e1.system.entry.js} +2 -2
- package/dist/calcite/{p-7ebc43e6.entry.js → p-991a6773.entry.js} +2 -2
- package/dist/calcite/{p-01713417.entry.js → p-995451f8.entry.js} +2 -2
- package/dist/calcite/{p-8b3108fe.system.entry.js → p-9c624a2a.system.entry.js} +2 -2
- package/dist/calcite/{p-50b46f23.system.entry.js → p-9c8e8d30.system.entry.js} +2 -2
- package/dist/calcite/{p-b0f109f2.entry.js → p-9d349f44.entry.js} +2 -2
- package/dist/calcite/p-9d359a87.entry.js +6 -0
- package/dist/calcite/{p-b2caaa6b.js → p-9d367557.js} +2 -2
- package/dist/calcite/{p-7c2843ca.system.entry.js → p-a0a91dac.system.entry.js} +2 -2
- package/dist/calcite/{p-f53b0e25.js → p-a2466d63.js} +1 -1
- package/dist/calcite/{p-ec8f422f.js → p-a31ac638.js} +1 -1
- package/dist/calcite/{p-d49affe7.system.entry.js → p-a5b32e80.system.entry.js} +2 -2
- package/dist/calcite/p-a8f6fe18.entry.js +6 -0
- package/dist/calcite/{p-108d9717.system.entry.js → p-a9de795d.system.entry.js} +2 -2
- package/dist/calcite/{p-4a13b25d.system.js → p-aa337bbd.system.js} +1 -1
- package/dist/calcite/{p-bbb08025.entry.js → p-ace78842.entry.js} +2 -2
- package/dist/calcite/{p-2daf552b.entry.js → p-b4e61614.entry.js} +2 -2
- package/dist/calcite/{p-1f2f75cb.entry.js → p-b69c2739.entry.js} +2 -2
- package/dist/calcite/{p-be089f07.entry.js → p-b9d0bc5b.entry.js} +2 -2
- package/dist/calcite/{p-3fea8ac9.system.js → p-b9ddd8af.system.js} +1 -1
- package/dist/calcite/{p-d3a24a92.system.entry.js → p-bd984030.system.entry.js} +2 -2
- package/dist/calcite/{p-b9a581df.entry.js → p-bfc096ee.entry.js} +2 -2
- package/dist/calcite/{p-84d89c27.system.entry.js → p-c2f271da.system.entry.js} +3 -3
- package/dist/calcite/{p-253921ef.js → p-c5d3f1cd.js} +1 -1
- package/dist/calcite/{p-dcd26c5b.system.js → p-c68c113c.system.js} +2 -2
- package/dist/calcite/{p-58a52a1c.system.js → p-c7f94a9c.system.js} +1 -1
- package/dist/calcite/{p-7d21684c.system.entry.js → p-ca32d999.system.entry.js} +2 -2
- package/dist/calcite/{p-6aa710a4.js → p-cd84fe71.js} +1 -1
- package/dist/calcite/{p-97fd0700.js → p-cf7a47e5.js} +2 -2
- package/dist/calcite/{p-336577c6.js → p-d12c0f1f.js} +1 -1
- package/dist/calcite/{p-e798397b.system.entry.js → p-d26e4ae7.system.entry.js} +2 -2
- package/dist/calcite/{p-0ccf95ca.system.entry.js → p-d2715db0.system.entry.js} +2 -2
- package/dist/calcite/{p-39bc7480.entry.js → p-d2ff035d.entry.js} +2 -2
- package/dist/calcite/{p-05751f2e.entry.js → p-d3a57c13.entry.js} +2 -2
- package/dist/calcite/{p-a284f057.entry.js → p-d55ee299.entry.js} +2 -2
- package/dist/calcite/{p-cc496db8.entry.js → p-d684b6e5.entry.js} +2 -2
- package/dist/calcite/{p-9ffb0f8e.system.entry.js → p-d98e128e.system.entry.js} +2 -2
- package/dist/calcite/{p-8b808b4a.system.entry.js → p-db5ae93e.system.entry.js} +2 -2
- package/dist/calcite/{p-4b259c5a.entry.js → p-df8037b4.entry.js} +2 -2
- package/dist/calcite/{p-fa493d09.js → p-dfcd2444.js} +1 -1
- package/dist/calcite/{p-133372fd.system.entry.js → p-e0837c38.system.entry.js} +2 -2
- package/dist/calcite/{p-f6795331.entry.js → p-e0937b3c.entry.js} +2 -2
- package/dist/calcite/{p-926b60ef.entry.js → p-e328cc0c.entry.js} +2 -2
- package/dist/calcite/{p-cb4a4c11.js → p-e4810e15.js} +1 -1
- package/dist/calcite/{p-95bfbf7e.system.entry.js → p-e5e1ddee.system.entry.js} +2 -2
- package/dist/calcite/{p-5e296f6a.system.js → p-e6ff5a02.system.js} +2 -2
- package/dist/calcite/{p-aa8cd021.system.entry.js → p-eaaf7f44.system.entry.js} +2 -2
- package/dist/calcite/{p-548dfc90.system.entry.js → p-eb0fa7fb.system.entry.js} +2 -2
- package/dist/calcite/p-ed925721.system.js +6 -0
- package/dist/calcite/{p-a4be4ad7.entry.js → p-ee52bbcf.entry.js} +2 -2
- package/dist/calcite/{p-5bf8f6e9.system.js → p-f0c1fe5e.system.js} +2 -2
- package/dist/calcite/{p-a544af14.entry.js → p-f1b7283a.entry.js} +2 -2
- package/dist/calcite/{p-cc06ca0e.system.entry.js → p-f2a3837b.system.entry.js} +2 -2
- package/dist/calcite/{p-2ef6c164.system.entry.js → p-f638b86d.system.entry.js} +2 -2
- package/dist/calcite/{p-e7b32606.system.entry.js → p-f89ad05b.system.entry.js} +2 -2
- package/dist/calcite/{p-f3465688.system.entry.js → p-fa3fb40b.system.entry.js} +2 -2
- package/dist/calcite/{p-b31c76ec.system.js → p-fbe7b8eb.system.js} +2 -2
- package/dist/calcite/{p-390993de.system.js → p-fed7917d.system.js} +3 -3
- package/dist/cjs/{ExpandToggle-1d84a30f.js → ExpandToggle-d8601baf.js} +5 -5
- package/dist/cjs/{Heading-6c577985.js → Heading-1b55f276.js} +2 -2
- package/dist/cjs/{array-ad1d1402.js → array-5d2f2ad9.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +4 -4
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +7 -7
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +100 -43
- 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 +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-df594efd.js → conditionalSlot-23675e58.js} +3 -3
- package/dist/cjs/{debounce-24461fe6.js → debounce-9b409752.js} +1 -1
- package/dist/cjs/{dom-9a2cf963.js → dom-a22a0ff0.js} +2 -2
- package/dist/cjs/{forIn-90fffb54.js → forIn-9b55cd39.js} +2 -2
- package/dist/cjs/{form-9e6d03ef.js → form-41e3772f.js} +3 -3
- package/dist/cjs/{guid-618238ed.js → guid-12c9f767.js} +1 -1
- package/dist/cjs/{index-2e55547d.js → index-4f75564a.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-1f751ab7.js → interactive-245a7f6f.js} +1 -1
- package/dist/cjs/{interfaces-c964aaab.js → interfaces-bd0c7f81.js} +1 -1
- package/dist/cjs/{label-1069d8bd.js → label-ce7cd434.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-8fe40b14.js → locale-b1b2d07e.js} +2 -2
- package/dist/cjs/{math-d3124585.js → math-706c6110.js} +1 -1
- package/dist/cjs/{number-80fc2025.js → number-fd8196bb.js} +1 -1
- package/dist/cjs/{observers-c763e03a.js → observers-1247a401.js} +1 -1
- package/dist/cjs/{popper-8e628970.js → popper-43afcfd4.js} +2 -2
- package/dist/cjs/{resources-cc8ca6f0.js → resources-055962ae.js} +3 -3
- package/dist/cjs/{resources-7d180442.js → resources-22166421.js} +1 -1
- package/dist/cjs/{resources-245a82b3.js → resources-967b3887.js} +1 -1
- package/dist/cjs/{resources-1233bb3e.js → resources-e9b73c1e.js} +5 -5
- package/dist/cjs/{sortable.esm-42e8dec9.js → sortable.esm-4a512e06.js} +1 -1
- package/dist/cjs/{utils-0d52eee6.js → utils-3d83d34c.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.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/interfaces.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/interfaces.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/interfaces.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/interfaces.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 +3 -4
- package/dist/collection/components/combobox/interfaces.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 +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -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/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/interfaces.js +1 -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/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/flow/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/interfaces.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/interfaces.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-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.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-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/interfaces.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 +1 -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 +64 -0
- package/dist/collection/components/popover/popover.js +28 -4
- package/dist/collection/components/popover/resources.js +1 -2
- package/dist/collection/components/popover-manager/popover-manager.js +32 -45
- 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/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/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/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/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 +1 -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/interfaces.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/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.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.css +1 -0
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.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/interfaces.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/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.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/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/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.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/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.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 +1 -1
- 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 +2 -2
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +2 -2
- 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 +3 -4
- 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.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-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 +2 -2
- 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 +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +30 -38
- 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-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.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 +1 -1
- 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 +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- 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 +2 -2
- 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 +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +2 -2
- 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/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/label2.js +1 -1
- package/dist/components/link.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/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +89 -5
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +11 -19
- package/dist/components/resources2.js +7 -10
- package/dist/components/resources3.js +23 -6
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- 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 +2 -2
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +101 -46
- package/dist/esm/{ExpandToggle-2718b8f6.js → ExpandToggle-3f2e2529.js} +5 -5
- package/dist/esm/{Heading-0e4aea69.js → Heading-91ae0a64.js} +2 -2
- package/dist/esm/{array-9f67c25d.js → array-ac015b27.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +4 -4
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +7 -7
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +14 -15
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +2 -2
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +100 -43
- 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 +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-2522e30f.js → conditionalSlot-691ce9ca.js} +3 -3
- package/dist/esm/{debounce-1b741867.js → debounce-fa1e1647.js} +1 -1
- package/dist/esm/{dom-db598077.js → dom-290f3af6.js} +2 -2
- package/dist/esm/{forIn-c5b795e6.js → forIn-f20d0141.js} +2 -2
- package/dist/esm/{form-61a289f0.js → form-528f73bb.js} +3 -3
- package/dist/esm/{guid-9fa375f5.js → guid-7933b2cc.js} +1 -1
- package/dist/esm/{index-894dfc81.js → index-92504161.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-09f3618d.js → interactive-c059baa1.js} +1 -1
- package/dist/esm/{interfaces-a5204d8f.js → interfaces-bba5f5dd.js} +1 -1
- package/dist/esm/{label-6c0e1ae1.js → label-42ce112b.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-3981cfde.js → locale-d17235f3.js} +2 -2
- package/dist/esm/{math-acdc37ac.js → math-7afc6cf5.js} +1 -1
- package/dist/esm/{number-84278938.js → number-181c4550.js} +1 -1
- package/dist/esm/{observers-9608d2fa.js → observers-a4f027a4.js} +1 -1
- package/dist/esm/{popper-7f6cf197.js → popper-0c675fb8.js} +2 -2
- package/dist/esm/{resources-2275dd9a.js → resources-39f0680b.js} +3 -3
- package/dist/esm/{resources-b0ef8228.js → resources-5cec7a36.js} +1 -1
- package/dist/esm/{resources-b064c016.js → resources-99fb266f.js} +1 -1
- package/dist/esm/{resources-7941421d.js → resources-b18ac0da.js} +5 -5
- package/dist/esm/{sortable.esm-a9eb30f8.js → sortable.esm-b8bcf719.js} +1 -1
- package/dist/esm/{utils-442279d6.js → utils-4739b1d9.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-2718b8f6.js → ExpandToggle-3f2e2529.js} +2 -2
- package/dist/esm-es5/{Heading-0e4aea69.js → Heading-91ae0a64.js} +2 -2
- package/dist/esm-es5/{array-9f67c25d.js → array-ac015b27.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-2522e30f.js → conditionalSlot-691ce9ca.js} +2 -2
- package/dist/esm-es5/{debounce-1b741867.js → debounce-fa1e1647.js} +1 -1
- package/dist/esm-es5/{dom-db598077.js → dom-290f3af6.js} +2 -2
- package/dist/esm-es5/{forIn-c5b795e6.js → forIn-f20d0141.js} +2 -2
- package/dist/esm-es5/{form-61a289f0.js → form-528f73bb.js} +2 -2
- package/dist/esm-es5/{guid-9fa375f5.js → guid-7933b2cc.js} +1 -1
- package/dist/esm-es5/{index-894dfc81.js → index-92504161.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-09f3618d.js → interactive-c059baa1.js} +1 -1
- package/dist/esm-es5/{interfaces-a5204d8f.js → interfaces-bba5f5dd.js} +1 -1
- package/dist/esm-es5/{label-6c0e1ae1.js → label-42ce112b.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-3981cfde.js → locale-d17235f3.js} +2 -2
- package/dist/esm-es5/{math-acdc37ac.js → math-7afc6cf5.js} +1 -1
- package/dist/esm-es5/{number-84278938.js → number-181c4550.js} +1 -1
- package/dist/esm-es5/{observers-9608d2fa.js → observers-a4f027a4.js} +1 -1
- package/dist/esm-es5/{popper-7f6cf197.js → popper-0c675fb8.js} +2 -2
- package/dist/esm-es5/{resources-2275dd9a.js → resources-39f0680b.js} +2 -2
- package/dist/esm-es5/{resources-b0ef8228.js → resources-5cec7a36.js} +1 -1
- package/dist/esm-es5/{resources-b064c016.js → resources-99fb266f.js} +1 -1
- package/dist/esm-es5/{resources-7941421d.js → resources-b18ac0da.js} +2 -2
- package/dist/esm-es5/{sortable.esm-a9eb30f8.js → sortable.esm-b8bcf719.js} +1 -1
- package/dist/esm-es5/{utils-442279d6.js → utils-4739b1d9.js} +1 -1
- package/dist/extras/docs-json.json +26 -11
- 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/popover/PopoverManager.d.ts +10 -0
- package/dist/types/components/popover/popover.d.ts +4 -0
- package/dist/types/components/popover/resources.d.ts +0 -1
- package/dist/types/components/popover-manager/popover-manager.d.ts +6 -2
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +103 -46
- package/package.json +3 -3
- package/readme.md +2 -2
- package/dist/calcite/p-07e641ba.js +0 -6
- package/dist/calcite/p-0e9766c8.entry.js +0 -6
- package/dist/calcite/p-1deaa010.entry.js +0 -6
- package/dist/calcite/p-27bf89cf.system.js +0 -6
- package/dist/calcite/p-3746cde8.entry.js +0 -6
- package/dist/calcite/p-4985c997.entry.js +0 -6
- package/dist/calcite/p-4bbc21ae.system.entry.js +0 -6
- package/dist/calcite/p-80e9f473.system.entry.js +0 -6
- package/dist/calcite/p-b17f15dc.js +0 -6
- package/dist/calcite/p-b1b979a8.system.js +0 -6
- package/dist/calcite/p-d1b2d2c5.js +0 -6
- package/dist/calcite/p-f37cb564.js +0 -6
- package/dist/components/resources4.js +0 -33
package/dist/loader/cdn.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.0-next.
|
|
4
|
+
* v1.0.0-next.448
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
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.0-next.
|
|
4
|
+
* v1.0.0-next.448
|
|
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.0-next.
|
|
4
|
+
* v1.0.0-next.448
|
|
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.0-next.
|
|
4
|
+
* v1.0.0-next.448
|
|
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';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default class PopoverManager {
|
|
2
|
+
private registeredElements;
|
|
3
|
+
private registeredElementCount;
|
|
4
|
+
registerElement(referenceEl: HTMLElement, popover: HTMLCalcitePopoverElement): void;
|
|
5
|
+
unregisterElement(referenceEl: HTMLElement): void;
|
|
6
|
+
private queryPopover;
|
|
7
|
+
private clickHandler;
|
|
8
|
+
private addListeners;
|
|
9
|
+
private removeListeners;
|
|
10
|
+
}
|
|
@@ -6,6 +6,10 @@ import { HeadingLevel } from "../functional/Heading";
|
|
|
6
6
|
* @slot - A slot for adding custom content.
|
|
7
7
|
*/
|
|
8
8
|
export declare class Popover {
|
|
9
|
+
/**
|
|
10
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
11
|
+
*/
|
|
12
|
+
autoClose: boolean;
|
|
9
13
|
/**
|
|
10
14
|
* Display a close button within the Popover.
|
|
11
15
|
* @deprecated use dismissible instead.
|
|
@@ -14,7 +14,6 @@ export declare const TEXT: {
|
|
|
14
14
|
close: string;
|
|
15
15
|
};
|
|
16
16
|
export declare const defaultPopoverPlacement = "auto";
|
|
17
|
-
export declare const POPOVER_REFERENCE = "data-calcite-popover-reference";
|
|
18
17
|
export declare const ARIA_CONTROLS = "aria-controls";
|
|
19
18
|
export declare const ARIA_EXPANDED = "aria-expanded";
|
|
20
19
|
export declare const HEADING_LEVEL = 2;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { VNode } from "../../stencil-public-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.
|
|
4
|
+
* @deprecated No longer required for popover usage.
|
|
4
5
|
*/
|
|
5
6
|
export declare class PopoverManager {
|
|
6
7
|
el: HTMLCalcitePopoverManagerElement;
|
|
8
|
+
mutationObserver: MutationObserver;
|
|
7
9
|
/**
|
|
8
10
|
* CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
|
|
9
11
|
* @default `[data-calcite-popover-reference]`
|
|
@@ -13,7 +15,9 @@ export declare class PopoverManager {
|
|
|
13
15
|
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
14
16
|
*/
|
|
15
17
|
autoClose: boolean;
|
|
18
|
+
autoCloseHandler(): void;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
16
21
|
render(): VNode;
|
|
17
|
-
|
|
18
|
-
closeOpenPopovers(event: Event): void;
|
|
22
|
+
setAutoClose(): void;
|
|
19
23
|
}
|
|
@@ -2311,6 +2311,10 @@ export namespace Components {
|
|
|
2311
2311
|
"value": any;
|
|
2312
2312
|
}
|
|
2313
2313
|
interface CalcitePopover {
|
|
2314
|
+
/**
|
|
2315
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
2316
|
+
*/
|
|
2317
|
+
"autoClose": boolean;
|
|
2314
2318
|
/**
|
|
2315
2319
|
* Display a close button within the Popover.
|
|
2316
2320
|
* @deprecated use dismissible instead.
|
|
@@ -6451,6 +6455,10 @@ declare namespace LocalJSX {
|
|
|
6451
6455
|
"value": any;
|
|
6452
6456
|
}
|
|
6453
6457
|
interface CalcitePopover {
|
|
6458
|
+
/**
|
|
6459
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
6460
|
+
*/
|
|
6461
|
+
"autoClose"?: boolean;
|
|
6454
6462
|
/**
|
|
6455
6463
|
* Display a close button within the Popover.
|
|
6456
6464
|
* @deprecated use dismissible instead.
|
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.0-next.
|
|
4
|
+
* v1.0.0-next.448
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -7755,6 +7755,7 @@ class ActionBar {
|
|
|
7755
7755
|
};
|
|
7756
7756
|
this.toggleExpand = () => {
|
|
7757
7757
|
this.expanded = !this.expanded;
|
|
7758
|
+
this.calciteActionBarToggle.emit();
|
|
7758
7759
|
};
|
|
7759
7760
|
this.setExpandToggleRef = (el) => {
|
|
7760
7761
|
this.expandToggleEl = el;
|
|
@@ -7765,7 +7766,6 @@ class ActionBar {
|
|
|
7765
7766
|
}
|
|
7766
7767
|
expandedHandler(expanded) {
|
|
7767
7768
|
toggleChildActionText({ parent: this.el, expanded });
|
|
7768
|
-
this.calciteActionBarToggle.emit();
|
|
7769
7769
|
}
|
|
7770
7770
|
overflowDisabledHandler(overflowActionsDisabled) {
|
|
7771
7771
|
overflowActionsDisabled
|
|
@@ -8309,6 +8309,7 @@ class ActionPad {
|
|
|
8309
8309
|
};
|
|
8310
8310
|
this.toggleExpand = () => {
|
|
8311
8311
|
this.expanded = !this.expanded;
|
|
8312
|
+
this.calciteActionPadToggle.emit();
|
|
8312
8313
|
};
|
|
8313
8314
|
this.setExpandToggleRef = (el) => {
|
|
8314
8315
|
this.expandToggleEl = el;
|
|
@@ -8316,7 +8317,6 @@ class ActionPad {
|
|
|
8316
8317
|
}
|
|
8317
8318
|
expandedHandler(expanded) {
|
|
8318
8319
|
toggleChildActionText({ parent: this.el, expanded });
|
|
8319
|
-
this.calciteActionPadToggle.emit();
|
|
8320
8320
|
}
|
|
8321
8321
|
// --------------------------------------------------------------------------
|
|
8322
8322
|
//
|
|
@@ -15561,7 +15561,7 @@ class Combobox {
|
|
|
15561
15561
|
const find = (item, filteredData) => item &&
|
|
15562
15562
|
filteredData.some(({ label, value }) => {
|
|
15563
15563
|
if (isGroup(item)) {
|
|
15564
|
-
return value === item.label
|
|
15564
|
+
return value === item.label;
|
|
15565
15565
|
}
|
|
15566
15566
|
return (value === item.textLabel ||
|
|
15567
15567
|
value === item.value ||
|
|
@@ -15888,8 +15888,7 @@ class Combobox {
|
|
|
15888
15888
|
return this.items.map((item) => ({
|
|
15889
15889
|
constant: item.constant,
|
|
15890
15890
|
value: item.value,
|
|
15891
|
-
label: item.textLabel
|
|
15892
|
-
guid: item.guid
|
|
15891
|
+
label: item.textLabel
|
|
15893
15892
|
}));
|
|
15894
15893
|
}
|
|
15895
15894
|
getNeedsIcon() {
|
|
@@ -23289,13 +23288,72 @@ const TEXT$6 = {
|
|
|
23289
23288
|
close: "Close"
|
|
23290
23289
|
};
|
|
23291
23290
|
const defaultPopoverPlacement = "auto";
|
|
23292
|
-
const POPOVER_REFERENCE = "data-calcite-popover-reference";
|
|
23293
23291
|
const ARIA_CONTROLS = "aria-controls";
|
|
23294
23292
|
const ARIA_EXPANDED = "aria-expanded";
|
|
23295
23293
|
const HEADING_LEVEL$2 = 2;
|
|
23296
23294
|
|
|
23295
|
+
class PopoverManager$1 {
|
|
23296
|
+
constructor() {
|
|
23297
|
+
// --------------------------------------------------------------------------
|
|
23298
|
+
//
|
|
23299
|
+
// Private Properties
|
|
23300
|
+
//
|
|
23301
|
+
// --------------------------------------------------------------------------
|
|
23302
|
+
this.registeredElements = new WeakMap();
|
|
23303
|
+
this.registeredElementCount = 0;
|
|
23304
|
+
// --------------------------------------------------------------------------
|
|
23305
|
+
//
|
|
23306
|
+
// Private Methods
|
|
23307
|
+
//
|
|
23308
|
+
// --------------------------------------------------------------------------
|
|
23309
|
+
this.queryPopover = (composedPath) => {
|
|
23310
|
+
const { registeredElements } = this;
|
|
23311
|
+
const registeredElement = composedPath.find((pathEl) => registeredElements.has(pathEl));
|
|
23312
|
+
return registeredElements.get(registeredElement);
|
|
23313
|
+
};
|
|
23314
|
+
this.clickHandler = (event) => {
|
|
23315
|
+
const composedPath = event.composedPath();
|
|
23316
|
+
const popover = this.queryPopover(composedPath);
|
|
23317
|
+
if (popover) {
|
|
23318
|
+
popover.toggle();
|
|
23319
|
+
return;
|
|
23320
|
+
}
|
|
23321
|
+
queryElementsRoots(event.target, "calcite-popover")
|
|
23322
|
+
.filter((popover) => popover.autoClose && popover.open && !composedPath.includes(popover))
|
|
23323
|
+
.forEach((popover) => popover.toggle(false));
|
|
23324
|
+
};
|
|
23325
|
+
}
|
|
23326
|
+
// --------------------------------------------------------------------------
|
|
23327
|
+
//
|
|
23328
|
+
// Public Methods
|
|
23329
|
+
//
|
|
23330
|
+
// --------------------------------------------------------------------------
|
|
23331
|
+
registerElement(referenceEl, popover) {
|
|
23332
|
+
this.registeredElementCount++;
|
|
23333
|
+
this.registeredElements.set(referenceEl, popover);
|
|
23334
|
+
if (this.registeredElementCount === 1) {
|
|
23335
|
+
this.addListeners();
|
|
23336
|
+
}
|
|
23337
|
+
}
|
|
23338
|
+
unregisterElement(referenceEl) {
|
|
23339
|
+
if (this.registeredElements.delete(referenceEl)) {
|
|
23340
|
+
this.registeredElementCount--;
|
|
23341
|
+
}
|
|
23342
|
+
if (this.registeredElementCount === 0) {
|
|
23343
|
+
this.removeListeners();
|
|
23344
|
+
}
|
|
23345
|
+
}
|
|
23346
|
+
addListeners() {
|
|
23347
|
+
document.addEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
23348
|
+
}
|
|
23349
|
+
removeListeners() {
|
|
23350
|
+
document.removeEventListener("pointerdown", this.clickHandler, { capture: true });
|
|
23351
|
+
}
|
|
23352
|
+
}
|
|
23353
|
+
|
|
23297
23354
|
const popoverCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-popover: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*/.calcite-animate.sc-calcite-popover{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-popover{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-popover{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-popover{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-popover{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-popover:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-popover-h{display:none}/*!@:host*/.sc-calcite-popover-h{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}/*!@:host([data-popper-placement^=bottom]) .calcite-popper-anim*/[data-popper-placement^=bottom].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@:host([data-popper-placement^=top]) .calcite-popper-anim*/[data-popper-placement^=top].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@:host([data-popper-placement^=left]) .calcite-popper-anim*/[data-popper-placement^=left].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@:host([data-popper-placement^=right]) .calcite-popper-anim*/[data-popper-placement^=right].sc-calcite-popover-h .calcite-popper-anim.sc-calcite-popover{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@:host([data-popper-placement]) .calcite-popper-anim--active*/[data-popper-placement].sc-calcite-popover-h .calcite-popper-anim--active.sc-calcite-popover{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([data-popper-placement][data-popper-reference-hidden])*/[data-popper-placement][data-popper-reference-hidden].sc-calcite-popover-h{pointer-events:none;opacity:0}/*!@.arrow,\n.arrow::before*/.arrow.sc-calcite-popover,.arrow.sc-calcite-popover::before{position:absolute;width:8px;height:8px;z-index:-1}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{content:\"\";--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);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}/*!@:host([data-popper-placement^=top]) .arrow*/[data-popper-placement^=top].sc-calcite-popover-h .arrow.sc-calcite-popover{bottom:-4px}/*!@:host([data-popper-placement^=bottom]) .arrow*/[data-popper-placement^=bottom].sc-calcite-popover-h .arrow.sc-calcite-popover{top:-4px}/*!@:host([data-popper-placement^=left]) .arrow*/[data-popper-placement^=left].sc-calcite-popover-h .arrow.sc-calcite-popover{right:-4px}/*!@:host([data-popper-placement^=right]) .arrow*/[data-popper-placement^=right].sc-calcite-popover-h .arrow.sc-calcite-popover{left:-4px}/*!@:host*/.sc-calcite-popover-h{pointer-events:none}/*!@:host([open])*/[open].sc-calcite-popover-h{pointer-events:initial}/*!@.calcite-popper-anim*/.calcite-popper-anim.sc-calcite-popover{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}/*!@.arrow::before*/.arrow.sc-calcite-popover::before{outline:1px solid var(--calcite-ui-border-3)}/*!@.header*/.header.sc-calcite-popover{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3)}/*!@.heading*/.heading.sc-calcite-popover{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}/*!@.container*/.container.sc-calcite-popover{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}/*!@.container.has-header*/.container.has-header.sc-calcite-popover{-ms-flex-direction:column;flex-direction:column}/*!@.content*/.content.sc-calcite-popover{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}/*!@.close-button-container*/.close-button-container.sc-calcite-popover{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}/*!@::slotted(calcite-panel), ::slotted(calcite-flow)*/.sc-calcite-popover-s>calcite-panel,.sc-calcite-popover-s>calcite-flow{height:100%}";
|
|
23298
23355
|
|
|
23356
|
+
const manager$1 = new PopoverManager$1();
|
|
23299
23357
|
/**
|
|
23300
23358
|
* @slot - A slot for adding custom content.
|
|
23301
23359
|
*/
|
|
@@ -23309,6 +23367,10 @@ class Popover {
|
|
|
23309
23367
|
// Properties
|
|
23310
23368
|
//
|
|
23311
23369
|
// --------------------------------------------------------------------------
|
|
23370
|
+
/**
|
|
23371
|
+
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
23372
|
+
*/
|
|
23373
|
+
this.autoClose = false;
|
|
23312
23374
|
/**
|
|
23313
23375
|
* Display a close button within the Popover.
|
|
23314
23376
|
* @deprecated use dismissible instead.
|
|
@@ -23391,8 +23453,8 @@ class Popover {
|
|
|
23391
23453
|
return;
|
|
23392
23454
|
}
|
|
23393
23455
|
const id = this.getId();
|
|
23394
|
-
effectiveReferenceElement.setAttribute(POPOVER_REFERENCE, id);
|
|
23395
23456
|
effectiveReferenceElement.setAttribute(ARIA_CONTROLS, id);
|
|
23457
|
+
manager$1.registerElement(effectiveReferenceElement, this.el);
|
|
23396
23458
|
this.setExpandedAttr();
|
|
23397
23459
|
};
|
|
23398
23460
|
this.removeReferences = () => {
|
|
@@ -23400,9 +23462,9 @@ class Popover {
|
|
|
23400
23462
|
if (!effectiveReferenceElement) {
|
|
23401
23463
|
return;
|
|
23402
23464
|
}
|
|
23403
|
-
effectiveReferenceElement.removeAttribute(POPOVER_REFERENCE);
|
|
23404
23465
|
effectiveReferenceElement.removeAttribute(ARIA_CONTROLS);
|
|
23405
23466
|
effectiveReferenceElement.removeAttribute(ARIA_EXPANDED);
|
|
23467
|
+
manager$1.unregisterElement(effectiveReferenceElement);
|
|
23406
23468
|
};
|
|
23407
23469
|
this.hide = () => {
|
|
23408
23470
|
this.open = false;
|
|
@@ -23582,6 +23644,7 @@ class Popover {
|
|
|
23582
23644
|
"$flags$": 9,
|
|
23583
23645
|
"$tagName$": "calcite-popover",
|
|
23584
23646
|
"$members$": {
|
|
23647
|
+
"autoClose": [516, "auto-close"],
|
|
23585
23648
|
"closeButton": [516, "close-button"],
|
|
23586
23649
|
"dismissible": [516],
|
|
23587
23650
|
"disableFlip": [516, "disable-flip"],
|
|
@@ -23604,7 +23667,7 @@ class Popover {
|
|
|
23604
23667
|
},
|
|
23605
23668
|
"$listeners$": undefined,
|
|
23606
23669
|
"$lazyBundleId$": "-",
|
|
23607
|
-
"$attrsToReflect$": [["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"]]
|
|
23670
|
+
"$attrsToReflect$": [["autoClose", "auto-close"], ["closeButton", "close-button"], ["dismissible", "dismissible"], ["disableFlip", "disable-flip"], ["disablePointer", "disable-pointer"], ["offsetDistance", "offset-distance"], ["offsetSkidding", "offset-skidding"], ["open", "open"], ["placement", "placement"]]
|
|
23608
23671
|
}; }
|
|
23609
23672
|
}
|
|
23610
23673
|
|
|
@@ -23612,10 +23675,12 @@ const popoverManagerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@k
|
|
|
23612
23675
|
|
|
23613
23676
|
/**
|
|
23614
23677
|
* @slot - A slot for adding elements that reference a 'calcite-popover' by the 'selector' property.
|
|
23678
|
+
* @deprecated No longer required for popover usage.
|
|
23615
23679
|
*/
|
|
23616
23680
|
class PopoverManager {
|
|
23617
23681
|
constructor(hostRef) {
|
|
23618
23682
|
registerInstance(this, hostRef);
|
|
23683
|
+
this.mutationObserver = createObserver();
|
|
23619
23684
|
// --------------------------------------------------------------------------
|
|
23620
23685
|
//
|
|
23621
23686
|
// Properties
|
|
@@ -23625,28 +23690,28 @@ class PopoverManager {
|
|
|
23625
23690
|
* CSS Selector to match reference elements for popovers. Reference elements will be identified by this selector in order to open their associated popover.
|
|
23626
23691
|
* @default `[data-calcite-popover-reference]`
|
|
23627
23692
|
*/
|
|
23628
|
-
this.selector =
|
|
23693
|
+
this.selector = "[data-calcite-popover-reference]";
|
|
23629
23694
|
/**
|
|
23630
23695
|
* Automatically closes any currently open popovers when clicking outside of a popover.
|
|
23631
23696
|
*/
|
|
23632
23697
|
this.autoClose = false;
|
|
23633
|
-
|
|
23634
|
-
|
|
23635
|
-
|
|
23636
|
-
|
|
23637
|
-
|
|
23638
|
-
|
|
23639
|
-
|
|
23640
|
-
|
|
23641
|
-
|
|
23642
|
-
|
|
23643
|
-
|
|
23644
|
-
|
|
23645
|
-
|
|
23646
|
-
|
|
23647
|
-
|
|
23648
|
-
|
|
23649
|
-
|
|
23698
|
+
}
|
|
23699
|
+
autoCloseHandler() {
|
|
23700
|
+
this.setAutoClose();
|
|
23701
|
+
}
|
|
23702
|
+
// --------------------------------------------------------------------------
|
|
23703
|
+
//
|
|
23704
|
+
// Lifecycle
|
|
23705
|
+
//
|
|
23706
|
+
// --------------------------------------------------------------------------
|
|
23707
|
+
connectedCallback() {
|
|
23708
|
+
var _a;
|
|
23709
|
+
this.setAutoClose();
|
|
23710
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
23711
|
+
}
|
|
23712
|
+
disconnectedCallback() {
|
|
23713
|
+
var _a;
|
|
23714
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
23650
23715
|
}
|
|
23651
23716
|
// --------------------------------------------------------------------------
|
|
23652
23717
|
//
|
|
@@ -23656,27 +23721,19 @@ class PopoverManager {
|
|
|
23656
23721
|
render() {
|
|
23657
23722
|
return hAsync("slot", null);
|
|
23658
23723
|
}
|
|
23659
|
-
|
|
23724
|
+
// --------------------------------------------------------------------------
|
|
23660
23725
|
//
|
|
23661
|
-
//
|
|
23726
|
+
// Private Methods
|
|
23662
23727
|
//
|
|
23663
|
-
|
|
23664
|
-
|
|
23728
|
+
// --------------------------------------------------------------------------
|
|
23729
|
+
setAutoClose() {
|
|
23665
23730
|
const { autoClose, el } = this;
|
|
23666
|
-
|
|
23667
|
-
const composedPath = event.composedPath();
|
|
23668
|
-
const popover = this.queryPopover(composedPath);
|
|
23669
|
-
if (popover) {
|
|
23670
|
-
popover.toggle();
|
|
23671
|
-
return;
|
|
23672
|
-
}
|
|
23673
|
-
if (autoClose) {
|
|
23674
|
-
queryElementsRoots(el, popoverSelector)
|
|
23675
|
-
.filter((popover) => popover.open && !composedPath.includes(popover))
|
|
23676
|
-
.forEach((popover) => popover.toggle(false));
|
|
23677
|
-
}
|
|
23731
|
+
el.querySelectorAll("calcite-popover").forEach((popover) => (popover.autoClose = autoClose));
|
|
23678
23732
|
}
|
|
23679
23733
|
get el() { return getElement(this); }
|
|
23734
|
+
static get watchers() { return {
|
|
23735
|
+
"autoClose": ["autoCloseHandler"]
|
|
23736
|
+
}; }
|
|
23680
23737
|
static get style() { return popoverManagerCss; }
|
|
23681
23738
|
static get cmpMeta() { return {
|
|
23682
23739
|
"$flags$": 9,
|
|
@@ -23685,7 +23742,7 @@ class PopoverManager {
|
|
|
23685
23742
|
"selector": [1],
|
|
23686
23743
|
"autoClose": [516, "auto-close"]
|
|
23687
23744
|
},
|
|
23688
|
-
"$listeners$":
|
|
23745
|
+
"$listeners$": undefined,
|
|
23689
23746
|
"$lazyBundleId$": "-",
|
|
23690
23747
|
"$attrsToReflect$": [["autoClose", "auto-close"]]
|
|
23691
23748
|
}; }
|
|
@@ -30582,7 +30639,7 @@ const SLOTS$3 = {
|
|
|
30582
30639
|
contentEnd: "content-end"
|
|
30583
30640
|
};
|
|
30584
30641
|
|
|
30585
|
-
const tileCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tile: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*/.calcite-animate.sc-calcite-tile{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tile{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tile{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tile{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tile{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tile:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tile-h{display:none}/*!@:host*/.sc-calcite-tile-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .container*/.sc-calcite-tile-h .container.sc-calcite-tile{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}/*!@:host .content*/.sc-calcite-tile-h .content.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;width:10%}/*!@:host .content-container*/.sc-calcite-tile-h .content-container.sc-calcite-tile{display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}/*!@:host .content-slot-container*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}/*!@:host .content-slot-container:first-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:first-child{padding-inline:0 0.75rem}/*!@:host .content-slot-container:last-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:last-child{padding-inline:0.75rem 0}/*!@:host .heading*/.sc-calcite-tile-h .heading.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .large-visual*/.sc-calcite-tile-h .large-visual.sc-calcite-tile{-ms-flex-align:center;align-items:center;text-align:center;min-height:12rem}/*!@:host .large-visual .icon*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}/*!@:host .large-visual .content-container*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .content-container.sc-calcite-tile{-ms-flex-item-align:center;align-self:center}/*!@:host .description*/.sc-calcite-tile-h .description.sc-calcite-tile{pointer-events:none;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host(:not([embed]))*/.sc-calcite-tile-h:not([embed]){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}/*!@:host(:not([embed])[href]:hover)*/.sc-calcite-tile-h:not([embed])[href]:hover{cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}/*!@:host(:not([embed])[href]:active)*/.sc-calcite-tile-h:not([embed])[href]:active{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}/*!@:host([icon][heading]:not([description]):not([embed]))*/[icon][heading].sc-calcite-tile-h:not([description]):not([embed]){padding:0px}/*!@:host([icon][heading]:not([description])) .icon*/[icon][heading].sc-calcite-tile-h:not([description]) .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@:host([icon][heading]:not([description])) .large-visual*/[icon][heading].sc-calcite-tile-h:not([description]) .large-visual.sc-calcite-tile{text-align:center}/*!@:host([disabled])*/[disabled].sc-calcite-tile-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tile-h[disabled] .sc-calcite-tile-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tile-h [calcite-hydrated][disabled].sc-calcite-tile{opacity:1}/*!@:host(:hover) .heading, :host([active]) .heading*/.sc-calcite-tile-h:hover .heading.sc-calcite-tile,[active].sc-calcite-tile-h .heading.sc-calcite-tile{color:var(--calcite-ui-text-1)}/*!@:host(:hover) .description, :host([active]) .description*/.sc-calcite-tile-h:hover .description.sc-calcite-tile,[active].sc-calcite-tile-h .description.sc-calcite-tile{color:var(--calcite-ui-text-2)}";
|
|
30642
|
+
const tileCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-tile: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*/.calcite-animate.sc-calcite-tile{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-tile{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-tile{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-tile{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-tile{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-tile:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-tile-h{display:none}/*!@:host*/.sc-calcite-tile-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .container*/.sc-calcite-tile-h .container.sc-calcite-tile{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}/*!@:host .content*/.sc-calcite-tile-h .content.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;width:10%}/*!@:host .content-container*/.sc-calcite-tile-h .content-container.sc-calcite-tile{display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}/*!@:host .content-slot-container*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}/*!@:host .content-slot-container:first-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:first-child{padding-inline:0 0.75rem}/*!@:host .content-slot-container:last-child*/.sc-calcite-tile-h .content-slot-container.sc-calcite-tile:last-child{padding-inline:0.75rem 0}/*!@:host .heading*/.sc-calcite-tile-h .heading.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host .large-visual*/.sc-calcite-tile-h .large-visual.sc-calcite-tile{-ms-flex-align:center;align-items:center;text-align:center;min-height:12rem}/*!@:host .large-visual .icon*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}/*!@:host .large-visual .content-container*/.sc-calcite-tile-h .large-visual.sc-calcite-tile .content-container.sc-calcite-tile{-ms-flex-item-align:center;align-self:center}/*!@:host .description*/.sc-calcite-tile-h .description.sc-calcite-tile{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}/*!@:host(:not([embed]))*/.sc-calcite-tile-h:not([embed]){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}/*!@:host(:not([embed])[href]:hover)*/.sc-calcite-tile-h:not([embed])[href]:hover{cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}/*!@:host(:not([embed])[href]:active)*/.sc-calcite-tile-h:not([embed])[href]:active{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}/*!@:host([icon][heading]:not([description]):not([embed]))*/[icon][heading].sc-calcite-tile-h:not([description]):not([embed]){padding:0px}/*!@:host([icon][heading]:not([description])) .icon*/[icon][heading].sc-calcite-tile-h:not([description]) .icon.sc-calcite-tile{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@:host([icon][heading]:not([description])) .large-visual*/[icon][heading].sc-calcite-tile-h:not([description]) .large-visual.sc-calcite-tile{text-align:center}/*!@:host([disabled])*/[disabled].sc-calcite-tile-h{pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-tile-h[disabled] .sc-calcite-tile-s>[calcite-hydrated][disabled],[disabled].sc-calcite-tile-h [calcite-hydrated][disabled].sc-calcite-tile{opacity:1}/*!@:host(:hover) .heading, :host([active]) .heading*/.sc-calcite-tile-h:hover .heading.sc-calcite-tile,[active].sc-calcite-tile-h .heading.sc-calcite-tile{color:var(--calcite-ui-text-1)}/*!@:host(:hover) .description, :host([active]) .description*/.sc-calcite-tile-h:hover .description.sc-calcite-tile,[active].sc-calcite-tile-h .description.sc-calcite-tile{color:var(--calcite-ui-text-2)}";
|
|
30586
30643
|
|
|
30587
30644
|
/**
|
|
30588
30645
|
* @slot content-start - A slot for adding non-actionable elements before the tile content.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.448",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@whitespace/storybook-addon-html": "5.0.0",
|
|
100
100
|
"autoprefixer": "10.4.4",
|
|
101
101
|
"axe-core": "4.4.1",
|
|
102
|
-
"babel-loader": "8.2.
|
|
102
|
+
"babel-loader": "8.2.5",
|
|
103
103
|
"chalk": "4.1.2",
|
|
104
104
|
"cheerio": "1.0.0-rc.10",
|
|
105
105
|
"chokidar": "3.5.3",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"jest": "26.6.3",
|
|
120
120
|
"jest-axe": "6.0.0",
|
|
121
121
|
"jest-cli": "26.6.3",
|
|
122
|
-
"lint-staged": "12.
|
|
122
|
+
"lint-staged": "12.4.0",
|
|
123
123
|
"pify": "5.0.0",
|
|
124
124
|
"postcss": "8.4.12",
|
|
125
125
|
"prettier": "2.6.2",
|
package/readme.md
CHANGED
|
@@ -107,12 +107,12 @@ This will provide autocomplete of component names/properties, as well as additio
|
|
|
107
107
|
// created elements will implicitly have the correct type already
|
|
108
108
|
const loader = document.createElement("calcite-loader");
|
|
109
109
|
document.body.appendChild(loader);
|
|
110
|
-
loader.
|
|
110
|
+
loader.active = true;
|
|
111
111
|
|
|
112
112
|
// you can also explicitly type an element using the generated types
|
|
113
113
|
// the type name will always be formatted like HTML{CamelCaseComponentName}Element
|
|
114
114
|
const loader = document.querySelector(".my-loader-element") as HTMLCalciteLoaderElement;
|
|
115
|
-
loader.
|
|
115
|
+
loader.active = true;
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
## Browser Support
|
|
@@ -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.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{c as n}from"./p-b2caaa6b.js";import{h as t}from"./p-cb4a4c11.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(t){const{el:o,value:r}=t,s=n(o,"form");if(!s||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(s,o))return;t.formEl=s,t.defaultValue=r,e(t)&&(t.defaultChecked=t.checked);const u=(t.onFormReset||c).bind(t);s.addEventListener("reset",u),i.add(o)}function c(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function s(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function u(n,t){n.defaultValue=t}function a(n,t,o){var i;const{defaultValue:r,disabled:c,name:s,required:u}=n;t.defaultValue=r,t.disabled=c,t.name=s,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",c||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const l=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,c=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void c.forEach((n=>n.remove()));const s=Array.isArray(i)?i:[i],u=[],l=new Set;let f;c.forEach((t=>{const e=s.find((n=>n==t.value));null!=e?(l.add(e),a(n,t,e)):u.push(t)})),s.forEach((t=>{if(l.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),f||(f=r.createDocumentFragment()),f.append(e),a(n,e,t)})),f&&t.append(f),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{l as H,u as a,r as c,s as d}
|
|
@@ -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.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as o}from"./p-cb4a4c11.js";import{g as r}from"./p-fa493d09.js";import{a as n,f as s}from"./p-b2caaa6b.js";import{c,d,g as l}from"./p-ea01de75.js";import{c as h,d as m,H as p}from"./p-07e641ba.js";import{g as b}from"./p-be653c75.js";import{u}from"./p-ad7a67c5.js";const f=class{constructor(a){t(this,a),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",7),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",7),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",7),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",7),this.checked=!1,this.disabled=!1,this.focused=!1,this.hidden=!1,this.hovered=!1,this.required=!1,this.scale="m",this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isDefaultSelectable=()=>{const t=this.queryButtons();return!t.some((t=>t.checked))&&t[0]===this.el},this.check=()=>{this.disabled||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit(),this.setFocus())},this.clickHandler=()=>{this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const i=t.key,{el:a}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return void this.check();let e=i;"rtl"===n(a)&&("ArrowRight"===i&&(e="ArrowLeft"),"ArrowLeft"===i&&(e="ArrowRight"));const o=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((t=>t.name===this.name));let r=0;const s=o.length;switch(o.some(((t,i)=>{if(t.checked)return r=i,!0})),e){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(o,b(Math.max(r-1,-1),s));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(o,b(r+1,s));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit(t)}nameChanged(){this.checkLastRadioButton()}async setFocus(){this.disabled||s(this.containerEl)}onLabelClick(t){if(!this.disabled&&!this.hidden){this.uncheckOtherRadioButtonsInGroup();const i=t.currentTarget,a=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);a&&(a.checked=!0,a.focused=!0),this.calciteRadioButtonChange.emit(),this.setFocus()}}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if((null==t?void 0:t.length)>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isDefaultSelectable()?0:-1}mouseenter(){this.hovered=!0}mouseleave(){this.hovered=!1}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${r()}`,this.name&&this.checkLastRadioButton(),c(this),h(this)}componentDidLoad(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){d(this),m(this)}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return a(e,{onClick:this.clickHandler,onKeyDown:this.handleKeyDown},a("div",{"aria-checked":this.checked.toString(),"aria-label":l(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},a("div",{class:"radio"})),a(p,{component:this}))}get el(){return o(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};f.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";width:var(--calcite-radio-size);height:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}';export{f as calcite_radio_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.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,f as a,h as i,H as n,g as r}from"./p-cb4a4c11.js";import{a as o,f as s,u as l,c,C as p}from"./p-97fd0700.js";import{g as m}from"./p-fa493d09.js";import{q as d,h as f}from"./p-b2caaa6b.js";import{H as h}from"./p-b17f15dc.js";const b="data-calcite-popover-reference",w=class{constructor(a){t(this,a),this.calcitePopoverClose=e(this,"calcitePopoverClose",7),this.calcitePopoverOpen=e(this,"calcitePopoverOpen",7),this.closeButton=!1,this.dismissible=!1,this.disableFlip=!1,this.disablePointer=!1,this.offsetDistance=o,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.intlClose="Close",this.guid=`calcite-popover-${m()}`,this.activeTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?s(e,t):null},this.setUpReferenceElement=()=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement();const{el:t,referenceElement:e,effectiveReferenceElement:a}=this;e&&!a&&console.warn(`${t.tagName}: reference-element id "${e}" was not found.`,{el:t}),this.addReferences(),this.createPopper()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:t,open:e}=this;t&&t.setAttribute("aria-expanded",e.toString())},this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();t.setAttribute(b,e),t.setAttribute("aria-controls",e),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&(t.removeAttribute(b),t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded"))},this.hide=()=>{this.open=!1},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&(this.open?this.calcitePopoverOpen.emit():this.calcitePopoverClose.emit())}}flipPlacementsHandler(){this.setFilteredPlacements()}offsetDistanceOffsetHandler(){this.reposition()}offsetSkiddingHandler(){this.reposition()}openHandler(){this.reposition(),this.setExpandedAttr()}placementHandler(){this.reposition()}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setFilteredPlacements()}componentWillLoad(){this.setUpReferenceElement()}componentDidLoad(){this.reposition()}disconnectedCallback(){this.removeReferences(),this.destroyPopper()}async reposition(){const{popper:t,el:e,placement:a}=this,i=this.getModifiers();t?await l({el:e,modifiers:i,placement:a,popper:t}):this.createPopper()}async setFocus(t){var e;const{closeButtonEl:i}=this;if("close-button"===t&&i)return a(i),void i.setFocus();null===(e=this.el)||void 0===e||e.focus()}async toggle(t=!this.open){this.open=t}getReferenceElement(){const{referenceElement:t,el:e}=this;return("string"==typeof t?d(e,{id:t}):t)||null}getModifiers(){const{arrowEl:t,disableFlip:e,disablePointer:a,offsetDistance:i,offsetSkidding:n,filteredFlipPlacements:r}=this,o={name:"flip",enabled:!e};r&&(o.options={fallbackPlacements:r});const s={name:"arrow",enabled:!a};return t&&(s.options={element:t}),[s,o,{name:"offset",enabled:!0,options:{offset:[n,i]}},{name:"eventListeners",enabled:this.open}]}createPopper(){this.destroyPopper();const{el:t,placement:e,effectiveReferenceElement:a,overlayPositioning:i}=this,n=this.getModifiers();this.popper=c({el:t,modifiers:n,overlayPositioning:i,placement:e,referenceEl:a})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}renderCloseButton(){const{dismissible:t,closeButton:e,intlClose:a}=this;return t||e?i("div",{class:"close-button-container"},i("calcite-action",{class:"close-button",onClick:this.hide,ref:t=>this.closeButtonEl=t,text:a},i("calcite-icon",{icon:"x",scale:"m"}))):null}renderHeader(){const{heading:t,headingLevel:e}=this,a=t?i(h,{class:"heading",level:e||2},t):null;return a?i("div",{class:"header"},a,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:t,heading:e,label:a,open:r,disablePointer:o}=this,s=t&&r,l=!s,c=o?null:i("div",{class:"arrow",ref:t=>this.arrowEl=t});return i(n,{"aria-hidden":l.toString(),"aria-label":a,"calcite-hydrated-hidden":l,id:this.getId(),role:"dialog"},i("div",{class:{[p.animation]:!0,[p.animationActive]:s},onTransitionEnd:this.transitionEnd},c,i("div",{class:{"has-header":!!e,container:!0}},this.renderHeader(),i("div",{class:"content"},i("slot",null)),e?null:this.renderCloseButton())))}get el(){return r(this)}static get watchers(){return{flipPlacements:["flipPlacementsHandler"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};w.style='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0)}.calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}:host([data-popper-placement^=bottom]) .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}:host([data-popper-placement^=top]) .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}:host([data-popper-placement^=left]) .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}:host([data-popper-placement^=right]) .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}:host([data-popper-placement]) .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([data-popper-placement][data-popper-reference-hidden]){pointer-events:none;opacity:0}.arrow,.arrow::before{position:absolute;width:8px;height:8px;z-index:-1}.arrow::before{content:"";--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);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-popper-placement^=top]) .arrow{bottom:-4px}:host([data-popper-placement^=bottom]) .arrow{top:-4px}:host([data-popper-placement^=left]) .arrow{right:-4px}:host([data-popper-placement^=right]) .arrow{left:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-popper-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:start;justify-content:flex-start;border-width:0px;border-bottom-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-bottom-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:center;align-self:center;white-space:normal;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{-ms-flex-direction:column;flex-direction:column}.content{display:-ms-flexbox;display:flex;height:100%;width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-item-align:center;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex:0 0 auto;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){height:100%}';const u=class{constructor(e){t(this,e),this.selector=`[${b}]`,this.autoClose=!1,this.queryPopover=t=>{const{el:e}=this;if(!t.includes(e))return null;const a=t.find((t=>{var e;return null===(e=null==t?void 0:t.hasAttribute)||void 0===e?void 0:e.call(t,b)}));if(!a)return null;const i=a.getAttribute(b);return d(e,{id:i})}}render(){return i("slot",null)}closeOpenPopovers(t){const{autoClose:e,el:a}=this,i=t.composedPath(),n=this.queryPopover(i);n?n.toggle():e&&f(a,"calcite-popover").filter((t=>t.open&&!i.includes(t))).forEach((t=>t.toggle(!1)))}get el(){return r(this)}};u.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";export{w as calcite_popover,u as calcite_popover_manager}
|
|
@@ -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.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
System.register(["./p-31197ab6.system.js","./p-2e5debed.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.f},function(e){n=e.c}],execute:function(){e({c:i,d:o});var r=new Set;var s;var c={childList:true};function i(e){if(!s){s=n("mutation",u)}s.observe(e.el,c)}function o(e){r.delete(e.el);u(s.takeRecords());s.disconnect();for(var t=0,n=r.entries();t<n.length;t++){var i=n[t][0];s.observe(i,c)}}function u(e){e.forEach((function(e){var n=e.target;t(n)}))}}}}));
|
|
@@ -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.0-next.445
|
|
5
|
-
*/
|
|
6
|
-
import{a,r as t,h as i,H as n,g as e}from"./p-cb4a4c11.js";import{a as r}from"./p-b2caaa6b.js";import{c as s}from"./p-6aa710a4.js";import"./p-fa493d09.js";const o={},c={},l={s:16,m:24,l:32};const m=class{constructor(a){t(this,a),this.icon=null,this.flipRtl=!1,this.scale="m",this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var a;null===(a=this.intersectionObserver)||void 0===a||a.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:a,flipRtl:t,pathData:e,scale:s,textLabel:o}=this,c=r(a),m=l[s],h=!!o,f=[].concat(e||"");return i(n,{"aria-hidden":(!h).toString(),"aria-label":h?o:null,role:h?"img":null},i("svg",{class:{"flip-rtl":"rtl"===c&&t,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((a=>i("path","string"==typeof a?{d:a}:{d:a.d,opacity:"opacity"in a?a.opacity:1})))))}async loadIconPathData(){const{icon:t,scale:i,visible:n}=this;t&&n&&(this.pathData=await async function({icon:t,scale:i}){const n=l[i],e=function(a){const t=!isNaN(Number(a.charAt(0))),i=a.split("-");return 1===i.length?t?`i${a}`:a:i.map(((a,i)=>0===i?t?`i${a.toUpperCase()}`:a:a.charAt(0).toUpperCase()+a.slice(1))).join("")}(t),r="F"===e.charAt(e.length-1),s=`${r?e.substring(0,e.length-1):e}${n}${r?"F":""}`;if(o[s])return o[s];c[s]||(c[s]=fetch(a(`./assets/icon/${s}.json`)).then((a=>a.json())).catch((()=>(console.error(`"${s}" is not a valid calcite-ui-icon name`),""))));const m=await c[s];return o[s]=m,m}({icon:t,scale:i}))}waitUntilVisible(a){this.intersectionObserver=s("intersection",(t=>{t.forEach((t=>{t.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,a())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):a()}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-inline-flexbox;display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host([scale=m]){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host([scale=l]){height:2rem;width:2rem;min-width:2rem;min-height:2rem}.flip-rtl{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.svg{display:block}";export{m as calcite_icon}
|