@aparte/core 0.27.0 → 0.27.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/dist/config/aparte-config.d.ts +13 -12
- package/dist/config/aparte-config.d.ts.map +1 -1
- package/dist/custom-elements.json +15907 -15907
- package/dist/{defer-hydration-DSZE-bKi.js → defer-hydration-CcoHD2cy.js} +6 -6
- package/dist/defer-hydration-CcoHD2cy.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.node.js +1 -1
- package/dist/types/models.d.ts +7 -5
- package/dist/types/models.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/defer-hydration-DSZE-bKi.js.map +0 -1
|
@@ -1971,7 +1971,7 @@ class ToolTable {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
}
|
|
1973
1973
|
const APARTE_DEFAULT_BUBBLE_ACTIONS = {
|
|
1974
|
-
copy:
|
|
1974
|
+
copy: false,
|
|
1975
1975
|
retry: false,
|
|
1976
1976
|
edit: false,
|
|
1977
1977
|
feedback: false,
|
|
@@ -2174,13 +2174,13 @@ class AparteConfig {
|
|
|
2174
2174
|
}
|
|
2175
2175
|
/**
|
|
2176
2176
|
* Configure which action buttons appear in message bubbles.
|
|
2177
|
-
* Unset keys keep their defaults — see {@link APARTE_DEFAULT_BUBBLE_ACTIONS}:
|
|
2178
|
-
*
|
|
2177
|
+
* Unset keys keep their defaults — see {@link APARTE_DEFAULT_BUBBLE_ACTIONS}: none, so
|
|
2178
|
+
* a message carries no button until you turn one on.
|
|
2179
2179
|
*
|
|
2180
2180
|
* @example
|
|
2181
|
+
* aparteGlobalConfig.setBubbleActions({ copy: true }) // core copies on its own
|
|
2181
2182
|
* aparteGlobalConfig.setBubbleActions({ retry: true, edit: true }) // you run AparteClient
|
|
2182
|
-
* aparteGlobalConfig.setBubbleActions({ feedback: true }) // you listen for aparte-feedback
|
|
2183
|
-
* aparteGlobalConfig.setBubbleActions({ copy: false }) // hides copy; calls merge, so anything turned on above stays on
|
|
2183
|
+
* aparteGlobalConfig.setBubbleActions({ feedback: true }) // you listen for aparte-feedback; calls merge, so copy stays on
|
|
2184
2184
|
* // Explicit per-role ordered sets (replace the flag defaults for that role):
|
|
2185
2185
|
* aparteGlobalConfig.setBubbleActions({ user: ['edit', 'copy'], assistant: ['copy', 'thumbUp', 'thumbDown', 'retry'] })
|
|
2186
2186
|
*/
|
|
@@ -9340,4 +9340,4 @@ export {
|
|
|
9340
9340
|
collectRendererStyles as y,
|
|
9341
9341
|
contentToText as z
|
|
9342
9342
|
};
|
|
9343
|
-
//# sourceMappingURL=defer-hydration-
|
|
9343
|
+
//# sourceMappingURL=defer-hydration-CcoHD2cy.js.map
|