diff --git a/common/changes/@stonecrop/desktop/fix-docbuilder-issue-1_2025-01-02-09-06.json b/common/changes/@stonecrop/desktop/fix-docbuilder-issue-1_2025-01-02-09-06.json new file mode 100644 index 00000000..7aa8f704 --- /dev/null +++ b/common/changes/@stonecrop/desktop/fix-docbuilder-issue-1_2025-01-02-09-06.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@stonecrop/desktop", + "comment": "fix broken docbuilder stories", + "type": "patch" + } + ], + "packageName": "@stonecrop/desktop" +} \ No newline at end of file diff --git a/common/reviews/api/desktop.api.md b/common/reviews/api/desktop.api.md index 683a5765..d4c58310 100644 --- a/common/reviews/api/desktop.api.md +++ b/common/reviews/api/desktop.api.md @@ -11,12 +11,38 @@ import { Plugin as Plugin_2 } from 'vue'; import Records from './components/Records.vue'; import SheetNav from './components/SheetNav.vue'; +// @public +export type ActionElements = ButtonElement | DropdownElement; + export { ActionSet } +// @public +export type BaseElement = { + label: string; + show?: boolean; +}; + +// @public +export type ButtonElement = BaseElement & ElementAction & { + type: 'button'; +}; + export { CommandPalette } export { Doctype } +// @public +export type DropdownElement = BaseElement & { + type: 'dropdown'; + actions: ElementAction[]; +}; + +// @public +export type ElementAction = BaseElement & { + link?: string; + action?: () => void; +}; + export { Records } export { SheetNav } diff --git a/desktop/src/components/ActionSet.vue b/desktop/src/components/ActionSet.vue index 2b6ebdf8..c38d793e 100644 --- a/desktop/src/components/ActionSet.vue +++ b/desktop/src/components/ActionSet.vue @@ -39,8 +39,8 @@
- -
+ +