@prolibu-suite/cobalt-core 0.10.0 → 0.10.2
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/custom-elements.json +481 -35
- package/dist/cjs/co-accordion.cjs.entry.js +33 -4
- package/dist/cjs/co-action-bar.cjs.entry.js +1 -1
- package/dist/cjs/co-audio-player.cjs.entry.js +82 -12
- package/dist/cjs/co-avatar.cjs.entry.js +72 -0
- package/dist/cjs/co-button.cjs.entry.js +1 -1
- package/dist/cjs/co-calendar_3.cjs.entry.js +7 -3
- package/dist/cjs/co-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/co-chip_2.cjs.entry.js +68 -14
- package/dist/cjs/co-color-picker.cjs.entry.js +40 -10
- package/dist/cjs/co-column-picker.cjs.entry.js +1 -1
- package/dist/cjs/co-combobox.cjs.entry.js +1 -1
- package/dist/cjs/co-command-search.cjs.entry.js +1 -1
- package/dist/cjs/co-data-table.cjs.entry.js +82 -4
- package/dist/cjs/co-date-range-picker.cjs.entry.js +3 -1
- package/dist/cjs/co-emoji-picker.cjs.entry.js +1 -1
- package/dist/cjs/co-file-type-tile.cjs.entry.js +23 -7
- package/dist/cjs/co-input.cjs.entry.js +6 -2
- package/dist/cjs/co-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/co-modal.cjs.entry.js +7 -3
- package/dist/cjs/co-navbar.cjs.entry.js +2 -2
- package/dist/cjs/co-number-field.cjs.entry.js +3 -3
- package/dist/cjs/co-overlay.cjs.entry.js +1 -1
- package/dist/cjs/co-page-header.cjs.entry.js +1 -1
- package/dist/cjs/co-phone-field.cjs.entry.js +5 -5
- package/dist/cjs/co-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
- package/dist/cjs/co-provider-logo_2.cjs.entry.js +1 -1
- package/dist/cjs/co-radio.cjs.entry.js +3 -3
- package/dist/cjs/co-rating.cjs.entry.js +3 -3
- package/dist/cjs/co-ref-field.cjs.entry.js +100 -9
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +30 -10
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +5 -2
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +19 -3
- package/dist/cjs/co-row.cjs.entry.js +2 -2
- package/dist/cjs/co-select.cjs.entry.js +8 -8
- package/dist/cjs/co-separator.cjs.entry.js +1 -1
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +1 -1
- package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/co-slider.cjs.entry.js +2 -2
- package/dist/cjs/co-switch.cjs.entry.js +3 -3
- package/dist/cjs/co-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/co-tab.cjs.entry.js +2 -2
- package/dist/cjs/co-tags-field.cjs.entry.js +5 -5
- package/dist/cjs/co-textarea.cjs.entry.js +4 -4
- package/dist/cjs/co-time-field.cjs.entry.js +1 -1
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/co-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/{co-avatar_2.cjs.entry.js → co-tooltip.cjs.entry.js} +2 -70
- package/dist/cjs/co-video.cjs.entry.js +2 -2
- package/dist/cjs/cobalt.cjs.js +1 -1
- package/dist/cjs/{index-BYwrR87Z.js → index-2kMmd5-a.js} +6717 -6654
- package/dist/cjs/index-MDAnKsze.js +16 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{normalizeText-B-v-XPKf.js → normalizeText-D9rlJWZa.js} +29 -18
- package/dist/cjs/{toolbar-config-BSGas-Wl.js → toolbar-config-CYACt9hh.js} +13 -1
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/{p-82266f11.entry.js → p-000a15b8.entry.js} +1 -1
- package/dist/cobalt/{p-e01f9b9a.entry.js → p-0c004735.entry.js} +1 -1
- package/dist/cobalt/{p-16954cea.entry.js → p-11c5ce78.entry.js} +1 -1
- package/dist/cobalt/{p-c465d619.entry.js → p-1861fe41.entry.js} +1 -1
- package/dist/cobalt/p-1cc818ca.entry.js +1 -0
- package/dist/cobalt/p-216a63ee.entry.js +1 -0
- package/dist/cobalt/p-24196410.entry.js +1 -0
- package/dist/cobalt/{p-4d897896.entry.js → p-28764b8e.entry.js} +1 -1
- package/dist/cobalt/{p-1a589c8e.entry.js → p-292b0389.entry.js} +1 -1
- package/dist/cobalt/{p-73c6d735.entry.js → p-2a30c143.entry.js} +1 -1
- package/dist/cobalt/{p-e8a4e6b0.entry.js → p-2c9dba2f.entry.js} +1 -1
- package/dist/cobalt/{p-83ea631d.entry.js → p-39a50e7f.entry.js} +1 -1
- package/dist/cobalt/p-39dc4ec8.entry.js +1 -0
- package/dist/cobalt/{p-325b91b6.entry.js → p-3d31c575.entry.js} +1 -1
- package/dist/cobalt/p-416795f5.entry.js +1 -0
- package/dist/cobalt/{p-37f5036b.entry.js → p-49834b8e.entry.js} +1 -1
- package/dist/cobalt/{p-54c987d7.entry.js → p-5a3e4c81.entry.js} +1 -1
- package/dist/cobalt/p-5c756787.entry.js +1 -0
- package/dist/cobalt/{p-27a7e549.entry.js → p-67f3b9d6.entry.js} +1 -1
- package/dist/cobalt/{p-bd683db3.entry.js → p-6a4f3179.entry.js} +1 -1
- package/dist/cobalt/{p-b565104d.entry.js → p-6dd220e0.entry.js} +1 -1
- package/dist/cobalt/{p-eb063cc0.entry.js → p-71cbc53c.entry.js} +1 -1
- package/dist/cobalt/p-72e52af7.entry.js +1 -0
- package/dist/cobalt/{p-50bcc76f.entry.js → p-7b5c555c.entry.js} +1 -1
- package/dist/cobalt/{p-10b82207.entry.js → p-8471abe2.entry.js} +1 -1
- package/dist/cobalt/{p-fe7e8813.entry.js → p-8530ad16.entry.js} +1 -1
- package/dist/cobalt/p-8a74bf7d.entry.js +1 -0
- package/dist/cobalt/{p-ea20f048.entry.js → p-8ebc0c12.entry.js} +1 -1
- package/dist/cobalt/p-8f2199ff.entry.js +1 -0
- package/dist/cobalt/p-9246e09c.entry.js +1 -0
- package/dist/cobalt/p-99a655f6.entry.js +1 -0
- package/dist/cobalt/{p-DOL2zACE.js → p-BAYo-RBt.js} +1 -1
- package/dist/cobalt/p-Ba_v-MzM.js +1 -0
- package/dist/cobalt/{p-Bryf3-Js.js → p-CJW9H3Gi.js} +1 -1
- package/dist/cobalt/p-a1b422ca.entry.js +1 -0
- package/dist/cobalt/p-a2462d7a.entry.js +1 -0
- package/dist/cobalt/p-ade07307.entry.js +1 -0
- package/dist/cobalt/{p-5298c030.entry.js → p-b437eff6.entry.js} +1 -1
- package/dist/cobalt/p-b698188c.entry.js +1 -0
- package/dist/cobalt/{p-6bf6bc3e.entry.js → p-b821d9de.entry.js} +1 -1
- package/dist/cobalt/p-bde32f8b.entry.js +1 -0
- package/dist/cobalt/{p-92b092db.entry.js → p-be34e447.entry.js} +1 -1
- package/dist/cobalt/{p-ad33c40e.entry.js → p-c30b4cb5.entry.js} +1 -1
- package/dist/cobalt/p-c7d7d7f7.entry.js +1 -0
- package/dist/cobalt/{p-aae86f96.entry.js → p-d0b2c418.entry.js} +1 -1
- package/dist/cobalt/p-d375014b.entry.js +1 -0
- package/dist/cobalt/p-eadfd661.entry.js +1 -0
- package/dist/cobalt/p-ee149fd2.entry.js +1 -0
- package/dist/cobalt/p-ef301976.entry.js +1 -0
- package/dist/cobalt/{p-fd150cc6.entry.js → p-f7eb1a40.entry.js} +1 -1
- package/dist/cobalt/p-f9a7b7c6.entry.js +1 -0
- package/dist/cobalt/{p-f68dd124.entry.js → p-fb2d1144.entry.js} +1 -1
- package/dist/collection/components/co-accordion/co-accordion.css +11 -4
- package/dist/collection/components/co-accordion/co-accordion.js +37 -6
- package/dist/collection/components/co-action-bar/co-action-bar.css +9 -2
- package/dist/collection/components/co-audio-player/co-audio-player.js +138 -12
- package/dist/collection/components/co-autocomplete/co-autocomplete.js +1 -1
- package/dist/collection/components/co-avatar/co-avatar.css +22 -1
- package/dist/collection/components/co-avatar-group/co-avatar-group.js +1 -1
- package/dist/collection/components/co-button/co-button.css +15 -3
- package/dist/collection/components/co-calendar/co-calendar.css +10 -4
- package/dist/collection/components/co-calendar/co-calendar.js +6 -2
- package/dist/collection/components/co-checkbox/co-checkbox.js +22 -3
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +1 -1
- package/dist/collection/components/co-color-picker/co-color-picker.js +40 -10
- package/dist/collection/components/co-combobox/co-combobox.js +1 -1
- package/dist/collection/components/co-command-search/co-command-search.js +1 -1
- package/dist/collection/components/co-data-table/co-data-table.css +63 -2
- package/dist/collection/components/co-data-table/co-data-table.js +59 -4
- package/dist/collection/components/co-data-table/headerTruncationLogic.js +34 -0
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +13 -0
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +4 -2
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +4 -43
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.utils.js +55 -0
- package/dist/collection/components/co-input/co-input.js +17 -5
- package/dist/collection/components/co-menu-item/co-menu-item.css +9 -0
- package/dist/collection/components/co-modal/co-modal.css +6 -0
- package/dist/collection/components/co-modal/co-modal.js +33 -2
- package/dist/collection/components/co-navbar/co-navbar.js +2 -2
- package/dist/collection/components/co-number-field/co-number-field.js +3 -3
- package/dist/collection/components/co-option-list/co-option-list.js +38 -7
- package/dist/collection/components/co-option-list/optionListLogic.js +31 -8
- package/dist/collection/components/co-overlay/co-overlay.js +1 -1
- package/dist/collection/components/co-page-header/co-page-header.js +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.js +5 -5
- package/dist/collection/components/co-popover/co-popover.js +1 -1
- package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
- package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
- package/dist/collection/components/co-radio/co-radio.js +3 -3
- package/dist/collection/components/co-radio-group/co-radio-group.js +1 -1
- package/dist/collection/components/co-rating/co-rating.js +3 -3
- package/dist/collection/components/co-ref-field/co-ref-field.css +40 -0
- package/dist/collection/components/co-ref-field/co-ref-field.js +207 -11
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +22 -0
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +48 -8
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +52 -0
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +25 -2
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.css +5 -0
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +17 -1
- package/dist/collection/components/co-row/co-row.js +2 -2
- package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +1 -1
- package/dist/collection/components/co-select/co-select.js +28 -9
- package/dist/collection/components/co-separator/co-separator.js +1 -1
- package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +1 -1
- package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
- package/dist/collection/components/co-slider/co-slider.js +2 -2
- package/dist/collection/components/co-switch/co-switch.js +3 -3
- package/dist/collection/components/co-tab/co-tab.js +2 -2
- package/dist/collection/components/co-tab-group/co-tab-group.js +2 -2
- package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
- package/dist/collection/components/co-textarea/co-textarea.js +4 -4
- package/dist/collection/components/co-time-field/co-time-field.js +1 -1
- package/dist/collection/components/co-toast/co-toast.js +2 -2
- package/dist/collection/components/co-toggle-button/co-toggle-button.css +6 -5
- package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.css +9 -5
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
- package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
- package/dist/collection/components/co-transfer-list/co-transfer-list.js +1 -1
- package/dist/collection/components/co-video/co-video.js +2 -2
- package/dist/collection/utils/normalizeText.js +43 -0
- package/dist/components/co-accordion.js +1 -1
- package/dist/components/co-action-bar.js +1 -1
- package/dist/components/co-audio-player.js +1 -1
- package/dist/components/co-autocomplete.js +1 -1
- package/dist/components/co-avatar-group.js +1 -1
- package/dist/components/co-avatar.js +1 -1
- package/dist/components/co-button.js +1 -1
- package/dist/components/co-calendar-month.js +1 -1
- package/dist/components/co-calendar-timegrid.js +1 -1
- package/dist/components/co-calendar.js +1 -1
- package/dist/components/co-checkbox.js +1 -1
- package/dist/components/co-color-picker.js +1 -1
- package/dist/components/co-column-picker.js +1 -1
- package/dist/components/co-combobox.js +1 -1
- package/dist/components/co-command-search.js +1 -1
- package/dist/components/co-data-table.js +1 -1
- package/dist/components/co-date-picker.js +1 -1
- package/dist/components/co-date-range-picker.js +1 -1
- package/dist/components/co-date-range.js +1 -1
- package/dist/components/co-date-time-picker.js +1 -1
- package/dist/components/co-drawer.js +1 -1
- package/dist/components/co-drive-card.js +1 -1
- package/dist/components/co-emoji-picker.js +1 -1
- package/dist/components/co-event-calendar.js +1 -1
- package/dist/components/co-file-field.js +1 -1
- package/dist/components/co-file-type-tile.js +1 -1
- package/dist/components/co-input.js +1 -1
- package/dist/components/co-lightbox.js +1 -1
- package/dist/components/co-list-item.js +1 -1
- package/dist/components/co-menu-item.js +1 -1
- package/dist/components/co-modal.js +1 -1
- package/dist/components/co-navbar.js +1 -1
- package/dist/components/co-number-field.js +1 -1
- package/dist/components/co-option-list.js +1 -1
- package/dist/components/co-overlay.js +1 -1
- package/dist/components/co-page-header.js +1 -1
- package/dist/components/co-phone-field.js +1 -1
- package/dist/components/co-progress-bar.js +1 -1
- package/dist/components/co-progress-circle.js +1 -1
- package/dist/components/co-radio.js +1 -1
- package/dist/components/co-rating.js +1 -1
- package/dist/components/co-ref-field.js +1 -1
- package/dist/components/co-rich-text-editor.js +1 -1
- package/dist/components/co-rich-text-toolbar.js +1 -1
- package/dist/components/co-rich-text-viewer.js +1 -1
- package/dist/components/co-row.js +1 -1
- package/dist/components/co-select.js +1 -1
- package/dist/components/co-separator.js +1 -1
- package/dist/components/co-sidebar-nav.js +1 -1
- package/dist/components/co-sidebar.js +1 -1
- package/dist/components/co-skeleton.js +1 -1
- package/dist/components/co-slider.js +1 -1
- package/dist/components/co-switch.js +1 -1
- package/dist/components/co-tab-group.js +1 -1
- package/dist/components/co-tab.js +1 -1
- package/dist/components/co-tags-field.js +1 -1
- package/dist/components/co-textarea.js +1 -1
- package/dist/components/co-time-field.js +1 -1
- package/dist/components/co-toggle-button-group.js +1 -1
- package/dist/components/co-toggle-button.js +1 -1
- package/dist/components/co-tooltip.js +1 -1
- package/dist/components/co-video.js +1 -1
- package/dist/components/{p-CXPRaTuo.js → p-2EOI1nrz.js} +1 -1
- package/dist/components/p-7TncUlLN.js +1 -0
- package/dist/components/{p-DOL2zACE.js → p-BAYo-RBt.js} +1 -1
- package/dist/components/p-Ba_v-MzM.js +1 -0
- package/dist/components/p-BhCVadcA.js +1 -0
- package/dist/components/p-BrAFTkAn.js +1 -0
- package/dist/components/{p-DIo66nBr.js → p-Bsh0JMGf.js} +1 -1
- package/dist/components/{p-x4grh-eZ.js → p-CBTGN490.js} +1 -1
- package/dist/components/{p-Bryf3-Js.js → p-CJW9H3Gi.js} +1 -1
- package/dist/components/p-CWCYYQrF.js +1 -0
- package/dist/components/p-D7Lhxz7L.js +1 -0
- package/dist/components/{p-BxP8OBw6.js → p-DFlJMEJ-.js} +1 -1
- package/dist/components/p-DTPYZwaZ.js +1 -0
- package/dist/components/{p-Be_kyNRE.js → p-Dc_Kbari.js} +1 -1
- package/dist/components/{p-B1QFLcY9.js → p-Dcg4krSX.js} +1 -1
- package/dist/components/p-DrTRB8Ev.js +1 -0
- package/dist/components/{p-BBP5__CY.js → p-DvR45CLa.js} +1 -1
- package/dist/components/{p-CnX3L8aF.js → p-DxtNejr2.js} +1 -1
- package/dist/components/{p-DkDTmHCg.js → p-Nt4JJxbL.js} +1 -1
- package/dist/components/{p-Bv6U5y3d.js → p-uxdXViMV.js} +1 -1
- package/dist/esm/co-accordion.entry.js +33 -4
- package/dist/esm/co-action-bar.entry.js +1 -1
- package/dist/esm/co-audio-player.entry.js +82 -12
- package/dist/esm/co-avatar.entry.js +70 -0
- package/dist/esm/co-button.entry.js +1 -1
- package/dist/esm/co-calendar_3.entry.js +7 -3
- package/dist/esm/co-checkbox.entry.js +3 -3
- package/dist/esm/co-chip_2.entry.js +68 -14
- package/dist/esm/co-color-picker.entry.js +40 -10
- package/dist/esm/co-column-picker.entry.js +1 -1
- package/dist/esm/co-combobox.entry.js +1 -1
- package/dist/esm/co-command-search.entry.js +1 -1
- package/dist/esm/co-data-table.entry.js +82 -4
- package/dist/esm/co-date-range-picker.entry.js +3 -1
- package/dist/esm/co-emoji-picker.entry.js +1 -1
- package/dist/esm/co-file-type-tile.entry.js +23 -7
- package/dist/esm/co-input.entry.js +6 -2
- package/dist/esm/co-menu-item.entry.js +1 -1
- package/dist/esm/co-modal.entry.js +7 -3
- package/dist/esm/co-navbar.entry.js +2 -2
- package/dist/esm/co-number-field.entry.js +3 -3
- package/dist/esm/co-overlay.entry.js +1 -1
- package/dist/esm/co-page-header.entry.js +1 -1
- package/dist/esm/co-phone-field.entry.js +5 -5
- package/dist/esm/co-progress-bar.entry.js +2 -2
- package/dist/esm/co-progress-circle.entry.js +2 -2
- package/dist/esm/co-provider-logo_2.entry.js +1 -1
- package/dist/esm/co-radio.entry.js +3 -3
- package/dist/esm/co-rating.entry.js +3 -3
- package/dist/esm/co-ref-field.entry.js +100 -9
- package/dist/esm/co-rich-text-editor.entry.js +30 -10
- package/dist/esm/co-rich-text-toolbar.entry.js +5 -2
- package/dist/esm/co-rich-text-viewer.entry.js +19 -3
- package/dist/esm/co-row.entry.js +2 -2
- package/dist/esm/co-select.entry.js +8 -8
- package/dist/esm/co-separator.entry.js +1 -1
- package/dist/esm/co-sidebar-nav.entry.js +1 -1
- package/dist/esm/co-sidebar.entry.js +2 -2
- package/dist/esm/co-slider.entry.js +2 -2
- package/dist/esm/co-switch.entry.js +3 -3
- package/dist/esm/co-tab-group.entry.js +2 -2
- package/dist/esm/co-tab.entry.js +2 -2
- package/dist/esm/co-tags-field.entry.js +5 -5
- package/dist/esm/co-textarea.entry.js +4 -4
- package/dist/esm/co-time-field.entry.js +1 -1
- package/dist/esm/co-toggle-button-group.entry.js +3 -3
- package/dist/esm/co-toggle-button.entry.js +3 -3
- package/dist/esm/{co-avatar_2.entry.js → co-tooltip.entry.js} +3 -70
- package/dist/esm/co-video.entry.js +2 -2
- package/dist/esm/cobalt.js +1 -1
- package/dist/esm/{index-68iUQp5j.js → index-BBIYyvq-.js} +6717 -6654
- package/dist/esm/index-DH5lfRNj.js +16 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{normalizeText-CQY6Ul7q.js → normalizeText-Ba_v-MzM.js} +29 -18
- package/dist/esm/{toolbar-config-DOL2zACE.js → toolbar-config-BAYo-RBt.js} +13 -1
- package/dist/types/components/co-accordion/co-accordion.d.ts +17 -2
- package/dist/types/components/co-audio-player/co-audio-player.d.ts +25 -0
- package/dist/types/components/co-checkbox/co-checkbox.d.ts +4 -0
- package/dist/types/components/co-color-picker/co-color-picker.d.ts +4 -2
- package/dist/types/components/co-data-table/co-data-table.d.ts +15 -0
- package/dist/types/components/co-data-table/headerTruncationLogic.d.ts +24 -0
- package/dist/types/components/co-file-type-tile/co-file-type-tile.utils.d.ts +12 -0
- package/dist/types/components/co-input/co-input.d.ts +5 -1
- package/dist/types/components/co-modal/co-modal.d.ts +10 -0
- package/dist/types/components/co-option-list/co-option-list.d.ts +13 -0
- package/dist/types/components/co-option-list/optionListLogic.d.ts +23 -6
- package/dist/types/components/co-ref-field/co-ref-field.d.ts +38 -0
- package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +7 -0
- package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +4 -1
- package/dist/types/components/co-select/co-select.d.ts +6 -0
- package/dist/types/components.d.ts +120 -14
- package/dist/types/utils/normalizeText.d.ts +13 -0
- package/package.json +2 -2
- package/dist/cobalt/p-15d59169.entry.js +0 -1
- package/dist/cobalt/p-1788aab5.entry.js +0 -1
- package/dist/cobalt/p-20a39218.entry.js +0 -1
- package/dist/cobalt/p-3cc3ff93.entry.js +0 -1
- package/dist/cobalt/p-4908f33f.entry.js +0 -1
- package/dist/cobalt/p-63825d7f.entry.js +0 -1
- package/dist/cobalt/p-66b11b38.entry.js +0 -1
- package/dist/cobalt/p-6f700f0d.entry.js +0 -1
- package/dist/cobalt/p-83a9a05a.entry.js +0 -1
- package/dist/cobalt/p-85501c6a.entry.js +0 -1
- package/dist/cobalt/p-88195a63.entry.js +0 -1
- package/dist/cobalt/p-8fa5dc4a.entry.js +0 -1
- package/dist/cobalt/p-CQY6Ul7q.js +0 -1
- package/dist/cobalt/p-b0c4fc71.entry.js +0 -1
- package/dist/cobalt/p-b1e8d69e.entry.js +0 -1
- package/dist/cobalt/p-b48917c9.entry.js +0 -1
- package/dist/cobalt/p-c124e82b.entry.js +0 -1
- package/dist/cobalt/p-c32c176a.entry.js +0 -1
- package/dist/cobalt/p-e48f4e45.entry.js +0 -1
- package/dist/cobalt/p-e8a2f993.entry.js +0 -1
- package/dist/cobalt/p-eb8691f2.entry.js +0 -1
- package/dist/cobalt/p-ef5ca521.entry.js +0 -1
- package/dist/components/p-9ceBPSd1.js +0 -1
- package/dist/components/p-B2IsXte7.js +0 -1
- package/dist/components/p-BsTO1uUA.js +0 -1
- package/dist/components/p-CFFDmGPS.js +0 -1
- package/dist/components/p-CQY6Ul7q.js +0 -1
- package/dist/components/p-Cl3AdEQJ.js +0 -1
- package/dist/components/p-HxVRXXXC.js +0 -1
- package/dist/components/p-vby0ITbe.js +0 -1
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
/**
|
|
3
3
|
* @slot - Modal body content
|
|
4
|
+
* @slot header-leading - Control before the heading (e.g. a back arrow on a
|
|
5
|
+
* second screen of the same modal)
|
|
6
|
+
* @slot header-actions - Controls at the right end of the header (e.g. a settings
|
|
7
|
+
* icon-button), before the close button
|
|
4
8
|
* @slot footer - Footer with action buttons
|
|
9
|
+
* @part modal | header | header-text | heading | description | body | footer -
|
|
10
|
+
* layout/typography hooks for a consumer that must match a specific spec
|
|
11
|
+
* (paddings, heading weight); colors stay on semantic tokens
|
|
5
12
|
*/
|
|
6
13
|
export declare class CoModal {
|
|
7
14
|
/** Whether the modal is visible */
|
|
@@ -35,6 +42,9 @@ export declare class CoModal {
|
|
|
35
42
|
size: 'sm' | 'md' | 'lg' | 'full';
|
|
36
43
|
/** Hide body section and all border dividers (compact confirm dialogs) */
|
|
37
44
|
noDividers: boolean;
|
|
45
|
+
/** Hairline between header and body. `false` lets the body run straight
|
|
46
|
+
* under the heading (Figma modals whose first row is a segmented control). */
|
|
47
|
+
headerDivider: boolean;
|
|
38
48
|
/** Emitted when the modal requests to close */
|
|
39
49
|
coClose: EventEmitter<void>;
|
|
40
50
|
/** Close animation finished. */
|
|
@@ -120,6 +120,19 @@ export declare class CoOptionList {
|
|
|
120
120
|
connectedCallback(): void;
|
|
121
121
|
disconnectedCallback(): void;
|
|
122
122
|
onItemsChange(): void;
|
|
123
|
+
/**
|
|
124
|
+
* Selected-first VIVO (decisión de producto 2026-09-14, campo Colaboradores):
|
|
125
|
+
* la partición sigue a `value` — marcar un ítem lo sube al bloque de
|
|
126
|
+
* seleccionados al instante y desmarcarlo lo devuelve a su lugar del orden del
|
|
127
|
+
* server. Reemplaza el snapshot congelado al abrir (evitaba saltos, pero se
|
|
128
|
+
* leía como "no pasó nada" al elegir). El reacomodo se anima con el mismo FLIP
|
|
129
|
+
* del reorder: tops capturados ANTES de re-particionar, runFlip corre en
|
|
130
|
+
* componentDidRender. El highlight de teclado se queda sobre el MISMO ítem
|
|
131
|
+
* (Enter sobre una fila la mueve; el índice viejo apuntaría a otra fila).
|
|
132
|
+
* Tras un drop del reorder el host manda el value en el orden del preview:
|
|
133
|
+
* mismo orden → deltas 0 → no-op visual.
|
|
134
|
+
*/
|
|
135
|
+
onValueChange(): void;
|
|
123
136
|
/** Re-toma el snapshot selected-first. El host la llama al abrir su panel. */
|
|
124
137
|
snapshotOrder(): Promise<void>;
|
|
125
138
|
/**
|
|
@@ -47,14 +47,31 @@ export declare function parseValue(raw: string): string[];
|
|
|
47
47
|
* snapshotDisplay los que la página actual no contiene) + resto en orden de
|
|
48
48
|
* server; buscando → solo resultados reales, seleccionados primero.
|
|
49
49
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
50
|
+
* El bloque idle se recorre por `snapshotIds` (Set ordenado por selección, igual
|
|
51
|
+
* que `snapshotDisplay`) resolviendo cada id contra la página primero y contra el
|
|
52
|
+
* display después. Así un seleccionado AUSENTE de `snapshotDisplay` pero presente
|
|
53
|
+
* en `items` sigue en la lista: `rest` filtra todo id del snapshot, así que sin
|
|
54
|
+
* esa resolución desaparecía de la lista entera, no sólo del bloque de arriba.
|
|
55
|
+
* Un id que no está en ninguna de las dos fuentes no tiene nada que pintar y se
|
|
56
|
+
* ignora (no hay label que mostrar).
|
|
56
57
|
*/
|
|
57
58
|
export declare function orderItems(items: OptionListItem[], snapshotIds: Set<string>, snapshotDisplay: OptionListItem[], searching: boolean): OptionListItem[];
|
|
59
|
+
/**
|
|
60
|
+
* ¿Hay que re-tomar el snapshot selected-first por el cambio del término?
|
|
61
|
+
*
|
|
62
|
+
* Sólo en el flanco "había búsqueda → ya no": volver a la lista completa es un
|
|
63
|
+
* contexto de listado nuevo, y ahí el bloque de arriba tiene que incluir lo que
|
|
64
|
+
* se seleccionó DURANTE la sesión del panel. Sin esto, un panel abierto sin nada
|
|
65
|
+
* seleccionado se quedaba con el snapshot VACÍO para siempre (`orderItems`
|
|
66
|
+
* cortocircuita en `size === 0`): lo elegido mientras se buscaba desaparecía de
|
|
67
|
+
* la lista al limpiar el término, porque el servidor devuelve la página 1 y esos
|
|
68
|
+
* registros casi nunca están ahí. Se leía como "se deselecciona solo".
|
|
69
|
+
*
|
|
70
|
+
* El re-snapshot por SELECCIÓN no pasa por acá: vive en el componente
|
|
71
|
+
* (`@Watch('value')`, selected-first vivo desde 2026-09-14 — marcar sube la fila
|
|
72
|
+
* al instante). Esta función solo decide el flanco del TÉRMINO.
|
|
73
|
+
*/
|
|
74
|
+
export declare function shouldResnapshotOnTerm(prevTerm: string, nextTerm: string): boolean;
|
|
58
75
|
/** Aplana a filas de render insertando un header cuando `group` cambia
|
|
59
76
|
* (groupItems de co-command-search). `index` cuenta solo items. */
|
|
60
77
|
export declare function buildRows(items: OptionListItem[]): OptionListRow[];
|
|
@@ -100,6 +100,15 @@ export declare class CoRefField {
|
|
|
100
100
|
triggerBadgeIcon: string;
|
|
101
101
|
/** Accessible name / tooltip for the trigger badge. */
|
|
102
102
|
triggerBadgeLabel: string;
|
|
103
|
+
/**
|
|
104
|
+
* Valor HEREDADO: texto que se pinta cuando NO hay valor, en lugar del
|
|
105
|
+
* placeholder, para mostrar lo que aplica por defecto (p. ej. el layout
|
|
106
|
+
* predeterminado del workspace en Deal.proposal.template.layout). No es un
|
|
107
|
+
* valor: `value` sigue vacío y no hay ×. Vacío = placeholder de siempre.
|
|
108
|
+
*/
|
|
109
|
+
inheritedLabel: string;
|
|
110
|
+
/** Chip outlined junto al valor heredado (p. ej. 'Predeterminado'). Solo con inheritedLabel. */
|
|
111
|
+
inheritedBadgeLabel: string;
|
|
103
112
|
/**
|
|
104
113
|
* Fixed panel width (CSS size, e.g. '264px'). By default the panel matches
|
|
105
114
|
* the trigger width (form-field convention); set this for compact triggers
|
|
@@ -143,6 +152,13 @@ export declare class CoRefField {
|
|
|
143
152
|
coEditSelected: EventEmitter<string>;
|
|
144
153
|
el: HTMLElement;
|
|
145
154
|
private triggerEl?;
|
|
155
|
+
/** Tooltip del valor heredado: co-tooltip lee `disabled` en el mouseenter
|
|
156
|
+
* (scheduleShow), así que el truncado se mide ANTES del hover — al montar /
|
|
157
|
+
* redimensionar el span (RO propio: el de los chips hace disconnect() por
|
|
158
|
+
* render) y al cambiar el texto — nunca en el hover mismo. */
|
|
159
|
+
private inheritedTruncated;
|
|
160
|
+
private inheritedEl?;
|
|
161
|
+
private inheritedResizeObserver?;
|
|
146
162
|
/**
|
|
147
163
|
* Id del <co-option-list> del panel, target de `aria-controls` del trigger.
|
|
148
164
|
* Constante (no aleatoria): vive en el shadow root de ESTA instancia, donde
|
|
@@ -165,6 +181,11 @@ export declare class CoRefField {
|
|
|
165
181
|
private lastChipsKey;
|
|
166
182
|
private resizeObserver?;
|
|
167
183
|
private pendingFocus;
|
|
184
|
+
/** El host proyecta su PROPIO panel (`<div slot="panel">`: galería, grid…)
|
|
185
|
+
* en lugar de la co-option-list. Se detecta al ABRIR — los hijos light-DOM
|
|
186
|
+
* ya existen y el panel se monta on-demand — y el host cierra/selecciona
|
|
187
|
+
* vía los métodos `selectOption`/`closePanel`. El footer se conserva. */
|
|
188
|
+
private hasPanelSlot;
|
|
168
189
|
private get parsedOptions();
|
|
169
190
|
private get parsedSelectedDisplay();
|
|
170
191
|
/**
|
|
@@ -185,12 +206,26 @@ export declare class CoRefField {
|
|
|
185
206
|
onOpenChange(isOpen: boolean): void;
|
|
186
207
|
private handlePopoverOpen;
|
|
187
208
|
private handlePopoverClose;
|
|
209
|
+
onInheritedLabelChange(): void;
|
|
210
|
+
private measureInherited;
|
|
211
|
+
private setInheritedEl;
|
|
188
212
|
private handleTriggerClick;
|
|
189
213
|
private handleTriggerKeyDown;
|
|
190
214
|
/** Devuelve el foco al trigger al cerrar el panel (Escape, selección),
|
|
191
215
|
* salvo que el cierre venga de un click-outside que ya movió el foco a
|
|
192
216
|
* otro elemento — en ese caso no robarlo. */
|
|
193
217
|
private restoreTriggerFocus;
|
|
218
|
+
/** Selección desde un panel proyectado (slot `panel`): mismo contrato que un
|
|
219
|
+
* click en la co-option-list — actualiza `value`, emite `coChange` con
|
|
220
|
+
* `{ value, item }` y cierra en single. */
|
|
221
|
+
selectOption(option: RefFieldOption): Promise<void>;
|
|
222
|
+
/** Cierra el panel (Escape/Enter manejados por un panel proyectado). */
|
|
223
|
+
closePanel(): Promise<void>;
|
|
224
|
+
/** Abre el panel. Espejo de `closePanel` para un panel proyectado que se
|
|
225
|
+
* cierra a sí mismo (p.ej. para mostrar un modal — un click dentro de un
|
|
226
|
+
* co-modal cuenta como click-outside del popover) y quiere volver a abrirse
|
|
227
|
+
* después. No-op si está disabled, igual que el trigger. */
|
|
228
|
+
openPanel(): Promise<void>;
|
|
194
229
|
/** Change de la co-option-list: `value: null` = deselección explícita (la X
|
|
195
230
|
* de la fila) → mismo camino que la X del trigger (clear + coClear). El
|
|
196
231
|
* resto sigue por handleOptionClick con el ítem. */
|
|
@@ -212,6 +247,9 @@ export declare class CoRefField {
|
|
|
212
247
|
private renderItemAvatar;
|
|
213
248
|
private renderSingleValue;
|
|
214
249
|
private renderMultipleValue;
|
|
250
|
+
/** Botones del footer. `slotted`: dentro de la co-option-list van por su
|
|
251
|
+
* slot `footer`; en el panel proyectado se pintan directo bajo el slot. */
|
|
252
|
+
private renderFooter;
|
|
215
253
|
private renderPanel;
|
|
216
254
|
render(): any;
|
|
217
255
|
}
|
|
@@ -40,6 +40,13 @@ export declare class CoRichTextEditor {
|
|
|
40
40
|
autofocus: boolean;
|
|
41
41
|
/** Toolbar layout. `auto` uses the preset default. */
|
|
42
42
|
toolbar: ToolbarVariant;
|
|
43
|
+
/** Where the toolbar sits. `bottom` moves it under the content, into a row that also
|
|
44
|
+
* exposes a `toolbar-end` light-DOM slot (this component is `shadow: false`) for the
|
|
45
|
+
* consumer's footer (hint, submit). The row renders whenever the mode is `bottom`, even
|
|
46
|
+
* while the toolbar itself is hidden (disabled/readonly): keep the slotted child ALWAYS
|
|
47
|
+
* mounted and toggle its insides — a placeholder that comes and goes desyncs Stencil's
|
|
48
|
+
* slot relocation with the consumer's vdom. */
|
|
49
|
+
toolbarPosition: 'top' | 'bottom';
|
|
43
50
|
/** Feature overrides (JSON string for HTML attr, or object via JS property). */
|
|
44
51
|
features?: string | object;
|
|
45
52
|
/**
|
|
@@ -14,7 +14,10 @@ export declare class CoRichTextToolbar {
|
|
|
14
14
|
/** Editor instance (set as a property by the host editor). */
|
|
15
15
|
editor?: Editor;
|
|
16
16
|
/** Toolbar layout variant. */
|
|
17
|
-
variant: 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'full';
|
|
17
|
+
variant: 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'email' | 'full';
|
|
18
|
+
/** Placement inside co-rich-text-editor. `bottom` drops the toolbar's own bottom
|
|
19
|
+
* border/background/rounding: the editor's toolbar row paints the separator. */
|
|
20
|
+
position: 'top' | 'bottom';
|
|
18
21
|
disabled: boolean;
|
|
19
22
|
/** BCP-47 locale for UI strings (e.g. 'en', 'es-CO', 'pt-BR'). Default English. */
|
|
20
23
|
locale: string;
|
|
@@ -9,6 +9,12 @@ export interface SelectOption {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class CoSelect {
|
|
11
11
|
label?: string;
|
|
12
|
+
/** Accessible name for the combobox when there is NO visible `label` (compact
|
|
13
|
+
* rows that drop the field label). Same `ariaLabelText` precedent as
|
|
14
|
+
* co-button / co-icon-button / co-fab. `label` still wins as the visible
|
|
15
|
+
* name; this only fills the gap — an `aria-label` on the host never crosses
|
|
16
|
+
* the shadow boundary, so without it a label-less select is nameless. */
|
|
17
|
+
ariaLabelText?: string;
|
|
12
18
|
/** Whether the field is required (renders a required marker on the label). */
|
|
13
19
|
required: boolean;
|
|
14
20
|
secondaryLabel?: string;
|
|
@@ -55,8 +55,10 @@ export { CoToastActionsLayout, CoToastVariant } from "./components/co-toast/co-t
|
|
|
55
55
|
export { TransferOption } from "./components/co-transfer-list/co-transfer-list";
|
|
56
56
|
export namespace Components {
|
|
57
57
|
/**
|
|
58
|
-
* Collapsible section. The caret button is the
|
|
59
|
-
* the
|
|
58
|
+
* Collapsible section. The caret button is the accessible toggle (keyboard,
|
|
59
|
+
* `aria-expanded`); clicking the heading/subheading text toggles too (2026-09-17),
|
|
60
|
+
* EXCEPT when the click lands on interactive content slotted into the header
|
|
61
|
+
* (a button, link or field) — that content keeps its own behaviour.
|
|
60
62
|
*/
|
|
61
63
|
interface CoAccordion {
|
|
62
64
|
/**
|
|
@@ -163,11 +165,19 @@ export namespace Components {
|
|
|
163
165
|
* @default false
|
|
164
166
|
*/
|
|
165
167
|
"noDownload": boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Start playback if it is not already running (no-op on a failed load).
|
|
170
|
+
*/
|
|
171
|
+
"play": () => Promise<void>;
|
|
166
172
|
/**
|
|
167
173
|
* Passthrough to the underlying <audio> preload.
|
|
168
174
|
* @default 'metadata'
|
|
169
175
|
*/
|
|
170
176
|
"preload": 'none' | 'metadata';
|
|
177
|
+
/**
|
|
178
|
+
* Move the playhead. Clamped to `[0, duration]`: `audio.currentTime` takes a restricted double and THROWS on a non-finite value, and a duration that is not known yet reads as 0 (see `knownDuration`).
|
|
179
|
+
*/
|
|
180
|
+
"seek": (seconds: number) => Promise<void>;
|
|
171
181
|
/**
|
|
172
182
|
* Audio URL (use a signedUrl for private buckets).
|
|
173
183
|
*/
|
|
@@ -834,6 +844,10 @@ export namespace Components {
|
|
|
834
844
|
* @default 'default'
|
|
835
845
|
*/
|
|
836
846
|
"appearance": 'default' | 'overlay';
|
|
847
|
+
/**
|
|
848
|
+
* Accessible name when there is NO visible `label` (icon-less row toggles). Same `ariaLabelText` precedent as co-button; `label` wins when present. An `aria-label` on the host never reaches the inner role="checkbox".
|
|
849
|
+
*/
|
|
850
|
+
"ariaLabelText"?: string;
|
|
837
851
|
/**
|
|
838
852
|
* Whether the checkbox is checked
|
|
839
853
|
* @default false
|
|
@@ -2638,9 +2652,9 @@ export namespace Components {
|
|
|
2638
2652
|
*/
|
|
2639
2653
|
"secondaryLabel"?: string;
|
|
2640
2654
|
/**
|
|
2641
|
-
*
|
|
2655
|
+
* Enfoca el input nativo. `options` se reenvía a `focus()` — p. ej. `{ preventScroll: true }` para un buscador que vive en un panel top-layer (co-popover): el scroll nativo hacia el foco trepa por los ancestros del light DOM y arrastra al host (drawer) sin necesidad.
|
|
2642
2656
|
*/
|
|
2643
|
-
"setFocus": () => Promise<void>;
|
|
2657
|
+
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
2644
2658
|
/**
|
|
2645
2659
|
* Size variant: s (28px), sm (32px), md (40px, default), lg (48px). In the filled search-pill variant (`fill`) this drives the pill height instead (s ≈ 38px).
|
|
2646
2660
|
* @default 'md'
|
|
@@ -3024,6 +3038,11 @@ export namespace Components {
|
|
|
3024
3038
|
* Subtitle / description
|
|
3025
3039
|
*/
|
|
3026
3040
|
"description"?: string;
|
|
3041
|
+
/**
|
|
3042
|
+
* Hairline between header and body. `false` lets the body run straight under the heading (Figma modals whose first row is a segmented control).
|
|
3043
|
+
* @default true
|
|
3044
|
+
*/
|
|
3045
|
+
"headerDivider": boolean;
|
|
3027
3046
|
/**
|
|
3028
3047
|
* Modal title
|
|
3029
3048
|
* @default ''
|
|
@@ -3598,6 +3617,10 @@ export namespace Components {
|
|
|
3598
3617
|
* @default true
|
|
3599
3618
|
*/
|
|
3600
3619
|
"clearable": boolean;
|
|
3620
|
+
/**
|
|
3621
|
+
* Cierra el panel (Escape/Enter manejados por un panel proyectado).
|
|
3622
|
+
*/
|
|
3623
|
+
"closePanel": () => Promise<void>;
|
|
3601
3624
|
/**
|
|
3602
3625
|
* How `item.color` paints the selected chips (multiple mode). 'dot' (default) = neutral chip with a leading 8px color dot. 'fill' = the color becomes the chip BACKGROUND (label/remove switch to WCAG-contrast text) — the tag look. Avatar/image items keep the avatar.
|
|
3603
3626
|
* @default 'dot'
|
|
@@ -3633,6 +3656,16 @@ export namespace Components {
|
|
|
3633
3656
|
"footerSecondaryLabel": string;
|
|
3634
3657
|
"helperText"?: string;
|
|
3635
3658
|
"iconLeft"?: string;
|
|
3659
|
+
/**
|
|
3660
|
+
* Chip outlined junto al valor heredado (p. ej. 'Predeterminado'). Solo con inheritedLabel.
|
|
3661
|
+
* @default ''
|
|
3662
|
+
*/
|
|
3663
|
+
"inheritedBadgeLabel": string;
|
|
3664
|
+
/**
|
|
3665
|
+
* Valor HEREDADO: texto que se pinta cuando NO hay valor, en lugar del placeholder, para mostrar lo que aplica por defecto (p. ej. el layout predeterminado del workspace en Deal.proposal.template.layout). No es un valor: `value` sigue vacío y no hay ×. Vacío = placeholder de siempre.
|
|
3666
|
+
* @default ''
|
|
3667
|
+
*/
|
|
3668
|
+
"inheritedLabel": string;
|
|
3636
3669
|
"label"?: string;
|
|
3637
3670
|
/**
|
|
3638
3671
|
* Phosphor icon name rendered before the label text.
|
|
@@ -3662,6 +3695,10 @@ export namespace Components {
|
|
|
3662
3695
|
* @default false
|
|
3663
3696
|
*/
|
|
3664
3697
|
"multiple": boolean;
|
|
3698
|
+
/**
|
|
3699
|
+
* Abre el panel. Espejo de `closePanel` para un panel proyectado que se cierra a sí mismo (p.ej. para mostrar un modal — un click dentro de un co-modal cuenta como click-outside del popover) y quiere volver a abrirse después. No-op si está disabled, igual que el trigger.
|
|
3700
|
+
*/
|
|
3701
|
+
"openPanel": () => Promise<void>;
|
|
3665
3702
|
/**
|
|
3666
3703
|
* JSON array of options to display: RefFieldOption[]
|
|
3667
3704
|
* @default '[]'
|
|
@@ -3703,6 +3740,10 @@ export namespace Components {
|
|
|
3703
3740
|
*/
|
|
3704
3741
|
"searchable": boolean;
|
|
3705
3742
|
"secondaryLabel"?: string;
|
|
3743
|
+
/**
|
|
3744
|
+
* Selección desde un panel proyectado (slot `panel`): mismo contrato que un click en la co-option-list — actualiza `value`, emite `coChange` con `{ value, item }` y cierra en single.
|
|
3745
|
+
*/
|
|
3746
|
+
"selectOption": (option: RefFieldOption) => Promise<void>;
|
|
3706
3747
|
/**
|
|
3707
3748
|
* JSON array of display items for selected values: RefFieldDisplayItem[]
|
|
3708
3749
|
* @default '[]'
|
|
@@ -3846,6 +3887,11 @@ export namespace Components {
|
|
|
3846
3887
|
* @default 'auto'
|
|
3847
3888
|
*/
|
|
3848
3889
|
"toolbar": ToolbarVariant;
|
|
3890
|
+
/**
|
|
3891
|
+
* Where the toolbar sits. `bottom` moves it under the content, into a row that also exposes a `toolbar-end` light-DOM slot (this component is `shadow: false`) for the consumer's footer (hint, submit). The row renders whenever the mode is `bottom`, even while the toolbar itself is hidden (disabled/readonly): keep the slotted child ALWAYS mounted and toggle its insides — a placeholder that comes and goes desyncs Stencil's slot relocation with the consumer's vdom.
|
|
3892
|
+
* @default 'top'
|
|
3893
|
+
*/
|
|
3894
|
+
"toolbarPosition": 'top' | 'bottom';
|
|
3849
3895
|
/**
|
|
3850
3896
|
* ProseMirror document as a JSON string. `null`/empty = empty editor.
|
|
3851
3897
|
* @default null
|
|
@@ -3890,11 +3936,16 @@ export namespace Components {
|
|
|
3890
3936
|
* @default 'en'
|
|
3891
3937
|
*/
|
|
3892
3938
|
"locale": string;
|
|
3939
|
+
/**
|
|
3940
|
+
* Placement inside co-rich-text-editor. `bottom` drops the toolbar's own bottom border/background/rounding: the editor's toolbar row paints the separator.
|
|
3941
|
+
* @default 'top'
|
|
3942
|
+
*/
|
|
3943
|
+
"position": 'top' | 'bottom';
|
|
3893
3944
|
/**
|
|
3894
3945
|
* Toolbar layout variant.
|
|
3895
3946
|
* @default 'basic'
|
|
3896
3947
|
*/
|
|
3897
|
-
"variant": 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'full';
|
|
3948
|
+
"variant": 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'email' | 'full';
|
|
3898
3949
|
}
|
|
3899
3950
|
interface CoRichTextViewer {
|
|
3900
3951
|
/**
|
|
@@ -3974,6 +4025,10 @@ export namespace Components {
|
|
|
3974
4025
|
"trackColor": string;
|
|
3975
4026
|
}
|
|
3976
4027
|
interface CoSelect {
|
|
4028
|
+
/**
|
|
4029
|
+
* Accessible name for the combobox when there is NO visible `label` (compact rows that drop the field label). Same `ariaLabelText` precedent as co-button / co-icon-button / co-fab. `label` still wins as the visible name; this only fills the gap — an `aria-label` on the host never crosses the shadow boundary, so without it a label-less select is nameless.
|
|
4030
|
+
*/
|
|
4031
|
+
"ariaLabelText"?: string;
|
|
3977
4032
|
/**
|
|
3978
4033
|
* @default false
|
|
3979
4034
|
*/
|
|
@@ -5108,8 +5163,10 @@ declare global {
|
|
|
5108
5163
|
"coToggle": boolean;
|
|
5109
5164
|
}
|
|
5110
5165
|
/**
|
|
5111
|
-
* Collapsible section. The caret button is the
|
|
5112
|
-
* the
|
|
5166
|
+
* Collapsible section. The caret button is the accessible toggle (keyboard,
|
|
5167
|
+
* `aria-expanded`); clicking the heading/subheading text toggles too (2026-09-17),
|
|
5168
|
+
* EXCEPT when the click lands on interactive content slotted into the header
|
|
5169
|
+
* (a button, link or field) — that content keeps its own behaviour.
|
|
5113
5170
|
*/
|
|
5114
5171
|
interface HTMLCoAccordionElement extends Components.CoAccordion, HTMLStencilElement {
|
|
5115
5172
|
addEventListener<K extends keyof HTMLCoAccordionElementEventMap>(type: K, listener: (this: HTMLCoAccordionElement, ev: CoAccordionCustomEvent<HTMLCoAccordionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -5184,6 +5241,7 @@ declare global {
|
|
|
5184
5241
|
"coPause": void;
|
|
5185
5242
|
"coEnded": void;
|
|
5186
5243
|
"coError": unknown;
|
|
5244
|
+
"coTimeUpdate": { currentTime: number; duration: number };
|
|
5187
5245
|
}
|
|
5188
5246
|
interface HTMLCoAudioPlayerElement extends Components.CoAudioPlayer, HTMLStencilElement {
|
|
5189
5247
|
addEventListener<K extends keyof HTMLCoAudioPlayerElementEventMap>(type: K, listener: (this: HTMLCoAudioPlayerElement, ev: CoAudioPlayerCustomEvent<HTMLCoAudioPlayerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -7143,8 +7201,10 @@ declare namespace LocalJSX {
|
|
|
7143
7201
|
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
7144
7202
|
|
|
7145
7203
|
/**
|
|
7146
|
-
* Collapsible section. The caret button is the
|
|
7147
|
-
* the
|
|
7204
|
+
* Collapsible section. The caret button is the accessible toggle (keyboard,
|
|
7205
|
+
* `aria-expanded`); clicking the heading/subheading text toggles too (2026-09-17),
|
|
7206
|
+
* EXCEPT when the click lands on interactive content slotted into the header
|
|
7207
|
+
* (a button, link or field) — that content keeps its own behaviour.
|
|
7148
7208
|
*/
|
|
7149
7209
|
interface CoAccordion {
|
|
7150
7210
|
/**
|
|
@@ -7158,7 +7218,7 @@ declare namespace LocalJSX {
|
|
|
7158
7218
|
*/
|
|
7159
7219
|
"heading"?: string;
|
|
7160
7220
|
/**
|
|
7161
|
-
*
|
|
7221
|
+
* Nuevo estado tras el click en el caret. `bubbles: false`: es un evento de ESTADO del propio acordeón y todo consumidor lo escucha en su host — si burbujeara, colapsar un fieldset anidado (FieldObject dentro de otra sección) colapsaba también al padre, cuyo handler hace `open = e.detail`.
|
|
7162
7222
|
*/
|
|
7163
7223
|
"onCoToggle"?: (event: CoAccordionCustomEvent<boolean>) => void;
|
|
7164
7224
|
/**
|
|
@@ -7267,6 +7327,10 @@ declare namespace LocalJSX {
|
|
|
7267
7327
|
"onCoError"?: (event: CoAudioPlayerCustomEvent<unknown>) => void;
|
|
7268
7328
|
"onCoPause"?: (event: CoAudioPlayerCustomEvent<void>) => void;
|
|
7269
7329
|
"onCoPlay"?: (event: CoAudioPlayerCustomEvent<void>) => void;
|
|
7330
|
+
/**
|
|
7331
|
+
* Playback position, on the `<audio>` element's own `timeupdate` cadence (~4×/s while playing, plus every seek). Exists so a host can follow the playhead — a transcript highlighting the line being spoken, for one — without reaching into this component's shadow DOM for its `<audio>`.
|
|
7332
|
+
*/
|
|
7333
|
+
"onCoTimeUpdate"?: (event: CoAudioPlayerCustomEvent<{ currentTime: number; duration: number }>) => void;
|
|
7270
7334
|
/**
|
|
7271
7335
|
* Passthrough to the underlying <audio> preload.
|
|
7272
7336
|
* @default 'metadata'
|
|
@@ -8009,6 +8073,10 @@ declare namespace LocalJSX {
|
|
|
8009
8073
|
* @default 'default'
|
|
8010
8074
|
*/
|
|
8011
8075
|
"appearance"?: 'default' | 'overlay';
|
|
8076
|
+
/**
|
|
8077
|
+
* Accessible name when there is NO visible `label` (icon-less row toggles). Same `ariaLabelText` precedent as co-button; `label` wins when present. An `aria-label` on the host never reaches the inner role="checkbox".
|
|
8078
|
+
*/
|
|
8079
|
+
"ariaLabelText"?: string;
|
|
8012
8080
|
/**
|
|
8013
8081
|
* Whether the checkbox is checked
|
|
8014
8082
|
* @default false
|
|
@@ -10529,6 +10597,11 @@ declare namespace LocalJSX {
|
|
|
10529
10597
|
* Subtitle / description
|
|
10530
10598
|
*/
|
|
10531
10599
|
"description"?: string;
|
|
10600
|
+
/**
|
|
10601
|
+
* Hairline between header and body. `false` lets the body run straight under the heading (Figma modals whose first row is a segmented control).
|
|
10602
|
+
* @default true
|
|
10603
|
+
*/
|
|
10604
|
+
"headerDivider"?: boolean;
|
|
10532
10605
|
/**
|
|
10533
10606
|
* Modal title
|
|
10534
10607
|
* @default ''
|
|
@@ -11184,6 +11257,16 @@ declare namespace LocalJSX {
|
|
|
11184
11257
|
"footerSecondaryLabel"?: string;
|
|
11185
11258
|
"helperText"?: string;
|
|
11186
11259
|
"iconLeft"?: string;
|
|
11260
|
+
/**
|
|
11261
|
+
* Chip outlined junto al valor heredado (p. ej. 'Predeterminado'). Solo con inheritedLabel.
|
|
11262
|
+
* @default ''
|
|
11263
|
+
*/
|
|
11264
|
+
"inheritedBadgeLabel"?: string;
|
|
11265
|
+
/**
|
|
11266
|
+
* Valor HEREDADO: texto que se pinta cuando NO hay valor, en lugar del placeholder, para mostrar lo que aplica por defecto (p. ej. el layout predeterminado del workspace en Deal.proposal.template.layout). No es un valor: `value` sigue vacío y no hay ×. Vacío = placeholder de siempre.
|
|
11267
|
+
* @default ''
|
|
11268
|
+
*/
|
|
11269
|
+
"inheritedLabel"?: string;
|
|
11187
11270
|
"label"?: string;
|
|
11188
11271
|
/**
|
|
11189
11272
|
* Phosphor icon name rendered before the label text.
|
|
@@ -11438,6 +11521,11 @@ declare namespace LocalJSX {
|
|
|
11438
11521
|
* @default 'auto'
|
|
11439
11522
|
*/
|
|
11440
11523
|
"toolbar"?: ToolbarVariant;
|
|
11524
|
+
/**
|
|
11525
|
+
* Where the toolbar sits. `bottom` moves it under the content, into a row that also exposes a `toolbar-end` light-DOM slot (this component is `shadow: false`) for the consumer's footer (hint, submit). The row renders whenever the mode is `bottom`, even while the toolbar itself is hidden (disabled/readonly): keep the slotted child ALWAYS mounted and toggle its insides — a placeholder that comes and goes desyncs Stencil's slot relocation with the consumer's vdom.
|
|
11526
|
+
* @default 'top'
|
|
11527
|
+
*/
|
|
11528
|
+
"toolbarPosition"?: 'top' | 'bottom';
|
|
11441
11529
|
/**
|
|
11442
11530
|
* ProseMirror document as a JSON string. `null`/empty = empty editor.
|
|
11443
11531
|
* @default null
|
|
@@ -11494,11 +11582,16 @@ declare namespace LocalJSX {
|
|
|
11494
11582
|
* Emitted when a toolbar popover/dropdown opens or closes (host hides the selection bubble while one is open to avoid spatial overlap).
|
|
11495
11583
|
*/
|
|
11496
11584
|
"onCoPopoverChange"?: (event: CoRichTextToolbarCustomEvent<{ open: boolean }>) => void;
|
|
11585
|
+
/**
|
|
11586
|
+
* Placement inside co-rich-text-editor. `bottom` drops the toolbar's own bottom border/background/rounding: the editor's toolbar row paints the separator.
|
|
11587
|
+
* @default 'top'
|
|
11588
|
+
*/
|
|
11589
|
+
"position"?: 'top' | 'bottom';
|
|
11497
11590
|
/**
|
|
11498
11591
|
* Toolbar layout variant.
|
|
11499
11592
|
* @default 'basic'
|
|
11500
11593
|
*/
|
|
11501
|
-
"variant"?: 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'full';
|
|
11594
|
+
"variant"?: 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'email' | 'full';
|
|
11502
11595
|
}
|
|
11503
11596
|
interface CoRichTextViewer {
|
|
11504
11597
|
/**
|
|
@@ -11578,6 +11671,10 @@ declare namespace LocalJSX {
|
|
|
11578
11671
|
"trackColor"?: string;
|
|
11579
11672
|
}
|
|
11580
11673
|
interface CoSelect {
|
|
11674
|
+
/**
|
|
11675
|
+
* Accessible name for the combobox when there is NO visible `label` (compact rows that drop the field label). Same `ariaLabelText` precedent as co-button / co-icon-button / co-fab. `label` still wins as the visible name; this only fills the gap — an `aria-label` on the host never crosses the shadow boundary, so without it a label-less select is nameless.
|
|
11676
|
+
*/
|
|
11677
|
+
"ariaLabelText"?: string;
|
|
11581
11678
|
/**
|
|
11582
11679
|
* @default false
|
|
11583
11680
|
*/
|
|
@@ -12709,6 +12806,7 @@ declare namespace LocalJSX {
|
|
|
12709
12806
|
"size": 'small' | 'medium' | 'large';
|
|
12710
12807
|
"disabled": boolean;
|
|
12711
12808
|
"label": string;
|
|
12809
|
+
"ariaLabelText": string;
|
|
12712
12810
|
"value": string;
|
|
12713
12811
|
"checkedColor": string;
|
|
12714
12812
|
"appearance": 'default' | 'overlay';
|
|
@@ -13213,6 +13311,7 @@ declare namespace LocalJSX {
|
|
|
13213
13311
|
"closeOnEscape": boolean;
|
|
13214
13312
|
"size": 'sm' | 'md' | 'lg' | 'full';
|
|
13215
13313
|
"noDividers": boolean;
|
|
13314
|
+
"headerDivider": boolean;
|
|
13216
13315
|
}
|
|
13217
13316
|
interface CoNavbarAttributes {
|
|
13218
13317
|
"variant": 'default' | 'filled' | 'bordered' | 'dark';
|
|
@@ -13379,6 +13478,8 @@ declare namespace LocalJSX {
|
|
|
13379
13478
|
"colorMode": 'dot' | 'fill';
|
|
13380
13479
|
"triggerBadgeIcon": string;
|
|
13381
13480
|
"triggerBadgeLabel": string;
|
|
13481
|
+
"inheritedLabel": string;
|
|
13482
|
+
"inheritedBadgeLabel": string;
|
|
13382
13483
|
"panelWidth": string;
|
|
13383
13484
|
"avatarShape": 'circle' | 'square';
|
|
13384
13485
|
"pinnable": boolean;
|
|
@@ -13400,6 +13501,7 @@ declare namespace LocalJSX {
|
|
|
13400
13501
|
"showCharacterCount": boolean;
|
|
13401
13502
|
"autofocus": boolean;
|
|
13402
13503
|
"toolbar": ToolbarVariant;
|
|
13504
|
+
"toolbarPosition": 'top' | 'bottom';
|
|
13403
13505
|
"features": string | object;
|
|
13404
13506
|
"attachmentsEnabled": boolean;
|
|
13405
13507
|
"attachmentAccept": string;
|
|
@@ -13409,7 +13511,8 @@ declare namespace LocalJSX {
|
|
|
13409
13511
|
"locale": string;
|
|
13410
13512
|
}
|
|
13411
13513
|
interface CoRichTextToolbarAttributes {
|
|
13412
|
-
"variant": 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'full';
|
|
13514
|
+
"variant": 'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'email' | 'full';
|
|
13515
|
+
"position": 'top' | 'bottom';
|
|
13413
13516
|
"disabled": boolean;
|
|
13414
13517
|
"locale": string;
|
|
13415
13518
|
"attachmentsEnabled": boolean;
|
|
@@ -13436,6 +13539,7 @@ declare namespace LocalJSX {
|
|
|
13436
13539
|
}
|
|
13437
13540
|
interface CoSelectAttributes {
|
|
13438
13541
|
"label": string;
|
|
13542
|
+
"ariaLabelText": string;
|
|
13439
13543
|
"required": boolean;
|
|
13440
13544
|
"secondaryLabel": string;
|
|
13441
13545
|
"placeholder": string;
|
|
@@ -13748,8 +13852,10 @@ declare module "@stencil/core" {
|
|
|
13748
13852
|
export namespace JSX {
|
|
13749
13853
|
interface IntrinsicElements {
|
|
13750
13854
|
/**
|
|
13751
|
-
* Collapsible section. The caret button is the
|
|
13752
|
-
* the
|
|
13855
|
+
* Collapsible section. The caret button is the accessible toggle (keyboard,
|
|
13856
|
+
* `aria-expanded`); clicking the heading/subheading text toggles too (2026-09-17),
|
|
13857
|
+
* EXCEPT when the click lands on interactive content slotted into the header
|
|
13858
|
+
* (a button, link or field) — that content keeps its own behaviour.
|
|
13753
13859
|
*/
|
|
13754
13860
|
"co-accordion": LocalJSX.IntrinsicElements["co-accordion"] & JSXBase.HTMLAttributes<HTMLCoAccordionElement>;
|
|
13755
13861
|
/**
|
|
@@ -31,6 +31,19 @@ export declare function highlightMatch(label: string, query: string): {
|
|
|
31
31
|
match: string;
|
|
32
32
|
post: string;
|
|
33
33
|
} | null;
|
|
34
|
+
/**
|
|
35
|
+
* ALL (diacritic/case-insensitive, non-overlapping) occurrences of `query` in
|
|
36
|
+
* `label`, as ordered segments `{ text, match }` sliced from the ORIGINAL label
|
|
37
|
+
* (accents intact; codepoint-safe, same index mapping as `highlightMatch`).
|
|
38
|
+
* Null when the query is blank or nothing matches. The filters are
|
|
39
|
+
* substring-anywhere, so a label can match more than once — "Producto (U.D) -
|
|
40
|
+
* PR Completa" · "pr" — and a highlighter that wraps only the first occurrence
|
|
41
|
+
* marks "Pr" and leaves the "PR" the user is looking at unmarked.
|
|
42
|
+
*/
|
|
43
|
+
export declare function highlightSegments(label: string, query: string): Array<{
|
|
44
|
+
text: string;
|
|
45
|
+
match: boolean;
|
|
46
|
+
}> | null;
|
|
34
47
|
/**
|
|
35
48
|
* Filter `items` to those matching `query` and sort by relevance (best first),
|
|
36
49
|
* stable within a score tier (original order preserved on ties). `getText`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prolibu-suite/cobalt-core",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "Cobalt Design System — Framework-agnostic Web Components built with Stencil",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"dompurify": "^3.2.6",
|
|
52
52
|
"overlayscrollbars": "^2.16.0",
|
|
53
53
|
"@prolibu-suite/cobalt-calendar-utils": "0.1.0",
|
|
54
|
+
"@prolibu-suite/cobalt-rich-text": "0.1.3",
|
|
54
55
|
"@prolibu-suite/cobalt-date-utils": "0.1.1",
|
|
55
|
-
"@prolibu-suite/cobalt-rich-text": "0.1.2",
|
|
56
56
|
"@prolibu-suite/cobalt-tokens": "0.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,c as i,h as a,a as c}from"./p-DH5lfRNj.js";const e=class{constructor(a){o(this,a),this.coToggle=i(this,"coToggle",7),this.open=!0,this.heading="",this.subheading="",this.disabled=!1,this.hasSubheadingSlot=!1,this.handleToggle=()=>{this.disabled||(this.open=!this.open,this.coToggle.emit(this.open))}}componentWillLoad(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}componentWillRender(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}get showSubheading(){return!(!this.subheading||!this.subheading.trim())||this.hasSubheadingSlot}render(){return a("div",{key:"4e2089349432ce39bb797397aacaebd022fcbcee",class:{"co-accordion":!0,"co-accordion--open":this.open,"co-accordion--disabled":this.disabled},part:"accordion"},a("div",{key:"4337878858bd31822201a925010f3150568fa056",class:"co-accordion__header",part:"header"},a("span",{key:"cf69c69cc786981ca6bd54bd0f6a6c38a3baa0b6",class:"co-accordion__heading-group"},a("span",{key:"0e7efd52e6d48c35ce0270485e8ce6099c6a3302",class:"co-accordion__heading",part:"heading"},a("slot",{key:"b575ce7ae5611007490724f430819f083781f84d",name:"header"},this.heading)),this.showSubheading&&a("span",{key:"996a58f3f3b5cd656849b413b0f998675452cc2f",class:"co-accordion__subheading",part:"subheading"},a("slot",{key:"a9029aa67f51162ad54c010d23bf20545883ef45",name:"subheading"},this.subheading))),a("button",{key:"757286aaf2914fe7d32fc14ab0f5de57ffeab48c",class:"co-accordion__caret",type:"button","aria-expanded":this.open?"true":"false","aria-label":this.heading||"Toggle section",disabled:this.disabled,onClick:this.handleToggle,part:"caret"},a("co-icon",{key:"b4c3c96489a30607727a44955dbff2d504ef2b6e",name:"caret-up",size:20}))),a("div",{key:"bd56b12cbd7484f61fec140740312800536d7b18",class:"co-accordion__body",part:"body"},a("div",{key:"1f2ff56e7bd7a49f8484c988ecdf434d108ef4ed",class:"co-accordion__body-inner",part:"body-inner"},a("slot",{key:"25ef25609ccece786a05709d90a32e7e135fec72"}))))}get el(){return c(this)}};e.style=":host{display:block}.co-accordion{display:flex;flex-direction:column;width:100%}.co-accordion__header{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm, 6px);width:100%;font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);text-align:left}.co-accordion__heading-group{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xxs, 2px)}.co-accordion__heading{font-size:var(--co-font-size-24);font-weight:500;line-height:1.25;letter-spacing:-0.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__subheading{font-size:var(--co-font-size-14);font-weight:400;line-height:1.3;letter-spacing:normal;color:var(--co-semantic-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__caret{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;border-radius:var(--co-border-radius-full, 9999px);color:var(--co-semantic-text-default);cursor:pointer;transition:transform var(--co-motion-duration-base) var(--co-motion-ease-out), background-color var(--co-motion-duration-fast) var(--co-motion-ease-out);transform:rotate(180deg);}.co-accordion__caret:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-accordion--open .co-accordion__caret{transform:rotate(0deg);}.co-accordion__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion__body-inner{min-height:0;overflow:hidden;padding-top:var(--co-spacing-2xl);transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{padding-top:0}.co-accordion--open .co-accordion__body{grid-template-rows:1fr}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{visibility:hidden;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear var(--co-motion-duration-slow)}.co-accordion--open .co-accordion__body-inner{visibility:visible;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear 0s}.co-accordion__caret:focus-visible{outline:2px solid var(--co-color-primary-azul, #2563eb);outline-offset:2px}.co-accordion--disabled .co-accordion__header{opacity:0.5}.co-accordion--disabled .co-accordion__caret{cursor:not-allowed}";export{e as co_accordion}
|