@esri/calcite-components 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-aae5b739.entry.js → p-019e9c79.entry.js} +2 -2
- package/dist/calcite/{p-96cc2917.entry.js → p-0407ecac.entry.js} +2 -2
- package/dist/calcite/{p-9562f4c0.entry.js → p-06442038.entry.js} +2 -2
- package/dist/calcite/{p-50f2bb80.entry.js → p-072f8761.entry.js} +2 -2
- package/dist/calcite/{p-c4021e5c.entry.js → p-0954cf31.entry.js} +2 -2
- package/dist/calcite/{p-2d3d2c7e.entry.js → p-0f60fc32.entry.js} +2 -2
- package/dist/calcite/{p-7aaa14b2.entry.js → p-10601231.entry.js} +2 -2
- package/dist/calcite/{p-b52ffd67.entry.js → p-11210e59.entry.js} +2 -2
- package/dist/calcite/{p-536b8494.js → p-129976f3.js} +1 -1
- package/dist/calcite/{p-2b682737.entry.js → p-12b357e4.entry.js} +2 -2
- package/dist/calcite/{p-1f1cf63e.entry.js → p-13e07c1c.entry.js} +2 -2
- package/dist/calcite/{p-72081109.entry.js → p-178a264a.entry.js} +2 -2
- package/dist/calcite/{p-8142d3ff.entry.js → p-1812439f.entry.js} +2 -2
- package/dist/calcite/{p-a60fc92c.js → p-1a0f4b4a.js} +1 -1
- package/dist/calcite/{p-3c71d6ee.js → p-22563d9a.js} +2 -2
- package/dist/calcite/{p-9f066d03.js → p-243b7920.js} +1 -1
- package/dist/calcite/p-2516afdb.js +6 -0
- package/dist/calcite/{p-f2743a30.js → p-251f2a5e.js} +2 -2
- package/dist/calcite/{p-3596b7f4.entry.js → p-25c5f90a.entry.js} +2 -2
- package/dist/calcite/{p-40afd75a.entry.js → p-2621ab6f.entry.js} +2 -2
- package/dist/calcite/{p-f3e4ff92.entry.js → p-28402e89.entry.js} +2 -2
- package/dist/calcite/{p-0866faee.entry.js → p-299701fe.entry.js} +2 -2
- package/dist/calcite/{p-263c8da0.entry.js → p-29a4195b.entry.js} +2 -2
- package/dist/calcite/{p-a374ca29.js → p-2d3b1298.js} +1 -1
- package/dist/calcite/p-327823f3.js +6 -0
- package/dist/calcite/{p-e037d4a5.entry.js → p-3582f4c9.entry.js} +2 -2
- package/dist/calcite/{p-8754cd9b.entry.js → p-3806fbcf.entry.js} +2 -2
- package/dist/calcite/{p-dd163368.entry.js → p-3d466810.entry.js} +2 -2
- package/dist/calcite/{p-b3910a16.js → p-3d497b7d.js} +2 -2
- package/dist/calcite/{p-76168c3e.entry.js → p-40e18e9a.entry.js} +2 -2
- package/dist/calcite/{p-53942ced.js → p-4185fbaf.js} +1 -1
- package/dist/calcite/{p-c698881e.js → p-4acb3ea1.js} +2 -2
- package/dist/calcite/p-4c7630f9.entry.js +6 -0
- package/dist/calcite/{p-4dd10f06.js → p-4dba9ad1.js} +1 -1
- package/dist/calcite/{p-e24a9295.js → p-53865a5c.js} +1 -1
- package/dist/calcite/{p-1b8a7700.entry.js → p-561c37d6.entry.js} +2 -2
- package/dist/calcite/{p-0ea90766.entry.js → p-593ccc43.entry.js} +2 -2
- package/dist/calcite/{p-86d880fc.js → p-5d2a5f83.js} +2 -2
- package/dist/calcite/{p-691827d3.js → p-5d59d6b8.js} +2 -2
- package/dist/calcite/{p-ad180f2f.js → p-5f0fe068.js} +1 -1
- package/dist/calcite/{p-0854f55d.entry.js → p-62b376b0.entry.js} +2 -2
- package/dist/calcite/{p-93162688.entry.js → p-638175c2.entry.js} +2 -2
- package/dist/calcite/{p-0a19a968.js → p-644998ab.js} +1 -1
- package/dist/calcite/{p-93f63097.entry.js → p-66564300.entry.js} +2 -2
- package/dist/calcite/{p-c634c4ac.entry.js → p-66eae393.entry.js} +2 -2
- package/dist/calcite/{p-dcc2695b.entry.js → p-6c1801ab.entry.js} +2 -2
- package/dist/calcite/{p-5a21848f.js → p-6edaec38.js} +2 -2
- package/dist/calcite/{p-0bd1c3c7.entry.js → p-7d63e3b1.entry.js} +2 -2
- package/dist/calcite/{p-ec974717.entry.js → p-7e479ab3.entry.js} +2 -2
- package/dist/calcite/{p-38cce891.entry.js → p-83402ec4.entry.js} +2 -2
- package/dist/calcite/{p-07145d9d.entry.js → p-83b472ec.entry.js} +2 -2
- package/dist/calcite/p-88d410be.entry.js +6 -0
- package/dist/calcite/{p-758bebce.entry.js → p-8cd4c7e9.entry.js} +2 -2
- package/dist/calcite/{p-d8b3ec11.entry.js → p-8f8558aa.entry.js} +2 -2
- package/dist/calcite/{p-bb070cf6.entry.js → p-8f85ae03.entry.js} +2 -2
- package/dist/calcite/{p-c3ff2f47.js → p-901b24a6.js} +1 -1
- package/dist/calcite/{p-62ca92c9.js → p-93565bec.js} +1 -1
- package/dist/calcite/{p-d3b86f5b.entry.js → p-9651b147.entry.js} +2 -2
- package/dist/calcite/{p-839d1c4e.entry.js → p-9937e5b5.entry.js} +2 -2
- package/dist/calcite/{p-b4f6a7f0.entry.js → p-9c23e59a.entry.js} +2 -2
- package/dist/calcite/{p-c8897356.js → p-9e413c06.js} +1 -1
- package/dist/calcite/{p-f54f051a.entry.js → p-ab81b4ed.entry.js} +2 -2
- package/dist/calcite/{p-f22f5e2b.entry.js → p-b4155a81.entry.js} +2 -2
- package/dist/calcite/{p-8a556a44.js → p-b44a8d52.js} +1 -1
- package/dist/calcite/p-b7a514ed.entry.js +6 -0
- package/dist/calcite/{p-634dc3b9.entry.js → p-b81bbd53.entry.js} +2 -2
- package/dist/calcite/{p-1c7b9d7a.entry.js → p-bbaa4997.entry.js} +2 -2
- package/dist/calcite/{p-a0309c9b.js → p-bd942975.js} +1 -1
- package/dist/calcite/{p-cf911e65.entry.js → p-c2bb946b.entry.js} +2 -2
- package/dist/calcite/{p-94011775.js → p-c334f9b6.js} +2 -2
- package/dist/calcite/{p-b50ab308.entry.js → p-c43812da.entry.js} +2 -2
- package/dist/calcite/{p-f8ce2a65.entry.js → p-c4f0cdb1.entry.js} +2 -2
- package/dist/calcite/{p-f7cb6ac5.entry.js → p-c772be2b.entry.js} +2 -2
- package/dist/calcite/{p-14e72f25.js → p-c9e949ec.js} +1 -1
- package/dist/calcite/{p-e654df1c.entry.js → p-ca0779db.entry.js} +2 -2
- package/dist/calcite/{p-75373482.entry.js → p-d238c881.entry.js} +2 -2
- package/dist/calcite/{p-138492eb.js → p-d3a5b453.js} +2 -2
- package/dist/calcite/{p-83810479.entry.js → p-d3b96c5c.entry.js} +2 -2
- package/dist/calcite/{p-04af4e18.entry.js → p-d6fd431c.entry.js} +2 -2
- package/dist/calcite/{p-790a8f19.js → p-dc200732.js} +1 -1
- package/dist/calcite/{p-6ffcd57b.entry.js → p-dd3c94cf.entry.js} +2 -2
- package/dist/calcite/{p-43695026.js → p-ddf76e54.js} +2 -2
- package/dist/calcite/{p-4fdf84d0.js → p-e273b39f.js} +2 -2
- package/dist/calcite/{p-8e7e3d7a.entry.js → p-e5806b93.entry.js} +2 -2
- package/dist/calcite/{p-c84d524e.entry.js → p-e923223c.entry.js} +2 -2
- package/dist/calcite/p-edf85948.js +10 -0
- package/dist/calcite/{p-2a3443a7.entry.js → p-eef10fff.entry.js} +2 -2
- package/dist/calcite/{p-bf0d157f.entry.js → p-f141f293.entry.js} +2 -2
- package/dist/calcite/{p-a3dba63c.js → p-f2f9a865.js} +2 -2
- package/dist/calcite/{p-d124acc9.entry.js → p-f57deccc.entry.js} +2 -2
- package/dist/calcite/{p-4001a727.js → p-f68b2bdb.js} +2 -2
- package/dist/calcite/{p-3e1d392c.entry.js → p-f9b34f67.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-d79ee46b.js → ExpandToggle-1469f47a.js} +5 -5
- package/dist/cjs/{Heading-3965dc67.js → Heading-dbdd4fe3.js} +2 -2
- package/dist/cjs/{app-globals-ec12cb34.js → app-globals-69065772.js} +2 -2
- package/dist/cjs/{array-965c9955.js → array-60fe47ac.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +14 -14
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-f3e69608.js → conditionalSlot-9cfea627.js} +3 -3
- package/dist/cjs/{debounce-50a003d0.js → debounce-af5882c5.js} +1 -1
- package/dist/cjs/{dom-1160c5f6.js → dom-1f61b001.js} +3 -3
- package/dist/cjs/{filter-d08ff7fa.js → filter-40ef5fb6.js} +2 -2
- package/dist/cjs/{floating-ui-410a45fc.js → floating-ui-cf8b7c7e.js} +4 -4
- package/dist/cjs/{focusTrapComponent-d58770cc.js → focusTrapComponent-2d67f179.js} +6 -6
- package/dist/cjs/{form-b504b496.js → form-3dfa2e33.js} +3 -3
- package/dist/cjs/{guid-113148c4.js → guid-624d4437.js} +1 -1
- package/dist/cjs/{index-8eb07112.js → index-89bc16ff.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-236d81ae.js → interactive-864c5140.js} +1 -1
- package/dist/cjs/{key-cd959c09.js → key-b8c79df1.js} +1 -1
- package/dist/cjs/{label-a2814e2a.js → label-655d2d81.js} +2 -2
- package/dist/cjs/{loadable-b00a5871.js → loadable-ba12e859.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-d803c496.js → locale-7e1fa938.js} +4 -4
- package/dist/cjs/{math-6ebfc36d.js → math-ad3373ec.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-a49912ad.js → nonChromiumPlatformUtils-9eb39d0e.js} +6 -6
- package/dist/cjs/{observers-4f8bf730.js → observers-915048e0.js} +1 -1
- package/dist/cjs/{openCloseComponent-06aca6ae.js → openCloseComponent-b566840a.js} +2 -2
- package/dist/cjs/{resources-f50a507e.js → resources-16650b54.js} +1 -1
- package/dist/cjs/{resources-32ee25af.js → resources-1c6040ad.js} +1 -1
- package/dist/cjs/{resources-82691963.js → resources-371525ef.js} +1 -1
- package/dist/cjs/{resources-835d9e38.js → resources-50130a88.js} +5 -5
- package/dist/cjs/{resources-31be8c32.js → resources-66c20f85.js} +1 -1
- package/dist/cjs/{resources-3053b72e.js → resources-c9182c3c.js} +1 -1
- package/dist/cjs/{sortable.esm-e95d15e6.js → sortable.esm-911336b9.js} +1 -1
- package/dist/cjs/{t9n-f1a1bf3e.js → t9n-e2509f8c.js} +3 -3
- package/dist/cjs/{utils-f93f3009.js → utils-556df4f4.js} +1 -1
- package/dist/cjs/{utils-5ff814ad.js → utils-9c8a64c5.js} +3 -3
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +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 +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +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/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.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/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +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 +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +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/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +5 -5
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +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 +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +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 +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +5 -5
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-83e12bfa.js → ExpandToggle-1dc348e4.js} +5 -5
- package/dist/esm/{Heading-6938ebca.js → Heading-c9cca1ea.js} +2 -2
- package/dist/esm/{app-globals-2da300d7.js → app-globals-523f5c6b.js} +2 -2
- package/dist/esm/{array-0c8804f0.js → array-a3f6bbc3.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +14 -14
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +12 -12
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +16 -16
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +14 -14
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +14 -14
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +9 -9
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-4019f397.js → conditionalSlot-0feaf92e.js} +3 -3
- package/dist/esm/{debounce-18f0540f.js → debounce-7eda7983.js} +1 -1
- package/dist/esm/{dom-32ae8bc9.js → dom-8bd9a2e4.js} +3 -3
- package/dist/esm/{filter-8eadf2db.js → filter-617a0a20.js} +2 -2
- package/dist/esm/{floating-ui-db6e9f76.js → floating-ui-b1d5fc62.js} +4 -4
- package/dist/esm/{focusTrapComponent-4c928a1c.js → focusTrapComponent-509b8026.js} +6 -6
- package/dist/esm/{form-730cbc45.js → form-9666b7af.js} +3 -3
- package/dist/esm/{guid-401209dc.js → guid-be5a0c2d.js} +1 -1
- package/dist/esm/{index-a40da88d.js → index-6167ae21.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-d4dc0fc7.js → interactive-85bb17cd.js} +1 -1
- package/dist/esm/{key-4aa8c81c.js → key-c706eea1.js} +1 -1
- package/dist/esm/{label-546d34b0.js → label-664a12e5.js} +2 -2
- package/dist/esm/{loadable-e50fb942.js → loadable-53a96a9a.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-9f86374c.js → locale-88b820ed.js} +4 -4
- package/dist/esm/{math-881bb1fd.js → math-87f6a301.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-4fa8534e.js → nonChromiumPlatformUtils-253dee10.js} +6 -6
- package/dist/esm/{observers-7ca4e421.js → observers-aab95813.js} +1 -1
- package/dist/esm/{openCloseComponent-531a9ab0.js → openCloseComponent-dca8c4ff.js} +2 -2
- package/dist/esm/{resources-e0acc028.js → resources-006e59bb.js} +5 -5
- package/dist/esm/{resources-f78c5f1c.js → resources-03cd2a66.js} +1 -1
- package/dist/esm/{resources-e05f38e6.js → resources-186e0ad8.js} +1 -1
- package/dist/esm/{resources-64b0ebdc.js → resources-28d67c1d.js} +1 -1
- package/dist/esm/{resources-f5d2d85f.js → resources-44bb8b11.js} +1 -1
- package/dist/esm/{resources-3257f6ce.js → resources-d674096d.js} +1 -1
- package/dist/esm/{sortable.esm-7dae9c93.js → sortable.esm-59b0e396.js} +1 -1
- package/dist/esm/{t9n-d8973b84.js → t9n-9d290ff1.js} +3 -3
- package/dist/esm/{utils-8ce8c150.js → utils-20d9124f.js} +3 -3
- package/dist/esm/{utils-b3f680c0.js → utils-ce2bf7ba.js} +1 -1
- package/dist/extras/docs-json.json +1 -1
- 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/hydrate/index.js +5 -5
- package/package.json +1 -1
- package/readme.md +2 -2
- package/dist/calcite/p-2e0a1e65.js +0 -6
- package/dist/calcite/p-34ba4efd.entry.js +0 -6
- package/dist/calcite/p-5c3d614b.entry.js +0 -6
- package/dist/calcite/p-8d6b1692.entry.js +0 -6
- package/dist/calcite/p-cca09fb9.js +0 -6
- package/dist/calcite/p-ec693d61.js +0 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.
|
|
4
|
+
* v1.0.7
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.
|
|
4
|
+
* v1.0.7
|
|
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';
|
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.
|
|
4
|
+
* v1.0.7
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -25218,11 +25218,11 @@ function connectFocusTrap(component) {
|
|
|
25218
25218
|
if (!focusTrapEl) {
|
|
25219
25219
|
return;
|
|
25220
25220
|
}
|
|
25221
|
+
if (focusTrapEl.tabIndex == null) {
|
|
25222
|
+
focusTrapEl.tabIndex = -1;
|
|
25223
|
+
}
|
|
25221
25224
|
const focusTrapOptions = {
|
|
25222
|
-
|
|
25223
|
-
clickOutsideDeactivates: (event) => {
|
|
25224
|
-
return !event.composedPath().find((el) => el === focusTrapEl);
|
|
25225
|
-
},
|
|
25225
|
+
clickOutsideDeactivates: true,
|
|
25226
25226
|
document: focusTrapEl.ownerDocument,
|
|
25227
25227
|
escapeDeactivates: false,
|
|
25228
25228
|
fallbackFocus: focusTrapEl,
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -13,11 +13,11 @@ Calcite Components, part of Esri's Calcite Design System, is a rich library of f
|
|
|
13
13
|
The most common approach for loading Calcite Components is to use the version hosted on the CDN. The components can be loaded via `<script>` and `<link>` tags in the head of your HTML document:
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
|
-
<script type="module" src="https://unpkg.com/@esri/calcite-components@1.0.
|
|
16
|
+
<script type="module" src="https://unpkg.com/@esri/calcite-components@1.0.7/dist/calcite/calcite.esm.js"></script>
|
|
17
17
|
<link
|
|
18
18
|
rel="stylesheet"
|
|
19
19
|
type="text/css"
|
|
20
|
-
href="https://unpkg.com/@esri/calcite-components@1.0.
|
|
20
|
+
href="https://unpkg.com/@esri/calcite-components@1.0.7/dist/calcite/calcite.css"
|
|
21
21
|
/>
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -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.6
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-c8897356.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const e=(r,e)=>{const n=r.level?`h${r.level}`:"div";return delete r.level,t(n,{...r},e)};export{e as H,r as c}
|
|
@@ -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.6
|
|
5
|
-
*/
|
|
6
|
-
import{r as a,c as t,h as i,H as o,g as e}from"./p-c8897356.js";import{c as n,d as r}from"./p-cca09fb9.js";import{g as c}from"./p-b3910a16.js";import{s,a as l,c as d}from"./p-790a8f19.js";import{c as p,d as m}from"./p-691827d3.js";import{u as h,c as u,d as f,s as x}from"./p-f2743a30.js";import{t as g,E as b}from"./p-5a21848f.js";import"./p-a374ca29.js";import"./p-a60fc92c.js";import"./p-536b8494.js";import"./p-9f066d03.js";import"./p-c3ff2f47.js";import"./p-a0309c9b.js";const w=class{constructor(i){a(this,i),this.calciteActionPadToggle=t(this,"calciteActionPadToggle",6),this.actionMenuOpenHandler=a=>{if(a.target.menuOpen){const t=a.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((a=>{t.includes(a)||(a.menuOpen=!1)}))}},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.setExpandToggleRef=a=>{this.expandToggleEl=a},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}expandedHandler(a){g({parent:this.el,expanded:a})}onMessagesChange(){}effectiveLocaleChange(){h(this,this.effectiveLocale)}connectedCallback(){n(this),p(this),u(this)}disconnectedCallback(){m(this),f(this),r(this)}async componentWillLoad(){s(this);const{el:a,expanded:t}=this;g({parent:a,expanded:t}),await x(this)}componentDidLoad(){l(this)}async setFocus(){await d(this),this.el?.focus()}renderBottomActionGroup(){const{expanded:a,expandDisabled:t,messages:o,el:e,position:n,toggleExpand:r,scale:s,layout:l}=this,d=c(e,"expand-tooltip"),p=t?null:i(b,{el:e,expanded:a,intlCollapse:o.collapse,intlExpand:o.expand,position:n,ref:this.setExpandToggleRef,scale:s,toggle:r,tooltip:d});return p?i("calcite-action-group",{class:"action-group--bottom",layout:l,scale:s},i("slot",{name:"expand-tooltip"}),p):null}render(){return i(o,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},i("div",{class:"container"},i("slot",null),this.renderBottomActionGroup()))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block}@keyframes in{0%{opacity:0}100%{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.125rem;--calcite-action-pad-expanded-max-width:auto;background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px}.container{display:inline-flex;flex-direction:column;overflow-y:auto;border-radius:0.25rem;background-color:var(--calcite-ui-background);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0px}:host([layout=horizontal]) .container ::slotted(calcite-action-group){border-width:0px;padding:0px;border-inline-end-width:1px}::slotted(calcite-action-group:last-child){border-block-end-width:0px}";export{w as calcite_action_pad}
|
|
@@ -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.6
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as o}from"./p-c8897356.js";import{c as n,d as s}from"./p-cca09fb9.js";import{g as r}from"./p-b3910a16.js";import{a as c,s as l,c as d}from"./p-790a8f19.js";import{c as h,d as p}from"./p-691827d3.js";import{c as m}from"./p-a374ca29.js";import{u as f,c as u,s as g,d as x}from"./p-f2743a30.js";import{t as b,o as v,q as y,g as w,a as j,E as D,b as k}from"./p-5a21848f.js";import{d as z}from"./p-ad180f2f.js";import"./p-a60fc92c.js";import"./p-536b8494.js";import"./p-9f066d03.js";import"./p-c3ff2f47.js";import"./p-a0309c9b.js";const C=class{constructor(a){t(this,a),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=m("mutation",(()=>{const{el:t,expanded:i}=this;b({parent:t,expanded:i}),this.conditionallyOverflowActions()})),this.resizeObserver=m("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:a}=t.contentRect;this.resize({width:i,height:a})},this.resize=z((({width:t,height:i})=>{const{el:a,expanded:e,expandDisabled:o,layout:n}=this;if("vertical"===n&&!i||"horizontal"===n&&!t)return;const s=y(a),c=o?s.length:s.length+1,l=Array.from(a.querySelectorAll("calcite-action-group")),d=r(a,"bottom-actions")||!o?l.length+1:l.length,{actionHeight:h,actionWidth:p}=w(s),m=k({layout:n,actionCount:c,actionHeight:h,actionWidth:p,height:i,width:t,groupCount:d});j({actionGroups:l,expanded:e,overflowCount:m})}),v),this.conditionallyOverflowActions=()=>{this.overflowActionsDisabled||this.overflowActions()},this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}expandHandler(){this.conditionallyOverflowActions()}expandedHandler(t){b({parent:this.el,expanded:t}),this.conditionallyOverflowActions()}overflowDisabledHandler(t){t?this.resizeObserver.disconnect():this.resizeObserver.observe(this.el)}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}componentDidLoad(){c(this),this.conditionallyOverflowActions()}connectedCallback(){const{el:t,expanded:i}=this;h(this),u(this),b({parent:t,expanded:i}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.conditionallyOverflowActions(),n(this)}async componentWillLoad(){l(this),await g(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),s(this),p(this),x(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await d(this),this.el?.focus()}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,el:e,position:o,toggleExpand:n,scale:s,layout:c,messages:l}=this,d=r(e,"expand-tooltip"),h=i?null:a(D,{el:e,expanded:t,intlCollapse:l.collapse,intlExpand:l.expand,position:o,ref:this.setExpandToggleRef,scale:s,toggle:n,tooltip:d});return r(e,"bottom-actions")||h?a("calcite-action-group",{class:"action-group--bottom",layout:c,scale:s},a("slot",{name:"bottom-actions"}),a("slot",{name:"expand-tooltip"}),h):null}render(){return a(e,{onCalciteActionMenuOpen:this.actionMenuOpenHandler},a("slot",null),this.renderBottomActionGroup())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{pointer-events:auto;display:inline-flex;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px;padding-inline-end:0px}";export{C as calcite_action_bar}
|
|
@@ -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.6
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,g as a}from"./p-c8897356.js";import{c as n,d as o}from"./p-cca09fb9.js";import{t as r,g as c}from"./p-b3910a16.js";import{c as s,d as l}from"./p-691827d3.js";import{c as d,d as m,s as h,u as f}from"./p-f2743a30.js";import"./p-a374ca29.js";import"./p-a60fc92c.js";import"./p-536b8494.js";import"./p-9f066d03.js";const p=class{constructor(i){t(this,i),this.calciteCardSelect=e(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=t=>{switch(t.key){case" ":case"Enter":this.selectCard(),t.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){n(this),s(this),d(this)}disonnectedCallback(){o(this),l(this),m(this)}async componentWillLoad(){await h(this)}render(){const t=this.thumbnailPosition.startsWith("inline"),e=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:t}},this.loading?i("div",{class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,e&&this.renderThumbnail(),i("section",{"aria-busy":r(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!e&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return c(this.el,"thumbnail")?i("section",{class:"thumbnail-wrapper"},i("slot",{name:"thumbnail"})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.selected?this.messages.deselect:this.messages.select}))}renderHeader(){const{el:t}=this,e=c(t,"title"),a=c(t,"subtitle");return e||a?i("header",{class:"header"},i("slot",{name:"title"}),i("slot",{name:"subtitle"})):null}renderFooter(){const{el:t}=this,e=c(t,"footer-start"),a=c(t,"footer-end");return e||a?i("footer",{class:"footer"},i("slot",{name:"footer-start"}),i("slot",{name:"footer-end"})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};p.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}";export{p as calcite_card}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.6
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-c8897356.js";import{c as o}from"./p-a374ca29.js";const c=new Set;let n;const s={childList:!0};function a(t){n||(n=o("mutation",i)),n.observe(t.el,s)}function f(t){c.delete(t.el),i(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{a as c,f as d}
|
|
@@ -1,10 +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.6
|
|
5
|
-
*/
|
|
6
|
-
import{l as t,m as n,n as e,o as r,f as o,p as u}from"./p-b3910a16.js";
|
|
7
|
-
/*!
|
|
8
|
-
* focus-trap 7.2.0
|
|
9
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
10
|
-
*/function i(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function a(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?i(Object(e),!0).forEach((function(n){c(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function c(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof n?n:String(n)}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var f=function(t){return"Tab"===t.key||9===t.keyCode},s=function(t){return f(t)&&!t.shiftKey},v=function(t){return f(t)&&t.shiftKey},l=function(t){return setTimeout(t,0)},b=function(t,n){var e=-1;return t.every((function(t,r){return!n(t)||(e=r,!1)})),e},d=function(t){for(var n=arguments.length,e=new Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];return"function"==typeof t?t.apply(void 0,e):t},p=function(t){return t.target.shadowRoot&&"function"==typeof t.composedPath?t.composedPath()[0]:t.target},w=[];const h=[];function m(i){const{focusTrapEl:c}=i;c&&(i.focusTrap=function(o,u){var i,c=(null==u?void 0:u.document)||document,h=(null==u?void 0:u.trapStack)||w,m=a({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:s,isKeyBackward:v},u),y={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},F=function(t,n,e){return t&&void 0!==t[n]?t[n]:m[e||n]},O=function(t){return y.containerGroups.findIndex((function(n){var e=n.tabbableNodes;return n.container.contains(t)||e.find((function(n){return n===t}))}))},k=function(t){var n=m[t];if("function"==typeof n){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(t,"` was specified but was not a node, or did not return a node"))}var u=n;if("string"==typeof n&&!(u=c.querySelector(n)))throw new Error("`".concat(t,"` as selector refers to no known node"));return u},j=function(){var t=k("initialFocus");if(!1===t)return!1;if(void 0===t)if(O(c.activeElement)>=0)t=c.activeElement;else{var n=y.tabbableGroups[0];t=n&&n.firstTabbableNode||k("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},D=function(){if(y.containerGroups=y.containers.map((function(r){var o=t(r,m.tabbableOptions),u=n(r,m.tabbableOptions);return{container:r,tabbableNodes:o,focusableNodes:u,firstTabbableNode:o.length>0?o[0]:null,lastTabbableNode:o.length>0?o[o.length-1]:null,nextTabbableNode:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.findIndex((function(n){return n===t}));if(!(r<0))return n?u.slice(r+1).find((function(t){return e(t,m.tabbableOptions)})):u.slice(0,r).reverse().find((function(t){return e(t,m.tabbableOptions)}))}}})),y.tabbableGroups=y.containerGroups.filter((function(t){return t.tabbableNodes.length>0})),y.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},T=function t(n){!1!==n&&n!==c.activeElement&&(n&&n.focus?(n.focus({preventScroll:!!m.preventScroll}),y.mostRecentlyFocusedNode=n,function(t){return t.tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select}(n)&&n.select()):t(j()))},E=function(t){var n=k("setReturnFocus",t);return n||!1!==n&&t},g=function(t){var n=p(t);O(n)>=0||(d(m.clickOutsideDeactivates,t)?i.deactivate({returnFocus:m.returnFocusOnDeactivate&&!r(n,m.tabbableOptions)}):d(m.allowOutsideClick,t)||t.preventDefault())},N=function(t){var n=p(t),e=O(n)>=0;e||n instanceof Document?e&&(y.mostRecentlyFocusedNode=n):(t.stopImmediatePropagation(),T(y.mostRecentlyFocusedNode||j()))},A=function(t){if(("Escape"===(n=t).key||"Esc"===n.key||27===n.keyCode)&&!1!==d(m.escapeDeactivates,t))return t.preventDefault(),void i.deactivate();var n;(m.isKeyForward(t)||m.isKeyBackward(t))&&function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=p(t);D();var u=null;if(y.tabbableGroups.length>0){var i=O(o),a=i>=0?y.containerGroups[i]:void 0;if(i<0)u=n?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(n){var c=b(y.tabbableGroups,(function(t){return o===t.firstTabbableNode}));c<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o,!1))&&(c=i),c>=0?u=y.tabbableGroups[0===c?y.tabbableGroups.length-1:c-1].lastTabbableNode:f(t)||(u=a.nextTabbableNode(o,!1))}else{var s=b(y.tabbableGroups,(function(t){return o===t.lastTabbableNode}));s<0&&(a.container===o||r(o,m.tabbableOptions)&&!e(o,m.tabbableOptions)&&!a.nextTabbableNode(o))&&(s=i),s>=0?u=y.tabbableGroups[s===y.tabbableGroups.length-1?0:s+1].firstTabbableNode:f(t)||(u=a.nextTabbableNode(o))}}else u=k("fallbackFocus");u&&(f(t)&&t.preventDefault(),T(u))}(t,m.isKeyBackward(t))},C=function(t){var n=p(t);O(n)>=0||d(m.clickOutsideDeactivates,t)||d(m.allowOutsideClick,t)||(t.preventDefault(),t.stopImmediatePropagation())},R=function(){if(y.active)return function(t,n){if(t.length>0){var e=t[t.length-1];e!==n&&e.pause()}var r=t.indexOf(n);-1===r||t.splice(r,1),t.push(n)}(h,i),y.delayInitialFocusTimer=m.delayInitialFocus?l((function(){T(j())})):T(j()),c.addEventListener("focusin",N,!0),c.addEventListener("mousedown",g,{capture:!0,passive:!1}),c.addEventListener("touchstart",g,{capture:!0,passive:!1}),c.addEventListener("click",C,{capture:!0,passive:!1}),c.addEventListener("keydown",A,{capture:!0,passive:!1}),i},S=function(){if(y.active)return c.removeEventListener("focusin",N,!0),c.removeEventListener("mousedown",g,!0),c.removeEventListener("touchstart",g,!0),c.removeEventListener("click",C,!0),c.removeEventListener("keydown",A,!0),i};return(i={get active(){return y.active},get paused(){return y.paused},activate:function(t){if(y.active)return this;var n=F(t,"onActivate"),e=F(t,"onPostActivate"),r=F(t,"checkCanFocusTrap");r||D(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=c.activeElement,n&&n();var o=function(){r&&D(),R(),e&&e()};return r?(r(y.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(t){if(!y.active)return this;var n=a({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},t);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,S(),y.active=!1,y.paused=!1,function(t,n){var e=t.indexOf(n);-1!==e&&t.splice(e,1),t.length>0&&t[t.length-1].unpause()}(h,i);var e=F(n,"onDeactivate"),r=F(n,"onPostDeactivate"),o=F(n,"checkCanReturnFocus"),u=F(n,"returnFocus","returnFocusOnDeactivate");e&&e();var c=function(){l((function(){u&&T(E(y.nodeFocusedBeforeActivation)),r&&r()}))};return u&&o?(o(E(y.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(){return y.paused||!y.active||(y.paused=!0,S()),this},unpause:function(){return y.paused&&y.active?(y.paused=!1,D(),R(),this):this},updateContainerElements:function(t){var n=[].concat(t).filter(Boolean);return y.containers=n.map((function(t){return"string"==typeof t?c.querySelector(t):t})),y.active&&D(),this}}).updateContainerElements(o),i}(c,{allowOutsideClick:!0,clickOutsideDeactivates:t=>!t.composedPath().find((t=>t===c)),document:c.ownerDocument,escapeDeactivates:!1,fallbackFocus:c,setReturnFocus:t=>(o(t),!1),tabbableOptions:u,trapStack:h}))}function y(t){t.focusTrapDisabled||t.focusTrap?.activate()}function F(t){t.focusTrap?.deactivate()}function O(t){t.focusTrap?.updateContainerElements(t.focusTrapEl)}export{y as a,m as c,F as d,O as u}
|