@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 { g as guid } from './guid.js';
|
|
@@ -33,8 +33,15 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
33
33
|
this.active = false;
|
|
34
34
|
/** The disabled state of the time input */
|
|
35
35
|
this.disabled = false;
|
|
36
|
+
/**
|
|
37
|
+
* When true, still focusable but controls are gone and the value cannot be modified.
|
|
38
|
+
*
|
|
39
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
40
|
+
*/
|
|
41
|
+
this.readOnly = false;
|
|
36
42
|
/**
|
|
37
43
|
* BCP 47 language tag for desired language and country format
|
|
44
|
+
*
|
|
38
45
|
* @internal
|
|
39
46
|
*/
|
|
40
47
|
this.locale = document.documentElement.lang || navigator.language || "en";
|
|
@@ -48,6 +55,7 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
48
55
|
this.scale = "m";
|
|
49
56
|
/**
|
|
50
57
|
* Determines where the popover will be positioned relative to the input.
|
|
58
|
+
*
|
|
51
59
|
* @see [PopperPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/popper.ts#L25)
|
|
52
60
|
*/
|
|
53
61
|
this.placement = "auto";
|
|
@@ -64,14 +72,17 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
64
72
|
// Event Listeners
|
|
65
73
|
//
|
|
66
74
|
//--------------------------------------------------------------------------
|
|
67
|
-
this.
|
|
75
|
+
this.calciteInternalInputBlurHandler = () => {
|
|
68
76
|
this.active = false;
|
|
69
77
|
const shouldIncludeSeconds = this.shouldIncludeSeconds();
|
|
70
78
|
const localizedInputValue = localizeTimeString(this.calciteInputEl.value, this.locale, shouldIncludeSeconds);
|
|
71
79
|
this.setInputValue(localizedInputValue || localizeTimeString(this.value, this.locale, shouldIncludeSeconds));
|
|
72
80
|
};
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
81
|
+
this.calciteInternalInputFocusHandler = (event) => {
|
|
82
|
+
if (!this.readOnly) {
|
|
83
|
+
this.active = true;
|
|
84
|
+
event.stopPropagation();
|
|
85
|
+
}
|
|
75
86
|
};
|
|
76
87
|
this.calciteInputInputHandler = (event) => {
|
|
77
88
|
const target = event.target;
|
|
@@ -82,6 +93,7 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
82
93
|
const target = event.target;
|
|
83
94
|
const value = target.value;
|
|
84
95
|
this.setValue({ value, origin: "time-picker" });
|
|
96
|
+
event.stopPropagation();
|
|
85
97
|
};
|
|
86
98
|
// --------------------------------------------------------------------------
|
|
87
99
|
//
|
|
@@ -149,13 +161,13 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
149
161
|
};
|
|
150
162
|
}
|
|
151
163
|
activeHandler() {
|
|
152
|
-
if (this.disabled) {
|
|
164
|
+
if (this.disabled || this.readOnly) {
|
|
153
165
|
this.active = false;
|
|
154
166
|
return;
|
|
155
167
|
}
|
|
156
168
|
this.reposition();
|
|
157
169
|
}
|
|
158
|
-
|
|
170
|
+
handleDisabledAndReadOnlyChange(value) {
|
|
159
171
|
if (!value) {
|
|
160
172
|
this.active = false;
|
|
161
173
|
}
|
|
@@ -188,7 +200,9 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
188
200
|
timePickerFocusHandler(event) {
|
|
189
201
|
event.preventDefault();
|
|
190
202
|
event.stopPropagation();
|
|
191
|
-
this.
|
|
203
|
+
if (!this.readOnly) {
|
|
204
|
+
this.active = true;
|
|
205
|
+
}
|
|
192
206
|
}
|
|
193
207
|
// --------------------------------------------------------------------------
|
|
194
208
|
//
|
|
@@ -197,7 +211,8 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
197
211
|
// --------------------------------------------------------------------------
|
|
198
212
|
/** Sets focus on the component. */
|
|
199
213
|
async setFocus() {
|
|
200
|
-
|
|
214
|
+
var _a;
|
|
215
|
+
(_a = this.calciteInputEl) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
201
216
|
}
|
|
202
217
|
/** Updates the position of the component. */
|
|
203
218
|
async reposition() {
|
|
@@ -239,12 +254,13 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
239
254
|
// --------------------------------------------------------------------------
|
|
240
255
|
render() {
|
|
241
256
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
242
|
-
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this),
|
|
257
|
+
return (h(Host, { onKeyDown: this.keyDownHandler }, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), h(HiddenFormInputSlot, { component: this })));
|
|
243
258
|
}
|
|
244
259
|
get el() { return this; }
|
|
245
260
|
static get watchers() { return {
|
|
246
261
|
"active": ["activeHandler"],
|
|
247
|
-
"disabled": ["
|
|
262
|
+
"disabled": ["handleDisabledAndReadOnlyChange"],
|
|
263
|
+
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
|
248
264
|
"locale": ["localeWatcher"],
|
|
249
265
|
"value": ["valueWatcher"]
|
|
250
266
|
}; }
|
|
@@ -252,6 +268,7 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
252
268
|
}, [1, "calcite-input-time-picker", {
|
|
253
269
|
"active": [1540],
|
|
254
270
|
"disabled": [516],
|
|
271
|
+
"readOnly": [4, "read-only"],
|
|
255
272
|
"intlHour": [1, "intl-hour"],
|
|
256
273
|
"intlHourDown": [1, "intl-hour-down"],
|
|
257
274
|
"intlHourUp": [1, "intl-hour-up"],
|
|
@@ -274,7 +291,7 @@ const InputTimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
274
291
|
"localizedValue": [32],
|
|
275
292
|
"setFocus": [64],
|
|
276
293
|
"reposition": [64]
|
|
277
|
-
}, [[0, "click", "clickHandler"], [0, "keyup", "keyUpHandler"], [0, "
|
|
294
|
+
}, [[0, "click", "clickHandler"], [0, "keyup", "keyUpHandler"], [0, "calciteInternalTimePickerBlur", "timePickerBlurHandler"], [0, "calciteInternalTimePickerFocus", "timePickerFocusHandler"]]]);
|
|
278
295
|
function defineCustomElement$1() {
|
|
279
296
|
if (typeof customElements === "undefined") {
|
|
280
297
|
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 { I as Input, d as defineCustomElement$1 } from './input.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.85
|
|
5
5
|
*/
|
|
6
6
|
import { L as Label, d as defineCustomElement$1 } from './label2.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 { L as Link, d as defineCustomElement$1 } from './link.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, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { H as Heading, c as constrainHeadingLevel } from './Heading.js';
|
|
@@ -12,7 +12,7 @@ const CSS = {
|
|
|
12
12
|
};
|
|
13
13
|
const HEADING_LEVEL = 3;
|
|
14
14
|
|
|
15
|
-
const listItemGroupCss = "@-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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){padding-
|
|
15
|
+
const listItemGroupCss = "@-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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.heading{margin:0px;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-2);padding:0.75rem;font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.container{display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}::slotted(calcite-list-item-group){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
|
|
16
16
|
|
|
17
17
|
const ListItemGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
18
18
|
constructor() {
|
|
@@ -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, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -29,7 +29,7 @@ const SLOTS = {
|
|
|
29
29
|
actionsEnd: "actions-end"
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
const listItemCss = "@-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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}: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}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-
|
|
32
|
+
const listItemCss = "@-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:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}: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}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 0%;flex:1 1 0%;background-color:var(--calcite-ui-foreground-1);font-family:var(--calcite-sans-family)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}.nested-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1)}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);outline-color:transparent}.content-container--button{cursor:pointer;border-style:none;background-color:var(--calcite-ui-foreground-1);outline-color:transparent;text-align:initial}.content-container--button:hover{background-color:var(--calcite-ui-foreground-2)}.content-container--button:hover .label,.content-container--button:hover .description{color:var(--calcite-ui-text-1)}.content-container--button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.content-container--button .content-start,.content-container--button .content-end{pointer-events:none}.content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child{margin:0px;padding-top:0.25rem;padding-bottom:0.25rem}.label{color:var(--calcite-ui-text-1)}.description{margin-top:0.125rem;color:var(--calcite-ui-text-3)}.content-start{-ms-flex-pack:start;justify-content:flex-start}.content-end{-ms-flex-pack:end;justify-content:flex-end}.content-start,.content-end{-ms-flex:1 1 auto;flex:1 1 auto}.has-center-content .content-start,.has-center-content .content-end{-ms-flex:0 1 auto;flex:0 1 auto}.actions-start,.actions-end,.content-start,.content-end{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){-ms-flex-item-align:center;align-self:center;padding-left:0.75rem;padding-right:0.75rem}.actions-start ::slotted(calcite-action),.actions-end ::slotted(calcite-action){-ms-flex-item-align:stretch;align-self:stretch;color:inherit}::slotted(calcite-list-item-group),::slotted(calcite-list-item){-webkit-padding-start:0.5rem;padding-inline-start:0.5rem}";
|
|
33
33
|
|
|
34
34
|
const ListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
35
35
|
constructor() {
|
|
@@ -42,11 +42,11 @@ const ListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
42
42
|
//
|
|
43
43
|
// --------------------------------------------------------------------------
|
|
44
44
|
/**
|
|
45
|
-
* When true, prevents the content of the
|
|
45
|
+
* When true, prevents the content of the component from user interaction.
|
|
46
46
|
*/
|
|
47
47
|
this.nonInteractive = false;
|
|
48
48
|
/**
|
|
49
|
-
* When true,
|
|
49
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
50
50
|
*/
|
|
51
51
|
this.disabled = false;
|
|
52
52
|
}
|
|
@@ -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, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -23,7 +23,7 @@ const List = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
23
23
|
//
|
|
24
24
|
// --------------------------------------------------------------------------
|
|
25
25
|
/**
|
|
26
|
-
* When true,
|
|
26
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
27
27
|
*/
|
|
28
28
|
this.disabled = false;
|
|
29
29
|
}
|
|
@@ -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 { L as Loader, d as defineCustomElement$1 } from './loader.js';
|
|
7
7
|
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
-
import { f as focusElement, b as getSlotted,
|
|
7
|
+
import { f as focusElement, b as getSlotted, h as ensureId, i as isCalciteFocusable } from './dom.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
10
10
|
import { d as defineCustomElement$4 } from './icon.js';
|
|
@@ -139,7 +139,7 @@ const TEXT = {
|
|
|
139
139
|
close: "Close"
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
const modalCss = "@-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:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-width:0px;max-width:100%;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-left:0.25rem;margin-right:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0px;border-bottom-left-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;margin-bottom:0.25rem}}";
|
|
142
|
+
const modalCss = "@-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:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]),:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal,:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-width:0px;max-width:100%;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-left:0.25rem;margin-right:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal,:host([open][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header,:host([open][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer,:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0px;border-bottom-left-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;margin-bottom:0.25rem}}";
|
|
143
143
|
|
|
144
144
|
const isFocusableExtended = (el) => {
|
|
145
145
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -159,25 +159,31 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
159
159
|
// Properties
|
|
160
160
|
//
|
|
161
161
|
//--------------------------------------------------------------------------
|
|
162
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* When true, the `calcite-modal` is active.
|
|
164
|
+
*
|
|
165
|
+
* @deprecated use open instead
|
|
166
|
+
*/
|
|
163
167
|
this.active = false;
|
|
164
|
-
/**
|
|
168
|
+
/** When true,`calcite-modal` opens */
|
|
169
|
+
this.open = false;
|
|
170
|
+
/** Passes a function to run before the `calcite-modal` closes. */
|
|
165
171
|
this.beforeClose = () => Promise.resolve();
|
|
166
|
-
/**
|
|
172
|
+
/** When true, disables the component's close button. */
|
|
167
173
|
this.disableCloseButton = false;
|
|
168
|
-
/**
|
|
174
|
+
/** When true, disables the closing of the component when clicked outside. */
|
|
169
175
|
this.disableOutsideClose = false;
|
|
170
|
-
/**
|
|
176
|
+
/** Accessible name for the component's close button. */
|
|
171
177
|
this.intlClose = TEXT.close;
|
|
172
|
-
/**
|
|
178
|
+
/** When true, disables the default close on escape behavior. */
|
|
173
179
|
this.disableEscape = false;
|
|
174
|
-
/**
|
|
180
|
+
/** Specifies the size of the component. */
|
|
175
181
|
this.scale = "m";
|
|
176
|
-
/**
|
|
182
|
+
/** Specifies the width of the component. Can use scale sizes or pass a number (displays in pixels). */
|
|
177
183
|
this.width = "m";
|
|
178
|
-
/**
|
|
184
|
+
/** Sets the background color of the component's content. */
|
|
179
185
|
this.backgroundColor = "white";
|
|
180
|
-
/**
|
|
186
|
+
/** When true, disables spacing to the content area slot. */
|
|
181
187
|
this.noPadding = false;
|
|
182
188
|
//--------------------------------------------------------------------------
|
|
183
189
|
//
|
|
@@ -194,7 +200,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
194
200
|
//--------------------------------------------------------------------------
|
|
195
201
|
this.transitionEnd = (event) => {
|
|
196
202
|
if (event.propertyName === this.activeTransitionProp) {
|
|
197
|
-
this.active ? this.calciteModalOpen.emit() : this.calciteModalClose.emit();
|
|
203
|
+
this.open || this.active ? this.calciteModalOpen.emit() : this.calciteModalClose.emit();
|
|
198
204
|
}
|
|
199
205
|
};
|
|
200
206
|
this.openEnd = () => {
|
|
@@ -211,6 +217,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
211
217
|
this.close = () => {
|
|
212
218
|
return this.beforeClose(this.el).then(() => {
|
|
213
219
|
this.active = false;
|
|
220
|
+
this.open = false;
|
|
214
221
|
focusElement(this.previousActiveElement);
|
|
215
222
|
this.removeOverflowHiddenClass();
|
|
216
223
|
});
|
|
@@ -238,8 +245,8 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
238
245
|
//--------------------------------------------------------------------------
|
|
239
246
|
componentWillLoad() {
|
|
240
247
|
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
241
|
-
if (this.active) {
|
|
242
|
-
this.
|
|
248
|
+
if (this.open || this.active) {
|
|
249
|
+
this.openModal();
|
|
243
250
|
}
|
|
244
251
|
}
|
|
245
252
|
connectedCallback() {
|
|
@@ -295,7 +302,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
295
302
|
//
|
|
296
303
|
//--------------------------------------------------------------------------
|
|
297
304
|
handleEscape(e) {
|
|
298
|
-
if (this.active && !this.disableEscape && e.key === "Escape") {
|
|
305
|
+
if ((this.open || this.active) && !this.disableEscape && e.key === "Escape") {
|
|
299
306
|
this.close();
|
|
300
307
|
}
|
|
301
308
|
}
|
|
@@ -305,7 +312,9 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
305
312
|
//
|
|
306
313
|
//--------------------------------------------------------------------------
|
|
307
314
|
/**
|
|
308
|
-
* Focus first interactive element
|
|
315
|
+
* Focus the first interactive element.
|
|
316
|
+
*
|
|
317
|
+
* @param el
|
|
309
318
|
* @deprecated use `setFocus` instead.
|
|
310
319
|
*/
|
|
311
320
|
async focusElement(el) {
|
|
@@ -317,14 +326,21 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
317
326
|
/**
|
|
318
327
|
* Sets focus on the component.
|
|
319
328
|
*
|
|
320
|
-
* By default,
|
|
321
|
-
*
|
|
329
|
+
* By default, tries to focus on focusable content. If there is none, it will focus on the close button.
|
|
330
|
+
* To focus on the close button, use the `close-button` focus ID.
|
|
331
|
+
*
|
|
332
|
+
* @param focusId
|
|
322
333
|
*/
|
|
323
334
|
async setFocus(focusId) {
|
|
324
335
|
const closeButton = this.closeButtonEl;
|
|
325
336
|
return focusElement(focusId === "close-button" ? closeButton : getFocusableElements(this.el)[0] || closeButton);
|
|
326
337
|
}
|
|
327
|
-
/**
|
|
338
|
+
/**
|
|
339
|
+
* Sets the scroll top of the component's content.
|
|
340
|
+
*
|
|
341
|
+
* @param top
|
|
342
|
+
* @param left
|
|
343
|
+
*/
|
|
328
344
|
async scrollContent(top = 0, left = 0) {
|
|
329
345
|
if (this.modalContent) {
|
|
330
346
|
if (this.modalContent.scrollTo) {
|
|
@@ -339,7 +355,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
339
355
|
async toggleModal(value, oldValue) {
|
|
340
356
|
if (value !== oldValue) {
|
|
341
357
|
if (value) {
|
|
342
|
-
this.
|
|
358
|
+
this.openModal();
|
|
343
359
|
}
|
|
344
360
|
else if (!value) {
|
|
345
361
|
this.close();
|
|
@@ -347,10 +363,11 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
347
363
|
}
|
|
348
364
|
}
|
|
349
365
|
/** Open the modal */
|
|
350
|
-
|
|
366
|
+
openModal() {
|
|
351
367
|
this.previousActiveElement = document.activeElement;
|
|
352
368
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
353
369
|
this.active = true;
|
|
370
|
+
this.open = true;
|
|
354
371
|
const titleEl = getSlotted(this.el, SLOTS.header);
|
|
355
372
|
const contentEl = getSlotted(this.el, SLOTS.content);
|
|
356
373
|
this.titleId = ensureId(titleEl);
|
|
@@ -362,17 +379,18 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
362
379
|
}
|
|
363
380
|
get el() { return this; }
|
|
364
381
|
static get watchers() { return {
|
|
365
|
-
"active": ["toggleModal"]
|
|
382
|
+
"active": ["toggleModal"],
|
|
383
|
+
"open": ["toggleModal"]
|
|
366
384
|
}; }
|
|
367
385
|
static get style() { return modalCss; }
|
|
368
386
|
}, [1, "calcite-modal", {
|
|
369
387
|
"active": [1540],
|
|
388
|
+
"open": [1540],
|
|
370
389
|
"beforeClose": [16],
|
|
371
390
|
"disableCloseButton": [4, "disable-close-button"],
|
|
372
391
|
"disableOutsideClose": [4, "disable-outside-close"],
|
|
373
392
|
"intlClose": [1, "intl-close"],
|
|
374
393
|
"docked": [516],
|
|
375
|
-
"firstFocus": [16],
|
|
376
394
|
"disableEscape": [4, "disable-escape"],
|
|
377
395
|
"scale": [513],
|
|
378
396
|
"width": [520],
|
|
@@ -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 } from '@stencil/core/internal/client';
|
|
7
7
|
import { S as StatusIcons } from './interfaces.js';
|
|
@@ -26,7 +26,7 @@ const CSS = {
|
|
|
26
26
|
icon: "notice-icon"
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
const noticeCss = "@-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([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-left:auto;margin-right:auto;display:none;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{pointer-events:none;margin-top:0px;margin-bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;width:100%;background-color:var(--calcite-ui-foreground-1);opacity:0
|
|
29
|
+
const noticeCss = "@-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([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-left:auto;margin-right:auto;display:none;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{pointer-events:none;margin-top:0px;margin-bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;width:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-height:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([active]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-height:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";
|
|
30
30
|
|
|
31
31
|
const Notice = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
32
32
|
constructor() {
|
|
@@ -40,19 +40,21 @@ const Notice = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
40
40
|
// Properties
|
|
41
41
|
//
|
|
42
42
|
//---------------------------------------------------------------------------
|
|
43
|
-
/**
|
|
43
|
+
/** When true, the component is active. */
|
|
44
44
|
this.active = false;
|
|
45
|
-
/**
|
|
45
|
+
/** The color for the component's top border and icon. */
|
|
46
46
|
this.color = "blue";
|
|
47
|
-
/**
|
|
47
|
+
/** When true, a close button is added to the component. */
|
|
48
48
|
this.dismissible = false;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Accessible name for the close button.
|
|
51
|
+
*
|
|
50
52
|
* @default "Close"
|
|
51
53
|
*/
|
|
52
54
|
this.intlClose = TEXT.close;
|
|
53
|
-
/**
|
|
55
|
+
/** Specifies the size of the component. */
|
|
54
56
|
this.scale = "m";
|
|
55
|
-
/**
|
|
57
|
+
/** Specifies the width of the component. */
|
|
56
58
|
this.width = "auto";
|
|
57
59
|
//--------------------------------------------------------------------------
|
|
58
60
|
//
|
|
@@ -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, Fragment } from '@stencil/core/internal/client';
|
|
7
7
|
|
|
@@ -12,19 +12,19 @@ const OptionGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
|
-
this.
|
|
15
|
+
this.calciteInternalOptionGroupChange = createEvent(this, "calciteInternalOptionGroupChange", 7);
|
|
16
16
|
//--------------------------------------------------------------------------
|
|
17
17
|
//
|
|
18
18
|
// Properties
|
|
19
19
|
//
|
|
20
20
|
//--------------------------------------------------------------------------
|
|
21
21
|
/**
|
|
22
|
-
* When true,
|
|
22
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
23
23
|
*/
|
|
24
24
|
this.disabled = false;
|
|
25
25
|
}
|
|
26
26
|
handlePropChange() {
|
|
27
|
-
this.
|
|
27
|
+
this.calciteInternalOptionGroupChange.emit();
|
|
28
28
|
}
|
|
29
29
|
//--------------------------------------------------------------------------
|
|
30
30
|
//
|