@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
|
@@ -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
|
import { HTMLElement as HTMLElement$1, createEvent, h, Host, Build, forceUpdate, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
7
7
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -345,6 +345,16 @@ function intersects(rect1, rect2) {
|
|
|
345
345
|
rect2.top > rect1.bottom ||
|
|
346
346
|
rect2.bottom < rect1.top);
|
|
347
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* This helper makes sure that boolean aria attributes are properly converted to a string.
|
|
350
|
+
*
|
|
351
|
+
* It should only be used for aria attributes that require a string value of "true" or "false".
|
|
352
|
+
*
|
|
353
|
+
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
354
|
+
*/
|
|
355
|
+
function toAriaBoolean(value) {
|
|
356
|
+
return (!!value).toString();
|
|
357
|
+
}
|
|
348
358
|
|
|
349
359
|
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.icon-position--end,.icon-position--start{--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{--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{--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){--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{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{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{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([active]){color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-content{display:block;color:var(--calcite-ui-text-1)}:host([active]) .accordion-item-header{border-bottom-color:transparent}:host .accordion-item-header{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{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,:host .accordion-item-header{padding:var(--calcite-accordion-item-padding);border-bottom:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .accordion-item-header *{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .accordion-item-content{display:none;padding-top:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .accordion-item-expand-icon{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{-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{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{-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{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{display:-ms-flexbox;display:flex;width:100%}:host .accordion-item-title{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .accordion-item-subtitle{margin-top:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .accordion-item-title,:host(:hover) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:hover) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:hover) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:hover) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}:host(:focus) .accordion-item-title,:host(:active) .accordion-item-title,:host([active]) .accordion-item-title{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-icon,:host(:active) .accordion-item-icon,:host([active]) .accordion-item-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-expand-icon,:host(:active) .accordion-item-expand-icon,:host([active]) .accordion-item-expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .accordion-item-subtitle,:host(:active) .accordion-item-subtitle,:host([active]) .accordion-item-subtitle{color:var(--calcite-ui-text-2)}";
|
|
350
360
|
|
|
@@ -408,7 +418,7 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
408
418
|
? "caretDown"
|
|
409
419
|
: this.active
|
|
410
420
|
? "minus"
|
|
411
|
-
: "plus", scale: "s" })), h("div", { "aria-expanded": this.active
|
|
421
|
+
: "plus", scale: "s" })), h("div", { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": buttonId, class: "accordion-item-content", id: regionId, role: "region" }, h("slot", null)))));
|
|
412
422
|
}
|
|
413
423
|
//--------------------------------------------------------------------------
|
|
414
424
|
//
|
|
@@ -666,7 +676,7 @@ const Action = class extends HTMLElement$1 {
|
|
|
666
676
|
[CSS$P.buttonTextVisible]: textEnabled,
|
|
667
677
|
[CSS$P.buttonCompact]: compact
|
|
668
678
|
};
|
|
669
|
-
return (h(Host, { onClick: this.calciteActionClickHandler }, h("button", { "aria-busy": loading
|
|
679
|
+
return (h(Host, { onClick: this.calciteActionClickHandler }, h("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())));
|
|
670
680
|
}
|
|
671
681
|
get el() { return this; }
|
|
672
682
|
static get style() { return actionCss; }
|
|
@@ -2381,7 +2391,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2381
2391
|
}
|
|
2382
2392
|
menuButtonEl.active = open;
|
|
2383
2393
|
menuButtonEl.setAttribute("aria-controls", menuId);
|
|
2384
|
-
menuButtonEl.setAttribute("aria-expanded", open
|
|
2394
|
+
menuButtonEl.setAttribute("aria-expanded", toAriaBoolean(open));
|
|
2385
2395
|
menuButtonEl.setAttribute("aria-haspopup", "true");
|
|
2386
2396
|
if (!menuButtonEl.id) {
|
|
2387
2397
|
menuButtonEl.id = menuButtonId;
|
|
@@ -2852,7 +2862,7 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2852
2862
|
const { active, autoDismiss, label, placement, queued, requestedIcon } = this;
|
|
2853
2863
|
const role = autoDismiss ? "alert" : "alertdialog";
|
|
2854
2864
|
const hidden = !active;
|
|
2855
|
-
return (h(Host, { "aria-hidden": hidden
|
|
2865
|
+
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { class: {
|
|
2856
2866
|
container: true,
|
|
2857
2867
|
queued,
|
|
2858
2868
|
[placement]: true
|
|
@@ -3331,10 +3341,10 @@ const Block = class extends HTMLElement$1 {
|
|
|
3331
3341
|
const { guid } = this;
|
|
3332
3342
|
const regionId = `${guid}-region`;
|
|
3333
3343
|
const buttonId = `${guid}-button`;
|
|
3334
|
-
const headerNode = (h("div", { class: CSS$L.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-controls": regionId, "aria-expanded": collapsible ? open
|
|
3335
|
-
return (h(Host, null, h("article", { "aria-busy": loading
|
|
3344
|
+
const headerNode = (h("div", { class: CSS$L.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("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 ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$L.controlContainer }, h("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$m.options }, h("slot", { name: SLOTS$k.headerMenuActions }))) : null));
|
|
3345
|
+
return (h(Host, null, h("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
3336
3346
|
[CSS$L.article]: true
|
|
3337
|
-
} }, headerNode, h("section", { "aria-expanded":
|
|
3347
|
+
} }, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$L.content, hidden: !open, id: regionId }, this.renderScrim()))));
|
|
3338
3348
|
}
|
|
3339
3349
|
get el() { return this; }
|
|
3340
3350
|
static get style() { return blockCss; }
|
|
@@ -3435,7 +3445,7 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3435
3445
|
[CSS$K.sectionHeader]: true,
|
|
3436
3446
|
[CSS$K.toggle]: true
|
|
3437
3447
|
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$K.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
3438
|
-
return (h(Host, null, headerNode, h("section", { "aria-expanded": open
|
|
3448
|
+
return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$K.content, hidden: !open, id: regionId }, h("slot", null))));
|
|
3439
3449
|
}
|
|
3440
3450
|
get el() { return this; }
|
|
3441
3451
|
static get style() { return blockSectionCss; }
|
|
@@ -4007,7 +4017,7 @@ const Card = class extends HTMLElement$1 {
|
|
|
4007
4017
|
disconnectConditionalSlotComponent(this);
|
|
4008
4018
|
}
|
|
4009
4019
|
render() {
|
|
4010
|
-
return (h("div", { class: "calcite-card-container" }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, h("section", { "aria-busy": this.loading
|
|
4020
|
+
return (h("div", { class: "calcite-card-container" }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$I.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderThumbnail(), this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter())));
|
|
4011
4021
|
}
|
|
4012
4022
|
selectCard() {
|
|
4013
4023
|
this.selected = !this.selected;
|
|
@@ -4154,7 +4164,7 @@ const Checkbox = class extends HTMLElement$1 {
|
|
|
4154
4164
|
//
|
|
4155
4165
|
// --------------------------------------------------------------------------
|
|
4156
4166
|
render() {
|
|
4157
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": this.checked
|
|
4167
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("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 }, h("svg", { class: "check-svg", viewBox: "0 0 16 16" }, h("path", { d: this.getPath() })), h("slot", null)), h(HiddenFormInputSlot, { component: this })));
|
|
4158
4168
|
}
|
|
4159
4169
|
get el() { return this; }
|
|
4160
4170
|
static get style() { return checkboxCss; }
|
|
@@ -6479,7 +6489,7 @@ const decimalPlaces = (value) => {
|
|
|
6479
6489
|
(match[2] ? +match[2] : 0));
|
|
6480
6490
|
};
|
|
6481
6491
|
|
|
6482
|
-
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0px}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{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{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{pointer-events:none;position:absolute;
|
|
6492
|
+
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .container{width:160px}:host([scale=s]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(20px, 1fr))}:host([scale=s]) .channels{-ms-flex-direction:column;flex-direction:column}:host([scale=s]) .channel{width:100%;margin-bottom:4px}:host([scale=s]) .channel:last-child{margin-bottom:0}:host([scale=m]) .container{width:272px}:host([scale=l]) .header{padding-bottom:0px}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{width:464px}:host([scale=l]) .color-field-and-slider{margin-bottom:-20px}:host([scale=l]) .section{padding:0 16px 16px}:host([scale=l]) .section:first-of-type{padding-top:16px}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, minmax(28px, 1fr));grid-gap:12px;padding-top:16px}:host([scale=l]) .control-section{-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:baseline;align-items:baseline}:host([scale=l]) .control-section>:nth-child(2){-webkit-margin-start:12px;margin-inline-start:12px}:host([scale=l]) .color-hex-options{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{-ms-flex-negative:3;flex-shrink:3}:host([appearance=minimal]) .container{border:none}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.color-field-and-slider-wrap{position:relative}.scope{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{outline:2px solid var(--calcite-ui-brand);outline-offset:16px}.color-field-and-slider{margin-bottom:-16px}.color-field-and-slider--interactive{cursor:pointer}.control-section{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.section{padding:0 12px 12px}.section:first-of-type{padding-top:12px}.color-hex-options,.section--split{-ms-flex-positive:1;flex-grow:1}.header{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,.color-mode-container{padding-top:12px}.channels{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.channel{width:31%}.saved-colors{padding-top:12px;display:grid;grid-template-columns:repeat(auto-fill, minmax(24px, 1fr));grid-gap:8px;width:100%}.saved-colors-buttons{display:-ms-flexbox;display:flex}.saved-color{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{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color: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}";
|
|
6483
6493
|
|
|
6484
6494
|
const throttleFor60FpsInMs = 16;
|
|
6485
6495
|
const defaultValue = normalizeHex(DEFAULT_COLOR$1.hex());
|
|
@@ -9507,7 +9517,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9507
9517
|
: null;
|
|
9508
9518
|
};
|
|
9509
9519
|
this.getValue = () => {
|
|
9510
|
-
const items = this.selectedItems.map((item) => item === null || item === void 0 ? void 0 : item.value.toString());
|
|
9520
|
+
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(); });
|
|
9511
9521
|
return (items === null || items === void 0 ? void 0 : items.length) ? (items.length > 1 ? items : items[0]) : "";
|
|
9512
9522
|
};
|
|
9513
9523
|
this.onLabelClick = () => {
|
|
@@ -10164,7 +10174,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
10164
10174
|
}, 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" })));
|
|
10165
10175
|
}
|
|
10166
10176
|
renderListBoxOptions() {
|
|
10167
|
-
return this.visibleItems.map((item) => (h("li", { "aria-selected": (
|
|
10177
|
+
return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
10168
10178
|
}
|
|
10169
10179
|
renderPopperContainer() {
|
|
10170
10180
|
const { active, setMenuEl, setListContainerEl } = this;
|
|
@@ -10188,7 +10198,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
10188
10198
|
render() {
|
|
10189
10199
|
const { active, guid, label } = this;
|
|
10190
10200
|
const single = this.selectionMode === "single";
|
|
10191
|
-
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": active
|
|
10201
|
+
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
10192
10202
|
wrapper: true,
|
|
10193
10203
|
"wrapper--single": single || !this.selectedItems.length,
|
|
10194
10204
|
"wrapper--active": active
|
|
@@ -11844,7 +11854,7 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
11844
11854
|
}
|
|
11845
11855
|
render() {
|
|
11846
11856
|
const { active } = this;
|
|
11847
|
-
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": active
|
|
11857
|
+
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active), "aria-haspopup": "true", name: SLOTS$h.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!active), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
|
|
11848
11858
|
["calcite-dropdown-content"]: true,
|
|
11849
11859
|
[CSS$D.animation]: true,
|
|
11850
11860
|
[CSS$D.animationActive]: active
|
|
@@ -12175,7 +12185,7 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12175
12185
|
: this.selectionMode === "multi"
|
|
12176
12186
|
? "menuitemcheckbox"
|
|
12177
12187
|
: "menuitem";
|
|
12178
|
-
const itemAria = this.selectionMode !== "none" ? this.active
|
|
12188
|
+
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
|
|
12179
12189
|
return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, h("div", { class: {
|
|
12180
12190
|
container: true,
|
|
12181
12191
|
[CSS$z.containerLink]: !!this.href,
|
|
@@ -12884,7 +12894,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
12884
12894
|
render() {
|
|
12885
12895
|
return (
|
|
12886
12896
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
12887
|
-
h("span", { "aria-pressed": this.activated
|
|
12897
|
+
h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$v.handle]: true, [CSS$v.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
12888
12898
|
this.handleButton = el;
|
|
12889
12899
|
}, role: "button", tabindex: "0", title: this.textTitle }, h("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
|
|
12890
12900
|
}
|
|
@@ -13007,7 +13017,7 @@ const Icon = class extends HTMLElement$1 {
|
|
|
13007
13017
|
const size = scaleToPx[scale];
|
|
13008
13018
|
const semantic = !!textLabel;
|
|
13009
13019
|
const paths = [].concat(pathData || "");
|
|
13010
|
-
return (h(Host, { "aria-hidden": (!semantic)
|
|
13020
|
+
return (h(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, h("svg", { class: {
|
|
13011
13021
|
[CSS$u.flipRtl]: dir === "rtl" && flipRtl,
|
|
13012
13022
|
svg: true
|
|
13013
13023
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (h("path", { d: path })) : (h("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
@@ -13370,9 +13380,9 @@ const Input = class extends HTMLElement$1 {
|
|
|
13370
13380
|
this.value = "";
|
|
13371
13381
|
/** keep track of the rendered child type */
|
|
13372
13382
|
this.childElType = "input";
|
|
13373
|
-
|
|
13374
|
-
this.internalValueChange = false;
|
|
13383
|
+
this.previousValueOrigin = "initial";
|
|
13375
13384
|
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
13385
|
+
this.userChangedValue = false;
|
|
13376
13386
|
//--------------------------------------------------------------------------
|
|
13377
13387
|
//
|
|
13378
13388
|
// Private Methods
|
|
@@ -13394,20 +13404,22 @@ const Input = class extends HTMLElement$1 {
|
|
|
13394
13404
|
this.setValue({
|
|
13395
13405
|
committing: true,
|
|
13396
13406
|
nativeEvent,
|
|
13407
|
+
origin: "user",
|
|
13397
13408
|
value: ""
|
|
13398
13409
|
});
|
|
13399
13410
|
};
|
|
13400
|
-
this.
|
|
13401
|
-
if (this.
|
|
13402
|
-
this.
|
|
13411
|
+
this.emitChangeIfUserModified = () => {
|
|
13412
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
13413
|
+
this.calciteInputChange.emit();
|
|
13403
13414
|
}
|
|
13415
|
+
this.previousEmittedValue = this.value;
|
|
13416
|
+
};
|
|
13417
|
+
this.inputBlurHandler = () => {
|
|
13404
13418
|
this.calciteInputBlur.emit({
|
|
13405
13419
|
element: this.childEl,
|
|
13406
13420
|
value: this.value
|
|
13407
13421
|
});
|
|
13408
|
-
|
|
13409
|
-
this.calciteInputChange.emit();
|
|
13410
|
-
}
|
|
13422
|
+
this.emitChangeIfUserModified();
|
|
13411
13423
|
};
|
|
13412
13424
|
this.inputFocusHandler = (event) => {
|
|
13413
13425
|
const slottedActionEl = getSlotted(this.el, "action");
|
|
@@ -13418,7 +13430,6 @@ const Input = class extends HTMLElement$1 {
|
|
|
13418
13430
|
element: this.childEl,
|
|
13419
13431
|
value: this.value
|
|
13420
13432
|
});
|
|
13421
|
-
this.preFocusValue = this.value;
|
|
13422
13433
|
};
|
|
13423
13434
|
this.inputInputHandler = (nativeEvent) => {
|
|
13424
13435
|
if (this.disabled || this.readOnly) {
|
|
@@ -13426,6 +13437,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13426
13437
|
}
|
|
13427
13438
|
this.setValue({
|
|
13428
13439
|
nativeEvent,
|
|
13440
|
+
origin: "user",
|
|
13429
13441
|
value: nativeEvent.target.value
|
|
13430
13442
|
});
|
|
13431
13443
|
};
|
|
@@ -13434,7 +13446,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13434
13446
|
return;
|
|
13435
13447
|
}
|
|
13436
13448
|
if (event.key === "Enter") {
|
|
13437
|
-
this.
|
|
13449
|
+
this.emitChangeIfUserModified();
|
|
13438
13450
|
}
|
|
13439
13451
|
};
|
|
13440
13452
|
this.inputNumberInputHandler = (nativeEvent) => {
|
|
@@ -13449,6 +13461,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13449
13461
|
}
|
|
13450
13462
|
this.setValue({
|
|
13451
13463
|
nativeEvent,
|
|
13464
|
+
origin: "user",
|
|
13452
13465
|
value: parseNumberString(delocalizedValue)
|
|
13453
13466
|
});
|
|
13454
13467
|
this.childNumberEl.value = this.localizedValue;
|
|
@@ -13456,6 +13469,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13456
13469
|
else {
|
|
13457
13470
|
this.setValue({
|
|
13458
13471
|
nativeEvent,
|
|
13472
|
+
origin: "user",
|
|
13459
13473
|
value: delocalizedValue
|
|
13460
13474
|
});
|
|
13461
13475
|
}
|
|
@@ -13490,7 +13504,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13490
13504
|
const isShiftTabEvent = event.shiftKey && event.key === "Tab";
|
|
13491
13505
|
if (supportedKeys.includes(event.key) && (!event.shiftKey || isShiftTabEvent)) {
|
|
13492
13506
|
if (event.key === "Enter") {
|
|
13493
|
-
this.
|
|
13507
|
+
this.emitChangeIfUserModified();
|
|
13494
13508
|
}
|
|
13495
13509
|
return;
|
|
13496
13510
|
}
|
|
@@ -13564,6 +13578,14 @@ const Input = class extends HTMLElement$1 {
|
|
|
13564
13578
|
}
|
|
13565
13579
|
this[`child${this.type === "number" ? "Number" : ""}El`].value = newInputValue;
|
|
13566
13580
|
};
|
|
13581
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
13582
|
+
this.previousEmittedValue =
|
|
13583
|
+
this.type === "number"
|
|
13584
|
+
? isValidNumber(newPreviousEmittedValue)
|
|
13585
|
+
? newPreviousEmittedValue
|
|
13586
|
+
: ""
|
|
13587
|
+
: newPreviousEmittedValue;
|
|
13588
|
+
};
|
|
13567
13589
|
this.setPreviousValue = (newPreviousValue) => {
|
|
13568
13590
|
this.previousValue =
|
|
13569
13591
|
this.type === "number"
|
|
@@ -13572,7 +13594,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13572
13594
|
: ""
|
|
13573
13595
|
: newPreviousValue;
|
|
13574
13596
|
};
|
|
13575
|
-
this.setValue = ({ committing = false, nativeEvent, origin
|
|
13597
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
13576
13598
|
const previousLocalizedValue = this.type === "number"
|
|
13577
13599
|
? localizeNumberString(this.previousValue, this.locale, this.groupSeparator)
|
|
13578
13600
|
: "";
|
|
@@ -13585,13 +13607,14 @@ const Input = class extends HTMLElement$1 {
|
|
|
13585
13607
|
const newLocalizedValue = this.type === "number"
|
|
13586
13608
|
? localizeNumberString(newValue, this.locale, this.groupSeparator)
|
|
13587
13609
|
: "";
|
|
13588
|
-
this.
|
|
13589
|
-
this.
|
|
13610
|
+
this.setPreviousValue(previousValue || this.value);
|
|
13611
|
+
this.previousValueOrigin = origin;
|
|
13612
|
+
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
13590
13613
|
this.value = newValue;
|
|
13591
13614
|
if (this.type === "number") {
|
|
13592
13615
|
this.localizedValue = newLocalizedValue;
|
|
13593
13616
|
}
|
|
13594
|
-
if (origin === "
|
|
13617
|
+
if (origin === "direct") {
|
|
13595
13618
|
this.setInputValue(this.type === "number" ? newLocalizedValue : newValue);
|
|
13596
13619
|
}
|
|
13597
13620
|
if (nativeEvent) {
|
|
@@ -13605,7 +13628,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13605
13628
|
this.localizedValue = previousLocalizedValue;
|
|
13606
13629
|
}
|
|
13607
13630
|
else if (committing) {
|
|
13608
|
-
this.
|
|
13631
|
+
this.emitChangeIfUserModified();
|
|
13609
13632
|
}
|
|
13610
13633
|
}
|
|
13611
13634
|
};
|
|
@@ -13626,10 +13649,11 @@ const Input = class extends HTMLElement$1 {
|
|
|
13626
13649
|
var _a;
|
|
13627
13650
|
this.minString = ((_a = this.min) === null || _a === void 0 ? void 0 : _a.toString()) || null;
|
|
13628
13651
|
}
|
|
13629
|
-
valueWatcher(newValue) {
|
|
13630
|
-
if (!this.
|
|
13652
|
+
valueWatcher(newValue, previousValue) {
|
|
13653
|
+
if (!this.userChangedValue) {
|
|
13631
13654
|
this.setValue({
|
|
13632
|
-
origin: "
|
|
13655
|
+
origin: "direct",
|
|
13656
|
+
previousValue,
|
|
13633
13657
|
value: newValue == null || newValue == ""
|
|
13634
13658
|
? ""
|
|
13635
13659
|
: this.type === "number"
|
|
@@ -13640,7 +13664,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13640
13664
|
});
|
|
13641
13665
|
this.warnAboutInvalidNumberValue(newValue);
|
|
13642
13666
|
}
|
|
13643
|
-
this.
|
|
13667
|
+
this.userChangedValue = false;
|
|
13644
13668
|
}
|
|
13645
13669
|
updateRequestedIcon() {
|
|
13646
13670
|
this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
@@ -13664,11 +13688,12 @@ const Input = class extends HTMLElement$1 {
|
|
|
13664
13688
|
if (this.inlineEditableEl) {
|
|
13665
13689
|
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
13666
13690
|
}
|
|
13691
|
+
this.setPreviousEmittedValue(this.value);
|
|
13667
13692
|
this.setPreviousValue(this.value);
|
|
13668
13693
|
if (this.type === "number") {
|
|
13669
13694
|
this.warnAboutInvalidNumberValue(this.value);
|
|
13670
13695
|
this.setValue({
|
|
13671
|
-
origin: "
|
|
13696
|
+
origin: "connected",
|
|
13672
13697
|
value: isValidNumber(this.value) ? this.value : ""
|
|
13673
13698
|
});
|
|
13674
13699
|
}
|
|
@@ -13693,6 +13718,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13693
13718
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
13694
13719
|
if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
|
|
13695
13720
|
this.setValue({
|
|
13721
|
+
origin: "reset",
|
|
13696
13722
|
value: oldValue
|
|
13697
13723
|
});
|
|
13698
13724
|
return false;
|
|
@@ -13735,11 +13761,13 @@ const Input = class extends HTMLElement$1 {
|
|
|
13735
13761
|
this.setValue({
|
|
13736
13762
|
committing: true,
|
|
13737
13763
|
nativeEvent,
|
|
13764
|
+
origin: "user",
|
|
13738
13765
|
value: finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces))
|
|
13739
13766
|
});
|
|
13740
13767
|
}
|
|
13741
13768
|
onFormReset() {
|
|
13742
13769
|
this.setValue({
|
|
13770
|
+
origin: "reset",
|
|
13743
13771
|
value: this.defaultValue
|
|
13744
13772
|
});
|
|
13745
13773
|
}
|
|
@@ -14114,7 +14142,7 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14114
14142
|
: null;
|
|
14115
14143
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
14116
14144
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
14117
|
-
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": this.active
|
|
14145
|
+
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, onKeyUp: this.keyUpHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.active), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("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 })), h("div", { "aria-hidden": toAriaBoolean(!this.active), class: {
|
|
14118
14146
|
"menu-container": true,
|
|
14119
14147
|
"menu-container--active": this.active
|
|
14120
14148
|
}, ref: this.setMenuEl }, h("div", { class: {
|
|
@@ -16032,11 +16060,21 @@ const Panel = class extends HTMLElement$1 {
|
|
|
16032
16060
|
* Opens the action menu.
|
|
16033
16061
|
*/
|
|
16034
16062
|
this.menuOpen = false;
|
|
16063
|
+
this.resizeObserver = createObserver("resize", () => this.resizeHandler());
|
|
16035
16064
|
// --------------------------------------------------------------------------
|
|
16036
16065
|
//
|
|
16037
16066
|
// Private Methods
|
|
16038
16067
|
//
|
|
16039
16068
|
// --------------------------------------------------------------------------
|
|
16069
|
+
this.resizeHandler = () => {
|
|
16070
|
+
const { panelScrollEl } = this;
|
|
16071
|
+
if (!panelScrollEl ||
|
|
16072
|
+
typeof panelScrollEl.scrollHeight !== "number" ||
|
|
16073
|
+
typeof panelScrollEl.offsetHeight !== "number") {
|
|
16074
|
+
return;
|
|
16075
|
+
}
|
|
16076
|
+
panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
|
|
16077
|
+
};
|
|
16040
16078
|
this.setContainerRef = (node) => {
|
|
16041
16079
|
this.containerEl = node;
|
|
16042
16080
|
};
|
|
@@ -16061,6 +16099,15 @@ const Panel = class extends HTMLElement$1 {
|
|
|
16061
16099
|
this.backButtonClick = () => {
|
|
16062
16100
|
this.calcitePanelBackClick.emit();
|
|
16063
16101
|
};
|
|
16102
|
+
this.setPanelScrollEl = (el) => {
|
|
16103
|
+
var _a, _b;
|
|
16104
|
+
this.panelScrollEl = el;
|
|
16105
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
16106
|
+
if (el) {
|
|
16107
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
|
16108
|
+
this.resizeHandler();
|
|
16109
|
+
}
|
|
16110
|
+
};
|
|
16064
16111
|
}
|
|
16065
16112
|
dismissedHandler() {
|
|
16066
16113
|
this.calcitePanelDismissedChange.emit();
|
|
@@ -16082,7 +16129,9 @@ const Panel = class extends HTMLElement$1 {
|
|
|
16082
16129
|
connectConditionalSlotComponent(this);
|
|
16083
16130
|
}
|
|
16084
16131
|
disconnectedCallback() {
|
|
16132
|
+
var _a;
|
|
16085
16133
|
disconnectConditionalSlotComponent(this);
|
|
16134
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
16086
16135
|
}
|
|
16087
16136
|
// --------------------------------------------------------------------------
|
|
16088
16137
|
//
|
|
@@ -16186,14 +16235,14 @@ const Panel = class extends HTMLElement$1 {
|
|
|
16186
16235
|
const hasFab = getSlotted(el, SLOTS$c.fab);
|
|
16187
16236
|
const defaultSlotNode = h("slot", { key: "default-slot" });
|
|
16188
16237
|
const contentWrapperKey = "content-wrapper";
|
|
16189
|
-
return hasFab ? (h("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref:
|
|
16238
|
+
return hasFab ? (h("div", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentHeight]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, h("section", { class: CSS$k.contentContainer }, defaultSlotNode), this.renderFab())) : (h("section", { class: { [CSS$k.contentWrapper]: true, [CSS$k.contentContainer]: true }, key: contentWrapperKey, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, defaultSlotNode));
|
|
16190
16239
|
}
|
|
16191
16240
|
renderFab() {
|
|
16192
16241
|
return (h("div", { class: CSS$k.fabContainer }, h("slot", { name: SLOTS$c.fab })));
|
|
16193
16242
|
}
|
|
16194
16243
|
render() {
|
|
16195
16244
|
const { dismissed, dismissible, loading, panelKeyDownHandler } = this;
|
|
16196
|
-
const panelNode = (h("article", { "aria-busy": loading
|
|
16245
|
+
const panelNode = (h("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()));
|
|
16197
16246
|
return (h(Fragment, null, loading ? h("calcite-scrim", { loading: loading }) : null, panelNode));
|
|
16198
16247
|
}
|
|
16199
16248
|
get el() { return this; }
|
|
@@ -16527,7 +16576,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
16527
16576
|
const List = (_a) => {
|
|
16528
16577
|
var { props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl } } = _a, rest = __rest(_a, ["props"]);
|
|
16529
16578
|
const defaultSlot = h("slot", null);
|
|
16530
|
-
return (h(Host, Object.assign({ "aria-busy": loading
|
|
16579
|
+
return (h(Host, Object.assign({ "aria-busy": toAriaBoolean(loading), role: "menu" }, rest),
|
|
16531
16580
|
h("section", null,
|
|
16532
16581
|
h("header", { class: { [CSS$j.sticky]: true } },
|
|
16533
16582
|
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
@@ -16880,7 +16929,7 @@ const PickListItem = class extends HTMLElement$1 {
|
|
|
16880
16929
|
}
|
|
16881
16930
|
render() {
|
|
16882
16931
|
const { description, label } = this;
|
|
16883
|
-
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS$h.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, h("div", { "aria-checked": this.selected
|
|
16932
|
+
return (h(Fragment, null, this.renderIcon(), this.renderActionsStart(), h("label", { "aria-label": label, class: CSS$h.label, onClick: this.pickListClickHandler, onKeyDown: this.pickListKeyDownHandler, ref: (focusEl) => (this.focusEl = focusEl), tabIndex: 0 }, h("div", { "aria-checked": toAriaBoolean(this.selected), class: CSS$h.textContainer, role: "menuitemcheckbox" }, h("span", { class: CSS$h.title }, label), description ? h("span", { class: CSS$h.description }, description) : null)), this.renderActionsEnd()));
|
|
16884
16933
|
}
|
|
16885
16934
|
get el() { return this; }
|
|
16886
16935
|
static get watchers() { return {
|
|
@@ -17065,7 +17114,7 @@ const Popover = class extends HTMLElement$1 {
|
|
|
17065
17114
|
if (!effectiveReferenceElement) {
|
|
17066
17115
|
return;
|
|
17067
17116
|
}
|
|
17068
|
-
effectiveReferenceElement.setAttribute(ARIA_EXPANDED, open
|
|
17117
|
+
effectiveReferenceElement.setAttribute(ARIA_EXPANDED, toAriaBoolean(open));
|
|
17069
17118
|
};
|
|
17070
17119
|
this.addReferences = () => {
|
|
17071
17120
|
const { effectiveReferenceElement } = this;
|
|
@@ -17242,7 +17291,7 @@ const Popover = class extends HTMLElement$1 {
|
|
|
17242
17291
|
const displayed = effectiveReferenceElement && open;
|
|
17243
17292
|
const hidden = !displayed;
|
|
17244
17293
|
const arrowNode = !disablePointer ? (h("div", { class: CSS$g.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) })) : null;
|
|
17245
|
-
return (h(Host, { "aria-hidden": hidden
|
|
17294
|
+
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, h("div", { class: {
|
|
17246
17295
|
[CSS$D.animation]: true,
|
|
17247
17296
|
[CSS$D.animationActive]: displayed
|
|
17248
17297
|
}, onTransitionEnd: this.transitionEnd }, arrowNode, h("div", { class: {
|
|
@@ -17599,7 +17648,7 @@ const RadioButton = class extends HTMLElement$1 {
|
|
|
17599
17648
|
// --------------------------------------------------------------------------
|
|
17600
17649
|
render() {
|
|
17601
17650
|
const tabIndex = this.getTabIndex();
|
|
17602
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": this.checked
|
|
17651
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("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 }, h("div", { class: "radio" })), h(HiddenFormInputSlot, { component: this })));
|
|
17603
17652
|
}
|
|
17604
17653
|
get el() { return this; }
|
|
17605
17654
|
static get watchers() { return {
|
|
@@ -17939,7 +17988,7 @@ const RadioGroupItem = class extends HTMLElement$1 {
|
|
|
17939
17988
|
const appearance = getElementProp(this.el, "appearance", "solid");
|
|
17940
17989
|
const layout = getElementProp(this.el, "layout", "horizontal");
|
|
17941
17990
|
const iconEl = (h("calcite-icon", { class: CSS$e.radioGroupItemIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
17942
|
-
return (h(Host, { "aria-checked": checked
|
|
17991
|
+
return (h(Host, { "aria-checked": toAriaBoolean(checked), role: "radio" }, h("label", { class: {
|
|
17943
17992
|
"label--scale-s": scale === "s",
|
|
17944
17993
|
"label--scale-m": scale === "m",
|
|
17945
17994
|
"label--scale-l": scale === "l",
|
|
@@ -18719,7 +18768,7 @@ const ShellPanel = class extends HTMLElement$1 {
|
|
|
18719
18768
|
static get style() { return shellPanelCss; }
|
|
18720
18769
|
};
|
|
18721
18770
|
|
|
18722
|
-
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--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{line-height:.75rem}.scale--m{--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{line-height:1rem}.scale--l{--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{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{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]){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,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--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{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-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{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-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{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-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{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{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{background-color:var(--calcite-ui-brand)}.track{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{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range: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{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{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-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{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{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{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
18771
|
+
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{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--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{line-height:.75rem}.scale--m{--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{line-height:1rem}.scale--l{--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{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{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]){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,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-width:100%}.thumb{--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{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle__label.hyphen--wrap{display:-ms-flexbox;display:flex}.thumb .handle{-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{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-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{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-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{--calcite-slider-thumb-y-offset:-2px}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{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{background-color:var(--calcite-ui-brand)}.track{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{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range: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{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{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{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-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{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{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{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
18723
18772
|
|
|
18724
18773
|
function isRange(value) {
|
|
18725
18774
|
return Array.isArray(value);
|
|
@@ -22763,10 +22812,12 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
22763
22812
|
// Private State/Props
|
|
22764
22813
|
//
|
|
22765
22814
|
//--------------------------------------------------------------------------
|
|
22766
|
-
/**
|
|
22815
|
+
/** map of Stepper items */
|
|
22816
|
+
this.itemMap = new Map();
|
|
22817
|
+
/** list of sorted Stepper items */
|
|
22767
22818
|
this.items = [];
|
|
22768
|
-
/**
|
|
22769
|
-
this.
|
|
22819
|
+
/** list of enabled Stepper items */
|
|
22820
|
+
this.enabledItems = [];
|
|
22770
22821
|
}
|
|
22771
22822
|
// watch for removal of disabled to register step
|
|
22772
22823
|
contentWatcher() {
|
|
@@ -22807,7 +22858,7 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
22807
22858
|
const item = e.detail.item;
|
|
22808
22859
|
const itemToFocus = e.target;
|
|
22809
22860
|
const isFirstItem = this.itemIndex(itemToFocus) === 0;
|
|
22810
|
-
const isLastItem = this.itemIndex(itemToFocus) === this.
|
|
22861
|
+
const isLastItem = this.itemIndex(itemToFocus) === this.enabledItems.length - 1;
|
|
22811
22862
|
switch (item.key) {
|
|
22812
22863
|
case "ArrowDown":
|
|
22813
22864
|
case "ArrowRight":
|
|
@@ -22836,18 +22887,14 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
22836
22887
|
}
|
|
22837
22888
|
}
|
|
22838
22889
|
registerItem(event) {
|
|
22839
|
-
const item =
|
|
22840
|
-
|
|
22841
|
-
|
|
22842
|
-
|
|
22843
|
-
};
|
|
22844
|
-
if (item.content && item.item.active) {
|
|
22845
|
-
this.requestedContent = item.content;
|
|
22846
|
-
}
|
|
22847
|
-
if (!this.items.includes(item)) {
|
|
22848
|
-
this.items.push(item);
|
|
22890
|
+
const item = event.target;
|
|
22891
|
+
const { content, position } = event.detail;
|
|
22892
|
+
if (content && item.active) {
|
|
22893
|
+
this.requestedContent = content;
|
|
22849
22894
|
}
|
|
22850
|
-
this.
|
|
22895
|
+
this.itemMap.set(item, position);
|
|
22896
|
+
this.items = this.sortItems();
|
|
22897
|
+
this.enabledItems = this.filterItems();
|
|
22851
22898
|
}
|
|
22852
22899
|
updateItem(event) {
|
|
22853
22900
|
if (event.detail.content) {
|
|
@@ -22865,31 +22912,46 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
22865
22912
|
//--------------------------------------------------------------------------
|
|
22866
22913
|
/** set the next step as active */
|
|
22867
22914
|
async nextStep() {
|
|
22868
|
-
this.currentPosition
|
|
22869
|
-
|
|
22870
|
-
|
|
22871
|
-
|
|
22915
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition + 1, "next");
|
|
22916
|
+
if (typeof enabledStepIndex !== "number") {
|
|
22917
|
+
return;
|
|
22918
|
+
}
|
|
22919
|
+
this.currentPosition = enabledStepIndex;
|
|
22872
22920
|
this.emitChangedItem();
|
|
22873
22921
|
}
|
|
22874
22922
|
/** set the previous step as active */
|
|
22875
22923
|
async prevStep() {
|
|
22876
|
-
this.currentPosition
|
|
22877
|
-
|
|
22924
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.currentPosition - 1, "previous");
|
|
22925
|
+
if (typeof enabledStepIndex !== "number") {
|
|
22926
|
+
return;
|
|
22927
|
+
}
|
|
22928
|
+
this.currentPosition = enabledStepIndex;
|
|
22878
22929
|
this.emitChangedItem();
|
|
22879
22930
|
}
|
|
22880
22931
|
/** set the requested step as active */
|
|
22881
|
-
async goToStep(
|
|
22882
|
-
|
|
22883
|
-
this.
|
|
22932
|
+
async goToStep(step) {
|
|
22933
|
+
const position = step - 1;
|
|
22934
|
+
if (this.currentPosition !== position) {
|
|
22935
|
+
this.currentPosition = position;
|
|
22936
|
+
this.emitChangedItem();
|
|
22937
|
+
}
|
|
22884
22938
|
}
|
|
22885
22939
|
/** set the first step as active */
|
|
22886
22940
|
async startStep() {
|
|
22887
|
-
|
|
22941
|
+
const enabledStepIndex = this.getEnabledStepIndex(0, "next");
|
|
22942
|
+
if (typeof enabledStepIndex !== "number") {
|
|
22943
|
+
return;
|
|
22944
|
+
}
|
|
22945
|
+
this.currentPosition = enabledStepIndex;
|
|
22888
22946
|
this.emitChangedItem();
|
|
22889
22947
|
}
|
|
22890
22948
|
/** set the last step as active */
|
|
22891
22949
|
async endStep() {
|
|
22892
|
-
|
|
22950
|
+
const enabledStepIndex = this.getEnabledStepIndex(this.items.length - 1, "previous");
|
|
22951
|
+
if (typeof enabledStepIndex !== "number") {
|
|
22952
|
+
return;
|
|
22953
|
+
}
|
|
22954
|
+
this.currentPosition = enabledStepIndex;
|
|
22893
22955
|
this.emitChangedItem();
|
|
22894
22956
|
}
|
|
22895
22957
|
//--------------------------------------------------------------------------
|
|
@@ -22897,6 +22959,17 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
22897
22959
|
// Private Methods
|
|
22898
22960
|
//
|
|
22899
22961
|
//--------------------------------------------------------------------------
|
|
22962
|
+
getEnabledStepIndex(startIndex, direction = "next") {
|
|
22963
|
+
var _a;
|
|
22964
|
+
const { items, currentPosition } = this;
|
|
22965
|
+
let newIndex = startIndex;
|
|
22966
|
+
while ((_a = items[newIndex]) === null || _a === void 0 ? void 0 : _a.disabled) {
|
|
22967
|
+
newIndex = newIndex + (direction === "previous" ? -1 : 1);
|
|
22968
|
+
}
|
|
22969
|
+
return newIndex !== currentPosition && newIndex < items.length && newIndex >= 0
|
|
22970
|
+
? newIndex
|
|
22971
|
+
: null;
|
|
22972
|
+
}
|
|
22900
22973
|
addHorizontalContentContainer() {
|
|
22901
22974
|
this.stepperContentContainer = document.createElement("div");
|
|
22902
22975
|
this.stepperContentContainer.classList.add("calcite-stepper-content");
|
|
@@ -22908,36 +22981,35 @@ const Stepper = class extends HTMLElement$1 {
|
|
|
22908
22981
|
});
|
|
22909
22982
|
}
|
|
22910
22983
|
focusFirstItem() {
|
|
22911
|
-
const firstItem = this.
|
|
22984
|
+
const firstItem = this.enabledItems[0];
|
|
22912
22985
|
this.focusElement(firstItem);
|
|
22913
22986
|
}
|
|
22914
22987
|
focusLastItem() {
|
|
22915
|
-
const lastItem = this.
|
|
22988
|
+
const lastItem = this.enabledItems[this.enabledItems.length - 1];
|
|
22916
22989
|
this.focusElement(lastItem);
|
|
22917
22990
|
}
|
|
22918
22991
|
focusNextItem(e) {
|
|
22919
22992
|
const index = this.itemIndex(e);
|
|
22920
|
-
const nextItem = this.
|
|
22993
|
+
const nextItem = this.enabledItems[index + 1] || this.enabledItems[0];
|
|
22921
22994
|
this.focusElement(nextItem);
|
|
22922
22995
|
}
|
|
22923
22996
|
focusPrevItem(e) {
|
|
22924
22997
|
const index = this.itemIndex(e);
|
|
22925
|
-
const prevItem = this.
|
|
22998
|
+
const prevItem = this.enabledItems[index - 1] || this.enabledItems[this.enabledItems.length - 1];
|
|
22926
22999
|
this.focusElement(prevItem);
|
|
22927
23000
|
}
|
|
22928
23001
|
itemIndex(e) {
|
|
22929
|
-
return this.
|
|
23002
|
+
return this.enabledItems.indexOf(e);
|
|
22930
23003
|
}
|
|
22931
23004
|
focusElement(item) {
|
|
22932
|
-
|
|
22933
|
-
target.focus();
|
|
23005
|
+
item.focus();
|
|
22934
23006
|
}
|
|
22935
23007
|
sortItems() {
|
|
22936
|
-
const
|
|
22937
|
-
|
|
22938
|
-
|
|
22939
|
-
|
|
22940
|
-
return
|
|
23008
|
+
const { itemMap } = this;
|
|
23009
|
+
return Array.from(itemMap.keys()).sort((a, b) => itemMap.get(a) - itemMap.get(b));
|
|
23010
|
+
}
|
|
23011
|
+
filterItems() {
|
|
23012
|
+
return this.items.filter((item) => !item.disabled);
|
|
22941
23013
|
}
|
|
22942
23014
|
updateContent(content) {
|
|
22943
23015
|
this.stepperContentContainer.innerHTML = "";
|
|
@@ -22982,6 +23054,50 @@ const StepperItem = class extends HTMLElement$1 {
|
|
|
22982
23054
|
/** the scale of the item */
|
|
22983
23055
|
/** @internal */
|
|
22984
23056
|
this.scale = "m";
|
|
23057
|
+
//--------------------------------------------------------------------------
|
|
23058
|
+
//
|
|
23059
|
+
// Private Methods
|
|
23060
|
+
//
|
|
23061
|
+
//--------------------------------------------------------------------------
|
|
23062
|
+
this.keyDownHandler = (e) => {
|
|
23063
|
+
if (!this.disabled && e.target === this.el) {
|
|
23064
|
+
switch (e.key) {
|
|
23065
|
+
case " ":
|
|
23066
|
+
case "Enter":
|
|
23067
|
+
this.emitRequestedItem();
|
|
23068
|
+
e.preventDefault();
|
|
23069
|
+
break;
|
|
23070
|
+
case "ArrowUp":
|
|
23071
|
+
case "ArrowDown":
|
|
23072
|
+
case "ArrowLeft":
|
|
23073
|
+
case "ArrowRight":
|
|
23074
|
+
case "Home":
|
|
23075
|
+
case "End":
|
|
23076
|
+
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
23077
|
+
e.preventDefault();
|
|
23078
|
+
break;
|
|
23079
|
+
}
|
|
23080
|
+
}
|
|
23081
|
+
};
|
|
23082
|
+
this.emitRequestedItem = () => {
|
|
23083
|
+
if (!this.disabled) {
|
|
23084
|
+
this.calciteStepperItemSelect.emit({
|
|
23085
|
+
position: this.itemPosition,
|
|
23086
|
+
content: this.itemContent
|
|
23087
|
+
});
|
|
23088
|
+
}
|
|
23089
|
+
};
|
|
23090
|
+
this.setItemContent = (event) => {
|
|
23091
|
+
this.itemPosition = this.getItemPosition();
|
|
23092
|
+
const itemContent = event.target.assignedNodes({ flatten: true });
|
|
23093
|
+
if (itemContent.length) {
|
|
23094
|
+
this.itemContent = itemContent;
|
|
23095
|
+
}
|
|
23096
|
+
this.registerStepperItem();
|
|
23097
|
+
if (this.active) {
|
|
23098
|
+
this.emitRequestedItem();
|
|
23099
|
+
}
|
|
23100
|
+
};
|
|
22985
23101
|
}
|
|
22986
23102
|
// watch for removal of disabled to register step
|
|
22987
23103
|
disabledWatcher() {
|
|
@@ -22999,50 +23115,17 @@ const StepperItem = class extends HTMLElement$1 {
|
|
|
22999
23115
|
this.scale = getElementProp(this.el, "scale", "m");
|
|
23000
23116
|
this.parentStepperEl = this.el.parentElement;
|
|
23001
23117
|
}
|
|
23002
|
-
componentDidLoad() {
|
|
23003
|
-
this.itemPosition = this.getItemPosition();
|
|
23004
|
-
this.itemContent = this.getItemContent();
|
|
23005
|
-
this.registerStepperItem();
|
|
23006
|
-
if (this.active) {
|
|
23007
|
-
this.emitRequestedItem();
|
|
23008
|
-
}
|
|
23009
|
-
}
|
|
23010
|
-
componentDidUpdate() {
|
|
23011
|
-
if (this.active) {
|
|
23012
|
-
this.emitRequestedItem();
|
|
23013
|
-
}
|
|
23014
|
-
}
|
|
23015
23118
|
componentDidRender() {
|
|
23016
23119
|
updateHostInteraction(this, true);
|
|
23017
23120
|
}
|
|
23018
23121
|
render() {
|
|
23019
|
-
return (h(Host, { "aria-expanded": this.active
|
|
23122
|
+
return (h(Host, { "aria-expanded": toAriaBoolean(this.active), onClick: this.emitRequestedItem, onKeyDown: this.keyDownHandler }, h("div", { class: "container" }, h("div", { class: "stepper-item-header" }, this.icon ? this.renderIcon() : null, this.numbered ? (h("div", { class: "stepper-item-number" }, this.getItemPosition() + 1, ".")) : null, h("div", { class: "stepper-item-header-text" }, h("span", { class: "stepper-item-title" }, this.itemTitle), h("span", { class: "stepper-item-subtitle" }, this.itemSubtitle))), h("div", { class: "stepper-item-content" }, h("slot", { onSlotchange: this.setItemContent })))));
|
|
23020
23123
|
}
|
|
23021
23124
|
//--------------------------------------------------------------------------
|
|
23022
23125
|
//
|
|
23023
23126
|
// Event Listeners
|
|
23024
23127
|
//
|
|
23025
23128
|
//--------------------------------------------------------------------------
|
|
23026
|
-
keyDownHandler(e) {
|
|
23027
|
-
if (!this.disabled && e.target === this.el) {
|
|
23028
|
-
switch (e.key) {
|
|
23029
|
-
case " ":
|
|
23030
|
-
case "Enter":
|
|
23031
|
-
this.emitRequestedItem();
|
|
23032
|
-
e.preventDefault();
|
|
23033
|
-
break;
|
|
23034
|
-
case "ArrowUp":
|
|
23035
|
-
case "ArrowDown":
|
|
23036
|
-
case "ArrowLeft":
|
|
23037
|
-
case "ArrowRight":
|
|
23038
|
-
case "Home":
|
|
23039
|
-
case "End":
|
|
23040
|
-
this.calciteStepperItemKeyEvent.emit({ item: e });
|
|
23041
|
-
e.preventDefault();
|
|
23042
|
-
break;
|
|
23043
|
-
}
|
|
23044
|
-
}
|
|
23045
|
-
}
|
|
23046
23129
|
updateActiveItemOnChange(event) {
|
|
23047
23130
|
if (event.target === this.parentStepperEl ||
|
|
23048
23131
|
event.composedPath().includes(this.parentStepperEl)) {
|
|
@@ -23050,11 +23133,6 @@ const StepperItem = class extends HTMLElement$1 {
|
|
|
23050
23133
|
this.determineActiveItem();
|
|
23051
23134
|
}
|
|
23052
23135
|
}
|
|
23053
|
-
//--------------------------------------------------------------------------
|
|
23054
|
-
//
|
|
23055
|
-
// Private Methods
|
|
23056
|
-
//
|
|
23057
|
-
//--------------------------------------------------------------------------
|
|
23058
23136
|
renderIcon() {
|
|
23059
23137
|
const path = this.active
|
|
23060
23138
|
? "circleF"
|
|
@@ -23074,23 +23152,6 @@ const StepperItem = class extends HTMLElement$1 {
|
|
|
23074
23152
|
content: this.itemContent
|
|
23075
23153
|
});
|
|
23076
23154
|
}
|
|
23077
|
-
emitRequestedItem() {
|
|
23078
|
-
if (!this.disabled) {
|
|
23079
|
-
this.calciteStepperItemSelect.emit({
|
|
23080
|
-
position: this.itemPosition,
|
|
23081
|
-
content: this.itemContent
|
|
23082
|
-
});
|
|
23083
|
-
}
|
|
23084
|
-
}
|
|
23085
|
-
getItemContent() {
|
|
23086
|
-
var _a;
|
|
23087
|
-
// todo: Remove IE/Edge specific code.
|
|
23088
|
-
return ((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector("slot"))
|
|
23089
|
-
? this.el.shadowRoot.querySelector("slot").assignedNodes({ flatten: true })
|
|
23090
|
-
: this.el.querySelector(".stepper-item-content")
|
|
23091
|
-
? this.el.querySelector(".stepper-item-content").childNodes
|
|
23092
|
-
: null;
|
|
23093
|
-
}
|
|
23094
23155
|
getItemPosition() {
|
|
23095
23156
|
return Array.prototype.indexOf.call(this.parentStepperEl.querySelectorAll("calcite-stepper-item"), this.el);
|
|
23096
23157
|
}
|
|
@@ -23196,7 +23257,7 @@ const Switch = class extends HTMLElement$1 {
|
|
|
23196
23257
|
//
|
|
23197
23258
|
// --------------------------------------------------------------------------
|
|
23198
23259
|
render() {
|
|
23199
|
-
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": this.checked
|
|
23260
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "container", ref: this.setSwitchEl, role: "switch", tabIndex: 0 }, h("div", { class: "track" }, h("div", { class: "handle" })), h(HiddenFormInputSlot, { component: this }))));
|
|
23200
23261
|
}
|
|
23201
23262
|
get el() { return this; }
|
|
23202
23263
|
static get watchers() { return {
|
|
@@ -23228,7 +23289,7 @@ const Tab = class extends HTMLElement$1 {
|
|
|
23228
23289
|
//--------------------------------------------------------------------------
|
|
23229
23290
|
render() {
|
|
23230
23291
|
const id = this.el.id || this.guid;
|
|
23231
|
-
return (h(Host, { "aria-expanded": this.active
|
|
23292
|
+
return (h(Host, { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": this.labeledBy, id: id, role: "tabpanel" }, h("section", null, h("slot", null))));
|
|
23232
23293
|
}
|
|
23233
23294
|
connectedCallback() {
|
|
23234
23295
|
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
@@ -23573,7 +23634,7 @@ const TabTitle = class extends HTMLElement$1 {
|
|
|
23573
23634
|
const showSideBorders = this.bordered && !this.disabled && this.layout !== "center";
|
|
23574
23635
|
const iconStartEl = (h("calcite-icon", { class: "calcite-tab-title--icon icon-start", flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
23575
23636
|
const iconEndEl = (h("calcite-icon", { class: "calcite-tab-title--icon icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
23576
|
-
return (h(Host, { "aria-controls": this.controls, "aria-expanded": this.active
|
|
23637
|
+
return (h(Host, { "aria-controls": this.controls, "aria-expanded": toAriaBoolean(this.active), id: id, role: "tab" }, h("a", { class: {
|
|
23577
23638
|
container: true,
|
|
23578
23639
|
"container--has-text": this.hasText
|
|
23579
23640
|
}, style: showSideBorders && { width: `${this.parentTabNavEl.indicatorWidth}px` } }, this.iconStart ? iconStartEl : null, h("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
@@ -25051,7 +25112,7 @@ const TipManager = class extends HTMLElement$1 {
|
|
|
25051
25112
|
if (total === 0) {
|
|
25052
25113
|
return null;
|
|
25053
25114
|
}
|
|
25054
|
-
return (h("section", { "aria-hidden": closed
|
|
25115
|
+
return (h("section", { "aria-hidden": toAriaBoolean(closed), class: CSS$4.container, hidden: closed, onKeyUp: this.tipManagerKeyUpHandler, ref: this.storeContainerRef, tabIndex: 0 }, h("header", { class: CSS$4.header }, h(Heading, { class: CSS$4.heading, level: headingLevel || HEADING_LEVEL$1 }, groupTitle), h("calcite-action", { class: CSS$4.close, onClick: this.hideTipManager, scale: "m", text: closeLabel }, h("calcite-icon", { icon: ICONS$3.close, scale: "m" }))), h("div", { class: {
|
|
25055
25116
|
[CSS$4.tipContainer]: true,
|
|
25056
25117
|
[CSS$4.tipContainerAdvancing]: !closed && direction === "advancing",
|
|
25057
25118
|
[CSS$4.tipContainerRetreating]: !closed && direction === "retreating"
|
|
@@ -25395,7 +25456,7 @@ const Tooltip = class extends HTMLElement$1 {
|
|
|
25395
25456
|
const { effectiveReferenceElement, label, open } = this;
|
|
25396
25457
|
const displayed = effectiveReferenceElement && open;
|
|
25397
25458
|
const hidden = !displayed;
|
|
25398
|
-
return (h(Host, { "aria-hidden": hidden
|
|
25459
|
+
return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, id: this.getId(), role: "tooltip" }, h("div", { class: {
|
|
25399
25460
|
[CSS$D.animation]: true,
|
|
25400
25461
|
[CSS$D.animationActive]: displayed
|
|
25401
25462
|
} }, h("div", { class: CSS$2.arrow, ref: (arrowEl) => (this.arrowEl = arrowEl) }), h("div", { class: CSS$2.container }, h("slot", null)))));
|
|
@@ -25836,7 +25897,7 @@ const TreeItem = class extends HTMLElement$1 {
|
|
|
25836
25897
|
[CSS_UTILITY.rtl]: rtl
|
|
25837
25898
|
}, icon: selectedIcon, scale: "s" })) : null;
|
|
25838
25899
|
const hidden = !(this.parentExpanded || this.depth === 1);
|
|
25839
|
-
return (h(Host, { "aria-expanded": this.hasChildren ? this.expanded
|
|
25900
|
+
return (h(Host, { "aria-expanded": this.hasChildren ? toAriaBoolean(this.expanded) : undefined, "aria-hidden": toAriaBoolean(hidden), "aria-selected": this.selected ? "true" : showCheckmark ? "false" : undefined, "calcite-hydrated-hidden": hidden, role: "treeitem", tabindex: this.parentExpanded || this.depth === 1 ? "0" : "-1" }, h("div", { class: {
|
|
25840
25901
|
[CSS$1.nodeContainer]: true,
|
|
25841
25902
|
[CSS_UTILITY.rtl]: rtl
|
|
25842
25903
|
}, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) }, chevron, bulletOrCheckIcon, checkbox ? checkbox : defaultSlotNode), h("div", { class: {
|
|
@@ -26237,7 +26298,7 @@ const ValueListItem = class extends HTMLElement$1 {
|
|
|
26237
26298
|
renderHandle() {
|
|
26238
26299
|
const { icon } = this;
|
|
26239
26300
|
if (icon === ICON_TYPES$1.grip) {
|
|
26240
|
-
return (h("span", { "aria-pressed": this.handleActivated
|
|
26301
|
+
return (h("span", { "aria-pressed": toAriaBoolean(this.handleActivated), class: {
|
|
26241
26302
|
[CSS$h.handle]: true,
|
|
26242
26303
|
[CSS$h.handleActivated]: this.handleActivated
|
|
26243
26304
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, h("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
|
@@ -26321,7 +26382,7 @@ const CalciteSlider = /*@__PURE__*/proxyCustomElement(Slider, [1,"calcite-slider
|
|
|
26321
26382
|
const CalciteSortableList = /*@__PURE__*/proxyCustomElement(SortableList, [1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]);
|
|
26322
26383
|
const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(SplitButton, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
|
|
26323
26384
|
const CalciteStepper = /*@__PURE__*/proxyCustomElement(Stepper, [1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513],"requestedContent":[1040]},[[0,"calciteStepperItemKeyEvent","calciteStepperItemKeyEvent"],[0,"calciteStepperItemRegister","registerItem"],[0,"calciteStepperItemSelect","updateItem"]]]);
|
|
26324
|
-
const CalciteStepperItem = /*@__PURE__*/proxyCustomElement(StepperItem, [1,"calcite-stepper-item",{"active":[1540],"complete":[516],"error":[4],"disabled":[516],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"layout":[1537],"icon":[1028],"numbered":[1028],"scale":[1537]},[[
|
|
26385
|
+
const CalciteStepperItem = /*@__PURE__*/proxyCustomElement(StepperItem, [1,"calcite-stepper-item",{"active":[1540],"complete":[516],"error":[4],"disabled":[516],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"layout":[1537],"icon":[1028],"numbered":[1028],"scale":[1537]},[[16,"calciteStepperItemChange","updateActiveItemOnChange"]]]);
|
|
26325
26386
|
const CalciteSwitch = /*@__PURE__*/proxyCustomElement(Switch, [1,"calcite-switch",{"disabled":[516],"label":[1],"name":[513],"scale":[513],"switched":[1028],"checked":[1540],"value":[8]}]);
|
|
26326
26387
|
const CalciteTab = /*@__PURE__*/proxyCustomElement(Tab, [1,"calcite-tab",{"tab":[513],"active":[1540],"scale":[1537],"labeledBy":[32]},[[16,"calciteInternalTabChange","internalTabChangeHandler"]]]);
|
|
26327
26388
|
const CalciteTabNav = /*@__PURE__*/proxyCustomElement(TabNav, [1,"calcite-tab-nav",{"storageId":[1,"storage-id"],"syncId":[1,"sync-id"],"scale":[1537],"layout":[1537],"position":[1537],"bordered":[1540],"indicatorOffset":[1026,"indicator-offset"],"indicatorWidth":[1026,"indicator-width"],"selectedTab":[32],"selectedTabEl":[32]},[[0,"calciteTabsFocusPrevious","focusPreviousTabHandler"],[0,"calciteTabsFocusNext","focusNextTabHandler"],[0,"calciteInternalTabsActivate","internalActivateTabHandler"],[0,"calciteTabsActivate","activateTabHandler"],[0,"calciteTabTitleRegister","updateTabTitles"],[16,"calciteInternalTabChange","globalInternalTabChangeHandler"]]]);
|