@esri/calcite-components 1.0.0-next.465 → 1.0.0-next.468
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/assets/date-picker/nls/ru.json +4 -4
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-03870589.js +6 -0
- package/dist/calcite/{p-8758fd74.entry.js → p-076c9c2c.entry.js} +2 -2
- package/dist/calcite/{p-0a88616f.system.entry.js → p-07c3a925.system.entry.js} +2 -2
- package/dist/calcite/p-099dd5c7.system.js +6 -0
- package/dist/calcite/{p-22af487d.system.entry.js → p-09ce4dbb.system.entry.js} +2 -2
- package/dist/calcite/p-0a27411a.system.entry.js +6 -0
- package/dist/calcite/{p-7eb90aba.entry.js → p-0b8265c4.entry.js} +2 -2
- package/dist/calcite/{p-095b7411.system.entry.js → p-0c76f714.system.entry.js} +2 -2
- package/dist/calcite/{p-c5e02739.js → p-0c89f05f.js} +1 -1
- package/dist/calcite/{p-e94eaab8.system.entry.js → p-0db96d2b.system.entry.js} +2 -2
- package/dist/calcite/{p-3bc32fb0.system.entry.js → p-100640cd.system.entry.js} +2 -2
- package/dist/calcite/{p-67b63c0b.js → p-102b243d.js} +2 -2
- package/dist/calcite/{p-1f041991.system.entry.js → p-10b46362.system.entry.js} +2 -2
- package/dist/calcite/{p-a1b59b76.entry.js → p-1479549c.entry.js} +2 -2
- package/dist/calcite/{p-24f812a1.entry.js → p-1509b092.entry.js} +2 -2
- package/dist/calcite/{p-7618c855.js → p-1b64d694.js} +1 -1
- package/dist/calcite/p-1f57aa54.entry.js +6 -0
- package/dist/calcite/{p-10971739.js → p-1f78e980.js} +2 -2
- package/dist/calcite/p-2121978a.entry.js +6 -0
- package/dist/calcite/{p-80e073e7.system.js → p-23c1fc3b.system.js} +1 -1
- package/dist/calcite/{p-55bb569b.entry.js → p-24782286.entry.js} +2 -2
- package/dist/calcite/{p-a3e2fe17.system.entry.js → p-271d1740.system.entry.js} +2 -2
- package/dist/calcite/{p-5885f823.system.entry.js → p-28435e61.system.entry.js} +2 -2
- package/dist/calcite/{p-34e746d1.system.entry.js → p-2b385a1f.system.entry.js} +2 -2
- package/dist/calcite/{p-69d99b7d.system.js → p-2b49459e.system.js} +1 -1
- package/dist/calcite/{p-c26c3b31.system.entry.js → p-2bf778a8.system.entry.js} +2 -2
- package/dist/calcite/{p-bbe6c550.js → p-2d0058c9.js} +1 -1
- package/dist/calcite/{p-6ff05b6e.system.js → p-2db37adf.system.js} +1 -1
- package/dist/calcite/{p-dd08a3be.entry.js → p-2e19eb1f.entry.js} +2 -2
- package/dist/calcite/{p-773f0fa9.js → p-2f6b6ee7.js} +2 -2
- package/dist/calcite/p-32011be0.entry.js +6 -0
- package/dist/calcite/{p-38f1e8cd.system.entry.js → p-32a14a91.system.entry.js} +2 -2
- package/dist/calcite/{p-c5099a83.entry.js → p-34b93b9a.entry.js} +2 -2
- package/dist/calcite/{p-9d573fcd.js → p-356ae0f0.js} +1 -1
- package/dist/calcite/p-36808749.system.entry.js +6 -0
- package/dist/calcite/p-369ec28a.entry.js +6 -0
- package/dist/calcite/{p-f38e6bb7.system.entry.js → p-37fda91a.system.entry.js} +2 -2
- package/dist/calcite/{p-f52e9e28.entry.js → p-381e9a7d.entry.js} +2 -2
- package/dist/calcite/{p-9906949a.system.entry.js → p-3c7f86d9.system.entry.js} +2 -2
- package/dist/calcite/{p-418362cb.entry.js → p-4264d2b9.entry.js} +2 -2
- package/dist/calcite/{p-7dd02d66.system.entry.js → p-452226a6.system.entry.js} +2 -2
- package/dist/calcite/{p-3b5e1f41.entry.js → p-4539bc42.entry.js} +2 -2
- package/dist/calcite/p-478d2ee4.entry.js +6 -0
- package/dist/calcite/{p-7ed43611.system.entry.js → p-47c4e1a8.system.entry.js} +3 -3
- package/dist/calcite/{p-641b140f.system.entry.js → p-48b48390.system.entry.js} +2 -2
- package/dist/calcite/p-4bb53417.entry.js +6 -0
- package/dist/calcite/{p-9471970d.system.js → p-4d2a4ae1.system.js} +2 -2
- package/dist/calcite/{p-c2401107.js → p-4f952ec3.js} +1 -1
- package/dist/calcite/p-4f9c75db.system.js +6 -0
- package/dist/calcite/{p-f9acdc7d.system.js → p-5588fec1.system.js} +2 -2
- package/dist/calcite/{p-f558e82a.entry.js → p-56adda75.entry.js} +2 -2
- package/dist/calcite/p-5882783f.entry.js +6 -0
- package/dist/calcite/{p-611ada47.js → p-5ac779f8.js} +1 -1
- package/dist/calcite/{p-d56fe7f5.js → p-5dd4629c.js} +1 -1
- package/dist/calcite/{p-8c3d26c9.system.entry.js → p-5e586c2d.system.entry.js} +2 -2
- package/dist/calcite/{p-2cd279fc.system.js → p-5ed85c57.system.js} +1 -1
- package/dist/calcite/{p-97358c18.entry.js → p-61293c60.entry.js} +2 -2
- package/dist/calcite/{p-ab6e6691.system.entry.js → p-6223f943.system.entry.js} +3 -3
- package/dist/calcite/{p-9acb780f.js → p-642f58ba.js} +1 -1
- package/dist/calcite/{p-687af5cc.system.js → p-64d06f97.system.js} +1 -1
- package/dist/calcite/{p-84fdbfca.system.entry.js → p-66dbd347.system.entry.js} +2 -2
- package/dist/calcite/{p-013a9bb6.system.js → p-671695ca.system.js} +2 -2
- package/dist/calcite/{p-bad030fb.js → p-67a3fb38.js} +1 -1
- package/dist/calcite/{p-bb76a912.system.js → p-6e0b2fd9.system.js} +1 -1
- package/dist/calcite/p-6e6679bf.system.entry.js +6 -0
- package/dist/calcite/{p-1b65e7bb.system.entry.js → p-6ea7f273.system.entry.js} +2 -2
- package/dist/calcite/p-6f24480f.system.entry.js +6 -0
- package/dist/calcite/{p-75163b6d.entry.js → p-6f263d2e.entry.js} +2 -2
- package/dist/calcite/{p-d3f49cfd.entry.js → p-6f75c19f.entry.js} +2 -2
- package/dist/calcite/p-718c81ee.system.entry.js +6 -0
- package/dist/calcite/{p-d82b09df.system.entry.js → p-718f0fbd.system.entry.js} +2 -2
- package/dist/calcite/{p-81fae2c0.system.entry.js → p-72842fca.system.entry.js} +2 -2
- package/dist/calcite/{p-0d6e1594.system.js → p-76d71253.system.js} +1 -1
- package/dist/calcite/p-789558b9.entry.js +6 -0
- package/dist/calcite/{p-62203382.js → p-79d7bcf2.js} +2 -2
- package/dist/calcite/{p-8007bf8f.entry.js → p-7a8b542f.entry.js} +2 -2
- package/dist/calcite/{p-cb08938f.entry.js → p-7b4314dc.entry.js} +2 -2
- package/dist/calcite/{p-7950afa7.entry.js → p-7d8d51b3.entry.js} +2 -2
- package/dist/calcite/p-7eb95628.system.js +6 -0
- package/dist/calcite/{p-a7c194ba.system.js → p-7fe88621.system.js} +1 -1
- package/dist/calcite/{p-f6bb938b.entry.js → p-80c5db63.entry.js} +2 -2
- package/dist/calcite/p-80da274f.system.entry.js +6 -0
- package/dist/calcite/{p-b29782c1.entry.js → p-81a63889.entry.js} +2 -2
- package/dist/calcite/{p-6e5b906c.js → p-826482d7.js} +2 -2
- package/dist/calcite/p-829c392c.system.entry.js +6 -0
- package/dist/calcite/p-86d875ad.entry.js +6 -0
- package/dist/calcite/{p-2edf9b74.system.entry.js → p-896c966d.system.entry.js} +2 -2
- package/dist/calcite/p-8a3c111a.entry.js +6 -0
- package/dist/calcite/p-8de1cd6f.entry.js +6 -0
- package/dist/calcite/p-8ecaf1fb.entry.js +6 -0
- package/dist/calcite/{p-756677a6.entry.js → p-90c45893.entry.js} +2 -2
- package/dist/calcite/{p-e5b107e0.system.entry.js → p-918c3056.system.entry.js} +2 -2
- package/dist/calcite/{p-c60c4413.system.entry.js → p-91f007e9.system.entry.js} +3 -3
- package/dist/calcite/{p-10a6b365.system.entry.js → p-93a2e728.system.entry.js} +2 -2
- package/dist/calcite/{p-adf713a1.system.entry.js → p-9790a6ed.system.entry.js} +2 -2
- package/dist/calcite/{p-39446ad6.entry.js → p-97eaca72.entry.js} +2 -2
- package/dist/calcite/{p-9f8403f2.js → p-980fa1a3.js} +2 -2
- package/dist/calcite/{p-180c13cf.system.entry.js → p-9c15cf9b.system.entry.js} +2 -2
- package/dist/calcite/p-9c585873.system.entry.js +6 -0
- package/dist/calcite/{p-66ff4d5f.system.js → p-9cf73ace.system.js} +2 -2
- package/dist/calcite/{p-08643936.entry.js → p-9d01aa88.entry.js} +2 -2
- package/dist/calcite/p-9dbe912b.system.entry.js +6 -0
- package/dist/calcite/{p-58b008ac.entry.js → p-9e2b419c.entry.js} +2 -2
- package/dist/calcite/{p-273f2078.entry.js → p-a0bda50f.entry.js} +2 -2
- package/dist/calcite/p-a1e1f584.system.entry.js +6 -0
- package/dist/calcite/{p-57d2f345.system.entry.js → p-a1f9ed7a.system.entry.js} +2 -2
- package/dist/calcite/{p-d39937bb.entry.js → p-a556a3bb.entry.js} +2 -2
- package/dist/calcite/p-a69001f0.system.entry.js +6 -0
- package/dist/calcite/p-a95601db.entry.js +6 -0
- package/dist/calcite/{p-136bc12b.system.entry.js → p-a97d6205.system.entry.js} +2 -2
- package/dist/calcite/{p-dd7add1c.js → p-ac01200f.js} +1 -1
- package/dist/calcite/{p-e987af61.system.entry.js → p-acbcc93d.system.entry.js} +2 -2
- package/dist/calcite/{p-bfca7ecd.entry.js → p-af2c1f7b.entry.js} +2 -2
- package/dist/calcite/{p-7ed1cbf7.js → p-b3298659.js} +2 -2
- package/dist/calcite/{p-026092af.entry.js → p-b5438769.entry.js} +2 -2
- package/dist/calcite/{p-e7116907.system.entry.js → p-b6e9465d.system.entry.js} +2 -2
- package/dist/calcite/{p-2c5cb121.system.js → p-b7c6c7b2.system.js} +1 -1
- package/dist/calcite/{p-b144eaab.system.entry.js → p-b9b7f37d.system.entry.js} +3 -3
- package/dist/calcite/p-b9c89b12.system.entry.js +6 -0
- package/dist/calcite/{p-78aac253.js → p-b9d53692.js} +1 -1
- package/dist/calcite/{p-e7f8d163.js → p-bfd24607.js} +2 -2
- package/dist/calcite/{p-fdcbf514.entry.js → p-c223a445.entry.js} +2 -2
- package/dist/calcite/{p-358bd5f7.entry.js → p-c27e0b7e.entry.js} +2 -2
- package/dist/calcite/{p-af661b67.entry.js → p-c69933c0.entry.js} +2 -2
- package/dist/calcite/{p-1a38dc47.system.entry.js → p-c6d02c31.system.entry.js} +2 -2
- package/dist/calcite/{p-5c966a54.entry.js → p-c886ee3c.entry.js} +2 -2
- package/dist/calcite/{p-23ed4d17.system.js → p-cad27227.system.js} +1 -1
- package/dist/calcite/{p-b59dda50.system.entry.js → p-cb0ed952.system.entry.js} +2 -2
- package/dist/calcite/{p-b183b9f0.system.entry.js → p-cb18b9c4.system.entry.js} +2 -2
- package/dist/calcite/{p-4acd2fc1.system.js → p-ce87fe85.system.js} +1 -1
- package/dist/calcite/{p-7106d888.entry.js → p-cf0506f8.entry.js} +2 -2
- package/dist/calcite/{p-9d984bea.entry.js → p-cf2dd402.entry.js} +2 -2
- package/dist/calcite/{p-41ab4215.js → p-d121dd69.js} +1 -1
- package/dist/calcite/p-d1dcd357.js +6 -0
- package/dist/calcite/p-d45e21e1.entry.js +6 -0
- package/dist/calcite/{p-a5c94739.js → p-d5bb1f97.js} +2 -2
- package/dist/calcite/p-d6e7415e.entry.js +6 -0
- package/dist/calcite/{p-e14da808.system.entry.js → p-d7933406.system.entry.js} +3 -3
- package/dist/calcite/{p-ea419893.system.js → p-d8b9b21d.system.js} +1 -1
- package/dist/calcite/{p-3068cce5.entry.js → p-dae3b393.entry.js} +2 -2
- package/dist/calcite/{p-36693016.system.js → p-dbb14aaf.system.js} +3 -3
- package/dist/calcite/p-dfb9a870.entry.js +6 -0
- package/dist/calcite/{p-83fb7247.system.entry.js → p-dfc87de6.system.entry.js} +2 -2
- package/dist/calcite/{p-1bd369b4.system.js → p-e3f0067a.system.js} +1 -1
- package/dist/calcite/{p-154ca80f.system.entry.js → p-e4844c9d.system.entry.js} +2 -2
- package/dist/calcite/{p-34c7942b.system.entry.js → p-e6aa9e3d.system.entry.js} +2 -2
- package/dist/calcite/{p-48cae39f.system.entry.js → p-e8234b1d.system.entry.js} +2 -2
- package/dist/calcite/{p-696347a5.entry.js → p-ec34d0c2.entry.js} +2 -2
- package/dist/calcite/{p-7ab69126.entry.js → p-ecb171f2.entry.js} +2 -2
- package/dist/calcite/{p-8d22cf0f.entry.js → p-edc13b97.entry.js} +2 -2
- package/dist/calcite/{p-9d7bdb96.js → p-f1e06d56.js} +1 -1
- package/dist/calcite/p-f39b4934.entry.js +6 -0
- package/dist/calcite/{p-c5367b82.entry.js → p-f3a12f7d.entry.js} +2 -2
- package/dist/calcite/p-f4322b19.system.entry.js +6 -0
- package/dist/calcite/{p-27793c41.system.js → p-f47c57dd.system.js} +1 -1
- package/dist/calcite/{p-739af289.entry.js → p-f5c27b2c.entry.js} +2 -2
- package/dist/calcite/{p-c6afec54.system.js → p-f64afb0b.system.js} +2 -2
- package/dist/calcite/{p-2d751b58.system.entry.js → p-f6ed40ab.system.entry.js} +2 -2
- package/dist/calcite/{p-b9fd4e39.system.js → p-f8aec10d.system.js} +2 -2
- package/dist/calcite/{p-62226b55.entry.js → p-f8d6593f.entry.js} +2 -2
- package/dist/calcite/{p-618e0238.system.entry.js → p-fa7441b2.system.entry.js} +2 -2
- package/dist/calcite/{p-264730d4.system.js → p-fbc940f5.system.js} +2 -2
- package/dist/calcite/{p-c3d0edb7.system.js → p-fda19f01.system.js} +2 -2
- package/dist/calcite/{p-baffdab8.system.entry.js → p-fe233cb4.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-073a9938.js → ExpandToggle-519d8c04.js} +5 -5
- package/dist/cjs/{Heading-a01d7704.js → Heading-de153f82.js} +2 -2
- package/dist/cjs/{array-19031542.js → array-8afd2ce5.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +22 -16
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -10
- package/dist/cjs/calcite-action.cjs.entry.js +9 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +16 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +10 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -10
- package/dist/cjs/calcite-button.cjs.entry.js +12 -10
- package/dist/cjs/calcite-card.cjs.entry.js +15 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +9 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +69 -28
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +19 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +81 -21
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +26 -20
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +55 -10
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +9 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +18 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +35 -20
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +64 -31
- package/dist/cjs/calcite-input.cjs.entry.js +24 -18
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +7 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-loader.cjs.entry.js +11 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +16 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +10 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -4
- package/dist/cjs/calcite-panel.cjs.entry.js +18 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +31 -22
- package/dist/cjs/calcite-popover_2.cjs.entry.js +41 -12
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +8 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +25 -17
- package/dist/cjs/calcite-switch.cjs.entry.js +10 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +49 -25
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +8 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +26 -15
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -17
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-9318f4d5.js → conditionalSlot-2b7b0c9a.js} +7 -3
- package/dist/cjs/{debounce-01e67947.js → debounce-020f9f3a.js} +1 -1
- package/dist/cjs/{dom-b1c46fde.js → dom-cf0fae95.js} +10 -2
- package/dist/cjs/{forIn-d86e5943.js → forIn-084e5a21.js} +2 -2
- package/dist/cjs/{form-b40e8c51.js → form-4a76a449.js} +19 -3
- package/dist/cjs/{guid-9341ece5.js → guid-e3e2f3c9.js} +1 -1
- package/dist/cjs/{index-83432d46.js → index-7a67b910.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-c6a6fae3.js → interactive-0190c630.js} +7 -4
- package/dist/cjs/{interfaces-06edeb9f.js → interfaces-6c1f00fa.js} +1 -1
- package/dist/cjs/{label-a0f9b578.js → label-97b3b425.js} +9 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-04f22f4a.js → locale-5c38bb9a.js} +2 -2
- package/dist/cjs/{math-4087a063.js → math-8a8bed36.js} +1 -1
- package/dist/cjs/{number-14cbb8cb.js → number-225a74ee.js} +1 -1
- package/dist/cjs/{observers-5677956e.js → observers-39a8d31f.js} +1 -1
- package/dist/cjs/{popper-161f39a2.js → popper-545c980c.js} +2 -2
- package/dist/cjs/{resources-bc9cdcac.js → resources-575d75a6.js} +8 -8
- package/dist/cjs/{resources-57e496b6.js → resources-ac0e7e9c.js} +1 -1
- package/dist/cjs/{resources-a253a5a9.js → resources-c85a6701.js} +44 -3
- package/dist/cjs/{resources-062d326d.js → resources-cc86f452.js} +1 -1
- package/dist/cjs/{sortable.esm-6d7abbbc.js → sortable.esm-64873d3c.js} +1 -1
- package/dist/cjs/{utils-a51bb08e.js → utils-15472b29.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +16 -11
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +14 -13
- package/dist/collection/components/action/action.js +4 -2
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +15 -4
- 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 +2 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +14 -4
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +18 -14
- 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 +6 -1
- package/dist/collection/components/block/block.js +19 -5
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +5 -3
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +12 -5
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -2
- package/dist/collection/components/chip/chip.js +4 -2
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +58 -19
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +5 -3
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +7 -4
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +11 -3
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
- package/dist/collection/components/date-picker/date-picker.js +30 -5
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +7 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -4
- package/dist/collection/components/date-picker-month/date-picker-month.js +37 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +8 -1
- package/dist/collection/components/dropdown/dropdown.js +14 -11
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +9 -7
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +12 -11
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -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/interfaces.js +1 -1
- package/dist/collection/components/flow/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.css +1 -0
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +29 -1
- package/dist/collection/components/handle/handle.js +3 -3
- 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 +5 -1
- package/dist/collection/components/inline-editable/inline-editable.js +14 -8
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +18 -12
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +27 -12
- 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-time-picker/input-time-picker.js +13 -7
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +2 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +3 -2
- package/dist/collection/components/list/list.js +6 -5
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +8 -8
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +4 -4
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +18 -16
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +41 -8
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +6 -3
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +5 -5
- package/dist/collection/components/option-group/option-group.js +4 -4
- package/dist/collection/components/pagination/pagination.js +7 -3
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +27 -8
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +23 -12
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +3 -3
- 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 +23 -13
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +14 -3
- package/dist/collection/components/popover/popover.js +55 -8
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +2 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +3 -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/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +3 -3
- package/dist/collection/components/radio-group-item/radio-group-item.js +4 -4
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +7 -3
- 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 +4 -2
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +3 -3
- 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 +2 -1
- package/dist/collection/components/slider/slider.js +18 -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 +6 -3
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +27 -14
- package/dist/collection/components/stepper-item/stepper-item.js +12 -11
- package/dist/collection/components/switch/switch.js +4 -2
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +25 -8
- package/dist/collection/components/tab-nav/tab-nav.js +23 -12
- package/dist/collection/components/tab-title/tab-title.js +36 -20
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +11 -7
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +2 -1
- package/dist/collection/components/tile-select/interfaces.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/interfaces.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 +61 -26
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +2 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +10 -5
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +23 -17
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +23 -12
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +16 -7
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +5 -1
- package/dist/collection/utils/date.js +36 -1
- package/dist/collection/utils/dom.js +9 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +17 -1
- package/dist/collection/utils/globalAttributes.js +6 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +7 -4
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +8 -1
- package/dist/collection/utils/locale.js +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.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 +2 -1
- package/dist/components/action.js +4 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -3
- package/dist/components/calcite-accordion-item.js +10 -9
- package/dist/components/calcite-accordion.js +12 -7
- package/dist/components/calcite-action-bar.js +7 -2
- 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 +6 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +13 -10
- package/dist/components/calcite-avatar.js +6 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +11 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +10 -4
- 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 +58 -19
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +3 -1
- package/dist/components/calcite-combobox.js +6 -3
- 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 +8 -6
- package/dist/components/calcite-dropdown-item.js +9 -8
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -1
- package/dist/components/calcite-filter.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 +13 -7
- package/dist/components/calcite-input-date-picker.js +25 -10
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +9 -5
- 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 +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +11 -2
- package/dist/components/calcite-notice.js +4 -2
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +4 -4
- package/dist/components/calcite-pagination.js +7 -3
- package/dist/components/calcite-panel.js +10 -3
- 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 +12 -7
- package/dist/components/calcite-popover-manager.js +2 -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 +3 -1
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +7 -3
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +2 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +18 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +6 -3
- package/dist/components/calcite-stepper-item.js +9 -8
- package/dist/components/calcite-stepper.js +15 -8
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +2 -1
- package/dist/components/calcite-tooltip.js +3 -1
- package/dist/components/calcite-tree-item.js +14 -8
- package/dist/components/calcite-tree.js +9 -4
- package/dist/components/calcite-value-list-item.js +6 -3
- package/dist/components/calcite-value-list.js +12 -7
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +4 -2
- package/dist/components/color-picker-hex-input.js +5 -3
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +5 -1
- package/dist/components/date-picker-day.js +3 -3
- package/dist/components/date-picker-month-header.js +8 -1
- package/dist/components/date-picker-month.js +35 -7
- package/dist/components/date-picker.js +36 -5
- package/dist/components/date.js +36 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +9 -1
- package/dist/components/dropdown.js +8 -5
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +17 -1
- package/dist/components/graph.js +30 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +5 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +14 -8
- package/dist/components/interactive.js +7 -4
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/label.js +8 -1
- package/dist/components/label2.js +2 -1
- package/dist/components/link.js +3 -2
- package/dist/components/loader.js +9 -7
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/number.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +12 -8
- package/dist/components/popover.js +35 -6
- package/dist/components/popper.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +4 -2
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +4 -2
- package/dist/components/tab-nav.js +17 -6
- package/dist/components/tab-title.js +15 -11
- package/dist/components/tab.js +9 -4
- package/dist/components/tabs.js +8 -4
- package/dist/components/tile.js +2 -1
- package/dist/components/time-picker.js +50 -21
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +719 -240
- package/dist/esm/{ExpandToggle-c7f6d10a.js → ExpandToggle-37cf84b0.js} +5 -5
- package/dist/esm/{Heading-905e0fd2.js → Heading-8c939cf8.js} +2 -2
- package/dist/esm/{array-8cb83acf.js → array-b87220fc.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +22 -16
- package/dist/esm/calcite-action-bar.entry.js +16 -11
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +9 -8
- package/dist/esm/calcite-action-pad.entry.js +14 -10
- package/dist/esm/calcite-action.entry.js +9 -7
- package/dist/esm/calcite-alert.entry.js +16 -13
- package/dist/esm/calcite-avatar.entry.js +10 -5
- package/dist/esm/calcite-block_2.entry.js +18 -10
- package/dist/esm/calcite-button.entry.js +12 -10
- package/dist/esm/calcite-card.entry.js +15 -9
- package/dist/esm/calcite-checkbox.entry.js +9 -8
- package/dist/esm/calcite-chip.entry.js +9 -7
- package/dist/esm/calcite-color-picker_3.entry.js +69 -28
- package/dist/esm/calcite-combobox_3.entry.js +19 -14
- package/dist/esm/calcite-date-picker_4.entry.js +81 -21
- package/dist/esm/calcite-dropdown_3.entry.js +26 -20
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +55 -10
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +9 -5
- package/dist/esm/calcite-inline-editable.entry.js +18 -12
- package/dist/esm/calcite-input-date-picker.entry.js +35 -20
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +64 -31
- package/dist/esm/calcite-input.entry.js +24 -18
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +7 -6
- package/dist/esm/calcite-list_3.entry.js +10 -10
- package/dist/esm/calcite-loader.entry.js +11 -9
- package/dist/esm/calcite-modal.entry.js +16 -7
- package/dist/esm/calcite-notice.entry.js +10 -8
- package/dist/esm/calcite-option_3.entry.js +13 -13
- package/dist/esm/calcite-pagination.entry.js +8 -4
- package/dist/esm/calcite-panel.entry.js +18 -11
- package/dist/esm/calcite-pick-list_3.entry.js +31 -22
- package/dist/esm/calcite-popover_2.entry.js +41 -12
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -8
- package/dist/esm/calcite-radio-group_2.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -9
- package/dist/esm/calcite-scrim.entry.js +5 -3
- package/dist/esm/calcite-shell_3.entry.js +8 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +8 -5
- package/dist/esm/calcite-stepper_2.entry.js +25 -17
- package/dist/esm/calcite-switch.entry.js +10 -8
- package/dist/esm/calcite-tab_4.entry.js +49 -25
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +8 -5
- package/dist/esm/calcite-tree_2.entry.js +26 -15
- package/dist/esm/calcite-value-list_2.entry.js +25 -17
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-5e4d7066.js → conditionalSlot-d5dd9287.js} +7 -3
- package/dist/esm/{debounce-02a8246a.js → debounce-118a7bf3.js} +1 -1
- package/dist/esm/{dom-39745d1e.js → dom-f17bf906.js} +10 -2
- package/dist/esm/{forIn-4f086e25.js → forIn-7ef86518.js} +2 -2
- package/dist/esm/{form-0b706a52.js → form-bd644390.js} +19 -3
- package/dist/esm/{guid-e25185c4.js → guid-0eff0c36.js} +1 -1
- package/dist/esm/{index-21e41d50.js → index-95d4d018.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-0c69d445.js → interactive-42b3a77d.js} +7 -4
- package/dist/esm/{interfaces-63795e7e.js → interfaces-fadf36e0.js} +1 -1
- package/dist/esm/{label-fea1699c.js → label-73c005f6.js} +9 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-91fb3bd7.js → locale-19a742f1.js} +2 -2
- package/dist/esm/{math-aadca2c7.js → math-5be6997d.js} +1 -1
- package/dist/esm/{number-170ff580.js → number-3cab3da6.js} +1 -1
- package/dist/esm/{observers-7d3eceb3.js → observers-2d32784c.js} +1 -1
- package/dist/esm/{popper-bb7c74f6.js → popper-f33d2a32.js} +2 -2
- package/dist/esm/{resources-fcd49233.js → resources-1da3e5aa.js} +44 -3
- package/dist/esm/{resources-f5b43a1c.js → resources-48dd3f7d.js} +1 -1
- package/dist/esm/{resources-69a0658b.js → resources-540f6a49.js} +8 -8
- package/dist/esm/{resources-2f3e9e6e.js → resources-a70eca0d.js} +1 -1
- package/dist/esm/{sortable.esm-89d13b54.js → sortable.esm-5d354dd9.js} +1 -1
- package/dist/esm/{utils-0327f48e.js → utils-b445b7ed.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-c7f6d10a.js → ExpandToggle-37cf84b0.js} +2 -2
- package/dist/esm-es5/{Heading-905e0fd2.js → Heading-8c939cf8.js} +2 -2
- package/dist/esm-es5/{array-8cb83acf.js → array-b87220fc.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +3 -3
- package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +3 -3
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-5e4d7066.js → conditionalSlot-d5dd9287.js} +2 -2
- package/dist/esm-es5/{debounce-02a8246a.js → debounce-118a7bf3.js} +1 -1
- package/dist/esm-es5/{dom-39745d1e.js → dom-f17bf906.js} +2 -2
- package/dist/esm-es5/{forIn-4f086e25.js → forIn-7ef86518.js} +2 -2
- package/dist/esm-es5/{form-0b706a52.js → form-bd644390.js} +2 -2
- package/dist/esm-es5/{guid-e25185c4.js → guid-0eff0c36.js} +1 -1
- package/dist/esm-es5/{index-21e41d50.js → index-95d4d018.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-0c69d445.js → interactive-42b3a77d.js} +1 -1
- package/dist/esm-es5/{interfaces-63795e7e.js → interfaces-fadf36e0.js} +1 -1
- package/dist/esm-es5/{label-fea1699c.js → label-73c005f6.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-91fb3bd7.js → locale-19a742f1.js} +2 -2
- package/dist/esm-es5/{math-aadca2c7.js → math-5be6997d.js} +1 -1
- package/dist/esm-es5/{number-170ff580.js → number-3cab3da6.js} +1 -1
- package/dist/esm-es5/{observers-7d3eceb3.js → observers-2d32784c.js} +1 -1
- package/dist/esm-es5/{popper-bb7c74f6.js → popper-f33d2a32.js} +2 -2
- package/dist/esm-es5/{resources-fcd49233.js → resources-1da3e5aa.js} +2 -2
- package/dist/esm-es5/{resources-f5b43a1c.js → resources-48dd3f7d.js} +1 -1
- package/dist/esm-es5/resources-540f6a49.js +6 -0
- package/dist/esm-es5/{resources-2f3e9e6e.js → resources-a70eca0d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-89d13b54.js → sortable.esm-5d354dd9.js} +1 -1
- package/dist/esm-es5/{utils-0327f48e.js → utils-b445b7ed.js} +1 -1
- package/dist/extras/docs-json.json +194 -84
- 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/accordion/accordion.d.ts +6 -4
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
- package/dist/types/components/action/action.d.ts +4 -1
- package/dist/types/components/action-bar/action-bar.d.ts +6 -1
- package/dist/types/components/action-menu/action-menu.d.ts +1 -0
- package/dist/types/components/action-pad/action-pad.d.ts +5 -1
- package/dist/types/components/alert/alert.d.ts +11 -6
- package/dist/types/components/avatar/utils.d.ts +5 -0
- package/dist/types/components/block/block.d.ts +10 -2
- package/dist/types/components/button/button.d.ts +4 -2
- package/dist/types/components/card/card.d.ts +11 -4
- package/dist/types/components/checkbox/checkbox.d.ts +3 -1
- package/dist/types/components/chip/chip.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +57 -18
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +3 -1
- package/dist/types/components/combobox/combobox.d.ts +9 -3
- package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +32 -3
- package/dist/types/components/date-picker/utils.d.ts +5 -0
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +7 -0
- package/dist/types/components/dropdown/dropdown.d.ts +7 -6
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/fab/fab.d.ts +1 -0
- package/dist/types/components/graph/util.d.ts +14 -0
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/icon/utils.d.ts +4 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +10 -4
- package/dist/types/components/input/input.d.ts +17 -8
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +25 -6
- package/dist/types/components/input-message/input-message.d.ts +7 -3
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +4 -2
- package/dist/types/components/label/label.d.ts +1 -0
- package/dist/types/components/link/link.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +4 -3
- package/dist/types/components/list-item/list-item.d.ts +6 -6
- package/dist/types/components/list-item-group/list-item-group.d.ts +3 -3
- package/dist/types/components/loader/loader.d.ts +11 -9
- package/dist/types/components/modal/modal.d.ts +14 -3
- package/dist/types/components/notice/notice.d.ts +9 -4
- package/dist/types/components/option/option.d.ts +1 -1
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +8 -2
- package/dist/types/components/panel/panel.d.ts +10 -2
- package/dist/types/components/pick-list/pick-list.d.ts +7 -3
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +9 -3
- package/dist/types/components/popover/PopoverManager.d.ts +2 -0
- package/dist/types/components/popover/popover.d.ts +20 -3
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +6 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
- package/dist/types/components/rating/rating.d.ts +6 -2
- package/dist/types/components/scrim/scrim.d.ts +3 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +2 -0
- package/dist/types/components/slider/slider.d.ts +19 -0
- package/dist/types/components/split-button/split-button.d.ts +5 -2
- package/dist/types/components/stepper/stepper.d.ts +8 -3
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -3
- package/dist/types/components/switch/switch.d.ts +3 -1
- package/dist/types/components/tab/tab.d.ts +6 -2
- package/dist/types/components/tab-nav/tab-nav.d.ts +15 -4
- package/dist/types/components/tab-title/tab-title.d.ts +20 -8
- package/dist/types/components/tabs/tabs.d.ts +6 -2
- package/dist/types/components/tile/tile.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +45 -16
- package/dist/types/components/tip-manager/tip-manager.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +2 -0
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +10 -3
- package/dist/types/components/tree-item/tree-item.d.ts +25 -11
- package/dist/types/components/value-list/value-list.d.ts +7 -3
- package/dist/types/components/value-list-item/value-list-item.d.ts +5 -2
- package/dist/types/components.d.ts +78 -38
- package/dist/types/preact.d.ts +56 -56
- package/dist/types/utils/conditionalSlot.d.ts +4 -0
- package/dist/types/utils/date.d.ts +35 -0
- package/dist/types/utils/dom.d.ts +8 -0
- package/dist/types/utils/form.d.ts +14 -0
- package/dist/types/utils/globalAttributes.d.ts +5 -0
- package/dist/types/utils/interactive.d.ts +7 -4
- package/dist/types/utils/label.d.ts +7 -0
- package/hydrate/index.js +721 -247
- package/package.json +4 -3
- package/dist/calcite/p-1728129d.entry.js +0 -6
- package/dist/calcite/p-23e8aba2.entry.js +0 -6
- package/dist/calcite/p-2e7caf39.entry.js +0 -6
- package/dist/calcite/p-30cc583e.js +0 -6
- package/dist/calcite/p-32f619f3.entry.js +0 -6
- package/dist/calcite/p-34838f6d.entry.js +0 -6
- package/dist/calcite/p-3741c37a.system.entry.js +0 -6
- package/dist/calcite/p-40cc3d56.system.entry.js +0 -6
- package/dist/calcite/p-440feb8c.system.entry.js +0 -6
- package/dist/calcite/p-442cfcfb.system.entry.js +0 -6
- package/dist/calcite/p-4722a96b.system.js +0 -6
- package/dist/calcite/p-4869095a.system.entry.js +0 -6
- package/dist/calcite/p-5b82ce31.system.js +0 -6
- package/dist/calcite/p-5bda28e0.entry.js +0 -6
- package/dist/calcite/p-672fdc47.entry.js +0 -6
- package/dist/calcite/p-6e1549e2.system.entry.js +0 -6
- package/dist/calcite/p-7130689a.entry.js +0 -6
- package/dist/calcite/p-7762e70d.entry.js +0 -6
- package/dist/calcite/p-7a7c20dc.system.entry.js +0 -6
- package/dist/calcite/p-84f5209e.entry.js +0 -6
- package/dist/calcite/p-874ae5d9.system.entry.js +0 -6
- package/dist/calcite/p-93ae7e25.entry.js +0 -6
- package/dist/calcite/p-940fbfca.entry.js +0 -6
- package/dist/calcite/p-9e575a26.entry.js +0 -6
- package/dist/calcite/p-a0ae1982.entry.js +0 -6
- package/dist/calcite/p-bc96267f.system.entry.js +0 -6
- package/dist/calcite/p-c321e625.system.entry.js +0 -6
- package/dist/calcite/p-c5a9e62e.system.entry.js +0 -6
- package/dist/calcite/p-c6df1a3b.system.entry.js +0 -6
- package/dist/calcite/p-d02c004e.system.js +0 -6
- package/dist/calcite/p-d738bd79.js +0 -6
- package/dist/calcite/p-e439fe76.system.entry.js +0 -6
- package/dist/calcite/p-eede725f.entry.js +0 -6
- package/dist/calcite/p-f3bbd6f9.entry.js +0 -6
- package/dist/calcite/p-f750aa5b.entry.js +0 -6
- package/dist/esm-es5/resources-69a0658b.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.468
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
9
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import { t as toAriaBoolean } from './dom-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-95d4d018.js';
|
|
7
|
+
import { g as guid } from './guid-0eff0c36.js';
|
|
8
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-bd644390.js';
|
|
9
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-73c005f6.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-42b3a77d.js';
|
|
11
|
+
import { t as toAriaBoolean } from './dom-f17bf906.js';
|
|
12
12
|
|
|
13
13
|
const checkboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);width:var(--calcite-checkbox-size);height:var(--calcite-checkbox-size);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host .toggle:focus .check-svg,:host .toggle:active .check-svg{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);-webkit-transition:var(--calcite-animation-timing);transition:var(--calcite-animation-timing)}.toggle:focus-visible{outline:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
14
14
|
|
|
@@ -29,6 +29,7 @@ const Checkbox = class {
|
|
|
29
29
|
this.disabled = false;
|
|
30
30
|
/**
|
|
31
31
|
* The hovered state of the checkbox.
|
|
32
|
+
*
|
|
32
33
|
* @internal
|
|
33
34
|
*/
|
|
34
35
|
this.hovered = false;
|
|
@@ -36,7 +37,7 @@ const Checkbox = class {
|
|
|
36
37
|
* True if the checkbox is initially indeterminate,
|
|
37
38
|
* which is independent from its checked state
|
|
38
39
|
* https://css-tricks.com/indeterminate-checkboxes/
|
|
39
|
-
|
|
40
|
+
*/
|
|
40
41
|
this.indeterminate = false;
|
|
41
42
|
/**
|
|
42
43
|
* When true, makes the component required for form-submission.
|
|
@@ -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.468
|
|
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 './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-95d4d018.js';
|
|
7
|
+
import { g as getSlotted } from './dom-f17bf906.js';
|
|
8
|
+
import { g as guid } from './guid-0eff0c36.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-d5dd9287.js';
|
|
10
|
+
import './observers-2d32784c.js';
|
|
11
11
|
|
|
12
12
|
const CSS = {
|
|
13
13
|
title: "title",
|
|
@@ -43,7 +43,9 @@ const Chip = class {
|
|
|
43
43
|
this.color = "grey";
|
|
44
44
|
/** Optionally show a button the user can click to dismiss the chip */
|
|
45
45
|
this.dismissible = false;
|
|
46
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Aria label for the "x" button
|
|
48
|
+
*
|
|
47
49
|
* @default "Close"
|
|
48
50
|
*/
|
|
49
51
|
this.dismissLabel = TEXT.close;
|
|
@@ -1,15 +1,15 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { a as getElementDir, f as focusElement, b 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 { d as debounce, i as isObject } from './debounce-
|
|
12
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-95d4d018.js';
|
|
7
|
+
import { a as getElementDir, f as focusElement, b as getThemeName } from './dom-f17bf906.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-b445b7ed.js';
|
|
9
|
+
import { c as clamp } from './math-5be6997d.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-42b3a77d.js';
|
|
11
|
+
import { d as debounce, i as isObject } from './debounce-118a7bf3.js';
|
|
12
|
+
import './guid-0eff0c36.js';
|
|
13
13
|
|
|
14
14
|
/** Error message constants. */
|
|
15
15
|
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
@@ -2324,6 +2324,7 @@ const ColorPicker = class {
|
|
|
2324
2324
|
* The format of the value property.
|
|
2325
2325
|
*
|
|
2326
2326
|
* When "auto", the format will be inferred from `value` when set.
|
|
2327
|
+
*
|
|
2327
2328
|
* @default "auto"
|
|
2328
2329
|
*/
|
|
2329
2330
|
this.format = defaultFormat;
|
|
@@ -2333,80 +2334,117 @@ const ColorPicker = class {
|
|
|
2333
2334
|
this.hideChannels = false;
|
|
2334
2335
|
/** When true, hides the saved colors section */
|
|
2335
2336
|
this.hideSaved = false;
|
|
2336
|
-
/**
|
|
2337
|
+
/**
|
|
2338
|
+
* Label used for the blue channel
|
|
2339
|
+
*
|
|
2337
2340
|
* @default "B"
|
|
2338
2341
|
*/
|
|
2339
2342
|
this.intlB = TEXT.b;
|
|
2340
|
-
/**
|
|
2343
|
+
/**
|
|
2344
|
+
* Label used for the blue channel description
|
|
2345
|
+
*
|
|
2341
2346
|
* @default "Blue"
|
|
2342
2347
|
*/
|
|
2343
2348
|
this.intlBlue = TEXT.blue;
|
|
2344
|
-
/**
|
|
2349
|
+
/**
|
|
2350
|
+
* Label used for the delete color button.
|
|
2351
|
+
*
|
|
2345
2352
|
* @default "Delete color"
|
|
2346
2353
|
*/
|
|
2347
2354
|
this.intlDeleteColor = TEXT.deleteColor;
|
|
2348
|
-
/**
|
|
2355
|
+
/**
|
|
2356
|
+
* Label used for the green channel
|
|
2357
|
+
*
|
|
2349
2358
|
* @default "G"
|
|
2350
2359
|
*/
|
|
2351
2360
|
this.intlG = TEXT.g;
|
|
2352
|
-
/**
|
|
2361
|
+
/**
|
|
2362
|
+
* Label used for the green channel description
|
|
2363
|
+
*
|
|
2353
2364
|
* @default "Green"
|
|
2354
2365
|
*/
|
|
2355
2366
|
this.intlGreen = TEXT.green;
|
|
2356
|
-
/**
|
|
2367
|
+
/**
|
|
2368
|
+
* Label used for the hue channel
|
|
2369
|
+
*
|
|
2357
2370
|
* @default "H"
|
|
2358
2371
|
*/
|
|
2359
2372
|
this.intlH = TEXT.h;
|
|
2360
|
-
/**
|
|
2373
|
+
/**
|
|
2374
|
+
* Label used for the HSV mode
|
|
2375
|
+
*
|
|
2361
2376
|
* @default "HSV"
|
|
2362
2377
|
*/
|
|
2363
2378
|
this.intlHsv = TEXT.hsv;
|
|
2364
|
-
/**
|
|
2379
|
+
/**
|
|
2380
|
+
* Label used for the hex input
|
|
2381
|
+
*
|
|
2365
2382
|
* @default "Hex"
|
|
2366
2383
|
*/
|
|
2367
2384
|
this.intlHex = TEXT.hex;
|
|
2368
|
-
/**
|
|
2385
|
+
/**
|
|
2386
|
+
* Label used for the hue channel description
|
|
2387
|
+
*
|
|
2369
2388
|
* @default "Hue"
|
|
2370
2389
|
*/
|
|
2371
2390
|
this.intlHue = TEXT.hue;
|
|
2372
2391
|
/**
|
|
2373
2392
|
* Label used for the hex input when there is no color selected.
|
|
2393
|
+
*
|
|
2374
2394
|
* @default "No color"
|
|
2375
2395
|
*/
|
|
2376
2396
|
this.intlNoColor = TEXT.noColor;
|
|
2377
|
-
/**
|
|
2397
|
+
/**
|
|
2398
|
+
* Label used for the red channel
|
|
2399
|
+
*
|
|
2378
2400
|
* @default "R"
|
|
2379
2401
|
*/
|
|
2380
2402
|
this.intlR = TEXT.r;
|
|
2381
|
-
/**
|
|
2403
|
+
/**
|
|
2404
|
+
* Label used for the red channel description
|
|
2405
|
+
*
|
|
2382
2406
|
* @default "Red"
|
|
2383
2407
|
*/
|
|
2384
2408
|
this.intlRed = TEXT.red;
|
|
2385
|
-
/**
|
|
2409
|
+
/**
|
|
2410
|
+
* Label used for the RGB mode
|
|
2411
|
+
*
|
|
2386
2412
|
* @default "RGB"
|
|
2387
2413
|
*/
|
|
2388
2414
|
this.intlRgb = TEXT.rgb;
|
|
2389
|
-
/**
|
|
2415
|
+
/**
|
|
2416
|
+
* Label used for the saturation channel
|
|
2417
|
+
*
|
|
2390
2418
|
* @default "S"
|
|
2391
2419
|
*/
|
|
2392
2420
|
this.intlS = TEXT.s;
|
|
2393
|
-
/**
|
|
2421
|
+
/**
|
|
2422
|
+
* Label used for the saturation channel description
|
|
2423
|
+
*
|
|
2394
2424
|
* @default "Saturation"
|
|
2395
2425
|
*/
|
|
2396
2426
|
this.intlSaturation = TEXT.saturation;
|
|
2397
|
-
/**
|
|
2427
|
+
/**
|
|
2428
|
+
* Label used for the save color button.
|
|
2429
|
+
*
|
|
2398
2430
|
* @default "Save color"
|
|
2399
2431
|
*/
|
|
2400
2432
|
this.intlSaveColor = TEXT.saveColor;
|
|
2401
|
-
/**
|
|
2433
|
+
/**
|
|
2434
|
+
* Label used for the saved colors section
|
|
2435
|
+
*
|
|
2402
2436
|
* @default "Saved"
|
|
2403
2437
|
*/
|
|
2404
2438
|
this.intlSaved = TEXT.saved;
|
|
2405
|
-
/**
|
|
2439
|
+
/**
|
|
2440
|
+
* Label used for the value channel
|
|
2441
|
+
*
|
|
2406
2442
|
* @default "V"
|
|
2407
2443
|
*/
|
|
2408
2444
|
this.intlV = TEXT.v;
|
|
2409
|
-
/**
|
|
2445
|
+
/**
|
|
2446
|
+
* Label used for the
|
|
2447
|
+
*
|
|
2410
2448
|
* @default "Value"
|
|
2411
2449
|
*/
|
|
2412
2450
|
this.intlValue = TEXT.value;
|
|
@@ -2421,6 +2459,7 @@ const ColorPicker = class {
|
|
|
2421
2459
|
* a RGB, HSL or HSV object.
|
|
2422
2460
|
*
|
|
2423
2461
|
* The type will be preserved as the color is updated.
|
|
2462
|
+
*
|
|
2424
2463
|
* @default "#007ac2"
|
|
2425
2464
|
* @see [ColorValue](https://github.com/Esri/calcite-components/blob/master/src/components/color-picker/interfaces.ts#L10)
|
|
2426
2465
|
*/
|
|
@@ -3089,11 +3128,13 @@ const ColorPickerHexInput = class {
|
|
|
3089
3128
|
this.allowEmpty = false;
|
|
3090
3129
|
/**
|
|
3091
3130
|
* Label used for the hex input.
|
|
3131
|
+
*
|
|
3092
3132
|
* @default "Hex"
|
|
3093
3133
|
*/
|
|
3094
3134
|
this.intlHex = TEXT.hex;
|
|
3095
3135
|
/**
|
|
3096
3136
|
* Label used for the hex input when there is no color selected.
|
|
3137
|
+
*
|
|
3097
3138
|
* @default "No color"
|
|
3098
3139
|
*/
|
|
3099
3140
|
this.intlNoColor = TEXT.noColor;
|
|
@@ -3105,7 +3146,7 @@ const ColorPickerHexInput = class {
|
|
|
3105
3146
|
* The hex value.
|
|
3106
3147
|
*/
|
|
3107
3148
|
this.value = normalizeHex(DEFAULT_COLOR.hex());
|
|
3108
|
-
this.
|
|
3149
|
+
this.onCalciteInternalInputBlur = () => {
|
|
3109
3150
|
const node = this.inputNode;
|
|
3110
3151
|
const inputValue = node.value;
|
|
3111
3152
|
const hex = `#${inputValue}`;
|
|
@@ -3190,7 +3231,7 @@ const ColorPickerHexInput = class {
|
|
|
3190
3231
|
render() {
|
|
3191
3232
|
const { intlHex, value } = this;
|
|
3192
3233
|
const hexInputValue = this.formatForInternalInput(value);
|
|
3193
|
-
return (h("div", { class: CSS$1.container }, h("calcite-input", { class: CSS$1.input, label: intlHex, maxLength: 6,
|
|
3234
|
+
return (h("div", { class: CSS$1.container }, h("calcite-input", { class: CSS$1.input, label: intlHex, maxLength: 6, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$1.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
3194
3235
|
}
|
|
3195
3236
|
//--------------------------------------------------------------------------
|
|
3196
3237
|
//
|
|
@@ -1,19 +1,19 @@
|
|
|
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.468
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-
|
|
8
|
-
import { i as isArray, f as forIn } from './forIn-
|
|
9
|
-
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-
|
|
10
|
-
import { g as guid } from './guid-
|
|
11
|
-
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-
|
|
12
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
13
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
14
|
-
import { c as createObserver } from './observers-
|
|
15
|
-
import { u as updateHostInteraction } from './interactive-
|
|
16
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-95d4d018.js';
|
|
7
|
+
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-118a7bf3.js';
|
|
8
|
+
import { i as isArray, f as forIn } from './forIn-7ef86518.js';
|
|
9
|
+
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-f33d2a32.js';
|
|
10
|
+
import { g as guid } from './guid-0eff0c36.js';
|
|
11
|
+
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-f17bf906.js';
|
|
12
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-73c005f6.js';
|
|
13
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-bd644390.js';
|
|
14
|
+
import { c as createObserver } from './observers-2d32784c.js';
|
|
15
|
+
import { u as updateHostInteraction } from './interactive-42b3a77d.js';
|
|
16
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-d5dd9287.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -219,7 +219,8 @@ const Combobox = class {
|
|
|
219
219
|
* @internal
|
|
220
220
|
*/
|
|
221
221
|
this.required = false;
|
|
222
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* specify the selection mode
|
|
223
224
|
* - multi: allow any number of selected items (default)
|
|
224
225
|
* - single: only one selection)
|
|
225
226
|
* - ancestors: like multi, but show ancestors of selected items as selected, only deepest children shown in chips
|
|
@@ -229,7 +230,9 @@ const Combobox = class {
|
|
|
229
230
|
this.scale = "m";
|
|
230
231
|
/** The value(s) of the selectedItem(s) */
|
|
231
232
|
this.value = null;
|
|
232
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* string to override the English "Remove tag" text for when an item is selected.
|
|
235
|
+
*
|
|
233
236
|
* @default "Remove tag"
|
|
234
237
|
*/
|
|
235
238
|
this.intlRemoveTag = TEXT.removeTag;
|
|
@@ -1034,6 +1037,8 @@ const ComboboxItem = class {
|
|
|
1034
1037
|
/**
|
|
1035
1038
|
* Used to toggle the selection state. By default this won't trigger an event.
|
|
1036
1039
|
* The first argument allows the value to be coerced, rather than swapping values.
|
|
1040
|
+
*
|
|
1041
|
+
* @param coerce
|
|
1037
1042
|
*/
|
|
1038
1043
|
async toggleSelected(coerce) {
|
|
1039
1044
|
if (this.disabled) {
|
|
@@ -1,16 +1,16 @@
|
|
|
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.468
|
|
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, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-
|
|
8
|
-
import { a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { H as Heading } from './Heading-
|
|
11
|
-
import './locale-
|
|
12
|
-
import './number-
|
|
13
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-95d4d018.js';
|
|
7
|
+
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, l as localizeNumber, e as getOrder, n as nextMonth, f as prevMonth, h as parseNumber } from './resources-1da3e5aa.js';
|
|
8
|
+
import { a as getElementDir, C as CSS_UTILITY } from './dom-f17bf906.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-42b3a77d.js';
|
|
10
|
+
import { H as Heading } from './Heading-8c939cf8.js';
|
|
11
|
+
import './locale-19a742f1.js';
|
|
12
|
+
import './number-3cab3da6.js';
|
|
13
|
+
import './guid-0eff0c36.js';
|
|
14
14
|
|
|
15
15
|
const datePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 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;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width: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-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";
|
|
16
16
|
|
|
@@ -19,15 +19,21 @@ const DatePicker = class {
|
|
|
19
19
|
registerInstance(this, hostRef);
|
|
20
20
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
21
21
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Localized string for "previous month" (used for aria label)
|
|
24
|
+
*
|
|
23
25
|
* @default "Previous month"
|
|
24
26
|
*/
|
|
25
27
|
this.intlPrevMonth = TEXT.prevMonth;
|
|
26
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Localized string for "next month" (used for aria label)
|
|
30
|
+
*
|
|
27
31
|
* @default "Next month"
|
|
28
32
|
*/
|
|
29
33
|
this.intlNextMonth = TEXT.nextMonth;
|
|
30
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Localized string for "year" (used for aria label)
|
|
36
|
+
*
|
|
31
37
|
* @default "Year"
|
|
32
38
|
*/
|
|
33
39
|
this.intlYear = TEXT.year;
|
|
@@ -143,6 +149,7 @@ const DatePicker = class {
|
|
|
143
149
|
this.hoverRange = undefined;
|
|
144
150
|
}
|
|
145
151
|
}
|
|
152
|
+
e.stopPropagation();
|
|
146
153
|
};
|
|
147
154
|
this.monthMouseOutChange = () => {
|
|
148
155
|
if (this.hoverRange) {
|
|
@@ -168,6 +175,8 @@ const DatePicker = class {
|
|
|
168
175
|
};
|
|
169
176
|
/**
|
|
170
177
|
* Event handler for when the selected date changes
|
|
178
|
+
*
|
|
179
|
+
* @param e
|
|
171
180
|
*/
|
|
172
181
|
this.monthDateChange = (e) => {
|
|
173
182
|
const date = new Date(e.detail);
|
|
@@ -334,15 +343,24 @@ const DatePicker = class {
|
|
|
334
343
|
}
|
|
335
344
|
/**
|
|
336
345
|
* Render calcite-date-picker-month-header and calcite-date-picker-month
|
|
346
|
+
*
|
|
347
|
+
* @param activeDate
|
|
348
|
+
* @param maxDate
|
|
349
|
+
* @param minDate
|
|
350
|
+
* @param date
|
|
351
|
+
* @param endDate
|
|
337
352
|
*/
|
|
338
353
|
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
|
339
354
|
return (this.localeData && [
|
|
340
355
|
h("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel || HEADING_LEVEL, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date || new Date() }),
|
|
341
|
-
h("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange,
|
|
356
|
+
h("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteDatePickerSelect: this.monthDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined })
|
|
342
357
|
]);
|
|
343
358
|
}
|
|
344
359
|
/**
|
|
345
360
|
* Update date instance of start if valid
|
|
361
|
+
*
|
|
362
|
+
* @param startDate
|
|
363
|
+
* @param emit
|
|
346
364
|
*/
|
|
347
365
|
setStartAsDate(startDate, emit) {
|
|
348
366
|
this.startAsDate = startDate;
|
|
@@ -356,6 +374,9 @@ const DatePicker = class {
|
|
|
356
374
|
}
|
|
357
375
|
/**
|
|
358
376
|
* Update date instance of end if valid
|
|
377
|
+
*
|
|
378
|
+
* @param endDate
|
|
379
|
+
* @param emit
|
|
359
380
|
*/
|
|
360
381
|
setEndAsDate(endDate, emit) {
|
|
361
382
|
this.endAsDate = endDate;
|
|
@@ -379,6 +400,10 @@ const DatePicker = class {
|
|
|
379
400
|
}
|
|
380
401
|
/**
|
|
381
402
|
* Get an active date using the value, or current date as default
|
|
403
|
+
*
|
|
404
|
+
* @param value
|
|
405
|
+
* @param min
|
|
406
|
+
* @param max
|
|
382
407
|
*/
|
|
383
408
|
getActiveDate(value, min, max) {
|
|
384
409
|
return dateFromRange(this.activeDate, min, max) || value || dateFromRange(new Date(), min, max);
|
|
@@ -411,7 +436,7 @@ const DatePickerDay = class {
|
|
|
411
436
|
constructor(hostRef) {
|
|
412
437
|
registerInstance(this, hostRef);
|
|
413
438
|
this.calciteDaySelect = createEvent(this, "calciteDaySelect", 7);
|
|
414
|
-
this.
|
|
439
|
+
this.calciteInternalDayHover = createEvent(this, "calciteInternalDayHover", 7);
|
|
415
440
|
/** Date is outside of range and can't be selected */
|
|
416
441
|
this.disabled = false;
|
|
417
442
|
/** Date is in the current month. */
|
|
@@ -446,7 +471,7 @@ const DatePickerDay = class {
|
|
|
446
471
|
};
|
|
447
472
|
}
|
|
448
473
|
mouseoverHandler() {
|
|
449
|
-
this.
|
|
474
|
+
this.calciteInternalDayHover.emit({
|
|
450
475
|
disabled: this.disabled
|
|
451
476
|
});
|
|
452
477
|
}
|
|
@@ -479,9 +504,9 @@ const DatePickerMonth = class {
|
|
|
479
504
|
constructor(hostRef) {
|
|
480
505
|
registerInstance(this, hostRef);
|
|
481
506
|
this.calciteDatePickerSelect = createEvent(this, "calciteDatePickerSelect", 7);
|
|
482
|
-
this.
|
|
507
|
+
this.calciteInternalDatePickerHover = createEvent(this, "calciteInternalDatePickerHover", 7);
|
|
483
508
|
this.calciteDatePickerActiveDateChange = createEvent(this, "calciteDatePickerActiveDateChange", 7);
|
|
484
|
-
this.
|
|
509
|
+
this.calciteInternalDatePickerMouseOut = createEvent(this, "calciteInternalDatePickerMouseOut", 7);
|
|
485
510
|
/** Date currently active.*/
|
|
486
511
|
this.activeDate = new Date();
|
|
487
512
|
//--------------------------------------------------------------------------
|
|
@@ -544,11 +569,12 @@ const DatePickerMonth = class {
|
|
|
544
569
|
this.dayHover = (e) => {
|
|
545
570
|
const target = e.target;
|
|
546
571
|
if (e.detail.disabled) {
|
|
547
|
-
this.
|
|
572
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
548
573
|
}
|
|
549
574
|
else {
|
|
550
|
-
this.
|
|
575
|
+
this.calciteInternalDatePickerHover.emit(target.value);
|
|
551
576
|
}
|
|
577
|
+
e.stopPropagation();
|
|
552
578
|
};
|
|
553
579
|
this.daySelect = (e) => {
|
|
554
580
|
const target = e.target;
|
|
@@ -556,7 +582,7 @@ const DatePickerMonth = class {
|
|
|
556
582
|
};
|
|
557
583
|
}
|
|
558
584
|
mouseoutHandler() {
|
|
559
|
-
this.
|
|
585
|
+
this.calciteInternalDatePickerMouseOut.emit();
|
|
560
586
|
}
|
|
561
587
|
//--------------------------------------------------------------------------
|
|
562
588
|
//
|
|
@@ -601,6 +627,8 @@ const DatePickerMonth = class {
|
|
|
601
627
|
//--------------------------------------------------------------------------
|
|
602
628
|
/**
|
|
603
629
|
* Add n months to the current month
|
|
630
|
+
*
|
|
631
|
+
* @param step
|
|
604
632
|
*/
|
|
605
633
|
addMonths(step) {
|
|
606
634
|
const nextDate = new Date(this.activeDate);
|
|
@@ -610,6 +638,8 @@ const DatePickerMonth = class {
|
|
|
610
638
|
}
|
|
611
639
|
/**
|
|
612
640
|
* Add n days to the current date
|
|
641
|
+
*
|
|
642
|
+
* @param step
|
|
613
643
|
*/
|
|
614
644
|
addDays(step = 0) {
|
|
615
645
|
const nextDate = new Date(this.activeDate);
|
|
@@ -619,6 +649,10 @@ const DatePickerMonth = class {
|
|
|
619
649
|
}
|
|
620
650
|
/**
|
|
621
651
|
* Get dates for last days of the previous month
|
|
652
|
+
*
|
|
653
|
+
* @param month
|
|
654
|
+
* @param year
|
|
655
|
+
* @param startOfWeek
|
|
622
656
|
*/
|
|
623
657
|
getPrevMonthdays(month, year, startOfWeek) {
|
|
624
658
|
const lastDate = new Date(year, month, 0);
|
|
@@ -635,6 +669,9 @@ const DatePickerMonth = class {
|
|
|
635
669
|
}
|
|
636
670
|
/**
|
|
637
671
|
* Get dates for the current month
|
|
672
|
+
*
|
|
673
|
+
* @param month
|
|
674
|
+
* @param year
|
|
638
675
|
*/
|
|
639
676
|
getCurrentMonthDays(month, year) {
|
|
640
677
|
const num = new Date(year, month + 1, 0).getDate();
|
|
@@ -646,6 +683,10 @@ const DatePickerMonth = class {
|
|
|
646
683
|
}
|
|
647
684
|
/**
|
|
648
685
|
* Get dates for first days of the next month
|
|
686
|
+
*
|
|
687
|
+
* @param month
|
|
688
|
+
* @param year
|
|
689
|
+
* @param startOfWeek
|
|
649
690
|
*/
|
|
650
691
|
getNextMonthDays(month, year, startOfWeek) {
|
|
651
692
|
const endDay = new Date(year, month + 1, 0).getDay();
|
|
@@ -660,6 +701,8 @@ const DatePickerMonth = class {
|
|
|
660
701
|
}
|
|
661
702
|
/**
|
|
662
703
|
* Determine if the date is in between the start and end dates
|
|
704
|
+
*
|
|
705
|
+
* @param date
|
|
663
706
|
*/
|
|
664
707
|
betweenSelectedRange(date) {
|
|
665
708
|
return !!(this.startDate &&
|
|
@@ -670,6 +713,8 @@ const DatePickerMonth = class {
|
|
|
670
713
|
}
|
|
671
714
|
/**
|
|
672
715
|
* Determine if the date should be in selected state
|
|
716
|
+
*
|
|
717
|
+
* @param date
|
|
673
718
|
*/
|
|
674
719
|
isSelected(date) {
|
|
675
720
|
return !!(sameDate(date, this.selectedDate) ||
|
|
@@ -678,6 +723,8 @@ const DatePickerMonth = class {
|
|
|
678
723
|
}
|
|
679
724
|
/**
|
|
680
725
|
* Determine if the date is the start of the date range
|
|
726
|
+
*
|
|
727
|
+
* @param date
|
|
681
728
|
*/
|
|
682
729
|
isStartOfRange(date) {
|
|
683
730
|
return !!(this.startDate &&
|
|
@@ -694,6 +741,12 @@ const DatePickerMonth = class {
|
|
|
694
741
|
}
|
|
695
742
|
/**
|
|
696
743
|
* Render calcite-date-picker-day
|
|
744
|
+
*
|
|
745
|
+
* @param active
|
|
746
|
+
* @param day
|
|
747
|
+
* @param date
|
|
748
|
+
* @param currentMonth
|
|
749
|
+
* @param ref
|
|
697
750
|
*/
|
|
698
751
|
renderDateDay(active, day, date, currentMonth, ref) {
|
|
699
752
|
var _a;
|
|
@@ -705,7 +758,7 @@ const DatePickerMonth = class {
|
|
|
705
758
|
"hover--outside-range": this.startDate && !isHoverInRange,
|
|
706
759
|
"focused--start": isFocusedOnStart,
|
|
707
760
|
"focused--end": !isFocusedOnStart
|
|
708
|
-
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData,
|
|
761
|
+
}, currentMonth: currentMonth, day: day, disabled: !inRange(date, this.min, this.max), endOfRange: this.isEndOfRange(date), highlighted: this.betweenSelectedRange(date), key: date.toDateString(), localeData: this.localeData, onCalciteDaySelect: this.daySelect, onCalciteInternalDayHover: this.dayHover, range: !!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate), rangeHover: this.isRangeHover(date), ref: (el) => {
|
|
709
762
|
// when moving via keyboard, focus must be updated on active date
|
|
710
763
|
if (ref && active && this.activeFocus) {
|
|
711
764
|
el === null || el === void 0 ? void 0 : el.focus();
|
|
@@ -758,6 +811,8 @@ const DatePickerMonthHeader = class {
|
|
|
758
811
|
//--------------------------------------------------------------------------
|
|
759
812
|
/**
|
|
760
813
|
* Increment year on UP/DOWN keys
|
|
814
|
+
*
|
|
815
|
+
* @param e
|
|
761
816
|
*/
|
|
762
817
|
this.onYearKey = (e) => {
|
|
763
818
|
const localizedYear = e.target.value;
|
|
@@ -857,6 +912,11 @@ const DatePickerMonthHeader = class {
|
|
|
857
912
|
/**
|
|
858
913
|
* Parse localized year string from input,
|
|
859
914
|
* set to active if in range
|
|
915
|
+
*
|
|
916
|
+
* @param root0
|
|
917
|
+
* @param root0.localizedYear
|
|
918
|
+
* @param root0.commit
|
|
919
|
+
* @param root0.offset
|
|
860
920
|
*/
|
|
861
921
|
setYear({ localizedYear, commit = true, offset = 0 }) {
|
|
862
922
|
const { yearInput, activeDate, localeData } = this;
|