From d37ab4903b344ee63bf7d059bc9f031a1ece29ec Mon Sep 17 00:00:00 2001 From: "Elain T." Date: Fri, 10 Jan 2025 12:05:43 -0500 Subject: [PATCH] docs(design): tag examples with `@example` (#3392) --- .../src/button/basic/button.component.ts | 2 +- .../button/src/button/flat/flat.component.ts | 2 +- .../button/src/button/icon/icon.component.ts | 2 +- .../src/button/raised/raised.component.ts | 2 +- .../src/button/stroked/stroked.component.ts | 2 +- .../button/underline/underline.component.ts | 2 +- .../sidebar-viewport.component.ts | 24 +++++----- .../article-encapsulated.directive.ts | 9 ++-- .../src/core/colorable/colorable.directive.ts | 46 +++++++++++-------- .../core/compactable/compactable.directive.ts | 16 +++---- libs/design/src/core/focus/stack.service.ts | 4 +- .../manage-container-layout.directive.ts | 6 +-- .../src/core/openable/openable.directive.ts | 3 +- .../src/core/sizable/sizable.directive.ts | 12 ++--- .../skeletonable/skeletonable.directive.ts | 16 +++---- .../core/statusable/statusable.directive.ts | 12 ++--- .../text-alignable.directive.ts | 21 ++++----- .../switch/src/switch/switch.component.ts | 7 ++- .../src/tabs/tab-label/tab-label.component.ts | 1 + .../src/tabs/tab-panel/tab-panel.component.ts | 1 + .../design/tabs/src/tabs/tab/tab.component.ts | 5 +- libs/design/tabs/src/tabs/tabs.component.ts | 2 +- .../tree/src/tree-item/tree-item.directive.ts | 11 ++--- libs/design/tree/src/tree/tree.component.ts | 3 +- 24 files changed, 105 insertions(+), 106 deletions(-) diff --git a/libs/design/button/src/button/basic/button.component.ts b/libs/design/button/src/button/basic/button.component.ts index a0a0866446..d701aa5c64 100644 --- a/libs/design/button/src/button/basic/button.component.ts +++ b/libs/design/button/src/button/basic/button.component.ts @@ -13,7 +13,7 @@ import { DaffButtonBaseDirective } from '../button-base.directive'; /** * DaffButtonComponent is a rectangular contained button with background color. * - * ## Usage + * @example Basic button * ```html *