@prolibu-suite/cobalt-core 0.9.6 → 0.10.1
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 +1125 -89
- package/dist/cjs/co-accordion.cjs.entry.js +5 -5
- package/dist/cjs/co-action-bar.cjs.entry.js +2 -2
- package/dist/cjs/co-app-shell.cjs.entry.js +4 -4
- package/dist/cjs/co-audio-player.cjs.entry.js +83 -13
- package/dist/cjs/co-autocomplete.cjs.entry.js +2 -2
- package/dist/cjs/co-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/co-avatar.cjs.entry.js +72 -0
- package/dist/cjs/co-badge.cjs.entry.js +11 -3
- package/dist/cjs/co-bottom-sheet.cjs.entry.js +1 -1
- package/dist/cjs/co-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/co-button-group.cjs.entry.js +1 -1
- package/dist/cjs/co-button.cjs.entry.js +2 -2
- package/dist/cjs/co-calendar-month_2.cjs.entry.js +55 -20
- package/dist/cjs/co-calendar_3.cjs.entry.js +27 -15
- package/dist/cjs/co-card.cjs.entry.js +1 -1
- package/dist/cjs/co-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/co-carousel.cjs.entry.js +2 -2
- package/dist/cjs/co-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/co-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/co-chip_2.cjs.entry.js +68 -13
- package/dist/cjs/co-color-picker.cjs.entry.js +1078 -27
- package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-combobox.cjs.entry.js +2 -2
- package/dist/cjs/co-command-search.cjs.entry.js +1 -1
- package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
- package/dist/cjs/co-data-table.cjs.entry.js +83 -5
- package/dist/cjs/co-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-date-range-picker.cjs.entry.js +3 -3
- package/dist/cjs/co-date-range.cjs.entry.js +2 -2
- package/dist/cjs/co-date-time-picker.cjs.entry.js +101 -130
- package/dist/cjs/co-drive-card.cjs.entry.js +2 -2
- package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
- package/dist/cjs/co-emoji-picker.cjs.entry.js +4 -4
- package/dist/cjs/co-empty-state.cjs.entry.js +4 -4
- package/dist/cjs/co-event-calendar.cjs.entry.js +4 -4
- package/dist/cjs/co-event-popover.cjs.entry.js +3 -3
- package/dist/cjs/co-fab.cjs.entry.js +3 -3
- package/dist/cjs/co-file-field.cjs.entry.js +102 -106
- package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
- package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/co-icon-button.cjs.entry.js +6 -6
- package/dist/cjs/co-icon.cjs.entry.js +3 -3
- package/dist/cjs/co-input.cjs.entry.js +32 -6
- package/dist/cjs/co-json-field.cjs.entry.js +5 -5
- package/dist/cjs/co-lightbox.cjs.entry.js +204 -21
- package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
- package/dist/cjs/co-list-item.cjs.entry.js +5 -5
- package/dist/cjs/co-loader.cjs.entry.js +1 -1
- package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
- package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
- package/dist/cjs/co-menu-item.cjs.entry.js +85 -4
- package/dist/cjs/co-menu.cjs.entry.js +2 -2
- package/dist/cjs/co-modal.cjs.entry.js +10 -4
- package/dist/cjs/co-navbar.cjs.entry.js +4 -4
- package/dist/cjs/co-number-field.cjs.entry.js +272 -9
- package/dist/cjs/co-overlay.cjs.entry.js +6 -4
- package/dist/cjs/co-page-header.cjs.entry.js +2 -2
- package/dist/cjs/co-phone-field.cjs.entry.js +3 -3
- package/dist/cjs/co-popover.cjs.entry.js +58 -21
- package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
- package/dist/cjs/co-provider-logo_2.cjs.entry.js +47 -3
- package/dist/cjs/co-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/co-radio.cjs.entry.js +4 -4
- package/dist/cjs/co-rating.cjs.entry.js +4 -4
- package/dist/cjs/co-ref-field.cjs.entry.js +104 -13
- package/dist/cjs/co-rich-text-editor.cjs.entry.js +11 -8
- package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +7 -3
- package/dist/cjs/co-rich-text-viewer.cjs.entry.js +4 -3
- package/dist/cjs/co-row.cjs.entry.js +3 -3
- package/dist/cjs/co-segmented-bar.cjs.entry.js +1 -1
- package/dist/cjs/co-select.cjs.entry.js +6 -6
- package/dist/cjs/co-separator.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
- package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/co-slider.cjs.entry.js +3 -3
- package/dist/cjs/co-switch.cjs.entry.js +6 -6
- package/dist/cjs/co-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/co-tab.cjs.entry.js +3 -3
- package/dist/cjs/co-tags-field.cjs.entry.js +8 -8
- package/dist/cjs/co-textarea.cjs.entry.js +6 -6
- package/dist/cjs/co-time-field.cjs.entry.js +325 -0
- package/dist/cjs/co-toast.cjs.entry.js +2 -2
- package/dist/cjs/co-toggle-button-group.cjs.entry.js +4 -4
- package/dist/cjs/co-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/{co-avatar_2.cjs.entry.js → co-tooltip.cjs.entry.js} +48 -84
- package/dist/cjs/co-transfer-list.cjs.entry.js +1 -1
- package/dist/cjs/co-video.cjs.entry.js +32 -7
- package/dist/cjs/cobalt.cjs.js +2 -2
- package/dist/cjs/color-CML2Cfdh.js +142 -0
- package/dist/cjs/{dateI18n-wblvKRq_.js → dateI18n-BK2qHqoC.js} +36 -0
- package/dist/cjs/{fieldChip-BLzo9MEV.js → fieldChip-B6YIGU1V.js} +1 -1
- package/dist/cjs/fileI18n-6sdbKvo6.js +88 -0
- package/dist/cjs/{index-DFZ5YhIT.js → index-BYwrR87Z.js} +28 -10
- package/dist/cjs/{index-DK-2Lzmf.js → index-MDAnKsze.js} +35 -27
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{positioning-DCj_AJ2T.js → positioning-CyatXeT_.js} +32 -13
- package/dist/cjs/{requiredMark-C1xcrzSZ.js → requiredMark-D-t-IPN0.js} +1 -1
- package/dist/cjs/{toolbar-config-BQfWTW6P.js → toolbar-config-BSGas-Wl.js} +10 -0
- package/dist/cobalt/cobalt.css +1 -1
- package/dist/cobalt/cobalt.esm.js +1 -1
- package/dist/cobalt/{p-bfc2a849.entry.js → p-000a15b8.entry.js} +1 -1
- package/dist/cobalt/{p-f83b48fd.entry.js → p-011dc80b.entry.js} +1 -1
- package/dist/cobalt/{p-316c62c0.entry.js → p-0678c797.entry.js} +1 -1
- package/dist/cobalt/{p-43bd298d.entry.js → p-08e42e00.entry.js} +1 -1
- package/dist/cobalt/{p-0e91e5c4.entry.js → p-148d4aa6.entry.js} +1 -1
- package/dist/cobalt/{p-07d570a6.entry.js → p-16954cea.entry.js} +1 -1
- package/dist/cobalt/{p-d40a465f.entry.js → p-16f8cee6.entry.js} +1 -1
- package/dist/cobalt/{p-85a61e28.entry.js → p-17244412.entry.js} +1 -1
- package/dist/cobalt/{p-da546d08.entry.js → p-1dc55e43.entry.js} +1 -1
- package/dist/cobalt/p-239c5c5f.entry.js +1 -0
- package/dist/cobalt/{p-4c7e3984.entry.js → p-23ab0cc5.entry.js} +1 -1
- package/dist/cobalt/{p-fabe5fb2.entry.js → p-2636b7eb.entry.js} +1 -1
- package/dist/cobalt/{p-88a0659f.entry.js → p-27a7e549.entry.js} +1 -1
- package/dist/cobalt/{p-dca4cd5f.entry.js → p-28764b8e.entry.js} +1 -1
- package/dist/cobalt/{p-18d34b01.entry.js → p-290066ef.entry.js} +1 -1
- package/dist/cobalt/p-2a30c143.entry.js +1 -0
- package/dist/cobalt/p-2f0f3bb1.entry.js +1 -0
- package/dist/cobalt/{p-89e38c5e.entry.js → p-2f9cbbd5.entry.js} +1 -1
- package/dist/cobalt/p-2fba312b.entry.js +1 -0
- package/dist/cobalt/p-354d5089.entry.js +1 -0
- package/dist/cobalt/{p-60cb66f5.entry.js → p-37f5036b.entry.js} +1 -1
- package/dist/cobalt/{p-ac91259e.entry.js → p-383a998e.entry.js} +1 -1
- package/dist/cobalt/{p-ef5e1167.entry.js → p-3c4f7026.entry.js} +1 -1
- package/dist/cobalt/p-410bee4d.entry.js +1 -0
- package/dist/cobalt/p-416795f5.entry.js +1 -0
- package/dist/cobalt/{p-6795a258.entry.js → p-44c4e4a3.entry.js} +1 -1
- package/dist/cobalt/{p-4b083da4.entry.js → p-44ea675f.entry.js} +1 -1
- package/dist/cobalt/{p-2828ecf6.entry.js → p-4592ca00.entry.js} +1 -1
- package/dist/cobalt/{p-342e1da4.entry.js → p-4d65e713.entry.js} +1 -1
- package/dist/cobalt/p-56551580.entry.js +1 -0
- package/dist/cobalt/p-58137c9e.entry.js +1 -0
- package/dist/cobalt/{p-4f754c9a.entry.js → p-58d9b650.entry.js} +1 -1
- package/dist/cobalt/p-59963937.entry.js +1 -0
- package/dist/cobalt/p-5a3e4c81.entry.js +1 -0
- package/dist/cobalt/p-5adf117c.entry.js +1 -0
- package/dist/cobalt/{p-23b3ff3f.entry.js → p-5ca394b1.entry.js} +1 -1
- package/dist/cobalt/p-5e4973a6.entry.js +1 -0
- package/dist/cobalt/{p-2d329ac8.entry.js → p-623cc195.entry.js} +1 -1
- package/dist/cobalt/{p-8e667eb6.entry.js → p-66b11b38.entry.js} +1 -1
- package/dist/cobalt/{p-7e53e9c8.entry.js → p-6c82a892.entry.js} +1 -1
- package/dist/cobalt/{p-a6357340.entry.js → p-76249983.entry.js} +1 -1
- package/dist/cobalt/{p-568cfe8d.entry.js → p-789c4b3e.entry.js} +1 -1
- package/dist/cobalt/p-7e8e6907.entry.js +1 -0
- package/dist/cobalt/{p-a9b29cc2.entry.js → p-826ee074.entry.js} +1 -1
- package/dist/cobalt/{p-1c68bc41.entry.js → p-8471abe2.entry.js} +1 -1
- package/dist/cobalt/p-8f2199ff.entry.js +1 -0
- package/dist/cobalt/{p-c8dba82f.entry.js → p-91e73a92.entry.js} +1 -1
- package/dist/cobalt/p-9246e09c.entry.js +1 -0
- package/dist/cobalt/{p-c1e7fb32.entry.js → p-93fe45fd.entry.js} +1 -1
- package/dist/cobalt/{p-8f38e24d.entry.js → p-95cfcb34.entry.js} +1 -1
- package/dist/cobalt/{p-36197363.entry.js → p-996f4e38.entry.js} +1 -1
- package/dist/cobalt/{p-c5684c79.entry.js → p-9cf738ed.entry.js} +1 -1
- package/dist/cobalt/p-BRbgGqLw.js +1 -0
- package/dist/cobalt/{p-BL0sCfMH.js → p-Bryf3-Js.js} +1 -1
- package/dist/cobalt/p-DFHRS9cJ.js +1 -0
- package/dist/cobalt/{p-CrtiywTB.js → p-DH5lfRNj.js} +1 -1
- package/dist/{components/p-WeuPA9Rw.js → cobalt/p-DOL2zACE.js} +1 -1
- package/dist/cobalt/p-D_zA1Pv4.js +1 -0
- package/dist/cobalt/p-a2462d7a.entry.js +1 -0
- package/dist/cobalt/p-a325ea0c.entry.js +1 -0
- package/dist/cobalt/{p-fef5db54.entry.js → p-a32b20eb.entry.js} +1 -1
- package/dist/cobalt/p-aa9400bf.entry.js +1 -0
- package/dist/cobalt/{p-8eb485c8.entry.js → p-aaca6dab.entry.js} +1 -1
- package/dist/cobalt/p-b0c4fc71.entry.js +1 -0
- package/dist/cobalt/p-b5bba7fe.entry.js +1 -0
- package/dist/cobalt/{p-fb3a095b.entry.js → p-b821d9de.entry.js} +1 -1
- package/dist/cobalt/{p-b0319a2d.entry.js → p-b90d41e4.entry.js} +1 -1
- package/dist/cobalt/{p-ac466658.entry.js → p-be34e447.entry.js} +1 -1
- package/dist/cobalt/{p-1ddbc48b.entry.js → p-c124e82b.entry.js} +1 -1
- package/dist/cobalt/{p-95efe661.entry.js → p-c2ebf0ec.entry.js} +1 -1
- package/dist/cobalt/{p-54ae807d.entry.js → p-c465d619.entry.js} +1 -1
- package/dist/cobalt/p-c7d7d7f7.entry.js +1 -0
- package/dist/cobalt/{p-ab45d9bd.entry.js → p-c91d4fc6.entry.js} +1 -1
- package/dist/cobalt/{p-e5495539.entry.js → p-d0b2c418.entry.js} +1 -1
- package/dist/cobalt/{p-ce35c898.entry.js → p-d29bb0fa.entry.js} +1 -1
- package/dist/cobalt/{p-33ea4a90.entry.js → p-d3344187.entry.js} +1 -1
- package/dist/cobalt/p-d375014b.entry.js +1 -0
- package/dist/cobalt/p-d9d9e8ae.entry.js +1 -0
- package/dist/cobalt/{p-7c5e846a.entry.js → p-db805569.entry.js} +1 -1
- package/dist/cobalt/p-e371ec7a.entry.js +1 -0
- package/dist/cobalt/p-e3aae282.entry.js +1 -0
- package/dist/cobalt/{p-d15d3a97.entry.js → p-e4264532.entry.js} +1 -1
- package/dist/cobalt/{p-3f0eed59.entry.js → p-e49a564c.entry.js} +1 -1
- package/dist/cobalt/p-e8a2f993.entry.js +1 -0
- package/dist/cobalt/p-eadfd661.entry.js +1 -0
- package/dist/cobalt/p-eb82358d.entry.js +1 -0
- package/dist/cobalt/{p-2114c036.entry.js → p-eb8691f2.entry.js} +1 -1
- package/dist/cobalt/{p-e8878cf9.entry.js → p-ee2023da.entry.js} +1 -1
- package/dist/cobalt/p-ee9a623d.entry.js +1 -0
- package/dist/cobalt/p-ef301976.entry.js +1 -0
- package/dist/cobalt/p-f4e1c3c3.entry.js +1 -0
- package/dist/cobalt/{p-e364b8a5.entry.js → p-f57dffca.entry.js} +1 -1
- package/dist/cobalt/p-f6691108.entry.js +1 -0
- package/dist/cobalt/p-fMqVDypp.js +1 -0
- package/dist/cobalt/p-fb2d1144.entry.js +1 -0
- package/dist/cobalt/{p-0c463d9a.entry.js → p-fd150cc6.entry.js} +1 -1
- package/dist/cobalt/p-gKnOhsd2.js +1 -0
- package/dist/cobalt/p-jYd9gu_c.js +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/co-accordion/co-accordion.css +2 -2
- package/dist/collection/components/co-accordion/co-accordion.js +4 -4
- package/dist/collection/components/co-action-bar/co-action-bar.css +9 -2
- package/dist/collection/components/co-app-shell/co-app-shell.css +107 -41
- package/dist/collection/components/co-app-shell/co-app-shell.js +2 -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-group/co-avatar-group.js +1 -1
- package/dist/collection/components/co-badge/co-badge.css +18 -0
- package/dist/collection/components/co-badge/co-badge.js +29 -1
- package/dist/collection/components/co-button/co-button.css +10 -7
- package/dist/collection/components/co-checkbox/co-checkbox.css +12 -3
- package/dist/collection/components/co-checkbox/co-checkbox.js +25 -6
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +1 -3
- package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +1 -1
- package/dist/collection/components/co-color-picker/co-color-picker.css +252 -5
- package/dist/collection/components/co-color-picker/co-color-picker.js +962 -15
- package/dist/collection/components/co-color-picker/presets.js +113 -15
- package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
- 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-data-table-pagination/co-data-table-pagination.js +4 -4
- package/dist/collection/components/co-date-field/co-date-field.js +4 -4
- package/dist/collection/components/co-date-range/co-date-range.js +1 -1
- package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +2 -2
- package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +128 -32
- package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +142 -138
- package/dist/collection/components/co-drawer/co-drawer.css +99 -36
- package/dist/collection/components/co-drawer/co-drawer.js +19 -7
- package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
- package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
- package/dist/collection/components/co-emoji-picker/co-emoji-picker.js +2 -2
- package/dist/collection/components/co-empty-state/co-empty-state.css +28 -0
- package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
- package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
- package/dist/collection/components/co-event-popover/co-event-popover.js +1 -1
- package/dist/collection/components/co-fab/co-fab.js +2 -2
- package/dist/collection/components/co-file-field/co-file-field.css +55 -2
- package/dist/collection/components/co-file-field/co-file-field.js +41 -13
- package/dist/collection/components/co-file-field/co-file-field.utils.js +51 -4
- package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
- package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
- package/dist/collection/components/co-icon/co-icon.js +2 -2
- package/dist/collection/components/co-icon-button/co-icon-button.css +40 -2
- package/dist/collection/components/co-icon-button/co-icon-button.js +43 -4
- package/dist/collection/components/co-input/co-input.css +33 -0
- package/dist/collection/components/co-input/co-input.js +42 -7
- package/dist/collection/components/co-json-field/co-json-field.js +3 -3
- package/dist/collection/components/co-lightbox/co-lightbox.css +23 -0
- package/dist/collection/components/co-lightbox/co-lightbox.js +209 -20
- package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
- package/dist/collection/components/co-list-item/co-list-item.js +4 -4
- package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
- package/dist/collection/components/co-menu/co-menu.js +1 -1
- package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
- package/dist/collection/components/co-menu-item/co-menu-item.css +9 -0
- package/dist/collection/components/co-menu-item/co-menu-item.js +67 -3
- package/dist/collection/components/co-modal/co-modal.css +112 -37
- package/dist/collection/components/co-modal/co-modal.js +35 -2
- package/dist/collection/components/co-navbar/co-navbar.css +4 -2
- package/dist/collection/components/co-navbar/co-navbar.js +2 -2
- package/dist/collection/components/co-number-field/co-number-field.css +22 -0
- package/dist/collection/components/co-number-field/co-number-field.js +216 -9
- package/dist/collection/components/co-option-list/co-option-list.css +25 -4
- package/dist/collection/components/co-option-list/co-option-list.js +56 -4
- package/dist/collection/components/co-option-list/optionListLogic.js +31 -8
- package/dist/collection/components/co-overlay/co-overlay.js +5 -3
- package/dist/collection/components/co-page-header/co-page-header.js +1 -1
- package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
- package/dist/collection/components/co-popover/co-popover.css +18 -3
- package/dist/collection/components/co-popover/co-popover.js +83 -20
- 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 +14 -1
- package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +9 -6
- package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +7 -3
- package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +3 -2
- 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 +24 -5
- 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.css +2 -2
- package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +1 -1
- package/dist/collection/components/co-skeleton/co-skeleton.css +18 -0
- package/dist/collection/components/co-skeleton/co-skeleton.js +83 -1
- package/dist/collection/components/co-slider/co-slider.js +2 -2
- package/dist/collection/components/co-switch/co-switch.css +3 -3
- 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.css +111 -0
- package/dist/collection/components/co-time-field/co-time-field.js +536 -0
- package/dist/collection/components/co-toast/co-toast.css +13 -7
- package/dist/collection/components/co-toast/co-toast.js +2 -2
- package/dist/collection/components/co-toggle-button/co-toggle-button.css +20 -14
- 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 +14 -4
- package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
- package/dist/collection/components/co-tooltip/co-tooltip.css +12 -1
- package/dist/collection/components/co-tooltip/co-tooltip.js +49 -16
- package/dist/collection/components/co-transfer-list/co-transfer-list.js +1 -1
- package/dist/collection/components/co-video/co-video.js +34 -9
- package/dist/collection/utils/amountText.js +95 -0
- package/dist/collection/utils/color.js +109 -3
- package/dist/collection/utils/colorPickerI18n.js +55 -0
- package/dist/collection/utils/dateI18n.js +36 -0
- package/dist/collection/utils/fileI18n.js +3 -0
- package/dist/collection/utils/positioning.js +37 -4
- package/dist/collection/utils/submenu.js +35 -0
- package/dist/components/co-accordion.js +1 -1
- package/dist/components/co-action-bar.js +1 -1
- package/dist/components/co-app-shell.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-badge.js +1 -1
- package/dist/components/co-breadcrumb-item.js +1 -1
- package/dist/components/co-breadcrumb.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-carousel.js +1 -1
- package/dist/components/co-checkbox-group.js +1 -1
- package/dist/components/co-checkbox.js +1 -1
- package/dist/components/co-chip.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-pagination.js +1 -1
- package/dist/components/co-data-table.js +1 -1
- package/dist/components/co-date-field.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-drop-zone.js +1 -1
- package/dist/components/co-emoji-picker.js +1 -1
- package/dist/components/co-empty-state.js +1 -1
- package/dist/components/co-event-calendar.js +1 -1
- package/dist/components/co-event-popover.js +1 -1
- package/dist/components/co-fab.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-helper-text.js +1 -1
- package/dist/components/co-icon-button.js +1 -1
- package/dist/components/co-icon.js +1 -1
- package/dist/components/co-input.js +1 -1
- package/dist/components/co-json-field.js +1 -1
- package/dist/components/co-lightbox.js +1 -1
- package/dist/components/co-list-footer.js +1 -1
- package/dist/components/co-list-item.js +1 -1
- package/dist/components/co-media-thumb.js +1 -1
- package/dist/components/co-menu-divider.js +1 -1
- package/dist/components/co-menu-item.js +1 -1
- package/dist/components/co-menu.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-popover.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-group.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.d.ts +11 -0
- package/dist/components/co-time-field.js +1 -0
- package/dist/components/co-toast.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-transfer-list.js +1 -1
- package/dist/components/co-video.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-7TncUlLN.js +1 -0
- package/dist/components/p-B4NCaKrR.js +1 -0
- package/dist/components/p-B9xitpGU.js +1 -0
- package/dist/components/{p-Dabi98BI.js → p-BGDqldEg.js} +1 -1
- package/dist/components/p-BRbgGqLw.js +1 -0
- package/dist/components/{p-BL0sCfMH.js → p-Bryf3-Js.js} +1 -1
- package/dist/components/{p-D6OUW6oW.js → p-CBTGN490.js} +1 -1
- package/dist/components/{p-P8wvwhM2.js → p-CFFDmGPS.js} +1 -1
- package/dist/components/p-CLsAo0-A.js +1 -0
- package/dist/components/{p-CA_JAK9s.js → p-CT2enQ6h.js} +1 -1
- package/dist/components/p-D2ldYZo1.js +1 -0
- package/dist/components/{p-CuZXTvDM.js → p-D3mVYO-G.js} +1 -1
- package/dist/components/p-DDV_bRcU.js +1 -0
- package/dist/components/p-DFHRS9cJ.js +1 -0
- package/dist/components/{p-Dj1EZ5qD.js → p-DNJAIVfI.js} +1 -1
- package/dist/{cobalt/p-WeuPA9Rw.js → components/p-DOL2zACE.js} +1 -1
- package/dist/components/p-DRP8D9ro.js +1 -0
- package/dist/components/p-DSnJWzQw.js +1 -0
- package/dist/components/p-DTi2O4O8.js +1 -0
- package/dist/components/p-De7w9k6_.js +1 -0
- package/dist/components/{p-D5EdMieb.js → p-DoHLTC0n.js} +1 -1
- package/dist/components/{p-Bxk96Zgc.js → p-Du_CgT5E.js} +1 -1
- package/dist/components/p-DxtNejr2.js +1 -0
- package/dist/components/{p-BHYtxTzM.js → p-HxVRXXXC.js} +1 -1
- package/dist/components/{p-B0Dc-I_C.js → p-NNxjElcX.js} +1 -1
- package/dist/components/p-gKnOhsd2.js +1 -0
- package/dist/components/p-jYd9gu_c.js +1 -0
- package/dist/components/{p-D4qzGifz.js → p-vby0ITbe.js} +1 -1
- package/dist/components/p-wjt4IAGZ.js +1 -0
- package/dist/components/p-zuhal3IZ.js +1 -0
- package/dist/esm/co-accordion.entry.js +5 -5
- package/dist/esm/co-action-bar.entry.js +2 -2
- package/dist/esm/co-app-shell.entry.js +4 -4
- package/dist/esm/co-audio-player.entry.js +83 -13
- package/dist/esm/co-autocomplete.entry.js +2 -2
- package/dist/esm/co-avatar-group.entry.js +1 -1
- package/dist/esm/co-avatar.entry.js +70 -0
- package/dist/esm/co-badge.entry.js +11 -3
- package/dist/esm/co-bottom-sheet.entry.js +1 -1
- package/dist/esm/co-breadcrumb-item.entry.js +1 -1
- package/dist/esm/co-breadcrumb.entry.js +1 -1
- package/dist/esm/co-button-group.entry.js +1 -1
- package/dist/esm/co-button.entry.js +2 -2
- package/dist/esm/co-calendar-month_2.entry.js +37 -2
- package/dist/esm/co-calendar_3.entry.js +27 -15
- package/dist/esm/co-card.entry.js +1 -1
- package/dist/esm/co-carousel-item.entry.js +1 -1
- package/dist/esm/co-carousel.entry.js +2 -2
- package/dist/esm/co-checkbox-group.entry.js +2 -2
- package/dist/esm/co-checkbox.entry.js +6 -6
- package/dist/esm/co-chip_2.entry.js +68 -13
- package/dist/esm/co-color-picker.entry.js +1078 -27
- package/dist/esm/co-column-picker.entry.js +3 -3
- package/dist/esm/co-combobox.entry.js +2 -2
- package/dist/esm/co-command-search.entry.js +1 -1
- package/dist/esm/co-data-table-pagination.entry.js +5 -5
- package/dist/esm/co-data-table.entry.js +83 -5
- package/dist/esm/co-date-picker.entry.js +3 -3
- package/dist/esm/co-date-range-picker.entry.js +3 -3
- package/dist/esm/co-date-range.entry.js +2 -2
- package/dist/esm/co-date-time-picker.entry.js +101 -130
- package/dist/esm/co-drive-card.entry.js +2 -2
- package/dist/esm/co-drop-zone.entry.js +2 -2
- package/dist/esm/co-emoji-picker.entry.js +4 -4
- package/dist/esm/co-empty-state.entry.js +4 -4
- package/dist/esm/co-event-calendar.entry.js +4 -4
- package/dist/esm/co-event-popover.entry.js +3 -3
- package/dist/esm/co-fab.entry.js +3 -3
- package/dist/esm/co-file-field.entry.js +95 -99
- package/dist/esm/co-file-type-tile.entry.js +3 -3
- package/dist/esm/co-helper-text.entry.js +3 -3
- package/dist/esm/co-icon-button.entry.js +6 -6
- package/dist/esm/co-icon.entry.js +3 -3
- package/dist/esm/co-input.entry.js +32 -6
- package/dist/esm/co-json-field.entry.js +5 -5
- package/dist/esm/co-lightbox.entry.js +204 -21
- package/dist/esm/co-list-footer.entry.js +2 -2
- package/dist/esm/co-list-item.entry.js +5 -5
- package/dist/esm/co-loader.entry.js +1 -1
- package/dist/esm/co-media-thumb.entry.js +3 -3
- package/dist/esm/co-menu-divider.entry.js +2 -2
- package/dist/esm/co-menu-item.entry.js +85 -4
- package/dist/esm/co-menu.entry.js +2 -2
- package/dist/esm/co-modal.entry.js +10 -4
- package/dist/esm/co-navbar.entry.js +4 -4
- package/dist/esm/co-number-field.entry.js +272 -9
- package/dist/esm/co-overlay.entry.js +6 -4
- package/dist/esm/co-page-header.entry.js +2 -2
- package/dist/esm/co-phone-field.entry.js +3 -3
- package/dist/esm/co-popover.entry.js +58 -21
- package/dist/esm/co-progress-bar.entry.js +3 -3
- package/dist/esm/co-progress-circle.entry.js +3 -3
- package/dist/esm/co-provider-logo_2.entry.js +47 -3
- package/dist/esm/co-radio-group.entry.js +1 -1
- package/dist/esm/co-radio.entry.js +4 -4
- package/dist/esm/co-rating.entry.js +4 -4
- package/dist/esm/co-ref-field.entry.js +104 -13
- package/dist/esm/co-rich-text-editor.entry.js +11 -8
- package/dist/esm/co-rich-text-toolbar.entry.js +7 -3
- package/dist/esm/co-rich-text-viewer.entry.js +4 -3
- package/dist/esm/co-row.entry.js +3 -3
- package/dist/esm/co-segmented-bar.entry.js +1 -1
- package/dist/esm/co-select.entry.js +6 -6
- package/dist/esm/co-separator.entry.js +2 -2
- package/dist/esm/co-sidebar-nav.entry.js +2 -2
- package/dist/esm/co-sidebar.entry.js +3 -3
- package/dist/esm/co-slider.entry.js +3 -3
- package/dist/esm/co-switch.entry.js +6 -6
- package/dist/esm/co-tab-group.entry.js +3 -3
- package/dist/esm/co-tab.entry.js +3 -3
- package/dist/esm/co-tags-field.entry.js +8 -8
- package/dist/esm/co-textarea.entry.js +6 -6
- package/dist/esm/co-time-field.entry.js +323 -0
- package/dist/esm/co-toast.entry.js +2 -2
- package/dist/esm/co-toggle-button-group.entry.js +4 -4
- package/dist/esm/co-toggle-button.entry.js +4 -4
- package/dist/esm/{co-avatar_2.entry.js → co-tooltip.entry.js} +49 -84
- package/dist/esm/co-transfer-list.entry.js +1 -1
- package/dist/esm/co-video.entry.js +32 -7
- package/dist/esm/cobalt.js +3 -3
- package/dist/esm/color-BRbgGqLw.js +136 -0
- package/dist/esm/{dateI18n-CnNpoKwg.js → dateI18n-jYd9gu_c.js} +36 -0
- package/dist/esm/{fieldChip-DsAfq1e0.js → fieldChip-uyggU8VV.js} +1 -1
- package/dist/esm/fileI18n-gKnOhsd2.js +84 -0
- package/dist/esm/{index-RuXxdKzC.js → index-68iUQp5j.js} +28 -10
- package/dist/esm/{index-CrtiywTB.js → index-DH5lfRNj.js} +35 -27
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{positioning-BMdapAL8.js → positioning-DFHRS9cJ.js} +32 -13
- package/dist/esm/{requiredMark-DCD-ZA51.js → requiredMark-BCJUuZvC.js} +1 -1
- package/dist/esm/{toolbar-config-WeuPA9Rw.js → toolbar-config-DOL2zACE.js} +10 -0
- package/dist/types/components/co-accordion/co-accordion.d.ts +6 -0
- package/dist/types/components/co-audio-player/co-audio-player.d.ts +25 -0
- package/dist/types/components/co-badge/co-badge.d.ts +7 -0
- package/dist/types/components/co-checkbox/co-checkbox.d.ts +5 -1
- package/dist/types/components/co-color-picker/co-color-picker.d.ts +360 -4
- package/dist/types/components/co-color-picker/presets.d.ts +107 -4
- 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-date-time-picker/co-date-time-picker.d.ts +43 -21
- package/dist/types/components/co-drawer/co-drawer.d.ts +4 -3
- package/dist/types/components/co-file-field/co-file-field.d.ts +14 -0
- package/dist/types/components/co-file-field/co-file-field.utils.d.ts +18 -1
- package/dist/types/components/co-icon-button/co-icon-button.d.ts +9 -0
- package/dist/types/components/co-input/co-input.d.ts +9 -1
- package/dist/types/components/co-lightbox/co-lightbox.d.ts +60 -4
- package/dist/types/components/co-menu-item/co-menu-item.d.ts +16 -0
- package/dist/types/components/co-modal/co-modal.d.ts +10 -0
- package/dist/types/components/co-number-field/co-number-field.d.ts +42 -1
- package/dist/types/components/co-option-list/co-option-list.d.ts +16 -0
- package/dist/types/components/co-option-list/optionListLogic.d.ts +23 -6
- package/dist/types/components/co-overlay/co-overlay.d.ts +4 -2
- package/dist/types/components/co-popover/co-popover.d.ts +16 -0
- package/dist/types/components/co-ref-field/co-ref-field.d.ts +38 -0
- package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +1 -1
- package/dist/types/components/co-select/co-select.d.ts +6 -0
- package/dist/types/components/co-skeleton/co-skeleton.d.ts +13 -0
- package/dist/types/components/co-time-field/co-time-field.d.ts +60 -0
- package/dist/types/components/co-tooltip/co-tooltip.d.ts +5 -0
- package/dist/types/components/co-video/co-video.d.ts +4 -0
- package/dist/types/components.d.ts +530 -90
- package/dist/types/utils/amountText.d.ts +34 -0
- package/dist/types/utils/color.d.ts +44 -1
- package/dist/types/utils/colorPickerI18n.d.ts +26 -0
- package/dist/types/utils/dateI18n.d.ts +12 -0
- package/dist/types/utils/fileI18n.d.ts +1 -0
- package/dist/types/utils/positioning.d.ts +10 -0
- package/dist/types/utils/submenu.d.ts +44 -0
- package/package.json +3 -3
- package/dist/cjs/color-YhUkm10t.js +0 -32
- package/dist/cjs/time-LBHtzLHe.js +0 -42
- package/dist/cobalt/p-07904986.entry.js +0 -1
- package/dist/cobalt/p-09799193.entry.js +0 -1
- package/dist/cobalt/p-17ae943c.entry.js +0 -1
- package/dist/cobalt/p-23a103a0.entry.js +0 -1
- package/dist/cobalt/p-2f88d151.entry.js +0 -1
- package/dist/cobalt/p-3495fda1.entry.js +0 -1
- package/dist/cobalt/p-409f28bb.entry.js +0 -1
- package/dist/cobalt/p-682b3313.entry.js +0 -1
- package/dist/cobalt/p-6bf814f9.entry.js +0 -1
- package/dist/cobalt/p-7532c739.entry.js +0 -1
- package/dist/cobalt/p-76420ac1.entry.js +0 -1
- package/dist/cobalt/p-7c88163e.entry.js +0 -1
- package/dist/cobalt/p-7cf4b4ae.entry.js +0 -1
- package/dist/cobalt/p-7ea87b75.entry.js +0 -1
- package/dist/cobalt/p-8183f56f.entry.js +0 -1
- package/dist/cobalt/p-8345b25f.entry.js +0 -1
- package/dist/cobalt/p-93c68029.entry.js +0 -1
- package/dist/cobalt/p-983af614.entry.js +0 -1
- package/dist/cobalt/p-BG4WRR22.js +0 -1
- package/dist/cobalt/p-BMdapAL8.js +0 -1
- package/dist/cobalt/p-CF8OB_TM.js +0 -1
- package/dist/cobalt/p-CnNpoKwg.js +0 -1
- package/dist/cobalt/p-T4la7ly_.js +0 -1
- package/dist/cobalt/p-a2d31248.entry.js +0 -1
- package/dist/cobalt/p-a6b5cadd.entry.js +0 -1
- package/dist/cobalt/p-a8c64cc3.entry.js +0 -1
- package/dist/cobalt/p-b8581787.entry.js +0 -1
- package/dist/cobalt/p-bcedbd73.entry.js +0 -1
- package/dist/cobalt/p-da18b5f4.entry.js +0 -1
- package/dist/cobalt/p-dea43204.entry.js +0 -1
- package/dist/cobalt/p-dfcf667d.entry.js +0 -1
- package/dist/cobalt/p-dfd25f1d.entry.js +0 -1
- package/dist/cobalt/p-e6882ddd.entry.js +0 -1
- package/dist/cobalt/p-e84eda2e.entry.js +0 -1
- package/dist/cobalt/p-f25967fb.entry.js +0 -1
- package/dist/cobalt/p-f5f1b463.entry.js +0 -1
- package/dist/cobalt/p-fd39f410.entry.js +0 -1
- package/dist/cobalt/p-mAGnZXRn.js +0 -1
- package/dist/components/p-BMdapAL8.js +0 -1
- package/dist/components/p-BTQEg3UO.js +0 -1
- package/dist/components/p-Bbny3WUc.js +0 -1
- package/dist/components/p-Bz0QZqnB.js +0 -1
- package/dist/components/p-CF8OB_TM.js +0 -1
- package/dist/components/p-CR0izsJC.js +0 -1
- package/dist/components/p-CnNpoKwg.js +0 -1
- package/dist/components/p-DI1ek0EB.js +0 -1
- package/dist/components/p-DP0bbhfN.js +0 -1
- package/dist/components/p-D_9BRkj6.js +0 -1
- package/dist/components/p-DbipMAyT.js +0 -1
- package/dist/components/p-DgUBcJIS.js +0 -1
- package/dist/components/p-DolCkNsL.js +0 -1
- package/dist/components/p-hfGFsvaD.js +0 -1
- package/dist/esm/color-BG4WRR22.js +0 -30
- package/dist/esm/time-CF8OB_TM.js +0 -37
|
@@ -219,7 +219,7 @@ export class CoRadioGroup {
|
|
|
219
219
|
"references": {
|
|
220
220
|
"RadioOption": {
|
|
221
221
|
"location": "local",
|
|
222
|
-
"path": "/Users/agox/worktrees/cobalt-
|
|
222
|
+
"path": "/Users/agox/worktrees/cobalt-release/packages/core/src/components/co-radio-group/co-radio-group.tsx",
|
|
223
223
|
"id": "src/components/co-radio-group/co-radio-group.tsx::RadioOption"
|
|
224
224
|
}
|
|
225
225
|
}
|
|
@@ -36,16 +36,16 @@ export class CoRating {
|
|
|
36
36
|
const iconSize = this.size === 'large' ? 28 : 20;
|
|
37
37
|
const active = this.hoverValue || this.value;
|
|
38
38
|
const stars = Array.from({ length: this.max }, (_, i) => i + 1);
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'a825b7cf49067c0a12ccddb81554c172d90a888f', class: {
|
|
40
40
|
'co-rating': true,
|
|
41
41
|
'co-rating--disabled': this.disabled,
|
|
42
42
|
'co-rating--readonly': this.readOnly,
|
|
43
43
|
[`co-rating--${this.size}`]: true,
|
|
44
|
-
} }, this.label && h("label", { key: '
|
|
44
|
+
} }, this.label && h("label", { key: '354b3b676401d0265e5f64aed1b137b97a147468', class: "co-rating__label" }, this.label), h("div", { key: '29c8af2cde2482ac803e75025dc5533c7051c2ff', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
|
|
45
45
|
'co-rating__star': true,
|
|
46
46
|
'co-rating__star--active': star <= active,
|
|
47
47
|
'co-rating__star--hover': this.hoverValue > 0 && star <= this.hoverValue,
|
|
48
|
-
}, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '
|
|
48
|
+
}, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '0fcc95b7e125f1ef57c67ed9e46d4511da5d3eaa', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'c9cb1f60e902c0b52a45225bedacd92ba08ae0b4', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: '8a5479175de97fccb5947f2f8f2c87888481b104', class: "co-rating__helper-text" }, this.helperText)))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "co-rating"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -163,6 +163,46 @@
|
|
|
163
163
|
text-overflow: ellipsis;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
/* Valor heredado (inheritedLabel): lo que aplica por defecto con el campo
|
|
167
|
+
vacío. Se lee como contenido (text-secondary), no como hint (muted), y va
|
|
168
|
+
con un chip outlined opcional (inheritedBadgeLabel) que cabe en el trigger
|
|
169
|
+
md de 40px (22px = alto del contenido). */
|
|
170
|
+
/* El host block del co-tooltip es el ítem flex: min-width:0 acá y display:block
|
|
171
|
+
en el span son lo que deja truncar (un inline dentro del trigger no trunca). */
|
|
172
|
+
.co-ref-field__inherited-tip {
|
|
173
|
+
min-width: 0;
|
|
174
|
+
max-width: 100%;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.co-ref-field__inherited {
|
|
178
|
+
display: block;
|
|
179
|
+
color: var(--co-semantic-text-secondary);
|
|
180
|
+
font-size: inherit;
|
|
181
|
+
font-weight: 400;
|
|
182
|
+
line-height: 1;
|
|
183
|
+
white-space: nowrap;
|
|
184
|
+
overflow: hidden;
|
|
185
|
+
text-overflow: ellipsis;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.co-ref-field__inherited-badge {
|
|
189
|
+
flex-shrink: 0;
|
|
190
|
+
display: inline-flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
box-sizing: border-box;
|
|
193
|
+
height: 22px;
|
|
194
|
+
padding: 0 var(--co-spacing-sm2);
|
|
195
|
+
/* Escapes temáticos como el resto del trigger (--co-ref-field-trigger-*):
|
|
196
|
+
sobre una isla oscura en tema light, border-default (negro 16%) desaparece. */
|
|
197
|
+
border: 1px solid var(--co-ref-field-inherited-badge-border, var(--co-semantic-border-default));
|
|
198
|
+
border-radius: var(--co-border-radius-full);
|
|
199
|
+
color: var(--co-ref-field-inherited-badge-color, var(--co-semantic-text-secondary));
|
|
200
|
+
font-size: var(--co-font-size-12);
|
|
201
|
+
font-weight: 400;
|
|
202
|
+
line-height: 1;
|
|
203
|
+
white-space: nowrap;
|
|
204
|
+
}
|
|
205
|
+
|
|
166
206
|
.co-ref-field__caret {
|
|
167
207
|
flex-shrink: 0;
|
|
168
208
|
color: var(--co-semantic-text-muted);
|
|
@@ -79,6 +79,15 @@ export class CoRefField {
|
|
|
79
79
|
this.triggerBadgeIcon = '';
|
|
80
80
|
/** Accessible name / tooltip for the trigger badge. */
|
|
81
81
|
this.triggerBadgeLabel = '';
|
|
82
|
+
/**
|
|
83
|
+
* Valor HEREDADO: texto que se pinta cuando NO hay valor, en lugar del
|
|
84
|
+
* placeholder, para mostrar lo que aplica por defecto (p. ej. el layout
|
|
85
|
+
* predeterminado del workspace en Deal.proposal.template.layout). No es un
|
|
86
|
+
* valor: `value` sigue vacío y no hay ×. Vacío = placeholder de siempre.
|
|
87
|
+
*/
|
|
88
|
+
this.inheritedLabel = '';
|
|
89
|
+
/** Chip outlined junto al valor heredado (p. ej. 'Predeterminado'). Solo con inheritedLabel. */
|
|
90
|
+
this.inheritedBadgeLabel = '';
|
|
82
91
|
/**
|
|
83
92
|
* Shape of the leading avatar (selected value + option rows). Defaults to
|
|
84
93
|
* 'circle' (people refs); use 'square' for company/workspace refs — it renders
|
|
@@ -89,11 +98,21 @@ export class CoRefField {
|
|
|
89
98
|
this.pinnable = false;
|
|
90
99
|
/** Drag-reorder de la lista del panel (forward a co-option-list). */
|
|
91
100
|
this.listReorderable = false;
|
|
101
|
+
/** Tooltip del valor heredado: co-tooltip lee `disabled` en el mouseenter
|
|
102
|
+
* (scheduleShow), así que el truncado se mide ANTES del hover — al montar /
|
|
103
|
+
* redimensionar el span (RO propio: el de los chips hace disconnect() por
|
|
104
|
+
* render) y al cambiar el texto — nunca en el hover mismo. */
|
|
105
|
+
this.inheritedTruncated = false;
|
|
92
106
|
this.isOpen = false;
|
|
93
107
|
/** How many trailing chips don't fit the trigger width (responsive mode). */
|
|
94
108
|
this.overflowCount = 0;
|
|
95
109
|
this.lastChipsKey = '\x00';
|
|
96
110
|
this.pendingFocus = false;
|
|
111
|
+
/** El host proyecta su PROPIO panel (`<div slot="panel">`: galería, grid…)
|
|
112
|
+
* en lugar de la co-option-list. Se detecta al ABRIR — los hijos light-DOM
|
|
113
|
+
* ya existen y el panel se monta on-demand — y el host cierra/selecciona
|
|
114
|
+
* vía los métodos `selectOption`/`closePanel`. El footer se conserva. */
|
|
115
|
+
this.hasPanelSlot = false;
|
|
97
116
|
// ── Popover event handlers ─────────────────────────────────
|
|
98
117
|
this.handlePopoverOpen = () => {
|
|
99
118
|
this.isOpen = true;
|
|
@@ -101,6 +120,28 @@ export class CoRefField {
|
|
|
101
120
|
this.handlePopoverClose = () => {
|
|
102
121
|
this.isOpen = false;
|
|
103
122
|
};
|
|
123
|
+
this.measureInherited = () => {
|
|
124
|
+
const el = this.inheritedEl;
|
|
125
|
+
const truncated = el ? el.scrollWidth > el.clientWidth + 1 : false;
|
|
126
|
+
if (truncated !== this.inheritedTruncated)
|
|
127
|
+
this.inheritedTruncated = truncated;
|
|
128
|
+
};
|
|
129
|
+
// Stencil llama el ref con null al desmontar (nullifyVNodeRefs): observar /
|
|
130
|
+
// des-observar en el mismo lugar. observe() dispara una notificación inicial
|
|
131
|
+
// → primera medición sin hover previo.
|
|
132
|
+
this.setInheritedEl = (el) => {
|
|
133
|
+
var _a, _b;
|
|
134
|
+
const next = el || undefined;
|
|
135
|
+
if (next === this.inheritedEl)
|
|
136
|
+
return;
|
|
137
|
+
if (this.inheritedEl)
|
|
138
|
+
(_a = this.inheritedResizeObserver) === null || _a === void 0 ? void 0 : _a.unobserve(this.inheritedEl);
|
|
139
|
+
this.inheritedEl = next;
|
|
140
|
+
if (next)
|
|
141
|
+
(_b = this.inheritedResizeObserver) === null || _b === void 0 ? void 0 : _b.observe(next);
|
|
142
|
+
else if (this.inheritedTruncated)
|
|
143
|
+
this.inheritedTruncated = false;
|
|
144
|
+
};
|
|
104
145
|
this.handleTriggerClick = (e) => {
|
|
105
146
|
if (this.disabled)
|
|
106
147
|
e.stopPropagation();
|
|
@@ -259,6 +300,11 @@ export class CoRefField {
|
|
|
259
300
|
// Responsive chips: refit on any trigger width change (same pattern as
|
|
260
301
|
// co-combobox).
|
|
261
302
|
this.resizeObserver = new ResizeObserver(() => this.calcOverflow());
|
|
303
|
+
this.inheritedResizeObserver = new ResizeObserver(() => this.measureInherited());
|
|
304
|
+
// Reconexión del host: el observer es nuevo pero el span ya está montado y
|
|
305
|
+
// el ref no vuelve a llamarse (mismo elemento) → re-observar acá.
|
|
306
|
+
if (this.inheritedEl)
|
|
307
|
+
this.inheritedResizeObserver.observe(this.inheritedEl);
|
|
262
308
|
}
|
|
263
309
|
componentDidRender() {
|
|
264
310
|
var _a, _b, _c, _d;
|
|
@@ -287,8 +333,9 @@ export class CoRefField {
|
|
|
287
333
|
}
|
|
288
334
|
}
|
|
289
335
|
disconnectedCallback() {
|
|
290
|
-
var _a;
|
|
336
|
+
var _a, _b;
|
|
291
337
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
338
|
+
(_b = this.inheritedResizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
292
339
|
}
|
|
293
340
|
/**
|
|
294
341
|
* Counts how many trailing chips overflow the single-line chips wrapper
|
|
@@ -324,6 +371,7 @@ export class CoRefField {
|
|
|
324
371
|
// ── Watchers ───────────────────────────────────────────────
|
|
325
372
|
onOpenChange(isOpen) {
|
|
326
373
|
if (isOpen) {
|
|
374
|
+
this.hasPanelSlot = !!this.el.querySelector(':scope > [slot="panel"]');
|
|
327
375
|
this.coOpen.emit();
|
|
328
376
|
// The panel is mounted on-demand: co-option-list takes its selected-first
|
|
329
377
|
// snapshot in componentWillLoad on every open; we only need to focus the
|
|
@@ -338,6 +386,12 @@ export class CoRefField {
|
|
|
338
386
|
this.restoreTriggerFocus();
|
|
339
387
|
}
|
|
340
388
|
}
|
|
389
|
+
// ── Valor heredado: medición del truncado (drives co-tooltip `disabled`) ──
|
|
390
|
+
onInheritedLabelChange() {
|
|
391
|
+
// El span no cambia de caja al cambiar el texto (overflow:hidden) → el RO
|
|
392
|
+
// no dispara: medir tras el render.
|
|
393
|
+
requestAnimationFrame(this.measureInherited);
|
|
394
|
+
}
|
|
341
395
|
/** Devuelve el foco al trigger al cerrar el panel (Escape, selección),
|
|
342
396
|
* salvo que el cierre venga de un click-outside que ya movió el foco a
|
|
343
397
|
* otro elemento — en ese caso no robarlo. */
|
|
@@ -348,6 +402,25 @@ export class CoRefField {
|
|
|
348
402
|
(_a = this.triggerEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
349
403
|
}
|
|
350
404
|
}
|
|
405
|
+
/** Selección desde un panel proyectado (slot `panel`): mismo contrato que un
|
|
406
|
+
* click en la co-option-list — actualiza `value`, emite `coChange` con
|
|
407
|
+
* `{ value, item }` y cierra en single. */
|
|
408
|
+
async selectOption(option) {
|
|
409
|
+
this.handleOptionClick(option);
|
|
410
|
+
}
|
|
411
|
+
/** Cierra el panel (Escape/Enter manejados por un panel proyectado). */
|
|
412
|
+
async closePanel() {
|
|
413
|
+
this.isOpen = false;
|
|
414
|
+
}
|
|
415
|
+
/** Abre el panel. Espejo de `closePanel` para un panel proyectado que se
|
|
416
|
+
* cierra a sí mismo (p.ej. para mostrar un modal — un click dentro de un
|
|
417
|
+
* co-modal cuenta como click-outside del popover) y quiere volver a abrirse
|
|
418
|
+
* después. No-op si está disabled, igual que el trigger. */
|
|
419
|
+
async openPanel() {
|
|
420
|
+
if (this.disabled)
|
|
421
|
+
return;
|
|
422
|
+
this.isOpen = true;
|
|
423
|
+
}
|
|
351
424
|
// ── Render helpers ─────────────────────────────────────────
|
|
352
425
|
renderTrigger() {
|
|
353
426
|
const selected = this.effectiveDisplayItems;
|
|
@@ -359,7 +432,7 @@ export class CoRefField {
|
|
|
359
432
|
[`co-ref-field--${this.normalizedSize}`]: true,
|
|
360
433
|
[`co-ref-field--${this.status}`]: this.status !== 'default',
|
|
361
434
|
'co-ref-field--flat': this.variant === 'flat',
|
|
362
|
-
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-label": this.label || undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-controls": this.isOpen ? CoRefField.LIST_ID : undefined, tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, this.iconLeft && (h("span", { class: "co-ref-field__icon" }, h("co-icon", { name: this.iconLeft, size: 16 }))), h("div", { class: "co-ref-field__value" }, !hasValue && h("span", { class: "co-ref-field__placeholder", part: "trigger-placeholder" }, this.placeholder), hasValue && !this.multiple && this.renderSingleValue(selected[0]), hasValue && this.multiple && this.renderMultipleValue(selected)), hasValue && this.triggerBadgeIcon && (h("span", { class: "co-ref-field__trigger-badge", part: "trigger-badge", role: "img", title: this.triggerBadgeLabel || undefined, "aria-label": this.triggerBadgeLabel || undefined }, h("co-icon", { name: this.triggerBadgeIcon, size: 11, weight: "fill" }))), hasValue && !this.multiple && this.editable && !this.disabled && (h("button", { class: "co-ref-field__edit", part: "trigger-edit", tabIndex: -1, onClick: this.handleEditClick, type: "button", title: this.editLabel || undefined, "aria-label": this.editLabel || undefined }, h("co-icon", { name: "pencil-simple", size: 14 }))), hasValue && this.clearable && !this.disabled && (h("button", { class: "co-ref-field__clear", part: "trigger-clear", tabIndex: -1, onClick: this.handleClear, type: "button" }, h("co-icon", { name: "x", size: 14 }))), h("span", { class: "co-ref-field__caret", part: "trigger-chevron" }, h("co-icon", { name: "caret-up-down", size: 16 }))));
|
|
435
|
+
}, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-label": this.label || undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-controls": this.isOpen ? CoRefField.LIST_ID : undefined, tabIndex: this.disabled ? -1 : 0, ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, this.iconLeft && (h("span", { class: "co-ref-field__icon" }, h("co-icon", { name: this.iconLeft, size: 16 }))), h("div", { class: "co-ref-field__value" }, !hasValue && this.inheritedLabel && (h("co-tooltip", { block: true, class: "co-ref-field__inherited-tip", content: this.inheritedLabel, placement: "top", disabled: !this.inheritedTruncated }, h("span", { class: "co-ref-field__inherited", part: "trigger-inherited", ref: this.setInheritedEl }, this.inheritedLabel))), !hasValue && !this.inheritedLabel && (h("span", { class: "co-ref-field__placeholder", part: "trigger-placeholder" }, this.placeholder)), hasValue && !this.multiple && this.renderSingleValue(selected[0]), hasValue && this.multiple && this.renderMultipleValue(selected)), !hasValue && this.inheritedLabel && this.inheritedBadgeLabel && (h("span", { class: "co-ref-field__inherited-badge", part: "trigger-inherited-badge" }, this.inheritedBadgeLabel)), hasValue && this.triggerBadgeIcon && (h("span", { class: "co-ref-field__trigger-badge", part: "trigger-badge", role: "img", title: this.triggerBadgeLabel || undefined, "aria-label": this.triggerBadgeLabel || undefined }, h("co-icon", { name: this.triggerBadgeIcon, size: 11, weight: "fill" }))), hasValue && !this.multiple && this.editable && !this.disabled && (h("button", { class: "co-ref-field__edit", part: "trigger-edit", tabIndex: -1, onClick: this.handleEditClick, type: "button", title: this.editLabel || undefined, "aria-label": this.editLabel || undefined }, h("co-icon", { name: "pencil-simple", size: 14 }))), hasValue && this.clearable && !this.disabled && (h("button", { class: "co-ref-field__clear", part: "trigger-clear", tabIndex: -1, onClick: this.handleClear, type: "button" }, h("co-icon", { name: "x", size: 14 }))), h("span", { class: "co-ref-field__caret", part: "trigger-chevron" }, h("co-icon", { name: "caret-up-down", size: 16 }))));
|
|
363
436
|
}
|
|
364
437
|
/**
|
|
365
438
|
* Leading visual for a selected value / chip. Prefers a real avatar (image
|
|
@@ -408,16 +481,31 @@ export class CoRefField {
|
|
|
408
481
|
}, style: fill ? { backgroundColor: item.color } : undefined, onRemove: (e) => this.handleRemoveChip(item._id, e) }, item.image || item.avatar ? (this.renderItemAvatar(item)) : item.color && !fill ? (h("span", { class: "co-ref-field__chip-dot", style: { backgroundColor: item.color } })) : null));
|
|
409
482
|
})), overflow > 0 && h("span", { class: "co-ref-field__chip-overflow" }, "+", overflow)));
|
|
410
483
|
}
|
|
484
|
+
/** Botones del footer. `slotted`: dentro de la co-option-list van por su
|
|
485
|
+
* slot `footer`; en el panel proyectado se pintan directo bajo el slot. */
|
|
486
|
+
renderFooter(slotted) {
|
|
487
|
+
if (!this.showFooter)
|
|
488
|
+
return null;
|
|
489
|
+
return (h("div", { class: "co-ref-field__footer", slot: slotted ? 'footer' : undefined }, this.footerSecondaryLabel && (h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--secondary", type: "button", onClick: this.handleFooterSecondary }, h("co-icon", { name: "plus", size: 16 }), h("span", null, this.footerSecondaryLabel))), h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--primary", type: "button", onClick: this.handleFooterPrimary }, h("co-icon", { name: "check", size: 16 }), h("span", null, this.footerPrimaryLabel))));
|
|
490
|
+
}
|
|
411
491
|
renderPanel() {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
492
|
+
const panelClass = {
|
|
493
|
+
'co-ref-field__panel': true,
|
|
494
|
+
'co-ref-field__panel--dark': this.panelTheme === 'dark',
|
|
495
|
+
'co-ref-field__panel--light': this.panelTheme === 'light',
|
|
496
|
+
};
|
|
497
|
+
const panelStyle = this.panelWidth ? { width: this.panelWidth } : undefined;
|
|
498
|
+
if (this.hasPanelSlot) {
|
|
499
|
+
// Panel del host: la búsqueda, las opciones y su a11y son suyas; acá
|
|
500
|
+
// quedan el chrome del panel (radius/tema/ancho), el id que el trigger
|
|
501
|
+
// referencia por aria-controls y el footer compartido.
|
|
502
|
+
return (h("div", { class: Object.assign(Object.assign({}, panelClass), { 'co-ref-field__panel--custom': true }), id: CoRefField.LIST_ID, style: panelStyle }, h("slot", { name: "panel" }), this.renderFooter(false)));
|
|
503
|
+
}
|
|
504
|
+
return (h("div", { class: panelClass, style: panelStyle }, h("co-option-list", { id: CoRefField.LIST_ID, ref: (el) => (this.optionListEl = el), items: typeof this.options === 'string' ? this.options : JSON.stringify(this.options), value: this.value, selectedItems: typeof this.selectedDisplay === 'string' ? this.selectedDisplay : JSON.stringify(this.selectedDisplay), multiple: this.multiple, selectedFirst: this.multiple, reorderable: this.multiple, pinnable: this.pinnable, listReorderable: this.listReorderable, selectedAffordance: "deselect", searchable: this.searchable, searchPlaceholder: this.searchPlaceholder, searchDebounce: this.searchDebounce, loading: this.loading, total: this.total, emptyMessage: this.emptyMessage, avatarShape: this.avatarShape, onCoSearch: (e) => this.coSearch.emit(e.detail), onCoChange: (e) => this.handleListChange(e.detail), onCoReorder: (e) => this.handleReorder(e.detail), onCoPinToggle: (e) => this.coPinToggle.emit(e.detail), onCoListReorder: (e) => this.coListReorder.emit(e.detail), onCoLoadMore: () => this.coLoadMore.emit() }, h("slot", { name: "panel-footer", slot: "footer" }), this.renderFooter(true))));
|
|
417
505
|
}
|
|
418
506
|
// ── Main render ────────────────────────────────────────────
|
|
419
507
|
render() {
|
|
420
|
-
return (h("div", { key: '
|
|
508
|
+
return (h("div", { key: 'fa7de667cc9002d1a4a042b0d200524cbcb89b78', class: "co-ref-field" }, (this.label || this.secondaryLabel) && (h("div", { key: 'a6ddd5b71364e4f5bdf63b04faa09bfc0a32f6bc', class: "co-ref-field__labels" }, this.label && (h("label", { key: '766f803c8be77f72e52e4d3cdd7b6d7a363a146a', class: "co-ref-field__label" }, this.labelIcon && (h("co-icon", { key: 'a8b6c7f189af4b9f37de8c3cc96cb489fd9183e4', class: "co-ref-field__label-icon", name: this.labelIcon, size: 16 })), this.label, h(RequiredMark, { key: '643edcb040ef9a91040e8d52f628bc0af06c36ba', required: this.required }))), this.secondaryLabel && (h("span", { key: '7a107c578e003760423acc6d450f2a42a0868375', class: "co-ref-field__secondary-label" }, this.secondaryLabel)))), h("co-popover", { key: '9938ca629c5927156ea137adfefd1d927104312b', open: this.isOpen, placement: "bottom-start", matchWidth: !this.panelWidth, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: '7618ea5fb13e4944596fd728cf934b5c28bd29ab', slot: "trigger" }, this.renderTrigger()), this.isOpen && this.renderPanel()), this.helperText && (h("div", { key: '1dd9fc7659e8f8791bb4b785407b0e89b32107c8', class: `co-ref-field__helper co-ref-field__helper--${this.status}` }, this.status !== 'default' && (h("co-icon", { key: '399674b95ebcc91581f1f1cea54451f8ee33d9da', name: this.status === 'error' ? 'warning-circle' : this.status === 'success' ? 'check-circle' : 'info', size: 14 })), h("span", { key: '640adc4e5cd4cd742a171cac1319b75489cb7ef8' }, this.helperText)))));
|
|
421
509
|
}
|
|
422
510
|
static get is() { return "co-ref-field"; }
|
|
423
511
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1088,6 +1176,46 @@ export class CoRefField {
|
|
|
1088
1176
|
"attribute": "trigger-badge-label",
|
|
1089
1177
|
"defaultValue": "''"
|
|
1090
1178
|
},
|
|
1179
|
+
"inheritedLabel": {
|
|
1180
|
+
"type": "string",
|
|
1181
|
+
"mutable": false,
|
|
1182
|
+
"complexType": {
|
|
1183
|
+
"original": "string",
|
|
1184
|
+
"resolved": "string",
|
|
1185
|
+
"references": {}
|
|
1186
|
+
},
|
|
1187
|
+
"required": false,
|
|
1188
|
+
"optional": false,
|
|
1189
|
+
"docs": {
|
|
1190
|
+
"tags": [],
|
|
1191
|
+
"text": "Valor HEREDADO: texto que se pinta cuando NO hay valor, en lugar del\nplaceholder, para mostrar lo que aplica por defecto (p. ej. el layout\npredeterminado del workspace en Deal.proposal.template.layout). No es un\nvalor: `value` sigue vac\u00EDo y no hay \u00D7. Vac\u00EDo = placeholder de siempre."
|
|
1192
|
+
},
|
|
1193
|
+
"getter": false,
|
|
1194
|
+
"setter": false,
|
|
1195
|
+
"reflect": false,
|
|
1196
|
+
"attribute": "inherited-label",
|
|
1197
|
+
"defaultValue": "''"
|
|
1198
|
+
},
|
|
1199
|
+
"inheritedBadgeLabel": {
|
|
1200
|
+
"type": "string",
|
|
1201
|
+
"mutable": false,
|
|
1202
|
+
"complexType": {
|
|
1203
|
+
"original": "string",
|
|
1204
|
+
"resolved": "string",
|
|
1205
|
+
"references": {}
|
|
1206
|
+
},
|
|
1207
|
+
"required": false,
|
|
1208
|
+
"optional": false,
|
|
1209
|
+
"docs": {
|
|
1210
|
+
"tags": [],
|
|
1211
|
+
"text": "Chip outlined junto al valor heredado (p. ej. 'Predeterminado'). Solo con inheritedLabel."
|
|
1212
|
+
},
|
|
1213
|
+
"getter": false,
|
|
1214
|
+
"setter": false,
|
|
1215
|
+
"reflect": false,
|
|
1216
|
+
"attribute": "inherited-badge-label",
|
|
1217
|
+
"defaultValue": "''"
|
|
1218
|
+
},
|
|
1091
1219
|
"panelWidth": {
|
|
1092
1220
|
"type": "string",
|
|
1093
1221
|
"mutable": false,
|
|
@@ -1171,6 +1299,7 @@ export class CoRefField {
|
|
|
1171
1299
|
}
|
|
1172
1300
|
static get states() {
|
|
1173
1301
|
return {
|
|
1302
|
+
"inheritedTruncated": {},
|
|
1174
1303
|
"isOpen": {},
|
|
1175
1304
|
"overflowCount": {}
|
|
1176
1305
|
};
|
|
@@ -1192,7 +1321,7 @@ export class CoRefField {
|
|
|
1192
1321
|
"references": {
|
|
1193
1322
|
"RefFieldOption": {
|
|
1194
1323
|
"location": "local",
|
|
1195
|
-
"path": "/Users/agox/worktrees/cobalt-
|
|
1324
|
+
"path": "/Users/agox/worktrees/cobalt-release/packages/core/src/components/co-ref-field/co-ref-field.tsx",
|
|
1196
1325
|
"id": "src/components/co-ref-field/co-ref-field.tsx::RefFieldOption"
|
|
1197
1326
|
}
|
|
1198
1327
|
}
|
|
@@ -1333,7 +1462,7 @@ export class CoRefField {
|
|
|
1333
1462
|
"references": {
|
|
1334
1463
|
"RefFieldOption": {
|
|
1335
1464
|
"location": "local",
|
|
1336
|
-
"path": "/Users/agox/worktrees/cobalt-
|
|
1465
|
+
"path": "/Users/agox/worktrees/cobalt-release/packages/core/src/components/co-ref-field/co-ref-field.tsx",
|
|
1337
1466
|
"id": "src/components/co-ref-field/co-ref-field.tsx::RefFieldOption"
|
|
1338
1467
|
}
|
|
1339
1468
|
}
|
|
@@ -1354,7 +1483,7 @@ export class CoRefField {
|
|
|
1354
1483
|
"references": {
|
|
1355
1484
|
"RefFieldOption": {
|
|
1356
1485
|
"location": "local",
|
|
1357
|
-
"path": "/Users/agox/worktrees/cobalt-
|
|
1486
|
+
"path": "/Users/agox/worktrees/cobalt-release/packages/core/src/components/co-ref-field/co-ref-field.tsx",
|
|
1358
1487
|
"id": "src/components/co-ref-field/co-ref-field.tsx::RefFieldOption"
|
|
1359
1488
|
}
|
|
1360
1489
|
}
|
|
@@ -1376,11 +1505,78 @@ export class CoRefField {
|
|
|
1376
1505
|
}
|
|
1377
1506
|
}];
|
|
1378
1507
|
}
|
|
1508
|
+
static get methods() {
|
|
1509
|
+
return {
|
|
1510
|
+
"selectOption": {
|
|
1511
|
+
"complexType": {
|
|
1512
|
+
"signature": "(option: RefFieldOption) => Promise<void>",
|
|
1513
|
+
"parameters": [{
|
|
1514
|
+
"name": "option",
|
|
1515
|
+
"type": "RefFieldOption",
|
|
1516
|
+
"docs": ""
|
|
1517
|
+
}],
|
|
1518
|
+
"references": {
|
|
1519
|
+
"Promise": {
|
|
1520
|
+
"location": "global",
|
|
1521
|
+
"id": "global::Promise"
|
|
1522
|
+
},
|
|
1523
|
+
"RefFieldOption": {
|
|
1524
|
+
"location": "local",
|
|
1525
|
+
"path": "/Users/agox/worktrees/cobalt-release/packages/core/src/components/co-ref-field/co-ref-field.tsx",
|
|
1526
|
+
"id": "src/components/co-ref-field/co-ref-field.tsx::RefFieldOption"
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"return": "Promise<void>"
|
|
1530
|
+
},
|
|
1531
|
+
"docs": {
|
|
1532
|
+
"text": "Selecci\u00F3n desde un panel proyectado (slot `panel`): mismo contrato que un\nclick en la co-option-list \u2014 actualiza `value`, emite `coChange` con\n`{ value, item }` y cierra en single.",
|
|
1533
|
+
"tags": []
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
"closePanel": {
|
|
1537
|
+
"complexType": {
|
|
1538
|
+
"signature": "() => Promise<void>",
|
|
1539
|
+
"parameters": [],
|
|
1540
|
+
"references": {
|
|
1541
|
+
"Promise": {
|
|
1542
|
+
"location": "global",
|
|
1543
|
+
"id": "global::Promise"
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
"return": "Promise<void>"
|
|
1547
|
+
},
|
|
1548
|
+
"docs": {
|
|
1549
|
+
"text": "Cierra el panel (Escape/Enter manejados por un panel proyectado).",
|
|
1550
|
+
"tags": []
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
"openPanel": {
|
|
1554
|
+
"complexType": {
|
|
1555
|
+
"signature": "() => Promise<void>",
|
|
1556
|
+
"parameters": [],
|
|
1557
|
+
"references": {
|
|
1558
|
+
"Promise": {
|
|
1559
|
+
"location": "global",
|
|
1560
|
+
"id": "global::Promise"
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
"return": "Promise<void>"
|
|
1564
|
+
},
|
|
1565
|
+
"docs": {
|
|
1566
|
+
"text": "Abre el panel. Espejo de `closePanel` para un panel proyectado que se\ncierra a s\u00ED mismo (p.ej. para mostrar un modal \u2014 un click dentro de un\nco-modal cuenta como click-outside del popover) y quiere volver a abrirse\ndespu\u00E9s. No-op si est\u00E1 disabled, igual que el trigger.",
|
|
1567
|
+
"tags": []
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
};
|
|
1571
|
+
}
|
|
1379
1572
|
static get elementRef() { return "el"; }
|
|
1380
1573
|
static get watchers() {
|
|
1381
1574
|
return [{
|
|
1382
1575
|
"propName": "isOpen",
|
|
1383
1576
|
"methodName": "onOpenChange"
|
|
1577
|
+
}, {
|
|
1578
|
+
"propName": "inheritedLabel",
|
|
1579
|
+
"methodName": "onInheritedLabelChange"
|
|
1384
1580
|
}];
|
|
1385
1581
|
}
|
|
1386
1582
|
}
|
|
@@ -441,6 +441,14 @@ co-rich-text-editor {
|
|
|
441
441
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
|
442
442
|
user-select: none;
|
|
443
443
|
white-space: nowrap;
|
|
444
|
+
/* En hosts angostos (panel de foco del quote builder, 480px) la fila con el
|
|
445
|
+
form de link abierto medía más que el editor y se recortaba contra el
|
|
446
|
+
overflow del panel — floating-ui shiftéa pero no puede achicar. Cap al
|
|
447
|
+
ancho del offset parent (el editor) + wrap a segunda línea. border-box:
|
|
448
|
+
sin él, max-width + padding desbordan igual (no hay reset global). */
|
|
449
|
+
max-width: 100%;
|
|
450
|
+
box-sizing: border-box;
|
|
451
|
+
flex-wrap: wrap;
|
|
444
452
|
}
|
|
445
453
|
|
|
446
454
|
.co-rte-bubble__drag-handle {
|
|
@@ -467,7 +475,12 @@ co-rich-text-editor {
|
|
|
467
475
|
display: flex;
|
|
468
476
|
align-items: center;
|
|
469
477
|
gap: 2px;
|
|
470
|
-
|
|
478
|
+
/* wrap: la fila hereda el cap de ancho del bubble — con el form de link
|
|
479
|
+
abierto en un host angosto, el input baja a la segunda línea en vez de
|
|
480
|
+
recortarse (ver .co-rte-bubble). */
|
|
481
|
+
flex-wrap: wrap;
|
|
482
|
+
max-width: 100%;
|
|
483
|
+
min-width: 0;
|
|
471
484
|
}
|
|
472
485
|
|
|
473
486
|
.co-rte-bubble__btn {
|
|
@@ -716,8 +716,10 @@ export class CoRichTextEditor {
|
|
|
716
716
|
linkInput.addEventListener('keydown', (e) => {
|
|
717
717
|
if (e.key === 'Enter')
|
|
718
718
|
this.submitBubbleLinkImperative();
|
|
719
|
-
if (e.key === 'Escape')
|
|
719
|
+
if (e.key === 'Escape') {
|
|
720
|
+
e.stopPropagation();
|
|
720
721
|
this.toggleBubbleLinkForm(false);
|
|
722
|
+
}
|
|
721
723
|
});
|
|
722
724
|
const linkSubmit = document.createElement('button');
|
|
723
725
|
linkSubmit.type = 'button';
|
|
@@ -1281,6 +1283,7 @@ export class CoRichTextEditor {
|
|
|
1281
1283
|
}
|
|
1282
1284
|
}
|
|
1283
1285
|
if (e.key === 'Escape') {
|
|
1286
|
+
e.stopPropagation();
|
|
1284
1287
|
panel.style.display = 'none';
|
|
1285
1288
|
}
|
|
1286
1289
|
});
|
|
@@ -2031,7 +2034,7 @@ export class CoRichTextEditor {
|
|
|
2031
2034
|
render() {
|
|
2032
2035
|
const showToolbar = this.resolvedToolbar !== 'none' && !this.readonly && !this.disabled;
|
|
2033
2036
|
const showCount = this.showCharacterCount || this.maxLength != null;
|
|
2034
|
-
return (h("div", { key: '
|
|
2037
|
+
return (h("div", { key: '3acc844eb53d8b3568d9f72e053363b674e9ba87', class: {
|
|
2035
2038
|
'co-rich-text-editor': true,
|
|
2036
2039
|
'co-rich-text-editor--focused': this.hasFocus,
|
|
2037
2040
|
'co-rich-text-editor--disabled': this.disabled,
|
|
@@ -2039,10 +2042,10 @@ export class CoRichTextEditor {
|
|
|
2039
2042
|
'co-rich-text-editor--loading': !this.ready,
|
|
2040
2043
|
[`co-rich-text-editor--${this.status}`]: this.status !== 'default',
|
|
2041
2044
|
'co-rich-text-editor--flat': this.variant === 'flat',
|
|
2042
|
-
}, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '
|
|
2045
|
+
}, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '53b6f47e19e422ab1c7b3e2d452f320495199c33', class: "co-rich-text-editor__labels" }, this.label && h("label", { key: 'c4c7eb0f49cbffc40cbd6cfd2a28848201623be9', class: "co-rich-text-editor__label", part: "label" }, this.label), this.secondaryLabel && (h("span", { key: '13663ac237f80b637ebf8df841ba52c4aa73a0f4', class: "co-rich-text-editor__secondary-label" }, this.secondaryLabel)))), h("div", { key: 'deb51dfabddb6ca08dc849f17f7850d635bee9e0', class: "co-rich-text-editor__frame" }, showToolbar && (h("co-rich-text-toolbar", { key: 'f62c2cf76ce791f0648bde14c30300c40417a22b', class: "co-rich-text-editor__toolbar", part: "toolbar", variant: this.resolvedToolbar, disabled: this.disabled || this.readonly, locale: this.locale, attachmentsEnabled: this.attachmentsEnabled, attachmentAccept: this.attachmentAccept, onCoAttachmentsSelected: (e) => {
|
|
2043
2046
|
e.stopPropagation();
|
|
2044
2047
|
this.coAttachmentsSelected.emit(e.detail);
|
|
2045
|
-
}, ref: (el) => (this.toolbarEl = el) })), h("div", { key: '
|
|
2048
|
+
}, ref: (el) => (this.toolbarEl = el) })), h("div", { key: 'af3c512a9ec4ed3dc62d83b8acbd13132c84f349', class: "co-rich-text-editor__box" }, h("div", { key: '3cacb60bf24487d631ec3e7153313b3ed940ea8e', class: "co-rte-content", part: "content", role: "textbox", "aria-multiline": "true", "aria-label": this.label, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.status === 'error' ? 'true' : undefined, ref: (el) => (this.contentEl = el) }))), h("div", { key: 'ac6511ee617587f29a55adeb5ef9840be559adcd', class: "co-rich-text-editor__footer" }, this.helperText && (h("div", { key: '8ae2c198a948e553d22111bad15d5119c7ee090f', class: `co-rich-text-editor__helper co-rich-text-editor__helper--${this.status}`, part: "helper" }, h("co-icon", { key: 'a764d0daeeaeee64fae43c2358cdad9ecfe89b13', name: this.helperIcon, size: 14 }), h("span", { key: 'c1efcf1a97de016fa78a408306696cc0f4b29f29' }, this.helperText))), showCount && (h("span", { key: 'c68f01b407e6b2aa17582b58244b147825729138', class: "co-rich-text-editor__count", ref: (el) => (this.charCountEl = el) }, this.charCount, this.maxLength != null ? ` / ${this.maxLength}` : '')))));
|
|
2046
2049
|
}
|
|
2047
2050
|
static get is() { return "co-rich-text-editor"; }
|
|
2048
2051
|
static get originalStyleUrls() {
|
|
@@ -2082,7 +2085,7 @@ export class CoRichTextEditor {
|
|
|
2082
2085
|
"mutable": false,
|
|
2083
2086
|
"complexType": {
|
|
2084
2087
|
"original": "RichTextPreset",
|
|
2085
|
-
"resolved": "\"block-email\" | \"comment\" | \"document\" | \"email\" | \"task\"",
|
|
2088
|
+
"resolved": "\"block-email\" | \"comment\" | \"document\" | \"email\" | \"notes\" | \"task\"",
|
|
2086
2089
|
"references": {
|
|
2087
2090
|
"RichTextPreset": {
|
|
2088
2091
|
"location": "import",
|
|
@@ -2345,7 +2348,7 @@ export class CoRichTextEditor {
|
|
|
2345
2348
|
"mutable": false,
|
|
2346
2349
|
"complexType": {
|
|
2347
2350
|
"original": "ToolbarVariant",
|
|
2348
|
-
"resolved": "\"auto\" | \"basic\" | \"compact\" | \"compact-assets\" | \"full\" | \"none\"",
|
|
2351
|
+
"resolved": "\"auto\" | \"basic\" | \"compact\" | \"compact-assets\" | \"full\" | \"none\" | \"notes\"",
|
|
2349
2352
|
"references": {
|
|
2350
2353
|
"ToolbarVariant": {
|
|
2351
2354
|
"location": "import",
|
|
@@ -782,8 +782,10 @@ export class CoRichTextToolbar {
|
|
|
782
782
|
} }, h("input", { type: "url", class: "co-rich-text-toolbar__popover-input", placeholder: placeholder, value: this.popoverInput, onInput: (e) => { this.popoverInput = e.target.value; }, onKeyDown: (e) => {
|
|
783
783
|
if (e.key === 'Enter')
|
|
784
784
|
this.submitPopover(item.action);
|
|
785
|
-
if (e.key === 'Escape')
|
|
785
|
+
if (e.key === 'Escape') {
|
|
786
|
+
e.stopPropagation();
|
|
786
787
|
this.closePopover();
|
|
788
|
+
}
|
|
787
789
|
}, ref: (el) => el && setTimeout(() => el.focus(), 0) }), h("div", { class: "co-rich-text-toolbar__popover-actions" }, h("button", { type: "button", class: "co-rich-text-toolbar__popover-btn co-rich-text-toolbar__popover-btn--primary", onMouseDown: (e) => e.preventDefault(), onClick: () => this.submitPopover(item.action) }, this.s.add), hasExisting && (h("button", { type: "button", class: "co-rich-text-toolbar__popover-btn co-rich-text-toolbar__popover-btn--danger", onMouseDown: (e) => e.preventDefault(), onClick: () => isLink ? this.removeLink() : this.removeIframe() }, this.s.remove)), h("button", { type: "button", class: "co-rich-text-toolbar__popover-btn", onMouseDown: (e) => e.preventDefault(), onClick: () => this.closePopover() }, this.s.cancel))));
|
|
788
790
|
}
|
|
789
791
|
renderImagePopover() {
|
|
@@ -796,6 +798,7 @@ export class CoRichTextToolbar {
|
|
|
796
798
|
if (e.key === 'Enter')
|
|
797
799
|
this.submitPopover('image');
|
|
798
800
|
if (e.key === 'Escape') {
|
|
801
|
+
e.stopPropagation();
|
|
799
802
|
this.imagePopoverMode = 'menu';
|
|
800
803
|
}
|
|
801
804
|
}, ref: (el) => el && setTimeout(() => el.focus(), 0) }), h("div", { class: "co-rich-text-toolbar__popover-actions" }, h("button", { type: "button", class: "co-rich-text-toolbar__popover-btn co-rich-text-toolbar__popover-btn--primary", onMouseDown: (e) => e.preventDefault(), onClick: () => this.submitPopover('image') }, this.s.add), h("button", { type: "button", class: "co-rich-text-toolbar__popover-btn", onMouseDown: (e) => e.preventDefault(), onClick: () => { this.imagePopoverMode = 'menu'; } }, this.s.back))));
|
|
@@ -1081,6 +1084,7 @@ export class CoRichTextToolbar {
|
|
|
1081
1084
|
}
|
|
1082
1085
|
}
|
|
1083
1086
|
else if (e.key === 'Escape') {
|
|
1087
|
+
e.stopPropagation();
|
|
1084
1088
|
this.closePopover();
|
|
1085
1089
|
}
|
|
1086
1090
|
} })), h("button", { type: "button", class: "co-rich-text-toolbar__color-clear", onMouseDown: (e) => e.preventDefault(), onClick: () => this.clearColor(item.action) }, h("co-icon", { name: "x", size: 12 }), h("span", null, this.s.removeColor))));
|
|
@@ -1139,8 +1143,8 @@ export class CoRichTextToolbar {
|
|
|
1139
1143
|
"type": "string",
|
|
1140
1144
|
"mutable": false,
|
|
1141
1145
|
"complexType": {
|
|
1142
|
-
"original": "'none' | 'compact' | 'compact-assets' | 'basic' | 'full'",
|
|
1143
|
-
"resolved": "\"basic\" | \"compact\" | \"compact-assets\" | \"full\" | \"none\"",
|
|
1146
|
+
"original": "'none' | 'compact' | 'compact-assets' | 'basic' | 'notes' | 'full'",
|
|
1147
|
+
"resolved": "\"basic\" | \"compact\" | \"compact-assets\" | \"full\" | \"none\" | \"notes\"",
|
|
1144
1148
|
"references": {}
|
|
1145
1149
|
},
|
|
1146
1150
|
"required": false,
|
|
@@ -14,6 +14,7 @@ import DOMPurify from "dompurify";
|
|
|
14
14
|
const ALLOWED_TAGS = {
|
|
15
15
|
comment: ['p', 'br', 'strong', 'em', 'a', 'span'],
|
|
16
16
|
task: ['p', 'br', 'strong', 'em', 'a', 'span', 'u', 's', 'code', 'ul', 'ol', 'li', 'blockquote'],
|
|
17
|
+
notes: ['p', 'br', 'strong', 'em', 'a', 'span', 'u', 's', 'code', 'ul', 'ol', 'li', 'blockquote', 'mark'],
|
|
17
18
|
email: ['p', 'br', 'strong', 'em', 'a', 'span', 'u', 's', 'code', 'ul', 'ol', 'li', 'blockquote', 'h2', 'h3', 'div', 'img'],
|
|
18
19
|
document: ['p', 'br', 'strong', 'em', 'a', 'span', 'u', 's', 'code', 'ul', 'ol', 'li', 'blockquote', 'h1', 'h2', 'h3', 'h4', 'hr', 'div', 'mark', 'img', 'table', 'thead', 'tbody', 'tr', 'th', 'td', 'iframe'],
|
|
19
20
|
'block-email': ['p', 'br', 'strong', 'em', 'a', 'span', 'u', 's', 'code', 'ul', 'ol', 'li', 'blockquote', 'h2', 'h3', 'div', 'img'],
|
|
@@ -72,7 +73,7 @@ export class CoRichTextViewer {
|
|
|
72
73
|
// the mention chip keeps its style hook in read mode — the new markup
|
|
73
74
|
// (data-mention-id/label) is always allowed. image/variables attrs are
|
|
74
75
|
// already in the base list below.
|
|
75
|
-
const allowedAttr = ['href', 'target', 'rel', 'data-variable', 'data-mention-id', 'data-mention-label', 'style', 'colspan', 'rowspan', 'src', 'alt', 'width', 'height', 'allowfullscreen', 'frameborder', 'allow', 'loading', 'data-youtube-video', 'data-iframe', 'data-image-layout', 'data-file-id', 'type', 'checked', 'disabled'];
|
|
76
|
+
const allowedAttr = ['href', 'target', 'rel', 'data-variable', 'data-mention-id', 'data-mention-label', 'style', 'colspan', 'rowspan', 'src', 'alt', 'width', 'height', 'allowfullscreen', 'frameborder', 'allow', 'loading', 'data-youtube-video', 'data-iframe', 'data-image-layout', 'data-file-id', 'type', 'checked', 'disabled', 'data-color'];
|
|
76
77
|
if ((_a = this.parsedFeatures) === null || _a === void 0 ? void 0 : _a.mentions) {
|
|
77
78
|
for (const a of ['data-id', 'data-value', 'data-denotation-char', 'data-index']) {
|
|
78
79
|
if (!allowedAttr.includes(a))
|
|
@@ -181,7 +182,7 @@ export class CoRichTextViewer {
|
|
|
181
182
|
"mutable": false,
|
|
182
183
|
"complexType": {
|
|
183
184
|
"original": "RichTextPreset",
|
|
184
|
-
"resolved": "\"block-email\" | \"comment\" | \"document\" | \"email\" | \"task\"",
|
|
185
|
+
"resolved": "\"block-email\" | \"comment\" | \"document\" | \"email\" | \"notes\" | \"task\"",
|
|
185
186
|
"references": {
|
|
186
187
|
"RichTextPreset": {
|
|
187
188
|
"location": "import",
|
|
@@ -13,11 +13,11 @@ export class CoRow {
|
|
|
13
13
|
this.size = 'sm';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: 'df05ce9c0da83cd61ce3a42e4a578ea4d038e12c', class: {
|
|
17
17
|
'co-row': true,
|
|
18
18
|
[`co-row--${this.position}`]: true,
|
|
19
19
|
[`co-row--${this.size}`]: true,
|
|
20
|
-
}, part: "row" }, h("div", { key: '
|
|
20
|
+
}, part: "row" }, h("div", { key: 'fcd7514bd6071f16f8b92ace2651bf33b74a402e', class: "co-row__prefix" }, h("slot", { key: '47254fffd8803454f9d8f0cccfb6e80bb7058b38', name: "prefix" })), h("div", { key: '43aaab6683919b7e9e47c0a67203edffa3db81df', class: "co-row__content" }, h("slot", { key: '4fb7a8ea03f79313176ca8c5ae23f878eace9027' })), h("div", { key: '3c7bcd64ccf417e95620cec6ae87d7d9d1697bed', class: "co-row__suffix" }, h("slot", { key: 'af2e72debbcc68919ef3e28d03ff18cf747ccc43', name: "suffix" }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "co-row"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|