@esri/calcite-components 1.0.0-beta.68 → 1.0.0-beta.69
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/CHANGELOG.md +1509 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-75793454.entry.js → p-0100aeb0.entry.js} +1 -1
- package/dist/calcite/p-03706508.system.entry.js +5 -0
- package/dist/calcite/{p-cbdf0e6c.js → p-05d1dfc6.js} +1 -1
- package/dist/calcite/{p-a8cd5cde.system.entry.js → p-06646eed.system.entry.js} +1 -1
- package/dist/calcite/{p-d7a7a544.system.entry.js → p-0797f73c.system.entry.js} +1 -1
- package/dist/calcite/{p-530584ff.system.entry.js → p-09e3fcfc.system.entry.js} +1 -1
- package/dist/calcite/p-0ba6ede9.entry.js +5 -0
- package/dist/calcite/{p-01c3783e.system.entry.js → p-0ecd0204.system.entry.js} +1 -1
- package/dist/calcite/{p-9ac1fa0b.system.entry.js → p-0f3d73e3.system.entry.js} +1 -1
- package/dist/calcite/{p-349333f8.system.entry.js → p-10759c71.system.entry.js} +2 -2
- package/dist/calcite/{p-32faf98b.system.entry.js → p-10de63d7.system.entry.js} +1 -1
- package/dist/calcite/{p-7f4a5f8e.system.entry.js → p-15a45778.system.entry.js} +2 -2
- package/dist/calcite/p-1e875199.entry.js +5 -0
- package/dist/calcite/{p-693a4d5f.entry.js → p-1f7130a9.entry.js} +1 -1
- package/dist/calcite/{p-72ffc6d7.entry.js → p-2418cceb.entry.js} +1 -1
- package/dist/calcite/{p-32fbf8cd.system.js → p-25a31861.system.js} +1 -1
- package/dist/calcite/{p-8655c0a1.entry.js → p-28261aae.entry.js} +1 -1
- package/dist/calcite/{p-95a3a0ce.entry.js → p-3383d9b4.entry.js} +1 -1
- package/dist/calcite/{p-87b93729.entry.js → p-36e5db45.entry.js} +1 -1
- package/dist/calcite/p-37859236.entry.js +5 -0
- package/dist/calcite/{p-bd555b2e.system.entry.js → p-38ee7306.system.entry.js} +1 -1
- package/dist/calcite/{p-9caae570.entry.js → p-38f09842.entry.js} +1 -1
- package/dist/calcite/{p-8efb43fc.entry.js → p-3962cd38.entry.js} +1 -1
- package/dist/calcite/{p-9d83f268.system.entry.js → p-3bb30b44.system.entry.js} +1 -1
- package/dist/calcite/{p-bb916828.system.entry.js → p-3cf93a58.system.entry.js} +1 -1
- package/dist/calcite/p-3dae9da3.js +5 -0
- package/dist/calcite/{p-ff04f827.system.entry.js → p-3e438b5b.system.entry.js} +1 -1
- package/dist/calcite/{p-2920aa02.entry.js → p-3f1d1bad.entry.js} +1 -1
- package/dist/calcite/{p-69548a7d.system.entry.js → p-413b4857.system.entry.js} +1 -1
- package/dist/calcite/{p-da9603a3.entry.js → p-4185db77.entry.js} +1 -1
- package/dist/calcite/p-45257edb.js +5 -0
- package/dist/calcite/{p-5cb26137.system.entry.js → p-49d5ee42.system.entry.js} +1 -1
- package/dist/calcite/{p-5c221c33.system.entry.js → p-4c7e3915.system.entry.js} +1 -1
- package/dist/calcite/p-502736d8.system.entry.js +5 -0
- package/dist/calcite/{p-ac3d8784.entry.js → p-507b2cc4.entry.js} +1 -1
- package/dist/calcite/{p-26045881.entry.js → p-51bc5466.entry.js} +1 -1
- package/dist/calcite/{p-34a6550f.system.entry.js → p-527146c8.system.entry.js} +1 -1
- package/dist/calcite/{p-cd8f7781.system.entry.js → p-530b28e1.system.entry.js} +1 -1
- package/dist/calcite/{p-f37563ac.system.entry.js → p-5322b333.system.entry.js} +1 -1
- package/dist/calcite/{p-d7e5b807.system.entry.js → p-58e98b2d.system.entry.js} +1 -1
- package/dist/calcite/{p-1f99b038.entry.js → p-58eca102.entry.js} +1 -1
- package/dist/calcite/p-5ce47e9f.entry.js +5 -0
- package/dist/calcite/{p-9dbb69f7.entry.js → p-5efd7297.entry.js} +1 -1
- package/dist/calcite/{p-37cee0ea.entry.js → p-6621aee1.entry.js} +1 -1
- package/dist/calcite/{p-31c4a271.system.entry.js → p-684ccd4e.system.entry.js} +1 -1
- package/dist/calcite/{p-473cfb74.system.entry.js → p-6988c6b7.system.entry.js} +1 -1
- package/dist/calcite/{p-4c7e3d8e.system.entry.js → p-6c8a562f.system.entry.js} +1 -1
- package/dist/calcite/{p-727c8f36.system.entry.js → p-70cd1387.system.entry.js} +1 -1
- package/dist/calcite/{p-bfc162ee.system.entry.js → p-71ea4a6f.system.entry.js} +2 -2
- package/dist/calcite/{p-18078190.entry.js → p-72fa390e.entry.js} +1 -1
- package/dist/calcite/{p-1aaf7f83.entry.js → p-75f714c9.entry.js} +1 -1
- package/dist/calcite/{p-41e9b889.entry.js → p-76ccd204.entry.js} +1 -1
- package/dist/calcite/{p-7b01fe89.js → p-79cbbf2d.js} +1 -1
- package/dist/calcite/p-7a6c6382.entry.js +5 -0
- package/dist/calcite/p-7ade2294.system.entry.js +5 -0
- package/dist/calcite/{p-20042561.entry.js → p-7b869bc5.entry.js} +1 -1
- package/dist/calcite/{p-a93678c6.system.entry.js → p-7b89726e.system.entry.js} +2 -2
- package/dist/calcite/{p-318e95d7.system.entry.js → p-7c161518.system.entry.js} +1 -1
- package/dist/calcite/{p-f4299b95.entry.js → p-7c37ca39.entry.js} +1 -1
- package/dist/calcite/{p-1b2c1f55.entry.js → p-7dd5c4e4.entry.js} +1 -1
- package/dist/calcite/{p-a20df95c.js → p-809ddb6a.js} +1 -1
- package/dist/calcite/{p-22ad79b1.entry.js → p-83302e1c.entry.js} +1 -1
- package/dist/calcite/{p-9358deb1.system.entry.js → p-83ccefba.system.entry.js} +1 -1
- package/dist/calcite/p-86af9de1.entry.js +5 -0
- package/dist/calcite/{p-c0dd929a.entry.js → p-8953f712.entry.js} +1 -1
- package/dist/calcite/{p-c74fc589.system.js → p-89cdfa96.system.js} +1 -1
- package/dist/calcite/{p-b701101e.entry.js → p-8bc3e126.entry.js} +1 -1
- package/dist/calcite/p-91f046a2.entry.js +5 -0
- package/dist/calcite/{p-9e4f2697.system.entry.js → p-98789055.system.entry.js} +1 -1
- package/dist/calcite/{p-568ed3d6.system.entry.js → p-98a632a4.system.entry.js} +1 -1
- package/dist/calcite/{p-10ccc21d.entry.js → p-9affee61.entry.js} +1 -1
- package/dist/calcite/{p-81a82d01.system.entry.js → p-9f92ae58.system.entry.js} +1 -1
- package/dist/calcite/{p-99da965d.system.entry.js → p-9fa024e6.system.entry.js} +1 -1
- package/dist/calcite/{p-7b600760.entry.js → p-9fa5e356.entry.js} +1 -1
- package/dist/calcite/{p-4e06a168.entry.js → p-9fa67508.entry.js} +1 -1
- package/dist/calcite/{p-021d44b7.system.entry.js → p-9fc0dc2c.system.entry.js} +1 -1
- package/dist/calcite/{p-0e30afe6.entry.js → p-a09634e2.entry.js} +1 -1
- package/dist/calcite/{p-87e83c0d.system.entry.js → p-a5bfc29d.system.entry.js} +1 -1
- package/dist/calcite/p-a677e52e.entry.js +5 -0
- package/dist/calcite/{p-64d90b14.system.js → p-a7ba0292.system.js} +1 -1
- package/dist/calcite/{p-7c0debe0.system.entry.js → p-a8569c55.system.entry.js} +1 -1
- package/dist/calcite/p-ac6b615b.entry.js +5 -0
- package/dist/calcite/p-b018fbbd.entry.js +5 -0
- package/dist/calcite/p-b1f88d45.system.js +5 -0
- package/dist/calcite/{p-eb3ee207.entry.js → p-b244a00c.entry.js} +1 -1
- package/dist/calcite/{p-fc4846f0.system.entry.js → p-b3d6ab12.system.entry.js} +1 -1
- package/dist/calcite/{p-57f5866d.system.entry.js → p-b41deed0.system.entry.js} +1 -1
- package/dist/calcite/{p-a7521c0d.entry.js → p-b42d730f.entry.js} +1 -1
- package/dist/calcite/p-b4960d06.system.js +5 -0
- package/dist/calcite/{p-ba9b4f62.system.entry.js → p-b4e7b593.system.entry.js} +1 -1
- package/dist/calcite/{p-0fc8b24c.system.entry.js → p-b8d040e5.system.entry.js} +1 -1
- package/dist/calcite/{p-175764f3.system.entry.js → p-ba1322e6.system.entry.js} +1 -1
- package/dist/calcite/{p-3929447c.system.entry.js → p-bf25e278.system.entry.js} +1 -1
- package/dist/calcite/{p-fff0a881.entry.js → p-bf8b70a8.entry.js} +1 -1
- package/dist/calcite/p-c34c4414.system.js +5 -0
- package/dist/calcite/p-c399cfce.entry.js +5 -0
- package/dist/calcite/p-c4294f70.entry.js +5 -0
- package/dist/calcite/{p-c3922ef7.system.entry.js → p-c48b4b7e.system.entry.js} +1 -1
- package/dist/calcite/p-c60e3a71.entry.js +5 -0
- package/dist/calcite/{p-050dc7e6.system.entry.js → p-c8e4117c.system.entry.js} +1 -1
- package/dist/calcite/{p-3ba8024a.system.entry.js → p-c99d8f9e.system.entry.js} +1 -1
- package/dist/calcite/{p-00d72f16.entry.js → p-c9ecea64.entry.js} +1 -1
- package/dist/calcite/{p-9d3ee5cf.system.entry.js → p-ca79fabf.system.entry.js} +1 -1
- package/dist/calcite/{p-be3b0fee.entry.js → p-cacca548.entry.js} +1 -1
- package/dist/calcite/{p-67fd79db.entry.js → p-cc4aeb6f.entry.js} +1 -1
- package/dist/calcite/{p-f8d975a1.system.entry.js → p-cca94491.system.entry.js} +1 -1
- package/dist/calcite/{p-f141da0f.entry.js → p-cd41629f.entry.js} +1 -1
- package/dist/calcite/{p-7cdfec27.system.js → p-d11ad046.system.js} +1 -1
- package/dist/calcite/p-d4059426.entry.js +5 -0
- package/dist/calcite/{p-8fcfe861.js → p-d53cc958.js} +1 -1
- package/dist/calcite/p-d6048152.system.entry.js +5 -0
- package/dist/calcite/{p-acaad99b.system.entry.js → p-daa110fe.system.entry.js} +1 -1
- package/dist/calcite/{p-fe52131d.entry.js → p-dc6aef8b.entry.js} +1 -1
- package/dist/calcite/{p-45d123be.system.entry.js → p-dcf30b00.system.entry.js} +1 -1
- package/dist/calcite/{p-c20278e8.system.entry.js → p-de3a04c2.system.entry.js} +1 -1
- package/dist/calcite/{p-3b17d8d0.system.js → p-e35e7216.system.js} +1 -1
- package/dist/calcite/{p-f5d25746.system.entry.js → p-e40dd6fe.system.entry.js} +1 -1
- package/dist/calcite/{p-e693758c.entry.js → p-e638ff0e.entry.js} +1 -1
- package/dist/calcite/{p-7839d1c9.entry.js → p-e7819705.entry.js} +1 -1
- package/dist/calcite/{p-d5d62977.entry.js → p-eccb140e.entry.js} +1 -1
- package/dist/calcite/{p-cb228ac0.entry.js → p-edf0f4f8.entry.js} +1 -1
- package/dist/calcite/p-eed43a57.system.entry.js +5 -0
- package/dist/calcite/{p-18574b32.entry.js → p-f0228763.entry.js} +1 -1
- package/dist/calcite/{p-c57f8690.entry.js → p-f281f1e9.entry.js} +1 -1
- package/dist/calcite/{p-85a2bf7c.system.entry.js → p-f32e61bb.system.entry.js} +1 -1
- package/dist/calcite/p-f5bb39bb.js +5 -0
- package/dist/calcite/{p-e3a30266.system.entry.js → p-f6f4648e.system.entry.js} +1 -1
- package/dist/calcite/{p-51cb078a.entry.js → p-f93a7fce.entry.js} +1 -1
- package/dist/calcite/{p-e33a2dd2.system.entry.js → p-fba65e4a.system.entry.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-0d802f83.js → CalciteExpandToggle-6a9f9858.js} +1 -1
- package/dist/cjs/{CalciteHeading-381b977d.js → CalciteHeading-363b0525.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-card.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +8 -6
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -3
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +43 -14
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +19 -11
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input.cjs.entry.js +32 -19
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-loader.cjs.entry.js +2 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-popover_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +2 -2
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -2
- package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tree_2.cjs.entry.js +16 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{index-1987a382.js → index-cee0daa9.js} +73 -64
- package/dist/cjs/{label-549c3d9d.js → label-8e3552b2.js} +33 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{popper-cd9c0742.js → popper-87bf13e6.js} +2 -2
- package/dist/cjs/{resources-7dcd68d1.js → resources-38563593.js} +1 -1
- package/dist/cjs/{resources-d0619f6a.js → resources-f9c141d2.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -2
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +8 -8
- package/dist/collection/components/calcite-action/calcite-action.js +4 -4
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +2 -2
- package/dist/collection/components/calcite-alert/calcite-alert.js +6 -6
- package/dist/collection/components/calcite-block/calcite-block.css +2 -2
- package/dist/collection/components/calcite-block/calcite-block.js +4 -4
- package/dist/collection/components/calcite-button/calcite-button.js +4 -4
- package/dist/collection/components/calcite-card/calcite-card.js +8 -8
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +8 -8
- package/dist/collection/components/calcite-chip/calcite-chip.js +2 -2
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +59 -56
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -4
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.js +2 -2
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +11 -9
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +6 -6
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +2 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -6
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +5 -5
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -2
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +33 -27
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +6 -6
- package/dist/collection/components/calcite-fab/calcite-fab.js +2 -2
- package/dist/collection/components/calcite-filter/calcite-filter.js +108 -19
- package/dist/collection/components/calcite-graph/calcite-graph.js +48 -6
- package/dist/collection/components/calcite-graph/util.js +1 -1
- package/dist/collection/components/calcite-handle/calcite-handle.js +2 -2
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +12 -12
- package/dist/collection/components/calcite-input/calcite-input.js +42 -29
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +11 -11
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -2
- package/dist/collection/components/calcite-label/calcite-label.js +2 -2
- package/dist/collection/components/calcite-loader/calcite-loader.css +0 -3
- package/dist/collection/components/calcite-modal/calcite-modal.js +2 -2
- package/dist/collection/components/calcite-notice/calcite-notice.js +2 -2
- package/dist/collection/components/calcite-option/calcite-option.js +2 -2
- package/dist/collection/components/calcite-option-group/calcite-option-group.js +2 -2
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +8 -8
- package/dist/collection/components/calcite-panel/calcite-panel.css +6 -2
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +10 -10
- package/dist/collection/components/calcite-popover/calcite-popover.js +9 -9
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +2 -2
- package/dist/collection/components/calcite-radio/calcite-radio.js +4 -4
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +12 -12
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +2 -2
- package/dist/collection/components/calcite-rating/calcite-rating.js +4 -4
- package/dist/collection/components/calcite-scrim/calcite-scrim.js +2 -2
- package/dist/collection/components/calcite-select/calcite-select.js +2 -2
- package/dist/collection/components/calcite-slider/calcite-slider.css +2 -4
- package/dist/collection/components/calcite-slider/calcite-slider.js +3 -3
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +2 -2
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +4 -4
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +14 -14
- package/dist/collection/components/calcite-switch/calcite-switch.js +8 -3
- package/dist/collection/components/calcite-tab/calcite-tab.js +4 -4
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +14 -14
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +16 -16
- package/dist/collection/components/calcite-tile/calcite-tile.css +4 -0
- package/dist/collection/components/calcite-tile/calcite-tile.js +2 -2
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +30 -30
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +5 -5
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -2
- package/dist/collection/components/calcite-tree/calcite-tree.js +10 -10
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +35 -28
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +6 -6
- package/dist/collection/utils/label.js +33 -4
- package/dist/collection/utils/popper.js +2 -2
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +2 -2
- package/dist/components/calcite-action-group2.js +2 -2
- package/dist/components/calcite-action-menu2.js +2 -2
- package/dist/components/calcite-action-pad.js +2 -2
- package/dist/components/calcite-action2.js +2 -2
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +2 -2
- package/dist/components/calcite-block.js +3 -3
- package/dist/components/calcite-button2.js +2 -2
- package/dist/components/calcite-card.js +11 -5
- package/dist/components/calcite-checkbox2.js +2 -2
- package/dist/components/calcite-chip2.js +2 -2
- package/dist/components/calcite-color-picker-hex-input2.js +2 -2
- package/dist/components/calcite-color-picker-swatch2.js +2 -2
- package/dist/components/calcite-color-picker.js +15 -12
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +7 -5
- package/dist/components/calcite-date-picker-day2.js +2 -2
- package/dist/components/calcite-date-picker-month-header2.js +2 -2
- package/dist/components/calcite-date-picker-month2.js +2 -2
- package/dist/components/calcite-date-picker2.js +2 -2
- package/dist/components/calcite-dropdown-group.js +2 -2
- package/dist/components/calcite-dropdown-item.js +3 -3
- package/dist/components/calcite-dropdown2.js +3 -3
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter2.js +47 -16
- package/dist/components/calcite-flow.js +2 -2
- package/dist/components/calcite-graph2.js +20 -10
- package/dist/components/calcite-handle2.js +2 -2
- package/dist/components/calcite-icon2.js +2 -2
- package/dist/components/calcite-input-date-picker.js +3 -3
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input2.js +30 -17
- package/dist/components/calcite-label.js +1 -75
- package/dist/components/calcite-label2.js +81 -0
- package/dist/components/calcite-link2.js +2 -2
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader2.js +3 -3
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +3 -3
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item2.js +2 -2
- package/dist/components/calcite-pick-list.js +2 -2
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover2.js +3 -3
- package/dist/components/calcite-progress2.js +2 -2
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +2 -2
- package/dist/components/calcite-radio2.js +2 -2
- package/dist/components/calcite-rating.js +2 -2
- package/dist/components/calcite-scrim2.js +2 -2
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +4 -4
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +2 -2
- package/dist/components/calcite-stepper-item.js +2 -2
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-switch2.js +8 -3
- package/dist/components/calcite-tab-nav2.js +2 -2
- package/dist/components/calcite-tab-title2.js +2 -2
- package/dist/components/calcite-tab2.js +2 -2
- package/dist/components/calcite-tabs2.js +2 -2
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile2.js +3 -3
- package/dist/components/calcite-time-picker2.js +2 -2
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager2.js +2 -2
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +17 -10
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/label.js +33 -4
- package/dist/components/popper.js +2 -2
- package/dist/custom-elements/index.js +264 -168
- package/dist/esm/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-235a6bfd.js} +1 -1
- package/dist/esm/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +2 -2
- package/dist/esm/calcite-action-group.entry.js +1 -1
- package/dist/esm/calcite-action-menu.entry.js +1 -1
- package/dist/esm/calcite-action-pad.entry.js +2 -2
- package/dist/esm/calcite-action.entry.js +1 -1
- package/dist/esm/calcite-alert.entry.js +1 -1
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +3 -3
- package/dist/esm/calcite-button.entry.js +2 -2
- package/dist/esm/calcite-card.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +14 -11
- package/dist/esm/calcite-combobox_3.entry.js +8 -6
- package/dist/esm/calcite-date-picker_4.entry.js +3 -3
- package/dist/esm/calcite-dropdown_3.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +43 -14
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +19 -11
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +2 -2
- package/dist/esm/calcite-input-date-picker.entry.js +5 -5
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm/calcite-input.entry.js +32 -19
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +2 -2
- package/dist/esm/calcite-loader.entry.js +2 -2
- package/dist/esm/calcite-modal.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +2 -2
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel.entry.js +3 -3
- package/dist/esm/calcite-pick-list_3.entry.js +3 -3
- package/dist/esm/calcite-popover_2.entry.js +4 -4
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm/calcite-radio_2.entry.js +2 -2
- package/dist/esm/calcite-rating.entry.js +2 -2
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +1 -1
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +7 -2
- package/dist/esm/calcite-tab_4.entry.js +1 -1
- package/dist/esm/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-tip_3.entry.js +2 -2
- package/dist/esm/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm/calcite-tree_2.entry.js +16 -9
- package/dist/esm/calcite-value-list_2.entry.js +2 -2
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{index-d653c37f.js → index-66803519.js} +73 -64
- package/dist/esm/{label-bb61bdef.js → label-5559055d.js} +33 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{popper-7499ea4f.js → popper-dc4b45cf.js} +2 -2
- package/dist/esm/{resources-510eed1a.js → resources-8dd80c84.js} +1 -1
- package/dist/esm/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-151a563a.js → CalciteExpandToggle-235a6bfd.js} +1 -1
- package/dist/esm-es5/{CalciteHeading-1735f17a.js → CalciteHeading-dea3bd05.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +1 -1
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/{index-d653c37f.js → index-66803519.js} +1 -1
- package/dist/esm-es5/label-5559055d.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-dc4b45cf.js +5 -0
- package/dist/esm-es5/{resources-510eed1a.js → resources-8dd80c84.js} +1 -1
- package/dist/esm-es5/{resources-3b481489.js → resources-c59a1a15.js} +1 -1
- package/dist/extras/docs-json.json +520 -423
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +1 -1
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +24 -1
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +4 -0
- package/dist/types/components/calcite-input/calcite-input.d.ts +7 -1
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -2
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
- package/dist/types/components.d.ts +48 -4
- package/dist/types/utils/label.d.ts +5 -0
- package/dist/types/utils/popper.d.ts +1 -1
- package/hydrate/index.js +182 -81
- package/package.json +11 -12
- package/readme.md +2 -2
- package/dist/calcite/p-07ba39b6.js +0 -5
- package/dist/calcite/p-0fb8cdc5.entry.js +0 -5
- package/dist/calcite/p-0fd333ff.entry.js +0 -5
- package/dist/calcite/p-24b86e03.entry.js +0 -5
- package/dist/calcite/p-29b110b2.entry.js +0 -5
- package/dist/calcite/p-2ba00b89.js +0 -5
- package/dist/calcite/p-34a1c944.entry.js +0 -5
- package/dist/calcite/p-361ddbb6.entry.js +0 -5
- package/dist/calcite/p-378b83de.entry.js +0 -5
- package/dist/calcite/p-43494684.entry.js +0 -5
- package/dist/calcite/p-485062f4.system.entry.js +0 -5
- package/dist/calcite/p-61038b30.js +0 -5
- package/dist/calcite/p-728501db.system.js +0 -5
- package/dist/calcite/p-745e41ea.entry.js +0 -5
- package/dist/calcite/p-7a544774.system.entry.js +0 -5
- package/dist/calcite/p-93d8a7d5.entry.js +0 -5
- package/dist/calcite/p-9965ea81.system.js +0 -5
- package/dist/calcite/p-ba255377.entry.js +0 -5
- package/dist/calcite/p-bc02d9ef.system.entry.js +0 -5
- package/dist/calcite/p-bcc323ec.system.entry.js +0 -5
- package/dist/calcite/p-c1995144.system.entry.js +0 -5
- package/dist/calcite/p-c31243c5.entry.js +0 -5
- package/dist/calcite/p-de0f4633.entry.js +0 -5
- package/dist/calcite/p-e9044cc1.entry.js +0 -5
- package/dist/calcite/p-fb1da0f5.system.js +0 -5
- package/dist/collection/components/calcite-label/interfaces.js +0 -1
- package/dist/esm-es5/label-bb61bdef.js +0 -5
- package/dist/esm-es5/popper-7499ea4f.js +0 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
7
7
|
import { h as hiddenInputStyle } from './form.js';
|
|
8
8
|
import { g as guid } from './guid.js';
|
|
@@ -15,7 +15,7 @@ let CalciteSwitch = class extends HTMLElement {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
this.__registerHost();
|
|
18
|
-
|
|
18
|
+
this.__attachShadow();
|
|
19
19
|
this.calciteSwitchChange = createEvent(this, "calciteSwitchChange", 7);
|
|
20
20
|
//--------------------------------------------------------------------------
|
|
21
21
|
//
|
|
@@ -108,6 +108,11 @@ let CalciteSwitch = class extends HTMLElement {
|
|
|
108
108
|
//--------------------------------------------------------------------------
|
|
109
109
|
connectedCallback() {
|
|
110
110
|
connectLabel(this);
|
|
111
|
+
const initiallyChecked = this.checked || this.switched;
|
|
112
|
+
if (initiallyChecked) {
|
|
113
|
+
// if either prop is set, we ensure both are synced initially
|
|
114
|
+
this.switched = this.checked = initiallyChecked;
|
|
115
|
+
}
|
|
111
116
|
}
|
|
112
117
|
disconnectedCallback() {
|
|
113
118
|
disconnectLabel(this);
|
|
@@ -140,7 +145,7 @@ CalciteSwitch = /*@__PURE__*/ proxyCustomElement(CalciteSwitch, [1, "calcite-swi
|
|
|
140
145
|
"label": [1],
|
|
141
146
|
"name": [513],
|
|
142
147
|
"scale": [513],
|
|
143
|
-
"switched": [
|
|
148
|
+
"switched": [1028],
|
|
144
149
|
"checked": [1540],
|
|
145
150
|
"value": [520],
|
|
146
151
|
"guid": [32],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { a as getElementDir, e as filterDirectChildren } from './dom.js';
|
|
7
7
|
|
|
8
8
|
const calciteTabNavCss = "@-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:relative;display:-ms-flexbox;display:flex}:host([scale=s]){min-height:1.5rem}:host([scale=m]){min-height:2rem}:host([scale=l]){min-height:2.75rem}.tab-nav{display:-ms-flexbox;display:flex;width:100%;overflow:auto;-ms-flex-pack:start;justify-content:flex-start;-webkit-overflow-scrolling:touch;padding:0.25rem;margin:-0.25rem}:host([layout=center]) .tab-nav{-ms-flex-pack:center;justify-content:center}.tab-nav-active-indicator-container{width:100%;right:0;left:0;bottom:0;position:absolute;overflow:hidden;height:0.125rem}.tab-nav-active-indicator{position:absolute;bottom:0;display:block;-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);background-color:var(--calcite-ui-brand);height:0.125rem}:host([position=below]) .tab-nav-active-indicator{bottom:unset;top:0}:host([position=below]) .tab-nav-active-indicator-container{bottom:unset;top:0}:host([bordered]) .tab-nav-active-indicator-container{bottom:unset}:host([bordered][position=below]) .tab-nav-active-indicator-container{bottom:0;top:unset}";
|
|
@@ -11,7 +11,7 @@ let CalciteTabNav = class extends HTMLElement {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
|
-
|
|
14
|
+
this.__attachShadow();
|
|
15
15
|
this.calciteTabChange = createEvent(this, "calciteTabChange", 7);
|
|
16
16
|
/** @internal Parent tabs component scale value */
|
|
17
17
|
this.scale = "m";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, Build, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
import { g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
8
8
|
import { g as getKey } from './key.js';
|
|
@@ -15,7 +15,7 @@ let CalciteTabTitle = class extends HTMLElement {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
this.__registerHost();
|
|
18
|
-
|
|
18
|
+
this.__attachShadow();
|
|
19
19
|
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 7);
|
|
20
20
|
this.calciteTabsFocusNext = createEvent(this, "calciteTabsFocusNext", 7);
|
|
21
21
|
this.calciteTabsFocusPrevious = createEvent(this, "calciteTabsFocusPrevious", 7);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
import { n as nodeListToArray } from './dom.js';
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ let CalciteTab = class extends HTMLElement {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super();
|
|
14
14
|
this.__registerHost();
|
|
15
|
-
|
|
15
|
+
this.__attachShadow();
|
|
16
16
|
this.calciteTabRegister = createEvent(this, "calciteTabRegister", 7);
|
|
17
17
|
/**
|
|
18
18
|
* Show this tab
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
|
|
7
7
|
const SLOTS = {
|
|
8
8
|
tabNav: "tab-nav"
|
|
@@ -14,7 +14,7 @@ let CalciteTabs = class extends HTMLElement {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super();
|
|
16
16
|
this.__registerHost();
|
|
17
|
-
|
|
17
|
+
this.__attachShadow();
|
|
18
18
|
//--------------------------------------------------------------------------
|
|
19
19
|
//
|
|
20
20
|
// Public Properties
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
|
|
7
7
|
const calciteTileSelectGroupCss = "@-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{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-right:1px;margin-bottom:1px}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ let CalciteTileSelectGroup$1 = class extends HTMLElement {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
|
-
|
|
13
|
+
this.__attachShadow();
|
|
14
14
|
//--------------------------------------------------------------------------
|
|
15
15
|
//
|
|
16
16
|
// Properties
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
8
|
import { d as defineCustomElement$4 } from './calcite-icon2.js';
|
|
@@ -15,7 +15,7 @@ let CalciteTileSelect$1 = class extends HTMLElement {
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
this.__registerHost();
|
|
18
|
-
|
|
18
|
+
this.__attachShadow();
|
|
19
19
|
this.calciteTileSelectChange = createEvent(this, "calciteTileSelectChange", 7);
|
|
20
20
|
//--------------------------------------------------------------------------
|
|
21
21
|
//
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { b as getSlotted } from './dom.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './calcite-icon2.js';
|
|
8
8
|
import { d as defineCustomElement$1 } from './calcite-link2.js';
|
|
@@ -12,13 +12,13 @@ const SLOTS = {
|
|
|
12
12
|
contentEnd: "content-end"
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
const calciteTileCss = "@-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{background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-ui-text-3);display:inline-block;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}.container{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:0.5rem;gap:0.5rem;pointer-events:none}.content{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;grid-gap:0.5rem;gap:0.5rem}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;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;-ms-flex-align:stretch;align-items:stretch;padding:0;color:var(--calcite-ui-text-2)}.content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}.content-slot-container:first-child{padding-right:0.75rem}.content-slot-container:last-child{padding-left:0.75rem}.heading{font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);font-weight:var(--calcite-font-weight-medium);pointer-events:none}.large-visual{-ms-flex-align:center;align-items:center;min-height:12rem}.large-visual .icon{-ms-flex-item-align:end;align-self:flex-end}.large-visual .content-container{-ms-flex-item-align:center;align-self:center}.description{font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";
|
|
15
|
+
const calciteTileCss = "@-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{background-color:var(--calcite-ui-foreground-1);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--calcite-ui-text-3);display:inline-block;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]){opacity:var(--calcite-ui-opacity-disabled);pointer-events:none}.container{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));grid-gap:0.5rem;gap:0.5rem;pointer-events:none}.content{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;grid-gap:0.5rem;gap:0.5rem;width:10%}.content-container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;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;-ms-flex-align:stretch;align-items:stretch;padding:0;color:var(--calcite-ui-text-2);width:100%}.content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}.content-slot-container:first-child{padding-right:0.75rem}.content-slot-container:last-child{padding-left:0.75rem}.heading{font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);font-weight:var(--calcite-font-weight-medium);pointer-events:none;word-wrap:break-word;overflow-wrap:break-word}.large-visual{-ms-flex-align:center;align-items:center;min-height:12rem}.large-visual .icon{-ms-flex-item-align:end;align-self:flex-end}.large-visual .content-container{-ms-flex-item-align:center;align-self:center}.description{font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";
|
|
16
16
|
|
|
17
17
|
let CalciteTile = class extends HTMLElement {
|
|
18
18
|
constructor() {
|
|
19
19
|
super();
|
|
20
20
|
this.__registerHost();
|
|
21
|
-
|
|
21
|
+
this.__attachShadow();
|
|
22
22
|
//--------------------------------------------------------------------------
|
|
23
23
|
//
|
|
24
24
|
// Properties
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { n as numberKeys, g as getKey, i as isActivationKey } from './key.js';
|
|
7
7
|
import { i as isValidNumber } from './number.js';
|
|
8
8
|
import { d as defineCustomElement$1 } from './calcite-icon2.js';
|
|
@@ -105,7 +105,7 @@ let CalciteTimePicker = class extends HTMLElement {
|
|
|
105
105
|
constructor() {
|
|
106
106
|
super();
|
|
107
107
|
this.__registerHost();
|
|
108
|
-
|
|
108
|
+
this.__attachShadow();
|
|
109
109
|
this.calciteTimePickerBlur = createEvent(this, "calciteTimePickerBlur", 7);
|
|
110
110
|
this.calciteTimePickerChange = createEvent(this, "calciteTimePickerChange", 7);
|
|
111
111
|
this.calciteTimePickerFocus = createEvent(this, "calciteTimePickerFocus", 7);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
|
|
7
7
|
const calciteTipGroupCss = "@-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{display:block;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1);line-height:1rem}::slotted(calcite-tip){border-style:none;margin:0}:host-context(calcite-tip-manager){margin-top:0.75rem;margin-bottom:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ let CalciteTipGroup$1 = class extends HTMLElement {
|
|
|
10
10
|
constructor() {
|
|
11
11
|
super();
|
|
12
12
|
this.__registerHost();
|
|
13
|
-
|
|
13
|
+
this.__attachShadow();
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
return h("slot", null);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { T as TEXT, C as CSS, I as ICONS, H as HEADING_LEVEL } from './resources4.js';
|
|
7
7
|
import { a as getElementDir } from './dom.js';
|
|
8
8
|
import { C as CalciteHeading } from './CalciteHeading.js';
|
|
@@ -17,7 +17,7 @@ let CalciteTipManager$1 = class extends HTMLElement {
|
|
|
17
17
|
constructor() {
|
|
18
18
|
super();
|
|
19
19
|
this.__registerHost();
|
|
20
|
-
|
|
20
|
+
this.__attachShadow();
|
|
21
21
|
this.calciteTipManagerToggle = createEvent(this, "calciteTipManagerToggle", 7);
|
|
22
22
|
// --------------------------------------------------------------------------
|
|
23
23
|
//
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { H as HEADING_LEVEL$1 } from './resources4.js';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
8
8
|
import { C as CalciteHeading, c as constrainHeadingLevel } from './CalciteHeading.js';
|
|
@@ -36,7 +36,7 @@ let CalciteTip$1 = class extends HTMLElement {
|
|
|
36
36
|
constructor() {
|
|
37
37
|
super();
|
|
38
38
|
this.__registerHost();
|
|
39
|
-
|
|
39
|
+
this.__attachShadow();
|
|
40
40
|
this.calciteTipDismiss = createEvent(this, "calciteTipDismiss", 7);
|
|
41
41
|
// --------------------------------------------------------------------------
|
|
42
42
|
//
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { T as TOOLTIP_REFERENCE, a as TOOLTIP_DELAY_MS } from './resources2.js';
|
|
7
7
|
import { q as queryElementRoots } from './dom.js';
|
|
8
8
|
import { g as getKey } from './key.js';
|
|
@@ -13,7 +13,7 @@ let CalciteTooltipManager = class extends HTMLElement {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super();
|
|
15
15
|
this.__registerHost();
|
|
16
|
-
|
|
16
|
+
this.__attachShadow();
|
|
17
17
|
this.hoverTimeouts = new WeakMap();
|
|
18
18
|
// --------------------------------------------------------------------------
|
|
19
19
|
//
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { T as TOOLTIP_REFERENCE, A as ARIA_DESCRIBED_BY, C as CSS$1 } from './resources2.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
8
|
import { d as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS } from './popper.js';
|
|
@@ -14,7 +14,7 @@ let CalciteTooltip$1 = class extends HTMLElement {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super();
|
|
16
16
|
this.__registerHost();
|
|
17
|
-
|
|
17
|
+
this.__attachShadow();
|
|
18
18
|
/**
|
|
19
19
|
* Offset the position of the popover away from the reference element.
|
|
20
20
|
* @default 6
|
|
@@ -120,7 +120,7 @@ let CalciteTooltip$1 = class extends HTMLElement {
|
|
|
120
120
|
const { popper, el, placement } = this;
|
|
121
121
|
const modifiers = this.getModifiers();
|
|
122
122
|
popper
|
|
123
|
-
? updatePopper({
|
|
123
|
+
? await updatePopper({
|
|
124
124
|
el,
|
|
125
125
|
modifiers,
|
|
126
126
|
placement,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { T as TreeSelectionMode } from './interfaces2.js';
|
|
7
7
|
import { b as getSlotted, a as getElementDir, C as CSS_UTILITY, e as filterDirectChildren, n as nodeListToArray } from './dom.js';
|
|
8
8
|
import { g as getKey } from './key.js';
|
|
@@ -33,7 +33,7 @@ let CalciteTreeItem$1 = class extends HTMLElement {
|
|
|
33
33
|
constructor() {
|
|
34
34
|
super();
|
|
35
35
|
this.__registerHost();
|
|
36
|
-
|
|
36
|
+
this.__attachShadow();
|
|
37
37
|
this.calciteTreeItemSelect = createEvent(this, "calciteTreeItemSelect", 7);
|
|
38
38
|
//--------------------------------------------------------------------------
|
|
39
39
|
//
|
|
@@ -66,10 +66,17 @@ let CalciteTreeItem$1 = class extends HTMLElement {
|
|
|
66
66
|
// Private Methods
|
|
67
67
|
//
|
|
68
68
|
//--------------------------------------------------------------------------
|
|
69
|
+
this.updateParentIsExpanded = (el, expanded) => {
|
|
70
|
+
const items = getSlotted(el, SLOTS.children, {
|
|
71
|
+
all: true,
|
|
72
|
+
selector: "calcite-tree-item"
|
|
73
|
+
});
|
|
74
|
+
items.forEach((item) => (item.parentExpanded = expanded));
|
|
75
|
+
};
|
|
69
76
|
this.updateAncestorTree = () => {
|
|
70
77
|
if (this.selected && this.selectionMode === TreeSelectionMode.Ancestors) {
|
|
71
78
|
const ancestors = [];
|
|
72
|
-
let parent = this.
|
|
79
|
+
let parent = this.parentTreeItem;
|
|
73
80
|
while (parent) {
|
|
74
81
|
ancestors.push(parent);
|
|
75
82
|
parent = parent.parentElement.closest("calcite-tree-item");
|
|
@@ -80,11 +87,7 @@ let CalciteTreeItem$1 = class extends HTMLElement {
|
|
|
80
87
|
};
|
|
81
88
|
}
|
|
82
89
|
expandedHandler(newValue) {
|
|
83
|
-
|
|
84
|
-
all: true,
|
|
85
|
-
selector: "calcite-tree-item"
|
|
86
|
-
});
|
|
87
|
-
items.forEach((item) => (item.parentExpanded = newValue));
|
|
90
|
+
this.updateParentIsExpanded(this.el, newValue);
|
|
88
91
|
}
|
|
89
92
|
//--------------------------------------------------------------------------
|
|
90
93
|
//
|
|
@@ -92,7 +95,11 @@ let CalciteTreeItem$1 = class extends HTMLElement {
|
|
|
92
95
|
//
|
|
93
96
|
//--------------------------------------------------------------------------
|
|
94
97
|
connectedCallback() {
|
|
95
|
-
this.
|
|
98
|
+
this.parentTreeItem = this.el.parentElement.closest("calcite-tree-item");
|
|
99
|
+
if (this.parentTreeItem) {
|
|
100
|
+
const { expanded } = this.parentTreeItem;
|
|
101
|
+
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
102
|
+
}
|
|
96
103
|
}
|
|
97
104
|
componentWillRender() {
|
|
98
105
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
@@ -204,7 +211,7 @@ let CalciteTreeItem$1 = class extends HTMLElement {
|
|
|
204
211
|
break;
|
|
205
212
|
}
|
|
206
213
|
// When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
|
|
207
|
-
const parentItem = this.
|
|
214
|
+
const parentItem = this.parentTreeItem;
|
|
208
215
|
if (parentItem && (!this.hasChildren || this.expanded === false)) {
|
|
209
216
|
parentItem.focus();
|
|
210
217
|
e.preventDefault();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { f as focusElement, n as nodeListToArray } from './dom.js';
|
|
7
7
|
import { T as TreeSelectionMode } from './interfaces2.js';
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ let CalciteTree$1 = class extends HTMLElement {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super();
|
|
14
14
|
this.__registerHost();
|
|
15
|
-
|
|
15
|
+
this.__attachShadow();
|
|
16
16
|
this.calciteTreeSelect = createEvent(this, "calciteTreeSelect", 7);
|
|
17
17
|
//--------------------------------------------------------------------------
|
|
18
18
|
//
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { I as ICON_TYPES } from './resources3.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
8
8
|
import { S as SLOTS$1, a as CSS, d as defineCustomElement$2 } from './calcite-pick-list-item2.js';
|
|
@@ -25,7 +25,7 @@ let CalciteValueListItem$1 = class extends HTMLElement {
|
|
|
25
25
|
constructor() {
|
|
26
26
|
super();
|
|
27
27
|
this.__registerHost();
|
|
28
|
-
|
|
28
|
+
this.__attachShadow();
|
|
29
29
|
this.calciteListItemRemove = createEvent(this, "calciteListItemRemove", 7);
|
|
30
30
|
/**
|
|
31
31
|
* When true, the item cannot be clicked and is visually muted
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
|
|
6
6
|
import { S as Sortable } from './sortable.esm.js';
|
|
7
7
|
import { m as mutationObserverCallback, d as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, i as initialize, a as initializeObserver, c as cleanUpObserver, r as removeItem, b as calciteListItemChangeHandler, e as calciteListItemValueChangeHandler, j as setUpItems, l as setFocus, L as List } from './shared-list-render.js';
|
|
8
8
|
import { g as getRoundRobinIndex } from './array.js';
|
|
@@ -29,7 +29,7 @@ let CalciteValueList$1 = class extends HTMLElement {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
super();
|
|
31
31
|
this.__registerHost();
|
|
32
|
-
|
|
32
|
+
this.__attachShadow();
|
|
33
33
|
this.calciteListChange = createEvent(this, "calciteListChange", 7);
|
|
34
34
|
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange", 7);
|
|
35
35
|
// --------------------------------------------------------------------------
|
package/dist/components/label.js
CHANGED
|
@@ -4,14 +4,43 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { q as queryElementRoots, d as closestElementCrossShadowBoundary } from './dom.js';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Exported for testing purposes only
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
8
11
|
const labelClickEvent = "calciteInternalLabelClick";
|
|
12
|
+
const labelTagName = "calcite-label";
|
|
9
13
|
const onLabelClickMap = new WeakMap();
|
|
10
14
|
const findLabelForComponent = (componentEl) => {
|
|
11
|
-
const id = componentEl
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
const { id } = componentEl;
|
|
16
|
+
const forLabel = id && queryElementRoots(componentEl, `${labelTagName}[for="${id}"]`);
|
|
17
|
+
if (forLabel) {
|
|
18
|
+
return forLabel;
|
|
19
|
+
}
|
|
20
|
+
const parentLabel = closestElementCrossShadowBoundary(componentEl, labelTagName);
|
|
21
|
+
if (!parentLabel ||
|
|
22
|
+
// labelable components within other custom elements are not considered labelable
|
|
23
|
+
hasAncestorCustomElements(parentLabel, componentEl)) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return parentLabel;
|
|
14
27
|
};
|
|
28
|
+
function hasAncestorCustomElements(label, componentEl) {
|
|
29
|
+
let traversedElements;
|
|
30
|
+
const customElementAncestorCheckEventType = "custom-element-ancestor-check";
|
|
31
|
+
const listener = (event) => {
|
|
32
|
+
event.stopImmediatePropagation();
|
|
33
|
+
const composedPath = event.composedPath();
|
|
34
|
+
traversedElements = composedPath.slice(composedPath.indexOf(componentEl), composedPath.indexOf(label));
|
|
35
|
+
};
|
|
36
|
+
label.addEventListener(customElementAncestorCheckEventType, listener, { once: true });
|
|
37
|
+
componentEl.dispatchEvent(new CustomEvent(customElementAncestorCheckEventType, { composed: true, bubbles: true }));
|
|
38
|
+
label.removeEventListener(customElementAncestorCheckEventType, listener);
|
|
39
|
+
const ancestorCustomElements = traversedElements
|
|
40
|
+
.filter((el) => el !== componentEl && el !== label)
|
|
41
|
+
.filter((el) => { var _a; return (_a = el.tagName) === null || _a === void 0 ? void 0 : _a.includes("-"); });
|
|
42
|
+
return ancestorCustomElements.length > 0;
|
|
43
|
+
}
|
|
15
44
|
/**
|
|
16
45
|
* Helper to set up label interactions on connectedCallback.
|
|
17
46
|
*/
|
|
@@ -1769,9 +1769,9 @@ function createPopper({ referenceEl, el, placement, overlayPositioning = "absolu
|
|
|
1769
1769
|
modifiers
|
|
1770
1770
|
});
|
|
1771
1771
|
}
|
|
1772
|
-
function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
|
|
1772
|
+
async function updatePopper({ el, modifiers, placement: PopperPlacement, popper }) {
|
|
1773
1773
|
const placement = getPlacement(el, PopperPlacement);
|
|
1774
|
-
popper.setOptions({
|
|
1774
|
+
await popper.setOptions({
|
|
1775
1775
|
modifiers,
|
|
1776
1776
|
placement
|
|
1777
1777
|
});
|