@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,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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as focusElement } from './dom.js';
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { S as Switch, d as defineCustomElement$1 } from './switch.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { T as TabNav, d as defineCustomElement$1 } from './tab-nav.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { T as TabTitle, d as defineCustomElement$1 } from './tab-title.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { T as Tab, d as defineCustomElement$1 } from './tab.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { T as Tabs, d as defineCustomElement$1 } from './tabs.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { u as updateHostInteraction } from './interactive.js';
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { T as Tile, d as defineCustomElement$1 } from './tile.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { T as TimePicker, d as defineCustomElement$1 } from './time-picker.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { T as TEXT, C as CSS, I as ICONS, H as HEADING_LEVEL } from './resources3.js';
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { H as HEADING_LEVEL$1 } from './resources3.js';
|
|
@@ -54,7 +54,7 @@ const Tip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
54
54
|
*/
|
|
55
55
|
this.nonDismissible = false;
|
|
56
56
|
/**
|
|
57
|
-
* When true
|
|
57
|
+
* When `true`, the component is selected if it has a parent `calcite-tip-manager`.
|
|
58
58
|
*
|
|
59
59
|
* Only one tip can be selected within the `calcite-tip-manager` parent.
|
|
60
60
|
*/
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { T as Tooltip, d as defineCustomElement$1 } from './tooltip.js';
|
|
7
7
|
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { T as TreeSelectionMode } from './interfaces2.js';
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as focusElement, n as nodeListToArray, l as getRootNode } from './dom.js';
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { I as ICON_TYPES } from './resources.js';
|
|
@@ -22,7 +22,7 @@ const SLOTS = {
|
|
|
22
22
|
actionsStart: "actions-start"
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
const valueListItemCss = "@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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-
|
|
25
|
+
const valueListItemCss = "@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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-ui-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}";
|
|
26
26
|
|
|
27
27
|
const ValueListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
28
28
|
constructor() {
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { S as Sortable } from './sortable.esm.js';
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -26,9 +26,9 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
26
26
|
// Properties
|
|
27
27
|
//
|
|
28
28
|
//--------------------------------------------------------------------------
|
|
29
|
-
/**
|
|
29
|
+
/** When `true`, the component is checked. */
|
|
30
30
|
this.checked = false;
|
|
31
|
-
/**
|
|
31
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
32
32
|
this.disabled = false;
|
|
33
33
|
/**
|
|
34
34
|
* The hovered state of the checkbox.
|
|
@@ -37,18 +37,20 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
37
37
|
*/
|
|
38
38
|
this.hovered = false;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
40
|
+
* When `true`, the component is initially indeterminate, which is independent from its `checked` value.
|
|
41
|
+
*
|
|
42
|
+
* The state is visual only, and can look different across browsers.
|
|
43
|
+
*
|
|
44
|
+
* @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)
|
|
43
45
|
*/
|
|
44
46
|
this.indeterminate = false;
|
|
45
47
|
/**
|
|
46
|
-
* When true
|
|
48
|
+
* When `true`, the component must have a value in order for the form to submit.
|
|
47
49
|
*
|
|
48
50
|
* @internal
|
|
49
51
|
*/
|
|
50
52
|
this.required = false;
|
|
51
|
-
/**
|
|
53
|
+
/** Specifies the size of the component. */
|
|
52
54
|
this.scale = "m";
|
|
53
55
|
//--------------------------------------------------------------------------
|
|
54
56
|
//
|
package/dist/components/chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -39,29 +39,29 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
39
39
|
// Public Properties
|
|
40
40
|
//
|
|
41
41
|
//--------------------------------------------------------------------------
|
|
42
|
-
/**
|
|
42
|
+
/** Specifies the appearance style of the component. */
|
|
43
43
|
this.appearance = "solid";
|
|
44
|
-
/**
|
|
44
|
+
/** Specifies the color for the component. */
|
|
45
45
|
this.color = "grey";
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* When `true`, a close button is added to the component.
|
|
48
48
|
*
|
|
49
|
-
* @deprecated use closable instead
|
|
49
|
+
* @deprecated use `closable` instead.
|
|
50
50
|
*/
|
|
51
51
|
this.dismissible = false;
|
|
52
|
-
/** When true
|
|
52
|
+
/** When `true`, a close button is added to the component. */
|
|
53
53
|
this.closable = false;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Accessible name for the component's close button.
|
|
56
56
|
*
|
|
57
57
|
* @default "Close"
|
|
58
58
|
*/
|
|
59
59
|
this.dismissLabel = TEXT.close;
|
|
60
|
-
/** When true
|
|
60
|
+
/** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
|
|
61
61
|
this.iconFlipRtl = false;
|
|
62
|
-
/**
|
|
62
|
+
/** Specifies the size of the component. */
|
|
63
63
|
this.scale = "m";
|
|
64
|
-
/** When true
|
|
64
|
+
/** When `true`, hides the component. */
|
|
65
65
|
this.closed = false;
|
|
66
66
|
// --------------------------------------------------------------------------
|
|
67
67
|
//
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { n as normalizeHex, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils.js';
|
|
@@ -133,29 +133,27 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
133
133
|
//
|
|
134
134
|
//--------------------------------------------------------------------------
|
|
135
135
|
/**
|
|
136
|
-
* When false
|
|
136
|
+
* When `false`, an empty color (`null`) will be allowed as a `value`. Otherwise, a color value is enforced on the component.
|
|
137
137
|
*
|
|
138
|
-
* When true, clearing the input
|
|
138
|
+
* 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`.
|
|
139
139
|
*/
|
|
140
140
|
this.allowEmpty = false;
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
142
|
+
* Accessible name for the Hex input.
|
|
143
143
|
*
|
|
144
144
|
* @default "Hex"
|
|
145
145
|
*/
|
|
146
146
|
this.intlHex = TEXT.hex;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* Accessible name for the Hex input when there is no color selected.
|
|
149
149
|
*
|
|
150
150
|
* @default "No color"
|
|
151
151
|
*/
|
|
152
152
|
this.intlNoColor = TEXT.noColor;
|
|
153
|
-
/**
|
|
154
|
-
* The component's scale.
|
|
155
|
-
*/
|
|
153
|
+
/** Specifies the size of the component. */
|
|
156
154
|
this.scale = "m";
|
|
157
155
|
/**
|
|
158
|
-
* The
|
|
156
|
+
* The Hex value.
|
|
159
157
|
*/
|
|
160
158
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
161
159
|
this.onCalciteInternalInputBlur = () => {
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { e as getThemeName } from './dom.js';
|
|
@@ -2138,11 +2138,11 @@ const ColorPickerSwatch = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
2138
2138
|
//
|
|
2139
2139
|
//--------------------------------------------------------------------------
|
|
2140
2140
|
/**
|
|
2141
|
-
*
|
|
2141
|
+
* When `true`, the component is active.
|
|
2142
2142
|
*/
|
|
2143
2143
|
this.active = false;
|
|
2144
2144
|
/**
|
|
2145
|
-
*
|
|
2145
|
+
* Specifies the size of the component.
|
|
2146
2146
|
*/
|
|
2147
2147
|
this.scale = "m";
|
|
2148
2148
|
}
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -1,12 +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
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
8
8
|
import { u as updateHostInteraction } from './interactive.js';
|
|
9
9
|
import { i as isActivationKey } from './key.js';
|
|
10
|
+
import { n as numberStringFormatter } from './locale.js';
|
|
10
11
|
|
|
11
12
|
const datePickerDayCss = "@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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:flex;min-inline-size:0px;cursor:pointer;justify-content:center;color:var(--calcite-ui-text-3);inline-size:14.2857142857%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.day-v-wrapper{flex:1 1 auto}.day-wrapper{display:flex;flex-direction:column;align-items:center}.day{display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{block-size:27px;inline-size:27px;font-size:var(--calcite-font-size--2)}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding-inline:0.25rem}:host([scale=m]) .day{block-size:33px;inline-size:33px;font-size:var(--calcite-font-size--1)}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{block-size:43px;inline-size:43px;font-size:var(--calcite-font-size-0)}:host([current-month]) .day{opacity:1}:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-brand);outline-offset:2px;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-ui-brand) !important;color:var(--calcite-ui-foreground-1) !important}:host([range][selected]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([start-of-range]) .day-wrapper{border-start-start-radius:40%;border-end-start-radius:40%}:host([end-of-range]) .day-wrapper{border-start-end-radius:40%;border-end-end-radius:40%}:host([start-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([start-of-range]) .day{opacity:1}:host([end-of-range]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0 var(--calcite-ui-foreground-1)}:host([end-of-range]) .day{opacity:1}:host([start-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 -2px var(--calcite-ui-foreground-1)}:host([end-of-range]:not(:focus)) :not(.calcite--rtl) .day{box-shadow:0 0 0 -2px var(--calcite-ui-foreground-1)}:host([end-of-range]:not(:focus)) .calcite--rtl .day{box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([start-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) :not(.calcite--rtl) .day-wrapper{box-shadow:inset -8px 0 var(--calcite-ui-foreground-1)}:host([end-of-range][scale=l]) .calcite--rtl .day-wrapper{box-shadow:inset 8px 0 var(--calcite-ui-foreground-1)}:host([highlighted]) .day-wrapper{background-color:var(--calcite-ui-foreground-current)}:host([highlighted]) .day-wrapper .day{color:var(--calcite-ui-text-1)}:host([highlighted]:not([active]:focus)) .day{border-radius:0px;color:var(--calcite-ui-text-1)}:host([range-hover]:not([selected])) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([range-hover]:not([selected])) .day{border-radius:0px}:host([start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[end-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[start-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[start-of-range][range-hover]) :not(.calcite--rtl) .day-wrapper,:host(:hover[end-of-range][range-hover]) .calcite--rtl .day-wrapper{background-image:linear-gradient(to left, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1));border-radius:0px;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host(:hover[range-hover]:not([selected]).focused--start) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--start) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end) :not(.calcite--rtl) .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current))}:host(:hover[range-hover]:not([selected]).focused--end) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-current), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--end) .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2))}:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day-wrapper,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day-wrapper{background-image:linear-gradient(to right, var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-2), var(--calcite-ui-foreground-1), var(--calcite-ui-foreground-1))}:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) :not(.calcite--rtl) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .calcite--rtl .day{border-radius:9999px;opacity:1;box-shadow:0 0 0 2px var(--calcite-ui-foreground-1)}:host(:hover[start-of-range].hover--inside-range.focused--end) .day-wrapper,:host(:hover[end-of-range].hover--inside-range.focused--start) .day-wrapper{background-image:none}:host([start-of-range].hover--inside-range.focused--end) .day-wrapper,:host([end-of-range].hover--inside-range.focused--start) .day-wrapper{background-color:var(--calcite-ui-foreground-2)}:host([highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:first-child) .calcite--rtl .day-wrapper,:host([range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([highlighted]:last-child) .calcite--rtl .day-wrapper,:host([range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 4px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=s][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=s][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=s][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 1px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([scale=l][highlighted]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:first-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:last-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:last-child) .calcite--rtl .day-wrapper{box-shadow:inset 6px 0px 0px 0px var(--calcite-ui-foreground-1)}:host([highlighted]:first-child) .day-wrapper,:host([range-hover]:first-child) .day-wrapper{border-start-start-radius:45%;border-end-start-radius:45%}:host([highlighted]:last-child) .day-wrapper,:host([range-hover]:last-child) .day-wrapper{border-start-end-radius:45%;border-end-end-radius:45%}:host([scale=l][highlighted]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][range-hover]:last-child) :not(.calcite--rtl) .day-wrapper,:host([scale=l][highlighted]:first-child) .calcite--rtl .day-wrapper,:host([scale=l][range-hover]:first-child) .calcite--rtl .day-wrapper{box-shadow:inset -6px 0px 0px 0px var(--calcite-ui-foreground-1)}@media (forced-colors: active){:host(:hover:not([disabled])) .day,:host([active]:not([range])) .day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host([selected]) .day{border-radius:0px;background-color:highlight}:host([range][selected]) .day-wrapper,:host([highlighted]) .day-wrapper,:host([range-hover]:not([selected])) .day-wrapper{background-color:highlight}:host([range][selected][start-of-range]) .day-wrapper,:host([range][selected][end-of-range]) .day-wrapper{background-color:canvas}}";
|
|
12
13
|
|
|
@@ -59,10 +60,7 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
59
60
|
//
|
|
60
61
|
//--------------------------------------------------------------------------
|
|
61
62
|
render() {
|
|
62
|
-
const formattedDay = String(this.day)
|
|
63
|
-
.split("")
|
|
64
|
-
.map((i) => this.localeData.numerals[i])
|
|
65
|
-
.join("");
|
|
63
|
+
const formattedDay = numberStringFormatter.localize(String(this.day));
|
|
66
64
|
const dir = getElementDir(this.el);
|
|
67
65
|
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))))));
|
|
68
66
|
}
|
|
@@ -85,7 +83,6 @@ const DatePickerDay = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
85
83
|
"endOfRange": [516, "end-of-range"],
|
|
86
84
|
"rangeHover": [516, "range-hover"],
|
|
87
85
|
"active": [516],
|
|
88
|
-
"localeData": [16],
|
|
89
86
|
"scale": [513],
|
|
90
87
|
"value": [16]
|
|
91
88
|
}, [[1, "pointerover", "mouseoverHandler"]]]);
|
|
@@ -1,12 +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
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import { e as getOrder, b as dateFromRange, n as nextMonth, f as prevMonth
|
|
7
|
+
import { e as getOrder, b as dateFromRange, n as nextMonth, f as prevMonth } from './date.js';
|
|
8
8
|
import { H as Heading } from './Heading.js';
|
|
9
9
|
import { i as isActivationKey } from './key.js';
|
|
10
|
+
import { n as numberStringFormatter } from './locale.js';
|
|
10
11
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
11
12
|
|
|
12
13
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
@@ -107,10 +108,10 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
107
108
|
const order = getOrder(unitOrder);
|
|
108
109
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
109
110
|
const suffix = (_a = this.localeData.year) === null || _a === void 0 ? void 0 : _a.suffix;
|
|
110
|
-
return (h(Fragment, null, h("a", { "aria-disabled":
|
|
111
|
+
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: {
|
|
111
112
|
year: true,
|
|
112
113
|
"year--suffix": !!suffix
|
|
113
|
-
}, 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":
|
|
114
|
+
}, 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 }))));
|
|
114
115
|
}
|
|
115
116
|
setNextPrevMonthDates() {
|
|
116
117
|
if (!this.activeDate) {
|
|
@@ -123,17 +124,18 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
123
124
|
const { localeData } = this;
|
|
124
125
|
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
125
126
|
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
126
|
-
return
|
|
127
|
+
return numberStringFormatter.localize(`${year + yearOffset}`);
|
|
127
128
|
}
|
|
128
129
|
parseCalendarYear(year) {
|
|
129
130
|
const { localeData } = this;
|
|
130
131
|
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
131
132
|
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
132
|
-
|
|
133
|
+
const parsedYear = Number(numberStringFormatter.delocalize(year)) - yearOffset;
|
|
134
|
+
return numberStringFormatter.localize(`${parsedYear}`);
|
|
133
135
|
}
|
|
134
136
|
getInRangeDate({ localizedYear, offset = 0 }) {
|
|
135
|
-
const { min, max, activeDate
|
|
136
|
-
const parsedYear =
|
|
137
|
+
const { min, max, activeDate } = this;
|
|
138
|
+
const parsedYear = Number(numberStringFormatter.delocalize(localizedYear));
|
|
137
139
|
const length = parsedYear.toString().length;
|
|
138
140
|
const year = isNaN(parsedYear) ? false : parsedYear + offset;
|
|
139
141
|
const inRange = year && (!min || min.getFullYear() <= year) && (!max || max.getFullYear() >= year);
|
|
@@ -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.606
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as sameDate, b as dateFromRange, i as inRange } from './date.js';
|
|
@@ -272,7 +272,7 @@ const DatePickerMonth = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
272
272
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
273
273
|
"focused--start": isFocusedOnStart,
|
|
274
274
|
"focused--end": !isFocusedOnStart
|
|
275
|
-
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(),
|
|
275
|
+
}, 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) => {
|
|
276
276
|
// when moving via keyboard, focus must be updated on active date
|
|
277
277
|
if (ref && active && this.activeFocus) {
|
|
278
278
|
el === null || el === void 0 ? void 0 : el.focus();
|
|
@@ -1,10 +1,10 @@
|
|
|
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
6
|
import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import { g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized } from './locale.js';
|
|
7
|
+
import { g as getSupportedLocale, c as connectLocalized, n as numberStringFormatter, d as disconnectLocalized } from './locale.js';
|
|
8
8
|
import { a as dateFromISO, g as getDaysDiff, d as dateToISO, b as dateFromRange, s as setEndOfDay } from './date.js';
|
|
9
9
|
import { d as defineCustomElement$4 } from './date-picker-day.js';
|
|
10
10
|
import { d as defineCustomElement$3 } from './date-picker-month.js';
|
|
@@ -342,6 +342,11 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
342
342
|
if (this.max) {
|
|
343
343
|
this.maxAsDate = dateFromISO(this.max);
|
|
344
344
|
}
|
|
345
|
+
numberStringFormatter.numberFormatOptions = {
|
|
346
|
+
numberingSystem: this.numberingSystem,
|
|
347
|
+
locale: this.effectiveLocale,
|
|
348
|
+
useGrouping: false
|
|
349
|
+
};
|
|
345
350
|
}
|
|
346
351
|
disconnectedCallback() {
|
|
347
352
|
disconnectLocalized(this);
|
|
@@ -404,6 +409,11 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
404
409
|
if (!Build.isBrowser) {
|
|
405
410
|
return;
|
|
406
411
|
}
|
|
412
|
+
numberStringFormatter.numberFormatOptions = {
|
|
413
|
+
numberingSystem: this.numberingSystem,
|
|
414
|
+
locale: this.effectiveLocale,
|
|
415
|
+
useGrouping: false
|
|
416
|
+
};
|
|
407
417
|
this.localeData = await getLocaleData(this.effectiveLocale);
|
|
408
418
|
}
|
|
409
419
|
/**
|
|
@@ -508,6 +518,7 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
508
518
|
"intlNextMonth": [1, "intl-next-month"],
|
|
509
519
|
"intlYear": [1, "intl-year"],
|
|
510
520
|
"locale": [1],
|
|
521
|
+
"numberingSystem": [513, "numbering-system"],
|
|
511
522
|
"scale": [513],
|
|
512
523
|
"range": [516],
|
|
513
524
|
"start": [1537],
|