@esri/calcite-components 1.0.0-beta.73 → 1.0.0-beta.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/calcite-date-picker/nls/bg.json +31 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF32.json +1 -0
- 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-7a2142c2.system.entry.js → p-0b0ce9b2.system.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-1a5dae4a.entry.js +5 -0
- package/dist/calcite/{p-0b187e6a.system.entry.js → p-1b3a66ec.system.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-244e0b95.entry.js +5 -0
- 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-b55fa7bc.entry.js → p-273cd5ab.entry.js} +1 -1
- package/dist/calcite/{p-55e6b0b2.entry.js → p-28adfebc.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-e5130ebf.system.entry.js → p-2c954eaa.system.entry.js} +1 -1
- package/dist/calcite/{p-ef6f8370.entry.js → p-325fcd0d.entry.js} +1 -1
- package/dist/calcite/p-32f6f7df.entry.js +5 -0
- package/dist/calcite/{p-4f9b0b0f.js → p-32f7eb32.js} +1 -1
- 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-15a38242.system.entry.js → p-3b8f5ab8.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-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-6c453fd0.system.entry.js → p-5c3b9524.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-b01c3a89.system.entry.js → p-7d355abe.system.entry.js} +1 -1
- 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-85fb7bc0.entry.js +5 -0
- package/dist/calcite/{p-917e53a2.system.entry.js → p-897fc280.system.entry.js} +1 -1
- package/dist/calcite/p-8b145872.system.entry.js +5 -0
- package/dist/calcite/p-8d36bc7c.entry.js +5 -0
- package/dist/calcite/{p-805c94b9.entry.js → p-8eafaf3f.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-6fb2082b.entry.js → p-9d81d229.entry.js} +1 -1
- 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-b4990fa4.system.entry.js +5 -0
- 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-bb401f25.system.js +5 -0
- 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-d4bafc77.system.js → p-c56f495f.system.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-eca26cba.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-765d6b57.system.entry.js → p-e2ebc089.system.entry.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-a7f8b343.entry.js → p-e87980ac.entry.js} +1 -1
- package/dist/calcite/{p-83d41684.entry.js → p-eea18662.entry.js} +1 -1
- package/dist/calcite/p-ef6b4184.js +5 -0
- 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-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 +8 -5
- 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 +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +5 -4
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +15 -13
- 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 +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -6
- 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 +13 -6
- 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 -2
- 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/{locale-b9b153dd.js → locale-02462821.js} +1 -0
- package/dist/cjs/{popper-adfdc032.js → popper-09105f6f.js} +1 -1
- package/dist/cjs/{resources-8273cb31.js → resources-405cc2c4.js} +1 -1
- package/dist/cjs/{resources-c524c005.js → resources-9f0994fb.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/calcite-alert/calcite-alert.css +28 -6
- package/dist/collection/components/calcite-alert/calcite-alert.js +30 -4
- package/dist/collection/components/calcite-color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +3 -3
- package/dist/collection/components/calcite-combobox/interfaces.d.js +1 -0
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +1 -1
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +1 -1
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +2 -1
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +14 -12
- package/dist/collection/components/calcite-flow/calcite-flow.js +1 -1
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +1 -0
- package/dist/collection/components/calcite-input/calcite-input.js +9 -2
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +38 -1
- package/dist/collection/components/calcite-label/interfaces.js +1 -0
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +2 -2
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +1 -1
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +10 -0
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +3 -5
- package/dist/collection/components/calcite-select/calcite-select.js +3 -5
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +0 -1
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +2 -2
- package/dist/collection/demos/_assets/demo-form.js +23 -0
- package/dist/collection/demos/_assets/demo-template.js +13 -0
- package/dist/collection/demos/_assets/head.js +45 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/utils/dom.js +17 -4
- package/dist/collection/utils/interactive.js +20 -0
- package/dist/collection/utils/locale.js +1 -0
- package/dist/components/calcite-alert.js +8 -4
- package/dist/components/calcite-color-picker-swatch2.js +1 -1
- package/dist/components/calcite-date-picker2.js +2 -1
- package/dist/components/calcite-dropdown2.js +13 -11
- package/dist/components/calcite-input-date-picker.js +6 -1
- package/dist/components/calcite-input2.js +9 -2
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-tree-item.js +0 -1
- package/dist/components/dom.js +17 -4
- package/dist/components/locale.js +1 -0
- package/dist/custom-elements/index.js +60 -29
- 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 +8 -5
- 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 +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +4 -4
- package/dist/esm/calcite-date-picker_4.entry.js +5 -4
- package/dist/esm/calcite-dropdown_3.entry.js +15 -13
- 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 +3 -3
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +2 -2
- package/dist/esm/calcite-input-date-picker.entry.js +11 -6
- 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 +13 -6
- 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 -2
- 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/{locale-1b48f64f.js → locale-fc850b7c.js} +1 -0
- 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/{resources-74c807b4.js → resources-90193940.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/locale-fc850b7c.js +5 -0
- 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/esm-es5/{resources-74c807b4.js → resources-90193940.js} +1 -1
- package/dist/extras/docs-json.json +91 -25
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +42 -0
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +53 -0
- package/dist/types/components/calcite-action/calcite-action.d.ts +73 -0
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +69 -0
- package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +39 -0
- package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +82 -0
- package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +52 -0
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +84 -0
- package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
- package/dist/types/components/calcite-avatar/calcite-avatar.d.ts +26 -0
- package/dist/types/components/calcite-block/calcite-block.d.ts +73 -0
- package/dist/types/components/calcite-block-section/calcite-block-section.d.ts +43 -0
- package/dist/types/components/calcite-button/calcite-button.d.ts +81 -0
- package/dist/types/components/calcite-card/calcite-card.d.ts +43 -0
- package/dist/types/components/calcite-checkbox/calcite-checkbox.d.ts +73 -0
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +37 -0
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +224 -0
- package/dist/types/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.d.ts +51 -0
- package/dist/types/components/calcite-color-picker-swatch/calcite-color-picker-swatch.d.ts +23 -0
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +177 -0
- package/dist/types/components/calcite-combobox/interfaces.d.ts +6 -0
- package/dist/types/components/calcite-combobox/utils.d.ts +6 -0
- package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +46 -0
- package/dist/types/components/calcite-combobox-item-group/calcite-combobox-item-group.d.ts +17 -0
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +132 -0
- package/dist/types/components/calcite-date-picker-day/calcite-date-picker-day.d.ts +45 -0
- package/dist/types/components/calcite-date-picker-month/calcite-date-picker-month.d.ts +97 -0
- package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +57 -0
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +98 -0
- package/dist/types/components/calcite-dropdown-group/calcite-dropdown-group.d.ts +32 -0
- package/dist/types/components/calcite-dropdown-item/calcite-dropdown-item.d.ts +52 -0
- package/dist/types/components/calcite-fab/calcite-fab.d.ts +47 -0
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +53 -0
- package/dist/types/components/calcite-flow/calcite-flow.d.ts +22 -0
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +29 -0
- package/dist/types/components/calcite-handle/calcite-handle.d.ts +22 -0
- package/dist/types/components/calcite-icon/calcite-icon.d.ts +32 -0
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +69 -0
- package/dist/types/components/calcite-input/calcite-input.d.ts +166 -0
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +179 -0
- package/dist/types/components/calcite-input-message/calcite-input-message.d.ts +27 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +90 -0
- package/dist/types/components/calcite-label/calcite-label.d.ts +30 -0
- package/dist/types/components/calcite-link/calcite-link.d.ts +33 -0
- package/dist/types/components/calcite-list/calcite-list.d.ts +16 -0
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +37 -0
- package/dist/types/components/calcite-list-item-group/calcite-list-item-group.d.ts +18 -0
- package/dist/types/components/calcite-loader/calcite-loader.d.ts +27 -0
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +88 -0
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +51 -0
- package/dist/types/components/calcite-pagination/calcite-pagination.d.ts +51 -0
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +119 -0
- package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +75 -0
- package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +31 -0
- package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +18 -0
- package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +18 -0
- package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +103 -0
- package/dist/types/components/calcite-popover/calcite-popover.d.ts +107 -0
- package/dist/types/components/calcite-popover-manager/calcite-popover-manager.d.ts +19 -0
- package/dist/types/components/calcite-progress/calcite-progress.d.ts +15 -0
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +92 -0
- package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +32 -0
- package/dist/types/components/calcite-radio-group/calcite-radio-group.d.ts +56 -0
- package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +24 -0
- package/dist/types/components/calcite-rating/calcite-rating.d.ts +60 -0
- package/dist/types/components/calcite-scrim/calcite-scrim.d.ts +17 -0
- package/dist/types/components/calcite-select/calcite-select.d.ts +75 -0
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +21 -0
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +22 -0
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +67 -0
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +192 -0
- package/dist/types/components/calcite-sortable-list/calcite-sortable-list.d.ts +50 -0
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +52 -0
- package/dist/types/components/calcite-stepper/calcite-stepper.d.ts +58 -0
- package/dist/types/components/calcite-stepper-item/calcite-stepper-item.d.ts +65 -0
- package/dist/types/components/calcite-switch/calcite-switch.d.ts +46 -0
- package/dist/types/components/calcite-tab/calcite-tab.d.ts +42 -0
- package/dist/types/components/calcite-tab-nav/calcite-tab-nav.d.ts +74 -0
- package/dist/types/components/calcite-tab-title/calcite-tab-title.d.ts +92 -0
- package/dist/types/components/calcite-tabs/calcite-tabs.d.ts +65 -0
- package/dist/types/components/calcite-tile/calcite-tile.d.ts +33 -0
- package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +57 -0
- package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +135 -0
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +44 -0
- package/dist/types/components/calcite-tip-manager/calcite-tip-manager.d.ts +65 -0
- package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +60 -0
- package/dist/types/components/calcite-tooltip-manager/calcite-tooltip-manager.d.ts +41 -0
- package/dist/types/components/calcite-tree/calcite-tree.d.ts +38 -0
- package/dist/types/components/calcite-tree/interfaces.d.ts +10 -0
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +56 -0
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +89 -0
- package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +76 -0
- package/dist/types/components/functional/CalciteExpandToggle.d.ts +19 -0
- package/dist/types/components.d.ts +17 -3
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/utils/dom.d.ts +4 -2
- package/dist/types/utils/label.d.ts +39 -0
- package/hydrate/index.js +59 -28
- package/package.json +4 -4
- package/readme.md +2 -2
- package/dist/calcite/p-0d9a5d78.entry.js +0 -5
- package/dist/calcite/p-2c3bbbb4.system.entry.js +0 -5
- package/dist/calcite/p-3366ef60.entry.js +0 -5
- package/dist/calcite/p-3f51ac4b.system.entry.js +0 -5
- package/dist/calcite/p-54e07c75.entry.js +0 -5
- package/dist/calcite/p-5d9fe852.entry.js +0 -5
- package/dist/calcite/p-732a0005.system.entry.js +0 -5
- package/dist/calcite/p-748c198c.system.entry.js +0 -5
- package/dist/calcite/p-d8653ba3.entry.js +0 -5
- package/dist/calcite/p-db85eed9.entry.js +0 -5
- package/dist/calcite/p-f3d02833.js +0 -5
- package/dist/calcite/p-f87c1273.js +0 -5
- package/dist/calcite/p-fcde21ce.system.js +0 -5
- package/dist/esm-es5/dom-e55f9eaf.js +0 -5
- package/dist/esm-es5/locale-1b48f64f.js +0 -5
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import Sortable from "sortablejs";
|
|
2
|
+
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
3
|
+
import { ICON_TYPES } from "./resources";
|
|
4
|
+
import { ListFocusId, ItemData } from "../calcite-pick-list/shared-list-logic";
|
|
5
|
+
/**
|
|
6
|
+
* @slot - A slot for adding `calcite-value-list-item` elements. Items are displayed as a vertical list.
|
|
7
|
+
* @slot menu-actions - A slot for adding a button + menu combo for performing actions like sorting.
|
|
8
|
+
*/
|
|
9
|
+
export declare class CalciteValueList<ItemElement extends HTMLCalciteValueListItemElement = HTMLCalciteValueListItemElement> {
|
|
10
|
+
/**
|
|
11
|
+
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
12
|
+
*/
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* When true, the items will be sortable via drag and drop.
|
|
16
|
+
*/
|
|
17
|
+
dragEnabled: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* When true, an input appears at the top of the list that can be used by end users to filter items in the list.
|
|
20
|
+
*/
|
|
21
|
+
filterEnabled: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Placeholder text for the filter input field.
|
|
24
|
+
*/
|
|
25
|
+
filterPlaceholder: string;
|
|
26
|
+
/**
|
|
27
|
+
* The list's group identifier.
|
|
28
|
+
*
|
|
29
|
+
* To drag elements from one list into another, both lists must have the same group value.
|
|
30
|
+
*/
|
|
31
|
+
group?: string;
|
|
32
|
+
/**
|
|
33
|
+
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
34
|
+
*/
|
|
35
|
+
loading: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Multiple Works similar to standard radio buttons and checkboxes.
|
|
38
|
+
* When true, a user can select multiple items at a time.
|
|
39
|
+
* When false, only a single item can be selected at a time
|
|
40
|
+
* and selecting a new item will deselect any other selected items.
|
|
41
|
+
*/
|
|
42
|
+
multiple: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* When true and single-selection is enabled, the selection will change when navigating items via the keyboard.
|
|
45
|
+
*/
|
|
46
|
+
selectionFollowsFocus: boolean;
|
|
47
|
+
selectedValues: Map<string, ItemElement>;
|
|
48
|
+
dataForFilter: ItemData;
|
|
49
|
+
items: ItemElement[];
|
|
50
|
+
lastSelectedItem: ItemElement;
|
|
51
|
+
mutationObserver: MutationObserver;
|
|
52
|
+
sortable: Sortable;
|
|
53
|
+
el: HTMLCalciteValueListElement;
|
|
54
|
+
emitCalciteListChange: () => void;
|
|
55
|
+
filterEl: HTMLCalciteFilterElement;
|
|
56
|
+
connectedCallback(): void;
|
|
57
|
+
componentDidLoad(): void;
|
|
58
|
+
disconnectedCallback(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Emitted when any of the item selections have changed.
|
|
61
|
+
*/
|
|
62
|
+
calciteListChange: EventEmitter<Map<string, HTMLCalciteValueListItemElement>>;
|
|
63
|
+
/**
|
|
64
|
+
* Emitted when the order of the list has changed.
|
|
65
|
+
*/
|
|
66
|
+
calciteListOrderChange: EventEmitter<any[]>;
|
|
67
|
+
calciteListItemRemoveHandler(event: CustomEvent<void>): void;
|
|
68
|
+
calciteListItemChangeHandler(event: CustomEvent): void;
|
|
69
|
+
calciteListItemPropsChangeHandler(event: CustomEvent): void;
|
|
70
|
+
calciteListItemValueChangeHandler(event: CustomEvent): void;
|
|
71
|
+
getItems(): ItemElement[];
|
|
72
|
+
setUpItems(): void;
|
|
73
|
+
setUpFilter(): void;
|
|
74
|
+
setFilterEl: (el: HTMLCalciteFilterElement) => void;
|
|
75
|
+
setUpDragAndDrop(): void;
|
|
76
|
+
cleanUpDragAndDrop(): void;
|
|
77
|
+
deselectRemovedItems: any;
|
|
78
|
+
deselectSiblingItems: any;
|
|
79
|
+
selectSiblings: any;
|
|
80
|
+
handleFilter: any;
|
|
81
|
+
getItemData: any;
|
|
82
|
+
keyDownHandler: (event: KeyboardEvent) => void;
|
|
83
|
+
/** Returns the currently selected items */
|
|
84
|
+
getSelectedItems(): Promise<Map<string, HTMLCalciteValueListItemElement>>;
|
|
85
|
+
/** Sets focus on the component. */
|
|
86
|
+
setFocus(focusId?: ListFocusId): Promise<void>;
|
|
87
|
+
getIconType(): ICON_TYPES | null;
|
|
88
|
+
render(): VNode;
|
|
89
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { EventEmitter, VNode } from "../../stencil-public-runtime";
|
|
2
|
+
import { ICON_TYPES } from "../calcite-pick-list/resources";
|
|
3
|
+
/**
|
|
4
|
+
* @slot actions-end - A slot for adding actions or content to the end side of the item.
|
|
5
|
+
* @slot actions-start - A slot for adding actions or content to the start side of the item.
|
|
6
|
+
*/
|
|
7
|
+
export declare class CalciteValueListItem {
|
|
8
|
+
/**
|
|
9
|
+
* An optional description for this item. Will appear below the label text.
|
|
10
|
+
*/
|
|
11
|
+
description?: string;
|
|
12
|
+
/**
|
|
13
|
+
* When true, the item cannot be clicked and is visually muted
|
|
14
|
+
*/
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @internal When false, the item cannot be deselected by user interaction.
|
|
18
|
+
*/
|
|
19
|
+
disableDeselect: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* When true, prevents the content of the list item from user interaction.
|
|
22
|
+
*/
|
|
23
|
+
nonInteractive: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* @internal - stores the activated state of the drag handle.
|
|
26
|
+
*/
|
|
27
|
+
handleActivated?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Determines the icon SVG symbol that will be shown. Options are circle, square, grip or null.
|
|
30
|
+
* @see [ICON_TYPES](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-pick-list/resources.ts#L5)
|
|
31
|
+
*/
|
|
32
|
+
icon?: ICON_TYPES | null;
|
|
33
|
+
/**
|
|
34
|
+
* The main label for this item. Appears next to the icon.
|
|
35
|
+
*/
|
|
36
|
+
label: string;
|
|
37
|
+
/**
|
|
38
|
+
* Used to provide additional metadata to an item, primarily used when the parent list has a filter.
|
|
39
|
+
*/
|
|
40
|
+
metadata?: Record<string, unknown>;
|
|
41
|
+
/**
|
|
42
|
+
* Set this to true to display a remove action that removes the item from the list.
|
|
43
|
+
*/
|
|
44
|
+
removable: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Set this to true to pre-select an item. Toggles when an item is checked/unchecked.
|
|
47
|
+
*/
|
|
48
|
+
selected: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* The item's associated value.
|
|
51
|
+
*/
|
|
52
|
+
value: any;
|
|
53
|
+
el: HTMLCalciteValueListItemElement;
|
|
54
|
+
pickListItem: HTMLCalcitePickListItemElement;
|
|
55
|
+
guid: string;
|
|
56
|
+
/**
|
|
57
|
+
* Used to toggle the selection state. By default this won't trigger an event.
|
|
58
|
+
* The first argument allows the value to be coerced, rather than swapping values.
|
|
59
|
+
*/
|
|
60
|
+
toggleSelected(coerce?: boolean): Promise<void>;
|
|
61
|
+
/** Sets focus on the component. */
|
|
62
|
+
setFocus(): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Emitted whenever the remove button is pressed.
|
|
65
|
+
*/
|
|
66
|
+
calciteListItemRemove: EventEmitter<void>;
|
|
67
|
+
calciteListItemChangeHandler(event: CustomEvent): void;
|
|
68
|
+
getPickListRef: (el: HTMLCalcitePickListItemElement) => HTMLCalcitePickListItemElement;
|
|
69
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
70
|
+
handleBlur: () => void;
|
|
71
|
+
handleSelectChange: (event: CustomEvent) => void;
|
|
72
|
+
renderActionsEnd(): VNode;
|
|
73
|
+
renderActionsStart(): VNode;
|
|
74
|
+
renderHandle(): VNode;
|
|
75
|
+
render(): VNode;
|
|
76
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FunctionalComponent } from "../../stencil-public-runtime";
|
|
2
|
+
import { Position, Scale } from "../interfaces";
|
|
3
|
+
interface CalciteExpandToggleProps {
|
|
4
|
+
expanded: boolean;
|
|
5
|
+
intlExpand: string;
|
|
6
|
+
intlCollapse: string;
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
position: Position;
|
|
9
|
+
tooltip?: HTMLCalciteTooltipElement;
|
|
10
|
+
toggle: () => void;
|
|
11
|
+
ref?: (el: HTMLElement) => void;
|
|
12
|
+
scale?: Scale;
|
|
13
|
+
}
|
|
14
|
+
export declare function toggleChildActionText({ parent, expanded }: {
|
|
15
|
+
parent: HTMLElement;
|
|
16
|
+
expanded: boolean;
|
|
17
|
+
}): void;
|
|
18
|
+
export declare const CalciteExpandToggle: FunctionalComponent<CalciteExpandToggleProps>;
|
|
19
|
+
export {};
|
|
@@ -9,7 +9,7 @@ import { AccordionAppearance } from "./components/calcite-accordion/interfaces";
|
|
|
9
9
|
import { Alignment, Appearance, Columns, FlipContext, Layout, Position, Scale, Status, Width } from "./components/interfaces";
|
|
10
10
|
import { Placement } from "@popperjs/core";
|
|
11
11
|
import { OverlayPositioning, PopperPlacement } from "./utils/popper";
|
|
12
|
-
import { AlertDuration, StatusColor } from "./components/calcite-alert/interfaces";
|
|
12
|
+
import { AlertDuration, AlertPlacement, StatusColor } from "./components/calcite-alert/interfaces";
|
|
13
13
|
import { HeadingLevel } from "./components/functional/CalciteHeading";
|
|
14
14
|
import { BlockSectionToggleDisplay } from "./components/calcite-block-section/interfaces";
|
|
15
15
|
import { ButtonAlignment, ButtonAppearance, ButtonColor, DropdownIconType } from "./components/calcite-button/interfaces";
|
|
@@ -300,7 +300,11 @@ export namespace Components {
|
|
|
300
300
|
*/
|
|
301
301
|
"label": string;
|
|
302
302
|
/**
|
|
303
|
-
* specify the
|
|
303
|
+
* specify the placement of the alert
|
|
304
|
+
*/
|
|
305
|
+
"placement": AlertPlacement;
|
|
306
|
+
/**
|
|
307
|
+
* specify the scale of the alert, defaults to m
|
|
304
308
|
*/
|
|
305
309
|
"scale": Scale;
|
|
306
310
|
/**
|
|
@@ -4376,7 +4380,11 @@ declare namespace LocalJSX {
|
|
|
4376
4380
|
*/
|
|
4377
4381
|
"onCalciteAlertOpen"?: (event: CustomEvent<any>) => void;
|
|
4378
4382
|
/**
|
|
4379
|
-
* specify the
|
|
4383
|
+
* specify the placement of the alert
|
|
4384
|
+
*/
|
|
4385
|
+
"placement"?: AlertPlacement;
|
|
4386
|
+
/**
|
|
4387
|
+
* specify the scale of the alert, defaults to m
|
|
4380
4388
|
*/
|
|
4381
4389
|
"scale"?: Scale;
|
|
4382
4390
|
}
|
|
@@ -5725,13 +5733,19 @@ declare namespace LocalJSX {
|
|
|
5725
5733
|
"name"?: string;
|
|
5726
5734
|
/**
|
|
5727
5735
|
* Trigger calcite date change when a user changes the date.
|
|
5736
|
+
* @deprecated use `calciteInputDatePickerChange` instead.
|
|
5728
5737
|
*/
|
|
5729
5738
|
"onCalciteDatePickerChange"?: (event: CustomEvent<Date>) => void;
|
|
5730
5739
|
/**
|
|
5731
5740
|
* Trigger calcite date change when a user changes the date range.
|
|
5732
5741
|
* @see [DateRangeChange](https://github.com/Esri/calcite-components/blob/master/src/components/calcite-date-picker/interfaces.ts#L1)
|
|
5742
|
+
* @deprecated use `calciteInputDatePickerChange` instead.
|
|
5733
5743
|
*/
|
|
5734
5744
|
"onCalciteDatePickerRangeChange"?: (event: CustomEvent<DateRangeChange>) => void;
|
|
5745
|
+
/**
|
|
5746
|
+
* This event fires when the input date picker value changes.
|
|
5747
|
+
*/
|
|
5748
|
+
"onCalciteInputDatePickerChange"?: (event: CustomEvent<void>) => void;
|
|
5735
5749
|
/**
|
|
5736
5750
|
* Describes the type of positioning to use for the overlaid content. If your element is in a fixed container, use the 'fixed' value.
|
|
5737
5751
|
*/
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -160,9 +160,10 @@ declare module "preact/src/jsx" {
|
|
|
160
160
|
"oncalciteInputChange"?: (event: CustomEvent<any>) => void;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
"calcite-input-date-picker": Omit<JSX.CalciteInputDatePicker, "onCalciteDatePickerChange" | "onCalciteDatePickerRangeChange" | "onCalciteInputDatePickerOpen" | "onCalciteInputDatePickerClose"> & JSXInternal.HTMLAttributes<HTMLCalciteInputDatePickerElement> & {
|
|
163
|
+
"calcite-input-date-picker": Omit<JSX.CalciteInputDatePicker, "onCalciteDatePickerChange" | "onCalciteDatePickerRangeChange" | "onCalciteInputDatePickerChange" | "onCalciteInputDatePickerOpen" | "onCalciteInputDatePickerClose"> & JSXInternal.HTMLAttributes<HTMLCalciteInputDatePickerElement> & {
|
|
164
164
|
"oncalciteDatePickerChange"?: (event: CustomEvent<any>) => void;
|
|
165
165
|
"oncalciteDatePickerRangeChange"?: (event: CustomEvent<any>) => void;
|
|
166
|
+
"oncalciteInputDatePickerChange"?: (event: CustomEvent<any>) => void;
|
|
166
167
|
"oncalciteInputDatePickerOpen"?: (event: CustomEvent<any>) => void;
|
|
167
168
|
"oncalciteInputDatePickerClose"?: (event: CustomEvent<any>) => void;
|
|
168
169
|
}
|
|
@@ -41,10 +41,12 @@ interface GetSlottedOptions {
|
|
|
41
41
|
direct?: boolean;
|
|
42
42
|
selector?: string;
|
|
43
43
|
}
|
|
44
|
-
export declare function getSlotted<T extends Element = Element>(element: Element, slotName: string | string[]
|
|
44
|
+
export declare function getSlotted<T extends Element = Element>(element: Element, slotName: string | string[] | (GetSlottedOptions & {
|
|
45
|
+
all: true;
|
|
46
|
+
}), options: GetSlottedOptions & {
|
|
45
47
|
all: true;
|
|
46
48
|
}): T[];
|
|
47
|
-
export declare function getSlotted<T extends Element = Element>(element: Element, slotName
|
|
49
|
+
export declare function getSlotted<T extends Element = Element>(element: Element, slotName?: string | string[] | GetSlottedOptions, options?: GetSlottedOptions): T | null;
|
|
48
50
|
export declare function filterDirectChildren<T extends Element>(el: Element, selector: string): T[];
|
|
49
51
|
export declare function setRequestedIcon(iconObject: Record<string, string>, iconValue: string | boolean, matchedValue: string): string;
|
|
50
52
|
export declare function intersects(rect1: DOMRect, rect2: DOMRect): boolean;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface LabelableComponent {
|
|
2
|
+
/**
|
|
3
|
+
* When true, disabled prevents interaction.
|
|
4
|
+
*/
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* The host element.
|
|
8
|
+
*/
|
|
9
|
+
readonly el: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* Text label.
|
|
12
|
+
*/
|
|
13
|
+
label?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The label this component is associated with.
|
|
16
|
+
*/
|
|
17
|
+
labelEl: HTMLCalciteLabelElement;
|
|
18
|
+
/**
|
|
19
|
+
* Hook for components to provide custom label click behavior.
|
|
20
|
+
*/
|
|
21
|
+
onLabelClick: (event: CustomEvent<any>) => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Exported for testing purposes only
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const labelClickEvent = "calciteInternalLabelClick";
|
|
28
|
+
/**
|
|
29
|
+
* Helper to set up label interactions on connectedCallback.
|
|
30
|
+
*/
|
|
31
|
+
export declare function connectLabel(component: LabelableComponent): void;
|
|
32
|
+
/**
|
|
33
|
+
* Helper to tear down label interactions on disconnectedCallback.
|
|
34
|
+
*/
|
|
35
|
+
export declare function disconnectLabel(component: LabelableComponent): void;
|
|
36
|
+
/**
|
|
37
|
+
* Helper to get the label text from a component.
|
|
38
|
+
*/
|
|
39
|
+
export declare function getLabelText(component: LabelableComponent): string;
|