@esri/calcite-components 1.0.0-next.724 → 1.0.0-next.726
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-1c19d41f.entry.js → p-021b54c2.entry.js} +2 -2
- package/dist/calcite/{p-d1b4c430.js → p-04d8acd3.js} +1 -1
- package/dist/calcite/{p-1c85b58c.entry.js → p-08a074d5.entry.js} +2 -2
- package/dist/calcite/{p-cd66833b.entry.js → p-10d3c944.entry.js} +2 -2
- package/dist/calcite/{p-1c613a99.entry.js → p-11aea5a9.entry.js} +2 -2
- package/dist/calcite/{p-a54a2205.js → p-122b55f9.js} +1 -1
- package/dist/calcite/p-12b3bdc3.entry.js +6 -0
- package/dist/calcite/{p-7109c45b.entry.js → p-12bb4130.entry.js} +2 -2
- package/dist/calcite/{p-b7280763.js → p-14072c6f.js} +1 -1
- package/dist/calcite/{p-76e33887.entry.js → p-160a36b5.entry.js} +2 -2
- package/dist/calcite/{p-44f06ec4.entry.js → p-1652a7a3.entry.js} +2 -2
- package/dist/calcite/{p-86c03429.entry.js → p-16bb4fc8.entry.js} +2 -2
- package/dist/calcite/{p-c9661cad.js → p-1e645a5c.js} +2 -2
- package/dist/calcite/p-1fddc401.js +6 -0
- package/dist/calcite/{p-db44be01.entry.js → p-210bbd9d.entry.js} +2 -2
- package/dist/calcite/{p-82eb0563.js → p-236d973c.js} +1 -1
- package/dist/calcite/{p-0148b26e.entry.js → p-23ae7b62.entry.js} +2 -2
- package/dist/calcite/{p-d9d93c29.js → p-24b97e95.js} +1 -1
- package/dist/calcite/{p-a8aa492e.js → p-250db644.js} +2 -2
- package/dist/calcite/{p-9aa653a7.js → p-2d86c240.js} +2 -2
- package/dist/calcite/{p-7a298d5e.entry.js → p-2e5e3be3.entry.js} +2 -2
- package/dist/calcite/{p-67170dcd.entry.js → p-2ee44dc4.entry.js} +2 -2
- package/dist/calcite/p-30a17636.js +6 -0
- package/dist/calcite/{p-c0e5b679.entry.js → p-3b4539ee.entry.js} +2 -2
- package/dist/calcite/{p-0fa49152.js → p-3c510f17.js} +2 -2
- package/dist/calcite/{p-d10fcacf.entry.js → p-3e610165.entry.js} +2 -2
- package/dist/calcite/{p-3a282cd9.js → p-3edd8d0c.js} +2 -2
- package/dist/calcite/{p-d6bb3d55.js → p-41777944.js} +1 -1
- package/dist/calcite/{p-76a407c2.js → p-427ef50e.js} +2 -2
- package/dist/calcite/{p-b2f8dd28.js → p-45c5a225.js} +2 -2
- package/dist/calcite/{p-732e4293.entry.js → p-468d6f81.entry.js} +2 -2
- package/dist/calcite/{p-514f3251.entry.js → p-46ea2f82.entry.js} +2 -2
- package/dist/calcite/{p-afe1472b.entry.js → p-4bf3d29d.entry.js} +2 -2
- package/dist/calcite/{p-23e6b7fd.entry.js → p-4d85a03c.entry.js} +2 -2
- package/dist/calcite/{p-b5224b18.entry.js → p-4f68bd9e.entry.js} +2 -2
- package/dist/calcite/{p-52b0e14e.js → p-50f93606.js} +1 -1
- package/dist/calcite/p-526600f3.entry.js +6 -0
- package/dist/calcite/{p-d00edd17.entry.js → p-52bbb009.entry.js} +2 -2
- package/dist/calcite/{p-49b70417.entry.js → p-568c593e.entry.js} +2 -2
- package/dist/calcite/{p-5a185fd9.entry.js → p-5755165c.entry.js} +2 -2
- package/dist/calcite/{p-e1be6872.js → p-5784927a.js} +1 -1
- package/dist/calcite/{p-1117f4fe.entry.js → p-59718a3c.entry.js} +2 -2
- package/dist/calcite/{p-3753e766.entry.js → p-5adb35a5.entry.js} +2 -2
- package/dist/calcite/{p-aaf74c02.js → p-6475dd71.js} +1 -1
- package/dist/calcite/p-651f77ee.entry.js +6 -0
- package/dist/calcite/{p-3bcfbbcb.entry.js → p-6a23101f.entry.js} +2 -2
- package/dist/calcite/{p-1ff179ca.js → p-6f471e6f.js} +1 -1
- package/dist/calcite/{p-0db3dd97.entry.js → p-7413820a.entry.js} +2 -2
- package/dist/calcite/{p-7a8e0025.entry.js → p-7a2128e4.entry.js} +2 -2
- package/dist/calcite/{p-e7b36231.js → p-7a4bb56d.js} +1 -1
- package/dist/calcite/{p-16cda1d5.js → p-7baa7af6.js} +1 -1
- package/dist/calcite/{p-caf9fc5b.entry.js → p-7becbeac.entry.js} +2 -2
- package/dist/calcite/{p-ca852b1e.entry.js → p-7d3af475.entry.js} +2 -2
- package/dist/calcite/{p-ac00e47b.entry.js → p-82334e0f.entry.js} +2 -2
- package/dist/calcite/{p-0f7ab4b1.entry.js → p-838b5b10.entry.js} +2 -2
- package/dist/calcite/{p-bef4bd3a.js → p-904ede2f.js} +2 -2
- package/dist/calcite/{p-d3291ac5.entry.js → p-9714801c.entry.js} +2 -2
- package/dist/calcite/{p-af49120c.entry.js → p-981ee5e2.entry.js} +2 -2
- package/dist/calcite/{p-51b10234.entry.js → p-9bc9fec0.entry.js} +2 -2
- package/dist/calcite/{p-0dc8d589.entry.js → p-a0369216.entry.js} +2 -2
- package/dist/calcite/{p-05288a06.entry.js → p-a28373db.entry.js} +2 -2
- package/dist/calcite/{p-064064a6.entry.js → p-a5bc478a.entry.js} +2 -2
- package/dist/calcite/{p-51aa59f7.entry.js → p-b2fa485d.entry.js} +2 -2
- package/dist/calcite/{p-158e7425.entry.js → p-b35d43b8.entry.js} +2 -2
- package/dist/calcite/{p-9f3a6a21.entry.js → p-b88a9698.entry.js} +2 -2
- package/dist/calcite/{p-59fc015c.entry.js → p-ba1762fa.entry.js} +2 -2
- package/dist/calcite/{p-4f503606.entry.js → p-bbeb2b16.entry.js} +2 -2
- package/dist/calcite/{p-9ac45ae0.entry.js → p-bc3509e9.entry.js} +2 -2
- package/dist/calcite/{p-51fd4854.js → p-bffe7314.js} +1 -1
- package/dist/calcite/{p-cd776015.entry.js → p-c1318ed6.entry.js} +2 -2
- package/dist/calcite/{p-37f69fcc.js → p-c516cd1d.js} +2 -2
- package/dist/calcite/p-c9112343.entry.js +6 -0
- package/dist/calcite/{p-e8594c75.entry.js → p-ca25c90f.entry.js} +2 -2
- package/dist/calcite/{p-b669bf29.entry.js → p-cd1f5b43.entry.js} +2 -2
- package/dist/calcite/{p-94fca586.js → p-d082ad83.js} +2 -2
- package/dist/calcite/p-d12b885c.entry.js +6 -0
- package/dist/calcite/p-d272ca58.entry.js +6 -0
- package/dist/calcite/{p-a6f38a93.js → p-d3ae8646.js} +1 -1
- package/dist/calcite/{p-49c77295.entry.js → p-d9fc0680.entry.js} +2 -2
- package/dist/calcite/{p-eaca583a.entry.js → p-df67f5db.entry.js} +2 -2
- package/dist/calcite/{p-91829219.js → p-e19822ce.js} +1 -1
- package/dist/calcite/{p-54545725.entry.js → p-e2862abc.entry.js} +2 -2
- package/dist/calcite/p-e2fc9fde.entry.js +6 -0
- package/dist/calcite/{p-697ab3dd.js → p-e367a58a.js} +2 -2
- package/dist/calcite/{p-19e07294.entry.js → p-eb84d106.entry.js} +2 -2
- package/dist/calcite/{p-cd8505c5.entry.js → p-ec6d8b2e.entry.js} +2 -2
- package/dist/calcite/p-ece0762e.js +6 -0
- package/dist/calcite/{p-c010c051.entry.js → p-ef2b676c.entry.js} +2 -2
- package/dist/calcite/{p-fe84c836.js → p-fa560a48.js} +2 -2
- package/dist/calcite/{p-b9dc7da1.js → p-fcac5643.js} +3 -3
- package/dist/calcite/{p-1ca1ed37.entry.js → p-fdfa86da.entry.js} +2 -2
- package/dist/calcite/{p-21207de0.js → p-fe341e88.js} +1 -1
- package/dist/cjs/{ExpandToggle-d3e06ad7.js → ExpandToggle-155a1d73.js} +5 -5
- package/dist/cjs/{Heading-08ff10da.js → Heading-5cc79f17.js} +2 -2
- package/dist/cjs/{app-globals-93bc8f98.js → app-globals-564df41e.js} +2 -2
- package/dist/cjs/{array-f0953262.js → array-529c5292.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action.cjs.entry.js +11 -11
- package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-card.cjs.entry.js +10 -10
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +11 -11
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
- 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 +13 -13
- package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
- 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 +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +17 -17
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input.cjs.entry.js +20 -20
- 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 +66 -38
- package/dist/cjs/calcite-notice.cjs.entry.js +12 -12
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
- package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
- 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-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-shell_3.cjs.entry.js +11 -11
- 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 +22 -12
- 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 +11 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-6aaa38f1.js → conditionalSlot-e7a7b5c8.js} +3 -3
- package/dist/cjs/{debounce-1a8db0d6.js → debounce-146db067.js} +1 -1
- package/dist/cjs/{dom-0a5b927d.js → dom-d995a70f.js} +3 -3
- package/dist/cjs/{filter-16c42d9b.js → filter-d6d1913c.js} +2 -2
- package/dist/cjs/{floating-ui-6d7806dc.js → floating-ui-bf7c5a54.js} +4 -4
- package/dist/cjs/{focusTrapComponent-9417b2cc.js → focusTrapComponent-a21479f8.js} +2 -2
- package/dist/cjs/{form-b8b59e5a.js → form-e6a87e3a.js} +3 -3
- package/dist/cjs/{guid-f2215689.js → guid-78c62093.js} +1 -1
- package/dist/cjs/{index-36299ccc.js → index-5ff9d146.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-feac58a5.js → interactive-1c4392e5.js} +1 -1
- package/dist/cjs/{key-15b118a5.js → key-b39d300c.js} +1 -1
- package/dist/cjs/{label-f418f667.js → label-67b59d15.js} +2 -2
- package/dist/cjs/{loadable-adeb9935.js → loadable-e2b8e790.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-631c5c03.js → locale-08827d86.js} +4 -4
- package/dist/cjs/{math-cf9b09da.js → math-e28a333d.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-76147cfb.js → nonChromiumPlatformUtils-3b0c65d1.js} +6 -6
- package/dist/cjs/{observers-3c79a9a2.js → observers-2c505074.js} +1 -1
- package/dist/cjs/{openCloseComponent-c1bf5577.js → openCloseComponent-07388aad.js} +2 -2
- package/dist/cjs/{resources-c285cb07.js → resources-39406e64.js} +1 -1
- package/dist/cjs/{resources-0821533b.js → resources-5e119f4e.js} +1 -1
- package/dist/cjs/{resources-2a2a848e.js → resources-7fc525bb.js} +1 -1
- package/dist/cjs/{resources-b4fa1cd5.js → resources-83d2e50b.js} +1 -1
- package/dist/cjs/{resources-539acaef.js → resources-a1fc1121.js} +1 -1
- package/dist/cjs/{resources-a4954229.js → resources-d032e141.js} +5 -5
- package/dist/cjs/{sortable.esm-7299ab69.js → sortable.esm-72baa2b0.js} +1 -1
- package/dist/cjs/{t9n-d037fc7d.js → t9n-7e3e109c.js} +3 -3
- package/dist/cjs/{utils-36c536d1.js → utils-38b9d3e2.js} +1 -1
- package/dist/cjs/{utils-0652e432.js → utils-a55ee6a4.js} +3 -3
- 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/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 +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -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.css +1 -1
- package/dist/collection/components/input/input.js +6 -6
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +2 -2
- 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.css +1 -1
- package/dist/collection/components/input-number/input-number.js +5 -5
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +1 -1
- package/dist/collection/components/input-text/input-text.js +3 -3
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- 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.css +19 -14
- package/dist/collection/components/modal/modal.js +58 -30
- package/dist/collection/components/modal/resources.js +3 -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/rating/function/star.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/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/segmented-control/segmented-control.js +1 -1
- package/dist/collection/components/segmented-control-item/resources.js +1 -1
- package/dist/collection/components/segmented-control-item/segmented-control-item.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.css +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/resources.js +13 -0
- package/dist/collection/components/tab-title/tab-title.css +4 -2
- package/dist/collection/components/tab-title/tab-title.js +6 -4
- 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/mode.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/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 +2 -2
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +6 -6
- package/dist/components/calcite-input-text.js +4 -4
- package/dist/components/calcite-input-time-picker.js +1 -1
- 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 +57 -27
- 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-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-segmented-control-item.js +1 -1
- package/dist/components/calcite-segmented-control.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 +1 -1
- 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 +7 -7
- package/dist/components/interactive.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/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +15 -5
- package/dist/components/tab.js +2 -2
- 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/components/utils3.js +1 -1
- package/dist/esm/{ExpandToggle-30b5ea3a.js → ExpandToggle-5dbae2e1.js} +5 -5
- package/dist/esm/{Heading-70bba858.js → Heading-1481ae4f.js} +2 -2
- package/dist/esm/{app-globals-e7b2d5bb.js → app-globals-91ffa454.js} +2 -2
- package/dist/esm/{array-aa5ab30e.js → array-b59381e5.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +15 -15
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +14 -14
- package/dist/esm/calcite-action.entry.js +11 -11
- package/dist/esm/calcite-alert.entry.js +12 -12
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +13 -13
- package/dist/esm/calcite-card.entry.js +10 -10
- package/dist/esm/calcite-checkbox.entry.js +10 -10
- package/dist/esm/calcite-chip.entry.js +11 -11
- package/dist/esm/calcite-color-picker_3.entry.js +14 -14
- package/dist/esm/calcite-combobox_3.entry.js +18 -18
- package/dist/esm/calcite-date-picker_4.entry.js +12 -12
- 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 +13 -13
- package/dist/esm/calcite-flow-item.entry.js +12 -12
- 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 +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +17 -17
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +19 -19
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker_2.entry.js +13 -13
- package/dist/esm/calcite-input.entry.js +20 -20
- 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 +66 -38
- package/dist/esm/calcite-notice.entry.js +12 -12
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +9 -9
- package/dist/esm/calcite-panel.entry.js +14 -14
- package/dist/esm/calcite-pick-list_3.entry.js +16 -16
- package/dist/esm/calcite-popover.entry.js +15 -15
- 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-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +9 -9
- package/dist/esm/calcite-shell_3.entry.js +11 -11
- 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 +22 -12
- 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 +11 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +9 -9
- package/dist/esm/calcite-value-list_2.entry.js +16 -16
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-db10f4ae.js → conditionalSlot-5c750db0.js} +3 -3
- package/dist/esm/{debounce-7c47980c.js → debounce-69e19d50.js} +1 -1
- package/dist/esm/{dom-2d541128.js → dom-6fe4b4de.js} +3 -3
- package/dist/esm/{filter-1b53dd9d.js → filter-19858e32.js} +2 -2
- package/dist/esm/{floating-ui-53a78340.js → floating-ui-75744909.js} +4 -4
- package/dist/esm/{focusTrapComponent-fd4a14e9.js → focusTrapComponent-bed967de.js} +2 -2
- package/dist/esm/{form-d0b6e545.js → form-d8b2f9b0.js} +3 -3
- package/dist/esm/{guid-592b871e.js → guid-4f0fa581.js} +1 -1
- package/dist/esm/{index-d0455540.js → index-3c04bf37.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-5301292c.js → interactive-671affad.js} +1 -1
- package/dist/esm/{key-394af23c.js → key-71f47441.js} +1 -1
- package/dist/esm/{label-4a60d1f6.js → label-e4cf2417.js} +2 -2
- package/dist/esm/{loadable-e23c3256.js → loadable-45587ee3.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-88f57e28.js → locale-0d4dbe90.js} +4 -4
- package/dist/esm/{math-2937c3db.js → math-eec0946f.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-09093758.js → nonChromiumPlatformUtils-6119a661.js} +6 -6
- package/dist/esm/{observers-d6f4fb38.js → observers-07fff8a4.js} +1 -1
- package/dist/esm/{openCloseComponent-0ff5b8f6.js → openCloseComponent-87bc71a0.js} +2 -2
- package/dist/esm/{resources-27bc990e.js → resources-20e004eb.js} +1 -1
- package/dist/esm/{resources-e00d8548.js → resources-4f3a8289.js} +5 -5
- package/dist/esm/{resources-2edebbd8.js → resources-6d87aff3.js} +1 -1
- package/dist/esm/{resources-22504962.js → resources-8702fb2f.js} +1 -1
- package/dist/esm/{resources-818b8578.js → resources-ed8d02a0.js} +1 -1
- package/dist/esm/{resources-0927db26.js → resources-ee39438c.js} +1 -1
- package/dist/esm/{sortable.esm-4850abe9.js → sortable.esm-4a9f8583.js} +1 -1
- package/dist/esm/{t9n-aadd7066.js → t9n-6748d54e.js} +3 -3
- package/dist/esm/{utils-0148bda2.js → utils-1c5eed2d.js} +3 -3
- package/dist/esm/{utils-29e36bf5.js → utils-7f1080df.js} +1 -1
- package/dist/extras/docs-json.json +14 -7
- package/dist/extras/vscode-data.json +2 -2
- 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/modal/modal.d.ts +7 -3
- package/dist/types/components/modal/resources.d.ts +2 -0
- package/dist/types/components/tab-title/resources.d.ts +8 -0
- package/dist/types/components.d.ts +6 -6
- package/hydrate/index.js +391 -355
- package/package.json +1 -1
- package/dist/calcite/p-46495c13.entry.js +0 -6
- package/dist/calcite/p-47631d70.js +0 -6
- package/dist/calcite/p-50943062.entry.js +0 -6
- package/dist/calcite/p-6c857b8f.js +0 -6
- package/dist/calcite/p-85c20e1b.entry.js +0 -6
- package/dist/calcite/p-8f70c0b7.js +0 -6
- package/dist/calcite/p-aaa7ef61.entry.js +0 -6
- package/dist/calcite/p-ad9bd676.entry.js +0 -6
- package/dist/calcite/p-b0e306ca.entry.js +0 -6
- package/dist/calcite/p-b6e03d23.entry.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getElementProp, getSlotted, isPrimaryPointerButton, setRequestedIcon } from "../../utils/dom";
|
|
@@ -570,17 +570,17 @@ export class Input {
|
|
|
570
570
|
render() {
|
|
571
571
|
const dir = getElementDir(this.el);
|
|
572
572
|
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
573
|
-
const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
574
|
-
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
573
|
+
const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
574
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
575
575
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
576
576
|
const numberButtonsHorizontalUp = (h("button", { "aria-hidden": "true", class: {
|
|
577
577
|
[CSS.numberButtonItem]: true,
|
|
578
578
|
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
579
|
-
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
579
|
+
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
580
580
|
const numberButtonsHorizontalDown = (h("button", { "aria-hidden": "true", class: {
|
|
581
581
|
[CSS.numberButtonItem]: true,
|
|
582
582
|
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
583
|
-
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
583
|
+
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
584
584
|
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
585
585
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
586
586
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
@@ -591,7 +591,7 @@ export class Input {
|
|
|
591
591
|
[CSS.editingEnabled]: this.editingEnabled,
|
|
592
592
|
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
593
593
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.enterKeyHint, inputMode: this.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, multiple: this.multiple, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
594
|
-
this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
594
|
+
this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" }))) : null
|
|
595
595
|
]
|
|
596
596
|
: null;
|
|
597
597
|
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { dateFromISO, dateFromLocalizedString, dateFromRange, datePartsFromLocalizedString, dateToISO, inRange } from "../../utils/date";
|
|
@@ -408,7 +408,7 @@ export class InputDatePicker {
|
|
|
408
408
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
409
409
|
[FloatingCSS.animation]: true,
|
|
410
410
|
[FloatingCSS.animationActive]: this.open
|
|
411
|
-
}, ref: this.setTransitionEl }, h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
|
|
411
|
+
}, ref: this.setTransitionEl }, h("calcite-date-picker", { activeDate: this.datePickerActiveDate, activeRange: this.focusedInput, headingLevel: this.headingLevel, max: this.max, maxAsDate: this.maxAsDate, messageOverrides: this.messageOverrides, min: this.min, minAsDate: this.minAsDate, numberingSystem: numberingSystem, onCalciteDatePickerChange: this.handleDateChange, onCalciteDatePickerRangeChange: this.handleDateRangeChange, proximitySelectionDisabled: this.proximitySelectionDisabled, range: this.range, scale: this.scale, tabIndex: 0, valueAsDate: this.valueAsDate }))), this.range && this.layout === "horizontal" && (h("div", { class: "horizontal-arrow-container" }, h("calcite-icon", { flipRtl: true, icon: "arrow-right", scale: this.scale === "l" ? "m" : "s" }))), this.range && this.layout === "vertical" && this.scale !== "s" && (h("div", { class: "vertical-arrow-container" }, h("calcite-icon", { icon: "arrow-down", scale: this.scale === "l" ? "m" : "s" }))), this.range && (h("div", { class: "input-wrapper", ref: this.setEndWrapper }, h("calcite-input", { class: {
|
|
412
412
|
input: true,
|
|
413
413
|
"border-top-color-one": this.layout === "vertical" && this.range
|
|
414
414
|
}, 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" }))))), h(HiddenFormInputSlot, { component: this })));
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
menu: "menu-container",
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementProp, setRequestedIcon } from "../../utils/dom";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
export var StatusIconDefaults;
|
|
7
7
|
(function (StatusIconDefaults) {
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getElementProp, getSlotted, isPrimaryPointerButton, setRequestedIcon } from "../../utils/dom";
|
|
@@ -481,17 +481,17 @@ export class InputNumber {
|
|
|
481
481
|
render() {
|
|
482
482
|
const dir = getElementDir(this.el);
|
|
483
483
|
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
484
|
-
const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
485
|
-
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
484
|
+
const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
485
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
486
486
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
487
487
|
const numberButtonsHorizontalUp = (h("button", { "aria-hidden": "true", class: {
|
|
488
488
|
[CSS.numberButtonItem]: true,
|
|
489
489
|
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
490
|
-
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
490
|
+
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: this.scale === "l" ? "m" : "s" })));
|
|
491
491
|
const numberButtonsHorizontalDown = (h("button", { "aria-hidden": "true", class: {
|
|
492
492
|
[CSS.numberButtonItem]: true,
|
|
493
493
|
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
494
|
-
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
494
|
+
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: this.scale === "l" ? "m" : "s" })));
|
|
495
495
|
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
496
496
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
497
497
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, getElementProp, getSlotted, setRequestedIcon } from "../../utils/dom";
|
|
@@ -285,8 +285,8 @@ export class InputText {
|
|
|
285
285
|
render() {
|
|
286
286
|
const dir = getElementDir(this.el);
|
|
287
287
|
const loader = (h("div", { class: CSS.loader }, h("calcite-progress", { label: this.messages.loading, type: "indeterminate" })));
|
|
288
|
-
const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
289
|
-
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
288
|
+
const inputClearButton = (h("button", { "aria-label": this.messages.clear, class: CSS.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
|
289
|
+
const iconEl = (h("calcite-icon", { class: CSS.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }));
|
|
290
290
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
291
291
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
292
292
|
const childEl = (h("input", { "aria-label": getLabelText(this), autocomplete: this.autocomplete, autofocus: this.autofocus ? true : null, class: {
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { connectForm, disconnectForm, HiddenFormInputSlot, submitForm } from "../../utils/form";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { labelConnectedEvent, labelDisconnectedEvent } from "../../utils/label";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { focusElement, getElementDir } from "../../utils/dom";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h } from "@stencil/core";
|
|
7
7
|
import { debounce } from "lodash-es";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { getElementDir, slotChangeHasAssignedElement, toAriaBoolean } from "../../utils/dom";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { Build } from "@stencil/core";
|
|
7
7
|
const listItemGroupSelector = "calcite-list-item-group";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
export const CSS = {
|
|
7
7
|
container: "container",
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
@@ -92,6 +92,9 @@
|
|
|
92
92
|
* @prop --calcite-modal-content-background: Specifies the background color of content placed in the `content` slot.
|
|
93
93
|
* @prop --calcite-modal-content-padding: Specifies the padding of the modal `content` slot.
|
|
94
94
|
* @prop --calcite-modal-scrim-background: Specifies the background color of the modal scrim.
|
|
95
|
+
* @prop --calcite-modal-width: Specifies a width of the modal, using `px`, `em`, `rem`, `vw`, or `%`. Will never exceed the width of the viewport. Will not apply if `fullscreen` if set.
|
|
96
|
+
* @prop --calcite-modal-height: Specifies a height of the modal, using `px`, `em`, `rem`, `vh`, or `%`. Will never exceed the height of the viewport. Will not apply if `fullscreen` if set.
|
|
97
|
+
*
|
|
95
98
|
*/
|
|
96
99
|
:host {
|
|
97
100
|
position: absolute;
|
|
@@ -230,7 +233,7 @@
|
|
|
230
233
|
color: var(--calcite-ui-text-3);
|
|
231
234
|
outline-color: transparent;
|
|
232
235
|
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
|
233
|
-
|
|
236
|
+
padding-block: var(--calcite-modal-padding-internal);
|
|
234
237
|
padding-inline: var(--calcite-modal-padding-internal);
|
|
235
238
|
flex: 0 0 auto;
|
|
236
239
|
}
|
|
@@ -275,7 +278,7 @@ slot[name=header]::slotted(*),
|
|
|
275
278
|
block-size: 100%;
|
|
276
279
|
overflow: auto;
|
|
277
280
|
padding: 0px;
|
|
278
|
-
max-block-size:
|
|
281
|
+
max-block-size: 100%;
|
|
279
282
|
background-color: var(--calcite-modal-content-background, var(--calcite-ui-foreground-1));
|
|
280
283
|
padding-block: var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));
|
|
281
284
|
padding-inline: var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal));
|
|
@@ -340,7 +343,10 @@ slot[name=primary] {
|
|
|
340
343
|
}
|
|
341
344
|
|
|
342
345
|
:host([width=s]) .modal {
|
|
343
|
-
max-
|
|
346
|
+
max-block-size: 100%;
|
|
347
|
+
max-inline-size: 100%;
|
|
348
|
+
inline-size: var(--calcite-modal-width, 32rem);
|
|
349
|
+
block-size: var(--calcite-modal-height, auto);
|
|
344
350
|
}
|
|
345
351
|
|
|
346
352
|
@media screen and (max-width: 35rem) {
|
|
@@ -350,7 +356,6 @@ slot[name=primary] {
|
|
|
350
356
|
max-block-size: 100%;
|
|
351
357
|
inline-size: 100%;
|
|
352
358
|
max-inline-size: 100%;
|
|
353
|
-
border-radius: 0px;
|
|
354
359
|
}
|
|
355
360
|
:host([width=s]) .content {
|
|
356
361
|
flex: 1 1 auto;
|
|
@@ -362,7 +367,10 @@ slot[name=primary] {
|
|
|
362
367
|
}
|
|
363
368
|
}
|
|
364
369
|
:host([width=m]) .modal {
|
|
365
|
-
max-
|
|
370
|
+
max-block-size: 100%;
|
|
371
|
+
max-inline-size: 100%;
|
|
372
|
+
inline-size: var(--calcite-modal-width, 48rem);
|
|
373
|
+
block-size: var(--calcite-modal-height, auto);
|
|
366
374
|
}
|
|
367
375
|
|
|
368
376
|
@media screen and (max-width: 51rem) {
|
|
@@ -372,7 +380,6 @@ slot[name=primary] {
|
|
|
372
380
|
max-block-size: 100%;
|
|
373
381
|
inline-size: 100%;
|
|
374
382
|
max-inline-size: 100%;
|
|
375
|
-
border-radius: 0px;
|
|
376
383
|
}
|
|
377
384
|
:host([width=m]) .content {
|
|
378
385
|
flex: 1 1 auto;
|
|
@@ -384,7 +391,10 @@ slot[name=primary] {
|
|
|
384
391
|
}
|
|
385
392
|
}
|
|
386
393
|
:host([width=l]) .modal {
|
|
387
|
-
max-
|
|
394
|
+
max-block-size: 100%;
|
|
395
|
+
max-inline-size: 100%;
|
|
396
|
+
inline-size: var(--calcite-modal-width, 94rem);
|
|
397
|
+
block-size: var(--calcite-modal-height, auto);
|
|
388
398
|
}
|
|
389
399
|
|
|
390
400
|
@media screen and (max-width: 97rem) {
|
|
@@ -394,7 +404,6 @@ slot[name=primary] {
|
|
|
394
404
|
max-block-size: 100%;
|
|
395
405
|
inline-size: 100%;
|
|
396
406
|
max-inline-size: 100%;
|
|
397
|
-
border-radius: 0px;
|
|
398
407
|
}
|
|
399
408
|
:host([width=l]) .content {
|
|
400
409
|
flex: 1 1 auto;
|
|
@@ -414,6 +423,7 @@ slot[name=primary] {
|
|
|
414
423
|
max-block-size: 100%;
|
|
415
424
|
inline-size: 100%;
|
|
416
425
|
max-inline-size: 100%;
|
|
426
|
+
border-radius: 0px;
|
|
417
427
|
--calcite-modal-hidden-position: translate3D(0, 20px, 0) scale(0.95);
|
|
418
428
|
--calcite-modal-shown-position: translate3D(0, 0, 0) scale(1);
|
|
419
429
|
}
|
|
@@ -433,17 +443,12 @@ slot[name=primary] {
|
|
|
433
443
|
* Docked
|
|
434
444
|
*/
|
|
435
445
|
:host([docked]) .modal {
|
|
436
|
-
block-size: auto;
|
|
446
|
+
block-size: var(--calcite-modal-height, auto);
|
|
437
447
|
}
|
|
438
448
|
:host([docked]) .content {
|
|
439
449
|
block-size: auto;
|
|
440
450
|
flex: 1 1 auto;
|
|
441
451
|
}
|
|
442
|
-
@media screen and (max-width: 860px) {
|
|
443
|
-
:host([docked]) .modal {
|
|
444
|
-
border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
452
|
|
|
448
453
|
/**
|
|
449
454
|
* Kinds
|
|
@@ -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.726
|
|
5
5
|
*/
|
|
6
6
|
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
@@ -22,7 +22,12 @@ import { connectMessages, disconnectMessages, setUpMessages, updateMessages } fr
|
|
|
22
22
|
*/
|
|
23
23
|
export class Modal {
|
|
24
24
|
constructor() {
|
|
25
|
-
this.mutationObserver = createObserver("mutation", () =>
|
|
25
|
+
this.mutationObserver = createObserver("mutation", () => {
|
|
26
|
+
this.updateFooterVisibility();
|
|
27
|
+
});
|
|
28
|
+
this.cssVarObserver = createObserver("mutation", () => {
|
|
29
|
+
this.updateSizeCssVars();
|
|
30
|
+
});
|
|
26
31
|
this.openTransitionProp = "opacity";
|
|
27
32
|
//--------------------------------------------------------------------------
|
|
28
33
|
//
|
|
@@ -55,6 +60,10 @@ export class Modal {
|
|
|
55
60
|
this.updateFooterVisibility = () => {
|
|
56
61
|
this.hasFooter = !!getSlotted(this.el, [SLOTS.back, SLOTS.primary, SLOTS.secondary]);
|
|
57
62
|
};
|
|
63
|
+
this.updateSizeCssVars = () => {
|
|
64
|
+
this.cssWidth = getComputedStyle(this.el).getPropertyValue("--calcite-modal-width");
|
|
65
|
+
this.cssHeight = getComputedStyle(this.el).getPropertyValue("--calcite-modal-height");
|
|
66
|
+
};
|
|
58
67
|
this.open = false;
|
|
59
68
|
this.beforeClose = () => Promise.resolve();
|
|
60
69
|
this.closeButtonDisabled = false;
|
|
@@ -69,6 +78,8 @@ export class Modal {
|
|
|
69
78
|
this.messages = undefined;
|
|
70
79
|
this.messageOverrides = undefined;
|
|
71
80
|
this.slottedInShell = undefined;
|
|
81
|
+
this.cssWidth = undefined;
|
|
82
|
+
this.cssHeight = undefined;
|
|
72
83
|
this.hasFooter = true;
|
|
73
84
|
this.isOpen = false;
|
|
74
85
|
this.effectiveLocale = undefined;
|
|
@@ -102,7 +113,9 @@ export class Modal {
|
|
|
102
113
|
}
|
|
103
114
|
connectedCallback() {
|
|
104
115
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
116
|
+
this.cssVarObserver?.observe(this.el, { attributeFilter: ["style"] });
|
|
105
117
|
this.updateFooterVisibility();
|
|
118
|
+
this.updateSizeCssVars();
|
|
106
119
|
connectConditionalSlotComponent(this);
|
|
107
120
|
connectLocalized(this);
|
|
108
121
|
connectMessages(this);
|
|
@@ -110,6 +123,7 @@ export class Modal {
|
|
|
110
123
|
disconnectedCallback() {
|
|
111
124
|
this.removeOverflowHiddenClass();
|
|
112
125
|
this.mutationObserver?.disconnect();
|
|
126
|
+
this.cssVarObserver?.disconnect();
|
|
113
127
|
disconnectConditionalSlotComponent(this);
|
|
114
128
|
deactivateFocusTrap(this);
|
|
115
129
|
disconnectLocalized(this);
|
|
@@ -117,12 +131,15 @@ export class Modal {
|
|
|
117
131
|
this.slottedInShell = false;
|
|
118
132
|
}
|
|
119
133
|
render() {
|
|
120
|
-
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("div", { class: {
|
|
134
|
+
return (h(Host, { "aria-describedby": this.contentId, "aria-labelledby": this.titleId, "aria-modal": "true", role: "dialog" }, h("div", { class: {
|
|
135
|
+
[CSS.container]: true,
|
|
136
|
+
[CSS.slottedInShell]: this.slottedInShell
|
|
137
|
+
} }, h("calcite-scrim", { class: CSS.scrim, onClick: this.handleOutsideClose }), this.renderStyle(), h("div", { class: {
|
|
121
138
|
[CSS.modal]: true,
|
|
122
139
|
[CSS.modalOpen]: this.isOpen
|
|
123
140
|
}, ref: this.setTransitionEl }, h("div", { class: CSS.header }, this.renderCloseButton(), h("header", { class: CSS.title }, h("slot", { name: CSS.header }))), h("div", { class: {
|
|
124
|
-
content: true,
|
|
125
|
-
|
|
141
|
+
[CSS.content]: true,
|
|
142
|
+
[CSS.contentNoFooter]: !this.hasFooter
|
|
126
143
|
}, ref: (el) => (this.modalContent = el) }, h("slot", { name: SLOTS.content })), this.renderFooter()))));
|
|
127
144
|
}
|
|
128
145
|
renderFooter() {
|
|
@@ -132,26 +149,35 @@ export class Modal {
|
|
|
132
149
|
return !this.closeButtonDisabled ? (h("button", { "aria-label": this.messages.close, class: CSS.close, key: "button", onClick: this.close, ref: (el) => (this.closeButtonEl = el), title: this.messages.close }, h("calcite-icon", { icon: ICONS.close, scale: this.scale === "s" ? "s" : this.scale === "m" ? "m" : this.scale === "l" ? "l" : null }))) : null;
|
|
133
150
|
}
|
|
134
151
|
renderStyle() {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
max-width:
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
if (!this.fullscreen && (this.cssWidth || this.cssHeight)) {
|
|
153
|
+
return (h("style", null, `.${CSS.container} {
|
|
154
|
+
${this.docked && this.cssWidth ? `align-items: center !important;` : ""}
|
|
155
|
+
}
|
|
156
|
+
.${CSS.modal} {
|
|
157
|
+
block-size: ${this.cssHeight ? this.cssHeight : "auto"} !important;
|
|
158
|
+
${this.cssWidth ? `inline-size: ${this.cssWidth} !important;` : ""}
|
|
159
|
+
${this.cssWidth ? `max-inline-size: ${this.cssWidth} !important;` : ""}
|
|
160
|
+
${this.docked ? `border-radius: var(--calcite-border-radius) !important;` : ""}
|
|
161
|
+
}
|
|
162
|
+
@media screen and (max-width: ${this.cssWidth}) {
|
|
163
|
+
.${CSS.container} {
|
|
164
|
+
${this.docked ? `align-items: flex-end !important;` : ""}
|
|
165
|
+
}
|
|
166
|
+
.${CSS.modal} {
|
|
167
|
+
max-block-size: 100% !important;
|
|
168
|
+
inline-size: 100% !important;
|
|
169
|
+
max-inline-size: 100% !important;
|
|
170
|
+
min-inline-size: 100% !important;
|
|
171
|
+
margin: 0 !important;
|
|
172
|
+
${!this.docked ? `block-size: 100% !important;` : ""}
|
|
173
|
+
${!this.docked ? `border-radius: 0 !important;` : ""}
|
|
174
|
+
${this.docked
|
|
175
|
+
? `border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;`
|
|
176
|
+
: ""}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
`));
|
|
180
|
+
}
|
|
155
181
|
}
|
|
156
182
|
effectiveLocaleChange() {
|
|
157
183
|
updateMessages(this, this.effectiveLocale);
|
|
@@ -417,11 +443,11 @@ export class Modal {
|
|
|
417
443
|
"defaultValue": "\"m\""
|
|
418
444
|
},
|
|
419
445
|
"width": {
|
|
420
|
-
"type": "
|
|
446
|
+
"type": "string",
|
|
421
447
|
"mutable": false,
|
|
422
448
|
"complexType": {
|
|
423
|
-
"original": "Scale
|
|
424
|
-
"resolved": "\"l\" | \"m\" | \"s\"
|
|
449
|
+
"original": "Scale",
|
|
450
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
425
451
|
"references": {
|
|
426
452
|
"Scale": {
|
|
427
453
|
"location": "import",
|
|
@@ -433,7 +459,7 @@ export class Modal {
|
|
|
433
459
|
"optional": false,
|
|
434
460
|
"docs": {
|
|
435
461
|
"tags": [],
|
|
436
|
-
"text": "Specifies the width of the component.
|
|
462
|
+
"text": "Specifies the width of the component."
|
|
437
463
|
},
|
|
438
464
|
"attribute": "width",
|
|
439
465
|
"reflect": true,
|
|
@@ -451,7 +477,7 @@ export class Modal {
|
|
|
451
477
|
"optional": false,
|
|
452
478
|
"docs": {
|
|
453
479
|
"tags": [],
|
|
454
|
-
"text": "Sets the component to always be fullscreen (overrides `width`)."
|
|
480
|
+
"text": "Sets the component to always be fullscreen (overrides `width` and `--calcite-modal-width` / `--calcite-modal-height`)."
|
|
455
481
|
},
|
|
456
482
|
"attribute": "fullscreen",
|
|
457
483
|
"reflect": true
|
|
@@ -551,6 +577,8 @@ export class Modal {
|
|
|
551
577
|
}
|
|
552
578
|
static get states() {
|
|
553
579
|
return {
|
|
580
|
+
"cssWidth": {},
|
|
581
|
+
"cssHeight": {},
|
|
554
582
|
"hasFooter": {},
|
|
555
583
|
"isOpen": {},
|
|
556
584
|
"effectiveLocale": {},
|