@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
package/hydrate/index.js
CHANGED
|
@@ -5676,7 +5676,7 @@ const CSS_UTILITY = {
|
|
|
5676
5676
|
lightTheme,
|
|
5677
5677
|
rtl: "calcite--rtl"
|
|
5678
5678
|
};
|
|
5679
|
-
const TEXT$
|
|
5679
|
+
const TEXT$r = {
|
|
5680
5680
|
loading: "Loading"
|
|
5681
5681
|
};
|
|
5682
5682
|
|
|
@@ -5798,10 +5798,17 @@ async function focusElement(el) {
|
|
|
5798
5798
|
}
|
|
5799
5799
|
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
5800
5800
|
}
|
|
5801
|
+
const defaultSlotSelector = "> :not([slot])";
|
|
5801
5802
|
function getSlotted(element, slotName, options) {
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5803
|
+
if (!Array.isArray(slotName) && typeof slotName !== "string") {
|
|
5804
|
+
options = slotName;
|
|
5805
|
+
slotName = null;
|
|
5806
|
+
}
|
|
5807
|
+
const slotSelector = slotName
|
|
5808
|
+
? Array.isArray(slotName)
|
|
5809
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
5810
|
+
: `[slot="${slotName}"]`
|
|
5811
|
+
: defaultSlotSelector;
|
|
5805
5812
|
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
5806
5813
|
return queryMultiple(element, slotSelector, options);
|
|
5807
5814
|
}
|
|
@@ -5810,6 +5817,9 @@ function getSlotted(element, slotName, options) {
|
|
|
5810
5817
|
function queryMultiple(element, slotSelector, options) {
|
|
5811
5818
|
let matches = Array.from(element.querySelectorAll(slotSelector));
|
|
5812
5819
|
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
|
5820
|
+
if (slotSelector === defaultSlotSelector) {
|
|
5821
|
+
matches = matches.filter((match) => match === null || match === void 0 ? void 0 : match.assignedSlot);
|
|
5822
|
+
}
|
|
5813
5823
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
5814
5824
|
return selector
|
|
5815
5825
|
? matches
|
|
@@ -5820,9 +5830,12 @@ function queryMultiple(element, slotSelector, options) {
|
|
|
5820
5830
|
}
|
|
5821
5831
|
function querySingle(element, slotSelector, options) {
|
|
5822
5832
|
let match = element.querySelector(slotSelector);
|
|
5833
|
+
if (slotSelector === defaultSlotSelector) {
|
|
5834
|
+
match = (match === null || match === void 0 ? void 0 : match.assignedSlot) ? match : null;
|
|
5835
|
+
}
|
|
5823
5836
|
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
|
5824
5837
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
5825
|
-
return selector ? match.querySelector(selector) : match;
|
|
5838
|
+
return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
|
|
5826
5839
|
}
|
|
5827
5840
|
function filterDirectChildren(el, selector) {
|
|
5828
5841
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
@@ -5988,7 +6001,7 @@ const CSS$P = {
|
|
|
5988
6001
|
textContainer: "text-container",
|
|
5989
6002
|
textContainerVisible: "text-container--visible"
|
|
5990
6003
|
};
|
|
5991
|
-
const TEXT$
|
|
6004
|
+
const TEXT$q = {
|
|
5992
6005
|
loading: "Loading"
|
|
5993
6006
|
};
|
|
5994
6007
|
|
|
@@ -6038,7 +6051,7 @@ class CalciteAction {
|
|
|
6038
6051
|
/** string to override English loading text
|
|
6039
6052
|
* @default "Loading"
|
|
6040
6053
|
*/
|
|
6041
|
-
this.intlLoading = TEXT$
|
|
6054
|
+
this.intlLoading = TEXT$q.loading;
|
|
6042
6055
|
/**
|
|
6043
6056
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
6044
6057
|
*/
|
|
@@ -6165,7 +6178,7 @@ const SLOTS$o = {
|
|
|
6165
6178
|
menuActions: "menu-actions",
|
|
6166
6179
|
menuTooltip: "menu-tooltip"
|
|
6167
6180
|
};
|
|
6168
|
-
const TEXT$
|
|
6181
|
+
const TEXT$p = {
|
|
6169
6182
|
more: "More"
|
|
6170
6183
|
};
|
|
6171
6184
|
const ICONS$e = {
|
|
@@ -6256,7 +6269,7 @@ const SLOTS$n = {
|
|
|
6256
6269
|
bottomActions: "bottom-actions",
|
|
6257
6270
|
expandTooltip: "expand-tooltip"
|
|
6258
6271
|
};
|
|
6259
|
-
const TEXT$
|
|
6272
|
+
const TEXT$o = {
|
|
6260
6273
|
expand: "Expand",
|
|
6261
6274
|
collapse: "Collapse"
|
|
6262
6275
|
};
|
|
@@ -7706,8 +7719,8 @@ class CalciteActionBar {
|
|
|
7706
7719
|
renderBottomActionGroup() {
|
|
7707
7720
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
7708
7721
|
const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
|
|
7709
|
-
const expandLabel = intlExpand || TEXT$
|
|
7710
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
7722
|
+
const expandLabel = intlExpand || TEXT$o.expand;
|
|
7723
|
+
const collapseLabel = intlCollapse || TEXT$o.collapse;
|
|
7711
7724
|
const expandToggleNode = !expandDisabled ? (hAsync(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
7712
7725
|
return getSlotted(el, SLOTS$n.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$N.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$n.bottomActions }), hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
|
|
7713
7726
|
}
|
|
@@ -7793,7 +7806,7 @@ class CalciteActionGroup {
|
|
|
7793
7806
|
renderMenu() {
|
|
7794
7807
|
const { el, expanded, intlMore, menuOpen, scale } = this;
|
|
7795
7808
|
const hasMenuItems = getSlotted(el, SLOTS$o.menuActions);
|
|
7796
|
-
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$
|
|
7809
|
+
return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$p.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$p.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
|
|
7797
7810
|
}
|
|
7798
7811
|
render() {
|
|
7799
7812
|
return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
|
|
@@ -8128,7 +8141,7 @@ const CSS$M = {
|
|
|
8128
8141
|
actionGroupBottom: "action-group--bottom",
|
|
8129
8142
|
container: "container"
|
|
8130
8143
|
};
|
|
8131
|
-
const TEXT$
|
|
8144
|
+
const TEXT$n = {
|
|
8132
8145
|
expand: "Expand",
|
|
8133
8146
|
collapse: "Collapse"
|
|
8134
8147
|
};
|
|
@@ -8228,8 +8241,8 @@ class CalciteActionPad {
|
|
|
8228
8241
|
renderBottomActionGroup() {
|
|
8229
8242
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
|
|
8230
8243
|
const tooltip = getSlotted(el, SLOTS$m.expandTooltip);
|
|
8231
|
-
const expandLabel = intlExpand || TEXT$
|
|
8232
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
8244
|
+
const expandLabel = intlExpand || TEXT$n.expand;
|
|
8245
|
+
const collapseLabel = intlCollapse || TEXT$n.collapse;
|
|
8233
8246
|
const expandToggleNode = !expandDisabled ? (hAsync(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
8234
8247
|
return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$M.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$m.expandTooltip }), expandToggleNode)) : null;
|
|
8235
8248
|
}
|
|
@@ -8261,7 +8274,7 @@ class CalciteActionPad {
|
|
|
8261
8274
|
}; }
|
|
8262
8275
|
}
|
|
8263
8276
|
|
|
8264
|
-
const TEXT$
|
|
8277
|
+
const TEXT$m = {
|
|
8265
8278
|
intlClose: "Close"
|
|
8266
8279
|
};
|
|
8267
8280
|
const DURATIONS = {
|
|
@@ -8316,7 +8329,7 @@ class CalciteAlert {
|
|
|
8316
8329
|
/** string to override English close text
|
|
8317
8330
|
* @default "Close"
|
|
8318
8331
|
*/
|
|
8319
|
-
this.intlClose = TEXT$
|
|
8332
|
+
this.intlClose = TEXT$m.intlClose;
|
|
8320
8333
|
/** specify the placement of the alert */
|
|
8321
8334
|
this.placement = "bottom";
|
|
8322
8335
|
/** specify the scale of the alert, defaults to m */
|
|
@@ -8765,7 +8778,7 @@ const CSS$L = {
|
|
|
8765
8778
|
invalid: "invalid",
|
|
8766
8779
|
loading: "loading"
|
|
8767
8780
|
};
|
|
8768
|
-
const TEXT$
|
|
8781
|
+
const TEXT$l = {
|
|
8769
8782
|
collapse: "Collapse",
|
|
8770
8783
|
expand: "Expand",
|
|
8771
8784
|
loading: "Loading",
|
|
@@ -8826,11 +8839,11 @@ class CalciteBlock {
|
|
|
8826
8839
|
/** string to override English loading text
|
|
8827
8840
|
* @default "Loading"
|
|
8828
8841
|
*/
|
|
8829
|
-
this.intlLoading = TEXT$
|
|
8842
|
+
this.intlLoading = TEXT$l.loading;
|
|
8830
8843
|
/** Text string used for the actions menu
|
|
8831
8844
|
* @default "Options"
|
|
8832
8845
|
*/
|
|
8833
|
-
this.intlOptions = TEXT$
|
|
8846
|
+
this.intlOptions = TEXT$l.options;
|
|
8834
8847
|
/**
|
|
8835
8848
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
8836
8849
|
*/
|
|
@@ -8878,12 +8891,12 @@ class CalciteBlock {
|
|
|
8878
8891
|
}
|
|
8879
8892
|
render() {
|
|
8880
8893
|
const { collapsible, disabled, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
8881
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
8894
|
+
const toggleLabel = open ? intlCollapse || TEXT$l.collapse : intlExpand || TEXT$l.expand;
|
|
8882
8895
|
const headerContent = (hAsync("header", { class: CSS$L.header }, this.renderIcon(), this.renderTitle()));
|
|
8883
8896
|
const hasControl = !!getSlotted(el, SLOTS$k.control);
|
|
8884
8897
|
const hasMenuActions = !!getSlotted(el, SLOTS$k.headerMenuActions);
|
|
8885
8898
|
const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
|
|
8886
|
-
const headerNode = (hAsync("div", { class: CSS$L.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$L.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$L.controlContainer }, hAsync("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$
|
|
8899
|
+
const headerNode = (hAsync("div", { class: CSS$L.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$L.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$L.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$L.controlContainer }, hAsync("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$l.options }, hAsync("slot", { name: SLOTS$k.headerMenuActions }))) : null));
|
|
8887
8900
|
return (hAsync(Host, { tabIndex: disabled ? -1 : null }, hAsync("article", { "aria-busy": loading.toString(), class: {
|
|
8888
8901
|
[CSS$L.article]: true
|
|
8889
8902
|
} }, headerNode, hAsync("div", { class: CSS$L.content, hidden: !open }, this.renderScrim()))));
|
|
@@ -8926,7 +8939,7 @@ const CSS$K = {
|
|
|
8926
8939
|
statusIcon: "status-icon",
|
|
8927
8940
|
valid: "valid"
|
|
8928
8941
|
};
|
|
8929
|
-
const TEXT$
|
|
8942
|
+
const TEXT$k = {
|
|
8930
8943
|
collapse: "Collapse",
|
|
8931
8944
|
expand: "Expand"
|
|
8932
8945
|
};
|
|
@@ -8998,7 +9011,7 @@ class CalciteBlockSection {
|
|
|
8998
9011
|
: dir === "rtl"
|
|
8999
9012
|
? ICONS$b.menuClosedLeft
|
|
9000
9013
|
: ICONS$b.menuClosedRight;
|
|
9001
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
9014
|
+
const toggleLabel = open ? intlCollapse || TEXT$k.collapse : intlExpand || TEXT$k.expand;
|
|
9002
9015
|
const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-label": toggleLabel, class: {
|
|
9003
9016
|
[CSS$K.toggle]: true,
|
|
9004
9017
|
[CSS$K.toggleSwitch]: true
|
|
@@ -9067,7 +9080,7 @@ const CSS$J = {
|
|
|
9067
9080
|
iconStartEmpty: "icon-start-empty",
|
|
9068
9081
|
iconEndEmpty: "icon-end-empty"
|
|
9069
9082
|
};
|
|
9070
|
-
const TEXT$
|
|
9083
|
+
const TEXT$j = {
|
|
9071
9084
|
loading: "Loading"
|
|
9072
9085
|
};
|
|
9073
9086
|
|
|
@@ -9174,7 +9187,7 @@ class CalciteButton {
|
|
|
9174
9187
|
/** string to override English loading text
|
|
9175
9188
|
* @default "Loading"
|
|
9176
9189
|
*/
|
|
9177
|
-
this.intlLoading = TEXT$
|
|
9190
|
+
this.intlLoading = TEXT$j.loading;
|
|
9178
9191
|
/** optionally add a calcite-loader component to the button, disabling interaction. */
|
|
9179
9192
|
this.loading = false;
|
|
9180
9193
|
/** optionally add a round style to the button */
|
|
@@ -9339,7 +9352,7 @@ const SLOTS$j = {
|
|
|
9339
9352
|
footerLeading: "footer-leading",
|
|
9340
9353
|
footerTrailing: "footer-trailing"
|
|
9341
9354
|
};
|
|
9342
|
-
const TEXT$
|
|
9355
|
+
const TEXT$i = {
|
|
9343
9356
|
select: "Select",
|
|
9344
9357
|
deselect: "Deselect",
|
|
9345
9358
|
loading: "Loading"
|
|
@@ -9376,15 +9389,15 @@ class CalciteCard {
|
|
|
9376
9389
|
/** string to override English loading text
|
|
9377
9390
|
* @default "Loading"
|
|
9378
9391
|
*/
|
|
9379
|
-
this.intlLoading = TEXT$
|
|
9392
|
+
this.intlLoading = TEXT$i.loading;
|
|
9380
9393
|
/** string to override English select text for checkbox when selectable is true
|
|
9381
9394
|
* @default "Select"
|
|
9382
9395
|
*/
|
|
9383
|
-
this.intlSelect = TEXT$
|
|
9396
|
+
this.intlSelect = TEXT$i.select;
|
|
9384
9397
|
/** string to override English deselect text for checkbox when selectable is true
|
|
9385
9398
|
* @default "Deselect"
|
|
9386
9399
|
*/
|
|
9387
|
-
this.intlDeselect = TEXT$
|
|
9400
|
+
this.intlDeselect = TEXT$i.deselect;
|
|
9388
9401
|
//--------------------------------------------------------------------------
|
|
9389
9402
|
//
|
|
9390
9403
|
// Private State/Props
|
|
@@ -9768,7 +9781,7 @@ const CSS$H = {
|
|
|
9768
9781
|
chipImageContainer: "chip-image-container",
|
|
9769
9782
|
calciteChipIcon: "calcite-chip--icon"
|
|
9770
9783
|
};
|
|
9771
|
-
const TEXT$
|
|
9784
|
+
const TEXT$h = {
|
|
9772
9785
|
close: "Close"
|
|
9773
9786
|
};
|
|
9774
9787
|
const SLOTS$i = {
|
|
@@ -9802,7 +9815,7 @@ class CalciteChip {
|
|
|
9802
9815
|
/** Aria label for the "x" button
|
|
9803
9816
|
* @default "Close"
|
|
9804
9817
|
*/
|
|
9805
|
-
this.dismissLabel = TEXT$
|
|
9818
|
+
this.dismissLabel = TEXT$h.close;
|
|
9806
9819
|
/** flip the icon in rtl */
|
|
9807
9820
|
this.iconFlipRtl = false;
|
|
9808
9821
|
/** specify the scale of the chip, defaults to m */
|
|
@@ -11736,6 +11749,21 @@ Color.prototype = {
|
|
|
11736
11749
|
return colorString.to.hex(this.rgb().round().color);
|
|
11737
11750
|
},
|
|
11738
11751
|
|
|
11752
|
+
hexa(value) {
|
|
11753
|
+
if (arguments.length > 0) {
|
|
11754
|
+
return new Color(value);
|
|
11755
|
+
}
|
|
11756
|
+
|
|
11757
|
+
const rgbArray = this.rgb().round().color;
|
|
11758
|
+
let alphaHex = Math.round(this.valpha * 255).toString(16).toUpperCase();
|
|
11759
|
+
|
|
11760
|
+
if (alphaHex.length === 1) {
|
|
11761
|
+
alphaHex = '0' + alphaHex;
|
|
11762
|
+
}
|
|
11763
|
+
|
|
11764
|
+
return colorString.to.hex(rgbArray) + alphaHex;
|
|
11765
|
+
},
|
|
11766
|
+
|
|
11739
11767
|
rgbNumber() {
|
|
11740
11768
|
const rgb = this.rgb().color;
|
|
11741
11769
|
return (rgb[0] & 0xFF) << 16 | (rgb[1] & 0xFF) << 8 | rgb[2] & 0xFF;
|
|
@@ -12007,7 +12035,7 @@ const HSV_LIMITS = {
|
|
|
12007
12035
|
s: 100,
|
|
12008
12036
|
v: 100
|
|
12009
12037
|
};
|
|
12010
|
-
const TEXT$
|
|
12038
|
+
const TEXT$g = {
|
|
12011
12039
|
b: "B",
|
|
12012
12040
|
blue: "Blue",
|
|
12013
12041
|
deleteColor: "Delete color",
|
|
@@ -12128,80 +12156,80 @@ class CalciteColorPicker {
|
|
|
12128
12156
|
/** Label used for the blue channel
|
|
12129
12157
|
* @default "B"
|
|
12130
12158
|
*/
|
|
12131
|
-
this.intlB = TEXT$
|
|
12159
|
+
this.intlB = TEXT$g.b;
|
|
12132
12160
|
/** Label used for the blue channel description
|
|
12133
12161
|
* @default "Blue"
|
|
12134
12162
|
*/
|
|
12135
|
-
this.intlBlue = TEXT$
|
|
12163
|
+
this.intlBlue = TEXT$g.blue;
|
|
12136
12164
|
/** Label used for the delete color button.
|
|
12137
12165
|
* @default "Delete color"
|
|
12138
12166
|
*/
|
|
12139
|
-
this.intlDeleteColor = TEXT$
|
|
12167
|
+
this.intlDeleteColor = TEXT$g.deleteColor;
|
|
12140
12168
|
/** Label used for the green channel
|
|
12141
12169
|
* @default "G"
|
|
12142
12170
|
*/
|
|
12143
|
-
this.intlG = TEXT$
|
|
12171
|
+
this.intlG = TEXT$g.g;
|
|
12144
12172
|
/** Label used for the green channel description
|
|
12145
12173
|
* @default "Green"
|
|
12146
12174
|
*/
|
|
12147
|
-
this.intlGreen = TEXT$
|
|
12175
|
+
this.intlGreen = TEXT$g.green;
|
|
12148
12176
|
/** Label used for the hue channel
|
|
12149
12177
|
* @default "H"
|
|
12150
12178
|
*/
|
|
12151
|
-
this.intlH = TEXT$
|
|
12179
|
+
this.intlH = TEXT$g.h;
|
|
12152
12180
|
/** Label used for the HSV mode
|
|
12153
12181
|
* @default "HSV"
|
|
12154
12182
|
*/
|
|
12155
|
-
this.intlHsv = TEXT$
|
|
12183
|
+
this.intlHsv = TEXT$g.hsv;
|
|
12156
12184
|
/** Label used for the hex input
|
|
12157
12185
|
* @default "Hex"
|
|
12158
12186
|
*/
|
|
12159
|
-
this.intlHex = TEXT$
|
|
12187
|
+
this.intlHex = TEXT$g.hex;
|
|
12160
12188
|
/** Label used for the hue channel description
|
|
12161
12189
|
* @default "Hue"
|
|
12162
12190
|
*/
|
|
12163
|
-
this.intlHue = TEXT$
|
|
12191
|
+
this.intlHue = TEXT$g.hue;
|
|
12164
12192
|
/**
|
|
12165
12193
|
* Label used for the hex input when there is no color selected.
|
|
12166
12194
|
* @default "No color"
|
|
12167
12195
|
*/
|
|
12168
|
-
this.intlNoColor = TEXT$
|
|
12196
|
+
this.intlNoColor = TEXT$g.noColor;
|
|
12169
12197
|
/** Label used for the red channel
|
|
12170
12198
|
* @default "R"
|
|
12171
12199
|
*/
|
|
12172
|
-
this.intlR = TEXT$
|
|
12200
|
+
this.intlR = TEXT$g.r;
|
|
12173
12201
|
/** Label used for the red channel description
|
|
12174
12202
|
* @default "Red"
|
|
12175
12203
|
*/
|
|
12176
|
-
this.intlRed = TEXT$
|
|
12204
|
+
this.intlRed = TEXT$g.red;
|
|
12177
12205
|
/** Label used for the RGB mode
|
|
12178
12206
|
* @default "RGB"
|
|
12179
12207
|
*/
|
|
12180
|
-
this.intlRgb = TEXT$
|
|
12208
|
+
this.intlRgb = TEXT$g.rgb;
|
|
12181
12209
|
/** Label used for the saturation channel
|
|
12182
12210
|
* @default "S"
|
|
12183
12211
|
*/
|
|
12184
|
-
this.intlS = TEXT$
|
|
12212
|
+
this.intlS = TEXT$g.s;
|
|
12185
12213
|
/** Label used for the saturation channel description
|
|
12186
12214
|
* @default "Saturation"
|
|
12187
12215
|
*/
|
|
12188
|
-
this.intlSaturation = TEXT$
|
|
12216
|
+
this.intlSaturation = TEXT$g.saturation;
|
|
12189
12217
|
/** Label used for the save color button.
|
|
12190
12218
|
* @default "Save color"
|
|
12191
12219
|
*/
|
|
12192
|
-
this.intlSaveColor = TEXT$
|
|
12220
|
+
this.intlSaveColor = TEXT$g.saveColor;
|
|
12193
12221
|
/** Label used for the saved colors section
|
|
12194
12222
|
* @default "Saved"
|
|
12195
12223
|
*/
|
|
12196
|
-
this.intlSaved = TEXT$
|
|
12224
|
+
this.intlSaved = TEXT$g.saved;
|
|
12197
12225
|
/** Label used for the value channel
|
|
12198
12226
|
* @default "V"
|
|
12199
12227
|
*/
|
|
12200
|
-
this.intlV = TEXT$
|
|
12228
|
+
this.intlV = TEXT$g.v;
|
|
12201
12229
|
/** Label used for the
|
|
12202
12230
|
* @default "Value"
|
|
12203
12231
|
*/
|
|
12204
|
-
this.intlValue = TEXT$
|
|
12232
|
+
this.intlValue = TEXT$g.value;
|
|
12205
12233
|
/**
|
|
12206
12234
|
* The scale of the color picker.
|
|
12207
12235
|
*/
|
|
@@ -12924,12 +12952,12 @@ class CalciteColorPickerHexInput {
|
|
|
12924
12952
|
* Label used for the hex input.
|
|
12925
12953
|
* @default "Hex"
|
|
12926
12954
|
*/
|
|
12927
|
-
this.intlHex = TEXT$
|
|
12955
|
+
this.intlHex = TEXT$g.hex;
|
|
12928
12956
|
/**
|
|
12929
12957
|
* Label used for the hex input when there is no color selected.
|
|
12930
12958
|
* @default "No color"
|
|
12931
12959
|
*/
|
|
12932
|
-
this.intlNoColor = TEXT$
|
|
12960
|
+
this.intlNoColor = TEXT$g.noColor;
|
|
12933
12961
|
/**
|
|
12934
12962
|
* The component's scale.
|
|
12935
12963
|
*/
|
|
@@ -15030,6 +15058,9 @@ const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
|
|
|
15030
15058
|
const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
15031
15059
|
const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;
|
|
15032
15060
|
const ComboboxDefaultPlacement = "bottom-leading";
|
|
15061
|
+
const TEXT$f = {
|
|
15062
|
+
removeTag: "Remove tag"
|
|
15063
|
+
};
|
|
15033
15064
|
|
|
15034
15065
|
function getAncestors(element) {
|
|
15035
15066
|
var _a, _b;
|
|
@@ -15098,6 +15129,10 @@ class CalciteCombobox {
|
|
|
15098
15129
|
this.scale = "m";
|
|
15099
15130
|
/** The value(s) of the selectedItem(s) */
|
|
15100
15131
|
this.value = null;
|
|
15132
|
+
/** string to override the English "Remove tag" text for when an item is selected.
|
|
15133
|
+
* @default "Remove tag"
|
|
15134
|
+
*/
|
|
15135
|
+
this.intlRemoveTag = TEXT$f.removeTag;
|
|
15101
15136
|
//--------------------------------------------------------------------------
|
|
15102
15137
|
//
|
|
15103
15138
|
// Private State/Props
|
|
@@ -15703,7 +15738,7 @@ class CalciteCombobox {
|
|
|
15703
15738
|
//
|
|
15704
15739
|
//--------------------------------------------------------------------------
|
|
15705
15740
|
renderChips() {
|
|
15706
|
-
const { activeChipIndex, scale, selectionMode } = this;
|
|
15741
|
+
const { activeChipIndex, scale, selectionMode, intlRemoveTag } = this;
|
|
15707
15742
|
return this.selectedItems.map((item, i) => {
|
|
15708
15743
|
const chipClasses = {
|
|
15709
15744
|
chip: true,
|
|
@@ -15712,7 +15747,7 @@ class CalciteCombobox {
|
|
|
15712
15747
|
const ancestors = [...getItemAncestors(item)].reverse();
|
|
15713
15748
|
const pathLabel = [...ancestors, item].map((el) => el.textLabel);
|
|
15714
15749
|
const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
|
|
15715
|
-
return (hAsync("calcite-chip", { "aria-label": label, class: chipClasses, dismissLabel:
|
|
15750
|
+
return (hAsync("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));
|
|
15716
15751
|
});
|
|
15717
15752
|
}
|
|
15718
15753
|
renderInput() {
|
|
@@ -15793,6 +15828,7 @@ class CalciteCombobox {
|
|
|
15793
15828
|
"selectionMode": [513, "selection-mode"],
|
|
15794
15829
|
"scale": [513],
|
|
15795
15830
|
"value": [1025],
|
|
15831
|
+
"intlRemoveTag": [1, "intl-remove-tag"],
|
|
15796
15832
|
"items": [32],
|
|
15797
15833
|
"groupItems": [32],
|
|
15798
15834
|
"selectedItems": [32],
|
|
@@ -16469,6 +16505,7 @@ class CalciteDatePicker {
|
|
|
16469
16505
|
this.value = date ? dateToISO(date) : "";
|
|
16470
16506
|
this.valueAsDate = date || null;
|
|
16471
16507
|
this.activeDate = date || null;
|
|
16508
|
+
this.calciteDatePickerChange.emit(date);
|
|
16472
16509
|
return;
|
|
16473
16510
|
}
|
|
16474
16511
|
if (!this.startAsDate || (!this.endAsDate && date < this.startAsDate)) {
|
|
@@ -16517,12 +16554,12 @@ class CalciteDatePicker {
|
|
|
16517
16554
|
this.endAsDate = this.activeEndDate = this.end = undefined;
|
|
16518
16555
|
}
|
|
16519
16556
|
}
|
|
16557
|
+
this.calciteDatePickerChange.emit(date);
|
|
16520
16558
|
};
|
|
16521
16559
|
}
|
|
16522
16560
|
handleValueAsDate(date) {
|
|
16523
16561
|
if (!Array.isArray(date) && date && date !== this.activeDate) {
|
|
16524
16562
|
this.activeDate = date;
|
|
16525
|
-
this.calciteDatePickerChange.emit(date);
|
|
16526
16563
|
}
|
|
16527
16564
|
}
|
|
16528
16565
|
handleRangeChange() {
|
|
@@ -17254,7 +17291,7 @@ const SLOTS$h = {
|
|
|
17254
17291
|
dropdownTrigger: "dropdown-trigger"
|
|
17255
17292
|
};
|
|
17256
17293
|
|
|
17257
|
-
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*/.sc-calcite-dropdown:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper[data-popper-placement^=bottom].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=top].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=left].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=right].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active*/.calcite-dropdown-wrapper[data-popper-placement].sc-calcite-dropdown .calcite-popper-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{overflow-y:auto;background-color:var(--calcite-ui-foreground-1);
|
|
17294
|
+
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*/.sc-calcite-dropdown:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-dropdown{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-dropdown{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-dropdown{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-dropdown{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-dropdown{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-dropdown:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-dropdown-h{display:none}/*!@:host*/.sc-calcite-dropdown-h{display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}/*!@:host([disabled])*/[disabled].sc-calcite-dropdown-h{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host .calcite-dropdown-wrapper*/.sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper.sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{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*/.calcite-dropdown-wrapper[data-popper-placement^=bottom].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(-5px);transform:translateY(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=top].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateY(5px);transform:translateY(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=left].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(5px);transform:translateX(5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim*/.calcite-dropdown-wrapper[data-popper-placement^=right].sc-calcite-dropdown .calcite-popper-anim.sc-calcite-dropdown{-webkit-transform:translateX(-5px);transform:translateX(-5px)}/*!@.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active*/.calcite-dropdown-wrapper[data-popper-placement].sc-calcite-dropdown .calcite-popper-anim--active.sc-calcite-dropdown{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}/*!@:host([active]) .calcite-dropdown-wrapper*/[active].sc-calcite-dropdown-h .calcite-dropdown-wrapper.sc-calcite-dropdown{pointer-events:initial;visibility:visible}/*!@:host .calcite-dropdown-content*/.sc-calcite-dropdown-h .calcite-dropdown-content.sc-calcite-dropdown{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*/.calcite-dropdown-trigger-container.sc-calcite-dropdown{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}/*!@:host([width=s])*/[width=s].sc-calcite-dropdown-h{--calcite-dropdown-width:12rem}/*!@:host([width=m])*/[width=m].sc-calcite-dropdown-h{--calcite-dropdown-width:14rem}/*!@:host([width=l])*/[width=l].sc-calcite-dropdown-h{--calcite-dropdown-width:16rem}";
|
|
17258
17295
|
|
|
17259
17296
|
/**
|
|
17260
17297
|
* @slot - A slot for adding `calcite-dropdown-group`s or `calcite-dropdown-item`s.
|
|
@@ -17312,6 +17349,7 @@ class CalciteDropdown {
|
|
|
17312
17349
|
this.items = [];
|
|
17313
17350
|
this.activeTransitionProp = "visibility";
|
|
17314
17351
|
this.mutationObserver = createObserver();
|
|
17352
|
+
this.resizeObserver = createObserver();
|
|
17315
17353
|
//--------------------------------------------------------------------------
|
|
17316
17354
|
//
|
|
17317
17355
|
// Private Methods
|
|
@@ -17324,13 +17362,15 @@ class CalciteDropdown {
|
|
|
17324
17362
|
this.reposition();
|
|
17325
17363
|
};
|
|
17326
17364
|
this.setMaxScrollerHeight = () => {
|
|
17327
|
-
const { scrollerEl } = this;
|
|
17328
|
-
if (scrollerEl) {
|
|
17329
|
-
|
|
17330
|
-
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
17365
|
+
const { active, scrollerEl } = this;
|
|
17366
|
+
if (!scrollerEl || !active) {
|
|
17367
|
+
return;
|
|
17331
17368
|
}
|
|
17369
|
+
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
17370
|
+
scrollerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
17332
17371
|
};
|
|
17333
17372
|
this.setScrollerEl = (scrollerEl) => {
|
|
17373
|
+
this.resizeObserver.observe(scrollerEl);
|
|
17334
17374
|
this.scrollerEl = scrollerEl;
|
|
17335
17375
|
};
|
|
17336
17376
|
this.transitionEnd = (event) => {
|
|
@@ -17386,6 +17426,7 @@ class CalciteDropdown {
|
|
|
17386
17426
|
}
|
|
17387
17427
|
maxItemsHandler() {
|
|
17388
17428
|
this.reposition();
|
|
17429
|
+
this.setMaxScrollerHeight();
|
|
17389
17430
|
}
|
|
17390
17431
|
placementHandler() {
|
|
17391
17432
|
this.reposition();
|
|
@@ -17405,8 +17446,9 @@ class CalciteDropdown {
|
|
|
17405
17446
|
this.reposition();
|
|
17406
17447
|
}
|
|
17407
17448
|
disconnectedCallback() {
|
|
17408
|
-
var _a;
|
|
17449
|
+
var _a, _b;
|
|
17409
17450
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
17451
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
17410
17452
|
this.destroyPopper();
|
|
17411
17453
|
}
|
|
17412
17454
|
render() {
|
|
@@ -17415,7 +17457,7 @@ class CalciteDropdown {
|
|
|
17415
17457
|
["calcite-dropdown-content"]: true,
|
|
17416
17458
|
[CSS$D.animation]: true,
|
|
17417
17459
|
[CSS$D.animationActive]: active
|
|
17418
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, hAsync("slot", null)))));
|
|
17460
|
+
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, hAsync("div", { hidden: !this.active }, hAsync("slot", null))))));
|
|
17419
17461
|
}
|
|
17420
17462
|
//--------------------------------------------------------------------------
|
|
17421
17463
|
//
|
|
@@ -17425,7 +17467,6 @@ class CalciteDropdown {
|
|
|
17425
17467
|
/** Updates the position of the component. */
|
|
17426
17468
|
async reposition() {
|
|
17427
17469
|
const { popper, menuEl, placement } = this;
|
|
17428
|
-
this.setMaxScrollerHeight();
|
|
17429
17470
|
const modifiers = this.getModifiers();
|
|
17430
17471
|
popper
|
|
17431
17472
|
? await updatePopper({
|
|
@@ -18329,7 +18370,7 @@ function area({ data, min, max, t }) {
|
|
|
18329
18370
|
return `${commands} ${end} L ${maxX},${minY} Z`;
|
|
18330
18371
|
}
|
|
18331
18372
|
|
|
18332
|
-
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*/.sc-calcite-graph:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-graph{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-graph{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-graph{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-graph{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-graph{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-graph:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-graph-h{display:none}/*!@:host*/.sc-calcite-graph-h{display:block}/*!@.svg*/.svg.sc-calcite-graph{fill:currentColor;stroke:transparent;margin:0px;display:block;
|
|
18373
|
+
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*/.sc-calcite-graph:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-graph{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-graph{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-graph{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-graph{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-graph{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-graph:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-graph-h{display:none}/*!@:host*/.sc-calcite-graph-h{display:block}/*!@.svg*/.svg.sc-calcite-graph{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}/*!@.svg .graph-path--highlight*/.svg.sc-calcite-graph .graph-path--highlight.sc-calcite-graph{fill:var(--calcite-ui-brand);opacity:0.5}";
|
|
18333
18374
|
|
|
18334
18375
|
class CalciteGraph {
|
|
18335
18376
|
constructor(hostRef) {
|
|
@@ -18344,25 +18385,31 @@ class CalciteGraph {
|
|
|
18344
18385
|
* These data points should be sorted by x-axis value
|
|
18345
18386
|
*/
|
|
18346
18387
|
this.data = [];
|
|
18347
|
-
/** Width of graph in pixels*/
|
|
18348
|
-
this.width = 300;
|
|
18349
|
-
/** Width of graph in pixels*/
|
|
18350
|
-
this.height = 100;
|
|
18351
18388
|
//--------------------------------------------------------------------------
|
|
18352
18389
|
//
|
|
18353
18390
|
// Private State/Props
|
|
18354
18391
|
//
|
|
18355
18392
|
//--------------------------------------------------------------------------
|
|
18356
18393
|
this.graphId = `calcite-graph-${guid()}`;
|
|
18394
|
+
this.resizeObserver = createObserver();
|
|
18357
18395
|
}
|
|
18358
18396
|
//--------------------------------------------------------------------------
|
|
18359
18397
|
//
|
|
18360
18398
|
// Lifecycle
|
|
18361
18399
|
//
|
|
18362
18400
|
//--------------------------------------------------------------------------
|
|
18401
|
+
connectedCallback() {
|
|
18402
|
+
var _a;
|
|
18403
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el);
|
|
18404
|
+
}
|
|
18405
|
+
disconnectedCallback() {
|
|
18406
|
+
var _a;
|
|
18407
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
18408
|
+
}
|
|
18363
18409
|
render() {
|
|
18364
|
-
const { data, colorStops,
|
|
18410
|
+
const { data, colorStops, el, highlightMax, highlightMin, min, max } = this;
|
|
18365
18411
|
const id = this.graphId;
|
|
18412
|
+
const { clientHeight: height, clientWidth: width } = el;
|
|
18366
18413
|
// if we have no data, return empty svg
|
|
18367
18414
|
if (!data || data.length === 0) {
|
|
18368
18415
|
return (hAsync("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
|
|
@@ -18416,8 +18463,6 @@ class CalciteGraph {
|
|
|
18416
18463
|
"$members$": {
|
|
18417
18464
|
"data": [16],
|
|
18418
18465
|
"colorStops": [16],
|
|
18419
|
-
"width": [2],
|
|
18420
|
-
"height": [2],
|
|
18421
18466
|
"highlightMin": [2, "highlight-min"],
|
|
18422
18467
|
"highlightMax": [2, "highlight-max"],
|
|
18423
18468
|
"min": [2],
|
|
@@ -18647,8 +18692,8 @@ const calciteInlineEditableCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacit
|
|
|
18647
18692
|
class CalciteInlineEditable {
|
|
18648
18693
|
constructor(hostRef) {
|
|
18649
18694
|
registerInstance(this, hostRef);
|
|
18650
|
-
this.
|
|
18651
|
-
this.
|
|
18695
|
+
this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel", 7);
|
|
18696
|
+
this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm", 7);
|
|
18652
18697
|
this.calciteInlineEditableEnableEditingChange = createEvent(this, "calciteInlineEditableEnableEditingChange", 7);
|
|
18653
18698
|
//--------------------------------------------------------------------------
|
|
18654
18699
|
//
|
|
@@ -18675,9 +18720,9 @@ class CalciteInlineEditable {
|
|
|
18675
18720
|
* @default "Save"
|
|
18676
18721
|
*/
|
|
18677
18722
|
this.intlConfirmChanges = TEXT$c.intlConfirmChanges;
|
|
18678
|
-
this.transitionEnd = (
|
|
18723
|
+
this.transitionEnd = () => {
|
|
18679
18724
|
if (!this.editingEnabled && !!this.shouldEmitCancel) {
|
|
18680
|
-
this.
|
|
18725
|
+
this.calciteInlineEditableEditCancel.emit();
|
|
18681
18726
|
}
|
|
18682
18727
|
};
|
|
18683
18728
|
this.enableEditing = () => {
|
|
@@ -18729,7 +18774,7 @@ class CalciteInlineEditable {
|
|
|
18729
18774
|
this.confirmChangesHandler = async (e) => {
|
|
18730
18775
|
e.preventDefault();
|
|
18731
18776
|
e.stopPropagation();
|
|
18732
|
-
this.
|
|
18777
|
+
this.calciteInlineEditableEditConfirm.emit();
|
|
18733
18778
|
try {
|
|
18734
18779
|
if (this.afterConfirm) {
|
|
18735
18780
|
this.loading = true;
|
|
@@ -18906,7 +18951,7 @@ class CalciteInput {
|
|
|
18906
18951
|
* string to override English loading text
|
|
18907
18952
|
* @default "Loading"
|
|
18908
18953
|
*/
|
|
18909
|
-
this.intlLoading = TEXT$
|
|
18954
|
+
this.intlLoading = TEXT$r.loading;
|
|
18910
18955
|
/** flip the icon in rtl */
|
|
18911
18956
|
this.iconFlipRtl = false;
|
|
18912
18957
|
/** specify if the input is in loading state */
|
|
@@ -19081,6 +19126,9 @@ class CalciteInput {
|
|
|
19081
19126
|
const inputMin = this.minString ? parseFloat(this.minString) : null;
|
|
19082
19127
|
const valueNudgeDelayInMs = 100;
|
|
19083
19128
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
19129
|
+
if (this.nudgeNumberValueIntervalId) {
|
|
19130
|
+
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
19131
|
+
}
|
|
19084
19132
|
let firstValueNudge = true;
|
|
19085
19133
|
this.nudgeNumberValueIntervalId = window.setInterval(() => {
|
|
19086
19134
|
if (firstValueNudge) {
|
|
@@ -19382,6 +19430,7 @@ class CalciteInputDatePicker {
|
|
|
19382
19430
|
registerInstance(this, hostRef);
|
|
19383
19431
|
this.calciteDatePickerChange = createEvent(this, "calciteDatePickerChange", 7);
|
|
19384
19432
|
this.calciteDatePickerRangeChange = createEvent(this, "calciteDatePickerRangeChange", 7);
|
|
19433
|
+
this.calciteInputDatePickerChange = createEvent(this, "calciteInputDatePickerChange", 7);
|
|
19385
19434
|
this.calciteInputDatePickerOpen = createEvent(this, "calciteInputDatePickerOpen", 7);
|
|
19386
19435
|
this.calciteInputDatePickerClose = createEvent(this, "calciteInputDatePickerClose", 7);
|
|
19387
19436
|
//--------------------------------------------------------------------------
|
|
@@ -19533,6 +19582,9 @@ class CalciteInputDatePicker {
|
|
|
19533
19582
|
// Event Listeners
|
|
19534
19583
|
//
|
|
19535
19584
|
//--------------------------------------------------------------------------
|
|
19585
|
+
handleDateOrRangeChange() {
|
|
19586
|
+
this.calciteInputDatePickerChange.emit();
|
|
19587
|
+
}
|
|
19536
19588
|
calciteDaySelectHandler() {
|
|
19537
19589
|
if (this.shouldFocusRangeStart() || this.shouldFocusRangeEnd()) {
|
|
19538
19590
|
return;
|
|
@@ -19708,6 +19760,7 @@ class CalciteInputDatePicker {
|
|
|
19708
19760
|
}
|
|
19709
19761
|
if (!this.range) {
|
|
19710
19762
|
this.value = dateToISO(date);
|
|
19763
|
+
this.calciteDatePickerChange.emit(date);
|
|
19711
19764
|
return;
|
|
19712
19765
|
}
|
|
19713
19766
|
const { focusedInput } = this;
|
|
@@ -19843,7 +19896,7 @@ class CalciteInputDatePicker {
|
|
|
19843
19896
|
"setFocus": [64],
|
|
19844
19897
|
"reposition": [64]
|
|
19845
19898
|
},
|
|
19846
|
-
"$listeners$": [[0, "calciteDaySelect", "calciteDaySelectHandler"]],
|
|
19899
|
+
"$listeners$": [[0, "calciteDatePickerChange", "handleDateOrRangeChange"], [0, "calciteDatePickerRangeChange", "handleDateOrRangeChange"], [0, "calciteDaySelect", "calciteDaySelectHandler"]],
|
|
19847
19900
|
"$lazyBundleId$": "-",
|
|
19848
19901
|
"$attrsToReflect$": [["disabled", "disabled"], ["active", "active"], ["scale", "scale"], ["range", "range"], ["required", "required"], ["layout", "layout"]]
|
|
19849
19902
|
}; }
|
|
@@ -22981,7 +23034,7 @@ const CSS$f = {
|
|
|
22981
23034
|
container: "container"
|
|
22982
23035
|
};
|
|
22983
23036
|
|
|
22984
|
-
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*/.sc-calcite-radio-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-radio-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-radio-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-radio-button:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-radio-button-h{display:none}/*!@:host*/.sc-calcite-radio-button-h{display:block;cursor:pointer}/*!@:host .container*/.sc-calcite-radio-button-h .container.sc-calcite-radio-button{position:relative;outline:2px solid transparent;outline-offset:2px}/*!@:host .radio*/.sc-calcite-radio-button-h .radio.sc-calcite-radio-button{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,\n:host(:not([checked])[focused]:not([disabled])) .radio*/[hovered].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,.sc-calcite-radio-button-h:not([checked])[focused]:not([disabled]) .radio.sc-calcite-radio-button{-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])*/[disabled].sc-calcite-radio-button-h{cursor:pointer}/*!@:host([disabled]) .radio*/[disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([hovered][disabled]) .radio*/[hovered][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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])*/[scale=s].sc-calcite-radio-button-h{--calcite-radio-size:var(--calcite-font-size--2)}/*!@:host([scale=m])*/[scale=m].sc-calcite-radio-button-h{--calcite-radio-size:var(--calcite-font-size--1)}/*!@:host([scale=l])*/[scale=l].sc-calcite-radio-button-h{--calcite-radio-size:var(--calcite-font-size-0)}/*!@.radio*/.radio.sc-calcite-radio-button{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}/*!@:host([scale=s][checked]) .radio,\n:host([hovered][scale=s][checked][disabled]) .radio*/[scale=s][checked].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,[hovered][scale=s][checked][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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*/[scale=s][focused][checked].sc-calcite-radio-button-h:not([disabled]) .radio.sc-calcite-radio-button{-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,\n:host([hovered][scale=m][checked][disabled]) .radio*/[scale=m][checked].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,[hovered][scale=m][checked][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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*/[scale=m][focused][checked].sc-calcite-radio-button-h:not([disabled]) .radio.sc-calcite-radio-button{-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,\n:host([hovered][scale=l][checked][disabled]) .radio*/[scale=l][checked].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,[hovered][scale=l][checked][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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*/[scale=l][focused][checked].sc-calcite-radio-button-h:not([disabled]) .radio.sc-calcite-radio-button{-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])*/.sc-calcite-radio-button-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
23037
|
+
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*/.sc-calcite-radio-button:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-radio-button{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-radio-button{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-radio-button{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-radio-button{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-radio-button{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-radio-button:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-radio-button-h{display:none}/*!@:host*/.sc-calcite-radio-button-h{display:block;cursor:pointer}/*!@:host .container*/.sc-calcite-radio-button-h .container.sc-calcite-radio-button{position:relative;outline:2px solid transparent;outline-offset:2px}/*!@:host .radio*/.sc-calcite-radio-button-h .radio.sc-calcite-radio-button{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,\n:host(:not([checked])[focused]:not([disabled])) .radio*/[hovered].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,.sc-calcite-radio-button-h:not([checked])[focused]:not([disabled]) .radio.sc-calcite-radio-button{-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])*/[disabled].sc-calcite-radio-button-h{cursor:pointer}/*!@:host([disabled]) .radio*/[disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([hovered][disabled]) .radio*/[hovered][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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])*/[scale=s].sc-calcite-radio-button-h{--calcite-radio-size:var(--calcite-font-size--2)}/*!@:host([scale=m])*/[scale=m].sc-calcite-radio-button-h{--calcite-radio-size:var(--calcite-font-size--1)}/*!@:host([scale=l])*/[scale=l].sc-calcite-radio-button-h{--calcite-radio-size:var(--calcite-font-size-0)}/*!@.radio*/.radio.sc-calcite-radio-button{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}/*!@:host([scale=s][checked]) .radio,\n:host([hovered][scale=s][checked][disabled]) .radio*/[scale=s][checked].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,[hovered][scale=s][checked][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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*/[scale=s][focused][checked].sc-calcite-radio-button-h:not([disabled]) .radio.sc-calcite-radio-button{-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,\n:host([hovered][scale=m][checked][disabled]) .radio*/[scale=m][checked].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,[hovered][scale=m][checked][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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*/[scale=m][focused][checked].sc-calcite-radio-button-h:not([disabled]) .radio.sc-calcite-radio-button{-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,\n:host([hovered][scale=l][checked][disabled]) .radio*/[scale=l][checked].sc-calcite-radio-button-h .radio.sc-calcite-radio-button,[hovered][scale=l][checked][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button{-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*/[scale=l][focused][checked].sc-calcite-radio-button-h:not([disabled]) .radio.sc-calcite-radio-button{-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,\n:host([checked][disabled]) .radio::after*/[checked].sc-calcite-radio-button-h .radio.sc-calcite-radio-button::after,[checked][disabled].sc-calcite-radio-button-h .radio.sc-calcite-radio-button::after{content:\"\";width:1rem;height:1rem;background-color:windowText;display:block}}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-radio-button-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
22985
23038
|
|
|
22986
23039
|
class CalciteRadioButton {
|
|
22987
23040
|
constructor(hostRef) {
|
|
@@ -24459,7 +24512,7 @@ class CalciteShellPanel {
|
|
|
24459
24512
|
}; }
|
|
24460
24513
|
}
|
|
24461
24514
|
|
|
24462
|
-
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*/.sc-calcite-slider:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-slider{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-slider{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-slider{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-slider{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-slider{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-slider:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-slider{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}/*!@.scale--s .handle__label, .scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}/*!@.scale--m .handle__label, .scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}/*!@.scale--l .handle__label, .scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label, .tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) .track__range,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-width:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}/*!@.thumb .handle__label.static, .thumb .handle__label.transformed*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;top:0px;bottom:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;width:1em}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}/*!@.thumb .handle-extension*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}/*!@.thumb:hover .handle-extension*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}/*!@.thumb.thumb--precise*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2px}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{margin-top:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{margin-bottom:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-33px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-44px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-49px}/*!@.thumb:focus .handle, .thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}/*!@.thumb:hover.thumb--precise:after, .thumb:focus.thumb--precise:after, .thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}/*!@.track__range*/.track__range.sc-calcite-slider{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}/*!@.tick*/.tick.sc-calcite-slider{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}/*!@.tick--active*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@.tick__label--min*/.tick__label--min.sc-calcite-slider{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}/*!@:host([has-histogram][label-handles]) .tick__label--min, :host([has-histogram][label-handles]) .tick__label--max, :host([has-histogram][precise]) .tick__label--min, :host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3)}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}/*!@:host([has-histogram]):host([precise][label-handles]) .container*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}/*!@:host([has-histogram]):host([label-handles]:not([precise])) .container*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}/*!@:host([has-histogram]):host([precise]:not([label-handles])) .container*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{padding-top:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([label-handles]:not([precise])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-slider-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
24515
|
+
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*/.sc-calcite-slider:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}/*!@.calcite-animate*/.calcite-animate.sc-calcite-slider{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-slider{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-slider{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-slider{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-slider{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-slider:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-slider-h{display:none}/*!@.scale--s*/.scale--s.sc-calcite-slider{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}/*!@.scale--s .handle__label, .scale--s .tick__label*/.scale--s.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--s.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:.75rem}/*!@.scale--m*/.scale--m.sc-calcite-slider{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}/*!@.scale--m .handle__label, .scale--m .tick__label*/.scale--m.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--m.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.scale--l*/.scale--l.sc-calcite-slider{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}/*!@.scale--l .handle__label, .scale--l .tick__label*/.scale--l.sc-calcite-slider .handle__label.sc-calcite-slider,.scale--l.sc-calcite-slider .tick__label.sc-calcite-slider{line-height:1rem}/*!@.handle__label, .tick__label*/.handle__label.sc-calcite-slider,.tick__label.sc-calcite-slider{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);font-size:var(--calcite-slider-container-font-size)}/*!@:host*/.sc-calcite-slider-h{display:block}/*!@.container*/.container.sc-calcite-slider{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}/*!@:host([disabled])*/[disabled].sc-calcite-slider-h{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) .track__range,\n:host([disabled]) .tick--active*/[disabled].sc-calcite-slider-h .track__range.sc-calcite-slider,[disabled].sc-calcite-slider-h .tick--active.sc-calcite-slider{background-color:var(--calcite-ui-text-3)}/*!@.scale--s .thumb:not(.thumb--precise)*/.scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}/*!@.scale--m .thumb:not(.thumb--precise)*/.scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}/*!@.scale--l .thumb:not(.thumb--precise)*/.scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}/*!@:host([precise]:not([has-histogram])) .container .thumb--value*/[precise].sc-calcite-slider-h:not([has-histogram]) .container.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}/*!@.thumb-container*/.thumb-container.sc-calcite-slider{position:relative;max-width:100%}/*!@.thumb*/.thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}/*!@.thumb .handle__label.static, .thumb .handle__label.transformed*/.thumb.sc-calcite-slider .handle__label.static.sc-calcite-slider,.thumb.sc-calcite-slider .handle__label.transformed.sc-calcite-slider{position:absolute;top:0px;bottom:0px;opacity:0}/*!@.thumb .handle__label.hyphen::after*/.thumb.sc-calcite-slider .handle__label.hyphen.sc-calcite-slider::after{content:\"—\";display:inline-block;width:1em}/*!@.thumb .handle*/.thumb.sc-calcite-slider .handle.sc-calcite-slider{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease, -webkit-box-shadow var(--calcite-animation-timing) ease}/*!@.thumb .handle-extension*/.thumb.sc-calcite-slider .handle-extension.sc-calcite-slider{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}/*!@.thumb:hover .handle*/.thumb.sc-calcite-slider:hover .handle.sc-calcite-slider{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}/*!@.thumb:hover .handle-extension*/.thumb.sc-calcite-slider:hover .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb:focus .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.thumb:focus .handle-extension*/.thumb.sc-calcite-slider:focus .handle-extension.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.thumb.thumb--minValue*/.thumb.thumb--minValue.sc-calcite-slider{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}/*!@.thumb.thumb--precise*/.thumb.thumb--precise.sc-calcite-slider{--calcite-slider-thumb-y-offset:-2px}/*!@:host([label-handles]) .thumb*/[label-handles].sc-calcite-slider-h .thumb.sc-calcite-slider{--calcite-slider-thumb-x-offset:50%}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-23px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}/*!@:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise)*/[label-handles].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb.sc-calcite-slider:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}/*!@:host([has-histogram][label-handles]) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label*/[has-histogram][label-handles].sc-calcite-slider-h .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--minValue.thumb--precise.sc-calcite-slider .handle__label.sc-calcite-slider{margin-top:0.5em}/*!@:host(:not([has-histogram]):not([precise])) .handle__label,\n:host([label-handles]:not([has-histogram])) .thumb--value .handle__label*/.sc-calcite-slider-h:not([has-histogram]):not([precise]) .handle__label.sc-calcite-slider,[label-handles].sc-calcite-slider-h:not([has-histogram]) .thumb--value.sc-calcite-slider .handle__label.sc-calcite-slider{margin-bottom:0.5em}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--s.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-33px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--m.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-44px}/*!@:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value*/[label-handles][precise].sc-calcite-slider-h(.sc-calcite-slider-h:not([has-histogram])) .scale--l.sc-calcite-slider .thumb--value.sc-calcite-slider{--calcite-slider-thumb-y-offset:-49px}/*!@.thumb:focus .handle, .thumb--active .handle*/.thumb.sc-calcite-slider:focus .handle.sc-calcite-slider,.thumb--active.sc-calcite-slider .handle.sc-calcite-slider{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}/*!@.thumb:hover.thumb--precise:after, .thumb:focus.thumb--precise:after, .thumb--active.thumb--precise:after*/.thumb.sc-calcite-slider:hover.thumb--precise:after,.thumb.sc-calcite-slider:focus.thumb--precise:after,.thumb--active.thumb--precise.sc-calcite-slider:after{background-color:var(--calcite-ui-brand)}/*!@.track*/.track.sc-calcite-slider{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}/*!@.track__range*/.track__range.sc-calcite-slider{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}/*!@.container--range .track__range:hover*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:hover{cursor:ew-resize}/*!@.container--range .track__range:after*/.container--range.sc-calcite-slider .track__range.sc-calcite-slider:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}/*!@.tick*/.tick.sc-calcite-slider{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}/*!@.tick--active*/.tick--active.sc-calcite-slider{background-color:var(--calcite-ui-brand)}/*!@.tick__label*/.tick__label.sc-calcite-slider{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}/*!@.tick__label--min*/.tick__label--min.sc-calcite-slider{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}/*!@.tick__label--max*/.tick__label--max.sc-calcite-slider{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);transition:opacity var(--calcite-internal-animation-timing-fast)}/*!@:host([has-histogram][label-handles]) .tick__label--min, :host([has-histogram][label-handles]) .tick__label--max, :host([has-histogram][precise]) .tick__label--min, :host([has-histogram][precise]) .tick__label--max*/[has-histogram][label-handles].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][label-handles].sc-calcite-slider-h .tick__label--max.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--min.sc-calcite-slider,[has-histogram][precise].sc-calcite-slider-h .tick__label--max.sc-calcite-slider{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}/*!@.graph*/.graph.sc-calcite-slider{color:var(--calcite-ui-foreground-3);height:48px}/*!@:host([label-ticks][ticks]) .container*/[label-ticks][ticks].sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}/*!@:host([has-histogram]):host([precise][label-handles]) .container*/[has-histogram].sc-calcite-slider-h([precise][label-handles]).sc-calcite-slider-h .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}/*!@:host([has-histogram]):host([label-handles]:not([precise])) .container*/[has-histogram].sc-calcite-slider-h([label-handles].sc-calcite-slider-h:not([precise])) .container.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}/*!@:host([has-histogram]):host([precise]:not([label-handles])) .container*/[has-histogram].sc-calcite-slider-h([precise].sc-calcite-slider-h:not([label-handles])) .container.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container.sc-calcite-slider{padding-top:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([precise]:not([label-handles])) .container--range.sc-calcite-slider{padding-bottom:var(--calcite-slider-full-handle-height)}/*!@:host(:not([has-histogram])):host([label-handles]:not([precise])) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles]:not([precise])) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container.sc-calcite-slider{padding-top:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@:host(:not([has-histogram])):host([label-handles][precise]) .container--range*/.sc-calcite-slider-h:not([has-histogram]).sc-calcite-slider-h([label-handles][precise]) .container--range.sc-calcite-slider{padding-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-slider-s>input[slot=hidden-form-input]{bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
24463
24516
|
|
|
24464
24517
|
class CalciteSlider {
|
|
24465
24518
|
constructor(hostRef) {
|
|
@@ -24714,7 +24767,7 @@ class CalciteSlider {
|
|
|
24714
24767
|
histogramLabeledPreciseHandle, hAsync(HiddenFormInputSlot, { component: this })))));
|
|
24715
24768
|
}
|
|
24716
24769
|
renderGraph() {
|
|
24717
|
-
return this.histogram ? (hAsync("
|
|
24770
|
+
return this.histogram ? (hAsync("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;
|
|
24718
24771
|
}
|
|
24719
24772
|
renderTickLabel(tick) {
|
|
24720
24773
|
const isMinTickLabel = tick === this.min;
|