@esri/calcite-components 1.0.0-next.360 → 1.0.0-next.364
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/calcite.esm.js +1 -1
- package/dist/calcite/{p-84738edb.system.entry.js → p-02589ad3.system.entry.js} +1 -1
- package/dist/calcite/{p-3e8cf990.entry.js → p-05dc6806.entry.js} +1 -1
- package/dist/calcite/{p-e62edb4d.system.entry.js → p-088a096d.system.entry.js} +1 -1
- package/dist/calcite/{p-481366ac.entry.js → p-0af820bf.entry.js} +1 -1
- package/dist/calcite/{p-6dbcd698.system.entry.js → p-0cf878ed.system.entry.js} +1 -1
- package/dist/calcite/p-10f1a096.system.entry.js +5 -0
- package/dist/calcite/{p-d00fbd1e.entry.js → p-132d55c2.entry.js} +1 -1
- package/dist/calcite/{p-1ae01548.system.js → p-14ff4cbd.system.js} +1 -1
- package/dist/calcite/{p-f63b9411.entry.js → p-16cfe8e8.entry.js} +1 -1
- package/dist/calcite/p-1894562d.system.entry.js +5 -0
- package/dist/calcite/{p-ad81283a.entry.js → p-1a5dae4a.entry.js} +1 -1
- package/dist/calcite/{p-082c3059.system.entry.js → p-1d7a9909.system.entry.js} +1 -1
- package/dist/calcite/{p-770c1d6b.entry.js → p-21f26f77.entry.js} +1 -1
- package/dist/calcite/{p-a88d8075.entry.js → p-253efee4.entry.js} +1 -1
- package/dist/calcite/{p-d5b221b1.entry.js → p-2618de8a.entry.js} +1 -1
- package/dist/calcite/p-26fd946c.entry.js +5 -0
- package/dist/calcite/{p-b55fa7bc.entry.js → p-273cd5ab.entry.js} +1 -1
- package/dist/calcite/{p-26755e82.system.js → p-28dea60a.system.js} +1 -1
- package/dist/calcite/{p-1d26d522.system.entry.js → p-2a8938c7.system.entry.js} +1 -1
- package/dist/calcite/p-2b48aa8c.entry.js +5 -0
- package/dist/calcite/{p-e5130ebf.system.entry.js → p-2c954eaa.system.entry.js} +1 -1
- package/dist/calcite/p-320ef3e6.system.entry.js +5 -0
- package/dist/calcite/{p-55d683e1.system.entry.js → p-3280f0ac.system.entry.js} +1 -1
- package/dist/calcite/p-32f6f7df.entry.js +5 -0
- package/dist/calcite/{p-f8c99ef3.system.entry.js → p-37bddb73.system.entry.js} +1 -1
- package/dist/calcite/{p-475b5015.entry.js → p-38e64c6b.entry.js} +1 -1
- package/dist/calcite/{p-07284a52.system.js → p-3a20f93d.system.js} +1 -1
- package/dist/calcite/{p-ac234622.system.entry.js → p-3ab992ff.system.entry.js} +1 -1
- package/dist/calcite/{p-74365957.system.entry.js → p-3b73b785.system.entry.js} +1 -1
- package/dist/calcite/{p-26481e18.js → p-3d4c34e5.js} +1 -1
- package/dist/calcite/{p-bccf787f.entry.js → p-3e9e4992.entry.js} +1 -1
- package/dist/calcite/p-409d0a3f.entry.js +5 -0
- package/dist/calcite/p-40bb088d.entry.js +5 -0
- package/dist/calcite/{p-12c57970.js → p-41894582.js} +1 -1
- package/dist/calcite/{p-bb4dcd31.js → p-41e2198b.js} +1 -1
- package/dist/calcite/{p-3baf4001.system.entry.js → p-436d9f0e.system.entry.js} +1 -1
- package/dist/calcite/{p-5dcd2088.system.entry.js → p-45bfe5bf.system.entry.js} +1 -1
- package/dist/calcite/{p-b63dfa63.entry.js → p-4659df78.entry.js} +1 -1
- package/dist/calcite/{p-6cd93563.entry.js → p-46b63d75.entry.js} +1 -1
- package/dist/calcite/{p-a57bd5e6.entry.js → p-4d22b788.entry.js} +1 -1
- package/dist/calcite/{p-e7103edc.entry.js → p-51550014.entry.js} +1 -1
- package/dist/calcite/{p-92ad7d95.entry.js → p-51a85436.entry.js} +1 -1
- package/dist/calcite/{p-cbea8bac.system.js → p-52871e84.system.js} +1 -1
- package/dist/calcite/{p-57555baa.system.entry.js → p-54e271c9.system.entry.js} +1 -1
- package/dist/calcite/{p-2c278864.entry.js → p-57558d4b.entry.js} +1 -1
- package/dist/calcite/{p-5cce1e8b.entry.js → p-59133b9b.entry.js} +1 -1
- package/dist/calcite/{p-b5bb4618.system.entry.js → p-5c256f31.system.entry.js} +1 -1
- package/dist/calcite/{p-18c9da83.entry.js → p-5df1936f.entry.js} +1 -1
- package/dist/calcite/{p-4aa28569.entry.js → p-6515e0a5.entry.js} +1 -1
- package/dist/calcite/{p-6e0fd056.entry.js → p-698167ac.entry.js} +1 -1
- package/dist/calcite/{p-6173cf08.system.js → p-781ebed0.system.js} +1 -1
- package/dist/calcite/{p-c5761666.entry.js → p-799f0655.entry.js} +1 -1
- package/dist/calcite/p-7cf09784.system.entry.js +5 -0
- package/dist/calcite/{p-b01c3a89.system.entry.js → p-7d355abe.system.entry.js} +1 -1
- package/dist/calcite/p-7ed5b78e.system.entry.js +5 -0
- package/dist/calcite/{p-afa72097.system.entry.js → p-7f32a681.system.entry.js} +1 -1
- package/dist/calcite/{p-557f31e6.system.entry.js → p-7f5bd070.system.entry.js} +1 -1
- package/dist/calcite/{p-cd54c8d0.system.entry.js → p-8468ddb0.system.entry.js} +1 -1
- package/dist/calcite/{p-917e53a2.system.entry.js → p-897fc280.system.entry.js} +1 -1
- package/dist/calcite/p-8a237191.system.entry.js +5 -0
- package/dist/calcite/{p-a07e9c46.system.entry.js → p-8b145872.system.entry.js} +1 -1
- package/dist/calcite/{p-bc00846c.entry.js → p-8d36bc7c.entry.js} +1 -1
- package/dist/calcite/{p-e8270c76.system.entry.js → p-8ebed170.system.entry.js} +1 -1
- package/dist/calcite/{p-7bd71ff0.system.entry.js → p-8f4ea148.system.entry.js} +1 -1
- package/dist/calcite/{p-4fee156d.system.entry.js → p-99d29b5c.system.entry.js} +1 -1
- package/dist/calcite/p-99d32fc3.system.js +1 -1
- package/dist/calcite/p-9b05c3fd.js +5 -0
- package/dist/calcite/p-9bfe6679.system.entry.js +5 -0
- package/dist/calcite/{p-6fb2082b.entry.js → p-9d81d229.entry.js} +1 -1
- package/dist/calcite/p-9f349c92.entry.js +5 -0
- package/dist/calcite/{p-d6e8d643.entry.js → p-a0043c61.entry.js} +1 -1
- package/dist/calcite/{p-cc63f8f9.entry.js → p-a1f65f6e.entry.js} +1 -1
- package/dist/calcite/{p-1509da0f.system.entry.js → p-a4dec1f6.system.entry.js} +1 -1
- package/dist/calcite/{p-90f7c357.system.entry.js → p-a9c50960.system.entry.js} +1 -1
- package/dist/calcite/{p-f8f128a2.entry.js → p-aaed1677.entry.js} +1 -1
- package/dist/calcite/{p-70566b09.system.entry.js → p-ac778725.system.entry.js} +1 -1
- package/dist/calcite/{p-9acd0a18.entry.js → p-ac8cf248.entry.js} +1 -1
- package/dist/calcite/{p-bfd9f64a.entry.js → p-b4d3f1c1.entry.js} +1 -1
- package/dist/calcite/{p-fc3c1e91.entry.js → p-b80ab9ba.entry.js} +1 -1
- package/dist/calcite/{p-3c14f089.system.entry.js → p-bb9fb183.system.entry.js} +1 -1
- package/dist/calcite/{p-2015299a.entry.js → p-bda51610.entry.js} +1 -1
- package/dist/calcite/{p-d6bfa9b1.entry.js → p-c0ed9eff.entry.js} +1 -1
- package/dist/calcite/{p-c3124245.system.entry.js → p-cb9cd28c.system.entry.js} +1 -1
- package/dist/calcite/p-d1794edd.entry.js +5 -0
- package/dist/calcite/{p-9a0a29a7.system.entry.js → p-d578e568.system.entry.js} +1 -1
- package/dist/calcite/{p-94398466.system.entry.js → p-d5d91f34.system.entry.js} +1 -1
- package/dist/calcite/{p-6f0c4739.system.entry.js → p-e0fa3b13.system.entry.js} +1 -1
- package/dist/calcite/{p-7017ca05.js → p-e1944963.js} +1 -1
- package/dist/calcite/{p-227da2a5.system.entry.js → p-e564004a.system.entry.js} +1 -1
- package/dist/calcite/{p-0ac72794.system.entry.js → p-e606e9ae.system.entry.js} +1 -1
- package/dist/calcite/{p-f70f5521.system.entry.js → p-e690993e.system.entry.js} +1 -1
- package/dist/calcite/{p-ae224016.system.entry.js → p-e6d14bc5.system.entry.js} +1 -1
- package/dist/calcite/{p-83d41684.entry.js → p-eea18662.entry.js} +1 -1
- package/dist/calcite/{p-3c1841bd.entry.js → p-f09810e7.entry.js} +1 -1
- package/dist/calcite/{p-0134e87c.system.entry.js → p-f5469b62.system.entry.js} +1 -1
- package/dist/calcite/p-f6559122.entry.js +5 -0
- package/dist/calcite/{p-a76aa7d2.system.entry.js → p-f6fc151d.system.entry.js} +1 -1
- package/dist/calcite/{p-c077d664.entry.js → p-f73124d0.entry.js} +1 -1
- package/dist/calcite/{p-59222393.entry.js → p-f90b2e7f.entry.js} +1 -1
- package/dist/calcite/{p-4364e76a.system.js → p-fbcaa23c.system.js} +1 -1
- package/dist/calcite/{p-f3b489d9.js → p-fcd62e97.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-38ca208f.js → CalciteExpandToggle-65468585.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-menu.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/calcite-chip.cjs.entry.js +1 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +16 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +13 -6
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +3 -2
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +18 -11
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +9 -4
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input.cjs.entry.js +6 -3
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +1 -1
- package/dist/cjs/calcite-notice.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel.cjs.entry.js +1 -1
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite.cjs.js +1 -1
- package/dist/cjs/{dom-db7722f2.js → dom-0de9fb18.js} +17 -4
- package/dist/cjs/{form-ad18d4fc.js → form-4b7c317e.js} +1 -1
- package/dist/cjs/{label-4776bb0e.js → label-1bca211b.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{popper-adfdc032.js → popper-09105f6f.js} +1 -1
- package/dist/cjs/{resources-8273cb31.js → resources-405cc2c4.js} +1 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +28 -3
- package/dist/collection/components/calcite-combobox/resources.js +3 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +2 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +1 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +12 -7
- package/dist/collection/components/calcite-graph/calcite-graph.css +3 -5
- package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
- package/dist/collection/components/calcite-input/calcite-input.js +3 -0
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +38 -1
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +10 -0
- package/dist/collection/components/calcite-slider/calcite-slider.css +1 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +1 -2
- package/dist/collection/utils/dom.js +17 -4
- package/dist/components/calcite-color-picker-swatch2.js +15 -0
- package/dist/components/calcite-combobox.js +8 -3
- package/dist/components/calcite-date-picker2.js +2 -1
- package/dist/components/calcite-dropdown2.js +12 -8
- package/dist/components/calcite-graph2.js +14 -9
- package/dist/components/calcite-inline-editable.js +5 -5
- package/dist/components/calcite-input-date-picker.js +6 -1
- package/dist/components/calcite-input2.js +3 -0
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/dom.js +17 -4
- package/dist/components/utils2.js +4 -1
- package/dist/custom-elements/index.js +137 -83
- package/dist/esm/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +1 -1
- package/dist/esm/calcite-action-bar.entry.js +2 -2
- package/dist/esm/calcite-action-group.entry.js +1 -1
- package/dist/esm/calcite-action-menu.entry.js +1 -1
- package/dist/esm/calcite-action-pad.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +1 -1
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +1 -1
- package/dist/esm/calcite-button.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip.entry.js +1 -1
- package/dist/esm/calcite-color-picker_3.entry.js +16 -1
- package/dist/esm/calcite-combobox_3.entry.js +13 -6
- package/dist/esm/calcite-date-picker_4.entry.js +3 -2
- package/dist/esm/calcite-dropdown_3.entry.js +14 -10
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +19 -12
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +9 -4
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm/calcite-input.entry.js +6 -3
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +1 -1
- package/dist/esm/calcite-notice.entry.js +1 -1
- package/dist/esm/calcite-option_3.entry.js +3 -3
- package/dist/esm/calcite-panel.entry.js +1 -1
- package/dist/esm/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm/calcite-popover_2.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +4 -4
- package/dist/esm/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +3 -3
- package/dist/esm/calcite-shell_3.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-tab_4.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-tip_3.entry.js +1 -1
- package/dist/esm/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm/calcite-tree_2.entry.js +1 -1
- package/dist/esm/calcite-value-list_2.entry.js +2 -2
- package/dist/esm/calcite.js +1 -1
- package/dist/esm/{dom-e55f9eaf.js → dom-037dc374.js} +17 -4
- package/dist/esm/{form-147bc6d7.js → form-72369b73.js} +1 -1
- package/dist/esm/{label-240ef148.js → label-712646d2.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
- package/dist/esm/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
- package/dist/esm-es5/{CalciteExpandToggle-1b1bf600.js → CalciteExpandToggle-48b6e955.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
- package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +1 -1
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +1 -1
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/dom-037dc374.js +5 -0
- package/dist/esm-es5/{form-147bc6d7.js → form-72369b73.js} +1 -1
- package/dist/esm-es5/{label-240ef148.js → label-712646d2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{popper-1814b3c1.js → popper-7a7fd3b5.js} +1 -1
- package/dist/esm-es5/{resources-a6abee37.js → resources-03c0a433.js} +1 -1
- package/dist/extras/docs-json.json +75 -38
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +4 -0
- package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +1 -0
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +9 -0
- package/dist/types/components.d.ts +24 -16
- package/dist/types/preact.d.ts +5 -4
- package/dist/types/utils/dom.d.ts +4 -2
- package/hydrate/index.js +136 -83
- package/package.json +13 -13
- package/readme.md +2 -2
- package/dist/calcite/p-0b187e6a.system.entry.js +0 -5
- package/dist/calcite/p-15a38242.system.entry.js +0 -5
- package/dist/calcite/p-428412b9.entry.js +0 -5
- package/dist/calcite/p-55e6b0b2.entry.js +0 -5
- package/dist/calcite/p-5c0e75f5.system.entry.js +0 -5
- package/dist/calcite/p-634115dd.entry.js +0 -5
- package/dist/calcite/p-765d6b57.system.entry.js +0 -5
- package/dist/calcite/p-7f4866eb.entry.js +0 -5
- package/dist/calcite/p-805c94b9.entry.js +0 -5
- package/dist/calcite/p-b43f2e28.entry.js +0 -5
- package/dist/calcite/p-c13560e5.system.entry.js +0 -5
- package/dist/calcite/p-e39173ae.entry.js +0 -5
- package/dist/calcite/p-ef6f8370.entry.js +0 -5
- package/dist/calcite/p-f65fdcde.system.entry.js +0 -5
- package/dist/calcite/p-f87c1273.js +0 -5
- package/dist/calcite/p-fbcdf667.system.entry.js +0 -5
- package/dist/esm-es5/dom-e55f9eaf.js +0 -5
|
@@ -152,7 +152,7 @@ const CSS_UTILITY = {
|
|
|
152
152
|
lightTheme,
|
|
153
153
|
rtl: "calcite--rtl"
|
|
154
154
|
};
|
|
155
|
-
const TEXT$
|
|
155
|
+
const TEXT$r = {
|
|
156
156
|
loading: "Loading"
|
|
157
157
|
};
|
|
158
158
|
|
|
@@ -274,10 +274,17 @@ async function focusElement(el) {
|
|
|
274
274
|
}
|
|
275
275
|
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
276
276
|
}
|
|
277
|
+
const defaultSlotSelector = "> :not([slot])";
|
|
277
278
|
function getSlotted(element, slotName, options) {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
if (!Array.isArray(slotName) && typeof slotName !== "string") {
|
|
280
|
+
options = slotName;
|
|
281
|
+
slotName = null;
|
|
282
|
+
}
|
|
283
|
+
const slotSelector = slotName
|
|
284
|
+
? Array.isArray(slotName)
|
|
285
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
286
|
+
: `[slot="${slotName}"]`
|
|
287
|
+
: defaultSlotSelector;
|
|
281
288
|
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
282
289
|
return queryMultiple(element, slotSelector, options);
|
|
283
290
|
}
|
|
@@ -286,6 +293,9 @@ function getSlotted(element, slotName, options) {
|
|
|
286
293
|
function queryMultiple(element, slotSelector, options) {
|
|
287
294
|
let matches = Array.from(element.querySelectorAll(slotSelector));
|
|
288
295
|
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
|
296
|
+
if (slotSelector === defaultSlotSelector) {
|
|
297
|
+
matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
|
|
298
|
+
}
|
|
289
299
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
290
300
|
return selector
|
|
291
301
|
? matches
|
|
@@ -296,9 +306,12 @@ function queryMultiple(element, slotSelector, options) {
|
|
|
296
306
|
}
|
|
297
307
|
function querySingle(element, slotSelector, options) {
|
|
298
308
|
let match = element.querySelector(slotSelector);
|
|
309
|
+
if (slotSelector === defaultSlotSelector) {
|
|
310
|
+
match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
|
|
311
|
+
}
|
|
299
312
|
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
|
300
313
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
301
|
-
return selector ? match.querySelector(selector) : match;
|
|
314
|
+
return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
|
|
302
315
|
}
|
|
303
316
|
function filterDirectChildren(el, selector) {
|
|
304
317
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
@@ -450,7 +463,7 @@ const CSS$P = {
|
|
|
450
463
|
textContainer: "text-container",
|
|
451
464
|
textContainerVisible: "text-container--visible"
|
|
452
465
|
};
|
|
453
|
-
const TEXT$
|
|
466
|
+
const TEXT$q = {
|
|
454
467
|
loading: "Loading"
|
|
455
468
|
};
|
|
456
469
|
|
|
@@ -503,7 +516,7 @@ let CalciteAction$1 = class extends HTMLElement$1 {
|
|
|
503
516
|
/** string to override English loading text
|
|
504
517
|
* @default "Loading"
|
|
505
518
|
*/
|
|
506
|
-
this.intlLoading = TEXT$
|
|
519
|
+
this.intlLoading = TEXT$q.loading;
|
|
507
520
|
/**
|
|
508
521
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
509
522
|
*/
|
|
@@ -607,7 +620,7 @@ const SLOTS$o = {
|
|
|
607
620
|
menuActions: "menu-actions",
|
|
608
621
|
menuTooltip: "menu-tooltip"
|
|
609
622
|
};
|
|
610
|
-
const TEXT$
|
|
623
|
+
const TEXT$p = {
|
|
611
624
|
more: "More"
|
|
612
625
|
};
|
|
613
626
|
const ICONS$e = {
|
|
@@ -698,7 +711,7 @@ const SLOTS$n = {
|
|
|
698
711
|
bottomActions: "bottom-actions",
|
|
699
712
|
expandTooltip: "expand-tooltip"
|
|
700
713
|
};
|
|
701
|
-
const TEXT$
|
|
714
|
+
const TEXT$o = {
|
|
702
715
|
expand: "Expand",
|
|
703
716
|
collapse: "Collapse"
|
|
704
717
|
};
|
|
@@ -2149,8 +2162,8 @@ let CalciteActionBar$1 = class extends HTMLElement$1 {
|
|
|
2149
2162
|
renderBottomActionGroup() {
|
|
2150
2163
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
2151
2164
|
const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
|
|
2152
|
-
const expandLabel = intlExpand || TEXT$
|
|
2153
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
2165
|
+
const expandLabel = intlExpand || TEXT$o.expand;
|
|
2166
|
+
const collapseLabel = intlCollapse || TEXT$o.collapse;
|
|
2154
2167
|
const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2155
2168
|
return getSlotted(el, SLOTS$n.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$n.bottomActions }), h("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
2156
2169
|
}
|
|
@@ -2215,7 +2228,7 @@ let CalciteActionGroup$1 = class extends HTMLElement$1 {
|
|
|
2215
2228
|
renderMenu() {
|
|
2216
2229
|
const { el, expanded, intlMore, menuOpen, scale } = this;
|
|
2217
2230
|
const hasMenuItems = getSlotted(el, SLOTS$o.menuActions);
|
|
2218
|
-
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$
|
|
2231
|
+
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$p.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$p.more, textEnabled: expanded }), h("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
|
|
2219
2232
|
}
|
|
2220
2233
|
render() {
|
|
2221
2234
|
return (h(Fragment, null, h("slot", null), this.renderMenu()));
|
|
@@ -2514,7 +2527,7 @@ const CSS$M = {
|
|
|
2514
2527
|
actionGroupBottom: "action-group--bottom",
|
|
2515
2528
|
container: "container"
|
|
2516
2529
|
};
|
|
2517
|
-
const TEXT$
|
|
2530
|
+
const TEXT$n = {
|
|
2518
2531
|
expand: "Expand",
|
|
2519
2532
|
collapse: "Collapse"
|
|
2520
2533
|
};
|
|
@@ -2612,8 +2625,8 @@ let CalciteActionPad$1 = class extends HTMLElement$1 {
|
|
|
2612
2625
|
renderBottomActionGroup() {
|
|
2613
2626
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
2614
2627
|
const tooltip = getSlotted(el, SLOTS$m.expandTooltip);
|
|
2615
|
-
const expandLabel = intlExpand || TEXT$
|
|
2616
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
2628
|
+
const expandLabel = intlExpand || TEXT$n.expand;
|
|
2629
|
+
const collapseLabel = intlCollapse || TEXT$n.collapse;
|
|
2617
2630
|
const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2618
2631
|
return expandToggleNode ? (h("calcite-action-group", { class: CSS$M.actionGroupBottom, scale: scale }, h("slot", { name: SLOTS$m.expandTooltip }), expandToggleNode)) : null;
|
|
2619
2632
|
}
|
|
@@ -2628,7 +2641,7 @@ let CalciteActionPad$1 = class extends HTMLElement$1 {
|
|
|
2628
2641
|
static get style() { return calciteActionPadCss; }
|
|
2629
2642
|
};
|
|
2630
2643
|
|
|
2631
|
-
const TEXT$
|
|
2644
|
+
const TEXT$m = {
|
|
2632
2645
|
intlClose: "Close"
|
|
2633
2646
|
};
|
|
2634
2647
|
const DURATIONS = {
|
|
@@ -2677,7 +2690,7 @@ let CalciteAlert$1 = class extends HTMLElement$1 {
|
|
|
2677
2690
|
/** string to override English close text
|
|
2678
2691
|
* @default "Close"
|
|
2679
2692
|
*/
|
|
2680
|
-
this.intlClose = TEXT$
|
|
2693
|
+
this.intlClose = TEXT$m.intlClose;
|
|
2681
2694
|
/** specify the placement of the alert */
|
|
2682
2695
|
this.placement = "bottom";
|
|
2683
2696
|
/** specify the scale of the alert, defaults to m */
|
|
@@ -3090,7 +3103,7 @@ const CSS$L = {
|
|
|
3090
3103
|
invalid: "invalid",
|
|
3091
3104
|
loading: "loading"
|
|
3092
3105
|
};
|
|
3093
|
-
const TEXT$
|
|
3106
|
+
const TEXT$l = {
|
|
3094
3107
|
collapse: "Collapse",
|
|
3095
3108
|
expand: "Expand",
|
|
3096
3109
|
loading: "Loading",
|
|
@@ -3147,11 +3160,11 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
|
|
|
3147
3160
|
/** string to override English loading text
|
|
3148
3161
|
* @default "Loading"
|
|
3149
3162
|
*/
|
|
3150
|
-
this.intlLoading = TEXT$
|
|
3163
|
+
this.intlLoading = TEXT$l.loading;
|
|
3151
3164
|
/** Text string used for the actions menu
|
|
3152
3165
|
* @default "Options"
|
|
3153
3166
|
*/
|
|
3154
|
-
this.intlOptions = TEXT$
|
|
3167
|
+
this.intlOptions = TEXT$l.options;
|
|
3155
3168
|
/**
|
|
3156
3169
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
3157
3170
|
*/
|
|
@@ -3199,12 +3212,12 @@ let CalciteBlock$1 = class extends HTMLElement$1 {
|
|
|
3199
3212
|
}
|
|
3200
3213
|
render() {
|
|
3201
3214
|
const { collapsible, disabled, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
3202
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
3215
|
+
const toggleLabel = open ? intlCollapse || TEXT$l.collapse : intlExpand || TEXT$l.expand;
|
|
3203
3216
|
const headerContent = (h("header", { class: CSS$L.header }, this.renderIcon(), this.renderTitle()));
|
|
3204
3217
|
const hasControl = !!getSlotted(el, SLOTS$k.control);
|
|
3205
3218
|
const hasMenuActions = !!getSlotted(el, SLOTS$k.headerMenuActions);
|
|
3206
3219
|
const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
|
|
3207
|
-
const headerNode = (h("div", { class: CSS$L.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$L.toggle, 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$
|
|
3220
|
+
const headerNode = (h("div", { class: CSS$L.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$L.toggle, 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$l.options }, h("slot", { name: SLOTS$k.headerMenuActions }))) : null));
|
|
3208
3221
|
return (h(Host, { tabIndex: disabled ? -1 : null }, h("article", { "aria-busy": loading.toString(), class: {
|
|
3209
3222
|
[CSS$L.article]: true
|
|
3210
3223
|
} }, headerNode, h("div", { class: CSS$L.content, hidden: !open }, this.renderScrim()))));
|
|
@@ -3225,7 +3238,7 @@ const CSS$K = {
|
|
|
3225
3238
|
statusIcon: "status-icon",
|
|
3226
3239
|
valid: "valid"
|
|
3227
3240
|
};
|
|
3228
|
-
const TEXT$
|
|
3241
|
+
const TEXT$k = {
|
|
3229
3242
|
collapse: "Collapse",
|
|
3230
3243
|
expand: "Expand"
|
|
3231
3244
|
};
|
|
@@ -3296,7 +3309,7 @@ let CalciteBlockSection$1 = class extends HTMLElement$1 {
|
|
|
3296
3309
|
: dir === "rtl"
|
|
3297
3310
|
? ICONS$b.menuClosedLeft
|
|
3298
3311
|
: ICONS$b.menuClosedRight;
|
|
3299
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
3312
|
+
const toggleLabel = open ? intlCollapse || TEXT$k.collapse : intlExpand || TEXT$k.expand;
|
|
3300
3313
|
const headerNode = toggleDisplay === "switch" ? (h("div", { "aria-label": toggleLabel, class: {
|
|
3301
3314
|
[CSS$K.toggle]: true,
|
|
3302
3315
|
[CSS$K.toggleSwitch]: true
|
|
@@ -3350,7 +3363,7 @@ const CSS$J = {
|
|
|
3350
3363
|
iconStartEmpty: "icon-start-empty",
|
|
3351
3364
|
iconEndEmpty: "icon-end-empty"
|
|
3352
3365
|
};
|
|
3353
|
-
const TEXT$
|
|
3366
|
+
const TEXT$j = {
|
|
3354
3367
|
loading: "Loading"
|
|
3355
3368
|
};
|
|
3356
3369
|
|
|
@@ -3456,7 +3469,7 @@ let CalciteButton$1 = class extends HTMLElement$1 {
|
|
|
3456
3469
|
/** string to override English loading text
|
|
3457
3470
|
* @default "Loading"
|
|
3458
3471
|
*/
|
|
3459
|
-
this.intlLoading = TEXT$
|
|
3472
|
+
this.intlLoading = TEXT$j.loading;
|
|
3460
3473
|
/** optionally add a calcite-loader component to the button, disabling interaction. */
|
|
3461
3474
|
this.loading = false;
|
|
3462
3475
|
/** optionally add a round style to the button */
|
|
@@ -3594,7 +3607,7 @@ const SLOTS$j = {
|
|
|
3594
3607
|
footerLeading: "footer-leading",
|
|
3595
3608
|
footerTrailing: "footer-trailing"
|
|
3596
3609
|
};
|
|
3597
|
-
const TEXT$
|
|
3610
|
+
const TEXT$i = {
|
|
3598
3611
|
select: "Select",
|
|
3599
3612
|
deselect: "Deselect",
|
|
3600
3613
|
loading: "Loading"
|
|
@@ -3622,15 +3635,15 @@ let CalciteCard$1 = class extends HTMLElement$1 {
|
|
|
3622
3635
|
/** string to override English loading text
|
|
3623
3636
|
* @default "Loading"
|
|
3624
3637
|
*/
|
|
3625
|
-
this.intlLoading = TEXT$
|
|
3638
|
+
this.intlLoading = TEXT$i.loading;
|
|
3626
3639
|
/** string to override English select text for checkbox when selectable is true
|
|
3627
3640
|
* @default "Select"
|
|
3628
3641
|
*/
|
|
3629
|
-
this.intlSelect = TEXT$
|
|
3642
|
+
this.intlSelect = TEXT$i.select;
|
|
3630
3643
|
/** string to override English deselect text for checkbox when selectable is true
|
|
3631
3644
|
* @default "Deselect"
|
|
3632
3645
|
*/
|
|
3633
|
-
this.intlDeselect = TEXT$
|
|
3646
|
+
this.intlDeselect = TEXT$i.deselect;
|
|
3634
3647
|
//--------------------------------------------------------------------------
|
|
3635
3648
|
//
|
|
3636
3649
|
// Private State/Props
|
|
@@ -3981,7 +3994,7 @@ const CSS$H = {
|
|
|
3981
3994
|
chipImageContainer: "chip-image-container",
|
|
3982
3995
|
calciteChipIcon: "calcite-chip--icon"
|
|
3983
3996
|
};
|
|
3984
|
-
const TEXT$
|
|
3997
|
+
const TEXT$h = {
|
|
3985
3998
|
close: "Close"
|
|
3986
3999
|
};
|
|
3987
4000
|
const SLOTS$i = {
|
|
@@ -4013,7 +4026,7 @@ let CalciteChip$1 = class extends HTMLElement$1 {
|
|
|
4013
4026
|
/** Aria label for the "x" button
|
|
4014
4027
|
* @default "Close"
|
|
4015
4028
|
*/
|
|
4016
|
-
this.dismissLabel = TEXT$
|
|
4029
|
+
this.dismissLabel = TEXT$h.close;
|
|
4017
4030
|
/** flip the icon in rtl */
|
|
4018
4031
|
this.iconFlipRtl = false;
|
|
4019
4032
|
/** specify the scale of the chip, defaults to m */
|
|
@@ -5929,6 +5942,21 @@ Color.prototype = {
|
|
|
5929
5942
|
return colorString.to.hex(this.rgb().round().color);
|
|
5930
5943
|
},
|
|
5931
5944
|
|
|
5945
|
+
hexa(value) {
|
|
5946
|
+
if (arguments.length > 0) {
|
|
5947
|
+
return new Color(value);
|
|
5948
|
+
}
|
|
5949
|
+
|
|
5950
|
+
const rgbArray = this.rgb().round().color;
|
|
5951
|
+
let alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();
|
|
5952
|
+
|
|
5953
|
+
if (alphaHex.length === 1) {
|
|
5954
|
+
alphaHex = '0' + alphaHex;
|
|
5955
|
+
}
|
|
5956
|
+
|
|
5957
|
+
return colorString.to.hex(rgbArray) + alphaHex;
|
|
5958
|
+
},
|
|
5959
|
+
|
|
5932
5960
|
rgbNumber() {
|
|
5933
5961
|
const rgb = this.rgb().color;
|
|
5934
5962
|
return (rgb[0] & 0xFF) << 16 | (rgb[1] & 0xFF) << 8 | rgb[2] & 0xFF;
|
|
@@ -6200,7 +6228,7 @@ const HSV_LIMITS = {
|
|
|
6200
6228
|
s: 100,
|
|
6201
6229
|
v: 100
|
|
6202
6230
|
};
|
|
6203
|
-
const TEXT$
|
|
6231
|
+
const TEXT$g = {
|
|
6204
6232
|
b: "B",
|
|
6205
6233
|
blue: "Blue",
|
|
6206
6234
|
deleteColor: "Delete color",
|
|
@@ -6323,80 +6351,80 @@ let CalciteColorPicker$1 = class extends HTMLElement$1 {
|
|
|
6323
6351
|
/** Label used for the blue channel
|
|
6324
6352
|
* @default "B"
|
|
6325
6353
|
*/
|
|
6326
|
-
this.intlB = TEXT$
|
|
6354
|
+
this.intlB = TEXT$g.b;
|
|
6327
6355
|
/** Label used for the blue channel description
|
|
6328
6356
|
* @default "Blue"
|
|
6329
6357
|
*/
|
|
6330
|
-
this.intlBlue = TEXT$
|
|
6358
|
+
this.intlBlue = TEXT$g.blue;
|
|
6331
6359
|
/** Label used for the delete color button.
|
|
6332
6360
|
* @default "Delete color"
|
|
6333
6361
|
*/
|
|
6334
|
-
this.intlDeleteColor = TEXT$
|
|
6362
|
+
this.intlDeleteColor = TEXT$g.deleteColor;
|
|
6335
6363
|
/** Label used for the green channel
|
|
6336
6364
|
* @default "G"
|
|
6337
6365
|
*/
|
|
6338
|
-
this.intlG = TEXT$
|
|
6366
|
+
this.intlG = TEXT$g.g;
|
|
6339
6367
|
/** Label used for the green channel description
|
|
6340
6368
|
* @default "Green"
|
|
6341
6369
|
*/
|
|
6342
|
-
this.intlGreen = TEXT$
|
|
6370
|
+
this.intlGreen = TEXT$g.green;
|
|
6343
6371
|
/** Label used for the hue channel
|
|
6344
6372
|
* @default "H"
|
|
6345
6373
|
*/
|
|
6346
|
-
this.intlH = TEXT$
|
|
6374
|
+
this.intlH = TEXT$g.h;
|
|
6347
6375
|
/** Label used for the HSV mode
|
|
6348
6376
|
* @default "HSV"
|
|
6349
6377
|
*/
|
|
6350
|
-
this.intlHsv = TEXT$
|
|
6378
|
+
this.intlHsv = TEXT$g.hsv;
|
|
6351
6379
|
/** Label used for the hex input
|
|
6352
6380
|
* @default "Hex"
|
|
6353
6381
|
*/
|
|
6354
|
-
this.intlHex = TEXT$
|
|
6382
|
+
this.intlHex = TEXT$g.hex;
|
|
6355
6383
|
/** Label used for the hue channel description
|
|
6356
6384
|
* @default "Hue"
|
|
6357
6385
|
*/
|
|
6358
|
-
this.intlHue = TEXT$
|
|
6386
|
+
this.intlHue = TEXT$g.hue;
|
|
6359
6387
|
/**
|
|
6360
6388
|
* Label used for the hex input when there is no color selected.
|
|
6361
6389
|
* @default "No color"
|
|
6362
6390
|
*/
|
|
6363
|
-
this.intlNoColor = TEXT$
|
|
6391
|
+
this.intlNoColor = TEXT$g.noColor;
|
|
6364
6392
|
/** Label used for the red channel
|
|
6365
6393
|
* @default "R"
|
|
6366
6394
|
*/
|
|
6367
|
-
this.intlR = TEXT$
|
|
6395
|
+
this.intlR = TEXT$g.r;
|
|
6368
6396
|
/** Label used for the red channel description
|
|
6369
6397
|
* @default "Red"
|
|
6370
6398
|
*/
|
|
6371
|
-
this.intlRed = TEXT$
|
|
6399
|
+
this.intlRed = TEXT$g.red;
|
|
6372
6400
|
/** Label used for the RGB mode
|
|
6373
6401
|
* @default "RGB"
|
|
6374
6402
|
*/
|
|
6375
|
-
this.intlRgb = TEXT$
|
|
6403
|
+
this.intlRgb = TEXT$g.rgb;
|
|
6376
6404
|
/** Label used for the saturation channel
|
|
6377
6405
|
* @default "S"
|
|
6378
6406
|
*/
|
|
6379
|
-
this.intlS = TEXT$
|
|
6407
|
+
this.intlS = TEXT$g.s;
|
|
6380
6408
|
/** Label used for the saturation channel description
|
|
6381
6409
|
* @default "Saturation"
|
|
6382
6410
|
*/
|
|
6383
|
-
this.intlSaturation = TEXT$
|
|
6411
|
+
this.intlSaturation = TEXT$g.saturation;
|
|
6384
6412
|
/** Label used for the save color button.
|
|
6385
6413
|
* @default "Save color"
|
|
6386
6414
|
*/
|
|
6387
|
-
this.intlSaveColor = TEXT$
|
|
6415
|
+
this.intlSaveColor = TEXT$g.saveColor;
|
|
6388
6416
|
/** Label used for the saved colors section
|
|
6389
6417
|
* @default "Saved"
|
|
6390
6418
|
*/
|
|
6391
|
-
this.intlSaved = TEXT$
|
|
6419
|
+
this.intlSaved = TEXT$g.saved;
|
|
6392
6420
|
/** Label used for the value channel
|
|
6393
6421
|
* @default "V"
|
|
6394
6422
|
*/
|
|
6395
|
-
this.intlV = TEXT$
|
|
6423
|
+
this.intlV = TEXT$g.v;
|
|
6396
6424
|
/** Label used for the
|
|
6397
6425
|
* @default "Value"
|
|
6398
6426
|
*/
|
|
6399
|
-
this.intlValue = TEXT$
|
|
6427
|
+
this.intlValue = TEXT$g.value;
|
|
6400
6428
|
/**
|
|
6401
6429
|
* The scale of the color picker.
|
|
6402
6430
|
*/
|
|
@@ -7072,12 +7100,12 @@ let CalciteColorPickerHexInput$1 = class extends HTMLElement$1 {
|
|
|
7072
7100
|
* Label used for the hex input.
|
|
7073
7101
|
* @default "Hex"
|
|
7074
7102
|
*/
|
|
7075
|
-
this.intlHex = TEXT$
|
|
7103
|
+
this.intlHex = TEXT$g.hex;
|
|
7076
7104
|
/**
|
|
7077
7105
|
* Label used for the hex input when there is no color selected.
|
|
7078
7106
|
* @default "No color"
|
|
7079
7107
|
*/
|
|
7080
|
-
this.intlNoColor = TEXT$
|
|
7108
|
+
this.intlNoColor = TEXT$g.noColor;
|
|
7081
7109
|
/**
|
|
7082
7110
|
* The component's scale.
|
|
7083
7111
|
*/
|
|
@@ -9152,6 +9180,9 @@ const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
|
|
|
9152
9180
|
const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
9153
9181
|
const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;
|
|
9154
9182
|
const ComboboxDefaultPlacement = "bottom-leading";
|
|
9183
|
+
const TEXT$f = {
|
|
9184
|
+
removeTag: "Remove tag"
|
|
9185
|
+
};
|
|
9155
9186
|
|
|
9156
9187
|
function getAncestors(element) {
|
|
9157
9188
|
var _a, _b;
|
|
@@ -9221,6 +9252,10 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9221
9252
|
this.scale = "m";
|
|
9222
9253
|
/** The value(s) of the selectedItem(s) */
|
|
9223
9254
|
this.value = null;
|
|
9255
|
+
/** string to override the English "Remove tag" text for when an item is selected.
|
|
9256
|
+
* @default "Remove tag"
|
|
9257
|
+
*/
|
|
9258
|
+
this.intlRemoveTag = TEXT$f.removeTag;
|
|
9224
9259
|
//--------------------------------------------------------------------------
|
|
9225
9260
|
//
|
|
9226
9261
|
// Private State/Props
|
|
@@ -9826,7 +9861,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9826
9861
|
//
|
|
9827
9862
|
//--------------------------------------------------------------------------
|
|
9828
9863
|
renderChips() {
|
|
9829
|
-
const { activeChipIndex, scale, selectionMode } = this;
|
|
9864
|
+
const { activeChipIndex, scale, selectionMode, intlRemoveTag } = this;
|
|
9830
9865
|
return this.selectedItems.map((item, i) => {
|
|
9831
9866
|
const chipClasses = {
|
|
9832
9867
|
chip: true,
|
|
@@ -9835,7 +9870,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
|
|
|
9835
9870
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
9836
9871
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
9837
9872
|
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
|
9838
|
-
return (h("calcite-chip", { "aria-label": label, class: chipClasses, dismissLabel:
|
|
9873
|
+
return (h("calcite-chip", { "aria-label": label, class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: `chip-${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
|
|
9839
9874
|
});
|
|
9840
9875
|
}
|
|
9841
9876
|
renderInput() {
|
|
@@ -10626,6 +10661,7 @@ let CalciteDatePicker$1 = class extends HTMLElement$1 {
|
|
|
10626
10661
|
this.value = date ? dateToISO(date) : "";
|
|
10627
10662
|
this.valueAsDate = date || null;
|
|
10628
10663
|
this.activeDate = date || null;
|
|
10664
|
+
this.calciteDatePickerChange.emit(date);
|
|
10629
10665
|
return;
|
|
10630
10666
|
}
|
|
10631
10667
|
if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
|
|
@@ -10674,12 +10710,12 @@ let CalciteDatePicker$1 = class extends HTMLElement$1 {
|
|
|
10674
10710
|
this.endAsDate = this.activeEndDate = this.end = undefined;
|
|
10675
10711
|
}
|
|
10676
10712
|
}
|
|
10713
|
+
this.calciteDatePickerChange.emit(date);
|
|
10677
10714
|
};
|
|
10678
10715
|
}
|
|
10679
10716
|
handleValueAsDate(date) {
|
|
10680
10717
|
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
|
10681
10718
|
this.activeDate = date;
|
|
10682
|
-
this.calciteDatePickerChange.emit(date);
|
|
10683
10719
|
}
|
|
10684
10720
|
}
|
|
10685
10721
|
handleRangeChange() {
|
|
@@ -11324,7 +11360,7 @@ const SLOTS$h = {
|
|
|
11324
11360
|
dropdownTrigger: "dropdown-trigger"
|
|
11325
11361
|
};
|
|
11326
11362
|
|
|
11327
|
-
const calciteDropdownCss = "@-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:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{overflow-y:auto;background-color:var(--calcite-ui-foreground-1);
|
|
11363
|
+
const calciteDropdownCss = "@-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:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
|
|
11328
11364
|
|
|
11329
11365
|
let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
11330
11366
|
constructor() {
|
|
@@ -11380,6 +11416,7 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
|
11380
11416
|
this.items = [];
|
|
11381
11417
|
this.activeTransitionProp = "visibility";
|
|
11382
11418
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
11419
|
+
this.resizeObserver = createObserver("resize", () => this.setMaxScrollerHeight());
|
|
11383
11420
|
//--------------------------------------------------------------------------
|
|
11384
11421
|
//
|
|
11385
11422
|
// Private Methods
|
|
@@ -11392,13 +11429,15 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
|
11392
11429
|
this.reposition();
|
|
11393
11430
|
};
|
|
11394
11431
|
this.setMaxScrollerHeight = () => {
|
|
11395
|
-
const { scrollerEl } = this;
|
|
11396
|
-
if (scrollerEl) {
|
|
11397
|
-
|
|
11398
|
-
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
11432
|
+
const { active, scrollerEl } = this;
|
|
11433
|
+
if (!scrollerEl || !active) {
|
|
11434
|
+
return;
|
|
11399
11435
|
}
|
|
11436
|
+
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
11437
|
+
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
11400
11438
|
};
|
|
11401
11439
|
this.setScrollerEl = (scrollerEl) => {
|
|
11440
|
+
this.resizeObserver.observe(scrollerEl);
|
|
11402
11441
|
this.scrollerEl = scrollerEl;
|
|
11403
11442
|
};
|
|
11404
11443
|
this.transitionEnd = (event) => {
|
|
@@ -11454,6 +11493,7 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
|
11454
11493
|
}
|
|
11455
11494
|
maxItemsHandler() {
|
|
11456
11495
|
this.reposition();
|
|
11496
|
+
this.setMaxScrollerHeight();
|
|
11457
11497
|
}
|
|
11458
11498
|
placementHandler() {
|
|
11459
11499
|
this.reposition();
|
|
@@ -11473,8 +11513,9 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
|
11473
11513
|
this.reposition();
|
|
11474
11514
|
}
|
|
11475
11515
|
disconnectedCallback() {
|
|
11476
|
-
var _a;
|
|
11516
|
+
var _a, _b;
|
|
11477
11517
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
11518
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
11478
11519
|
this.destroyPopper();
|
|
11479
11520
|
}
|
|
11480
11521
|
render() {
|
|
@@ -11483,7 +11524,7 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
|
11483
11524
|
["calcite-dropdown-content"]: true,
|
|
11484
11525
|
[CSS$D.animation]: true,
|
|
11485
11526
|
[CSS$D.animationActive]: active
|
|
11486
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("slot", null)))));
|
|
11527
|
+
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !this.active }, h("slot", null))))));
|
|
11487
11528
|
}
|
|
11488
11529
|
//--------------------------------------------------------------------------
|
|
11489
11530
|
//
|
|
@@ -11493,7 +11534,6 @@ let CalciteDropdown$1 = class extends HTMLElement$1 {
|
|
|
11493
11534
|
/** Updates the position of the component. */
|
|
11494
11535
|
async reposition() {
|
|
11495
11536
|
const { popper, menuEl, placement } = this;
|
|
11496
|
-
this.setMaxScrollerHeight();
|
|
11497
11537
|
const modifiers = this.getModifiers();
|
|
11498
11538
|
popper
|
|
11499
11539
|
? await updatePopper({
|
|
@@ -12299,7 +12339,7 @@ function area({ data, min, max, t }) {
|
|
|
12299
12339
|
return `${commands} ${end} L ${maxX},${minY} Z`;
|
|
12300
12340
|
}
|
|
12301
12341
|
|
|
12302
|
-
const calciteGraphCss = "@-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:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;
|
|
12342
|
+
const calciteGraphCss = "@-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:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";
|
|
12303
12343
|
|
|
12304
12344
|
let CalciteGraph$1 = class extends HTMLElement$1 {
|
|
12305
12345
|
constructor() {
|
|
@@ -12316,25 +12356,31 @@ let CalciteGraph$1 = class extends HTMLElement$1 {
|
|
|
12316
12356
|
* These data points should be sorted by x-axis value
|
|
12317
12357
|
*/
|
|
12318
12358
|
this.data = [];
|
|
12319
|
-
/** Width of graph in pixels*/
|
|
12320
|
-
this.width = 300;
|
|
12321
|
-
/** Width of graph in pixels*/
|
|
12322
|
-
this.height = 100;
|
|
12323
12359
|
//--------------------------------------------------------------------------
|
|
12324
12360
|
//
|
|
12325
12361
|
// Private State/Props
|
|
12326
12362
|
//
|
|
12327
12363
|
//--------------------------------------------------------------------------
|
|
12328
12364
|
this.graphId = `calcite-graph-${guid()}`;
|
|
12365
|
+
this.resizeObserver = createObserver("resize", () => forceUpdate(this));
|
|
12329
12366
|
}
|
|
12330
12367
|
//--------------------------------------------------------------------------
|
|
12331
12368
|
//
|
|
12332
12369
|
// Lifecycle
|
|
12333
12370
|
//
|
|
12334
12371
|
//--------------------------------------------------------------------------
|
|
12372
|
+
connectedCallback() {
|
|
12373
|
+
var _a;
|
|
12374
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el);
|
|
12375
|
+
}
|
|
12376
|
+
disconnectedCallback() {
|
|
12377
|
+
var _a;
|
|
12378
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
12379
|
+
}
|
|
12335
12380
|
render() {
|
|
12336
|
-
const { data, colorStops,
|
|
12381
|
+
const { data, colorStops, el, highlightMax, highlightMin, min, max } = this;
|
|
12337
12382
|
const id = this.graphId;
|
|
12383
|
+
const { clientHeight: height, clientWidth: width } = el;
|
|
12338
12384
|
// if we have no data, return empty svg
|
|
12339
12385
|
if (!data || data.length === 0) {
|
|
12340
12386
|
return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
|
|
@@ -12641,8 +12687,8 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
|
|
|
12641
12687
|
super();
|
|
12642
12688
|
this.__registerHost();
|
|
12643
12689
|
this.__attachShadow();
|
|
12644
|
-
this.
|
|
12645
|
-
this.
|
|
12690
|
+
this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel", 7);
|
|
12691
|
+
this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm", 7);
|
|
12646
12692
|
this.calciteInlineEditableEnableEditingChange = createEvent(this, "calciteInlineEditableEnableEditingChange", 7);
|
|
12647
12693
|
//--------------------------------------------------------------------------
|
|
12648
12694
|
//
|
|
@@ -12669,9 +12715,9 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
|
|
|
12669
12715
|
* @default "Save"
|
|
12670
12716
|
*/
|
|
12671
12717
|
this.intlConfirmChanges = TEXT$c.intlConfirmChanges;
|
|
12672
|
-
this.transitionEnd = (
|
|
12718
|
+
this.transitionEnd = () => {
|
|
12673
12719
|
if (!this.editingEnabled && !!this.shouldEmitCancel) {
|
|
12674
|
-
this.
|
|
12720
|
+
this.calciteInlineEditableEditCancel.emit();
|
|
12675
12721
|
}
|
|
12676
12722
|
};
|
|
12677
12723
|
this.enableEditing = () => {
|
|
@@ -12723,7 +12769,7 @@ let CalciteInlineEditable$1 = class extends HTMLElement$1 {
|
|
|
12723
12769
|
this.confirmChangesHandler = async (e) => {
|
|
12724
12770
|
e.preventDefault();
|
|
12725
12771
|
e.stopPropagation();
|
|
12726
|
-
this.
|
|
12772
|
+
this.calciteInlineEditableEditConfirm.emit();
|
|
12727
12773
|
try {
|
|
12728
12774
|
if (this.afterConfirm) {
|
|
12729
12775
|
this.loading = true;
|
|
@@ -12880,7 +12926,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
|
|
|
12880
12926
|
* string to override English loading text
|
|
12881
12927
|
* @default "Loading"
|
|
12882
12928
|
*/
|
|
12883
|
-
this.intlLoading = TEXT$
|
|
12929
|
+
this.intlLoading = TEXT$r.loading;
|
|
12884
12930
|
/** flip the icon in rtl */
|
|
12885
12931
|
this.iconFlipRtl = false;
|
|
12886
12932
|
/** specify if the input is in loading state */
|
|
@@ -13055,6 +13101,9 @@ let CalciteInput$1 = class extends HTMLElement$1 {
|
|
|
13055
13101
|
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
13056
13102
|
const valueNudgeDelayInMs = 100;
|
|
13057
13103
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
13104
|
+
if (this.nudgeNumberValueIntervalId) {
|
|
13105
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
13106
|
+
}
|
|
13058
13107
|
let firstValueNudge = true;
|
|
13059
13108
|
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
13060
13109
|
if (firstValueNudge) {
|
|
@@ -13316,6 +13365,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
|
|
|
13316
13365
|
this.__attachShadow();
|
|
13317
13366
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
13318
13367
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
13368
|
+
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 7);
|
|
13319
13369
|
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
|
|
13320
13370
|
this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 7);
|
|
13321
13371
|
//--------------------------------------------------------------------------
|
|
@@ -13467,6 +13517,9 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
|
|
|
13467
13517
|
// Event Listeners
|
|
13468
13518
|
//
|
|
13469
13519
|
//--------------------------------------------------------------------------
|
|
13520
|
+
handleDateOrRangeChange() {
|
|
13521
|
+
this.calciteInputDatePickerChange.emit();
|
|
13522
|
+
}
|
|
13470
13523
|
calciteDaySelectHandler() {
|
|
13471
13524
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
13472
13525
|
return;
|
|
@@ -13644,6 +13697,7 @@ let CalciteInputDatePicker$1 = class extends HTMLElement$1 {
|
|
|
13644
13697
|
}
|
|
13645
13698
|
if (!this.range) {
|
|
13646
13699
|
this.value = dateToISO(date);
|
|
13700
|
+
this.calciteDatePickerChange.emit(date);
|
|
13647
13701
|
return;
|
|
13648
13702
|
}
|
|
13649
13703
|
const { focusedInput } = this;
|
|
@@ -16503,7 +16557,7 @@ const CSS$f = {
|
|
|
16503
16557
|
container: "container"
|
|
16504
16558
|
};
|
|
16505
16559
|
|
|
16506
|
-
const calciteRadioButtonCss = "@-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:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){cursor:pointer}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}::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}";
|
|
16560
|
+
const calciteRadioButtonCss = "@-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:block;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){cursor:pointer}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:\"\";width:1rem;height:1rem;background-color:windowText;display:block}}::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}";
|
|
16507
16561
|
|
|
16508
16562
|
let CalciteRadioButton$1 = class extends HTMLElement$1 {
|
|
16509
16563
|
constructor() {
|
|
@@ -17814,7 +17868,7 @@ let CalciteShellPanel$1 = class extends HTMLElement$1 {
|
|
|
17814
17868
|
static get style() { return calciteShellPanelCss; }
|
|
17815
17869
|
};
|
|
17816
17870
|
|
|
17817
|
-
const calciteSliderCss = "@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;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;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.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{-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;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)}: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}";
|
|
17871
|
+
const calciteSliderCss = "@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;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;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.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{-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;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}";
|
|
17818
17872
|
|
|
17819
17873
|
let CalciteSlider$1 = class extends HTMLElement$1 {
|
|
17820
17874
|
constructor() {
|
|
@@ -18071,7 +18125,7 @@ let CalciteSlider$1 = class extends HTMLElement$1 {
|
|
|
18071
18125
|
histogramLabeledPreciseHandle, h(HiddenFormInputSlot, { component: this })))));
|
|
18072
18126
|
}
|
|
18073
18127
|
renderGraph() {
|
|
18074
|
-
return this.histogram ? (h("
|
|
18128
|
+
return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min })) : null;
|
|
18075
18129
|
}
|
|
18076
18130
|
renderTickLabel(tick) {
|
|
18077
18131
|
const isMinTickLabel = tick === this.min;
|
|
@@ -25157,7 +25211,7 @@ const CalciteChip = /*@__PURE__*/proxyCustomElement(CalciteChip$1, [1,"calcite-c
|
|
|
25157
25211
|
const CalciteColorPicker = /*@__PURE__*/proxyCustomElement(CalciteColorPicker$1, [1,"calcite-color-picker",{"allowEmpty":[4,"allow-empty"],"appearance":[513],"color":[1040],"format":[1],"hideHex":[4,"hide-hex"],"hideChannels":[4,"hide-channels"],"hideSaved":[4,"hide-saved"],"intlB":[1,"intl-b"],"intlBlue":[1,"intl-blue"],"intlDeleteColor":[1,"intl-delete-color"],"intlG":[1,"intl-g"],"intlGreen":[1,"intl-green"],"intlH":[1,"intl-h"],"intlHsv":[1,"intl-hsv"],"intlHex":[1,"intl-hex"],"intlHue":[1,"intl-hue"],"intlNoColor":[1,"intl-no-color"],"intlR":[1,"intl-r"],"intlRed":[1,"intl-red"],"intlRgb":[1,"intl-rgb"],"intlS":[1,"intl-s"],"intlSaturation":[1,"intl-saturation"],"intlSaveColor":[1,"intl-save-color"],"intlSaved":[1,"intl-saved"],"intlV":[1,"intl-v"],"intlValue":[1,"intl-value"],"scale":[513],"storageId":[1,"storage-id"],"value":[1025],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]]);
|
|
25158
25212
|
const CalciteColorPickerHexInput = /*@__PURE__*/proxyCustomElement(CalciteColorPickerHexInput$1, [1,"calcite-color-picker-hex-input",{"allowEmpty":[4,"allow-empty"],"intlHex":[1,"intl-hex"],"intlNoColor":[1,"intl-no-color"],"scale":[513],"value":[1537],"internalColor":[32]},[[2,"keydown","onInputKeyDown"]]]);
|
|
25159
25213
|
const CalciteColorPickerSwatch = /*@__PURE__*/proxyCustomElement(CalciteColorPickerSwatch$1, [1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]);
|
|
25160
|
-
const CalciteCombobox = /*@__PURE__*/proxyCustomElement(CalciteCombobox$1, [1,"calcite-combobox",{"active":[1540],"disabled":[516],"label":[1],"placeholder":[1],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"hideList":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"open":[32],"maxScrollerHeight":[32]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]]);
|
|
25214
|
+
const CalciteCombobox = /*@__PURE__*/proxyCustomElement(CalciteCombobox$1, [1,"calcite-combobox",{"active":[1540],"disabled":[516],"label":[1],"placeholder":[1],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"hideList":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32],"open":[32],"maxScrollerHeight":[32]},[[4,"click","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]]);
|
|
25161
25215
|
const CalciteComboboxItem = /*@__PURE__*/proxyCustomElement(CalciteComboboxItem$1, [1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[4],"ancestors":[1040],"guid":[1],"icon":[1],"textLabel":[513,"text-label"],"value":[8],"constant":[516]}]);
|
|
25162
25216
|
const CalciteComboboxItemGroup = /*@__PURE__*/proxyCustomElement(CalciteComboboxItemGroup$1, [1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]);
|
|
25163
25217
|
const CalciteDatePicker = /*@__PURE__*/proxyCustomElement(CalciteDatePicker$1, [1,"calcite-date-picker",{"activeRange":[1,"active-range"],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"start":[1025],"end":[1025],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"activeDate":[32],"activeStartDate":[32],"activeEndDate":[32],"localeData":[32],"hoverRange":[32]}]);
|
|
@@ -25170,12 +25224,12 @@ const CalciteDropdownItem = /*@__PURE__*/proxyCustomElement(CalciteDropdownItem$
|
|
|
25170
25224
|
const CalciteFab = /*@__PURE__*/proxyCustomElement(CalciteFab$1, [1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
25171
25225
|
const CalciteFilter = /*@__PURE__*/proxyCustomElement(CalciteFilter$1, [1,"calcite-filter",{"items":[1040],"disabled":[516],"filteredItems":[1040],"intlClear":[1,"intl-clear"],"intlLabel":[1,"intl-label"],"placeholder":[1],"value":[1025]}]);
|
|
25172
25226
|
const CalciteFlow = /*@__PURE__*/proxyCustomElement(CalciteFlow$1, [1,"calcite-flow",{"panelCount":[32],"flowDirection":[32],"panels":[32]},[[0,"calcitePanelBackClick","handleCalcitePanelBackClick"]]]);
|
|
25173
|
-
const CalciteGraph = /*@__PURE__*/proxyCustomElement(CalciteGraph$1, [1,"calcite-graph",{"data":[16],"colorStops":[16],"
|
|
25227
|
+
const CalciteGraph = /*@__PURE__*/proxyCustomElement(CalciteGraph$1, [1,"calcite-graph",{"data":[16],"colorStops":[16],"highlightMin":[2,"highlight-min"],"highlightMax":[2,"highlight-max"],"min":[2],"max":[2]}]);
|
|
25174
25228
|
const CalciteHandle = /*@__PURE__*/proxyCustomElement(CalciteHandle$1, [1,"calcite-handle",{"activated":[1540],"textTitle":[513,"text-title"]}]);
|
|
25175
25229
|
const CalciteIcon = /*@__PURE__*/proxyCustomElement(CalciteIcon$1, [1,"calcite-icon",{"icon":[513],"flipRtl":[516,"flip-rtl"],"scale":[513],"textLabel":[1,"text-label"],"pathData":[32],"visible":[32]}]);
|
|
25176
25230
|
const CalciteInlineEditable = /*@__PURE__*/proxyCustomElement(CalciteInlineEditable$1, [1,"calcite-inline-editable",{"disabled":[516],"editingEnabled":[1540,"editing-enabled"],"loading":[1540],"controls":[516],"intlEnableEditing":[513,"intl-enable-editing"],"intlCancelEditing":[513,"intl-cancel-editing"],"intlConfirmChanges":[513,"intl-confirm-changes"],"scale":[1537],"afterConfirm":[16]},[[0,"calciteInputBlur","blurHandler"]]]);
|
|
25177
25231
|
const CalciteInput = /*@__PURE__*/proxyCustomElement(CalciteInput$1, [1,"calcite-input",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxlength":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"localizedValue":[32]}]);
|
|
25178
|
-
const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(CalciteInputDatePicker$1, [1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32]},[[0,"calciteDaySelect","calciteDaySelectHandler"]]]);
|
|
25232
|
+
const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(CalciteInputDatePicker$1, [1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32]},[[0,"calciteDatePickerChange","handleDateOrRangeChange"],[0,"calciteDatePickerRangeChange","handleDateOrRangeChange"],[0,"calciteDaySelect","calciteDaySelectHandler"]]]);
|
|
25179
25233
|
const CalciteInputMessage = /*@__PURE__*/proxyCustomElement(CalciteInputMessage$1, [1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]);
|
|
25180
25234
|
const CalciteInputTimePicker = /*@__PURE__*/proxyCustomElement(CalciteInputTimePicker$1, [1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"name":[1],"required":[516],"scale":[513],"step":[2],"value":[1025],"localizedValue":[32]},[[0,"click","clickHandler"],[0,"keyup","keyUpHandler"],[0,"calciteTimePickerBlur","timePickerBlurHandler"],[0,"calciteTimePickerFocus","timePickerFocusHandler"]]]);
|
|
25181
25235
|
const CalciteLabel = /*@__PURE__*/proxyCustomElement(CalciteLabel$1, [1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disableSpacing":[4,"disable-spacing"],"disabled":[516]}]);
|