@esri/calcite-components 1.0.0-next.521 → 1.0.0-next.524
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.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-3ebebd84.system.entry.js → p-0021e287.system.entry.js} +3 -3
- package/dist/calcite/{p-66240c05.entry.js → p-0198ffdc.entry.js} +2 -2
- package/dist/calcite/p-046ec290.entry.js +6 -0
- package/dist/calcite/{p-25129b54.system.entry.js → p-067f770e.system.entry.js} +2 -2
- package/dist/calcite/{p-1934cb89.entry.js → p-073db535.entry.js} +2 -2
- package/dist/calcite/{p-0c8eb394.js → p-077ff084.js} +1 -1
- package/dist/calcite/{p-fc76a97f.system.js → p-0b11c342.system.js} +1 -1
- package/dist/calcite/{p-46c73e88.entry.js → p-0c376871.entry.js} +2 -2
- package/dist/calcite/{p-f4a4e6fd.entry.js → p-0cc91f9e.entry.js} +2 -2
- package/dist/calcite/p-0f16fcf2.system.js +6 -0
- package/dist/calcite/p-0f539167.system.js +6 -0
- package/dist/calcite/p-0fe02887.js +6 -0
- package/dist/calcite/p-10d09cd6.entry.js +6 -0
- package/dist/calcite/{p-503ffd79.js → p-143abf64.js} +1 -1
- package/dist/calcite/{p-709ffc8a.system.entry.js → p-14796d0f.system.entry.js} +2 -2
- package/dist/calcite/{p-922cca1a.system.js → p-15c964c6.system.js} +2 -2
- package/dist/calcite/{p-5c81572b.entry.js → p-1646ec88.entry.js} +2 -2
- package/dist/calcite/{p-74508b15.system.js → p-16ca542c.system.js} +1 -1
- package/dist/calcite/{p-f5fcb884.system.entry.js → p-184ebb3b.system.entry.js} +2 -2
- package/dist/calcite/{p-a799c49f.system.entry.js → p-19bdcf8c.system.entry.js} +2 -2
- package/dist/calcite/{p-1a7dcfc0.system.entry.js → p-19f3559b.system.entry.js} +2 -2
- package/dist/calcite/{p-22d40d65.entry.js → p-1d943758.entry.js} +2 -2
- package/dist/calcite/{p-ef10300b.entry.js → p-1e059893.entry.js} +2 -2
- package/dist/calcite/{p-1786fb93.js → p-1e3a412f.js} +1 -1
- package/dist/calcite/{p-e0edddf8.entry.js → p-200a4df9.entry.js} +2 -2
- package/dist/calcite/{p-c9878d39.system.entry.js → p-203b84e0.system.entry.js} +2 -2
- package/dist/calcite/{p-5b2d7828.js → p-217da6af.js} +2 -2
- package/dist/calcite/{p-5c335596.system.entry.js → p-23f06b74.system.entry.js} +3 -3
- package/dist/calcite/{p-06332d21.system.entry.js → p-25506e7a.system.entry.js} +2 -2
- package/dist/calcite/{p-d9e6af1c.system.entry.js → p-25ac8f0f.system.entry.js} +2 -2
- package/dist/calcite/{p-43e7a8f1.system.js → p-26556d6d.system.js} +3 -3
- package/dist/calcite/{p-3111a501.system.js → p-2ec417aa.system.js} +1 -1
- package/dist/calcite/{p-d9d2294a.entry.js → p-2f1d4aae.entry.js} +2 -2
- package/dist/calcite/{p-803997da.system.entry.js → p-32448d28.system.entry.js} +2 -2
- package/dist/calcite/{p-c57bfa50.system.entry.js → p-35dc2f85.system.entry.js} +2 -2
- package/dist/calcite/{p-196346bf.system.entry.js → p-360e30b3.system.entry.js} +3 -3
- package/dist/calcite/{p-956aea00.system.entry.js → p-361aa924.system.entry.js} +2 -2
- package/dist/calcite/{p-d4a4f33e.entry.js → p-3a5f669d.entry.js} +2 -2
- package/dist/calcite/{p-0df3ffa0.system.entry.js → p-3aa6117f.system.entry.js} +2 -2
- package/dist/calcite/p-3c567654.entry.js +6 -0
- package/dist/calcite/{p-9ed3942c.system.js → p-3cea6fdc.system.js} +2 -2
- package/dist/calcite/{p-3ecd2c17.entry.js → p-3e9ed951.entry.js} +2 -2
- package/dist/calcite/{p-dc5fb654.system.entry.js → p-40a76d39.system.entry.js} +2 -2
- package/dist/calcite/{p-a6339811.system.entry.js → p-41d85ce9.system.entry.js} +2 -2
- package/dist/calcite/{p-18e94c9f.entry.js → p-434242b1.entry.js} +2 -2
- package/dist/calcite/{p-d8bf5b29.js → p-442951a7.js} +1 -1
- package/dist/calcite/{p-08e28998.system.entry.js → p-4545dbb5.system.entry.js} +2 -2
- package/dist/calcite/{p-53cb1579.system.js → p-454d0d3b.system.js} +1 -1
- package/dist/calcite/{p-98d13115.entry.js → p-463c0ed8.entry.js} +2 -2
- package/dist/calcite/{p-3ecec156.entry.js → p-4b4c8b1f.entry.js} +2 -2
- package/dist/calcite/{p-0e88270b.js → p-4c684c84.js} +2 -2
- package/dist/calcite/{p-0ff0ca0b.system.entry.js → p-4cc8bda0.system.entry.js} +2 -2
- package/dist/calcite/{p-ea37aa52.entry.js → p-4da07432.entry.js} +2 -2
- package/dist/calcite/{p-0c6874b0.system.entry.js → p-4fe7e777.system.entry.js} +2 -2
- package/dist/calcite/{p-a63dc521.system.entry.js → p-505be8f5.system.entry.js} +2 -2
- package/dist/calcite/{p-5b152346.entry.js → p-510ddd53.entry.js} +2 -2
- package/dist/calcite/{p-18de0e0b.system.entry.js → p-56c11b0f.system.entry.js} +2 -2
- package/dist/calcite/{p-e72532a8.entry.js → p-5c0773d2.entry.js} +2 -2
- package/dist/calcite/{p-62a0f380.system.entry.js → p-5d050e71.system.entry.js} +2 -2
- package/dist/calcite/{p-f105b00b.system.entry.js → p-5d23d9e9.system.entry.js} +2 -2
- package/dist/calcite/{p-19f87399.system.js → p-5ded25b4.system.js} +1 -1
- package/dist/calcite/{p-8aafc60e.system.js → p-5df04b2f.system.js} +2 -2
- package/dist/calcite/{p-df8177da.system.entry.js → p-5e4b8fc3.system.entry.js} +2 -2
- package/dist/calcite/{p-4565c114.system.js → p-6021e7db.system.js} +2 -2
- package/dist/calcite/{p-01b638d1.entry.js → p-60ec029f.entry.js} +2 -2
- package/dist/calcite/{p-ec3ac306.system.entry.js → p-617e01a1.system.entry.js} +2 -2
- package/dist/calcite/{p-a7ae0c54.system.entry.js → p-61cd8cfb.system.entry.js} +2 -2
- package/dist/calcite/{p-8d193648.system.js → p-620d4b91.system.js} +1 -1
- package/dist/calcite/{p-b80bbe57.entry.js → p-63be3fc7.entry.js} +2 -2
- package/dist/calcite/{p-7609b260.entry.js → p-63bf0acf.entry.js} +2 -2
- package/dist/calcite/{p-1d7e2d4a.js → p-63cea60e.js} +1 -1
- package/dist/calcite/p-6431a87e.js +6 -0
- package/dist/calcite/{p-302615c5.system.entry.js → p-65e5f903.system.entry.js} +2 -2
- package/dist/calcite/{p-4d012e6d.entry.js → p-674bd6ed.entry.js} +2 -2
- package/dist/calcite/{p-8ad36643.entry.js → p-6c279d51.entry.js} +2 -2
- package/dist/calcite/{p-bc269b24.js → p-6c8e9009.js} +2 -2
- package/dist/calcite/{p-7f80ef30.entry.js → p-6ed34f0c.entry.js} +2 -2
- package/dist/calcite/{p-05a4b9dd.entry.js → p-6f29031f.entry.js} +2 -2
- package/dist/calcite/{p-490d284a.entry.js → p-6f7f0f67.entry.js} +2 -2
- package/dist/calcite/{p-1c45719a.system.js → p-7086770b.system.js} +1 -1
- package/dist/calcite/{p-82894cb4.system.entry.js → p-76c1bcd7.system.entry.js} +3 -3
- package/dist/calcite/{p-f6032fac.entry.js → p-7724bf19.entry.js} +2 -2
- package/dist/calcite/{p-f8360ef0.system.entry.js → p-791eb72e.system.entry.js} +2 -2
- package/dist/calcite/{p-be33578d.js → p-794df25d.js} +2 -2
- package/dist/calcite/{p-68c538e6.js → p-79750027.js} +2 -2
- package/dist/calcite/{p-10fe1682.entry.js → p-7990754a.entry.js} +2 -2
- package/dist/calcite/{p-2b8e9cae.system.entry.js → p-7a538f4d.system.entry.js} +2 -2
- package/dist/calcite/{p-cea960cf.entry.js → p-7d3a5cee.entry.js} +2 -2
- package/dist/calcite/{p-c7e7cc3f.js → p-803e1fdf.js} +1 -1
- package/dist/calcite/{p-b72717bd.entry.js → p-80b15fa9.entry.js} +2 -2
- package/dist/calcite/{p-5a8d424e.system.entry.js → p-80c67e43.system.entry.js} +2 -2
- package/dist/calcite/{p-5956ae2b.system.js → p-82189690.system.js} +1 -1
- package/dist/calcite/p-87ddf5b2.entry.js +6 -0
- package/dist/calcite/{p-5d1ea183.system.entry.js → p-8a15bb81.system.entry.js} +2 -2
- package/dist/calcite/{p-9814a422.system.entry.js → p-8b26bb66.system.entry.js} +2 -2
- package/dist/calcite/{p-ba1931db.entry.js → p-8bc93584.entry.js} +2 -2
- package/dist/calcite/p-8c91f5b7.system.entry.js +6 -0
- package/dist/calcite/{p-68605411.entry.js → p-8eb1ad9d.entry.js} +2 -2
- package/dist/calcite/{p-a7a4705c.entry.js → p-8f4e9d9b.entry.js} +2 -2
- package/dist/calcite/{p-adcd9271.system.js → p-95ac8e64.system.js} +1 -1
- package/dist/calcite/{p-8469c3f5.system.entry.js → p-96239dc0.system.entry.js} +2 -2
- package/dist/calcite/p-9a9b35e0.system.entry.js +6 -0
- package/dist/calcite/{p-d44c6b32.system.js → p-9d4195ba.system.js} +1 -1
- package/dist/calcite/{p-3bbfc3a1.js → p-9e416f64.js} +1 -1
- package/dist/calcite/{p-f0f828f4.js → p-9e9297fc.js} +1 -1
- package/dist/calcite/{p-02a3583d.entry.js → p-9f5327fe.entry.js} +2 -2
- package/dist/calcite/{p-08f334c1.js → p-a18960d1.js} +2 -2
- package/dist/calcite/{p-ab5101d8.system.js → p-a21681bf.system.js} +1 -1
- package/dist/calcite/{p-836254a6.system.entry.js → p-a25613a9.system.entry.js} +2 -2
- package/dist/calcite/{p-477ca75f.entry.js → p-a8863e85.entry.js} +2 -2
- package/dist/calcite/{p-71a5a7b9.js → p-aa0aafda.js} +1 -1
- package/dist/calcite/{p-b64ac51f.entry.js → p-aba8619b.entry.js} +2 -2
- package/dist/calcite/{p-0d86e14f.entry.js → p-b0067d82.entry.js} +2 -2
- package/dist/calcite/{p-e029f7a3.entry.js → p-b43e23a4.entry.js} +2 -2
- package/dist/calcite/{p-4a08a094.js → p-b44a4212.js} +2 -2
- package/dist/calcite/{p-c74ae0e9.system.entry.js → p-b4698639.system.entry.js} +2 -2
- package/dist/calcite/{p-bee3c541.js → p-b47b772e.js} +1 -1
- package/dist/calcite/{p-bcbe7ce6.system.entry.js → p-b78e0aa4.system.entry.js} +2 -2
- package/dist/calcite/{p-80dd019b.js → p-b9b838ca.js} +1 -1
- package/dist/calcite/{p-ca13fa8e.entry.js → p-bb286f7b.entry.js} +2 -2
- package/dist/calcite/{p-2981a893.js → p-bba345b0.js} +2 -2
- package/dist/calcite/{p-f463e742.system.entry.js → p-bd1af8e6.system.entry.js} +2 -2
- package/dist/calcite/{p-5321532e.entry.js → p-be44dd8c.entry.js} +2 -2
- package/dist/calcite/{p-f2efb50c.system.entry.js → p-bf01ccef.system.entry.js} +2 -2
- package/dist/calcite/{p-5bbaac2e.system.entry.js → p-bf24e24e.system.entry.js} +2 -2
- package/dist/calcite/{p-90bd223c.system.entry.js → p-bffc203d.system.entry.js} +2 -2
- package/dist/calcite/{p-d7a237ba.system.js → p-c0137931.system.js} +1 -1
- package/dist/calcite/{p-37ae8843.system.js → p-c0564473.system.js} +2 -2
- package/dist/calcite/{p-616f05fa.entry.js → p-c0dd3393.entry.js} +2 -2
- package/dist/calcite/{p-a56d7998.system.js → p-c17fcd09.system.js} +2 -2
- package/dist/calcite/{p-b2f3fc3d.system.entry.js → p-c4296f0f.system.entry.js} +2 -2
- package/dist/calcite/{p-037f81e1.entry.js → p-ca864d50.entry.js} +2 -2
- package/dist/calcite/{p-b2f5c885.system.entry.js → p-d06a66d5.system.entry.js} +2 -2
- package/dist/calcite/{p-d418b98e.system.entry.js → p-d2024d78.system.entry.js} +2 -2
- package/dist/calcite/{p-c9962a82.system.entry.js → p-d40e2e5e.system.entry.js} +2 -2
- package/dist/calcite/{p-7779dcec.entry.js → p-d48eb3f4.entry.js} +2 -2
- package/dist/calcite/{p-3ade5098.js → p-d94193be.js} +1 -1
- package/dist/calcite/{p-e99806ce.entry.js → p-da460566.entry.js} +2 -2
- package/dist/calcite/{p-a186a81b.entry.js → p-da83c7b8.entry.js} +2 -2
- package/dist/calcite/{p-0e8275de.entry.js → p-db9c0de1.entry.js} +2 -2
- package/dist/calcite/{p-0664c198.entry.js → p-de9f177a.entry.js} +2 -2
- package/dist/calcite/{p-a056927a.entry.js → p-e0e764bb.entry.js} +2 -2
- package/dist/calcite/{p-ed2772f3.system.entry.js → p-e18bb14e.system.entry.js} +2 -2
- package/dist/calcite/{p-d6299c4e.system.js → p-e1ded583.system.js} +2 -2
- package/dist/calcite/{p-eef3c9fd.entry.js → p-e6c703fa.entry.js} +2 -2
- package/dist/calcite/{p-60224344.js → p-e8576375.js} +1 -1
- package/dist/calcite/{p-bd5694e0.system.entry.js → p-eb913caa.system.entry.js} +2 -2
- package/dist/calcite/{p-ce9659f4.entry.js → p-ebdf2dcb.entry.js} +2 -2
- package/dist/calcite/{p-28b4be8f.system.entry.js → p-ed735bdc.system.entry.js} +2 -2
- package/dist/calcite/{p-597100a7.entry.js → p-f1316f46.entry.js} +2 -2
- package/dist/calcite/{p-8e6d31eb.system.js → p-f2b4047b.system.js} +1 -1
- package/dist/calcite/{p-3c9fb8a0.system.entry.js → p-f316435a.system.entry.js} +3 -3
- package/dist/calcite/{p-54bc93ca.system.entry.js → p-f4c0780c.system.entry.js} +2 -2
- package/dist/calcite/{p-f18df807.system.entry.js → p-f5333892.system.entry.js} +2 -2
- package/dist/calcite/{p-0f7446cb.entry.js → p-f601b375.entry.js} +2 -2
- package/dist/calcite/{p-7b5c7678.system.js → p-f68f7eac.system.js} +1 -1
- package/dist/calcite/{p-22ffda43.system.js → p-f7c9c5f2.system.js} +2 -2
- package/dist/calcite/{p-d461e15b.system.entry.js → p-f7f7e330.system.entry.js} +2 -2
- package/dist/calcite/{p-9109755c.entry.js → p-f8055fa4.entry.js} +2 -2
- package/dist/calcite/{p-67f1f6b9.system.entry.js → p-f9642904.system.entry.js} +2 -2
- package/dist/calcite/p-fa13fecc.entry.js +6 -0
- package/dist/calcite/{p-dd9f25da.entry.js → p-fa95edee.entry.js} +2 -2
- package/dist/calcite/{p-b905df83.system.entry.js → p-fe1a1f2b.system.entry.js} +2 -2
- package/dist/calcite/p-fe48f6e1.system.js +6 -0
- package/dist/calcite/{p-fa49f87b.system.entry.js → p-fe9b9938.system.entry.js} +2 -2
- package/dist/calcite/{p-2bceb3cc.js → p-ff900ff3.js} +2 -2
- package/dist/cjs/{ExpandToggle-8aaaf12b.js → ExpandToggle-5914d027.js} +5 -5
- package/dist/cjs/{Heading-5f2ed366.js → Heading-5b6728fa.js} +2 -2
- package/dist/cjs/{array-332f1ad8.js → array-10d140a1.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +531 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +12 -6
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- 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 +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-345c638f.js → conditionalSlot-2fa6c7c0.js} +3 -3
- package/dist/cjs/{debounce-cff73118.js → debounce-a569f7e8.js} +1 -1
- package/dist/cjs/{dom-006119f9.js → dom-ab156ed7.js} +2 -2
- package/dist/cjs/{forIn-63725cb3.js → forIn-5b249337.js} +2 -2
- package/dist/cjs/{form-4aa36914.js → form-9fd7e527.js} +3 -3
- package/dist/cjs/{guid-7ac09c7c.js → guid-e3ed3471.js} +1 -1
- package/dist/cjs/{index-345bd03e.js → index-688507d2.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-4c089305.js → interactive-4c3bdfce.js} +1 -1
- package/dist/cjs/{interfaces-ed5629c9.js → interfaces-8feed84a.js} +1 -1
- package/dist/cjs/{key-ad47ec79.js → key-7c21c694.js} +1 -1
- package/dist/cjs/{label-cbd2fca0.js → label-585aa37d.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-a7606dce.js → locale-33c1aad6.js} +2 -2
- package/dist/cjs/{math-cb0eba16.js → math-f61b24ca.js} +1 -1
- package/dist/cjs/{observers-e7215a23.js → observers-1e86c439.js} +1 -1
- package/dist/cjs/{popper-a6799f73.js → popper-bf284b6f.js} +2 -2
- package/dist/cjs/{resources-ec4ddd5b.js → resources-010f3e62.js} +3 -3
- package/dist/cjs/{resources-e4f2b649.js → resources-1d8b7492.js} +1 -1
- package/dist/cjs/{resources-e78d08e9.js → resources-a1c7bd83.js} +5 -5
- package/dist/cjs/{resources-3dfb6262.js → resources-ac47df12.js} +1 -1
- package/dist/cjs/{sortable.esm-75596196.js → sortable.esm-a16d43ef.js} +1 -1
- package/dist/cjs/{utils-cd5ed41f.js → utils-daa542d3.js} +1 -1
- package/dist/collection/collection-manifest.json +7 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.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 +1 -0
- 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.css +1 -0
- 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/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.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/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/interfaces.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/interfaces.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/interfaces.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/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.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/interfaces.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-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +509 -0
- package/dist/collection/components/input-number/input-number.js +1251 -0
- package/dist/collection/components/input-number/interfaces.js +6 -0
- package/dist/collection/components/input-number/resources.js +27 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +15 -10
- package/dist/collection/components/label/label.js +28 -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-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/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.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/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +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/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/interfaces.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/interfaces.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/tab-title.js +1 -1
- package/dist/collection/components/tabs/interfaces.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/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/interfaces.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/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/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.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/form.js +1 -1
- package/dist/collection/utils/globalAttributes.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/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +3 -3
- 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.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 +2 -2
- package/dist/components/calcite-input-date-picker.js +4 -4
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.d.ts +11 -0
- package/dist/components/calcite-input-number.js +592 -0
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- 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-manager.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 +2 -2
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +2 -2
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- 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 +3 -3
- 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-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-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +2 -2
- 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 +2 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +2 -2
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +2 -2
- 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.d.ts +5 -90
- package/dist/components/index.js +1 -91
- package/dist/components/input.js +2 -2
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +112 -80
- package/dist/components/label2.js +87 -112
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/popper.js +2 -2
- 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 +2 -2
- package/dist/components/tab-nav.js +2 -2
- 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/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +793 -273
- package/dist/esm/{ExpandToggle-f015017d.js → ExpandToggle-6bd463d8.js} +5 -5
- package/dist/esm/{Heading-d8e9c4d0.js → Heading-129c5b2e.js} +2 -2
- package/dist/esm/{array-cc249c07.js → array-5d83abf9.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +4 -4
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +527 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +12 -6
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- 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 +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-251f048d.js → conditionalSlot-a00e8dca.js} +3 -3
- package/dist/esm/{debounce-671be4ab.js → debounce-031e6c4d.js} +1 -1
- package/dist/esm/{dom-1d25d90d.js → dom-f9756282.js} +2 -2
- package/dist/esm/{forIn-61b8f555.js → forIn-dbccb332.js} +2 -2
- package/dist/esm/{form-9231bd75.js → form-e4f2868c.js} +3 -3
- package/dist/esm/{guid-681ada01.js → guid-db5de792.js} +1 -1
- package/dist/esm/{index-3d4e33c9.js → index-258b111b.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-206f3e33.js → interactive-2d24af9c.js} +1 -1
- package/dist/esm/{interfaces-1e8297e0.js → interfaces-a34a97a3.js} +1 -1
- package/dist/esm/{key-aaa7a17a.js → key-1ad35d1e.js} +1 -1
- package/dist/esm/{label-78ef6888.js → label-dad4147d.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-ddc99d54.js → locale-4b78a8a2.js} +2 -2
- package/dist/esm/{math-6704b0cd.js → math-f9aa9265.js} +1 -1
- package/dist/esm/{observers-f4b26851.js → observers-d73acf67.js} +1 -1
- package/dist/esm/{popper-0f8ca820.js → popper-862cce4a.js} +2 -2
- package/dist/esm/{resources-c23513d4.js → resources-76735425.js} +5 -5
- package/dist/esm/{resources-9cd6c136.js → resources-a1573fa8.js} +3 -3
- package/dist/esm/{resources-8bc22c30.js → resources-a53d5723.js} +1 -1
- package/dist/esm/{resources-f108bb2c.js → resources-ecb7ae7e.js} +1 -1
- package/dist/esm/{sortable.esm-b5154dfc.js → sortable.esm-e4772b0a.js} +1 -1
- package/dist/esm/{utils-29143248.js → utils-aa0bb6c4.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-f015017d.js → ExpandToggle-6bd463d8.js} +2 -2
- package/dist/esm-es5/Heading-129c5b2e.js +6 -0
- package/dist/esm-es5/{array-cc249c07.js → array-5d83abf9.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +6 -0
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-251f048d.js → conditionalSlot-a00e8dca.js} +2 -2
- package/dist/esm-es5/{debounce-671be4ab.js → debounce-031e6c4d.js} +1 -1
- package/dist/esm-es5/{dom-1d25d90d.js → dom-f9756282.js} +2 -2
- package/dist/esm-es5/{forIn-61b8f555.js → forIn-dbccb332.js} +2 -2
- package/dist/esm-es5/{form-9231bd75.js → form-e4f2868c.js} +2 -2
- package/dist/esm-es5/{guid-681ada01.js → guid-db5de792.js} +1 -1
- package/dist/esm-es5/{index-3d4e33c9.js → index-258b111b.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-206f3e33.js → interactive-2d24af9c.js} +1 -1
- package/dist/esm-es5/{interfaces-1e8297e0.js → interfaces-a34a97a3.js} +1 -1
- package/dist/esm-es5/{key-aaa7a17a.js → key-1ad35d1e.js} +1 -1
- package/dist/esm-es5/{label-78ef6888.js → label-dad4147d.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-ddc99d54.js → locale-4b78a8a2.js} +2 -2
- package/dist/esm-es5/{math-6704b0cd.js → math-f9aa9265.js} +1 -1
- package/dist/esm-es5/{observers-f4b26851.js → observers-d73acf67.js} +1 -1
- package/dist/esm-es5/{popper-0f8ca820.js → popper-862cce4a.js} +2 -2
- package/dist/esm-es5/{resources-c23513d4.js → resources-76735425.js} +2 -2
- package/dist/esm-es5/{resources-9cd6c136.js → resources-a1573fa8.js} +2 -2
- package/dist/esm-es5/{resources-8bc22c30.js → resources-a53d5723.js} +1 -1
- package/dist/esm-es5/{resources-f108bb2c.js → resources-ecb7ae7e.js} +1 -1
- package/dist/esm-es5/{sortable.esm-b5154dfc.js → sortable.esm-e4772b0a.js} +1 -1
- package/dist/esm-es5/{utils-29143248.js → utils-aa0bb6c4.js} +1 -1
- package/dist/extras/docs-json.json +806 -111
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/input-number/input-number.d.ts +216 -0
- package/dist/types/components/input-number/interfaces.d.ts +1 -0
- package/dist/types/components/input-number/resources.d.ts +22 -0
- package/dist/types/components/label/label.d.ts +6 -0
- package/dist/types/components.d.ts +307 -0
- package/dist/types/preact.d.ts +7 -0
- package/hydrate/index.js +825 -396
- package/package.json +2 -2
- package/readme.md +2 -2
- package/dist/calcite/p-15a2f2b5.entry.js +0 -6
- package/dist/calcite/p-3854aaa3.entry.js +0 -6
- package/dist/calcite/p-56fad8eb.system.entry.js +0 -6
- package/dist/calcite/p-9a775e97.entry.js +0 -6
- package/dist/calcite/p-aa04303b.system.js +0 -6
- package/dist/calcite/p-ab08ad49.system.js +0 -6
- package/dist/calcite/p-b9ba2995.system.js +0 -6
- package/dist/calcite/p-cc236a7d.js +0 -6
- package/dist/calcite/p-ce350a0c.js +0 -6
- package/dist/calcite/p-fb4d2cca.entry.js +0 -6
- package/dist/esm-es5/Heading-d8e9c4d0.js +0 -6
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
* v1.0.0-next.524
|
|
5
|
+
*/
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-258b111b.js';
|
|
7
|
+
import { T as TEXT$1, g as getSlotted, s as setRequestedIcon, d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-f9756282.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-dad4147d.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e4f2868c.js';
|
|
10
|
+
import { d as delocalizeNumberString, i as isValidNumber, p as parseNumberString, g as getDecimalSeparator, l as localizeNumberString, s as sanitizeNumberString } from './locale-4b78a8a2.js';
|
|
11
|
+
import { n as numberKeys } from './key-1ad35d1e.js';
|
|
12
|
+
import { d as decimalPlaces } from './math-f9aa9265.js';
|
|
13
|
+
import { c as createObserver } from './observers-d73acf67.js';
|
|
14
|
+
import { u as updateHostInteraction } from './interactive-2d24af9c.js';
|
|
15
|
+
import './guid-db5de792.js';
|
|
16
|
+
|
|
17
|
+
const CSS = {
|
|
18
|
+
loader: "loader",
|
|
19
|
+
clearButton: "clear-button",
|
|
20
|
+
editingEnabled: "editing-enabled",
|
|
21
|
+
inlineChild: "inline-child",
|
|
22
|
+
inputIcon: "icon",
|
|
23
|
+
prefix: "prefix",
|
|
24
|
+
suffix: "suffix",
|
|
25
|
+
numberButtonWrapper: "number-button-wrapper",
|
|
26
|
+
buttonItemHorizontal: "number-button-item--horizontal",
|
|
27
|
+
wrapper: "element-wrapper",
|
|
28
|
+
inputWrapper: "wrapper",
|
|
29
|
+
actionWrapper: "action-wrapper",
|
|
30
|
+
resizeIconWrapper: "resize-icon-wrapper",
|
|
31
|
+
numberButtonItem: "number-button-item"
|
|
32
|
+
};
|
|
33
|
+
const SLOTS = {
|
|
34
|
+
action: "action"
|
|
35
|
+
};
|
|
36
|
+
const TEXT = {
|
|
37
|
+
clear: "Clear value"
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const inputNumberCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding-left:0.5rem;padding-right: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{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding-left:0.75rem;padding-right: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{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding-left:1rem;padding-right: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{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host input{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;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:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}: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-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}: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{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;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);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;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);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;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-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align: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{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;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;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;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{-webkit-transform:rotate(90deg);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]{-ms-flex-order:5;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-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align: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-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;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;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;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:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;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:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
41
|
+
|
|
42
|
+
const InputNumber = class {
|
|
43
|
+
constructor(hostRef) {
|
|
44
|
+
registerInstance(this, hostRef);
|
|
45
|
+
this.calciteInternalInputNumberFocus = createEvent(this, "calciteInternalInputNumberFocus", 7);
|
|
46
|
+
this.calciteInternalInputNumberBlur = createEvent(this, "calciteInternalInputNumberBlur", 7);
|
|
47
|
+
this.calciteInputNumberInput = createEvent(this, "calciteInputNumberInput", 7);
|
|
48
|
+
this.calciteInputNumberChange = createEvent(this, "calciteInputNumberChange", 7);
|
|
49
|
+
//--------------------------------------------------------------------------
|
|
50
|
+
//
|
|
51
|
+
// Properties
|
|
52
|
+
//
|
|
53
|
+
//--------------------------------------------------------------------------
|
|
54
|
+
/** Specifies the text alignment of the component's value. */
|
|
55
|
+
this.alignment = "start";
|
|
56
|
+
/**
|
|
57
|
+
* When true, the component is focused on page load.
|
|
58
|
+
*
|
|
59
|
+
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
|
60
|
+
*/
|
|
61
|
+
this.autofocus = false;
|
|
62
|
+
/**
|
|
63
|
+
* When true, a clear button is displayed when the component has a value.
|
|
64
|
+
*/
|
|
65
|
+
this.clearable = false;
|
|
66
|
+
/**
|
|
67
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
68
|
+
*
|
|
69
|
+
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
70
|
+
*/
|
|
71
|
+
this.disabled = false;
|
|
72
|
+
/**
|
|
73
|
+
* When true, number values are displayed with the locale's group separator.
|
|
74
|
+
*/
|
|
75
|
+
this.groupSeparator = false;
|
|
76
|
+
/**
|
|
77
|
+
* When true, the component will not be visible.
|
|
78
|
+
*
|
|
79
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
80
|
+
*/
|
|
81
|
+
this.hidden = false;
|
|
82
|
+
/**
|
|
83
|
+
* Accessible name that will appear while loading.
|
|
84
|
+
*
|
|
85
|
+
* @default "Loading"
|
|
86
|
+
*/
|
|
87
|
+
this.intlLoading = TEXT$1.loading;
|
|
88
|
+
/** When true, the icon is flipped in RTL. */
|
|
89
|
+
this.iconFlipRtl = false;
|
|
90
|
+
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
91
|
+
this.loading = false;
|
|
92
|
+
/** Specifies the BCP 47 language tag for the desired language and country format. */
|
|
93
|
+
this.locale = document.documentElement.lang || "en";
|
|
94
|
+
/**
|
|
95
|
+
* Toggles locale formatting for numbers.
|
|
96
|
+
*
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
this.localeFormat = false;
|
|
100
|
+
/** Specifies the placement of the buttons. */
|
|
101
|
+
this.numberButtonType = "vertical";
|
|
102
|
+
/**
|
|
103
|
+
* When true, the value cannot be modified.
|
|
104
|
+
*
|
|
105
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
106
|
+
*/
|
|
107
|
+
this.readOnly = false;
|
|
108
|
+
/** When true, the component must have a value in order for the form to submit. */
|
|
109
|
+
this.required = false;
|
|
110
|
+
/** Specifies the size of the component. */
|
|
111
|
+
this.scale = "m";
|
|
112
|
+
/** Specifies the status of the input field, which determines message and icons. */
|
|
113
|
+
this.status = "idle";
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
this.editingEnabled = false;
|
|
118
|
+
/** The component's value. */
|
|
119
|
+
this.value = "";
|
|
120
|
+
this.previousValueOrigin = "initial";
|
|
121
|
+
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
122
|
+
this.userChangedValue = false;
|
|
123
|
+
//--------------------------------------------------------------------------
|
|
124
|
+
//
|
|
125
|
+
// Private Methods
|
|
126
|
+
//
|
|
127
|
+
//--------------------------------------------------------------------------
|
|
128
|
+
this.keyDownHandler = (event) => {
|
|
129
|
+
if (this.readOnly || this.disabled) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (this.isClearable && event.key === "Escape") {
|
|
133
|
+
this.clearInputValue(event);
|
|
134
|
+
event.preventDefault();
|
|
135
|
+
}
|
|
136
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
137
|
+
submitForm(this);
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
this.clearInputValue = (nativeEvent) => {
|
|
141
|
+
this.setNumberValue({
|
|
142
|
+
committing: true,
|
|
143
|
+
nativeEvent,
|
|
144
|
+
origin: "user",
|
|
145
|
+
value: ""
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
this.emitChangeIfUserModified = () => {
|
|
149
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
150
|
+
this.calciteInputNumberChange.emit();
|
|
151
|
+
}
|
|
152
|
+
this.previousEmittedValue = this.value;
|
|
153
|
+
};
|
|
154
|
+
this.inputNumberBlurHandler = () => {
|
|
155
|
+
this.calciteInternalInputNumberBlur.emit({
|
|
156
|
+
element: this.childNumberEl,
|
|
157
|
+
value: this.value
|
|
158
|
+
});
|
|
159
|
+
this.emitChangeIfUserModified();
|
|
160
|
+
};
|
|
161
|
+
this.inputNumberFocusHandler = (event) => {
|
|
162
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
163
|
+
if (event.target !== slottedActionEl) {
|
|
164
|
+
this.setFocus();
|
|
165
|
+
}
|
|
166
|
+
this.calciteInternalInputNumberFocus.emit({
|
|
167
|
+
element: this.childNumberEl,
|
|
168
|
+
value: this.value
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
this.inputNumberInputHandler = (nativeEvent) => {
|
|
172
|
+
if (this.disabled || this.readOnly) {
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
const value = nativeEvent.target.value;
|
|
176
|
+
const delocalizedValue = delocalizeNumberString(value, this.locale);
|
|
177
|
+
if (nativeEvent.inputType === "insertFromPaste") {
|
|
178
|
+
if (!isValidNumber(delocalizedValue)) {
|
|
179
|
+
nativeEvent.preventDefault();
|
|
180
|
+
}
|
|
181
|
+
this.setNumberValue({
|
|
182
|
+
nativeEvent,
|
|
183
|
+
origin: "user",
|
|
184
|
+
value: parseNumberString(delocalizedValue)
|
|
185
|
+
});
|
|
186
|
+
this.childNumberEl.value = this.localizedValue;
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
this.setNumberValue({
|
|
190
|
+
nativeEvent,
|
|
191
|
+
origin: "user",
|
|
192
|
+
value: delocalizedValue
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
this.inputNumberKeyDownHandler = (event) => {
|
|
197
|
+
if (this.disabled || this.readOnly) {
|
|
198
|
+
return;
|
|
199
|
+
}
|
|
200
|
+
if (event.key === "ArrowUp") {
|
|
201
|
+
/* prevent default behavior of moving cursor to the beginning of the input when holding down ArrowUp */
|
|
202
|
+
event.preventDefault();
|
|
203
|
+
this.nudgeNumberValue("up", event);
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
if (event.key === "ArrowDown") {
|
|
207
|
+
this.nudgeNumberValue("down", event);
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
const supportedKeys = [
|
|
211
|
+
...numberKeys,
|
|
212
|
+
"ArrowLeft",
|
|
213
|
+
"ArrowRight",
|
|
214
|
+
"Backspace",
|
|
215
|
+
"Delete",
|
|
216
|
+
"Enter",
|
|
217
|
+
"Escape",
|
|
218
|
+
"Tab"
|
|
219
|
+
];
|
|
220
|
+
if (event.altKey || event.ctrlKey || event.metaKey) {
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
224
|
+
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
225
|
+
if (event.key === "Enter") {
|
|
226
|
+
this.emitChangeIfUserModified();
|
|
227
|
+
}
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
const decimalSeparator = getDecimalSeparator(this.locale);
|
|
231
|
+
if (event.key === decimalSeparator) {
|
|
232
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
if (this.value && this.childNumberEl.value.indexOf(decimalSeparator) === -1) {
|
|
236
|
+
return;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
if (/[eE]/.test(event.key)) {
|
|
240
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
if (this.value && !/[eE]/.test(this.childNumberEl.value)) {
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
if (event.key === "-") {
|
|
248
|
+
if (!this.value && !this.childNumberEl.value) {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
if (this.value && this.childNumberEl.value.split("-").length <= 2) {
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
event.preventDefault();
|
|
256
|
+
};
|
|
257
|
+
this.nudgeNumberValue = (direction, nativeEvent) => {
|
|
258
|
+
if (nativeEvent instanceof KeyboardEvent && nativeEvent.repeat) {
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
const inputMax = this.maxString ? parseFloat(this.maxString) : null;
|
|
262
|
+
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
263
|
+
const valueNudgeDelayInMs = 100;
|
|
264
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
265
|
+
if (this.nudgeNumberValueIntervalId) {
|
|
266
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
267
|
+
}
|
|
268
|
+
let firstValueNudge = true;
|
|
269
|
+
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
270
|
+
if (firstValueNudge) {
|
|
271
|
+
firstValueNudge = false;
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
275
|
+
}, valueNudgeDelayInMs);
|
|
276
|
+
};
|
|
277
|
+
this.nudgeButtonPointerUpAndOutHandler = () => {
|
|
278
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
279
|
+
};
|
|
280
|
+
this.nudgeButtonPointerDownHandler = (event) => {
|
|
281
|
+
event.preventDefault();
|
|
282
|
+
const direction = event.target.dataset.adjustment;
|
|
283
|
+
if (!this.disabled) {
|
|
284
|
+
this.nudgeNumberValue(direction, event);
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
this.setChildNumberElRef = (el) => {
|
|
288
|
+
this.childNumberEl = el;
|
|
289
|
+
};
|
|
290
|
+
this.setInputNumberValue = (newInputValue) => {
|
|
291
|
+
if (!this.childNumberEl) {
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
this.childNumberEl.value = newInputValue;
|
|
295
|
+
};
|
|
296
|
+
this.setPreviousEmittedNumberValue = (newPreviousEmittedValue) => {
|
|
297
|
+
this.previousEmittedValue = isValidNumber(newPreviousEmittedValue)
|
|
298
|
+
? newPreviousEmittedValue
|
|
299
|
+
: "";
|
|
300
|
+
};
|
|
301
|
+
this.setPreviousNumberValue = (newPreviousValue) => {
|
|
302
|
+
this.previousValue = isValidNumber(newPreviousValue) ? newPreviousValue : "";
|
|
303
|
+
};
|
|
304
|
+
this.setNumberValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
305
|
+
const previousLocalizedValue = localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem);
|
|
306
|
+
const sanitizedValue = sanitizeNumberString(value);
|
|
307
|
+
const newValue = value && !sanitizedValue
|
|
308
|
+
? isValidNumber(this.previousValue)
|
|
309
|
+
? this.previousValue
|
|
310
|
+
: ""
|
|
311
|
+
: sanitizedValue;
|
|
312
|
+
const newLocalizedValue = localizeNumberString(newValue, this.locale, this.groupSeparator, this.numberingSystem);
|
|
313
|
+
this.setPreviousNumberValue(previousValue || this.value);
|
|
314
|
+
this.previousValueOrigin = origin;
|
|
315
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
316
|
+
this.value = newValue;
|
|
317
|
+
this.localizedValue = newLocalizedValue;
|
|
318
|
+
if (origin === "direct") {
|
|
319
|
+
this.setInputNumberValue(newLocalizedValue);
|
|
320
|
+
}
|
|
321
|
+
if (nativeEvent) {
|
|
322
|
+
const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit({
|
|
323
|
+
element: this.childNumberEl,
|
|
324
|
+
nativeEvent,
|
|
325
|
+
value: this.value
|
|
326
|
+
});
|
|
327
|
+
if (calciteInputNumberInputEvent.defaultPrevented) {
|
|
328
|
+
this.value = this.previousValue;
|
|
329
|
+
this.localizedValue = previousLocalizedValue;
|
|
330
|
+
}
|
|
331
|
+
else if (committing) {
|
|
332
|
+
this.emitChangeIfUserModified();
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
this.inputNumberKeyUpHandler = () => {
|
|
337
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
disabledWatcher() {
|
|
341
|
+
this.setDisabledAction();
|
|
342
|
+
}
|
|
343
|
+
/** watcher to update number-to-string for max */
|
|
344
|
+
maxWatcher() {
|
|
345
|
+
var _a;
|
|
346
|
+
this.maxString = ((_a = this.max) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
347
|
+
}
|
|
348
|
+
/** watcher to update number-to-string for min */
|
|
349
|
+
minWatcher() {
|
|
350
|
+
var _a;
|
|
351
|
+
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
352
|
+
}
|
|
353
|
+
valueWatcher(newValue, previousValue) {
|
|
354
|
+
if (!this.userChangedValue) {
|
|
355
|
+
this.setNumberValue({
|
|
356
|
+
origin: "direct",
|
|
357
|
+
previousValue,
|
|
358
|
+
value: newValue == null || newValue == ""
|
|
359
|
+
? ""
|
|
360
|
+
: isValidNumber(newValue)
|
|
361
|
+
? newValue
|
|
362
|
+
: this.previousValue || ""
|
|
363
|
+
});
|
|
364
|
+
this.warnAboutInvalidNumberValue(newValue);
|
|
365
|
+
}
|
|
366
|
+
this.userChangedValue = false;
|
|
367
|
+
}
|
|
368
|
+
updateRequestedIcon() {
|
|
369
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
370
|
+
}
|
|
371
|
+
get isClearable() {
|
|
372
|
+
return this.clearable && this.value.length > 0;
|
|
373
|
+
}
|
|
374
|
+
//--------------------------------------------------------------------------
|
|
375
|
+
//
|
|
376
|
+
// Lifecycle
|
|
377
|
+
//
|
|
378
|
+
//--------------------------------------------------------------------------
|
|
379
|
+
connectedCallback() {
|
|
380
|
+
var _a;
|
|
381
|
+
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
382
|
+
this.status = getElementProp(this.el, "status", this.status);
|
|
383
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
384
|
+
if (this.inlineEditableEl) {
|
|
385
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
386
|
+
}
|
|
387
|
+
this.setPreviousEmittedNumberValue(this.value);
|
|
388
|
+
this.setPreviousNumberValue(this.value);
|
|
389
|
+
this.warnAboutInvalidNumberValue(this.value);
|
|
390
|
+
this.setNumberValue({
|
|
391
|
+
origin: "connected",
|
|
392
|
+
value: isValidNumber(this.value) ? this.value : ""
|
|
393
|
+
});
|
|
394
|
+
connectLabel(this);
|
|
395
|
+
connectForm(this);
|
|
396
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
|
397
|
+
this.setDisabledAction();
|
|
398
|
+
}
|
|
399
|
+
disconnectedCallback() {
|
|
400
|
+
var _a;
|
|
401
|
+
disconnectLabel(this);
|
|
402
|
+
disconnectForm(this);
|
|
403
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
404
|
+
}
|
|
405
|
+
componentWillLoad() {
|
|
406
|
+
var _a, _b;
|
|
407
|
+
this.maxString = (_a = this.max) === null || _a === void 0 ? void 0 : _a.toString();
|
|
408
|
+
this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
|
|
409
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "number");
|
|
410
|
+
}
|
|
411
|
+
componentShouldUpdate(newValue, oldValue, property) {
|
|
412
|
+
if (property === "value" && newValue && !isValidNumber(newValue)) {
|
|
413
|
+
this.setNumberValue({
|
|
414
|
+
origin: "reset",
|
|
415
|
+
value: oldValue
|
|
416
|
+
});
|
|
417
|
+
return false;
|
|
418
|
+
}
|
|
419
|
+
return true;
|
|
420
|
+
}
|
|
421
|
+
componentDidRender() {
|
|
422
|
+
updateHostInteraction(this);
|
|
423
|
+
}
|
|
424
|
+
//--------------------------------------------------------------------------
|
|
425
|
+
//
|
|
426
|
+
// Public Methods
|
|
427
|
+
//
|
|
428
|
+
//--------------------------------------------------------------------------
|
|
429
|
+
/** Sets focus on the component. */
|
|
430
|
+
async setFocus() {
|
|
431
|
+
var _a;
|
|
432
|
+
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
433
|
+
}
|
|
434
|
+
/** Selects all text of the component's `value`. */
|
|
435
|
+
async selectText() {
|
|
436
|
+
var _a;
|
|
437
|
+
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
438
|
+
}
|
|
439
|
+
onLabelClick() {
|
|
440
|
+
this.setFocus();
|
|
441
|
+
}
|
|
442
|
+
incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
|
|
443
|
+
const { value } = this;
|
|
444
|
+
const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
|
|
445
|
+
const inputVal = value && value !== "" ? parseFloat(value) : 0;
|
|
446
|
+
const adjustment = direction === "up" ? 1 : -1;
|
|
447
|
+
const nudgedValue = inputVal + inputStep * adjustment;
|
|
448
|
+
const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
|
|
449
|
+
(typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
|
|
450
|
+
? inputVal
|
|
451
|
+
: nudgedValue;
|
|
452
|
+
const inputValPlaces = decimalPlaces(inputVal);
|
|
453
|
+
const inputStepPlaces = decimalPlaces(inputStep);
|
|
454
|
+
this.setNumberValue({
|
|
455
|
+
committing: true,
|
|
456
|
+
nativeEvent,
|
|
457
|
+
origin: "user",
|
|
458
|
+
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
459
|
+
});
|
|
460
|
+
}
|
|
461
|
+
onFormReset() {
|
|
462
|
+
this.setNumberValue({
|
|
463
|
+
origin: "reset",
|
|
464
|
+
value: this.defaultValue
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
syncHiddenFormInput(input) {
|
|
468
|
+
var _a, _b, _c, _d;
|
|
469
|
+
input.type = "number";
|
|
470
|
+
input.min = (_b = (_a = this.min) === null || _a === void 0 ? void 0 : _a.toString(10)) !== null && _b !== void 0 ? _b : "";
|
|
471
|
+
input.max = (_d = (_c = this.max) === null || _c === void 0 ? void 0 : _c.toString(10)) !== null && _d !== void 0 ? _d : "";
|
|
472
|
+
}
|
|
473
|
+
setDisabledAction() {
|
|
474
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
475
|
+
if (!slottedActionEl) {
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
this.disabled
|
|
479
|
+
? slottedActionEl.setAttribute("disabled", "")
|
|
480
|
+
: slottedActionEl.removeAttribute("disabled");
|
|
481
|
+
}
|
|
482
|
+
warnAboutInvalidNumberValue(value) {
|
|
483
|
+
if (value && !isValidNumber(value)) {
|
|
484
|
+
console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
// --------------------------------------------------------------------------
|
|
488
|
+
//
|
|
489
|
+
// Render Methods
|
|
490
|
+
//
|
|
491
|
+
// --------------------------------------------------------------------------
|
|
492
|
+
render() {
|
|
493
|
+
const dir = getElementDir(this.el);
|
|
494
|
+
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
495
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
496
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
497
|
+
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
498
|
+
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
499
|
+
[CSS.numberButtonItem]: true,
|
|
500
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
501
|
+
}, "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: "s" })));
|
|
502
|
+
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
503
|
+
[CSS.numberButtonItem]: true,
|
|
504
|
+
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
505
|
+
}, "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: "s" })));
|
|
506
|
+
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
507
|
+
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
508
|
+
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
509
|
+
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.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, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
510
|
+
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
511
|
+
? numberButtonsHorizontalDown
|
|
512
|
+
: 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
|
|
513
|
+
? numberButtonsHorizontalUp
|
|
514
|
+
: null, h(HiddenFormInputSlot, { component: this }))));
|
|
515
|
+
}
|
|
516
|
+
get el() { return getElement(this); }
|
|
517
|
+
static get watchers() { return {
|
|
518
|
+
"disabled": ["disabledWatcher"],
|
|
519
|
+
"max": ["maxWatcher"],
|
|
520
|
+
"min": ["minWatcher"],
|
|
521
|
+
"value": ["valueWatcher"],
|
|
522
|
+
"icon": ["updateRequestedIcon"]
|
|
523
|
+
}; }
|
|
524
|
+
};
|
|
525
|
+
InputNumber.style = inputNumberCss;
|
|
526
|
+
|
|
527
|
+
export { InputNumber as calcite_input_number };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.524
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { i as isValidNumber } from './locale-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { n as numberKeys, i as isActivationKey } from './key-
|
|
13
|
-
import './dom-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-258b111b.js';
|
|
7
|
+
import { g as guid } from './guid-db5de792.js';
|
|
8
|
+
import { i as isValidNumber } from './locale-4b78a8a2.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-dad4147d.js';
|
|
10
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e4f2868c.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-2d24af9c.js';
|
|
12
|
+
import { n as numberKeys, i as isActivationKey } from './key-1ad35d1e.js';
|
|
13
|
+
import './dom-f9756282.js';
|
|
14
14
|
|
|
15
15
|
const maxTenthForMinuteAndSecond = 5;
|
|
16
16
|
function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.524
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { T as TEXT$1, g as getSlotted, s as setRequestedIcon, d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { d as delocalizeNumberString, i as isValidNumber, p as parseNumberString, g as getDecimalSeparator, l as localizeNumberString, s as sanitizeNumberString } from './locale-
|
|
11
|
-
import { n as numberKeys } from './key-
|
|
12
|
-
import { d as decimalPlaces } from './math-
|
|
13
|
-
import { c as createObserver } from './observers-
|
|
14
|
-
import { u as updateHostInteraction } from './interactive-
|
|
15
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-258b111b.js';
|
|
7
|
+
import { T as TEXT$1, g as getSlotted, s as setRequestedIcon, d as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom-f9756282.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-dad4147d.js';
|
|
9
|
+
import { s as submitForm, c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-e4f2868c.js';
|
|
10
|
+
import { d as delocalizeNumberString, i as isValidNumber, p as parseNumberString, g as getDecimalSeparator, l as localizeNumberString, s as sanitizeNumberString } from './locale-4b78a8a2.js';
|
|
11
|
+
import { n as numberKeys } from './key-1ad35d1e.js';
|
|
12
|
+
import { d as decimalPlaces } from './math-f9aa9265.js';
|
|
13
|
+
import { c as createObserver } from './observers-d73acf67.js';
|
|
14
|
+
import { u as updateHostInteraction } from './interactive-2d24af9c.js';
|
|
15
|
+
import './guid-db5de792.js';
|
|
16
16
|
|
|
17
17
|
const CSS = {
|
|
18
18
|
loader: "loader",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.524
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label-
|
|
8
|
-
import './dom-
|
|
9
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-258b111b.js';
|
|
7
|
+
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label-dad4147d.js';
|
|
8
|
+
import './dom-f9756282.js';
|
|
9
|
+
import './guid-db5de792.js';
|
|
10
10
|
|
|
11
11
|
const CSS = {
|
|
12
12
|
container: "container"
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
const labelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s])
|
|
15
|
+
const labelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{margin-bottom:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{margin-bottom:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{margin-bottom:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-left:0px;margin-right:0px;margin-top:0px;width:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";
|
|
16
16
|
|
|
17
17
|
const Label = class {
|
|
18
18
|
constructor(hostRef) {
|
|
@@ -41,6 +41,12 @@ const Label = class {
|
|
|
41
41
|
* @deprecated use the `disabled` property on the interactive components instead
|
|
42
42
|
*/
|
|
43
43
|
this.disabled = false;
|
|
44
|
+
/**
|
|
45
|
+
* eliminates any space around the label
|
|
46
|
+
*
|
|
47
|
+
* @deprecated set the --calcite-label-margin-bottom css variable to 0 instead
|
|
48
|
+
*/
|
|
49
|
+
this.disableSpacing = false;
|
|
44
50
|
//--------------------------------------------------------------------------
|
|
45
51
|
//
|
|
46
52
|
// Private Methods
|