@esri/calcite-components 1.0.0-next.461 → 1.0.0-next.464
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-d22b1fc6.system.entry.js → p-0d6735b5.system.entry.js} +2 -2
- package/dist/calcite/p-11762c64.entry.js +6 -0
- package/dist/calcite/{p-ebaa67da.system.js → p-125f03f8.system.js} +1 -1
- package/dist/calcite/{p-f2872812.entry.js → p-1394a98e.entry.js} +2 -2
- package/dist/calcite/{p-eafb052b.system.js → p-13d9f64b.system.js} +1 -1
- package/dist/calcite/p-13f8c3b7.system.entry.js +6 -0
- package/dist/calcite/p-15043636.system.entry.js +6 -0
- package/dist/calcite/{p-0367e772.entry.js → p-1909b8e2.entry.js} +2 -2
- package/dist/calcite/p-1abc0661.entry.js +6 -0
- package/dist/calcite/{p-31230537.entry.js → p-1ad53ca4.entry.js} +2 -2
- package/dist/calcite/{p-b115435e.entry.js → p-1ec74a30.entry.js} +2 -2
- package/dist/calcite/{p-18ae48f5.system.js → p-1f7e9d80.system.js} +1 -1
- package/dist/calcite/{p-3df85e75.js → p-20018e14.js} +2 -2
- package/dist/calcite/p-2141a553.system.entry.js +6 -0
- package/dist/calcite/{p-59b99871.system.entry.js → p-22437b2f.system.entry.js} +2 -2
- package/dist/calcite/{p-d1a1a448.system.js → p-244b9388.system.js} +2 -2
- package/dist/calcite/p-26848d8c.entry.js +6 -0
- package/dist/calcite/p-27813e18.system.entry.js +6 -0
- package/dist/calcite/p-27a07bd5.system.entry.js +6 -0
- package/dist/calcite/p-28a2b2c1.entry.js +6 -0
- package/dist/calcite/{p-b0451fc8.system.entry.js → p-2a5b5cb1.system.entry.js} +2 -2
- package/dist/calcite/p-2a7ea441.entry.js +6 -0
- package/dist/calcite/p-2cf03381.system.entry.js +6 -0
- package/dist/calcite/p-2d96975c.entry.js +6 -0
- package/dist/calcite/{p-2ea7639b.js → p-2d9c5035.js} +1 -1
- package/dist/calcite/{p-5998e0f1.js → p-2e2e4c4f.js} +1 -1
- package/dist/calcite/{p-68855447.system.entry.js → p-2ea4d9c2.system.entry.js} +2 -2
- package/dist/calcite/{p-362e7274.system.js → p-2eb354df.system.js} +1 -1
- package/dist/calcite/p-2ec9ae22.entry.js +6 -0
- package/dist/calcite/{p-6859db08.entry.js → p-3112ff36.entry.js} +2 -2
- package/dist/calcite/{p-b80515ea.system.entry.js → p-31264ee9.system.entry.js} +2 -2
- package/dist/calcite/{p-56278798.system.js → p-3143aaae.system.js} +2 -2
- package/dist/calcite/p-31e74680.system.entry.js +6 -0
- package/dist/calcite/{p-7efe0710.system.entry.js → p-32702123.system.entry.js} +2 -2
- package/dist/calcite/p-34c422d1.entry.js +6 -0
- package/dist/calcite/{p-e1a9a8af.entry.js → p-3574110a.entry.js} +2 -2
- package/dist/calcite/{p-a95295d2.system.js → p-39955394.system.js} +1 -1
- package/dist/calcite/{p-e131973f.system.entry.js → p-3e407416.system.entry.js} +2 -2
- package/dist/calcite/{p-12327179.system.entry.js → p-40ad5605.system.entry.js} +2 -2
- package/dist/calcite/p-43b05946.system.entry.js +6 -0
- package/dist/calcite/{p-4cb9938b.entry.js → p-463f3d91.entry.js} +2 -2
- package/dist/calcite/{p-eda6e9b7.js → p-47af97a5.js} +1 -1
- package/dist/calcite/p-4a914a25.system.entry.js +6 -0
- package/dist/calcite/{p-409ecb0e.js → p-4d55e334.js} +2 -2
- package/dist/calcite/{p-5510de3e.system.entry.js → p-4f115393.system.entry.js} +3 -3
- package/dist/calcite/{p-224317fd.system.entry.js → p-50901118.system.entry.js} +3 -3
- package/dist/calcite/{p-2390e670.system.entry.js → p-50d9115f.system.entry.js} +2 -2
- package/dist/calcite/{p-dec0523c.system.entry.js → p-517461d4.system.entry.js} +2 -2
- package/dist/calcite/{p-96309a05.system.entry.js → p-5312d940.system.entry.js} +2 -2
- package/dist/calcite/{p-5bbd64a2.entry.js → p-5532199b.entry.js} +2 -2
- package/dist/calcite/{p-63ad4ddd.entry.js → p-55396ff1.entry.js} +2 -2
- package/dist/calcite/{p-3aa8e10f.system.entry.js → p-554049e6.system.entry.js} +2 -2
- package/dist/calcite/{p-82a7c01d.system.entry.js → p-579eb4dd.system.entry.js} +2 -2
- package/dist/calcite/{p-c83317c0.system.js → p-5a0ce8d9.system.js} +2 -2
- package/dist/calcite/{p-c4fb4e68.js → p-5ac02e5e.js} +1 -1
- package/dist/calcite/{p-f442ebdb.entry.js → p-5b1ad494.entry.js} +2 -2
- package/dist/calcite/{p-71d4c6ac.system.entry.js → p-5b31a833.system.entry.js} +2 -2
- package/dist/calcite/p-5cd1fd53.entry.js +6 -0
- package/dist/calcite/p-5d421e57.system.entry.js +6 -0
- package/dist/calcite/{p-93fc8da3.system.js → p-5d555d40.system.js} +1 -1
- package/dist/calcite/{p-61b74ecd.entry.js → p-63a4c3bb.entry.js} +2 -2
- package/dist/calcite/{p-557f89e5.js → p-63bca189.js} +1 -1
- package/dist/calcite/p-6558d88c.system.js +6 -0
- package/dist/calcite/{p-7f9f0374.system.entry.js → p-669ceba9.system.entry.js} +2 -2
- package/dist/calcite/{p-2eae2194.system.js → p-68740877.system.js} +1 -1
- package/dist/calcite/{p-2bf5c70f.js → p-696fba1e.js} +2 -2
- package/dist/calcite/{p-f713ff79.js → p-698adce1.js} +1 -1
- package/dist/calcite/{p-b0c853f0.system.js → p-69933390.system.js} +1 -1
- package/dist/calcite/p-6ccc36d6.system.js +6 -0
- package/dist/calcite/p-6d3b92e9.system.entry.js +6 -0
- package/dist/calcite/{p-7a1c2854.entry.js → p-701eaf25.entry.js} +2 -2
- package/dist/calcite/p-7066289c.js +6 -0
- package/dist/calcite/{p-88e36079.entry.js → p-70932301.entry.js} +2 -2
- package/dist/calcite/p-7235190c.entry.js +6 -0
- package/dist/calcite/{p-cae3e0a6.entry.js → p-73fce09c.entry.js} +2 -2
- package/dist/calcite/{p-3340cde0.js → p-75783a86.js} +1 -1
- package/dist/calcite/{p-4be3881c.entry.js → p-759a8b8f.entry.js} +2 -2
- package/dist/calcite/{p-82451fd3.system.entry.js → p-7962ee4a.system.entry.js} +2 -2
- package/dist/calcite/{p-749e4476.system.js → p-79934fcb.system.js} +1 -1
- package/dist/calcite/{p-2d074b91.system.js → p-7a27ed8a.system.js} +2 -2
- package/dist/calcite/p-7bcf7f41.system.entry.js +6 -0
- package/dist/calcite/{p-4b224b72.entry.js → p-7d916c69.entry.js} +2 -2
- package/dist/calcite/{p-88f21a02.js → p-81bc5338.js} +2 -2
- package/dist/calcite/{p-3f741dbf.system.js → p-86a919ae.system.js} +1 -1
- package/dist/calcite/p-8710763e.system.entry.js +6 -0
- package/dist/calcite/{p-76cb1e0e.entry.js → p-871f717c.entry.js} +2 -2
- package/dist/calcite/{p-c3d8db16.js → p-8798d024.js} +2 -2
- package/dist/calcite/{p-a0e2e8d2.system.js → p-885e7357.system.js} +2 -2
- package/dist/calcite/{p-2f041f2e.js → p-8bb081ed.js} +1 -1
- package/dist/calcite/{p-0011543b.entry.js → p-8cd21d33.entry.js} +2 -2
- package/dist/calcite/p-90c3d7b8.js +6 -0
- package/dist/calcite/{p-cc70414a.system.entry.js → p-916c131d.system.entry.js} +2 -2
- package/dist/calcite/p-91d8f613.entry.js +6 -0
- package/dist/calcite/{p-c34834f7.entry.js → p-93482c63.entry.js} +2 -2
- package/dist/calcite/{p-61acdf19.js → p-93eb488c.js} +1 -1
- package/dist/calcite/{p-3fda22e1.entry.js → p-97846b5b.entry.js} +2 -2
- package/dist/calcite/{p-2a765aec.js → p-990b5578.js} +1 -1
- package/dist/calcite/p-99311e75.entry.js +6 -0
- package/dist/calcite/p-9d5c2148.js +6 -0
- package/dist/calcite/p-9d7e6385.entry.js +6 -0
- package/dist/calcite/p-9dfb3d89.entry.js +6 -0
- package/dist/calcite/{p-29a8005f.entry.js → p-9eba200f.entry.js} +2 -2
- package/dist/calcite/{p-5043706a.system.js → p-9eddc595.system.js} +2 -2
- package/dist/calcite/{p-1eaec75a.system.entry.js → p-a0bfe758.system.entry.js} +2 -2
- package/dist/calcite/{p-aa014ab3.entry.js → p-a32153dc.entry.js} +2 -2
- package/dist/calcite/{p-0f6c165c.system.entry.js → p-a52600b2.system.entry.js} +2 -2
- package/dist/calcite/p-a5705999.entry.js +6 -0
- package/dist/calcite/p-a82d50dd.js +6 -0
- package/dist/calcite/{p-a6ea88af.system.entry.js → p-a84cef19.system.entry.js} +2 -2
- package/dist/calcite/{p-b2a28c5e.system.entry.js → p-a90d71e1.system.entry.js} +2 -2
- package/dist/calcite/{p-df005ea5.entry.js → p-a9336637.entry.js} +2 -2
- package/dist/calcite/{p-ad063a8d.js → p-a96b81eb.js} +1 -1
- package/dist/calcite/p-ab28b1fd.system.entry.js +6 -0
- package/dist/calcite/{p-4ca7c056.entry.js → p-ae85866a.entry.js} +2 -2
- package/dist/calcite/{p-1923d880.system.entry.js → p-aee4341a.system.entry.js} +2 -2
- package/dist/calcite/{p-7538938a.system.js → p-b0ff427b.system.js} +2 -2
- package/dist/calcite/p-b1e61905.entry.js +6 -0
- package/dist/calcite/p-b29ca66f.system.entry.js +6 -0
- package/dist/calcite/p-b4cd0b0b.entry.js +6 -0
- package/dist/calcite/{p-b42a79b5.system.js → p-b6789eb0.system.js} +2 -2
- package/dist/calcite/{p-26da0f25.system.js → p-b7fb8ef6.system.js} +3 -3
- package/dist/calcite/{p-0b3af78d.system.entry.js → p-b8c6a78b.system.entry.js} +2 -2
- package/dist/calcite/{p-950e8b2d.entry.js → p-b91b7b3b.entry.js} +2 -2
- package/dist/calcite/{p-93156892.entry.js → p-bd530f1d.entry.js} +2 -2
- package/dist/calcite/p-be34413c.entry.js +6 -0
- package/dist/calcite/{p-d255f013.system.entry.js → p-bf0589a2.system.entry.js} +2 -2
- package/dist/calcite/{p-3744b5b0.system.js → p-bfda16a7.system.js} +2 -2
- package/dist/calcite/{p-eb0c58ba.entry.js → p-c0d5a76d.entry.js} +2 -2
- package/dist/calcite/{p-ffb97b15.system.js → p-c1d349fb.system.js} +1 -1
- package/dist/calcite/p-c32e6eeb.system.entry.js +6 -0
- package/dist/calcite/p-ca93b4f6.entry.js +6 -0
- package/dist/calcite/{p-22c56daf.entry.js → p-cc8c8358.entry.js} +2 -2
- package/dist/calcite/{p-080bd504.system.js → p-cf3863ea.system.js} +1 -1
- package/dist/calcite/{p-136d8f07.system.entry.js → p-d0a514cc.system.entry.js} +2 -2
- package/dist/calcite/p-d1a72fed.system.entry.js +6 -0
- package/dist/calcite/{p-d51209b2.system.entry.js → p-d20f13dd.system.entry.js} +2 -2
- package/dist/calcite/p-d228c759.system.entry.js +6 -0
- package/dist/calcite/p-d33becb0.entry.js +6 -0
- package/dist/calcite/p-d3cc6dbd.entry.js +6 -0
- package/dist/calcite/{p-c6fad384.entry.js → p-d47df039.entry.js} +2 -2
- package/dist/calcite/{p-97e55ea8.js → p-d486b73b.js} +2 -2
- package/dist/calcite/{p-4df54ba0.system.entry.js → p-d52265e0.system.entry.js} +2 -2
- package/dist/calcite/p-d556fb32.system.entry.js +6 -0
- package/dist/calcite/{p-c4f5d26a.entry.js → p-d652640c.entry.js} +2 -2
- package/dist/calcite/p-d6d4a0e5.system.entry.js +6 -0
- package/dist/calcite/p-da4bcc0b.system.js +6 -0
- package/dist/calcite/p-dc6ec892.system.entry.js +6 -0
- package/dist/calcite/{p-fe6b20d9.system.entry.js → p-dcb4f1b7.system.entry.js} +2 -2
- package/dist/calcite/p-dda9f2b4.entry.js +6 -0
- package/dist/calcite/{p-4142a266.system.entry.js → p-defc7f08.system.entry.js} +2 -2
- package/dist/calcite/{p-daef418b.js → p-e1573e68.js} +2 -2
- package/dist/calcite/p-e71e948a.entry.js +6 -0
- package/dist/calcite/{p-02021e0d.system.entry.js → p-e79663e4.system.entry.js} +2 -2
- package/dist/calcite/{p-df42c2d2.system.entry.js → p-e7f3a9ba.system.entry.js} +2 -2
- package/dist/calcite/{p-3b9801a0.system.entry.js → p-e9661f8e.system.entry.js} +2 -2
- package/dist/calcite/p-ecb6cebc.entry.js +6 -0
- package/dist/calcite/{p-d59df69b.entry.js → p-edf1d1d6.entry.js} +2 -2
- package/dist/calcite/{p-0958dab4.system.js → p-ef4ebea8.system.js} +1 -1
- package/dist/calcite/{p-ef9073ae.entry.js → p-efd81171.entry.js} +2 -2
- package/dist/calcite/p-f2754244.js +6 -0
- package/dist/calcite/{p-9cb99ce3.js → p-f362f361.js} +1 -1
- package/dist/calcite/p-f39998bd.system.entry.js +6 -0
- package/dist/calcite/p-f4ba2ef6.system.entry.js +6 -0
- package/dist/calcite/p-fc39c8fc.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-d85fb3ba.js → ExpandToggle-ed0e6137.js} +5 -5
- package/dist/cjs/{Heading-b35e7f69.js → Heading-5026b1f6.js} +2 -2
- package/dist/cjs/{array-0a7749b8.js → array-7739be65.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 +9 -9
- 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 +111 -99
- 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 +3 -3
- package/dist/cjs/{conditionalSlot-4c355878.js → conditionalSlot-a1ce2c50.js} +3 -3
- package/dist/cjs/{debounce-f9c57f39.js → debounce-b57b4366.js} +1 -1
- package/dist/cjs/{dom-13b98e4a.js → dom-8563ad97.js} +13 -2
- package/dist/cjs/{forIn-e9f45dce.js → forIn-8b9a52b1.js} +2 -2
- package/dist/cjs/{form-6df7e9fe.js → form-ff578dd7.js} +3 -3
- package/dist/cjs/{guid-bbfc3849.js → guid-bbfbacf8.js} +1 -1
- package/dist/cjs/{index-71d57c06.js → index-9ad3f4ec.js} +1 -4
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-b3513fe1.js → interactive-274cf120.js} +1 -1
- package/dist/cjs/{interfaces-fe1a2795.js → interfaces-e6abfe6b.js} +1 -1
- package/dist/cjs/{label-45709284.js → label-7caeb189.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-11a5e962.js → locale-b79cfca1.js} +2 -2
- package/dist/cjs/{math-a7ca3376.js → math-2c9fced1.js} +1 -1
- package/dist/cjs/{number-b144c738.js → number-e039884b.js} +1 -1
- package/dist/cjs/{observers-d41954ff.js → observers-73fbf3b3.js} +1 -1
- package/dist/cjs/{popper-89dd7906.js → popper-a32c2309.js} +2 -2
- package/dist/cjs/{resources-0604c826.js → resources-948002c1.js} +3 -3
- package/dist/cjs/{resources-6867634c.js → resources-955a0bcc.js} +6 -6
- package/dist/cjs/{resources-6f6a5340.js → resources-b052215f.js} +1 -1
- package/dist/cjs/{resources-fd8d854c.js → resources-cb8d7cc3.js} +1 -1
- package/dist/cjs/{sortable.esm-92bca865.js → sortable.esm-3507f48e.js} +1 -1
- package/dist/cjs/{utils-e71f0d4e.js → utils-3cace99b.js} +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.css +2 -9
- 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 +74 -49
- 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 +2 -2
- 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 +48 -59
- package/dist/components/calcite-stepper.js +62 -39
- 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 +213 -152
- package/dist/esm/{ExpandToggle-03eced29.js → ExpandToggle-791d306b.js} +5 -5
- package/dist/esm/{Heading-01f3a212.js → Heading-b4e2ed84.js} +2 -2
- package/dist/esm/{array-c21f5a16.js → array-c3d1a08d.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 +9 -9
- 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 +111 -99
- 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 +3 -3
- package/dist/esm/{conditionalSlot-176139a8.js → conditionalSlot-4f7a799a.js} +3 -3
- package/dist/esm/{debounce-7edd4f71.js → debounce-4ee433e8.js} +1 -1
- package/dist/esm/{dom-ee67e7a9.js → dom-a2932582.js} +13 -3
- package/dist/esm/{forIn-9aa42694.js → forIn-58c0fc60.js} +2 -2
- package/dist/esm/{form-5fd9623d.js → form-f7e25bb7.js} +3 -3
- package/dist/esm/{guid-c5ae46ae.js → guid-19d940ff.js} +1 -1
- package/dist/esm/{index-48c3884e.js → index-d261ca5a.js} +1 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-48e0f9d9.js → interactive-b38097f6.js} +1 -1
- package/dist/esm/{interfaces-8d534e2e.js → interfaces-bbf7cc65.js} +1 -1
- package/dist/esm/{label-dac60e12.js → label-2f6ec862.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-a139055a.js → locale-e52a164b.js} +2 -2
- package/dist/esm/{math-04641d29.js → math-a938e6e0.js} +1 -1
- package/dist/esm/{number-5aa5e774.js → number-7694f29a.js} +1 -1
- package/dist/esm/{observers-0385e49f.js → observers-a2053cce.js} +1 -1
- package/dist/esm/{popper-2740424e.js → popper-838cc3a3.js} +2 -2
- package/dist/esm/{resources-8b5106ff.js → resources-1e1a97e9.js} +1 -1
- package/dist/esm/{resources-94afe52a.js → resources-68442e39.js} +6 -6
- package/dist/esm/{resources-5a5b2d91.js → resources-b4f2d363.js} +3 -3
- package/dist/esm/{resources-46a7dac1.js → resources-e29ae7d9.js} +1 -1
- package/dist/esm/{sortable.esm-b3495838.js → sortable.esm-daa6d5c1.js} +1 -1
- package/dist/esm/{utils-ec0ebff4.js → utils-0ffe1aed.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-03eced29.js → ExpandToggle-791d306b.js} +2 -2
- package/dist/esm-es5/{Heading-01f3a212.js → Heading-b4e2ed84.js} +2 -2
- package/dist/esm-es5/{array-c21f5a16.js → array-c3d1a08d.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 +3 -3
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +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 +3 -3
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- 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-176139a8.js → conditionalSlot-4f7a799a.js} +2 -2
- package/dist/esm-es5/{debounce-7edd4f71.js → debounce-4ee433e8.js} +1 -1
- package/dist/esm-es5/{dom-ee67e7a9.js → dom-a2932582.js} +2 -2
- package/dist/esm-es5/{forIn-9aa42694.js → forIn-58c0fc60.js} +2 -2
- package/dist/esm-es5/{form-5fd9623d.js → form-f7e25bb7.js} +2 -2
- package/dist/esm-es5/{guid-c5ae46ae.js → guid-19d940ff.js} +1 -1
- package/dist/esm-es5/{index-48c3884e.js → index-d261ca5a.js} +2 -2
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-48e0f9d9.js → interactive-b38097f6.js} +1 -1
- package/dist/esm-es5/{interfaces-8d534e2e.js → interfaces-bbf7cc65.js} +1 -1
- package/dist/esm-es5/{label-dac60e12.js → label-2f6ec862.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-a139055a.js → locale-e52a164b.js} +2 -2
- package/dist/esm-es5/{math-04641d29.js → math-a938e6e0.js} +1 -1
- package/dist/esm-es5/{number-5aa5e774.js → number-7694f29a.js} +1 -1
- package/dist/esm-es5/{observers-0385e49f.js → observers-a2053cce.js} +1 -1
- package/dist/esm-es5/{popper-2740424e.js → popper-838cc3a3.js} +2 -2
- package/dist/esm-es5/{resources-8b5106ff.js → resources-1e1a97e9.js} +1 -1
- package/dist/esm-es5/resources-68442e39.js +6 -0
- package/dist/esm-es5/{resources-5a5b2d91.js → resources-b4f2d363.js} +2 -2
- package/dist/esm-es5/{resources-46a7dac1.js → resources-e29ae7d9.js} +1 -1
- package/dist/esm-es5/{sortable.esm-b3495838.js → sortable.esm-daa6d5c1.js} +1 -1
- package/dist/esm-es5/{utils-ec0ebff4.js → utils-0ffe1aed.js} +1 -1
- package/dist/extras/docs-json.json +3 -8
- 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 +14 -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 +215 -155
- package/package.json +2 -2
- package/dist/calcite/p-0a949c9b.system.entry.js +0 -6
- package/dist/calcite/p-0cdcca68.system.entry.js +0 -6
- package/dist/calcite/p-1b165e38.system.entry.js +0 -6
- package/dist/calcite/p-1b31fbde.entry.js +0 -6
- package/dist/calcite/p-26b245e7.system.entry.js +0 -6
- package/dist/calcite/p-27ebeea0.system.entry.js +0 -6
- package/dist/calcite/p-2d25d1a6.entry.js +0 -6
- package/dist/calcite/p-2fd4e510.entry.js +0 -6
- package/dist/calcite/p-3a151163.entry.js +0 -6
- package/dist/calcite/p-3a178111.entry.js +0 -6
- package/dist/calcite/p-3e3f53ea.js +0 -6
- package/dist/calcite/p-3e5799eb.js +0 -6
- package/dist/calcite/p-41dffeaa.js +0 -6
- package/dist/calcite/p-44c851bc.system.entry.js +0 -6
- package/dist/calcite/p-44f54a4b.entry.js +0 -6
- package/dist/calcite/p-491e483b.system.entry.js +0 -6
- package/dist/calcite/p-4b44db9d.system.entry.js +0 -6
- package/dist/calcite/p-4c1ef7fa.system.entry.js +0 -6
- package/dist/calcite/p-518c7ef4.entry.js +0 -6
- package/dist/calcite/p-5cab54c2.js +0 -6
- package/dist/calcite/p-637908dd.system.entry.js +0 -6
- package/dist/calcite/p-63cbec18.system.entry.js +0 -6
- package/dist/calcite/p-63cff561.entry.js +0 -6
- package/dist/calcite/p-6a170ff5.entry.js +0 -6
- package/dist/calcite/p-70d10fb1.entry.js +0 -6
- package/dist/calcite/p-7c2664fa.entry.js +0 -6
- package/dist/calcite/p-7e5aaf31.system.entry.js +0 -6
- package/dist/calcite/p-7f44c1c8.entry.js +0 -6
- package/dist/calcite/p-83b03e3c.system.entry.js +0 -6
- package/dist/calcite/p-867979ea.system.entry.js +0 -6
- package/dist/calcite/p-8a52b393.system.entry.js +0 -6
- package/dist/calcite/p-8aaf7261.entry.js +0 -6
- package/dist/calcite/p-91c233d6.entry.js +0 -6
- package/dist/calcite/p-96234cef.system.entry.js +0 -6
- package/dist/calcite/p-9958a812.entry.js +0 -6
- package/dist/calcite/p-9b3a56a6.entry.js +0 -6
- package/dist/calcite/p-9ff79b79.entry.js +0 -6
- package/dist/calcite/p-a0efacf2.js +0 -6
- package/dist/calcite/p-ab0bccea.entry.js +0 -6
- package/dist/calcite/p-ac8278f7.system.js +0 -6
- package/dist/calcite/p-acc50101.system.js +0 -6
- package/dist/calcite/p-bbbe51aa.system.entry.js +0 -6
- package/dist/calcite/p-c01211fa.entry.js +0 -6
- package/dist/calcite/p-c0580246.system.entry.js +0 -6
- package/dist/calcite/p-c4ffec9d.system.js +0 -6
- package/dist/calcite/p-c5821995.system.entry.js +0 -6
- package/dist/calcite/p-c81f46b1.system.entry.js +0 -6
- package/dist/calcite/p-ce2bab71.entry.js +0 -6
- package/dist/calcite/p-d79338c1.entry.js +0 -6
- package/dist/calcite/p-e5319056.entry.js +0 -6
- package/dist/calcite/p-e88ec1fa.system.entry.js +0 -6
- package/dist/calcite/p-e8d698e3.entry.js +0 -6
- package/dist/calcite/p-e9b2583c.system.entry.js +0 -6
- package/dist/calcite/p-ea9ed7e5.entry.js +0 -6
- package/dist/calcite/p-ed4a25c5.entry.js +0 -6
- package/dist/calcite/p-f645ca8a.system.entry.js +0 -6
- package/dist/esm-es5/resources-94afe52a.js +0 -6
package/hydrate/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.464
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -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; }
|
|
@@ -12323,7 +12332,7 @@ const decimalPlaces = (value) => {
|
|
|
12323
12332
|
(match[2] ? +match[2] : 0));
|
|
12324
12333
|
};
|
|
12325
12334
|
|
|
12326
|
-
const colorPickerCss = "@-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-color-picker: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-color-picker{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-color-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-color-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-color-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-color-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-color-picker:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-color-picker-h{display:none}/*!@:host*/.sc-calcite-color-picker-h{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([disabled])*/[disabled].sc-calcite-color-picker-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-color-picker-h[disabled] .sc-calcite-color-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-color-picker-h [calcite-hydrated][disabled].sc-calcite-color-picker{opacity:1}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-color-picker-h .container.sc-calcite-color-picker{width:160px}/*!@:host([scale=s]) .saved-colors*/[scale=s].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}/*!@:host([scale=s]) .channels*/[scale=s].sc-calcite-color-picker-h .channels.sc-calcite-color-picker{-ms-flex-direction:column;flex-direction:column}/*!@:host([scale=s]) .channel*/[scale=s].sc-calcite-color-picker-h .channel.sc-calcite-color-picker{width:100%;margin-bottom:4px}/*!@:host([scale=s]) .channel:last-child*/[scale=s].sc-calcite-color-picker-h .channel.sc-calcite-color-picker:last-child{margin-bottom:0}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-color-picker-h .container.sc-calcite-color-picker{width:272px}/*!@:host([scale=l]) .header*/[scale=l].sc-calcite-color-picker-h .header.sc-calcite-color-picker{padding-bottom:0px}/*!@:host([scale=l])*/[scale=l].sc-calcite-color-picker-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-color-picker-h .container.sc-calcite-color-picker{width:464px}/*!@:host([scale=l]) .color-field-and-slider*/[scale=l].sc-calcite-color-picker-h .color-field-and-slider.sc-calcite-color-picker{margin-bottom:-20px}/*!@:host([scale=l]) .section*/[scale=l].sc-calcite-color-picker-h .section.sc-calcite-color-picker{padding:0 16px 16px}/*!@:host([scale=l]) .section:first-of-type*/[scale=l].sc-calcite-color-picker-h .section.sc-calcite-color-picker:first-of-type{padding-top:16px}/*!@:host([scale=l]) .saved-colors*/[scale=l].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}/*!@:host([scale=l]) .control-section*/[scale=l].sc-calcite-color-picker-h .control-section.sc-calcite-color-picker{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}/*!@:host([scale=l]) .control-section > :nth-child(2)*/[scale=l].sc-calcite-color-picker-h .control-section.sc-calcite-color-picker>.sc-calcite-color-picker:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}/*!@:host([scale=l]) .color-hex-options*/[scale=l].sc-calcite-color-picker-h .color-hex-options.sc-calcite-color-picker{display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}/*!@:host([scale=l]) .color-mode-container*/[scale=l].sc-calcite-color-picker-h .color-mode-container.sc-calcite-color-picker{-ms-flex-negative:3;flex-shrink:3}/*!@:host([appearance=minimal]) .container*/[appearance=minimal].sc-calcite-color-picker-h .container.sc-calcite-color-picker{border:none}/*!@.container*/.container.sc-calcite-color-picker{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}/*!@.color-field-and-slider-wrap*/.color-field-and-slider-wrap.sc-calcite-color-picker{position:relative}/*!@.scope*/.scope.sc-calcite-color-picker{pointer-events:none;position:absolute;
|
|
12335
|
+
const colorPickerCss = "@-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-color-picker: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-color-picker{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-color-picker{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-color-picker{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-color-picker{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-color-picker{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-color-picker:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-color-picker-h{display:none}/*!@:host*/.sc-calcite-color-picker-h{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}/*!@:host([disabled])*/[disabled].sc-calcite-color-picker-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-color-picker-h[disabled] .sc-calcite-color-picker-s>[calcite-hydrated][disabled],[disabled].sc-calcite-color-picker-h [calcite-hydrated][disabled].sc-calcite-color-picker{opacity:1}/*!@:host([scale=s]) .container*/[scale=s].sc-calcite-color-picker-h .container.sc-calcite-color-picker{width:160px}/*!@:host([scale=s]) .saved-colors*/[scale=s].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}/*!@:host([scale=s]) .channels*/[scale=s].sc-calcite-color-picker-h .channels.sc-calcite-color-picker{-ms-flex-direction:column;flex-direction:column}/*!@:host([scale=s]) .channel*/[scale=s].sc-calcite-color-picker-h .channel.sc-calcite-color-picker{width:100%;margin-bottom:4px}/*!@:host([scale=s]) .channel:last-child*/[scale=s].sc-calcite-color-picker-h .channel.sc-calcite-color-picker:last-child{margin-bottom:0}/*!@:host([scale=m]) .container*/[scale=m].sc-calcite-color-picker-h .container.sc-calcite-color-picker{width:272px}/*!@:host([scale=l]) .header*/[scale=l].sc-calcite-color-picker-h .header.sc-calcite-color-picker{padding-bottom:0px}/*!@:host([scale=l])*/[scale=l].sc-calcite-color-picker-h{font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=l]) .container*/[scale=l].sc-calcite-color-picker-h .container.sc-calcite-color-picker{width:464px}/*!@:host([scale=l]) .color-field-and-slider*/[scale=l].sc-calcite-color-picker-h .color-field-and-slider.sc-calcite-color-picker{margin-bottom:-20px}/*!@:host([scale=l]) .section*/[scale=l].sc-calcite-color-picker-h .section.sc-calcite-color-picker{padding:0 16px 16px}/*!@:host([scale=l]) .section:first-of-type*/[scale=l].sc-calcite-color-picker-h .section.sc-calcite-color-picker:first-of-type{padding-top:16px}/*!@:host([scale=l]) .saved-colors*/[scale=l].sc-calcite-color-picker-h .saved-colors.sc-calcite-color-picker{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}/*!@:host([scale=l]) .control-section*/[scale=l].sc-calcite-color-picker-h .control-section.sc-calcite-color-picker{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}/*!@:host([scale=l]) .control-section > :nth-child(2)*/[scale=l].sc-calcite-color-picker-h .control-section.sc-calcite-color-picker>.sc-calcite-color-picker:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}/*!@:host([scale=l]) .color-hex-options*/[scale=l].sc-calcite-color-picker-h .color-hex-options.sc-calcite-color-picker{display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;min-height:98px;width:160px}/*!@:host([scale=l]) .color-mode-container*/[scale=l].sc-calcite-color-picker-h .color-mode-container.sc-calcite-color-picker{-ms-flex-negative:3;flex-shrink:3}/*!@:host([appearance=minimal]) .container*/[appearance=minimal].sc-calcite-color-picker-h .container.sc-calcite-color-picker{border:none}/*!@.container*/.container.sc-calcite-color-picker{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}/*!@.color-field-and-slider-wrap*/.color-field-and-slider-wrap.sc-calcite-color-picker{position:relative}/*!@.scope*/.scope.sc-calcite-color-picker{pointer-events:none;position:absolute;font-size:var(--calcite-font-size--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;outline-offset:14px}/*!@.scope:focus*/.scope.sc-calcite-color-picker:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:16px}/*!@.color-field-and-slider*/.color-field-and-slider.sc-calcite-color-picker{margin-bottom:-16px}/*!@.color-field-and-slider--interactive*/.color-field-and-slider--interactive.sc-calcite-color-picker{cursor:pointer}/*!@.control-section*/.control-section.sc-calcite-color-picker{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}/*!@.section*/.section.sc-calcite-color-picker{padding:0 12px 12px}/*!@.section:first-of-type*/.section.sc-calcite-color-picker:first-of-type{padding-top:12px}/*!@.color-hex-options,\n.section--split*/.color-hex-options.sc-calcite-color-picker,.section--split.sc-calcite-color-picker{-ms-flex-positive:1;flex-grow:1}/*!@.header*/.header.sc-calcite-color-picker{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;padding-bottom:0.25rem;color:var(--calcite-ui-text-1)}/*!@.header--hex,\n.color-mode-container*/.header--hex.sc-calcite-color-picker,.color-mode-container.sc-calcite-color-picker{padding-top:12px}/*!@.channels*/.channels.sc-calcite-color-picker{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}/*!@.channel*/.channel.sc-calcite-color-picker{width:31%}/*!@.saved-colors*/.saved-colors.sc-calcite-color-picker{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;width:100%}/*!@.saved-colors-buttons*/.saved-colors-buttons.sc-calcite-color-picker{display:-ms-flexbox;display:flex}/*!@.saved-color*/.saved-color.sc-calcite-color-picker{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;cursor:pointer}/*!@.saved-color:focus*/.saved-color.sc-calcite-color-picker:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.saved-color:hover*/.saved-color.sc-calcite-color-picker:hover{-webkit-transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}";
|
|
12327
12336
|
|
|
12328
12337
|
const throttleFor60FpsInMs = 16;
|
|
12329
12338
|
const defaultValue = normalizeHex(DEFAULT_COLOR$1.hex());
|
|
@@ -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,12 @@ class Stepper {
|
|
|
29524
29572
|
// Private State/Props
|
|
29525
29573
|
//
|
|
29526
29574
|
//--------------------------------------------------------------------------
|
|
29527
|
-
/**
|
|
29575
|
+
/** map of Stepper items */
|
|
29576
|
+
this.itemMap = new Map();
|
|
29577
|
+
/** list of sorted Stepper items */
|
|
29528
29578
|
this.items = [];
|
|
29529
|
-
/**
|
|
29530
|
-
this.
|
|
29579
|
+
/** list of enabled Stepper items */
|
|
29580
|
+
this.enabledItems = [];
|
|
29531
29581
|
}
|
|
29532
29582
|
// watch for removal of disabled to register step
|
|
29533
29583
|
contentWatcher() {
|
|
@@ -29568,7 +29618,7 @@ class Stepper {
|
|
|
29568
29618
|
const item = e.detail.item;
|
|
29569
29619
|
const itemToFocus = e.target;
|
|
29570
29620
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
29571
|
-
const isLastItem = this.itemIndex(itemToFocus) === this.
|
|
29621
|
+
const isLastItem = this.itemIndex(itemToFocus) === this.enabledItems.length - 1;
|
|
29572
29622
|
switch (item.key) {
|
|
29573
29623
|
case "ArrowDown":
|
|
29574
29624
|
case "ArrowRight":
|
|
@@ -29597,18 +29647,14 @@ class Stepper {
|
|
|
29597
29647
|
}
|
|
29598
29648
|
}
|
|
29599
29649
|
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);
|
|
29650
|
+
const item = event.target;
|
|
29651
|
+
const { content, position } = event.detail;
|
|
29652
|
+
if (content && item.active) {
|
|
29653
|
+
this.requestedContent = content;
|
|
29610
29654
|
}
|
|
29611
|
-
this.
|
|
29655
|
+
this.itemMap.set(item, position);
|
|
29656
|
+
this.items = this.sortItems();
|
|
29657
|
+
this.enabledItems = this.filterItems();
|
|
29612
29658
|
}
|
|
29613
29659
|
updateItem(event) {
|
|
29614
29660
|
if (event.detail.content) {
|
|
@@ -29626,31 +29672,46 @@ class Stepper {
|
|
|
29626
29672
|
//--------------------------------------------------------------------------
|
|
29627
29673
|
/** set the next step as active */
|
|
29628
29674
|
async nextStep() {
|
|
29629
|
-
this.currentPosition
|
|
29630
|
-
|
|
29631
|
-
|
|
29632
|
-
|
|
29675
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition + 1, "next");
|
|
29676
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29677
|
+
return;
|
|
29678
|
+
}
|
|
29679
|
+
this.currentPosition = enabledStepIndex;
|
|
29633
29680
|
this.emitChangedItem();
|
|
29634
29681
|
}
|
|
29635
29682
|
/** set the previous step as active */
|
|
29636
29683
|
async prevStep() {
|
|
29637
|
-
this.currentPosition
|
|
29638
|
-
|
|
29684
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition - 1, "previous");
|
|
29685
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29686
|
+
return;
|
|
29687
|
+
}
|
|
29688
|
+
this.currentPosition = enabledStepIndex;
|
|
29639
29689
|
this.emitChangedItem();
|
|
29640
29690
|
}
|
|
29641
29691
|
/** set the requested step as active */
|
|
29642
|
-
async goToStep(
|
|
29643
|
-
|
|
29644
|
-
this.
|
|
29692
|
+
async goToStep(step) {
|
|
29693
|
+
const position = step - 1;
|
|
29694
|
+
if (this.currentPosition !== position) {
|
|
29695
|
+
this.currentPosition = position;
|
|
29696
|
+
this.emitChangedItem();
|
|
29697
|
+
}
|
|
29645
29698
|
}
|
|
29646
29699
|
/** set the first step as active */
|
|
29647
29700
|
async startStep() {
|
|
29648
|
-
|
|
29701
|
+
const enabledStepIndex = this.getEnabledStepIndex(0, "next");
|
|
29702
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29703
|
+
return;
|
|
29704
|
+
}
|
|
29705
|
+
this.currentPosition = enabledStepIndex;
|
|
29649
29706
|
this.emitChangedItem();
|
|
29650
29707
|
}
|
|
29651
29708
|
/** set the last step as active */
|
|
29652
29709
|
async endStep() {
|
|
29653
|
-
|
|
29710
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, "previous");
|
|
29711
|
+
if (typeof enabledStepIndex !== "number") {
|
|
29712
|
+
return;
|
|
29713
|
+
}
|
|
29714
|
+
this.currentPosition = enabledStepIndex;
|
|
29654
29715
|
this.emitChangedItem();
|
|
29655
29716
|
}
|
|
29656
29717
|
//--------------------------------------------------------------------------
|
|
@@ -29658,6 +29719,17 @@ class Stepper {
|
|
|
29658
29719
|
// Private Methods
|
|
29659
29720
|
//
|
|
29660
29721
|
//--------------------------------------------------------------------------
|
|
29722
|
+
getEnabledStepIndex(startIndex, direction = "next") {
|
|
29723
|
+
var _a;
|
|
29724
|
+
const { items, currentPosition } = this;
|
|
29725
|
+
let newIndex = startIndex;
|
|
29726
|
+
while ((_a = items[newIndex]) === null || _a === void 0 ? void 0 : _a.disabled) {
|
|
29727
|
+
newIndex = newIndex + (direction === "previous" ? -1 : 1);
|
|
29728
|
+
}
|
|
29729
|
+
return newIndex !== currentPosition && newIndex < items.length && newIndex >= 0
|
|
29730
|
+
? newIndex
|
|
29731
|
+
: null;
|
|
29732
|
+
}
|
|
29661
29733
|
addHorizontalContentContainer() {
|
|
29662
29734
|
this.stepperContentContainer = document.createElement("div");
|
|
29663
29735
|
this.stepperContentContainer.classList.add("calcite-stepper-content");
|
|
@@ -29669,36 +29741,35 @@ class Stepper {
|
|
|
29669
29741
|
});
|
|
29670
29742
|
}
|
|
29671
29743
|
focusFirstItem() {
|
|
29672
|
-
const firstItem = this.
|
|
29744
|
+
const firstItem = this.enabledItems[0];
|
|
29673
29745
|
this.focusElement(firstItem);
|
|
29674
29746
|
}
|
|
29675
29747
|
focusLastItem() {
|
|
29676
|
-
const lastItem = this.
|
|
29748
|
+
const lastItem = this.enabledItems[this.enabledItems.length - 1];
|
|
29677
29749
|
this.focusElement(lastItem);
|
|
29678
29750
|
}
|
|
29679
29751
|
focusNextItem(e) {
|
|
29680
29752
|
const index = this.itemIndex(e);
|
|
29681
|
-
const nextItem = this.
|
|
29753
|
+
const nextItem = this.enabledItems[index + 1] || this.enabledItems[0];
|
|
29682
29754
|
this.focusElement(nextItem);
|
|
29683
29755
|
}
|
|
29684
29756
|
focusPrevItem(e) {
|
|
29685
29757
|
const index = this.itemIndex(e);
|
|
29686
|
-
const prevItem = this.
|
|
29758
|
+
const prevItem = this.enabledItems[index - 1] || this.enabledItems[this.enabledItems.length - 1];
|
|
29687
29759
|
this.focusElement(prevItem);
|
|
29688
29760
|
}
|
|
29689
29761
|
itemIndex(e) {
|
|
29690
|
-
return this.
|
|
29762
|
+
return this.enabledItems.indexOf(e);
|
|
29691
29763
|
}
|
|
29692
29764
|
focusElement(item) {
|
|
29693
|
-
|
|
29694
|
-
target.focus();
|
|
29765
|
+
item.focus();
|
|
29695
29766
|
}
|
|
29696
29767
|
sortItems() {
|
|
29697
|
-
const
|
|
29698
|
-
|
|
29699
|
-
|
|
29700
|
-
|
|
29701
|
-
return
|
|
29768
|
+
const { itemMap } = this;
|
|
29769
|
+
return Array.from(itemMap.keys()).sort((a, b) => itemMap.get(a) - itemMap.get(b));
|
|
29770
|
+
}
|
|
29771
|
+
filterItems() {
|
|
29772
|
+
return this.items.filter((item) => !item.disabled);
|
|
29702
29773
|
}
|
|
29703
29774
|
updateContent(content) {
|
|
29704
29775
|
this.stepperContentContainer.innerHTML = "";
|
|
@@ -29763,6 +29834,50 @@ class StepperItem {
|
|
|
29763
29834
|
/** the scale of the item */
|
|
29764
29835
|
/** @internal */
|
|
29765
29836
|
this.scale = "m";
|
|
29837
|
+
//--------------------------------------------------------------------------
|
|
29838
|
+
//
|
|
29839
|
+
// Private Methods
|
|
29840
|
+
//
|
|
29841
|
+
//--------------------------------------------------------------------------
|
|
29842
|
+
this.keyDownHandler = (e) => {
|
|
29843
|
+
if (!this.disabled && e.target === this.el) {
|
|
29844
|
+
switch (e.key) {
|
|
29845
|
+
case " ":
|
|
29846
|
+
case "Enter":
|
|
29847
|
+
this.emitRequestedItem();
|
|
29848
|
+
e.preventDefault();
|
|
29849
|
+
break;
|
|
29850
|
+
case "ArrowUp":
|
|
29851
|
+
case "ArrowDown":
|
|
29852
|
+
case "ArrowLeft":
|
|
29853
|
+
case "ArrowRight":
|
|
29854
|
+
case "Home":
|
|
29855
|
+
case "End":
|
|
29856
|
+
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
29857
|
+
e.preventDefault();
|
|
29858
|
+
break;
|
|
29859
|
+
}
|
|
29860
|
+
}
|
|
29861
|
+
};
|
|
29862
|
+
this.emitRequestedItem = () => {
|
|
29863
|
+
if (!this.disabled) {
|
|
29864
|
+
this.calciteStepperItemSelect.emit({
|
|
29865
|
+
position: this.itemPosition,
|
|
29866
|
+
content: this.itemContent
|
|
29867
|
+
});
|
|
29868
|
+
}
|
|
29869
|
+
};
|
|
29870
|
+
this.setItemContent = (event) => {
|
|
29871
|
+
this.itemPosition = this.getItemPosition();
|
|
29872
|
+
const itemContent = event.target.assignedNodes({ flatten: true });
|
|
29873
|
+
if (itemContent.length) {
|
|
29874
|
+
this.itemContent = itemContent;
|
|
29875
|
+
}
|
|
29876
|
+
this.registerStepperItem();
|
|
29877
|
+
if (this.active) {
|
|
29878
|
+
this.emitRequestedItem();
|
|
29879
|
+
}
|
|
29880
|
+
};
|
|
29766
29881
|
}
|
|
29767
29882
|
// watch for removal of disabled to register step
|
|
29768
29883
|
disabledWatcher() {
|
|
@@ -29780,50 +29895,17 @@ class StepperItem {
|
|
|
29780
29895
|
this.scale = getElementProp(this.el, "scale", "m");
|
|
29781
29896
|
this.parentStepperEl = this.el.parentElement;
|
|
29782
29897
|
}
|
|
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
29898
|
componentDidRender() {
|
|
29797
29899
|
updateHostInteraction(this, true);
|
|
29798
29900
|
}
|
|
29799
29901
|
render() {
|
|
29800
|
-
return (hAsync(Host, { "aria-expanded": this.active
|
|
29902
|
+
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
29903
|
}
|
|
29802
29904
|
//--------------------------------------------------------------------------
|
|
29803
29905
|
//
|
|
29804
29906
|
// Event Listeners
|
|
29805
29907
|
//
|
|
29806
29908
|
//--------------------------------------------------------------------------
|
|
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
29909
|
updateActiveItemOnChange(event) {
|
|
29828
29910
|
if (event.target === this.parentStepperEl ||
|
|
29829
29911
|
event.composedPath().includes(this.parentStepperEl)) {
|
|
@@ -29831,11 +29913,6 @@ class StepperItem {
|
|
|
29831
29913
|
this.determineActiveItem();
|
|
29832
29914
|
}
|
|
29833
29915
|
}
|
|
29834
|
-
//--------------------------------------------------------------------------
|
|
29835
|
-
//
|
|
29836
|
-
// Private Methods
|
|
29837
|
-
//
|
|
29838
|
-
//--------------------------------------------------------------------------
|
|
29839
29916
|
renderIcon() {
|
|
29840
29917
|
const path = this.active
|
|
29841
29918
|
? "circleF"
|
|
@@ -29855,23 +29932,6 @@ class StepperItem {
|
|
|
29855
29932
|
content: this.itemContent
|
|
29856
29933
|
});
|
|
29857
29934
|
}
|
|
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
29935
|
getItemPosition() {
|
|
29876
29936
|
return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"), this.el);
|
|
29877
29937
|
}
|
|
@@ -29895,7 +29955,7 @@ class StepperItem {
|
|
|
29895
29955
|
"numbered": [1028],
|
|
29896
29956
|
"scale": [1537]
|
|
29897
29957
|
},
|
|
29898
|
-
"$listeners$": [[
|
|
29958
|
+
"$listeners$": [[16, "calciteStepperItemChange", "updateActiveItemOnChange"]],
|
|
29899
29959
|
"$lazyBundleId$": "-",
|
|
29900
29960
|
"$attrsToReflect$": [["active", "active"], ["complete", "complete"], ["disabled", "disabled"], ["layout", "layout"], ["scale", "scale"]]
|
|
29901
29961
|
}; }
|
|
@@ -29994,7 +30054,7 @@ class Switch {
|
|
|
29994
30054
|
//
|
|
29995
30055
|
// --------------------------------------------------------------------------
|
|
29996
30056
|
render() {
|
|
29997
|
-
return (hAsync(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { "aria-checked": this.checked
|
|
30057
|
+
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
30058
|
}
|
|
29999
30059
|
get el() { return getElement(this); }
|
|
30000
30060
|
static get watchers() { return {
|
|
@@ -30044,7 +30104,7 @@ class Tab {
|
|
|
30044
30104
|
//--------------------------------------------------------------------------
|
|
30045
30105
|
render() {
|
|
30046
30106
|
const id = this.el.id || this.guid;
|
|
30047
|
-
return (hAsync(Host, { "aria-expanded": this.active
|
|
30107
|
+
return (hAsync(Host, { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": this.labeledBy, id: id, role: "tabpanel" }, hAsync("section", null, hAsync("slot", null))));
|
|
30048
30108
|
}
|
|
30049
30109
|
connectedCallback() {
|
|
30050
30110
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
@@ -30417,7 +30477,7 @@ class TabTitle {
|
|
|
30417
30477
|
const showSideBorders = this.bordered && !this.disabled && this.layout !== "center";
|
|
30418
30478
|
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
30479
|
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
|
|
30480
|
+
return (hAsync(Host, { "aria-controls": this.controls, "aria-expanded": toAriaBoolean(this.active), id: id, role: "tab" }, hAsync("a", { class: {
|
|
30421
30481
|
container: true,
|
|
30422
30482
|
"container--has-text": this.hasText
|
|
30423
30483
|
}, style: showSideBorders && { width: `${this.parentTabNavEl.indicatorWidth}px` } }, this.iconStart ? iconStartEl : null, hAsync("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
@@ -32058,7 +32118,7 @@ class TipManager {
|
|
|
32058
32118
|
if (total === 0) {
|
|
32059
32119
|
return null;
|
|
32060
32120
|
}
|
|
32061
|
-
return (hAsync("section", { "aria-hidden": closed
|
|
32121
|
+
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
32122
|
[CSS$4.tipContainer]: true,
|
|
32063
32123
|
[CSS$4.tipContainerAdvancing]: !closed && direction === "advancing",
|
|
32064
32124
|
[CSS$4.tipContainerRetreating]: !closed && direction === "retreating"
|
|
@@ -32426,7 +32486,7 @@ class Tooltip {
|
|
|
32426
32486
|
const { effectiveReferenceElement, label, open } = this;
|
|
32427
32487
|
const displayed = effectiveReferenceElement && open;
|
|
32428
32488
|
const hidden = !displayed;
|
|
32429
|
-
return (hAsync(Host, { "aria-hidden": hidden
|
|
32489
|
+
return (hAsync(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, hAsync("div", { class: {
|
|
32430
32490
|
[CSS$D.animation]: true,
|
|
32431
32491
|
[CSS$D.animationActive]: displayed
|
|
32432
32492
|
} }, hAsync("div", { class: CSS$2.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), hAsync("div", { class: CSS$2.container }, hAsync("slot", null)))));
|
|
@@ -32914,7 +32974,7 @@ class TreeItem {
|
|
|
32914
32974
|
[CSS_UTILITY.rtl]: rtl
|
|
32915
32975
|
}, icon: selectedIcon, scale: "s" })) : null;
|
|
32916
32976
|
const hidden = !(this.parentExpanded || this.depth === 1);
|
|
32917
|
-
return (hAsync(Host, { "aria-expanded": this.hasChildren ? this.expanded
|
|
32977
|
+
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
32978
|
[CSS$1.nodeContainer]: true,
|
|
32919
32979
|
[CSS_UTILITY.rtl]: rtl
|
|
32920
32980
|
}, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, bulletOrCheckIcon, checkbox ? checkbox : defaultSlotNode), hAsync("div", { class: {
|
|
@@ -33359,7 +33419,7 @@ class ValueListItem {
|
|
|
33359
33419
|
renderHandle() {
|
|
33360
33420
|
const { icon } = this;
|
|
33361
33421
|
if (icon === ICON_TYPES$1.grip) {
|
|
33362
|
-
return (hAsync("span", { "aria-pressed": this.handleActivated
|
|
33422
|
+
return (hAsync("span", { "aria-pressed": toAriaBoolean(this.handleActivated), class: {
|
|
33363
33423
|
[CSS$h.handle]: true,
|
|
33364
33424
|
[CSS$h.handleActivated]: this.handleActivated
|
|
33365
33425
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, hAsync("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|