@esri/calcite-components 1.0.0-next.653 → 1.0.0-next.655
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-043ea88f.entry.js +6 -0
- package/dist/calcite/{p-dee6d536.js → p-04a542d5.js} +2 -2
- package/dist/calcite/{p-2ec7c680.js → p-05c07433.js} +1 -1
- package/dist/calcite/{p-28884998.entry.js → p-06b8eaf1.entry.js} +2 -2
- package/dist/calcite/p-114b5d1c.entry.js +6 -0
- package/dist/calcite/p-15500e9a.entry.js +6 -0
- package/dist/calcite/p-1982152c.entry.js +6 -0
- package/dist/calcite/p-19eef56a.entry.js +6 -0
- package/dist/calcite/p-1d01393e.js +6 -0
- package/dist/calcite/p-1d457dd1.js +6 -0
- package/dist/calcite/p-20a4c9c3.entry.js +6 -0
- package/dist/calcite/{p-406fcc95.entry.js → p-21588351.entry.js} +2 -2
- package/dist/calcite/p-26e36a96.entry.js +6 -0
- package/dist/calcite/p-2964e90c.entry.js +6 -0
- package/dist/calcite/{p-49701eee.js → p-29dc2fc3.js} +1 -1
- package/dist/calcite/{p-bff4c20d.entry.js → p-2e002bf7.entry.js} +2 -2
- package/dist/calcite/p-31512acf.js +6 -0
- package/dist/calcite/{p-e2f5256c.entry.js → p-3403e756.entry.js} +2 -2
- package/dist/calcite/p-340e338f.entry.js +6 -0
- package/dist/calcite/p-3b4fbb37.entry.js +6 -0
- package/dist/calcite/{p-220b7569.entry.js → p-3c0dcfb7.entry.js} +2 -2
- package/dist/calcite/{p-048b7796.js → p-3f55b93b.js} +1 -1
- package/dist/calcite/p-3fcadef4.entry.js +6 -0
- package/dist/calcite/p-442b6798.entry.js +6 -0
- package/dist/calcite/p-46dd2ba4.entry.js +6 -0
- package/dist/calcite/p-47685252.entry.js +6 -0
- package/dist/calcite/p-4a861228.entry.js +6 -0
- package/dist/calcite/p-4b46c28a.entry.js +6 -0
- package/dist/calcite/{p-8fb7ee35.entry.js → p-4f08640a.entry.js} +2 -2
- package/dist/calcite/p-5007e6bd.entry.js +6 -0
- package/dist/calcite/{p-d849b5b6.entry.js → p-56ad5531.entry.js} +2 -2
- package/dist/calcite/p-595da7bb.entry.js +6 -0
- package/dist/calcite/{p-d5e70d38.entry.js → p-62677747.entry.js} +2 -2
- package/dist/calcite/{p-24c048b5.js → p-6c29460f.js} +1 -1
- package/dist/calcite/{p-6e0ecbed.entry.js → p-70af3d23.entry.js} +2 -2
- package/dist/calcite/p-70e5d6c1.entry.js +6 -0
- package/dist/calcite/{p-36046779.js → p-75665b0d.js} +1 -1
- package/dist/calcite/p-789b6bad.entry.js +6 -0
- package/dist/calcite/p-7a197dad.entry.js +6 -0
- package/dist/calcite/p-7ce637a8.entry.js +6 -0
- package/dist/calcite/p-7dfeef91.entry.js +6 -0
- package/dist/calcite/{p-3dc251f4.entry.js → p-8087a217.entry.js} +2 -2
- package/dist/calcite/p-8693a7bb.entry.js +6 -0
- package/dist/calcite/p-883da6ae.js +6 -0
- package/dist/calcite/{p-1e7d0a3e.entry.js → p-894b85ce.entry.js} +2 -2
- package/dist/calcite/{p-675dfbe8.entry.js → p-8d68685d.entry.js} +2 -2
- package/dist/calcite/{p-44a78e82.entry.js → p-914480aa.entry.js} +2 -2
- package/dist/calcite/p-93a37211.entry.js +6 -0
- package/dist/calcite/{p-b567d164.js → p-94d9499a.js} +1 -1
- package/dist/calcite/p-97338377.entry.js +6 -0
- package/dist/calcite/p-9a2d8ab0.entry.js +6 -0
- package/dist/calcite/{p-627cd0ab.entry.js → p-9b91641b.entry.js} +2 -2
- package/dist/calcite/p-9be856ff.entry.js +6 -0
- package/dist/calcite/p-a13d26d4.entry.js +6 -0
- package/dist/calcite/{p-e1fa408f.js → p-a176bb86.js} +2 -2
- package/dist/calcite/p-a2aa2633.entry.js +6 -0
- package/dist/calcite/{p-3274abf2.js → p-a46eae3b.js} +2 -2
- package/dist/calcite/{p-b0cecf6b.js → p-a9ad5958.js} +1 -1
- package/dist/calcite/p-ab331d08.entry.js +6 -0
- package/dist/calcite/p-adc56e8e.entry.js +6 -0
- package/dist/calcite/p-ae16f981.entry.js +6 -0
- package/dist/calcite/{p-0a1f589a.js → p-af6229cc.js} +2 -2
- package/dist/calcite/{p-5a953a75.js → p-b2464ba9.js} +1 -1
- package/dist/calcite/p-b257f060.entry.js +6 -0
- package/dist/calcite/p-b3de53d6.js +6 -0
- package/dist/calcite/p-b52352f0.entry.js +6 -0
- package/dist/calcite/p-b60fc503.js +6 -0
- package/dist/calcite/{p-5bb6cc45.js → p-bb298c47.js} +1 -1
- package/dist/calcite/{p-4296ca3f.js → p-c55e7664.js} +1 -1
- package/dist/calcite/{p-b9184c58.entry.js → p-c66c342c.entry.js} +2 -2
- package/dist/calcite/p-c8cb4d64.entry.js +6 -0
- package/dist/calcite/{p-f857cfa2.entry.js → p-c91c0d84.entry.js} +2 -2
- package/dist/calcite/{p-74c02e3a.js → p-ce2cd41b.js} +3 -3
- package/dist/calcite/{p-98183f7a.js → p-d1250cd5.js} +1 -1
- package/dist/calcite/p-d1ea7e98.entry.js +6 -0
- package/dist/calcite/p-d4897627.js +6 -0
- package/dist/calcite/{p-1a859cf5.js → p-d63eca00.js} +1 -1
- package/dist/calcite/p-d7a2f588.js +6 -0
- package/dist/calcite/p-d9073ba3.entry.js +6 -0
- package/dist/calcite/p-df638ece.entry.js +6 -0
- package/dist/calcite/{p-c8946ac4.js → p-e0117b64.js} +1 -1
- package/dist/calcite/p-e17d5384.entry.js +6 -0
- package/dist/calcite/p-ea9d9c5c.entry.js +6 -0
- package/dist/calcite/{p-4869c10e.js → p-f33ca6d1.js} +2 -2
- package/dist/calcite/p-f4006464.js +6 -0
- package/dist/calcite/p-f5c2dc70.entry.js +6 -0
- package/dist/calcite/{p-a53596e5.js → p-f5dbda7d.js} +1 -1
- package/dist/calcite/{p-e452903d.js → p-f735579b.js} +1 -1
- package/dist/calcite/p-f86dead7.entry.js +6 -0
- package/dist/calcite/{p-1cdae83d.js → p-fb2017d2.js} +1 -1
- package/dist/calcite/{p-a1a81de3.entry.js → p-fd4ed53a.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-8d248ee3.js → ExpandToggle-b5b731d6.js} +7 -8
- package/dist/cjs/{Heading-dd6d6eb7.js → Heading-86fb7f76.js} +2 -2
- package/dist/cjs/{app-globals-35dd7e0f.js → app-globals-f51875dc.js} +2 -2
- package/dist/cjs/{array-bc2da329.js → array-6f9691d3.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -20
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -13
- package/dist/cjs/calcite-action.cjs.entry.js +13 -17
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-button.cjs.entry.js +15 -19
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -12
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -10
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -21
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +30 -37
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +36 -28
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +19 -22
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +10 -11
- package/dist/cjs/calcite-flow.cjs.entry.js +5 -7
- package/dist/cjs/calcite-graph_2.cjs.entry.js +16 -18
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -8
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -8
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -23
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +32 -36
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +23 -31
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -18
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +23 -27
- package/dist/cjs/calcite-input.cjs.entry.js +25 -33
- 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 +22 -26
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -22
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +15 -17
- package/dist/cjs/calcite-popover.cjs.entry.js +12 -12
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +12 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -15
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +17 -22
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +26 -34
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -15
- package/dist/cjs/calcite-tooltip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -21
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -21
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-d2dd31d5.js → conditionalSlot-01e94659.js} +3 -3
- package/dist/cjs/{debounce-fec2cc26.js → debounce-9787fe3f.js} +1 -1
- package/dist/cjs/{dom-8db20575.js → dom-0c006683.js} +13 -13
- package/dist/cjs/{filter-4951900a.js → filter-1f20ad58.js} +3 -3
- package/dist/cjs/{floating-ui-16ec7ef7.js → floating-ui-357b6162.js} +7 -8
- package/dist/cjs/{focusTrapComponent-1f7ac746.js → focusTrapComponent-f6ec01ac.js} +4 -6
- package/dist/cjs/{form-df338099.js → form-affb950f.js} +5 -7
- package/dist/cjs/{guid-7c9bf705.js → guid-bcf2e27d.js} +1 -1
- package/dist/cjs/{index-11cbd6ae.js → index-e7f6d8a9.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-12572356.js → interactive-50819d76.js} +1 -1
- package/dist/cjs/{interfaces-bcf5a504.js → interfaces-65e8ab48.js} +1 -1
- package/dist/cjs/{key-5efe25db.js → key-27cd9b48.js} +1 -1
- package/dist/cjs/{label-f2b57841.js → label-b53d0971.js} +4 -5
- package/dist/cjs/{loadable-fdc027c5.js → loadable-5fff6d49.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-ad2e4def.js → locale-7c7ea778.js} +7 -8
- package/dist/cjs/{math-e3bf7036.js → math-b2c68418.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-ee7586d2.js → nonChromiumPlatformUtils-25b21483.js} +6 -6
- package/dist/cjs/{observers-1cb80ad6.js → observers-93a0a981.js} +1 -1
- package/dist/cjs/{openCloseComponent-42ea9fde.js → openCloseComponent-7e8c6590.js} +1 -1
- package/dist/cjs/{resources-61c779db.js → resources-154a6134.js} +1 -1
- package/dist/cjs/{resources-883ffa52.js → resources-2a151557.js} +3 -3
- package/dist/cjs/{resources-f5a03517.js → resources-34896b85.js} +1 -1
- package/dist/cjs/{resources-125245bd.js → resources-9a470a7e.js} +1 -1
- package/dist/cjs/{resources-e6605c29.js → resources-bdc925d6.js} +1 -1
- package/dist/cjs/{resources-01342a2b.js → resources-d4a726c6.js} +11 -16
- package/dist/cjs/{sortable.esm-ec7f83ae.js → sortable.esm-2e3e4661.js} +1 -1
- package/dist/cjs/{utils-727a0b8e.js → utils-dda0c978.js} +2 -2
- package/dist/collection/components/accordion/accordion.js +2 -2
- 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 +6 -10
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +6 -9
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +2 -2
- 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 +7 -7
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +2 -3
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +2 -3
- 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 +2 -3
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +6 -10
- 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 +2 -3
- package/dist/collection/components/chip/chip.js +2 -3
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +9 -11
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +2 -2
- 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 +13 -18
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +4 -6
- 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 +5 -7
- 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 +4 -6
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +7 -8
- package/dist/collection/components/date-picker-month-header/resources.js +14 -1
- package/dist/collection/components/dropdown/dropdown.js +7 -9
- 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 +2 -3
- 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 +3 -5
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +3 -4
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +2 -3
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +3 -5
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +2 -3
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +2 -3
- 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 +9 -15
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +13 -21
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +17 -21
- 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 +11 -19
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +5 -9
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +4 -6
- 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 +8 -12
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +5 -5
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +3 -3
- 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.css +1 -1
- package/dist/collection/components/modal/modal.js +5 -8
- 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 +3 -5
- 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 +8 -11
- 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 +7 -12
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +2 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -3
- 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 +2 -2
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +3 -5
- package/dist/collection/components/radio-group/radio-group.js +3 -4
- 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 +3 -5
- 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 +6 -9
- 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 +2 -2
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +4 -6
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +6 -11
- 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 +3 -4
- package/dist/collection/components/stepper-item/stepper-item.js +6 -10
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +3 -5
- package/dist/collection/components/tab-nav/tab-nav.js +13 -17
- package/dist/collection/components/tab-title/tab-title.js +6 -8
- 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 +2 -3
- 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 +4 -5
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +2 -3
- 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 +4 -6
- package/dist/collection/components/tooltip/TooltipManager.js +2 -2
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +3 -5
- package/dist/collection/components/tree/utils.js +2 -2
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +6 -9
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +3 -3
- package/dist/collection/components/value-list/value-list.js +4 -5
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +2 -3
- 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 +11 -11
- package/dist/collection/utils/filter.js +2 -2
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +4 -5
- package/dist/collection/utils/focusTrapComponent.js +3 -5
- package/dist/collection/utils/form.js +3 -5
- 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 +3 -4
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +4 -5
- 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 +2 -3
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +6 -7
- package/dist/components/ExpandToggle.js +3 -4
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +7 -7
- package/dist/components/action.js +6 -10
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +6 -10
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +6 -9
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +2 -3
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +2 -3
- 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 +9 -11
- 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 +13 -18
- 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 +2 -3
- 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 +3 -4
- package/dist/components/calcite-flow.js +3 -5
- 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 +9 -15
- package/dist/components/calcite-input-date-picker.js +17 -21
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +11 -19
- package/dist/components/calcite-input-text.js +5 -9
- package/dist/components/calcite-input-time-picker.js +4 -6
- 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 +5 -5
- package/dist/components/calcite-list.js +8 -12
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -8
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +3 -5
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -3
- 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 +3 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +3 -4
- package/dist/components/calcite-rating.js +3 -5
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +6 -9
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +4 -6
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +6 -11
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +6 -10
- package/dist/components/calcite-stepper.js +3 -4
- 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 +2 -3
- 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 +4 -6
- package/dist/components/calcite-tip.js +2 -3
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +6 -9
- package/dist/components/calcite-tree.js +4 -6
- package/dist/components/calcite-value-list-item.js +2 -3
- package/dist/components/calcite-value-list.js +6 -7
- package/dist/components/checkbox.js +2 -3
- package/dist/components/chip.js +2 -3
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +19 -7
- package/dist/components/date-picker-month.js +4 -6
- package/dist/components/date-picker.js +5 -7
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +11 -11
- package/dist/components/dropdown.js +7 -9
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +2 -2
- package/dist/components/floating-ui.js +4 -5
- package/dist/components/focusTrapComponent.js +3 -5
- package/dist/components/form.js +3 -5
- package/dist/components/graph.js +3 -5
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -3
- package/dist/components/icon.js +2 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +13 -21
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +3 -4
- 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 +4 -5
- 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 +8 -11
- package/dist/components/pick-list-item.js +2 -3
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +3 -3
- 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 +7 -12
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +13 -17
- package/dist/components/tab-title.js +6 -8
- package/dist/components/tab.js +3 -5
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +9 -11
- package/dist/components/tooltip.js +2 -2
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +4 -6
- package/dist/esm/{ExpandToggle-3ec34795.js → ExpandToggle-67f409ce.js} +7 -8
- package/dist/esm/{Heading-f71bbfe4.js → Heading-7d30eb95.js} +2 -2
- package/dist/esm/{app-globals-61e0f5bb.js → app-globals-91c967df.js} +2 -2
- package/dist/esm/{array-f3af604a.js → array-0f371fbe.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -8
- package/dist/esm/calcite-action-bar.entry.js +17 -20
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +15 -15
- package/dist/esm/calcite-action-pad.entry.js +12 -13
- package/dist/esm/calcite-action.entry.js +13 -17
- package/dist/esm/calcite-alert.entry.js +12 -13
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +11 -12
- package/dist/esm/calcite-button.entry.js +15 -19
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +11 -12
- package/dist/esm/calcite-chip.entry.js +9 -10
- package/dist/esm/calcite-color-picker_3.entry.js +19 -21
- package/dist/esm/calcite-combobox_3.entry.js +30 -37
- package/dist/esm/calcite-date-picker_4.entry.js +36 -28
- package/dist/esm/calcite-dropdown_3.entry.js +19 -22
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +10 -11
- package/dist/esm/calcite-flow.entry.js +5 -7
- package/dist/esm/calcite-graph_2.entry.js +16 -18
- package/dist/esm/calcite-handle.entry.js +7 -8
- package/dist/esm/calcite-icon.entry.js +7 -8
- package/dist/esm/calcite-inline-editable.entry.js +17 -23
- package/dist/esm/calcite-input-date-picker.entry.js +32 -36
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +23 -31
- package/dist/esm/calcite-input-text.entry.js +14 -18
- package/dist/esm/calcite-input-time-picker_2.entry.js +23 -27
- package/dist/esm/calcite-input.entry.js +25 -33
- 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 +22 -26
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +14 -17
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +17 -22
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +18 -21
- package/dist/esm/calcite-pick-list_3.entry.js +15 -17
- package/dist/esm/calcite-popover.entry.js +12 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +5 -7
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-radio-group_2.entry.js +11 -12
- package/dist/esm/calcite-rating.entry.js +12 -14
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +12 -14
- package/dist/esm/calcite-sortable-list.entry.js +10 -15
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +17 -22
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +26 -34
- package/dist/esm/calcite-tile-select_2.entry.js +6 -7
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -15
- package/dist/esm/calcite-tooltip.entry.js +9 -9
- package/dist/esm/calcite-tree_2.entry.js +16 -21
- package/dist/esm/calcite-value-list_2.entry.js +19 -21
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-be35718d.js → conditionalSlot-7375791c.js} +3 -3
- package/dist/esm/{debounce-511eda6a.js → debounce-fa1ba8dd.js} +1 -1
- package/dist/esm/{dom-3d0a39a1.js → dom-f86880a8.js} +13 -13
- package/dist/esm/{filter-275e53f4.js → filter-fe83cf69.js} +3 -3
- package/dist/esm/{floating-ui-fc56a23b.js → floating-ui-06e2aace.js} +7 -8
- package/dist/esm/{focusTrapComponent-2dcf390f.js → focusTrapComponent-725a0cce.js} +4 -6
- package/dist/esm/{form-99c3afb4.js → form-411e884b.js} +5 -7
- package/dist/esm/{guid-b0902c5e.js → guid-8a166774.js} +1 -1
- package/dist/esm/{index-a3e37dea.js → index-d632f7a1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-ee12cb1f.js → interactive-3f5bd2e0.js} +1 -1
- package/dist/esm/{interfaces-461b2615.js → interfaces-7ca05385.js} +1 -1
- package/dist/esm/{key-26613542.js → key-d42e35a4.js} +1 -1
- package/dist/esm/{label-b9c0aa89.js → label-39b9caf1.js} +4 -5
- package/dist/esm/{loadable-9a013351.js → loadable-ecb83b69.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-35d09242.js → locale-9cc8d692.js} +7 -8
- package/dist/esm/{math-5fdb35a6.js → math-03369c68.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-928c5ed3.js → nonChromiumPlatformUtils-0dda1ba1.js} +6 -6
- package/dist/esm/{observers-1bc07c7a.js → observers-2b56a317.js} +1 -1
- package/dist/esm/{openCloseComponent-1a0f1e5f.js → openCloseComponent-08e9135e.js} +1 -1
- package/dist/esm/{resources-a1b41b10.js → resources-122bdb3c.js} +1 -1
- package/dist/esm/{resources-fd9aac1d.js → resources-34cf847c.js} +11 -16
- package/dist/esm/{resources-205e1a5e.js → resources-8ab3148f.js} +3 -3
- package/dist/esm/{resources-52b91f29.js → resources-b8533188.js} +1 -1
- package/dist/esm/{resources-9c2b241b.js → resources-c1317324.js} +1 -1
- package/dist/esm/{resources-0440659e.js → resources-cca3a0a9.js} +1 -1
- package/dist/esm/{sortable.esm-a20e5345.js → sortable.esm-baccf0e5.js} +1 -1
- package/dist/esm/{utils-a06ba7b4.js → utils-a76ce9e9.js} +2 -2
- package/dist/extras/docs-json.json +2 -2
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/date-picker-month-header/resources.d.ts +13 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -1
- package/hydrate/index.js +377 -509
- package/package.json +1 -1
- package/dist/calcite/p-01182fb3.entry.js +0 -6
- package/dist/calcite/p-01cdb480.entry.js +0 -6
- package/dist/calcite/p-0bf47b10.entry.js +0 -6
- package/dist/calcite/p-0fe25017.entry.js +0 -6
- package/dist/calcite/p-169a8a94.entry.js +0 -6
- package/dist/calcite/p-25ca3105.entry.js +0 -6
- package/dist/calcite/p-272fc5c7.entry.js +0 -6
- package/dist/calcite/p-2a4269f0.entry.js +0 -6
- package/dist/calcite/p-2d6e9def.entry.js +0 -6
- package/dist/calcite/p-377b89a4.entry.js +0 -6
- package/dist/calcite/p-3e45b099.entry.js +0 -6
- package/dist/calcite/p-4331211c.js +0 -6
- package/dist/calcite/p-47aa3608.entry.js +0 -6
- package/dist/calcite/p-47f53948.js +0 -6
- package/dist/calcite/p-49a74b3e.js +0 -6
- package/dist/calcite/p-4ee5ad79.js +0 -6
- package/dist/calcite/p-50755b97.entry.js +0 -6
- package/dist/calcite/p-5a715918.entry.js +0 -6
- package/dist/calcite/p-5dd53e64.js +0 -6
- package/dist/calcite/p-5fcff767.entry.js +0 -6
- package/dist/calcite/p-60967994.entry.js +0 -6
- package/dist/calcite/p-6653a04c.entry.js +0 -6
- package/dist/calcite/p-6d2cb8f4.entry.js +0 -6
- package/dist/calcite/p-761d2432.entry.js +0 -6
- package/dist/calcite/p-797fd5dd.entry.js +0 -6
- package/dist/calcite/p-798770da.entry.js +0 -6
- package/dist/calcite/p-7de16322.entry.js +0 -6
- package/dist/calcite/p-88a03f41.entry.js +0 -6
- package/dist/calcite/p-8e4e1bf2.entry.js +0 -6
- package/dist/calcite/p-90e5f7d2.entry.js +0 -6
- package/dist/calcite/p-95d84aec.entry.js +0 -6
- package/dist/calcite/p-9be255ca.entry.js +0 -6
- package/dist/calcite/p-9dd2a286.js +0 -6
- package/dist/calcite/p-9e30a932.entry.js +0 -6
- package/dist/calcite/p-9e30d06b.entry.js +0 -6
- package/dist/calcite/p-a3da6c86.entry.js +0 -6
- package/dist/calcite/p-a4a63866.js +0 -6
- package/dist/calcite/p-ae684eb2.entry.js +0 -6
- package/dist/calcite/p-b52accff.entry.js +0 -6
- package/dist/calcite/p-b858d734.entry.js +0 -6
- package/dist/calcite/p-c1792c48.entry.js +0 -6
- package/dist/calcite/p-c56796e6.entry.js +0 -6
- package/dist/calcite/p-c881f4fc.js +0 -6
- package/dist/calcite/p-c8b9c903.entry.js +0 -6
- package/dist/calcite/p-cce9a30d.entry.js +0 -6
- package/dist/calcite/p-cd5323d3.entry.js +0 -6
- package/dist/calcite/p-d16cee95.entry.js +0 -6
- package/dist/calcite/p-df1e5c64.entry.js +0 -6
- package/dist/calcite/p-e86f837e.js +0 -6
- package/dist/calcite/p-f00cdd90.entry.js +0 -6
- package/dist/calcite/p-f7fffa4a.entry.js +0 -6
- package/dist/calcite/p-fafa19e5.entry.js +0 -6
|
@@ -1,18 +1,18 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, e as getThemeName } from './dom-
|
|
8
|
-
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-
|
|
9
|
-
import { c as clamp } from './math-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { i as isActivationKey } from './key-
|
|
12
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
13
|
-
import { d as debounce, i as isObject } from './debounce-
|
|
14
|
-
import './resources-
|
|
15
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-d632f7a1.js';
|
|
7
|
+
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, e as getThemeName } from './dom-f86880a8.js';
|
|
8
|
+
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-a76ce9e9.js';
|
|
9
|
+
import { c as clamp } from './math-03369c68.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-3f5bd2e0.js';
|
|
11
|
+
import { i as isActivationKey } from './key-d42e35a4.js';
|
|
12
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-ecb83b69.js';
|
|
13
|
+
import { d as debounce, i as isObject } from './debounce-fa1ba8dd.js';
|
|
14
|
+
import './resources-c1317324.js';
|
|
15
|
+
import './guid-8a166774.js';
|
|
16
16
|
|
|
17
17
|
/** Error message constants. */
|
|
18
18
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -2407,7 +2407,6 @@ const ColorPicker = class {
|
|
|
2407
2407
|
}
|
|
2408
2408
|
};
|
|
2409
2409
|
this.handleColorFieldAndSliderPointerDown = (event) => {
|
|
2410
|
-
var _a, _b;
|
|
2411
2410
|
if (!isPrimaryPointerButton(event)) {
|
|
2412
2411
|
return;
|
|
2413
2412
|
}
|
|
@@ -2416,12 +2415,12 @@ const ColorPicker = class {
|
|
|
2416
2415
|
if (region === "color-field") {
|
|
2417
2416
|
this.hueThumbState = "drag";
|
|
2418
2417
|
this.captureColorFieldColor(offsetX, offsetY);
|
|
2419
|
-
|
|
2418
|
+
this.colorFieldScopeNode?.focus();
|
|
2420
2419
|
}
|
|
2421
2420
|
else if (region === "slider") {
|
|
2422
2421
|
this.sliderThumbState = "drag";
|
|
2423
2422
|
this.captureHueSliderColor(offsetX);
|
|
2424
|
-
|
|
2423
|
+
this.hueScopeNode?.focus();
|
|
2425
2424
|
}
|
|
2426
2425
|
// prevent text selection outside of color field & slider area
|
|
2427
2426
|
event.preventDefault();
|
|
@@ -2565,7 +2564,7 @@ const ColorPicker = class {
|
|
|
2565
2564
|
/* the channel container is ltr, so we apply the host's direction */
|
|
2566
2565
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
2567
2566
|
};
|
|
2568
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$2.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value
|
|
2567
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$2.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
|
|
2569
2568
|
this.deleteColor = () => {
|
|
2570
2569
|
const colorToDelete = this.color.hex();
|
|
2571
2570
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -2661,9 +2660,8 @@ const ColorPicker = class {
|
|
|
2661
2660
|
this.internalColorSet(this.color, false, "internal");
|
|
2662
2661
|
}
|
|
2663
2662
|
handleScaleChange(scale = "m") {
|
|
2664
|
-
var _a;
|
|
2665
2663
|
this.updateDimensions(scale);
|
|
2666
|
-
this.updateCanvasSize(
|
|
2664
|
+
this.updateCanvasSize(this.fieldAndSliderRenderingContext?.canvas);
|
|
2667
2665
|
}
|
|
2668
2666
|
handleValueChange(value, oldValue) {
|
|
2669
2667
|
const { allowEmpty, format } = this;
|
|
@@ -2709,7 +2707,7 @@ const ColorPicker = class {
|
|
|
2709
2707
|
this.shiftKeyChannelAdjustment = 0;
|
|
2710
2708
|
const { key } = event;
|
|
2711
2709
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
2712
|
-
!event.composedPath().some((node) =>
|
|
2710
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$2.channel))) {
|
|
2713
2711
|
return;
|
|
2714
2712
|
}
|
|
2715
2713
|
const { shiftKey } = event;
|
|
@@ -2781,14 +2779,14 @@ const ColorPicker = class {
|
|
|
2781
2779
|
const selectedColorInHex = color ? color.hex() : null;
|
|
2782
2780
|
const hexInputScale = scale === "l" ? "m" : "s";
|
|
2783
2781
|
const { colorFieldAndSliderInteractive, colorFieldScopeTop, colorFieldScopeLeft, hueScopeLeft, hueScopeTop, scopeOrientation, dimensions: { colorField: { height: colorFieldHeight, width: colorFieldWidth }, slider: { height: sliderHeight } } } = this;
|
|
2784
|
-
const hueTop = hueScopeTop
|
|
2785
|
-
const hueLeft = hueScopeLeft
|
|
2782
|
+
const hueTop = hueScopeTop ?? sliderHeight / 2 + colorFieldHeight;
|
|
2783
|
+
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
2786
2784
|
const noColor = color === null;
|
|
2787
2785
|
const vertical = scopeOrientation === "vertical";
|
|
2788
2786
|
return (h("div", { class: CSS$2.container }, h("div", { class: CSS$2.colorFieldAndSliderWrap }, h("canvas", { class: {
|
|
2789
2787
|
[CSS$2.colorFieldAndSlider]: true,
|
|
2790
2788
|
[CSS$2.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
2791
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color
|
|
2789
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$2.scope]: true, [CSS$2.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$2.scope]: true, [CSS$2.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
|
|
2792
2790
|
[CSS$2.controlSection]: true,
|
|
2793
2791
|
[CSS$2.section]: true
|
|
2794
2792
|
} }, hideHex ? null : (h("div", { class: CSS$2.hexOptions }, h("span", { class: {
|
|
@@ -1,22 +1,22 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as filter } from './filter-
|
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-
|
|
9
|
-
import { g as guid } from './guid-
|
|
10
|
-
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, h as getElementProp, g as getSlotted } from './dom-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
12
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
13
|
-
import { c as createObserver } from './observers-
|
|
14
|
-
import { u as updateHostInteraction } from './interactive-
|
|
15
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
16
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
17
|
-
import { d as debounce } from './debounce-
|
|
18
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
19
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d632f7a1.js';
|
|
7
|
+
import { f as filter } from './filter-fe83cf69.js';
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-06e2aace.js';
|
|
9
|
+
import { g as guid } from './guid-8a166774.js';
|
|
10
|
+
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, h as getElementProp, g as getSlotted } from './dom-f86880a8.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-39b9caf1.js';
|
|
12
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-411e884b.js';
|
|
13
|
+
import { c as createObserver } from './observers-2b56a317.js';
|
|
14
|
+
import { u as updateHostInteraction } from './interactive-3f5bd2e0.js';
|
|
15
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-08e9135e.js';
|
|
16
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-ecb83b69.js';
|
|
17
|
+
import { d as debounce } from './debounce-fa1ba8dd.js';
|
|
18
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-7375791c.js';
|
|
19
|
+
import './resources-c1317324.js';
|
|
20
20
|
|
|
21
21
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
22
22
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -26,14 +26,12 @@ const TEXT = {
|
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
function getAncestors(element) {
|
|
29
|
-
|
|
30
|
-
const
|
|
31
|
-
const grandparent = (_b = parent === null || parent === void 0 ? void 0 : parent.parentElement) === null || _b === void 0 ? void 0 : _b.closest(ComboboxChildSelector);
|
|
29
|
+
const parent = element.parentElement?.closest(ComboboxChildSelector);
|
|
30
|
+
const grandparent = parent?.parentElement?.closest(ComboboxChildSelector);
|
|
32
31
|
return [parent, grandparent].filter((el) => el);
|
|
33
32
|
}
|
|
34
33
|
function getItemAncestors(item) {
|
|
35
|
-
|
|
36
|
-
return (((_a = item.ancestors) === null || _a === void 0 ? void 0 : _a.filter((el) => el.nodeName === "CALCITE-COMBOBOX-ITEM")) || []);
|
|
34
|
+
return (item.ancestors?.filter((el) => el.nodeName === "CALCITE-COMBOBOX-ITEM") || []);
|
|
37
35
|
}
|
|
38
36
|
function getItemChildren(item) {
|
|
39
37
|
return nodeListToArray(item.querySelectorAll("calcite-combobox-item"));
|
|
@@ -92,8 +90,8 @@ const Combobox = class {
|
|
|
92
90
|
: null;
|
|
93
91
|
};
|
|
94
92
|
this.getValue = () => {
|
|
95
|
-
const items = this.selectedItems.map((item) =>
|
|
96
|
-
return
|
|
93
|
+
const items = this.selectedItems.map((item) => item?.value?.toString());
|
|
94
|
+
return items?.length ? (items.length > 1 ? items : items[0]) : "";
|
|
97
95
|
};
|
|
98
96
|
this.onLabelClick = () => {
|
|
99
97
|
this.setFocus();
|
|
@@ -339,8 +337,7 @@ const Combobox = class {
|
|
|
339
337
|
}
|
|
340
338
|
};
|
|
341
339
|
this.comboboxFocusHandler = () => {
|
|
342
|
-
|
|
343
|
-
(_a = this.textInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
340
|
+
this.textInput?.focus();
|
|
344
341
|
};
|
|
345
342
|
this.comboboxBlurHandler = (event) => {
|
|
346
343
|
this.setInactiveIfNotContained(event);
|
|
@@ -465,9 +462,8 @@ const Combobox = class {
|
|
|
465
462
|
}
|
|
466
463
|
/** Sets focus on the component. */
|
|
467
464
|
async setFocus() {
|
|
468
|
-
var _a;
|
|
469
465
|
await componentLoaded(this);
|
|
470
|
-
|
|
466
|
+
this.textInput?.focus();
|
|
471
467
|
this.activeChipIndex = -1;
|
|
472
468
|
this.activeItemIndex = -1;
|
|
473
469
|
}
|
|
@@ -477,11 +473,10 @@ const Combobox = class {
|
|
|
477
473
|
//
|
|
478
474
|
// --------------------------------------------------------------------------
|
|
479
475
|
connectedCallback() {
|
|
480
|
-
var _a;
|
|
481
476
|
this.internalValueChangeFlag = true;
|
|
482
477
|
this.value = this.getValue();
|
|
483
478
|
this.internalValueChangeFlag = false;
|
|
484
|
-
|
|
479
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
485
480
|
connectLabel(this);
|
|
486
481
|
connectForm(this);
|
|
487
482
|
connectOpenCloseComponent(this);
|
|
@@ -511,9 +506,8 @@ const Combobox = class {
|
|
|
511
506
|
updateHostInteraction(this);
|
|
512
507
|
}
|
|
513
508
|
disconnectedCallback() {
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
509
|
+
this.mutationObserver?.disconnect();
|
|
510
|
+
this.resizeObserver?.disconnect();
|
|
517
511
|
disconnectLabel(this);
|
|
518
512
|
disconnectForm(this);
|
|
519
513
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
@@ -570,7 +564,7 @@ const Combobox = class {
|
|
|
570
564
|
// if item has children items, don't count their height twice
|
|
571
565
|
const children = Array.from(item.querySelectorAll(ComboboxChildSelector));
|
|
572
566
|
children
|
|
573
|
-
.map((child) => child
|
|
567
|
+
.map((child) => child?.offsetHeight)
|
|
574
568
|
.forEach((offsetHeight) => {
|
|
575
569
|
height -= offsetHeight;
|
|
576
570
|
});
|
|
@@ -730,12 +724,11 @@ const Combobox = class {
|
|
|
730
724
|
this.updateActiveItemIndex(-1);
|
|
731
725
|
}
|
|
732
726
|
focusChip() {
|
|
733
|
-
|
|
734
|
-
const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
|
|
727
|
+
const guid = this.selectedItems[this.activeChipIndex]?.guid;
|
|
735
728
|
const chip = guid
|
|
736
729
|
? this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`)
|
|
737
730
|
: null;
|
|
738
|
-
chip
|
|
731
|
+
chip?.setFocus();
|
|
739
732
|
}
|
|
740
733
|
shiftActiveItemIndex(delta) {
|
|
741
734
|
const { length } = this.visibleItems;
|
|
@@ -791,7 +784,7 @@ const Combobox = class {
|
|
|
791
784
|
"input-wrap--single": single
|
|
792
785
|
} }, showLabel && (h("span", { class: {
|
|
793
786
|
label: true,
|
|
794
|
-
"label--icon": !!
|
|
787
|
+
"label--icon": !!selectedItem?.icon
|
|
795
788
|
}, key: "label" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
|
|
796
789
|
input: true,
|
|
797
790
|
"input--single": true,
|
|
@@ -818,7 +811,7 @@ const Combobox = class {
|
|
|
818
811
|
renderIconStart() {
|
|
819
812
|
const { selectedItems, placeholderIcon, selectionMode } = this;
|
|
820
813
|
const selectedItem = selectedItems[0];
|
|
821
|
-
const selectedIcon = selectedItem
|
|
814
|
+
const selectedIcon = selectedItem?.icon;
|
|
822
815
|
const singleSelectionMode = selectionMode === "single";
|
|
823
816
|
const iconAtStart = !this.open && selectedItem
|
|
824
817
|
? !!selectedIcon && singleSelectionMode
|
|
@@ -1,18 +1,18 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { h as getDaysDiff, b as dateToISO, T as TEXT, c as dateFromISO, g as getValueAsDateRange, f as dateFromRange, e as getLocaleData, s as setEndOfDay, j as sameDate, i as inRange, k as getOrder, n as nextMonth, p as prevMonth } from './resources-
|
|
8
|
-
import { c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter } from './locale-
|
|
9
|
-
import { c as closestElementCrossShadowBoundary, a as getElementDir } from './dom-
|
|
10
|
-
import { C as CSS_UTILITY } from './resources-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { i as isActivationKey } from './key-
|
|
13
|
-
import { H as Heading } from './Heading-
|
|
14
|
-
import './observers-
|
|
15
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-d632f7a1.js';
|
|
7
|
+
import { h as getDaysDiff, b as dateToISO, T as TEXT, c as dateFromISO, g as getValueAsDateRange, f as dateFromRange, e as getLocaleData, s as setEndOfDay, j as sameDate, i as inRange, k as getOrder, n as nextMonth, p as prevMonth } from './resources-8ab3148f.js';
|
|
8
|
+
import { c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter } from './locale-9cc8d692.js';
|
|
9
|
+
import { c as closestElementCrossShadowBoundary, a as getElementDir } from './dom-f86880a8.js';
|
|
10
|
+
import { C as CSS_UTILITY } from './resources-c1317324.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-3f5bd2e0.js';
|
|
12
|
+
import { i as isActivationKey } from './key-d42e35a4.js';
|
|
13
|
+
import { H as Heading } from './Heading-7d30eb95.js';
|
|
14
|
+
import './observers-2b56a317.js';
|
|
15
|
+
import './guid-8a166774.js';
|
|
16
16
|
|
|
17
17
|
const datePickerCss = "@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}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";
|
|
18
18
|
|
|
@@ -136,16 +136,15 @@ const DatePicker = class {
|
|
|
136
136
|
* Reset active date and close
|
|
137
137
|
*/
|
|
138
138
|
this.reset = () => {
|
|
139
|
-
var _a, _b, _c, _d, _e, _f;
|
|
140
139
|
if (!Array.isArray(this.valueAsDate) &&
|
|
141
140
|
this.valueAsDate &&
|
|
142
|
-
|
|
141
|
+
this.valueAsDate?.getTime() !== this.activeDate?.getTime()) {
|
|
143
142
|
this.activeDate = new Date(this.valueAsDate);
|
|
144
143
|
}
|
|
145
|
-
if (this.startAsDate &&
|
|
144
|
+
if (this.startAsDate && this.startAsDate?.getTime() !== this.activeStartDate?.getTime()) {
|
|
146
145
|
this.activeStartDate = new Date(this.startAsDate);
|
|
147
146
|
}
|
|
148
|
-
if (this.endAsDate &&
|
|
147
|
+
if (this.endAsDate && this.endAsDate?.getTime() !== this.activeEndDate?.getTime()) {
|
|
149
148
|
this.activeEndDate = new Date(this.endAsDate);
|
|
150
149
|
}
|
|
151
150
|
};
|
|
@@ -305,7 +304,6 @@ const DatePicker = class {
|
|
|
305
304
|
this.onMaxChanged(this.max);
|
|
306
305
|
}
|
|
307
306
|
render() {
|
|
308
|
-
var _a;
|
|
309
307
|
const date = dateFromRange(this.range && Array.isArray(this.valueAsDate) ? this.valueAsDate[0] : this.valueAsDate, this.minAsDate, this.maxAsDate);
|
|
310
308
|
let activeDate = this.getActiveDate(date, this.minAsDate, this.maxAsDate);
|
|
311
309
|
const endDate = this.range && Array.isArray(this.valueAsDate)
|
|
@@ -313,7 +311,7 @@ const DatePicker = class {
|
|
|
313
311
|
: null;
|
|
314
312
|
const activeEndDate = this.getActiveEndDate(endDate, this.minAsDate, this.maxAsDate);
|
|
315
313
|
if ((this.activeRange === "end" ||
|
|
316
|
-
(
|
|
314
|
+
(this.hoverRange?.focused === "end" && (!this.proximitySelectionDisabled || endDate))) &&
|
|
317
315
|
activeEndDate) {
|
|
318
316
|
activeDate = activeEndDate;
|
|
319
317
|
}
|
|
@@ -774,10 +772,9 @@ const DatePickerMonth = class {
|
|
|
774
772
|
* @param ref
|
|
775
773
|
*/
|
|
776
774
|
renderDateDay(active, day, date, currentMonth, ref) {
|
|
777
|
-
var _a;
|
|
778
775
|
const isFocusedOnStart = this.isFocusedOnStart();
|
|
779
776
|
const isHoverInRange = this.isHoverInRange() ||
|
|
780
|
-
(!this.endDate && this.hoverRange && sameDate(
|
|
777
|
+
(!this.endDate && this.hoverRange && sameDate(this.hoverRange?.end, this.startDate));
|
|
781
778
|
return (h("calcite-date-picker-day", { active: active, class: {
|
|
782
779
|
"hover--inside-range": this.startDate && isHoverInRange,
|
|
783
780
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
@@ -786,13 +783,12 @@ const DatePickerMonth = class {
|
|
|
786
783
|
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
|
|
787
784
|
// when moving via keyboard, focus must be updated on active date
|
|
788
785
|
if (ref && active && this.activeFocus) {
|
|
789
|
-
el
|
|
786
|
+
el?.focus();
|
|
790
787
|
}
|
|
791
788
|
}, scale: this.scale, selected: this.isSelected(date), startOfRange: this.isStartOfRange(date), value: date }));
|
|
792
789
|
}
|
|
793
790
|
isFocusedOnStart() {
|
|
794
|
-
|
|
795
|
-
return ((_a = this.hoverRange) === null || _a === void 0 ? void 0 : _a.focused) === "start";
|
|
791
|
+
return this.hoverRange?.focused === "start";
|
|
796
792
|
}
|
|
797
793
|
isHoverInRange() {
|
|
798
794
|
if (!this.hoverRange) {
|
|
@@ -824,6 +820,19 @@ const DatePickerMonth = class {
|
|
|
824
820
|
DatePickerMonth.style = datePickerMonthCss;
|
|
825
821
|
|
|
826
822
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
823
|
+
const CSS = {
|
|
824
|
+
header: "header",
|
|
825
|
+
month: "month",
|
|
826
|
+
chevron: "chevron",
|
|
827
|
+
suffix: "suffix",
|
|
828
|
+
yearSuffix: "year--suffix",
|
|
829
|
+
yearWrap: "year-wrap",
|
|
830
|
+
textReverse: "text--reverse"
|
|
831
|
+
};
|
|
832
|
+
const ICON = {
|
|
833
|
+
chevronLeft: "chevron-left",
|
|
834
|
+
chevronRight: "chevron-right"
|
|
835
|
+
};
|
|
827
836
|
|
|
828
837
|
const datePickerMonthHeaderCss = "@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}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}";
|
|
829
838
|
|
|
@@ -914,10 +923,9 @@ const DatePickerMonthHeader = class {
|
|
|
914
923
|
this.setNextPrevMonthDates();
|
|
915
924
|
}
|
|
916
925
|
render() {
|
|
917
|
-
return h("div", { class:
|
|
926
|
+
return h("div", { class: CSS.header }, this.renderContent());
|
|
918
927
|
}
|
|
919
928
|
renderContent() {
|
|
920
|
-
var _a;
|
|
921
929
|
if (!this.activeDate || !this.localeData) {
|
|
922
930
|
return null;
|
|
923
931
|
}
|
|
@@ -936,11 +944,11 @@ const DatePickerMonthHeader = class {
|
|
|
936
944
|
const iconScale = this.scale === "l" ? "m" : "s";
|
|
937
945
|
const order = getOrder(unitOrder);
|
|
938
946
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
939
|
-
const suffix =
|
|
940
|
-
return (h(Fragment, null, h("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlPrevMonth, class:
|
|
947
|
+
const suffix = this.localeData.year?.suffix;
|
|
948
|
+
return (h(Fragment, null, h("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlPrevMonth, class: CSS.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, h("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), h("div", { class: { text: true, [CSS.textReverse]: reverse } }, h(Heading, { class: CSS.month, level: this.headingLevel }, localizedMonth), h("span", { class: CSS.yearWrap }, h("input", { "aria-label": this.intlYear, class: {
|
|
941
949
|
year: true,
|
|
942
|
-
|
|
943
|
-
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && h("span", { class:
|
|
950
|
+
[CSS.yearSuffix]: !!suffix
|
|
951
|
+
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && h("span", { class: CSS.suffix }, suffix))), h("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlNextMonth, class: CSS.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, h("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
944
952
|
}
|
|
945
953
|
setNextPrevMonthDates() {
|
|
946
954
|
if (!this.activeDate) {
|
|
@@ -1,19 +1,19 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement, h as getElementProp } from './dom-
|
|
8
|
-
import { f as filterComputedPlacements, c as connectFloatingUI, d as defaultMenuPlacement, u as updateAfterClose, a as disconnectFloatingUI, F as FloatingCSS, r as reposition } from './floating-ui-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
12
|
-
import { g as guid } from './guid-
|
|
13
|
-
import { i as isActivationKey } from './key-
|
|
14
|
-
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-
|
|
15
|
-
import './resources-
|
|
16
|
-
import './debounce-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d632f7a1.js';
|
|
7
|
+
import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement, h as getElementProp } from './dom-f86880a8.js';
|
|
8
|
+
import { f as filterComputedPlacements, c as connectFloatingUI, d as defaultMenuPlacement, u as updateAfterClose, a as disconnectFloatingUI, F as FloatingCSS, r as reposition } from './floating-ui-06e2aace.js';
|
|
9
|
+
import { c as createObserver } from './observers-2b56a317.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-3f5bd2e0.js';
|
|
11
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-08e9135e.js';
|
|
12
|
+
import { g as guid } from './guid-8a166774.js';
|
|
13
|
+
import { i as isActivationKey } from './key-d42e35a4.js';
|
|
14
|
+
import { c as componentLoaded, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-ecb83b69.js';
|
|
15
|
+
import './resources-c1317324.js';
|
|
16
|
+
import './debounce-fa1ba8dd.js';
|
|
17
17
|
|
|
18
18
|
const SLOTS = {
|
|
19
19
|
dropdownTrigger: "dropdown-trigger"
|
|
@@ -61,7 +61,7 @@ const Dropdown = class {
|
|
|
61
61
|
};
|
|
62
62
|
this.updateItems = () => {
|
|
63
63
|
this.items = this.groups
|
|
64
|
-
.map((group) => Array.from(group
|
|
64
|
+
.map((group) => Array.from(group?.querySelectorAll("calcite-dropdown-item")))
|
|
65
65
|
.reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
|
|
66
66
|
this.updateSelectedItems();
|
|
67
67
|
this.reposition(true);
|
|
@@ -69,7 +69,7 @@ const Dropdown = class {
|
|
|
69
69
|
this.updateGroups = (event) => {
|
|
70
70
|
const groups = event.target
|
|
71
71
|
.assignedElements({ flatten: true })
|
|
72
|
-
.filter((el) => el
|
|
72
|
+
.filter((el) => el?.matches("calcite-dropdown-group"));
|
|
73
73
|
this.groups = groups;
|
|
74
74
|
this.updateItems();
|
|
75
75
|
};
|
|
@@ -86,7 +86,7 @@ const Dropdown = class {
|
|
|
86
86
|
};
|
|
87
87
|
this.setDropdownWidth = () => {
|
|
88
88
|
const { referenceEl, scrollerEl } = this;
|
|
89
|
-
const referenceElWidth = referenceEl
|
|
89
|
+
const referenceElWidth = referenceEl?.clientWidth;
|
|
90
90
|
if (!referenceElWidth || !scrollerEl) {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
@@ -211,8 +211,7 @@ const Dropdown = class {
|
|
|
211
211
|
//
|
|
212
212
|
//--------------------------------------------------------------------------
|
|
213
213
|
connectedCallback() {
|
|
214
|
-
|
|
215
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
214
|
+
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
216
215
|
this.setFilteredPlacements();
|
|
217
216
|
this.reposition(true);
|
|
218
217
|
if (this.open) {
|
|
@@ -227,10 +226,9 @@ const Dropdown = class {
|
|
|
227
226
|
updateHostInteraction(this);
|
|
228
227
|
}
|
|
229
228
|
disconnectedCallback() {
|
|
230
|
-
|
|
231
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
229
|
+
this.mutationObserver?.disconnect();
|
|
232
230
|
disconnectFloatingUI(this, this.referenceEl, this.floatingEl);
|
|
233
|
-
|
|
231
|
+
this.resizeObserver?.disconnect();
|
|
234
232
|
disconnectOpenCloseComponent(this);
|
|
235
233
|
}
|
|
236
234
|
render() {
|
|
@@ -517,9 +515,8 @@ const DropdownItem = class {
|
|
|
517
515
|
//--------------------------------------------------------------------------
|
|
518
516
|
/** Sets focus on the component. */
|
|
519
517
|
async setFocus() {
|
|
520
|
-
var _a;
|
|
521
518
|
await componentLoaded(this);
|
|
522
|
-
|
|
519
|
+
this.el?.focus();
|
|
523
520
|
}
|
|
524
521
|
//--------------------------------------------------------------------------
|
|
525
522
|
//
|
|
@@ -1,14 +1,14 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
10
|
-
import './resources-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-d632f7a1.js';
|
|
7
|
+
import { f as focusElement } from './dom-f86880a8.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-3f5bd2e0.js';
|
|
9
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-ecb83b69.js';
|
|
10
|
+
import './resources-c1317324.js';
|
|
11
|
+
import './guid-8a166774.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
button: "button"
|
|
@@ -1,16 +1,16 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import { f as filter } from './filter-
|
|
10
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
11
|
-
import { d as debounce } from './debounce-
|
|
12
|
-
import './resources-
|
|
13
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-d632f7a1.js';
|
|
7
|
+
import { f as focusElement } from './dom-f86880a8.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-3f5bd2e0.js';
|
|
9
|
+
import { f as filter } from './filter-fe83cf69.js';
|
|
10
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-ecb83b69.js';
|
|
11
|
+
import { d as debounce } from './debounce-fa1ba8dd.js';
|
|
12
|
+
import './resources-c1317324.js';
|
|
13
|
+
import './guid-8a166774.js';
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
16
16
|
container: "container",
|
|
@@ -1,15 +1,15 @@
|
|
|
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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { a as getElementDir } from './dom-
|
|
8
|
-
import { S as SLOTS$1 } from './resources-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-d632f7a1.js';
|
|
7
|
+
import { a as getElementDir } from './dom-f86880a8.js';
|
|
8
|
+
import { S as SLOTS$1 } from './resources-cca3a0a9.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-3f5bd2e0.js';
|
|
10
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentLoaded } from './loadable-ecb83b69.js';
|
|
11
|
+
import './resources-c1317324.js';
|
|
12
|
+
import './guid-8a166774.js';
|
|
13
13
|
|
|
14
14
|
const CSS = {
|
|
15
15
|
backButton: "back-button"
|
|
@@ -110,7 +110,7 @@ const FlowItem = class {
|
|
|
110
110
|
backButtonEl.setFocus();
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
|
-
containerEl
|
|
113
|
+
containerEl?.setFocus();
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* Scrolls the component's content to a specified set of coordinates.
|
|
@@ -124,8 +124,7 @@ const FlowItem = class {
|
|
|
124
124
|
* @param options
|
|
125
125
|
*/
|
|
126
126
|
async scrollContentTo(options) {
|
|
127
|
-
|
|
128
|
-
await ((_a = this.containerEl) === null || _a === void 0 ? void 0 : _a.scrollContentTo(options));
|
|
127
|
+
await this.containerEl?.scrollContentTo(options);
|
|
129
128
|
}
|
|
130
129
|
// --------------------------------------------------------------------------
|
|
131
130
|
//
|
|
@@ -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.655
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { c as createObserver } from './observers-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-d632f7a1.js';
|
|
7
|
+
import { c as createObserver } from './observers-2b56a317.js';
|
|
8
8
|
|
|
9
9
|
const CSS = {
|
|
10
10
|
frame: "frame",
|
|
@@ -81,13 +81,11 @@ const Flow = class {
|
|
|
81
81
|
//
|
|
82
82
|
// --------------------------------------------------------------------------
|
|
83
83
|
connectedCallback() {
|
|
84
|
-
|
|
85
|
-
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
84
|
+
this.itemMutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
86
85
|
this.updateFlowProps();
|
|
87
86
|
}
|
|
88
87
|
disconnectedCallback() {
|
|
89
|
-
|
|
90
|
-
(_a = this.itemMutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
88
|
+
this.itemMutationObserver?.disconnect();
|
|
91
89
|
}
|
|
92
90
|
// --------------------------------------------------------------------------
|
|
93
91
|
//
|