@esri/calcite-components 1.0.0-beta.64 → 1.0.0-beta.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/calcite-icon/beacon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/beacon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/beacon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects16.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects24.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyObjects32.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels16.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels24.json +1 -0
- package/dist/calcite/assets/calcite-icon/classifyPixels32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataCloud32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataFolder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster16.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster24.json +1 -0
- package/dist/calcite/assets/calcite-icon/dataRaster32.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
- package/dist/calcite/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/featureDisplayOrder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint16.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint24.json +1 -0
- package/dist/calcite/assets/calcite-icon/fingerprint32.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit16.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit24.json +1 -0
- package/dist/calcite/assets/calcite-icon/gridUnit32.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute16.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute24.json +1 -0
- package/dist/calcite/assets/calcite-icon/horizontalDistribute32.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips16.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips24.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageChips32.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit16.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit24.json +1 -0
- package/dist/calcite/assets/calcite-icon/imageUnit32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lassoSelect32.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining16.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining24.json +1 -0
- package/dist/calcite/assets/calcite-icon/newTraining32.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget16.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget24.json +1 -0
- package/dist/calcite/assets/calcite-icon/orientedImageryWidget32.json +1 -0
- package/dist/calcite/assets/calcite-icon/package16.json +1 -0
- package/dist/calcite/assets/calcite-icon/package24.json +1 -0
- package/dist/calcite/assets/calcite-icon/package32.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMark32.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/calcite/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates16.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates24.json +1 -0
- package/dist/calcite/assets/calcite-icon/processingTemplates32.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/retrain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm16.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm24.json +1 -0
- package/dist/calcite/assets/calcite-icon/smartForm32.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck16.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck24.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleCheck32.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/subscript32.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript16.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript24.json +1 -0
- package/dist/calcite/assets/calcite-icon/superscript32.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute16.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute24.json +1 -0
- package/dist/calcite/assets/calcite-icon/verticalDistribute32.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi16.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi24.json +1 -0
- package/dist/calcite/assets/calcite-icon/wifi32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +5 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +4 -0
- package/dist/calcite/p-00d72f16.entry.js +5 -0
- package/dist/calcite/p-01c3783e.system.entry.js +5 -0
- package/dist/calcite/p-021d44b7.system.entry.js +5 -0
- package/dist/calcite/p-050dc7e6.system.entry.js +5 -0
- package/dist/calcite/p-05bf835f.js +5 -0
- package/dist/calcite/p-07ba39b6.js +5 -0
- package/dist/calcite/p-0e30afe6.entry.js +5 -0
- package/dist/calcite/p-0fb8cdc5.entry.js +5 -0
- package/dist/calcite/p-0fc8b24c.system.entry.js +5 -0
- package/dist/calcite/p-0fd333ff.entry.js +5 -0
- package/dist/calcite/p-10ccc21d.entry.js +5 -0
- package/dist/calcite/p-157d05ce.js +5 -0
- package/dist/calcite/p-175764f3.system.entry.js +5 -0
- package/dist/calcite/p-18078190.entry.js +5 -0
- package/dist/calcite/p-18574b32.entry.js +5 -0
- package/dist/calcite/p-1aaf7f83.entry.js +5 -0
- package/dist/calcite/p-1b2c1f55.entry.js +5 -0
- package/dist/calcite/p-1d6404b5.system.js +5 -0
- package/dist/calcite/p-1f99b038.entry.js +5 -0
- package/dist/calcite/p-1fb7138b.js +5 -0
- package/dist/calcite/p-20042561.entry.js +5 -0
- package/dist/calcite/p-22ad79b1.entry.js +5 -0
- package/dist/calcite/p-24b86e03.entry.js +5 -0
- package/dist/calcite/p-26045881.entry.js +5 -0
- package/dist/calcite/p-26508b91.js +5 -0
- package/dist/calcite/p-2920aa02.entry.js +5 -0
- package/dist/calcite/p-29b110b2.entry.js +5 -0
- package/dist/calcite/p-2ba00b89.js +5 -0
- package/dist/calcite/p-318e95d7.system.entry.js +5 -0
- package/dist/calcite/p-31c4a271.system.entry.js +5 -0
- package/dist/calcite/p-32faf98b.system.entry.js +5 -0
- package/dist/calcite/p-32fbf8cd.system.js +5 -0
- package/dist/calcite/p-349333f8.system.entry.js +5 -0
- package/dist/calcite/p-34a1c944.entry.js +5 -0
- package/dist/calcite/p-34a6550f.system.entry.js +5 -0
- package/dist/calcite/p-361ddbb6.entry.js +5 -0
- package/dist/calcite/p-378b83de.entry.js +5 -0
- package/dist/calcite/p-378ffa38.system.js +5 -0
- package/dist/calcite/p-37cee0ea.entry.js +5 -0
- package/dist/calcite/p-3929447c.system.entry.js +5 -0
- package/dist/calcite/p-3b17d8d0.system.js +5 -0
- package/dist/calcite/p-3ba8024a.system.entry.js +5 -0
- package/dist/calcite/p-4035444d.system.js +5 -0
- package/dist/calcite/p-41e9b889.entry.js +5 -0
- package/dist/calcite/p-43494684.entry.js +5 -0
- package/dist/calcite/p-45d123be.system.entry.js +5 -0
- package/dist/calcite/p-47313747.system.js +5 -0
- package/dist/calcite/p-473cfb74.system.entry.js +5 -0
- package/dist/calcite/p-477bac2c.system.js +5 -0
- package/dist/calcite/p-485062f4.system.entry.js +5 -0
- package/dist/calcite/p-4c7e3d8e.system.entry.js +5 -0
- package/dist/calcite/p-4de6f4fd.system.js +5 -0
- package/dist/calcite/p-4e06a168.entry.js +5 -0
- package/dist/calcite/p-51cb078a.entry.js +5 -0
- package/dist/calcite/p-52cc870b.js +5 -0
- package/dist/calcite/p-530584ff.system.entry.js +5 -0
- package/dist/calcite/p-568ed3d6.system.entry.js +5 -0
- package/dist/calcite/p-56b352bf.system.js +5 -0
- package/dist/calcite/p-57f5866d.system.entry.js +5 -0
- package/dist/calcite/p-5c221c33.system.entry.js +5 -0
- package/dist/calcite/p-5cb26137.system.entry.js +5 -0
- package/dist/calcite/p-61038b30.js +5 -0
- package/dist/calcite/p-64d90b14.system.js +5 -0
- package/dist/calcite/p-67fd79db.entry.js +5 -0
- package/dist/calcite/p-693a4d5f.entry.js +5 -0
- package/dist/calcite/p-69548a7d.system.entry.js +5 -0
- package/dist/calcite/p-6a541e77.system.js +5 -0
- package/dist/calcite/p-6cc23c39.system.js +5 -0
- package/dist/calcite/p-72563742.js +5 -0
- package/dist/calcite/p-727c8f36.system.entry.js +5 -0
- package/dist/calcite/p-728501db.system.js +5 -0
- package/dist/calcite/p-72ffc6d7.entry.js +5 -0
- package/dist/calcite/p-745e41ea.entry.js +5 -0
- package/dist/calcite/p-75793454.entry.js +5 -0
- package/dist/calcite/p-7839d1c9.entry.js +5 -0
- package/dist/calcite/p-7a544774.system.entry.js +5 -0
- package/dist/calcite/p-7b01fe89.js +5 -0
- package/dist/calcite/p-7b600760.entry.js +5 -0
- package/dist/calcite/p-7c0debe0.system.entry.js +5 -0
- package/dist/calcite/p-7cdfec27.system.js +5 -0
- package/dist/calcite/p-7ed4c551.system.js +5 -0
- package/dist/calcite/p-7f4a5f8e.system.entry.js +5 -0
- package/dist/calcite/p-81a82d01.system.entry.js +5 -0
- package/dist/calcite/p-85a2bf7c.system.entry.js +5 -0
- package/dist/calcite/p-8655c0a1.entry.js +5 -0
- package/dist/calcite/p-87b93729.entry.js +5 -0
- package/dist/calcite/p-87e83c0d.system.entry.js +5 -0
- package/dist/calcite/p-8a63221d.js +5 -0
- package/dist/calcite/p-8efb43fc.entry.js +5 -0
- package/dist/calcite/p-8fcfe861.js +5 -0
- package/dist/calcite/p-91645bf7.system.js +5 -0
- package/dist/calcite/p-9358deb1.system.entry.js +5 -0
- package/dist/calcite/p-93d8a7d5.entry.js +5 -0
- package/dist/calcite/p-95a3a0ce.entry.js +5 -0
- package/dist/calcite/p-9965ea81.system.js +5 -0
- package/dist/calcite/p-99da965d.system.entry.js +5 -0
- package/dist/calcite/p-9ac1fa0b.system.entry.js +5 -0
- package/dist/calcite/p-9caae570.entry.js +5 -0
- package/dist/calcite/p-9d3ee5cf.system.entry.js +5 -0
- package/dist/calcite/p-9d83f268.system.entry.js +5 -0
- package/dist/calcite/p-9dbb69f7.entry.js +5 -0
- package/dist/calcite/p-9e4f2697.system.entry.js +5 -0
- package/dist/calcite/p-a0c02648.system.js +5 -0
- package/dist/calcite/p-a20df95c.js +5 -0
- package/dist/calcite/p-a62de092.js +5 -0
- package/dist/calcite/p-a7521c0d.entry.js +5 -0
- package/dist/calcite/p-a8cd5cde.system.entry.js +5 -0
- package/dist/calcite/p-a93678c6.system.entry.js +5 -0
- package/dist/calcite/p-aad45edf.system.js +5 -0
- package/dist/calcite/p-ac3d8784.entry.js +5 -0
- package/dist/calcite/p-ac9607f2.system.js +11 -0
- package/dist/calcite/p-acaad99b.system.entry.js +5 -0
- package/dist/calcite/p-accdb0ce.js +5 -0
- package/dist/calcite/p-b06207bb.js +5 -0
- package/dist/calcite/p-b2ab0485.js +5 -0
- package/dist/calcite/p-b701101e.entry.js +5 -0
- package/dist/calcite/p-ba255377.entry.js +5 -0
- package/dist/calcite/p-ba9b4f62.system.entry.js +5 -0
- package/dist/calcite/p-bb916828.system.entry.js +5 -0
- package/dist/calcite/p-bc02d9ef.system.entry.js +5 -0
- package/dist/calcite/p-bcc323ec.system.entry.js +5 -0
- package/dist/calcite/p-bd555b2e.system.entry.js +5 -0
- package/dist/calcite/p-be3b0fee.entry.js +5 -0
- package/dist/calcite/p-bfc162ee.system.entry.js +5 -0
- package/dist/calcite/p-c0dd929a.entry.js +5 -0
- package/dist/calcite/p-c1995144.system.entry.js +5 -0
- package/dist/calcite/p-c20278e8.system.entry.js +5 -0
- package/dist/calcite/p-c31243c5.entry.js +5 -0
- package/dist/calcite/p-c3922ef7.system.entry.js +5 -0
- package/dist/calcite/p-c57f8690.entry.js +5 -0
- package/dist/calcite/p-c5ec8d74.js +11 -0
- package/dist/calcite/p-c74fc589.system.js +5 -0
- package/dist/calcite/p-caf7085a.system.js +5 -0
- package/dist/calcite/p-cb228ac0.entry.js +5 -0
- package/dist/calcite/p-cbdf0e6c.js +5 -0
- package/dist/calcite/p-cd8f7781.system.entry.js +5 -0
- package/dist/calcite/p-d35e423d.js +5 -0
- package/dist/calcite/p-d5d62977.entry.js +5 -0
- package/dist/calcite/p-d7a7a544.system.entry.js +5 -0
- package/dist/calcite/p-d7e5b807.system.entry.js +5 -0
- package/dist/calcite/p-da9603a3.entry.js +5 -0
- package/dist/calcite/p-db10485b.system.js +5 -0
- package/dist/calcite/p-de0f4633.entry.js +5 -0
- package/dist/calcite/p-e020662f.system.js +5 -0
- package/dist/calcite/p-e33a2dd2.system.entry.js +5 -0
- package/dist/calcite/p-e3a30266.system.entry.js +5 -0
- package/dist/calcite/p-e4acb5a8.js +5 -0
- package/dist/calcite/p-e693758c.entry.js +5 -0
- package/dist/calcite/p-e9044cc1.entry.js +5 -0
- package/dist/calcite/p-eb3ee207.entry.js +5 -0
- package/dist/calcite/p-f07d3627.js +5 -0
- package/dist/calcite/p-f141da0f.entry.js +5 -0
- package/dist/calcite/p-f243b615.js +5 -0
- package/dist/calcite/p-f37563ac.system.entry.js +5 -0
- package/dist/calcite/p-f4299b95.entry.js +5 -0
- package/dist/calcite/p-f5d25746.system.entry.js +5 -0
- package/dist/calcite/p-f8d975a1.system.entry.js +5 -0
- package/dist/calcite/p-fb1da0f5.system.js +5 -0
- package/dist/calcite/p-fc4846f0.system.entry.js +5 -0
- package/dist/calcite/p-fe52131d.entry.js +5 -0
- package/dist/calcite/p-ff04f827.system.entry.js +5 -0
- package/dist/calcite/p-fff0a881.entry.js +5 -0
- package/dist/cjs/CalciteExpandToggle-0d802f83.js +94 -0
- package/dist/cjs/CalciteHeading-381b977d.js +19 -0
- package/dist/cjs/array-a5dedf5a.js +11 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +33 -23
- package/dist/cjs/calcite-action-group.cjs.entry.js +10 -6
- package/dist/cjs/calcite-action-menu.cjs.entry.js +15 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -7
- package/dist/cjs/calcite-action.cjs.entry.js +12 -12
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +9 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +38 -31
- package/dist/cjs/calcite-button.cjs.entry.js +63 -40
- package/dist/cjs/calcite-card.cjs.entry.js +9 -5
- package/dist/cjs/calcite-checkbox.cjs.entry.js +28 -35
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -4
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +18 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +36 -31
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +49 -40
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -4
- package/dist/cjs/calcite-filter.cjs.entry.js +14 -10
- package/dist/cjs/calcite-flow.cjs.entry.js +7 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +80 -31
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +28 -17
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +32 -22
- package/dist/cjs/calcite-input-message.cjs.entry.js +8 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +26 -22
- package/dist/cjs/calcite-input.cjs.entry.js +30 -25
- package/dist/cjs/calcite-label.cjs.entry.js +20 -78
- package/dist/cjs/calcite-link.cjs.entry.js +14 -4
- package/dist/cjs/calcite-list_3.cjs.entry.js +33 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +8 -4
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +10 -6
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -15
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -4
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -8
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -7
- package/dist/cjs/calcite-progress.cjs.entry.js +6 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +6 -2
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +27 -25
- package/dist/cjs/calcite-radio_2.cjs.entry.js +57 -30
- package/dist/cjs/calcite-rating.cjs.entry.js +23 -11
- package/dist/cjs/calcite-scrim.cjs.entry.js +6 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -6
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +27 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +8 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +11 -7
- package/dist/cjs/calcite-switch.cjs.entry.js +46 -39
- package/dist/cjs/calcite-tab_4.cjs.entry.js +15 -11
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +26 -9
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -5
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +14 -9
- package/dist/cjs/calcite-tree_2.cjs.entry.js +30 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +14 -10
- package/dist/cjs/calcite.cjs.js +7 -3
- package/dist/cjs/debounce-95979061.js +495 -0
- package/dist/cjs/dom-19822169.js +170 -0
- package/dist/cjs/forIn-a5d553af.js +622 -0
- package/dist/cjs/form-00fb301c.js +22 -0
- package/dist/cjs/guid-b270f0db.js +20 -0
- package/dist/cjs/index-1987a382.js +2066 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/interfaces-54651c1c.js +13 -0
- package/dist/cjs/key-8bfb93ec.js +37 -0
- package/dist/cjs/label-549c3d9d.js +58 -0
- package/dist/cjs/loader.cjs.js +7 -3
- package/dist/cjs/locale-69dc9583.js +123 -0
- package/dist/cjs/math-9d44163f.js +9 -0
- package/dist/cjs/number-e6448e15.js +45 -0
- package/dist/cjs/observers-41837607.js +22 -0
- package/dist/cjs/popper-cd9c0742.js +1790 -0
- package/dist/cjs/resources-407a4290.js +20 -0
- package/dist/cjs/resources-7dcd68d1.js +232 -0
- package/dist/cjs/resources-d0619f6a.js +346 -0
- package/dist/cjs/resources-ffe563a2.js +21 -0
- package/dist/cjs/sortable.esm-d7a4560b.js +3019 -0
- package/dist/cjs/utils-55d67711.js +123 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +7 -0
- package/dist/collection/components/calcite-accordion/interfaces.js +4 -0
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +7 -0
- package/dist/collection/components/calcite-action/calcite-action.css +18 -69
- package/dist/collection/components/calcite-action/calcite-action.js +35 -32
- package/dist/collection/components/calcite-action/resources.js +4 -0
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +45 -16
- package/dist/collection/components/calcite-action-bar/resources.js +4 -0
- package/dist/collection/components/calcite-action-bar/utils.js +5 -0
- package/dist/collection/components/calcite-action-group/calcite-action-group.js +4 -0
- package/dist/collection/components/calcite-action-group/resources.js +4 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +8 -2
- package/dist/collection/components/calcite-action-menu/resources.js +4 -0
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +4 -0
- package/dist/collection/components/calcite-action-pad/resources.js +4 -0
- package/dist/collection/components/calcite-alert/calcite-alert.css +0 -62
- package/dist/collection/components/calcite-alert/calcite-alert.js +4 -0
- package/dist/collection/components/calcite-alert/interfaces.js +4 -0
- package/dist/collection/components/calcite-alert/resources.js +4 -0
- package/dist/collection/components/calcite-avatar/calcite-avatar.js +4 -0
- package/dist/collection/components/calcite-avatar/utils.js +4 -0
- package/dist/collection/components/calcite-block/calcite-block.css +18 -0
- package/dist/collection/components/calcite-block/calcite-block.js +12 -7
- package/dist/collection/components/calcite-block/resources.js +8 -2
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +1 -0
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +20 -16
- package/dist/collection/components/calcite-block-section/interfaces.js +4 -0
- package/dist/collection/components/calcite-block-section/resources.js +4 -0
- package/dist/collection/components/calcite-button/calcite-button.js +40 -38
- package/dist/collection/components/calcite-button/interfaces.js +4 -0
- package/dist/collection/components/calcite-button/resources.js +4 -0
- package/dist/collection/components/calcite-card/calcite-card.js +5 -1
- package/dist/collection/components/calcite-card/resources.js +4 -0
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +5 -2
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +46 -41
- package/dist/collection/components/calcite-chip/calcite-chip.js +6 -1
- package/dist/collection/components/calcite-chip/interfaces.js +4 -0
- package/dist/collection/components/calcite-chip/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +8 -4
- package/dist/collection/components/calcite-color-picker/interfaces.js +4 -0
- package/dist/collection/components/calcite-color-picker/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker/utils.js +4 -0
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -0
- package/dist/collection/components/calcite-color-picker-hex-input/resources.js +4 -0
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +4 -0
- package/dist/collection/components/calcite-color-picker-swatch/resources.js +4 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +20 -5
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +30 -21
- package/dist/collection/components/calcite-combobox/interfaces.js +4 -0
- package/dist/collection/components/calcite-combobox/resources.js +4 -0
- package/dist/collection/components/calcite-combobox/utils.js +4 -0
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +1 -1
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +7 -0
- package/dist/collection/components/calcite-combobox-item/resources.js +4 -0
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +7 -0
- package/dist/collection/components/calcite-combobox-item-group/resources.js +4 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +4 -0
- package/dist/collection/components/calcite-date-picker/interfaces.js +4 -0
- package/dist/collection/components/calcite-date-picker/resources.js +4 -0
- package/dist/collection/components/calcite-date-picker/utils.js +4 -0
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -1
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +4 -0
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +1 -1
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +4 -0
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -1
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +4 -0
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +0 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +44 -32
- package/dist/collection/components/calcite-dropdown/interfaces.js +4 -0
- package/dist/collection/components/calcite-dropdown/resources.js +4 -0
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +7 -0
- package/dist/collection/components/calcite-dropdown-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-dropdown-group/resources.js +4 -0
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +7 -0
- package/dist/collection/components/calcite-dropdown-item/resources.js +4 -0
- package/dist/collection/components/calcite-fab/calcite-fab.js +4 -0
- package/dist/collection/components/calcite-fab/resources.js +4 -0
- package/dist/collection/components/calcite-filter/calcite-filter.css +6 -1
- package/dist/collection/components/calcite-filter/calcite-filter.js +7 -5
- package/dist/collection/components/calcite-filter/resources.js +4 -0
- package/dist/collection/components/calcite-flow/calcite-flow.js +4 -0
- package/dist/collection/components/calcite-flow/interfaces.js +4 -0
- package/dist/collection/components/calcite-flow/resources.js +4 -0
- package/dist/collection/components/calcite-graph/calcite-graph.js +4 -0
- package/dist/collection/components/calcite-graph/interfaces.js +4 -0
- package/dist/collection/components/calcite-graph/util.js +4 -0
- package/dist/collection/components/calcite-handle/calcite-handle.js +4 -0
- package/dist/collection/components/calcite-handle/resources.js +4 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/beacon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyObjects32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/classifyPixels32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataCloud32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataFolder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/dataRaster32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeHeightEvenly32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/distributeWidthEvenly32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/featureDisplayOrder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fingerprint32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/gridUnit32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/horizontalDistribute32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageChips32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/imageUnit32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lassoSelect32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/newTraining32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/orientedImageryWidget32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/package32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMark32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/penMarkPlus32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/processingTemplates32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/retrain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/smartForm32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleCheck32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/subscript32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/superscript32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/verticalDistribute32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/wifi32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.js +4 -0
- package/dist/collection/components/calcite-icon/resources.js +4 -0
- package/dist/collection/components/calcite-icon/utils.js +4 -0
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +44 -21
- package/dist/collection/components/calcite-inline-editable/resources.js +4 -0
- package/dist/collection/components/calcite-input/calcite-input.js +23 -18
- package/dist/collection/components/calcite-input/interfaces.js +4 -0
- package/dist/collection/components/calcite-input/resources.js +4 -0
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +39 -13
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +7 -0
- package/dist/collection/components/calcite-input-message/interfaces.js +4 -0
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +21 -24
- package/dist/collection/components/calcite-label/calcite-label.css +11 -11
- package/dist/collection/components/calcite-label/calcite-label.js +27 -92
- package/dist/collection/components/calcite-label/resources.js +7 -0
- package/dist/collection/components/calcite-link/calcite-link.js +16 -2
- package/dist/collection/components/calcite-list/calcite-list.js +37 -1
- package/dist/collection/components/calcite-list/resources.js +4 -0
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +35 -3
- package/dist/collection/components/calcite-list-item/resources.js +4 -0
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.js +4 -0
- package/dist/collection/components/calcite-list-item-group/resources.js +4 -0
- package/dist/collection/components/calcite-loader/calcite-loader.css +3 -3
- package/dist/collection/components/calcite-loader/calcite-loader.js +4 -0
- package/dist/collection/components/calcite-modal/calcite-modal.js +4 -0
- package/dist/collection/components/calcite-modal/interfaces.js +4 -0
- package/dist/collection/components/calcite-modal/resources.js +4 -0
- package/dist/collection/components/calcite-notice/calcite-notice.css +18 -6
- package/dist/collection/components/calcite-notice/calcite-notice.js +4 -0
- package/dist/collection/components/calcite-notice/resources.js +4 -0
- package/dist/collection/components/calcite-option/calcite-option.js +4 -0
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +7 -0
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +4 -0
- package/dist/collection/components/calcite-pagination/resources.js +4 -0
- package/dist/collection/components/calcite-panel/calcite-panel.css +1 -4
- package/dist/collection/components/calcite-panel/calcite-panel.js +13 -8
- package/dist/collection/components/calcite-panel/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +1 -1
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +4 -0
- package/dist/collection/components/calcite-pick-list/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +4 -0
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +4 -0
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +4 -0
- package/dist/collection/components/calcite-pick-list-group/resources.js +4 -0
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +4 -0
- package/dist/collection/components/calcite-pick-list-item/resources.js +4 -0
- package/dist/collection/components/calcite-popover/calcite-popover.js +7 -0
- package/dist/collection/components/calcite-popover/resources.js +4 -0
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +4 -0
- package/dist/collection/components/calcite-progress/calcite-progress.js +4 -0
- package/dist/collection/components/calcite-radio/calcite-radio.js +4 -0
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +76 -37
- package/dist/collection/components/calcite-radio-button/resources.js +4 -0
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +7 -0
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +23 -30
- package/dist/collection/components/calcite-radio-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +1 -5
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +4 -0
- package/dist/collection/components/calcite-radio-group-item/resources.js +4 -0
- package/dist/collection/components/calcite-rating/calcite-rating.js +20 -14
- package/dist/collection/components/calcite-rating/resources.js +4 -0
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +7 -0
- package/dist/collection/components/calcite-scrim/resources.js +4 -0
- package/dist/collection/components/calcite-select/calcite-select.js +13 -14
- package/dist/collection/components/calcite-select/resources.js +4 -0
- package/dist/collection/components/calcite-shell/calcite-shell.js +6 -2
- package/dist/collection/components/calcite-shell/resources.js +4 -0
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +5 -1
- package/dist/collection/components/calcite-shell-center-row/resources.js +4 -0
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +5 -1
- package/dist/collection/components/calcite-shell-panel/resources.js +4 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +90 -33
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +13 -0
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.js +41 -2
- package/dist/collection/components/calcite-sortable-list/resources.js +8 -1
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +7 -0
- package/dist/collection/components/calcite-split-button/resources.js +4 -0
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +7 -0
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +7 -7
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +7 -0
- package/dist/collection/components/calcite-switch/calcite-switch.css +7 -7
- package/dist/collection/components/calcite-switch/calcite-switch.js +82 -47
- package/dist/collection/components/calcite-tab/calcite-tab.css +0 -1
- package/dist/collection/components/calcite-tab/calcite-tab.js +7 -0
- package/dist/collection/components/calcite-tab/interfaces.js +4 -0
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +0 -1
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +7 -0
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +7 -0
- package/dist/collection/components/calcite-tabs/calcite-tabs.js +6 -1
- package/dist/collection/components/calcite-tabs/interfaces.js +4 -0
- package/dist/collection/components/calcite-tabs/resources.js +4 -0
- package/dist/collection/components/calcite-tile/calcite-tile.css +9 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +4 -0
- package/dist/collection/components/calcite-tile/resources.js +4 -0
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +53 -12
- package/dist/collection/components/calcite-tile-select/interfaces.js +4 -0
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.js +7 -0
- package/dist/collection/components/calcite-tile-select-group/interfaces.js +4 -0
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +4 -0
- package/dist/collection/components/calcite-time-picker/resources.js +4 -0
- package/dist/collection/components/calcite-tip/calcite-tip.js +5 -0
- package/dist/collection/components/calcite-tip/resources.js +4 -0
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.js +7 -0
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +4 -0
- package/dist/collection/components/calcite-tip-manager/resources.js +4 -0
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +7 -0
- package/dist/collection/components/calcite-tooltip/resources.js +4 -0
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +7 -2
- package/dist/collection/components/calcite-tree/calcite-tree.js +4 -0
- package/dist/collection/components/calcite-tree/interfaces.js +4 -0
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +25 -1
- package/dist/collection/components/calcite-tree-item/interfaces.js +4 -0
- package/dist/collection/components/calcite-tree-item/resources.js +4 -0
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +5 -1
- package/dist/collection/components/calcite-value-list/resources.js +4 -0
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +4 -0
- package/dist/collection/components/calcite-value-list-item/resources.js +4 -0
- package/dist/collection/components/functional/CalciteExpandToggle.js +6 -1
- package/dist/collection/components/functional/CalciteHeading.js +4 -0
- package/dist/collection/components/interfaces.js +4 -0
- package/dist/collection/utils/array.js +4 -0
- package/dist/collection/utils/date.js +4 -0
- package/dist/collection/utils/dom.js +4 -3
- package/dist/collection/utils/filter.js +5 -1
- package/dist/collection/utils/form.js +4 -0
- package/dist/collection/utils/guid.js +4 -0
- package/dist/collection/utils/key.js +4 -0
- package/dist/collection/utils/label.js +51 -0
- package/dist/collection/utils/locale.js +4 -0
- package/dist/collection/utils/math.js +4 -0
- package/dist/collection/utils/number.js +4 -3
- package/dist/collection/utils/observers.js +4 -0
- package/dist/collection/utils/popper.js +4 -0
- package/dist/collection/utils/resources.js +24 -3
- package/dist/collection/utils/time.js +4 -0
- package/dist/components/CalciteExpandToggle.js +87 -0
- package/dist/components/CalciteHeading.js +16 -0
- package/dist/components/array.js +9 -0
- package/dist/components/calcite-accordion-item.d.ts +11 -0
- package/dist/components/calcite-accordion-item.js +153 -0
- package/dist/components/calcite-accordion.d.ts +11 -0
- package/dist/components/calcite-accordion.js +167 -0
- package/dist/components/calcite-action-bar.d.ts +11 -0
- package/dist/components/calcite-action-bar.js +266 -0
- package/dist/components/calcite-action-group.d.ts +11 -0
- package/dist/components/calcite-action-group.js +10 -0
- package/dist/components/calcite-action-group2.js +135 -0
- package/dist/components/calcite-action-menu.d.ts +11 -0
- package/dist/components/calcite-action-menu.js +10 -0
- package/dist/components/calcite-action-menu2.js +354 -0
- package/dist/components/calcite-action-pad.d.ts +11 -0
- package/dist/components/calcite-action-pad.js +198 -0
- package/dist/components/calcite-action.d.ts +11 -0
- package/dist/components/calcite-action.js +10 -0
- package/dist/components/calcite-action2.js +183 -0
- package/dist/components/calcite-alert.d.ts +11 -0
- package/dist/components/calcite-alert.js +232 -0
- package/dist/components/calcite-avatar.d.ts +11 -0
- package/dist/components/calcite-avatar.js +171 -0
- package/dist/components/calcite-block-section.d.ts +11 -0
- package/dist/components/calcite-block-section.js +139 -0
- package/dist/components/calcite-block.d.ts +11 -0
- package/dist/components/calcite-block.js +216 -0
- package/dist/components/calcite-button.d.ts +11 -0
- package/dist/components/calcite-button.js +10 -0
- package/dist/components/calcite-button2.js +243 -0
- package/dist/components/calcite-card.d.ts +11 -0
- package/dist/components/calcite-card.js +156 -0
- package/dist/components/calcite-checkbox.d.ts +11 -0
- package/dist/components/calcite-checkbox.js +10 -0
- package/dist/components/calcite-checkbox2.js +203 -0
- package/dist/components/calcite-chip.d.ts +11 -0
- package/dist/components/calcite-chip.js +10 -0
- package/dist/components/calcite-chip2.js +121 -0
- package/dist/components/calcite-color-picker-hex-input.d.ts +11 -0
- package/dist/components/calcite-color-picker-hex-input.js +10 -0
- package/dist/components/calcite-color-picker-hex-input2.js +353 -0
- package/dist/components/calcite-color-picker-swatch.d.ts +11 -0
- package/dist/components/calcite-color-picker-swatch.js +10 -0
- package/dist/components/calcite-color-picker-swatch2.js +2176 -0
- package/dist/components/calcite-color-picker.d.ts +11 -0
- package/dist/components/calcite-color-picker.js +966 -0
- package/dist/components/calcite-combobox-item-group.d.ts +11 -0
- package/dist/components/calcite-combobox-item-group.js +68 -0
- package/dist/components/calcite-combobox-item.d.ts +11 -0
- package/dist/components/calcite-combobox-item.js +168 -0
- package/dist/components/calcite-combobox.d.ts +11 -0
- package/dist/components/calcite-combobox.js +871 -0
- package/dist/components/calcite-date-picker-day.d.ts +11 -0
- package/dist/components/calcite-date-picker-day.js +10 -0
- package/dist/components/calcite-date-picker-day2.js +99 -0
- package/dist/components/calcite-date-picker-month-header.d.ts +11 -0
- package/dist/components/calcite-date-picker-month-header.js +10 -0
- package/dist/components/calcite-date-picker-month-header2.js +170 -0
- package/dist/components/calcite-date-picker-month.d.ts +11 -0
- package/dist/components/calcite-date-picker-month.js +10 -0
- package/dist/components/calcite-date-picker-month2.js +313 -0
- package/dist/components/calcite-date-picker.d.ts +11 -0
- package/dist/components/calcite-date-picker.js +10 -0
- package/dist/components/calcite-date-picker2.js +486 -0
- package/dist/components/calcite-dropdown-group.d.ts +11 -0
- package/dist/components/calcite-dropdown-group.js +90 -0
- package/dist/components/calcite-dropdown-item.d.ts +11 -0
- package/dist/components/calcite-dropdown-item.js +202 -0
- package/dist/components/calcite-dropdown.d.ts +11 -0
- package/dist/components/calcite-dropdown.js +10 -0
- package/dist/components/calcite-dropdown2.js +390 -0
- package/dist/components/calcite-fab.d.ts +11 -0
- package/dist/components/calcite-fab.js +127 -0
- package/dist/components/calcite-filter.d.ts +11 -0
- package/dist/components/calcite-filter.js +10 -0
- package/dist/components/calcite-filter2.js +165 -0
- package/dist/components/calcite-flow.d.ts +11 -0
- package/dist/components/calcite-flow.js +138 -0
- package/dist/components/calcite-graph.d.ts +11 -0
- package/dist/components/calcite-graph.js +10 -0
- package/dist/components/calcite-graph2.js +203 -0
- package/dist/components/calcite-handle.d.ts +11 -0
- package/dist/components/calcite-handle.js +10 -0
- package/dist/components/calcite-handle2.js +107 -0
- package/dist/components/calcite-icon.d.ts +11 -0
- package/dist/components/calcite-icon.js +10 -0
- package/dist/components/calcite-icon2.js +185 -0
- package/dist/components/calcite-inline-editable.d.ts +11 -0
- package/dist/components/calcite-inline-editable.js +242 -0
- package/dist/components/calcite-input-date-picker.d.ts +11 -0
- package/dist/components/calcite-input-date-picker.js +471 -0
- package/dist/components/calcite-input-message.d.ts +11 -0
- package/dist/components/calcite-input-message.js +97 -0
- package/dist/components/calcite-input-time-picker.d.ts +11 -0
- package/dist/components/calcite-input-time-picker.js +278 -0
- package/dist/components/calcite-input.d.ts +11 -0
- package/dist/components/calcite-input.js +10 -0
- package/dist/components/calcite-input2.js +494 -0
- package/dist/components/calcite-label.d.ts +11 -0
- package/dist/components/calcite-label.js +84 -0
- package/dist/components/calcite-link.d.ts +11 -0
- package/dist/components/calcite-link.js +10 -0
- package/dist/components/calcite-link2.js +97 -0
- package/dist/components/calcite-list-item-group.d.ts +11 -0
- package/dist/components/calcite-list-item-group.js +57 -0
- package/dist/components/calcite-list-item.d.ts +11 -0
- package/dist/components/calcite-list-item.js +117 -0
- package/dist/components/calcite-list.d.ts +11 -0
- package/dist/components/calcite-list.js +59 -0
- package/dist/components/calcite-loader.d.ts +11 -0
- package/dist/components/calcite-loader.js +10 -0
- package/dist/components/calcite-loader2.js +107 -0
- package/dist/components/calcite-modal.d.ts +11 -0
- package/dist/components/calcite-modal.js +417 -0
- package/dist/components/calcite-notice.d.ts +11 -0
- package/dist/components/calcite-notice.js +140 -0
- package/dist/components/calcite-option-group.d.ts +11 -0
- package/dist/components/calcite-option-group.js +61 -0
- package/dist/components/calcite-option.d.ts +11 -0
- package/dist/components/calcite-option.js +107 -0
- package/dist/components/calcite-pagination.d.ts +11 -0
- package/dist/components/calcite-pagination.js +207 -0
- package/dist/components/calcite-panel.d.ts +11 -0
- package/dist/components/calcite-panel.js +309 -0
- package/dist/components/calcite-pick-list-group.d.ts +11 -0
- package/dist/components/calcite-pick-list-group.js +70 -0
- package/dist/components/calcite-pick-list-item.d.ts +11 -0
- package/dist/components/calcite-pick-list-item.js +10 -0
- package/dist/components/calcite-pick-list-item2.js +230 -0
- package/dist/components/calcite-pick-list.d.ts +11 -0
- package/dist/components/calcite-pick-list.js +196 -0
- package/dist/components/calcite-popover-manager.d.ts +11 -0
- package/dist/components/calcite-popover-manager.js +93 -0
- package/dist/components/calcite-popover.d.ts +11 -0
- package/dist/components/calcite-popover.js +10 -0
- package/dist/components/calcite-popover2.js +332 -0
- package/dist/components/calcite-progress.d.ts +11 -0
- package/dist/components/calcite-progress.js +10 -0
- package/dist/components/calcite-progress2.js +52 -0
- package/dist/components/calcite-radio-button-group.d.ts +11 -0
- package/dist/components/calcite-radio-button-group.js +116 -0
- package/dist/components/calcite-radio-button.d.ts +11 -0
- package/dist/components/calcite-radio-button.js +291 -0
- package/dist/components/calcite-radio-group-item.d.ts +11 -0
- package/dist/components/calcite-radio-group-item.js +139 -0
- package/dist/components/calcite-radio-group.d.ts +11 -0
- package/dist/components/calcite-radio-group.js +233 -0
- package/dist/components/calcite-radio.d.ts +11 -0
- package/dist/components/calcite-radio.js +10 -0
- package/dist/components/calcite-radio2.js +68 -0
- package/dist/components/calcite-rating.d.ts +11 -0
- package/dist/components/calcite-rating.js +160 -0
- package/dist/components/calcite-scrim.d.ts +11 -0
- package/dist/components/calcite-scrim.js +10 -0
- package/dist/components/calcite-scrim2.js +74 -0
- package/dist/components/calcite-select.d.ts +11 -0
- package/dist/components/calcite-select.js +221 -0
- package/dist/components/calcite-shell-center-row.d.ts +11 -0
- package/dist/components/calcite-shell-center-row.js +81 -0
- package/dist/components/calcite-shell-panel.d.ts +11 -0
- package/dist/components/calcite-shell-panel.js +100 -0
- package/dist/components/calcite-shell.d.ts +11 -0
- package/dist/components/calcite-shell.js +99 -0
- package/dist/components/calcite-slider.d.ts +11 -0
- package/dist/components/calcite-slider.js +746 -0
- package/dist/components/calcite-sortable-list.d.ts +11 -0
- package/dist/components/calcite-sortable-list.js +190 -0
- package/dist/components/calcite-split-button.d.ts +11 -0
- package/dist/components/calcite-split-button.js +127 -0
- package/dist/components/calcite-stepper-item.d.ts +11 -0
- package/dist/components/calcite-stepper-item.js +189 -0
- package/dist/components/calcite-stepper.d.ts +11 -0
- package/dist/components/calcite-stepper.js +247 -0
- package/dist/components/calcite-switch.d.ts +11 -0
- package/dist/components/calcite-switch.js +10 -0
- package/dist/components/calcite-switch2.js +162 -0
- package/dist/components/calcite-tab-nav.d.ts +11 -0
- package/dist/components/calcite-tab-nav.js +10 -0
- package/dist/components/calcite-tab-nav2.js +209 -0
- package/dist/components/calcite-tab-title.d.ts +11 -0
- package/dist/components/calcite-tab-title.js +10 -0
- package/dist/components/calcite-tab-title2.js +230 -0
- package/dist/components/calcite-tab.d.ts +11 -0
- package/dist/components/calcite-tab.js +10 -0
- package/dist/components/calcite-tab2.js +122 -0
- package/dist/components/calcite-tabs.d.ts +11 -0
- package/dist/components/calcite-tabs.js +10 -0
- package/dist/components/calcite-tabs2.js +183 -0
- package/dist/components/calcite-tile-select-group.d.ts +11 -0
- package/dist/components/calcite-tile-select-group.js +45 -0
- package/dist/components/calcite-tile-select.d.ts +11 -0
- package/dist/components/calcite-tile-select.js +218 -0
- package/dist/components/calcite-tile.d.ts +11 -0
- package/dist/components/calcite-tile.js +10 -0
- package/dist/components/calcite-tile2.js +98 -0
- package/dist/components/calcite-time-picker.d.ts +11 -0
- package/dist/components/calcite-time-picker.js +10 -0
- package/dist/components/calcite-time-picker2.js +707 -0
- package/dist/components/calcite-tip-group.d.ts +11 -0
- package/dist/components/calcite-tip-group.js +38 -0
- package/dist/components/calcite-tip-manager.d.ts +11 -0
- package/dist/components/calcite-tip-manager.js +218 -0
- package/dist/components/calcite-tip.d.ts +11 -0
- package/dist/components/calcite-tip.js +140 -0
- package/dist/components/calcite-tooltip-manager.d.ts +11 -0
- package/dist/components/calcite-tooltip-manager.js +10 -0
- package/dist/components/calcite-tooltip-manager2.js +168 -0
- package/dist/components/calcite-tooltip.d.ts +11 -0
- package/dist/components/calcite-tooltip.js +224 -0
- package/dist/components/calcite-tree-item.d.ts +11 -0
- package/dist/components/calcite-tree-item.js +303 -0
- package/dist/components/calcite-tree.d.ts +11 -0
- package/dist/components/calcite-tree.js +216 -0
- package/dist/components/calcite-value-list-item.d.ts +11 -0
- package/dist/components/calcite-value-list-item.js +180 -0
- package/dist/components/calcite-value-list.d.ts +11 -0
- package/dist/components/calcite-value-list.js +271 -0
- package/dist/components/date.js +159 -0
- package/dist/components/debounce.js +486 -0
- package/dist/components/dom.js +153 -0
- package/dist/components/forIn.js +619 -0
- package/dist/components/form.js +20 -0
- package/dist/components/guid.js +18 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +5 -0
- package/dist/components/interfaces.js +13 -0
- package/dist/components/interfaces2.js +14 -0
- package/dist/components/key.js +33 -0
- package/dist/components/label.js +54 -0
- package/dist/components/locale.js +118 -0
- package/dist/components/math.js +7 -0
- package/dist/components/number.js +40 -0
- package/dist/components/observers.js +22 -0
- package/dist/components/popper.js +1785 -0
- package/dist/components/resources.js +24 -0
- package/dist/components/resources2.js +13 -0
- package/dist/components/resources3.js +18 -0
- package/dist/components/resources4.js +32 -0
- package/dist/components/shared-list-render.js +286 -0
- package/dist/components/sortable.esm.js +3017 -0
- package/dist/components/utils.js +113 -0
- package/dist/components/utils2.js +38 -0
- package/dist/custom-elements/index.js +5613 -5451
- package/dist/esm/CalciteExpandToggle-151a563a.js +87 -0
- package/dist/esm/CalciteHeading-1735f17a.js +16 -0
- package/dist/esm/array-91a648e2.js +9 -0
- package/dist/esm/calcite-accordion_2.entry.js +10 -6
- package/dist/esm/calcite-action-bar.entry.js +33 -23
- package/dist/esm/calcite-action-group.entry.js +10 -6
- package/dist/esm/calcite-action-menu.entry.js +15 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -7
- package/dist/esm/calcite-action.entry.js +12 -12
- package/dist/esm/calcite-alert.entry.js +10 -6
- package/dist/esm/calcite-avatar.entry.js +9 -5
- package/dist/esm/calcite-block_2.entry.js +38 -31
- package/dist/esm/calcite-button.entry.js +63 -40
- package/dist/esm/calcite-card.entry.js +9 -5
- package/dist/esm/calcite-checkbox.entry.js +28 -35
- package/dist/esm/calcite-chip.entry.js +8 -4
- package/dist/esm/calcite-color-picker_3.entry.js +18 -14
- package/dist/esm/calcite-combobox_3.entry.js +36 -31
- package/dist/esm/calcite-date-picker_4.entry.js +19 -15
- package/dist/esm/calcite-dropdown_3.entry.js +49 -40
- package/dist/esm/calcite-fab.entry.js +8 -4
- package/dist/esm/calcite-filter.entry.js +14 -10
- package/dist/esm/calcite-flow.entry.js +7 -3
- package/dist/esm/calcite-graph_2.entry.js +80 -31
- package/dist/esm/calcite-handle.entry.js +6 -2
- package/dist/esm/calcite-icon.entry.js +9 -5
- package/dist/esm/calcite-inline-editable.entry.js +28 -17
- package/dist/esm/calcite-input-date-picker.entry.js +32 -22
- package/dist/esm/calcite-input-message.entry.js +8 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +26 -22
- package/dist/esm/calcite-input.entry.js +30 -25
- package/dist/esm/calcite-label.entry.js +20 -78
- package/dist/esm/calcite-link.entry.js +14 -4
- package/dist/esm/calcite-list_3.entry.js +33 -8
- package/dist/esm/calcite-loader.entry.js +8 -4
- package/dist/esm/calcite-modal.entry.js +10 -6
- package/dist/esm/calcite-notice.entry.js +10 -6
- package/dist/esm/calcite-option_3.entry.js +17 -15
- package/dist/esm/calcite-pagination.entry.js +8 -4
- package/dist/esm/calcite-panel.entry.js +12 -8
- package/dist/esm/calcite-pick-list_3.entry.js +16 -12
- package/dist/esm/calcite-popover_2.entry.js +11 -7
- package/dist/esm/calcite-progress.entry.js +6 -2
- package/dist/esm/calcite-radio-button-group.entry.js +6 -2
- package/dist/esm/calcite-radio-group_2.entry.js +27 -25
- package/dist/esm/calcite-radio_2.entry.js +57 -30
- package/dist/esm/calcite-rating.entry.js +23 -11
- package/dist/esm/calcite-scrim.entry.js +6 -2
- package/dist/esm/calcite-shell_3.entry.js +10 -6
- package/dist/esm/calcite-sortable-list.entry.js +27 -6
- package/dist/esm/calcite-split-button.entry.js +8 -4
- package/dist/esm/calcite-stepper_2.entry.js +11 -7
- package/dist/esm/calcite-switch.entry.js +46 -39
- package/dist/esm/calcite-tab_4.entry.js +15 -11
- package/dist/esm/calcite-tile-select_2.entry.js +26 -9
- package/dist/esm/calcite-tile.entry.js +9 -5
- package/dist/esm/calcite-tip_3.entry.js +12 -8
- package/dist/esm/calcite-tooltip_2.entry.js +14 -9
- package/dist/esm/calcite-tree_2.entry.js +30 -6
- package/dist/esm/calcite-value-list_2.entry.js +14 -10
- package/dist/esm/calcite.js +7 -3
- package/dist/esm/debounce-79648d42.js +486 -0
- package/dist/esm/dom-f24e866c.js +153 -0
- package/dist/esm/forIn-48d8fb84.js +619 -0
- package/dist/esm/form-cee9f632.js +20 -0
- package/dist/esm/guid-196bd5ea.js +18 -0
- package/dist/esm/index-d653c37f.js +2033 -0
- package/dist/esm/index.js +4 -1
- package/dist/esm/interfaces-51dc4e1b.js +13 -0
- package/dist/esm/key-69001a68.js +33 -0
- package/dist/esm/label-bb61bdef.js +54 -0
- package/dist/esm/loader.js +7 -3
- package/dist/esm/locale-6c1b85c7.js +118 -0
- package/dist/esm/math-250d4476.js +7 -0
- package/dist/esm/number-e7393766.js +40 -0
- package/dist/esm/observers-8f0bc419.js +20 -0
- package/dist/esm/popper-7499ea4f.js +1785 -0
- package/dist/esm/resources-3b481489.js +216 -0
- package/dist/esm/resources-510eed1a.js +325 -0
- package/dist/esm/resources-584acd9b.js +17 -0
- package/dist/esm/resources-7c6029b6.js +16 -0
- package/dist/esm/sortable.esm-04824d33.js +3017 -0
- package/dist/esm/utils-6beb0662.js +113 -0
- package/dist/esm-es5/CalciteExpandToggle-151a563a.js +5 -0
- package/dist/esm-es5/CalciteHeading-1735f17a.js +5 -0
- package/dist/esm-es5/array-91a648e2.js +5 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +5 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +5 -1
- package/dist/esm-es5/calcite-action-group.entry.js +5 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +5 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +5 -1
- package/dist/esm-es5/calcite-action.entry.js +5 -1
- package/dist/esm-es5/calcite-alert.entry.js +5 -1
- package/dist/esm-es5/calcite-avatar.entry.js +5 -1
- package/dist/esm-es5/calcite-block_2.entry.js +5 -1
- package/dist/esm-es5/calcite-button.entry.js +5 -1
- package/dist/esm-es5/calcite-card.entry.js +5 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +5 -1
- package/dist/esm-es5/calcite-chip.entry.js +5 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +5 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +5 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +5 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +5 -1
- package/dist/esm-es5/calcite-fab.entry.js +5 -1
- package/dist/esm-es5/calcite-filter.entry.js +5 -1
- package/dist/esm-es5/calcite-flow.entry.js +5 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +5 -1
- package/dist/esm-es5/calcite-handle.entry.js +5 -1
- package/dist/esm-es5/calcite-icon.entry.js +5 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +5 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +5 -1
- package/dist/esm-es5/calcite-input-message.entry.js +5 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +5 -1
- package/dist/esm-es5/calcite-input.entry.js +5 -1
- package/dist/esm-es5/calcite-label.entry.js +5 -1
- package/dist/esm-es5/calcite-link.entry.js +5 -1
- package/dist/esm-es5/calcite-list_3.entry.js +5 -1
- package/dist/esm-es5/calcite-loader.entry.js +5 -1
- package/dist/esm-es5/calcite-modal.entry.js +5 -1
- package/dist/esm-es5/calcite-notice.entry.js +5 -1
- package/dist/esm-es5/calcite-option_3.entry.js +5 -1
- package/dist/esm-es5/calcite-pagination.entry.js +5 -1
- package/dist/esm-es5/calcite-panel.entry.js +5 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +5 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +5 -1
- package/dist/esm-es5/calcite-progress.entry.js +5 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +5 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +5 -1
- package/dist/esm-es5/calcite-radio_2.entry.js +5 -1
- package/dist/esm-es5/calcite-rating.entry.js +5 -1
- package/dist/esm-es5/calcite-scrim.entry.js +5 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +5 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +5 -1
- package/dist/esm-es5/calcite-split-button.entry.js +5 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +5 -1
- package/dist/esm-es5/calcite-switch.entry.js +5 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +5 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +5 -1
- package/dist/esm-es5/calcite-tile.entry.js +5 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +5 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +5 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +5 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +5 -1
- package/dist/esm-es5/calcite.js +5 -1
- package/dist/esm-es5/debounce-79648d42.js +5 -0
- package/dist/esm-es5/dom-f24e866c.js +5 -0
- package/dist/esm-es5/forIn-48d8fb84.js +5 -0
- package/dist/esm-es5/form-cee9f632.js +5 -0
- package/dist/esm-es5/guid-196bd5ea.js +5 -0
- package/dist/esm-es5/index-d653c37f.js +5 -0
- package/dist/esm-es5/index.js +4 -0
- package/dist/esm-es5/interfaces-51dc4e1b.js +5 -0
- package/dist/esm-es5/key-69001a68.js +5 -0
- package/dist/esm-es5/label-bb61bdef.js +5 -0
- package/dist/esm-es5/loader.js +5 -1
- package/dist/esm-es5/locale-6c1b85c7.js +5 -0
- package/dist/esm-es5/math-250d4476.js +5 -0
- package/dist/esm-es5/number-e7393766.js +5 -0
- package/dist/esm-es5/observers-8f0bc419.js +5 -0
- package/dist/esm-es5/popper-7499ea4f.js +5 -0
- package/dist/esm-es5/resources-3b481489.js +5 -0
- package/dist/esm-es5/resources-510eed1a.js +5 -0
- package/dist/esm-es5/resources-584acd9b.js +5 -0
- package/dist/esm-es5/resources-7c6029b6.js +5 -0
- package/dist/esm-es5/sortable.esm-04824d33.js +11 -0
- package/dist/esm-es5/utils-6beb0662.js +5 -0
- package/dist/extras/docs-json.json +624 -218
- package/dist/loader/cdn.js +4 -1
- package/dist/loader/index.cjs.js +4 -1
- package/dist/loader/index.d.ts +0 -1
- package/dist/loader/index.es2017.js +4 -1
- package/dist/loader/index.js +4 -1
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +3 -0
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +3 -0
- package/dist/types/components/calcite-action/calcite-action.d.ts +3 -3
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +8 -4
- package/dist/types/components/calcite-action-bar/utils.d.ts +1 -0
- package/dist/types/components/calcite-block/calcite-block.d.ts +1 -1
- package/dist/types/components/calcite-block/resources.d.ts +2 -0
- package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +1 -1
- package/dist/types/components/calcite-button/calcite-button.d.ts +16 -3
- package/dist/types/components/calcite-card/calcite-card.d.ts +1 -1
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +14 -5
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +2 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +7 -1
- package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -0
- package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +3 -0
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +8 -5
- package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +3 -0
- package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +3 -0
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +2 -2
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +8 -3
- package/dist/types/components/calcite-input/calcite-input.d.ts +4 -1
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +6 -1
- package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +3 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +6 -5
- package/dist/types/components/calcite-label/calcite-label.d.ts +8 -5
- package/dist/types/components/calcite-label/resources.d.ts +3 -0
- package/dist/types/components/calcite-link/calcite-link.d.ts +3 -2
- package/dist/types/components/calcite-list/calcite-list.d.ts +3 -0
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
- package/dist/types/components/calcite-option-group/calcite-option-group.d.ts +3 -0
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +8 -7
- package/dist/types/components/calcite-popover/calcite-popover.d.ts +3 -0
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +15 -5
- package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +3 -0
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +9 -3
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +6 -2
- package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +3 -0
- package/dist/types/components/calcite-select/calcite-select.d.ts +8 -4
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +2 -2
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +1 -1
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +1 -1
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +29 -3
- package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +6 -1
- package/dist/types/components/calcite-sortable-list/resources.d.ts +3 -0
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
- package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +3 -0
- package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +3 -0
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +17 -6
- package/dist/types/components/calcite-tab/calcite-tab.d.ts +3 -0
- package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +3 -0
- package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +3 -0
- package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +2 -1
- package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +13 -5
- package/dist/types/components/calcite-tile-select-group/calcite-tile-select-group.d.ts +3 -0
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +1 -0
- package/dist/types/components/calcite-tip-group/calcite-tip-group.d.ts +3 -0
- package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +3 -0
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +1 -1
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components.d.ts +64 -12
- package/dist/types/preact.d.ts +14 -9
- package/dist/types/utils/dom.d.ts +0 -1
- package/dist/types/utils/label.d.ts +30 -0
- package/dist/types/utils/number.d.ts +0 -1
- package/dist/types/utils/resources.d.ts +7 -0
- package/hydrate/index.js +5896 -5642
- package/package.json +43 -43
- package/readme.md +6 -4
- package/CHANGELOG.md +0 -1402
- package/dist/calcite/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/squareF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/calcite/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/calcite/p-02c649a5.system.entry.js +0 -1
- package/dist/calcite/p-02d538d1.entry.js +0 -1
- package/dist/calcite/p-02f6769f.system.entry.js +0 -1
- package/dist/calcite/p-04907920.entry.js +0 -1
- package/dist/calcite/p-0ae16e31.js +0 -1
- package/dist/calcite/p-0bc4ed41.system.entry.js +0 -1
- package/dist/calcite/p-0ea81e18.entry.js +0 -1
- package/dist/calcite/p-1020aed8.system.js +0 -1
- package/dist/calcite/p-14928bee.entry.js +0 -1
- package/dist/calcite/p-150bb224.entry.js +0 -1
- package/dist/calcite/p-16b4f190.entry.js +0 -1
- package/dist/calcite/p-18a62b5e.js +0 -1
- package/dist/calcite/p-19029579.system.entry.js +0 -1
- package/dist/calcite/p-19ac376f.js +0 -1
- package/dist/calcite/p-1c01cf8d.system.entry.js +0 -1
- package/dist/calcite/p-2189146d.entry.js +0 -1
- package/dist/calcite/p-2321f7fa.system.entry.js +0 -1
- package/dist/calcite/p-263e9c6f.js +0 -1
- package/dist/calcite/p-26e364ee.entry.js +0 -1
- package/dist/calcite/p-27c361d6.system.entry.js +0 -1
- package/dist/calcite/p-2a9b4a25.system.js +0 -1
- package/dist/calcite/p-2c235db8.system.js +0 -1
- package/dist/calcite/p-305a19fa.entry.js +0 -1
- package/dist/calcite/p-3426e87b.system.js +0 -1
- package/dist/calcite/p-34ca7837.entry.js +0 -1
- package/dist/calcite/p-35123e65.system.entry.js +0 -1
- package/dist/calcite/p-354fbadd.js +0 -1
- package/dist/calcite/p-35808614.entry.js +0 -1
- package/dist/calcite/p-366f02bb.system.entry.js +0 -1
- package/dist/calcite/p-379334be.entry.js +0 -1
- package/dist/calcite/p-3aa13327.system.entry.js +0 -1
- package/dist/calcite/p-3bd42f9c.system.entry.js +0 -1
- package/dist/calcite/p-3c9923f1.system.js +0 -1
- package/dist/calcite/p-3ebef7b9.system.entry.js +0 -1
- package/dist/calcite/p-3fbf2d34.system.entry.js +0 -1
- package/dist/calcite/p-42da7fef.entry.js +0 -1
- package/dist/calcite/p-43012e6b.entry.js +0 -1
- package/dist/calcite/p-43a9faca.js +0 -1
- package/dist/calcite/p-447a908d.system.entry.js +0 -1
- package/dist/calcite/p-482ec054.system.js +0 -1
- package/dist/calcite/p-4ae01d80.js +0 -1
- package/dist/calcite/p-4bd1f1b7.system.entry.js +0 -1
- package/dist/calcite/p-4bea77bd.entry.js +0 -1
- package/dist/calcite/p-4f542f6c.system.entry.js +0 -1
- package/dist/calcite/p-4fbdd4ed.system.entry.js +0 -1
- package/dist/calcite/p-4fda49e6.js +0 -1
- package/dist/calcite/p-50ea2036.system.js +0 -1
- package/dist/calcite/p-5147562c.entry.js +0 -1
- package/dist/calcite/p-526c2f38.entry.js +0 -1
- package/dist/calcite/p-531b9a81.system.entry.js +0 -1
- package/dist/calcite/p-53caa311.system.js +0 -1
- package/dist/calcite/p-555f1009.entry.js +0 -1
- package/dist/calcite/p-559ffa87.js +0 -1
- package/dist/calcite/p-571c8d5f.system.entry.js +0 -1
- package/dist/calcite/p-58421494.js +0 -1
- package/dist/calcite/p-585030e9.entry.js +0 -1
- package/dist/calcite/p-5890d56b.system.js +0 -1
- package/dist/calcite/p-58cd3aa4.system.entry.js +0 -1
- package/dist/calcite/p-58d7d786.entry.js +0 -1
- package/dist/calcite/p-5a1b0338.system.js +0 -1
- package/dist/calcite/p-5b3d5565.entry.js +0 -1
- package/dist/calcite/p-5b7ef513.system.js +0 -1
- package/dist/calcite/p-5bf979dd.system.entry.js +0 -1
- package/dist/calcite/p-5c8268a5.system.entry.js +0 -1
- package/dist/calcite/p-5e040210.system.entry.js +0 -1
- package/dist/calcite/p-61ef4e27.entry.js +0 -1
- package/dist/calcite/p-637546fe.system.entry.js +0 -1
- package/dist/calcite/p-66fb0f5c.system.entry.js +0 -1
- package/dist/calcite/p-686d30d5.entry.js +0 -1
- package/dist/calcite/p-6ce45b41.system.entry.js +0 -1
- package/dist/calcite/p-6ded92ba.entry.js +0 -1
- package/dist/calcite/p-6e967236.system.entry.js +0 -1
- package/dist/calcite/p-706789ab.entry.js +0 -1
- package/dist/calcite/p-7084ba72.system.entry.js +0 -1
- package/dist/calcite/p-728c556a.system.entry.js +0 -1
- package/dist/calcite/p-78114ad4.system.js +0 -1
- package/dist/calcite/p-79783728.entry.js +0 -1
- package/dist/calcite/p-7ac27798.entry.js +0 -1
- package/dist/calcite/p-7c4f8734.entry.js +0 -1
- package/dist/calcite/p-7c5b7019.system.entry.js +0 -1
- package/dist/calcite/p-7ccd0a77.entry.js +0 -1
- package/dist/calcite/p-7d11fed5.system.entry.js +0 -1
- package/dist/calcite/p-8123a8de.system.entry.js +0 -1
- package/dist/calcite/p-82a11724.system.js +0 -7
- package/dist/calcite/p-83a36e7e.entry.js +0 -1
- package/dist/calcite/p-86a81245.entry.js +0 -1
- package/dist/calcite/p-8782aa79.entry.js +0 -1
- package/dist/calcite/p-8958d1f6.system.js +0 -1
- package/dist/calcite/p-8a30b93d.system.js +0 -1
- package/dist/calcite/p-8aa77a54.system.entry.js +0 -1
- package/dist/calcite/p-8edd2a46.entry.js +0 -1
- package/dist/calcite/p-904e8561.system.entry.js +0 -1
- package/dist/calcite/p-90dd374c.entry.js +0 -1
- package/dist/calcite/p-92d12490.system.entry.js +0 -1
- package/dist/calcite/p-95dfb659.system.js +0 -1
- package/dist/calcite/p-96deb83e.entry.js +0 -1
- package/dist/calcite/p-9705826b.system.entry.js +0 -1
- package/dist/calcite/p-98093b17.system.js +0 -1
- package/dist/calcite/p-992b162e.system.entry.js +0 -1
- package/dist/calcite/p-9981e8ba.system.entry.js +0 -1
- package/dist/calcite/p-a0eb3011.system.entry.js +0 -1
- package/dist/calcite/p-a177a64e.system.entry.js +0 -1
- package/dist/calcite/p-a283b1c6.entry.js +0 -1
- package/dist/calcite/p-a30026d4.system.entry.js +0 -1
- package/dist/calcite/p-a460e3dc.entry.js +0 -1
- package/dist/calcite/p-a480f5f5.entry.js +0 -1
- package/dist/calcite/p-a4e6e35b.js +0 -1
- package/dist/calcite/p-a55bf19e.system.entry.js +0 -1
- package/dist/calcite/p-a57a7f49.js +0 -7
- package/dist/calcite/p-a6b26bd1.system.js +0 -1
- package/dist/calcite/p-a7223dde.system.entry.js +0 -1
- package/dist/calcite/p-a7a7301d.system.js +0 -1
- package/dist/calcite/p-a8650c17.system.js +0 -1
- package/dist/calcite/p-a9dc52c5.system.entry.js +0 -1
- package/dist/calcite/p-a9fdf90b.entry.js +0 -1
- package/dist/calcite/p-abde34ef.entry.js +0 -1
- package/dist/calcite/p-ad0d9ffd.system.entry.js +0 -1
- package/dist/calcite/p-ad6cf121.entry.js +0 -1
- package/dist/calcite/p-b0f098a0.system.entry.js +0 -1
- package/dist/calcite/p-b2425e21.js +0 -1
- package/dist/calcite/p-b4f7d8b4.entry.js +0 -1
- package/dist/calcite/p-b86463e6.system.entry.js +0 -1
- package/dist/calcite/p-bb8ace16.js +0 -1
- package/dist/calcite/p-bfbf665b.entry.js +0 -1
- package/dist/calcite/p-c004bc39.entry.js +0 -1
- package/dist/calcite/p-c280abae.js +0 -1
- package/dist/calcite/p-c33e39c2.system.entry.js +0 -1
- package/dist/calcite/p-c47fe2f9.js +0 -1
- package/dist/calcite/p-c76539cc.system.js +0 -1
- package/dist/calcite/p-c7ea4ec6.system.entry.js +0 -1
- package/dist/calcite/p-caf80cd7.js +0 -1
- package/dist/calcite/p-cc08771d.system.entry.js +0 -1
- package/dist/calcite/p-cda2cefc.system.entry.js +0 -1
- package/dist/calcite/p-cebd4de5.js +0 -1
- package/dist/calcite/p-cf0cbd74.entry.js +0 -1
- package/dist/calcite/p-d06530e0.js +0 -1
- package/dist/calcite/p-d53c2d2e.system.js +0 -1
- package/dist/calcite/p-d7b7568e.entry.js +0 -1
- package/dist/calcite/p-d7cbb59a.system.entry.js +0 -1
- package/dist/calcite/p-d81e8789.system.entry.js +0 -1
- package/dist/calcite/p-d858b7ab.js +0 -1
- package/dist/calcite/p-dbed3773.system.entry.js +0 -1
- package/dist/calcite/p-dda58d1e.system.js +0 -1
- package/dist/calcite/p-de09a642.entry.js +0 -1
- package/dist/calcite/p-dea887e3.entry.js +0 -1
- package/dist/calcite/p-defdc464.system.js +0 -1
- package/dist/calcite/p-dfb998cc.js +0 -1
- package/dist/calcite/p-e14d8072.entry.js +0 -1
- package/dist/calcite/p-e55e3009.system.entry.js +0 -1
- package/dist/calcite/p-ea51eaaa.js +0 -1
- package/dist/calcite/p-eaf3e528.entry.js +0 -1
- package/dist/calcite/p-ec7b5fc8.entry.js +0 -1
- package/dist/calcite/p-ed1489e0.entry.js +0 -1
- package/dist/calcite/p-eec0ed2d.entry.js +0 -1
- package/dist/calcite/p-ef5258e2.entry.js +0 -1
- package/dist/calcite/p-f2ac9b97.entry.js +0 -1
- package/dist/calcite/p-f435f61e.entry.js +0 -1
- package/dist/calcite/p-f83a9cac.system.entry.js +0 -1
- package/dist/calcite/p-f9775a9d.entry.js +0 -1
- package/dist/calcite/p-fd59e605.system.entry.js +0 -1
- package/dist/cjs/CalciteExpandToggle-f2905eb5.js +0 -88
- package/dist/cjs/CalciteHeading-cf7944a6.js +0 -15
- package/dist/cjs/array-4fc5abfa.js +0 -7
- package/dist/cjs/debounce-11980960.js +0 -491
- package/dist/cjs/dom-57231db9.js +0 -167
- package/dist/cjs/forIn-46535ded.js +0 -618
- package/dist/cjs/form-432ae178.js +0 -18
- package/dist/cjs/guid-4637ad8f.js +0 -16
- package/dist/cjs/index-98b8a879.js +0 -2055
- package/dist/cjs/interfaces-bc0f5779.js +0 -9
- package/dist/cjs/key-f470de4c.js +0 -33
- package/dist/cjs/locale-eb4486ae.js +0 -119
- package/dist/cjs/math-750406eb.js +0 -5
- package/dist/cjs/number-77308374.js +0 -45
- package/dist/cjs/observers-88b3a2d4.js +0 -18
- package/dist/cjs/popper-501d0df7.js +0 -1786
- package/dist/cjs/resources-3c13555a.js +0 -228
- package/dist/cjs/resources-76637167.js +0 -17
- package/dist/cjs/resources-ae299e51.js +0 -16
- package/dist/cjs/resources-ca69ec04.js +0 -342
- package/dist/cjs/sortable.esm-bcce1d94.js +0 -3015
- package/dist/cjs/utils-d549a0a9.js +0 -119
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +0 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +0 -1
- package/dist/custom-elements/bundles/accordion.d.ts +0 -1
- package/dist/custom-elements/bundles/accordion.js +0 -5
- package/dist/custom-elements/bundles/action-bar.d.ts +0 -1
- package/dist/custom-elements/bundles/action-bar.js +0 -5
- package/dist/custom-elements/bundles/action-menu.d.ts +0 -1
- package/dist/custom-elements/bundles/action-menu.js +0 -5
- package/dist/custom-elements/bundles/action-pad.d.ts +0 -1
- package/dist/custom-elements/bundles/action-pad.js +0 -5
- package/dist/custom-elements/bundles/action.d.ts +0 -1
- package/dist/custom-elements/bundles/action.js +0 -5
- package/dist/custom-elements/bundles/alert.d.ts +0 -1
- package/dist/custom-elements/bundles/alert.js +0 -5
- package/dist/custom-elements/bundles/avatar.d.ts +0 -1
- package/dist/custom-elements/bundles/avatar.js +0 -5
- package/dist/custom-elements/bundles/block.d.ts +0 -1
- package/dist/custom-elements/bundles/block.js +0 -5
- package/dist/custom-elements/bundles/button.d.ts +0 -1
- package/dist/custom-elements/bundles/button.js +0 -5
- package/dist/custom-elements/bundles/card.d.ts +0 -1
- package/dist/custom-elements/bundles/card.js +0 -5
- package/dist/custom-elements/bundles/checkbox.d.ts +0 -1
- package/dist/custom-elements/bundles/checkbox.js +0 -5
- package/dist/custom-elements/bundles/chip.d.ts +0 -1
- package/dist/custom-elements/bundles/chip.js +0 -5
- package/dist/custom-elements/bundles/color-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/color-picker.js +0 -5
- package/dist/custom-elements/bundles/combobox.d.ts +0 -1
- package/dist/custom-elements/bundles/combobox.js +0 -5
- package/dist/custom-elements/bundles/date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/date-picker.js +0 -5
- package/dist/custom-elements/bundles/dropdown.d.ts +0 -1
- package/dist/custom-elements/bundles/dropdown.js +0 -5
- package/dist/custom-elements/bundles/fab.d.ts +0 -1
- package/dist/custom-elements/bundles/fab.js +0 -5
- package/dist/custom-elements/bundles/flow.d.ts +0 -1
- package/dist/custom-elements/bundles/flow.js +0 -5
- package/dist/custom-elements/bundles/icon.d.ts +0 -1
- package/dist/custom-elements/bundles/icon.js +0 -5
- package/dist/custom-elements/bundles/inline-editable.d.ts +0 -1
- package/dist/custom-elements/bundles/inline-editable.js +0 -5
- package/dist/custom-elements/bundles/input-date-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-date-picker.js +0 -5
- package/dist/custom-elements/bundles/input-message.d.ts +0 -1
- package/dist/custom-elements/bundles/input-message.js +0 -5
- package/dist/custom-elements/bundles/input-time-picker.d.ts +0 -1
- package/dist/custom-elements/bundles/input-time-picker.js +0 -5
- package/dist/custom-elements/bundles/input.d.ts +0 -1
- package/dist/custom-elements/bundles/input.js +0 -5
- package/dist/custom-elements/bundles/label.d.ts +0 -1
- package/dist/custom-elements/bundles/label.js +0 -5
- package/dist/custom-elements/bundles/link.d.ts +0 -1
- package/dist/custom-elements/bundles/link.js +0 -5
- package/dist/custom-elements/bundles/list.d.ts +0 -1
- package/dist/custom-elements/bundles/list.js +0 -5
- package/dist/custom-elements/bundles/loader.d.ts +0 -1
- package/dist/custom-elements/bundles/loader.js +0 -5
- package/dist/custom-elements/bundles/modal.d.ts +0 -1
- package/dist/custom-elements/bundles/modal.js +0 -5
- package/dist/custom-elements/bundles/notice.d.ts +0 -1
- package/dist/custom-elements/bundles/notice.js +0 -5
- package/dist/custom-elements/bundles/pagination.d.ts +0 -1
- package/dist/custom-elements/bundles/pagination.js +0 -5
- package/dist/custom-elements/bundles/panel.d.ts +0 -1
- package/dist/custom-elements/bundles/panel.js +0 -5
- package/dist/custom-elements/bundles/pick-list.d.ts +0 -1
- package/dist/custom-elements/bundles/pick-list.js +0 -5
- package/dist/custom-elements/bundles/popover.d.ts +0 -1
- package/dist/custom-elements/bundles/popover.js +0 -5
- package/dist/custom-elements/bundles/progress.d.ts +0 -1
- package/dist/custom-elements/bundles/progress.js +0 -5
- package/dist/custom-elements/bundles/radio-button-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button-group.js +0 -5
- package/dist/custom-elements/bundles/radio-button.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-button.js +0 -5
- package/dist/custom-elements/bundles/radio-group.d.ts +0 -1
- package/dist/custom-elements/bundles/radio-group.js +0 -5
- package/dist/custom-elements/bundles/rating.d.ts +0 -1
- package/dist/custom-elements/bundles/rating.js +0 -5
- package/dist/custom-elements/bundles/scrim.d.ts +0 -1
- package/dist/custom-elements/bundles/scrim.js +0 -5
- package/dist/custom-elements/bundles/select.d.ts +0 -1
- package/dist/custom-elements/bundles/select.js +0 -5
- package/dist/custom-elements/bundles/shell.d.ts +0 -1
- package/dist/custom-elements/bundles/shell.js +0 -5
- package/dist/custom-elements/bundles/slider.d.ts +0 -1
- package/dist/custom-elements/bundles/slider.js +0 -5
- package/dist/custom-elements/bundles/sortable-list.d.ts +0 -1
- package/dist/custom-elements/bundles/sortable-list.js +0 -5
- package/dist/custom-elements/bundles/split-button.d.ts +0 -1
- package/dist/custom-elements/bundles/split-button.js +0 -5
- package/dist/custom-elements/bundles/stepper.d.ts +0 -1
- package/dist/custom-elements/bundles/stepper.js +0 -5
- package/dist/custom-elements/bundles/switch.d.ts +0 -1
- package/dist/custom-elements/bundles/switch.js +0 -5
- package/dist/custom-elements/bundles/tab.d.ts +0 -1
- package/dist/custom-elements/bundles/tab.js +0 -5
- package/dist/custom-elements/bundles/tile-select-group.d.ts +0 -1
- package/dist/custom-elements/bundles/tile-select-group.js +0 -5
- package/dist/custom-elements/bundles/tile.d.ts +0 -1
- package/dist/custom-elements/bundles/tile.js +0 -5
- package/dist/custom-elements/bundles/tip.d.ts +0 -1
- package/dist/custom-elements/bundles/tip.js +0 -5
- package/dist/custom-elements/bundles/tooltip.d.ts +0 -1
- package/dist/custom-elements/bundles/tooltip.js +0 -5
- package/dist/custom-elements/bundles/tree.d.ts +0 -1
- package/dist/custom-elements/bundles/tree.js +0 -5
- package/dist/custom-elements/bundles/value-list.d.ts +0 -1
- package/dist/custom-elements/bundles/value-list.js +0 -5
- package/dist/custom-elements/index.mjs +0 -24376
- package/dist/custom-elements/utils.d.ts +0 -2
- package/dist/custom-elements/utils.js +0 -11
- package/dist/esm/CalciteExpandToggle-476279ee.js +0 -82
- package/dist/esm/CalciteHeading-ea5ec96c.js +0 -12
- package/dist/esm/array-af19adb2.js +0 -5
- package/dist/esm/debounce-047e09f4.js +0 -482
- package/dist/esm/dom-0b02c0cf.js +0 -149
- package/dist/esm/forIn-d55260fc.js +0 -615
- package/dist/esm/form-8aa0d95b.js +0 -16
- package/dist/esm/guid-09142681.js +0 -14
- package/dist/esm/index-1554a132.js +0 -2022
- package/dist/esm/interfaces-355fccb6.js +0 -9
- package/dist/esm/key-ec82f942.js +0 -29
- package/dist/esm/locale-8436bbe1.js +0 -114
- package/dist/esm/math-c8e7aa13.js +0 -3
- package/dist/esm/number-358ca1d4.js +0 -39
- package/dist/esm/observers-c93d4fe5.js +0 -16
- package/dist/esm/popper-ac27099f.js +0 -1781
- package/dist/esm/resources-037b842c.js +0 -321
- package/dist/esm/resources-82817f70.js +0 -13
- package/dist/esm/resources-a7a29b39.js +0 -212
- package/dist/esm/resources-c72ebfea.js +0 -12
- package/dist/esm/sortable.esm-2f5354d3.js +0 -3013
- package/dist/esm/utils-60acc1d6.js +0 -109
- package/dist/esm-es5/CalciteExpandToggle-476279ee.js +0 -1
- package/dist/esm-es5/CalciteHeading-ea5ec96c.js +0 -1
- package/dist/esm-es5/array-af19adb2.js +0 -1
- package/dist/esm-es5/debounce-047e09f4.js +0 -1
- package/dist/esm-es5/dom-0b02c0cf.js +0 -1
- package/dist/esm-es5/forIn-d55260fc.js +0 -1
- package/dist/esm-es5/form-8aa0d95b.js +0 -1
- package/dist/esm-es5/guid-09142681.js +0 -1
- package/dist/esm-es5/index-1554a132.js +0 -1
- package/dist/esm-es5/interfaces-355fccb6.js +0 -1
- package/dist/esm-es5/key-ec82f942.js +0 -1
- package/dist/esm-es5/locale-8436bbe1.js +0 -1
- package/dist/esm-es5/math-c8e7aa13.js +0 -1
- package/dist/esm-es5/number-358ca1d4.js +0 -1
- package/dist/esm-es5/observers-c93d4fe5.js +0 -1
- package/dist/esm-es5/popper-ac27099f.js +0 -1
- package/dist/esm-es5/resources-037b842c.js +0 -1
- package/dist/esm-es5/resources-82817f70.js +0 -1
- package/dist/esm-es5/resources-a7a29b39.js +0 -1
- package/dist/esm-es5/resources-c72ebfea.js +0 -1
- package/dist/esm-es5/sortable.esm-2f5354d3.js +0 -7
- package/dist/esm-es5/utils-60acc1d6.js +0 -1
- package/dist/types/components/calcite-label/interfaces.d.ts +0 -5
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
|
+
import { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getSlotted, h as ensureId, i as isCalciteFocusable } from './dom.js';
|
|
7
|
+
import { g as getKey } from './key.js';
|
|
8
|
+
import { c as createObserver } from './observers.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './calcite-icon2.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './calcite-loader2.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './calcite-scrim2.js';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Traverses the slots of the open shadowroots and returns all children matching the query.
|
|
15
|
+
* @param {ShadowRoot | HTMLElement} root
|
|
16
|
+
* @param skipNode
|
|
17
|
+
* @param isMatch
|
|
18
|
+
* @param {number} maxDepth
|
|
19
|
+
* @param {number} depth
|
|
20
|
+
* @returns {HTMLElement[]}
|
|
21
|
+
*/
|
|
22
|
+
function queryShadowRoot(root, skipNode, isMatch, maxDepth = 20, depth = 0) {
|
|
23
|
+
let matches = [];
|
|
24
|
+
// If the depth is above the max depth, abort the searching here.
|
|
25
|
+
if (depth >= maxDepth) {
|
|
26
|
+
return matches;
|
|
27
|
+
}
|
|
28
|
+
// Traverses a slot element
|
|
29
|
+
const traverseSlot = ($slot) => {
|
|
30
|
+
// Only check nodes that are of the type Node.ELEMENT_NODE
|
|
31
|
+
// Read more here https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
|
32
|
+
const assignedNodes = $slot.assignedNodes().filter(node => node.nodeType === 1);
|
|
33
|
+
if (assignedNodes.length > 0) {
|
|
34
|
+
return queryShadowRoot(assignedNodes[0].parentElement, skipNode, isMatch, maxDepth, depth + 1);
|
|
35
|
+
}
|
|
36
|
+
return [];
|
|
37
|
+
};
|
|
38
|
+
// Go through each child and continue the traversing if necessary
|
|
39
|
+
// Even though the typing says that children can't be undefined, Edge 15 sometimes gives an undefined value.
|
|
40
|
+
// Therefore we fallback to an empty array if it is undefined.
|
|
41
|
+
const children = Array.from(root.children || []);
|
|
42
|
+
for (const $child of children) {
|
|
43
|
+
// Check if the node and its descendants should be skipped
|
|
44
|
+
if (skipNode($child)) {
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
// If the child matches we always add it
|
|
48
|
+
if (isMatch($child)) {
|
|
49
|
+
matches.push($child);
|
|
50
|
+
}
|
|
51
|
+
if ($child.shadowRoot != null) {
|
|
52
|
+
matches.push(...queryShadowRoot($child.shadowRoot, skipNode, isMatch, maxDepth, depth + 1));
|
|
53
|
+
}
|
|
54
|
+
else if ($child.tagName === "SLOT") {
|
|
55
|
+
matches.push(...traverseSlot($child));
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
matches.push(...queryShadowRoot($child, skipNode, isMatch, maxDepth, depth + 1));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return matches;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Returns whether the element is hidden.
|
|
66
|
+
* @param $elem
|
|
67
|
+
*/
|
|
68
|
+
function isHidden($elem) {
|
|
69
|
+
return $elem.hasAttribute("hidden")
|
|
70
|
+
|| ($elem.hasAttribute("aria-hidden") && $elem.getAttribute("aria-hidden") !== "false")
|
|
71
|
+
// A quick and dirty way to check whether the element is hidden.
|
|
72
|
+
// For a more fine-grained check we could use "window.getComputedStyle" but we don't because of bad performance.
|
|
73
|
+
// If the element has visibility set to "hidden" or "collapse", display set to "none" or opacity set to "0" through CSS
|
|
74
|
+
// we won't be able to catch it here. We accept it due to the huge performance benefits.
|
|
75
|
+
|| $elem.style.display === `none`
|
|
76
|
+
|| $elem.style.opacity === `0`
|
|
77
|
+
|| $elem.style.visibility === `hidden`
|
|
78
|
+
|| $elem.style.visibility === `collapse`;
|
|
79
|
+
// If offsetParent is null we can assume that the element is hidden
|
|
80
|
+
// https://stackoverflow.com/questions/306305/what-would-make-offsetparent-null
|
|
81
|
+
//|| $elem.offsetParent == null;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Returns whether the element is disabled.
|
|
85
|
+
* @param $elem
|
|
86
|
+
*/
|
|
87
|
+
function isDisabled($elem) {
|
|
88
|
+
return $elem.hasAttribute("disabled")
|
|
89
|
+
|| ($elem.hasAttribute("aria-disabled") && $elem.getAttribute("aria-disabled") !== "false");
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Determines whether an element is focusable.
|
|
93
|
+
* Read more here: https://stackoverflow.com/questions/1599660/which-html-elements-can-receive-focus/1600194#1600194
|
|
94
|
+
* Or here: https://stackoverflow.com/questions/18261595/how-to-check-if-a-dom-element-is-focusable
|
|
95
|
+
* @param $elem
|
|
96
|
+
*/
|
|
97
|
+
function isFocusable($elem) {
|
|
98
|
+
// Discard elements that are removed from the tab order.
|
|
99
|
+
if ($elem.getAttribute("tabindex") === "-1" || isHidden($elem) || isDisabled($elem)) {
|
|
100
|
+
return false;
|
|
101
|
+
}
|
|
102
|
+
return (
|
|
103
|
+
// At this point we know that the element can have focus (eg. won't be -1) if the tabindex attribute exists
|
|
104
|
+
$elem.hasAttribute("tabindex")
|
|
105
|
+
// Anchor tags or area tags with a href set
|
|
106
|
+
|| ($elem instanceof HTMLAnchorElement || $elem instanceof HTMLAreaElement) && $elem.hasAttribute("href")
|
|
107
|
+
// Form elements which are not disabled
|
|
108
|
+
|| ($elem instanceof HTMLButtonElement
|
|
109
|
+
|| $elem instanceof HTMLInputElement
|
|
110
|
+
|| $elem instanceof HTMLTextAreaElement
|
|
111
|
+
|| $elem instanceof HTMLSelectElement)
|
|
112
|
+
// IFrames
|
|
113
|
+
|| $elem instanceof HTMLIFrameElement);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const CSS = {
|
|
117
|
+
title: "title",
|
|
118
|
+
header: "header",
|
|
119
|
+
footer: "footer",
|
|
120
|
+
scrim: "scrim",
|
|
121
|
+
back: "back",
|
|
122
|
+
close: "close",
|
|
123
|
+
secondary: "secondary",
|
|
124
|
+
primary: "primary",
|
|
125
|
+
overflowHidden: "overflow-hidden"
|
|
126
|
+
};
|
|
127
|
+
const ICONS = {
|
|
128
|
+
close: "x"
|
|
129
|
+
};
|
|
130
|
+
const SLOTS = {
|
|
131
|
+
content: "content",
|
|
132
|
+
header: "header",
|
|
133
|
+
back: "back",
|
|
134
|
+
secondary: "secondary",
|
|
135
|
+
primary: "primary"
|
|
136
|
+
};
|
|
137
|
+
const TEXT = {
|
|
138
|
+
close: "Close"
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
const calciteModalCss = "@-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:300ms}.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:150ms ease-in-out}:host([hidden]){display:none}:host{position:fixed;top:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms 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:0;right:0;bottom:0;left:0;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);box-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);-webkit-box-sizing:border-box;box-sizing:border-box;float:none;margin:1.5rem;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);width:100%;opacity:0;pointer-events:none;overflow:hidden;z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms 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{opacity:1;pointer-events:auto;visibility:visible;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;max-width:100%;min-width:0;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);border-width:0;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;color:var(--calcite-ui-text-3);-ms-flex-order:2;order:2;cursor:pointer;border-top-right-radius:0.25rem;background-color:transparent;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;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.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)}.calcite--rtl .close{border-top-left-radius:0.25rem;border-top-right-radius:0}.title{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-order:1;order:1;min-width:0;-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:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;padding:0;height:100%;overflow:auto;display:block;background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;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{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;width:100%;background-color:var(--calcite-ui-foreground-1);border-width:0;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);-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;margin-right:auto}.calcite--rtl .back{margin-left:auto;margin-right:0}.secondary{display:block;margin-left:0.25rem;margin-right:0.25rem}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{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}: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{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}: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{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;border-radius:0}: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{height:100%;max-height:100%;width:100%;max-width:100%;margin:0;-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-radius:0 var(--calcite-border-radius) 0 0}}@media screen and (max-width: 860px){:host([docked]) .calcite--rtl .close{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}}: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:0;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0;border-bottom-left-radius:0}@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:0}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.calcite--rtl .back,.back,.secondary{margin:0;margin-bottom:0.25rem}}";
|
|
142
|
+
|
|
143
|
+
const isFocusableExtended = (el) => {
|
|
144
|
+
return isCalciteFocusable(el) || isFocusable(el);
|
|
145
|
+
};
|
|
146
|
+
const getFocusableElements = (el) => {
|
|
147
|
+
return queryShadowRoot(el, isHidden, isFocusableExtended);
|
|
148
|
+
};
|
|
149
|
+
let CalciteModal$1 = class extends HTMLElement {
|
|
150
|
+
constructor() {
|
|
151
|
+
super();
|
|
152
|
+
this.__registerHost();
|
|
153
|
+
attachShadow(this);
|
|
154
|
+
this.calciteModalOpen = createEvent(this, "calciteModalOpen", 7);
|
|
155
|
+
this.calciteModalClose = createEvent(this, "calciteModalClose", 7);
|
|
156
|
+
//--------------------------------------------------------------------------
|
|
157
|
+
//
|
|
158
|
+
// Properties
|
|
159
|
+
//
|
|
160
|
+
//--------------------------------------------------------------------------
|
|
161
|
+
/** Add the active attribute to open the modal */
|
|
162
|
+
this.active = false;
|
|
163
|
+
/** Optionally pass a function to run before close */
|
|
164
|
+
this.beforeClose = () => Promise.resolve();
|
|
165
|
+
/** Disables the display a close button within the Modal */
|
|
166
|
+
this.disableCloseButton = false;
|
|
167
|
+
/** Disables the closing of the Modal when clicked outside. */
|
|
168
|
+
this.disableOutsideClose = false;
|
|
169
|
+
/** Aria label for the close button */
|
|
170
|
+
this.intlClose = TEXT.close;
|
|
171
|
+
/** Flag to disable the default close on escape behavior */
|
|
172
|
+
this.disableEscape = false;
|
|
173
|
+
/** specify the scale of modal, defaults to m */
|
|
174
|
+
this.scale = "m";
|
|
175
|
+
/** Set the width of the modal. Can use stock sizes or pass a number (in pixels) */
|
|
176
|
+
this.width = "m";
|
|
177
|
+
/** Background color of modal content */
|
|
178
|
+
this.backgroundColor = "white";
|
|
179
|
+
/** Turn off spacing around the content area slot */
|
|
180
|
+
this.noPadding = false;
|
|
181
|
+
//--------------------------------------------------------------------------
|
|
182
|
+
//
|
|
183
|
+
// Variables
|
|
184
|
+
//
|
|
185
|
+
//--------------------------------------------------------------------------
|
|
186
|
+
this.hasFooter = true;
|
|
187
|
+
this.mutationObserver = createObserver("mutation", () => this.updateFooterVisibility());
|
|
188
|
+
this.activeTransitionProp = "opacity";
|
|
189
|
+
//--------------------------------------------------------------------------
|
|
190
|
+
//
|
|
191
|
+
// Private Methods
|
|
192
|
+
//
|
|
193
|
+
//--------------------------------------------------------------------------
|
|
194
|
+
this.transitionEnd = (event) => {
|
|
195
|
+
if (event.propertyName === this.activeTransitionProp) {
|
|
196
|
+
this.active ? this.calciteModalOpen.emit() : this.calciteModalClose.emit();
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
this.openEnd = () => {
|
|
200
|
+
this.setFocus();
|
|
201
|
+
this.el.removeEventListener("calciteModalOpen", this.openEnd);
|
|
202
|
+
};
|
|
203
|
+
this.handleOutsideClose = () => {
|
|
204
|
+
if (this.disableOutsideClose) {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
this.close();
|
|
208
|
+
};
|
|
209
|
+
/** Close the modal, first running the `beforeClose` method */
|
|
210
|
+
this.close = () => {
|
|
211
|
+
return this.beforeClose(this.el).then(() => {
|
|
212
|
+
this.active = false;
|
|
213
|
+
focusElement(this.previousActiveElement);
|
|
214
|
+
this.removeOverflowHiddenClass();
|
|
215
|
+
});
|
|
216
|
+
};
|
|
217
|
+
this.focusFirstElement = () => {
|
|
218
|
+
focusElement(this.closeButtonEl);
|
|
219
|
+
};
|
|
220
|
+
this.focusLastElement = () => {
|
|
221
|
+
const focusableElements = getFocusableElements(this.el).filter((el) => !el.getAttribute("data-focus-fence"));
|
|
222
|
+
if (focusableElements.length > 0) {
|
|
223
|
+
focusElement(focusableElements[focusableElements.length - 1]);
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
focusElement(this.closeButtonEl);
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
this.updateFooterVisibility = () => {
|
|
230
|
+
this.hasFooter = !!this.el.querySelector(`[slot=${SLOTS.back}], [slot=${SLOTS.secondary}], [slot=${SLOTS.primary}]`);
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
//--------------------------------------------------------------------------
|
|
234
|
+
//
|
|
235
|
+
// Lifecycle
|
|
236
|
+
//
|
|
237
|
+
//--------------------------------------------------------------------------
|
|
238
|
+
componentWillLoad() {
|
|
239
|
+
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
240
|
+
if (this.active) {
|
|
241
|
+
this.open();
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
connectedCallback() {
|
|
245
|
+
var _a;
|
|
246
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
247
|
+
this.updateFooterVisibility();
|
|
248
|
+
}
|
|
249
|
+
disconnectedCallback() {
|
|
250
|
+
var _a;
|
|
251
|
+
this.removeOverflowHiddenClass();
|
|
252
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
253
|
+
}
|
|
254
|
+
render() {
|
|
255
|
+
const dir = getElementDir(this.el);
|
|
256
|
+
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("calcite-scrim", { class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: { modal: true, [CSS_UTILITY.rtl]: dir === "rtl" }, onTransitionEnd: this.transitionEnd }, h("div", { "data-focus-fence": true, onFocus: this.focusLastElement, tabindex: "0" }), h("div", { class: CSS.header }, this.renderCloseButton(), h("header", { class: CSS.title }, h("slot", { name: CSS.header }))), h("div", { class: {
|
|
257
|
+
content: true,
|
|
258
|
+
"content--spaced": !this.noPadding,
|
|
259
|
+
"content--no-footer": !this.hasFooter
|
|
260
|
+
}, ref: (el) => (this.modalContent = el) }, h("slot", { name: SLOTS.content })), this.renderFooter(), h("div", { "data-focus-fence": true, onFocus: this.focusFirstElement, tabindex: "0" }))));
|
|
261
|
+
}
|
|
262
|
+
renderFooter() {
|
|
263
|
+
return this.hasFooter ? (h("div", { class: CSS.footer }, h("span", { class: CSS.back }, h("slot", { name: SLOTS.back })), h("span", { class: CSS.secondary }, h("slot", { name: SLOTS.secondary })), h("span", { class: CSS.primary }, h("slot", { name: SLOTS.primary })))) : null;
|
|
264
|
+
}
|
|
265
|
+
renderCloseButton() {
|
|
266
|
+
return !this.disableCloseButton ? (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.intlClose }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : "l" }))) : null;
|
|
267
|
+
}
|
|
268
|
+
renderStyle() {
|
|
269
|
+
const hasCustomWidth = !isNaN(parseInt(`${this.width}`));
|
|
270
|
+
return hasCustomWidth ? (h("style", null, `
|
|
271
|
+
.modal {
|
|
272
|
+
max-width: ${this.width}px !important;
|
|
273
|
+
}
|
|
274
|
+
@media screen and (max-width: ${this.width}px) {
|
|
275
|
+
.modal {
|
|
276
|
+
height: 100% !important;
|
|
277
|
+
max-height: 100% !important;
|
|
278
|
+
width: 100% !important;
|
|
279
|
+
max-width: 100% !important;
|
|
280
|
+
margin: 0 !important;
|
|
281
|
+
border-radius: 0 !important;
|
|
282
|
+
}
|
|
283
|
+
.content {
|
|
284
|
+
flex: 1 1 auto !important;
|
|
285
|
+
max-height: unset !important;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
`)) : null;
|
|
289
|
+
}
|
|
290
|
+
//--------------------------------------------------------------------------
|
|
291
|
+
//
|
|
292
|
+
// Event Listeners
|
|
293
|
+
//
|
|
294
|
+
//--------------------------------------------------------------------------
|
|
295
|
+
handleEscape(e) {
|
|
296
|
+
if (this.active && !this.disableEscape && getKey(e.key) === "Escape") {
|
|
297
|
+
this.close();
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
//--------------------------------------------------------------------------
|
|
301
|
+
//
|
|
302
|
+
// Public Methods
|
|
303
|
+
//
|
|
304
|
+
//--------------------------------------------------------------------------
|
|
305
|
+
/**
|
|
306
|
+
* Focus first interactive element
|
|
307
|
+
* @deprecated use `setFocus` instead.
|
|
308
|
+
*/
|
|
309
|
+
async focusElement(el) {
|
|
310
|
+
if (el) {
|
|
311
|
+
el.focus();
|
|
312
|
+
}
|
|
313
|
+
return this.setFocus();
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Sets focus on the component.
|
|
317
|
+
*
|
|
318
|
+
* By default, will try to focus on any focusable content. If there is none, it will focus on the close button.
|
|
319
|
+
* If you want to focus on the close button, you can use the `close-button` focus ID.
|
|
320
|
+
*/
|
|
321
|
+
async setFocus(focusId) {
|
|
322
|
+
const closeButton = this.closeButtonEl;
|
|
323
|
+
return focusElement(focusId === "close-button" ? closeButton : getFocusableElements(this.el)[0] || closeButton);
|
|
324
|
+
}
|
|
325
|
+
/** Set the scroll top of the modal content */
|
|
326
|
+
async scrollContent(top = 0, left = 0) {
|
|
327
|
+
if (this.modalContent) {
|
|
328
|
+
if (this.modalContent.scrollTo) {
|
|
329
|
+
this.modalContent.scrollTo({ top, left, behavior: "smooth" });
|
|
330
|
+
}
|
|
331
|
+
else {
|
|
332
|
+
this.modalContent.scrollTop = top;
|
|
333
|
+
this.modalContent.scrollLeft = left;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
async toggleModal(value, oldValue) {
|
|
338
|
+
if (value !== oldValue) {
|
|
339
|
+
if (value) {
|
|
340
|
+
this.open();
|
|
341
|
+
}
|
|
342
|
+
else if (!value) {
|
|
343
|
+
this.close();
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
/** Open the modal */
|
|
348
|
+
open() {
|
|
349
|
+
this.previousActiveElement = document.activeElement;
|
|
350
|
+
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
351
|
+
this.active = true;
|
|
352
|
+
const titleEl = getSlotted(this.el, SLOTS.header);
|
|
353
|
+
const contentEl = getSlotted(this.el, SLOTS.content);
|
|
354
|
+
this.titleId = ensureId(titleEl);
|
|
355
|
+
this.contentId = ensureId(contentEl);
|
|
356
|
+
document.documentElement.classList.add(CSS.overflowHidden);
|
|
357
|
+
}
|
|
358
|
+
removeOverflowHiddenClass() {
|
|
359
|
+
document.documentElement.classList.remove(CSS.overflowHidden);
|
|
360
|
+
}
|
|
361
|
+
get el() { return this; }
|
|
362
|
+
static get watchers() { return {
|
|
363
|
+
"active": ["toggleModal"]
|
|
364
|
+
}; }
|
|
365
|
+
static get style() { return calciteModalCss; }
|
|
366
|
+
};
|
|
367
|
+
CalciteModal$1 = /*@__PURE__*/ proxyCustomElement(CalciteModal$1, [1, "calcite-modal", {
|
|
368
|
+
"active": [1540],
|
|
369
|
+
"beforeClose": [16],
|
|
370
|
+
"disableCloseButton": [4, "disable-close-button"],
|
|
371
|
+
"disableOutsideClose": [4, "disable-outside-close"],
|
|
372
|
+
"intlClose": [1, "intl-close"],
|
|
373
|
+
"docked": [516],
|
|
374
|
+
"firstFocus": [16],
|
|
375
|
+
"disableEscape": [4, "disable-escape"],
|
|
376
|
+
"scale": [513],
|
|
377
|
+
"width": [520],
|
|
378
|
+
"fullscreen": [516],
|
|
379
|
+
"color": [513],
|
|
380
|
+
"backgroundColor": [513, "background-color"],
|
|
381
|
+
"noPadding": [4, "no-padding"],
|
|
382
|
+
"hasFooter": [32],
|
|
383
|
+
"focusElement": [64],
|
|
384
|
+
"setFocus": [64],
|
|
385
|
+
"scrollContent": [64]
|
|
386
|
+
}, [[8, "keyup", "handleEscape"]]]);
|
|
387
|
+
function defineCustomElement$1() {
|
|
388
|
+
const components = ["calcite-modal", "calcite-icon", "calcite-loader", "calcite-scrim"];
|
|
389
|
+
components.forEach(tagName => { switch (tagName) {
|
|
390
|
+
case "calcite-modal":
|
|
391
|
+
if (!customElements.get(tagName)) {
|
|
392
|
+
customElements.define(tagName, CalciteModal$1);
|
|
393
|
+
}
|
|
394
|
+
break;
|
|
395
|
+
case "calcite-icon":
|
|
396
|
+
if (!customElements.get(tagName)) {
|
|
397
|
+
defineCustomElement$4();
|
|
398
|
+
}
|
|
399
|
+
break;
|
|
400
|
+
case "calcite-loader":
|
|
401
|
+
if (!customElements.get(tagName)) {
|
|
402
|
+
defineCustomElement$3();
|
|
403
|
+
}
|
|
404
|
+
break;
|
|
405
|
+
case "calcite-scrim":
|
|
406
|
+
if (!customElements.get(tagName)) {
|
|
407
|
+
defineCustomElement$2();
|
|
408
|
+
}
|
|
409
|
+
break;
|
|
410
|
+
} });
|
|
411
|
+
}
|
|
412
|
+
defineCustomElement$1();
|
|
413
|
+
|
|
414
|
+
const CalciteModal = CalciteModal$1;
|
|
415
|
+
const defineCustomElement = defineCustomElement$1;
|
|
416
|
+
|
|
417
|
+
export { CalciteModal, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface CalciteNotice extends Components.CalciteNotice, HTMLElement {}
|
|
4
|
+
export const CalciteNotice: {
|
|
5
|
+
prototype: CalciteNotice;
|
|
6
|
+
new (): CalciteNotice;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { attachShadow, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
|
+
import { S as StatusIcons } from './interfaces.js';
|
|
7
|
+
import { s as setRequestedIcon, a as getElementDir, b as getSlotted, C as CSS_UTILITY } from './dom.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './calcite-icon2.js';
|
|
9
|
+
|
|
10
|
+
const TEXT = {
|
|
11
|
+
close: "Close"
|
|
12
|
+
};
|
|
13
|
+
const SLOTS = {
|
|
14
|
+
title: "title",
|
|
15
|
+
message: "message",
|
|
16
|
+
link: "link",
|
|
17
|
+
actionsEnd: "actions-end"
|
|
18
|
+
};
|
|
19
|
+
const CSS = {
|
|
20
|
+
actionsEnd: "actions-end",
|
|
21
|
+
close: "notice-close",
|
|
22
|
+
container: "container",
|
|
23
|
+
content: "notice-content",
|
|
24
|
+
icon: "notice-icon"
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const calciteNoticeCss = "@-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:300ms}.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:150ms ease-in-out}: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]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size--2);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}: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]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size--1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}: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]){font-size:var(--calcite-font-size-1);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-0);line-height:1.375;margin-top:0.125rem;margin-bottom:0.125rem}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{display:none;margin-left:auto;margin-right:auto;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{display:none;text-align:left;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;opacity:0;pointer-events:none;background-color:var(--calcite-ui-foreground-1);max-height:0;-webkit-transition:150ms ease-in-out;transition:150ms ease-in-out;border-left:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{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}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([active]) .container{display:-ms-flexbox;display:flex;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);-ms-flex-align:center;align-items:center;opacity:1;max-height:100%;border-width:2px;pointer-events:auto}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){display:inline;margin:0;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-right:var(--calcite-notice-spacing-token-small)}.calcite--rtl slot[name=message]::slotted(*),.calcite--rtl *::slotted([slot=message]){margin-right:0;margin-left:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small) 0}.notice-content:first-of-type:not(:only-child){padding-left: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;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.notice-close{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;background-color:transparent;border-style:none;outline:2px solid transparent;outline-offset:2px;cursor:pointer;color:var(--calcite-ui-text-3);-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out;-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}.calcite--rtl{text-align:right;border-left:none;border-right:0px solid}.calcite--rtl .notice-content{padding:var(--calcite-notice-spacing-token-small) 0 var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-small)}.calcite--rtl .notice-content:first-of-type:not(:only-child){padding-right:var(--calcite-notice-spacing-token-large)}.calcite--rtl .notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}: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)}";
|
|
28
|
+
|
|
29
|
+
let CalciteNotice$1 = class extends HTMLElement {
|
|
30
|
+
constructor() {
|
|
31
|
+
super();
|
|
32
|
+
this.__registerHost();
|
|
33
|
+
attachShadow(this);
|
|
34
|
+
this.calciteNoticeClose = createEvent(this, "calciteNoticeClose", 7);
|
|
35
|
+
this.calciteNoticeOpen = createEvent(this, "calciteNoticeOpen", 7);
|
|
36
|
+
//--------------------------------------------------------------------------
|
|
37
|
+
//
|
|
38
|
+
// Properties
|
|
39
|
+
//
|
|
40
|
+
//---------------------------------------------------------------------------
|
|
41
|
+
/** Is the notice currently active or not */
|
|
42
|
+
this.active = false;
|
|
43
|
+
/** Color for the notice (will apply to top border and icon) */
|
|
44
|
+
this.color = "blue";
|
|
45
|
+
/** Optionally show a button the user can click to dismiss the notice */
|
|
46
|
+
this.dismissible = false;
|
|
47
|
+
/** String for the close button.
|
|
48
|
+
* @default "Close"
|
|
49
|
+
*/
|
|
50
|
+
this.intlClose = TEXT.close;
|
|
51
|
+
/** specify the scale of the notice, defaults to m */
|
|
52
|
+
this.scale = "m";
|
|
53
|
+
/** specify the width of the notice, defaults to auto */
|
|
54
|
+
this.width = "auto";
|
|
55
|
+
//--------------------------------------------------------------------------
|
|
56
|
+
//
|
|
57
|
+
// Private Methods
|
|
58
|
+
//
|
|
59
|
+
//--------------------------------------------------------------------------
|
|
60
|
+
this.close = () => {
|
|
61
|
+
this.active = false;
|
|
62
|
+
this.calciteNoticeClose.emit();
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
updateRequestedIcon() {
|
|
66
|
+
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
67
|
+
}
|
|
68
|
+
//--------------------------------------------------------------------------
|
|
69
|
+
//
|
|
70
|
+
// Lifecycle
|
|
71
|
+
//
|
|
72
|
+
//--------------------------------------------------------------------------
|
|
73
|
+
componentWillLoad() {
|
|
74
|
+
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
|
75
|
+
}
|
|
76
|
+
componentDidLoad() {
|
|
77
|
+
this.noticeLinkEl = this.el.querySelector("calcite-link");
|
|
78
|
+
}
|
|
79
|
+
render() {
|
|
80
|
+
const { el } = this;
|
|
81
|
+
const dir = getElementDir(el);
|
|
82
|
+
const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
83
|
+
const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);
|
|
84
|
+
return (h("div", { class: { [CSS.container]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.requestedIcon ? (h("div", { class: CSS.icon }, h("calcite-icon", { icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: CSS.content }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), hasActionEnd ? (h("div", { class: CSS.actionsEnd }, h("slot", { name: SLOTS.actionsEnd }))) : null, this.dismissible ? closeButton : null));
|
|
85
|
+
}
|
|
86
|
+
//--------------------------------------------------------------------------
|
|
87
|
+
//
|
|
88
|
+
// Public Methods
|
|
89
|
+
//
|
|
90
|
+
//--------------------------------------------------------------------------
|
|
91
|
+
/** Sets focus on the component. */
|
|
92
|
+
async setFocus() {
|
|
93
|
+
if (!this.closeButton && !this.noticeLinkEl) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
if (this.noticeLinkEl) {
|
|
97
|
+
this.noticeLinkEl.setFocus();
|
|
98
|
+
}
|
|
99
|
+
else if (this.closeButton) {
|
|
100
|
+
this.closeButton.focus();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
get el() { return this; }
|
|
104
|
+
static get watchers() { return {
|
|
105
|
+
"icon": ["updateRequestedIcon"],
|
|
106
|
+
"color": ["updateRequestedIcon"]
|
|
107
|
+
}; }
|
|
108
|
+
static get style() { return calciteNoticeCss; }
|
|
109
|
+
};
|
|
110
|
+
CalciteNotice$1 = /*@__PURE__*/ proxyCustomElement(CalciteNotice$1, [1, "calcite-notice", {
|
|
111
|
+
"active": [1540],
|
|
112
|
+
"color": [513],
|
|
113
|
+
"dismissible": [516],
|
|
114
|
+
"icon": [520],
|
|
115
|
+
"intlClose": [1, "intl-close"],
|
|
116
|
+
"scale": [513],
|
|
117
|
+
"width": [513],
|
|
118
|
+
"setFocus": [64]
|
|
119
|
+
}]);
|
|
120
|
+
function defineCustomElement$1() {
|
|
121
|
+
const components = ["calcite-notice", "calcite-icon"];
|
|
122
|
+
components.forEach(tagName => { switch (tagName) {
|
|
123
|
+
case "calcite-notice":
|
|
124
|
+
if (!customElements.get(tagName)) {
|
|
125
|
+
customElements.define(tagName, CalciteNotice$1);
|
|
126
|
+
}
|
|
127
|
+
break;
|
|
128
|
+
case "calcite-icon":
|
|
129
|
+
if (!customElements.get(tagName)) {
|
|
130
|
+
defineCustomElement$2();
|
|
131
|
+
}
|
|
132
|
+
break;
|
|
133
|
+
} });
|
|
134
|
+
}
|
|
135
|
+
defineCustomElement$1();
|
|
136
|
+
|
|
137
|
+
const CalciteNotice = CalciteNotice$1;
|
|
138
|
+
const defineCustomElement = defineCustomElement$1;
|
|
139
|
+
|
|
140
|
+
export { CalciteNotice, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface CalciteOptionGroup extends Components.CalciteOptionGroup, HTMLElement {}
|
|
4
|
+
export const CalciteOptionGroup: {
|
|
5
|
+
prototype: CalciteOptionGroup;
|
|
6
|
+
new (): CalciteOptionGroup;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|