@esri/calcite-components 1.0.0-next.604 → 1.0.0-next.606
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-cf6b403c.entry.js → p-0020d7d5.entry.js} +2 -2
- package/dist/calcite/p-03afda80.entry.js +6 -0
- package/dist/calcite/{p-0f0841ad.entry.js → p-06c6854a.entry.js} +2 -2
- package/dist/calcite/p-0ae7c12f.js +6 -0
- package/dist/calcite/{p-8186970e.entry.js → p-187c562d.entry.js} +2 -2
- package/dist/calcite/{p-86a3a102.entry.js → p-1b06322f.entry.js} +2 -2
- package/dist/calcite/{p-8e4b563c.entry.js → p-1dd5f101.entry.js} +2 -2
- package/dist/calcite/{p-f892cdd9.entry.js → p-1de1447f.entry.js} +2 -2
- package/dist/calcite/{p-ece8a0c8.js → p-1e272a5d.js} +1 -1
- package/dist/calcite/{p-070e6ecb.entry.js → p-1e3fdded.entry.js} +2 -2
- package/dist/calcite/{p-4b7ee4fa.entry.js → p-1e8d2fd7.entry.js} +2 -2
- package/dist/calcite/{p-85efcb63.entry.js → p-1eb05bb2.entry.js} +2 -2
- package/dist/calcite/{p-132a6dce.js → p-1ed53169.js} +1 -1
- package/dist/calcite/{p-b12515e2.entry.js → p-20ab02b7.entry.js} +2 -2
- package/dist/calcite/p-22cfa796.entry.js +6 -0
- package/dist/calcite/{p-f6dae8af.entry.js → p-2a78a458.entry.js} +2 -2
- package/dist/calcite/{p-13679cdc.entry.js → p-2d12183c.entry.js} +2 -2
- package/dist/calcite/{p-7a512c22.js → p-2eeff261.js} +1 -1
- package/dist/calcite/{p-907eba2f.entry.js → p-32ef135d.entry.js} +2 -2
- package/dist/calcite/{p-49c59ffa.entry.js → p-33732b8f.entry.js} +2 -2
- package/dist/calcite/p-36522d79.entry.js +6 -0
- package/dist/calcite/{p-b854e03c.js → p-37141771.js} +2 -2
- package/dist/calcite/{p-eaf0d2cd.entry.js → p-39ebfe9e.entry.js} +2 -2
- package/dist/calcite/{p-455f04f4.entry.js → p-404c6db8.entry.js} +2 -2
- package/dist/calcite/{p-8c2c7210.js → p-40e1d497.js} +1 -1
- package/dist/calcite/{p-43169214.entry.js → p-441037a9.entry.js} +2 -2
- package/dist/calcite/{p-0638db3d.js → p-452356bd.js} +2 -2
- package/dist/calcite/p-4b1cc441.js +6 -0
- package/dist/calcite/{p-2d2be2a2.entry.js → p-4d4bc233.entry.js} +2 -2
- package/dist/calcite/{p-ed735c7d.entry.js → p-52d3de61.entry.js} +2 -2
- package/dist/calcite/{p-e7ba9444.entry.js → p-538fd2ae.entry.js} +2 -2
- package/dist/calcite/{p-f70e3090.js → p-54c6ec8e.js} +1 -1
- package/dist/calcite/{p-08834660.js → p-58a34298.js} +1 -1
- package/dist/calcite/{p-96e30136.js → p-59bddc1f.js} +1 -1
- package/dist/calcite/{p-20a75fc3.entry.js → p-5a979e32.entry.js} +2 -2
- package/dist/calcite/{p-d5aa9688.entry.js → p-5ef97e90.entry.js} +2 -2
- package/dist/calcite/{p-d21cc0de.entry.js → p-718e40b5.entry.js} +2 -2
- package/dist/calcite/{p-a890fff2.entry.js → p-72b59949.entry.js} +2 -2
- package/dist/calcite/{p-269ee080.entry.js → p-72c5d8e9.entry.js} +2 -2
- package/dist/calcite/{p-20fcc606.js → p-74cc2ffc.js} +1 -1
- package/dist/calcite/{p-1ef1c867.entry.js → p-791e76fc.entry.js} +2 -2
- package/dist/calcite/{p-64ad8a02.js → p-7b0c6ea0.js} +2 -2
- package/dist/calcite/{p-6258723e.entry.js → p-7be2ad3b.entry.js} +2 -2
- package/dist/calcite/{p-e19c7368.entry.js → p-8599b693.entry.js} +2 -2
- package/dist/calcite/{p-ad9c3d33.entry.js → p-8cf35eb8.entry.js} +2 -2
- package/dist/calcite/{p-3db28bff.js → p-8d075e37.js} +1 -1
- package/dist/calcite/{p-6eed12ee.js → p-8faadeb1.js} +1 -1
- package/dist/calcite/p-91036706.js +6 -0
- package/dist/calcite/{p-ccf579fd.entry.js → p-967401e4.entry.js} +2 -2
- package/dist/calcite/{p-c11e7afc.entry.js → p-96f53f90.entry.js} +2 -2
- package/dist/calcite/{p-1fe887a4.js → p-98a6c8a4.js} +2 -2
- package/dist/calcite/{p-9bd1f535.js → p-9c59c88e.js} +1 -1
- package/dist/calcite/{p-da3d17ae.js → p-9df2c651.js} +2 -2
- package/dist/calcite/{p-a51598d7.entry.js → p-9f88a197.entry.js} +2 -2
- package/dist/calcite/{p-27469b83.entry.js → p-a322bb86.entry.js} +2 -2
- package/dist/calcite/{p-0132b6c0.entry.js → p-a3f7f3c6.entry.js} +2 -2
- package/dist/calcite/{p-45b96b51.js → p-a6373ef6.js} +2 -2
- package/dist/calcite/{p-c704eb91.js → p-a88b4c26.js} +1 -1
- package/dist/calcite/{p-70d7081b.entry.js → p-ac96d103.entry.js} +2 -2
- package/dist/calcite/{p-0eb3eb4e.entry.js → p-aed4b6fc.entry.js} +2 -2
- package/dist/calcite/{p-61b0834a.entry.js → p-af04fadb.entry.js} +2 -2
- package/dist/calcite/{p-208dc2db.entry.js → p-b5284c7c.entry.js} +2 -2
- package/dist/calcite/{p-5c57d01d.entry.js → p-ba03e197.entry.js} +2 -2
- package/dist/calcite/{p-650452ff.entry.js → p-bf16098b.entry.js} +2 -2
- package/dist/calcite/{p-9a8d86c5.entry.js → p-c3e7ad35.entry.js} +2 -2
- package/dist/calcite/{p-0c35bfe6.entry.js → p-c416a37b.entry.js} +2 -2
- package/dist/calcite/{p-b72f351a.js → p-c564ee3d.js} +1 -1
- package/dist/calcite/{p-2d7a0a21.entry.js → p-c5b28b2a.entry.js} +2 -2
- package/dist/calcite/{p-8714d59d.entry.js → p-c7447ff5.entry.js} +2 -2
- package/dist/calcite/{p-eb05efcc.entry.js → p-c8f9eae5.entry.js} +2 -2
- package/dist/calcite/p-c8ffd3f8.entry.js +6 -0
- package/dist/calcite/{p-62e2d4e8.entry.js → p-cafb01e6.entry.js} +2 -2
- package/dist/calcite/{p-6cf1c225.js → p-ccd21f8c.js} +2 -2
- package/dist/calcite/{p-371c00a4.entry.js → p-cff1af31.entry.js} +2 -2
- package/dist/calcite/{p-a1202e81.entry.js → p-d2f79079.entry.js} +2 -2
- package/dist/calcite/{p-352a73a5.entry.js → p-d5b3c1bb.entry.js} +2 -2
- package/dist/calcite/{p-9671d1e7.entry.js → p-d90a2e81.entry.js} +2 -2
- package/dist/calcite/{p-fa1600f3.entry.js → p-d973937d.entry.js} +2 -2
- package/dist/calcite/{p-fc6e527e.entry.js → p-da13cffd.entry.js} +2 -2
- package/dist/calcite/{p-724dbf5d.entry.js → p-da82a06e.entry.js} +2 -2
- package/dist/calcite/p-dbb8e6a4.js +6 -0
- package/dist/calcite/{p-b55450eb.entry.js → p-e5b5b117.entry.js} +2 -2
- package/dist/calcite/{p-d69a7708.js → p-eb47be9d.js} +1 -1
- package/dist/calcite/{p-f54c0b3e.js → p-edbb9009.js} +1 -1
- package/dist/calcite/{p-3b97f96b.entry.js → p-f532a20d.entry.js} +2 -2
- package/dist/calcite/{p-b1a9c8b4.js → p-f69de408.js} +1 -1
- package/dist/calcite/{p-a88cca14.entry.js → p-f8706ae9.entry.js} +2 -2
- package/dist/calcite/{p-4812bbe4.js → p-fe3f8e2f.js} +2 -2
- package/dist/cjs/{ExpandToggle-2a8308b9.js → ExpandToggle-4c94697a.js} +5 -5
- package/dist/cjs/{Heading-61ce3ce9.js → Heading-3af0e212.js} +2 -2
- package/dist/cjs/{app-globals-bef24495.js → app-globals-3186acc4.js} +2 -2
- package/dist/cjs/{array-c8d9a43e.js → array-4f023a91.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +26 -24
- package/dist/cjs/calcite-button.cjs.entry.js +26 -20
- package/dist/cjs/calcite-card.cjs.entry.js +14 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js +18 -16
- package/dist/cjs/calcite-chip.cjs.entry.js +16 -16
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +52 -55
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +33 -31
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +30 -22
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -8
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- 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 +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +70 -34
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- 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 +8 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.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 +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- 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 +9 -9
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
- 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 +5 -5
- package/dist/cjs/{conditionalSlot-833377ff.js → conditionalSlot-cb35bd49.js} +3 -3
- package/dist/cjs/{debounce-91cd9b6f.js → debounce-7c328f60.js} +1 -1
- package/dist/cjs/{dom-68b3dd45.js → dom-c8d2699b.js} +3 -3
- package/dist/cjs/{filter-2ab9e10c.js → filter-9a46e30b.js} +2 -2
- package/dist/cjs/{floating-ui-b475a1f1.js → floating-ui-1eb7dfe6.js} +2 -2
- package/dist/cjs/{form-70b82787.js → form-131e64b8.js} +3 -3
- package/dist/cjs/{guid-82d86568.js → guid-ad9b119b.js} +1 -1
- package/dist/cjs/{index-b8f7ccf6.js → index-b1ba5282.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-2d44e7b0.js → interactive-baf36661.js} +1 -1
- package/dist/cjs/{interfaces-57753d49.js → interfaces-084c0793.js} +1 -1
- package/dist/cjs/{key-d0d758af.js → key-59a119b9.js} +1 -1
- package/dist/cjs/{label-dfd45e8e.js → label-415bc940.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-ed04ca10.js → locale-02d3d5ef.js} +42 -20
- package/dist/cjs/{math-44f4b70d.js → math-45a2d4c0.js} +1 -1
- package/dist/cjs/{observers-6b7640c1.js → observers-bf725ee8.js} +1 -1
- package/dist/cjs/{openCloseComponent-700f4bb7.js → openCloseComponent-f4966a6b.js} +1 -1
- package/dist/cjs/{resources-b599ef9b.js → resources-0da64a64.js} +4 -42
- package/dist/cjs/{resources-19131f53.js → resources-12c592bb.js} +5 -5
- package/dist/cjs/{resources-13d6ce53.js → resources-55a2a593.js} +1 -1
- package/dist/cjs/{resources-a7343d6f.js → resources-79bc4e72.js} +1 -1
- package/dist/cjs/{resources-265600f9.js → resources-ef23c4c9.js} +1 -1
- package/dist/cjs/{resources-5bf45034.js → resources-f51e581d.js} +1 -1
- package/dist/cjs/{sortable.esm-2a2e4768.js → sortable.esm-f5415dc8.js} +1 -1
- package/dist/cjs/{utils-ff59f23a.js → utils-332df7b7.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 +31 -31
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +15 -13
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +49 -34
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +19 -18
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +26 -21
- package/dist/collection/components/chip/chip.js +21 -21
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +65 -66
- 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 +12 -14
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +5 -5
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +1 -1
- package/dist/collection/components/combobox/combobox.js +35 -35
- 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 +19 -17
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +3 -3
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +34 -2
- 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 +4 -26
- package/dist/collection/components/date-picker-month/date-picker-month.js +2 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +10 -8
- 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.css +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 +87 -28
- 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 +3 -3
- 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-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 +3 -3
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.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 +3 -3
- 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/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.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.css +1 -2
- 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/date.js +3 -38
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.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/locale.js +37 -18
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +4 -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 +18 -12
- 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 +7 -5
- package/dist/components/calcite-block.js +11 -11
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +8 -7
- 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 +35 -36
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +7 -5
- package/dist/components/calcite-combobox.js +14 -14
- 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 +59 -21
- 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-manager.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 +2 -2
- package/dist/components/calcite-tooltip-manager.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 +2 -2
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +10 -8
- package/dist/components/chip.js +10 -10
- package/dist/components/color-picker-hex-input.js +7 -9
- package/dist/components/color-picker-swatch.js +3 -3
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +3 -6
- package/dist/components/date-picker-month-header.js +10 -8
- package/dist/components/date-picker-month.js +2 -2
- package/dist/components/date-picker.js +13 -2
- package/dist/components/date.js +5 -39
- 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/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- 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/interfaces2.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/loader.js +1 -1
- package/dist/components/locale.js +39 -17
- package/dist/components/math.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 +2 -2
- 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-898453cb.js → ExpandToggle-246dd7c6.js} +5 -5
- package/dist/esm/{Heading-40531cc4.js → Heading-11c2a834.js} +2 -2
- package/dist/esm/{app-globals-1c40ef17.js → app-globals-1b919870.js} +2 -2
- package/dist/esm/{array-9ca87a19.js → array-16ebf5c6.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +26 -24
- package/dist/esm/calcite-button.entry.js +26 -20
- package/dist/esm/calcite-card.entry.js +14 -13
- package/dist/esm/calcite-checkbox.entry.js +18 -16
- package/dist/esm/calcite-chip.entry.js +16 -16
- package/dist/esm/calcite-color-picker_3.entry.js +52 -55
- package/dist/esm/calcite-combobox_3.entry.js +33 -31
- package/dist/esm/calcite-date-picker_4.entry.js +30 -22
- package/dist/esm/calcite-dropdown_3.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +8 -8
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- 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 +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +70 -34
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +12 -12
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- 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 +8 -8
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.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 +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- 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 +9 -9
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +9 -9
- package/dist/esm/calcite-tooltip_2.entry.js +7 -7
- 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 +5 -5
- package/dist/esm/{conditionalSlot-8139b6c7.js → conditionalSlot-833c523f.js} +3 -3
- package/dist/esm/{debounce-da00fd2e.js → debounce-98d20a38.js} +1 -1
- package/dist/esm/{dom-e368d23b.js → dom-640caf51.js} +3 -3
- package/dist/esm/{filter-d22f4d94.js → filter-38e63edc.js} +2 -2
- package/dist/esm/{floating-ui-4dec1723.js → floating-ui-b2f9718e.js} +2 -2
- package/dist/esm/{form-9f1caa56.js → form-493b70e6.js} +3 -3
- package/dist/esm/{guid-2563b904.js → guid-11f68c50.js} +1 -1
- package/dist/esm/{index-b452034d.js → index-06118eda.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-7be16f70.js → interactive-fccdf326.js} +1 -1
- package/dist/esm/{interfaces-0d35b7e8.js → interfaces-d9428b54.js} +1 -1
- package/dist/esm/{key-76f8b045.js → key-754bbff1.js} +1 -1
- package/dist/esm/{label-c63a5725.js → label-57dd65d4.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-6d23910f.js → locale-4e463ebf.js} +42 -20
- package/dist/esm/{math-babff37a.js → math-99ba6bfb.js} +1 -1
- package/dist/esm/{observers-73b4a955.js → observers-74e54f0e.js} +1 -1
- package/dist/esm/{openCloseComponent-3adb36f4.js → openCloseComponent-ccf3f367.js} +1 -1
- package/dist/esm/{resources-5c3e406b.js → resources-64b0963b.js} +1 -1
- package/dist/esm/{resources-b67102fc.js → resources-9331d9fa.js} +1 -1
- package/dist/esm/{resources-b0365da2.js → resources-bad5148f.js} +5 -5
- package/dist/esm/{resources-a4a87dee.js → resources-d9cf35ab.js} +5 -41
- package/dist/esm/{resources-626ca2ff.js → resources-f3f5aa83.js} +1 -1
- package/dist/esm/{resources-477bb561.js → resources-f7ec4e42.js} +1 -1
- package/dist/esm/{sortable.esm-b265312e.js → sortable.esm-76542737.js} +1 -1
- package/dist/esm/{utils-3faa6333.js → utils-703b7ab8.js} +1 -1
- package/dist/extras/docs-json.json +399 -192
- 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/block/block.d.ts +22 -20
- package/dist/types/components/block-section/block-section.d.ts +12 -10
- package/dist/types/components/button/button.d.ts +35 -19
- package/dist/types/components/card/card.d.ts +11 -10
- package/dist/types/components/checkbox/checkbox.d.ts +16 -14
- package/dist/types/components/chip/chip.d.ts +12 -12
- package/dist/types/components/color-picker/color-picker.d.ts +36 -39
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +6 -8
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +25 -25
- package/dist/types/components/combobox-item/combobox-item.d.ts +14 -12
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
- package/dist/types/components/date-picker/date-picker.d.ts +6 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +0 -3
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +18 -9
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/tip/tip.d.ts +1 -1
- package/dist/types/components.d.ts +319 -297
- package/dist/types/utils/date.d.ts +0 -20
- package/dist/types/utils/locale.d.ts +2 -1
- package/hydrate/index.js +244 -208
- package/package.json +1 -1
- package/dist/calcite/p-29606db4.js +0 -6
- package/dist/calcite/p-4327432d.js +0 -6
- package/dist/calcite/p-51b621f0.entry.js +0 -6
- package/dist/calcite/p-78e3c738.entry.js +0 -6
- package/dist/calcite/p-8ab52970.js +0 -6
- package/dist/calcite/p-ce50d417.entry.js +0 -6
- package/dist/calcite/p-d7fc65a3.entry.js +0 -6
- package/dist/calcite/p-dfa5f8b9.js +0 -6
|
@@ -1,14 +1,14 @@
|
|
|
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.606
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
8
|
-
import { g as guid } from './guid-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import './resources-
|
|
11
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-06118eda.js';
|
|
7
|
+
import { g as getSlotted } from './dom-640caf51.js';
|
|
8
|
+
import { g as guid } from './guid-11f68c50.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-833c523f.js';
|
|
10
|
+
import './resources-64b0963b.js';
|
|
11
|
+
import './observers-74e54f0e.js';
|
|
12
12
|
|
|
13
13
|
const CSS = {
|
|
14
14
|
title: "title",
|
|
@@ -38,29 +38,29 @@ const Chip = class {
|
|
|
38
38
|
// Public Properties
|
|
39
39
|
//
|
|
40
40
|
//--------------------------------------------------------------------------
|
|
41
|
-
/**
|
|
41
|
+
/** Specifies the appearance style of the component. */
|
|
42
42
|
this.appearance = "solid";
|
|
43
|
-
/**
|
|
43
|
+
/** Specifies the color for the component. */
|
|
44
44
|
this.color = "grey";
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* When `true`, a close button is added to the component.
|
|
47
47
|
*
|
|
48
|
-
* @deprecated use closable instead
|
|
48
|
+
* @deprecated use `closable` instead.
|
|
49
49
|
*/
|
|
50
50
|
this.dismissible = false;
|
|
51
|
-
/** When true
|
|
51
|
+
/** When `true`, a close button is added to the component. */
|
|
52
52
|
this.closable = false;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Accessible name for the component's close button.
|
|
55
55
|
*
|
|
56
56
|
* @default "Close"
|
|
57
57
|
*/
|
|
58
58
|
this.dismissLabel = TEXT.close;
|
|
59
|
-
/** When true
|
|
59
|
+
/** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
|
|
60
60
|
this.iconFlipRtl = false;
|
|
61
|
-
/**
|
|
61
|
+
/** Specifies the size of the component. */
|
|
62
62
|
this.scale = "m";
|
|
63
|
-
/** When true
|
|
63
|
+
/** When `true`, hides the component. */
|
|
64
64
|
this.closed = false;
|
|
65
65
|
// --------------------------------------------------------------------------
|
|
66
66
|
//
|
|
@@ -1,17 +1,17 @@
|
|
|
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.606
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, d as getThemeName } from './dom-
|
|
8
|
-
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-
|
|
9
|
-
import { c as clamp } from './math-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { i as isActivationKey } from './key-
|
|
12
|
-
import { d as debounce, i as isObject } from './debounce-
|
|
13
|
-
import './resources-
|
|
14
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-06118eda.js';
|
|
7
|
+
import { i as isPrimaryPointerButton, a as getElementDir, f as focusElement, d as getThemeName } from './dom-640caf51.js';
|
|
8
|
+
import { n as normalizeHex, C as CSSColorMode, p as parseMode, c as colorEqual, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils-703b7ab8.js';
|
|
9
|
+
import { c as clamp } from './math-99ba6bfb.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-fccdf326.js';
|
|
11
|
+
import { i as isActivationKey } from './key-754bbff1.js';
|
|
12
|
+
import { d as debounce, i as isObject } from './debounce-98d20a38.js';
|
|
13
|
+
import './resources-64b0963b.js';
|
|
14
|
+
import './guid-11f68c50.js';
|
|
15
15
|
|
|
16
16
|
/** Error message constants. */
|
|
17
17
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -2305,12 +2305,16 @@ const ColorPicker = class {
|
|
|
2305
2305
|
//
|
|
2306
2306
|
//--------------------------------------------------------------------------
|
|
2307
2307
|
/**
|
|
2308
|
-
* When false
|
|
2308
|
+
* When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
|
|
2309
2309
|
*
|
|
2310
|
-
* When true, clearing the input
|
|
2310
|
+
* When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
|
|
2311
2311
|
*/
|
|
2312
2312
|
this.allowEmpty = false;
|
|
2313
|
-
/**
|
|
2313
|
+
/**
|
|
2314
|
+
* Specifies the appearance style of the component -
|
|
2315
|
+
*
|
|
2316
|
+
* `"solid"` (containing border) or `"minimal"` (no containing border).
|
|
2317
|
+
*/
|
|
2314
2318
|
this.appearance = "solid";
|
|
2315
2319
|
/**
|
|
2316
2320
|
* Internal prop for advanced use-cases.
|
|
@@ -2319,146 +2323,141 @@ const ColorPicker = class {
|
|
|
2319
2323
|
*/
|
|
2320
2324
|
this.color = DEFAULT_COLOR$1;
|
|
2321
2325
|
/**
|
|
2322
|
-
* When true
|
|
2326
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
2323
2327
|
*/
|
|
2324
2328
|
this.disabled = false;
|
|
2325
2329
|
/**
|
|
2326
|
-
* The format of
|
|
2330
|
+
* The format of `value`.
|
|
2327
2331
|
*
|
|
2328
|
-
* When "auto"
|
|
2332
|
+
* When `"auto"`, the format will be inferred from `value` when set.
|
|
2329
2333
|
*
|
|
2330
2334
|
* @default "auto"
|
|
2331
2335
|
*/
|
|
2332
2336
|
this.format = defaultFormat;
|
|
2333
|
-
/** When true
|
|
2337
|
+
/** When `true`, hides the Hex input. */
|
|
2334
2338
|
this.hideHex = false;
|
|
2335
|
-
/** When true
|
|
2339
|
+
/** When `true`, hides the RGB/HSV channel inputs. */
|
|
2336
2340
|
this.hideChannels = false;
|
|
2337
|
-
/** When true
|
|
2341
|
+
/** When `true`, hides the saved colors section. */
|
|
2338
2342
|
this.hideSaved = false;
|
|
2339
2343
|
/**
|
|
2340
|
-
*
|
|
2344
|
+
* Accessible name for the RGB section's blue channel.
|
|
2341
2345
|
*
|
|
2342
2346
|
* @default "B"
|
|
2343
2347
|
*/
|
|
2344
2348
|
this.intlB = TEXT.b;
|
|
2345
2349
|
/**
|
|
2346
|
-
*
|
|
2350
|
+
* Accessible name for the RGB section's blue channel description.
|
|
2347
2351
|
*
|
|
2348
2352
|
* @default "Blue"
|
|
2349
2353
|
*/
|
|
2350
2354
|
this.intlBlue = TEXT.blue;
|
|
2351
2355
|
/**
|
|
2352
|
-
*
|
|
2356
|
+
* Accessible name for the delete color button.
|
|
2353
2357
|
*
|
|
2354
2358
|
* @default "Delete color"
|
|
2355
2359
|
*/
|
|
2356
2360
|
this.intlDeleteColor = TEXT.deleteColor;
|
|
2357
2361
|
/**
|
|
2358
|
-
*
|
|
2362
|
+
* Accessible name for the RGB section's green channel.
|
|
2359
2363
|
*
|
|
2360
2364
|
* @default "G"
|
|
2361
2365
|
*/
|
|
2362
2366
|
this.intlG = TEXT.g;
|
|
2363
2367
|
/**
|
|
2364
|
-
*
|
|
2368
|
+
* Accessible name for the RGB section's green channel description.
|
|
2365
2369
|
*
|
|
2366
2370
|
* @default "Green"
|
|
2367
2371
|
*/
|
|
2368
2372
|
this.intlGreen = TEXT.green;
|
|
2369
2373
|
/**
|
|
2370
|
-
*
|
|
2374
|
+
* Accessible name for the HSV section's hue channel.
|
|
2371
2375
|
*
|
|
2372
2376
|
* @default "H"
|
|
2373
2377
|
*/
|
|
2374
2378
|
this.intlH = TEXT.h;
|
|
2375
2379
|
/**
|
|
2376
|
-
*
|
|
2380
|
+
* Accessible name for the HSV mode.
|
|
2377
2381
|
*
|
|
2378
2382
|
* @default "HSV"
|
|
2379
2383
|
*/
|
|
2380
2384
|
this.intlHsv = TEXT.hsv;
|
|
2381
2385
|
/**
|
|
2382
|
-
*
|
|
2386
|
+
* Accessible name for the Hex input.
|
|
2383
2387
|
*
|
|
2384
2388
|
* @default "Hex"
|
|
2385
2389
|
*/
|
|
2386
2390
|
this.intlHex = TEXT.hex;
|
|
2387
2391
|
/**
|
|
2388
|
-
*
|
|
2392
|
+
* Accessible name for the HSV section's hue channel description.
|
|
2389
2393
|
*
|
|
2390
2394
|
* @default "Hue"
|
|
2391
2395
|
*/
|
|
2392
2396
|
this.intlHue = TEXT.hue;
|
|
2393
2397
|
/**
|
|
2394
|
-
*
|
|
2398
|
+
* Accessible name for the Hex input when there is no color selected.
|
|
2395
2399
|
*
|
|
2396
2400
|
* @default "No color"
|
|
2397
2401
|
*/
|
|
2398
2402
|
this.intlNoColor = TEXT.noColor;
|
|
2399
2403
|
/**
|
|
2400
|
-
*
|
|
2404
|
+
* Accessible name for the RGB section's red channel.
|
|
2401
2405
|
*
|
|
2402
2406
|
* @default "R"
|
|
2403
2407
|
*/
|
|
2404
2408
|
this.intlR = TEXT.r;
|
|
2405
2409
|
/**
|
|
2406
|
-
*
|
|
2410
|
+
* Accessible name for the RGB section's red channel description.
|
|
2407
2411
|
*
|
|
2408
2412
|
* @default "Red"
|
|
2409
2413
|
*/
|
|
2410
2414
|
this.intlRed = TEXT.red;
|
|
2411
2415
|
/**
|
|
2412
|
-
*
|
|
2416
|
+
* Accessible name for the RGB mode.
|
|
2413
2417
|
*
|
|
2414
2418
|
* @default "RGB"
|
|
2415
2419
|
*/
|
|
2416
2420
|
this.intlRgb = TEXT.rgb;
|
|
2417
2421
|
/**
|
|
2418
|
-
*
|
|
2422
|
+
* Accessible name for the HSV section's saturation channel.
|
|
2419
2423
|
*
|
|
2420
2424
|
* @default "S"
|
|
2421
2425
|
*/
|
|
2422
2426
|
this.intlS = TEXT.s;
|
|
2423
2427
|
/**
|
|
2424
|
-
*
|
|
2428
|
+
* Accessible name for the HSV section's saturation channel description.
|
|
2425
2429
|
*
|
|
2426
2430
|
* @default "Saturation"
|
|
2427
2431
|
*/
|
|
2428
2432
|
this.intlSaturation = TEXT.saturation;
|
|
2429
2433
|
/**
|
|
2430
|
-
*
|
|
2434
|
+
* Accessible name for the save color button.
|
|
2431
2435
|
*
|
|
2432
2436
|
* @default "Save color"
|
|
2433
2437
|
*/
|
|
2434
2438
|
this.intlSaveColor = TEXT.saveColor;
|
|
2435
2439
|
/**
|
|
2436
|
-
*
|
|
2440
|
+
* Accessible name for the saved colors section.
|
|
2437
2441
|
*
|
|
2438
2442
|
* @default "Saved"
|
|
2439
2443
|
*/
|
|
2440
2444
|
this.intlSaved = TEXT.saved;
|
|
2441
2445
|
/**
|
|
2442
|
-
*
|
|
2446
|
+
* Accessible name for the HSV section's value channel.
|
|
2443
2447
|
*
|
|
2444
2448
|
* @default "V"
|
|
2445
2449
|
*/
|
|
2446
2450
|
this.intlV = TEXT.v;
|
|
2447
2451
|
/**
|
|
2448
|
-
*
|
|
2452
|
+
* Accessible name for the HSV section's value channel description.
|
|
2449
2453
|
*
|
|
2450
2454
|
* @default "Value"
|
|
2451
2455
|
*/
|
|
2452
2456
|
this.intlValue = TEXT.value;
|
|
2453
|
-
/**
|
|
2454
|
-
* The scale of the color picker.
|
|
2455
|
-
*/
|
|
2457
|
+
/** Specifies the size of the component. */
|
|
2456
2458
|
this.scale = "m";
|
|
2457
2459
|
/**
|
|
2458
|
-
* The component's value.
|
|
2459
|
-
*
|
|
2460
|
-
* This value can be either a CSS color string,
|
|
2461
|
-
* a RGB, HSL or HSV object.
|
|
2460
|
+
* The component's value, where the value can be a CSS color string, or a RGB, HSL or HSV object.
|
|
2462
2461
|
*
|
|
2463
2462
|
* The type will be preserved as the color is updated.
|
|
2464
2463
|
*
|
|
@@ -3138,29 +3137,27 @@ const ColorPickerHexInput = class {
|
|
|
3138
3137
|
//
|
|
3139
3138
|
//--------------------------------------------------------------------------
|
|
3140
3139
|
/**
|
|
3141
|
-
* When false
|
|
3140
|
+
* When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
|
|
3142
3141
|
*
|
|
3143
|
-
* When true, clearing the input
|
|
3142
|
+
* When `true`, a color value is enforced, and clearing the input or blurring will restore the last valid `value`. When `false`, an empty color (`null`) will be allowed as a `value`.
|
|
3144
3143
|
*/
|
|
3145
3144
|
this.allowEmpty = false;
|
|
3146
3145
|
/**
|
|
3147
|
-
*
|
|
3146
|
+
* Accessible name for the Hex input.
|
|
3148
3147
|
*
|
|
3149
3148
|
* @default "Hex"
|
|
3150
3149
|
*/
|
|
3151
3150
|
this.intlHex = TEXT.hex;
|
|
3152
3151
|
/**
|
|
3153
|
-
*
|
|
3152
|
+
* Accessible name for the Hex input when there is no color selected.
|
|
3154
3153
|
*
|
|
3155
3154
|
* @default "No color"
|
|
3156
3155
|
*/
|
|
3157
3156
|
this.intlNoColor = TEXT.noColor;
|
|
3158
|
-
/**
|
|
3159
|
-
* The component's scale.
|
|
3160
|
-
*/
|
|
3157
|
+
/** Specifies the size of the component. */
|
|
3161
3158
|
this.scale = "m";
|
|
3162
3159
|
/**
|
|
3163
|
-
* The
|
|
3160
|
+
* The Hex value.
|
|
3164
3161
|
*/
|
|
3165
3162
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
3166
3163
|
this.onCalciteInternalInputBlur = () => {
|
|
@@ -3334,11 +3331,11 @@ const ColorPickerSwatch = class {
|
|
|
3334
3331
|
//
|
|
3335
3332
|
//--------------------------------------------------------------------------
|
|
3336
3333
|
/**
|
|
3337
|
-
*
|
|
3334
|
+
* When `true`, the component is active.
|
|
3338
3335
|
*/
|
|
3339
3336
|
this.active = false;
|
|
3340
3337
|
/**
|
|
3341
|
-
*
|
|
3338
|
+
* Specifies the size of the component.
|
|
3342
3339
|
*/
|
|
3343
3340
|
this.scale = "m";
|
|
3344
3341
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
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.606
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as filter } from './filter-
|
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, p as positionFloatingUI, a as disconnectFloatingUI, r as repositionDebounceTimeout, F as FloatingCSS } from './floating-ui-
|
|
9
|
-
import { g as guid } from './guid-
|
|
10
|
-
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, e as getElementProp, g as getSlotted } from './dom-
|
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
12
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
13
|
-
import { c as createObserver } from './observers-
|
|
14
|
-
import { u as updateHostInteraction } from './interactive-
|
|
15
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
16
|
-
import { d as debounce } from './debounce-
|
|
17
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
18
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-06118eda.js';
|
|
7
|
+
import { f as filter } from './filter-38e63edc.js';
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, p as positionFloatingUI, a as disconnectFloatingUI, r as repositionDebounceTimeout, F as FloatingCSS } from './floating-ui-b2f9718e.js';
|
|
9
|
+
import { g as guid } from './guid-11f68c50.js';
|
|
10
|
+
import { n as nodeListToArray, i as isPrimaryPointerButton, t as toAriaBoolean, e as getElementProp, g as getSlotted } from './dom-640caf51.js';
|
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-57dd65d4.js';
|
|
12
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-493b70e6.js';
|
|
13
|
+
import { c as createObserver } from './observers-74e54f0e.js';
|
|
14
|
+
import { u as updateHostInteraction } from './interactive-fccdf326.js';
|
|
15
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-ccf3f367.js';
|
|
16
|
+
import { d as debounce } from './debounce-98d20a38.js';
|
|
17
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-833c523f.js';
|
|
18
|
+
import './resources-64b0963b.js';
|
|
19
19
|
|
|
20
20
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
21
21
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
@@ -71,16 +71,16 @@ const Combobox = class {
|
|
|
71
71
|
//
|
|
72
72
|
//--------------------------------------------------------------------------
|
|
73
73
|
/**
|
|
74
|
-
* When true
|
|
74
|
+
* When `true`, displays and positions the component.
|
|
75
75
|
*
|
|
76
|
-
* @deprecated use open instead
|
|
76
|
+
* @deprecated use `open` instead.
|
|
77
77
|
*/
|
|
78
78
|
this.active = false;
|
|
79
|
-
/**When true
|
|
79
|
+
/**When `true`, displays and positions the component. */
|
|
80
80
|
this.open = false;
|
|
81
|
-
/**
|
|
81
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
82
82
|
this.disabled = false;
|
|
83
|
-
/**
|
|
83
|
+
/** Specifies the maximum number of `calcite-combobox-item`s (including nested children) to display before displaying a scrollbar. */
|
|
84
84
|
this.maxItems = 0;
|
|
85
85
|
/**
|
|
86
86
|
* Determines the type of positioning to use for the overlaid content.
|
|
@@ -92,24 +92,24 @@ const Combobox = class {
|
|
|
92
92
|
*/
|
|
93
93
|
this.overlayPositioning = "absolute";
|
|
94
94
|
/**
|
|
95
|
-
* When true
|
|
95
|
+
* When `true`, the component must have a value in order for the form to submit.
|
|
96
96
|
*
|
|
97
97
|
* @internal
|
|
98
98
|
*/
|
|
99
99
|
this.required = false;
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* Specifies the selection mode -
|
|
102
|
+
* `"multi"` (allow any number of selected items),
|
|
103
|
+
* `"single"` (allow only one selection), or
|
|
104
|
+
* `"ancestors"` (like `"multi"`, but show ancestors of selected items as selected. Only the deepest children are shown in `calcite-chip`s).
|
|
105
105
|
*/
|
|
106
106
|
this.selectionMode = "multi";
|
|
107
|
-
/**
|
|
107
|
+
/** Specifies the size of the component. */
|
|
108
108
|
this.scale = "m";
|
|
109
|
-
/** The value(s)
|
|
109
|
+
/** The component's value(s) from the selected `calcite-combobox-item`(s). */
|
|
110
110
|
this.value = null;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Accessible name for the component's remove tag when a `calcite-combobox-item` is selected.
|
|
113
113
|
*
|
|
114
114
|
* @default "Remove tag"
|
|
115
115
|
*/
|
|
@@ -901,13 +901,15 @@ const ComboboxItem = class {
|
|
|
901
901
|
// Properties
|
|
902
902
|
//
|
|
903
903
|
// --------------------------------------------------------------------------
|
|
904
|
-
/** When true
|
|
904
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
905
905
|
this.disabled = false;
|
|
906
|
-
/**
|
|
906
|
+
/**
|
|
907
|
+
* When `true`, the component is selected.
|
|
908
|
+
*/
|
|
907
909
|
this.selected = false;
|
|
908
|
-
/**
|
|
910
|
+
/** When `true`, the component is active. */
|
|
909
911
|
this.active = false;
|
|
910
|
-
/**
|
|
912
|
+
/** The `id` attribute of the component. When omitted, a globally unique identifier is used. */
|
|
911
913
|
this.guid = guid();
|
|
912
914
|
this.scale = "m";
|
|
913
915
|
// --------------------------------------------------------------------------
|
|
@@ -1,18 +1,18 @@
|
|
|
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.606
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { T as TEXT, f as getDaysDiff, d as dateToISO, a as dateFromISO, g as getValueAsDateRange, b as dateFromRange, c as getLocaleData, s as setEndOfDay, H as HEADING_LEVEL, e as sameDate, i as inRange, h as getOrder, n as nextMonth, j as prevMonth
|
|
8
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-
|
|
9
|
-
import { a as getElementDir } from './dom-
|
|
10
|
-
import { C as CSS_UTILITY } from './resources-
|
|
11
|
-
import { u as updateHostInteraction } from './interactive-
|
|
12
|
-
import { i as isActivationKey } from './key-
|
|
13
|
-
import { H as Heading } from './Heading-
|
|
14
|
-
import './observers-
|
|
15
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-06118eda.js';
|
|
7
|
+
import { T as TEXT, f as getDaysDiff, d as dateToISO, a as dateFromISO, g as getValueAsDateRange, b as dateFromRange, c as getLocaleData, s as setEndOfDay, H as HEADING_LEVEL, e as sameDate, i as inRange, h as getOrder, n as nextMonth, j as prevMonth } from './resources-d9cf35ab.js';
|
|
8
|
+
import { c as connectLocalized, n as numberStringFormatter, d as disconnectLocalized } from './locale-4e463ebf.js';
|
|
9
|
+
import { a as getElementDir } from './dom-640caf51.js';
|
|
10
|
+
import { C as CSS_UTILITY } from './resources-64b0963b.js';
|
|
11
|
+
import { u as updateHostInteraction } from './interactive-fccdf326.js';
|
|
12
|
+
import { i as isActivationKey } from './key-754bbff1.js';
|
|
13
|
+
import { H as Heading } from './Heading-11c2a834.js';
|
|
14
|
+
import './observers-74e54f0e.js';
|
|
15
|
+
import './guid-11f68c50.js';
|
|
16
16
|
|
|
17
17
|
const datePickerCss = "@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{--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{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}";
|
|
18
18
|
|
|
@@ -290,6 +290,11 @@ const DatePicker = class {
|
|
|
290
290
|
if (this.max) {
|
|
291
291
|
this.maxAsDate = dateFromISO(this.max);
|
|
292
292
|
}
|
|
293
|
+
numberStringFormatter.numberFormatOptions = {
|
|
294
|
+
numberingSystem: this.numberingSystem,
|
|
295
|
+
locale: this.effectiveLocale,
|
|
296
|
+
useGrouping: false
|
|
297
|
+
};
|
|
293
298
|
}
|
|
294
299
|
disconnectedCallback() {
|
|
295
300
|
disconnectLocalized(this);
|
|
@@ -349,6 +354,11 @@ const DatePicker = class {
|
|
|
349
354
|
this.setEndAsDate(dateFromISO(end));
|
|
350
355
|
}
|
|
351
356
|
async loadLocaleData() {
|
|
357
|
+
numberStringFormatter.numberFormatOptions = {
|
|
358
|
+
numberingSystem: this.numberingSystem,
|
|
359
|
+
locale: this.effectiveLocale,
|
|
360
|
+
useGrouping: false
|
|
361
|
+
};
|
|
352
362
|
this.localeData = await getLocaleData(this.effectiveLocale);
|
|
353
363
|
}
|
|
354
364
|
/**
|
|
@@ -489,10 +499,7 @@ const DatePickerDay = class {
|
|
|
489
499
|
//
|
|
490
500
|
//--------------------------------------------------------------------------
|
|
491
501
|
render() {
|
|
492
|
-
const formattedDay = String(this.day)
|
|
493
|
-
.split("")
|
|
494
|
-
.map((i) => this.localeData.numerals[i])
|
|
495
|
-
.join("");
|
|
502
|
+
const formattedDay = numberStringFormatter.localize(String(this.day));
|
|
496
503
|
const dir = getElementDir(this.el);
|
|
497
504
|
return (h(Host, { onClick: this.onClick, onKeyDown: this.keyDownHandler, role: "gridcell" }, h("div", { class: { "day-v-wrapper": true, [CSS_UTILITY.rtl]: dir === "rtl" } }, h("div", { class: "day-wrapper" }, h("span", { class: "day" }, h("span", { class: "text" }, formattedDay))))));
|
|
498
505
|
}
|
|
@@ -769,7 +776,7 @@ const DatePickerMonth = class {
|
|
|
769
776
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
770
777
|
"focused--start": isFocusedOnStart,
|
|
771
778
|
"focused--end": !isFocusedOnStart
|
|
772
|
-
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(),
|
|
779
|
+
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
|
|
773
780
|
// when moving via keyboard, focus must be updated on active date
|
|
774
781
|
if (ref && active && this.activeFocus) {
|
|
775
782
|
el === null || el === void 0 ? void 0 : el.focus();
|
|
@@ -905,10 +912,10 @@ const DatePickerMonthHeader = class {
|
|
|
905
912
|
const order = getOrder(unitOrder);
|
|
906
913
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
907
914
|
const suffix = (_a = this.localeData.year) === null || _a === void 0 ? void 0 : _a.suffix;
|
|
908
|
-
return (h(Fragment, null, h("a", { "aria-disabled":
|
|
915
|
+
return (h(Fragment, null, h("a", { "aria-disabled": `${this.prevMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlPrevMonth, class: "chevron", href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, h("calcite-icon", { "flip-rtl": true, icon: "chevron-left", scale: iconScale })), h("div", { class: { text: true, "text--reverse": reverse } }, h(Heading, { class: "month", level: this.headingLevel }, localizedMonth), h("span", { class: "year-wrap" }, h("input", { "aria-label": this.intlYear, class: {
|
|
909
916
|
year: true,
|
|
910
917
|
"year--suffix": !!suffix
|
|
911
|
-
}, 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 && h("span", { class: "suffix" }, suffix))), h("a", { "aria-disabled":
|
|
918
|
+
}, 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 && h("span", { class: "suffix" }, suffix))), h("a", { "aria-disabled": `${this.nextMonthDate.getMonth() === activeMonth}`, "aria-label": this.intlNextMonth, class: "chevron", href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, h("calcite-icon", { "flip-rtl": true, icon: "chevron-right", scale: iconScale }))));
|
|
912
919
|
}
|
|
913
920
|
setNextPrevMonthDates() {
|
|
914
921
|
if (!this.activeDate) {
|
|
@@ -921,17 +928,18 @@ const DatePickerMonthHeader = class {
|
|
|
921
928
|
const { localeData } = this;
|
|
922
929
|
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
923
930
|
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
924
|
-
return
|
|
931
|
+
return numberStringFormatter.localize(`${year + yearOffset}`);
|
|
925
932
|
}
|
|
926
933
|
parseCalendarYear(year) {
|
|
927
934
|
const { localeData } = this;
|
|
928
935
|
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
929
936
|
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
930
|
-
|
|
937
|
+
const parsedYear = Number(numberStringFormatter.delocalize(year)) - yearOffset;
|
|
938
|
+
return numberStringFormatter.localize(`${parsedYear}`);
|
|
931
939
|
}
|
|
932
940
|
getInRangeDate({ localizedYear, offset = 0 }) {
|
|
933
|
-
const { min, max, activeDate
|
|
934
|
-
const parsedYear =
|
|
941
|
+
const { min, max, activeDate } = this;
|
|
942
|
+
const parsedYear = Number(numberStringFormatter.delocalize(localizedYear));
|
|
935
943
|
const length = parsedYear.toString().length;
|
|
936
944
|
const year = isNaN(parsedYear) ? false : parsedYear + offset;
|
|
937
945
|
const inRange = year && (!min || min.getFullYear() <= year) && (!max || max.getFullYear() >= year);
|
|
@@ -1,18 +1,18 @@
|
|
|
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.606
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement, e as getElementProp } from './dom-
|
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, F as FloatingCSS, p as positionFloatingUI, r as repositionDebounceTimeout } from './floating-ui-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-
|
|
12
|
-
import { g as guid } from './guid-
|
|
13
|
-
import { i as isActivationKey } from './key-
|
|
14
|
-
import { d as debounce } from './debounce-
|
|
15
|
-
import './resources-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-06118eda.js';
|
|
7
|
+
import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement, e as getElementProp } from './dom-640caf51.js';
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, a as disconnectFloatingUI, F as FloatingCSS, p as positionFloatingUI, r as repositionDebounceTimeout } from './floating-ui-b2f9718e.js';
|
|
9
|
+
import { c as createObserver } from './observers-74e54f0e.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-fccdf326.js';
|
|
11
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-ccf3f367.js';
|
|
12
|
+
import { g as guid } from './guid-11f68c50.js';
|
|
13
|
+
import { i as isActivationKey } from './key-754bbff1.js';
|
|
14
|
+
import { d as debounce } from './debounce-98d20a38.js';
|
|
15
|
+
import './resources-64b0963b.js';
|
|
16
16
|
|
|
17
17
|
const SLOTS = {
|
|
18
18
|
dropdownTrigger: "dropdown-trigger"
|
|
@@ -1,13 +1,13 @@
|
|
|
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.606
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import './resources-
|
|
10
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, h, g as getElement } from './index-06118eda.js';
|
|
7
|
+
import { f as focusElement } from './dom-640caf51.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-fccdf326.js';
|
|
9
|
+
import './resources-64b0963b.js';
|
|
10
|
+
import './guid-11f68c50.js';
|
|
11
11
|
|
|
12
12
|
const CSS = {
|
|
13
13
|
button: "button"
|