@esri/calcite-components 1.4.0-next.0 → 1.4.0-next.10
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/assets/icon/orientedImageryLayer16.json +1 -0
- package/dist/calcite/assets/icon/orientedImageryLayer24.json +1 -0
- package/dist/calcite/assets/icon/orientedImageryLayer32.json +1 -0
- package/dist/calcite/assets/icon/parcelLayer16.json +1 -0
- package/dist/calcite/assets/icon/parcelLayer24.json +1 -0
- package/dist/calcite/assets/icon/parcelLayer32.json +1 -0
- package/dist/calcite/assets/icon/viewAssociations16.json +1 -0
- package/dist/calcite/assets/icon/viewAssociations24.json +1 -0
- package/dist/calcite/assets/icon/viewAssociations32.json +1 -0
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +2 -2
- package/dist/calcite/{p-289f6317.js → p-00383b72.js} +1 -1
- package/dist/calcite/{p-ba0d3bd7.entry.js → p-006421cf.entry.js} +2 -2
- package/dist/calcite/{p-cf703c59.entry.js → p-033b7e01.entry.js} +2 -2
- package/dist/calcite/{p-4326ccbd.js → p-04577b20.js} +1 -1
- package/dist/calcite/{p-e7ad5add.js → p-063a4869.js} +1 -1
- package/dist/calcite/{p-9748745f.entry.js → p-088553ab.entry.js} +2 -2
- package/dist/calcite/{p-2fa9c44a.js → p-0990e4b1.js} +1 -1
- package/dist/calcite/p-0b5b83ca.js +6 -0
- package/dist/calcite/{p-c01d0233.entry.js → p-0c5c7ac8.entry.js} +2 -2
- package/dist/calcite/{p-02ef04d5.entry.js → p-0f914551.entry.js} +2 -2
- package/dist/calcite/{p-0f59b0fa.js → p-11d8b4fa.js} +2 -2
- package/dist/calcite/{p-51cd139f.entry.js → p-12a17917.entry.js} +2 -2
- package/dist/calcite/{p-3c4b364e.entry.js → p-166b2653.entry.js} +2 -2
- package/dist/calcite/{p-376775c7.entry.js → p-1d8d9ad5.entry.js} +2 -2
- package/dist/calcite/p-21f70058.entry.js +6 -0
- package/dist/calcite/{p-edc60e96.entry.js → p-26ff46fc.entry.js} +2 -2
- package/dist/calcite/{p-6011d8eb.entry.js → p-285fde7a.entry.js} +2 -2
- package/dist/calcite/{p-11beded1.js → p-28bd653e.js} +3 -3
- package/dist/calcite/{p-64a44a39.js → p-2c11ed7d.js} +2 -2
- package/dist/calcite/p-2e345437.entry.js +6 -0
- package/dist/calcite/{p-57e653ea.js → p-2fba8e6a.js} +1 -1
- package/dist/calcite/{p-37d9d3e2.entry.js → p-33841e82.entry.js} +2 -2
- package/dist/calcite/{p-3255b488.js → p-33c5c291.js} +1 -1
- package/dist/calcite/{p-6088fbfa.js → p-369d7e1a.js} +1 -1
- package/dist/calcite/{p-e11ced36.js → p-37d03f0c.js} +2 -2
- package/dist/calcite/{p-f4cf789b.js → p-386abb7d.js} +3 -3
- package/dist/calcite/{p-f357d9a8.entry.js → p-39d22c35.entry.js} +2 -2
- package/dist/calcite/{p-137b6f9b.js → p-3d973854.js} +2 -2
- package/dist/calcite/{p-6f2233a8.entry.js → p-3fe662f7.entry.js} +2 -2
- package/dist/calcite/{p-df66e5af.entry.js → p-463c3817.entry.js} +2 -2
- package/dist/calcite/p-4e5db9b6.js +6 -0
- package/dist/calcite/{p-b7cc02fa.js → p-4f50176e.js} +1 -1
- package/dist/calcite/p-504ea909.entry.js +6 -0
- package/dist/calcite/{p-1d34d5b7.entry.js → p-548fb4ce.entry.js} +2 -2
- package/dist/calcite/{p-dc29d755.entry.js → p-55caae0c.entry.js} +2 -2
- package/dist/calcite/{p-f77c2524.entry.js → p-590cc126.entry.js} +2 -2
- package/dist/calcite/{p-5368cb06.entry.js → p-5bc7013c.entry.js} +2 -2
- package/dist/calcite/{p-34268eb0.entry.js → p-63d45233.entry.js} +2 -2
- package/dist/calcite/{p-cdbd4c6f.entry.js → p-6b84d6ef.entry.js} +2 -2
- package/dist/calcite/p-6d7e5273.entry.js +6 -0
- package/dist/calcite/{p-695e0525.entry.js → p-706ed58d.entry.js} +2 -2
- package/dist/calcite/p-718f633f.entry.js +6 -0
- package/dist/calcite/{p-7fb70776.entry.js → p-7249fbe5.entry.js} +2 -2
- package/dist/calcite/{p-5e23d67e.entry.js → p-72ba446e.entry.js} +2 -2
- package/dist/calcite/{p-6b118e60.entry.js → p-75b724ae.entry.js} +2 -2
- package/dist/calcite/{p-86a533d8.entry.js → p-771ec30b.entry.js} +2 -2
- package/dist/calcite/{p-f8e1c231.js → p-797661fe.js} +1 -1
- package/dist/calcite/{p-47d5e341.entry.js → p-7c870019.entry.js} +2 -2
- package/dist/calcite/{p-3b3b1e7e.entry.js → p-7cb6bb0c.entry.js} +2 -2
- package/dist/calcite/{p-b822b669.entry.js → p-7ddd51c0.entry.js} +2 -2
- package/dist/calcite/{p-8c54a92e.entry.js → p-80b4addf.entry.js} +2 -2
- package/dist/calcite/p-83924270.entry.js +6 -0
- package/dist/calcite/{p-8bd7bc4a.js → p-892279b1.js} +1 -1
- package/dist/calcite/{p-2fceaf3f.entry.js → p-8d09a65c.entry.js} +2 -2
- package/dist/calcite/{p-7b652538.entry.js → p-923166fc.entry.js} +2 -2
- package/dist/calcite/{p-c6b0ff12.entry.js → p-95fdcb91.entry.js} +2 -2
- package/dist/calcite/p-96968ac7.entry.js +6 -0
- package/dist/calcite/p-970be967.entry.js +6 -0
- package/dist/calcite/p-99e63f9f.js +6 -0
- package/dist/calcite/{p-6505aa9e.entry.js → p-9c84eb29.entry.js} +2 -2
- package/dist/calcite/{p-d37c6c61.js → p-9d02fe1c.js} +1 -1
- package/dist/calcite/{p-2f0fa893.entry.js → p-9d07088d.entry.js} +2 -2
- package/dist/calcite/{p-4f208a60.js → p-9fe27e8d.js} +2 -2
- package/dist/calcite/{p-b66a142d.js → p-a0a1f925.js} +1 -1
- package/dist/calcite/p-a15f7de3.js +6 -0
- package/dist/calcite/{p-483b59be.entry.js → p-a49d3536.entry.js} +2 -2
- package/dist/calcite/{p-4d55aa78.js → p-a7daef7a.js} +2 -2
- package/dist/calcite/p-a94a945f.entry.js +6 -0
- package/dist/calcite/{p-1f0e9bdc.entry.js → p-aa277b5a.entry.js} +2 -2
- package/dist/calcite/{p-06615599.entry.js → p-ac273467.entry.js} +2 -2
- package/dist/calcite/p-b140b736.js +6 -0
- package/dist/calcite/{p-5682711c.entry.js → p-b149fa47.entry.js} +2 -2
- package/dist/calcite/{p-58337196.entry.js → p-b2b99a48.entry.js} +2 -2
- package/dist/calcite/{p-5b24b90a.js → p-b6042b6c.js} +1 -1
- package/dist/calcite/{p-e243abb7.entry.js → p-b99a1036.entry.js} +2 -2
- package/dist/calcite/{p-dc1dcfc1.entry.js → p-c6a73b19.entry.js} +2 -2
- package/dist/calcite/{p-397fcd80.entry.js → p-c8c93dc4.entry.js} +2 -2
- package/dist/calcite/{p-ffd4191d.js → p-ca33af16.js} +2 -2
- package/dist/calcite/{p-db9631fc.entry.js → p-cc171e49.entry.js} +2 -2
- package/dist/calcite/{p-087c40ee.js → p-d2a6b24b.js} +1 -1
- package/dist/calcite/{p-48622a82.entry.js → p-d3245ccf.entry.js} +2 -2
- package/dist/calcite/{p-0008c6a3.entry.js → p-deb3bdde.entry.js} +2 -2
- package/dist/calcite/{p-21bacae6.entry.js → p-e0e93a72.entry.js} +2 -2
- package/dist/calcite/{p-94f16774.js → p-e1098787.js} +2 -2
- package/dist/calcite/p-e22cb550.entry.js +6 -0
- package/dist/calcite/{p-121f6053.js → p-e4c1febd.js} +1 -1
- package/dist/calcite/{p-1d426b87.js → p-e79254d3.js} +2 -2
- package/dist/calcite/{p-94aa5071.js → p-eacf0ee1.js} +1 -1
- package/dist/calcite/p-ee458bd5.js +6 -0
- package/dist/calcite/{p-1abc82c2.entry.js → p-f0fdf516.entry.js} +2 -2
- package/dist/calcite/{p-83bf9a0f.entry.js → p-f1642ec6.entry.js} +2 -2
- package/dist/calcite/{p-6950ca4b.js → p-f395d0e2.js} +2 -2
- package/dist/calcite/{p-f3753747.entry.js → p-f5e50012.entry.js} +2 -2
- package/dist/calcite/{p-c86d27a3.entry.js → p-fbfe8e4d.entry.js} +2 -2
- package/dist/calcite/{p-00a2d9ab.entry.js → p-fe1c87d5.entry.js} +2 -2
- package/dist/calcite/{p-97efa412.entry.js → p-ffdbd6d1.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-bdfd6fa1.js → ExpandToggle-953ef45b.js} +5 -5
- package/dist/cjs/{FloatingArrow-2721f8fc.js → FloatingArrow-cf108924.js} +2 -2
- package/dist/cjs/{Heading-6ef1898d.js → Heading-0b55bc06.js} +2 -2
- package/dist/cjs/{app-globals-cd964522.js → app-globals-4953ac0e.js} +2 -2
- package/dist/cjs/{array-576d7912.js → array-2726dfca.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -16
- 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 +9 -8
- 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 +585 -339
- 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 +15 -14
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +10 -10
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +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_2.cjs.entry.js +14 -14
- 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 +50 -40
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +10 -10
- package/dist/cjs/calcite-panel.cjs.entry.js +15 -15
- 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 +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -14
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +46 -32
- package/dist/cjs/calcite-tree_2.cjs.entry.js +47 -27
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{composed-offset-position.esm-1a67d05e.js → composed-offset-position.esm-12a68feb.js} +1 -1
- package/dist/cjs/{conditionalSlot-229cfc41.js → conditionalSlot-f5ae40d5.js} +3 -3
- package/dist/cjs/{debounce-b4f960bc.js → debounce-a5772547.js} +1 -1
- package/dist/cjs/{dom-aa42bfcf.js → dom-60bc41cc.js} +116 -17
- package/dist/cjs/{filter-0dcbb310.js → filter-6d66baa0.js} +2 -2
- package/dist/cjs/{floating-ui-681123a5.js → floating-ui-eea897d6.js} +71 -65
- package/dist/cjs/{focusTrapComponent-2d2242ef.js → focusTrapComponent-adfb6fd0.js} +2 -2
- package/dist/cjs/{form-7bfb80aa.js → form-375179b0.js} +3 -3
- package/dist/cjs/{guid-00be0e24.js → guid-20fbb6f5.js} +1 -1
- package/dist/cjs/{index-8eb869ae.js → index-7ff03af4.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{interactive-2287fde4.js → interactive-e756405a.js} +1 -1
- package/dist/cjs/{key-a8c7ee49.js → key-965a0499.js} +1 -1
- package/dist/cjs/{label-cd4c10e7.js → label-d45108db.js} +2 -2
- package/dist/cjs/{loadable-68686b66.js → loadable-43aa8e12.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-c1aecec9.js → locale-352dde9f.js} +4 -4
- package/dist/cjs/{math-e324135c.js → math-9638f9db.js} +1 -1
- package/dist/cjs/{observers-2ab1ae0b.js → observers-c0279726.js} +1 -1
- package/dist/cjs/{openCloseComponent-9ad26303.js → openCloseComponent-02cae5bf.js} +2 -2
- package/dist/cjs/{resources-82f78554.js → resources-0c626808.js} +1 -1
- package/dist/cjs/{resources-b8855250.js → resources-2dbf7729.js} +1 -1
- package/dist/cjs/{resources-5c51a6fd.js → resources-4097e6e6.js} +5 -5
- package/dist/cjs/{resources-d24283c8.js → resources-b2185290.js} +1 -1
- package/dist/cjs/{resources-cf6da3a8.js → resources-db42842c.js} +1 -1
- package/dist/cjs/{resources-0e53773f.js → resources-ebef8fc8.js} +1 -1
- package/dist/cjs/{sortable.esm-b85af44a.js → sortable.esm-4549097b.js} +1 -1
- package/dist/cjs/{t9n-c3de7794.js → t9n-6dbfaf2b.js} +3 -3
- package/dist/cjs/{throttle-32a0520b.js → throttle-5b0015f5.js} +2 -2
- package/dist/cjs/utils-52def2ad.js +213 -0
- package/dist/cjs/{utils-b82df3c4.js → utils-643437eb.js} +3 -3
- 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.css +9 -12
- 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 +22 -4
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +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.css +59 -52
- package/dist/collection/components/color-picker/color-picker.js +449 -234
- package/dist/collection/components/color-picker/resources.js +37 -27
- package/dist/collection/components/color-picker/utils.js +116 -30
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +19 -16
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +225 -118
- package/dist/collection/components/color-picker-hex-input/resources.js +3 -3
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.css +10 -6
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +34 -7
- package/dist/collection/components/color-picker-swatch/resources.js +8 -2
- 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.css +12 -0
- package/dist/collection/components/flow-item/flow-item.js +4 -3
- package/dist/collection/components/flow-item/resources.js +2 -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/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/assets/icon/orientedImageryLayer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/orientedImageryLayer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/orientedImageryLayer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/parcelLayer16.json +1 -0
- package/dist/collection/components/icon/assets/icon/parcelLayer24.json +1 -0
- package/dist/collection/components/icon/assets/icon/parcelLayer32.json +1 -0
- package/dist/collection/components/icon/assets/icon/viewAssociations16.json +1 -0
- package/dist/collection/components/icon/assets/icon/viewAssociations24.json +1 -0
- package/dist/collection/components/icon/assets/icon/viewAssociations32.json +1 -0
- 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/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 +60 -30
- package/dist/collection/components/list/resources.js +2 -2
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +9 -2
- package/dist/collection/components/panel/panel.js +2 -2
- 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 -4
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/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 +38 -24
- 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 +25 -12
- 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 +15 -8
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +114 -15
- 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 +1 -1
- package/dist/collection/utils/mode.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/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/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +2 -2
- 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 +5 -3
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +2 -2
- 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 +377 -314
- 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 +4 -3
- 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 +2 -617
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +40 -30
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -4
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-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 +15 -8
- package/dist/components/calcite-tree.js +25 -12
- 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 +252 -88
- package/dist/components/color-picker-swatch.js +42 -2118
- package/dist/components/composed-offset-position.esm.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +114 -15
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +68 -62
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +2116 -0
- package/dist/components/input-number.js +623 -0
- package/dist/components/input.js +2 -2
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +2 -2
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +2 -2
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/throttle.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +38 -24
- package/dist/components/utils.js +112 -31
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-fde6af4a.js → ExpandToggle-453532fb.js} +5 -5
- package/dist/esm/{FloatingArrow-22ca29de.js → FloatingArrow-7e092a81.js} +2 -2
- package/dist/esm/{Heading-0cfa1161.js → Heading-3e8ede2b.js} +2 -2
- package/dist/esm/{app-globals-2838ecbb.js → app-globals-f5cd924f.js} +2 -2
- package/dist/esm/{array-2b055bc9.js → array-cd8aabd5.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +16 -16
- 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 +9 -8
- 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 +585 -339
- 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 +15 -14
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +10 -10
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +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_2.entry.js +14 -14
- 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 +50 -40
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +13 -13
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +10 -10
- package/dist/esm/calcite-panel.entry.js +15 -15
- 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 +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -14
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +15 -15
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +11 -11
- package/dist/esm/calcite-tooltip.entry.js +46 -32
- package/dist/esm/calcite-tree_2.entry.js +47 -27
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{composed-offset-position.esm-3d3a33f0.js → composed-offset-position.esm-76d65efb.js} +1 -1
- package/dist/esm/{conditionalSlot-cf62479a.js → conditionalSlot-aa1ef58a.js} +3 -3
- package/dist/esm/{debounce-5d51c702.js → debounce-8c6a3cbc.js} +1 -1
- package/dist/esm/{dom-edf2353d.js → dom-b9bed823.js} +116 -17
- package/dist/esm/{filter-f186a577.js → filter-e32fe919.js} +2 -2
- package/dist/esm/{floating-ui-6059a48a.js → floating-ui-fbd8bbc8.js} +71 -65
- package/dist/esm/{focusTrapComponent-3502b72b.js → focusTrapComponent-d63c1aa7.js} +2 -2
- package/dist/esm/{form-9792ef7d.js → form-7d8a2b92.js} +3 -3
- package/dist/esm/{guid-f191591c.js → guid-8fc9c6e4.js} +1 -1
- package/dist/esm/{index-182e3b39.js → index-18aa0ab5.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/{interactive-e9ff4b45.js → interactive-c1d7134a.js} +1 -1
- package/dist/esm/{key-3503f056.js → key-c41d524a.js} +1 -1
- package/dist/esm/{label-21907408.js → label-fab33c80.js} +2 -2
- package/dist/esm/{loadable-a090b4d4.js → loadable-a4cb0e0a.js} +1 -1
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{locale-6785b469.js → locale-70a08434.js} +4 -4
- package/dist/esm/{math-370975a2.js → math-4700eb3d.js} +1 -1
- package/dist/esm/{observers-cd3c1de9.js → observers-72f649b9.js} +1 -1
- package/dist/esm/{openCloseComponent-f3ea7fc6.js → openCloseComponent-7099262f.js} +2 -2
- package/dist/esm/{resources-5b8d643e.js → resources-04baed08.js} +1 -1
- package/dist/esm/{resources-f0665539.js → resources-3a3d58c2.js} +1 -1
- package/dist/esm/{resources-052baf79.js → resources-6f9c09ba.js} +5 -5
- package/dist/esm/{resources-63300d44.js → resources-6fb499ae.js} +1 -1
- package/dist/esm/{resources-a3f184da.js → resources-7d1e244f.js} +1 -1
- package/dist/esm/{resources-18d35b9a.js → resources-941c20ae.js} +1 -1
- package/dist/esm/{sortable.esm-8a9dc2f0.js → sortable.esm-fa5ebcb2.js} +1 -1
- package/dist/esm/{t9n-ee8bc8cf.js → t9n-1cf2a8af.js} +3 -3
- package/dist/esm/{throttle-e902571a.js → throttle-48795209.js} +2 -2
- package/dist/esm/{utils-dfe7cb74.js → utils-b673e5a0.js} +3 -3
- package/dist/esm/utils-cb560d06.js +195 -0
- package/dist/extras/docs-json.json +201 -39
- package/dist/extras/vscode-data.json +28 -4
- 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/avatar/avatar.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +55 -26
- package/dist/types/components/color-picker/interfaces.d.ts +1 -0
- package/dist/types/components/color-picker/resources.d.ts +28 -18
- package/dist/types/components/color-picker/utils.d.ts +16 -7
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +33 -16
- package/dist/types/components/color-picker-hex-input/resources.d.ts +2 -2
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +3 -2
- package/dist/types/components/color-picker-swatch/resources.d.ts +6 -1
- package/dist/types/components/flow-item/flow-item.d.ts +2 -1
- package/dist/types/components/flow-item/resources.d.ts +1 -0
- package/dist/types/components/list/list.d.ts +7 -2
- package/dist/types/components/list/resources.d.ts +1 -1
- package/dist/types/components/panel/panel.d.ts +1 -1
- package/dist/types/components/tooltip/TooltipManager.d.ts +3 -2
- package/dist/types/components/tree-item/tree-item.d.ts +2 -0
- package/dist/types/components.d.ts +74 -10
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/dom.d.ts +115 -19
- package/hydrate/index.js +987 -512
- package/package.json +5 -6
- package/dist/calcite/p-0847f232.entry.js +0 -6
- package/dist/calcite/p-20ed5889.entry.js +0 -6
- package/dist/calcite/p-2cccfd42.entry.js +0 -6
- package/dist/calcite/p-3b4e44ab.entry.js +0 -6
- package/dist/calcite/p-425f369a.entry.js +0 -6
- package/dist/calcite/p-48afa956.entry.js +0 -6
- package/dist/calcite/p-5fae16d7.js +0 -6
- package/dist/calcite/p-8b364d5b.entry.js +0 -6
- package/dist/calcite/p-9779f6b5.entry.js +0 -6
- package/dist/calcite/p-afae74bd.js +0 -6
- package/dist/calcite/p-bf6df76d.js +0 -6
- package/dist/calcite/p-d2900eba.js +0 -6
- package/dist/calcite/p-e6dc645d.entry.js +0 -6
- package/dist/calcite/p-ebefbd07.js +0 -6
- package/dist/calcite/p-f0f05600.entry.js +0 -6
- package/dist/calcite/p-f8e0c9ff.js +0 -6
- package/dist/cjs/utils-7c8d4b9c.js +0 -124
- package/dist/esm/utils-9af69cbe.js +0 -114
|
@@ -1,624 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import { b as getSlotted, j as isPrimaryPointerButton, f as setRequestedIcon, c as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
8
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
9
|
-
import { u as updateHostInteraction } from './interactive.js';
|
|
10
|
-
import { n as numberKeys } from './key.js';
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label2.js';
|
|
12
|
-
import { s as setComponentLoaded, a as setUpLoadableComponent, c as componentLoaded } from './loadable.js';
|
|
13
|
-
import { n as numberStringFormatter, i as isValidNumber, p as parseNumberString, s as sanitizeNumberString, a as defaultNumberingSystem, c as connectLocalized, d as disconnectLocalized, B as BigDecimal } from './locale.js';
|
|
14
|
-
import { c as createObserver } from './observers.js';
|
|
15
|
-
import { u as updateMessages, c as connectMessages, d as disconnectMessages, s as setUpMessages } from './t9n.js';
|
|
16
|
-
import { d as defineCustomElement$3 } from './icon.js';
|
|
17
|
-
import { d as defineCustomElement$2 } from './progress.js';
|
|
18
|
-
|
|
19
|
-
const CSS = {
|
|
20
|
-
loader: "loader",
|
|
21
|
-
clearButton: "clear-button",
|
|
22
|
-
editingEnabled: "editing-enabled",
|
|
23
|
-
inlineChild: "inline-child",
|
|
24
|
-
inputIcon: "icon",
|
|
25
|
-
prefix: "prefix",
|
|
26
|
-
suffix: "suffix",
|
|
27
|
-
numberButtonWrapper: "number-button-wrapper",
|
|
28
|
-
buttonItemHorizontal: "number-button-item--horizontal",
|
|
29
|
-
wrapper: "element-wrapper",
|
|
30
|
-
inputWrapper: "wrapper",
|
|
31
|
-
actionWrapper: "action-wrapper",
|
|
32
|
-
resizeIconWrapper: "resize-icon-wrapper",
|
|
33
|
-
numberButtonItem: "number-button-item"
|
|
34
|
-
};
|
|
35
|
-
const SLOTS = {
|
|
36
|
-
action: "action"
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const inputNumberCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}: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:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host input{outline-color:transparent}:host input: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 )}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);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([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:1;display:block;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button: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 )}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start: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}";
|
|
40
|
-
|
|
41
|
-
const InputNumber = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
42
|
-
constructor() {
|
|
43
|
-
super();
|
|
44
|
-
this.__registerHost();
|
|
45
|
-
this.__attachShadow();
|
|
46
|
-
this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 6);
|
|
47
|
-
this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 6);
|
|
48
|
-
this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
|
|
49
|
-
this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 6);
|
|
50
|
-
this.previousValueOrigin = "initial";
|
|
51
|
-
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
52
|
-
this.userChangedValue = false;
|
|
53
|
-
//--------------------------------------------------------------------------
|
|
54
|
-
//
|
|
55
|
-
// Private Methods
|
|
56
|
-
//
|
|
57
|
-
//--------------------------------------------------------------------------
|
|
58
|
-
this.keyDownHandler = (event) => {
|
|
59
|
-
if (this.readOnly || this.disabled) {
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
if (this.isClearable && event.key === "Escape") {
|
|
63
|
-
this.clearInputValue(event);
|
|
64
|
-
event.preventDefault();
|
|
65
|
-
}
|
|
66
|
-
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
67
|
-
if (submitForm(this)) {
|
|
68
|
-
event.preventDefault();
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
this.clearInputValue = (nativeEvent) => {
|
|
73
|
-
this.setNumberValue({
|
|
74
|
-
committing: true,
|
|
75
|
-
nativeEvent,
|
|
76
|
-
origin: "user",
|
|
77
|
-
value: ""
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
this.emitChangeIfUserModified = () => {
|
|
81
|
-
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedNumberValue) {
|
|
82
|
-
this.calciteInputNumberChange.emit();
|
|
83
|
-
this.setPreviousEmittedNumberValue(this.value);
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
this.inputNumberBlurHandler = () => {
|
|
87
|
-
this.calciteInternalInputNumberBlur.emit();
|
|
88
|
-
this.emitChangeIfUserModified();
|
|
89
|
-
};
|
|
90
|
-
this.clickHandler = (event) => {
|
|
91
|
-
if (this.disabled) {
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
const slottedActionEl = getSlotted(this.el, "action");
|
|
95
|
-
if (event.target !== slottedActionEl) {
|
|
96
|
-
this.setFocus();
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
this.inputNumberFocusHandler = () => {
|
|
100
|
-
this.calciteInternalInputNumberFocus.emit();
|
|
101
|
-
};
|
|
102
|
-
this.inputNumberInputHandler = (nativeEvent) => {
|
|
103
|
-
if (this.disabled || this.readOnly) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
const value = nativeEvent.target.value;
|
|
107
|
-
numberStringFormatter.numberFormatOptions = {
|
|
108
|
-
locale: this.effectiveLocale,
|
|
109
|
-
numberingSystem: this.numberingSystem,
|
|
110
|
-
useGrouping: this.groupSeparator
|
|
111
|
-
};
|
|
112
|
-
const delocalizedValue = numberStringFormatter.delocalize(value);
|
|
113
|
-
if (nativeEvent.inputType === "insertFromPaste") {
|
|
114
|
-
if (!isValidNumber(delocalizedValue)) {
|
|
115
|
-
nativeEvent.preventDefault();
|
|
116
|
-
}
|
|
117
|
-
this.setNumberValue({
|
|
118
|
-
nativeEvent,
|
|
119
|
-
origin: "user",
|
|
120
|
-
value: parseNumberString(delocalizedValue)
|
|
121
|
-
});
|
|
122
|
-
this.childNumberEl.value = this.localizedValue;
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
this.setNumberValue({
|
|
126
|
-
nativeEvent,
|
|
127
|
-
origin: "user",
|
|
128
|
-
value: delocalizedValue
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
this.inputNumberKeyDownHandler = (event) => {
|
|
133
|
-
if (this.disabled || this.readOnly) {
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
if (event.key === "ArrowUp") {
|
|
137
|
-
/* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
|
|
138
|
-
event.preventDefault();
|
|
139
|
-
this.nudgeNumberValue("up", event);
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
if (event.key === "ArrowDown") {
|
|
143
|
-
this.nudgeNumberValue("down", event);
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
const supportedKeys = [
|
|
147
|
-
...numberKeys,
|
|
148
|
-
"ArrowLeft",
|
|
149
|
-
"ArrowRight",
|
|
150
|
-
"Backspace",
|
|
151
|
-
"Delete",
|
|
152
|
-
"Enter",
|
|
153
|
-
"Escape",
|
|
154
|
-
"Tab"
|
|
155
|
-
];
|
|
156
|
-
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
157
|
-
return;
|
|
158
|
-
}
|
|
159
|
-
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
160
|
-
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
161
|
-
if (event.key === "Enter") {
|
|
162
|
-
this.emitChangeIfUserModified();
|
|
163
|
-
}
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
numberStringFormatter.numberFormatOptions = {
|
|
167
|
-
locale: this.effectiveLocale,
|
|
168
|
-
numberingSystem: this.numberingSystem,
|
|
169
|
-
useGrouping: this.groupSeparator
|
|
170
|
-
};
|
|
171
|
-
if (event.key === numberStringFormatter.decimal) {
|
|
172
|
-
if (!this.value && !this.childNumberEl.value) {
|
|
173
|
-
return;
|
|
174
|
-
}
|
|
175
|
-
if (this.value && this.childNumberEl.value.indexOf(numberStringFormatter.decimal) === -1) {
|
|
176
|
-
return;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
if (/[eE]/.test(event.key)) {
|
|
180
|
-
if (!this.value && !this.childNumberEl.value) {
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
|
|
184
|
-
return;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
if (event.key === "-") {
|
|
188
|
-
if (!this.value && !this.childNumberEl.value) {
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
191
|
-
if (this.value && this.childNumberEl.value.split("-").length <= 2) {
|
|
192
|
-
return;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
event.preventDefault();
|
|
196
|
-
};
|
|
197
|
-
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
198
|
-
if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
const inputMax = this.maxString ? parseFloat(this.maxString) : null;
|
|
202
|
-
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
203
|
-
const valueNudgeDelayInMs = 150;
|
|
204
|
-
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
205
|
-
if (this.nudgeNumberValueIntervalId) {
|
|
206
|
-
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
207
|
-
}
|
|
208
|
-
let firstValueNudge = true;
|
|
209
|
-
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
210
|
-
if (firstValueNudge) {
|
|
211
|
-
firstValueNudge = false;
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
215
|
-
}, valueNudgeDelayInMs);
|
|
216
|
-
};
|
|
217
|
-
this.nudgeButtonPointerUpAndOutHandler = (event) => {
|
|
218
|
-
if (!isPrimaryPointerButton(event)) {
|
|
219
|
-
return;
|
|
220
|
-
}
|
|
221
|
-
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
222
|
-
};
|
|
223
|
-
this.nudgeButtonPointerDownHandler = (event) => {
|
|
224
|
-
if (!isPrimaryPointerButton(event)) {
|
|
225
|
-
return;
|
|
226
|
-
}
|
|
227
|
-
event.preventDefault();
|
|
228
|
-
const direction = event.target.dataset.adjustment;
|
|
229
|
-
if (!this.disabled) {
|
|
230
|
-
this.nudgeNumberValue(direction, event);
|
|
231
|
-
}
|
|
232
|
-
};
|
|
233
|
-
this.hiddenInputChangeHandler = (event) => {
|
|
234
|
-
if (event.target.name === this.name) {
|
|
235
|
-
this.setNumberValue({
|
|
236
|
-
value: event.target.value,
|
|
237
|
-
origin: "direct"
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
event.stopPropagation();
|
|
241
|
-
};
|
|
242
|
-
this.setChildNumberElRef = (el) => {
|
|
243
|
-
this.childNumberEl = el;
|
|
244
|
-
};
|
|
245
|
-
this.setInputNumberValue = (newInputValue) => {
|
|
246
|
-
if (!this.childNumberEl) {
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
this.childNumberEl.value = newInputValue;
|
|
250
|
-
};
|
|
251
|
-
this.setPreviousEmittedNumberValue = (value) => {
|
|
252
|
-
this.previousEmittedNumberValue = this.normalizeValue(value);
|
|
253
|
-
};
|
|
254
|
-
this.setPreviousNumberValue = (value) => {
|
|
255
|
-
this.previousValue = this.normalizeValue(value);
|
|
256
|
-
};
|
|
257
|
-
this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
258
|
-
numberStringFormatter.numberFormatOptions = {
|
|
259
|
-
locale: this.effectiveLocale,
|
|
260
|
-
numberingSystem: this.numberingSystem,
|
|
261
|
-
useGrouping: this.groupSeparator
|
|
262
|
-
};
|
|
263
|
-
const sanitizedValue = sanitizeNumberString(
|
|
264
|
-
// no need to delocalize a string that ia already in latn numerals
|
|
265
|
-
(this.numberingSystem && this.numberingSystem !== "latn") || defaultNumberingSystem !== "latn"
|
|
266
|
-
? numberStringFormatter.delocalize(value)
|
|
267
|
-
: value);
|
|
268
|
-
const newValue = value && !sanitizedValue
|
|
269
|
-
? isValidNumber(this.previousValue)
|
|
270
|
-
? this.previousValue
|
|
271
|
-
: ""
|
|
272
|
-
: sanitizedValue;
|
|
273
|
-
const newLocalizedValue = numberStringFormatter.localize(newValue);
|
|
274
|
-
this.localizedValue = newLocalizedValue;
|
|
275
|
-
this.setPreviousNumberValue(previousValue ?? this.value);
|
|
276
|
-
this.previousValueOrigin = origin;
|
|
277
|
-
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
278
|
-
// don't sanitize the start of negative/decimal numbers, but
|
|
279
|
-
// don't set value to an invalid number
|
|
280
|
-
this.value = ["-", "."].includes(newValue) ? "" : newValue;
|
|
281
|
-
if (origin === "direct") {
|
|
282
|
-
this.setInputNumberValue(newLocalizedValue);
|
|
283
|
-
this.setPreviousEmittedNumberValue(newLocalizedValue);
|
|
284
|
-
}
|
|
285
|
-
if (nativeEvent) {
|
|
286
|
-
const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit();
|
|
287
|
-
if (calciteInputNumberInputEvent.defaultPrevented) {
|
|
288
|
-
this.value = this.previousValue;
|
|
289
|
-
this.localizedValue = numberStringFormatter.localize(this.previousValue);
|
|
290
|
-
}
|
|
291
|
-
else if (committing) {
|
|
292
|
-
this.emitChangeIfUserModified();
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
this.inputNumberKeyUpHandler = () => {
|
|
297
|
-
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
298
|
-
};
|
|
299
|
-
this.alignment = "start";
|
|
300
|
-
this.autofocus = false;
|
|
301
|
-
this.clearable = false;
|
|
302
|
-
this.disabled = false;
|
|
303
|
-
this.form = undefined;
|
|
304
|
-
this.groupSeparator = false;
|
|
305
|
-
this.hidden = false;
|
|
306
|
-
this.icon = undefined;
|
|
307
|
-
this.iconFlipRtl = false;
|
|
308
|
-
this.label = undefined;
|
|
309
|
-
this.loading = false;
|
|
310
|
-
this.numberingSystem = undefined;
|
|
311
|
-
this.localeFormat = false;
|
|
312
|
-
this.max = undefined;
|
|
313
|
-
this.min = undefined;
|
|
314
|
-
this.maxLength = undefined;
|
|
315
|
-
this.minLength = undefined;
|
|
316
|
-
this.name = undefined;
|
|
317
|
-
this.numberButtonType = "vertical";
|
|
318
|
-
this.placeholder = undefined;
|
|
319
|
-
this.prefixText = undefined;
|
|
320
|
-
this.readOnly = false;
|
|
321
|
-
this.required = false;
|
|
322
|
-
this.scale = "m";
|
|
323
|
-
this.status = "idle";
|
|
324
|
-
this.step = undefined;
|
|
325
|
-
this.autocomplete = undefined;
|
|
326
|
-
this.inputMode = "decimal";
|
|
327
|
-
this.enterKeyHint = undefined;
|
|
328
|
-
this.suffixText = undefined;
|
|
329
|
-
this.editingEnabled = false;
|
|
330
|
-
this.value = "";
|
|
331
|
-
this.messages = undefined;
|
|
332
|
-
this.messageOverrides = undefined;
|
|
333
|
-
this.effectiveLocale = "";
|
|
334
|
-
this.defaultMessages = undefined;
|
|
335
|
-
this.localizedValue = undefined;
|
|
336
|
-
this.slottedActionElDisabledInternally = false;
|
|
337
|
-
}
|
|
338
|
-
disabledWatcher() {
|
|
339
|
-
this.setDisabledAction();
|
|
340
|
-
}
|
|
341
|
-
/** watcher to update number-to-string for max */
|
|
342
|
-
maxWatcher() {
|
|
343
|
-
this.maxString = this.max?.toString() || null;
|
|
344
|
-
}
|
|
345
|
-
/** watcher to update number-to-string for min */
|
|
346
|
-
minWatcher() {
|
|
347
|
-
this.minString = this.min?.toString() || null;
|
|
348
|
-
}
|
|
349
|
-
onMessagesChange() {
|
|
350
|
-
/* wired up by t9n util */
|
|
351
|
-
}
|
|
352
|
-
valueWatcher(newValue, previousValue) {
|
|
353
|
-
if (!this.userChangedValue) {
|
|
354
|
-
this.setNumberValue({
|
|
355
|
-
origin: "direct",
|
|
356
|
-
previousValue,
|
|
357
|
-
value: newValue == null || newValue == ""
|
|
358
|
-
? ""
|
|
359
|
-
: isValidNumber(newValue)
|
|
360
|
-
? newValue
|
|
361
|
-
: this.previousValue || ""
|
|
362
|
-
});
|
|
363
|
-
this.warnAboutInvalidNumberValue(newValue);
|
|
364
|
-
}
|
|
365
|
-
this.userChangedValue = false;
|
|
366
|
-
}
|
|
367
|
-
updateRequestedIcon() {
|
|
368
|
-
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
369
|
-
}
|
|
370
|
-
get isClearable() {
|
|
371
|
-
return this.clearable && this.value.length > 0;
|
|
372
|
-
}
|
|
373
|
-
effectiveLocaleWatcher(locale) {
|
|
374
|
-
updateMessages(this, this.effectiveLocale);
|
|
375
|
-
numberStringFormatter.numberFormatOptions = {
|
|
376
|
-
locale,
|
|
377
|
-
numberingSystem: this.numberingSystem,
|
|
378
|
-
useGrouping: false
|
|
379
|
-
};
|
|
380
|
-
}
|
|
381
|
-
//--------------------------------------------------------------------------
|
|
382
|
-
//
|
|
383
|
-
// Lifecycle
|
|
384
|
-
//
|
|
385
|
-
//--------------------------------------------------------------------------
|
|
386
|
-
connectedCallback() {
|
|
387
|
-
connectLocalized(this);
|
|
388
|
-
connectMessages(this);
|
|
389
|
-
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
390
|
-
if (this.inlineEditableEl) {
|
|
391
|
-
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
392
|
-
}
|
|
393
|
-
connectLabel(this);
|
|
394
|
-
connectForm(this);
|
|
395
|
-
this.setPreviousEmittedNumberValue(this.value);
|
|
396
|
-
this.setPreviousNumberValue(this.value);
|
|
397
|
-
this.warnAboutInvalidNumberValue(this.value);
|
|
398
|
-
this.setNumberValue({
|
|
399
|
-
origin: "connected",
|
|
400
|
-
value: isValidNumber(this.value) ? this.value : ""
|
|
401
|
-
});
|
|
402
|
-
this.mutationObserver?.observe(this.el, { childList: true });
|
|
403
|
-
this.setDisabledAction();
|
|
404
|
-
this.el.addEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
405
|
-
}
|
|
406
|
-
componentDidLoad() {
|
|
407
|
-
setComponentLoaded(this);
|
|
408
|
-
}
|
|
409
|
-
disconnectedCallback() {
|
|
410
|
-
disconnectLabel(this);
|
|
411
|
-
disconnectForm(this);
|
|
412
|
-
disconnectLocalized(this);
|
|
413
|
-
disconnectMessages(this);
|
|
414
|
-
this.mutationObserver?.disconnect();
|
|
415
|
-
this.el.removeEventListener("calciteInternalHiddenInputChange", this.hiddenInputChangeHandler);
|
|
416
|
-
}
|
|
417
|
-
async componentWillLoad() {
|
|
418
|
-
setUpLoadableComponent(this);
|
|
419
|
-
this.maxString = this.max?.toString();
|
|
420
|
-
this.minString = this.min?.toString();
|
|
421
|
-
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
422
|
-
await setUpMessages(this);
|
|
423
|
-
}
|
|
424
|
-
componentShouldUpdate(newValue, oldValue, property) {
|
|
425
|
-
if (property === "value" && newValue && !isValidNumber(newValue)) {
|
|
426
|
-
this.setNumberValue({
|
|
427
|
-
origin: "reset",
|
|
428
|
-
value: oldValue
|
|
429
|
-
});
|
|
430
|
-
return false;
|
|
431
|
-
}
|
|
432
|
-
return true;
|
|
433
|
-
}
|
|
434
|
-
componentDidRender() {
|
|
435
|
-
updateHostInteraction(this);
|
|
436
|
-
}
|
|
437
|
-
//--------------------------------------------------------------------------
|
|
438
|
-
//
|
|
439
|
-
// Public Methods
|
|
440
|
-
//
|
|
441
|
-
//--------------------------------------------------------------------------
|
|
442
|
-
/** Sets focus on the component. */
|
|
443
|
-
async setFocus() {
|
|
444
|
-
await componentLoaded(this);
|
|
445
|
-
this.childNumberEl?.focus();
|
|
446
|
-
}
|
|
447
|
-
/** Selects the text of the component's `value`. */
|
|
448
|
-
async selectText() {
|
|
449
|
-
this.childNumberEl?.select();
|
|
450
|
-
}
|
|
451
|
-
onLabelClick() {
|
|
452
|
-
this.setFocus();
|
|
453
|
-
}
|
|
454
|
-
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
455
|
-
const { value } = this;
|
|
456
|
-
const adjustment = direction === "up" ? 1 : -1;
|
|
457
|
-
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
458
|
-
const inputVal = new BigDecimal(value !== "" ? value : "0");
|
|
459
|
-
const nudgedValue = inputVal.add(`${inputStep * adjustment}`);
|
|
460
|
-
const nudgedValueBelowInputMin = () => typeof inputMin === "number" &&
|
|
461
|
-
!isNaN(inputMin) &&
|
|
462
|
-
nudgedValue.subtract(`${inputMin}`).isNegative;
|
|
463
|
-
const nudgedValueAboveInputMax = () => typeof inputMax === "number" &&
|
|
464
|
-
!isNaN(inputMax) &&
|
|
465
|
-
!nudgedValue.subtract(`${inputMax}`).isNegative;
|
|
466
|
-
const finalValue = nudgedValueBelowInputMin()
|
|
467
|
-
? `${inputMin}`
|
|
468
|
-
: nudgedValueAboveInputMax()
|
|
469
|
-
? `${inputMax}`
|
|
470
|
-
: nudgedValue.toString();
|
|
471
|
-
this.setNumberValue({
|
|
472
|
-
committing: true,
|
|
473
|
-
nativeEvent,
|
|
474
|
-
origin: "user",
|
|
475
|
-
value: finalValue
|
|
476
|
-
});
|
|
477
|
-
}
|
|
478
|
-
onFormReset() {
|
|
479
|
-
this.setNumberValue({
|
|
480
|
-
origin: "reset",
|
|
481
|
-
value: this.defaultValue
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
syncHiddenFormInput(input) {
|
|
485
|
-
input.type = "number";
|
|
486
|
-
input.min = this.min?.toString(10) ?? "";
|
|
487
|
-
input.max = this.max?.toString(10) ?? "";
|
|
488
|
-
}
|
|
489
|
-
setDisabledAction() {
|
|
490
|
-
const slottedActionEl = getSlotted(this.el, "action");
|
|
491
|
-
if (!slottedActionEl) {
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
if (this.disabled) {
|
|
495
|
-
if (slottedActionEl.getAttribute("disabled") == null) {
|
|
496
|
-
this.slottedActionElDisabledInternally = true;
|
|
497
|
-
}
|
|
498
|
-
slottedActionEl.setAttribute("disabled", "");
|
|
499
|
-
}
|
|
500
|
-
else if (this.slottedActionElDisabledInternally) {
|
|
501
|
-
slottedActionEl.removeAttribute("disabled");
|
|
502
|
-
this.slottedActionElDisabledInternally = false;
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
normalizeValue(value) {
|
|
506
|
-
return isValidNumber(value) ? value : "";
|
|
507
|
-
}
|
|
508
|
-
warnAboutInvalidNumberValue(value) {
|
|
509
|
-
if (value && !isValidNumber(value)) {
|
|
510
|
-
console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
// --------------------------------------------------------------------------
|
|
514
|
-
//
|
|
515
|
-
// Render Methods
|
|
516
|
-
//
|
|
517
|
-
// --------------------------------------------------------------------------
|
|
518
|
-
render() {
|
|
519
|
-
const dir = getElementDir(this.el);
|
|
520
|
-
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
521
|
-
const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
522
|
-
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
523
|
-
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
524
|
-
const numberButtonsHorizontalUp = (h("button", { "aria-hidden": "true", class: {
|
|
525
|
-
[CSS.numberButtonItem]: true,
|
|
526
|
-
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
527
|
-
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
528
|
-
const numberButtonsHorizontalDown = (h("button", { "aria-hidden": "true", class: {
|
|
529
|
-
[CSS.numberButtonItem]: true,
|
|
530
|
-
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
531
|
-
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
532
|
-
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
533
|
-
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
534
|
-
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
535
|
-
const childEl = (h("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, type: "text", value: this.localizedValue,
|
|
536
|
-
// eslint-disable-next-line react/jsx-sort-props
|
|
537
|
-
ref: this.setChildNumberElRef }));
|
|
538
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
539
|
-
? numberButtonsHorizontalDown
|
|
540
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
541
|
-
? numberButtonsHorizontalUp
|
|
542
|
-
: null, h(HiddenFormInputSlot, { component: this }))));
|
|
543
|
-
}
|
|
544
|
-
static get assetsDirs() { return ["assets"]; }
|
|
545
|
-
get el() { return this; }
|
|
546
|
-
static get watchers() { return {
|
|
547
|
-
"disabled": ["disabledWatcher"],
|
|
548
|
-
"max": ["maxWatcher"],
|
|
549
|
-
"min": ["minWatcher"],
|
|
550
|
-
"messageOverrides": ["onMessagesChange"],
|
|
551
|
-
"value": ["valueWatcher"],
|
|
552
|
-
"icon": ["updateRequestedIcon"],
|
|
553
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
|
554
|
-
}; }
|
|
555
|
-
static get style() { return inputNumberCss; }
|
|
556
|
-
}, [1, "calcite-input-number", {
|
|
557
|
-
"alignment": [513],
|
|
558
|
-
"autofocus": [516],
|
|
559
|
-
"clearable": [516],
|
|
560
|
-
"disabled": [516],
|
|
561
|
-
"form": [513],
|
|
562
|
-
"groupSeparator": [516, "group-separator"],
|
|
563
|
-
"hidden": [516],
|
|
564
|
-
"icon": [520],
|
|
565
|
-
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
566
|
-
"label": [1],
|
|
567
|
-
"loading": [516],
|
|
568
|
-
"numberingSystem": [513, "numbering-system"],
|
|
569
|
-
"localeFormat": [4, "locale-format"],
|
|
570
|
-
"max": [514],
|
|
571
|
-
"min": [514],
|
|
572
|
-
"maxLength": [514, "max-length"],
|
|
573
|
-
"minLength": [514, "min-length"],
|
|
574
|
-
"name": [513],
|
|
575
|
-
"numberButtonType": [513, "number-button-type"],
|
|
576
|
-
"placeholder": [1],
|
|
577
|
-
"prefixText": [1, "prefix-text"],
|
|
578
|
-
"readOnly": [516, "read-only"],
|
|
579
|
-
"required": [516],
|
|
580
|
-
"scale": [513],
|
|
581
|
-
"status": [513],
|
|
582
|
-
"step": [520],
|
|
583
|
-
"autocomplete": [1],
|
|
584
|
-
"inputMode": [1, "input-mode"],
|
|
585
|
-
"enterKeyHint": [1, "enter-key-hint"],
|
|
586
|
-
"suffixText": [1, "suffix-text"],
|
|
587
|
-
"editingEnabled": [1540, "editing-enabled"],
|
|
588
|
-
"value": [1025],
|
|
589
|
-
"messages": [1040],
|
|
590
|
-
"messageOverrides": [1040],
|
|
591
|
-
"effectiveLocale": [32],
|
|
592
|
-
"defaultMessages": [32],
|
|
593
|
-
"localizedValue": [32],
|
|
594
|
-
"slottedActionElDisabledInternally": [32],
|
|
595
|
-
"setFocus": [64],
|
|
596
|
-
"selectText": [64]
|
|
597
|
-
}]);
|
|
598
|
-
function defineCustomElement$1() {
|
|
599
|
-
if (typeof customElements === "undefined") {
|
|
600
|
-
return;
|
|
601
|
-
}
|
|
602
|
-
const components = ["calcite-input-number", "calcite-icon", "calcite-progress"];
|
|
603
|
-
components.forEach(tagName => { switch (tagName) {
|
|
604
|
-
case "calcite-input-number":
|
|
605
|
-
if (!customElements.get(tagName)) {
|
|
606
|
-
customElements.define(tagName, InputNumber);
|
|
607
|
-
}
|
|
608
|
-
break;
|
|
609
|
-
case "calcite-icon":
|
|
610
|
-
if (!customElements.get(tagName)) {
|
|
611
|
-
defineCustomElement$3();
|
|
612
|
-
}
|
|
613
|
-
break;
|
|
614
|
-
case "calcite-progress":
|
|
615
|
-
if (!customElements.get(tagName)) {
|
|
616
|
-
defineCustomElement$2();
|
|
617
|
-
}
|
|
618
|
-
break;
|
|
619
|
-
} });
|
|
620
|
-
}
|
|
621
|
-
defineCustomElement$1();
|
|
6
|
+
import { I as InputNumber, d as defineCustomElement$1 } from './input-number.js';
|
|
622
7
|
|
|
623
8
|
const CalciteInputNumber = InputNumber;
|
|
624
9
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted, f as setRequestedIcon, c as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { I as Input, d as defineCustomElement$1 } from './input.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.4.0-next.
|
|
4
|
+
* v1.4.0-next.10
|
|
5
5
|
*/
|
|
6
6
|
import { L as Label, d as defineCustomElement$1 } from './label.js';
|
|
7
7
|
|