@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
|
@@ -434,8 +434,8 @@ export class CalciteDatePickerMonth {
|
|
|
434
434
|
"optional": false,
|
|
435
435
|
"docs": {
|
|
436
436
|
"tags": [{
|
|
437
|
-
"
|
|
438
|
-
"
|
|
437
|
+
"name": "internal",
|
|
438
|
+
"text": undefined
|
|
439
439
|
}],
|
|
440
440
|
"text": "CLDR locale data for current locale"
|
|
441
441
|
}
|
|
@@ -484,8 +484,8 @@ export class CalciteDatePickerMonth {
|
|
|
484
484
|
"composed": true,
|
|
485
485
|
"docs": {
|
|
486
486
|
"tags": [{
|
|
487
|
-
"
|
|
488
|
-
"
|
|
487
|
+
"name": "internal",
|
|
488
|
+
"text": undefined
|
|
489
489
|
}],
|
|
490
490
|
"text": "Event emitted when user hovers the date."
|
|
491
491
|
},
|
|
@@ -517,8 +517,8 @@ export class CalciteDatePickerMonth {
|
|
|
517
517
|
"composed": true,
|
|
518
518
|
"docs": {
|
|
519
519
|
"tags": [{
|
|
520
|
-
"
|
|
521
|
-
"
|
|
520
|
+
"name": "internal",
|
|
521
|
+
"text": undefined
|
|
522
522
|
}],
|
|
523
523
|
"text": ""
|
|
524
524
|
},
|
|
@@ -181,7 +181,7 @@ export class CalciteDropdown {
|
|
|
181
181
|
this.setMaxScrollerHeight();
|
|
182
182
|
const modifiers = this.getModifiers();
|
|
183
183
|
popper
|
|
184
|
-
? updatePopper({
|
|
184
|
+
? await updatePopper({
|
|
185
185
|
el: menuEl,
|
|
186
186
|
modifiers,
|
|
187
187
|
placement,
|
|
@@ -472,8 +472,8 @@ export class CalciteDropdown {
|
|
|
472
472
|
"optional": false,
|
|
473
473
|
"docs": {
|
|
474
474
|
"tags": [{
|
|
475
|
-
"
|
|
476
|
-
"
|
|
475
|
+
"name": "default",
|
|
476
|
+
"text": "\"bottom-leading\""
|
|
477
477
|
}],
|
|
478
478
|
"text": "Determines where the dropdown will be positioned relative to the button."
|
|
479
479
|
},
|
|
@@ -520,8 +520,8 @@ export class CalciteDropdown {
|
|
|
520
520
|
"optional": false,
|
|
521
521
|
"docs": {
|
|
522
522
|
"tags": [{
|
|
523
|
-
"
|
|
524
|
-
"
|
|
523
|
+
"name": "readonly",
|
|
524
|
+
"text": undefined
|
|
525
525
|
}],
|
|
526
526
|
"text": "**read-only** The currently selected items"
|
|
527
527
|
},
|
|
@@ -164,8 +164,7 @@
|
|
|
164
164
|
transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
:host(:focus)
|
|
168
|
-
.container--link a:focus {
|
|
167
|
+
:host(:focus) {
|
|
169
168
|
outline: 2px solid var(--calcite-ui-brand);
|
|
170
169
|
outline-offset: -2px;
|
|
171
170
|
}
|
|
@@ -189,26 +188,32 @@
|
|
|
189
188
|
}
|
|
190
189
|
|
|
191
190
|
.container--s .dropdown-link {
|
|
192
|
-
|
|
191
|
+
font-size: var(--calcite-font-size--2);
|
|
192
|
+
line-height: 1rem;
|
|
193
|
+
padding-right: 0.5rem;
|
|
194
|
+
padding-left: 1.5rem;
|
|
195
|
+
padding-top: 0.25rem;
|
|
196
|
+
padding-bottom: 0.25rem;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.container--m .dropdown-link {
|
|
200
|
+
font-size: var(--calcite-font-size--1);
|
|
201
|
+
line-height: 1rem;
|
|
193
202
|
padding-right: 0.75rem;
|
|
203
|
+
padding-left: 2rem;
|
|
194
204
|
padding-top: 0.5rem;
|
|
195
205
|
padding-bottom: 0.5rem;
|
|
196
206
|
}
|
|
197
207
|
|
|
198
|
-
.container--
|
|
199
|
-
|
|
208
|
+
.container--l .dropdown-link {
|
|
209
|
+
font-size: var(--calcite-font-size-0);
|
|
210
|
+
line-height: 1.25rem;
|
|
200
211
|
padding-right: 1rem;
|
|
212
|
+
padding-left: 2.5rem;
|
|
201
213
|
padding-top: 0.75rem;
|
|
202
214
|
padding-bottom: 0.75rem;
|
|
203
215
|
}
|
|
204
216
|
|
|
205
|
-
.container--l .dropdown-link {
|
|
206
|
-
padding-left: 1.25rem;
|
|
207
|
-
padding-right: 1.25rem;
|
|
208
|
-
padding-top: 1rem;
|
|
209
|
-
padding-bottom: 1rem;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
217
|
:host(:hover) .container,
|
|
213
218
|
:host(:active) .container {
|
|
214
219
|
background-color: var(--calcite-ui-foreground-2);
|
|
@@ -216,6 +221,11 @@
|
|
|
216
221
|
text-decoration: none;
|
|
217
222
|
}
|
|
218
223
|
|
|
224
|
+
:host(:hover) .container--link .dropdown-link,
|
|
225
|
+
:host(:active) .container--link .dropdown-link {
|
|
226
|
+
color: var(--calcite-ui-text-1);
|
|
227
|
+
}
|
|
228
|
+
|
|
219
229
|
:host(:focus) .container {
|
|
220
230
|
color: var(--calcite-ui-text-1);
|
|
221
231
|
text-decoration: none;
|
|
@@ -236,32 +246,28 @@
|
|
|
236
246
|
right: 1rem;
|
|
237
247
|
}
|
|
238
248
|
|
|
239
|
-
|
|
249
|
+
.calcite--rtl .dropdown-link {
|
|
250
|
+
padding-right: 0;
|
|
251
|
+
padding-left: 0;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
:host([active]) .container:not(.container--none-selection),
|
|
255
|
+
:host([active]) .container--link .dropdown-link {
|
|
240
256
|
color: var(--calcite-ui-text-1);
|
|
241
257
|
font-weight: var(--calcite-font-weight-medium);
|
|
242
258
|
}
|
|
243
259
|
|
|
244
|
-
:host([active]) .container:not(.container--none-selection):before
|
|
260
|
+
:host([active]) .container:not(.container--none-selection):before,
|
|
261
|
+
:host([active]) .container--link .dropdown-link:before {
|
|
245
262
|
opacity: 1;
|
|
246
263
|
color: var(--calcite-ui-brand);
|
|
247
264
|
}
|
|
248
265
|
|
|
249
|
-
:host([active]) .container:not(.container--none-selection) calcite-icon
|
|
266
|
+
:host([active]) .container:not(.container--none-selection) calcite-icon,
|
|
267
|
+
:host([active]) .container--link .dropdown-link calcite-icon {
|
|
250
268
|
color: var(--calcite-ui-brand);
|
|
251
269
|
}
|
|
252
270
|
|
|
253
|
-
.container--s.container--none-selection {
|
|
254
|
-
padding-left: 0.25rem;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.container--m.container--none-selection {
|
|
258
|
-
padding-left: 0.5rem;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.container--l.container--none-selection {
|
|
262
|
-
padding-left: 0.75rem;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
271
|
.container--multi-selection:before,
|
|
266
272
|
.container--none-selection:before {
|
|
267
273
|
display: none;
|
|
@@ -314,8 +314,8 @@ export class CalciteDropdownItem {
|
|
|
314
314
|
"composed": true,
|
|
315
315
|
"docs": {
|
|
316
316
|
"tags": [{
|
|
317
|
-
"
|
|
318
|
-
"
|
|
317
|
+
"name": "internal",
|
|
318
|
+
"text": undefined
|
|
319
319
|
}],
|
|
320
320
|
"text": ""
|
|
321
321
|
},
|
|
@@ -332,8 +332,8 @@ export class CalciteDropdownItem {
|
|
|
332
332
|
"composed": true,
|
|
333
333
|
"docs": {
|
|
334
334
|
"tags": [{
|
|
335
|
-
"
|
|
336
|
-
"
|
|
335
|
+
"name": "internal",
|
|
336
|
+
"text": undefined
|
|
337
337
|
}],
|
|
338
338
|
"text": ""
|
|
339
339
|
},
|
|
@@ -355,8 +355,8 @@ export class CalciteDropdownItem {
|
|
|
355
355
|
"composed": true,
|
|
356
356
|
"docs": {
|
|
357
357
|
"tags": [{
|
|
358
|
-
"
|
|
359
|
-
"
|
|
358
|
+
"name": "internal",
|
|
359
|
+
"text": undefined
|
|
360
360
|
}],
|
|
361
361
|
"text": ""
|
|
362
362
|
},
|
|
@@ -152,8 +152,8 @@ export class CalciteFab {
|
|
|
152
152
|
"optional": true,
|
|
153
153
|
"docs": {
|
|
154
154
|
"tags": [{
|
|
155
|
-
"
|
|
156
|
-
"
|
|
155
|
+
"name": "default",
|
|
156
|
+
"text": "\"plus\""
|
|
157
157
|
}],
|
|
158
158
|
"text": "The name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/."
|
|
159
159
|
},
|
|
@@ -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 { Component, Element, Event, Prop,
|
|
5
|
+
import { Component, Element, Event, Prop, h, Method, Fragment, Watch } from "@stencil/core";
|
|
6
6
|
import { debounce, forIn } from "lodash-es";
|
|
7
7
|
import { CSS, ICONS, TEXT } from "./resources";
|
|
8
8
|
import { CSS_UTILITY } from "../../utils/resources";
|
|
@@ -14,7 +14,12 @@ export class CalciteFilter {
|
|
|
14
14
|
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
15
15
|
*/
|
|
16
16
|
this.disabled = false;
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* The resulting items after filtering.
|
|
19
|
+
*
|
|
20
|
+
* @readonly
|
|
21
|
+
*/
|
|
22
|
+
this.filteredItems = [];
|
|
18
23
|
// --------------------------------------------------------------------------
|
|
19
24
|
//
|
|
20
25
|
// Private Methods
|
|
@@ -22,10 +27,8 @@ export class CalciteFilter {
|
|
|
22
27
|
// --------------------------------------------------------------------------
|
|
23
28
|
this.filter = debounce((value) => {
|
|
24
29
|
const regex = new RegExp(value, "i");
|
|
25
|
-
if (this.
|
|
26
|
-
|
|
27
|
-
The data property expects an array of objects`);
|
|
28
|
-
this.calciteFilterChange.emit([]);
|
|
30
|
+
if (this.items.length === 0) {
|
|
31
|
+
this.updateFiltered([]);
|
|
29
32
|
return;
|
|
30
33
|
}
|
|
31
34
|
const find = (input, RE) => {
|
|
@@ -45,15 +48,14 @@ export class CalciteFilter {
|
|
|
45
48
|
});
|
|
46
49
|
return found;
|
|
47
50
|
};
|
|
48
|
-
const result = this.
|
|
51
|
+
const result = this.items.filter((item) => {
|
|
49
52
|
return find(item, regex);
|
|
50
53
|
});
|
|
51
|
-
this.
|
|
54
|
+
this.updateFiltered(result);
|
|
52
55
|
}, filterDebounceInMs);
|
|
53
56
|
this.inputHandler = (event) => {
|
|
54
57
|
const target = event.target;
|
|
55
|
-
this.
|
|
56
|
-
this.filter(target.value);
|
|
58
|
+
this.value = target.value;
|
|
57
59
|
};
|
|
58
60
|
this.keyDownHandler = ({ key }) => {
|
|
59
61
|
if (key === "Escape") {
|
|
@@ -61,12 +63,29 @@ export class CalciteFilter {
|
|
|
61
63
|
}
|
|
62
64
|
};
|
|
63
65
|
this.clear = () => {
|
|
64
|
-
this.
|
|
65
|
-
this.empty = true;
|
|
66
|
-
this.calciteFilterChange.emit(this.data);
|
|
66
|
+
this.value = "";
|
|
67
67
|
this.setFocus();
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
+
watchDataHandler(value) {
|
|
71
|
+
this.items = value;
|
|
72
|
+
}
|
|
73
|
+
watchItemsHandler() {
|
|
74
|
+
this.filter(this.value);
|
|
75
|
+
}
|
|
76
|
+
valueHandler(value) {
|
|
77
|
+
this.filter(value);
|
|
78
|
+
}
|
|
79
|
+
//--------------------------------------------------------------------------
|
|
80
|
+
//
|
|
81
|
+
// Lifecycle
|
|
82
|
+
//
|
|
83
|
+
//--------------------------------------------------------------------------
|
|
84
|
+
connectedCallback() {
|
|
85
|
+
if (this.data && !this.items) {
|
|
86
|
+
this.items = this.data;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
70
89
|
// --------------------------------------------------------------------------
|
|
71
90
|
//
|
|
72
91
|
// Public Methods
|
|
@@ -76,6 +95,11 @@ export class CalciteFilter {
|
|
|
76
95
|
async setFocus() {
|
|
77
96
|
focusElement(this.textInput);
|
|
78
97
|
}
|
|
98
|
+
updateFiltered(filtered) {
|
|
99
|
+
this.filteredItems.length = 0;
|
|
100
|
+
this.filteredItems = this.filteredItems.concat(filtered);
|
|
101
|
+
this.calciteFilterChange.emit(filtered);
|
|
102
|
+
}
|
|
79
103
|
// --------------------------------------------------------------------------
|
|
80
104
|
//
|
|
81
105
|
// Render Methods
|
|
@@ -90,8 +114,8 @@ export class CalciteFilter {
|
|
|
90
114
|
h("label", { class: rtl ? CSS_UTILITY.rtl : null },
|
|
91
115
|
h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, class: rtl ? CSS_UTILITY.rtl : null, disabled: this.disabled, icon: ICONS.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
92
116
|
this.textInput = el;
|
|
93
|
-
}, type: "text", value:
|
|
94
|
-
|
|
117
|
+
}, type: "text", value: this.value })),
|
|
118
|
+
this.value ? (h("button", { "aria-label": this.intlClear || TEXT.clear, class: CSS.clearButton, onClick: this.clear },
|
|
95
119
|
h("calcite-icon", { icon: ICONS.close }))) : null)));
|
|
96
120
|
}
|
|
97
121
|
static get is() { return "calcite-filter"; }
|
|
@@ -114,10 +138,28 @@ export class CalciteFilter {
|
|
|
114
138
|
"required": false,
|
|
115
139
|
"optional": false,
|
|
116
140
|
"docs": {
|
|
117
|
-
"tags": [
|
|
141
|
+
"tags": [{
|
|
142
|
+
"name": "deprecated",
|
|
143
|
+
"text": "use `items` instead."
|
|
144
|
+
}],
|
|
118
145
|
"text": "The input data. The filter uses this as the starting point, and returns items\nthat contain the string entered in the input, using a partial match and recursive search."
|
|
119
146
|
}
|
|
120
147
|
},
|
|
148
|
+
"items": {
|
|
149
|
+
"type": "unknown",
|
|
150
|
+
"mutable": true,
|
|
151
|
+
"complexType": {
|
|
152
|
+
"original": "object[]",
|
|
153
|
+
"resolved": "object[]",
|
|
154
|
+
"references": {}
|
|
155
|
+
},
|
|
156
|
+
"required": false,
|
|
157
|
+
"optional": false,
|
|
158
|
+
"docs": {
|
|
159
|
+
"tags": [],
|
|
160
|
+
"text": "The items to filter through. The filter uses this as the starting point, and returns items\nthat contain the string entered in the input, using a partial match and recursive search.\n\nThis property is required."
|
|
161
|
+
}
|
|
162
|
+
},
|
|
121
163
|
"disabled": {
|
|
122
164
|
"type": "boolean",
|
|
123
165
|
"mutable": false,
|
|
@@ -136,6 +178,29 @@ export class CalciteFilter {
|
|
|
136
178
|
"reflect": true,
|
|
137
179
|
"defaultValue": "false"
|
|
138
180
|
},
|
|
181
|
+
"filteredItems": {
|
|
182
|
+
"type": "unknown",
|
|
183
|
+
"mutable": true,
|
|
184
|
+
"complexType": {
|
|
185
|
+
"original": "CalciteFilter[\"items\"]",
|
|
186
|
+
"resolved": "object[]",
|
|
187
|
+
"references": {
|
|
188
|
+
"CalciteFilter": {
|
|
189
|
+
"location": "global"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"required": false,
|
|
194
|
+
"optional": false,
|
|
195
|
+
"docs": {
|
|
196
|
+
"tags": [{
|
|
197
|
+
"name": "readonly",
|
|
198
|
+
"text": undefined
|
|
199
|
+
}],
|
|
200
|
+
"text": "The resulting items after filtering."
|
|
201
|
+
},
|
|
202
|
+
"defaultValue": "[]"
|
|
203
|
+
},
|
|
139
204
|
"intlClear": {
|
|
140
205
|
"type": "string",
|
|
141
206
|
"mutable": false,
|
|
@@ -186,11 +251,25 @@ export class CalciteFilter {
|
|
|
186
251
|
},
|
|
187
252
|
"attribute": "placeholder",
|
|
188
253
|
"reflect": false
|
|
254
|
+
},
|
|
255
|
+
"value": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"mutable": true,
|
|
258
|
+
"complexType": {
|
|
259
|
+
"original": "string",
|
|
260
|
+
"resolved": "string",
|
|
261
|
+
"references": {}
|
|
262
|
+
},
|
|
263
|
+
"required": false,
|
|
264
|
+
"optional": true,
|
|
265
|
+
"docs": {
|
|
266
|
+
"tags": [],
|
|
267
|
+
"text": "Filter value."
|
|
268
|
+
},
|
|
269
|
+
"attribute": "value",
|
|
270
|
+
"reflect": false
|
|
189
271
|
}
|
|
190
272
|
}; }
|
|
191
|
-
static get states() { return {
|
|
192
|
-
"empty": {}
|
|
193
|
-
}; }
|
|
194
273
|
static get events() { return [{
|
|
195
274
|
"method": "calciteFilterChange",
|
|
196
275
|
"name": "calciteFilterChange",
|
|
@@ -226,4 +305,14 @@ export class CalciteFilter {
|
|
|
226
305
|
}
|
|
227
306
|
}; }
|
|
228
307
|
static get elementRef() { return "el"; }
|
|
308
|
+
static get watchers() { return [{
|
|
309
|
+
"propName": "data",
|
|
310
|
+
"methodName": "watchDataHandler"
|
|
311
|
+
}, {
|
|
312
|
+
"propName": "items",
|
|
313
|
+
"methodName": "watchItemsHandler"
|
|
314
|
+
}, {
|
|
315
|
+
"propName": "value",
|
|
316
|
+
"methodName": "valueHandler"
|
|
317
|
+
}]; }
|
|
229
318
|
}
|
|
@@ -34,17 +34,25 @@ export class CalciteGraph {
|
|
|
34
34
|
//
|
|
35
35
|
//--------------------------------------------------------------------------
|
|
36
36
|
render() {
|
|
37
|
-
const { data, colorStops, width, height, highlightMax, highlightMin } = this;
|
|
37
|
+
const { data, colorStops, width, height, highlightMax, highlightMin, min, max } = this;
|
|
38
38
|
const id = this.graphId;
|
|
39
39
|
// if we have no data, return empty svg
|
|
40
40
|
if (!data || data.length === 0) {
|
|
41
41
|
return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
|
|
42
42
|
}
|
|
43
|
-
const { min, max } = range(data);
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
const { min: rangeMin, max: rangeMax } = range(data);
|
|
44
|
+
let currentMin = rangeMin;
|
|
45
|
+
let currentMax = rangeMax;
|
|
46
|
+
if (min < rangeMin[0]) {
|
|
47
|
+
currentMin = [min, 0];
|
|
48
|
+
}
|
|
49
|
+
if (max > rangeMax[0]) {
|
|
50
|
+
currentMax = [max, rangeMax[1]];
|
|
51
|
+
}
|
|
52
|
+
const t = translate({ min: currentMin, max: currentMax, width, height });
|
|
53
|
+
const [hMinX] = t([highlightMin, currentMax[1]]);
|
|
54
|
+
const [hMaxX] = t([highlightMax, currentMax[1]]);
|
|
55
|
+
const areaPath = area({ data, min: rangeMin, max: rangeMax, t });
|
|
48
56
|
const fill = colorStops ? `url(#linear-gradient-${id})` : undefined;
|
|
49
57
|
return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width },
|
|
50
58
|
colorStops ? (h("defs", null,
|
|
@@ -198,6 +206,40 @@ export class CalciteGraph {
|
|
|
198
206
|
},
|
|
199
207
|
"attribute": "highlight-max",
|
|
200
208
|
"reflect": false
|
|
209
|
+
},
|
|
210
|
+
"min": {
|
|
211
|
+
"type": "number",
|
|
212
|
+
"mutable": false,
|
|
213
|
+
"complexType": {
|
|
214
|
+
"original": "number",
|
|
215
|
+
"resolved": "number",
|
|
216
|
+
"references": {}
|
|
217
|
+
},
|
|
218
|
+
"required": true,
|
|
219
|
+
"optional": false,
|
|
220
|
+
"docs": {
|
|
221
|
+
"tags": [],
|
|
222
|
+
"text": "Lowest point of the range"
|
|
223
|
+
},
|
|
224
|
+
"attribute": "min",
|
|
225
|
+
"reflect": false
|
|
226
|
+
},
|
|
227
|
+
"max": {
|
|
228
|
+
"type": "number",
|
|
229
|
+
"mutable": false,
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "number",
|
|
232
|
+
"resolved": "number",
|
|
233
|
+
"references": {}
|
|
234
|
+
},
|
|
235
|
+
"required": true,
|
|
236
|
+
"optional": false,
|
|
237
|
+
"docs": {
|
|
238
|
+
"tags": [],
|
|
239
|
+
"text": "Highest point of the range"
|
|
240
|
+
},
|
|
241
|
+
"attribute": "max",
|
|
242
|
+
"reflect": false
|
|
201
243
|
}
|
|
202
244
|
}; }
|
|
203
245
|
static get elementRef() { return "el"; }
|
|
@@ -49,7 +49,7 @@ export function translate({ width, height, min, max }) {
|
|
|
49
49
|
const rangeX = max[0] - min[0];
|
|
50
50
|
const rangeY = max[1] - min[1];
|
|
51
51
|
return (point) => {
|
|
52
|
-
const x = (point[0] / rangeX) * width;
|
|
52
|
+
const x = ((point[0] - min[0]) / rangeX) * width;
|
|
53
53
|
const y = height - (point[1] / rangeY) * height;
|
|
54
54
|
return [x, y];
|
|
55
55
|
};
|
|
@@ -86,8 +86,8 @@ export class CalciteHandle {
|
|
|
86
86
|
"optional": false,
|
|
87
87
|
"docs": {
|
|
88
88
|
"tags": [{
|
|
89
|
-
"
|
|
90
|
-
"
|
|
89
|
+
"name": "internal",
|
|
90
|
+
"text": "- stores the activated state of the drag handle."
|
|
91
91
|
}],
|
|
92
92
|
"text": ""
|
|
93
93
|
},
|
|
@@ -268,8 +268,8 @@ export class CalciteInlineEditable {
|
|
|
268
268
|
"optional": false,
|
|
269
269
|
"docs": {
|
|
270
270
|
"tags": [{
|
|
271
|
-
"
|
|
272
|
-
"
|
|
271
|
+
"name": "default",
|
|
272
|
+
"text": "\"Click to edit\""
|
|
273
273
|
}],
|
|
274
274
|
"text": "specify text to be user for the enable editing button's aria-label, defaults to `Click to edit`"
|
|
275
275
|
},
|
|
@@ -289,8 +289,8 @@ export class CalciteInlineEditable {
|
|
|
289
289
|
"optional": false,
|
|
290
290
|
"docs": {
|
|
291
291
|
"tags": [{
|
|
292
|
-
"
|
|
293
|
-
"
|
|
292
|
+
"name": "default",
|
|
293
|
+
"text": "\"Cancel\""
|
|
294
294
|
}],
|
|
295
295
|
"text": "specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`"
|
|
296
296
|
},
|
|
@@ -310,8 +310,8 @@ export class CalciteInlineEditable {
|
|
|
310
310
|
"optional": false,
|
|
311
311
|
"docs": {
|
|
312
312
|
"tags": [{
|
|
313
|
-
"
|
|
314
|
-
"
|
|
313
|
+
"name": "default",
|
|
314
|
+
"text": "\"Save\""
|
|
315
315
|
}],
|
|
316
316
|
"text": "specify text to be user for the confirm changes button's aria-label, defaults to `Save`"
|
|
317
317
|
},
|
|
@@ -369,8 +369,8 @@ export class CalciteInlineEditable {
|
|
|
369
369
|
"composed": true,
|
|
370
370
|
"docs": {
|
|
371
371
|
"tags": [{
|
|
372
|
-
"
|
|
373
|
-
"
|
|
372
|
+
"name": "internal",
|
|
373
|
+
"text": undefined
|
|
374
374
|
}],
|
|
375
375
|
"text": ""
|
|
376
376
|
},
|
|
@@ -387,8 +387,8 @@ export class CalciteInlineEditable {
|
|
|
387
387
|
"composed": true,
|
|
388
388
|
"docs": {
|
|
389
389
|
"tags": [{
|
|
390
|
-
"
|
|
391
|
-
"
|
|
390
|
+
"name": "internal",
|
|
391
|
+
"text": undefined
|
|
392
392
|
}],
|
|
393
393
|
"text": ""
|
|
394
394
|
},
|
|
@@ -405,8 +405,8 @@ export class CalciteInlineEditable {
|
|
|
405
405
|
"composed": true,
|
|
406
406
|
"docs": {
|
|
407
407
|
"tags": [{
|
|
408
|
-
"
|
|
409
|
-
"
|
|
408
|
+
"name": "internal",
|
|
409
|
+
"text": undefined
|
|
410
410
|
}],
|
|
411
411
|
"text": ""
|
|
412
412
|
},
|