@esri/calcite-components 1.0.0-beta.82 → 1.0.0-beta.85
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/date-picker/nls/ru.json +4 -4
- package/dist/calcite/assets/date-picker/nls/th.json +1 -1
- package/dist/calcite/assets/icon/changeDetection16.json +1 -0
- package/dist/calcite/assets/icon/changeDetection24.json +1 -0
- package/dist/calcite/assets/icon/changeDetection32.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/calcite/assets/icon/listCheckAll16.json +1 -0
- package/dist/calcite/assets/icon/listCheckAll24.json +1 -0
- package/dist/calcite/assets/icon/listCheckAll32.json +1 -0
- package/dist/calcite/assets/icon/ltrElementsAlign16.json +1 -0
- package/dist/calcite/assets/icon/ltrElementsAlign24.json +1 -0
- package/dist/calcite/assets/icon/ltrElementsAlign32.json +1 -0
- package/dist/calcite/assets/icon/ltrParagraphAlign16.json +1 -0
- package/dist/calcite/assets/icon/ltrParagraphAlign24.json +1 -0
- package/dist/calcite/assets/icon/ltrParagraphAlign32.json +1 -0
- package/dist/calcite/assets/icon/numberCircle416.json +1 -0
- package/dist/calcite/assets/icon/numberCircle424.json +1 -0
- package/dist/calcite/assets/icon/numberCircle432.json +1 -0
- package/dist/calcite/assets/icon/numberCircle516.json +1 -0
- package/dist/calcite/assets/icon/numberCircle524.json +1 -0
- package/dist/calcite/assets/icon/numberCircle532.json +1 -0
- package/dist/calcite/assets/icon/numberCircle616.json +1 -0
- package/dist/calcite/assets/icon/numberCircle624.json +1 -0
- package/dist/calcite/assets/icon/numberCircle632.json +1 -0
- package/dist/calcite/assets/icon/numberCircle716.json +1 -0
- package/dist/calcite/assets/icon/numberCircle724.json +1 -0
- package/dist/calcite/assets/icon/numberCircle732.json +1 -0
- package/dist/calcite/assets/icon/numberCircle816.json +1 -0
- package/dist/calcite/assets/icon/numberCircle824.json +1 -0
- package/dist/calcite/assets/icon/numberCircle832.json +1 -0
- package/dist/calcite/assets/icon/numberCircle916.json +1 -0
- package/dist/calcite/assets/icon/numberCircle924.json +1 -0
- package/dist/calcite/assets/icon/numberCircle932.json +1 -0
- package/dist/calcite/assets/icon/rangefinder16.json +1 -0
- package/dist/calcite/assets/icon/rangefinder24.json +1 -0
- package/dist/calcite/assets/icon/rangefinder32.json +1 -0
- package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -1
- package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -1
- package/dist/calcite/assets/icon/rfid16.json +1 -0
- package/dist/calcite/assets/icon/rfid24.json +1 -0
- package/dist/calcite/assets/icon/rfid32.json +1 -0
- package/dist/calcite/assets/icon/rtlElementsAlign16.json +1 -0
- package/dist/calcite/assets/icon/rtlElementsAlign24.json +1 -0
- package/dist/calcite/assets/icon/rtlElementsAlign32.json +1 -0
- package/dist/calcite/assets/icon/rtlParagraphAlign16.json +1 -0
- package/dist/calcite/assets/icon/rtlParagraphAlign24.json +1 -0
- package/dist/calcite/assets/icon/rtlParagraphAlign32.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime32.json +1 -0
- 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-01bc4f23.system.entry.js +6 -0
- package/dist/calcite/{p-cca09bde.system.js → p-0212da73.system.js} +1 -1
- package/dist/calcite/p-0223a366.system.entry.js +6 -0
- package/dist/calcite/p-03ab89b3.entry.js +6 -0
- package/dist/calcite/{p-a66f170f.entry.js → p-03d40265.entry.js} +2 -2
- package/dist/calcite/{p-18bcf729.js → p-03ef196e.js} +1 -1
- package/dist/calcite/{p-f86fd5f9.system.js → p-072ba3d4.system.js} +2 -2
- package/dist/calcite/{p-83192ea5.system.js → p-07d77019.system.js} +1 -1
- package/dist/calcite/p-07fc31c0.entry.js +6 -0
- package/dist/calcite/{p-ee9b4197.js → p-0913167b.js} +1 -1
- package/dist/calcite/p-0c5db9b8.entry.js +6 -0
- package/dist/calcite/p-0e40d02c.entry.js +6 -0
- package/dist/calcite/p-0f792340.system.entry.js +6 -0
- package/dist/calcite/p-1027d814.js +6 -0
- package/dist/calcite/{p-997202fe.js → p-119aebca.js} +2 -2
- package/dist/calcite/p-1221c17a.system.entry.js +6 -0
- package/dist/calcite/{p-7f183647.js → p-149936bc.js} +1 -1
- package/dist/calcite/p-167a2db7.system.entry.js +6 -0
- package/dist/calcite/p-16e47db7.entry.js +6 -0
- package/dist/calcite/p-170967b2.entry.js +6 -0
- package/dist/calcite/p-181ee6d9.system.entry.js +6 -0
- package/dist/calcite/p-1c5b17ca.system.entry.js +6 -0
- package/dist/calcite/{p-3819513d.system.js → p-1c5c525b.system.js} +1 -1
- package/dist/calcite/p-1cea5244.system.js +6 -0
- package/dist/calcite/{p-0dbcb343.js → p-1e18dd8f.js} +1 -1
- package/dist/calcite/p-1fd12e92.system.entry.js +6 -0
- package/dist/calcite/{p-d22143e9.system.entry.js → p-202aa07d.entry.js} +2 -2
- package/dist/calcite/p-2070ab78.system.entry.js +6 -0
- package/dist/calcite/p-20ccf33e.system.js +6 -0
- package/dist/calcite/{p-33694839.js → p-222220eb.js} +1 -1
- package/dist/calcite/{p-1094dab2.js → p-2346e8b5.js} +1 -1
- package/dist/calcite/{p-ca9efa2d.system.js → p-243cd9e3.system.js} +1 -1
- package/dist/calcite/p-24eaf308.system.entry.js +6 -0
- package/dist/calcite/p-27434c28.js +6 -0
- package/dist/calcite/p-27aa7d0a.entry.js +6 -0
- package/dist/calcite/p-2882a864.js +6 -0
- package/dist/calcite/{p-30dfc127.system.js → p-2b0bc91f.system.js} +1 -1
- package/dist/calcite/p-2b38a81c.entry.js +6 -0
- package/dist/calcite/{p-e0fb9338.entry.js → p-2d888e2f.entry.js} +2 -2
- package/dist/calcite/p-2d906cf6.system.entry.js +6 -0
- package/dist/calcite/p-2ff5a1cc.system.entry.js +6 -0
- package/dist/calcite/p-311ddd75.system.entry.js +6 -0
- package/dist/calcite/{p-23a643c6.entry.js → p-315644dd.entry.js} +2 -2
- package/dist/calcite/{p-a3074bb4.system.entry.js → p-329709c2.system.entry.js} +2 -2
- package/dist/calcite/p-338228cd.js +6 -0
- package/dist/calcite/{p-80e8926a.entry.js → p-3510aea1.entry.js} +2 -2
- package/dist/calcite/{p-df476c53.system.entry.js → p-35133da2.system.entry.js} +2 -2
- package/dist/calcite/{p-88147c4a.system.js → p-37e5be23.system.js} +1 -1
- package/dist/calcite/{p-d04eb041.system.js → p-398535e1.system.js} +1 -1
- package/dist/calcite/{p-fd5d23d1.system.entry.js → p-3ab2d1ea.system.entry.js} +2 -2
- package/dist/calcite/p-3b70be07.system.entry.js +6 -0
- package/dist/calcite/{p-68277cce.system.js → p-3c31971c.system.js} +1 -1
- package/dist/calcite/{p-164bea30.system.js → p-3ebbb37d.system.js} +2 -2
- package/dist/calcite/p-420a3057.js +7 -0
- package/dist/calcite/{p-c76d3ea1.entry.js → p-43aac0ac.entry.js} +2 -2
- package/dist/calcite/p-464affb7.system.entry.js +6 -0
- package/dist/calcite/{p-e9e1dee1.js → p-46696d61.js} +1 -1
- package/dist/calcite/{p-8b0ea955.system.js → p-467704c7.system.js} +1 -1
- package/dist/calcite/p-47fced58.system.entry.js +6 -0
- package/dist/calcite/p-48f4e304.system.entry.js +6 -0
- package/dist/calcite/p-49ac0f0d.system.js +6 -0
- package/dist/calcite/{p-ef059155.system.entry.js → p-4b72075a.system.entry.js} +2 -2
- package/dist/calcite/{p-ad58c01e.system.js → p-4e9df5b8.system.js} +2 -2
- package/dist/calcite/{p-6ca6734d.system.js → p-51534de9.system.js} +1 -1
- package/dist/calcite/{p-f5394fa4.system.entry.js → p-51f5e06e.system.entry.js} +3 -3
- package/dist/calcite/p-522b5e9b.system.entry.js +6 -0
- package/dist/calcite/p-529c79b7.js +6 -0
- package/dist/calcite/{p-b2947a00.system.entry.js → p-53f28012.system.entry.js} +2 -2
- package/dist/calcite/{p-a3d47df8.system.js → p-584b85e0.system.js} +1 -1
- package/dist/calcite/p-5a45c95e.entry.js +6 -0
- package/dist/calcite/{p-89b2f38d.js → p-5d0e2da6.js} +1 -1
- package/dist/calcite/{p-4f823472.system.entry.js → p-5e5cafb5.system.entry.js} +2 -2
- package/dist/calcite/{p-7ae35ad7.entry.js → p-5f2a1aeb.entry.js} +2 -2
- package/dist/calcite/p-5fc629fa.entry.js +6 -0
- package/dist/calcite/p-618bd95d.system.entry.js +6 -0
- package/dist/calcite/p-6574a052.system.js +6 -0
- package/dist/calcite/p-6b2b5764.entry.js +6 -0
- package/dist/calcite/{p-a56b2d66.entry.js → p-6da35717.entry.js} +2 -2
- package/dist/calcite/p-6f11a56f.system.entry.js +6 -0
- package/dist/calcite/p-70d26d8a.entry.js +6 -0
- package/dist/calcite/p-729af11a.system.entry.js +6 -0
- package/dist/calcite/p-736cba68.system.js +6 -0
- package/dist/calcite/{p-3c3ec245.entry.js → p-776fdea5.entry.js} +2 -2
- package/dist/calcite/p-781a286e.system.js +7 -0
- package/dist/calcite/p-791b3dac.entry.js +6 -0
- package/dist/calcite/{p-aaad5997.system.entry.js → p-79ac98fc.system.entry.js} +2 -2
- package/dist/calcite/{p-fc2144e0.system.entry.js → p-7c60287e.system.entry.js} +2 -2
- package/dist/calcite/p-7d570799.system.js +6 -0
- package/dist/calcite/p-80d78601.system.entry.js +6 -0
- package/dist/calcite/{p-dc14a2a0.js → p-850bd83f.js} +1 -1
- package/dist/calcite/{p-82da0c62.entry.js → p-86e69716.entry.js} +2 -2
- package/dist/calcite/{p-e3ee7868.system.js → p-872dd7ba.system.js} +1 -1
- package/dist/calcite/p-87f22854.entry.js +6 -0
- package/dist/calcite/{p-bf2fe8b0.js → p-887d734a.js} +2 -2
- package/dist/calcite/p-88c828b4.entry.js +6 -0
- package/dist/calcite/{p-474380ed.system.entry.js → p-8919c0b9.system.entry.js} +2 -2
- package/dist/calcite/{p-28dc602c.system.entry.js → p-89967a2b.system.entry.js} +2 -2
- package/dist/calcite/p-8a0b728e.entry.js +6 -0
- package/dist/calcite/p-8b11b14e.entry.js +6 -0
- package/dist/calcite/{p-9969deb4.system.entry.js → p-8c0d62c7.system.entry.js} +2 -2
- package/dist/calcite/{p-410b7a2a.system.entry.js → p-8e404843.system.entry.js} +2 -2
- package/dist/calcite/p-90e91f3f.entry.js +6 -0
- package/dist/calcite/p-9126f152.system.js +6 -0
- package/dist/calcite/p-92b62b73.entry.js +6 -0
- package/dist/calcite/{p-1af2a45c.entry.js → p-9440f9a1.entry.js} +2 -2
- package/dist/calcite/p-9487de4e.entry.js +6 -0
- package/dist/calcite/p-95126dbe.entry.js +6 -0
- package/dist/calcite/{p-2681265e.entry.js → p-9fc3c426.entry.js} +2 -2
- package/dist/calcite/p-a0a60580.system.entry.js +6 -0
- package/dist/calcite/p-a1405997.entry.js +6 -0
- package/dist/calcite/{p-792fd998.entry.js → p-a22911bb.entry.js} +2 -2
- package/dist/calcite/p-a2fc3c01.system.entry.js +6 -0
- package/dist/calcite/p-a34e342b.entry.js +6 -0
- package/dist/calcite/p-a6e2dce3.js +6 -0
- package/dist/calcite/p-a8a2f8d8.entry.js +6 -0
- package/dist/calcite/{p-4c3ce7bd.system.entry.js → p-abe6d548.system.entry.js} +2 -2
- package/dist/calcite/p-ac2ec96b.system.js +6 -0
- package/dist/calcite/{p-a1f93b32.js → p-ac5555ee.js} +2 -2
- package/dist/calcite/p-ad663d3e.system.entry.js +6 -0
- package/dist/calcite/{p-f8d59d84.entry.js → p-ade94686.entry.js} +2 -2
- package/dist/calcite/p-af8c886d.entry.js +6 -0
- package/dist/calcite/p-b0f41839.entry.js +6 -0
- package/dist/calcite/p-b15645e3.system.entry.js +6 -0
- package/dist/calcite/p-b1c2d29e.entry.js +6 -0
- package/dist/calcite/{p-9987d5e9.entry.js → p-b765d1ce.entry.js} +2 -2
- package/dist/calcite/p-b8ce9f3e.entry.js +6 -0
- package/dist/calcite/{p-d674d041.entry.js → p-b95af5f3.entry.js} +2 -2
- package/dist/calcite/p-bb6b70d0.system.entry.js +6 -0
- package/dist/calcite/{p-fa2ce2ae.entry.js → p-bc80710e.entry.js} +2 -2
- package/dist/calcite/p-bcde536d.entry.js +6 -0
- package/dist/calcite/p-c03ca50d.system.entry.js +6 -0
- package/dist/calcite/p-c0612433.entry.js +6 -0
- package/dist/calcite/p-c0c270bf.entry.js +6 -0
- package/dist/calcite/p-c1131334.system.entry.js +6 -0
- package/dist/calcite/{p-dd444456.js → p-c2f04b4a.js} +2 -2
- package/dist/calcite/p-c6995296.system.entry.js +6 -0
- package/dist/calcite/p-c711143b.system.entry.js +6 -0
- package/dist/calcite/p-c9ee2385.entry.js +6 -0
- package/dist/calcite/p-cac75100.system.entry.js +6 -0
- package/dist/calcite/p-cb2a162f.system.entry.js +6 -0
- package/dist/calcite/p-cbe9b8f3.entry.js +6 -0
- package/dist/calcite/p-ce7d3daf.system.entry.js +6 -0
- package/dist/calcite/p-d00a839f.system.entry.js +6 -0
- package/dist/calcite/p-d0f6c70f.system.entry.js +6 -0
- package/dist/calcite/{p-70f33b3e.js → p-d15c1632.js} +1 -1
- package/dist/calcite/p-d37ad67f.system.entry.js +6 -0
- package/dist/calcite/p-d49fdd77.entry.js +6 -0
- package/dist/calcite/p-d54960f3.system.entry.js +6 -0
- package/dist/calcite/{p-d6381f74.js → p-d67695ec.js} +1 -1
- package/dist/calcite/p-de06d5a7.entry.js +6 -0
- package/dist/calcite/{p-4cd8e82e.system.entry.js → p-e2788410.system.entry.js} +2 -2
- package/dist/calcite/p-e2da9506.entry.js +6 -0
- package/dist/calcite/p-e647dac1.system.entry.js +6 -0
- package/dist/calcite/p-e701122c.js +6 -0
- package/dist/calcite/{p-7f556dbd.entry.js → p-ea95a1bc.entry.js} +2 -2
- package/dist/calcite/p-eacbae9a.entry.js +6 -0
- package/dist/calcite/p-ecdd5df4.js +6 -0
- package/dist/calcite/p-ed126b82.system.entry.js +6 -0
- package/dist/calcite/p-ed372fd5.entry.js +6 -0
- package/dist/calcite/p-ee53e973.system.js +6 -0
- package/dist/calcite/p-f1134ced.entry.js +6 -0
- package/dist/calcite/p-f411ee83.entry.js +6 -0
- package/dist/calcite/p-f4d89bbe.system.js +6 -0
- package/dist/calcite/p-f80c1436.system.entry.js +6 -0
- package/dist/calcite/p-fb6c3b22.system.entry.js +6 -0
- package/dist/calcite/p-fe273bab.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-8c61677e.js → ExpandToggle-cc8723f3.js} +8 -6
- package/dist/cjs/{Heading-0cb5902d.js → Heading-5e52526c.js} +3 -3
- package/dist/cjs/{array-f1fe66d8.js → array-57bcaf76.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +41 -26
- package/dist/cjs/calcite-action-bar.cjs.entry.js +22 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-menu.cjs.entry.js +19 -17
- package/dist/cjs/calcite-action-pad.cjs.entry.js +20 -15
- package/dist/cjs/calcite-action.cjs.entry.js +19 -16
- package/dist/cjs/calcite-alert.cjs.entry.js +60 -33
- package/dist/cjs/calcite-avatar.cjs.entry.js +11 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +29 -15
- package/dist/cjs/calcite-button.cjs.entry.js +15 -12
- package/dist/cjs/calcite-card.cjs.entry.js +23 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +13 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +101 -51
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +101 -45
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +108 -29
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +109 -46
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +11 -10
- package/dist/cjs/calcite-graph_2.cjs.entry.js +57 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +8 -7
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +19 -13
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +60 -29
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +531 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +113 -67
- package/dist/cjs/calcite-input.cjs.entry.js +89 -55
- package/dist/cjs/calcite-label.cjs.entry.js +13 -8
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-loader.cjs.entry.js +12 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +46 -28
- package/dist/cjs/calcite-notice.cjs.entry.js +16 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-pagination.cjs.entry.js +97 -12
- package/dist/cjs/calcite-panel.cjs.entry.js +29 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +46 -37
- package/dist/cjs/calcite-popover_2.cjs.entry.js +67 -32
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +15 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +33 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +82 -35
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +59 -35
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +34 -16
- package/dist/cjs/calcite-tree_2.cjs.entry.js +33 -22
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +114 -41
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-ba5cd797.js → conditionalSlot-e2c3d357.js} +7 -3
- package/dist/cjs/{debounce-94d2834e.js → debounce-e9a51e04.js} +1 -1
- package/dist/cjs/{dom-9ac0341c.js → dom-1b4e0097.js} +9 -28
- package/dist/cjs/{forIn-9f737b26.js → forIn-6f2f1821.js} +2 -2
- package/dist/cjs/{form-11926121.js → form-09b0739e.js} +24 -5
- package/dist/cjs/{guid-8b6d6cb4.js → guid-f166e155.js} +1 -1
- package/dist/cjs/{index-5c65e149.js → index-341e1ec4.js} +7 -16
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-e294111f.js → interactive-97aea507.js} +7 -4
- package/dist/cjs/{interfaces-083f4502.js → interfaces-327e49ac.js} +1 -1
- package/dist/cjs/key-7a6d198d.js +14 -0
- package/dist/cjs/{label-165fc611.js → label-1b7bed3e.js} +9 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-075bf13d.js +262 -0
- package/dist/cjs/{math-9d6de52c.js → math-da40a7f2.js} +1 -1
- package/dist/cjs/{observers-d9fdf006.js → observers-dea97623.js} +1 -1
- package/dist/cjs/{popper-3f97eb01.js → popper-ec16ae25.js} +2 -2
- package/dist/cjs/{resources-5da94c46.js → resources-38083f60.js} +1 -1
- package/dist/cjs/{resources-1a214670.js → resources-7f821e18.js} +1 -1
- package/dist/cjs/{resources-684ec2e5.js → resources-8e6a4847.js} +16 -22
- package/dist/cjs/{resources-247d05d5.js → resources-f35c4b41.js} +44 -3
- package/dist/cjs/{sortable.esm-0005295a.js → sortable.esm-1d891a3c.js} +1 -1
- package/dist/cjs/{utils-51c079f6.js → utils-c2ab1f6b.js} +1 -1
- package/dist/collection/collection-manifest.json +7 -1
- package/dist/collection/components/accordion/accordion.js +27 -22
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +38 -18
- package/dist/collection/components/accordion-item/accordion-item.js +97 -26
- package/dist/collection/components/action/action.css +38 -14
- package/dist/collection/components/action/action.js +26 -23
- 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 +28 -16
- 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.css +1 -1
- package/dist/collection/components/action-group/action-group.js +11 -11
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +2 -3
- package/dist/collection/components/action-menu/action-menu.js +18 -16
- 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 +29 -18
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +35 -32
- package/dist/collection/components/alert/alert.js +127 -55
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +4 -1
- package/dist/collection/components/avatar/avatar.js +7 -7
- package/dist/collection/components/avatar/utils.js +6 -1
- package/dist/collection/components/block/block.css +6 -4
- package/dist/collection/components/block/block.js +67 -10
- package/dist/collection/components/block/resources.js +2 -1
- package/dist/collection/components/block-section/block-section.css +6 -5
- 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.css +116 -57
- package/dist/collection/components/button/button.js +7 -4
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +32 -11
- package/dist/collection/components/card/card.js +43 -9
- package/dist/collection/components/card/resources.js +3 -3
- package/dist/collection/components/checkbox/checkbox.css +13 -13
- package/dist/collection/components/checkbox/checkbox.js +3 -2
- package/dist/collection/components/chip/chip.css +6 -7
- package/dist/collection/components/chip/chip.js +25 -2
- 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.css +1 -3
- package/dist/collection/components/color-picker/color-picker.js +106 -41
- 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 +22 -3
- 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.css +4 -4
- package/dist/collection/components/combobox/combobox.js +184 -51
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +3 -2
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +4 -4
- package/dist/collection/components/combobox-item/combobox-item.js +32 -4
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +2 -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/assets/date-picker/nls/ru.json +4 -4
- package/dist/collection/components/date-picker/assets/date-picker/nls/th.json +1 -1
- package/dist/collection/components/date-picker/date-picker.js +30 -5
- 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 +7 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +25 -16
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -4
- package/dist/collection/components/date-picker-month/date-picker-month.js +37 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +32 -7
- package/dist/collection/components/date-picker-month-header/resources.js +6 -0
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +165 -38
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +4 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +9 -7
- 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.css +16 -9
- package/dist/collection/components/dropdown-item/dropdown-item.js +19 -19
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +3 -3
- 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 +9 -8
- 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 +4 -2
- package/dist/collection/components/functional/Heading.js +2 -2
- package/dist/collection/components/graph/graph.css +1 -0
- 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 +29 -1
- package/dist/collection/components/handle/handle.css +0 -2
- package/dist/collection/components/handle/handle.js +5 -4
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/collection/components/icon/assets/icon/listCheckAll16.json +1 -0
- package/dist/collection/components/icon/assets/icon/listCheckAll24.json +1 -0
- package/dist/collection/components/icon/assets/icon/listCheckAll32.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrElementsAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrElementsAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrElementsAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrParagraphAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrParagraphAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrParagraphAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle416.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle424.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle432.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle516.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle524.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle532.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle616.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle624.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle632.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle716.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle724.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle732.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle816.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle824.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle832.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle916.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle924.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle932.json +1 -0
- package/dist/collection/components/icon/assets/icon/rangefinder16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rangefinder24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rangefinder32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -1
- package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -1
- package/dist/collection/components/icon/assets/icon/rfid16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rfid24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rfid32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlElementsAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlElementsAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlElementsAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlParagraphAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlParagraphAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlParagraphAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime32.json +1 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +5 -1
- package/dist/collection/components/inline-editable/inline-editable.css +1 -4
- package/dist/collection/components/inline-editable/inline-editable.js +14 -8
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +47 -56
- package/dist/collection/components/input/input.js +183 -80
- 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.css +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +70 -20
- package/dist/collection/components/input-date-picker/resources.js +9 -0
- package/dist/collection/components/input-message/input-message.css +11 -16
- 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 +55 -14
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +28 -8
- package/dist/collection/components/label/label.js +21 -13
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +11 -18
- package/dist/collection/components/link/link.js +3 -2
- package/dist/collection/components/list/list.js +5 -4
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +23 -15
- package/dist/collection/components/list-item/list-item.js +12 -12
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +3 -3
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +23 -21
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +29 -23
- package/dist/collection/components/modal/modal.js +117 -71
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +22 -25
- package/dist/collection/components/notice/notice.js +25 -22
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +10 -10
- package/dist/collection/components/option-group/option-group.js +7 -7
- package/dist/collection/components/pagination/pagination.css +26 -20
- package/dist/collection/components/pagination/pagination.js +49 -22
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +14 -7
- package/dist/collection/components/panel/panel.js +78 -39
- package/dist/collection/components/panel/resources.js +2 -1
- package/dist/collection/components/pick-list/pick-list.js +40 -29
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +7 -3
- package/dist/collection/components/pick-list/shared-list-render.js +4 -15
- package/dist/collection/components/pick-list-group/pick-list-group.css +2 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +2 -3
- package/dist/collection/components/pick-list-item/pick-list-item.js +45 -35
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +16 -6
- package/dist/collection/components/popover/popover.css +7 -1
- package/dist/collection/components/popover/popover.js +102 -48
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +2 -1
- package/dist/collection/components/progress/progress.css +2 -1
- package/dist/collection/components/progress/progress.js +9 -9
- package/dist/collection/components/radio-button/radio-button.css +10 -6
- package/dist/collection/components/radio-button/radio-button.js +4 -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.css +2 -1
- package/dist/collection/components/radio-group/radio-group.js +12 -6
- package/dist/collection/components/radio-group-item/radio-group-item.css +14 -2
- package/dist/collection/components/radio-group-item/radio-group-item.js +5 -5
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +2 -12
- package/dist/collection/components/rating/rating.js +26 -8
- 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 +4 -2
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +0 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +7 -3
- 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.css +12 -8
- package/dist/collection/components/shell-panel/shell-panel.js +2 -1
- package/dist/collection/components/slider/slider.css +18 -10
- package/dist/collection/components/slider/slider.js +19 -2
- 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.css +1 -4
- package/dist/collection/components/split-button/split-button.js +6 -3
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +85 -27
- package/dist/collection/components/stepper-item/stepper-item.css +50 -17
- package/dist/collection/components/stepper-item/stepper-item.js +118 -22
- package/dist/collection/components/switch/switch.css +2 -3
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +25 -8
- package/dist/collection/components/tab-nav/tab-nav.css +21 -4
- package/dist/collection/components/tab-nav/tab-nav.js +28 -17
- package/dist/collection/components/tab-title/tab-title.css +78 -27
- package/dist/collection/components/tab-title/tab-title.js +38 -23
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +40 -0
- package/dist/collection/components/tabs/tabs.js +17 -12
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +4 -4
- package/dist/collection/components/tile/tile.js +2 -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.css +9 -3
- package/dist/collection/components/tile-select/tile-select.js +3 -2
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +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.css +8 -5
- package/dist/collection/components/time-picker/time-picker.js +61 -26
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +4 -4
- 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.css +2 -5
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +7 -3
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +6 -3
- package/dist/collection/components/tooltip/tooltip.js +52 -20
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +17 -12
- 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.css +24 -19
- package/dist/collection/components/tree-item/tree-item.js +31 -25
- package/dist/collection/components/value-list/interfaces.js +6 -0
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +49 -0
- package/dist/collection/components/value-list/value-list.js +139 -38
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +2 -3
- package/dist/collection/components/value-list-item/value-list-item.js +33 -24
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +5 -1
- package/dist/collection/utils/date.js +36 -1
- package/dist/collection/utils/dom.js +8 -26
- package/dist/collection/utils/filter.js +3 -3
- package/dist/collection/utils/form.js +22 -3
- package/dist/collection/utils/globalAttributes.js +6 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +7 -4
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +8 -1
- package/dist/collection/utils/locale.js +11 -10
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +71 -8
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +6 -0
- 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 +4 -2
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +4 -4
- package/dist/components/action-menu.js +12 -10
- package/dist/components/action.js +14 -11
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +9 -6
- package/dist/components/calcite-accordion-item.js +28 -15
- package/dist/components/calcite-accordion.js +17 -12
- package/dist/components/calcite-action-bar.js +13 -7
- 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 +12 -7
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +57 -30
- package/dist/components/calcite-avatar.js +8 -3
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +24 -8
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +20 -10
- 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 +91 -42
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +5 -2
- package/dist/components/calcite-combobox.js +89 -33
- 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 +9 -7
- package/dist/components/calcite-dropdown-item.js +17 -17
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +9 -8
- 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 +14 -8
- package/dist/components/calcite-input-date-picker.js +54 -22
- package/dist/components/calcite-input-message.js +2 -2
- 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 +28 -11
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +4 -4
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +43 -25
- package/dist/components/calcite-notice.js +10 -8
- package/dist/components/calcite-option-group.js +4 -4
- package/dist/components/calcite-option.js +5 -5
- package/dist/components/calcite-pagination.js +96 -11
- package/dist/components/calcite-panel.js +22 -13
- 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 +20 -15
- package/dist/components/calcite-popover-manager.js +2 -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 +5 -2
- package/dist/components/calcite-radio-group-item.js +5 -5
- package/dist/components/calcite-radio-group.js +7 -4
- package/dist/components/calcite-rating.js +27 -9
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +3 -3
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +3 -2
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +21 -4
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +7 -4
- package/dist/components/calcite-stepper-item.js +39 -14
- package/dist/components/calcite-stepper.js +44 -20
- 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 +2 -2
- package/dist/components/calcite-tile-select.js +4 -3
- 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 +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +2 -1
- package/dist/components/calcite-tooltip.js +31 -13
- package/dist/components/calcite-tree-item.js +20 -14
- package/dist/components/calcite-tree.js +11 -6
- package/dist/components/calcite-value-list-item.js +13 -10
- package/dist/components/calcite-value-list.js +99 -25
- package/dist/components/checkbox.js +4 -3
- package/dist/components/chip.js +9 -3
- package/dist/components/color-picker-hex-input.js +6 -3
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +5 -1
- package/dist/components/date-picker-day.js +4 -4
- package/dist/components/date-picker-month-header.js +35 -9
- package/dist/components/date-picker-month.js +35 -7
- package/dist/components/date-picker.js +36 -5
- package/dist/components/date.js +36 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +9 -27
- package/dist/components/dropdown.js +83 -21
- package/dist/components/filter.js +2 -2
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +23 -4
- package/dist/components/graph.js +30 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +5 -4
- package/dist/components/icon.js +5 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +73 -37
- package/dist/components/interactive.js +7 -4
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +11 -0
- package/dist/components/label.js +9 -2
- package/dist/components/label2.js +11 -6
- package/dist/components/link.js +4 -3
- package/dist/components/loader.js +10 -8
- package/dist/components/locale.js +140 -10
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +19 -15
- package/dist/components/popover.js +62 -27
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +4 -4
- 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 +4 -2
- package/dist/components/shared-list-render.js +11 -18
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +5 -3
- package/dist/components/tab-nav.js +22 -11
- package/dist/components/tab-title.js +17 -14
- package/dist/components/tab.js +9 -4
- package/dist/components/tabs.js +12 -7
- package/dist/components/tile.js +3 -2
- package/dist/components/time-picker.js +52 -22
- 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 +2473 -965
- package/dist/esm/{ExpandToggle-1f6d84ba.js → ExpandToggle-d1d9e1ba.js} +8 -6
- package/dist/esm/{Heading-8d613e81.js → Heading-383fa71b.js} +3 -3
- package/dist/esm/{array-1655bbf7.js → array-d410a39a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +41 -26
- package/dist/esm/calcite-action-bar.entry.js +22 -16
- package/dist/esm/calcite-action-group.entry.js +11 -11
- package/dist/esm/calcite-action-menu.entry.js +19 -17
- package/dist/esm/calcite-action-pad.entry.js +20 -15
- package/dist/esm/calcite-action.entry.js +19 -16
- package/dist/esm/calcite-alert.entry.js +60 -33
- package/dist/esm/calcite-avatar.entry.js +11 -6
- package/dist/esm/calcite-block_2.entry.js +29 -15
- package/dist/esm/calcite-button.entry.js +15 -12
- package/dist/esm/calcite-card.entry.js +23 -14
- package/dist/esm/calcite-checkbox.entry.js +10 -9
- package/dist/esm/calcite-chip.entry.js +13 -8
- package/dist/esm/calcite-color-picker_3.entry.js +101 -51
- package/dist/esm/calcite-combobox_3.entry.js +101 -45
- package/dist/esm/calcite-date-picker_4.entry.js +108 -29
- package/dist/esm/calcite-dropdown_3.entry.js +109 -46
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow.entry.js +11 -10
- package/dist/esm/calcite-graph_2.entry.js +57 -12
- package/dist/esm/calcite-handle.entry.js +8 -7
- package/dist/esm/calcite-icon.entry.js +9 -5
- package/dist/esm/calcite-inline-editable.entry.js +19 -13
- package/dist/esm/calcite-input-date-picker.entry.js +62 -31
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +527 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +83 -37
- package/dist/esm/calcite-input.entry.js +78 -44
- package/dist/esm/calcite-label.entry.js +13 -8
- package/dist/esm/calcite-link.entry.js +8 -7
- package/dist/esm/calcite-list_3.entry.js +13 -13
- package/dist/esm/calcite-loader.entry.js +12 -10
- package/dist/esm/calcite-modal.entry.js +46 -28
- package/dist/esm/calcite-notice.entry.js +16 -14
- package/dist/esm/calcite-option_3.entry.js +16 -16
- package/dist/esm/calcite-pagination.entry.js +97 -12
- package/dist/esm/calcite-panel.entry.js +29 -21
- package/dist/esm/calcite-pick-list_3.entry.js +46 -37
- package/dist/esm/calcite-popover_2.entry.js +67 -32
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +12 -9
- package/dist/esm/calcite-radio-group_2.entry.js +15 -12
- package/dist/esm/calcite-rating.entry.js +33 -15
- package/dist/esm/calcite-scrim.entry.js +5 -3
- package/dist/esm/calcite-shell_3.entry.js +9 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +9 -6
- package/dist/esm/calcite-stepper_2.entry.js +82 -35
- package/dist/esm/calcite-switch.entry.js +11 -9
- package/dist/esm/calcite-tab_4.entry.js +59 -35
- package/dist/esm/calcite-tile-select_2.entry.js +8 -7
- package/dist/esm/calcite-tile.entry.js +9 -8
- package/dist/esm/calcite-tip_3.entry.js +9 -9
- package/dist/esm/calcite-tooltip_2.entry.js +34 -16
- package/dist/esm/calcite-tree_2.entry.js +33 -22
- package/dist/esm/calcite-value-list_2.entry.js +114 -41
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-203be745.js → conditionalSlot-ed64bd11.js} +7 -3
- package/dist/esm/{debounce-c4df98cc.js → debounce-8d38ec02.js} +1 -1
- package/dist/esm/{dom-da697a3f.js → dom-56e9893d.js} +10 -28
- package/dist/esm/{forIn-9b83dde4.js → forIn-ef92de72.js} +2 -2
- package/dist/esm/{form-bca481e1.js → form-47a9f6d7.js} +24 -5
- package/dist/esm/{guid-b4461004.js → guid-aa647a83.js} +1 -1
- package/dist/esm/{index-8ece2564.js → index-b91be572.js} +7 -16
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-cb5bf285.js → interactive-44c800e7.js} +7 -4
- package/dist/esm/{interfaces-f57a0946.js → interfaces-b0afabf7.js} +1 -1
- package/dist/esm/key-fc19c8e8.js +11 -0
- package/dist/esm/{label-50132b90.js → label-e9cd6c74.js} +9 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-178bfaed.js +254 -0
- package/dist/esm/{math-2e4483eb.js → math-c93b8397.js} +1 -1
- package/dist/esm/{observers-b198f831.js → observers-5d3efdea.js} +1 -1
- package/dist/esm/{popper-0fd1fd89.js → popper-e4716ebb.js} +2 -2
- package/dist/esm/{resources-f170fbe8.js → resources-0f20a53d.js} +44 -3
- package/dist/esm/{resources-3c30f589.js → resources-3cebaf37.js} +1 -1
- package/dist/esm/{resources-c4ee68b9.js → resources-5182df75.js} +15 -22
- package/dist/esm/{resources-e8f918f0.js → resources-fca4a472.js} +1 -1
- package/dist/esm/{sortable.esm-34b12dd8.js → sortable.esm-79d8d5b2.js} +1 -1
- package/dist/esm/{utils-040a2a22.js → utils-24933089.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-1f6d84ba.js → ExpandToggle-d1d9e1ba.js} +2 -2
- package/dist/esm-es5/Heading-383fa71b.js +6 -0
- package/dist/esm-es5/{array-1655bbf7.js → array-d410a39a.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 +3 -3
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +3 -3
- package/dist/esm-es5/calcite-color-picker_3.entry.js +3 -3
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- package/dist/esm-es5/calcite-date-picker_4.entry.js +3 -3
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-input.entry.js +3 -3
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-203be745.js → conditionalSlot-ed64bd11.js} +2 -2
- package/dist/esm-es5/{debounce-c4df98cc.js → debounce-8d38ec02.js} +1 -1
- package/dist/esm-es5/dom-56e9893d.js +6 -0
- package/dist/esm-es5/{forIn-9b83dde4.js → forIn-ef92de72.js} +2 -2
- package/dist/esm-es5/form-47a9f6d7.js +6 -0
- package/dist/esm-es5/{guid-b4461004.js → guid-aa647a83.js} +1 -1
- package/dist/esm-es5/index-b91be572.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-cb5bf285.js → interactive-44c800e7.js} +1 -1
- package/dist/esm-es5/{interfaces-f57a0946.js → interfaces-b0afabf7.js} +1 -1
- package/dist/esm-es5/key-fc19c8e8.js +6 -0
- package/dist/esm-es5/{label-50132b90.js → label-e9cd6c74.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-178bfaed.js +6 -0
- package/dist/esm-es5/{math-2e4483eb.js → math-c93b8397.js} +1 -1
- package/dist/esm-es5/{observers-b198f831.js → observers-5d3efdea.js} +1 -1
- package/dist/esm-es5/{popper-0fd1fd89.js → popper-e4716ebb.js} +2 -2
- package/dist/esm-es5/{resources-f170fbe8.js → resources-0f20a53d.js} +2 -2
- package/dist/esm-es5/{resources-3c30f589.js → resources-3cebaf37.js} +1 -1
- package/dist/esm-es5/resources-5182df75.js +6 -0
- package/dist/esm-es5/{resources-e8f918f0.js → resources-fca4a472.js} +1 -1
- package/dist/esm-es5/{sortable.esm-34b12dd8.js → sortable.esm-79d8d5b2.js} +1 -1
- package/dist/esm-es5/{utils-040a2a22.js → utils-24933089.js} +1 -1
- package/dist/extras/docs-json.d.ts +3 -0
- package/dist/extras/docs-json.json +1941 -478
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +11 -9
- package/dist/types/components/accordion-item/accordion-item.d.ts +26 -8
- package/dist/types/components/action/action.d.ts +16 -15
- package/dist/types/components/action-bar/action-bar.d.ts +14 -9
- package/dist/types/components/action-group/action-group.d.ts +7 -7
- package/dist/types/components/action-menu/action-menu.d.ts +8 -7
- package/dist/types/components/action-pad/action-pad.d.ts +15 -11
- package/dist/types/components/alert/alert.d.ts +45 -24
- package/dist/types/components/alert/resources.d.ts +3 -0
- package/dist/types/components/avatar/avatar.d.ts +5 -5
- package/dist/types/components/avatar/utils.d.ts +5 -0
- package/dist/types/components/block/block.d.ts +16 -2
- package/dist/types/components/block/resources.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +4 -2
- package/dist/types/components/card/card.d.ts +13 -4
- package/dist/types/components/card/resources.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +4 -1
- package/dist/types/components/chip/chip.d.ts +5 -1
- package/dist/types/components/color-picker/color-picker.d.ts +65 -23
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +5 -1
- package/dist/types/components/combobox/combobox.d.ts +36 -16
- package/dist/types/components/combobox/resources.d.ts +1 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +11 -1
- package/dist/types/components/date-picker/date-picker.d.ts +32 -3
- package/dist/types/components/date-picker/utils.d.ts +6 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +9 -0
- package/dist/types/components/date-picker-month-header/resources.d.ts +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +30 -11
- package/dist/types/components/dropdown/resources.d.ts +3 -0
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/fab/fab.d.ts +1 -0
- package/dist/types/components/flow/flow.d.ts +1 -1
- package/dist/types/components/graph/util.d.ts +14 -0
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/icon/utils.d.ts +4 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +10 -4
- package/dist/types/components/input/input.d.ts +102 -43
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +32 -7
- package/dist/types/components/input-date-picker/resources.d.ts +4 -0
- package/dist/types/components/input-message/input-message.d.ts +7 -3
- 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/input-time-picker/input-time-picker.d.ts +11 -3
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components/label/label.d.ts +7 -2
- package/dist/types/components/link/link.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +3 -2
- package/dist/types/components/list-item/list-item.d.ts +9 -9
- package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +11 -9
- package/dist/types/components/modal/modal.d.ts +44 -29
- package/dist/types/components/notice/notice.d.ts +20 -18
- package/dist/types/components/option/option.d.ts +5 -5
- package/dist/types/components/option-group/option-group.d.ts +3 -3
- package/dist/types/components/pagination/pagination.d.ts +22 -12
- package/dist/types/components/panel/panel.d.ts +34 -22
- package/dist/types/components/panel/resources.d.ts +1 -0
- package/dist/types/components/pick-list/pick-list.d.ts +19 -15
- package/dist/types/components/pick-list/shared-list-logic.d.ts +2 -1
- package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +2 -2
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +25 -19
- package/dist/types/components/popover/PopoverManager.d.ts +5 -2
- package/dist/types/components/popover/popover.d.ts +40 -23
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -0
- package/dist/types/components/progress/progress.d.ts +5 -5
- package/dist/types/components/radio-button/radio-button.d.ts +7 -0
- package/dist/types/components/radio-group/radio-group.d.ts +3 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
- package/dist/types/components/rating/rating.d.ts +8 -2
- package/dist/types/components/scrim/scrim.d.ts +3 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +2 -0
- package/dist/types/components/slider/slider.d.ts +19 -0
- package/dist/types/components/split-button/split-button.d.ts +5 -2
- package/dist/types/components/stepper/stepper.d.ts +16 -5
- package/dist/types/components/stepper-item/stepper-item.d.ts +25 -7
- package/dist/types/components/switch/switch.d.ts +3 -1
- package/dist/types/components/tab/tab.d.ts +6 -2
- package/dist/types/components/tab-nav/tab-nav.d.ts +15 -4
- package/dist/types/components/tab-title/tab-title.d.ts +20 -8
- package/dist/types/components/tabs/interfaces.d.ts +1 -1
- package/dist/types/components/tabs/tabs.d.ts +8 -3
- package/dist/types/components/tile/tile.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +45 -16
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
- package/dist/types/components/tooltip/TooltipManager.d.ts +3 -2
- package/dist/types/components/tooltip/tooltip.d.ts +15 -11
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +14 -7
- package/dist/types/components/tree-item/tree-item.d.ts +29 -15
- package/dist/types/components/value-list/interfaces.d.ts +1 -0
- package/dist/types/components/value-list/utils.d.ts +8 -0
- package/dist/types/components/value-list/value-list.d.ts +47 -13
- package/dist/types/components/value-list-item/value-list-item.d.ts +16 -13
- package/dist/types/components.d.ts +1421 -576
- package/dist/types/preact.d.ts +73 -58
- package/dist/types/utils/conditionalSlot.d.ts +4 -0
- package/dist/types/utils/date.d.ts +35 -0
- package/dist/types/utils/dom.d.ts +6 -6
- package/dist/types/utils/form.d.ts +15 -3
- package/dist/types/utils/globalAttributes.d.ts +5 -0
- package/dist/types/utils/interactive.d.ts +7 -4
- package/dist/types/utils/label.d.ts +7 -0
- package/dist/types/utils/locale.d.ts +2 -1
- package/dist/types/utils/number.d.ts +16 -0
- package/dist/types/utils/openCloseComponent.d.ts +26 -0
- package/dist/types/utils/popper.d.ts +3 -2
- package/hydrate/index.js +2612 -1030
- package/package.json +42 -40
- package/readme.md +10 -2
- package/dist/calcite/p-01386e9f.entry.js +0 -6
- package/dist/calcite/p-01dc5605.entry.js +0 -6
- package/dist/calcite/p-0349dbb1.system.js +0 -6
- package/dist/calcite/p-03f1df01.entry.js +0 -6
- package/dist/calcite/p-06320e6a.entry.js +0 -6
- package/dist/calcite/p-06d14664.system.entry.js +0 -6
- package/dist/calcite/p-0985e4df.system.entry.js +0 -6
- package/dist/calcite/p-09c7a130.system.entry.js +0 -6
- package/dist/calcite/p-0c41044b.entry.js +0 -6
- package/dist/calcite/p-11d0e13f.system.entry.js +0 -6
- package/dist/calcite/p-20f86b1d.entry.js +0 -6
- package/dist/calcite/p-21dbd253.system.js +0 -6
- package/dist/calcite/p-23ab0d5a.system.entry.js +0 -6
- package/dist/calcite/p-27de1d41.entry.js +0 -6
- package/dist/calcite/p-2e9f9de6.system.entry.js +0 -6
- package/dist/calcite/p-2f977a66.system.entry.js +0 -6
- package/dist/calcite/p-33d317d6.entry.js +0 -6
- package/dist/calcite/p-358263ac.system.js +0 -6
- package/dist/calcite/p-3b01dd13.system.entry.js +0 -6
- package/dist/calcite/p-3c78a381.entry.js +0 -6
- package/dist/calcite/p-3de000e5.system.js +0 -6
- package/dist/calcite/p-3e21c354.entry.js +0 -6
- package/dist/calcite/p-3e92df28.entry.js +0 -6
- package/dist/calcite/p-43d72920.system.js +0 -6
- package/dist/calcite/p-44061788.entry.js +0 -6
- package/dist/calcite/p-446cb0a3.system.entry.js +0 -6
- package/dist/calcite/p-4a6fda6a.system.entry.js +0 -6
- package/dist/calcite/p-508a7e13.system.entry.js +0 -6
- package/dist/calcite/p-5234dd2e.system.entry.js +0 -6
- package/dist/calcite/p-55057483.system.js +0 -6
- package/dist/calcite/p-56096486.system.entry.js +0 -6
- package/dist/calcite/p-5adf6e11.entry.js +0 -6
- package/dist/calcite/p-62e44703.entry.js +0 -6
- package/dist/calcite/p-64f15878.system.entry.js +0 -6
- package/dist/calcite/p-6592ebdb.system.entry.js +0 -6
- package/dist/calcite/p-66a7f499.system.entry.js +0 -6
- package/dist/calcite/p-676b5b1e.entry.js +0 -6
- package/dist/calcite/p-6945f08a.system.entry.js +0 -6
- package/dist/calcite/p-697ea587.system.entry.js +0 -6
- package/dist/calcite/p-6a27e2d9.entry.js +0 -6
- package/dist/calcite/p-6bf2e610.entry.js +0 -6
- package/dist/calcite/p-6d1d2449.entry.js +0 -6
- package/dist/calcite/p-6e8677ae.entry.js +0 -6
- package/dist/calcite/p-7266932c.js +0 -6
- package/dist/calcite/p-73784058.js +0 -6
- package/dist/calcite/p-751b387d.system.entry.js +0 -6
- package/dist/calcite/p-76e2d427.system.js +0 -6
- package/dist/calcite/p-7dcdfeac.entry.js +0 -6
- package/dist/calcite/p-80d62897.entry.js +0 -6
- package/dist/calcite/p-8319da8e.entry.js +0 -6
- package/dist/calcite/p-83cc50f2.system.entry.js +0 -6
- package/dist/calcite/p-84cd0598.system.entry.js +0 -6
- package/dist/calcite/p-8505461f.entry.js +0 -6
- package/dist/calcite/p-86904d57.entry.js +0 -6
- package/dist/calcite/p-87698ac7.system.entry.js +0 -6
- package/dist/calcite/p-87aae2e3.system.entry.js +0 -6
- package/dist/calcite/p-8a87f2b7.system.entry.js +0 -6
- package/dist/calcite/p-8e0a0d74.system.entry.js +0 -6
- package/dist/calcite/p-9141d57e.entry.js +0 -6
- package/dist/calcite/p-954973e6.system.entry.js +0 -6
- package/dist/calcite/p-9802e5ca.entry.js +0 -6
- package/dist/calcite/p-9d9629d5.system.entry.js +0 -6
- package/dist/calcite/p-9f50e2fe.system.entry.js +0 -6
- package/dist/calcite/p-a0f7fe5b.system.js +0 -6
- package/dist/calcite/p-a1076e59.system.js +0 -6
- package/dist/calcite/p-a4729c51.system.js +0 -6
- package/dist/calcite/p-aadce719.entry.js +0 -6
- package/dist/calcite/p-aea7886a.system.entry.js +0 -6
- package/dist/calcite/p-aeaaccdf.entry.js +0 -6
- package/dist/calcite/p-b571cc54.system.entry.js +0 -6
- package/dist/calcite/p-b8132e75.system.entry.js +0 -6
- package/dist/calcite/p-c665108b.entry.js +0 -6
- package/dist/calcite/p-c8919467.entry.js +0 -6
- package/dist/calcite/p-c9235ef4.entry.js +0 -6
- package/dist/calcite/p-c9f57b84.system.entry.js +0 -6
- package/dist/calcite/p-cc1b5a8a.entry.js +0 -6
- package/dist/calcite/p-cc425495.entry.js +0 -6
- package/dist/calcite/p-cfbb3f0f.system.entry.js +0 -6
- package/dist/calcite/p-d2e3fa31.system.entry.js +0 -6
- package/dist/calcite/p-d38ffb30.js +0 -6
- package/dist/calcite/p-d40e595b.system.js +0 -6
- package/dist/calcite/p-d484cd1b.system.entry.js +0 -6
- package/dist/calcite/p-d76afd8f.entry.js +0 -6
- package/dist/calcite/p-da7761d3.js +0 -6
- package/dist/calcite/p-dc1d1b83.entry.js +0 -6
- package/dist/calcite/p-e086d5bc.entry.js +0 -6
- package/dist/calcite/p-e2bc1677.entry.js +0 -6
- package/dist/calcite/p-e45b2203.entry.js +0 -6
- package/dist/calcite/p-e575643a.js +0 -6
- package/dist/calcite/p-e68bfc88.system.entry.js +0 -6
- package/dist/calcite/p-e9357dcc.system.entry.js +0 -6
- package/dist/calcite/p-e95c755c.entry.js +0 -6
- package/dist/calcite/p-e9acab15.entry.js +0 -6
- package/dist/calcite/p-ed7aab50.system.entry.js +0 -6
- package/dist/calcite/p-edc5bf01.js +0 -6
- package/dist/calcite/p-ee5494db.system.entry.js +0 -6
- package/dist/calcite/p-f383e414.js +0 -6
- package/dist/calcite/p-f74193a3.js +0 -6
- package/dist/calcite/p-faeb976d.system.entry.js +0 -6
- package/dist/calcite/p-fcac8f9c.system.entry.js +0 -6
- package/dist/calcite/p-fe972352.js +0 -6
- package/dist/cjs/locale-f2ebe4fa.js +0 -129
- package/dist/cjs/number-364babbc.js +0 -85
- package/dist/components/number.js +0 -77
- package/dist/esm/locale-7ce850e5.js +0 -124
- package/dist/esm/number-237e74a9.js +0 -77
- package/dist/esm-es5/Heading-8d613e81.js +0 -6
- package/dist/esm-es5/dom-da697a3f.js +0 -6
- package/dist/esm-es5/form-bca481e1.js +0 -6
- package/dist/esm-es5/index-8ece2564.js +0 -6
- package/dist/esm-es5/locale-7ce850e5.js +0 -6
- package/dist/esm-es5/number-237e74a9.js +0 -6
- package/dist/esm-es5/resources-c4ee68b9.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
|
|
@@ -130,8 +130,8 @@ const filter = (data, value) => {
|
|
|
130
130
|
The data argument should be an array of objects`);
|
|
131
131
|
}
|
|
132
132
|
const find = (input, RE) => {
|
|
133
|
-
var _a;
|
|
134
|
-
if ((_a = input) === null || _a === void 0 ? void 0 : _a.constant) {
|
|
133
|
+
var _a, _b;
|
|
134
|
+
if (((_a = input) === null || _a === void 0 ? void 0 : _a.constant) || ((_b = input) === null || _b === void 0 ? void 0 : _b.filterDisabled)) {
|
|
135
135
|
return true;
|
|
136
136
|
}
|
|
137
137
|
let found = false;
|
|
@@ -156,7 +156,7 @@ const filter = (data, value) => {
|
|
|
156
156
|
return result;
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
const comboboxCss = "@-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{position:relative;display:block}: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([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-
|
|
159
|
+
const comboboxCss = "@-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{position:relative;display:block}: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([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::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}";
|
|
160
160
|
|
|
161
161
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
|
162
162
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -173,15 +173,23 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
173
173
|
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 7);
|
|
174
174
|
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 7);
|
|
175
175
|
this.calciteComboboxChipDismiss = createEvent(this, "calciteComboboxChipDismiss", 7);
|
|
176
|
-
this.
|
|
176
|
+
this.calciteComboboxBeforeClose = createEvent(this, "calciteComboboxBeforeClose", 7);
|
|
177
177
|
this.calciteComboboxClose = createEvent(this, "calciteComboboxClose", 7);
|
|
178
|
+
this.calciteComboboxBeforeOpen = createEvent(this, "calciteComboboxBeforeOpen", 7);
|
|
179
|
+
this.calciteComboboxOpen = createEvent(this, "calciteComboboxOpen", 7);
|
|
178
180
|
//--------------------------------------------------------------------------
|
|
179
181
|
//
|
|
180
182
|
// Public Properties
|
|
181
183
|
//
|
|
182
184
|
//--------------------------------------------------------------------------
|
|
183
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* When true, opens the combobox
|
|
187
|
+
*
|
|
188
|
+
* @deprecated use open instead
|
|
189
|
+
*/
|
|
184
190
|
this.active = false;
|
|
191
|
+
/**When true, opens the combobox */
|
|
192
|
+
this.open = false;
|
|
185
193
|
/** Disable combobox input */
|
|
186
194
|
this.disabled = false;
|
|
187
195
|
/** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
|
|
@@ -194,7 +202,8 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
194
202
|
* @internal
|
|
195
203
|
*/
|
|
196
204
|
this.required = false;
|
|
197
|
-
/**
|
|
205
|
+
/**
|
|
206
|
+
* specify the selection mode
|
|
198
207
|
* - multi: allow any number of selected items (default)
|
|
199
208
|
* - single: only one selection)
|
|
200
209
|
* - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips
|
|
@@ -204,7 +213,9 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
204
213
|
this.scale = "m";
|
|
205
214
|
/** The value(s) of the selectedItem(s) */
|
|
206
215
|
this.value = null;
|
|
207
|
-
/**
|
|
216
|
+
/**
|
|
217
|
+
* string to override the English "Remove tag" text for when an item is selected.
|
|
218
|
+
*
|
|
208
219
|
* @default "Remove tag"
|
|
209
220
|
*/
|
|
210
221
|
this.intlRemoveTag = TEXT.removeTag;
|
|
@@ -252,8 +263,9 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
252
263
|
this.addCustomChip(this.text, true);
|
|
253
264
|
event.preventDefault();
|
|
254
265
|
}
|
|
255
|
-
else if (this.active) {
|
|
266
|
+
else if (this.open || this.active) {
|
|
256
267
|
this.active = false;
|
|
268
|
+
this.open = false;
|
|
257
269
|
event.preventDefault();
|
|
258
270
|
}
|
|
259
271
|
break;
|
|
@@ -270,9 +282,10 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
270
282
|
}
|
|
271
283
|
break;
|
|
272
284
|
case "ArrowDown":
|
|
273
|
-
if (!this.active) {
|
|
285
|
+
if (!(this.open || this.active)) {
|
|
274
286
|
event.preventDefault();
|
|
275
287
|
this.active = true;
|
|
288
|
+
this.open = true;
|
|
276
289
|
}
|
|
277
290
|
this.shiftActiveItemIndex(1);
|
|
278
291
|
if (!this.comboboxInViewport()) {
|
|
@@ -283,11 +296,12 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
283
296
|
if (!this.textInput.value) {
|
|
284
297
|
event.preventDefault();
|
|
285
298
|
this.active = true;
|
|
299
|
+
this.open = true;
|
|
286
300
|
this.shiftActiveItemIndex(1);
|
|
287
301
|
}
|
|
288
302
|
break;
|
|
289
303
|
case "Home":
|
|
290
|
-
if (this.active) {
|
|
304
|
+
if (this.open || this.active) {
|
|
291
305
|
event.preventDefault();
|
|
292
306
|
}
|
|
293
307
|
this.updateActiveItemIndex(0);
|
|
@@ -297,7 +311,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
297
311
|
}
|
|
298
312
|
break;
|
|
299
313
|
case "End":
|
|
300
|
-
if (this.active) {
|
|
314
|
+
if (this.open || this.active) {
|
|
301
315
|
event.preventDefault();
|
|
302
316
|
}
|
|
303
317
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
@@ -308,6 +322,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
308
322
|
break;
|
|
309
323
|
case "Escape":
|
|
310
324
|
this.active = false;
|
|
325
|
+
this.open = false;
|
|
311
326
|
break;
|
|
312
327
|
case "Enter":
|
|
313
328
|
if (this.activeItemIndex > -1) {
|
|
@@ -336,29 +351,42 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
336
351
|
};
|
|
337
352
|
this.toggleCloseEnd = () => {
|
|
338
353
|
this.active = false;
|
|
354
|
+
this.open = false;
|
|
339
355
|
this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
|
340
356
|
};
|
|
341
357
|
this.toggleOpenEnd = () => {
|
|
342
358
|
this.active = true;
|
|
359
|
+
this.open = false;
|
|
343
360
|
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
|
344
361
|
};
|
|
345
362
|
this.transitionEnd = (event) => {
|
|
346
363
|
if (event.propertyName === this.activeTransitionProp) {
|
|
347
|
-
this.active ? this.
|
|
364
|
+
this.open || this.active ? this.onOpen() : this.onClose();
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
/* *
|
|
368
|
+
- `transitionrun` fires when the transition is created at the start of any delay and is not cancellable once started.
|
|
369
|
+
- if there is no transition delay, both `transitionrun` and `transitionstart` are fired at the same time.
|
|
370
|
+
*/
|
|
371
|
+
this.transitionRunHandler = (event) => {
|
|
372
|
+
if (event.propertyName === this.activeTransitionProp) {
|
|
373
|
+
this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
348
374
|
}
|
|
349
375
|
};
|
|
350
|
-
this.setMaxScrollerHeight = () => {
|
|
351
|
-
const { active, listContainerEl } = this;
|
|
352
|
-
|
|
376
|
+
this.setMaxScrollerHeight = async () => {
|
|
377
|
+
const { active, listContainerEl, open } = this;
|
|
378
|
+
const isOpen = !(active || open);
|
|
379
|
+
if (!listContainerEl || isOpen) {
|
|
353
380
|
return;
|
|
354
381
|
}
|
|
355
|
-
this.reposition();
|
|
382
|
+
await this.reposition();
|
|
356
383
|
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
357
384
|
listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
358
|
-
this.reposition();
|
|
385
|
+
await this.reposition();
|
|
359
386
|
};
|
|
360
387
|
this.calciteChipDismissHandler = (event, comboboxItem) => {
|
|
361
388
|
this.active = false;
|
|
389
|
+
this.open = false;
|
|
362
390
|
const selection = this.items.find((item) => item === comboboxItem);
|
|
363
391
|
if (selection) {
|
|
364
392
|
this.toggleSelection(selection, false);
|
|
@@ -370,12 +398,14 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
370
398
|
return;
|
|
371
399
|
}
|
|
372
400
|
this.active = !this.active;
|
|
401
|
+
this.open = !this.open;
|
|
373
402
|
this.updateActiveItemIndex(0);
|
|
374
403
|
this.setFocus();
|
|
375
404
|
};
|
|
376
405
|
this.setInactiveIfNotContained = (event) => {
|
|
377
406
|
const composedPath = event.composedPath();
|
|
378
|
-
|
|
407
|
+
const isOpen = !(this.open || this.active);
|
|
408
|
+
if (isOpen || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
379
409
|
return;
|
|
380
410
|
}
|
|
381
411
|
if (this.allowCustomValues && this.text.trim().length) {
|
|
@@ -390,6 +420,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
390
420
|
this.updateActiveItemIndex(-1);
|
|
391
421
|
}
|
|
392
422
|
this.active = false;
|
|
423
|
+
this.open = false;
|
|
393
424
|
};
|
|
394
425
|
this.setMenuEl = (el) => {
|
|
395
426
|
this.menuEl = el;
|
|
@@ -397,6 +428,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
397
428
|
this.setListContainerEl = (el) => {
|
|
398
429
|
this.resizeObserver.observe(el);
|
|
399
430
|
this.listContainerEl = el;
|
|
431
|
+
this.listContainerEl.addEventListener("transitionrun", this.transitionRunHandler);
|
|
400
432
|
};
|
|
401
433
|
this.setReferenceEl = (el) => {
|
|
402
434
|
this.referenceEl = el;
|
|
@@ -480,13 +512,15 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
480
512
|
activeHandler() {
|
|
481
513
|
if (this.disabled) {
|
|
482
514
|
this.active = false;
|
|
515
|
+
this.open = false;
|
|
483
516
|
return;
|
|
484
517
|
}
|
|
485
|
-
this.
|
|
518
|
+
this.setMaxScrollerHeight();
|
|
486
519
|
}
|
|
487
520
|
handleDisabledChange(value) {
|
|
488
521
|
if (!value) {
|
|
489
522
|
this.active = false;
|
|
523
|
+
this.open = false;
|
|
490
524
|
}
|
|
491
525
|
}
|
|
492
526
|
maxItemsHandler() {
|
|
@@ -588,6 +622,9 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
588
622
|
this.destroyPopper();
|
|
589
623
|
disconnectLabel(this);
|
|
590
624
|
disconnectForm(this);
|
|
625
|
+
if (this.listContainerEl) {
|
|
626
|
+
this.listContainerEl.removeEventListener("transitionrun", this.transitionRunHandler);
|
|
627
|
+
}
|
|
591
628
|
}
|
|
592
629
|
selectedItemsHandler() {
|
|
593
630
|
this.internalValueChangeFlag = true;
|
|
@@ -605,6 +642,18 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
605
642
|
bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
|
|
606
643
|
bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
|
|
607
644
|
}
|
|
645
|
+
onBeforeOpen() {
|
|
646
|
+
this.calciteComboboxBeforeOpen.emit();
|
|
647
|
+
}
|
|
648
|
+
onOpen() {
|
|
649
|
+
this.calciteComboboxOpen.emit();
|
|
650
|
+
}
|
|
651
|
+
onBeforeClose() {
|
|
652
|
+
this.calciteComboboxBeforeClose.emit();
|
|
653
|
+
}
|
|
654
|
+
onClose() {
|
|
655
|
+
this.calciteComboboxClose.emit();
|
|
656
|
+
}
|
|
608
657
|
getModifiers() {
|
|
609
658
|
const flipModifier = {
|
|
610
659
|
name: "flip",
|
|
@@ -615,7 +664,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
615
664
|
};
|
|
616
665
|
const eventListenerModifier = {
|
|
617
666
|
name: "eventListeners",
|
|
618
|
-
enabled: this.active
|
|
667
|
+
enabled: this.open || this.active
|
|
619
668
|
};
|
|
620
669
|
return [flipModifier, eventListenerModifier];
|
|
621
670
|
}
|
|
@@ -693,6 +742,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
693
742
|
this.textInput.value = item.textLabel;
|
|
694
743
|
}
|
|
695
744
|
this.active = false;
|
|
745
|
+
this.open = false;
|
|
696
746
|
this.updateActiveItemIndex(-1);
|
|
697
747
|
this.resetText();
|
|
698
748
|
this.filterItems("");
|
|
@@ -741,6 +791,7 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
741
791
|
getData() {
|
|
742
792
|
return this.items.map((item) => ({
|
|
743
793
|
constant: item.constant,
|
|
794
|
+
filterDisabled: item.filterDisabled,
|
|
744
795
|
value: item.value,
|
|
745
796
|
label: item.textLabel
|
|
746
797
|
}));
|
|
@@ -874,10 +925,10 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
874
925
|
});
|
|
875
926
|
}
|
|
876
927
|
renderInput() {
|
|
877
|
-
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
|
|
928
|
+
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems, open } = this;
|
|
878
929
|
const single = selectionMode === "single";
|
|
879
930
|
const selectedItem = selectedItems[0];
|
|
880
|
-
const showLabel = !active && single && !!selectedItem;
|
|
931
|
+
const showLabel = !(open || active) && single && !!selectedItem;
|
|
881
932
|
return (h("span", { class: {
|
|
882
933
|
"input-wrap": true,
|
|
883
934
|
"input-wrap--single": single
|
|
@@ -896,36 +947,39 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
896
947
|
return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
897
948
|
}
|
|
898
949
|
renderPopperContainer() {
|
|
899
|
-
const { active, setMenuEl, setListContainerEl } = this;
|
|
950
|
+
const { active, setMenuEl, setListContainerEl, open } = this;
|
|
900
951
|
const classes = {
|
|
901
952
|
"list-container": true,
|
|
902
953
|
[CSS.animation]: true,
|
|
903
|
-
[CSS.animationActive]: active
|
|
954
|
+
[CSS.animationActive]: open || active
|
|
904
955
|
};
|
|
905
|
-
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !active } }, h("slot", null)))));
|
|
956
|
+
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open || active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !(open || active) } }, h("slot", null)))));
|
|
906
957
|
}
|
|
907
958
|
renderIconStart() {
|
|
908
|
-
|
|
959
|
+
var _a;
|
|
960
|
+
const { selectionMode, needsIcon, selectedItems, placeholderIcon } = this;
|
|
909
961
|
const selectedItem = selectedItems[0];
|
|
910
962
|
return (selectionMode === "single" &&
|
|
911
|
-
needsIcon &&
|
|
963
|
+
needsIcon &&
|
|
964
|
+
((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) || placeholderIcon) && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", icon: (_a = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) !== null && _a !== void 0 ? _a : placeholderIcon, scale: "s" }))));
|
|
912
965
|
}
|
|
913
966
|
renderIconEnd() {
|
|
914
|
-
const { active } = this;
|
|
915
|
-
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
967
|
+
const { active, open } = this;
|
|
968
|
+
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active || open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
916
969
|
}
|
|
917
970
|
render() {
|
|
918
|
-
const { active, guid, label } = this;
|
|
971
|
+
const { active, guid, label, open } = this;
|
|
919
972
|
const single = this.selectionMode === "single";
|
|
920
|
-
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
973
|
+
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(open || active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
921
974
|
wrapper: true,
|
|
922
975
|
"wrapper--single": single || !this.selectedItems.length,
|
|
923
|
-
"wrapper--active": active
|
|
976
|
+
"wrapper--active": open || active
|
|
924
977
|
}, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
|
|
925
978
|
}
|
|
926
979
|
get el() { return this; }
|
|
927
980
|
static get watchers() { return {
|
|
928
981
|
"active": ["activeHandler"],
|
|
982
|
+
"open": ["activeHandler"],
|
|
929
983
|
"disabled": ["handleDisabledChange"],
|
|
930
984
|
"maxItems": ["maxItemsHandler"],
|
|
931
985
|
"value": ["valueHandler"],
|
|
@@ -936,9 +990,11 @@ const Combobox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
936
990
|
static get style() { return comboboxCss; }
|
|
937
991
|
}, [1, "calcite-combobox", {
|
|
938
992
|
"active": [1540],
|
|
993
|
+
"open": [1540],
|
|
939
994
|
"disabled": [516],
|
|
940
995
|
"label": [1],
|
|
941
996
|
"placeholder": [1],
|
|
997
|
+
"placeholderIcon": [1, "placeholder-icon"],
|
|
942
998
|
"maxItems": [2, "max-items"],
|
|
943
999
|
"name": [513],
|
|
944
1000
|
"allowCustomValues": [4, "allow-custom-values"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { D as DatePickerDay, d as defineCustomElement$1 } from './date-picker-day.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { D as DatePickerMonthHeader, d as defineCustomElement$1 } from './date-picker-month-header.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { D as DatePickerMonth, d as defineCustomElement$1 } from './date-picker-month.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { D as DatePicker, d as defineCustomElement$1 } from './date-picker.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as getElementProp } from './dom.js';
|
|
@@ -12,16 +12,18 @@ const CSS = {
|
|
|
12
12
|
containerLarge: "container--l"
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
const dropdownGroupCss = "@-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}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-bottom:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";
|
|
15
|
+
const dropdownGroupCss = "@-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}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-bottom:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;height:1px;background-color:var(--calcite-ui-border-3)}";
|
|
16
16
|
|
|
17
17
|
const DropdownGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
18
18
|
constructor() {
|
|
19
19
|
super();
|
|
20
20
|
this.__registerHost();
|
|
21
21
|
this.__attachShadow();
|
|
22
|
-
this.
|
|
23
|
-
/**
|
|
24
|
-
|
|
22
|
+
this.calciteInternalDropdownItemChange = createEvent(this, "calciteInternalDropdownItemChange", 7);
|
|
23
|
+
/**
|
|
24
|
+
specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item),
|
|
25
|
+
none (no active items), defaults to single
|
|
26
|
+
*/
|
|
25
27
|
this.selectionMode = "single";
|
|
26
28
|
}
|
|
27
29
|
//--------------------------------------------------------------------------
|
|
@@ -51,7 +53,7 @@ const DropdownGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
51
53
|
updateActiveItemOnChange(event) {
|
|
52
54
|
this.requestedDropdownGroup = event.detail.requestedDropdownGroup;
|
|
53
55
|
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
|
54
|
-
this.
|
|
56
|
+
this.calciteInternalDropdownItemChange.emit({
|
|
55
57
|
requestedDropdownGroup: this.requestedDropdownGroup,
|
|
56
58
|
requestedDropdownItem: this.requestedDropdownItem
|
|
57
59
|
});
|
|
@@ -70,7 +72,7 @@ const DropdownGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
70
72
|
"groupTitle": [513, "group-title"],
|
|
71
73
|
"selectionMode": [513, "selection-mode"],
|
|
72
74
|
"scale": [513]
|
|
73
|
-
}, [[0, "
|
|
75
|
+
}, [[0, "calciteInternalDropdownItemSelect", "updateActiveItemOnChange"]]]);
|
|
74
76
|
function defineCustomElement$1() {
|
|
75
77
|
if (typeof customElements === "undefined") {
|
|
76
78
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as getElementProp, t as toAriaBoolean } from './dom.js';
|
|
@@ -17,16 +17,16 @@ const CSS = {
|
|
|
17
17
|
containerNone: "container--none-selection"
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const dropdownItemCss = "@-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}.container--s{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-
|
|
20
|
+
const dropdownItemCss = "@-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}.container--s{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.container--s.container--none-selection{-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--m.container--none-selection{-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}.container--l.container--none-selection{-webkit-padding-start:0.75rem;padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{-webkit-padding-start:0px;padding-inline-start:0px}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}.container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{-ms-flex:1 1 auto;flex:1 1 auto;-webkit-padding-end:auto;padding-inline-end:auto;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.container--link{padding:0px}.container--link a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-padding-end:0.75rem;padding-inline-end:0.75rem;-webkit-padding-start:2rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-padding-end:1rem;padding-inline-end:1rem;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([active]) .container:not(.container--none-selection),:host([active]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([active]) .container:not(.container--none-selection):before,:host([active]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([active]) .container:not(.container--none-selection) calcite-icon,:host([active]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(0.9);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([active]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{-webkit-margin-start:1rem;margin-inline-start:1rem}";
|
|
21
21
|
|
|
22
22
|
const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
23
23
|
constructor() {
|
|
24
24
|
super();
|
|
25
25
|
this.__registerHost();
|
|
26
26
|
this.__attachShadow();
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
27
|
+
this.calciteInternalDropdownItemSelect = createEvent(this, "calciteInternalDropdownItemSelect", 7);
|
|
28
|
+
this.calciteInternalDropdownItemKeyEvent = createEvent(this, "calciteInternalDropdownItemKeyEvent", 7);
|
|
29
|
+
this.calciteInternalDropdownCloseRequest = createEvent(this, "calciteInternalDropdownCloseRequest", 7);
|
|
30
30
|
//--------------------------------------------------------------------------
|
|
31
31
|
//
|
|
32
32
|
// Public Properties
|
|
@@ -42,7 +42,8 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
42
42
|
//--------------------------------------------------------------------------
|
|
43
43
|
/** Sets focus on the component. */
|
|
44
44
|
async setFocus() {
|
|
45
|
-
|
|
45
|
+
var _a;
|
|
46
|
+
(_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
|
|
46
47
|
}
|
|
47
48
|
//--------------------------------------------------------------------------
|
|
48
49
|
//
|
|
@@ -98,30 +99,28 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
98
99
|
keyDownHandler(e) {
|
|
99
100
|
switch (e.key) {
|
|
100
101
|
case " ":
|
|
101
|
-
this.emitRequestedItem();
|
|
102
|
-
if (this.href) {
|
|
103
|
-
e.preventDefault();
|
|
104
|
-
this.childLink.click();
|
|
105
|
-
}
|
|
106
|
-
break;
|
|
107
102
|
case "Enter":
|
|
108
103
|
this.emitRequestedItem();
|
|
109
104
|
if (this.href) {
|
|
110
105
|
this.childLink.click();
|
|
111
106
|
}
|
|
107
|
+
e.preventDefault();
|
|
112
108
|
break;
|
|
113
109
|
case "Escape":
|
|
114
|
-
this.
|
|
110
|
+
this.calciteInternalDropdownCloseRequest.emit();
|
|
111
|
+
e.preventDefault();
|
|
115
112
|
break;
|
|
116
113
|
case "Tab":
|
|
114
|
+
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: e });
|
|
115
|
+
break;
|
|
117
116
|
case "ArrowUp":
|
|
118
117
|
case "ArrowDown":
|
|
119
118
|
case "Home":
|
|
120
119
|
case "End":
|
|
121
|
-
|
|
120
|
+
e.preventDefault();
|
|
121
|
+
this.calciteInternalDropdownItemKeyEvent.emit({ keyboardEvent: e });
|
|
122
122
|
break;
|
|
123
123
|
}
|
|
124
|
-
e.preventDefault();
|
|
125
124
|
}
|
|
126
125
|
updateActiveItemOnChange(event) {
|
|
127
126
|
const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);
|
|
@@ -130,6 +129,7 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
130
129
|
this.requestedDropdownItem = event.detail.requestedDropdownItem;
|
|
131
130
|
this.determineActiveItem();
|
|
132
131
|
}
|
|
132
|
+
event.stopPropagation();
|
|
133
133
|
}
|
|
134
134
|
//--------------------------------------------------------------------------
|
|
135
135
|
//
|
|
@@ -164,7 +164,7 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
emitRequestedItem() {
|
|
167
|
-
this.
|
|
167
|
+
this.calciteInternalDropdownItemSelect.emit({
|
|
168
168
|
requestedDropdownItem: this.el,
|
|
169
169
|
requestedDropdownGroup: this.parentDropdownGroupEl
|
|
170
170
|
});
|
|
@@ -181,7 +181,7 @@ const DropdownItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
181
181
|
"rel": [1],
|
|
182
182
|
"target": [1],
|
|
183
183
|
"setFocus": [64]
|
|
184
|
-
}, [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"], [16, "
|
|
184
|
+
}, [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"], [16, "calciteInternalDropdownItemChange", "updateActiveItemOnChange"]]]);
|
|
185
185
|
function defineCustomElement$1() {
|
|
186
186
|
if (typeof customElements === "undefined") {
|
|
187
187
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { D as Dropdown, d as defineCustomElement$1 } from './dropdown.js';
|
|
7
7
|
|