@esri/calcite-components 1.5.0-next.33 → 1.5.0-next.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-463de8c1.entry.js → p-02112900.entry.js} +2 -2
- package/dist/calcite/{p-091dbbd7.entry.js → p-03eadc59.entry.js} +2 -2
- package/dist/calcite/{p-e7563dad.js → p-052501d3.js} +2 -2
- package/dist/calcite/{p-3ad8b490.js → p-09ecd579.js} +2 -2
- package/dist/calcite/{p-1b72ab33.entry.js → p-0b236cc5.entry.js} +2 -2
- package/dist/calcite/{p-22110b54.js → p-10ba1385.js} +2 -2
- package/dist/calcite/{p-323e5103.js → p-142adcff.js} +2 -2
- package/dist/calcite/{p-b8ba593c.js → p-1439c5f0.js} +2 -2
- package/dist/calcite/{p-21bf7b5c.js → p-150248ad.js} +2 -2
- package/dist/calcite/{p-737aab71.js → p-1be48f45.js} +2 -2
- package/dist/calcite/{p-27c0f850.entry.js → p-1c4c382a.entry.js} +2 -2
- package/dist/calcite/{p-4bd148dc.entry.js → p-203c7db6.entry.js} +2 -2
- package/dist/calcite/p-212bf266.entry.js +6 -0
- package/dist/calcite/{p-e42159e1.js → p-213a7cf1.js} +2 -2
- package/dist/calcite/{p-3ee89152.entry.js → p-2213dd08.entry.js} +2 -2
- package/dist/calcite/{p-eed9d444.js → p-25793125.js} +2 -2
- package/dist/calcite/{p-2de3b240.entry.js → p-26603abc.entry.js} +2 -2
- package/dist/calcite/{p-fec87269.entry.js → p-27da5f0a.entry.js} +2 -2
- package/dist/calcite/{p-9ee73800.js → p-2926b951.js} +2 -2
- package/dist/calcite/{p-94b86699.js → p-2930aaf0.js} +2 -2
- package/dist/calcite/{p-dfc34aa3.js → p-2a99991c.js} +2 -2
- package/dist/calcite/{p-dd497372.entry.js → p-2f0d5864.entry.js} +2 -2
- package/dist/calcite/{p-e068ae4d.entry.js → p-2fd15e9b.entry.js} +2 -2
- package/dist/calcite/{p-b4532a3a.js → p-31d202b4.js} +2 -2
- package/dist/calcite/{p-6f73ebe1.entry.js → p-32e8902b.entry.js} +2 -2
- package/dist/calcite/{p-49c2c379.entry.js → p-33116a29.entry.js} +2 -2
- package/dist/calcite/p-35b07beb.entry.js +6 -0
- package/dist/calcite/{p-a38fba0a.js → p-36b2aaf8.js} +2 -2
- package/dist/calcite/p-3a06cc84.js +6 -0
- package/dist/calcite/p-3a2af43c.js +6 -0
- package/dist/calcite/{p-59f7d363.js → p-3ecdda82.js} +2 -2
- package/dist/calcite/{p-684ef03f.js → p-464757c5.js} +2 -2
- package/dist/calcite/{p-200aee9f.entry.js → p-473461e2.entry.js} +2 -2
- package/dist/calcite/{p-ca00463a.js → p-48dd08ea.js} +1 -1
- package/dist/calcite/{p-46862432.js → p-4a8579be.js} +2 -2
- package/dist/calcite/{p-a9aaa00b.entry.js → p-4bc12a11.entry.js} +2 -2
- package/dist/calcite/{p-3d98ba90.entry.js → p-4c5793a1.entry.js} +2 -2
- package/dist/calcite/{p-847ce3f9.js → p-4cd49f1a.js} +2 -2
- package/dist/calcite/{p-5ce232c4.entry.js → p-514b19b5.entry.js} +2 -2
- package/dist/calcite/{p-5fe811c1.entry.js → p-52677d16.entry.js} +2 -2
- package/dist/calcite/{p-2b44ac36.js → p-54e00e84.js} +2 -2
- package/dist/calcite/{p-436526c4.entry.js → p-5596ede7.entry.js} +2 -2
- package/dist/calcite/{p-1003cb7c.entry.js → p-563637e6.entry.js} +2 -2
- package/dist/calcite/{p-6dd1b8b6.js → p-576afa84.js} +2 -2
- package/dist/calcite/{p-6e5f5f22.js → p-57a97c59.js} +2 -2
- package/dist/calcite/{p-8ab739af.js → p-5857848c.js} +2 -2
- package/dist/calcite/{p-2da4e900.entry.js → p-59c14c65.entry.js} +2 -2
- package/dist/calcite/{p-8aa5cd7c.js → p-59fe6ac1.js} +2 -2
- package/dist/calcite/{p-231bd78e.js → p-5aaf9db4.js} +2 -2
- package/dist/calcite/{p-99e81557.js → p-5ce86e4d.js} +2 -2
- package/dist/calcite/{p-f1739946.entry.js → p-5dbc541e.entry.js} +2 -2
- package/dist/calcite/{p-151053f8.entry.js → p-601cb9ba.entry.js} +2 -2
- package/dist/calcite/{p-716e1a77.entry.js → p-60e730ea.entry.js} +2 -2
- package/dist/calcite/{p-dd8263be.js → p-646a69ae.js} +2 -2
- package/dist/calcite/{p-2066108e.entry.js → p-64a354cc.entry.js} +2 -2
- package/dist/calcite/{p-45e6727f.js → p-64b5fc65.js} +2 -2
- package/dist/calcite/{p-7653808a.entry.js → p-6566621d.entry.js} +2 -2
- package/dist/calcite/{p-ca757637.js → p-661b17c3.js} +2 -2
- package/dist/calcite/{p-3ee4ba7f.entry.js → p-67c5aee3.entry.js} +2 -2
- package/dist/calcite/{p-21bc1a86.js → p-6842f54b.js} +2 -2
- package/dist/calcite/{p-1fabdd5f.js → p-6b58fad7.js} +1 -1
- package/dist/calcite/{p-29be3ae1.js → p-6bcf2c81.js} +2 -2
- package/dist/calcite/{p-ead8a5dc.entry.js → p-6ca62068.entry.js} +2 -2
- package/dist/calcite/{p-e9d6f4a7.entry.js → p-6cb6d422.entry.js} +2 -2
- package/dist/calcite/{p-22ea6652.js → p-6cdb7cd9.js} +2 -2
- package/dist/calcite/{p-5ac97c69.js → p-6f488236.js} +2 -2
- package/dist/calcite/{p-8adbf7de.entry.js → p-706a7a9f.entry.js} +2 -2
- package/dist/calcite/{p-f3e73100.js → p-715379c5.js} +2 -2
- package/dist/calcite/{p-42bd7473.js → p-73d578e9.js} +2 -2
- package/dist/calcite/{p-7aa0a673.js → p-789cf8f6.js} +2 -2
- package/dist/calcite/{p-8c86c36b.js → p-78d7ac59.js} +2 -2
- package/dist/calcite/{p-637ebe71.js → p-794edb71.js} +1 -1
- package/dist/calcite/{p-69437163.entry.js → p-7e552559.entry.js} +2 -2
- package/dist/calcite/{p-088880eb.js → p-7e719f75.js} +1 -1
- package/dist/calcite/{p-ee23da80.js → p-7f50e3a5.js} +2 -2
- package/dist/calcite/{p-39a0f3b8.entry.js → p-81855eda.entry.js} +2 -2
- package/dist/calcite/p-8908ebd6.js +6 -0
- package/dist/calcite/{p-28348a68.js → p-8b15b5eb.js} +2 -2
- package/dist/calcite/p-8b4a1ba6.entry.js +6 -0
- package/dist/calcite/{p-7308e7ee.entry.js → p-8b7e6c91.entry.js} +2 -2
- package/dist/calcite/{p-6ac97fc5.entry.js → p-8b8f26af.entry.js} +2 -2
- package/dist/calcite/{p-a8fd9835.js → p-8bc14bae.js} +2 -2
- package/dist/calcite/{p-71c12225.entry.js → p-9098772b.entry.js} +2 -2
- package/dist/calcite/p-91fb43c5.entry.js +6 -0
- package/dist/calcite/p-948bea2f.entry.js +6 -0
- package/dist/calcite/{p-71d2f324.entry.js → p-9626c54f.entry.js} +2 -2
- package/dist/calcite/{p-ba2ef109.js → p-97f174e6.js} +2 -2
- package/dist/calcite/{p-907b36c2.entry.js → p-989ae9ff.entry.js} +2 -2
- package/dist/calcite/{p-74fea7f7.js → p-9be3bf14.js} +2 -2
- package/dist/calcite/{p-38f8ff8f.js → p-9c483171.js} +1 -1
- package/dist/calcite/{p-cf87e0e4.js → p-9f698c3e.js} +2 -2
- package/dist/calcite/p-a0b46caa.entry.js +6 -0
- package/dist/calcite/{p-829c8ad5.js → p-a0e97ebc.js} +2 -2
- package/dist/calcite/{p-00299baa.js → p-a14be4ef.js} +2 -2
- package/dist/calcite/{p-6d3a7a5b.js → p-a48242ee.js} +1 -1
- package/dist/calcite/{p-78ca925b.entry.js → p-a4f2a453.entry.js} +2 -2
- package/dist/calcite/{p-25029672.js → p-a50cf1dd.js} +1 -1
- package/dist/calcite/{p-8765a1b9.entry.js → p-a7c5dda4.entry.js} +2 -2
- package/dist/calcite/{p-4135e1ed.entry.js → p-a88c525b.entry.js} +2 -2
- package/dist/calcite/p-a90a03de.js +6 -0
- package/dist/calcite/{p-5d72d15e.js → p-a963e03f.js} +1 -1
- package/dist/calcite/p-ab0af5c0.entry.js +6 -0
- package/dist/calcite/{p-0405583e.entry.js → p-b3c1cd9c.entry.js} +2 -2
- package/dist/calcite/{p-98c3b092.js → p-b5f308c8.js} +2 -2
- package/dist/calcite/{p-e5154823.js → p-b8d6f5fc.js} +2 -2
- package/dist/calcite/{p-044f3dfb.entry.js → p-bb0076f6.entry.js} +2 -2
- package/dist/calcite/{p-1e2bdf2d.js → p-bb5a540b.js} +2 -2
- package/dist/calcite/{p-5dc95233.entry.js → p-bc10ae1f.entry.js} +2 -2
- package/dist/calcite/{p-8d92ca31.js → p-c190285e.js} +1 -1
- package/dist/calcite/{p-e35e2899.entry.js → p-c58cbe08.entry.js} +2 -2
- package/dist/calcite/{p-5f572b97.entry.js → p-c61fe6a9.entry.js} +2 -2
- package/dist/calcite/{p-2eb44dc9.js → p-c6fbab69.js} +2 -2
- package/dist/calcite/{p-a12b0fc0.entry.js → p-c7caaad0.entry.js} +2 -2
- package/dist/calcite/{p-fb0d85f5.js → p-c9c3203e.js} +1 -1
- package/dist/calcite/p-ca12be0e.entry.js +6 -0
- package/dist/calcite/{p-a0703c57.js → p-cae0457c.js} +2 -2
- package/dist/calcite/{p-6bae5203.entry.js → p-cc9dee38.entry.js} +2 -2
- package/dist/calcite/{p-2cd6c221.js → p-cd296143.js} +2 -2
- package/dist/calcite/{p-f7083ce8.js → p-cf915d4d.js} +2 -2
- package/dist/calcite/{p-31cb398f.entry.js → p-d031cdc5.entry.js} +2 -2
- package/dist/calcite/{p-4d894bbc.entry.js → p-d2667670.entry.js} +2 -2
- package/dist/calcite/{p-7bb30023.js → p-d5c970b5.js} +2 -2
- package/dist/calcite/{p-5a9806bd.entry.js → p-d607cd60.entry.js} +2 -2
- package/dist/calcite/{p-461ad99b.js → p-d6fbdd98.js} +2 -2
- package/dist/calcite/{p-959d8ae0.entry.js → p-d702c3c4.entry.js} +2 -2
- package/dist/calcite/{p-688c037f.js → p-d942a8d3.js} +2 -2
- package/dist/calcite/{p-5219431b.js → p-da0b8328.js} +2 -2
- package/dist/calcite/{p-d2b08524.js → p-da889e25.js} +1 -1
- package/dist/calcite/p-dacf4f71.entry.js +6 -0
- package/dist/calcite/{p-d5d09a72.js → p-dbb5254e.js} +2 -2
- package/dist/calcite/{p-a58bcb13.js → p-dd6be7cc.js} +2 -2
- package/dist/calcite/{p-1cc3ef83.js → p-e18f2022.js} +2 -2
- package/dist/calcite/{p-9deca461.js → p-e255ca68.js} +2 -2
- package/dist/calcite/{p-f7c2271e.entry.js → p-e48ad234.entry.js} +2 -2
- package/dist/calcite/{p-5941044d.entry.js → p-e52c491b.entry.js} +2 -2
- package/dist/calcite/{p-ec6eb613.entry.js → p-e5ff5f8c.entry.js} +2 -2
- package/dist/calcite/{p-50c03db4.entry.js → p-e6f76699.entry.js} +2 -2
- package/dist/calcite/p-e804b50a.entry.js +6 -0
- package/dist/calcite/p-ea32636b.js +6 -0
- package/dist/calcite/{p-31ef3288.js → p-eec357bc.js} +1 -1
- package/dist/calcite/{p-68b65249.js → p-ef7200f3.js} +1 -1
- package/dist/calcite/{p-b99ea020.js → p-f107904f.js} +2 -2
- package/dist/calcite/{p-70b7c81b.js → p-f21b88d0.js} +2 -2
- package/dist/calcite/{p-e289d257.js → p-f27df2a7.js} +2 -2
- package/dist/calcite/p-f480fa99.entry.js +6 -0
- package/dist/calcite/p-f55909c9.js +6 -0
- package/dist/calcite/{p-a47d4355.entry.js → p-f67b69cf.entry.js} +2 -2
- package/dist/calcite/{p-0ea99d16.js → p-f9ef2231.js} +2 -2
- package/dist/calcite/{p-5799e874.js → p-fc0c9a9a.js} +1 -1
- package/dist/calcite/{p-182025cc.js → p-ff24dce2.js} +2 -2
- package/dist/cjs/{ExpandToggle-490c82da.js → ExpandToggle-7a6a13ab.js} +5 -5
- package/dist/cjs/{FloatingArrow-77dba9d4.js → FloatingArrow-e1a56c97.js} +2 -2
- package/dist/cjs/{Heading-7e80448c.js → Heading-90dc87d1.js} +2 -2
- package/dist/cjs/{app-globals-f10e9902.js → app-globals-0ed26d73.js} +2 -2
- package/dist/cjs/{ar-91c541a9.js → ar-8b94143e.js} +15 -15
- package/dist/cjs/{array-49bc14b4.js → array-65c78c3f.js} +1 -1
- package/dist/cjs/{bg-ca57e165.js → bg-aa2fc5b5.js} +15 -15
- package/dist/cjs/{bs-bc49dd0a.js → bs-96f628a1.js} +15 -15
- package/dist/cjs/{ca-0f7055c9.js → ca-f427e14b.js} +15 -15
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +45 -26
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +30 -16
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
- package/dist/cjs/{calcite-input-time-picker.calcite-time-picker-33763337.js → calcite-input-time-picker.calcite-time-picker-155ad9a2.js} +60 -60
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-navigation_3.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stack.cjs.entry.js +6 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +12 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-4728a584.js → conditionalSlot-cf83758b.js} +3 -3
- package/dist/cjs/{cs-da0769f0.js → cs-23c98f06.js} +15 -15
- package/dist/cjs/{da-e41fa73a.js → da-ae605043.js} +15 -15
- package/dist/cjs/{de-5ae1c7ff.js → de-ae91fb72.js} +15 -15
- package/dist/cjs/{de-at-20d7faea.js → de-at-45437b91.js} +15 -15
- package/dist/cjs/{de-ch-004b8342.js → de-ch-28b11d73.js} +15 -15
- package/dist/cjs/{debounce-05f39503.js → debounce-5ca2785d.js} +1 -1
- package/dist/cjs/{dom-ebd4da1d.js → dom-1e93aa4d.js} +3 -3
- package/dist/cjs/{el-5f7951d4.js → el-83e69dc6.js} +15 -15
- package/dist/cjs/{en-au-f61cd8c7.js → en-au-bc94cceb.js} +15 -15
- package/dist/cjs/{en-ca-ff52af59.js → en-ca-2aa29c87.js} +15 -15
- package/dist/cjs/{en-gb-c668a4b2.js → en-gb-4284db08.js} +15 -15
- package/dist/cjs/{es-8e10f566.js → es-1800e343.js} +15 -15
- package/dist/cjs/{es-mx-68d2a780.js → es-mx-d47605ec.js} +15 -15
- package/dist/cjs/{et-9798fe72.js → et-50d36917.js} +15 -15
- package/dist/cjs/{fi-b979b935.js → fi-d3c44359.js} +15 -15
- package/dist/cjs/{filter-9a7555fe.js → filter-10184335.js} +2 -2
- package/dist/cjs/{floating-ui-dc66e83d.js → floating-ui-3cb6840f.js} +3 -3
- package/dist/cjs/{focusTrapComponent-0aa065f8.js → focusTrapComponent-e8b02d4b.js} +2 -2
- package/dist/cjs/{form-c2d248bd.js → form-3b5bf150.js} +3 -3
- package/dist/cjs/{fr-ch-6fabdedc.js → fr-ch-433477c8.js} +15 -15
- package/dist/cjs/{fr-d41e7326.js → fr-d260100f.js} +15 -15
- package/dist/cjs/{guid-47a9f7dc.js → guid-19af6739.js} +1 -1
- package/dist/cjs/{he-31d9179e.js → he-e38a6102.js} +15 -15
- package/dist/cjs/{hi-8f331430.js → hi-709f261f.js} +15 -15
- package/dist/cjs/{hr-c3f405aa.js → hr-b4f0657a.js} +15 -15
- package/dist/cjs/{hu-85a1ae22.js → hu-6f5e6937.js} +15 -15
- package/dist/cjs/{id-456e18f2.js → id-841a4c0b.js} +15 -15
- package/dist/cjs/{index-3d4cfff8.js → index-597abb9f.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-4a1dd124.js → interactive-5e2f5aac.js} +1 -1
- package/dist/cjs/{it-167042ae.js → it-60ddf148.js} +15 -15
- package/dist/cjs/{it-ch-2d02713b.js → it-ch-33ceae9e.js} +15 -15
- package/dist/cjs/{ja-34e70be7.js → ja-7e492e8c.js} +15 -15
- package/dist/cjs/{key-1918e8dd.js → key-643772fd.js} +1 -1
- package/dist/cjs/{ko-ffae1870.js → ko-f8332ae9.js} +15 -15
- package/dist/cjs/{label-fbbed8b8.js → label-ac1cdec6.js} +2 -2
- package/dist/cjs/{loadable-00043f5b.js → loadable-afb3f8f7.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-709b6c4f.js → locale-c3b7289d.js} +4 -4
- package/dist/cjs/{lt-b092acc5.js → lt-7f8e2da9.js} +15 -15
- package/dist/cjs/{lv-45da38b0.js → lv-19d2ec24.js} +15 -15
- package/dist/cjs/{math-044d06a9.js → math-1621633f.js} +17 -1
- package/dist/cjs/{mk-e96ec971.js → mk-f7a32b50.js} +15 -15
- package/dist/cjs/{nb-6f7ce2e1.js → nb-7bb09522.js} +15 -15
- package/dist/cjs/{nl-a8d715b3.js → nl-0bd2fec9.js} +15 -15
- package/dist/cjs/{observers-d8e7ef2c.js → observers-5d11b15d.js} +1 -1
- package/dist/cjs/{openCloseComponent-5f5f53a8.js → openCloseComponent-2d557554.js} +2 -2
- package/dist/cjs/{pl-7e1cd35d.js → pl-275ecef1.js} +15 -15
- package/dist/cjs/{pt-br-f79aee99.js → pt-br-9b07b728.js} +15 -15
- package/dist/cjs/{pt-3342b9c1.js → pt-fbbd0b2f.js} +15 -15
- package/dist/cjs/{resources-107f61da.js → resources-04f79749.js} +1 -1
- package/dist/cjs/{resources-b0d38576.js → resources-6b8d775d.js} +1 -1
- package/dist/cjs/{resources-3a67bf59.js → resources-87002b98.js} +5 -5
- package/dist/cjs/{resources-1b29ee6f.js → resources-8dd51f08.js} +1 -1
- package/dist/cjs/{resources-b632eeba.js → resources-c355c039.js} +1 -1
- package/dist/cjs/{resources-806b4a0e.js → resources-cc861e4d.js} +1 -1
- package/dist/cjs/{resources-22c04e1b.js → resources-e1a2a8f4.js} +1 -1
- package/dist/cjs/{ro-9c485689.js → ro-a5f7b6a0.js} +15 -15
- package/dist/cjs/{ru-28c0bda2.js → ru-86a1b8de.js} +15 -15
- package/dist/cjs/{sk-ce7f6899.js → sk-2597b2cc.js} +15 -15
- package/dist/cjs/{sl-4e78cdf7.js → sl-eb41a4ea.js} +15 -15
- package/dist/cjs/{sortableComponent-5e989bd5.js → sortableComponent-891e1f41.js} +2 -2
- package/dist/cjs/{sr-0c3d255b.js → sr-a9bfb41d.js} +15 -15
- package/dist/cjs/{sv-1afa6f2a.js → sv-36c3d9b8.js} +15 -15
- package/dist/cjs/{t9n-8ed7b277.js → t9n-a5f323b1.js} +3 -3
- package/dist/cjs/{th-9b45e052.js → th-a5009035.js} +15 -15
- package/dist/cjs/{throttle-2ddebb73.js → throttle-4d8610a8.js} +2 -2
- package/dist/cjs/{tr-241c21d8.js → tr-2d761686.js} +15 -15
- package/dist/cjs/{uk-eed3602e.js → uk-3612c0b5.js} +15 -15
- package/dist/cjs/{utils-39f93fef.js → utils-2654440f.js} +3 -3
- package/dist/cjs/{utils-2b77d981.js → utils-7fc9de1d.js} +1 -1
- package/dist/cjs/{vi-5df96116.js → vi-06b213ae.js} +15 -15
- package/dist/cjs/{zh-cn-3de720ad.js → zh-cn-aa338560.js} +15 -15
- package/dist/cjs/{zh-hk-dec40f14.js → zh-hk-3d6690e9.js} +15 -15
- package/dist/cjs/{zh-tw-a5ee1790.js → zh-tw-af15d60b.js} +15 -15
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/chip-group/chip-group.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +31 -14
- package/dist/collection/components/color-picker/resources.js +3 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/FloatingArrow.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/functional/XButton.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/input-time-picker/resources.js +1 -1
- package/dist/collection/components/input-time-zone/input-time-zone.js +1 -1
- package/dist/collection/components/input-time-zone/utils.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-item/menu-item.js +1 -1
- package/dist/collection/components/menu-item/resources.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/navigation/navigation.js +1 -1
- package/dist/collection/components/navigation/resources.js +1 -1
- package/dist/collection/components/navigation-logo/navigation-logo.js +1 -1
- package/dist/collection/components/navigation-logo/resources.js +1 -1
- package/dist/collection/components/navigation-user/navigation-user.js +1 -1
- package/dist/collection/components/navigation-user/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +2 -1
- package/dist/collection/components/slider/slider.js +18 -5
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stack/resources.js +1 -1
- package/dist/collection/components/stack/stack.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/resources.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text-area/resources.js +1 -1
- package/dist/collection/components/text-area/text-area.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +4 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/utils.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/browser.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +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 +15 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/sortableComponent.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/ar.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/bg.js +1 -1
- package/dist/components/bs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/ca.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip-group.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +2 -2
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +31 -14
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-menu.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +18 -4
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stack.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +4 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/cs.js +1 -1
- package/dist/components/da.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/de-at.js +1 -1
- package/dist/components/de-ch.js +1 -1
- package/dist/components/de.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/el.js +1 -1
- package/dist/components/en-au.js +1 -1
- package/dist/components/en-ca.js +1 -1
- package/dist/components/en-gb.js +1 -1
- package/dist/components/es-mx.js +1 -1
- package/dist/components/es.js +1 -1
- package/dist/components/et.js +1 -1
- package/dist/components/fi.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/fr-ch.js +1 -1
- package/dist/components/fr.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/he.js +1 -1
- package/dist/components/hi.js +1 -1
- package/dist/components/hr.js +1 -1
- package/dist/components/hu.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/it-ch.js +1 -1
- package/dist/components/it.js +1 -1
- package/dist/components/ja.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/lt.js +1 -1
- package/dist/components/lv.js +1 -1
- package/dist/components/math.js +16 -2
- package/dist/components/menu.js +1 -1
- package/dist/components/mk.js +1 -1
- package/dist/components/nb.js +1 -1
- package/dist/components/nl.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/pl.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/pt-br.js +1 -1
- package/dist/components/pt.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/ro.js +1 -1
- package/dist/components/ru.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sk.js +1 -1
- package/dist/components/sl.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/sr.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/sv.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/th.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +4 -1
- package/dist/components/tr.js +1 -1
- package/dist/components/uk.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/vi.js +1 -1
- package/dist/components/zh-cn.js +1 -1
- package/dist/components/zh-hk.js +1 -1
- package/dist/components/zh-tw.js +1 -1
- package/dist/esm/{ExpandToggle-632bbbac.js → ExpandToggle-bb401c5e.js} +5 -5
- package/dist/esm/{FloatingArrow-46ed94d0.js → FloatingArrow-f2caea67.js} +2 -2
- package/dist/esm/{Heading-008b8cff.js → Heading-bf439757.js} +2 -2
- package/dist/esm/{app-globals-609d95e0.js → app-globals-d2577425.js} +2 -2
- package/dist/esm/{ar-7d01fd3a.js → ar-2bf0c0b2.js} +15 -15
- package/dist/esm/{array-a2d56321.js → array-5466d4fd.js} +1 -1
- package/dist/esm/{bg-20ab09c8.js → bg-15f3b645.js} +15 -15
- package/dist/esm/{bs-1fccd895.js → bs-98e3a009.js} +15 -15
- package/dist/esm/{ca-49f28913.js → ca-bfae7093.js} +15 -15
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +13 -13
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +13 -13
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip-group.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker_3.entry.js +45 -26
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +13 -13
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +30 -16
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +18 -18
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +13 -13
- package/dist/esm/{calcite-input-time-picker.calcite-time-picker-496bf0a9.js → calcite-input-time-picker.calcite-time-picker-330d7995.js} +60 -60
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +14 -14
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-menu_2.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-navigation_3.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +4 -4
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stack.entry.js +6 -6
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +12 -9
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-359ad993.js → conditionalSlot-b4c63bec.js} +3 -3
- package/dist/esm/{cs-9022c2ed.js → cs-4871a233.js} +15 -15
- package/dist/esm/{da-bfc47a83.js → da-9b0ef3e6.js} +15 -15
- package/dist/esm/{de-75c707bd.js → de-32ad4a81.js} +15 -15
- package/dist/esm/{de-at-772aeb52.js → de-at-42e9059f.js} +15 -15
- package/dist/esm/{de-ch-4f68e949.js → de-ch-08b77cfa.js} +15 -15
- package/dist/esm/{debounce-58db6f9b.js → debounce-3c5d74d2.js} +1 -1
- package/dist/esm/{dom-eab58bbf.js → dom-4d04bf25.js} +3 -3
- package/dist/esm/{el-edf06b39.js → el-14277fe7.js} +15 -15
- package/dist/esm/{en-au-bbb86c35.js → en-au-54caf2bf.js} +15 -15
- package/dist/esm/{en-ca-5718f2c5.js → en-ca-d040ff6c.js} +15 -15
- package/dist/esm/{en-gb-3d9e3bee.js → en-gb-6a4a3706.js} +15 -15
- package/dist/esm/{es-0e689c78.js → es-5175b0f7.js} +15 -15
- package/dist/esm/{es-mx-d0352d04.js → es-mx-cdc1993e.js} +15 -15
- package/dist/esm/{et-7971e616.js → et-8be2b9f3.js} +15 -15
- package/dist/esm/{fi-972b33f3.js → fi-e77fddf4.js} +15 -15
- package/dist/esm/{filter-8f382d90.js → filter-11d5304f.js} +2 -2
- package/dist/esm/{floating-ui-6fbcd22d.js → floating-ui-ba6d8425.js} +3 -3
- package/dist/esm/{focusTrapComponent-76b9ae6b.js → focusTrapComponent-9947563f.js} +2 -2
- package/dist/esm/{form-a945d244.js → form-73744ddd.js} +3 -3
- package/dist/esm/{fr-e74fc417.js → fr-1f75176b.js} +15 -15
- package/dist/esm/{fr-ch-a7ffa8c4.js → fr-ch-3c9e1b71.js} +15 -15
- package/dist/esm/{guid-3a688a4a.js → guid-cce0eebd.js} +1 -1
- package/dist/esm/{he-367a03bd.js → he-a602e12e.js} +15 -15
- package/dist/esm/{hi-22e8e3dd.js → hi-2afa356b.js} +15 -15
- package/dist/esm/{hr-856cfcdb.js → hr-ec55b42d.js} +15 -15
- package/dist/esm/{hu-f6039c54.js → hu-b905ad05.js} +15 -15
- package/dist/esm/{id-f46e149d.js → id-ff0480a0.js} +15 -15
- package/dist/esm/{index-a975c980.js → index-d69cf7cb.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-c47135fd.js → interactive-86d35bba.js} +1 -1
- package/dist/esm/{it-b904d3d2.js → it-7dffb752.js} +15 -15
- package/dist/esm/{it-ch-f0406e91.js → it-ch-cc510515.js} +15 -15
- package/dist/esm/{ja-4cada32c.js → ja-ad00fafe.js} +15 -15
- package/dist/esm/{key-db46ef41.js → key-f67f7210.js} +1 -1
- package/dist/esm/{ko-c6f4bea5.js → ko-e53a51f5.js} +15 -15
- package/dist/esm/{label-984712c1.js → label-dfd28d56.js} +2 -2
- package/dist/esm/{loadable-607f2e38.js → loadable-a941991c.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-c3103fbc.js → locale-7251af66.js} +4 -4
- package/dist/esm/{lt-7f68c24b.js → lt-9d8fcd8f.js} +15 -15
- package/dist/esm/{lv-ecc28b42.js → lv-d4816815.js} +15 -15
- package/dist/esm/{math-e1484585.js → math-d9a73015.js} +16 -2
- package/dist/esm/{mk-7fceb488.js → mk-60596b7a.js} +15 -15
- package/dist/esm/{nb-8828b678.js → nb-a7e04514.js} +15 -15
- package/dist/esm/{nl-a057f518.js → nl-5f801b10.js} +15 -15
- package/dist/esm/{observers-8f7357b5.js → observers-cb320739.js} +1 -1
- package/dist/esm/{openCloseComponent-d2f88aa0.js → openCloseComponent-9ba211ff.js} +2 -2
- package/dist/esm/{pl-0deaa899.js → pl-2a56b3dd.js} +15 -15
- package/dist/esm/{pt-d8470805.js → pt-8e27cb17.js} +15 -15
- package/dist/esm/{pt-br-9ee73d91.js → pt-br-09439257.js} +15 -15
- package/dist/esm/{resources-25e8828a.js → resources-3c559dd4.js} +1 -1
- package/dist/esm/{resources-5eaea160.js → resources-694bbdb7.js} +1 -1
- package/dist/esm/{resources-6a7b4bcb.js → resources-95912128.js} +1 -1
- package/dist/esm/{resources-7200641c.js → resources-b3a3f6c3.js} +1 -1
- package/dist/esm/{resources-9f664e0c.js → resources-c399dfa7.js} +1 -1
- package/dist/esm/{resources-d1de9382.js → resources-cfcd196b.js} +1 -1
- package/dist/esm/{resources-64b51703.js → resources-d27ba9c3.js} +5 -5
- package/dist/esm/{ro-a17bc34e.js → ro-a94c885d.js} +15 -15
- package/dist/esm/{ru-b81765cf.js → ru-24cc5021.js} +15 -15
- package/dist/esm/{sk-bf51bf75.js → sk-3c1af2d2.js} +15 -15
- package/dist/esm/{sl-567a89d5.js → sl-02b053f9.js} +15 -15
- package/dist/esm/{sortableComponent-8d535dd9.js → sortableComponent-adf7cf2c.js} +2 -2
- package/dist/esm/{sr-9f8696d8.js → sr-d5110f83.js} +15 -15
- package/dist/esm/{sv-3ea88512.js → sv-1fcb6730.js} +15 -15
- package/dist/esm/{t9n-0e348819.js → t9n-0eee5b60.js} +3 -3
- package/dist/esm/{th-5672e37a.js → th-a8223048.js} +15 -15
- package/dist/esm/{throttle-cd632da3.js → throttle-61d7d48d.js} +2 -2
- package/dist/esm/{tr-cc95272a.js → tr-d1a8ce8c.js} +15 -15
- package/dist/esm/{uk-47cabfb5.js → uk-b5a6852f.js} +15 -15
- package/dist/esm/{utils-871f570d.js → utils-433abd08.js} +1 -1
- package/dist/esm/{utils-c29b6b34.js → utils-f9b9f183.js} +3 -3
- package/dist/esm/{vi-4db761d4.js → vi-eaffa1bf.js} +15 -15
- package/dist/esm/{zh-cn-6bef7420.js → zh-cn-fa73d3a2.js} +15 -15
- package/dist/esm/{zh-hk-6a8c05af.js → zh-hk-d8317feb.js} +15 -15
- package/dist/esm/{zh-tw-b987aef3.js → zh-tw-b961f5fa.js} +15 -15
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/color-picker/color-picker.d.ts +1 -0
- package/dist/types/components/color-picker/resources.d.ts +1 -0
- package/dist/types/components/slider/resources.d.ts +1 -0
- package/dist/types/components/slider/slider.d.ts +1 -0
- package/dist/types/utils/math.d.ts +10 -0
- package/hydrate/index.js +65 -15
- package/package.json +3 -3
- package/dist/calcite/p-04129ce8.entry.js +0 -6
- package/dist/calcite/p-37a081c1.entry.js +0 -6
- package/dist/calcite/p-38ac0cd1.entry.js +0 -6
- package/dist/calcite/p-3b84612b.entry.js +0 -6
- package/dist/calcite/p-4eb427e8.entry.js +0 -6
- package/dist/calcite/p-572f57bf.entry.js +0 -6
- package/dist/calcite/p-625fbc3e.entry.js +0 -6
- package/dist/calcite/p-6369b750.js +0 -6
- package/dist/calcite/p-67a87fd0.entry.js +0 -6
- package/dist/calcite/p-844127f2.entry.js +0 -6
- package/dist/calcite/p-934b5de5.entry.js +0 -6
- package/dist/calcite/p-990bc43f.js +0 -6
- package/dist/calcite/p-9c5257e3.js +0 -6
- package/dist/calcite/p-9dbc23b8.js +0 -6
- package/dist/calcite/p-b2bf2d2a.js +0 -6
- package/dist/calcite/p-c684e798.js +0 -6
- package/dist/calcite/p-e7d77202.entry.js +0 -6
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.35
|
|
5
5
|
*/
|
|
6
|
-
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-
|
|
7
|
-
import './index-
|
|
8
|
-
import './form-
|
|
9
|
-
import './dom-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './interactive-
|
|
13
|
-
import './key-
|
|
14
|
-
import './label-
|
|
15
|
-
import './loadable-
|
|
16
|
-
import './locale-
|
|
17
|
-
import './observers-
|
|
18
|
-
import './focusTrapComponent-
|
|
19
|
-
import './t9n-
|
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-330d7995.js';
|
|
7
|
+
import './index-d69cf7cb.js';
|
|
8
|
+
import './form-73744ddd.js';
|
|
9
|
+
import './dom-4d04bf25.js';
|
|
10
|
+
import './guid-cce0eebd.js';
|
|
11
|
+
import './resources-694bbdb7.js';
|
|
12
|
+
import './interactive-86d35bba.js';
|
|
13
|
+
import './key-f67f7210.js';
|
|
14
|
+
import './label-dfd28d56.js';
|
|
15
|
+
import './loadable-a941991c.js';
|
|
16
|
+
import './locale-7251af66.js';
|
|
17
|
+
import './observers-cb320739.js';
|
|
18
|
+
import './focusTrapComponent-9947563f.js';
|
|
19
|
+
import './t9n-0eee5b60.js';
|
|
20
20
|
|
|
21
21
|
// Chinese (Hong Kong) [zh-hk]
|
|
22
22
|
var locale = {
|
|
@@ -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-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.35
|
|
5
5
|
*/
|
|
6
|
-
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-
|
|
7
|
-
import './index-
|
|
8
|
-
import './form-
|
|
9
|
-
import './dom-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './resources-
|
|
12
|
-
import './interactive-
|
|
13
|
-
import './key-
|
|
14
|
-
import './label-
|
|
15
|
-
import './loadable-
|
|
16
|
-
import './locale-
|
|
17
|
-
import './observers-
|
|
18
|
-
import './focusTrapComponent-
|
|
19
|
-
import './t9n-
|
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker.calcite-time-picker-330d7995.js';
|
|
7
|
+
import './index-d69cf7cb.js';
|
|
8
|
+
import './form-73744ddd.js';
|
|
9
|
+
import './dom-4d04bf25.js';
|
|
10
|
+
import './guid-cce0eebd.js';
|
|
11
|
+
import './resources-694bbdb7.js';
|
|
12
|
+
import './interactive-86d35bba.js';
|
|
13
|
+
import './key-f67f7210.js';
|
|
14
|
+
import './label-dfd28d56.js';
|
|
15
|
+
import './loadable-a941991c.js';
|
|
16
|
+
import './locale-7251af66.js';
|
|
17
|
+
import './observers-cb320739.js';
|
|
18
|
+
import './focusTrapComponent-9947563f.js';
|
|
19
|
+
import './t9n-0eee5b60.js';
|
|
20
20
|
|
|
21
21
|
// Chinese (Taiwan) [zh-tw]
|
|
22
22
|
var locale = {
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.35
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.35
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.35
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.35
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -194,6 +194,7 @@ export declare class ColorPicker implements InteractiveComponent, LoadableCompon
|
|
|
194
194
|
private drawSliderPath;
|
|
195
195
|
private getCheckeredBackgroundPattern;
|
|
196
196
|
private drawActiveOpacitySliderColor;
|
|
197
|
+
private getSliderBoundX;
|
|
197
198
|
private storeOpacityScope;
|
|
198
199
|
private handleOpacityScopeKeyDown;
|
|
199
200
|
private updateColorFromChannels;
|
|
@@ -136,6 +136,7 @@ export declare class Slider implements LabelableComponent, FormComponent, Intera
|
|
|
136
136
|
onLabelClick(): void;
|
|
137
137
|
private shouldMirror;
|
|
138
138
|
private shouldUseMinValue;
|
|
139
|
+
private getTickDensity;
|
|
139
140
|
private generateTickValues;
|
|
140
141
|
private pointerDownDragStart;
|
|
141
142
|
private dragStart;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
export declare const clamp: (value: number, min: number, max: number) => number;
|
|
2
2
|
export declare const decimalPlaces: (value: number) => number;
|
|
3
|
+
export declare function remap(value: number, fromMin: number, fromMax: number, toMin: number, toMax: number): number;
|
|
4
|
+
/**
|
|
5
|
+
* Helper to determine if a value is close to the edge of a range within a threshold.
|
|
6
|
+
*
|
|
7
|
+
* @param value
|
|
8
|
+
* @param range
|
|
9
|
+
* @param threshold
|
|
10
|
+
* @returns -1 if close to lower edge, 1 if close to upper edge, 0 otherwise.
|
|
11
|
+
*/
|
|
12
|
+
export declare function closeToRangeEdge(value: number, range: number, threshold: number): number;
|
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.
|
|
4
|
+
* v1.5.0-next.35
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -15660,6 +15660,8 @@ const HSV_LIMITS = {
|
|
|
15660
15660
|
s: 100,
|
|
15661
15661
|
v: 100,
|
|
15662
15662
|
};
|
|
15663
|
+
// 0 and 360 represent the same value, so we limit the hue to 359
|
|
15664
|
+
const HUE_LIMIT_CONSTRAINED = HSV_LIMITS.h - 1;
|
|
15663
15665
|
const OPACITY_LIMITS = {
|
|
15664
15666
|
min: 0,
|
|
15665
15667
|
max: 100,
|
|
@@ -15720,6 +15722,20 @@ const decimalPlaces = (value) => {
|
|
|
15720
15722
|
// Adjust for scientific notation.
|
|
15721
15723
|
(match[2] ? +match[2] : 0));
|
|
15722
15724
|
};
|
|
15725
|
+
function remap(value, fromMin, fromMax, toMin, toMax) {
|
|
15726
|
+
return ((value - fromMin) * (toMax - toMin)) / (fromMax - fromMin) + toMin;
|
|
15727
|
+
}
|
|
15728
|
+
/**
|
|
15729
|
+
* Helper to determine if a value is close to the edge of a range within a threshold.
|
|
15730
|
+
*
|
|
15731
|
+
* @param value
|
|
15732
|
+
* @param range
|
|
15733
|
+
* @param threshold
|
|
15734
|
+
* @returns -1 if close to lower edge, 1 if close to upper edge, 0 otherwise.
|
|
15735
|
+
*/
|
|
15736
|
+
function closeToRangeEdge(value, range, threshold) {
|
|
15737
|
+
return value < threshold ? -1 : value > range - threshold ? 1 : 0;
|
|
15738
|
+
}
|
|
15723
15739
|
|
|
15724
15740
|
const colorPickerCss = "/*!@:host([disabled])*/[disabled].sc-calcite-color-picker-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-color-picker-h *.sc-calcite-color-picker,.sc-calcite-color-picker-h[disabled] .sc-calcite-color-picker-s>*{pointer-events:none}/*!@:host*/.sc-calcite-color-picker-h{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-color-picker-h[disabled] .sc-calcite-color-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-color-picker-h [calcite-hydrated][disabled].sc-calcite-color-picker{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-color-picker-h{--calcite-color-picker-spacing:8px}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:160px}/*!@:host([scale=s]) .saved-colors*/[scale=s].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}/*!@:host([scale=m])*/[scale=m].sc-calcite-color-picker-h{--calcite-color-picker-spacing:12px}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:272px}/*!@:host([scale=l])*/[scale=l].sc-calcite-color-picker-h{--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-color-picker-h .container.sc-calcite-color-picker{inline-size:464px}/*!@:host([scale=l]) .section:first-of-type*/[scale=l].sc-calcite-color-picker-h .section.sc-calcite-color-picker:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}/*!@:host([scale=l]) .saved-colors*/[scale=l].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{grid-template-columns:repeat(auto-fill, 32px)}/*!@:host([scale=l]) .control-section*/[scale=l].sc-calcite-color-picker-h .control-section.sc-calcite-color-picker{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}/*!@:host([scale=l]) .color-hex-options*/[scale=l].sc-calcite-color-picker-h .color-hex-options.sc-calcite-color-picker{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}/*!@:host([scale=l]) .color-mode-container*/[scale=l].sc-calcite-color-picker-h .color-mode-container.sc-calcite-color-picker{flex-shrink:3}/*!@.container*/.container.sc-calcite-color-picker{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}/*!@.control-and-scope*/.control-and-scope.sc-calcite-color-picker{position:relative;display:flex;cursor:pointer;touch-action:none}/*!@.scope*/.scope.sc-calcite-color-picker{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}/*!@.scope:focus*/.scope.sc-calcite-color-picker:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:11px}/*!@.hex-and-channels-group*/.hex-and-channels-group.sc-calcite-color-picker{inline-size:100%}/*!@.hex-and-channels-group,\n.control-section*/.hex-and-channels-group.sc-calcite-color-picker,.control-section.sc-calcite-color-picker{display:flex;flex-direction:row;flex-wrap:wrap}/*!@.section*/.section.sc-calcite-color-picker{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}/*!@.section:first-of-type*/.section.sc-calcite-color-picker:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}/*!@.sliders*/.sliders.sc-calcite-color-picker{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}/*!@.preview-and-sliders*/.preview-and-sliders.sc-calcite-color-picker{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}/*!@.color-hex-options,\n.section--split*/.color-hex-options.sc-calcite-color-picker,.section--split.sc-calcite-color-picker{flex-grow:1}/*!@.header*/.header.sc-calcite-color-picker{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}/*!@.color-mode-container*/.color-mode-container.sc-calcite-color-picker{padding-block-start:var(--calcite-color-picker-spacing)}/*!@.channels*/.channels.sc-calcite-color-picker{display:flex;row-gap:0.125rem}/*!@.channel[data-channel-index=\"3\"]*/.channel[data-channel-index=\"3\"].sc-calcite-color-picker{inline-size:159px}/*!@:host([scale=s]) .channels*/[scale=s].sc-calcite-color-picker-h .channels.sc-calcite-color-picker{flex-wrap:wrap}/*!@:host([scale=s]) .channel*/[scale=s].sc-calcite-color-picker-h .channel.sc-calcite-color-picker{flex-basis:30%;flex-grow:1}/*!@:host([scale=s]) .channel[data-channel-index=\"3\"]*/[scale=s].sc-calcite-color-picker-h .channel[data-channel-index=\"3\"].sc-calcite-color-picker{inline-size:unset;margin-inline-start:unset}/*!@:host([scale=l]) .channel[data-channel-index=\"3\"]*/[scale=l].sc-calcite-color-picker-h .channel[data-channel-index=\"3\"].sc-calcite-color-picker{inline-size:131px}/*!@.saved-colors*/.saved-colors.sc-calcite-color-picker{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}/*!@.saved-colors-buttons*/.saved-colors-buttons.sc-calcite-color-picker{display:flex}/*!@.saved-color*/.saved-color.sc-calcite-color-picker{outline-offset:0;outline-color:transparent;cursor:pointer}/*!@.saved-color:focus*/.saved-color.sc-calcite-color-picker:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.saved-color:hover*/.saved-color.sc-calcite-color-picker:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}/*!@:host([hidden])*/[hidden].sc-calcite-color-picker-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-color-picker{display:none}";
|
|
15725
15741
|
|
|
@@ -15902,7 +15918,7 @@ class ColorPicker {
|
|
|
15902
15918
|
samplingX = 0;
|
|
15903
15919
|
}
|
|
15904
15920
|
else {
|
|
15905
|
-
samplingX = bounds.width
|
|
15921
|
+
samplingX = bounds.width;
|
|
15906
15922
|
}
|
|
15907
15923
|
if (clientY < bounds.y + bounds.height && clientY > bounds.y) {
|
|
15908
15924
|
samplingY = clientY - bounds.y;
|
|
@@ -16304,7 +16320,7 @@ class ColorPicker {
|
|
|
16304
16320
|
}
|
|
16305
16321
|
captureHueSliderColor(x) {
|
|
16306
16322
|
const { dimensions: { slider: { width }, }, } = this;
|
|
16307
|
-
const hue = (
|
|
16323
|
+
const hue = (HUE_LIMIT_CONSTRAINED / width) * x;
|
|
16308
16324
|
this.internalColorSet(this.baseColorFieldColor.hue(hue), false);
|
|
16309
16325
|
}
|
|
16310
16326
|
captureOpacitySliderValue(x) {
|
|
@@ -16425,7 +16441,6 @@ class ColorPicker {
|
|
|
16425
16441
|
const startAngle = 0;
|
|
16426
16442
|
const endAngle = 2 * Math.PI;
|
|
16427
16443
|
const outlineWidth = 1;
|
|
16428
|
-
radius = radius - outlineWidth;
|
|
16429
16444
|
context.beginPath();
|
|
16430
16445
|
context.arc(x, y, radius, startAngle, endAngle);
|
|
16431
16446
|
context.fillStyle = "#fff";
|
|
@@ -16444,13 +16459,14 @@ class ColorPicker {
|
|
|
16444
16459
|
return;
|
|
16445
16460
|
}
|
|
16446
16461
|
const hsvColor = color.hsv().saturationv(100).value(100);
|
|
16447
|
-
const { dimensions: { slider: {
|
|
16448
|
-
const x = hsvColor.hue() / (
|
|
16449
|
-
const y = radius
|
|
16462
|
+
const { dimensions: { slider: { width }, thumb: { radius }, }, } = this;
|
|
16463
|
+
const x = hsvColor.hue() / (HUE_LIMIT_CONSTRAINED / width);
|
|
16464
|
+
const y = radius;
|
|
16465
|
+
const sliderBoundX = this.getSliderBoundX(x, width, radius);
|
|
16450
16466
|
requestAnimationFrame(() => {
|
|
16451
|
-
this.hueScopeLeft =
|
|
16467
|
+
this.hueScopeLeft = sliderBoundX;
|
|
16452
16468
|
});
|
|
16453
|
-
this.drawThumb(this.hueSliderRenderingContext, radius,
|
|
16469
|
+
this.drawThumb(this.hueSliderRenderingContext, radius, sliderBoundX, y, hsvColor);
|
|
16454
16470
|
}
|
|
16455
16471
|
drawHueSlider() {
|
|
16456
16472
|
const context = this.hueSliderRenderingContext;
|
|
@@ -16458,7 +16474,15 @@ class ColorPicker {
|
|
|
16458
16474
|
const x = 0;
|
|
16459
16475
|
const y = thumbRadius - height / 2;
|
|
16460
16476
|
const gradient = context.createLinearGradient(0, 0, width, 0);
|
|
16461
|
-
const hueSliderColorStopKeywords = [
|
|
16477
|
+
const hueSliderColorStopKeywords = [
|
|
16478
|
+
"red",
|
|
16479
|
+
"yellow",
|
|
16480
|
+
"lime",
|
|
16481
|
+
"cyan",
|
|
16482
|
+
"blue",
|
|
16483
|
+
"magenta",
|
|
16484
|
+
"#ff0004" /* 1 unit less than #ff0 to avoid duplicate values within range */,
|
|
16485
|
+
];
|
|
16462
16486
|
const offset = 1 / (hueSliderColorStopKeywords.length - 1);
|
|
16463
16487
|
let currentOffset = 0;
|
|
16464
16488
|
hueSliderColorStopKeywords.forEach((keyword) => {
|
|
@@ -16537,10 +16561,19 @@ class ColorPicker {
|
|
|
16537
16561
|
const { dimensions: { slider: { width }, thumb: { radius }, }, } = this;
|
|
16538
16562
|
const x = alphaToOpacity(hsvColor.alpha()) / (OPACITY_LIMITS.max / width);
|
|
16539
16563
|
const y = radius;
|
|
16564
|
+
const sliderBoundX = this.getSliderBoundX(x, width, radius);
|
|
16540
16565
|
requestAnimationFrame(() => {
|
|
16541
|
-
this.opacityScopeLeft =
|
|
16566
|
+
this.opacityScopeLeft = sliderBoundX;
|
|
16542
16567
|
});
|
|
16543
|
-
this.drawThumb(this.opacitySliderRenderingContext, radius,
|
|
16568
|
+
this.drawThumb(this.opacitySliderRenderingContext, radius, sliderBoundX, y, hsvColor);
|
|
16569
|
+
}
|
|
16570
|
+
getSliderBoundX(x, width, radius) {
|
|
16571
|
+
const closeToEdge = closeToRangeEdge(x, width, radius);
|
|
16572
|
+
return closeToEdge === 0
|
|
16573
|
+
? x
|
|
16574
|
+
: closeToEdge === -1
|
|
16575
|
+
? remap(x, 0, width, radius, radius * 2)
|
|
16576
|
+
: remap(x, 0, width, width - radius * 2, width - radius);
|
|
16544
16577
|
}
|
|
16545
16578
|
updateColorFromChannels(channels) {
|
|
16546
16579
|
this.internalColorSet(color(channels, this.channelMode));
|
|
@@ -37426,6 +37459,7 @@ const CSS$c = {
|
|
|
37426
37459
|
tickMin: "tick__label--min",
|
|
37427
37460
|
tickMax: "tick__label--max",
|
|
37428
37461
|
};
|
|
37462
|
+
const maxTickElementThreshold = 250;
|
|
37429
37463
|
|
|
37430
37464
|
const sliderCss = "@charset \"UTF-8\";/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) *,\n:host([disabled]) ::slotted(*)*/[disabled].sc-calcite-slider-h *.sc-calcite-slider,.sc-calcite-slider-h[disabled] .sc-calcite-slider-s>*{pointer-events:none}/*!@.scale--s*/.scale--s.sc-calcite-slider{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}/*!@.scale--s .handle__label,\n.scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}/*!@.scale--m .handle__label,\n.scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}/*!@.scale--l .handle__label,\n.scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label,\n.tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none}/*!@:host([disabled]) .track__range,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-slider-h[disabled] .sc-calcite-slider-s>[calcite-hydrated][disabled],[disabled].sc-calcite-slider-h [calcite-hydrated][disabled].sc-calcite-slider{opacity:1}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-inline-size:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}/*!@.thumb .handle__label.static, .thumb .handle__label.transformed*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;inset-block:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;inline-size:1em}/*!@.thumb .handle__label.hyphen--wrap*/.thumb.sc-calcite-slider .handle__label.hyphen--wrap.sc-calcite-slider{display:flex}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}/*!@.thumb .handle-extension*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}/*!@.thumb:hover .handle-extension*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}/*!@.thumb.thumb--precise*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-0.125rem}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{margin-block-start:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{margin-block-end:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2.075rem}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2.75rem}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-3.0625rem}/*!@.thumb:focus .handle,\n.thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{background-color:var(--calcite-ui-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}/*!@.thumb:hover.thumb--precise:after,\n.thumb:focus.thumb--precise:after,\n.thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}/*!@.track__range*/.track__range.sc-calcite-slider{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:after{position:absolute;inline-size:100%;content:\"\";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){/*!@.thumb*/.thumb.sc-calcite-slider{outline-width:0;outline-offset:0}/*!@.handle*/.handle.sc-calcite-slider{outline:2px solid transparent;outline-offset:2px}/*!@.thumb:focus .handle,\n .thumb .handle-extension,\n .thumb:hover .handle-extension,\n .thumb:focus .handle-extension,\n .thumb:active .handle-extension*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:active .handle-extension.sc-calcite-slider{background-color:canvasText}/*!@.track*/.track.sc-calcite-slider{background-color:canvasText}/*!@.track__range*/.track__range.sc-calcite-slider{background-color:highlight}}/*!@.tick*/.tick.sc-calcite-slider{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}/*!@.tick--active*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}/*!@.tick__label--min*/.tick__label--min.sc-calcite-slider{transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{transition:opacity var(--calcite-internal-animation-timing-fast)}/*!@:host([has-histogram][label-handles]) .tick__label--min,\n:host([has-histogram][label-handles]) .tick__label--max,\n:host([has-histogram][precise]) .tick__label--min,\n:host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3);block-size:48px}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}/*!@:host([has-histogram]):host([precise][label-handles]) .container*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}/*!@:host([has-histogram]):host([label-handles]:not([precise])) .container*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}/*!@:host([has-histogram]):host([precise]:not([label-handles])) .container*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{padding-block-end:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{padding-block-start:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{padding-block-end:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([label-handles]:not([precise])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-slider-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@[hidden]*/[hidden].sc-calcite-slider{display:none}";
|
|
37431
37465
|
|
|
@@ -37927,12 +37961,25 @@ class Slider {
|
|
|
37927
37961
|
}
|
|
37928
37962
|
return ((this.hasHistogram && this.maxValue === 0) || (!this.hasHistogram && this.minValue === 0));
|
|
37929
37963
|
}
|
|
37964
|
+
getTickDensity() {
|
|
37965
|
+
const density = (this.max - this.min) / this.ticks / maxTickElementThreshold;
|
|
37966
|
+
return density < 1 ? 1 : density;
|
|
37967
|
+
}
|
|
37930
37968
|
generateTickValues() {
|
|
37931
|
-
const
|
|
37969
|
+
const tickInterval = this.ticks ?? 0;
|
|
37970
|
+
if (tickInterval <= 0) {
|
|
37971
|
+
return [];
|
|
37972
|
+
}
|
|
37973
|
+
const ticks = [this.min];
|
|
37974
|
+
const density = this.getTickDensity();
|
|
37975
|
+
const tickOffset = tickInterval * density;
|
|
37932
37976
|
let current = this.min;
|
|
37933
|
-
while (
|
|
37977
|
+
while (current < this.max) {
|
|
37978
|
+
current += tickOffset;
|
|
37934
37979
|
ticks.push(Math.min(current, this.max));
|
|
37935
|
-
|
|
37980
|
+
}
|
|
37981
|
+
if (!ticks.includes(this.max)) {
|
|
37982
|
+
ticks.push(this.max);
|
|
37936
37983
|
}
|
|
37937
37984
|
return ticks;
|
|
37938
37985
|
}
|
|
@@ -41750,6 +41797,9 @@ class TooltipManager {
|
|
|
41750
41797
|
return;
|
|
41751
41798
|
}
|
|
41752
41799
|
this.clearHoverCloseTimeout();
|
|
41800
|
+
if (this.activeTooltip === this.hoveredTooltip) {
|
|
41801
|
+
return;
|
|
41802
|
+
}
|
|
41753
41803
|
this.closeActiveTooltip();
|
|
41754
41804
|
if (tooltip !== this.hoveredTooltip) {
|
|
41755
41805
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.5.0-next.
|
|
3
|
+
"version": "1.5.0-next.35",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"clean": "npm run util:clean-js-files && rimraf node_modules dist www hydrate docs .turbo src/components.d.ts",
|
|
27
27
|
"deps:update": "updtr --exclude chalk cheerio typescript @types/jest jest jest-cli ts-jest puppeteer @whitespace/storybook-addon-html && npm audit fix",
|
|
28
28
|
"docs": "build-storybook",
|
|
29
|
-
"docs:preview": "npm run util:build-docs && start-storybook",
|
|
29
|
+
"docs:preview": "npm run util:build-docs && STORYBOOK_SCREENSHOT_LOCAL_BUILD=true start-storybook",
|
|
30
30
|
"lint": "concurrently npm:lint:*",
|
|
31
31
|
"lint:html": "prettier --write \"**/*.html\" >/dev/null",
|
|
32
32
|
"lint:json": "prettier --write \"**/*.json\" >/dev/null",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"volta": {
|
|
87
87
|
"extends": "../../package.json"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "baece4261bc38023d0fba3b7442cd4abadc3b17b"
|
|
90
90
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,a as s,F as n}from"./p-6d3a7a5b.js";import{c as a}from"./p-fb0d85f5.js";import{d as o}from"./p-737aab71.js";import{c,d as r,a as l,H as h}from"./p-990bc43f.js";import{c as d,d as p,u}from"./p-088880eb.js";import{c as m,d as b,g}from"./p-847ce3f9.js";import{s as f,a as v,c as C}from"./p-e5154823.js";import"./p-8d92ca31.js";import"./p-5799e874.js";const w=class{constructor(i){t(this,i),this.calciteInternalOptionChange=e(this,"calciteInternalOptionChange",6),this.mutationObserver=a("mutation",(()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()})),this.disabled=!1,this.label=void 0,this.selected=void 0,this.value=void 0}handlePropChange(t,e,i){"label"!==i&&"value"!==i||this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){const{el:{textContent:t}}=this;this.label&&this.label!==this.internallySetLabel||(this.label=t,this.internallySetLabel=t),this.value&&this.value!==this.internallySetValue||(this.value=t,this.internallySetValue=t)}connectedCallback(){this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){return i("slot",null,this.label)}get el(){return s(this)}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"],selected:["handlePropChange"],value:["handlePropChange"]}}};w.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";const x=class{constructor(i){t(this,i),this.calciteInternalOptionGroupChange=e(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return i(n,null,i("div",null,this.label),i("slot",null))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};x.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";function y(t){return"CALCITE-OPTION"===t.tagName}const z=class{constructor(i){t(this,i),this.calciteSelectChange=e(this,"calciteSelectChange",6),this.componentToNativeEl=new Map,this.mutationObserver=a("mutation",(()=>this.populateInternalSelect())),this.handleInternalSelectChange=()=>{this.selectFromNativeOption(this.selectEl.selectedOptions[0]),requestAnimationFrame((()=>this.emitChangeEvent()))},this.populateInternalSelect=()=>{const t=Array.from(this.el.children).filter((t=>"CALCITE-OPTION"===t.tagName||"CALCITE-OPTION-GROUP"===t.tagName));this.clearInternalSelect(),t.forEach((t=>this.selectEl?.append(this.toNativeElement(t))))},this.storeSelectRef=t=>{this.selectEl=t,this.populateInternalSelect(),this.selectFromNativeOption(this.selectEl.selectedOptions[0])},this.emitChangeEvent=()=>{this.calciteSelectChange.emit()},this.disabled=!1,this.form=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=null,this.selectedOption=void 0,this.width="auto"}valueHandler(t){this.el.querySelectorAll("calcite-option").forEach((e=>e.selected=e.value===t))}selectedOptionHandler(t){this.value=t?.value}connectedCallback(){const{el:t}=this;this.mutationObserver?.observe(t,{subtree:!0,childList:!0}),d(this),m(this),c(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),p(this),b(this),r(this)}componentWillLoad(){f(this)}componentDidLoad(){v(this),l(this,this.selectedOption?.value??"")}componentDidRender(){u(this)}async setFocus(){await C(this),o(this.selectEl)}handleOptionOrGroupChange(t){t.stopPropagation();const e=t.target,i=this.componentToNativeEl.get(e);i&&(this.updateNativeElement(e,i),y(e)&&e.selected&&(this.deselectAllExcept(e),this.selectedOption=e))}onLabelClick(){this.setFocus()}updateNativeElement(t,e){if(e.disabled=t.disabled,e.label=t.label,y(t)){const i=e;i.selected=t.selected,i.value=t.value,i.innerText=t.label}}clearInternalSelect(){this.componentToNativeEl.forEach((t=>t.remove())),this.componentToNativeEl.clear()}selectFromNativeOption(t){if(!t)return;let e;this.componentToNativeEl.forEach(((i,s)=>{y(s)&&i===t&&(s.selected=!0,e=s,this.deselectAllExcept(s))})),e&&(this.selectedOption=e)}toNativeElement(t){if(y(t)){const e=document.createElement("option");return this.updateNativeElement(t,e),this.componentToNativeEl.set(t,e),e}if(function(t){return"CALCITE-OPTION-GROUP"===t.tagName}(t)){const e=document.createElement("optgroup");return this.updateNativeElement(t,e),Array.from(t.children).forEach((i=>{const s=this.toNativeElement(i);e.append(s),this.componentToNativeEl.set(t,s)})),this.componentToNativeEl.set(t,e),e}throw new Error("unsupported element child provided")}deselectAllExcept(t){this.el.querySelectorAll("calcite-option").forEach((e=>{e!==t&&(e.selected=!1)}))}renderChevron(){return i("div",{class:"icon-container"},i("calcite-icon",{class:"icon",icon:"chevron-down",scale:"l"===this.scale?"m":"s"}))}render(){return i(n,null,i("select",{"aria-label":g(this),class:"select",disabled:this.disabled,onChange:this.handleInternalSelectChange,ref:this.storeSelectRef},i("slot",null)),this.renderChevron(),i(h,{component:this}))}get el(){return s(this)}static get watchers(){return{value:["valueHandler"],selectedOption:["selectedOptionHandler"]}}};z.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:stretch;inline-size:var(--select-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-select-font-size:var(--calcite-font-size--2);--calcite-select-spacing-inline:0.5rem 2rem}:host([scale=s]) .icon-container{padding-inline:0.5rem}:host([scale=m]){block-size:2rem;--calcite-select-font-size:var(--calcite-font-size--1);--calcite-select-spacing-inline:0.75rem 2.5rem}:host([scale=m]) .icon-container{padding-inline:0.75rem}:host([scale=l]){block-size:44px;--calcite-select-font-size:var(--calcite-font-size-0);--calcite-select-spacing-inline:1rem 3rem}:host([scale=l]) .icon-container{padding-inline:1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}.select{margin:0px;box-sizing:border-box;inline-size:100%;cursor:pointer;-webkit-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);font-family:inherit;color:var(--calcite-ui-text-2);outline-color:transparent;font-size:var(--calcite-select-font-size);padding-inline:var(--calcite-select-spacing-inline);border-inline-end-width:0px}.select:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.select:hover{background-color:var(--calcite-ui-foreground-2)}select:disabled{border-color:var(--calcite-ui-border-input);--tw-bg-opacity:1}.icon-container{pointer-events:none;position:absolute;inset-block:0px;display:flex;align-items:center;border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:transparent;color:var(--calcite-ui-text-2);inset-inline-end:0px;border-inline-width:0px 1px}.select:focus~.icon-container{border-color:transparent}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_option,x as calcite_option_group,z as calcite_select}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as i,H as e,a as o,f as n}from"./p-6d3a7a5b.js";import{t as a}from"./p-737aab71.js";import{g as r}from"./p-8d92ca31.js";import{c as s,d as c,u as l}from"./p-088880eb.js";import{s as d,a as u,c as b}from"./p-e5154823.js";import{c as h,d as p}from"./p-42bd7473.js";import{c as v}from"./p-fb0d85f5.js";import{u as f,c as g,s as m,d as x}from"./p-461ad99b.js";import"./p-5799e874.js";import"./p-d2b08524.js";const y=class{constructor(i){t(this,i),this.mutationObserver=v("mutation",(()=>n(this))),this.guid=`calcite-action-${r()}`,this.indicatorId=`${this.guid}-indicator`,this.buttonId=`${this.guid}-button`,this.handleTooltipSlotChange=t=>{const i=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-tooltip")))[0];i&&(i.referenceElement=this.buttonEl)},this.active=!1,this.alignment=void 0,this.appearance="solid",this.compact=!1,this.disabled=!1,this.icon=void 0,this.iconFlipRtl=!1,this.indicator=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0}onMessagesChange(){}effectiveLocaleChange(){f(this,this.effectiveLocale)}connectedCallback(){s(this),h(this),g(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){d(this),await m(this)}componentDidLoad(){u(this)}disconnectedCallback(){c(this),p(this),x(this),this.mutationObserver?.disconnect()}componentDidRender(){l(this)}async setFocus(){await b(this),this.buttonEl?.focus()}renderTextContainer(){const{text:t,textEnabled:e}=this;return t?i("div",{class:{"text-container":!0,"text-container--visible":e},key:"text-container"},t):null}renderIndicatorText(){const{indicator:t,messages:e,indicatorId:o,buttonId:n}=this;return i("div",{"aria-labelledby":n,"aria-live":"polite",class:"indicator-text",id:o,role:"region"},t?e.indicator:null)}renderIconContainer(){const{loading:t,icon:e,scale:o,el:n,iconFlipRtl:a}=this,r="l"===o?"m":"s",s=t?i("calcite-loader",{inline:!0,label:this.messages.loading,scale:"l"===o?"l":"m"}):null,c=e?i("calcite-icon",{flipRtl:a,icon:e,scale:r}):null,l=s||c,d=l||n.children?.length,u=i("div",{class:{"slot-container":!0,"slot-container--hidden":t}},i("slot",null));return d?i("div",{"aria-hidden":"true",class:"icon-container",key:"icon-container"},l,u):null}render(){const{active:t,compact:o,disabled:n,loading:r,textEnabled:s,label:c,text:l,indicator:d,indicatorId:u,buttonId:b,messages:h}=this,p=`${c||l}${d?` (${h.indicator})`:""}`,v={button:!0,"button--text-visible":s,"button--compact":o};return i(e,null,i("button",{"aria-busy":a(r),"aria-controls":d?u:null,"aria-disabled":a(n),"aria-label":p,"aria-pressed":a(t),class:v,disabled:n,id:b,ref:t=>this.buttonEl=t},this.renderIconContainer(),this.renderTextContainer()),i("slot",{name:"tooltip",onSlotchange:this.handleTooltipSlotChange}),this.renderIndicatorText())}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=':host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;background-color:transparent;--calcite-action-indicator-color:var(--calcite-ui-brand)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:flex;inline-size:auto;cursor:pointer;align-items:center;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-color:transparent;text-align:unset;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1rem}.button .text-container{margin:0px;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:margin;transition-property:inline-size}.button .text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1;margin-inline-end:1rem}:host([scale=s]) .button{padding-inline:0.5rem;padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:0.5rem}:host([scale=m]) .button{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:transparent;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=transparent]) .button,:host([active][appearance=transparent]) .button:hover,:host([active][appearance=transparent]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=transparent][loading]) .button,:host([appearance=transparent][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{color:var(--calcite-ui-text-3);margin-inline-end:0px}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-action-indicator-color);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_action}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{h as i,r as t,c as s,H as e,a}from"./p-6d3a7a5b.js";import{c as n,d as o,H as h}from"./p-990bc43f.js";import{g as l}from"./p-8d92ca31.js";import{c as r,d as c,u as d}from"./p-088880eb.js";import{c as p,d as u}from"./p-847ce3f9.js";import{s as m,a as f,c as v}from"./p-e5154823.js";import{c as b,d as g}from"./p-42bd7473.js";import{u as y,c as w,s as k,d as x}from"./p-461ad99b.js";import"./p-737aab71.js";import"./p-5799e874.js";import"./p-d2b08524.js";import"./p-fb0d85f5.js";const j=({full:t,scale:s,partial:e})=>i("calcite-icon",{class:e?void 0:"icon",icon:t?"star-f":"star",scale:s}),z=class{constructor(i){t(this,i),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null,this.focusValue=null,this.hasFocus=!1},this.handleRatingFocusIn=()=>{const i=this.inputRefs[this.value>0?this.value-1:0],t=Number(i.value);i.select(),this.focusValue=t,this.hoverValue=t,this.hasFocus=!0},this.handleRatingFocusLeave=()=>{this.focusValue=null,this.hoverValue=null,this.hasFocus=!1},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleInputKeyDown=i=>{const t=Number(i.currentTarget.value),s=i.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==t?t:0;break;case"ArrowLeft":this.value=t-1;break;case"ArrowRight":this.value=t+1;break;case"Tab":this.hasFocus&&(this.hasFocus=!1,this.focusValue=null,this.hoverValue=null)}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e)},this.handleInputChange=i=>{if(!0===this.isKeyboardInteraction){const t=Number(i.target.value);this.focusValue=t,this.hoverValue=t,this.value=t}},this.handleLabelPointerOver=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.hoverValue=t,this.focusValue=null},this.handleLabelPointerDown=i=>{const t=Number(i.currentTarget.firstChild.value||0);this.focusValue=null,this.hoverValue=null,this.emit=!0,this.value=this.required||this.value!==t?t:0},this.emit=!1,this.guid=`calcite-ratings-${l()}`,this.isKeyboardInteraction=!0,this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0,this.focusValue=void 0,this.hasFocus=void 0}onMessagesChange(){}handleValueUpdate(i){this.hoverValue=i,this.focusValue=i,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){r(this),b(this),w(this),p(this),n(this)}async componentWillLoad(){await k(this),m(this),this.inputRefs=Array(this.max)}componentWillRender(){this.starsMap=Array.from({length:this.max},((i,t)=>{const s=t+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.focusValue&&!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,focused:this.isKeyboardInteraction&&this.hasFocus&&this.focusValue===s,fraction:e,hovered:a,id:`${this.guid}-${s}`,idx:t,partial:!this.focusValue&&!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s}}))}componentDidLoad(){f(this)}disconnectedCallback(){c(this),g(this),x(this),u(this),o(this)}componentDidRender(){d(this)}render(){return i(e,{onBlur:this.handleRatingFocusLeave,onFocus:this.handleRatingFocusIn,onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},i("span",{class:"wrapper"},i("fieldset",{class:"fieldset",disabled:this.disabled},i("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:t,checked:s,focused:e,fraction:a,hovered:n,id:o,idx:h,partial:l,selected:r,value:c})=>i("label",{class:{star:!0,focused:e,selected:r,hovered:n,average:t,partial:l},htmlFor:o,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver},i("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:o,name:this.guid,onChange:this.handleInputChange,onKeyDown:this.handleInputKeyDown,type:"radio",value:c,ref:i=>(this.inputRefs[h]=i,(1===c||c===this.value)&&(this.inputFocusRef=i))}),i(j,{full:r||t,scale:this.scale}),l&&i("div",{class:"fraction",style:{width:100*a+"%"}},i(j,{full:!0,partial:!0,scale:this.scale})),i("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${c}`))))),(this.count||this.average)&&this.showChip?i("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&i("span",{class:"number--average"},this.average.toString()),!!this.count&&i("span",{class:"number--count"},"(",this.count?.toString(),")")):null),i(h,{component:this})))}onLabelClick(){this.setFocus()}async setFocus(){await v(this),this.inputFocusRef?.focus()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};z.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{z as calcite_rating}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
export{I as calcite_input_time_picker,T as calcite_time_picker}from"./p-cf87e0e4.js";import"./p-6d3a7a5b.js";import"./p-990bc43f.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-088880eb.js";import"./p-d2b08524.js";import"./p-847ce3f9.js";import"./p-e5154823.js";import"./p-42bd7473.js";import"./p-fb0d85f5.js";import"./p-dfc34aa3.js";import"./p-461ad99b.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as e,H as s,a as o}from"./p-6d3a7a5b.js";import{q as n,i as a,v as r,t as l}from"./p-737aab71.js";import{c,b as h,a as d,r as p,F as f}from"./p-98c3b092.js";import{g as u}from"./p-8d92ca31.js";import{o as m}from"./p-6369b750.js";import{F as v}from"./p-182025cc.js";import"./p-5799e874.js";import"./p-1fabdd5f.js";const g="aria-describedby";function b(t){const{referenceElement:i}=t;return("string"==typeof i?n(t,{id:i}):i)||null}const w=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:i}=this,e=t.find((t=>i.has(t)));return i.get(e)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:i}=this;if(i?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const e=b(i);e instanceof Element&&e.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const i=t.composedPath(),{activeTooltip:e}=this;if(e?.open&&i.includes(e))return void this.clearHoverTimeout();const s=this.queryTooltip(i);this.hoveredTooltip=s,this.isClosableClickedTooltip(s)||(this.clickedTooltip=null,s?this.openHoveredTooltip(s):e&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!a(t))return;const i=this.queryTooltip(t.composedPath());this.clickedTooltip=i,i?.closeOnClick&&(this.toggleTooltip(i,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,i){this.registeredElementCount++,this.registeredElements.set(t,i);const e=this.getReferenceElShadowRootNode(t);e&&this.registerShadowRoot(e),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const i=this.getReferenceElShadowRootNode(t);i&&this.unregisterShadowRoot(i),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,i){this.closeActiveTooltip(),i&&this.clearHoverTimeout(),this.toggleTooltip(t,i)}toggleTooltip(t,i){t.open=i,this.activeTooltip=i?t:null}queryFocusedTooltip(t,i){const e=this.queryTooltip(t.composedPath());e&&!this.isClosableClickedTooltip(e)&&this.toggleFocusedTooltip(e,i)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=(i.get(t)??0)+1;1===e&&this.addShadowListeners(t),i.set(t,e)}unregisterShadowRoot(t){const{registeredShadowRootCounts:i}=this,e=i.get(t)-1;0===e&&this.removeShadowListeners(t),i.set(t,e)}getReferenceElShadowRootNode(t){return t instanceof Element?r(t):null}},y=class{constructor(e){t(this,e),this.calciteTooltipBeforeClose=i(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=i(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=i(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=i(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${u()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=b(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:i,referenceElement:e,effectiveReferenceElement:s}=this;t&&e&&!s&&console.warn(`${i.tagName}: reference-element id "${e}" was not found.`,{el:i}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const i=this.getId();"setAttribute"in t&&t.setAttribute(g,i),w.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(g),w.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=h,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){m(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&m(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),d(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:i,effectiveReferenceElement:e,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return p(this,{floatingEl:i,referenceEl:e,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:i,open:o,floatingLayout:n}=this,a=t&&o,r=!a;return e(s,{"aria-hidden":l(r),"aria-label":i,"aria-live":"polite","calcite-hydrated-hidden":r,id:this.getId(),role:"tooltip"},e("div",{class:{[f.animation]:!0,[f.animationActive]:a},ref:this.setTransitionEl},e(v,{floatingLayout:n,ref:t=>this.arrowEl=t}),e("div",{class:"container"},e("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};y.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tooltip}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as i,h as n,F as e,H as a,a as o}from"./p-6d3a7a5b.js";import{e as s}from"./p-737aab71.js";import{c as r,s as l,a as c}from"./p-e5154823.js";import"./p-8d92ca31.js";import"./p-5799e874.js";const h="hide",d="logo",u="user",m="progress",v="navigation-secondary",g="navigation-tertiary",p=class{constructor(n){t(this,n),this.calciteNavigationActionSelect=i(this,"calciteNavigationActionSelect",6),this.actionClickHandler=()=>{this.calciteNavigationActionSelect.emit()},this.handleUserSlotChange=t=>{this.isPrimaryLevel()&&(this.userSlotHasElements=s(t))},this.handleLogoSlotChange=t=>{this.isPrimaryLevel()&&(this.logoSlotHasElements=s(t))},this.handleContentStartSlotChange=t=>{this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=s(t))},this.handleContentEndSlotChange=t=>{this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=s(t))},this.handleContentCenterSlotChange=t=>{this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=s(t))},this.handleSecondarySlotChange=t=>{this.secondarySlotHasElements=s(t)},this.handleTertiarySlotChange=t=>{this.tertiarySlotHasElements=s(t)},this.handleMenuActionSlotChange=t=>{this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=s(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))},this.handleProgressSlotChange=t=>{this.isPrimaryLevel()&&(this.progressSlotHasElement=s(t))},this.label=void 0,this.navigationAction=!1,this.logoSlotHasElements=void 0,this.navigationActionSlotHasElements=void 0,this.primaryContentCenterSlotHasElements=void 0,this.primaryContentEndSlotHasElements=void 0,this.primaryContentStartSlotHasElements=void 0,this.progressSlotHasElement=void 0,this.secondarySlotHasElements=void 0,this.tertiarySlotHasElements=void 0,this.userSlotHasElements=void 0}async setFocus(){return await r(this),this.navigationActionEl?.setFocus()}componentWillLoad(){l(this)}componentDidLoad(){c(this)}isPrimaryLevel(){return this.el.slot!==v&&this.el.slot!==g}renderMenuAction(){return n("slot",{name:"navigation-action",onSlotchange:this.handleMenuActionSlotChange},this.navigationAction&&n("calcite-action",{icon:"hamburger",onClick:this.actionClickHandler,text:this.label,ref:t=>this.navigationActionEl=t}))}render(){const t=this.el.slot;return n(a,null,n("div",{class:{container:!0,secondary:t===v,tertiary:t===g,primary:this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction}},n("div",{class:{[h]:!this.progressSlotHasElement,[m]:!0}},n("slot",{name:m,onSlotchange:this.handleProgressSlotChange})),n("div",{class:{"container-content":!0,"progress-bar":this.progressSlotHasElement}},this.renderMenuAction(),n("div",{class:{[h]:!this.logoSlotHasElements,[d]:!0}},n("slot",{name:d,onSlotchange:this.handleLogoSlotChange})),n("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}),n("slot",{name:"content-center",onSlotchange:this.handleContentCenterSlotChange}),n("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}),n("div",{class:{[h]:!this.userSlotHasElements,[u]:!0}},n("slot",{name:u,onSlotchange:this.handleUserSlotChange})))),n(e,null,n("slot",{name:v,onSlotchange:this.handleSecondarySlotChange}),n("slot",{name:g,onSlotchange:this.handleTertiarySlotChange})))}get el(){return o(this)}};p.style=":host([hidden]){display:none}[hidden]{display:none}.container{margin-inline:auto;display:flex;inline-size:100%;flex-direction:column;margin-block:0;margin-inline:auto;background-color:var(--calcite-navigation-background, var(--calcite-ui-foreground-1))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-ui-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:4rem}.secondary{block-size:3rem}.tertiary{block-size:3rem}.container-content{margin-inline:auto;display:flex;block-size:100%;inline-size:100%;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:0.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline-start:auto;margin-inline-end:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:0px}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:0px}";const f="heading",x="description",b=class{constructor(i){t(this,i),this.active=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.description=void 0,this.target=void 0,this.heading=void 0,this.thumbnail=void 0}async setFocus(){await r(this),this.href&&this.el.focus()}componentWillLoad(){l(this)}componentDidLoad(){c(this)}render(){const{heading:t,description:i,thumbnail:e}=this;return n(a,null,n("a",{class:"anchor",href:this.href,rel:this.rel,target:this.target},e&&n("img",{alt:this.label||"",class:"image",src:e}),(t||i)&&n("div",{class:"container"},t&&n("span",{"aria-label":this.heading,class:{[f]:!0,standalone:!this.description},key:f},t),i&&n("span",{"aria-label":this.description,class:x,key:x},i))))}static get delegatesFocus(){return!0}get el(){return o(this)}};b.style=":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;text-decoration-line:none;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-ui-foreground-2)}.anchor:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.anchor:active{background-color:var(--calcite-ui-foreground-3)}.image{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-ui-text-1)}:host([active]) .anchor{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand);--calcite-ui-icon-color:var(--calcite-ui-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";const y="full-name",k="username",z=class{constructor(i){t(this,i),this.active=void 0,this.fullName=void 0,this.label=void 0,this.textDisabled=!1,this.thumbnail=void 0,this.userId=void 0,this.username=void 0}async setFocus(){await r(this),this.el.focus()}componentWillLoad(){l(this)}componentDidLoad(){c(this)}render(){return n(a,null,n("button",{"aria-label":this.label,class:"button"},n("calcite-avatar",{"full-name":this.fullName,label:this.label,thumbnail:this.thumbnail,"user-id":this.userId,username:this.username}),(this.fullName||this.username)&&!this.textDisabled&&n("div",{class:"text-container"},this.fullName&&n("span",{class:y,key:y},this.fullName),this.username&&n("span",{class:k,key:k},this.username))))}static get delegatesFocus(){return!0}get el(){return o(this)}};z.style=":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{background-color:transparent;border:none;margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}:host(:hover) .button,:host(:focus) .button{background-color:var(--calcite-ui-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host(:active) .button{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}calcite-avatar{padding-inline:1rem}calcite-avatar~.text-container{padding-inline-start:0px}:host([active]) .button{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1);--calcite-ui-icon-color:var(--calcite-ui-brand)}.text-container{margin-block-start:0.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.username{color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_navigation,b as calcite_navigation_logo,z as calcite_navigation_user}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{r as e,h as i,a as s}from"./p-6d3a7a5b.js";import{c as t,d as a}from"./p-42bd7473.js";import{u as n,c,s as o,d as r}from"./p-461ad99b.js";import{c as l}from"./p-fb0d85f5.js";import"./p-737aab71.js";import"./p-8d92ca31.js";import"./p-5799e874.js";import"./p-d2b08524.js";const d=class{constructor(i){e(this,i),this.resizeObserver=l("resize",(()=>this.handleResize())),this.storeLoaderEl=e=>{this.loaderEl=e,this.handleResize()},this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.loaderScale=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}effectiveLocaleChange(){n(this,this.effectiveLocale)}connectedCallback(){t(this),c(this),this.resizeObserver?.observe(this.el)}async componentWillLoad(){await o(this)}disconnectedCallback(){a(this),r(this),this.resizeObserver?.disconnect()}render(){const{el:e,loading:s,messages:t}=this,a=e.innerHTML.trim().length>0,n=s?i("calcite-loader",{label:t.loading,ref:this.storeLoaderEl,scale:this.loaderScale}):null,c=a?i("div",{class:"content"},i("slot",null)):null;return i("div",{class:"scrim"},n,c)}getScale(e){return e<72?"s":e>=480?"l":"m"}handleResize(){const{loaderEl:e,el:i}=this;e&&(this.loaderScale=this.getScale(Math.min(i.clientHeight,i.clientWidth)??0))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};d.style=":host{position:absolute;inset:0px;z-index:var(--calcite-app-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-scrim-background-internal))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_scrim}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{e as t}from"./p-6d3a7a5b.js";function o(o,n=!1){t((()=>{if(o.transitionEl){const t=getComputedStyle(o.transitionEl).transition.split(" "),e=t.findIndex((t=>t===o.openTransitionProp));"0s"===t[e+1]?((n?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose(),(n?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()):(o.transitionEl.addEventListener("transitionstart",(()=>{(n?o[o.transitionProp]:o.open)?o.onBeforeOpen():o.onBeforeClose()}),{once:!0}),o.transitionEl.addEventListener("transitionend",(()=>{(n?o[o.transitionProp]:o.open)?o.onOpen():o.onClose()}),{once:!0}))}}))}export{o}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,h as a,a as i}from"./p-6d3a7a5b.js";import{c as e}from"./p-fb0d85f5.js";import{c as s,s as n,a as o}from"./p-e5154823.js";const r=class{constructor(a){t(this,a),this.itemMutationObserver=e("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,a)=>t&&a>1||t>1?a<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{el:t,items:a}=this,i=Array.from(t.querySelectorAll("calcite-flow-item")).filter((a=>a.closest("calcite-flow")===t)),e=a.length,s=i.length,n=i[s-1],o=i[s-2];if(s&&n&&i.forEach((t=>{t.showBackButton=t===n&&s>1,t.hidden=t!==n})),o&&(o.menuOpen=!1),this.items=i,e!==s){const t=this.getFlowDirection(e,s);this.itemCount=s,this.flowDirection=t}},this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,a=t[t.length-1];if(!a)return;const i=a.beforeBack?a.beforeBack:()=>Promise.resolve();return await i.call(a),a.remove(),a}async setFocus(){await s(this);const{items:t}=this;return t[t.length-1]?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){n(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(){return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return a("div",{class:{frame:!0,"frame--advancing":"advancing"===t,"frame--retreating":"retreating"===t}},a("slot",null))}get el(){return i(this)}};r.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";export{r as calcite_flow}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
|
4
|
-
* v1.5.0-next.33
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as s,h as i,a as e}from"./p-6d3a7a5b.js";import{k as a,t as o}from"./p-737aab71.js";import{c as h,d as c,u as n}from"./p-088880eb.js";import{c as r}from"./p-fb0d85f5.js";import{a as l,s as d,c as p}from"./p-e5154823.js";import"./p-8d92ca31.js";import"./p-5799e874.js";const b=class{constructor(i){t(this,i),this.calciteChipGroupSelect=s(this,"calciteChipGroupSelect",6),this.mutationObserver=r("mutation",(()=>this.updateItems())),this.items=[],this.updateItems=t=>{this.items=(t?t.target:this.slotRefEl).assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-chip"))),this.items.forEach((t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(t,s)=>{s&&this.items.forEach((t=>{const i=s===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=!!i&&!t.selected;break;case"single-persist":t.selected=!!i}})),this.selectedItems=this.items.filter((t=>t.selected)),t&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}connectedCallback(){h(this),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}componentDidRender(){c(this),n(this)}componentDidLoad(){l(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}async componentWillLoad(){d(this)}calciteInternalChipKeyEventListener(t){if(t.composedPath().includes(this.el)){const s=this.items.filter((t=>!t.disabled));switch(t.detail.key){case"ArrowRight":a(s,t.detail.target,"next");break;case"ArrowLeft":a(s,t.detail.target,"previous");break;case"Home":a(s,t.detail.target,"first");break;case"End":a(s,t.detail.target,"last")}}}calciteChipCloseListener(t){const s=t.target;this.items.includes(s)&&(this.items.indexOf(s)>0?a(this.items,s,"previous"):0===this.items.indexOf(s)?a(this.items,s,"next"):a(this.items,s,"first")),this.items=this.items.filter((t=>t!==s))}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!0,t.target)}async setFocus(){if(await p(this),!this.disabled)return(this.selectedItems[0]||this.items[0])?.setFocus()}render(){const t="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return i("div",{"aria-disabled":o(this.disabled),"aria-label":this.label,class:"container",role:t},i("slot",{onSlotchange:this.updateItems,ref:t=>this.slotRefEl=t}))}get el(){return e(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};b.style=":host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";export{b as calcite_chip_group}
|