@esri/calcite-components 1.0.0-next.646 → 1.0.0-next.648
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-00d2d773.entry.js +6 -0
- package/dist/calcite/p-01951f49.entry.js +6 -0
- package/dist/calcite/p-05dcda7b.entry.js +6 -0
- package/dist/calcite/p-065d1961.entry.js +6 -0
- package/dist/calcite/{p-0a72e753.js → p-08b637c8.js} +2 -2
- package/dist/calcite/{p-a24f2e9b.js → p-0b90715c.js} +1 -1
- package/dist/calcite/{p-71036e63.entry.js → p-0ffdcdc0.entry.js} +2 -2
- package/dist/calcite/p-123393a5.js +6 -0
- package/dist/calcite/{p-6bef39d4.js → p-12b0f2c6.js} +1 -1
- package/dist/calcite/p-146e6fec.entry.js +6 -0
- package/dist/calcite/{p-6980b5a2.js → p-1772492f.js} +2 -2
- package/dist/calcite/p-27f9c706.entry.js +6 -0
- package/dist/calcite/p-28af412d.entry.js +6 -0
- package/dist/calcite/p-2bf231e6.entry.js +6 -0
- package/dist/calcite/p-2df94b10.entry.js +6 -0
- package/dist/calcite/{p-7ab7c115.js → p-3420b873.js} +1 -1
- package/dist/calcite/{p-8fde650c.js → p-349515d1.js} +2 -2
- package/dist/calcite/p-393f5e31.entry.js +6 -0
- package/dist/calcite/{p-4abff9db.js → p-3dee2426.js} +2 -2
- package/dist/calcite/p-3e729da6.entry.js +6 -0
- package/dist/calcite/p-4171bc38.entry.js +6 -0
- package/dist/calcite/p-447e09ea.entry.js +6 -0
- package/dist/calcite/p-44ba1ef9.entry.js +6 -0
- package/dist/calcite/{p-668fc2c9.js → p-47429a01.js} +1 -1
- package/dist/calcite/p-4e425d6d.entry.js +6 -0
- package/dist/calcite/{p-daaa5a91.js → p-4eea0858.js} +1 -1
- package/dist/calcite/{p-df6c1c46.js → p-5132e56e.js} +2 -2
- package/dist/calcite/p-51db2c02.entry.js +6 -0
- package/dist/calcite/p-540a1d98.entry.js +6 -0
- package/dist/calcite/{p-db705df7.js → p-5d213adf.js} +2 -2
- package/dist/calcite/p-62ed162f.entry.js +6 -0
- package/dist/calcite/p-63dbaaa6.entry.js +6 -0
- package/dist/calcite/p-641676a3.entry.js +6 -0
- package/dist/calcite/{p-671132e5.entry.js → p-67d85cbe.entry.js} +2 -2
- package/dist/calcite/p-6cca7988.entry.js +6 -0
- package/dist/calcite/{p-c06fdd97.js → p-7000e938.js} +1 -1
- package/dist/calcite/{p-f22a85d4.js → p-76595820.js} +1 -1
- package/dist/calcite/p-7882040c.entry.js +6 -0
- package/dist/calcite/p-7b0f24d1.entry.js +6 -0
- package/dist/calcite/p-7d218367.entry.js +6 -0
- package/dist/calcite/p-814781cb.entry.js +6 -0
- package/dist/calcite/{p-7ed485cb.js → p-899bb6c9.js} +1 -1
- package/dist/calcite/p-8ae970c1.entry.js +6 -0
- package/dist/calcite/{p-be230f5f.js → p-8bec15c8.js} +1 -1
- package/dist/calcite/{p-671c1ca9.js → p-8d698c02.js} +2 -2
- package/dist/calcite/{p-02c24326.js → p-8dc39c82.js} +2 -2
- package/dist/calcite/{p-275c0aa3.js → p-90701611.js} +1 -1
- package/dist/calcite/p-9361cf84.entry.js +6 -0
- package/dist/calcite/{p-e40fd4f3.entry.js → p-97aa02a7.entry.js} +2 -2
- package/dist/calcite/{p-a35a58d0.js → p-98482c33.js} +1 -1
- package/dist/calcite/p-9a49dffd.entry.js +6 -0
- package/dist/calcite/p-9ba0329d.entry.js +6 -0
- package/dist/calcite/p-9cd58cea.entry.js +6 -0
- package/dist/calcite/p-9d716dd8.entry.js +6 -0
- package/dist/calcite/p-a153ceb9.entry.js +6 -0
- package/dist/calcite/{p-86313cdd.js → p-a524f551.js} +1 -1
- package/dist/calcite/p-a7f09914.js +6 -0
- package/dist/calcite/p-aa73ca1a.entry.js +6 -0
- package/dist/calcite/p-acdfbe58.entry.js +6 -0
- package/dist/calcite/{p-72fc195d.js → p-ad9d35c9.js} +2 -2
- package/dist/calcite/{p-32a4762f.js → p-b1ec2e57.js} +1 -1
- package/dist/calcite/{p-b388ce43.js → p-b52f7d75.js} +1 -1
- package/dist/calcite/{p-797251fd.js → p-b6776fe1.js} +2 -2
- package/dist/calcite/p-b8723343.entry.js +6 -0
- package/dist/calcite/p-baa8f7bc.entry.js +6 -0
- package/dist/calcite/p-bc2e3363.entry.js +6 -0
- package/dist/calcite/p-bc83a040.entry.js +6 -0
- package/dist/calcite/p-bf4b49d3.entry.js +6 -0
- package/dist/calcite/p-bfbb104f.js +6 -0
- package/dist/calcite/p-c38f2146.entry.js +6 -0
- package/dist/calcite/p-c438b39c.entry.js +6 -0
- package/dist/calcite/{p-085bae9c.entry.js → p-c84dc5ee.entry.js} +2 -2
- package/dist/calcite/{p-011c833d.js → p-ccd997a5.js} +2 -2
- package/dist/calcite/{p-72506e1c.js → p-ccee598f.js} +1 -1
- package/dist/calcite/p-cee46df8.entry.js +6 -0
- package/dist/calcite/p-cf1c6c75.entry.js +6 -0
- package/dist/calcite/p-dbc6b9f3.entry.js +6 -0
- package/dist/calcite/p-e009ff8c.entry.js +6 -0
- package/dist/calcite/p-e5daf36b.entry.js +6 -0
- package/dist/calcite/p-e6808a92.entry.js +6 -0
- package/dist/calcite/{p-f76ed555.js → p-e8458683.js} +1 -1
- package/dist/calcite/p-e86de5cd.entry.js +6 -0
- package/dist/calcite/p-ea7d6712.entry.js +6 -0
- package/dist/calcite/p-eab112a6.entry.js +6 -0
- package/dist/calcite/p-ec0702ea.entry.js +6 -0
- package/dist/calcite/p-ee839eac.entry.js +6 -0
- package/dist/calcite/p-f2b2590f.entry.js +6 -0
- package/dist/calcite/{p-36263e21.js → p-f3ed0fa6.js} +1 -1
- package/dist/calcite/p-fb2d9c76.entry.js +6 -0
- package/dist/calcite/p-fd60a197.entry.js +6 -0
- package/dist/calcite/p-fe41558d.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-d530737f.js → ExpandToggle-ffd89d79.js} +5 -5
- package/dist/cjs/{Heading-2e646368.js → Heading-9512d69c.js} +2 -2
- package/dist/cjs/{app-globals-64dfc815.js → app-globals-48762390.js} +2 -2
- package/dist/cjs/{array-6cbf9470.js → array-c58adfeb.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +20 -70
- package/dist/cjs/calcite-action-bar.cjs.entry.js +20 -33
- package/dist/cjs/calcite-action-group.cjs.entry.js +15 -26
- package/dist/cjs/calcite-action-menu.cjs.entry.js +18 -37
- package/dist/cjs/calcite-action-pad.cjs.entry.js +18 -28
- package/dist/cjs/calcite-action.cjs.entry.js +21 -49
- package/dist/cjs/calcite-alert.cjs.entry.js +27 -47
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -17
- package/dist/cjs/calcite-block_2.cjs.entry.js +27 -73
- package/dist/cjs/calcite-button.cjs.entry.js +32 -51
- package/dist/cjs/calcite-card.cjs.entry.js +14 -38
- package/dist/cjs/calcite-checkbox.cjs.entry.js +20 -41
- package/dist/cjs/calcite-chip.cjs.entry.js +18 -37
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +60 -227
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +52 -87
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +72 -68
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +33 -77
- package/dist/cjs/calcite-fab.cjs.entry.js +9 -35
- package/dist/cjs/calcite-filter.cjs.entry.js +17 -37
- package/dist/cjs/calcite-flow-item.cjs.entry.js +24 -33
- package/dist/cjs/calcite-flow.cjs.entry.js +6 -6
- package/dist/cjs/calcite-graph_2.cjs.entry.js +49 -72
- package/dist/cjs/calcite-handle.cjs.entry.js +8 -19
- package/dist/cjs/calcite-icon.cjs.entry.js +8 -20
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +18 -40
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +50 -94
- package/dist/cjs/calcite-input-message.cjs.entry.js +7 -18
- package/dist/cjs/calcite-input-number.cjs.entry.js +47 -88
- package/dist/cjs/calcite-input-text.cjs.entry.js +35 -67
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +70 -156
- package/dist/cjs/calcite-input.cjs.entry.js +52 -102
- package/dist/cjs/calcite-label.cjs.entry.js +13 -35
- package/dist/cjs/calcite-link.cjs.entry.js +15 -20
- package/dist/cjs/calcite-list_3.cjs.entry.js +43 -121
- package/dist/cjs/calcite-loader.cjs.entry.js +5 -23
- package/dist/cjs/calcite-modal.cjs.entry.js +26 -57
- package/dist/cjs/calcite-notice.cjs.entry.js +16 -40
- package/dist/cjs/calcite-option_3.cjs.entry.js +23 -52
- package/dist/cjs/calcite-pagination.cjs.entry.js +32 -58
- package/dist/cjs/calcite-panel.cjs.entry.js +30 -39
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +38 -92
- package/dist/cjs/{calcite-popover_2.cjs.entry.js → calcite-popover.cjs.entry.js} +33 -145
- package/dist/cjs/calcite-progress.cjs.entry.js +4 -10
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +9 -18
- package/dist/cjs/calcite-radio-button.cjs.entry.js +21 -37
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +21 -43
- package/dist/cjs/calcite-rating.cjs.entry.js +24 -43
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -15
- package/dist/cjs/calcite-shell_3.cjs.entry.js +16 -62
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +12 -22
- package/dist/cjs/calcite-split-button.cjs.entry.js +11 -27
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +29 -63
- package/dist/cjs/calcite-switch.cjs.entry.js +17 -27
- package/dist/cjs/calcite-tab_4.cjs.entry.js +33 -103
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +11 -39
- package/dist/cjs/calcite-tile.cjs.entry.js +12 -30
- package/dist/cjs/calcite-tip_3.cjs.entry.js +27 -36
- package/dist/cjs/calcite-tooltip.cjs.entry.js +17 -44
- package/dist/cjs/calcite-tree_2.cjs.entry.js +20 -51
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +41 -94
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/{conditionalSlot-e2ec6e00.js → conditionalSlot-ab38a07e.js} +3 -3
- package/dist/cjs/{debounce-afd54443.js → debounce-b8ece744.js} +1 -1
- package/dist/cjs/{dom-81242a2a.js → dom-8dcbe60b.js} +3 -3
- package/dist/cjs/{filter-fc5ae778.js → filter-dcf36f89.js} +2 -2
- package/dist/cjs/{floating-ui-0ebd19a8.js → floating-ui-58bc577e.js} +57 -89
- package/dist/cjs/{focusTrapComponent-30c7c8ee.js → focusTrapComponent-4575255a.js} +2 -2
- package/dist/cjs/{form-66a5b3fc.js → form-54565442.js} +3 -3
- package/dist/cjs/{guid-5b4f687e.js → guid-4caf8697.js} +1 -1
- package/dist/cjs/{index-964a2875.js → index-66bfeb5a.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-58105b6c.js → interactive-61857e22.js} +1 -1
- package/dist/cjs/{interfaces-072b9615.js → interfaces-f9527bdd.js} +1 -1
- package/dist/cjs/{key-e3a69c1b.js → key-aa68c66b.js} +1 -1
- package/dist/cjs/{label-125b7cd1.js → label-ebe09dfe.js} +2 -2
- package/dist/cjs/{loadable-d48dcbfa.js → loadable-f0410eb8.js} +1 -1
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/{locale-e2250b5b.js → locale-6b2788ff.js} +4 -4
- package/dist/cjs/{math-0355d616.js → math-92197020.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-08e930fd.js → nonChromiumPlatformUtils-d9338106.js} +6 -6
- package/dist/cjs/{observers-695d3a8d.js → observers-b2096d49.js} +1 -1
- package/dist/cjs/{openCloseComponent-b4926038.js → openCloseComponent-7d4eb009.js} +1 -1
- package/dist/cjs/{resources-5b8c7ec7.js → resources-15b63465.js} +1 -1
- package/dist/cjs/{resources-45d41060.js → resources-a8623473.js} +5 -5
- package/dist/cjs/{resources-e2ae989b.js → resources-aab81366.js} +1 -1
- package/dist/cjs/{resources-ae67a7a9.js → resources-bfbd2af1.js} +1 -1
- package/dist/cjs/{resources-4cf7d7cf.js → resources-c00001d9.js} +3 -3
- package/dist/cjs/{resources-26b6359a.js → resources-df673a39.js} +1 -1
- package/dist/cjs/{sortable.esm-109c70ff.js → sortable.esm-05f24e8e.js} +1 -1
- package/dist/cjs/{utils-ca1da91a.js → utils-2e6032bf.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -8
- package/dist/collection/components/accordion/accordion.js +6 -19
- package/dist/collection/components/accordion-item/accordion-item.js +9 -136
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +14 -42
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +9 -22
- 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 +7 -18
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +10 -29
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +8 -18
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +17 -37
- 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 +5 -12
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +12 -52
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +7 -13
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +23 -42
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +8 -32
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +11 -32
- package/dist/collection/components/chip/chip.js +11 -30
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +42 -173
- 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 +8 -34
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +2 -12
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +26 -58
- 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 +11 -16
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +3 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +69 -73
- 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 +19 -25
- package/dist/collection/components/date-picker-month/date-picker-month.js +13 -6
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +21 -14
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +27 -65
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +8 -10
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +23 -27
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +14 -40
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +21 -41
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +4 -4
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +39 -48
- 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 +7 -11
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -14
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.css +1 -1
- package/dist/collection/components/icon/icon.js +11 -20
- 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 +23 -45
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +40 -90
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +35 -79
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +3 -14
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +35 -76
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +26 -58
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +28 -55
- package/dist/collection/components/label/label.js +8 -30
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +9 -14
- package/dist/collection/components/list/list.js +14 -51
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +21 -55
- 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 +2 -9
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +3 -21
- package/dist/collection/components/modal/modal.js +17 -48
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +8 -32
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +5 -10
- package/dist/collection/components/option-group/option-group.js +2 -9
- package/dist/collection/components/pagination/pagination.js +28 -51
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +20 -29
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +13 -48
- 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 +5 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +12 -33
- 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 +20 -67
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +3 -9
- package/dist/collection/components/radio-button/radio-button.js +12 -28
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +7 -16
- package/dist/collection/components/radio-group/radio-group.js +9 -23
- package/dist/collection/components/radio-group-item/radio-group-item.js +5 -13
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +15 -34
- 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 -14
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +9 -26
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -9
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -15
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +9 -33
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.css +2 -2
- package/dist/collection/components/slider/slider.js +30 -49
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +8 -18
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +9 -25
- package/dist/collection/components/stepper/stepper.js +6 -14
- package/dist/collection/components/stepper-item/stepper-item.js +15 -41
- package/dist/collection/components/switch/switch.js +8 -18
- package/dist/collection/components/tab/tab.js +4 -17
- package/dist/collection/components/tab-nav/tab-nav.js +11 -17
- package/dist/collection/components/tab-title/tab-title.js +14 -28
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -38
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +5 -23
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +7 -24
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -12
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +32 -91
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +7 -20
- package/dist/collection/components/tip-group/tip-group.js +4 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +13 -10
- 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 +10 -37
- package/dist/collection/components/tree/tree.js +2 -19
- 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 +12 -26
- 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 +18 -52
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +12 -31
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +7 -18
- package/dist/components/action-menu.js +10 -29
- package/dist/components/action.js +14 -42
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +23 -42
- package/dist/components/calcite-accordion-item.js +9 -50
- package/dist/components/calcite-accordion.js +6 -19
- package/dist/components/calcite-action-bar.js +9 -22
- 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 +8 -18
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +17 -37
- package/dist/components/calcite-avatar.js +5 -12
- package/dist/components/calcite-block-section.js +7 -13
- package/dist/components/calcite-block.js +12 -52
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +8 -32
- 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 +43 -174
- package/dist/components/calcite-combobox-item-group.js +3 -1
- package/dist/components/calcite-combobox-item.js +11 -16
- package/dist/components/calcite-combobox.js +27 -59
- 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 +3 -5
- package/dist/components/calcite-dropdown-item.js +8 -12
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -29
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +17 -26
- package/dist/components/calcite-flow.js +4 -4
- 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 +10 -32
- package/dist/components/calcite-input-date-picker.js +37 -81
- package/dist/components/calcite-input-message.js +3 -14
- package/dist/components/calcite-input-number.js +36 -77
- package/dist/components/calcite-input-text.js +27 -59
- package/dist/components/calcite-input-time-picker.js +28 -55
- 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 +2 -9
- package/dist/components/calcite-list-item.js +21 -55
- package/dist/components/calcite-list.js +14 -51
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +17 -48
- package/dist/components/calcite-notice.js +8 -32
- package/dist/components/calcite-option-group.js +2 -9
- package/dist/components/calcite-option.js +5 -10
- package/dist/components/calcite-pagination.js +25 -51
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +13 -48
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +7 -16
- package/dist/components/calcite-radio-button.js +12 -28
- package/dist/components/calcite-radio-group-item.js +5 -13
- package/dist/components/calcite-radio-group.js +9 -23
- package/dist/components/calcite-rating.js +15 -34
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +9 -26
- package/dist/components/calcite-shell-center-row.js +1 -15
- package/dist/components/calcite-shell-panel.js +9 -33
- package/dist/components/calcite-shell.js +1 -9
- package/dist/components/calcite-slider.js +31 -50
- package/dist/components/calcite-sortable-list.js +8 -18
- package/dist/components/calcite-split-button.js +9 -25
- package/dist/components/calcite-stepper-item.js +15 -41
- package/dist/components/calcite-stepper.js +6 -14
- 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 -12
- package/dist/components/calcite-tile-select.js +7 -24
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -1
- package/dist/components/calcite-tip-manager.js +13 -10
- package/dist/components/calcite-tip.js +7 -20
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +12 -26
- package/dist/components/calcite-tree.js +2 -19
- package/dist/components/calcite-value-list-item.js +12 -31
- package/dist/components/calcite-value-list.js +18 -52
- package/dist/components/checkbox.js +11 -32
- package/dist/components/chip.js +11 -30
- package/dist/components/color-picker-hex-input.js +9 -35
- package/dist/components/color-picker-swatch.js +2 -12
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +13 -19
- package/dist/components/date-picker-month-header.js +14 -7
- package/dist/components/date-picker-month.js +10 -3
- package/dist/components/date-picker.js +28 -32
- 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 +14 -52
- package/dist/components/filter.js +9 -29
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +54 -86
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +7 -11
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -14
- package/dist/components/icon.js +3 -15
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +41 -91
- 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 +8 -30
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +9 -14
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +3 -21
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +20 -29
- package/dist/components/pick-list-item.js +12 -33
- package/dist/components/popover.js +21 -68
- package/dist/components/progress.js +3 -9
- 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 -14
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +8 -18
- package/dist/components/tab-nav.js +11 -17
- package/dist/components/tab-title.js +14 -28
- package/dist/components/tab.js +4 -17
- package/dist/components/tabs.js +1 -38
- package/dist/components/tile.js +5 -23
- package/dist/components/time-picker.js +32 -91
- package/dist/components/tooltip.js +11 -38
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-37340e21.js → ExpandToggle-29af15e2.js} +5 -5
- package/dist/esm/{Heading-694715b2.js → Heading-97239409.js} +2 -2
- package/dist/esm/{app-globals-29545d61.js → app-globals-5b1771bd.js} +2 -2
- package/dist/esm/{array-33f45c9b.js → array-a3b6f69b.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +20 -70
- package/dist/esm/calcite-action-bar.entry.js +20 -33
- package/dist/esm/calcite-action-group.entry.js +15 -26
- package/dist/esm/calcite-action-menu.entry.js +18 -37
- package/dist/esm/calcite-action-pad.entry.js +18 -28
- package/dist/esm/calcite-action.entry.js +21 -49
- package/dist/esm/calcite-alert.entry.js +27 -47
- package/dist/esm/calcite-avatar.entry.js +10 -17
- package/dist/esm/calcite-block_2.entry.js +27 -73
- package/dist/esm/calcite-button.entry.js +32 -51
- package/dist/esm/calcite-card.entry.js +14 -38
- package/dist/esm/calcite-checkbox.entry.js +20 -41
- package/dist/esm/calcite-chip.entry.js +18 -37
- package/dist/esm/calcite-color-picker_3.entry.js +60 -227
- package/dist/esm/calcite-combobox_3.entry.js +52 -87
- package/dist/esm/calcite-date-picker_4.entry.js +72 -68
- package/dist/esm/calcite-dropdown_3.entry.js +33 -77
- package/dist/esm/calcite-fab.entry.js +9 -35
- package/dist/esm/calcite-filter.entry.js +17 -37
- package/dist/esm/calcite-flow-item.entry.js +24 -33
- package/dist/esm/calcite-flow.entry.js +6 -6
- package/dist/esm/calcite-graph_2.entry.js +49 -72
- package/dist/esm/calcite-handle.entry.js +8 -19
- package/dist/esm/calcite-icon.entry.js +8 -20
- package/dist/esm/calcite-inline-editable.entry.js +18 -40
- package/dist/esm/calcite-input-date-picker.entry.js +50 -94
- package/dist/esm/calcite-input-message.entry.js +7 -18
- package/dist/esm/calcite-input-number.entry.js +47 -88
- package/dist/esm/calcite-input-text.entry.js +35 -67
- package/dist/esm/calcite-input-time-picker_2.entry.js +70 -156
- package/dist/esm/calcite-input.entry.js +52 -102
- package/dist/esm/calcite-label.entry.js +13 -35
- package/dist/esm/calcite-link.entry.js +15 -20
- package/dist/esm/calcite-list_3.entry.js +43 -121
- package/dist/esm/calcite-loader.entry.js +5 -23
- package/dist/esm/calcite-modal.entry.js +26 -57
- package/dist/esm/calcite-notice.entry.js +16 -40
- package/dist/esm/calcite-option_3.entry.js +23 -52
- package/dist/esm/calcite-pagination.entry.js +32 -58
- package/dist/esm/calcite-panel.entry.js +30 -39
- package/dist/esm/calcite-pick-list_3.entry.js +38 -92
- package/dist/esm/{calcite-popover_2.entry.js → calcite-popover.entry.js} +34 -145
- package/dist/esm/calcite-progress.entry.js +4 -10
- package/dist/esm/calcite-radio-button-group.entry.js +9 -18
- package/dist/esm/calcite-radio-button.entry.js +21 -37
- package/dist/esm/calcite-radio-group_2.entry.js +21 -43
- package/dist/esm/calcite-rating.entry.js +24 -43
- package/dist/esm/calcite-scrim.entry.js +2 -15
- package/dist/esm/calcite-shell_3.entry.js +16 -62
- package/dist/esm/calcite-sortable-list.entry.js +12 -22
- package/dist/esm/calcite-split-button.entry.js +11 -27
- package/dist/esm/calcite-stepper_2.entry.js +29 -63
- package/dist/esm/calcite-switch.entry.js +17 -27
- package/dist/esm/calcite-tab_4.entry.js +33 -103
- package/dist/esm/calcite-tile-select_2.entry.js +11 -39
- package/dist/esm/calcite-tile.entry.js +12 -30
- package/dist/esm/calcite-tip_3.entry.js +27 -36
- package/dist/esm/calcite-tooltip.entry.js +17 -44
- package/dist/esm/calcite-tree_2.entry.js +20 -51
- package/dist/esm/calcite-value-list_2.entry.js +41 -94
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-a259d062.js → conditionalSlot-18733fbb.js} +3 -3
- package/dist/esm/{debounce-a80cea2e.js → debounce-6bf69804.js} +1 -1
- package/dist/esm/{dom-c7442d5a.js → dom-c8898dc4.js} +3 -3
- package/dist/esm/{filter-5334a2b2.js → filter-978322da.js} +2 -2
- package/dist/esm/{floating-ui-39e24e16.js → floating-ui-fc1dd50c.js} +57 -89
- package/dist/esm/{focusTrapComponent-94194c83.js → focusTrapComponent-abc370ad.js} +2 -2
- package/dist/esm/{form-a676c099.js → form-44011828.js} +3 -3
- package/dist/esm/{guid-2a3eda01.js → guid-eaa87c08.js} +1 -1
- package/dist/esm/{index-3db52168.js → index-d13d66db.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-26387dc4.js → interactive-ee7f9950.js} +1 -1
- package/dist/esm/{interfaces-65ac0d72.js → interfaces-e740f58c.js} +1 -1
- package/dist/esm/{key-411c120d.js → key-23509709.js} +1 -1
- package/dist/esm/{label-2102b073.js → label-226b0181.js} +2 -2
- package/dist/esm/{loadable-b4a4f025.js → loadable-5df6cd58.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-c396b3ba.js → locale-c6e1a8e3.js} +4 -4
- package/dist/esm/{math-e6e57679.js → math-e1907584.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-ab5672bb.js → nonChromiumPlatformUtils-38b56ea7.js} +6 -6
- package/dist/esm/{observers-92bc8914.js → observers-32d3cec9.js} +1 -1
- package/dist/esm/{openCloseComponent-092b548c.js → openCloseComponent-333b893d.js} +1 -1
- package/dist/esm/{resources-7f14e588.js → resources-279b99d2.js} +5 -5
- package/dist/esm/{resources-147d3786.js → resources-301e3b5e.js} +3 -3
- package/dist/esm/{resources-526a78c2.js → resources-70b572b1.js} +1 -1
- package/dist/esm/{resources-ffa9b8d6.js → resources-72c02e33.js} +1 -1
- package/dist/esm/{resources-13aa14c3.js → resources-904b70a4.js} +1 -1
- package/dist/esm/{resources-ddde9e2f.js → resources-e7476473.js} +1 -1
- package/dist/esm/{sortable.esm-fa924523.js → sortable.esm-e68f2907.js} +1 -1
- package/dist/esm/{utils-4cfc4b8d.js → utils-52beb63a.js} +1 -1
- package/dist/extras/docs-json.d.ts +24 -0
- package/dist/extras/docs-json.json +179 -337
- 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/accordion-item/accordion-item.d.ts +0 -28
- package/dist/types/components/date-picker/date-picker.d.ts +45 -41
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +6 -6
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +3 -3
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +7 -7
- package/dist/types/components/dropdown/dropdown.d.ts +28 -16
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +8 -6
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +19 -15
- package/dist/types/components/fab/fab.d.ts +11 -11
- package/dist/types/components/filter/filter.d.ts +17 -13
- package/dist/types/components/flow-item/flow-item.d.ts +22 -22
- package/dist/types/components/icon/icon.d.ts +6 -4
- package/dist/types/components/inline-editable/inline-editable.d.ts +17 -13
- package/dist/types/components/pagination/pagination.d.ts +1 -6
- package/dist/types/components.d.ts +247 -316
- package/dist/types/preact.d.ts +0 -2
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +1023 -2829
- package/package.json +20 -20
- package/dist/calcite/p-003195f2.entry.js +0 -6
- package/dist/calcite/p-03ff7195.entry.js +0 -6
- package/dist/calcite/p-04c1bef7.entry.js +0 -6
- package/dist/calcite/p-0c0c5a0e.entry.js +0 -6
- package/dist/calcite/p-119f206c.entry.js +0 -6
- package/dist/calcite/p-135e8810.entry.js +0 -6
- package/dist/calcite/p-1373e4cd.entry.js +0 -6
- package/dist/calcite/p-164e8c9d.entry.js +0 -6
- package/dist/calcite/p-1a12e8be.entry.js +0 -6
- package/dist/calcite/p-1b367f30.entry.js +0 -6
- package/dist/calcite/p-24cb396c.entry.js +0 -6
- package/dist/calcite/p-281f1106.entry.js +0 -6
- package/dist/calcite/p-2a44dffb.entry.js +0 -6
- package/dist/calcite/p-2a535853.entry.js +0 -6
- package/dist/calcite/p-3e1c09bf.entry.js +0 -6
- package/dist/calcite/p-3e8c3592.entry.js +0 -6
- package/dist/calcite/p-3eb2ffb8.entry.js +0 -6
- package/dist/calcite/p-45b9c33f.js +0 -6
- package/dist/calcite/p-4bc96359.entry.js +0 -6
- package/dist/calcite/p-4db1678d.entry.js +0 -6
- package/dist/calcite/p-5a660d62.entry.js +0 -6
- package/dist/calcite/p-69acc19d.js +0 -6
- package/dist/calcite/p-6bff7bcf.entry.js +0 -6
- package/dist/calcite/p-6dccc47d.entry.js +0 -6
- package/dist/calcite/p-70e5f8e1.entry.js +0 -6
- package/dist/calcite/p-74b03586.entry.js +0 -6
- package/dist/calcite/p-771c5de7.entry.js +0 -6
- package/dist/calcite/p-7ce1e758.entry.js +0 -6
- package/dist/calcite/p-7f84921d.entry.js +0 -6
- package/dist/calcite/p-8ac01035.entry.js +0 -6
- package/dist/calcite/p-8cacf936.entry.js +0 -6
- package/dist/calcite/p-8fbb2fce.entry.js +0 -6
- package/dist/calcite/p-90ab292c.entry.js +0 -6
- package/dist/calcite/p-95962655.entry.js +0 -6
- package/dist/calcite/p-9b25074a.entry.js +0 -6
- package/dist/calcite/p-a5a412d4.entry.js +0 -6
- package/dist/calcite/p-a61f18b6.js +0 -6
- package/dist/calcite/p-a7396468.entry.js +0 -6
- package/dist/calcite/p-a9901770.entry.js +0 -6
- package/dist/calcite/p-b0e193b4.entry.js +0 -6
- package/dist/calcite/p-b0ff665f.entry.js +0 -6
- package/dist/calcite/p-b630f4dc.entry.js +0 -6
- package/dist/calcite/p-b67971fe.entry.js +0 -6
- package/dist/calcite/p-c46db736.entry.js +0 -6
- package/dist/calcite/p-c4c80d1b.entry.js +0 -6
- package/dist/calcite/p-d0b2f0c1.entry.js +0 -6
- package/dist/calcite/p-d30c167e.entry.js +0 -6
- package/dist/calcite/p-d67f0c69.entry.js +0 -6
- package/dist/calcite/p-da097122.entry.js +0 -6
- package/dist/calcite/p-df2934bb.entry.js +0 -6
- package/dist/calcite/p-e224efc9.entry.js +0 -6
- package/dist/calcite/p-e9f89a1d.entry.js +0 -6
- package/dist/calcite/p-eb02de24.entry.js +0 -6
- package/dist/calcite/p-ecae74a5.entry.js +0 -6
- package/dist/calcite/p-eedc40f4.entry.js +0 -6
- package/dist/calcite/p-efb733cc.entry.js +0 -6
- package/dist/calcite/p-f0c68fa8.entry.js +0 -6
- package/dist/calcite/p-f32c0a5c.entry.js +0 -6
- package/dist/calcite/p-fd2070b4.entry.js +0 -6
- package/dist/collection/components/popover-manager/popover-manager.css +0 -89
- package/dist/collection/components/popover-manager/popover-manager.js +0 -127
- package/dist/components/calcite-popover-manager.d.ts +0 -11
- package/dist/components/calcite-popover-manager.js +0 -94
- package/dist/types/components/popover-manager/popover-manager.d.ts +0 -24
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { h as getOrder, e as dateFromRange, n as nextMonth, p as prevMonth } from './date.js';
|
|
@@ -23,12 +23,6 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
23
23
|
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 6);
|
|
24
24
|
//--------------------------------------------------------------------------
|
|
25
25
|
//
|
|
26
|
-
// Private State/Props
|
|
27
|
-
//
|
|
28
|
-
//--------------------------------------------------------------------------
|
|
29
|
-
this.globalAttributes = {};
|
|
30
|
-
//--------------------------------------------------------------------------
|
|
31
|
-
//
|
|
32
26
|
// Private Methods
|
|
33
27
|
//
|
|
34
28
|
//--------------------------------------------------------------------------
|
|
@@ -84,6 +78,19 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
84
78
|
event.preventDefault();
|
|
85
79
|
this.calciteDatePickerSelect.emit(date);
|
|
86
80
|
};
|
|
81
|
+
this.selectedDate = undefined;
|
|
82
|
+
this.activeDate = undefined;
|
|
83
|
+
this.headingLevel = undefined;
|
|
84
|
+
this.min = undefined;
|
|
85
|
+
this.max = undefined;
|
|
86
|
+
this.intlPrevMonth = undefined;
|
|
87
|
+
this.intlNextMonth = undefined;
|
|
88
|
+
this.intlYear = undefined;
|
|
89
|
+
this.scale = undefined;
|
|
90
|
+
this.localeData = undefined;
|
|
91
|
+
this.globalAttributes = {};
|
|
92
|
+
this.nextMonthDate = undefined;
|
|
93
|
+
this.prevMonthDate = undefined;
|
|
87
94
|
}
|
|
88
95
|
//--------------------------------------------------------------------------
|
|
89
96
|
//
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as sameDate, e as dateFromRange, i as inRange } from './date.js';
|
|
@@ -18,8 +18,6 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
18
18
|
this.calciteInternalDatePickerHover = createEvent(this, "calciteInternalDatePickerHover", 6);
|
|
19
19
|
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange", 6);
|
|
20
20
|
this.calciteInternalDatePickerMouseOut = createEvent(this, "calciteInternalDatePickerMouseOut", 6);
|
|
21
|
-
/** Date currently active.*/
|
|
22
|
-
this.activeDate = new Date();
|
|
23
21
|
//--------------------------------------------------------------------------
|
|
24
22
|
//
|
|
25
23
|
// Event Listeners
|
|
@@ -94,6 +92,15 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
94
92
|
const target = event.target;
|
|
95
93
|
this.calciteDatePickerSelect.emit(target.value);
|
|
96
94
|
};
|
|
95
|
+
this.selectedDate = undefined;
|
|
96
|
+
this.activeDate = new Date();
|
|
97
|
+
this.startDate = undefined;
|
|
98
|
+
this.endDate = undefined;
|
|
99
|
+
this.min = undefined;
|
|
100
|
+
this.max = undefined;
|
|
101
|
+
this.scale = undefined;
|
|
102
|
+
this.localeData = undefined;
|
|
103
|
+
this.hoverRange = undefined;
|
|
97
104
|
}
|
|
98
105
|
mouseoutHandler() {
|
|
99
106
|
this.calciteInternalDatePickerMouseOut.emit();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter } from './locale.js';
|
|
@@ -72,37 +72,6 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
72
72
|
this.__attachShadow();
|
|
73
73
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 6);
|
|
74
74
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 6);
|
|
75
|
-
/**
|
|
76
|
-
* Localized string for "previous month" (used for aria label)
|
|
77
|
-
*
|
|
78
|
-
* @default "Previous month"
|
|
79
|
-
*/
|
|
80
|
-
this.intlPrevMonth = TEXT.prevMonth;
|
|
81
|
-
/**
|
|
82
|
-
* Localized string for "next month" (used for aria label)
|
|
83
|
-
*
|
|
84
|
-
* @default "Next month"
|
|
85
|
-
*/
|
|
86
|
-
this.intlNextMonth = TEXT.nextMonth;
|
|
87
|
-
/**
|
|
88
|
-
* Localized string for "year" (used for aria label)
|
|
89
|
-
*
|
|
90
|
-
* @default "Year"
|
|
91
|
-
*/
|
|
92
|
-
this.intlYear = TEXT.year;
|
|
93
|
-
/** specify the scale of the date picker */
|
|
94
|
-
this.scale = "m";
|
|
95
|
-
/** Range mode activation */
|
|
96
|
-
this.range = false;
|
|
97
|
-
/** Disables the default behaviour on the third click of narrowing or extending the range and instead starts a new range. */
|
|
98
|
-
this.proximitySelectionDisabled = false;
|
|
99
|
-
this.globalAttributes = {};
|
|
100
|
-
//--------------------------------------------------------------------------
|
|
101
|
-
//
|
|
102
|
-
// Private State/Props
|
|
103
|
-
//
|
|
104
|
-
//--------------------------------------------------------------------------
|
|
105
|
-
this.effectiveLocale = "";
|
|
106
75
|
//--------------------------------------------------------------------------
|
|
107
76
|
//
|
|
108
77
|
// Private Methods
|
|
@@ -297,6 +266,33 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
297
266
|
}
|
|
298
267
|
this.calciteDatePickerChange.emit(date);
|
|
299
268
|
};
|
|
269
|
+
this.activeDate = undefined;
|
|
270
|
+
this.activeRange = undefined;
|
|
271
|
+
this.value = undefined;
|
|
272
|
+
this.headingLevel = undefined;
|
|
273
|
+
this.valueAsDate = undefined;
|
|
274
|
+
this.startAsDate = undefined;
|
|
275
|
+
this.endAsDate = undefined;
|
|
276
|
+
this.minAsDate = undefined;
|
|
277
|
+
this.maxAsDate = undefined;
|
|
278
|
+
this.min = undefined;
|
|
279
|
+
this.max = undefined;
|
|
280
|
+
this.intlPrevMonth = TEXT.prevMonth;
|
|
281
|
+
this.intlNextMonth = TEXT.nextMonth;
|
|
282
|
+
this.intlYear = TEXT.year;
|
|
283
|
+
this.locale = undefined;
|
|
284
|
+
this.numberingSystem = undefined;
|
|
285
|
+
this.scale = "m";
|
|
286
|
+
this.range = false;
|
|
287
|
+
this.start = undefined;
|
|
288
|
+
this.end = undefined;
|
|
289
|
+
this.proximitySelectionDisabled = false;
|
|
290
|
+
this.activeStartDate = undefined;
|
|
291
|
+
this.activeEndDate = undefined;
|
|
292
|
+
this.globalAttributes = {};
|
|
293
|
+
this.effectiveLocale = "";
|
|
294
|
+
this.localeData = undefined;
|
|
295
|
+
this.hoverRange = undefined;
|
|
300
296
|
}
|
|
301
297
|
activeDateWatcher(newActiveDate) {
|
|
302
298
|
if (this.activeRange === "end") {
|
package/dist/components/date.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { n as numberStringFormatter } from './locale.js';
|
|
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.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
package/dist/components/dom.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement } from './dom.js';
|
|
8
|
-
import {
|
|
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.js';
|
|
9
9
|
import { c as createObserver } from './observers.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
11
11
|
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent.js';
|
|
@@ -28,56 +28,6 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
28
28
|
this.calciteDropdownClose = createEvent(this, "calciteDropdownClose", 6);
|
|
29
29
|
this.calciteDropdownBeforeOpen = createEvent(this, "calciteDropdownBeforeOpen", 6);
|
|
30
30
|
this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen", 6);
|
|
31
|
-
//--------------------------------------------------------------------------
|
|
32
|
-
//
|
|
33
|
-
// Public Properties
|
|
34
|
-
//
|
|
35
|
-
//--------------------------------------------------------------------------
|
|
36
|
-
/**
|
|
37
|
-
* Opens or closes the dropdown
|
|
38
|
-
*
|
|
39
|
-
* @deprecated use open instead.
|
|
40
|
-
*/
|
|
41
|
-
this.active = false;
|
|
42
|
-
/** When true, opens the dropdown */
|
|
43
|
-
this.open = false;
|
|
44
|
-
/**
|
|
45
|
-
allow the dropdown to remain open after a selection is made
|
|
46
|
-
if the selection-mode of the selected item's containing group is "none", the dropdown will always close
|
|
47
|
-
*/
|
|
48
|
-
this.disableCloseOnSelect = false;
|
|
49
|
-
/** is the dropdown disabled */
|
|
50
|
-
this.disabled = false;
|
|
51
|
-
/**
|
|
52
|
-
specify the maximum number of calcite-dropdown-items to display before showing the scroller, must be greater than 0 -
|
|
53
|
-
this value does not include groupTitles passed to calcite-dropdown-group
|
|
54
|
-
*/
|
|
55
|
-
this.maxItems = 0;
|
|
56
|
-
/**
|
|
57
|
-
* Determines the type of positioning to use for the overlaid content.
|
|
58
|
-
*
|
|
59
|
-
* Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
|
|
60
|
-
*
|
|
61
|
-
* `"fixed"` should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
this.overlayPositioning = "absolute";
|
|
65
|
-
/**
|
|
66
|
-
* Determines where the dropdown will be positioned relative to the button.
|
|
67
|
-
*
|
|
68
|
-
* @default "bottom-start"
|
|
69
|
-
*/
|
|
70
|
-
this.placement = defaultMenuPlacement;
|
|
71
|
-
/** specify the scale of dropdown, defaults to m */
|
|
72
|
-
this.scale = "m";
|
|
73
|
-
/**
|
|
74
|
-
* **read-only** The currently selected items
|
|
75
|
-
*
|
|
76
|
-
* @readonly
|
|
77
|
-
*/
|
|
78
|
-
this.selectedItems = [];
|
|
79
|
-
/** specify whether the dropdown is opened by hover or click of a trigger element */
|
|
80
|
-
this.type = "click";
|
|
81
31
|
this.items = [];
|
|
82
32
|
this.groups = [];
|
|
83
33
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
@@ -209,6 +159,18 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
209
159
|
this.el.addEventListener("calciteDropdownOpen", this.toggleOpenEnd);
|
|
210
160
|
}
|
|
211
161
|
};
|
|
162
|
+
this.active = false;
|
|
163
|
+
this.open = false;
|
|
164
|
+
this.disableCloseOnSelect = false;
|
|
165
|
+
this.disabled = false;
|
|
166
|
+
this.flipPlacements = undefined;
|
|
167
|
+
this.maxItems = 0;
|
|
168
|
+
this.overlayPositioning = "absolute";
|
|
169
|
+
this.placement = defaultMenuPlacement;
|
|
170
|
+
this.scale = "m";
|
|
171
|
+
this.selectedItems = [];
|
|
172
|
+
this.type = "click";
|
|
173
|
+
this.width = undefined;
|
|
212
174
|
}
|
|
213
175
|
activeHandler(value) {
|
|
214
176
|
this.open = value;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as focusElement } from './dom.js';
|
|
@@ -37,34 +37,6 @@ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
37
37
|
this.calciteFilterChange = createEvent(this, "calciteFilterChange", 6);
|
|
38
38
|
// --------------------------------------------------------------------------
|
|
39
39
|
//
|
|
40
|
-
// Properties
|
|
41
|
-
//
|
|
42
|
-
// --------------------------------------------------------------------------
|
|
43
|
-
/**
|
|
44
|
-
* The items to filter through. The filter uses this as the starting point, and returns items
|
|
45
|
-
* that contain the string entered in the input, using a partial match and recursive search.
|
|
46
|
-
*
|
|
47
|
-
* This property is required.
|
|
48
|
-
*/
|
|
49
|
-
this.items = [];
|
|
50
|
-
/**
|
|
51
|
-
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
52
|
-
*/
|
|
53
|
-
this.disabled = false;
|
|
54
|
-
/**
|
|
55
|
-
* The resulting items after filtering.
|
|
56
|
-
*
|
|
57
|
-
* @readonly
|
|
58
|
-
*/
|
|
59
|
-
this.filteredItems = [];
|
|
60
|
-
/** specify the scale of filter, defaults to m */
|
|
61
|
-
this.scale = "m";
|
|
62
|
-
/**
|
|
63
|
-
* Filter value.
|
|
64
|
-
*/
|
|
65
|
-
this.value = "";
|
|
66
|
-
// --------------------------------------------------------------------------
|
|
67
|
-
//
|
|
68
40
|
// Private Methods
|
|
69
41
|
//
|
|
70
42
|
// --------------------------------------------------------------------------
|
|
@@ -88,6 +60,14 @@ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
88
60
|
this.filter("", true);
|
|
89
61
|
this.setFocus();
|
|
90
62
|
};
|
|
63
|
+
this.items = [];
|
|
64
|
+
this.disabled = false;
|
|
65
|
+
this.filteredItems = [];
|
|
66
|
+
this.intlClear = undefined;
|
|
67
|
+
this.intlLabel = undefined;
|
|
68
|
+
this.placeholder = undefined;
|
|
69
|
+
this.scale = "m";
|
|
70
|
+
this.value = "";
|
|
91
71
|
}
|
|
92
72
|
watchItemsHandler() {
|
|
93
73
|
this.filter(this.value);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
|
|
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.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { c as getElementDir, o as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
import { Build } from '@stencil/core/internal/client/index.js';
|
|
@@ -101,6 +101,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
101
101
|
middleware = [],
|
|
102
102
|
platform
|
|
103
103
|
} = config;
|
|
104
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
104
105
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
105
106
|
|
|
106
107
|
let rects = await platform.getElementRects({
|
|
@@ -116,11 +117,11 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
116
117
|
let middlewareData = {};
|
|
117
118
|
let resetCount = 0;
|
|
118
119
|
|
|
119
|
-
for (let i = 0; i <
|
|
120
|
+
for (let i = 0; i < validMiddleware.length; i++) {
|
|
120
121
|
const {
|
|
121
122
|
name,
|
|
122
123
|
fn
|
|
123
|
-
} =
|
|
124
|
+
} = validMiddleware[i];
|
|
124
125
|
const {
|
|
125
126
|
x: nextX,
|
|
126
127
|
y: nextY,
|
|
@@ -865,7 +866,7 @@ function getNodeName(node) {
|
|
|
865
866
|
function getUAString() {
|
|
866
867
|
const uaData = navigator.userAgentData;
|
|
867
868
|
|
|
868
|
-
if (uaData
|
|
869
|
+
if (uaData && Array.isArray(uaData.brands)) {
|
|
869
870
|
return uaData.brands.map(item => item.brand + "/" + item.version).join(' ');
|
|
870
871
|
}
|
|
871
872
|
|
|
@@ -906,11 +907,12 @@ function isTableElement(element) {
|
|
|
906
907
|
function isContainingBlock(element) {
|
|
907
908
|
// TODO: Try and use feature detection here instead
|
|
908
909
|
const isFirefox = /firefox/i.test(getUAString());
|
|
909
|
-
const css = getComputedStyle(element);
|
|
910
|
+
const css = getComputedStyle(element);
|
|
911
|
+
const backdropFilter = css.backdropFilter || css.WebkitBackdropFilter; // This is non-exhaustive but covers the most common CSS properties that
|
|
910
912
|
// create a containing block.
|
|
911
913
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
912
914
|
|
|
913
|
-
return css.transform !== 'none' || css.perspective !== 'none' || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective'].some(value => css.willChange.includes(value)) || ['paint', 'layout', 'strict', 'content'].some( // TS 4.1 compat
|
|
915
|
+
return css.transform !== 'none' || css.perspective !== 'none' || (backdropFilter ? backdropFilter !== 'none' : false) || isFirefox && css.willChange === 'filter' || isFirefox && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective'].some(value => css.willChange.includes(value)) || ['paint', 'layout', 'strict', 'content'].some( // TS 4.1 compat
|
|
914
916
|
value => {
|
|
915
917
|
const contain = css.contain;
|
|
916
918
|
return contain != null ? contain.includes(value) : false;
|
|
@@ -1040,14 +1042,12 @@ function getParentNode(node) {
|
|
|
1040
1042
|
return node;
|
|
1041
1043
|
}
|
|
1042
1044
|
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
);
|
|
1045
|
+
const result = // Step into the shadow DOM of the parent of a slotted node
|
|
1046
|
+
node.assignedSlot || // DOM Element detected
|
|
1047
|
+
node.parentNode || ( // ShadowRoot detected
|
|
1048
|
+
isShadowRoot(node) ? node.host : null) || // Fallback
|
|
1049
|
+
getDocumentElement(node);
|
|
1050
|
+
return isShadowRoot(result) ? result.host : result;
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
1053
|
function getTrueOffsetParent(element) {
|
|
@@ -1061,16 +1061,11 @@ function getTrueOffsetParent(element) {
|
|
|
1061
1061
|
function getContainingBlock(element) {
|
|
1062
1062
|
let currentNode = getParentNode(element);
|
|
1063
1063
|
|
|
1064
|
-
if (isShadowRoot(currentNode)) {
|
|
1065
|
-
currentNode = currentNode.host;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
1064
|
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1069
1065
|
if (isContainingBlock(currentNode)) {
|
|
1070
1066
|
return currentNode;
|
|
1071
1067
|
} else {
|
|
1072
|
-
|
|
1073
|
-
currentNode = isShadowRoot(parent) ? parent.host : parent;
|
|
1068
|
+
currentNode = getParentNode(currentNode);
|
|
1074
1069
|
}
|
|
1075
1070
|
}
|
|
1076
1071
|
|
|
@@ -1237,45 +1232,6 @@ function getOverflowAncestors(node, list) {
|
|
|
1237
1232
|
updatedList.concat(getOverflowAncestors(target));
|
|
1238
1233
|
}
|
|
1239
1234
|
|
|
1240
|
-
function contains(parent, child) {
|
|
1241
|
-
const rootNode = child.getRootNode == null ? void 0 : child.getRootNode(); // First, attempt with faster native method
|
|
1242
|
-
|
|
1243
|
-
if (parent.contains(child)) {
|
|
1244
|
-
return true;
|
|
1245
|
-
} // then fallback to custom implementation with Shadow DOM support
|
|
1246
|
-
else if (rootNode && isShadowRoot(rootNode)) {
|
|
1247
|
-
let next = child;
|
|
1248
|
-
|
|
1249
|
-
do {
|
|
1250
|
-
// use `===` replace node.isSameNode()
|
|
1251
|
-
if (next && parent === next) {
|
|
1252
|
-
return true;
|
|
1253
|
-
} // @ts-ignore: need a better way to handle this...
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
next = next.parentNode || next.host;
|
|
1257
|
-
} while (next);
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
return false;
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
function getNearestParentCapableOfEscapingClipping(element, clippingAncestors) {
|
|
1264
|
-
let currentNode = element;
|
|
1265
|
-
|
|
1266
|
-
while (currentNode && !isLastTraversableNode(currentNode) && // @ts-expect-error
|
|
1267
|
-
!clippingAncestors.includes(currentNode)) {
|
|
1268
|
-
if (isElement(currentNode) && ['absolute', 'fixed'].includes(getComputedStyle(currentNode).position)) {
|
|
1269
|
-
break;
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
const parentNode = getParentNode(currentNode);
|
|
1273
|
-
currentNode = isShadowRoot(parentNode) ? parentNode.host : parentNode;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
return currentNode;
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
1235
|
function getInnerBoundingClientRect(element, strategy) {
|
|
1280
1236
|
const clientRect = getBoundingClientRect(element, false, strategy === 'fixed');
|
|
1281
1237
|
const top = clientRect.top + element.clientTop;
|
|
@@ -1292,13 +1248,13 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1292
1248
|
};
|
|
1293
1249
|
}
|
|
1294
1250
|
|
|
1295
|
-
function getClientRectFromClippingAncestor(element,
|
|
1296
|
-
if (
|
|
1251
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1252
|
+
if (clippingAncestor === 'viewport') {
|
|
1297
1253
|
return rectToClientRect(getViewportRect(element, strategy));
|
|
1298
1254
|
}
|
|
1299
1255
|
|
|
1300
|
-
if (isElement(
|
|
1301
|
-
return getInnerBoundingClientRect(
|
|
1256
|
+
if (isElement(clippingAncestor)) {
|
|
1257
|
+
return getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1302
1258
|
}
|
|
1303
1259
|
|
|
1304
1260
|
return rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
@@ -1307,27 +1263,29 @@ function getClientRectFromClippingAncestor(element, clippingParent, strategy) {
|
|
|
1307
1263
|
// `initial`
|
|
1308
1264
|
|
|
1309
1265
|
|
|
1310
|
-
function
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1266
|
+
function getClippingElementAncestors(element) {
|
|
1267
|
+
let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1268
|
+
let currentContainingBlockComputedStyle = null;
|
|
1269
|
+
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1270
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element; // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1314
1271
|
|
|
1315
|
-
|
|
1316
|
-
const
|
|
1272
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1273
|
+
const computedStyle = getComputedStyle(currentNode);
|
|
1274
|
+
const containingBlock = isContainingBlock(currentNode);
|
|
1275
|
+
const shouldDropCurrentNode = elementIsFixed ? !containingBlock && !currentContainingBlockComputedStyle : !containingBlock && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position);
|
|
1317
1276
|
|
|
1318
|
-
if (
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1277
|
+
if (shouldDropCurrentNode) {
|
|
1278
|
+
// Drop non-containing blocks
|
|
1279
|
+
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1280
|
+
} else {
|
|
1281
|
+
// Record last containing block for next iteration
|
|
1282
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1322
1283
|
}
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
if (!isElement(clipperElement)) {
|
|
1326
|
-
return [];
|
|
1327
|
-
} // @ts-ignore isElement check ensures we return Array<Element>
|
|
1328
1284
|
|
|
1285
|
+
currentNode = getParentNode(currentNode);
|
|
1286
|
+
}
|
|
1329
1287
|
|
|
1330
|
-
return
|
|
1288
|
+
return result;
|
|
1331
1289
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
1332
1290
|
// clipping ancestors
|
|
1333
1291
|
|
|
@@ -1339,8 +1297,8 @@ function getClippingRect(_ref) {
|
|
|
1339
1297
|
rootBoundary,
|
|
1340
1298
|
strategy
|
|
1341
1299
|
} = _ref;
|
|
1342
|
-
const
|
|
1343
|
-
const clippingAncestors = [...
|
|
1300
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element) : [].concat(boundary);
|
|
1301
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1344
1302
|
const firstClippingAncestor = clippingAncestors[0];
|
|
1345
1303
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1346
1304
|
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
@@ -1365,20 +1323,25 @@ const platform = {
|
|
|
1365
1323
|
getDimensions,
|
|
1366
1324
|
getOffsetParent,
|
|
1367
1325
|
getDocumentElement,
|
|
1368
|
-
|
|
1326
|
+
|
|
1327
|
+
async getElementRects(_ref) {
|
|
1369
1328
|
let {
|
|
1370
1329
|
reference,
|
|
1371
1330
|
floating,
|
|
1372
1331
|
strategy
|
|
1373
1332
|
} = _ref;
|
|
1333
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1334
|
+
const getDimensionsFn = this.getDimensions;
|
|
1374
1335
|
return {
|
|
1375
|
-
reference: getRectRelativeToOffsetParent(reference,
|
|
1376
|
-
floating: {
|
|
1336
|
+
reference: getRectRelativeToOffsetParent(reference, await getOffsetParentFn(floating), strategy),
|
|
1337
|
+
floating: {
|
|
1377
1338
|
x: 0,
|
|
1378
|
-
y: 0
|
|
1339
|
+
y: 0,
|
|
1340
|
+
...(await getDimensionsFn(floating))
|
|
1379
1341
|
}
|
|
1380
1342
|
};
|
|
1381
1343
|
},
|
|
1344
|
+
|
|
1382
1345
|
getClientRects: element => Array.from(element.getClientRects()),
|
|
1383
1346
|
isRTL: element => getComputedStyle(element).direction === 'rtl'
|
|
1384
1347
|
};
|
|
@@ -1399,7 +1362,7 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1399
1362
|
animationFrame = false
|
|
1400
1363
|
} = options;
|
|
1401
1364
|
const ancestorScroll = _ancestorScroll && !animationFrame;
|
|
1402
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : []), ...getOverflowAncestors(floating)] : [];
|
|
1365
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : reference.contextElement ? getOverflowAncestors(reference.contextElement) : []), ...getOverflowAncestors(floating)] : [];
|
|
1403
1366
|
ancestors.forEach(ancestor => {
|
|
1404
1367
|
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
1405
1368
|
passive: true
|
|
@@ -1418,6 +1381,11 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1418
1381
|
initialUpdate = false;
|
|
1419
1382
|
});
|
|
1420
1383
|
isElement(reference) && !animationFrame && observer.observe(reference);
|
|
1384
|
+
|
|
1385
|
+
if (!isElement(reference) && reference.contextElement && !animationFrame) {
|
|
1386
|
+
observer.observe(reference.contextElement);
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1421
1389
|
observer.observe(floating);
|
|
1422
1390
|
}
|
|
1423
1391
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { f as focusElement } from './dom.js';
|
|
7
7
|
|
package/dist/components/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { o as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
import { h } from '@stencil/core/internal/client/index.js';
|
package/dist/components/graph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.648
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -143,21 +143,17 @@ const Graph = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
143
143
|
this.__attachShadow();
|
|
144
144
|
//--------------------------------------------------------------------------
|
|
145
145
|
//
|
|
146
|
-
// Properties
|
|
147
|
-
//
|
|
148
|
-
//--------------------------------------------------------------------------
|
|
149
|
-
/**
|
|
150
|
-
* Array of tuples describing a single data point ([x, y])
|
|
151
|
-
* These data points should be sorted by x-axis value
|
|
152
|
-
*/
|
|
153
|
-
this.data = [];
|
|
154
|
-
//--------------------------------------------------------------------------
|
|
155
|
-
//
|
|
156
146
|
// Private State/Props
|
|
157
147
|
//
|
|
158
148
|
//--------------------------------------------------------------------------
|
|
159
149
|
this.graphId = `calcite-graph-${guid()}`;
|
|
160
150
|
this.resizeObserver = createObserver("resize", () => forceUpdate(this));
|
|
151
|
+
this.data = [];
|
|
152
|
+
this.colorStops = undefined;
|
|
153
|
+
this.highlightMin = undefined;
|
|
154
|
+
this.highlightMax = undefined;
|
|
155
|
+
this.min = undefined;
|
|
156
|
+
this.max = undefined;
|
|
161
157
|
}
|
|
162
158
|
//--------------------------------------------------------------------------
|
|
163
159
|
//
|