@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
package/hydrate/index.js
CHANGED
|
@@ -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
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
10
|
/*!
|
|
11
|
-
Stencil Mock Doc v2.15.
|
|
11
|
+
Stencil Mock Doc v2.15.2 | MIT Licensed | https://stenciljs.com
|
|
12
12
|
*/
|
|
13
13
|
const CONTENT_REF_ID = 'r';
|
|
14
14
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -4743,7 +4743,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4743
4743
|
|
|
4744
4744
|
|
|
4745
4745
|
const NAMESPACE = 'calcite';
|
|
4746
|
-
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate:
|
|
4746
|
+
const BUILD = /* calcite */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4747
4747
|
|
|
4748
4748
|
function componentOnReady() {
|
|
4749
4749
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -5213,8 +5213,7 @@ const callRender = (e, t, o) => {
|
|
|
5213
5213
|
}, postUpdateComponent = e => {
|
|
5214
5214
|
const t = e.$cmpMeta$.$tagName$, o = e.$hostElement$, n = createTime("postUpdate", t), s = e.$lazyInstance$ , l = e.$ancestorComponent$;
|
|
5215
5215
|
(safeCall(s, "componentDidRender"),
|
|
5216
|
-
BUILD.isDev ), 64 & e.$flags$ ? ((
|
|
5217
|
-
BUILD.isDev ), n()) : (e.$flags$ |= 64, addHydratedFlag(o),
|
|
5216
|
+
BUILD.isDev ), 64 & e.$flags$ ? (n()) : (e.$flags$ |= 64, addHydratedFlag(o),
|
|
5218
5217
|
(safeCall(s, "componentDidLoad"),
|
|
5219
5218
|
BUILD.isDev ), n(), (e.$onReadyResolve$(o), l || appDidLoad())), e.$onInstanceResolve$(o), (e.$onRenderResolve$ && (e.$onRenderResolve$(),
|
|
5220
5219
|
e.$onRenderResolve$ = void 0), 512 & e.$flags$ && nextTick((() => scheduleUpdate(e, !1))),
|
|
@@ -5908,6 +5907,16 @@ function intersects(rect1, rect2) {
|
|
|
5908
5907
|
rect2.top > rect1.bottom ||
|
|
5909
5908
|
rect2.bottom < rect1.top);
|
|
5910
5909
|
}
|
|
5910
|
+
/**
|
|
5911
|
+
* This helper makes sure that boolean aria attributes are properly converted to a string.
|
|
5912
|
+
*
|
|
5913
|
+
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
5914
|
+
*
|
|
5915
|
+
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
5916
|
+
*/
|
|
5917
|
+
function toAriaBoolean(value) {
|
|
5918
|
+
return (!!value).toString();
|
|
5919
|
+
}
|
|
5911
5920
|
|
|
5912
5921
|
const accordionItemCss = "@-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*/.sc-calcite-accordion-item: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*/.calcite-animate.sc-calcite-accordion-item{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*/.calcite-animate__in.sc-calcite-accordion-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-accordion-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-accordion-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-accordion-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-accordion-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-accordion-item-h{display:none}/*!@.icon-position--end, .icon-position--start*/.icon-position--end.sc-calcite-accordion-item,.icon-position--start.sc-calcite-accordion-item{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}/*!@.icon-position--start*/.icon-position--start.sc-calcite-accordion-item{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}/*!@.icon-position--end*/.icon-position--end.sc-calcite-accordion-item{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}/*!@.icon-position--end:not(.icon-type--plus-minus)*/.icon-position--end.sc-calcite-accordion-item:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}/*!@:host*/.sc-calcite-accordion-item-h{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}/*!@:host .accordion-item-header*/.sc-calcite-accordion-item-h .accordion-item-header.sc-calcite-accordion-item{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) .accordion-item-header*/.sc-calcite-accordion-item-h:focus .accordion-item-header.sc-calcite-accordion-item{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([active])*/[active].sc-calcite-accordion-item-h{color:var(--calcite-ui-text-1)}/*!@:host([active]) .accordion-item-content*/[active].sc-calcite-accordion-item-h .accordion-item-content.sc-calcite-accordion-item{display:block;color:var(--calcite-ui-text-1)}/*!@:host([active]) .accordion-item-header*/[active].sc-calcite-accordion-item-h .accordion-item-header.sc-calcite-accordion-item{border-bottom-color:transparent}/*!@:host .accordion-item-header*/.sc-calcite-accordion-item-h .accordion-item-header.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-direction:var(--calcite-accordion-item-flex-direction);flex-direction:var(--calcite-accordion-item-flex-direction)}/*!@:host .accordion-item-icon*/.sc-calcite-accordion-item-h .accordion-item-icon.sc-calcite-accordion-item{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;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-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-end);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}/*!@:host .accordion-item-content,\n:host .accordion-item-header*/.sc-calcite-accordion-item-h .accordion-item-content.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .accordion-item-header.sc-calcite-accordion-item{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}/*!@:host .accordion-item-header **/.sc-calcite-accordion-item-h .accordion-item-header.sc-calcite-accordion-item *.sc-calcite-accordion-item{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 .accordion-item-content*/.sc-calcite-accordion-item-h .accordion-item-content.sc-calcite-accordion-item{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}/*!@:host .accordion-item-expand-icon*/.sc-calcite-accordion-item-h .accordion-item-expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-3);-webkit-margin-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);-webkit-margin-end:var(--calcite-accordion-item-icon-spacing-end);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation));transform:rotate(var(--calcite-accordion-item-icon-rotation))}/*!@.calcite--rtl .accordion-item-expand-icon*/.calcite--rtl.sc-calcite-accordion-item .accordion-item-expand-icon.sc-calcite-accordion-item{-webkit-transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}/*!@:host([active]) .accordion-item-expand-icon*/[active].sc-calcite-accordion-item-h .accordion-item-expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1);-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation));transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}/*!@:host([active]) .calcite--rtl .accordion-item-expand-icon*/[active].sc-calcite-accordion-item-h .calcite--rtl.sc-calcite-accordion-item .accordion-item-expand-icon.sc-calcite-accordion-item{-webkit-transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl));transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}/*!@:host .accordion-item-header-text*/.sc-calcite-accordion-item-h .accordion-item-header-text.sc-calcite-accordion-item{margin-top:0px;margin-bottom:0px;-ms-flex-positive:1;flex-grow:1;-ms-flex-direction:column;flex-direction:column;padding-top:0px;padding-bottom:0px;text-align:initial;-webkit-margin-end:auto;margin-inline-end:auto}/*!@:host .accordion-item-title, :host .accordion-item-subtitle*/.sc-calcite-accordion-item-h .accordion-item-title.sc-calcite-accordion-item,.sc-calcite-accordion-item-h .accordion-item-subtitle.sc-calcite-accordion-item{display:-ms-flexbox;display:flex;width:100%}/*!@:host .accordion-item-title*/.sc-calcite-accordion-item-h .accordion-item-title.sc-calcite-accordion-item{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .accordion-item-subtitle*/.sc-calcite-accordion-item-h .accordion-item-subtitle.sc-calcite-accordion-item{margin-top:0.25rem;color:var(--calcite-ui-text-3)}/*!@:host(:focus) .accordion-item-title, :host(:hover) .accordion-item-title*/.sc-calcite-accordion-item-h:focus .accordion-item-title.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .accordion-item-title.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .accordion-item-icon, :host(:hover) .accordion-item-icon*/.sc-calcite-accordion-item-h:focus .accordion-item-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .accordion-item-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .accordion-item-expand-icon, :host(:hover) .accordion-item-expand-icon*/.sc-calcite-accordion-item-h:focus .accordion-item-expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .accordion-item-expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .accordion-item-subtitle, :host(:hover) .accordion-item-subtitle*/.sc-calcite-accordion-item-h:focus .accordion-item-subtitle.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:hover .accordion-item-subtitle.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}/*!@:host(:focus) .accordion-item-title, :host(:active) .accordion-item-title, :host([active]) .accordion-item-title*/.sc-calcite-accordion-item-h:focus .accordion-item-title.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .accordion-item-title.sc-calcite-accordion-item,[active].sc-calcite-accordion-item-h .accordion-item-title.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .accordion-item-icon, :host(:active) .accordion-item-icon, :host([active]) .accordion-item-icon*/.sc-calcite-accordion-item-h:focus .accordion-item-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .accordion-item-icon.sc-calcite-accordion-item,[active].sc-calcite-accordion-item-h .accordion-item-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .accordion-item-expand-icon, :host(:active) .accordion-item-expand-icon, :host([active]) .accordion-item-expand-icon*/.sc-calcite-accordion-item-h:focus .accordion-item-expand-icon.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .accordion-item-expand-icon.sc-calcite-accordion-item,[active].sc-calcite-accordion-item-h .accordion-item-expand-icon.sc-calcite-accordion-item{color:var(--calcite-ui-text-1)}/*!@:host(:focus) .accordion-item-subtitle, :host(:active) .accordion-item-subtitle, :host([active]) .accordion-item-subtitle*/.sc-calcite-accordion-item-h:focus .accordion-item-subtitle.sc-calcite-accordion-item,.sc-calcite-accordion-item-h:active .accordion-item-subtitle.sc-calcite-accordion-item,[active].sc-calcite-accordion-item-h .accordion-item-subtitle.sc-calcite-accordion-item{color:var(--calcite-ui-text-2)}";
|
|
5913
5922
|
|
|
@@ -5972,7 +5981,7 @@ class AccordionItem {
|
|
|
5972
5981
|
? "caretDown"
|
|
5973
5982
|
: this.active
|
|
5974
5983
|
? "minus"
|
|
5975
|
-
: "plus", scale: "s" })), hAsync("div", { "aria-expanded": this.active
|
|
5984
|
+
: "plus", scale: "s" })), hAsync("div", { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": buttonId, class: "accordion-item-content", id: regionId, role: "region" }, hAsync("slot", null)))));
|
|
5976
5985
|
}
|
|
5977
5986
|
//--------------------------------------------------------------------------
|
|
5978
5987
|
//
|
|
@@ -6236,7 +6245,7 @@ class Action {
|
|
|
6236
6245
|
[CSS$P.buttonTextVisible]: textEnabled,
|
|
6237
6246
|
[CSS$P.buttonCompact]: compact
|
|
6238
6247
|
};
|
|
6239
|
-
return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("button", { "aria-busy": loading
|
|
6248
|
+
return (hAsync(Host, { onClick: this.calciteActionClickHandler }, hAsync("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
6240
6249
|
}
|
|
6241
6250
|
get el() { return getElement(this); }
|
|
6242
6251
|
static get style() { return actionCss; }
|
|
@@ -8012,7 +8021,7 @@ class ActionMenu {
|
|
|
8012
8021
|
}
|
|
8013
8022
|
menuButtonEl.active = open;
|
|
8014
8023
|
menuButtonEl.setAttribute("aria-controls", menuId);
|
|
8015
|
-
menuButtonEl.setAttribute("aria-expanded", open
|
|
8024
|
+
menuButtonEl.setAttribute("aria-expanded", toAriaBoolean(open));
|
|
8016
8025
|
menuButtonEl.setAttribute("aria-haspopup", "true");
|
|
8017
8026
|
if (!menuButtonEl.id) {
|
|
8018
8027
|
menuButtonEl.id = menuButtonId;
|
|
@@ -8526,7 +8535,7 @@ class Alert {
|
|
|
8526
8535
|
const { active, autoDismiss, label, placement, queued, requestedIcon } = this;
|
|
8527
8536
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
8528
8537
|
const hidden = !active;
|
|
8529
|
-
return (hAsync(Host, { "aria-hidden": hidden
|
|
8538
|
+
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
|
|
8530
8539
|
container: true,
|
|
8531
8540
|
queued,
|
|
8532
8541
|
[placement]: true
|
|
@@ -9045,10 +9054,10 @@ class Block {
|
|
|
9045
9054
|
const { guid } = this;
|
|
9046
9055
|
const regionId = `${guid}-region`;
|
|
9047
9056
|
const buttonId = `${guid}-button`;
|
|
9048
|
-
const headerNode = (hAsync("div", { class: CSS$L.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? open
|
|
9049
|
-
return (hAsync(Host, null, hAsync("article", { "aria-busy": loading
|
|
9057
|
+
const headerNode = (hAsync("div", { class: CSS$L.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$L.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$L.controlContainer }, hAsync("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$m.options }, hAsync("slot", { name: SLOTS$k.headerMenuActions }))) : null));
|
|
9058
|
+
return (hAsync(Host, null, hAsync("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
9050
9059
|
[CSS$L.article]: true
|
|
9051
|
-
} }, headerNode, hAsync("section", { "aria-expanded":
|
|
9060
|
+
} }, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$L.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
9052
9061
|
}
|
|
9053
9062
|
get el() { return getElement(this); }
|
|
9054
9063
|
static get style() { return blockCss; }
|
|
@@ -9172,7 +9181,7 @@ class BlockSection {
|
|
|
9172
9181
|
[CSS$K.sectionHeader]: true,
|
|
9173
9182
|
[CSS$K.toggle]: true
|
|
9174
9183
|
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, hAsync("calcite-icon", { icon: arrowIcon, scale: "s" }), hAsync("span", { class: CSS$K.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
9175
|
-
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": open
|
|
9184
|
+
return (hAsync(Host, null, headerNode, hAsync("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$K.content, hidden: !open, id: regionId }, hAsync("slot", null))));
|
|
9176
9185
|
}
|
|
9177
9186
|
get el() { return getElement(this); }
|
|
9178
9187
|
static get style() { return blockSectionCss; }
|
|
@@ -9798,7 +9807,7 @@ class Card {
|
|
|
9798
9807
|
disconnectConditionalSlotComponent(this);
|
|
9799
9808
|
}
|
|
9800
9809
|
render() {
|
|
9801
|
-
return (hAsync("div", { class: "calcite-card-container" }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, hAsync("section", { "aria-busy": this.loading
|
|
9810
|
+
return (hAsync("div", { class: "calcite-card-container" }, this.loading ? (hAsync("div", { class: "calcite-card-loader-container" }, hAsync("calcite-loader", { active: true, label: this.intlLoading }))) : null, hAsync("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$I.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderThumbnail(), this.renderHeader(), hAsync("div", { class: "card-content" }, hAsync("slot", null)), this.renderFooter())));
|
|
9802
9811
|
}
|
|
9803
9812
|
selectCard() {
|
|
9804
9813
|
this.selected = !this.selected;
|
|
@@ -9958,7 +9967,7 @@ class Checkbox {
|
|
|
9958
9967
|
//
|
|
9959
9968
|
// --------------------------------------------------------------------------
|
|
9960
9969
|
render() {
|
|
9961
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-checked": this.checked
|
|
9970
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "toggle", onBlur: this.onToggleBlur, onFocus: this.onToggleFocus, ref: (toggleEl) => (this.toggleEl = toggleEl), role: "checkbox", tabIndex: this.disabled ? undefined : 0 }, hAsync("svg", { class: "check-svg", viewBox: "0 0 16 16" }, hAsync("path", { d: this.getPath() })), hAsync("slot", null)), hAsync(HiddenFormInputSlot, { component: this })));
|
|
9962
9971
|
}
|
|
9963
9972
|
get el() { return getElement(this); }
|
|
9964
9973
|
static get style() { return checkboxCss; }
|
|
@@ -15422,7 +15431,7 @@ class Combobox {
|
|
|
15422
15431
|
: null;
|
|
15423
15432
|
};
|
|
15424
15433
|
this.getValue = () => {
|
|
15425
|
-
const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());
|
|
15434
|
+
const items = this.selectedItems.map((item) => { var _a; return (_a = item === null || item === void 0 ? void 0 : item.value) === null || _a === void 0 ? void 0 : _a.toString(); });
|
|
15426
15435
|
return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
|
|
15427
15436
|
};
|
|
15428
15437
|
this.onLabelClick = () => {
|
|
@@ -16079,7 +16088,7 @@ class Combobox {
|
|
|
16079
16088
|
}, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
|
|
16080
16089
|
}
|
|
16081
16090
|
renderListBoxOptions() {
|
|
16082
|
-
return this.visibleItems.map((item) => (hAsync("li", { "aria-selected": (
|
|
16091
|
+
return this.visibleItems.map((item) => (hAsync("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
16083
16092
|
}
|
|
16084
16093
|
renderPopperContainer() {
|
|
16085
16094
|
const { active, setMenuEl, setListContainerEl } = this;
|
|
@@ -16103,7 +16112,7 @@ class Combobox {
|
|
|
16103
16112
|
render() {
|
|
16104
16113
|
const { active, guid, label } = this;
|
|
16105
16114
|
const single = this.selectionMode === "single";
|
|
16106
|
-
return (hAsync(Host, { onKeyDown: this.keydownHandler }, hAsync("div", { "aria-autocomplete": "list", "aria-expanded": active
|
|
16115
|
+
return (hAsync(Host, { onKeyDown: this.keydownHandler }, hAsync("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
16107
16116
|
wrapper: true,
|
|
16108
16117
|
"wrapper--single": single || !this.selectedItems.length,
|
|
16109
16118
|
"wrapper--active": active
|
|
@@ -17809,7 +17818,7 @@ class Dropdown {
|
|
|
17809
17818
|
}
|
|
17810
17819
|
render() {
|
|
17811
17820
|
const { active } = this;
|
|
17812
|
-
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-expanded": active
|
|
17821
|
+
return (hAsync(Host, null, hAsync("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, hAsync("slot", { "aria-expanded": toAriaBoolean(active), "aria-haspopup": "true", name: SLOTS$h.dropdownTrigger, onSlotchange: this.updateTriggers })), hAsync("div", { "aria-hidden": toAriaBoolean(!active), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, hAsync("div", { class: {
|
|
17813
17822
|
["calcite-dropdown-content"]: true,
|
|
17814
17823
|
[CSS$D.animation]: true,
|
|
17815
17824
|
[CSS$D.animationActive]: active
|
|
@@ -18175,7 +18184,7 @@ class DropdownItem {
|
|
|
18175
18184
|
: this.selectionMode === "multi"
|
|
18176
18185
|
? "menuitemcheckbox"
|
|
18177
18186
|
: "menuitem";
|
|
18178
|
-
const itemAria = this.selectionMode !== "none" ? this.active
|
|
18187
|
+
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
|
|
18179
18188
|
return (hAsync(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, hAsync("div", { class: {
|
|
18180
18189
|
container: true,
|
|
18181
18190
|
[CSS$z.containerLink]: !!this.href,
|
|
@@ -18960,7 +18969,7 @@ class Handle {
|
|
|
18960
18969
|
render() {
|
|
18961
18970
|
return (
|
|
18962
18971
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
18963
|
-
hAsync("span", { "aria-pressed": this.activated
|
|
18972
|
+
hAsync("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$v.handle]: true, [CSS$v.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
18964
18973
|
this.handleButton = el;
|
|
18965
18974
|
}, role: "button", tabindex: "0", title: this.textTitle }, hAsync("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
|
|
18966
18975
|
}
|
|
@@ -19040,7 +19049,7 @@ class Icon {
|
|
|
19040
19049
|
const size = scaleToPx[scale];
|
|
19041
19050
|
const semantic = !!textLabel;
|
|
19042
19051
|
const paths = [].concat(pathData || "");
|
|
19043
|
-
return (hAsync(Host, { "aria-hidden": (!semantic)
|
|
19052
|
+
return (hAsync(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, hAsync("svg", { class: {
|
|
19044
19053
|
[CSS$u.flipRtl]: dir === "rtl" && flipRtl,
|
|
19045
19054
|
svg: true
|
|
19046
19055
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (hAsync("path", { d: path })) : (hAsync("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
@@ -19429,9 +19438,9 @@ class Input {
|
|
|
19429
19438
|
this.value = "";
|
|
19430
19439
|
/** keep track of the rendered child type */
|
|
19431
19440
|
this.childElType = "input";
|
|
19432
|
-
|
|
19433
|
-
this.internalValueChange = false;
|
|
19441
|
+
this.previousValueOrigin = "initial";
|
|
19434
19442
|
this.mutationObserver = createObserver();
|
|
19443
|
+
this.userChangedValue = false;
|
|
19435
19444
|
//--------------------------------------------------------------------------
|
|
19436
19445
|
//
|
|
19437
19446
|
// Private Methods
|
|
@@ -19453,20 +19462,22 @@ class Input {
|
|
|
19453
19462
|
this.setValue({
|
|
19454
19463
|
committing: true,
|
|
19455
19464
|
nativeEvent,
|
|
19465
|
+
origin: "user",
|
|
19456
19466
|
value: ""
|
|
19457
19467
|
});
|
|
19458
19468
|
};
|
|
19459
|
-
this.
|
|
19460
|
-
if (this.
|
|
19461
|
-
this.
|
|
19469
|
+
this.emitChangeIfUserModified = () => {
|
|
19470
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
19471
|
+
this.calciteInputChange.emit();
|
|
19462
19472
|
}
|
|
19473
|
+
this.previousEmittedValue = this.value;
|
|
19474
|
+
};
|
|
19475
|
+
this.inputBlurHandler = () => {
|
|
19463
19476
|
this.calciteInputBlur.emit({
|
|
19464
19477
|
element: this.childEl,
|
|
19465
19478
|
value: this.value
|
|
19466
19479
|
});
|
|
19467
|
-
|
|
19468
|
-
this.calciteInputChange.emit();
|
|
19469
|
-
}
|
|
19480
|
+
this.emitChangeIfUserModified();
|
|
19470
19481
|
};
|
|
19471
19482
|
this.inputFocusHandler = (event) => {
|
|
19472
19483
|
const slottedActionEl = getSlotted(this.el, "action");
|
|
@@ -19477,7 +19488,6 @@ class Input {
|
|
|
19477
19488
|
element: this.childEl,
|
|
19478
19489
|
value: this.value
|
|
19479
19490
|
});
|
|
19480
|
-
this.preFocusValue = this.value;
|
|
19481
19491
|
};
|
|
19482
19492
|
this.inputInputHandler = (nativeEvent) => {
|
|
19483
19493
|
if (this.disabled || this.readOnly) {
|
|
@@ -19485,6 +19495,7 @@ class Input {
|
|
|
19485
19495
|
}
|
|
19486
19496
|
this.setValue({
|
|
19487
19497
|
nativeEvent,
|
|
19498
|
+
origin: "user",
|
|
19488
19499
|
value: nativeEvent.target.value
|
|
19489
19500
|
});
|
|
19490
19501
|
};
|
|
@@ -19493,7 +19504,7 @@ class Input {
|
|
|
19493
19504
|
return;
|
|
19494
19505
|
}
|
|
19495
19506
|
if (event.key === "Enter") {
|
|
19496
|
-
this.
|
|
19507
|
+
this.emitChangeIfUserModified();
|
|
19497
19508
|
}
|
|
19498
19509
|
};
|
|
19499
19510
|
this.inputNumberInputHandler = (nativeEvent) => {
|
|
@@ -19508,6 +19519,7 @@ class Input {
|
|
|
19508
19519
|
}
|
|
19509
19520
|
this.setValue({
|
|
19510
19521
|
nativeEvent,
|
|
19522
|
+
origin: "user",
|
|
19511
19523
|
value: parseNumberString(delocalizedValue)
|
|
19512
19524
|
});
|
|
19513
19525
|
this.childNumberEl.value = this.localizedValue;
|
|
@@ -19515,6 +19527,7 @@ class Input {
|
|
|
19515
19527
|
else {
|
|
19516
19528
|
this.setValue({
|
|
19517
19529
|
nativeEvent,
|
|
19530
|
+
origin: "user",
|
|
19518
19531
|
value: delocalizedValue
|
|
19519
19532
|
});
|
|
19520
19533
|
}
|
|
@@ -19549,7 +19562,7 @@ class Input {
|
|
|
19549
19562
|
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
19550
19563
|
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
19551
19564
|
if (event.key === "Enter") {
|
|
19552
|
-
this.
|
|
19565
|
+
this.emitChangeIfUserModified();
|
|
19553
19566
|
}
|
|
19554
19567
|
return;
|
|
19555
19568
|
}
|
|
@@ -19623,6 +19636,14 @@ class Input {
|
|
|
19623
19636
|
}
|
|
19624
19637
|
this[`child${this.type === "number" ? "Number" : ""}El`].value = newInputValue;
|
|
19625
19638
|
};
|
|
19639
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
19640
|
+
this.previousEmittedValue =
|
|
19641
|
+
this.type === "number"
|
|
19642
|
+
? isValidNumber(newPreviousEmittedValue)
|
|
19643
|
+
? newPreviousEmittedValue
|
|
19644
|
+
: ""
|
|
19645
|
+
: newPreviousEmittedValue;
|
|
19646
|
+
};
|
|
19626
19647
|
this.setPreviousValue = (newPreviousValue) => {
|
|
19627
19648
|
this.previousValue =
|
|
19628
19649
|
this.type === "number"
|
|
@@ -19631,7 +19652,7 @@ class Input {
|
|
|
19631
19652
|
: ""
|
|
19632
19653
|
: newPreviousValue;
|
|
19633
19654
|
};
|
|
19634
|
-
this.setValue = ({ committing = false, nativeEvent, origin
|
|
19655
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
19635
19656
|
const previousLocalizedValue = this.type === "number"
|
|
19636
19657
|
? localizeNumberString(this.previousValue, this.locale, this.groupSeparator)
|
|
19637
19658
|
: "";
|
|
@@ -19644,13 +19665,14 @@ class Input {
|
|
|
19644
19665
|
const newLocalizedValue = this.type === "number"
|
|
19645
19666
|
? localizeNumberString(newValue, this.locale, this.groupSeparator)
|
|
19646
19667
|
: "";
|
|
19647
|
-
this.
|
|
19648
|
-
this.
|
|
19668
|
+
this.setPreviousValue(previousValue || this.value);
|
|
19669
|
+
this.previousValueOrigin = origin;
|
|
19670
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
19649
19671
|
this.value = newValue;
|
|
19650
19672
|
if (this.type === "number") {
|
|
19651
19673
|
this.localizedValue = newLocalizedValue;
|
|
19652
19674
|
}
|
|
19653
|
-
if (origin === "
|
|
19675
|
+
if (origin === "direct") {
|
|
19654
19676
|
this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
|
|
19655
19677
|
}
|
|
19656
19678
|
if (nativeEvent) {
|
|
@@ -19664,7 +19686,7 @@ class Input {
|
|
|
19664
19686
|
this.localizedValue = previousLocalizedValue;
|
|
19665
19687
|
}
|
|
19666
19688
|
else if (committing) {
|
|
19667
|
-
this.
|
|
19689
|
+
this.emitChangeIfUserModified();
|
|
19668
19690
|
}
|
|
19669
19691
|
}
|
|
19670
19692
|
};
|
|
@@ -19685,10 +19707,11 @@ class Input {
|
|
|
19685
19707
|
var _a;
|
|
19686
19708
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
19687
19709
|
}
|
|
19688
|
-
valueWatcher(newValue) {
|
|
19689
|
-
if (!this.
|
|
19710
|
+
valueWatcher(newValue, previousValue) {
|
|
19711
|
+
if (!this.userChangedValue) {
|
|
19690
19712
|
this.setValue({
|
|
19691
|
-
origin: "
|
|
19713
|
+
origin: "direct",
|
|
19714
|
+
previousValue,
|
|
19692
19715
|
value: newValue == null || newValue == ""
|
|
19693
19716
|
? ""
|
|
19694
19717
|
: this.type === "number"
|
|
@@ -19699,7 +19722,7 @@ class Input {
|
|
|
19699
19722
|
});
|
|
19700
19723
|
this.warnAboutInvalidNumberValue(newValue);
|
|
19701
19724
|
}
|
|
19702
|
-
this.
|
|
19725
|
+
this.userChangedValue = false;
|
|
19703
19726
|
}
|
|
19704
19727
|
updateRequestedIcon() {
|
|
19705
19728
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -19723,11 +19746,12 @@ class Input {
|
|
|
19723
19746
|
if (this.inlineEditableEl) {
|
|
19724
19747
|
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
19725
19748
|
}
|
|
19749
|
+
this.setPreviousEmittedValue(this.value);
|
|
19726
19750
|
this.setPreviousValue(this.value);
|
|
19727
19751
|
if (this.type === "number") {
|
|
19728
19752
|
this.warnAboutInvalidNumberValue(this.value);
|
|
19729
19753
|
this.setValue({
|
|
19730
|
-
origin: "
|
|
19754
|
+
origin: "connected",
|
|
19731
19755
|
value: isValidNumber(this.value) ? this.value : ""
|
|
19732
19756
|
});
|
|
19733
19757
|
}
|
|
@@ -19752,6 +19776,7 @@ class Input {
|
|
|
19752
19776
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
19753
19777
|
if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
|
|
19754
19778
|
this.setValue({
|
|
19779
|
+
origin: "reset",
|
|
19755
19780
|
value: oldValue
|
|
19756
19781
|
});
|
|
19757
19782
|
return false;
|
|
@@ -19794,11 +19819,13 @@ class Input {
|
|
|
19794
19819
|
this.setValue({
|
|
19795
19820
|
committing: true,
|
|
19796
19821
|
nativeEvent,
|
|
19822
|
+
origin: "user",
|
|
19797
19823
|
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
19798
19824
|
});
|
|
19799
19825
|
}
|
|
19800
19826
|
onFormReset() {
|
|
19801
19827
|
this.setValue({
|
|
19828
|
+
origin: "reset",
|
|
19802
19829
|
value: this.defaultValue
|
|
19803
19830
|
});
|
|
19804
19831
|
}
|
|
@@ -20214,7 +20241,7 @@ class InputDatePicker {
|
|
|
20214
20241
|
: null;
|
|
20215
20242
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
20216
20243
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
20217
|
-
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": this.active
|
|
20244
|
+
return (hAsync(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (hAsync("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, hAsync("div", { class: "input-wrapper", ref: this.setStartWrapper }, hAsync("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputBlur: this.inputBlur, onCalciteInputFocus: this.startInputFocus, onCalciteInputInput: this.inputInput, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), hAsync("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
|
|
20218
20245
|
"menu-container": true,
|
|
20219
20246
|
"menu-container--active": this.active
|
|
20220
20247
|
}, ref: this.setMenuEl }, hAsync("div", { class: {
|
|
@@ -22413,11 +22440,21 @@ class Panel {
|
|
|
22413
22440
|
* Opens the action menu.
|
|
22414
22441
|
*/
|
|
22415
22442
|
this.menuOpen = false;
|
|
22443
|
+
this.resizeObserver = createObserver();
|
|
22416
22444
|
// --------------------------------------------------------------------------
|
|
22417
22445
|
//
|
|
22418
22446
|
// Private Methods
|
|
22419
22447
|
//
|
|
22420
22448
|
// --------------------------------------------------------------------------
|
|
22449
|
+
this.resizeHandler = () => {
|
|
22450
|
+
const { panelScrollEl } = this;
|
|
22451
|
+
if (!panelScrollEl ||
|
|
22452
|
+
typeof panelScrollEl.scrollHeight !== "number" ||
|
|
22453
|
+
typeof panelScrollEl.offsetHeight !== "number") {
|
|
22454
|
+
return;
|
|
22455
|
+
}
|
|
22456
|
+
panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
|
|
22457
|
+
};
|
|
22421
22458
|
this.setContainerRef = (node) => {
|
|
22422
22459
|
this.containerEl = node;
|
|
22423
22460
|
};
|
|
@@ -22442,6 +22479,15 @@ class Panel {
|
|
|
22442
22479
|
this.backButtonClick = () => {
|
|
22443
22480
|
this.calcitePanelBackClick.emit();
|
|
22444
22481
|
};
|
|
22482
|
+
this.setPanelScrollEl = (el) => {
|
|
22483
|
+
var _a, _b;
|
|
22484
|
+
this.panelScrollEl = el;
|
|
22485
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
22486
|
+
if (el) {
|
|
22487
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
|
22488
|
+
this.resizeHandler();
|
|
22489
|
+
}
|
|
22490
|
+
};
|
|
22445
22491
|
}
|
|
22446
22492
|
dismissedHandler() {
|
|
22447
22493
|
this.calcitePanelDismissedChange.emit();
|
|
@@ -22463,7 +22509,9 @@ class Panel {
|
|
|
22463
22509
|
connectConditionalSlotComponent(this);
|
|
22464
22510
|
}
|
|
22465
22511
|
disconnectedCallback() {
|
|
22512
|
+
var _a;
|
|
22466
22513
|
disconnectConditionalSlotComponent(this);
|
|
22514
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
22467
22515
|
}
|
|
22468
22516
|
// --------------------------------------------------------------------------
|
|
22469
22517
|
//
|
|
@@ -22567,14 +22615,14 @@ class Panel {
|
|
|
22567
22615
|
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
22568
22616
|
const defaultSlotNode = hAsync("slot", { key: "default-slot" });
|
|
22569
22617
|
const contentWrapperKey = "content-wrapper";
|
|
22570
|
-
return hasFab ? (hAsync("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref:
|
|
22618
|
+
return hasFab ? (hAsync("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, hAsync("section", { class: CSS$k.contentContainer }, defaultSlotNode), this.renderFab())) : (hAsync("section", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentContainer]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, defaultSlotNode));
|
|
22571
22619
|
}
|
|
22572
22620
|
renderFab() {
|
|
22573
22621
|
return (hAsync("div", { class: CSS$k.fabContainer }, hAsync("slot", { name: SLOTS$c.fab })));
|
|
22574
22622
|
}
|
|
22575
22623
|
render() {
|
|
22576
22624
|
const { dismissed, dismissible, loading, panelKeyDownHandler } = this;
|
|
22577
|
-
const panelNode = (hAsync("article", { "aria-busy": loading
|
|
22625
|
+
const panelNode = (hAsync("article", { "aria-busy": toAriaBoolean(loading), class: CSS$k.container, hidden: dismissible && dismissed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: dismissible ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
|
22578
22626
|
return (hAsync(Fragment, null, loading ? hAsync("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
22579
22627
|
}
|
|
22580
22628
|
get el() { return getElement(this); }
|
|
@@ -22934,7 +22982,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
22934
22982
|
const List = (_a) => {
|
|
22935
22983
|
var { props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl } } = _a, rest = __rest(_a, ["props"]);
|
|
22936
22984
|
const defaultSlot = hAsync("slot", null);
|
|
22937
|
-
return (hAsync(Host, Object.assign({ "aria-busy": loading
|
|
22985
|
+
return (hAsync(Host, Object.assign({ "aria-busy": toAriaBoolean(loading), role: "menu" }, rest),
|
|
22938
22986
|
hAsync("section", null,
|
|
22939
22987
|
hAsync("header", { class: { [CSS$j.sticky]: true } },
|
|
22940
22988
|
filterEnabled ? (hAsync("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
@@ -23323,7 +23371,7 @@ class PickListItem {
|
|
|
23323
23371
|
}
|
|
23324
23372
|
render() {
|
|
23325
23373
|
const { description, label } = this;
|
|
23326
|
-
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$h.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, hAsync("div", { "aria-checked": this.selected
|
|
23374
|
+
return (hAsync(Fragment, null, this.renderIcon(), this.renderActionsStart(), hAsync("label", { "aria-label": label, class: CSS$h.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, hAsync("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$h.textContainer, role: "menuitemcheckbox" }, hAsync("span", { class: CSS$h.title }, label), description ? hAsync("span", { class: CSS$h.description }, description) : null)), this.renderActionsEnd()));
|
|
23327
23375
|
}
|
|
23328
23376
|
get el() { return getElement(this); }
|
|
23329
23377
|
static get watchers() { return {
|
|
@@ -23531,7 +23579,7 @@ class Popover {
|
|
|
23531
23579
|
if (!effectiveReferenceElement) {
|
|
23532
23580
|
return;
|
|
23533
23581
|
}
|
|
23534
|
-
effectiveReferenceElement.setAttribute(ARIA_EXPANDED, open
|
|
23582
|
+
effectiveReferenceElement.setAttribute(ARIA_EXPANDED, toAriaBoolean(open));
|
|
23535
23583
|
};
|
|
23536
23584
|
this.addReferences = () => {
|
|
23537
23585
|
const { effectiveReferenceElement } = this;
|
|
@@ -23708,7 +23756,7 @@ class Popover {
|
|
|
23708
23756
|
const displayed = effectiveReferenceElement && open;
|
|
23709
23757
|
const hidden = !displayed;
|
|
23710
23758
|
const arrowNode = !disablePointer ? (hAsync("div", { class: CSS$g.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) })) : null;
|
|
23711
|
-
return (hAsync(Host, { "aria-hidden": hidden
|
|
23759
|
+
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, hAsync("div", { class: {
|
|
23712
23760
|
[CSS$D.animation]: true,
|
|
23713
23761
|
[CSS$D.animationActive]: displayed
|
|
23714
23762
|
}, onTransitionEnd: this.transitionEnd }, arrowNode, hAsync("div", { class: {
|
|
@@ -24117,7 +24165,7 @@ class RadioButton {
|
|
|
24117
24165
|
// --------------------------------------------------------------------------
|
|
24118
24166
|
render() {
|
|
24119
24167
|
const tabIndex = this.getTabIndex();
|
|
24120
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": this.checked
|
|
24168
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: CSS$f.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: tabIndex }, hAsync("div", { class: "radio" })), hAsync(HiddenFormInputSlot, { component: this })));
|
|
24121
24169
|
}
|
|
24122
24170
|
get el() { return getElement(this); }
|
|
24123
24171
|
static get watchers() { return {
|
|
@@ -24510,7 +24558,7 @@ class RadioGroupItem {
|
|
|
24510
24558
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
24511
24559
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
24512
24560
|
const iconEl = (hAsync("calcite-icon", { class: CSS$e.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
24513
|
-
return (hAsync(Host, { "aria-checked": checked
|
|
24561
|
+
return (hAsync(Host, { "aria-checked": toAriaBoolean(checked), role: "radio" }, hAsync("label", { class: {
|
|
24514
24562
|
"label--scale-s": scale === "s",
|
|
24515
24563
|
"label--scale-m": scale === "m",
|
|
24516
24564
|
"label--scale-l": scale === "l",
|
|
@@ -25406,7 +25454,7 @@ class ShellPanel {
|
|
|
25406
25454
|
}; }
|
|
25407
25455
|
}
|
|
25408
25456
|
|
|
25409
|
-
const sliderCss = "@charset \"UTF-8\";@-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*/.sc-calcite-slider: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*/.calcite-animate.sc-calcite-slider{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*/.calcite-animate__in.sc-calcite-slider{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-slider{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-slider{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-slider{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-slider:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-slider{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}/*!@.scale--s .handle__label, .scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}/*!@.scale--m .handle__label, .scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}/*!@.scale--l .handle__label, .scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label, .tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{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]) .track__range,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-slider-h[disabled] .sc-calcite-slider-s>[calcite-hydrated][disabled],[disabled].sc-calcite-slider-h [calcite-hydrated][disabled].sc-calcite-slider{opacity:1}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-width:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}/*!@.thumb .handle__label.static, .thumb .handle__label.transformed*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;top:0px;bottom:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;width:1em}/*!@.thumb .handle__label.hyphen--wrap*/.thumb.sc-calcite-slider .handle__label.hyphen--wrap.sc-calcite-slider{display:-ms-flexbox;display:flex}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);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;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}/*!@.thumb .handle-extension*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}/*!@.thumb:hover .handle-extension*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}/*!@.thumb.thumb--precise*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2px}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{margin-top:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{margin-bottom:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-33px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-44px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-49px}/*!@.thumb:focus .handle, .thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}/*!@.thumb:hover.thumb--precise:after, .thumb:focus.thumb--precise:after, .thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}/*!@.track__range*/.track__range.sc-calcite-slider{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}/*!@.tick*/.tick.sc-calcite-slider{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}/*!@.tick--active*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@.tick__label--min*/.tick__label--min.sc-calcite-slider{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}/*!@:host([has-histogram][label-handles]) .tick__label--min, :host([has-histogram][label-handles]) .tick__label--max, :host([has-histogram][precise]) .tick__label--min, :host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3);height:48px}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}/*!@:host([has-histogram]):host([precise][label-handles]) .container*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}/*!@:host([has-histogram]):host([label-handles]:not([precise])) .container*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}/*!@:host([has-histogram]):host([precise]:not([label-handles])) .container*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{padding-top:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([label-handles]:not([precise])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-slider-s>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}";
|
|
25457
|
+
const sliderCss = "@charset \"UTF-8\";@-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*/.sc-calcite-slider: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*/.calcite-animate.sc-calcite-slider{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*/.calcite-animate__in.sc-calcite-slider{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-slider{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-slider{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-slider{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-slider:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-slider{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}/*!@.scale--s .handle__label, .scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}/*!@.scale--m .handle__label, .scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}/*!@.scale--l .handle__label, .scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label, .tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{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]) .track__range,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-slider-h[disabled] .sc-calcite-slider-s>[calcite-hydrated][disabled],[disabled].sc-calcite-slider-h [calcite-hydrated][disabled].sc-calcite-slider{opacity:1}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-width:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}/*!@.thumb .handle__label.static, .thumb .handle__label.transformed*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;top:0px;bottom:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;width:1em}/*!@.thumb .handle__label.hyphen--wrap*/.thumb.sc-calcite-slider .handle__label.hyphen--wrap.sc-calcite-slider{display:-ms-flexbox;display:flex}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);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;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}/*!@.thumb .handle-extension*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}/*!@.thumb:hover .handle-extension*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}/*!@.thumb.thumb--precise*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2px}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{margin-top:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{margin-bottom:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-33px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-44px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-49px}/*!@.thumb:focus .handle, .thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}/*!@.thumb:hover.thumb--precise:after, .thumb:focus.thumb--precise:after, .thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}/*!@.track__range*/.track__range.sc-calcite-slider{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){/*!@.thumb*/.thumb.sc-calcite-slider{outline-width:0;outline-offset:0}/*!@.handle*/.handle.sc-calcite-slider{outline:2px solid transparent;outline-offset:2px}/*!@.thumb:focus .handle,\n.thumb .handle-extension,\n.thumb:hover .handle-extension,\n.thumb:focus .handle-extension,\n.thumb:active .handle-extension*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider,.thumb.sc-calcite-slider:active .handle-extension.sc-calcite-slider{background-color:canvasText}/*!@.track*/.track.sc-calcite-slider{background-color:canvasText}/*!@.track__range*/.track__range.sc-calcite-slider{background-color:highlight}}/*!@.tick*/.tick.sc-calcite-slider{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}/*!@.tick--active*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@.tick__label--min*/.tick__label--min.sc-calcite-slider{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}/*!@:host([has-histogram][label-handles]) .tick__label--min, :host([has-histogram][label-handles]) .tick__label--max, :host([has-histogram][precise]) .tick__label--min, :host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3);height:48px}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}/*!@:host([has-histogram]):host([precise][label-handles]) .container*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}/*!@:host([has-histogram]):host([label-handles]:not([precise])) .container*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}/*!@:host([has-histogram]):host([precise]:not([label-handles])) .container*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{padding-top:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([label-handles]:not([precise])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-slider-s>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}";
|
|
25410
25458
|
|
|
25411
25459
|
function isRange(value) {
|
|
25412
25460
|
return Array.isArray(value);
|
|
@@ -29524,10 +29572,11 @@ class Stepper {
|
|
|
29524
29572
|
// Private State/Props
|
|
29525
29573
|
//
|
|
29526
29574
|
//--------------------------------------------------------------------------
|
|
29527
|
-
|
|
29575
|
+
this.itemMap = new Map();
|
|
29576
|
+
/** list of sorted Stepper items */
|
|
29528
29577
|
this.items = [];
|
|
29529
|
-
/**
|
|
29530
|
-
this.
|
|
29578
|
+
/** list of enabled Stepper items */
|
|
29579
|
+
this.enabledItems = [];
|
|
29531
29580
|
}
|
|
29532
29581
|
// watch for removal of disabled to register step
|
|
29533
29582
|
contentWatcher() {
|
|
@@ -29568,7 +29617,7 @@ class Stepper {
|
|
|
29568
29617
|
const item = e.detail.item;
|
|
29569
29618
|
const itemToFocus = e.target;
|
|
29570
29619
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
29571
|
-
const isLastItem = this.itemIndex(itemToFocus) === this.
|
|
29620
|
+
const isLastItem = this.itemIndex(itemToFocus) === this.enabledItems.length - 1;
|
|
29572
29621
|
switch (item.key) {
|
|
29573
29622
|
case "ArrowDown":
|
|
29574
29623
|
case "ArrowRight":
|
|
@@ -29597,18 +29646,14 @@ class Stepper {
|
|
|
29597
29646
|
}
|
|
29598
29647
|
}
|
|
29599
29648
|
registerItem(event) {
|
|
29600
|
-
const item =
|
|
29601
|
-
|
|
29602
|
-
|
|
29603
|
-
|
|
29604
|
-
};
|
|
29605
|
-
if (item.content && item.item.active) {
|
|
29606
|
-
this.requestedContent = item.content;
|
|
29607
|
-
}
|
|
29608
|
-
if (!this.items.includes(item)) {
|
|
29609
|
-
this.items.push(item);
|
|
29649
|
+
const item = event.target;
|
|
29650
|
+
const { content, position } = event.detail;
|
|
29651
|
+
if (content && item.active) {
|
|
29652
|
+
this.requestedContent = content;
|
|
29610
29653
|
}
|
|
29611
|
-
this.
|
|
29654
|
+
this.itemMap.set(item, position);
|
|
29655
|
+
this.items = this.sortItems();
|
|
29656
|
+
this.enabledItems = this.filterItems();
|
|
29612
29657
|
}
|
|
29613
29658
|
updateItem(event) {
|
|
29614
29659
|
if (event.detail.content) {
|
|
@@ -29626,79 +29671,100 @@ class Stepper {
|
|
|
29626
29671
|
//--------------------------------------------------------------------------
|
|
29627
29672
|
/** set the next step as active */
|
|
29628
29673
|
async nextStep() {
|
|
29629
|
-
this.currentPosition
|
|
29630
|
-
|
|
29631
|
-
|
|
29632
|
-
|
|
29633
|
-
this.emitChangedItem();
|
|
29674
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition + 1, "next");
|
|
29675
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29676
|
+
return;
|
|
29677
|
+
}
|
|
29678
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29634
29679
|
}
|
|
29635
29680
|
/** set the previous step as active */
|
|
29636
29681
|
async prevStep() {
|
|
29637
|
-
this.currentPosition
|
|
29638
|
-
|
|
29639
|
-
|
|
29682
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition - 1, "previous");
|
|
29683
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29684
|
+
return;
|
|
29685
|
+
}
|
|
29686
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29640
29687
|
}
|
|
29641
29688
|
/** set the requested step as active */
|
|
29642
|
-
async goToStep(
|
|
29643
|
-
|
|
29644
|
-
this.
|
|
29689
|
+
async goToStep(step) {
|
|
29690
|
+
const position = step - 1;
|
|
29691
|
+
if (this.currentPosition !== position) {
|
|
29692
|
+
this.emitChangedItem(position);
|
|
29693
|
+
}
|
|
29645
29694
|
}
|
|
29646
29695
|
/** set the first step as active */
|
|
29647
29696
|
async startStep() {
|
|
29648
|
-
|
|
29649
|
-
|
|
29697
|
+
const enabledStepIndex = this.getEnabledStepIndex(0, "next");
|
|
29698
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29699
|
+
return;
|
|
29700
|
+
}
|
|
29701
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29650
29702
|
}
|
|
29651
29703
|
/** set the last step as active */
|
|
29652
29704
|
async endStep() {
|
|
29653
|
-
|
|
29654
|
-
|
|
29705
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, "previous");
|
|
29706
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29707
|
+
return;
|
|
29708
|
+
}
|
|
29709
|
+
this.emitChangedItem(enabledStepIndex);
|
|
29655
29710
|
}
|
|
29656
29711
|
//--------------------------------------------------------------------------
|
|
29657
29712
|
//
|
|
29658
29713
|
// Private Methods
|
|
29659
29714
|
//
|
|
29660
29715
|
//--------------------------------------------------------------------------
|
|
29716
|
+
getEnabledStepIndex(startIndex, direction = "next") {
|
|
29717
|
+
var _a;
|
|
29718
|
+
const { items, currentPosition } = this;
|
|
29719
|
+
let newIndex = startIndex;
|
|
29720
|
+
while ((_a = items[newIndex]) === null || _a === void 0 ? void 0 : _a.disabled) {
|
|
29721
|
+
newIndex = newIndex + (direction === "previous" ? -1 : 1);
|
|
29722
|
+
}
|
|
29723
|
+
return newIndex !== currentPosition && newIndex < items.length && newIndex >= 0
|
|
29724
|
+
? newIndex
|
|
29725
|
+
: null;
|
|
29726
|
+
}
|
|
29661
29727
|
addHorizontalContentContainer() {
|
|
29662
29728
|
this.stepperContentContainer = document.createElement("div");
|
|
29663
29729
|
this.stepperContentContainer.classList.add("calcite-stepper-content");
|
|
29664
29730
|
this.el.insertAdjacentElement("beforeend", this.stepperContentContainer);
|
|
29665
29731
|
}
|
|
29666
|
-
emitChangedItem() {
|
|
29732
|
+
emitChangedItem(position) {
|
|
29733
|
+
this.currentPosition = position;
|
|
29667
29734
|
this.calciteStepperItemChange.emit({
|
|
29668
|
-
position
|
|
29735
|
+
position
|
|
29669
29736
|
});
|
|
29670
29737
|
}
|
|
29671
29738
|
focusFirstItem() {
|
|
29672
|
-
const firstItem = this.
|
|
29739
|
+
const firstItem = this.enabledItems[0];
|
|
29673
29740
|
this.focusElement(firstItem);
|
|
29674
29741
|
}
|
|
29675
29742
|
focusLastItem() {
|
|
29676
|
-
const lastItem = this.
|
|
29743
|
+
const lastItem = this.enabledItems[this.enabledItems.length - 1];
|
|
29677
29744
|
this.focusElement(lastItem);
|
|
29678
29745
|
}
|
|
29679
29746
|
focusNextItem(e) {
|
|
29680
29747
|
const index = this.itemIndex(e);
|
|
29681
|
-
const nextItem = this.
|
|
29748
|
+
const nextItem = this.enabledItems[index + 1] || this.enabledItems[0];
|
|
29682
29749
|
this.focusElement(nextItem);
|
|
29683
29750
|
}
|
|
29684
29751
|
focusPrevItem(e) {
|
|
29685
29752
|
const index = this.itemIndex(e);
|
|
29686
|
-
const prevItem = this.
|
|
29753
|
+
const prevItem = this.enabledItems[index - 1] || this.enabledItems[this.enabledItems.length - 1];
|
|
29687
29754
|
this.focusElement(prevItem);
|
|
29688
29755
|
}
|
|
29689
29756
|
itemIndex(e) {
|
|
29690
|
-
return this.
|
|
29757
|
+
return this.enabledItems.indexOf(e);
|
|
29691
29758
|
}
|
|
29692
29759
|
focusElement(item) {
|
|
29693
|
-
|
|
29694
|
-
target.focus();
|
|
29760
|
+
item.focus();
|
|
29695
29761
|
}
|
|
29696
29762
|
sortItems() {
|
|
29697
|
-
const
|
|
29698
|
-
|
|
29699
|
-
|
|
29700
|
-
|
|
29701
|
-
return
|
|
29763
|
+
const { itemMap } = this;
|
|
29764
|
+
return Array.from(itemMap.keys()).sort((a, b) => itemMap.get(a) - itemMap.get(b));
|
|
29765
|
+
}
|
|
29766
|
+
filterItems() {
|
|
29767
|
+
return this.items.filter((item) => !item.disabled);
|
|
29702
29768
|
}
|
|
29703
29769
|
updateContent(content) {
|
|
29704
29770
|
this.stepperContentContainer.innerHTML = "";
|
|
@@ -29730,7 +29796,7 @@ class Stepper {
|
|
|
29730
29796
|
}; }
|
|
29731
29797
|
}
|
|
29732
29798
|
|
|
29733
|
-
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*/.sc-calcite-stepper-item: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*/.calcite-animate.sc-calcite-stepper-item{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*/.calcite-animate__in.sc-calcite-stepper-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-stepper-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-stepper-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-stepper-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-stepper-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--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*/[scale=s].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--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*/[scale=m].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--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*/[scale=l].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{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*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h{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)*/.sc-calcite-stepper-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}/*!@:host .stepper-item-content, :host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{-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 **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{-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*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{-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*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;width:100%}/*!@:host .stepper-item-title*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-subtitle*/.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{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])*/[disabled].sc-calcite-stepper-item-h{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]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([active])) .container, :host(:focus:not([disabled]):not([active])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([active])) .container, :host([error]:focus:not([disabled]):not([active])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger-hover)}/*!@:host([active]) .container*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-title*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([active]) .container .stepper-item-subtitle*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([active]) .container .stepper-item-number*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-icon*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{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*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{-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*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{-webkit-padding-end:0px;padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][active]) .container .stepper-item-content*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:-ms-flexbox;display:flex}/*!@:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child)*/.sc-calcite-stepper-item-h[layout=vertical][active] .container .stepper-item-content .sc-calcite-stepper-item-s>:last-child{margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{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*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][active]) .container*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical]:hover:not([disabled]):not([active])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([active])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{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*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}";
|
|
29799
|
+
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*/.sc-calcite-stepper-item: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*/.calcite-animate.sc-calcite-stepper-item{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*/.calcite-animate__in.sc-calcite-stepper-item{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-stepper-item{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-stepper-item{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-stepper-item{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-stepper-item:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-stepper-item-h{display:none}/*!@:host([scale=s])*/[scale=s].sc-calcite-stepper-item-h{--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*/[scale=s].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--2);line-height:1rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-stepper-item-h{--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*/[scale=m].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-stepper-item-h{--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*/[scale=l].sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host*/.sc-calcite-stepper-item-h{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*/.sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h{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)*/.sc-calcite-stepper-item-h:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@:host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:start;align-items:flex-start}/*!@:host .stepper-item-content, :host .stepper-item-header*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item{-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 **/.sc-calcite-stepper-item-h .stepper-item-header.sc-calcite-stepper-item *.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h .stepper-item-content.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h .stepper-item-icon.sc-calcite-stepper-item{-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*/.sc-calcite-stepper-item-h .stepper-item-header-text.sc-calcite-stepper-item{-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*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{display:-ms-flexbox;display:flex;width:100%}/*!@:host .stepper-item-title*/.sc-calcite-stepper-item-h .stepper-item-title.sc-calcite-stepper-item{margin-bottom:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}/*!@:host .stepper-item-subtitle*/.sc-calcite-stepper-item-h .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-3)}/*!@:host .stepper-item-number*/.sc-calcite-stepper-item-h .stepper-item-number.sc-calcite-stepper-item{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])*/[disabled].sc-calcite-stepper-item-h{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]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-stepper-item-h[disabled] .sc-calcite-stepper-item-s>[calcite-hydrated][disabled],[disabled].sc-calcite-stepper-item-h [calcite-hydrated][disabled].sc-calcite-stepper-item{opacity:1}/*!@:host([complete]) .container*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:rgba(0, 122, 194, 0.5)}/*!@:host([complete]) .container .stepper-item-icon*/[complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([error]) .container*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-number*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-danger)}/*!@:host([error]) .container .stepper-item-icon*/[error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{opacity:1;color:var(--calcite-ui-danger)}/*!@:host(:hover:not([disabled]):not([active])) .container, :host(:focus:not([disabled]):not([active])) .container*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{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*/.sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item,.sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([error]:hover:not([disabled]):not([active])) .container, :host([error]:focus:not([disabled]):not([active])) .container*/[error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-danger-hover)}/*!@:host([active]) .container*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-top-color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-title*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-title.sc-calcite-stepper-item{color:var(--calcite-ui-text-1)}/*!@:host([active]) .container .stepper-item-subtitle*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-subtitle.sc-calcite-stepper-item{color:var(--calcite-ui-text-2)}/*!@:host([active]) .container .stepper-item-number*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-number.sc-calcite-stepper-item{color:var(--calcite-ui-brand)}/*!@:host([active]) .container .stepper-item-icon*/[active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{color:var(--calcite-ui-brand);opacity:1}/*!@:host([layout=vertical]) .container*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{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*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-icon.sc-calcite-stepper-item{-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*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-header.sc-calcite-stepper-item{-webkit-padding-end:0px;padding-inline-end:0px}/*!@:host([layout=vertical]) .container .stepper-item-content*/[layout=vertical].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{padding:0px}/*!@:host([layout=vertical][active]) .container .stepper-item-content*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item .stepper-item-content.sc-calcite-stepper-item{display:-ms-flexbox;display:flex}/*!@:host([layout=vertical][active]) .container .stepper-item-content ::slotted(:last-child)*/.sc-calcite-stepper-item-h[layout=vertical][active] .container .stepper-item-content .sc-calcite-stepper-item-s>:last-child{margin-bottom:var(--calcite-stepper-item-spacing-unit-l)}/*!@:host([layout=vertical][complete]) .container*/[layout=vertical][complete].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{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*/[layout=vertical][complete].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][complete].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical][error]) .container*/[layout=vertical][error].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger)}/*!@:host([layout=vertical][active]) .container*/[layout=vertical][active].sc-calcite-stepper-item-h .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-brand)}/*!@:host([layout=vertical]:hover:not([disabled]):not([active])) .container,\n:host([layout=vertical]:focus:not([disabled]):not([active])) .container*/[layout=vertical].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{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*/[layout=vertical][error].sc-calcite-stepper-item-h:hover:not([disabled]):not([active]) .container.sc-calcite-stepper-item,[layout=vertical][error].sc-calcite-stepper-item-h:focus:not([disabled]):not([active]) .container.sc-calcite-stepper-item{border-color:var(--calcite-ui-danger-hover)}";
|
|
29734
29800
|
|
|
29735
29801
|
/**
|
|
29736
29802
|
* @slot - A slot for adding custom content.
|
|
@@ -29763,6 +29829,50 @@ class StepperItem {
|
|
|
29763
29829
|
/** the scale of the item */
|
|
29764
29830
|
/** @internal */
|
|
29765
29831
|
this.scale = "m";
|
|
29832
|
+
//--------------------------------------------------------------------------
|
|
29833
|
+
//
|
|
29834
|
+
// Private Methods
|
|
29835
|
+
//
|
|
29836
|
+
//--------------------------------------------------------------------------
|
|
29837
|
+
this.keyDownHandler = (e) => {
|
|
29838
|
+
if (!this.disabled && e.target === this.el) {
|
|
29839
|
+
switch (e.key) {
|
|
29840
|
+
case " ":
|
|
29841
|
+
case "Enter":
|
|
29842
|
+
this.emitRequestedItem();
|
|
29843
|
+
e.preventDefault();
|
|
29844
|
+
break;
|
|
29845
|
+
case "ArrowUp":
|
|
29846
|
+
case "ArrowDown":
|
|
29847
|
+
case "ArrowLeft":
|
|
29848
|
+
case "ArrowRight":
|
|
29849
|
+
case "Home":
|
|
29850
|
+
case "End":
|
|
29851
|
+
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
29852
|
+
e.preventDefault();
|
|
29853
|
+
break;
|
|
29854
|
+
}
|
|
29855
|
+
}
|
|
29856
|
+
};
|
|
29857
|
+
this.emitRequestedItem = () => {
|
|
29858
|
+
if (!this.disabled) {
|
|
29859
|
+
this.calciteStepperItemSelect.emit({
|
|
29860
|
+
position: this.itemPosition,
|
|
29861
|
+
content: this.itemContent
|
|
29862
|
+
});
|
|
29863
|
+
}
|
|
29864
|
+
};
|
|
29865
|
+
this.setItemContent = (event) => {
|
|
29866
|
+
this.itemPosition = this.getItemPosition();
|
|
29867
|
+
const itemContent = event.target.assignedNodes({ flatten: true });
|
|
29868
|
+
if (itemContent.length) {
|
|
29869
|
+
this.itemContent = itemContent;
|
|
29870
|
+
}
|
|
29871
|
+
this.registerStepperItem();
|
|
29872
|
+
if (this.active) {
|
|
29873
|
+
this.emitRequestedItem();
|
|
29874
|
+
}
|
|
29875
|
+
};
|
|
29766
29876
|
}
|
|
29767
29877
|
// watch for removal of disabled to register step
|
|
29768
29878
|
disabledWatcher() {
|
|
@@ -29780,50 +29890,17 @@ class StepperItem {
|
|
|
29780
29890
|
this.scale = getElementProp(this.el, "scale", "m");
|
|
29781
29891
|
this.parentStepperEl = this.el.parentElement;
|
|
29782
29892
|
}
|
|
29783
|
-
componentDidLoad() {
|
|
29784
|
-
this.itemPosition = this.getItemPosition();
|
|
29785
|
-
this.itemContent = this.getItemContent();
|
|
29786
|
-
this.registerStepperItem();
|
|
29787
|
-
if (this.active) {
|
|
29788
|
-
this.emitRequestedItem();
|
|
29789
|
-
}
|
|
29790
|
-
}
|
|
29791
|
-
componentDidUpdate() {
|
|
29792
|
-
if (this.active) {
|
|
29793
|
-
this.emitRequestedItem();
|
|
29794
|
-
}
|
|
29795
|
-
}
|
|
29796
29893
|
componentDidRender() {
|
|
29797
29894
|
updateHostInteraction(this, true);
|
|
29798
29895
|
}
|
|
29799
29896
|
render() {
|
|
29800
|
-
return (hAsync(Host, { "aria-expanded": this.active
|
|
29897
|
+
return (hAsync(Host, { "aria-expanded": toAriaBoolean(this.active), onClick: this.emitRequestedItem, onKeyDown: this.keyDownHandler }, hAsync("div", { class: "container" }, hAsync("div", { class: "stepper-item-header" }, this.icon ? this.renderIcon() : null, this.numbered ? (hAsync("div", { class: "stepper-item-number" }, this.getItemPosition() + 1, ".")) : null, hAsync("div", { class: "stepper-item-header-text" }, hAsync("span", { class: "stepper-item-title" }, this.itemTitle), hAsync("span", { class: "stepper-item-subtitle" }, this.itemSubtitle))), hAsync("div", { class: "stepper-item-content" }, hAsync("slot", { onSlotchange: this.setItemContent })))));
|
|
29801
29898
|
}
|
|
29802
29899
|
//--------------------------------------------------------------------------
|
|
29803
29900
|
//
|
|
29804
29901
|
// Event Listeners
|
|
29805
29902
|
//
|
|
29806
29903
|
//--------------------------------------------------------------------------
|
|
29807
|
-
keyDownHandler(e) {
|
|
29808
|
-
if (!this.disabled && e.target === this.el) {
|
|
29809
|
-
switch (e.key) {
|
|
29810
|
-
case " ":
|
|
29811
|
-
case "Enter":
|
|
29812
|
-
this.emitRequestedItem();
|
|
29813
|
-
e.preventDefault();
|
|
29814
|
-
break;
|
|
29815
|
-
case "ArrowUp":
|
|
29816
|
-
case "ArrowDown":
|
|
29817
|
-
case "ArrowLeft":
|
|
29818
|
-
case "ArrowRight":
|
|
29819
|
-
case "Home":
|
|
29820
|
-
case "End":
|
|
29821
|
-
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
29822
|
-
e.preventDefault();
|
|
29823
|
-
break;
|
|
29824
|
-
}
|
|
29825
|
-
}
|
|
29826
|
-
}
|
|
29827
29904
|
updateActiveItemOnChange(event) {
|
|
29828
29905
|
if (event.target === this.parentStepperEl ||
|
|
29829
29906
|
event.composedPath().includes(this.parentStepperEl)) {
|
|
@@ -29831,11 +29908,6 @@ class StepperItem {
|
|
|
29831
29908
|
this.determineActiveItem();
|
|
29832
29909
|
}
|
|
29833
29910
|
}
|
|
29834
|
-
//--------------------------------------------------------------------------
|
|
29835
|
-
//
|
|
29836
|
-
// Private Methods
|
|
29837
|
-
//
|
|
29838
|
-
//--------------------------------------------------------------------------
|
|
29839
29911
|
renderIcon() {
|
|
29840
29912
|
const path = this.active
|
|
29841
29913
|
? "circleF"
|
|
@@ -29855,23 +29927,6 @@ class StepperItem {
|
|
|
29855
29927
|
content: this.itemContent
|
|
29856
29928
|
});
|
|
29857
29929
|
}
|
|
29858
|
-
emitRequestedItem() {
|
|
29859
|
-
if (!this.disabled) {
|
|
29860
|
-
this.calciteStepperItemSelect.emit({
|
|
29861
|
-
position: this.itemPosition,
|
|
29862
|
-
content: this.itemContent
|
|
29863
|
-
});
|
|
29864
|
-
}
|
|
29865
|
-
}
|
|
29866
|
-
getItemContent() {
|
|
29867
|
-
var _a;
|
|
29868
|
-
// todo: Remove IE/Edge specific code.
|
|
29869
|
-
return ((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("slot"))
|
|
29870
|
-
? this.el.shadowRoot.querySelector("slot").assignedNodes({ flatten: true })
|
|
29871
|
-
: this.el.querySelector(".stepper-item-content")
|
|
29872
|
-
? this.el.querySelector(".stepper-item-content").childNodes
|
|
29873
|
-
: null;
|
|
29874
|
-
}
|
|
29875
29930
|
getItemPosition() {
|
|
29876
29931
|
return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"), this.el);
|
|
29877
29932
|
}
|
|
@@ -29895,7 +29950,7 @@ class StepperItem {
|
|
|
29895
29950
|
"numbered": [1028],
|
|
29896
29951
|
"scale": [1537]
|
|
29897
29952
|
},
|
|
29898
|
-
"$listeners$": [[
|
|
29953
|
+
"$listeners$": [[16, "calciteStepperItemChange", "updateActiveItemOnChange"]],
|
|
29899
29954
|
"$lazyBundleId$": "-",
|
|
29900
29955
|
"$attrsToReflect$": [["active", "active"], ["complete", "complete"], ["disabled", "disabled"], ["layout", "layout"], ["scale", "scale"]]
|
|
29901
29956
|
}; }
|
|
@@ -29994,7 +30049,7 @@ class Switch {
|
|
|
29994
30049
|
//
|
|
29995
30050
|
// --------------------------------------------------------------------------
|
|
29996
30051
|
render() {
|
|
29997
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-checked": this.checked
|
|
30052
|
+
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "container", ref: this.setSwitchEl, role: "switch", tabIndex: 0 }, hAsync("div", { class: "track" }, hAsync("div", { class: "handle" })), hAsync(HiddenFormInputSlot, { component: this }))));
|
|
29998
30053
|
}
|
|
29999
30054
|
get el() { return getElement(this); }
|
|
30000
30055
|
static get watchers() { return {
|
|
@@ -30044,7 +30099,7 @@ class Tab {
|
|
|
30044
30099
|
//--------------------------------------------------------------------------
|
|
30045
30100
|
render() {
|
|
30046
30101
|
const id = this.el.id || this.guid;
|
|
30047
|
-
return (hAsync(Host, { "aria-expanded": this.active
|
|
30102
|
+
return (hAsync(Host, { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": this.labeledBy, id: id, role: "tabpanel" }, hAsync("section", null, hAsync("slot", null))));
|
|
30048
30103
|
}
|
|
30049
30104
|
connectedCallback() {
|
|
30050
30105
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
@@ -30417,7 +30472,7 @@ class TabTitle {
|
|
|
30417
30472
|
const showSideBorders = this.bordered && !this.disabled && this.layout !== "center";
|
|
30418
30473
|
const iconStartEl = (hAsync("calcite-icon", { class: "calcite-tab-title--icon icon-start", flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
30419
30474
|
const iconEndEl = (hAsync("calcite-icon", { class: "calcite-tab-title--icon icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
30420
|
-
return (hAsync(Host, { "aria-controls": this.controls, "aria-expanded": this.active
|
|
30475
|
+
return (hAsync(Host, { "aria-controls": this.controls, "aria-expanded": toAriaBoolean(this.active), id: id, role: "tab" }, hAsync("a", { class: {
|
|
30421
30476
|
container: true,
|
|
30422
30477
|
"container--has-text": this.hasText
|
|
30423
30478
|
}, style: showSideBorders && { width: `${this.parentTabNavEl.indicatorWidth}px` } }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
@@ -32058,7 +32113,7 @@ class TipManager {
|
|
|
32058
32113
|
if (total === 0) {
|
|
32059
32114
|
return null;
|
|
32060
32115
|
}
|
|
32061
|
-
return (hAsync("section", { "aria-hidden": closed
|
|
32116
|
+
return (hAsync("section", { "aria-hidden": toAriaBoolean(closed), class: CSS$4.container, hidden: closed, onKeyUp: this.tipManagerKeyUpHandler, ref: this.storeContainerRef, tabIndex: 0 }, hAsync("header", { class: CSS$4.header }, hAsync(Heading, { class: CSS$4.heading, level: headingLevel || HEADING_LEVEL$1 }, groupTitle), hAsync("calcite-action", { class: CSS$4.close, onClick: this.hideTipManager, scale: "m", text: closeLabel }, hAsync("calcite-icon", { icon: ICONS$3.close, scale: "m" }))), hAsync("div", { class: {
|
|
32062
32117
|
[CSS$4.tipContainer]: true,
|
|
32063
32118
|
[CSS$4.tipContainerAdvancing]: !closed && direction === "advancing",
|
|
32064
32119
|
[CSS$4.tipContainerRetreating]: !closed && direction === "retreating"
|
|
@@ -32426,7 +32481,7 @@ class Tooltip {
|
|
|
32426
32481
|
const { effectiveReferenceElement, label, open } = this;
|
|
32427
32482
|
const displayed = effectiveReferenceElement && open;
|
|
32428
32483
|
const hidden = !displayed;
|
|
32429
|
-
return (hAsync(Host, { "aria-hidden": hidden
|
|
32484
|
+
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, hAsync("div", { class: {
|
|
32430
32485
|
[CSS$D.animation]: true,
|
|
32431
32486
|
[CSS$D.animationActive]: displayed
|
|
32432
32487
|
} }, hAsync("div", { class: CSS$2.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$2.container }, hAsync("slot", null)))));
|
|
@@ -32914,7 +32969,7 @@ class TreeItem {
|
|
|
32914
32969
|
[CSS_UTILITY.rtl]: rtl
|
|
32915
32970
|
}, icon: selectedIcon, scale: "s" })) : null;
|
|
32916
32971
|
const hidden = !(this.parentExpanded || this.depth === 1);
|
|
32917
|
-
return (hAsync(Host, { "aria-expanded": this.hasChildren ? this.expanded
|
|
32972
|
+
return (hAsync(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" }, hAsync("div", { class: {
|
|
32918
32973
|
[CSS$1.nodeContainer]: true,
|
|
32919
32974
|
[CSS_UTILITY.rtl]: rtl
|
|
32920
32975
|
}, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, bulletOrCheckIcon, checkbox ? checkbox : defaultSlotNode), hAsync("div", { class: {
|
|
@@ -33359,7 +33414,7 @@ class ValueListItem {
|
|
|
33359
33414
|
renderHandle() {
|
|
33360
33415
|
const { icon } = this;
|
|
33361
33416
|
if (icon === ICON_TYPES$1.grip) {
|
|
33362
|
-
return (hAsync("span", { "aria-pressed": this.handleActivated
|
|
33417
|
+
return (hAsync("span", { "aria-pressed": toAriaBoolean(this.handleActivated), class: {
|
|
33363
33418
|
[CSS$h.handle]: true,
|
|
33364
33419
|
[CSS$h.handleActivated]: this.handleActivated
|
|
33365
33420
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|