@esri/calcite-components 1.0.0-next.353 → 1.0.0-next.357
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/calcite-icon/rightAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/p-0134e87c.system.entry.js +5 -0
- package/dist/calcite/p-02856c5a.system.entry.js +5 -0
- package/dist/calcite/p-04bf9bca.system.entry.js +5 -0
- package/dist/calcite/p-082c3059.system.entry.js +5 -0
- package/dist/calcite/p-0ac72794.system.entry.js +5 -0
- package/dist/calcite/p-0b187e6a.system.entry.js +5 -0
- package/dist/calcite/p-0d9a5d78.entry.js +5 -0
- package/dist/calcite/p-12c57970.js +5 -0
- package/dist/calcite/p-141c978b.system.entry.js +5 -0
- package/dist/calcite/p-1509da0f.system.entry.js +5 -0
- package/dist/calcite/p-15a38242.system.entry.js +5 -0
- package/dist/calcite/{p-389d11dd.entry.js → p-18c9da83.entry.js} +1 -1
- package/dist/calcite/p-1d26d522.system.entry.js +5 -0
- package/dist/calcite/p-2015299a.entry.js +5 -0
- package/dist/calcite/{p-27d9be53.entry.js → p-209f2049.entry.js} +1 -1
- package/dist/calcite/p-20d2db84.entry.js +5 -0
- package/dist/calcite/{p-dbc16f65.system.entry.js → p-227da2a5.system.entry.js} +1 -1
- package/dist/calcite/{p-21857b73.entry.js → p-2c278864.entry.js} +1 -1
- package/dist/calcite/p-2c3bbbb4.system.entry.js +5 -0
- package/dist/calcite/p-3366ef60.entry.js +5 -0
- package/dist/calcite/p-3baf4001.system.entry.js +5 -0
- package/dist/calcite/p-3c14f089.system.entry.js +5 -0
- package/dist/calcite/{p-26ace86f.entry.js → p-3c1841bd.entry.js} +1 -1
- package/dist/calcite/p-3c34f20d.system.js +5 -0
- package/dist/calcite/p-3e8cf990.entry.js +5 -0
- package/dist/calcite/p-3f51ac4b.system.entry.js +5 -0
- package/dist/calcite/{p-56963201.entry.js → p-475b5015.entry.js} +1 -1
- package/dist/calcite/{p-8d98d2a5.entry.js → p-481366ac.entry.js} +1 -1
- package/dist/calcite/p-4aa28569.entry.js +5 -0
- package/dist/calcite/{p-52966b4c.js → p-4f9b0b0f.js} +1 -1
- package/dist/calcite/p-4fee156d.system.entry.js +5 -0
- package/dist/calcite/{p-5c7c2892.system.entry.js → p-513bc44f.system.entry.js} +1 -1
- package/dist/calcite/p-54e07c75.entry.js +5 -0
- package/dist/calcite/p-557f31e6.system.entry.js +5 -0
- package/dist/calcite/{p-ca9795e8.entry.js → p-55e6b0b2.entry.js} +1 -1
- package/dist/calcite/p-57555baa.system.entry.js +5 -0
- package/dist/calcite/{p-90a47591.entry.js → p-59222393.entry.js} +1 -1
- package/dist/calcite/{p-940d168f.entry.js → p-5cce1e8b.entry.js} +1 -1
- package/dist/calcite/{p-a7a4f22d.entry.js → p-5d9fe852.entry.js} +1 -1
- package/dist/calcite/p-5dcd2088.system.entry.js +5 -0
- package/dist/calcite/p-6173cf08.system.js +5 -0
- package/dist/calcite/{p-5c849dc8.entry.js → p-66ca7309.entry.js} +1 -1
- package/dist/calcite/{p-38b6901a.system.entry.js → p-6c453fd0.system.entry.js} +1 -1
- package/dist/calcite/p-6cd93563.entry.js +5 -0
- package/dist/calcite/p-6dbcd698.system.entry.js +5 -0
- package/dist/calcite/p-6e0fd056.entry.js +5 -0
- package/dist/calcite/p-6f0c4739.system.entry.js +5 -0
- package/dist/calcite/p-6fb2082b.entry.js +5 -0
- package/dist/calcite/p-70566b09.system.entry.js +5 -0
- package/dist/calcite/p-74365957.system.entry.js +5 -0
- package/dist/calcite/p-748c198c.system.entry.js +5 -0
- package/dist/calcite/p-765d6b57.system.entry.js +5 -0
- package/dist/calcite/{p-39b7addd.entry.js → p-770c1d6b.entry.js} +1 -1
- package/dist/calcite/p-7a2142c2.system.entry.js +5 -0
- package/dist/calcite/p-7a28e833.system.entry.js +5 -0
- package/dist/calcite/p-7bd71ff0.system.entry.js +5 -0
- package/dist/calcite/{p-9db39693.entry.js → p-805c94b9.entry.js} +1 -1
- package/dist/calcite/p-83d41684.entry.js +5 -0
- package/dist/calcite/{p-d0c41b96.system.entry.js → p-84738edb.system.entry.js} +1 -1
- package/dist/calcite/p-869eb8f9.entry.js +5 -0
- package/dist/calcite/{p-d92c66b3.entry.js → p-8e1945e3.entry.js} +1 -1
- package/dist/calcite/p-90f7c357.system.entry.js +5 -0
- package/dist/calcite/p-917e53a2.system.entry.js +5 -0
- package/dist/calcite/p-92ad7d95.entry.js +5 -0
- package/dist/calcite/p-94398466.system.entry.js +5 -0
- package/dist/calcite/p-99d32fc3.system.js +5 -0
- package/dist/calcite/{p-7975c2f9.entry.js → p-9acd0a18.entry.js} +1 -1
- package/dist/calcite/p-a07e9c46.system.entry.js +5 -0
- package/dist/calcite/p-a348ffb1.system.entry.js +5 -0
- package/dist/calcite/p-a57bd5e6.entry.js +5 -0
- package/dist/calcite/p-a76aa7d2.system.entry.js +5 -0
- package/dist/calcite/{p-71da0971.entry.js → p-a7f8b343.entry.js} +1 -1
- package/dist/calcite/p-a88d8075.entry.js +5 -0
- package/dist/calcite/p-ac234622.system.entry.js +5 -0
- package/dist/calcite/p-ad81283a.entry.js +5 -0
- package/dist/calcite/p-ae224016.system.entry.js +5 -0
- package/dist/calcite/p-afa72097.system.entry.js +5 -0
- package/dist/calcite/p-b01c3a89.system.entry.js +5 -0
- package/dist/calcite/{p-d1c47e18.system.entry.js → p-b1a43a5f.system.entry.js} +1 -1
- package/dist/calcite/p-b55fa7bc.entry.js +5 -0
- package/dist/calcite/p-b5bb4618.system.entry.js +5 -0
- package/dist/calcite/p-b63dfa63.entry.js +5 -0
- package/dist/calcite/{p-aac447a2.entry.js → p-bc85a791.entry.js} +1 -1
- package/dist/calcite/{p-e284b5b8.entry.js → p-bccf787f.entry.js} +1 -1
- package/dist/calcite/{p-ffba00b9.entry.js → p-bfd9f64a.entry.js} +1 -1
- package/dist/calcite/p-c077d664.entry.js +5 -0
- package/dist/calcite/{p-dfc1ecd1.system.entry.js → p-c3124245.system.entry.js} +1 -1
- package/dist/calcite/{p-1ddaef77.entry.js → p-c5761666.entry.js} +1 -1
- package/dist/calcite/p-c7b8a068.entry.js +5 -0
- package/dist/calcite/p-cc63f8f9.entry.js +5 -0
- package/dist/calcite/p-cd54c8d0.system.entry.js +5 -0
- package/dist/calcite/{p-d1110e46.entry.js → p-cfcb2161.entry.js} +1 -1
- package/dist/calcite/p-d00fbd1e.entry.js +5 -0
- package/dist/calcite/{p-834ec82a.system.js → p-d4bafc77.system.js} +1 -1
- package/dist/calcite/p-d5b221b1.entry.js +5 -0
- package/dist/calcite/p-d6bfa9b1.entry.js +5 -0
- package/dist/calcite/{p-c157e22e.entry.js → p-d6e8d643.entry.js} +1 -1
- package/dist/calcite/p-d8653ba3.entry.js +5 -0
- package/dist/calcite/{p-4163c0ae.system.entry.js → p-dba7c714.system.entry.js} +1 -1
- package/dist/calcite/p-dd9f2e61.js +5 -0
- package/dist/calcite/p-e2094dff.system.entry.js +5 -0
- package/dist/calcite/p-e426746f.system.entry.js +5 -0
- package/dist/calcite/p-e5130ebf.system.entry.js +5 -0
- package/dist/calcite/p-e62edb4d.system.entry.js +5 -0
- package/dist/calcite/{p-19aaba9d.entry.js → p-e63f0806.entry.js} +1 -1
- package/dist/calcite/p-e7103edc.entry.js +5 -0
- package/dist/calcite/p-e8270c76.system.entry.js +5 -0
- package/dist/calcite/p-eca26cba.system.entry.js +5 -0
- package/dist/calcite/p-ef6f8370.entry.js +5 -0
- package/dist/calcite/{p-a6da572a.system.entry.js → p-f26cad61.system.entry.js} +1 -1
- package/dist/calcite/p-f3d02833.js +5 -0
- package/dist/calcite/{p-35fb0117.entry.js → p-f5739197.entry.js} +1 -1
- package/dist/calcite/p-f63b9411.entry.js +5 -0
- package/dist/calcite/p-f70f5521.system.entry.js +5 -0
- package/dist/calcite/{p-f87dc9d4.system.entry.js → p-f763b1e7.system.entry.js} +1 -1
- package/dist/calcite/{p-3197e276.system.entry.js → p-f8c99ef3.system.entry.js} +1 -1
- package/dist/calcite/{p-f492b6f8.entry.js → p-f8f128a2.entry.js} +1 -1
- package/dist/calcite/{p-66f9478e.entry.js → p-f95fb85f.entry.js} +1 -1
- package/dist/calcite/{p-dcaf145a.entry.js → p-fc3c1e91.entry.js} +1 -1
- package/dist/calcite/p-fcde21ce.system.js +5 -0
- package/dist/calcite/p-fdd3ea5e.entry.js +5 -0
- package/dist/calcite/{p-394ad62d.entry.js → p-fe3fff79.entry.js} +1 -1
- package/dist/calcite/p-fee9511c.system.entry.js +5 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -4
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +1 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input.cjs.entry.js +11 -3
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +1 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tab_4.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tree_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-b9b153dd.js +127 -0
- package/dist/cjs/number-e813e801.js +84 -0
- package/dist/cjs/{popper-ccef76e3.js → popper-adfdc032.js} +28 -9
- package/dist/cjs/{resources-d3c42dc4.js → resources-c524c005.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/calcite-accordion/calcite-accordion.css +1 -1
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +1 -1
- package/dist/collection/components/calcite-action/calcite-action.css +1 -1
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +1 -1
- package/dist/collection/components/calcite-action-group/calcite-action-group.css +1 -1
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +1 -1
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +1 -1
- package/dist/collection/components/calcite-alert/calcite-alert.css +29 -7
- package/dist/collection/components/calcite-alert/calcite-alert.js +30 -4
- package/dist/collection/components/calcite-avatar/calcite-avatar.css +1 -1
- package/dist/collection/components/calcite-block/calcite-block.css +1 -1
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -1
- package/dist/collection/components/calcite-button/calcite-button.css +1 -1
- package/dist/collection/components/calcite-card/calcite-card.css +1 -1
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +2 -2
- package/dist/collection/components/calcite-chip/calcite-chip.css +1 -1
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +1 -1
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +1 -1
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +1 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +1 -1
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +1 -1
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +1 -1
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +1 -1
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +1 -1
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +1 -1
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +1 -1
- package/dist/collection/components/calcite-fab/calcite-fab.css +1 -1
- package/dist/collection/components/calcite-filter/calcite-filter.css +3 -3
- package/dist/collection/components/calcite-flow/calcite-flow.css +3 -3
- package/dist/collection/components/calcite-graph/calcite-graph.css +1 -1
- package/dist/collection/components/calcite-handle/calcite-handle.css +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.css +1 -1
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +1 -1
- package/dist/collection/components/calcite-input/calcite-input.css +2 -2
- package/dist/collection/components/calcite-input/calcite-input.js +8 -0
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +1 -1
- package/dist/collection/components/calcite-input-message/calcite-input-message.css +1 -1
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +1 -1
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +2 -2
- package/dist/collection/components/calcite-label/calcite-label.css +1 -1
- package/dist/collection/components/calcite-link/calcite-link.css +1 -1
- package/dist/collection/components/calcite-list/calcite-list.css +1 -1
- package/dist/collection/components/calcite-list-item/calcite-list-item.css +3 -1
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +1 -1
- package/dist/collection/components/calcite-loader/calcite-loader.css +1 -1
- package/dist/collection/components/calcite-modal/calcite-modal.css +1 -1
- package/dist/collection/components/calcite-notice/calcite-notice.css +2 -2
- package/dist/collection/components/calcite-option/calcite-option.css +1 -1
- package/dist/collection/components/calcite-option-group/calcite-option-group.css +1 -1
- package/dist/collection/components/calcite-pagination/calcite-pagination.css +1 -1
- package/dist/collection/components/calcite-panel/calcite-panel.css +2 -2
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +1 -1
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +1 -1
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +4 -4
- package/dist/collection/components/calcite-popover/calcite-popover.css +1 -1
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +1 -1
- package/dist/collection/components/calcite-progress/calcite-progress.css +1 -1
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +1 -1
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +1 -1
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +1 -1
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -1
- package/dist/collection/components/calcite-rating/calcite-rating.css +3 -3
- package/dist/collection/components/calcite-scrim/calcite-scrim.css +1 -1
- package/dist/collection/components/calcite-select/calcite-select.css +1 -1
- package/dist/collection/components/calcite-shell/calcite-shell.css +1 -1
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +1 -1
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +2 -2
- package/dist/collection/components/calcite-slider/calcite-slider.css +1 -1
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +1 -1
- package/dist/collection/components/calcite-split-button/calcite-split-button.css +1 -1
- package/dist/collection/components/calcite-stepper/calcite-stepper.css +1 -1
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +1 -1
- package/dist/collection/components/calcite-switch/calcite-switch.css +1 -1
- package/dist/collection/components/calcite-tab/calcite-tab.css +1 -1
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +1 -1
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +1 -1
- package/dist/collection/components/calcite-tabs/calcite-tabs.css +1 -1
- package/dist/collection/components/calcite-tile/calcite-tile.css +1 -1
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +2 -2
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +1 -1
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +1 -1
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -4
- package/dist/collection/components/calcite-tip/calcite-tip.css +1 -1
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +1 -1
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +1 -1
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +1 -1
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +1 -1
- package/dist/collection/components/calcite-tree/calcite-tree.css +1 -1
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +1 -1
- package/dist/collection/components/calcite-value-list/calcite-value-list.css +1 -1
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +2 -2
- package/dist/collection/utils/locale.js +42 -38
- package/dist/collection/utils/number.js +41 -23
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group2.js +1 -1
- package/dist/components/calcite-action-menu2.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action2.js +1 -1
- package/dist/components/calcite-alert.js +8 -4
- 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-button2.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox2.js +1 -1
- package/dist/components/calcite-chip2.js +1 -1
- package/dist/components/calcite-color-picker-hex-input2.js +1 -1
- package/dist/components/calcite-color-picker-swatch2.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 +1 -1
- package/dist/components/calcite-date-picker-day2.js +1 -1
- package/dist/components/calcite-date-picker-month-header2.js +1 -1
- package/dist/components/calcite-date-picker-month2.js +1 -1
- package/dist/components/calcite-date-picker2.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-dropdown2.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter2.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph2.js +1 -1
- package/dist/components/calcite-handle2.js +1 -1
- package/dist/components/calcite-icon2.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input2.js +9 -1
- package/dist/components/calcite-label2.js +1 -1
- package/dist/components/calcite-link2.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-loader2.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item2.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-popover2.js +1 -1
- package/dist/components/calcite-progress2.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim2.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch2.js +1 -1
- package/dist/components/calcite-tab-nav2.js +1 -1
- package/dist/components/calcite-tab-title2.js +1 -1
- package/dist/components/calcite-tab2.js +1 -1
- package/dist/components/calcite-tabs2.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-tile2.js +1 -1
- package/dist/components/calcite-time-picker2.js +4 -4
- 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-manager2.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/locale.js +42 -38
- package/dist/components/number.js +42 -24
- package/dist/components/popper.js +28 -9
- package/dist/custom-elements/index.js +218 -166
- package/dist/esm/calcite-accordion_2.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +1 -1
- package/dist/esm/calcite-action-group.entry.js +1 -1
- package/dist/esm/calcite-action-menu.entry.js +1 -1
- package/dist/esm/calcite-action-pad.entry.js +1 -1
- package/dist/esm/calcite-action.entry.js +1 -1
- package/dist/esm/calcite-alert.entry.js +7 -4
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +2 -2
- package/dist/esm/calcite-button.entry.js +1 -1
- package/dist/esm/calcite-card.entry.js +1 -1
- package/dist/esm/calcite-checkbox.entry.js +1 -1
- package/dist/esm/calcite-chip.entry.js +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +3 -3
- package/dist/esm/calcite-combobox_3.entry.js +4 -4
- package/dist/esm/calcite-date-picker_4.entry.js +7 -7
- package/dist/esm/calcite-dropdown_3.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +2 -2
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +1 -1
- package/dist/esm/calcite-input-date-picker.entry.js +5 -5
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +6 -6
- package/dist/esm/calcite-input.entry.js +11 -3
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +3 -3
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel.entry.js +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +3 -3
- package/dist/esm/calcite-popover_2.entry.js +3 -3
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-button.entry.js +1 -1
- package/dist/esm/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm/calcite-rating.entry.js +1 -1
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +3 -3
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +2 -2
- package/dist/esm/calcite-switch.entry.js +1 -1
- package/dist/esm/calcite-tab_4.entry.js +4 -4
- package/dist/esm/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-tip_3.entry.js +3 -3
- package/dist/esm/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm/calcite-tree_2.entry.js +2 -2
- package/dist/esm/calcite-value-list_2.entry.js +2 -2
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-1b48f64f.js +122 -0
- package/dist/esm/number-8779395f.js +76 -0
- package/dist/esm/{popper-405efdae.js → popper-1814b3c1.js} +28 -9
- package/dist/esm/{resources-421133b2.js → resources-74c807b4.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- 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 +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-1b48f64f.js +5 -0
- package/dist/esm-es5/number-8779395f.js +5 -0
- package/dist/esm-es5/popper-1814b3c1.js +5 -0
- package/dist/esm-es5/{resources-421133b2.js → resources-74c807b4.js} +1 -1
- package/dist/extras/docs-json.json +44 -6
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +4 -2
- package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +1 -1
- package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +2 -2
- package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +2 -2
- package/dist/types/components.d.ts +17 -9
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/utils/number.d.ts +2 -1
- package/hydrate/index.js +219 -166
- package/package.json +15 -15
- package/readme.md +2 -2
- package/dist/calcite/p-004809cc.entry.js +0 -5
- package/dist/calcite/p-05a069ad.system.entry.js +0 -5
- package/dist/calcite/p-05afd204.system.entry.js +0 -5
- package/dist/calcite/p-05edaadf.system.entry.js +0 -5
- package/dist/calcite/p-070ce87b.system.entry.js +0 -5
- package/dist/calcite/p-0a65fbd6.system.entry.js +0 -5
- package/dist/calcite/p-0dcf351d.system.entry.js +0 -5
- package/dist/calcite/p-102916c7.system.entry.js +0 -5
- package/dist/calcite/p-11b9e4bb.system.js +0 -5
- package/dist/calcite/p-12c1a605.system.entry.js +0 -5
- package/dist/calcite/p-1529e188.entry.js +0 -5
- package/dist/calcite/p-18c4af8f.system.js +0 -5
- package/dist/calcite/p-18d9a261.system.js +0 -5
- package/dist/calcite/p-1a5bd3cd.system.entry.js +0 -5
- package/dist/calcite/p-1e6a3265.entry.js +0 -5
- package/dist/calcite/p-20f933ec.system.entry.js +0 -5
- package/dist/calcite/p-21aa0028.entry.js +0 -5
- package/dist/calcite/p-2c0832d4.system.entry.js +0 -5
- package/dist/calcite/p-2f14b4cb.entry.js +0 -5
- package/dist/calcite/p-2f5787f7.entry.js +0 -5
- package/dist/calcite/p-30a5d7eb.system.entry.js +0 -5
- package/dist/calcite/p-3c42905b.system.entry.js +0 -5
- package/dist/calcite/p-3ed7c8b9.system.entry.js +0 -5
- package/dist/calcite/p-4308ccda.system.entry.js +0 -5
- package/dist/calcite/p-462f38ea.entry.js +0 -5
- package/dist/calcite/p-463b50b4.system.entry.js +0 -5
- package/dist/calcite/p-46e69c5d.system.entry.js +0 -5
- package/dist/calcite/p-4c902a9d.entry.js +0 -5
- package/dist/calcite/p-4cf5bdd0.entry.js +0 -5
- package/dist/calcite/p-4f1fd456.system.entry.js +0 -5
- package/dist/calcite/p-5ebc6442.system.entry.js +0 -5
- package/dist/calcite/p-5f949b17.system.entry.js +0 -5
- package/dist/calcite/p-6472926f.entry.js +0 -5
- package/dist/calcite/p-64b2b37a.system.entry.js +0 -5
- package/dist/calcite/p-6a06c39d.entry.js +0 -5
- package/dist/calcite/p-6d0d9bba.js +0 -5
- package/dist/calcite/p-707b6b8a.system.entry.js +0 -5
- package/dist/calcite/p-7958e723.entry.js +0 -5
- package/dist/calcite/p-7b709610.entry.js +0 -5
- package/dist/calcite/p-81fecc87.system.entry.js +0 -5
- package/dist/calcite/p-8396a2d2.js +0 -5
- package/dist/calcite/p-88143ee3.system.entry.js +0 -5
- package/dist/calcite/p-8abe0816.system.entry.js +0 -5
- package/dist/calcite/p-8ac0823e.system.entry.js +0 -5
- package/dist/calcite/p-8e0dff09.entry.js +0 -5
- package/dist/calcite/p-8ecae737.system.entry.js +0 -5
- package/dist/calcite/p-910e1235.system.entry.js +0 -5
- package/dist/calcite/p-91300144.js +0 -5
- package/dist/calcite/p-9348fb7a.system.entry.js +0 -5
- package/dist/calcite/p-9b5bb8ad.system.entry.js +0 -5
- package/dist/calcite/p-a391ef7c.entry.js +0 -5
- package/dist/calcite/p-a84c50db.system.entry.js +0 -5
- package/dist/calcite/p-b000a562.system.entry.js +0 -5
- package/dist/calcite/p-b343bc29.entry.js +0 -5
- package/dist/calcite/p-b485b5c0.entry.js +0 -5
- package/dist/calcite/p-b5dcec87.system.entry.js +0 -5
- package/dist/calcite/p-bd70cb32.entry.js +0 -5
- package/dist/calcite/p-be4dec64.system.entry.js +0 -5
- package/dist/calcite/p-c33bdeaa.system.entry.js +0 -5
- package/dist/calcite/p-c3fc696a.system.entry.js +0 -5
- package/dist/calcite/p-c6e950ce.system.entry.js +0 -5
- package/dist/calcite/p-cd2a194c.entry.js +0 -5
- package/dist/calcite/p-cdf1d141.system.entry.js +0 -5
- package/dist/calcite/p-cf9389d2.entry.js +0 -5
- package/dist/calcite/p-d1d02a92.entry.js +0 -5
- package/dist/calcite/p-d6d92f2c.system.entry.js +0 -5
- package/dist/calcite/p-d791b8ed.system.entry.js +0 -5
- package/dist/calcite/p-db18b0b9.system.entry.js +0 -5
- package/dist/calcite/p-dbafbe0a.entry.js +0 -5
- package/dist/calcite/p-dd4d55d4.system.entry.js +0 -5
- package/dist/calcite/p-e33346fd.system.entry.js +0 -5
- package/dist/calcite/p-e592e359.system.entry.js +0 -5
- package/dist/calcite/p-e9197eeb.entry.js +0 -5
- package/dist/calcite/p-ea59c57b.entry.js +0 -5
- package/dist/calcite/p-ed64efc7.entry.js +0 -5
- package/dist/calcite/p-f45f88db.entry.js +0 -5
- package/dist/calcite/p-f69c50e1.entry.js +0 -5
- package/dist/calcite/p-fa872404.system.entry.js +0 -5
- package/dist/calcite/p-fc57d215.entry.js +0 -5
- package/dist/calcite/p-fc998713.system.js +0 -5
- package/dist/calcite/p-fdba68b7.entry.js +0 -5
- package/dist/calcite/p-fe5c3f36.system.entry.js +0 -5
- package/dist/calcite/p-ffaaffcc.system.entry.js +0 -5
- package/dist/cjs/locale-ccfa66f6.js +0 -123
- package/dist/cjs/number-f57fd111.js +0 -65
- package/dist/esm/locale-86b789f9.js +0 -118
- package/dist/esm/number-eb92427e.js +0 -58
- package/dist/esm-es5/locale-86b789f9.js +0 -5
- package/dist/esm-es5/number-eb92427e.js +0 -5
- package/dist/esm-es5/popper-405efdae.js +0 -5
|
@@ -14,21 +14,23 @@ function parseNumberString(numberString) {
|
|
|
14
14
|
if (!numberString || !stringContainsNumbers(numberString)) {
|
|
15
15
|
return "";
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
containsDecimal
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
18
|
+
let containsDecimal = false;
|
|
19
|
+
const result = nonExpoNumString
|
|
20
|
+
.split("")
|
|
21
|
+
.filter((value, i) => {
|
|
22
|
+
if (value.match(/\./g) && !containsDecimal) {
|
|
23
|
+
containsDecimal = true;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
if (value.match(/\-/g) && i === 0) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
return numberKeys.includes(value);
|
|
30
|
+
})
|
|
31
|
+
.reduce((string, part) => string + part);
|
|
32
|
+
return isValidNumber(result) ? Number(result).toString() : null;
|
|
33
|
+
});
|
|
32
34
|
}
|
|
33
35
|
function sanitizeDecimalString(decimalString) {
|
|
34
36
|
const decimalAtEndOfStringButNotStart = /(?!^\.)\.$/;
|
|
@@ -42,17 +44,33 @@ function sanitizeLeadingZeroString(zeroString) {
|
|
|
42
44
|
const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
|
|
43
45
|
return zeroString.replace(allLeadingZerosOptionallyNegative, "$1");
|
|
44
46
|
}
|
|
45
|
-
function sanitizeNumberString(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
? sanitizedValue
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
function sanitizeNumberString(numberString) {
|
|
48
|
+
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
49
|
+
const sanitizedValue = sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(nonExpoNumString)));
|
|
50
|
+
const isNegativeDecimalOnlyZeros = /^-\b0\b\.?0*$/;
|
|
51
|
+
return isValidNumber(sanitizedValue)
|
|
52
|
+
? isNegativeDecimalOnlyZeros.test(sanitizedValue)
|
|
53
|
+
? sanitizedValue
|
|
54
|
+
: Number(sanitizedValue).toString()
|
|
55
|
+
: nonExpoNumString;
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function sanitizeExponentialNumberString(numberString, func) {
|
|
59
|
+
if (!numberString) {
|
|
60
|
+
return numberString;
|
|
61
|
+
}
|
|
62
|
+
const firstE = numberString.toLowerCase().indexOf("e") + 1;
|
|
63
|
+
return numberString
|
|
64
|
+
.replace(/[eE]*$/g, "")
|
|
65
|
+
.substring(0, firstE)
|
|
66
|
+
.concat(numberString.slice(firstE).replace(/[eE]/g, ""))
|
|
67
|
+
.split(/[eE]/)
|
|
68
|
+
.map((section, i) => (i === 1 ? func(section.replace(/\./g, "")) : func(section)))
|
|
69
|
+
.join("e")
|
|
70
|
+
.replace(/^e/, "1e");
|
|
53
71
|
}
|
|
54
72
|
function stringContainsNumbers(string) {
|
|
55
73
|
return numberKeys.some((number) => string.includes(number));
|
|
56
74
|
}
|
|
57
75
|
|
|
58
|
-
export {
|
|
76
|
+
export { sanitizeExponentialNumberString as a, sanitizeDecimalString as b, isActivationKey as c, isValidNumber as i, numberKeys as n, parseNumberString as p, sanitizeNumberString as s };
|
|
@@ -487,13 +487,21 @@ function mapToStyles(_ref2) {
|
|
|
487
487
|
adaptive = _ref2.adaptive,
|
|
488
488
|
roundOffsets = _ref2.roundOffsets,
|
|
489
489
|
isFixed = _ref2.isFixed;
|
|
490
|
+
var _offsets$x = offsets.x,
|
|
491
|
+
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
492
|
+
_offsets$y = offsets.y,
|
|
493
|
+
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
490
494
|
|
|
491
|
-
var _ref3 =
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
495
|
+
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
496
|
+
x: x,
|
|
497
|
+
y: y
|
|
498
|
+
}) : {
|
|
499
|
+
x: x,
|
|
500
|
+
y: y
|
|
501
|
+
};
|
|
496
502
|
|
|
503
|
+
x = _ref3.x;
|
|
504
|
+
y = _ref3.y;
|
|
497
505
|
var hasX = offsets.hasOwnProperty('x');
|
|
498
506
|
var hasY = offsets.hasOwnProperty('y');
|
|
499
507
|
var sideX = left;
|
|
@@ -538,6 +546,17 @@ function mapToStyles(_ref2) {
|
|
|
538
546
|
position: position
|
|
539
547
|
}, adaptive && unsetSides);
|
|
540
548
|
|
|
549
|
+
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
550
|
+
x: x,
|
|
551
|
+
y: y
|
|
552
|
+
}) : {
|
|
553
|
+
x: x,
|
|
554
|
+
y: y
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
x = _ref4.x;
|
|
558
|
+
y = _ref4.y;
|
|
559
|
+
|
|
541
560
|
if (gpuAcceleration) {
|
|
542
561
|
var _Object$assign;
|
|
543
562
|
|
|
@@ -547,9 +566,9 @@ function mapToStyles(_ref2) {
|
|
|
547
566
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
548
567
|
}
|
|
549
568
|
|
|
550
|
-
function computeStyles(
|
|
551
|
-
var state =
|
|
552
|
-
options =
|
|
569
|
+
function computeStyles(_ref5) {
|
|
570
|
+
var state = _ref5.state,
|
|
571
|
+
options = _ref5.options;
|
|
553
572
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
554
573
|
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
555
574
|
_options$adaptive = options.adaptive,
|
|
@@ -838,7 +857,7 @@ function getClippingParents(element) {
|
|
|
838
857
|
|
|
839
858
|
|
|
840
859
|
return clippingParents.filter(function (clippingParent) {
|
|
841
|
-
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'
|
|
860
|
+
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
842
861
|
});
|
|
843
862
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
844
863
|
// clipping parents
|