@esri/calcite-components 1.0.0-next.615 → 1.0.0-next.616
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-be67cbd1.js → p-05e7786c.js} +2 -2
- package/dist/calcite/p-065889fd.js +6 -0
- package/dist/calcite/{p-7a345dea.js → p-0d04338a.js} +1 -1
- package/dist/calcite/{p-90bebdaa.entry.js → p-0dde9292.entry.js} +2 -2
- package/dist/calcite/{p-e26dc2f5.entry.js → p-1848dbf7.entry.js} +2 -2
- package/dist/calcite/{p-120d20f6.entry.js → p-1afa69b5.entry.js} +2 -2
- package/dist/calcite/{p-8cedb709.entry.js → p-1d3f1a2e.entry.js} +2 -2
- package/dist/calcite/{p-64fe8ba0.js → p-2027f314.js} +2 -2
- package/dist/calcite/{p-b89d308b.js → p-21c75124.js} +1 -1
- package/dist/calcite/{p-fed46ca4.entry.js → p-2a72b1c4.entry.js} +2 -2
- package/dist/calcite/{p-0972380f.js → p-2b0e2d8a.js} +2 -2
- package/dist/calcite/{p-a256fb99.entry.js → p-326d4d54.entry.js} +2 -2
- package/dist/calcite/{p-1f29ebbb.entry.js → p-32c4f955.entry.js} +2 -2
- package/dist/calcite/{p-a966abfb.entry.js → p-3436bc23.entry.js} +2 -2
- package/dist/calcite/{p-ddc1ed1d.entry.js → p-356b0763.entry.js} +2 -2
- package/dist/calcite/p-37307265.js +6 -0
- package/dist/calcite/{p-a00f2e25.entry.js → p-37d73d8e.entry.js} +2 -2
- package/dist/calcite/{p-aa4660d8.js → p-3a915ffe.js} +1 -1
- package/dist/calcite/{p-7d502ed6.entry.js → p-4105afff.entry.js} +2 -2
- package/dist/calcite/{p-79f94731.js → p-42b9dd33.js} +1 -1
- package/dist/calcite/{p-b41518cf.entry.js → p-440b700f.entry.js} +2 -2
- package/dist/calcite/{p-71d36028.entry.js → p-48d2447b.entry.js} +2 -2
- package/dist/calcite/{p-fa4ae181.js → p-4a0c3dcb.js} +1 -1
- package/dist/calcite/{p-6698cb54.js → p-50d02f4f.js} +2 -2
- package/dist/calcite/{p-f9dd9ab8.entry.js → p-53221a89.entry.js} +2 -2
- package/dist/calcite/{p-5f50fe31.entry.js → p-53bc530a.entry.js} +2 -2
- package/dist/calcite/{p-b9bff580.entry.js → p-53f26faa.entry.js} +2 -2
- package/dist/calcite/p-541b350c.js +6 -0
- package/dist/calcite/{p-9e7220f3.entry.js → p-5528a992.entry.js} +2 -2
- package/dist/calcite/{p-354c0936.js → p-5b450e0d.js} +2 -2
- package/dist/calcite/{p-9100d8a7.js → p-5eceb646.js} +2 -2
- package/dist/calcite/{p-fcad3893.entry.js → p-60b5ce5e.entry.js} +2 -2
- package/dist/calcite/{p-954acef7.entry.js → p-617d7907.entry.js} +2 -2
- package/dist/calcite/{p-e2f1ceb7.js → p-64749e4e.js} +1 -1
- package/dist/calcite/{p-64a8cc39.entry.js → p-6566b2de.entry.js} +2 -2
- package/dist/calcite/{p-bf381e68.entry.js → p-6858d006.entry.js} +2 -2
- package/dist/calcite/{p-a2b3a42d.entry.js → p-6add6d95.entry.js} +2 -2
- package/dist/calcite/{p-78c5f8ad.entry.js → p-6aeada89.entry.js} +2 -2
- package/dist/calcite/{p-169ab2e9.entry.js → p-71e75dd0.entry.js} +2 -2
- package/dist/calcite/{p-5ebfb457.entry.js → p-72707c9e.entry.js} +2 -2
- package/dist/calcite/{p-83e7a885.entry.js → p-742495b5.entry.js} +2 -2
- package/dist/calcite/{p-185dca13.entry.js → p-79dfe85e.entry.js} +2 -2
- package/dist/calcite/{p-0943f00e.js → p-7a855512.js} +2 -2
- package/dist/calcite/{p-844d98b8.js → p-7abd87e4.js} +1 -1
- package/dist/calcite/{p-618d6047.entry.js → p-80ccde80.entry.js} +2 -2
- package/dist/calcite/{p-ba672fec.js → p-821b70a4.js} +1 -1
- package/dist/calcite/{p-d2e782cf.js → p-85adbbd2.js} +1 -1
- package/dist/calcite/{p-d2b5990e.entry.js → p-87ce3e89.entry.js} +2 -2
- package/dist/calcite/{p-348a7310.js → p-8e58c46e.js} +1 -1
- package/dist/calcite/{p-ec745f8a.js → p-9289ffd1.js} +1 -1
- package/dist/calcite/{p-aae2448d.entry.js → p-93c2a416.entry.js} +2 -2
- package/dist/calcite/{p-29291ada.entry.js → p-97196307.entry.js} +2 -2
- package/dist/calcite/{p-4d39dcdb.entry.js → p-9855e539.entry.js} +2 -2
- package/dist/calcite/{p-9eeff348.entry.js → p-990a15b1.entry.js} +2 -2
- package/dist/calcite/{p-fe81f825.entry.js → p-9b0133d9.entry.js} +2 -2
- package/dist/calcite/{p-8c68573a.js → p-a059a63e.js} +1 -1
- package/dist/calcite/{p-c2bee4f7.entry.js → p-a47795bb.entry.js} +2 -2
- package/dist/calcite/{p-aa00f7ce.js → p-a4e04252.js} +2 -2
- package/dist/calcite/{p-c81fba96.entry.js → p-a6ef0925.entry.js} +2 -2
- package/dist/calcite/{p-1205e767.entry.js → p-ac17c8d8.entry.js} +2 -2
- package/dist/calcite/{p-e19ad817.entry.js → p-ad585eac.entry.js} +2 -2
- package/dist/calcite/p-aea6c065.entry.js +6 -0
- package/dist/calcite/p-b09d7787.entry.js +6 -0
- package/dist/calcite/{p-13a5d3f1.entry.js → p-b11e2fb2.entry.js} +2 -2
- package/dist/calcite/{p-5d65e04d.entry.js → p-b273c9e4.entry.js} +2 -2
- package/dist/calcite/{p-a7b973d5.entry.js → p-b5424abd.entry.js} +2 -2
- package/dist/calcite/{p-66bc4a05.entry.js → p-b58a6a07.entry.js} +2 -2
- package/dist/calcite/{p-db23591b.js → p-b936c6f3.js} +2 -2
- package/dist/calcite/{p-acf79ea5.entry.js → p-be117365.entry.js} +2 -2
- package/dist/calcite/{p-b1930158.entry.js → p-c2f086f0.entry.js} +2 -2
- package/dist/calcite/{p-f815387b.js → p-c3fbde8b.js} +1 -1
- package/dist/calcite/{p-ffca0737.js → p-c7d6eaab.js} +2 -2
- package/dist/calcite/{p-4d44dce2.js → p-cb054e81.js} +1 -1
- package/dist/calcite/{p-4e9e4c2b.entry.js → p-cd5a906a.entry.js} +2 -2
- package/dist/calcite/{p-a44a8546.entry.js → p-d2077726.entry.js} +2 -2
- package/dist/calcite/{p-27127ab1.js → p-d687ad70.js} +1 -1
- package/dist/calcite/{p-22b5cfd0.entry.js → p-da3146c8.entry.js} +2 -2
- package/dist/calcite/{p-ccadc1f1.entry.js → p-da58cf72.entry.js} +2 -2
- package/dist/calcite/p-da9bc09e.entry.js +6 -0
- package/dist/calcite/{p-9d386de9.entry.js → p-daaf471e.entry.js} +2 -2
- package/dist/calcite/{p-9a6f25cf.entry.js → p-dcba1b20.entry.js} +2 -2
- package/dist/calcite/{p-eca5d61d.entry.js → p-e042bb5f.entry.js} +2 -2
- package/dist/calcite/{p-a64b808a.entry.js → p-ea1741c6.entry.js} +2 -2
- package/dist/calcite/{p-e108fa5c.entry.js → p-eca91f0e.entry.js} +2 -2
- package/dist/calcite/{p-0330ce31.js → p-eec7c6aa.js} +1 -1
- package/dist/calcite/{p-04dc685a.entry.js → p-f049e6b6.entry.js} +2 -2
- package/dist/calcite/{p-c0687d42.entry.js → p-f3e06821.entry.js} +2 -2
- package/dist/calcite/{p-c90e1ccc.entry.js → p-f9e3cb19.entry.js} +2 -2
- package/dist/calcite/{p-8b11c6de.entry.js → p-fe986f76.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-cb0c97d8.js → ExpandToggle-33369449.js} +5 -5
- package/dist/cjs/{Heading-0fb2b358.js → Heading-bc2fce1f.js} +2 -2
- package/dist/cjs/{app-globals-4cf65f9b.js → app-globals-e048b301.js} +2 -2
- package/dist/cjs/{array-e267616b.js → array-c3b36521.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- 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 +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +33 -16
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -23
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- 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 +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -11
- 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 +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- 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 +9 -9
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- 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 +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-a39145de.js → conditionalSlot-005c7a7a.js} +3 -3
- package/dist/cjs/{debounce-52c69509.js → debounce-fe2ebaa4.js} +1 -1
- package/dist/cjs/{dom-47d9aac7.js → dom-a14495c6.js} +3 -3
- package/dist/cjs/{filter-8e1f433c.js → filter-3927a733.js} +2 -2
- package/dist/cjs/{floating-ui-ec41d281.js → floating-ui-ce202fe0.js} +4 -4
- package/dist/cjs/{form-e64a9622.js → form-ef9ca2dc.js} +3 -3
- package/dist/cjs/{guid-6433c89f.js → guid-1bf36dbc.js} +1 -1
- package/dist/cjs/{index-5dbc739b.js → index-03a9d5fe.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-b04db4cd.js → interactive-79f6e647.js} +1 -1
- package/dist/cjs/{interfaces-eda4a8a1.js → interfaces-ab8064b7.js} +1 -1
- package/dist/cjs/{key-e8b6ddf4.js → key-f98e1c5d.js} +1 -1
- package/dist/cjs/{label-15b9685f.js → label-c7de1f05.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-c48cb869.js → locale-24ba9c1d.js} +4 -4
- package/dist/cjs/{math-8743a709.js → math-5949979a.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-4a7ccdca.js → nonChromiumPlatformUtils-66d5541d.js} +6 -6
- package/dist/cjs/{observers-77a134dc.js → observers-67e77d6e.js} +1 -1
- package/dist/cjs/{openCloseComponent-f21e58da.js → openCloseComponent-8156a342.js} +1 -1
- package/dist/cjs/{resources-7a546763.js → resources-189a51d8.js} +1 -1
- package/dist/cjs/{resources-617bfc08.js → resources-81d7ee66.js} +1 -1
- package/dist/cjs/{resources-4eeb13e9.js → resources-8afb6dbf.js} +1 -1
- package/dist/cjs/{resources-9301d87c.js → resources-b42e4849.js} +3 -3
- package/dist/cjs/{resources-b5753660.js → resources-b5c2712c.js} +5 -5
- package/dist/cjs/{resources-32162755.js → resources-d435cc35.js} +1 -1
- package/dist/cjs/{sortable.esm-860bcf8d.js → sortable.esm-9ac874ea.js} +1 -1
- package/dist/cjs/{utils-4075769a.js → utils-02bc071f.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +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/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/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 -6
- 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 +13 -2
- 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 +13 -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 +12 -9
- 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-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/popover-manager/popover-manager.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/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/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/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-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/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/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/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/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.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 +12 -9
- 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-manager.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-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 +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.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 +13 -2
- package/dist/components/date-picker-month-header.js +13 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +2 -7
- 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/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/interfaces.js +1 -1
- package/dist/components/interfaces2.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/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/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/esm/{ExpandToggle-4d5da647.js → ExpandToggle-ab2e9547.js} +5 -5
- package/dist/esm/{Heading-b2b3cc3a.js → Heading-0621a8c0.js} +2 -2
- package/dist/esm/{app-globals-b3eb78d5.js → app-globals-62fb7924.js} +2 -2
- package/dist/esm/{array-0698a80f.js → array-2a893f49.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- 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 +7 -7
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +33 -16
- package/dist/esm/calcite-dropdown_3.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +26 -23
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- 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 +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +11 -11
- 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 +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- 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 +9 -9
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- 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 +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +7 -7
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-63dfee18.js → conditionalSlot-cf89e0fd.js} +3 -3
- package/dist/esm/{debounce-98127922.js → debounce-dab915f4.js} +1 -1
- package/dist/esm/{dom-8e235080.js → dom-1d8d201f.js} +3 -3
- package/dist/esm/{filter-baa4d2e3.js → filter-dbd72e25.js} +2 -2
- package/dist/esm/{floating-ui-9a5368ab.js → floating-ui-94bb2c21.js} +4 -4
- package/dist/esm/{form-44055725.js → form-9ced48b8.js} +3 -3
- package/dist/esm/{guid-84d37e68.js → guid-55aec43e.js} +1 -1
- package/dist/esm/{index-53377c44.js → index-7243eaa6.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-d6e6bfbe.js → interactive-07a89c2d.js} +1 -1
- package/dist/esm/{interfaces-a81f09eb.js → interfaces-520d8a12.js} +1 -1
- package/dist/esm/{key-5d6538da.js → key-74f8253d.js} +1 -1
- package/dist/esm/{label-82f167fc.js → label-cf62e4ba.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-f87204cf.js → locale-9f713e79.js} +4 -4
- package/dist/esm/{math-eedbff64.js → math-a2717487.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-b5463d5c.js → nonChromiumPlatformUtils-179fd041.js} +6 -6
- package/dist/esm/{observers-89565079.js → observers-4cbc74d1.js} +1 -1
- package/dist/esm/{openCloseComponent-4e79fc90.js → openCloseComponent-7f4ffac0.js} +1 -1
- package/dist/esm/{resources-78de624f.js → resources-10fafa25.js} +1 -1
- package/dist/esm/{resources-82675fb5.js → resources-45ad0b87.js} +1 -1
- package/dist/esm/{resources-ab63cc6d.js → resources-4e01070b.js} +1 -1
- package/dist/esm/{resources-fa1fdd13.js → resources-6c801296.js} +5 -5
- package/dist/esm/{resources-bb0c54d7.js → resources-6f0d1820.js} +3 -3
- package/dist/esm/{resources-b67fc1a2.js → resources-a6f6522e.js} +1 -1
- package/dist/esm/{sortable.esm-609369c7.js → sortable.esm-66e57945.js} +1 -1
- package/dist/esm/{utils-26d4cfb4.js → utils-b32631cb.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/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -0
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
- package/hydrate/index.js +34 -14
- package/package.json +1 -1
- package/dist/calcite/p-34ccc8c1.entry.js +0 -6
- package/dist/calcite/p-b98ff65f.js +0 -6
- package/dist/calcite/p-bfd57d4b.js +0 -6
- package/dist/calcite/p-d3495671.entry.js +0 -6
- package/dist/calcite/p-d6176817.entry.js +0 -6
- package/dist/calcite/p-dc5713cd.js +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-
|
|
6
|
+
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce-dab915f4.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -1,10 +1,10 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { c as closestElementCrossShadowBoundary, a as getElementDir } from './dom-
|
|
7
|
-
import { d as debounce } from './debounce-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary, a as getElementDir } from './dom-1d8d201f.js';
|
|
7
|
+
import { d as debounce } from './debounce-dab915f4.js';
|
|
8
8
|
|
|
9
9
|
function getSide(placement) {
|
|
10
10
|
return placement.split('-')[0];
|
|
@@ -1495,7 +1495,7 @@ async function patchFloatingUiForNonChromiumBrowsers() {
|
|
|
1495
1495
|
if (config.floatingUINonChromiumPositioningFix &&
|
|
1496
1496
|
// ⚠️ browser-sniffing is not a best practice and should be avoided ⚠️
|
|
1497
1497
|
/firefox|safari/i.test(getUAString())) {
|
|
1498
|
-
const { getClippingRect, getElementRects, getOffsetParent } = await import('./nonChromiumPlatformUtils-
|
|
1498
|
+
const { getClippingRect, getElementRects, getOffsetParent } = await import('./nonChromiumPlatformUtils-179fd041.js');
|
|
1499
1499
|
platform.getClippingRect = getClippingRect;
|
|
1500
1500
|
platform.getOffsetParent = getOffsetParent;
|
|
1501
1501
|
platform.getElementRects = getElementRects;
|
|
@@ -1,10 +1,10 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { c as closestElementCrossShadowBoundary } from './dom-
|
|
7
|
-
import { h } from './index-
|
|
6
|
+
import { c as closestElementCrossShadowBoundary } from './dom-1d8d201f.js';
|
|
7
|
+
import { h } from './index-7243eaa6.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Exported for testing purposes.
|
package/dist/esm/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.616
|
|
5
5
|
*/
|
|
6
6
|
function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
|
@@ -1,9 +1,9 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-
|
|
6
|
+
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-1d8d201f.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Exported for testing purposes only
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
7
|
-
import { g as globalScripts } from './app-globals-
|
|
8
|
-
import './resources-
|
|
6
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-7243eaa6.js';
|
|
7
|
+
import { g as globalScripts } from './app-globals-62fb7924.js';
|
|
8
|
+
import './resources-a6f6522e.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -1,11 +1,11 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { n as numberKeys } from './key-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
8
|
-
import { c as closestElementCrossShadowBoundary, b as containsCrossShadowBoundary } from './dom-
|
|
6
|
+
import { n as numberKeys } from './key-74f8253d.js';
|
|
7
|
+
import { c as createObserver } from './observers-4cbc74d1.js';
|
|
8
|
+
import { c as closestElementCrossShadowBoundary, b as containsCrossShadowBoundary } from './dom-1d8d201f.js';
|
|
9
9
|
|
|
10
10
|
// adopted from https://stackoverflow.com/a/66939244
|
|
11
11
|
class BigDecimal {
|
|
@@ -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.616
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
package/dist/esm/{nonChromiumPlatformUtils-b5463d5c.js → nonChromiumPlatformUtils-179fd041.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { e as rectToClientRect } from './floating-ui-
|
|
7
|
-
import './dom-
|
|
8
|
-
import './resources-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './debounce-
|
|
6
|
+
import { e as rectToClientRect } from './floating-ui-94bb2c21.js';
|
|
7
|
+
import './dom-1d8d201f.js';
|
|
8
|
+
import './resources-a6f6522e.js';
|
|
9
|
+
import './guid-55aec43e.js';
|
|
10
|
+
import './debounce-dab915f4.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* This module provides utils to fix positioning across shadow DOM in non-Chromium browsers
|
|
@@ -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.616
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* This utility ensures observers are created only for browser contexts.
|
|
@@ -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.616
|
|
5
5
|
*/
|
|
6
6
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
|
@@ -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.616
|
|
5
5
|
*/
|
|
6
6
|
const SLOTS = {
|
|
7
7
|
menuActions: "menu-actions",
|
|
@@ -1,12 +1,12 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-
|
|
7
|
-
import { g as getRoundRobinIndex } from './array-
|
|
8
|
-
import { d as debounce } from './debounce-
|
|
9
|
-
import { h, H as Host } from './index-
|
|
6
|
+
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-1d8d201f.js';
|
|
7
|
+
import { g as getRoundRobinIndex } from './array-2a893f49.js';
|
|
8
|
+
import { d as debounce } from './debounce-dab915f4.js';
|
|
9
|
+
import { h, H as Host } from './index-7243eaa6.js';
|
|
10
10
|
|
|
11
11
|
const CSS$2 = {
|
|
12
12
|
heading: "heading",
|
|
@@ -1,10 +1,10 @@
|
|
|
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.616
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath } from './index-
|
|
7
|
-
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-
|
|
6
|
+
import { a as getAssetPath } from './index-7243eaa6.js';
|
|
7
|
+
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-9f713e79.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Check if date is within a min and max
|
|
@@ -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.616
|
|
5
5
|
*/
|
|
6
6
|
const autoTheme = "calcite-theme-auto";
|
|
7
7
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -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.616
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
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.616
|
|
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.616
|
|
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.616
|
|
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.616
|
|
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';
|
|
@@ -40,7 +40,9 @@ export declare class DatePickerDay implements InteractiveComponent {
|
|
|
40
40
|
* @internal
|
|
41
41
|
*/
|
|
42
42
|
calciteInternalDayHover: EventEmitter<void>;
|
|
43
|
+
componentWillLoad(): void;
|
|
43
44
|
render(): VNode;
|
|
44
45
|
componentDidRender(): void;
|
|
45
46
|
isTabbable(): boolean;
|
|
47
|
+
private parentDatePickerEl;
|
|
46
48
|
}
|
|
@@ -30,11 +30,13 @@ export declare class DatePickerMonthHeader {
|
|
|
30
30
|
* Changes to active date
|
|
31
31
|
*/
|
|
32
32
|
calciteDatePickerSelect: EventEmitter<Date>;
|
|
33
|
+
componentWillLoad(): void;
|
|
33
34
|
connectedCallback(): void;
|
|
34
35
|
render(): VNode;
|
|
35
36
|
renderContent(): VNode;
|
|
36
37
|
globalAttributes: {};
|
|
37
38
|
private yearInput;
|
|
39
|
+
private parentDatePickerEl;
|
|
38
40
|
nextMonthDate: Date;
|
|
39
41
|
prevMonthDate: Date;
|
|
40
42
|
setNextPrevMonthDates(): void;
|
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.616
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -17702,11 +17702,6 @@ class DatePicker {
|
|
|
17702
17702
|
if (this.max) {
|
|
17703
17703
|
this.maxAsDate = dateFromISO(this.max);
|
|
17704
17704
|
}
|
|
17705
|
-
numberStringFormatter.numberFormatOptions = {
|
|
17706
|
-
numberingSystem: this.numberingSystem,
|
|
17707
|
-
locale: this.effectiveLocale,
|
|
17708
|
-
useGrouping: false
|
|
17709
|
-
};
|
|
17710
17705
|
}
|
|
17711
17706
|
disconnectedCallback() {
|
|
17712
17707
|
disconnectLocalized(this);
|
|
@@ -17943,7 +17938,18 @@ class DatePickerDay {
|
|
|
17943
17938
|
// Lifecycle
|
|
17944
17939
|
//
|
|
17945
17940
|
//--------------------------------------------------------------------------
|
|
17941
|
+
componentWillLoad() {
|
|
17942
|
+
this.parentDatePickerEl = closestElementCrossShadowBoundary(this.el, "calcite-date-picker");
|
|
17943
|
+
}
|
|
17946
17944
|
render() {
|
|
17945
|
+
if (this.parentDatePickerEl) {
|
|
17946
|
+
const { numberingSystem, lang: locale } = this.parentDatePickerEl;
|
|
17947
|
+
numberStringFormatter.numberFormatOptions = {
|
|
17948
|
+
useGrouping: false,
|
|
17949
|
+
...(numberingSystem && { numberingSystem }),
|
|
17950
|
+
...(locale && { locale })
|
|
17951
|
+
};
|
|
17952
|
+
}
|
|
17947
17953
|
const formattedDay = numberStringFormatter.localize(String(this.day));
|
|
17948
17954
|
const dir = getElementDir(this.el);
|
|
17949
17955
|
return (hAsync(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell" }, hAsync("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, hAsync("div", { class: "day-wrapper" }, hAsync("span", { class: "day" }, hAsync("span", { class: "text" }, formattedDay))))));
|
|
@@ -18377,6 +18383,9 @@ class DatePickerMonthHeader {
|
|
|
18377
18383
|
// Lifecycle
|
|
18378
18384
|
//
|
|
18379
18385
|
//--------------------------------------------------------------------------
|
|
18386
|
+
componentWillLoad() {
|
|
18387
|
+
this.parentDatePickerEl = closestElementCrossShadowBoundary(this.el, "calcite-date-picker");
|
|
18388
|
+
}
|
|
18380
18389
|
connectedCallback() {
|
|
18381
18390
|
this.setNextPrevMonthDates();
|
|
18382
18391
|
}
|
|
@@ -18388,6 +18397,14 @@ class DatePickerMonthHeader {
|
|
|
18388
18397
|
if (!this.activeDate || !this.localeData) {
|
|
18389
18398
|
return null;
|
|
18390
18399
|
}
|
|
18400
|
+
if (this.parentDatePickerEl) {
|
|
18401
|
+
const { numberingSystem, lang: locale } = this.parentDatePickerEl;
|
|
18402
|
+
numberStringFormatter.numberFormatOptions = {
|
|
18403
|
+
useGrouping: false,
|
|
18404
|
+
...(numberingSystem && { numberingSystem }),
|
|
18405
|
+
...(locale && { locale })
|
|
18406
|
+
};
|
|
18407
|
+
}
|
|
18391
18408
|
const activeMonth = this.activeDate.getMonth();
|
|
18392
18409
|
const { months, unitOrder } = this.localeData;
|
|
18393
18410
|
const localizedMonth = (months.wide || months.narrow || months.abbreviated)[activeMonth];
|
|
@@ -21605,18 +21622,21 @@ class InputDatePicker {
|
|
|
21605
21622
|
}
|
|
21606
21623
|
render() {
|
|
21607
21624
|
var _a, _b;
|
|
21608
|
-
const { disabled, readOnly } = this;
|
|
21625
|
+
const { disabled, readOnly, numberingSystem, effectiveLocale } = this;
|
|
21626
|
+
numberStringFormatter.numberFormatOptions = {
|
|
21627
|
+
numberingSystem,
|
|
21628
|
+
locale: effectiveLocale,
|
|
21629
|
+
useGrouping: false
|
|
21630
|
+
};
|
|
21609
21631
|
const date = dateFromRange(this.range ? this.startAsDate : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
21610
21632
|
const endDate = this.range
|
|
21611
21633
|
? dateFromRange(this.endAsDate, this.minAsDate, this.maxAsDate)
|
|
21612
21634
|
: null;
|
|
21613
21635
|
const formattedEndDate = endDate
|
|
21614
|
-
? this.formatNumerals(endDate.toLocaleDateString(
|
|
21615
|
-
: "";
|
|
21616
|
-
const formattedDate = date
|
|
21617
|
-
? this.formatNumerals(date.toLocaleDateString(this.effectiveLocale))
|
|
21636
|
+
? this.formatNumerals(endDate.toLocaleDateString(effectiveLocale))
|
|
21618
21637
|
: "";
|
|
21619
|
-
|
|
21638
|
+
const formattedDate = date ? this.formatNumerals(date.toLocaleDateString(effectiveLocale)) : "";
|
|
21639
|
+
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.startInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
21620
21640
|
[CSS$u.menu]: true,
|
|
21621
21641
|
[CSS$u.menuActive]: this.open
|
|
21622
21642
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -21624,10 +21644,10 @@ class InputDatePicker {
|
|
|
21624
21644
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
21625
21645
|
[FloatingCSS.animation]: true,
|
|
21626
21646
|
[FloatingCSS.animationActive]: this.open
|
|
21627
|
-
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang:
|
|
21647
|
+
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, lang: effectiveLocale, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
21628
21648
|
input: true,
|
|
21629
21649
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
21630
|
-
}, disabled: disabled, icon: "calendar", lang:
|
|
21650
|
+
}, disabled: disabled, icon: "calendar", lang: effectiveLocale, "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.endInputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.endInputFocus, placeholder: (_b = this.localeData) === null || _b === void 0 ? void 0 : _b.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text", value: formattedEndDate }))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
21631
21651
|
}
|
|
21632
21652
|
setReferenceEl() {
|
|
21633
21653
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
package/package.json
CHANGED
|
@@ -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.615
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as a,H as e,g as s}from"./p-fa4ae181.js";import{T as n,d as r,g as o,a as l,s as c,b as h,c as d,e as p,p as m,i as u}from"./p-be67cbd1.js";import{c as f,d as v,g}from"./p-ffca0737.js";import{s as y,c as b,d as w,H as x}from"./p-dc5713cd.js";import{d as k,f as D,c as C,u as z,r as I,a as P,F as A}from"./p-0972380f.js";import{u as j}from"./p-348a7310.js";import{t as R}from"./p-db23591b.js";import{c as H,d as _}from"./p-d2e782cf.js";import{n as O,c as E,d as F}from"./p-0943f00e.js";import{n as B}from"./p-79f94731.js";import"./p-f815387b.js";import"./p-0330ce31.js";import"./p-7a345dea.js";import"./p-4d44dce2.js";const L=class{constructor(a){t(this,a),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.disabled=!1,this.readOnly=!1,this.active=!1,this.open=!1,this.intlPrevMonth=n.prevMonth,this.intlNextMonth=n.nextMonth,this.intlYear=n.year,this.scale="m",this.placement=k,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.effectiveLocale="",this.focusedInput="start",this.globalAttributes={},this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?D(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t,H(this)},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:a}=t;"Enter"!==a||i?"Escape"!==a||i||(this.active=!1,this.open=!1,t.preventDefault()):y(this)&&t.preventDefault()},this.inputBlur=t=>{this.blur(t.currentTarget)},this.startInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="start"},this.endInputFocus=()=>{this.readOnly||(this.open=!0),this.focusedInput="end"},this.startInputInput=()=>{const t=this.parseNumerals(this.startInput.value),i=this.formatNumerals(t);this.startInput.value=i,this.input(t)},this.endInputInput=()=>{const t=this.parseNumerals(this.endInput.value),i=this.formatNumerals(t);this.endInput.value=i,this.input(t)},this.setFloatingEl=t=>{t&&(this.floatingEl=t,C(this,this.referenceEl,this.floatingEl))},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.handleDateChange=t=>{this.range||(this.value=r(t.detail))},this.handleDateRangeChange=t=>{var i,a;if(!this.range||!t.detail)return;const{startDate:e,endDate:s}=t.detail;this.start=r(e),this.end=r(s),this.value=[this.start,this.end],this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(a=this.startInput)||void 0===a||a.setFocus())},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators.includes(t)?this.localeData.separator:B.includes(t)?O.numberFormatter.format(Number(t)):t)).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>B.includes(t)?O.delocalize(t):t)).join(""):""}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueHandler(t){Array.isArray(t)?(this.valueAsDate=o(t),this.start=t[0],this.end=t[1]):t?(this.valueAsDate=l(t),this.start="",this.end=""):(this.valueAsDate=void 0,this.start=void 0,this.end=void 0)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMinChanged(t){t&&(this.minAsDate=l(t))}onMaxChanged(t){t&&(this.maxAsDate=l(t))}activeHandler(t){this.open=t}openHandler(t){if(this.active=t,this.disabled||this.readOnly)return t||z(this.floatingEl),void(this.open=!1);t?this.reposition(!0):z(this.floatingEl)}overlayPositioningHandler(){this.reposition(!0)}handleDateOrRangeChange(){this.calciteInputDatePickerChange.emit()}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){var t;null===(t=this.startInput)||void 0===t||t.setFocus()}async reposition(t=!1){const{floatingEl:i,referenceEl:a,placement:e,overlayPositioning:s,filteredFlipPlacements:n}=this;return I(this,{floatingEl:i,referenceEl:a,overlayPositioning:s,placement:e,flipPlacements:n,type:"menu"},t)}connectedCallback(){E(this);const t=this.active||this.open;t&&this.activeHandler(t),t&&this.openHandler(t),Array.isArray(this.value)?(this.valueAsDate=o(this.value),this.start=this.value[0],this.end=this.value[1]):this.value&&(this.valueAsDate=l(this.value),this.start="",this.end=""),this.start&&(this.startAsDate=l(this.start)),this.end&&(this.endAsDate=c(l(this.end))),this.min&&(this.minAsDate=l(this.min)),this.max&&(this.maxAsDate=l(this.max)),f(this),b(this),H(this),this.setFilteredPlacements(),this.reposition(!0),O.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1}}async componentWillLoad(){await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){this.reposition(!0)}disconnectedCallback(){v(this),w(this),P(this,this.referenceEl,this.floatingEl),_(this),F(this)}componentDidRender(){j(this)}render(){var t,i;const{disabled:s,readOnly:n}=this,r=h(this.range?this.startAsDate:this.valueAsDate,this.minAsDate,this.maxAsDate),o=this.range?h(this.endAsDate,this.minAsDate,this.maxAsDate):null,l=o?this.formatNumerals(o.toLocaleDateString(this.effectiveLocale)):"",c=r?this.formatNumerals(r.toLocaleDateString(this.effectiveLocale)):"";return a(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler,role:"application"},this.localeData&&a("div",{"aria-expanded":R(this.open),class:"input-container",role:"application"},a("div",{class:"input-wrapper",ref:this.setStartWrapper},a("calcite-input",{class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:s,icon:"calendar",label:g(this),lang:this.effectiveLocale,"number-button-type":"none",numberingSystem:this.numberingSystem,onCalciteInputInput:this.startInputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.startInputFocus,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,readOnly:n,ref:this.setStartInput,scale:this.scale,type:"text",value:c})),a("div",{"aria-hidden":R(!this.open),class:{"menu-container":!0,"menu-container--active":this.open},ref:this.setFloatingEl},a("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[A.animation]:!0,[A.animationActive]:this.open},ref:this.setTransitionEl},a("calcite-date-picker",{activeRange:this.focusedInput,endAsDate:this.endAsDate,headingLevel:this.headingLevel,intlNextMonth:this.intlNextMonth,intlPrevMonth:this.intlPrevMonth,intlYear:this.intlYear,lang:this.effectiveLocale,max:this.max,maxAsDate:this.maxAsDate,min:this.min,minAsDate:this.minAsDate,numberingSystem:this.numberingSystem,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,startAsDate:this.startAsDate,tabIndex:0,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&a("div",{class:"horizontal-arrow-container"},a("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&a("div",{class:"vertical-arrow-container"},a("calcite-icon",{icon:"arrow-down",scale:"s"})),this.range&&a("div",{class:"input-wrapper",ref:this.setEndWrapper},a("calcite-input",{class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:s,icon:"calendar",lang:this.effectiveLocale,"number-button-type":"none",numberingSystem:this.numberingSystem,onCalciteInputInput:this.endInputInput,onCalciteInternalInputBlur:this.inputBlur,onCalciteInternalInputFocus:this.endInputFocus,placeholder:null===(i=this.localeData)||void 0===i?void 0:i.placeholder,readOnly:n,ref:this.setEndInput,scale:this.scale,type:"text",value:l}))),a(x,{component:this}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:a,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?a||e:e||a,C(this,this.referenceEl,this.floatingEl)}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit()}startWatcher(t){this.startAsDate=l(t)}endWatcher(t){this.endAsDate=t?c(l(t)):l(t)}async loadLocaleData(){this.localeData=await d(this.effectiveLocale)}clearCurrentValue(){if(!this.range)return"string"==typeof this.value&&this.value&&this.calciteDatePickerChange.emit(),void(this.value="");const{focusedInput:t}=this;"start"===t?(this.start&&this.calciteDatePickerRangeChange.emit(),this.value=Array.isArray(this.value)?["",this.value[1]||""]:[""],this.start=void 0):"end"===t&&(this.end&&this.calciteDatePickerRangeChange.emit(),this.value=Array.isArray(this.value)?[this.value[0]||"",""]:["",""],this.end=void 0)}input(t){const i=this.getDateFromInput(t);if(!i)return void this.clearCurrentValue();if(!this.range)return this.value=r(i),void this.calciteDatePickerChange.emit(i);const{focusedInput:a}=this;if("start"===a){if(!this.startAsDate||!p(i,this.startAsDate)){const t=r(i);this.value=Array.isArray(this.value)?[t,this.value[1]||""]:[t],this.start=t,this.calciteDatePickerRangeChange.emit({startDate:i,endDate:this.endAsDate})}}else if(!("end"!==a||this.endAsDate&&p(i,this.endAsDate))){const t=r(i);this.value=Array.isArray(this.value)?[this.value[0]||"",t]:["",t],this.end=t,this.calciteDatePickerRangeChange.emit({startDate:this.startAsDate,endDate:c(i)})}}blur(t){const{focusedInput:i,endAsDate:a,range:e,startAsDate:s,valueAsDate:n}=this,r=this.effectiveLocale;this.getDateFromInput(t.value)||(!e&&n?t.value=this.formatNumerals(Array.isArray(n)?n["end"===i?1:0].toLocaleDateString(r):n.toLocaleDateString(r)):"start"===i&&s?t.value=this.formatNumerals(s.toLocaleDateString(r)):"end"===i&&a&&(t.value=this.formatNumerals(a.toLocaleDateString(r))))}shouldFocusRangeStart(){return!(!this.endAsDate||this.startAsDate||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.startAsDate||this.endAsDate||"start"!==this.focusedInput||!this.endInput)}getDateFromInput(t){if(!this.localeData)return!1;const{separator:i}=this.localeData,{day:a,month:e,year:s}=m(t,this.localeData),n=a>0,r=e>-1,o=new Date(s,e,a);o.setFullYear(s);const l=!isNaN(o.getTime()),c=t.split(i).filter((t=>t)).length>2,h=s.toString().length>0;return!!(n&&r&&l&&c&&h&&u(o,this.min,this.max))&&o}get el(){return s(this)}static get watchers(){return{disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],min:["onMinChanged"],max:["onMaxChanged"],active:["activeHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],start:["startWatcher"],end:["endWatcher"],effectiveLocale:["loadLocaleData"]}}};L.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.01}}:host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;inline-size:100%;--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);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:1;margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{display:block;position:absolute;z-index:900;inline-size:0;block-size:0;overflow:hidden;pointer-events:none;visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}:host([open]) .menu-container{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}.menu-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{L as calcite_input_date_picker}
|
|
@@ -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.615
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-fa4ae181.js";import{c as o}from"./p-4d44dce2.js";const n=new Set;let c;const s={childList:!0};function f(t){c||(c=o("mutation",i)),c.observe(t.el,s)}function a(t){n.delete(t.el),i(c.takeRecords()),c.disconnect();for(const[t]of n.entries())c.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,a 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.615
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-fa4ae181.js";function a(t){return Math.min(Math.max(Math.ceil(t),1),6)}const e=(a,e)=>{const r=`h${a.level}`;return delete a.level,t(r,{...a},e)};export{e as H,a 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.0-next.615
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as a,g as n,f as o}from"./p-fa4ae181.js";import{c as r}from"./p-4d44dce2.js";import{u as c}from"./p-348a7310.js";import{t as l}from"./p-db23591b.js";import"./p-0330ce31.js";import"./p-7a345dea.js";const s=class{constructor(e){t(this,e),this.calciteActionClick=i(this,"calciteActionClick",6),this.active=!1,this.appearance="solid",this.compact=!1,this.disabled=!1,this.indicator=!1,this.intlLoading="Loading",this.loading=!1,this.scale="m",this.textEnabled=!1,this.mutationObserver=r("mutation",(()=>o(this))),this.handleTooltipSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>null==t?void 0:t.matches("calcite-tooltip")))[0];i&&(i.referenceElement=this.buttonEl)},this.calciteActionClickHandler=()=>{this.disabled||this.calciteActionClick.emit()}}connectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentDidRender(){c(this)}async setFocus(){var t;null===(t=this.buttonEl)||void 0===t||t.focus()}renderTextContainer(){const{text:t,textEnabled:i}=this;return t?e("div",{class:{"text-container":!0,"text-container--visible":i},key:"text-container"},t):null}renderIconContainer(){var t;const{loading:i,icon:a,scale:n,el:o,intlLoading:r}=this,c="l"===n?"m":"s",l=i?e("calcite-loader",{active:!0,inline:!0,label:r,scale:"l"===n?"l":"m"}):null,s=a?e("calcite-icon",{icon:a,scale:c}):null,d=l||s,u=d||(null===(t=o.children)||void 0===t?void 0:t.length),b=e("div",{class:{"slot-container":!0,"slot-container--hidden":i}},e("slot",null));return u?e("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},d,b):null}render(){const{compact:t,disabled:i,loading:n,textEnabled:o,label:r,text:c}=this,s=r||c,d={button:!0,"button--text-visible":o,"button--compact":t};return e(a,{onClick:this.calciteActionClickHandler},e("button",{"aria-busy":l(n),"aria-disabled":l(i),"aria-label":s,class:d,disabled:i,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),e("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}))}get el(){return n(this)}};s.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.01}}: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)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button,:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus,:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus,:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button,:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';export{s as calcite_action}
|