@esri/calcite-components 1.3.0-next.11 → 1.3.0-next.13
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 +2 -2
- package/dist/calcite/{p-1eb8d6f3.js → p-004766bc.js} +2 -2
- package/dist/calcite/{p-0c7dd57e.entry.js → p-00fbfeab.entry.js} +2 -2
- package/dist/calcite/{p-acaee16e.js → p-03a84057.js} +1 -1
- package/dist/calcite/{p-622eac1a.js → p-06b2afeb.js} +1 -1
- package/dist/calcite/p-081514d5.js +6 -0
- package/dist/calcite/p-083c9901.js +10 -0
- package/dist/calcite/{p-91c883d4.js → p-0866edf3.js} +1 -1
- package/dist/calcite/{p-079eded1.js → p-0949fdd5.js} +1 -1
- package/dist/calcite/{p-fe7ac9af.entry.js → p-0ea4d3f3.entry.js} +2 -2
- package/dist/calcite/{p-020fb388.js → p-0f803292.js} +2 -2
- package/dist/calcite/{p-29ec0260.entry.js → p-0fe314cc.entry.js} +2 -2
- package/dist/calcite/{p-1c494f20.entry.js → p-112df7a0.entry.js} +2 -2
- package/dist/calcite/{p-7abed32e.entry.js → p-11e5628e.entry.js} +2 -2
- package/dist/calcite/{p-f6ff8e9d.entry.js → p-137c1c9f.entry.js} +2 -2
- package/dist/calcite/p-14091614.entry.js +6 -0
- package/dist/calcite/{p-e70728da.entry.js → p-1c20648f.entry.js} +2 -2
- package/dist/calcite/{p-bc6a7139.js → p-1ce8ac23.js} +2 -2
- package/dist/calcite/{p-acef1497.entry.js → p-1d52d1c7.entry.js} +2 -2
- package/dist/calcite/{p-891401b5.js → p-1db94da8.js} +2 -2
- package/dist/calcite/{p-68f53132.js → p-2838ba6f.js} +2 -2
- package/dist/calcite/p-2933e6f9.entry.js +6 -0
- package/dist/calcite/{p-e177504d.js → p-2abcc232.js} +2 -2
- package/dist/calcite/{p-bc2dace6.entry.js → p-2ee20ab2.entry.js} +2 -2
- package/dist/calcite/{p-7cbb7101.js → p-310e0494.js} +1 -1
- package/dist/calcite/{p-98537f91.js → p-3c542a0f.js} +3 -3
- package/dist/calcite/{p-9fb1c46d.js → p-3cbcf663.js} +1 -1
- package/dist/calcite/{p-84d7da4a.entry.js → p-3ebc0fcd.entry.js} +2 -2
- package/dist/calcite/{p-01261c12.js → p-3ebcb3bf.js} +1 -1
- package/dist/calcite/{p-08ff58d7.js → p-411c63e8.js} +2 -2
- package/dist/calcite/{p-cc01b55f.entry.js → p-41e640ab.entry.js} +2 -2
- package/dist/calcite/{p-840ce9ca.entry.js → p-44965129.entry.js} +2 -2
- package/dist/calcite/{p-d32ad0ec.js → p-458a9103.js} +2 -2
- package/dist/calcite/{p-a0daeb34.js → p-479f7aa8.js} +1 -1
- package/dist/calcite/{p-d74f7cf2.entry.js → p-4b07ac3f.entry.js} +2 -2
- package/dist/calcite/{p-cba7faec.entry.js → p-4c238c5a.entry.js} +2 -2
- package/dist/calcite/{p-bfa1df6a.js → p-4d0ac498.js} +1 -1
- package/dist/calcite/{p-48af08eb.entry.js → p-5984c1af.entry.js} +2 -2
- package/dist/calcite/{p-76fca67f.entry.js → p-5b432294.entry.js} +2 -2
- package/dist/calcite/{p-86990ac8.entry.js → p-5c14fb1f.entry.js} +2 -2
- package/dist/calcite/{p-b06be099.js → p-5de665e5.js} +1 -1
- package/dist/calcite/{p-2d66fde2.js → p-637776e7.js} +2 -2
- package/dist/calcite/{p-7f3016c6.entry.js → p-63900010.entry.js} +2 -2
- package/dist/calcite/{p-149df625.js → p-6494d5a2.js} +2 -2
- package/dist/calcite/{p-5a5c2241.entry.js → p-6990e0dc.entry.js} +2 -2
- package/dist/calcite/{p-f5267ced.js → p-6a93f842.js} +1 -1
- package/dist/calcite/{p-522b340a.entry.js → p-6b7c754d.entry.js} +2 -2
- package/dist/calcite/{p-60be1a26.entry.js → p-70b410bd.entry.js} +2 -2
- package/dist/calcite/{p-4218654a.entry.js → p-70d5aa4e.entry.js} +2 -2
- package/dist/calcite/p-712f85a8.entry.js +6 -0
- package/dist/calcite/{p-a29bbab2.entry.js → p-73784e7c.entry.js} +2 -2
- package/dist/calcite/{p-0e7e0ee5.js → p-74fc6d99.js} +1 -1
- package/dist/calcite/{p-53e3b56a.entry.js → p-7b6a6a0d.entry.js} +2 -2
- package/dist/calcite/p-86512623.entry.js +6 -0
- package/dist/calcite/{p-8ad97d56.entry.js → p-8936471c.entry.js} +2 -2
- package/dist/calcite/{p-766d3747.entry.js → p-8a4e9fe1.entry.js} +2 -2
- package/dist/calcite/{p-76605a7b.entry.js → p-8da55cf4.entry.js} +2 -2
- package/dist/calcite/{p-d53d1845.entry.js → p-9255e1b1.entry.js} +2 -2
- package/dist/calcite/{p-a0766830.entry.js → p-9567d5b7.entry.js} +2 -2
- package/dist/calcite/{p-741bd1bb.js → p-95a69588.js} +1 -1
- package/dist/calcite/{p-6fd96d1a.entry.js → p-9639ae1c.entry.js} +2 -2
- package/dist/calcite/{p-5d5ecc29.entry.js → p-9a7a2ff3.entry.js} +2 -2
- package/dist/calcite/{p-3a7f068e.entry.js → p-9d194145.entry.js} +2 -2
- package/dist/calcite/{p-94f0b7a0.entry.js → p-9db79a1c.entry.js} +2 -2
- package/dist/calcite/{p-2af3b1a5.entry.js → p-a3fe1a76.entry.js} +2 -2
- package/dist/calcite/{p-f103c8c3.entry.js → p-a72d6504.entry.js} +2 -2
- package/dist/calcite/{p-ef8ca973.entry.js → p-a9f0631f.entry.js} +2 -2
- package/dist/calcite/{p-59489d5b.js → p-ac47ba19.js} +2 -2
- package/dist/calcite/{p-15656958.entry.js → p-ad3039c8.entry.js} +2 -2
- package/dist/calcite/{p-dd179dbf.entry.js → p-af490e7a.entry.js} +2 -2
- package/dist/calcite/{p-247b6937.entry.js → p-b037ba87.entry.js} +2 -2
- package/dist/calcite/{p-3dd47ed0.entry.js → p-b3513241.entry.js} +2 -2
- package/dist/calcite/{p-67f0fd59.entry.js → p-b79470ca.entry.js} +2 -2
- package/dist/calcite/{p-d5b0dcd5.entry.js → p-b81384f9.entry.js} +2 -2
- package/dist/calcite/{p-1559686c.entry.js → p-ba61d431.entry.js} +2 -2
- package/dist/calcite/{p-15257c7d.entry.js → p-bc0dc57c.entry.js} +2 -2
- package/dist/calcite/{p-ee4bbe73.entry.js → p-be02b312.entry.js} +2 -2
- package/dist/calcite/{p-98a973af.entry.js → p-bfedb52f.entry.js} +2 -2
- package/dist/calcite/{p-3eb03362.entry.js → p-c1103af7.entry.js} +2 -2
- package/dist/calcite/{p-9cd0fdc6.entry.js → p-c2d72329.entry.js} +2 -2
- package/dist/calcite/{p-92bf90eb.entry.js → p-c76baa18.entry.js} +2 -2
- package/dist/calcite/{p-7b7565fd.entry.js → p-c79ad935.entry.js} +2 -2
- package/dist/calcite/{p-9f4c8d36.entry.js → p-ca218517.entry.js} +2 -2
- package/dist/calcite/{p-6d002455.entry.js → p-cef20849.entry.js} +2 -2
- package/dist/calcite/{p-8fd39adc.js → p-d40d5b2c.js} +1 -1
- package/dist/calcite/{p-3ca8467e.js → p-d8a7412b.js} +2 -2
- package/dist/calcite/{p-1419b090.js → p-dd44a665.js} +1 -1
- package/dist/calcite/{p-fcdbb023.js → p-de3e116d.js} +1 -1
- package/dist/calcite/{p-8fc25c27.js → p-de958ae9.js} +1 -1
- package/dist/calcite/{p-8cab4443.entry.js → p-e6236f00.entry.js} +2 -2
- package/dist/calcite/{p-6d05e4aa.entry.js → p-e84cf9e4.entry.js} +2 -2
- package/dist/calcite/{p-c9536b04.entry.js → p-eb5c31bc.entry.js} +2 -2
- package/dist/calcite/{p-f20d8cef.entry.js → p-ebce274c.entry.js} +2 -2
- package/dist/calcite/{p-88cd9f07.entry.js → p-f5d124fb.entry.js} +2 -2
- package/dist/calcite/{p-530b565e.entry.js → p-f7a99542.entry.js} +2 -2
- package/dist/calcite/p-ff86a5f6.js +6 -0
- package/dist/cjs/{ExpandToggle-1afc7124.js → ExpandToggle-45aa03fc.js} +5 -5
- package/dist/cjs/{Heading-ba80caaa.js → Heading-4d91639a.js} +2 -2
- package/dist/cjs/{app-globals-6f9eec89.js → app-globals-edd3f514.js} +2 -2
- package/dist/cjs/{array-e38b46c4.js → array-85fb8759.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 +13 -13
- 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-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- 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 +10 -10
- 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 +72 -38
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- 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 +13 -13
- 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 +12 -12
- 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 +10 -10
- 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 +14 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- 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-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-0a45074c.js → composed-offset-position.esm-06aab386.js} +1 -1
- package/dist/cjs/{conditionalSlot-569cfe38.js → conditionalSlot-d743f414.js} +3 -3
- package/dist/cjs/{debounce-386bdcff.js → debounce-8d5eb445.js} +1 -1
- package/dist/cjs/{dom-bf99764d.js → dom-d9d8ce1d.js} +3 -3
- package/dist/cjs/{filter-16102761.js → filter-55f45b48.js} +2 -2
- package/dist/cjs/{floating-ui-cd5eaca7.js → floating-ui-229c9030.js} +4 -4
- package/dist/cjs/{focusTrapComponent-293e1b79.js → focusTrapComponent-d6b3d253.js} +17 -11
- package/dist/cjs/{form-ed91dc48.js → form-e721e19a.js} +3 -3
- package/dist/cjs/{guid-e6345a0b.js → guid-f3d4621a.js} +1 -1
- package/dist/cjs/{index-91610c16.js → index-1c636cb6.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-1988ae1f.js → interactive-4183ef81.js} +1 -1
- package/dist/cjs/{key-b615b3d9.js → key-eea139c5.js} +1 -1
- package/dist/cjs/{label-9b1259cf.js → label-a6fbba74.js} +2 -2
- package/dist/cjs/{loadable-2f32e2ea.js → loadable-9f55e900.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-167debc3.js → locale-a590f328.js} +4 -4
- package/dist/cjs/{math-50a262ce.js → math-8b333d92.js} +1 -1
- package/dist/cjs/{observers-06cf9c89.js → observers-3e714416.js} +1 -1
- package/dist/cjs/{openCloseComponent-c582ae0b.js → openCloseComponent-8161664b.js} +2 -2
- package/dist/cjs/{resources-e7795b7f.js → resources-084c7781.js} +5 -5
- package/dist/cjs/{resources-ad07ee94.js → resources-3d8278eb.js} +1 -1
- package/dist/cjs/{resources-17aff6f7.js → resources-65dfc5b7.js} +1 -1
- package/dist/cjs/{resources-a0e768e0.js → resources-94b912bd.js} +1 -1
- package/dist/cjs/{resources-1bf75484.js → resources-ac754068.js} +1 -1
- package/dist/cjs/{resources-1033c7f8.js → resources-fa3b5864.js} +1 -1
- package/dist/cjs/{sortable.esm-6a708b9f.js → sortable.esm-7f3aa3d0.js} +1 -1
- package/dist/cjs/{t9n-3f6ea4eb.js → t9n-06b0f3c7.js} +3 -3
- package/dist/cjs/{throttle-e786c090.js → throttle-ecd2a1c2.js} +2 -2
- package/dist/cjs/{utils-f7820d0c.js → utils-968c8072.js} +3 -3
- package/dist/cjs/{utils-7aa84655.js → utils-efee1b72.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/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/chip-group/chip-group.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 +77 -23
- 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.css +0 -6
- 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.css +1 -0
- 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.css +14 -7
- 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/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.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/index.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.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +16 -10
- 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-group.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 +58 -23
- 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 +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- 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-text-area.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/composed-offset-position.esm.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 +16 -10
- 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/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/throttle.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-037d1336.js → ExpandToggle-86b4715e.js} +5 -5
- package/dist/esm/{Heading-7fe23da6.js → Heading-a1ca56c6.js} +2 -2
- package/dist/esm/{app-globals-5a093a42.js → app-globals-5c4e8b0b.js} +2 -2
- package/dist/esm/{array-ae0815b1.js → array-689ff631.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 +13 -13
- 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-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +15 -15
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- 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 +10 -10
- 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 +72 -38
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- 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 +13 -13
- 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 +12 -12
- 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 +10 -10
- 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 +14 -14
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- 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-text-area.entry.js +15 -15
- 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 +6 -6
- package/dist/esm/{composed-offset-position.esm-a5c16f1d.js → composed-offset-position.esm-1ed29030.js} +1 -1
- package/dist/esm/{conditionalSlot-bcf1075f.js → conditionalSlot-41e03d6f.js} +3 -3
- package/dist/esm/{debounce-056ba7e4.js → debounce-fdbd181f.js} +1 -1
- package/dist/esm/{dom-29e6dac4.js → dom-00068eb7.js} +4 -4
- package/dist/esm/{filter-656dd64f.js → filter-5ff357e4.js} +2 -2
- package/dist/esm/{floating-ui-89a1aaff.js → floating-ui-d6763292.js} +4 -4
- package/dist/esm/{focusTrapComponent-fbbfad04.js → focusTrapComponent-94a49313.js} +17 -11
- package/dist/esm/{form-32c159c0.js → form-0304447d.js} +3 -3
- package/dist/esm/{guid-798bf56f.js → guid-3b59c7f8.js} +1 -1
- package/dist/esm/{index-83ffd87d.js → index-49aca689.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-321b0d67.js → interactive-9b29ffaa.js} +1 -1
- package/dist/esm/{key-836c5a04.js → key-23e88631.js} +1 -1
- package/dist/esm/{label-ea6f7820.js → label-2a42ea18.js} +2 -2
- package/dist/esm/{loadable-88520760.js → loadable-07fadc27.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-ca08f833.js → locale-a43dcb99.js} +4 -4
- package/dist/esm/{math-65c38e62.js → math-f792cdb4.js} +1 -1
- package/dist/esm/{observers-c7a7c8e6.js → observers-1c1a0dc0.js} +1 -1
- package/dist/esm/{openCloseComponent-233ce20c.js → openCloseComponent-50860bfb.js} +2 -2
- package/dist/esm/{resources-b4a25e1a.js → resources-0132987d.js} +1 -1
- package/dist/esm/{resources-74d32d05.js → resources-4e694e6a.js} +1 -1
- package/dist/esm/{resources-f7199c83.js → resources-68b088c8.js} +1 -1
- package/dist/esm/{resources-062d1504.js → resources-8a3a1501.js} +5 -5
- package/dist/esm/{resources-5201c2bd.js → resources-b136f993.js} +1 -1
- package/dist/esm/{resources-f81764c2.js → resources-bb72bce0.js} +1 -1
- package/dist/esm/{sortable.esm-0630da2e.js → sortable.esm-039bc20d.js} +1 -1
- package/dist/esm/{t9n-53d45286.js → t9n-e75a680f.js} +3 -3
- package/dist/esm/{throttle-a58a97b3.js → throttle-b31bdd47.js} +2 -2
- package/dist/esm/{utils-ae782ab4.js → utils-4bd8997b.js} +3 -3
- package/dist/esm/{utils-f1c7c04d.js → utils-a910b4cc.js} +1 -1
- package/dist/extras/docs-json.json +30 -8
- package/dist/extras/vscode-data.json +4 -0
- 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/input-date-picker/input-date-picker.d.ts +13 -1
- package/dist/types/components.d.ts +8 -0
- package/dist/types/utils/focusTrapComponent.d.ts +21 -5
- package/hydrate/index.js +3531 -3491
- package/package.json +1 -1
- package/dist/calcite/p-4be083b1.js +0 -6
- package/dist/calcite/p-578abf89.js +0 -10
- package/dist/calcite/p-884159b5.js +0 -6
- package/dist/calcite/p-a8fdf8f2.entry.js +0 -6
- package/dist/calcite/p-ee3eabc1.entry.js +0 -6
- package/dist/calcite/p-f40c991d.entry.js +0 -6
- package/dist/calcite/p-f5a55906.entry.js +0 -6
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { dateFromRange, getOrder, nextMonth, prevMonth } from "../../utils/date";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
export const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
7
7
|
export const CSS = {
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { focusElement, focusElementInGroup, isPrimaryPointerButton, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
export const SLOTS = {
|
|
7
7
|
dropdownTrigger: "trigger"
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementProp } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
containerSmall: "container--s",
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementProp, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
containerLink: "container--link",
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { focusElement } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { Fragment, h } from "@stencil/core";
|
|
7
7
|
import { debounce } from "lodash-es";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { createObserver } from "../../utils/observers";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
backButton: "back-button"
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { getElementDir } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
export function constrainHeadingLevel(level) {
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate, h } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath } from "@stencil/core";
|
|
7
7
|
/**
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { getSlotted } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getSlotted, isPrimaryPointerButton, setRequestedIcon } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { dateFromISO, dateFromLocalizedString, dateFromRange, datePartsFromLocalizedString, dateToISO, inRange } from "../../utils/date";
|
|
@@ -10,13 +10,14 @@ import { connectFloatingUI, defaultMenuPlacement, disconnectFloatingUI, filterCo
|
|
|
10
10
|
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
11
11
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
12
12
|
import { numberKeys } from "../../utils/key";
|
|
13
|
-
import { connectLabel, disconnectLabel
|
|
13
|
+
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
14
14
|
import { componentLoaded, setComponentLoaded, setUpLoadableComponent } from "../../utils/loadable";
|
|
15
15
|
import { connectLocalized, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
16
16
|
import { connectOpenCloseComponent, disconnectOpenCloseComponent } from "../../utils/openCloseComponent";
|
|
17
17
|
import { getLocaleData, getValueAsDateRange } from "../date-picker/utils";
|
|
18
18
|
import { CSS } from "./resources";
|
|
19
19
|
import { connectMessages, disconnectMessages, setUpMessages } from "../../utils/t9n";
|
|
20
|
+
import { activateFocusTrap, connectFocusTrap, deactivateFocusTrap } from "../../utils/focusTrapComponent";
|
|
20
21
|
import { guid } from "../../utils/guid";
|
|
21
22
|
export class InputDatePicker {
|
|
22
23
|
constructor() {
|
|
@@ -38,12 +39,8 @@ export class InputDatePicker {
|
|
|
38
39
|
this.calciteInternalInputBlurHandler = () => {
|
|
39
40
|
this.commitValue();
|
|
40
41
|
};
|
|
41
|
-
//--------------------------------------------------------------------------
|
|
42
|
-
//
|
|
43
|
-
// Private State/Props
|
|
44
|
-
//
|
|
45
|
-
//--------------------------------------------------------------------------
|
|
46
42
|
this.dialogId = `date-picker-dialog--${guid()}`;
|
|
43
|
+
this.focusOnOpen = false;
|
|
47
44
|
this.lastBlurredInput = "none";
|
|
48
45
|
this.userChangedValue = false;
|
|
49
46
|
this.openTransitionProp = "opacity";
|
|
@@ -97,15 +94,18 @@ export class InputDatePicker {
|
|
|
97
94
|
}
|
|
98
95
|
if (submitForm(this)) {
|
|
99
96
|
event.preventDefault();
|
|
97
|
+
this.restoreInputFocus();
|
|
100
98
|
}
|
|
101
99
|
}
|
|
102
100
|
else if (key === "ArrowDown") {
|
|
103
101
|
this.open = true;
|
|
102
|
+
this.focusOnOpen = true;
|
|
104
103
|
event.preventDefault();
|
|
105
104
|
}
|
|
106
105
|
else if (key === "Escape") {
|
|
107
106
|
this.open = false;
|
|
108
107
|
event.preventDefault();
|
|
108
|
+
this.restoreInputFocus();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
this.startInputFocus = () => {
|
|
@@ -120,10 +120,8 @@ export class InputDatePicker {
|
|
|
120
120
|
this.focusedInput = "end";
|
|
121
121
|
};
|
|
122
122
|
this.setFloatingEl = (el) => {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
126
|
-
}
|
|
123
|
+
this.floatingEl = el;
|
|
124
|
+
connectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
127
125
|
};
|
|
128
126
|
this.setStartWrapper = (el) => {
|
|
129
127
|
this.startWrapper = el;
|
|
@@ -133,6 +131,16 @@ export class InputDatePicker {
|
|
|
133
131
|
this.endWrapper = el;
|
|
134
132
|
this.setReferenceEl();
|
|
135
133
|
};
|
|
134
|
+
this.setDatePickerRef = (el) => {
|
|
135
|
+
this.datePickerEl = el;
|
|
136
|
+
connectFocusTrap(this, {
|
|
137
|
+
focusTrapEl: el,
|
|
138
|
+
focusTrapOptions: {
|
|
139
|
+
initialFocus: false,
|
|
140
|
+
setReturnFocus: false
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
};
|
|
136
144
|
/**
|
|
137
145
|
* Event handler for when the selected date changes
|
|
138
146
|
*
|
|
@@ -145,6 +153,7 @@ export class InputDatePicker {
|
|
|
145
153
|
event.stopPropagation();
|
|
146
154
|
this.setValue(event.target.valueAsDate);
|
|
147
155
|
this.localizeInputValues();
|
|
156
|
+
this.restoreInputFocus();
|
|
148
157
|
};
|
|
149
158
|
this.handleDateRangeChange = (event) => {
|
|
150
159
|
if (!this.range) {
|
|
@@ -154,12 +163,7 @@ export class InputDatePicker {
|
|
|
154
163
|
const value = event.target.valueAsDate;
|
|
155
164
|
this.setRangeValue(value);
|
|
156
165
|
this.localizeInputValues();
|
|
157
|
-
|
|
158
|
-
this.endInput?.setFocus();
|
|
159
|
-
}
|
|
160
|
-
else if (this.shouldFocusRangeStart()) {
|
|
161
|
-
this.startInput?.setFocus();
|
|
162
|
-
}
|
|
166
|
+
this.restoreInputFocus();
|
|
163
167
|
};
|
|
164
168
|
this.setInputValue = (newValue, input = "start") => {
|
|
165
169
|
const inputEl = this[`${input}Input`];
|
|
@@ -235,6 +239,7 @@ export class InputDatePicker {
|
|
|
235
239
|
.join("")
|
|
236
240
|
: "";
|
|
237
241
|
this.disabled = false;
|
|
242
|
+
this.focusTrapDisabled = false;
|
|
238
243
|
this.form = undefined;
|
|
239
244
|
this.readOnly = false;
|
|
240
245
|
this.value = "";
|
|
@@ -263,6 +268,12 @@ export class InputDatePicker {
|
|
|
263
268
|
this.focusedInput = "start";
|
|
264
269
|
this.localeData = undefined;
|
|
265
270
|
}
|
|
271
|
+
handleFocusTrapDisabled(focusTrapDisabled) {
|
|
272
|
+
if (!this.open) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
focusTrapDisabled ? deactivateFocusTrap(this) : activateFocusTrap(this);
|
|
276
|
+
}
|
|
266
277
|
handleDisabledAndReadOnlyChange(value) {
|
|
267
278
|
if (!value) {
|
|
268
279
|
this.open = false;
|
|
@@ -418,6 +429,7 @@ export class InputDatePicker {
|
|
|
418
429
|
this.reposition(true);
|
|
419
430
|
}
|
|
420
431
|
disconnectedCallback() {
|
|
432
|
+
deactivateFocusTrap(this);
|
|
421
433
|
disconnectLabel(this);
|
|
422
434
|
disconnectForm(this);
|
|
423
435
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -437,7 +449,7 @@ export class InputDatePicker {
|
|
|
437
449
|
};
|
|
438
450
|
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler }, this.localeData && (h("div", { class: "input-container" }, h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick,
|
|
439
451
|
// eslint-disable-next-line react/jsx-sort-props
|
|
440
|
-
ref: this.setStartWrapper }, h("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar",
|
|
452
|
+
ref: this.setStartWrapper }, h("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, onFocus: this.startEndInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, role: "combobox", scale: this.scale, type: "text",
|
|
441
453
|
// eslint-disable-next-line react/jsx-sort-props
|
|
442
454
|
ref: this.setStartInput }), this.renderToggleIcon(this.open && this.focusedInput === "start")), h("div", { "aria-hidden": toAriaBoolean(!this.open), "aria-label": messages.chooseDate, "aria-live": "polite", "aria-modal": "true", class: {
|
|
443
455
|
[CSS.menu]: true,
|
|
@@ -451,7 +463,9 @@ export class InputDatePicker {
|
|
|
451
463
|
[FloatingCSS.animationActive]: this.open
|
|
452
464
|
},
|
|
453
465
|
// eslint-disable-next-line react/jsx-sort-props
|
|
454
|
-
ref: this.setTransitionEl }, h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex:
|
|
466
|
+
ref: this.setTransitionEl }, h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: this.open ? undefined : -1, valueAsDate: this.valueAsDate,
|
|
467
|
+
// eslint-disable-next-line react/jsx-sort-props
|
|
468
|
+
ref: this.setDatePickerRef }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: this.scale === "l" ? "m" : "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: this.scale === "l" ? "m" : "s" }))), this.range && (h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick,
|
|
455
469
|
// eslint-disable-next-line react/jsx-sort-props
|
|
456
470
|
ref: this.setEndWrapper }, h("calcite-input", { "aria-autocomplete": "none", "aria-controls": this.dialogId, "aria-expanded": toAriaBoolean(this.open), "aria-haspopup": "dialog", class: {
|
|
457
471
|
input: true,
|
|
@@ -478,6 +492,14 @@ export class InputDatePicker {
|
|
|
478
492
|
this.calciteInputDatePickerBeforeOpen.emit();
|
|
479
493
|
}
|
|
480
494
|
onOpen() {
|
|
495
|
+
activateFocusTrap(this, {
|
|
496
|
+
onActivate: () => {
|
|
497
|
+
if (this.focusOnOpen) {
|
|
498
|
+
this.datePickerEl.setFocus();
|
|
499
|
+
this.focusOnOpen = false;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
});
|
|
481
503
|
this.calciteInputDatePickerOpen.emit();
|
|
482
504
|
}
|
|
483
505
|
onBeforeClose() {
|
|
@@ -485,6 +507,9 @@ export class InputDatePicker {
|
|
|
485
507
|
}
|
|
486
508
|
onClose() {
|
|
487
509
|
this.calciteInputDatePickerClose.emit();
|
|
510
|
+
deactivateFocusTrap(this);
|
|
511
|
+
this.restoreInputFocus();
|
|
512
|
+
this.focusOnOpen = false;
|
|
488
513
|
}
|
|
489
514
|
commitValue() {
|
|
490
515
|
const { focusedInput, value } = this;
|
|
@@ -544,15 +569,23 @@ export class InputDatePicker {
|
|
|
544
569
|
this.localizeInputValues();
|
|
545
570
|
}
|
|
546
571
|
shouldFocusRangeStart() {
|
|
547
|
-
const startValue = this.value[0]
|
|
548
|
-
const endValue = this.value[1]
|
|
572
|
+
const startValue = this.value[0];
|
|
573
|
+
const endValue = this.value[1];
|
|
549
574
|
return !!(endValue && !startValue && this.focusedInput === "end" && this.startInput);
|
|
550
575
|
}
|
|
551
576
|
shouldFocusRangeEnd() {
|
|
552
|
-
const startValue = this.value[0]
|
|
553
|
-
const endValue = this.value[1]
|
|
577
|
+
const startValue = this.value[0];
|
|
578
|
+
const endValue = this.value[1];
|
|
554
579
|
return !!(startValue && !endValue && this.focusedInput === "start" && this.endInput);
|
|
555
580
|
}
|
|
581
|
+
restoreInputFocus() {
|
|
582
|
+
if (!this.range) {
|
|
583
|
+
this.startInput.setFocus();
|
|
584
|
+
return;
|
|
585
|
+
}
|
|
586
|
+
const focusedInput = this.focusedInput === "start" ? this.startInput : this.endInput;
|
|
587
|
+
focusedInput.setFocus();
|
|
588
|
+
}
|
|
556
589
|
localizeInputValues() {
|
|
557
590
|
const date = dateFromRange((this.range
|
|
558
591
|
? (Array.isArray(this.valueAsDate) && this.valueAsDate[0]) || undefined
|
|
@@ -602,6 +635,24 @@ export class InputDatePicker {
|
|
|
602
635
|
"reflect": true,
|
|
603
636
|
"defaultValue": "false"
|
|
604
637
|
},
|
|
638
|
+
"focusTrapDisabled": {
|
|
639
|
+
"type": "boolean",
|
|
640
|
+
"mutable": false,
|
|
641
|
+
"complexType": {
|
|
642
|
+
"original": "boolean",
|
|
643
|
+
"resolved": "boolean",
|
|
644
|
+
"references": {}
|
|
645
|
+
},
|
|
646
|
+
"required": false,
|
|
647
|
+
"optional": false,
|
|
648
|
+
"docs": {
|
|
649
|
+
"tags": [],
|
|
650
|
+
"text": "When `true`, prevents focus trapping."
|
|
651
|
+
},
|
|
652
|
+
"attribute": "focus-trap-disabled",
|
|
653
|
+
"reflect": true,
|
|
654
|
+
"defaultValue": "false"
|
|
655
|
+
},
|
|
605
656
|
"form": {
|
|
606
657
|
"type": "string",
|
|
607
658
|
"mutable": false,
|
|
@@ -1177,6 +1228,9 @@ export class InputDatePicker {
|
|
|
1177
1228
|
static get elementRef() { return "el"; }
|
|
1178
1229
|
static get watchers() {
|
|
1179
1230
|
return [{
|
|
1231
|
+
"propName": "focusTrapDisabled",
|
|
1232
|
+
"methodName": "handleFocusTrapDisabled"
|
|
1233
|
+
}, {
|
|
1180
1234
|
"propName": "disabled",
|
|
1181
1235
|
"methodName": "handleDisabledAndReadOnlyChange"
|
|
1182
1236
|
}, {
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { setRequestedIcon } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
export var StatusIconDefaults;
|
|
7
7
|
(function (StatusIconDefaults) {
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getSlotted, isPrimaryPointerButton, setRequestedIcon } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
@@ -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.3.0-next.
|
|
4
|
+
* v1.3.0-next.13
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { labelConnectedEvent, labelDisconnectedEvent } from "../../utils/label";
|