@esri/calcite-components 1.0.0-next.654 → 1.0.0-next.655
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-a3ba6aef.entry.js → p-043ea88f.entry.js} +2 -2
- package/dist/calcite/{p-9bc4d2e7.js → p-04a542d5.js} +2 -2
- package/dist/calcite/{p-72f6644b.js → p-05c07433.js} +1 -1
- package/dist/calcite/{p-3d983e10.entry.js → p-06b8eaf1.entry.js} +2 -2
- package/dist/calcite/{p-7bef3ee1.entry.js → p-114b5d1c.entry.js} +2 -2
- package/dist/calcite/{p-3fc46634.entry.js → p-15500e9a.entry.js} +2 -2
- package/dist/calcite/{p-a77f3220.entry.js → p-1982152c.entry.js} +2 -2
- package/dist/calcite/p-19eef56a.entry.js +6 -0
- package/dist/calcite/{p-3ce64b5d.js → p-1d01393e.js} +2 -2
- package/dist/calcite/p-1d457dd1.js +6 -0
- package/dist/calcite/{p-f275f69c.entry.js → p-20a4c9c3.entry.js} +2 -2
- package/dist/calcite/{p-a3efce03.entry.js → p-21588351.entry.js} +2 -2
- package/dist/calcite/{p-63fabfa9.entry.js → p-26e36a96.entry.js} +2 -2
- package/dist/calcite/p-2964e90c.entry.js +6 -0
- package/dist/calcite/{p-553dcf8f.js → p-29dc2fc3.js} +1 -1
- package/dist/calcite/{p-6c957ddf.entry.js → p-2e002bf7.entry.js} +2 -2
- package/dist/calcite/{p-d4313c1c.js → p-31512acf.js} +2 -2
- package/dist/calcite/{p-aa620a9f.entry.js → p-3403e756.entry.js} +2 -2
- package/dist/calcite/p-340e338f.entry.js +6 -0
- package/dist/calcite/{p-ef016df0.entry.js → p-3b4fbb37.entry.js} +2 -2
- package/dist/calcite/{p-96c90357.entry.js → p-3c0dcfb7.entry.js} +2 -2
- package/dist/calcite/{p-ae327e4f.js → p-3f55b93b.js} +1 -1
- package/dist/calcite/{p-6f5b07e8.entry.js → p-3fcadef4.entry.js} +2 -2
- package/dist/calcite/{p-06d5c014.entry.js → p-442b6798.entry.js} +2 -2
- package/dist/calcite/{p-c1dd3c4e.entry.js → p-46dd2ba4.entry.js} +2 -2
- package/dist/calcite/{p-24bdea5e.entry.js → p-47685252.entry.js} +2 -2
- package/dist/calcite/{p-d9e9ec30.entry.js → p-4a861228.entry.js} +2 -2
- package/dist/calcite/p-4b46c28a.entry.js +6 -0
- package/dist/calcite/{p-12d6681d.entry.js → p-4f08640a.entry.js} +2 -2
- package/dist/calcite/{p-e94dd8f6.entry.js → p-5007e6bd.entry.js} +2 -2
- package/dist/calcite/{p-d8790ccd.entry.js → p-56ad5531.entry.js} +2 -2
- package/dist/calcite/{p-b0f4cbef.entry.js → p-595da7bb.entry.js} +2 -2
- package/dist/calcite/{p-e27d22a3.entry.js → p-62677747.entry.js} +2 -2
- package/dist/calcite/{p-ceb691f9.js → p-6c29460f.js} +1 -1
- package/dist/calcite/{p-6287a7e3.entry.js → p-70af3d23.entry.js} +2 -2
- package/dist/calcite/{p-92f22711.entry.js → p-70e5d6c1.entry.js} +2 -2
- package/dist/calcite/{p-c6f8fd3f.js → p-75665b0d.js} +1 -1
- package/dist/calcite/{p-4c684f9b.entry.js → p-789b6bad.entry.js} +2 -2
- package/dist/calcite/p-7a197dad.entry.js +6 -0
- package/dist/calcite/{p-17c258b8.entry.js → p-7ce637a8.entry.js} +2 -2
- package/dist/calcite/{p-a3b5d915.entry.js → p-7dfeef91.entry.js} +2 -2
- package/dist/calcite/{p-51db14be.entry.js → p-8087a217.entry.js} +2 -2
- package/dist/calcite/{p-a4735ae4.entry.js → p-8693a7bb.entry.js} +2 -2
- package/dist/calcite/{p-35fc7dca.js → p-883da6ae.js} +2 -2
- package/dist/calcite/{p-c3502aba.entry.js → p-894b85ce.entry.js} +2 -2
- package/dist/calcite/{p-2cc5c240.entry.js → p-8d68685d.entry.js} +2 -2
- package/dist/calcite/{p-4fbd47e5.entry.js → p-914480aa.entry.js} +2 -2
- package/dist/calcite/{p-99003334.entry.js → p-93a37211.entry.js} +2 -2
- package/dist/calcite/{p-d8a36d6a.js → p-94d9499a.js} +1 -1
- package/dist/calcite/{p-e05633d0.entry.js → p-97338377.entry.js} +2 -2
- package/dist/calcite/{p-14e0d4fe.entry.js → p-9a2d8ab0.entry.js} +2 -2
- package/dist/calcite/{p-e734a9bd.entry.js → p-9b91641b.entry.js} +2 -2
- package/dist/calcite/{p-48d5c4c0.entry.js → p-9be856ff.entry.js} +2 -2
- package/dist/calcite/{p-10aa4062.entry.js → p-a13d26d4.entry.js} +2 -2
- package/dist/calcite/{p-4ca4f558.js → p-a176bb86.js} +2 -2
- package/dist/calcite/{p-b9028c65.entry.js → p-a2aa2633.entry.js} +2 -2
- package/dist/calcite/{p-3a773abe.js → p-a46eae3b.js} +2 -2
- package/dist/calcite/{p-e33b64ac.js → p-a9ad5958.js} +1 -1
- package/dist/calcite/{p-6f92b03a.entry.js → p-ab331d08.entry.js} +2 -2
- package/dist/calcite/{p-8d0566d1.entry.js → p-adc56e8e.entry.js} +2 -2
- package/dist/calcite/p-ae16f981.entry.js +6 -0
- package/dist/calcite/{p-7e574772.js → p-af6229cc.js} +2 -2
- package/dist/calcite/{p-5ce6006a.js → p-b2464ba9.js} +1 -1
- package/dist/calcite/{p-deceabe8.entry.js → p-b257f060.entry.js} +2 -2
- package/dist/calcite/{p-5718dd4a.js → p-b3de53d6.js} +2 -2
- package/dist/calcite/{p-48154bde.entry.js → p-b52352f0.entry.js} +2 -2
- package/dist/calcite/{p-530fdbab.js → p-b60fc503.js} +2 -2
- package/dist/calcite/{p-4cf9ae65.js → p-bb298c47.js} +1 -1
- package/dist/calcite/{p-1055bcbe.js → p-c55e7664.js} +1 -1
- package/dist/calcite/{p-ea002837.entry.js → p-c66c342c.entry.js} +2 -2
- package/dist/calcite/{p-95cfabd8.entry.js → p-c8cb4d64.entry.js} +2 -2
- package/dist/calcite/{p-10d7edd8.entry.js → p-c91c0d84.entry.js} +2 -2
- package/dist/calcite/{p-53c33d4b.js → p-ce2cd41b.js} +2 -2
- package/dist/calcite/{p-39d090ab.js → p-d1250cd5.js} +1 -1
- package/dist/calcite/{p-1f01fc57.entry.js → p-d1ea7e98.entry.js} +2 -2
- package/dist/calcite/{p-77c4f889.js → p-d4897627.js} +2 -2
- package/dist/calcite/{p-33e17f1b.js → p-d63eca00.js} +1 -1
- package/dist/calcite/{p-ade56eab.js → p-d7a2f588.js} +2 -2
- package/dist/calcite/p-d9073ba3.entry.js +6 -0
- package/dist/calcite/p-df638ece.entry.js +6 -0
- package/dist/calcite/{p-0254ac2f.js → p-e0117b64.js} +1 -1
- package/dist/calcite/p-e17d5384.entry.js +6 -0
- package/dist/calcite/{p-e4503ec2.entry.js → p-ea9d9c5c.entry.js} +2 -2
- package/dist/calcite/{p-c8db295e.js → p-f33ca6d1.js} +1 -1
- package/dist/calcite/{p-f11ab8b7.js → p-f4006464.js} +2 -2
- package/dist/calcite/{p-822cfd4f.entry.js → p-f5c2dc70.entry.js} +2 -2
- package/dist/calcite/{p-0be6bca1.js → p-f5dbda7d.js} +1 -1
- package/dist/calcite/{p-69bdbe6c.js → p-f735579b.js} +1 -1
- package/dist/calcite/{p-3f8e53cd.entry.js → p-f86dead7.entry.js} +2 -2
- package/dist/calcite/{p-8aa907d3.js → p-fb2017d2.js} +1 -1
- package/dist/calcite/{p-7d21ff63.entry.js → p-fd4ed53a.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-6b439626.js → ExpandToggle-b5b731d6.js} +5 -5
- package/dist/cjs/{Heading-ceb4f2b6.js → Heading-86fb7f76.js} +2 -2
- package/dist/cjs/{app-globals-abf96af0.js → app-globals-f51875dc.js} +2 -2
- package/dist/cjs/{array-96bd470b.js → array-6f9691d3.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action.cjs.entry.js +8 -8
- package/dist/cjs/calcite-alert.cjs.entry.js +11 -11
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +28 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +27 -27
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +10 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -10
- package/dist/cjs/calcite-notice.cjs.entry.js +9 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +12 -12
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -10
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-a875fe2d.js → conditionalSlot-01e94659.js} +3 -3
- package/dist/cjs/{debounce-d3347e7f.js → debounce-9787fe3f.js} +1 -1
- package/dist/cjs/{dom-f3870c02.js → dom-0c006683.js} +3 -3
- package/dist/cjs/{filter-bfb93506.js → filter-1f20ad58.js} +2 -2
- package/dist/cjs/{floating-ui-3c7d9b63.js → floating-ui-357b6162.js} +4 -4
- package/dist/cjs/{focusTrapComponent-feb51e35.js → focusTrapComponent-f6ec01ac.js} +2 -2
- package/dist/cjs/{form-6fbeeffb.js → form-affb950f.js} +3 -3
- package/dist/cjs/{guid-01d6fefc.js → guid-bcf2e27d.js} +1 -1
- package/dist/cjs/{index-483dbe04.js → index-e7f6d8a9.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-134aafb0.js → interactive-50819d76.js} +1 -1
- package/dist/cjs/{interfaces-0cb162a3.js → interfaces-65e8ab48.js} +1 -1
- package/dist/cjs/{key-64fe2d0d.js → key-27cd9b48.js} +1 -1
- package/dist/cjs/{label-bb7baad0.js → label-b53d0971.js} +2 -2
- package/dist/cjs/{loadable-9ea89e06.js → loadable-5fff6d49.js} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-66bb4c04.js → locale-7c7ea778.js} +4 -4
- package/dist/cjs/{math-168daa90.js → math-b2c68418.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-a8326836.js → nonChromiumPlatformUtils-25b21483.js} +6 -6
- package/dist/cjs/{observers-265cc6fd.js → observers-93a0a981.js} +1 -1
- package/dist/cjs/{openCloseComponent-86d66b5f.js → openCloseComponent-7e8c6590.js} +1 -1
- package/dist/cjs/{resources-e34dd4ef.js → resources-154a6134.js} +1 -1
- package/dist/cjs/{resources-e280f675.js → resources-2a151557.js} +3 -3
- package/dist/cjs/{resources-4d34f5ad.js → resources-34896b85.js} +1 -1
- package/dist/cjs/{resources-ad99e815.js → resources-9a470a7e.js} +1 -1
- package/dist/cjs/{resources-56adcab5.js → resources-bdc925d6.js} +1 -1
- package/dist/cjs/{resources-94f83bb6.js → resources-d4a726c6.js} +5 -5
- package/dist/cjs/{sortable.esm-a516af47.js → sortable.esm-2e3e4661.js} +1 -1
- package/dist/cjs/{utils-61f76522.js → utils-dda0c978.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +6 -6
- package/dist/collection/components/date-picker-month-header/resources.js +14 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +12 -12
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +2 -2
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item/utils.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/loadable.js +1 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +12 -12
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +1 -1
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +18 -5
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-7995a4b7.js → ExpandToggle-67f409ce.js} +5 -5
- package/dist/esm/{Heading-9e7e60aa.js → Heading-7d30eb95.js} +2 -2
- package/dist/esm/{app-globals-be068759.js → app-globals-91c967df.js} +2 -2
- package/dist/esm/{array-1cdf24cf.js → array-0f371fbe.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +12 -12
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +11 -11
- package/dist/esm/calcite-action.entry.js +8 -8
- package/dist/esm/calcite-alert.entry.js +11 -11
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +10 -10
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +8 -8
- package/dist/esm/calcite-color-picker_3.entry.js +11 -11
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js +28 -15
- package/dist/esm/calcite-dropdown_3.entry.js +12 -12
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +8 -8
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -13
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +27 -27
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +13 -13
- package/dist/esm/calcite-input-text.entry.js +10 -10
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list_3.entry.js +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +10 -10
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +11 -11
- package/dist/esm/calcite-pick-list_3.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +12 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-radio-group_2.entry.js +9 -9
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +10 -10
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +13 -13
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-264302f2.js → conditionalSlot-7375791c.js} +3 -3
- package/dist/esm/{debounce-97af721b.js → debounce-fa1ba8dd.js} +1 -1
- package/dist/esm/{dom-e83e3685.js → dom-f86880a8.js} +3 -3
- package/dist/esm/{filter-74f44357.js → filter-fe83cf69.js} +2 -2
- package/dist/esm/{floating-ui-a46ce22a.js → floating-ui-06e2aace.js} +4 -4
- package/dist/esm/{focusTrapComponent-976fba1d.js → focusTrapComponent-725a0cce.js} +2 -2
- package/dist/esm/{form-e64648c7.js → form-411e884b.js} +3 -3
- package/dist/esm/{guid-d9ecc494.js → guid-8a166774.js} +1 -1
- package/dist/esm/{index-83004828.js → index-d632f7a1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-9e6a5f71.js → interactive-3f5bd2e0.js} +1 -1
- package/dist/esm/{interfaces-b1d9177f.js → interfaces-7ca05385.js} +1 -1
- package/dist/esm/{key-06b23960.js → key-d42e35a4.js} +1 -1
- package/dist/esm/{label-e92abdfa.js → label-39b9caf1.js} +2 -2
- package/dist/esm/{loadable-0c46daa0.js → loadable-ecb83b69.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-4983f5d8.js → locale-9cc8d692.js} +4 -4
- package/dist/esm/{math-3122e153.js → math-03369c68.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-238e88ad.js → nonChromiumPlatformUtils-0dda1ba1.js} +6 -6
- package/dist/esm/{observers-89a35a75.js → observers-2b56a317.js} +1 -1
- package/dist/esm/{openCloseComponent-fdff8486.js → openCloseComponent-08e9135e.js} +1 -1
- package/dist/esm/{resources-812152a0.js → resources-122bdb3c.js} +1 -1
- package/dist/esm/{resources-2e32226e.js → resources-34cf847c.js} +5 -5
- package/dist/esm/{resources-3a95b40f.js → resources-8ab3148f.js} +3 -3
- package/dist/esm/{resources-35e36c39.js → resources-b8533188.js} +1 -1
- package/dist/esm/{resources-edac802c.js → resources-c1317324.js} +1 -1
- package/dist/esm/{resources-36963763.js → resources-cca3a0a9.js} +1 -1
- package/dist/esm/{sortable.esm-ac2f32ed.js → sortable.esm-baccf0e5.js} +1 -1
- package/dist/esm/{utils-1cddbae1.js → utils-a76ce9e9.js} +1 -1
- package/dist/extras/docs-json.json +1 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/date-picker-month-header/resources.d.ts +13 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +0 -1
- package/hydrate/index.js +132 -124
- package/package.json +1 -1
- package/dist/calcite/p-050ade87.entry.js +0 -6
- package/dist/calcite/p-185bb7cb.entry.js +0 -6
- package/dist/calcite/p-46d45c3c.entry.js +0 -6
- package/dist/calcite/p-55c80ec7.js +0 -6
- package/dist/calcite/p-59f646f1.entry.js +0 -6
- package/dist/calcite/p-72d77198.entry.js +0 -6
- package/dist/calcite/p-9c4fe712.entry.js +0 -6
- package/dist/calcite/p-bb813cda.entry.js +0 -6
- package/dist/calcite/p-e38a5179.entry.js +0 -6
- package/dist/calcite/p-f9e27633.entry.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.655
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -6252,7 +6252,7 @@ const SLOTS$u = {
|
|
|
6252
6252
|
actionsStart: "actions-start",
|
|
6253
6253
|
actionsEnd: "actions-end"
|
|
6254
6254
|
};
|
|
6255
|
-
const CSS$
|
|
6255
|
+
const CSS$W = {
|
|
6256
6256
|
icon: "icon",
|
|
6257
6257
|
header: "header",
|
|
6258
6258
|
headerContent: "header-content",
|
|
@@ -6319,27 +6319,27 @@ class AccordionItem {
|
|
|
6319
6319
|
// --------------------------------------------------------------------------
|
|
6320
6320
|
renderActionsStart() {
|
|
6321
6321
|
const { el } = this;
|
|
6322
|
-
return getSlotted(el, SLOTS$u.actionsStart) ? (hAsync("div", { class: CSS$
|
|
6322
|
+
return getSlotted(el, SLOTS$u.actionsStart) ? (hAsync("div", { class: CSS$W.actionsStart }, hAsync("slot", { name: SLOTS$u.actionsStart }))) : null;
|
|
6323
6323
|
}
|
|
6324
6324
|
renderActionsEnd() {
|
|
6325
6325
|
const { el } = this;
|
|
6326
|
-
return getSlotted(el, SLOTS$u.actionsEnd) ? (hAsync("div", { class: CSS$
|
|
6326
|
+
return getSlotted(el, SLOTS$u.actionsEnd) ? (hAsync("div", { class: CSS$W.actionsEnd }, hAsync("slot", { name: SLOTS$u.actionsEnd }))) : null;
|
|
6327
6327
|
}
|
|
6328
6328
|
render() {
|
|
6329
6329
|
const dir = getElementDir(this.el);
|
|
6330
|
-
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$
|
|
6331
|
-
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$
|
|
6330
|
+
const iconStartEl = this.iconStart ? (hAsync("calcite-icon", { class: CSS$W.iconStart, icon: this.iconStart, key: "icon-start", scale: "s" })) : null;
|
|
6331
|
+
const iconEndEl = this.iconEnd ? (hAsync("calcite-icon", { class: CSS$W.iconEnd, icon: this.iconEnd, key: "icon-end", scale: "s" })) : null;
|
|
6332
6332
|
const { description } = this;
|
|
6333
6333
|
return (hAsync(Host, null, hAsync("div", { class: {
|
|
6334
6334
|
[`icon-position--${this.iconPosition}`]: true,
|
|
6335
6335
|
[`icon-type--${this.iconType}`]: true
|
|
6336
|
-
} }, hAsync("div", { class: { [CSS$
|
|
6336
|
+
} }, hAsync("div", { class: { [CSS$W.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), hAsync("div", { "aria-expanded": toAriaBoolean(this.expanded), class: CSS$W.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, hAsync("div", { class: CSS$W.headerContainer }, iconStartEl, hAsync("div", { class: CSS$W.headerText }, hAsync("span", { class: CSS$W.heading }, this.heading), description ? hAsync("span", { class: CSS$W.description }, description) : null), iconEndEl), hAsync("calcite-icon", { class: CSS$W.expandIcon, icon: this.iconType === "chevron"
|
|
6337
6337
|
? "chevronDown"
|
|
6338
6338
|
: this.iconType === "caret"
|
|
6339
6339
|
? "caretDown"
|
|
6340
6340
|
: this.expanded
|
|
6341
6341
|
? "minus"
|
|
6342
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$
|
|
6342
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), hAsync("div", { class: CSS$W.content }, hAsync("slot", null)))));
|
|
6343
6343
|
}
|
|
6344
6344
|
//--------------------------------------------------------------------------
|
|
6345
6345
|
//
|
|
@@ -6423,7 +6423,7 @@ class AccordionItem {
|
|
|
6423
6423
|
}; }
|
|
6424
6424
|
}
|
|
6425
6425
|
|
|
6426
|
-
const CSS$
|
|
6426
|
+
const CSS$V = {
|
|
6427
6427
|
button: "button",
|
|
6428
6428
|
buttonTextVisible: "button--text-visible",
|
|
6429
6429
|
buttonCompact: "button--compact",
|
|
@@ -6611,8 +6611,8 @@ class Action {
|
|
|
6611
6611
|
renderTextContainer() {
|
|
6612
6612
|
const { text, textEnabled } = this;
|
|
6613
6613
|
const textContainerClasses = {
|
|
6614
|
-
[CSS$
|
|
6615
|
-
[CSS$
|
|
6614
|
+
[CSS$V.textContainer]: true,
|
|
6615
|
+
[CSS$V.textContainerVisible]: textEnabled
|
|
6616
6616
|
};
|
|
6617
6617
|
return text ? (hAsync("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
6618
6618
|
}
|
|
@@ -6625,18 +6625,18 @@ class Action {
|
|
|
6625
6625
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
6626
6626
|
const hasIconToDisplay = iconNode || el.children?.length;
|
|
6627
6627
|
const slotContainerNode = (hAsync("div", { class: {
|
|
6628
|
-
[CSS$
|
|
6629
|
-
[CSS$
|
|
6628
|
+
[CSS$V.slotContainer]: true,
|
|
6629
|
+
[CSS$V.slotContainerHidden]: loading
|
|
6630
6630
|
} }, hAsync("slot", null)));
|
|
6631
|
-
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$
|
|
6631
|
+
return hasIconToDisplay ? (hAsync("div", { "aria-hidden": "true", class: CSS$V.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
6632
6632
|
}
|
|
6633
6633
|
render() {
|
|
6634
6634
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
6635
6635
|
const ariaLabel = label || text;
|
|
6636
6636
|
const buttonClasses = {
|
|
6637
|
-
[CSS$
|
|
6638
|
-
[CSS$
|
|
6639
|
-
[CSS$
|
|
6637
|
+
[CSS$V.button]: true,
|
|
6638
|
+
[CSS$V.buttonTextVisible]: textEnabled,
|
|
6639
|
+
[CSS$V.buttonCompact]: compact
|
|
6640
6640
|
};
|
|
6641
6641
|
return (hAsync(Host, null, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer()), hAsync("slot", { name: SLOTS$t.tooltip, onSlotchange: this.handleTooltipSlotChange })));
|
|
6642
6642
|
}
|
|
@@ -6667,7 +6667,7 @@ class Action {
|
|
|
6667
6667
|
}; }
|
|
6668
6668
|
}
|
|
6669
6669
|
|
|
6670
|
-
const CSS$
|
|
6670
|
+
const CSS$U = {
|
|
6671
6671
|
menu: "menu",
|
|
6672
6672
|
defaultTrigger: "default-trigger"
|
|
6673
6673
|
};
|
|
@@ -6778,7 +6778,7 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
6778
6778
|
return actionNode;
|
|
6779
6779
|
};
|
|
6780
6780
|
|
|
6781
|
-
const CSS$
|
|
6781
|
+
const CSS$T = {
|
|
6782
6782
|
actionGroupBottom: "action-group--bottom"
|
|
6783
6783
|
};
|
|
6784
6784
|
const SLOTS$q = {
|
|
@@ -8212,7 +8212,7 @@ class ActionBar {
|
|
|
8212
8212
|
const expandLabel = intlExpand || TEXT$s.expand;
|
|
8213
8213
|
const collapseLabel = intlCollapse || TEXT$s.collapse;
|
|
8214
8214
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8215
|
-
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
8215
|
+
return getSlotted(el, SLOTS$q.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$T.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$q.bottomActions }), hAsync("slot", { name: SLOTS$q.expandTooltip }), expandToggleNode)) : null;
|
|
8216
8216
|
}
|
|
8217
8217
|
render() {
|
|
8218
8218
|
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("slot", null), this.renderBottomActionGroup()));
|
|
@@ -8578,14 +8578,14 @@ class ActionMenu {
|
|
|
8578
8578
|
}
|
|
8579
8579
|
renderMenuButton() {
|
|
8580
8580
|
const { label, scale, expanded } = this;
|
|
8581
|
-
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$
|
|
8581
|
+
const menuButtonSlot = (hAsync("slot", { name: SLOTS$s.trigger, onSlotchange: this.setMenuButtonEl }, hAsync("calcite-action", { class: CSS$U.defaultTrigger, icon: ICONS$h.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
8582
8582
|
return menuButtonSlot;
|
|
8583
8583
|
}
|
|
8584
8584
|
renderMenuItems() {
|
|
8585
8585
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
8586
8586
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
8587
8587
|
const activeDescendantId = activeAction?.id || null;
|
|
8588
|
-
return (hAsync("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$
|
|
8588
|
+
return (hAsync("calcite-popover", { disableFocusTrap: true, disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, hAsync("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl?.id, class: CSS$U.menu, id: menuId, onClick: this.handleCalciteActionClick, role: "menu", tabIndex: -1 }, hAsync("slot", { onSlotchange: this.handleDefaultSlotChange }))));
|
|
8589
8589
|
}
|
|
8590
8590
|
render() {
|
|
8591
8591
|
return (hAsync(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), hAsync("slot", { name: SLOTS$s.tooltip, onSlotchange: this.updateTooltip })));
|
|
@@ -8621,7 +8621,7 @@ class ActionMenu {
|
|
|
8621
8621
|
}; }
|
|
8622
8622
|
}
|
|
8623
8623
|
|
|
8624
|
-
const CSS$
|
|
8624
|
+
const CSS$S = {
|
|
8625
8625
|
actionGroupBottom: "action-group--bottom",
|
|
8626
8626
|
container: "container"
|
|
8627
8627
|
};
|
|
@@ -8724,10 +8724,10 @@ class ActionPad {
|
|
|
8724
8724
|
const expandLabel = intlExpand || TEXT$r.expand;
|
|
8725
8725
|
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
8726
8726
|
const expandToggleNode = !expandDisabled ? (hAsync(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8727
|
-
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$
|
|
8727
|
+
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$S.actionGroupBottom, layout: layout, scale: scale }, hAsync("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
8728
8728
|
}
|
|
8729
8729
|
render() {
|
|
8730
|
-
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$
|
|
8730
|
+
return (hAsync(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, hAsync("div", { class: CSS$S.container }, hAsync("slot", null), this.renderBottomActionGroup())));
|
|
8731
8731
|
}
|
|
8732
8732
|
get el() { return getElement(this); }
|
|
8733
8733
|
static get watchers() { return {
|
|
@@ -8767,7 +8767,7 @@ const SLOTS$o = {
|
|
|
8767
8767
|
message: "message",
|
|
8768
8768
|
link: "link"
|
|
8769
8769
|
};
|
|
8770
|
-
const CSS$
|
|
8770
|
+
const CSS$R = {
|
|
8771
8771
|
actionsEnd: "actions-end",
|
|
8772
8772
|
container: "container"
|
|
8773
8773
|
};
|
|
@@ -9310,7 +9310,7 @@ class Alert {
|
|
|
9310
9310
|
container: true,
|
|
9311
9311
|
queued,
|
|
9312
9312
|
[placement]: true
|
|
9313
|
-
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$
|
|
9313
|
+
}, ref: this.setTransitionEl }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$o.title }), hAsync("slot", { name: SLOTS$o.message }), hAsync("slot", { name: SLOTS$o.link })), hAsync("div", { class: CSS$R.actionsEnd, hidden: !hasEndActions }, slotNode), this.queueLength > 1 ? queueCount : null, !autoDismiss ? closeButton : null, open && !queued && autoDismiss ? hAsync("div", { class: "alert-dismiss-progress" }) : null)));
|
|
9314
9314
|
}
|
|
9315
9315
|
// when an alert is opened or closed, update queue and determine active alert
|
|
9316
9316
|
alertSync(event) {
|
|
@@ -9666,7 +9666,7 @@ class Avatar {
|
|
|
9666
9666
|
}; }
|
|
9667
9667
|
}
|
|
9668
9668
|
|
|
9669
|
-
const CSS$
|
|
9669
|
+
const CSS$Q = {
|
|
9670
9670
|
container: "container",
|
|
9671
9671
|
content: "content",
|
|
9672
9672
|
headerContainer: "header-container",
|
|
@@ -9784,31 +9784,31 @@ class Block {
|
|
|
9784
9784
|
const statusIcon = showingLoadingStatus ? ICONS$e.refresh : ICONS$e[status];
|
|
9785
9785
|
const hasIcon = getSlotted(el, SLOTS$n.icon) || statusIcon;
|
|
9786
9786
|
const iconEl = !statusIcon ? (hAsync("slot", { key: "icon-slot", name: SLOTS$n.icon })) : (hAsync("calcite-icon", { class: {
|
|
9787
|
-
[CSS$
|
|
9788
|
-
[CSS$
|
|
9789
|
-
[CSS$
|
|
9790
|
-
[CSS$
|
|
9787
|
+
[CSS$Q.statusIcon]: true,
|
|
9788
|
+
[CSS$Q.valid]: status == "valid",
|
|
9789
|
+
[CSS$Q.invalid]: status == "invalid",
|
|
9790
|
+
[CSS$Q.loading]: showingLoadingStatus
|
|
9791
9791
|
}, icon: statusIcon, scale: "m" }));
|
|
9792
|
-
return hasIcon ? hAsync("div", { class: CSS$
|
|
9792
|
+
return hasIcon ? hAsync("div", { class: CSS$Q.icon }, iconEl) : null;
|
|
9793
9793
|
}
|
|
9794
9794
|
renderTitle() {
|
|
9795
9795
|
const { heading, headingLevel, description } = this;
|
|
9796
|
-
return heading || description ? (hAsync("div", { class: CSS$
|
|
9796
|
+
return heading || description ? (hAsync("div", { class: CSS$Q.title }, hAsync(Heading, { class: CSS$Q.heading, level: headingLevel }, heading), description ? hAsync("div", { class: CSS$Q.description }, description) : null)) : null;
|
|
9797
9797
|
}
|
|
9798
9798
|
render() {
|
|
9799
9799
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
9800
9800
|
const toggleLabel = open ? intlCollapse || TEXT$p.collapse : intlExpand || TEXT$p.expand;
|
|
9801
|
-
const headerContent = (hAsync("header", { class: CSS$
|
|
9801
|
+
const headerContent = (hAsync("header", { class: CSS$Q.header }, this.renderIcon(), this.renderTitle()));
|
|
9802
9802
|
const hasControl = !!getSlotted(el, SLOTS$n.control);
|
|
9803
9803
|
const hasMenuActions = !!getSlotted(el, SLOTS$n.headerMenuActions);
|
|
9804
9804
|
const collapseIcon = open ? ICONS$e.opened : ICONS$e.closed;
|
|
9805
9805
|
const { guid } = this;
|
|
9806
9806
|
const regionId = `${guid}-region`;
|
|
9807
9807
|
const buttonId = `${guid}-button`;
|
|
9808
|
-
const headerNode = (hAsync("div", { class: CSS$
|
|
9808
|
+
const headerNode = (hAsync("div", { class: CSS$Q.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$Q.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$Q.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$Q.controlContainer }, hAsync("slot", { name: SLOTS$n.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$p.options }, hAsync("slot", { name: SLOTS$n.headerMenuActions }))) : null));
|
|
9809
9809
|
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
9810
|
-
[CSS$
|
|
9811
|
-
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
9810
|
+
[CSS$Q.container]: true
|
|
9811
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$Q.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
9812
9812
|
}
|
|
9813
9813
|
get el() { return getElement(this); }
|
|
9814
9814
|
static get style() { return blockCss; }
|
|
@@ -9836,7 +9836,7 @@ class Block {
|
|
|
9836
9836
|
}; }
|
|
9837
9837
|
}
|
|
9838
9838
|
|
|
9839
|
-
const CSS$
|
|
9839
|
+
const CSS$P = {
|
|
9840
9840
|
content: "content",
|
|
9841
9841
|
invalid: "invalid",
|
|
9842
9842
|
toggle: "toggle",
|
|
@@ -9902,9 +9902,9 @@ class BlockSection {
|
|
|
9902
9902
|
const { status } = this;
|
|
9903
9903
|
const statusIcon = ICONS$d[status] ?? false;
|
|
9904
9904
|
const statusIconClasses = {
|
|
9905
|
-
[CSS$
|
|
9906
|
-
[CSS$
|
|
9907
|
-
[CSS$
|
|
9905
|
+
[CSS$P.statusIcon]: true,
|
|
9906
|
+
[CSS$P.valid]: status == "valid",
|
|
9907
|
+
[CSS$P.invalid]: status == "invalid"
|
|
9908
9908
|
};
|
|
9909
9909
|
return !!statusIcon ? (hAsync("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
9910
9910
|
}
|
|
@@ -9921,13 +9921,13 @@ class BlockSection {
|
|
|
9921
9921
|
const regionId = `${guid}-region`;
|
|
9922
9922
|
const buttonId = `${guid}-button`;
|
|
9923
9923
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9924
|
-
[CSS$
|
|
9925
|
-
[CSS$
|
|
9926
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$
|
|
9927
|
-
[CSS$
|
|
9928
|
-
[CSS$
|
|
9929
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$
|
|
9930
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
9924
|
+
[CSS$P.toggle]: true,
|
|
9925
|
+
[CSS$P.toggleSwitch]: true
|
|
9926
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, hAsync("div", { class: CSS$P.toggleSwitchContent }, hAsync("span", { class: CSS$P.toggleSwitchText }, text)), hAsync("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (hAsync("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
9927
|
+
[CSS$P.sectionHeader]: true,
|
|
9928
|
+
[CSS$P.toggle]: true
|
|
9929
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$P.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
9930
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$P.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
9931
9931
|
}
|
|
9932
9932
|
get el() { return getElement(this); }
|
|
9933
9933
|
static get style() { return blockSectionCss; }
|
|
@@ -9976,7 +9976,7 @@ class BlockSection {
|
|
|
9976
9976
|
}
|
|
9977
9977
|
})(HTMLFormElement.prototype);
|
|
9978
9978
|
|
|
9979
|
-
const CSS$
|
|
9979
|
+
const CSS$O = {
|
|
9980
9980
|
buttonLoader: "calcite-button--loader",
|
|
9981
9981
|
content: "content",
|
|
9982
9982
|
contentSlotted: "content--slotted",
|
|
@@ -10408,17 +10408,17 @@ class Button {
|
|
|
10408
10408
|
render() {
|
|
10409
10409
|
const childElType = this.href ? "a" : "button";
|
|
10410
10410
|
const Tag = childElType;
|
|
10411
|
-
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$
|
|
10411
|
+
const loaderNode = this.hasLoader ? (hAsync("div", { class: CSS$O.buttonLoader }, hAsync("calcite-loader", { class: this.loading ? CSS$O.loadingIn : CSS$O.loadingOut, inline: true, label: this.intlLoading, scale: this.scale === "l" ? "m" : "s" }))) : null;
|
|
10412
10412
|
const noStartEndIcons = !this.iconStart && !this.iconEnd;
|
|
10413
|
-
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
10414
|
-
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$
|
|
10415
|
-
const contentEl = (hAsync("span", { class: CSS$
|
|
10413
|
+
const iconStartEl = (hAsync("calcite-icon", { class: { [CSS$O.icon]: true, [CSS$O.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: this.scale === "l" ? "m" : "s" }));
|
|
10414
|
+
const iconEndEl = (hAsync("calcite-icon", { class: { [CSS$O.icon]: true, [CSS$O.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: this.scale === "l" ? "m" : "s" }));
|
|
10415
|
+
const contentEl = (hAsync("span", { class: CSS$O.content }, hAsync("slot", null)));
|
|
10416
10416
|
return (hAsync(Tag, { "aria-label": getLabelText(this), class: {
|
|
10417
|
-
[CSS$
|
|
10418
|
-
[CSS$
|
|
10419
|
-
[CSS$
|
|
10420
|
-
[CSS$
|
|
10421
|
-
[CSS$
|
|
10417
|
+
[CSS$O.buttonPadding]: noStartEndIcons,
|
|
10418
|
+
[CSS$O.buttonPaddingShrunk]: !noStartEndIcons,
|
|
10419
|
+
[CSS$O.contentSlotted]: this.hasContent,
|
|
10420
|
+
[CSS$O.iconStartEmpty]: !this.iconStart,
|
|
10421
|
+
[CSS$O.iconEndEmpty]: !this.iconEnd
|
|
10422
10422
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
10423
10423
|
}
|
|
10424
10424
|
//--------------------------------------------------------------------------
|
|
@@ -10489,7 +10489,7 @@ class Button {
|
|
|
10489
10489
|
}; }
|
|
10490
10490
|
}
|
|
10491
10491
|
|
|
10492
|
-
const CSS$
|
|
10492
|
+
const CSS$N = {
|
|
10493
10493
|
container: "container",
|
|
10494
10494
|
header: "header",
|
|
10495
10495
|
footer: "footer",
|
|
@@ -10573,32 +10573,32 @@ class Card {
|
|
|
10573
10573
|
render() {
|
|
10574
10574
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
10575
10575
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
10576
|
-
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
10576
|
+
return (hAsync("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$N.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
10577
10577
|
}
|
|
10578
10578
|
selectCard() {
|
|
10579
10579
|
this.selected = !this.selected;
|
|
10580
10580
|
this.calciteCardSelect.emit();
|
|
10581
10581
|
}
|
|
10582
10582
|
renderThumbnail() {
|
|
10583
|
-
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$
|
|
10583
|
+
return getSlotted(this.el, SLOTS$m.thumbnail) ? (hAsync("section", { class: CSS$N.thumbnailWrapper }, hAsync("slot", { name: SLOTS$m.thumbnail }))) : null;
|
|
10584
10584
|
}
|
|
10585
10585
|
renderCheckbox() {
|
|
10586
10586
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
10587
|
-
return (hAsync("calcite-label", { class: CSS$
|
|
10587
|
+
return (hAsync("calcite-label", { class: CSS$N.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, hAsync("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
10588
10588
|
}
|
|
10589
10589
|
renderHeader() {
|
|
10590
10590
|
const { el } = this;
|
|
10591
10591
|
const title = getSlotted(el, SLOTS$m.title);
|
|
10592
10592
|
const subtitle = getSlotted(el, SLOTS$m.subtitle);
|
|
10593
10593
|
const hasHeader = title || subtitle;
|
|
10594
|
-
return hasHeader ? (hAsync("header", { class: CSS$
|
|
10594
|
+
return hasHeader ? (hAsync("header", { class: CSS$N.header }, hAsync("slot", { name: SLOTS$m.title }), hAsync("slot", { name: SLOTS$m.subtitle }))) : null;
|
|
10595
10595
|
}
|
|
10596
10596
|
renderFooter() {
|
|
10597
10597
|
const { el } = this;
|
|
10598
10598
|
const leadingFooter = getSlotted(el, SLOTS$m.footerLeading);
|
|
10599
10599
|
const trailingFooter = getSlotted(el, SLOTS$m.footerTrailing);
|
|
10600
10600
|
const hasFooter = leadingFooter || trailingFooter;
|
|
10601
|
-
return hasFooter ? (hAsync("footer", { class: CSS$
|
|
10601
|
+
return hasFooter ? (hAsync("footer", { class: CSS$N.footer }, hAsync("slot", { name: SLOTS$m.footerLeading }), hAsync("slot", { name: SLOTS$m.footerTrailing }))) : null;
|
|
10602
10602
|
}
|
|
10603
10603
|
get el() { return getElement(this); }
|
|
10604
10604
|
static get style() { return cardCss; }
|
|
@@ -10748,7 +10748,7 @@ class Checkbox {
|
|
|
10748
10748
|
}; }
|
|
10749
10749
|
}
|
|
10750
10750
|
|
|
10751
|
-
const CSS$
|
|
10751
|
+
const CSS$M = {
|
|
10752
10752
|
title: "title",
|
|
10753
10753
|
close: "close",
|
|
10754
10754
|
imageContainer: "image-container",
|
|
@@ -10831,12 +10831,12 @@ class Chip {
|
|
|
10831
10831
|
renderChipImage() {
|
|
10832
10832
|
const { el } = this;
|
|
10833
10833
|
const hasChipImage = getSlotted(el, SLOTS$l.image);
|
|
10834
|
-
return hasChipImage ? (hAsync("div", { class: CSS$
|
|
10834
|
+
return hasChipImage ? (hAsync("div", { class: CSS$M.imageContainer, key: "image" }, hAsync("slot", { name: SLOTS$l.image }))) : null;
|
|
10835
10835
|
}
|
|
10836
10836
|
render() {
|
|
10837
|
-
const iconEl = (hAsync("calcite-icon", { class: CSS$
|
|
10838
|
-
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
10839
|
-
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$
|
|
10837
|
+
const iconEl = (hAsync("calcite-icon", { class: CSS$M.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
10838
|
+
const closeButton = (hAsync("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$M.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, hAsync("calcite-icon", { class: CSS$M.closeIcon, icon: ICONS$c.close, scale: "s" })));
|
|
10839
|
+
return (hAsync("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, hAsync("span", { class: CSS$M.title, id: this.guid }, hAsync("slot", null)), this.closable ? closeButton : null));
|
|
10840
10840
|
}
|
|
10841
10841
|
get el() { return getElement(this); }
|
|
10842
10842
|
static get style() { return chipCss; }
|
|
@@ -12971,7 +12971,7 @@ function zeroArray(array, length) {
|
|
|
12971
12971
|
|
|
12972
12972
|
var color = Color;
|
|
12973
12973
|
|
|
12974
|
-
const CSS$
|
|
12974
|
+
const CSS$L = {
|
|
12975
12975
|
container: "container",
|
|
12976
12976
|
controlSection: "control-section",
|
|
12977
12977
|
hexOptions: "color-hex-options",
|
|
@@ -13344,7 +13344,7 @@ class ColorPicker {
|
|
|
13344
13344
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
13345
13345
|
const active = channelMode === activeChannelMode;
|
|
13346
13346
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
13347
|
-
return (hAsync("calcite-tab-title", { active: active, class: CSS$
|
|
13347
|
+
return (hAsync("calcite-tab-title", { active: active, class: CSS$L.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
13348
13348
|
};
|
|
13349
13349
|
this.renderChannelsTab = (channelMode) => {
|
|
13350
13350
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -13355,11 +13355,11 @@ class ColorPicker {
|
|
|
13355
13355
|
? [intlRed, intlGreen, intlBlue]
|
|
13356
13356
|
: [intlHue, intlSaturation, intlValue];
|
|
13357
13357
|
const direction = getElementDir(this.el);
|
|
13358
|
-
return (hAsync("calcite-tab", { active: active, class: CSS$
|
|
13358
|
+
return (hAsync("calcite-tab", { active: active, class: CSS$L.control, key: channelMode }, hAsync("div", { class: CSS$L.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
13359
13359
|
/* the channel container is ltr, so we apply the host's direction */
|
|
13360
13360
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
13361
13361
|
};
|
|
13362
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$
|
|
13362
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (hAsync("calcite-input", { class: CSS$L.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value?.toString() }));
|
|
13363
13363
|
this.deleteColor = () => {
|
|
13364
13364
|
const colorToDelete = this.color.hex();
|
|
13365
13365
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -13502,7 +13502,7 @@ class ColorPicker {
|
|
|
13502
13502
|
this.shiftKeyChannelAdjustment = 0;
|
|
13503
13503
|
const { key } = event;
|
|
13504
13504
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
13505
|
-
!event.composedPath().some((node) => node.classList?.contains(CSS$
|
|
13505
|
+
!event.composedPath().some((node) => node.classList?.contains(CSS$L.channel))) {
|
|
13506
13506
|
return;
|
|
13507
13507
|
}
|
|
13508
13508
|
const { shiftKey } = event;
|
|
@@ -13578,20 +13578,20 @@ class ColorPicker {
|
|
|
13578
13578
|
const hueLeft = hueScopeLeft ?? (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
13579
13579
|
const noColor = color === null;
|
|
13580
13580
|
const vertical = scopeOrientation === "vertical";
|
|
13581
|
-
return (hAsync("div", { class: CSS$
|
|
13582
|
-
[CSS$
|
|
13583
|
-
[CSS$
|
|
13584
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$
|
|
13585
|
-
[CSS$
|
|
13586
|
-
[CSS$
|
|
13587
|
-
} }, hideHex ? null : (hAsync("div", { class: CSS$
|
|
13588
|
-
[CSS$
|
|
13589
|
-
[CSS$
|
|
13590
|
-
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
13591
|
-
[CSS$
|
|
13592
|
-
[CSS$
|
|
13593
|
-
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$
|
|
13594
|
-
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
13581
|
+
return (hAsync("div", { class: CSS$L.container }, hAsync("div", { class: CSS$L.colorFieldAndSliderWrap }, hAsync("canvas", { class: {
|
|
13582
|
+
[CSS$L.colorFieldAndSlider]: true,
|
|
13583
|
+
[CSS$L.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
13584
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), hAsync("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color?.saturationv() : color?.value()) || "0", class: { [CSS$L.scope]: true, [CSS$L.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), hAsync("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": color?.round().hue() || DEFAULT_COLOR$1.round().hue(), class: { [CSS$L.scope]: true, [CSS$L.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (hAsync("div", { class: {
|
|
13585
|
+
[CSS$L.controlSection]: true,
|
|
13586
|
+
[CSS$L.section]: true
|
|
13587
|
+
} }, hideHex ? null : (hAsync("div", { class: CSS$L.hexOptions }, hAsync("span", { class: {
|
|
13588
|
+
[CSS$L.header]: true,
|
|
13589
|
+
[CSS$L.headerHex]: true
|
|
13590
|
+
} }, intlHex), hAsync("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$L.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (hAsync("calcite-tabs", { class: {
|
|
13591
|
+
[CSS$L.colorModeContainer]: true,
|
|
13592
|
+
[CSS$L.splitSection]: true
|
|
13593
|
+
}, scale: hexInputScale }, hAsync("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (hAsync("div", { class: { [CSS$L.savedColorsSection]: true, [CSS$L.section]: true } }, hAsync("div", { class: CSS$L.header }, hAsync("label", null, intlSaved), hAsync("div", { class: CSS$L.savedColorsButtons }, hAsync("calcite-button", { appearance: "transparent", class: CSS$L.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), hAsync("calcite-button", { appearance: "transparent", class: CSS$L.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (hAsync("div", { class: CSS$L.savedColors }, [
|
|
13594
|
+
...savedColors.map((color) => (hAsync("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$L.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
13595
13595
|
])) : null))));
|
|
13596
13596
|
}
|
|
13597
13597
|
// --------------------------------------------------------------------------
|
|
@@ -13837,7 +13837,7 @@ class ColorPicker {
|
|
|
13837
13837
|
}; }
|
|
13838
13838
|
}
|
|
13839
13839
|
|
|
13840
|
-
const CSS$
|
|
13840
|
+
const CSS$K = {
|
|
13841
13841
|
container: "container",
|
|
13842
13842
|
preview: "preview",
|
|
13843
13843
|
input: "input"
|
|
@@ -13951,7 +13951,7 @@ class ColorPickerHexInput {
|
|
|
13951
13951
|
render() {
|
|
13952
13952
|
const { intlHex, value } = this;
|
|
13953
13953
|
const hexInputValue = this.formatForInternalInput(value);
|
|
13954
|
-
return (hAsync("div", { class: CSS$
|
|
13954
|
+
return (hAsync("div", { class: CSS$K.container }, hAsync("calcite-input", { class: CSS$K.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, onPaste: this.onPaste, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (hAsync("calcite-color-picker-swatch", { active: true, class: CSS$K.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
13955
13955
|
}
|
|
13956
13956
|
//--------------------------------------------------------------------------
|
|
13957
13957
|
//
|
|
@@ -14028,7 +14028,7 @@ class ColorPickerHexInput {
|
|
|
14028
14028
|
}; }
|
|
14029
14029
|
}
|
|
14030
14030
|
|
|
14031
|
-
const CSS$
|
|
14031
|
+
const CSS$J = {
|
|
14032
14032
|
swatch: "swatch",
|
|
14033
14033
|
noColorIcon: "no-color-icon"
|
|
14034
14034
|
};
|
|
@@ -14063,7 +14063,7 @@ class ColorPickerSwatch {
|
|
|
14063
14063
|
const hex = internalColor.hex();
|
|
14064
14064
|
const theme = getThemeName(el);
|
|
14065
14065
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
14066
|
-
return (hAsync("svg", { class: CSS$
|
|
14066
|
+
return (hAsync("svg", { class: CSS$J.swatch, xmlns: "http://www.w3.org/2000/svg" }, hAsync("title", null, hex), hAsync("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
14067
14067
|
}
|
|
14068
14068
|
get el() { return getElement(this); }
|
|
14069
14069
|
static get watchers() { return {
|
|
@@ -16602,7 +16602,7 @@ class Combobox {
|
|
|
16602
16602
|
}; }
|
|
16603
16603
|
}
|
|
16604
16604
|
|
|
16605
|
-
const CSS$
|
|
16605
|
+
const CSS$I = {
|
|
16606
16606
|
icon: "icon",
|
|
16607
16607
|
iconActive: "icon--active",
|
|
16608
16608
|
custom: "icon--custom",
|
|
@@ -16688,18 +16688,18 @@ class ComboboxItem {
|
|
|
16688
16688
|
// --------------------------------------------------------------------------
|
|
16689
16689
|
renderIcon(isSingle) {
|
|
16690
16690
|
const { icon, disabled, selected } = this;
|
|
16691
|
-
const level = `${CSS$
|
|
16691
|
+
const level = `${CSS$I.icon}--indent`;
|
|
16692
16692
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
16693
16693
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
16694
16694
|
const showDot = isSingle && !icon && !disabled;
|
|
16695
16695
|
return showDot ? (hAsync("span", { class: {
|
|
16696
|
-
[CSS$
|
|
16697
|
-
[CSS$
|
|
16696
|
+
[CSS$I.icon]: true,
|
|
16697
|
+
[CSS$I.dot]: true,
|
|
16698
16698
|
[level]: true
|
|
16699
16699
|
} })) : (hAsync("calcite-icon", { class: {
|
|
16700
|
-
[CSS$
|
|
16701
|
-
[CSS$
|
|
16702
|
-
[CSS$
|
|
16700
|
+
[CSS$I.icon]: !icon,
|
|
16701
|
+
[CSS$I.custom]: !!icon,
|
|
16702
|
+
[CSS$I.iconActive]: icon && selected,
|
|
16703
16703
|
[level]: true
|
|
16704
16704
|
}, icon: icon || iconPath, scale: "s" }));
|
|
16705
16705
|
}
|
|
@@ -16712,13 +16712,13 @@ class ComboboxItem {
|
|
|
16712
16712
|
render() {
|
|
16713
16713
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
16714
16714
|
const classes = {
|
|
16715
|
-
[CSS$
|
|
16716
|
-
[CSS$
|
|
16717
|
-
[CSS$
|
|
16718
|
-
[CSS$
|
|
16715
|
+
[CSS$I.label]: true,
|
|
16716
|
+
[CSS$I.selected]: this.selected,
|
|
16717
|
+
[CSS$I.active]: this.active,
|
|
16718
|
+
[CSS$I.single]: isSingleSelect
|
|
16719
16719
|
};
|
|
16720
16720
|
const depth = getDepth$1();
|
|
16721
|
-
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$
|
|
16721
|
+
return (hAsync(Host, { "aria-hidden": "true" }, hAsync("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, hAsync("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), hAsync("span", { class: CSS$I.title }, this.textLabel)), this.renderChildren())));
|
|
16722
16722
|
}
|
|
16723
16723
|
get el() { return getElement(this); }
|
|
16724
16724
|
static get watchers() { return {
|
|
@@ -16747,7 +16747,7 @@ class ComboboxItem {
|
|
|
16747
16747
|
}; }
|
|
16748
16748
|
}
|
|
16749
16749
|
|
|
16750
|
-
const CSS$
|
|
16750
|
+
const CSS$H = {
|
|
16751
16751
|
list: "list",
|
|
16752
16752
|
label: "label",
|
|
16753
16753
|
title: "title"
|
|
@@ -16782,8 +16782,8 @@ class ComboboxItemGroup {
|
|
|
16782
16782
|
// --------------------------------------------------------------------------
|
|
16783
16783
|
render() {
|
|
16784
16784
|
const { el, scale } = this;
|
|
16785
|
-
const indent = `${CSS$
|
|
16786
|
-
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
16785
|
+
const indent = `${CSS$H.label}--indent-${getDepth$1()}`;
|
|
16786
|
+
return (hAsync("ul", { "aria-labelledby": this.guid, class: { [CSS$H.list]: true, [`scale--${scale}`]: true }, role: "group" }, hAsync("li", { class: { [CSS$H.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, hAsync("span", { class: CSS$H.title }, this.label)), hAsync("slot", null)));
|
|
16787
16787
|
}
|
|
16788
16788
|
get el() { return getElement(this); }
|
|
16789
16789
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -17902,6 +17902,19 @@ class DatePickerMonth {
|
|
|
17902
17902
|
}
|
|
17903
17903
|
|
|
17904
17904
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
17905
|
+
const CSS$G = {
|
|
17906
|
+
header: "header",
|
|
17907
|
+
month: "month",
|
|
17908
|
+
chevron: "chevron",
|
|
17909
|
+
suffix: "suffix",
|
|
17910
|
+
yearSuffix: "year--suffix",
|
|
17911
|
+
yearWrap: "year-wrap",
|
|
17912
|
+
textReverse: "text--reverse"
|
|
17913
|
+
};
|
|
17914
|
+
const ICON = {
|
|
17915
|
+
chevronLeft: "chevron-left",
|
|
17916
|
+
chevronRight: "chevron-right"
|
|
17917
|
+
};
|
|
17905
17918
|
|
|
17906
17919
|
const datePickerMonthHeaderCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-date-picker-month-header:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-date-picker-month-header{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-date-picker-month-header{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-date-picker-month-header{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-date-picker-month-header{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-date-picker-month-header{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-date-picker-month-header:root{--calcite-internal-duration-factor:0.01}}/*!@:root*/.sc-calcite-date-picker-month-header:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-date-picker-month-header-h{display:none}/*!@:host*/.sc-calcite-date-picker-month-header-h{display:block}/*!@.header*/.header.sc-calcite-date-picker-month-header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}/*!@:host([scale=s]) .text*/[scale=s].sc-calcite-date-picker-month-header-h .text.sc-calcite-date-picker-month-header{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=s]) .chevron*/[scale=s].sc-calcite-date-picker-month-header-h .chevron.sc-calcite-date-picker-month-header{block-size:2.25rem}/*!@:host([scale=m]) .text*/[scale=m].sc-calcite-date-picker-month-header-h .text.sc-calcite-date-picker-month-header{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m]) .chevron*/[scale=m].sc-calcite-date-picker-month-header-h .chevron.sc-calcite-date-picker-month-header{block-size:3rem}/*!@:host([scale=l]) .text*/[scale=l].sc-calcite-date-picker-month-header-h .text.sc-calcite-date-picker-month-header{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}/*!@:host([scale=l]) .chevron*/[scale=l].sc-calcite-date-picker-month-header-h .chevron.sc-calcite-date-picker-month-header{block-size:3.5rem}/*!@.chevron*/.chevron.sc-calcite-date-picker-month-header{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-inline:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}/*!@.chevron:focus*/.chevron.sc-calcite-date-picker-month-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.chevron:hover, .chevron:focus*/.chevron.sc-calcite-date-picker-month-header:hover,.chevron.sc-calcite-date-picker-month-header:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.chevron:active*/.chevron.sc-calcite-date-picker-month-header:active{background-color:var(--calcite-ui-foreground-3)}/*!@.chevron[aria-disabled=true]*/.chevron[aria-disabled=true].sc-calcite-date-picker-month-header{pointer-events:none;opacity:0}/*!@.text*/.text.sc-calcite-date-picker-month-header{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}/*!@.text--reverse*/.text--reverse.sc-calcite-date-picker-month-header{flex-direction:row-reverse}/*!@.month,\n.year,\n.suffix*/.month.sc-calcite-date-picker-month-header,.year.sc-calcite-date-picker-month-header,.suffix.sc-calcite-date-picker-month-header{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}/*!@.year*/.year.sc-calcite-date-picker-month-header{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}/*!@.year:hover*/.year.sc-calcite-date-picker-month-header:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}/*!@.year:focus*/.year.sc-calcite-date-picker-month-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.year--suffix*/.year--suffix.sc-calcite-date-picker-month-header{text-align:start}/*!@.year-wrap*/.year-wrap.sc-calcite-date-picker-month-header{position:relative}/*!@.suffix*/.suffix.sc-calcite-date-picker-month-header{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}";
|
|
17907
17920
|
|
|
@@ -17992,7 +18005,7 @@ class DatePickerMonthHeader {
|
|
|
17992
18005
|
this.setNextPrevMonthDates();
|
|
17993
18006
|
}
|
|
17994
18007
|
render() {
|
|
17995
|
-
return hAsync("div", { class:
|
|
18008
|
+
return hAsync("div", { class: CSS$G.header }, this.renderContent());
|
|
17996
18009
|
}
|
|
17997
18010
|
renderContent() {
|
|
17998
18011
|
if (!this.activeDate || !this.localeData) {
|
|
@@ -18014,10 +18027,10 @@ class DatePickerMonthHeader {
|
|
|
18014
18027
|
const order = getOrder(unitOrder);
|
|
18015
18028
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
18016
18029
|
const suffix = this.localeData.year?.suffix;
|
|
18017
|
-
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlPrevMonth, class:
|
|
18030
|
+
return (hAsync(Fragment, null, hAsync("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlPrevMonth, class: CSS$G.chevron, href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronLeft, scale: iconScale })), hAsync("div", { class: { text: true, [CSS$G.textReverse]: reverse } }, hAsync(Heading, { class: CSS$G.month, level: this.headingLevel }, localizedMonth), hAsync("span", { class: CSS$G.yearWrap }, hAsync("input", { "aria-label": this.intlYear, class: {
|
|
18018
18031
|
year: true,
|
|
18019
|
-
|
|
18020
|
-
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && hAsync("span", { class:
|
|
18032
|
+
[CSS$G.yearSuffix]: !!suffix
|
|
18033
|
+
}, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.onYearChange, onInput: this.onYearInput, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && hAsync("span", { class: CSS$G.suffix }, suffix))), hAsync("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlNextMonth, class: CSS$G.chevron, href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, hAsync("calcite-icon", { "flip-rtl": true, icon: ICON.chevronRight, scale: iconScale }))));
|
|
18021
18034
|
}
|
|
18022
18035
|
setNextPrevMonthDates() {
|
|
18023
18036
|
if (!this.activeDate) {
|
|
@@ -20847,17 +20860,12 @@ class InputDatePicker {
|
|
|
20847
20860
|
this.setInputValue(oldValue);
|
|
20848
20861
|
}
|
|
20849
20862
|
};
|
|
20850
|
-
this.commonDateSeparators = [".", "-", "/"];
|
|
20851
20863
|
this.formatNumerals = (value) => value
|
|
20852
20864
|
? value
|
|
20853
20865
|
.split("")
|
|
20854
|
-
.map((char) =>
|
|
20855
|
-
|
|
20856
|
-
|
|
20857
|
-
? this.localeData.separator
|
|
20858
|
-
: numberKeys.includes(char)
|
|
20859
|
-
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
20860
|
-
: char)
|
|
20866
|
+
.map((char) => numberKeys.includes(char)
|
|
20867
|
+
? numberStringFormatter.numberFormatter.format(Number(char))
|
|
20868
|
+
: char)
|
|
20861
20869
|
.join("")
|
|
20862
20870
|
: "";
|
|
20863
20871
|
this.disabled = false;
|
|
@@ -21085,7 +21093,7 @@ class InputDatePicker {
|
|
|
21085
21093
|
locale: effectiveLocale,
|
|
21086
21094
|
useGrouping: false
|
|
21087
21095
|
};
|
|
21088
|
-
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this),
|
|
21096
|
+
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.startInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text" })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
21089
21097
|
[CSS$u.menu]: true,
|
|
21090
21098
|
[CSS$u.menuActive]: this.open
|
|
21091
21099
|
}, ref: this.setFloatingEl }, hAsync("div", { class: {
|
|
@@ -21093,10 +21101,10 @@ class InputDatePicker {
|
|
|
21093
21101
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
21094
21102
|
[FloatingCSS.animation]: true,
|
|
21095
21103
|
[FloatingCSS.animationActive]: this.open
|
|
21096
|
-
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear,
|
|
21104
|
+
}, ref: this.setTransitionEl }, hAsync("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, endAsDate: this.endAsDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, max: this.max, maxAsDate: this.maxAsDate, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, startAsDate: this.startAsDate, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (hAsync("div", { class: "horizontal-arrow-container" }, hAsync("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (hAsync("div", { class: "vertical-arrow-container" }, hAsync("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (hAsync("div", { class: "input-wrapper", ref: this.setEndWrapper }, hAsync("calcite-input", { class: {
|
|
21097
21105
|
input: true,
|
|
21098
21106
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
21099
|
-
}, disabled: disabled, icon: "calendar",
|
|
21107
|
+
}, disabled: disabled, icon: "calendar", "number-button-type": "none", numberingSystem: numberingSystem, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.endInputFocus, placeholder: this.localeData?.placeholder, readOnly: readOnly, ref: this.setEndInput, scale: this.scale, type: "text" }))))), hAsync(HiddenFormInputSlot, { component: this })));
|
|
21100
21108
|
}
|
|
21101
21109
|
setReferenceEl() {
|
|
21102
21110
|
const { focusedInput, layout, endWrapper, startWrapper } = this;
|
|
@@ -22690,7 +22698,7 @@ class InputTimePicker {
|
|
|
22690
22698
|
// --------------------------------------------------------------------------
|
|
22691
22699
|
render() {
|
|
22692
22700
|
const popoverId = `${this.referenceElementId}-popover`;
|
|
22693
|
-
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { disableFocusTrap: true, id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, hAsync("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp,
|
|
22701
|
+
return (hAsync(Host, { onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, hAsync("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputInput: this.calciteInputInputHandler, onCalciteInternalInputBlur: this.calciteInternalInputBlurHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: this.readOnly, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), hAsync("calcite-popover", { disableFocusTrap: true, id: popoverId, label: "Time Picker", open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, ref: this.setCalcitePopoverEl, referenceElement: this.referenceElementId, triggerDisabled: true }, hAsync("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
22694
22702
|
}
|
|
22695
22703
|
get el() { return getElement(this); }
|
|
22696
22704
|
static get watchers() { return {
|