@esri/calcite-components 1.0.0-next.462 → 1.0.0-next.465
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/icon/configure16.json +1 -0
- package/dist/calcite/assets/icon/configure24.json +1 -0
- package/dist/calcite/assets/icon/configure32.json +1 -0
- package/dist/calcite/assets/icon/debugScript16.json +1 -0
- package/dist/calcite/assets/icon/debugScript24.json +1 -0
- package/dist/calcite/assets/icon/debugScript32.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures24.json +1 -1
- package/dist/calcite/assets/icon/profileVariables16.json +1 -0
- package/dist/calcite/assets/icon/profileVariables24.json +1 -0
- package/dist/calcite/assets/icon/profileVariables32.json +1 -0
- package/dist/calcite/assets/icon/testData16.json +1 -0
- package/dist/calcite/assets/icon/testData24.json +1 -0
- package/dist/calcite/assets/icon/testData32.json +1 -0
- 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-22241f21.system.js → p-013a9bb6.system.js} +2 -2
- package/dist/calcite/{p-0d299a36.entry.js → p-026092af.entry.js} +2 -2
- package/dist/calcite/{p-00637950.entry.js → p-08643936.entry.js} +2 -2
- package/dist/calcite/p-095b7411.system.entry.js +6 -0
- package/dist/calcite/{p-41dfa1a3.system.entry.js → p-0a88616f.system.entry.js} +2 -2
- package/dist/calcite/{p-3e1a5114.system.js → p-0d6e1594.system.js} +1 -1
- package/dist/calcite/{p-469a2f16.js → p-10971739.js} +2 -2
- package/dist/calcite/{p-c420d932.system.entry.js → p-10a6b365.system.entry.js} +2 -2
- package/dist/calcite/{p-73e1eabb.system.entry.js → p-136bc12b.system.entry.js} +2 -2
- package/dist/calcite/{p-7a3db637.system.entry.js → p-154ca80f.system.entry.js} +2 -2
- package/dist/calcite/p-1728129d.entry.js +6 -0
- package/dist/calcite/{p-cf5bc86c.system.entry.js → p-180c13cf.system.entry.js} +2 -2
- package/dist/calcite/{p-ec883ac4.system.entry.js → p-1a38dc47.system.entry.js} +2 -2
- package/dist/calcite/p-1b65e7bb.system.entry.js +6 -0
- package/dist/calcite/{p-4cb01c91.system.js → p-1bd369b4.system.js} +1 -1
- package/dist/calcite/p-1f041991.system.entry.js +6 -0
- package/dist/calcite/p-22af487d.system.entry.js +6 -0
- package/dist/calcite/p-23e8aba2.entry.js +6 -0
- package/dist/calcite/{p-0c402ed9.system.js → p-23ed4d17.system.js} +1 -1
- package/dist/calcite/p-24f812a1.entry.js +6 -0
- package/dist/calcite/{p-668fa196.system.js → p-264730d4.system.js} +2 -2
- package/dist/calcite/{p-2a76f9b2.entry.js → p-273f2078.entry.js} +2 -2
- package/dist/calcite/{p-d4147017.system.js → p-27793c41.system.js} +1 -1
- package/dist/calcite/{p-b2176625.system.js → p-2c5cb121.system.js} +1 -1
- package/dist/calcite/{p-2350448e.system.js → p-2cd279fc.system.js} +1 -1
- package/dist/calcite/p-2d751b58.system.entry.js +6 -0
- package/dist/calcite/p-2e7caf39.entry.js +6 -0
- package/dist/calcite/{p-9fb15c82.system.entry.js → p-2edf9b74.system.entry.js} +2 -2
- package/dist/calcite/{p-aba79e6a.entry.js → p-3068cce5.entry.js} +2 -2
- package/dist/calcite/p-30cc583e.js +6 -0
- package/dist/calcite/p-32f619f3.entry.js +6 -0
- package/dist/calcite/{p-889fe85a.entry.js → p-34838f6d.entry.js} +2 -2
- package/dist/calcite/{p-87c54142.system.entry.js → p-34c7942b.system.entry.js} +2 -2
- package/dist/calcite/{p-3fe62f77.system.entry.js → p-34e746d1.system.entry.js} +2 -2
- package/dist/calcite/p-358bd5f7.entry.js +6 -0
- package/dist/calcite/{p-f561063c.system.js → p-36693016.system.js} +3 -3
- package/dist/calcite/p-3741c37a.system.entry.js +6 -0
- package/dist/calcite/{p-4b3335e6.system.entry.js → p-38f1e8cd.system.entry.js} +2 -2
- package/dist/calcite/{p-04e74694.entry.js → p-39446ad6.entry.js} +2 -2
- package/dist/calcite/{p-8dc14112.entry.js → p-3b5e1f41.entry.js} +2 -2
- package/dist/calcite/{p-ff59a2e5.system.entry.js → p-3bc32fb0.system.entry.js} +2 -2
- package/dist/calcite/p-40cc3d56.system.entry.js +6 -0
- package/dist/calcite/p-418362cb.entry.js +6 -0
- package/dist/calcite/{p-671e826e.js → p-41ab4215.js} +1 -1
- package/dist/calcite/{p-dcb4c9bc.system.entry.js → p-440feb8c.system.entry.js} +2 -2
- package/dist/calcite/{p-2849e7b8.system.entry.js → p-442cfcfb.system.entry.js} +2 -2
- package/dist/calcite/p-4722a96b.system.js +6 -0
- package/dist/calcite/{p-30248793.system.entry.js → p-4869095a.system.entry.js} +2 -2
- package/dist/calcite/{p-063f3722.system.entry.js → p-48cae39f.system.entry.js} +2 -2
- package/dist/calcite/{p-95e73ff6.system.js → p-4acd2fc1.system.js} +1 -1
- package/dist/calcite/{p-c231d712.entry.js → p-55bb569b.entry.js} +2 -2
- package/dist/calcite/p-57d2f345.system.entry.js +6 -0
- package/dist/calcite/p-5885f823.system.entry.js +6 -0
- package/dist/calcite/{p-90244fa6.entry.js → p-58b008ac.entry.js} +2 -2
- package/dist/calcite/p-5b82ce31.system.js +6 -0
- package/dist/calcite/{p-d6207d55.entry.js → p-5bda28e0.entry.js} +2 -2
- package/dist/calcite/p-5c966a54.entry.js +6 -0
- package/dist/calcite/{p-f435d1fa.js → p-611ada47.js} +1 -1
- package/dist/calcite/{p-176d1a90.system.entry.js → p-618e0238.system.entry.js} +2 -2
- package/dist/calcite/{p-b2f56291.js → p-62203382.js} +2 -2
- package/dist/calcite/{p-d07c9da6.entry.js → p-62226b55.entry.js} +2 -2
- package/dist/calcite/{p-eb46effb.system.entry.js → p-641b140f.system.entry.js} +2 -2
- package/dist/calcite/p-66ff4d5f.system.js +6 -0
- package/dist/calcite/p-672fdc47.entry.js +6 -0
- package/dist/calcite/{p-036d4953.js → p-67b63c0b.js} +2 -2
- package/dist/calcite/{p-f38a4ef9.system.js → p-687af5cc.system.js} +2 -2
- package/dist/calcite/{p-32be835d.entry.js → p-696347a5.entry.js} +2 -2
- package/dist/calcite/{p-87c853a2.system.js → p-69d99b7d.system.js} +1 -1
- package/dist/calcite/{p-7e79d531.system.entry.js → p-6e1549e2.system.entry.js} +2 -2
- package/dist/calcite/{p-0f8df940.js → p-6e5b906c.js} +2 -2
- package/dist/calcite/{p-4dbfa74b.system.js → p-6ff05b6e.system.js} +1 -1
- package/dist/calcite/{p-8962958d.entry.js → p-7106d888.entry.js} +2 -2
- package/dist/calcite/p-7130689a.entry.js +6 -0
- package/dist/calcite/p-739af289.entry.js +6 -0
- package/dist/calcite/p-75163b6d.entry.js +6 -0
- package/dist/calcite/{p-c7f1d5d1.entry.js → p-756677a6.entry.js} +2 -2
- package/dist/calcite/{p-60d7cbc5.js → p-7618c855.js} +1 -1
- package/dist/calcite/p-773f0fa9.js +6 -0
- package/dist/calcite/p-7762e70d.entry.js +6 -0
- package/dist/calcite/{p-a1f497b6.js → p-78aac253.js} +1 -1
- package/dist/calcite/{p-20553d5b.entry.js → p-7950afa7.entry.js} +2 -2
- package/dist/calcite/p-7a7c20dc.system.entry.js +6 -0
- package/dist/calcite/p-7ab69126.entry.js +6 -0
- package/dist/calcite/{p-f88a16ce.system.entry.js → p-7dd02d66.system.entry.js} +2 -2
- package/dist/calcite/{p-55b16a6d.entry.js → p-7eb90aba.entry.js} +2 -2
- package/dist/calcite/{p-df186f2b.js → p-7ed1cbf7.js} +2 -2
- package/dist/calcite/p-7ed43611.system.entry.js +6 -0
- package/dist/calcite/p-8007bf8f.entry.js +6 -0
- package/dist/calcite/{p-9d841cb5.system.js → p-80e073e7.system.js} +1 -1
- package/dist/calcite/{p-c9e8b5a5.system.entry.js → p-81fae2c0.system.entry.js} +2 -2
- package/dist/calcite/{p-0716c846.system.entry.js → p-83fb7247.system.entry.js} +2 -2
- package/dist/calcite/p-84f5209e.entry.js +6 -0
- package/dist/calcite/{p-9fbdbe02.system.entry.js → p-84fdbfca.system.entry.js} +2 -2
- package/dist/calcite/p-874ae5d9.system.entry.js +6 -0
- package/dist/calcite/{p-5a5fb464.entry.js → p-8758fd74.entry.js} +2 -2
- package/dist/calcite/{p-816ab205.system.entry.js → p-8c3d26c9.system.entry.js} +2 -2
- package/dist/calcite/{p-6a7e354e.entry.js → p-8d22cf0f.entry.js} +2 -2
- package/dist/calcite/p-93ae7e25.entry.js +6 -0
- package/dist/calcite/{p-fb5f47f9.entry.js → p-940fbfca.entry.js} +2 -2
- package/dist/calcite/{p-a7d0d5d4.system.js → p-9471970d.system.js} +2 -2
- package/dist/calcite/{p-1fd2935d.entry.js → p-97358c18.entry.js} +2 -2
- package/dist/calcite/{p-7715b483.system.entry.js → p-9906949a.system.entry.js} +2 -2
- package/dist/calcite/{p-a8c87144.js → p-9acb780f.js} +1 -1
- package/dist/calcite/{p-23468c48.js → p-9d573fcd.js} +1 -1
- package/dist/calcite/{p-d3d684eb.js → p-9d7bdb96.js} +1 -1
- package/dist/calcite/p-9d984bea.entry.js +6 -0
- package/dist/calcite/p-9e575a26.entry.js +6 -0
- package/dist/calcite/{p-6883e3c6.js → p-9f8403f2.js} +2 -2
- package/dist/calcite/p-a0ae1982.entry.js +6 -0
- package/dist/calcite/{p-dc956d62.entry.js → p-a1b59b76.entry.js} +2 -2
- package/dist/calcite/p-a3e2fe17.system.entry.js +6 -0
- package/dist/calcite/{p-941f2d9d.js → p-a5c94739.js} +2 -2
- package/dist/calcite/{p-73f3cf81.system.js → p-a7c194ba.system.js} +1 -1
- package/dist/calcite/{p-17fe976c.system.entry.js → p-ab6e6691.system.entry.js} +3 -3
- package/dist/calcite/{p-de4fa874.system.entry.js → p-adf713a1.system.entry.js} +2 -2
- package/dist/calcite/{p-f5fb7b7c.entry.js → p-af661b67.entry.js} +2 -2
- package/dist/calcite/p-b144eaab.system.entry.js +6 -0
- package/dist/calcite/p-b183b9f0.system.entry.js +6 -0
- package/dist/calcite/p-b29782c1.entry.js +6 -0
- package/dist/calcite/p-b59dda50.system.entry.js +6 -0
- package/dist/calcite/{p-fa381189.system.js → p-b9fd4e39.system.js} +2 -2
- package/dist/calcite/{p-ca072a6a.js → p-bad030fb.js} +1 -1
- package/dist/calcite/{p-5f2b64ab.system.entry.js → p-baffdab8.system.entry.js} +2 -2
- package/dist/calcite/{p-cc99e051.system.js → p-bb76a912.system.js} +1 -1
- package/dist/calcite/{p-6a4f2362.js → p-bbe6c550.js} +1 -1
- package/dist/calcite/p-bc96267f.system.entry.js +6 -0
- package/dist/calcite/p-bfca7ecd.entry.js +6 -0
- package/dist/calcite/{p-55aeae20.js → p-c2401107.js} +1 -1
- package/dist/calcite/p-c26c3b31.system.entry.js +6 -0
- package/dist/calcite/p-c321e625.system.entry.js +6 -0
- package/dist/calcite/{p-7d851b16.system.js → p-c3d0edb7.system.js} +2 -2
- package/dist/calcite/{p-644a6243.entry.js → p-c5099a83.entry.js} +2 -2
- package/dist/calcite/p-c5367b82.entry.js +6 -0
- package/dist/calcite/p-c5a9e62e.system.entry.js +6 -0
- package/dist/calcite/p-c5e02739.js +6 -0
- package/dist/calcite/{p-df010ab7.system.entry.js → p-c60c4413.system.entry.js} +3 -3
- package/dist/calcite/p-c6afec54.system.js +6 -0
- package/dist/calcite/{p-1c442162.system.entry.js → p-c6df1a3b.system.entry.js} +2 -2
- package/dist/calcite/{p-40bc3541.entry.js → p-cb08938f.entry.js} +2 -2
- package/dist/calcite/p-d02c004e.system.js +6 -0
- package/dist/calcite/{p-caa1b45a.entry.js → p-d39937bb.entry.js} +2 -2
- package/dist/calcite/p-d3f49cfd.entry.js +6 -0
- package/dist/calcite/{p-ab14ad32.js → p-d56fe7f5.js} +1 -1
- package/dist/calcite/p-d738bd79.js +6 -0
- package/dist/calcite/p-d82b09df.system.entry.js +6 -0
- package/dist/calcite/{p-4c7bf690.entry.js → p-dd08a3be.entry.js} +2 -2
- package/dist/calcite/{p-1310e93e.js → p-dd7add1c.js} +1 -1
- package/dist/calcite/p-e14da808.system.entry.js +6 -0
- package/dist/calcite/p-e439fe76.system.entry.js +6 -0
- package/dist/calcite/{p-ffe43c9d.system.entry.js → p-e5b107e0.system.entry.js} +2 -2
- package/dist/calcite/{p-fd745741.system.entry.js → p-e7116907.system.entry.js} +2 -2
- package/dist/calcite/{p-743600c7.js → p-e7f8d163.js} +2 -2
- package/dist/calcite/{p-2effbc9a.system.entry.js → p-e94eaab8.system.entry.js} +2 -2
- package/dist/calcite/p-e987af61.system.entry.js +6 -0
- package/dist/calcite/{p-02987fbe.system.js → p-ea419893.system.js} +1 -1
- package/dist/calcite/{p-7217e5f8.entry.js → p-eede725f.entry.js} +2 -2
- package/dist/calcite/{p-f02cbca0.system.entry.js → p-f38e6bb7.system.entry.js} +2 -2
- package/dist/calcite/{p-d377b5de.entry.js → p-f3bbd6f9.entry.js} +2 -2
- package/dist/calcite/{p-082b20a1.entry.js → p-f52e9e28.entry.js} +2 -2
- package/dist/calcite/{p-ba7191d5.entry.js → p-f558e82a.entry.js} +2 -2
- package/dist/calcite/{p-0ad2eb6f.entry.js → p-f6bb938b.entry.js} +2 -2
- package/dist/calcite/p-f750aa5b.entry.js +6 -0
- package/dist/calcite/{p-5f0c75b2.system.js → p-f9acdc7d.system.js} +2 -2
- package/dist/calcite/{p-4e00f7dc.entry.js → p-fdcbf514.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-c94a8bdf.js → ExpandToggle-073a9938.js} +5 -5
- package/dist/cjs/{Heading-15457405.js → Heading-a01d7704.js} +2 -2
- package/dist/cjs/{array-a0240974.js → array-19031542.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +7 -5
- package/dist/cjs/calcite-alert.cjs.entry.js +6 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +8 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -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 +10 -10
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input.cjs.entry.js +50 -32
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -2
- package/dist/cjs/calcite-panel.cjs.entry.js +32 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +9 -9
- 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 +7 -7
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- 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 +113 -106
- package/dist/cjs/calcite-switch.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-4315fc66.js → conditionalSlot-9318f4d5.js} +3 -3
- package/dist/cjs/{debounce-b3d0a811.js → debounce-01e67947.js} +1 -1
- package/dist/cjs/{dom-19d78e8b.js → dom-b1c46fde.js} +13 -2
- package/dist/cjs/{forIn-a934a34c.js → forIn-d86e5943.js} +2 -2
- package/dist/cjs/{form-981c8d13.js → form-b40e8c51.js} +3 -3
- package/dist/cjs/{guid-059bc5f5.js → guid-9341ece5.js} +1 -1
- package/dist/cjs/{index-25fd8288.js → index-83432d46.js} +1 -4
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-548c4773.js → interactive-c6a6fae3.js} +1 -1
- package/dist/cjs/{interfaces-1fc8936a.js → interfaces-06edeb9f.js} +1 -1
- package/dist/cjs/{label-1b933100.js → label-a0f9b578.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-3ae8ea44.js → locale-04f22f4a.js} +2 -2
- package/dist/cjs/{math-a9889b35.js → math-4087a063.js} +1 -1
- package/dist/cjs/{number-dbed87ea.js → number-14cbb8cb.js} +1 -1
- package/dist/cjs/{observers-54540ecd.js → observers-5677956e.js} +1 -1
- package/dist/cjs/{popper-89c605c1.js → popper-161f39a2.js} +2 -2
- package/dist/cjs/{resources-458c7469.js → resources-062d326d.js} +1 -1
- package/dist/cjs/{resources-17a284f7.js → resources-57e496b6.js} +1 -1
- package/dist/cjs/{resources-5154997f.js → resources-a253a5a9.js} +3 -3
- package/dist/cjs/{resources-a37b2a60.js → resources-bc9cdcac.js} +6 -6
- package/dist/cjs/{sortable.esm-69c54856.js → sortable.esm-6d7abbbc.js} +1 -1
- package/dist/cjs/{utils-9cf93bff.js → utils-a51bb08e.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/action/action.js +3 -2
- 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 +3 -3
- 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 +3 -3
- 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 +5 -5
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -3
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +5 -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 +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +4 -4
- 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 +1 -1
- 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 +3 -3
- 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/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.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -2
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/configure16.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure24.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure32.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript16.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript24.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript32.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures24.json +1 -1
- package/dist/collection/components/icon/assets/icon/profileVariables16.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables24.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables32.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData16.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData24.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData32.json +1 -0
- package/dist/collection/components/icon/icon.js +3 -3
- 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 +40 -22
- 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 +4 -3
- 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 +1 -1
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-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/interfaces.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 +27 -5
- 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 +3 -2
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- 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 +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +3 -3
- 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/slider.css +27 -0
- 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/interfaces.js +6 -0
- package/dist/collection/components/stepper/stepper.js +75 -55
- package/dist/collection/components/stepper-item/stepper-item.css +1 -0
- package/dist/collection/components/stepper-item/stepper-item.js +72 -74
- package/dist/collection/components/switch/switch.js +3 -3
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +3 -3
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +4 -4
- 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 +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/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 +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +3 -3
- 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 -3
- 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-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +3 -3
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +1 -1
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +3 -3
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +11 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.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 +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 +3 -3
- package/dist/components/action.js +3 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +3 -3
- 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 +3 -3
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +3 -3
- package/dist/components/calcite-block.js +5 -5
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +5 -4
- 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 +3 -3
- 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.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 +3 -2
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +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 +26 -4
- 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 +3 -3
- package/dist/components/calcite-radio-group-item.js +3 -3
- 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 +2 -2
- 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 +49 -60
- package/dist/components/calcite-stepper.js +63 -45
- 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 +3 -3
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +3 -3
- package/dist/components/calcite-tree-item.js +3 -3
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +1 -1
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +12 -2
- package/dist/components/dropdown.js +3 -3
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.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 +3 -2
- package/dist/components/icon.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +40 -22
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.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 +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 +3 -3
- package/dist/components/popover.js +4 -4
- 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 +1 -1
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +3 -3
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +3 -3
- package/dist/components/tab.js +3 -3
- 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/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +214 -158
- package/dist/esm/{ExpandToggle-e8862196.js → ExpandToggle-c7f6d10a.js} +5 -5
- package/dist/esm/{Heading-6234295b.js → Heading-905e0fd2.js} +2 -2
- package/dist/esm/{array-47b9e4dd.js → array-8cb83acf.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +5 -5
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +9 -9
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +7 -5
- package/dist/esm/calcite-alert.entry.js +6 -6
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +12 -12
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +8 -8
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +9 -9
- package/dist/esm/calcite-fab.entry.js +5 -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 +10 -10
- package/dist/esm/calcite-handle.entry.js +5 -3
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +12 -12
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
- package/dist/esm/calcite-input.entry.js +50 -32
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +2 -2
- package/dist/esm/calcite-panel.entry.js +32 -11
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +9 -9
- 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 +7 -7
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- 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 +113 -106
- package/dist/esm/calcite-switch.entry.js +8 -8
- package/dist/esm/calcite-tab_4.entry.js +8 -8
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -7
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-44490996.js → conditionalSlot-5e4d7066.js} +3 -3
- package/dist/esm/{debounce-e386f93d.js → debounce-02a8246a.js} +1 -1
- package/dist/esm/{dom-d9c578a0.js → dom-39745d1e.js} +13 -3
- package/dist/esm/{forIn-ec17537c.js → forIn-4f086e25.js} +2 -2
- package/dist/esm/{form-7a878a8f.js → form-0b706a52.js} +3 -3
- package/dist/esm/{guid-3fb5bd0e.js → guid-e25185c4.js} +1 -1
- package/dist/esm/{index-b7e215de.js → index-21e41d50.js} +1 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-04acb901.js → interactive-0c69d445.js} +1 -1
- package/dist/esm/{interfaces-8075d8f6.js → interfaces-63795e7e.js} +1 -1
- package/dist/esm/{label-d5f2e2d6.js → label-fea1699c.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-6610d4e5.js → locale-91fb3bd7.js} +2 -2
- package/dist/esm/{math-cad25a11.js → math-aadca2c7.js} +1 -1
- package/dist/esm/{number-3261c90a.js → number-170ff580.js} +1 -1
- package/dist/esm/{observers-2a5ce641.js → observers-7d3eceb3.js} +1 -1
- package/dist/esm/{popper-cf3aa657.js → popper-bb7c74f6.js} +2 -2
- package/dist/esm/{resources-064c01e3.js → resources-2f3e9e6e.js} +1 -1
- package/dist/esm/{resources-a10785a0.js → resources-69a0658b.js} +6 -6
- package/dist/esm/{resources-220829aa.js → resources-f5b43a1c.js} +1 -1
- package/dist/esm/{resources-6d007744.js → resources-fcd49233.js} +3 -3
- package/dist/esm/{sortable.esm-aa892bae.js → sortable.esm-89d13b54.js} +1 -1
- package/dist/esm/{utils-0bc7306d.js → utils-0327f48e.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-e8862196.js → ExpandToggle-c7f6d10a.js} +2 -2
- package/dist/esm-es5/{Heading-6234295b.js → Heading-905e0fd2.js} +2 -2
- package/dist/esm-es5/{array-47b9e4dd.js → array-8cb83acf.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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- 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 +3 -3
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- 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-44490996.js → conditionalSlot-5e4d7066.js} +2 -2
- package/dist/esm-es5/{debounce-e386f93d.js → debounce-02a8246a.js} +1 -1
- package/dist/esm-es5/{dom-d9c578a0.js → dom-39745d1e.js} +2 -2
- package/dist/esm-es5/{forIn-ec17537c.js → forIn-4f086e25.js} +2 -2
- package/dist/esm-es5/{form-7a878a8f.js → form-0b706a52.js} +2 -2
- package/dist/esm-es5/{guid-3fb5bd0e.js → guid-e25185c4.js} +1 -1
- package/dist/esm-es5/{index-b7e215de.js → index-21e41d50.js} +2 -2
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-04acb901.js → interactive-0c69d445.js} +1 -1
- package/dist/esm-es5/{interfaces-8075d8f6.js → interfaces-63795e7e.js} +1 -1
- package/dist/esm-es5/{label-d5f2e2d6.js → label-fea1699c.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-6610d4e5.js → locale-91fb3bd7.js} +2 -2
- package/dist/esm-es5/{math-cad25a11.js → math-aadca2c7.js} +1 -1
- package/dist/esm-es5/{number-3261c90a.js → number-170ff580.js} +1 -1
- package/dist/esm-es5/{observers-2a5ce641.js → observers-7d3eceb3.js} +1 -1
- package/dist/esm-es5/{popper-cf3aa657.js → popper-bb7c74f6.js} +2 -2
- package/dist/esm-es5/{resources-064c01e3.js → resources-2f3e9e6e.js} +1 -1
- package/dist/esm-es5/resources-69a0658b.js +6 -0
- package/dist/esm-es5/{resources-220829aa.js → resources-f5b43a1c.js} +1 -1
- package/dist/esm-es5/{resources-6d007744.js → resources-fcd49233.js} +2 -2
- package/dist/esm-es5/{sortable.esm-aa892bae.js → sortable.esm-89d13b54.js} +1 -1
- package/dist/esm-es5/{utils-0bc7306d.js → utils-0327f48e.js} +1 -1
- package/dist/extras/docs-json.json +4 -9
- 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/input/input.d.ts +6 -4
- package/dist/types/components/panel/panel.d.ts +3 -0
- package/dist/types/components/stepper/interfaces.d.ts +10 -0
- package/dist/types/components/stepper/stepper.d.ts +13 -9
- package/dist/types/components/stepper-item/stepper-item.d.ts +7 -8
- package/dist/types/components/tab-title/tab-title.d.ts +1 -1
- package/dist/types/components.d.ts +4 -3
- package/dist/types/utils/dom.d.ts +8 -0
- package/hydrate/index.js +217 -162
- package/package.json +9 -9
- package/readme.md +2 -2
- package/dist/calcite/p-05039305.entry.js +0 -6
- package/dist/calcite/p-116c464d.system.js +0 -6
- package/dist/calcite/p-135dcf0d.js +0 -6
- package/dist/calcite/p-167e8b34.entry.js +0 -6
- package/dist/calcite/p-18532546.entry.js +0 -6
- package/dist/calcite/p-212989c1.system.js +0 -6
- package/dist/calcite/p-2c828ba2.entry.js +0 -6
- package/dist/calcite/p-3947f438.system.entry.js +0 -6
- package/dist/calcite/p-444baff8.system.entry.js +0 -6
- package/dist/calcite/p-4b55505c.entry.js +0 -6
- package/dist/calcite/p-53bfaba8.entry.js +0 -6
- package/dist/calcite/p-55df0850.system.entry.js +0 -6
- package/dist/calcite/p-56a3f02c.system.js +0 -6
- package/dist/calcite/p-6139b457.system.entry.js +0 -6
- package/dist/calcite/p-622f1755.entry.js +0 -6
- package/dist/calcite/p-63d860c9.system.entry.js +0 -6
- package/dist/calcite/p-69d917a4.system.entry.js +0 -6
- package/dist/calcite/p-6a262ccc.entry.js +0 -6
- package/dist/calcite/p-6de5f235.system.entry.js +0 -6
- package/dist/calcite/p-744d7752.entry.js +0 -6
- package/dist/calcite/p-78247d53.system.entry.js +0 -6
- package/dist/calcite/p-79d52110.entry.js +0 -6
- package/dist/calcite/p-7e4e2e0f.entry.js +0 -6
- package/dist/calcite/p-82d468e7.js +0 -6
- package/dist/calcite/p-8ce299a8.entry.js +0 -6
- package/dist/calcite/p-92bb791c.system.entry.js +0 -6
- package/dist/calcite/p-9a00fd75.entry.js +0 -6
- package/dist/calcite/p-9c67a4da.system.entry.js +0 -6
- package/dist/calcite/p-a18d3350.system.entry.js +0 -6
- package/dist/calcite/p-a7265c89.system.entry.js +0 -6
- package/dist/calcite/p-a72c9863.entry.js +0 -6
- package/dist/calcite/p-adeeeac7.entry.js +0 -6
- package/dist/calcite/p-afbc2682.system.entry.js +0 -6
- package/dist/calcite/p-b78e4319.system.entry.js +0 -6
- package/dist/calcite/p-ba26d843.js +0 -6
- package/dist/calcite/p-ba473a9d.entry.js +0 -6
- package/dist/calcite/p-ccb0e6ad.system.entry.js +0 -6
- package/dist/calcite/p-cef0de25.system.entry.js +0 -6
- package/dist/calcite/p-d98f06e4.system.entry.js +0 -6
- package/dist/calcite/p-dc7f503a.entry.js +0 -6
- package/dist/calcite/p-e35cc2d0.entry.js +0 -6
- package/dist/calcite/p-e4bc4a33.js +0 -6
- package/dist/calcite/p-e4d2803a.entry.js +0 -6
- package/dist/calcite/p-e840a222.entry.js +0 -6
- package/dist/calcite/p-eb48c019.entry.js +0 -6
- package/dist/calcite/p-eb8f1258.entry.js +0 -6
- package/dist/calcite/p-eb9c2814.system.js +0 -6
- package/dist/calcite/p-ecad8f8b.system.entry.js +0 -6
- package/dist/calcite/p-ed235529.entry.js +0 -6
- package/dist/calcite/p-eecae3f1.entry.js +0 -6
- package/dist/calcite/p-f1b2ae0f.system.entry.js +0 -6
- package/dist/calcite/p-f2252c0d.system.entry.js +0 -6
- package/dist/calcite/p-f37bf7e9.entry.js +0 -6
- package/dist/calcite/p-f681b054.system.entry.js +0 -6
- package/dist/calcite/p-f784b055.system.entry.js +0 -6
- package/dist/calcite/p-fc3d8a1a.system.js +0 -6
- package/dist/calcite/p-fd4baefe.system.entry.js +0 -6
- package/dist/calcite/p-fe4dba1c.system.entry.js +0 -6
- package/dist/esm-es5/resources-a10785a0.js +0 -6
|
@@ -1,12 +1,12 @@
|
|
|
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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
7
|
-
import { d as getElementProp } from './dom-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
9
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-21e41d50.js';
|
|
7
|
+
import { d as getElementProp, t as toAriaBoolean } from './dom-39745d1e.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-0c69d445.js';
|
|
9
|
+
import './guid-e25185c4.js';
|
|
10
10
|
|
|
11
11
|
const stepperCss = "@-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:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:justify;justify-content:space-between}:host([layout=vertical]){-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host ::slotted(.calcite-stepper-content){display:-ms-flexbox;display:flex;width:100%;min-width:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
12
12
|
|
|
@@ -32,10 +32,11 @@ const Stepper = class {
|
|
|
32
32
|
// Private State/Props
|
|
33
33
|
//
|
|
34
34
|
//--------------------------------------------------------------------------
|
|
35
|
-
|
|
35
|
+
this.itemMap = new Map();
|
|
36
|
+
/** list of sorted Stepper items */
|
|
36
37
|
this.items = [];
|
|
37
|
-
/**
|
|
38
|
-
this.
|
|
38
|
+
/** list of enabled Stepper items */
|
|
39
|
+
this.enabledItems = [];
|
|
39
40
|
}
|
|
40
41
|
// watch for removal of disabled to register step
|
|
41
42
|
contentWatcher() {
|
|
@@ -76,7 +77,7 @@ const Stepper = class {
|
|
|
76
77
|
const item = e.detail.item;
|
|
77
78
|
const itemToFocus = e.target;
|
|
78
79
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
79
|
-
const isLastItem = this.itemIndex(itemToFocus) === this.
|
|
80
|
+
const isLastItem = this.itemIndex(itemToFocus) === this.enabledItems.length - 1;
|
|
80
81
|
switch (item.key) {
|
|
81
82
|
case "ArrowDown":
|
|
82
83
|
case "ArrowRight":
|
|
@@ -105,18 +106,14 @@ const Stepper = class {
|
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
registerItem(event) {
|
|
108
|
-
const item =
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
};
|
|
113
|
-
if (item.content && item.item.active) {
|
|
114
|
-
this.requestedContent = item.content;
|
|
115
|
-
}
|
|
116
|
-
if (!this.items.includes(item)) {
|
|
117
|
-
this.items.push(item);
|
|
109
|
+
const item = event.target;
|
|
110
|
+
const { content, position } = event.detail;
|
|
111
|
+
if (content && item.active) {
|
|
112
|
+
this.requestedContent = content;
|
|
118
113
|
}
|
|
119
|
-
this.
|
|
114
|
+
this.itemMap.set(item, position);
|
|
115
|
+
this.items = this.sortItems();
|
|
116
|
+
this.enabledItems = this.filterItems();
|
|
120
117
|
}
|
|
121
118
|
updateItem(event) {
|
|
122
119
|
if (event.detail.content) {
|
|
@@ -134,79 +131,100 @@ const Stepper = class {
|
|
|
134
131
|
//--------------------------------------------------------------------------
|
|
135
132
|
/** set the next step as active */
|
|
136
133
|
async nextStep() {
|
|
137
|
-
this.currentPosition
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
this.emitChangedItem();
|
|
134
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition + 1, "next");
|
|
135
|
+
if (typeof enabledStepIndex !== "number") {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
this.emitChangedItem(enabledStepIndex);
|
|
142
139
|
}
|
|
143
140
|
/** set the previous step as active */
|
|
144
141
|
async prevStep() {
|
|
145
|
-
this.currentPosition
|
|
146
|
-
|
|
147
|
-
|
|
142
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition - 1, "previous");
|
|
143
|
+
if (typeof enabledStepIndex !== "number") {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
this.emitChangedItem(enabledStepIndex);
|
|
148
147
|
}
|
|
149
148
|
/** set the requested step as active */
|
|
150
|
-
async goToStep(
|
|
151
|
-
|
|
152
|
-
this.
|
|
149
|
+
async goToStep(step) {
|
|
150
|
+
const position = step - 1;
|
|
151
|
+
if (this.currentPosition !== position) {
|
|
152
|
+
this.emitChangedItem(position);
|
|
153
|
+
}
|
|
153
154
|
}
|
|
154
155
|
/** set the first step as active */
|
|
155
156
|
async startStep() {
|
|
156
|
-
|
|
157
|
-
|
|
157
|
+
const enabledStepIndex = this.getEnabledStepIndex(0, "next");
|
|
158
|
+
if (typeof enabledStepIndex !== "number") {
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
this.emitChangedItem(enabledStepIndex);
|
|
158
162
|
}
|
|
159
163
|
/** set the last step as active */
|
|
160
164
|
async endStep() {
|
|
161
|
-
|
|
162
|
-
|
|
165
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, "previous");
|
|
166
|
+
if (typeof enabledStepIndex !== "number") {
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
this.emitChangedItem(enabledStepIndex);
|
|
163
170
|
}
|
|
164
171
|
//--------------------------------------------------------------------------
|
|
165
172
|
//
|
|
166
173
|
// Private Methods
|
|
167
174
|
//
|
|
168
175
|
//--------------------------------------------------------------------------
|
|
176
|
+
getEnabledStepIndex(startIndex, direction = "next") {
|
|
177
|
+
var _a;
|
|
178
|
+
const { items, currentPosition } = this;
|
|
179
|
+
let newIndex = startIndex;
|
|
180
|
+
while ((_a = items[newIndex]) === null || _a === void 0 ? void 0 : _a.disabled) {
|
|
181
|
+
newIndex = newIndex + (direction === "previous" ? -1 : 1);
|
|
182
|
+
}
|
|
183
|
+
return newIndex !== currentPosition && newIndex < items.length && newIndex >= 0
|
|
184
|
+
? newIndex
|
|
185
|
+
: null;
|
|
186
|
+
}
|
|
169
187
|
addHorizontalContentContainer() {
|
|
170
188
|
this.stepperContentContainer = document.createElement("div");
|
|
171
189
|
this.stepperContentContainer.classList.add("calcite-stepper-content");
|
|
172
190
|
this.el.insertAdjacentElement("beforeend", this.stepperContentContainer);
|
|
173
191
|
}
|
|
174
|
-
emitChangedItem() {
|
|
192
|
+
emitChangedItem(position) {
|
|
193
|
+
this.currentPosition = position;
|
|
175
194
|
this.calciteStepperItemChange.emit({
|
|
176
|
-
position
|
|
195
|
+
position
|
|
177
196
|
});
|
|
178
197
|
}
|
|
179
198
|
focusFirstItem() {
|
|
180
|
-
const firstItem = this.
|
|
199
|
+
const firstItem = this.enabledItems[0];
|
|
181
200
|
this.focusElement(firstItem);
|
|
182
201
|
}
|
|
183
202
|
focusLastItem() {
|
|
184
|
-
const lastItem = this.
|
|
203
|
+
const lastItem = this.enabledItems[this.enabledItems.length - 1];
|
|
185
204
|
this.focusElement(lastItem);
|
|
186
205
|
}
|
|
187
206
|
focusNextItem(e) {
|
|
188
207
|
const index = this.itemIndex(e);
|
|
189
|
-
const nextItem = this.
|
|
208
|
+
const nextItem = this.enabledItems[index + 1] || this.enabledItems[0];
|
|
190
209
|
this.focusElement(nextItem);
|
|
191
210
|
}
|
|
192
211
|
focusPrevItem(e) {
|
|
193
212
|
const index = this.itemIndex(e);
|
|
194
|
-
const prevItem = this.
|
|
213
|
+
const prevItem = this.enabledItems[index - 1] || this.enabledItems[this.enabledItems.length - 1];
|
|
195
214
|
this.focusElement(prevItem);
|
|
196
215
|
}
|
|
197
216
|
itemIndex(e) {
|
|
198
|
-
return this.
|
|
217
|
+
return this.enabledItems.indexOf(e);
|
|
199
218
|
}
|
|
200
219
|
focusElement(item) {
|
|
201
|
-
|
|
202
|
-
target.focus();
|
|
220
|
+
item.focus();
|
|
203
221
|
}
|
|
204
222
|
sortItems() {
|
|
205
|
-
const
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return
|
|
223
|
+
const { itemMap } = this;
|
|
224
|
+
return Array.from(itemMap.keys()).sort((a, b) => itemMap.get(a) - itemMap.get(b));
|
|
225
|
+
}
|
|
226
|
+
filterItems() {
|
|
227
|
+
return this.items.filter((item) => !item.disabled);
|
|
210
228
|
}
|
|
211
229
|
updateContent(content) {
|
|
212
230
|
this.stepperContentContainer.innerHTML = "";
|
|
@@ -219,7 +237,7 @@ const Stepper = class {
|
|
|
219
237
|
};
|
|
220
238
|
Stepper.style = stepperCss;
|
|
221
239
|
|
|
222
|
-
const stepperItemCss = "@-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-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-subtitle{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-subtitle{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-subtitle{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}:host .stepper-item-content{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-subtitle{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-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);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}: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}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}";
|
|
240
|
+
const stepperItemCss = "@-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-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-subtitle{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-subtitle{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-subtitle{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:start;align-self:flex-start;margin-bottom:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;cursor:pointer;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-top-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;-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)}:host{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host(:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host .stepper-item-header{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{-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);padding-block:var(--calcite-stepper-item-spacing-unit-l);-webkit-padding-end:var(--calcite-stepper-item-spacing-unit-m);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-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)}:host .stepper-item-content{display:none;width:100%;-ms-flex-direction:column;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-top:1px;display:-ms-inline-flexbox;display:inline-flex;height:0.75rem;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);-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)}:host .stepper-item-header-text{-ms-flex-direction:column;flex-direction:column;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}:host .stepper-item-title,:host .stepper-item-subtitle{display:-ms-flexbox;display:flex;width:100%}:host .stepper-item-title{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-subtitle{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);-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);-webkit-margin-end:var(--calcite-stepper-item-spacing-unit-m);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}: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}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-top-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([active])) .container,:host(:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-title,:host(:focus:not([disabled]):not([active])) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([active])) .container .stepper-item-subtitle,:host(:focus:not([disabled]):not([active])) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([active])) .container,:host([error]:focus:not([disabled]):not([active])) .container{border-top-color:var(--calcite-ui-danger-hover)}:host([active]) .container{border-top-color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-title{color:var(--calcite-ui-text-1)}:host([active]) .container .stepper-item-subtitle{color:var(--calcite-ui-text-2)}:host([active]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([active]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([layout=vertical]) .container{margin-left:0px;margin-right:0px;margin-top:0px;-ms-flex:1 1 auto;flex:1 1 auto;border-top-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-top:0px;padding-bottom:0px;border-inline-start-width:2px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-l);padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{-ms-flex-order:3;order:3;margin-top:1px;margin-bottom:0px;-webkit-padding-start:var(--calcite-stepper-item-spacing-unit-s);padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);-webkit-margin-start:auto;margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{-webkit-padding-end:0px;padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][active]) .container .stepper-item-content{display:-ms-flexbox;display:flex}:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child){margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][active]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical]:hover:not([disabled]):not([active])) .container,:host([layout=vertical]:focus:not([disabled]):not([active])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([active])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([active])) .container{border-color:var(--calcite-ui-danger-hover)}";
|
|
223
241
|
|
|
224
242
|
const StepperItem = class {
|
|
225
243
|
constructor(hostRef) {
|
|
@@ -249,6 +267,50 @@ const StepperItem = class {
|
|
|
249
267
|
/** the scale of the item */
|
|
250
268
|
/** @internal */
|
|
251
269
|
this.scale = "m";
|
|
270
|
+
//--------------------------------------------------------------------------
|
|
271
|
+
//
|
|
272
|
+
// Private Methods
|
|
273
|
+
//
|
|
274
|
+
//--------------------------------------------------------------------------
|
|
275
|
+
this.keyDownHandler = (e) => {
|
|
276
|
+
if (!this.disabled && e.target === this.el) {
|
|
277
|
+
switch (e.key) {
|
|
278
|
+
case " ":
|
|
279
|
+
case "Enter":
|
|
280
|
+
this.emitRequestedItem();
|
|
281
|
+
e.preventDefault();
|
|
282
|
+
break;
|
|
283
|
+
case "ArrowUp":
|
|
284
|
+
case "ArrowDown":
|
|
285
|
+
case "ArrowLeft":
|
|
286
|
+
case "ArrowRight":
|
|
287
|
+
case "Home":
|
|
288
|
+
case "End":
|
|
289
|
+
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
290
|
+
e.preventDefault();
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
this.emitRequestedItem = () => {
|
|
296
|
+
if (!this.disabled) {
|
|
297
|
+
this.calciteStepperItemSelect.emit({
|
|
298
|
+
position: this.itemPosition,
|
|
299
|
+
content: this.itemContent
|
|
300
|
+
});
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
this.setItemContent = (event) => {
|
|
304
|
+
this.itemPosition = this.getItemPosition();
|
|
305
|
+
const itemContent = event.target.assignedNodes({ flatten: true });
|
|
306
|
+
if (itemContent.length) {
|
|
307
|
+
this.itemContent = itemContent;
|
|
308
|
+
}
|
|
309
|
+
this.registerStepperItem();
|
|
310
|
+
if (this.active) {
|
|
311
|
+
this.emitRequestedItem();
|
|
312
|
+
}
|
|
313
|
+
};
|
|
252
314
|
}
|
|
253
315
|
// watch for removal of disabled to register step
|
|
254
316
|
disabledWatcher() {
|
|
@@ -266,50 +328,17 @@ const StepperItem = class {
|
|
|
266
328
|
this.scale = getElementProp(this.el, "scale", "m");
|
|
267
329
|
this.parentStepperEl = this.el.parentElement;
|
|
268
330
|
}
|
|
269
|
-
componentDidLoad() {
|
|
270
|
-
this.itemPosition = this.getItemPosition();
|
|
271
|
-
this.itemContent = this.getItemContent();
|
|
272
|
-
this.registerStepperItem();
|
|
273
|
-
if (this.active) {
|
|
274
|
-
this.emitRequestedItem();
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
componentDidUpdate() {
|
|
278
|
-
if (this.active) {
|
|
279
|
-
this.emitRequestedItem();
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
331
|
componentDidRender() {
|
|
283
332
|
updateHostInteraction(this, true);
|
|
284
333
|
}
|
|
285
334
|
render() {
|
|
286
|
-
return (h(Host, { "aria-expanded": this.active
|
|
335
|
+
return (h(Host, { "aria-expanded": toAriaBoolean(this.active), onClick: this.emitRequestedItem, onKeyDown: this.keyDownHandler }, h("div", { class: "container" }, h("div", { class: "stepper-item-header" }, this.icon ? this.renderIcon() : null, this.numbered ? (h("div", { class: "stepper-item-number" }, this.getItemPosition() + 1, ".")) : null, h("div", { class: "stepper-item-header-text" }, h("span", { class: "stepper-item-title" }, this.itemTitle), h("span", { class: "stepper-item-subtitle" }, this.itemSubtitle))), h("div", { class: "stepper-item-content" }, h("slot", { onSlotchange: this.setItemContent })))));
|
|
287
336
|
}
|
|
288
337
|
//--------------------------------------------------------------------------
|
|
289
338
|
//
|
|
290
339
|
// Event Listeners
|
|
291
340
|
//
|
|
292
341
|
//--------------------------------------------------------------------------
|
|
293
|
-
keyDownHandler(e) {
|
|
294
|
-
if (!this.disabled && e.target === this.el) {
|
|
295
|
-
switch (e.key) {
|
|
296
|
-
case " ":
|
|
297
|
-
case "Enter":
|
|
298
|
-
this.emitRequestedItem();
|
|
299
|
-
e.preventDefault();
|
|
300
|
-
break;
|
|
301
|
-
case "ArrowUp":
|
|
302
|
-
case "ArrowDown":
|
|
303
|
-
case "ArrowLeft":
|
|
304
|
-
case "ArrowRight":
|
|
305
|
-
case "Home":
|
|
306
|
-
case "End":
|
|
307
|
-
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
308
|
-
e.preventDefault();
|
|
309
|
-
break;
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
342
|
updateActiveItemOnChange(event) {
|
|
314
343
|
if (event.target === this.parentStepperEl ||
|
|
315
344
|
event.composedPath().includes(this.parentStepperEl)) {
|
|
@@ -317,11 +346,6 @@ const StepperItem = class {
|
|
|
317
346
|
this.determineActiveItem();
|
|
318
347
|
}
|
|
319
348
|
}
|
|
320
|
-
//--------------------------------------------------------------------------
|
|
321
|
-
//
|
|
322
|
-
// Private Methods
|
|
323
|
-
//
|
|
324
|
-
//--------------------------------------------------------------------------
|
|
325
349
|
renderIcon() {
|
|
326
350
|
const path = this.active
|
|
327
351
|
? "circleF"
|
|
@@ -341,23 +365,6 @@ const StepperItem = class {
|
|
|
341
365
|
content: this.itemContent
|
|
342
366
|
});
|
|
343
367
|
}
|
|
344
|
-
emitRequestedItem() {
|
|
345
|
-
if (!this.disabled) {
|
|
346
|
-
this.calciteStepperItemSelect.emit({
|
|
347
|
-
position: this.itemPosition,
|
|
348
|
-
content: this.itemContent
|
|
349
|
-
});
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
getItemContent() {
|
|
353
|
-
var _a;
|
|
354
|
-
// todo: Remove IE/Edge specific code.
|
|
355
|
-
return ((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("slot"))
|
|
356
|
-
? this.el.shadowRoot.querySelector("slot").assignedNodes({ flatten: true })
|
|
357
|
-
: this.el.querySelector(".stepper-item-content")
|
|
358
|
-
? this.el.querySelector(".stepper-item-content").childNodes
|
|
359
|
-
: null;
|
|
360
|
-
}
|
|
361
368
|
getItemPosition() {
|
|
362
369
|
return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"), this.el);
|
|
363
370
|
}
|
|
@@ -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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement } from './dom-
|
|
8
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
9
|
-
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21e41d50.js';
|
|
7
|
+
import { f as focusElement, t as toAriaBoolean } from './dom-39745d1e.js';
|
|
8
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-fea1699c.js';
|
|
9
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-0b706a52.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-0c69d445.js';
|
|
11
|
+
import './guid-e25185c4.js';
|
|
12
12
|
|
|
13
13
|
const switchCss = "@-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]) .container{height:0.75rem}:host([scale=s]) .track{height:0.75rem;width:1.5rem}:host([scale=s]) .handle{height:0.5rem;width:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{height:1rem;width:2rem}:host([scale=m]) .handle{height:0.75rem;width:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{height:1.5rem;width:3rem}:host([scale=l]) .handle{height:1.25rem;width:1.25rem}:host{position:relative;display:inline-block;width:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}: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}:host{width:auto;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-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)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-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);top:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-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([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::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
|
|
|
@@ -103,7 +103,7 @@ const Switch = class {
|
|
|
103
103
|
//
|
|
104
104
|
// --------------------------------------------------------------------------
|
|
105
105
|
render() {
|
|
106
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": this.checked
|
|
106
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "container", ref: this.setSwitchEl, role: "switch", tabIndex: 0 }, h("div", { class: "track" }, h("div", { class: "handle" })), h(HiddenFormInputSlot, { component: this }))));
|
|
107
107
|
}
|
|
108
108
|
get el() { return getElement(this); }
|
|
109
109
|
static get watchers() { return {
|
|
@@ -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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { n as nodeListToArray, a as getElementDir, k as filterDirectChildren, d as getElementProp } from './dom-
|
|
9
|
-
import { c as createObserver } from './observers-
|
|
10
|
-
import { u as updateHostInteraction } from './interactive-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-21e41d50.js';
|
|
7
|
+
import { g as guid } from './guid-e25185c4.js';
|
|
8
|
+
import { t as toAriaBoolean, n as nodeListToArray, a as getElementDir, k as filterDirectChildren, d as getElementProp } from './dom-39745d1e.js';
|
|
9
|
+
import { c as createObserver } from './observers-7d3eceb3.js';
|
|
10
|
+
import { u as updateHostInteraction } from './interactive-0c69d445.js';
|
|
11
11
|
|
|
12
12
|
const tabCss = "@-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([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";
|
|
13
13
|
|
|
@@ -30,7 +30,7 @@ const Tab = class {
|
|
|
30
30
|
//--------------------------------------------------------------------------
|
|
31
31
|
render() {
|
|
32
32
|
const id = this.el.id || this.guid;
|
|
33
|
-
return (h(Host, { "aria-expanded": this.active
|
|
33
|
+
return (h(Host, { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": this.labeledBy, id: id, role: "tabpanel" }, h("section", null, h("slot", null))));
|
|
34
34
|
}
|
|
35
35
|
connectedCallback() {
|
|
36
36
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
@@ -371,7 +371,7 @@ const TabTitle = class {
|
|
|
371
371
|
const showSideBorders = this.bordered && !this.disabled && this.layout !== "center";
|
|
372
372
|
const iconStartEl = (h("calcite-icon", { class: "calcite-tab-title--icon icon-start", flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
373
373
|
const iconEndEl = (h("calcite-icon", { class: "calcite-tab-title--icon icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
374
|
-
return (h(Host, { "aria-controls": this.controls, "aria-expanded": this.active
|
|
374
|
+
return (h(Host, { "aria-controls": this.controls, "aria-expanded": toAriaBoolean(this.active), id: id, role: "tab" }, h("a", { class: {
|
|
375
375
|
container: true,
|
|
376
376
|
"container--has-text": this.hasText
|
|
377
377
|
}, style: showSideBorders && { width: `${this.parentTabNavEl.indicatorWidth}px` } }, this.iconStart ? iconStartEl : null, h("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
@@ -1,11 +1,11 @@
|
|
|
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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { u as updateHostInteraction } from './interactive-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-21e41d50.js';
|
|
7
|
+
import { g as guid } from './guid-e25185c4.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive-0c69d445.js';
|
|
9
9
|
|
|
10
10
|
const CSS = {
|
|
11
11
|
checked: "checked",
|
|
@@ -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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted } from './dom-
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import './guid-
|
|
11
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, h, F as Fragment, g as getElement } from './index-21e41d50.js';
|
|
7
|
+
import { g as getSlotted } from './dom-39745d1e.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-5e4d7066.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-0c69d445.js';
|
|
10
|
+
import './guid-e25185c4.js';
|
|
11
|
+
import './observers-7d3eceb3.js';
|
|
12
12
|
|
|
13
13
|
const SLOTS = {
|
|
14
14
|
contentStart: "content-start",
|
|
@@ -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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-
|
|
7
|
-
import { g as getSlotted, a as getElementDir } from './dom-
|
|
8
|
-
import { H as Heading, c as constrainHeadingLevel } from './Heading-
|
|
9
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
10
|
-
import { c as createObserver } from './observers-
|
|
11
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-21e41d50.js';
|
|
7
|
+
import { g as getSlotted, a as getElementDir, t as toAriaBoolean } from './dom-39745d1e.js';
|
|
8
|
+
import { H as Heading, c as constrainHeadingLevel } from './Heading-905e0fd2.js';
|
|
9
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-5e4d7066.js';
|
|
10
|
+
import { c as createObserver } from './observers-7d3eceb3.js';
|
|
11
|
+
import './guid-e25185c4.js';
|
|
12
12
|
|
|
13
13
|
const CSS$1 = {
|
|
14
14
|
header: "header",
|
|
@@ -293,7 +293,7 @@ const TipManager = class {
|
|
|
293
293
|
if (total === 0) {
|
|
294
294
|
return null;
|
|
295
295
|
}
|
|
296
|
-
return (h("section", { "aria-hidden": closed
|
|
296
|
+
return (h("section", { "aria-hidden": toAriaBoolean(closed), class: CSS$1.container, hidden: closed, onKeyUp: this.tipManagerKeyUpHandler, ref: this.storeContainerRef, tabIndex: 0 }, h("header", { class: CSS$1.header }, h(Heading, { class: CSS$1.heading, level: headingLevel || HEADING_LEVEL$1 }, groupTitle), h("calcite-action", { class: CSS$1.close, onClick: this.hideTipManager, scale: "m", text: closeLabel }, h("calcite-icon", { icon: ICONS$1.close, scale: "m" }))), h("div", { class: {
|
|
297
297
|
[CSS$1.tipContainer]: true,
|
|
298
298
|
[CSS$1.tipContainerAdvancing]: !closed && direction === "advancing",
|
|
299
299
|
[CSS$1.tipContainerRetreating]: !closed && direction === "retreating"
|
|
@@ -1,12 +1,12 @@
|
|
|
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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { g as guid } from './guid-
|
|
8
|
-
import { a as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper-
|
|
9
|
-
import { q as queryElementRoots } from './dom-
|
|
6
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-21e41d50.js';
|
|
7
|
+
import { g as guid } from './guid-e25185c4.js';
|
|
8
|
+
import { a as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper-bb7c74f6.js';
|
|
9
|
+
import { q as queryElementRoots, t as toAriaBoolean } from './dom-39745d1e.js';
|
|
10
10
|
|
|
11
11
|
const CSS = {
|
|
12
12
|
container: "container",
|
|
@@ -336,7 +336,7 @@ const Tooltip = class {
|
|
|
336
336
|
const { effectiveReferenceElement, label, open } = this;
|
|
337
337
|
const displayed = effectiveReferenceElement && open;
|
|
338
338
|
const hidden = !displayed;
|
|
339
|
-
return (h(Host, { "aria-hidden": hidden
|
|
339
|
+
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, h("div", { class: {
|
|
340
340
|
[CSS$1.animation]: true,
|
|
341
341
|
[CSS$1.animationActive]: displayed
|
|
342
342
|
} }, h("div", { class: CSS.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), h("div", { class: CSS.container }, h("slot", null)))));
|
|
@@ -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.465
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { f as focusElement, n as nodeListToArray, g as getSlotted, a as getElementDir, C as CSS_UTILITY, k as filterDirectChildren } from './dom-
|
|
8
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './observers-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-21e41d50.js';
|
|
7
|
+
import { f as focusElement, n as nodeListToArray, g as getSlotted, a as getElementDir, C as CSS_UTILITY, t as toAriaBoolean, k as filterDirectChildren } from './dom-39745d1e.js';
|
|
8
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-5e4d7066.js';
|
|
9
|
+
import './guid-e25185c4.js';
|
|
10
|
+
import './observers-7d3eceb3.js';
|
|
11
11
|
|
|
12
12
|
var TreeSelectionMode;
|
|
13
13
|
(function (TreeSelectionMode) {
|
|
@@ -401,7 +401,7 @@ const TreeItem = class {
|
|
|
401
401
|
[CSS_UTILITY.rtl]: rtl
|
|
402
402
|
}, icon: selectedIcon, scale: "s" })) : null;
|
|
403
403
|
const hidden = !(this.parentExpanded || this.depth === 1);
|
|
404
|
-
return (h(Host, { "aria-expanded": this.hasChildren ? this.expanded
|
|
404
|
+
return (h(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(this.expanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem", tabindex: this.parentExpanded || this.depth === 1 ? "0" : "-1" }, h("div", { class: {
|
|
405
405
|
[CSS.nodeContainer]: true,
|
|
406
406
|
[CSS_UTILITY.rtl]: rtl
|
|
407
407
|
}, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, bulletOrCheckIcon, checkbox ? checkbox : defaultSlotNode), h("div", { class: {
|