@daffodil/design 0.90.0 → 0.91.0
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/accordion/index.d.ts +8 -5
- package/article/README.md +1 -1
- package/article/index.d.ts +20 -0
- package/article/src/article-theme.scss +10 -0
- package/button/index.d.ts +4 -4
- package/button/src/button/button-base.scss +3 -3
- package/button/src/button/raised/raised-theme.scss +2 -2
- package/card/README.md +0 -8
- package/card/index.d.ts +7 -41
- package/card/src/card-base-theme.scss +2 -5
- package/card/src/card-base.scss +2 -2
- package/checkbox/README.md +0 -0
- package/checkbox/index.d.ts +177 -0
- package/fesm2022/daffodil-design-accordion.mjs +23 -14
- package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
- package/fesm2022/daffodil-design-article.mjs +129 -5
- package/fesm2022/daffodil-design-article.mjs.map +1 -1
- package/fesm2022/daffodil-design-button.mjs +24 -20
- package/fesm2022/daffodil-design-button.mjs.map +1 -1
- package/fesm2022/daffodil-design-card.mjs +16 -63
- package/fesm2022/daffodil-design-card.mjs.map +1 -1
- package/fesm2022/daffodil-design-checkbox.mjs +317 -0
- package/fesm2022/daffodil-design-checkbox.mjs.map +1 -0
- package/fesm2022/daffodil-design-form-field.mjs +35 -65
- package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-form.mjs +62 -0
- package/fesm2022/daffodil-design-form.mjs.map +1 -0
- package/fesm2022/daffodil-design-image.mjs +12 -4
- package/fesm2022/daffodil-design-image.mjs.map +1 -1
- package/fesm2022/daffodil-design-modal.mjs +55 -56
- package/fesm2022/daffodil-design-modal.mjs.map +1 -1
- package/fesm2022/daffodil-design-notification.mjs +14 -50
- package/fesm2022/daffodil-design-notification.mjs.map +1 -1
- package/fesm2022/daffodil-design-paginator.mjs +6 -11
- package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
- package/fesm2022/daffodil-design-quantity-field.mjs +3 -5
- package/fesm2022/daffodil-design-quantity-field.mjs.map +1 -1
- package/fesm2022/daffodil-design-radio.mjs +13 -42
- package/fesm2022/daffodil-design-radio.mjs.map +1 -1
- package/fesm2022/daffodil-design-sidebar.mjs +6 -36
- package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
- package/fesm2022/daffodil-design-switch.mjs +48 -105
- package/fesm2022/daffodil-design-switch.mjs.map +1 -1
- package/fesm2022/daffodil-design-tabs.mjs +22 -14
- package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
- package/fesm2022/daffodil-design-toast.mjs +56 -55
- package/fesm2022/daffodil-design-toast.mjs.map +1 -1
- package/fesm2022/daffodil-design-tree.mjs +4 -13
- package/fesm2022/daffodil-design-tree.mjs.map +1 -1
- package/fesm2022/daffodil-design.mjs +250 -461
- package/fesm2022/daffodil-design.mjs.map +1 -1
- package/form/README.md +75 -0
- package/form/index.d.ts +27 -0
- package/form-field/README.md +49 -39
- package/form-field/index.d.ts +56 -36
- package/image/README.md +27 -19
- package/image/index.d.ts +6 -1
- package/index.d.ts +180 -259
- package/input/README.md +32 -12
- package/modal/README.md +106 -16
- package/modal/index.d.ts +50 -21
- package/native-select/README.md +52 -15
- package/notification/index.d.ts +7 -38
- package/package.json +1 -1
- package/paginator/index.d.ts +1 -7
- package/radio/index.d.ts +0 -16
- package/scss/layout/_breakpoint.scss +1 -1
- package/scss/theme.scss +2 -4
- package/scss/theming/_color-palettes.scss +21 -7
- package/scss/theming/_configure-theme.scss +11 -10
- package/scss/theming/_daff-theme.scss +5 -14
- package/scss/theming/_get-base-color.scss +2 -2
- package/scss/theming/_get-palette.scss +2 -2
- package/scss/theming/_get-theme-mode.scss +3 -3
- package/scss/theming/_index.scss +2 -1
- package/scss/theming/contrast/max-contrast/max-contrast.scss +3 -3
- package/scss/theming/contrast/text-contrast/text-contrast.scss +22 -16
- package/scss/theming/contrast/text-contrast/text-contrast.spec.scss +57 -0
- package/scss/theming/create-theme/_create-theme.scss +330 -0
- package/scss/theming/create-theme/_create-theme.spec.scss +122 -0
- package/scss/theming/create-theme/_index.scss +1 -0
- package/scss/theming/get-font-colors/_get-font-colors.scss +36 -0
- package/scss/theming/get-font-colors/_get-font-colors.spec.scss +72 -0
- package/scss/typography/mixins/_font-weight.scss +8 -14
- package/select/README.md +107 -4
- package/sidebar/README.md +0 -8
- package/sidebar/index.d.ts +3 -15
- package/switch/README.md +19 -27
- package/switch/index.d.ts +18 -48
- package/switch/src/switch-theme.scss +26 -18
- package/tabs/index.d.ts +7 -4
- package/tag/src/tag-theme.scss +11 -9
- package/textarea/README.md +35 -5
- package/tree/index.d.ts +0 -6
- package/tree/src/tree-theme.scss +0 -4
- package/accordion/examples/index.d.ts +0 -20
- package/article/examples/index.d.ts +0 -50
- package/breadcrumb/examples/index.d.ts +0 -10
- package/button/examples/index.d.ts +0 -67
- package/callout/examples/index.d.ts +0 -41
- package/card/examples/index.d.ts +0 -62
- package/card/src/card/raised/raised-theme.scss +0 -28
- package/checkbox/examples/index.d.ts +0 -32
- package/container/examples/index.d.ts +0 -16
- package/fesm2022/daffodil-design-accordion-examples.mjs +0 -50
- package/fesm2022/daffodil-design-accordion-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-article-examples.mjs +0 -134
- package/fesm2022/daffodil-design-article-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs +0 -46
- package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-button-examples.mjs +0 -178
- package/fesm2022/daffodil-design-button-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-callout-examples.mjs +0 -116
- package/fesm2022/daffodil-design-callout-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-card-examples.mjs +0 -168
- package/fesm2022/daffodil-design-card-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-checkbox-examples.mjs +0 -76
- package/fesm2022/daffodil-design-checkbox-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-container-examples.mjs +0 -41
- package/fesm2022/daffodil-design-container-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-form-field-examples.mjs +0 -96
- package/fesm2022/daffodil-design-form-field-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-hero-examples.mjs +0 -121
- package/fesm2022/daffodil-design-hero-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-image-examples.mjs +0 -58
- package/fesm2022/daffodil-design-image-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-input-examples.mjs +0 -108
- package/fesm2022/daffodil-design-input-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-list-examples.mjs +0 -77
- package/fesm2022/daffodil-design-list-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-loading-icon-examples.mjs +0 -44
- package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-media-gallery-examples.mjs +0 -104
- package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-menu-examples.mjs +0 -50
- package/fesm2022/daffodil-design-menu-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-modal-examples.mjs +0 -51
- package/fesm2022/daffodil-design-modal-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-native-select-examples.mjs +0 -71
- package/fesm2022/daffodil-design-native-select-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-navbar-examples.mjs +0 -88
- package/fesm2022/daffodil-design-navbar-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-notification-examples.mjs +0 -102
- package/fesm2022/daffodil-design-notification-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-paginator-examples.mjs +0 -59
- package/fesm2022/daffodil-design-paginator-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-progress-bar-examples.mjs +0 -57
- package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-quantity-field-examples.mjs +0 -85
- package/fesm2022/daffodil-design-quantity-field-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-radio-examples.mjs +0 -34
- package/fesm2022/daffodil-design-radio-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-select-examples.mjs +0 -117
- package/fesm2022/daffodil-design-select-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-sidebar-examples.mjs +0 -109
- package/fesm2022/daffodil-design-sidebar-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-sticky-examples.mjs +0 -25
- package/fesm2022/daffodil-design-sticky-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-switch-examples.mjs +0 -110
- package/fesm2022/daffodil-design-switch-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-tabs-examples.mjs +0 -115
- package/fesm2022/daffodil-design-tabs-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-tag-examples.mjs +0 -125
- package/fesm2022/daffodil-design-tag-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-text-snippet-examples.mjs +0 -25
- package/fesm2022/daffodil-design-text-snippet-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-textarea-examples.mjs +0 -66
- package/fesm2022/daffodil-design-textarea-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-toast-examples.mjs +0 -147
- package/fesm2022/daffodil-design-toast-examples.mjs.map +0 -1
- package/fesm2022/daffodil-design-tree-examples.mjs +0 -104
- package/fesm2022/daffodil-design-tree-examples.mjs.map +0 -1
- package/form-field/examples/index.d.ts +0 -18
- package/hero/examples/index.d.ts +0 -45
- package/image/examples/index.d.ts +0 -10
- package/input/examples/index.d.ts +0 -10
- package/list/examples/index.d.ts +0 -29
- package/loading-icon/examples/index.d.ts +0 -16
- package/media-gallery/examples/index.d.ts +0 -38
- package/menu/examples/index.d.ts +0 -20
- package/modal/examples/index.d.ts +0 -15
- package/native-select/examples/index.d.ts +0 -10
- package/navbar/examples/index.d.ts +0 -31
- package/notification/examples/index.d.ts +0 -12
- package/paginator/examples/index.d.ts +0 -26
- package/progress-bar/examples/index.d.ts +0 -10
- package/quantity-field/examples/index.d.ts +0 -30
- package/radio/examples/index.d.ts +0 -13
- package/select/examples/index.d.ts +0 -28
- package/sidebar/examples/index.d.ts +0 -10
- package/sticky/examples/index.d.ts +0 -10
- package/switch/examples/index.d.ts +0 -46
- package/tabs/examples/index.d.ts +0 -12
- package/tag/examples/index.d.ts +0 -50
- package/text-snippet/examples/index.d.ts +0 -10
- package/textarea/examples/index.d.ts +0 -10
- package/toast/examples/index.d.ts +0 -56
- package/tree/examples/index.d.ts +0 -18
- /package/{form-field → form}/src/error-message/error-message-theme.scss +0 -0
- /package/{form-field → form}/src/hint/hint-theme.scss +0 -0
package/select/README.md
CHANGED
|
@@ -1,8 +1,111 @@
|
|
|
1
1
|
# Select
|
|
2
|
+
Select allows users to choose from a dropdown panel with a list of options, similar to a native `<select>` element but with an enhanced UI.
|
|
3
|
+
|
|
4
|
+
## Overview
|
|
5
|
+
Use select when you need users to pick one option from a list. It works like a standard dropdown menu but gives you more control over how options look and behave. It **cannot** be used by itself and must be contained within a [form field](/libs/design/form-field/README.md).
|
|
6
|
+
|
|
7
|
+
<design-land-example-viewer-container example="basic-select"></design-land-example-viewer-container>
|
|
2
8
|
|
|
3
9
|
## Usage
|
|
4
|
-
|
|
10
|
+
To use select, import the components directly into your custom component:
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
import { DAFF_SELECT_COMPONENTS } from '@daffodil/design/select';
|
|
14
|
+
import { DAFF_FORM_FIELD_COMPONENTS } from '@daffodil/design/form-field';
|
|
15
|
+
|
|
16
|
+
@Component({
|
|
17
|
+
selector: 'custom-component',
|
|
18
|
+
templateUrl: './custom-component.component.html',
|
|
19
|
+
imports: [
|
|
20
|
+
DAFF_SELECT_COMPONENTS,
|
|
21
|
+
DAFF_FORM_FIELD_COMPONENTS,
|
|
22
|
+
],
|
|
23
|
+
})
|
|
24
|
+
export class CustomComponent {}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Anatomy
|
|
28
|
+
Select must be used inside `<daff-form-field>` to enable proper state management and provide enhanced UI features such as hints, error messages, prefixes, and suffixes. The form field component also ensures accessibility compliance. For more details, see the [form field documentation](/libs/design/form-field/README.md).
|
|
29
|
+
|
|
30
|
+
### Basic structure
|
|
31
|
+
Use `daffSelectOption` to render a list of options in the select panel:
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
<daff-form-field>
|
|
35
|
+
<daff-form-label>Select an address</daff-form-label>
|
|
36
|
+
<daff-select [options]="options" [formControl]="selectControl">
|
|
37
|
+
<ng-template daffSelectOption let-option="option">
|
|
38
|
+
<div>{{option.name}}</div>
|
|
39
|
+
<div>{{option.street}}</div>
|
|
40
|
+
<div>{{option.city}}, {{option.state}} {{option.postcode}}</div>
|
|
41
|
+
</ng-template>
|
|
42
|
+
</daff-select>
|
|
43
|
+
</daff-form-field>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## States
|
|
47
|
+
|
|
48
|
+
### Disabled
|
|
49
|
+
Select can be disabled using Angular's reactive forms with `FormControl`.
|
|
50
|
+
|
|
51
|
+
<design-land-example-viewer-container example="disabled-select"></design-land-example-viewer-container>
|
|
52
|
+
|
|
53
|
+
### Error
|
|
54
|
+
Select supports validation and error messages through Angular's form validation system. Use `<daff-error-message>` within the form field to display context-specific error messages. Error messages automatically appear when the select is invalid and has been touched or submitted.
|
|
55
|
+
|
|
56
|
+
<design-land-example-viewer-container example="select-with-error"></design-land-example-viewer-container>
|
|
57
|
+
|
|
58
|
+
Multiple error messages can be displayed conditionally based on the type of validation error. The form field component handles the styling and positioning of error messages.
|
|
59
|
+
|
|
60
|
+
## Hints
|
|
61
|
+
Hints provide additional context or instructions to help users complete the select field correctly. Use `<daff-hint>` within the form field to display helpful information below the textarea. Unlike error messages, hints are always visible and provide guidance rather than validation feedback.
|
|
62
|
+
|
|
63
|
+
<design-land-example-viewer-container example="select-with-hint"></design-land-example-viewer-container>
|
|
64
|
+
|
|
65
|
+
## Accessibility
|
|
66
|
+
Select follows the [Combobox WAI-ARIA design pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/). The combobox activator is combined with an inner `role="listbox"` element opened in a popup.
|
|
67
|
+
|
|
68
|
+
### Daffodil provides
|
|
69
|
+
- Automatic focus trapping when select panel is open
|
|
70
|
+
- `aria-labelledby` associated with the `<daff-form-label>`
|
|
71
|
+
- `aria-expanded` state management
|
|
72
|
+
|
|
73
|
+
### Developer responsibilities
|
|
74
|
+
- Always provide labels for accessibility. Use `<daff-form-label>` within `<daff-form-field>` for the best experience with auto-labelling controls.
|
|
75
|
+
|
|
76
|
+
### Keyboard interactions
|
|
77
|
+
**When select panel is closed:**
|
|
78
|
+
|
|
79
|
+
| Key | Action |
|
|
80
|
+
| --- | ------ |
|
|
81
|
+
| `Enter` / `Space` | Open the select panel |
|
|
82
|
+
| `Down Arrow` | Open the select panel |
|
|
83
|
+
| `Alt` + `Down Arrow` | Open the select panel |
|
|
84
|
+
| `Up Arrow` | Open the select panel |
|
|
85
|
+
| `Alt` + `Up Arrow` | Open the select panel |
|
|
86
|
+
|
|
87
|
+
**When select panel is opened:**
|
|
88
|
+
| Key | Action |
|
|
89
|
+
| --- | ------ |
|
|
90
|
+
| `Enter` / `Space` | Select the active option |
|
|
91
|
+
| `Escape` | Close the select panel and return focus to select |
|
|
92
|
+
| `Down Arrow` | Move focus to next option |
|
|
93
|
+
| `Up Arrow` | Move focus to previous option |
|
|
94
|
+
|
|
95
|
+
## Troubleshooting
|
|
96
|
+
|
|
97
|
+
### Error: DaffSelectComponent needs to be used with the DaffFormFieldComponent
|
|
98
|
+
This error is thrown when a select component is not used with a form field. Make sure your template looks like this:
|
|
5
99
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
100
|
+
```html
|
|
101
|
+
<daff-form-field>
|
|
102
|
+
<daff-form-label>Select an address</daff-form-label>
|
|
103
|
+
<daff-select [options]="options" [formControl]="selectControl">
|
|
104
|
+
<ng-template daffSelectOption let-option="option">
|
|
105
|
+
<div>{{option.name}}</div>
|
|
106
|
+
<div>{{option.street}}</div>
|
|
107
|
+
<div>{{option.city}}, {{option.state}} {{option.postcode}}</div>
|
|
108
|
+
</ng-template>
|
|
109
|
+
</daff-select>
|
|
110
|
+
</daff-form-field>
|
|
111
|
+
```
|
package/sidebar/README.md
CHANGED
|
@@ -214,11 +214,3 @@ body {
|
|
|
214
214
|
### Developer responsibilities
|
|
215
215
|
- Apply a meaningful `role` attribute (e.g., `role="navigation"`) to describe the sidebar's purpose
|
|
216
216
|
- Provide an `aria-label` when no title or header is present
|
|
217
|
-
|
|
218
|
-
## Deprecations
|
|
219
|
-
`[daffSidebarHeaderAction]` has been deprecated in favor of the `dismissible` property. Replace `[daffSidebarHeaderAction]` with `<daff-sidebar-header [dismissible]="true">`
|
|
220
|
-
|
|
221
|
-
```html
|
|
222
|
-
<daff-sidebar-header [dismissible]="true">
|
|
223
|
-
</daff-sidebar-header>
|
|
224
|
-
```
|
package/sidebar/index.d.ts
CHANGED
|
@@ -308,24 +308,12 @@ declare class DaffSidebarHeaderTitleDirective {
|
|
|
308
308
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffSidebarHeaderTitleDirective, "[daffSidebarHeaderTitle]", never, {}, {}, never, never, true, never>;
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
-
/**
|
|
312
|
-
* @deprecated in favor of the `dismissible` property on `DaffSidebarHeaderComponent`. Deprecated in version 0.88.0. Will be removed in version 0.91.0.
|
|
313
|
-
*/
|
|
314
|
-
declare class DaffSidebarHeaderActionDirective {
|
|
315
|
-
/**
|
|
316
|
-
* @docs-private
|
|
317
|
-
*/
|
|
318
|
-
class: boolean;
|
|
319
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DaffSidebarHeaderActionDirective, never>;
|
|
320
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DaffSidebarHeaderActionDirective, "[daffSidebarHeaderAction]", never, {}, {}, never, never, true, never>;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
311
|
/**
|
|
324
312
|
* @deprecated in favor of {@link DAFF_SIDEBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
|
|
325
313
|
*/
|
|
326
314
|
declare class DaffSidebarModule {
|
|
327
315
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffSidebarModule, never>;
|
|
328
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffSidebarModule, never, [typeof i1$1.CommonModule, typeof i2.A11yModule, typeof DaffSidebarComponent, typeof DaffSidebarViewportComponent, typeof DaffSidebarHeaderComponent, typeof DaffSidebarFooterComponent, typeof DaffSidebarHeaderTitleDirective
|
|
316
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DaffSidebarModule, never, [typeof i1$1.CommonModule, typeof i2.A11yModule, typeof DaffSidebarComponent, typeof DaffSidebarViewportComponent, typeof DaffSidebarHeaderComponent, typeof DaffSidebarFooterComponent, typeof DaffSidebarHeaderTitleDirective], [typeof DaffSidebarComponent, typeof DaffSidebarViewportComponent, typeof DaffSidebarHeaderComponent, typeof DaffSidebarFooterComponent, typeof DaffSidebarHeaderTitleDirective]>;
|
|
329
317
|
static ɵinj: i0.ɵɵInjectorDeclaration<DaffSidebarModule>;
|
|
330
318
|
}
|
|
331
319
|
|
|
@@ -376,7 +364,7 @@ declare const daffSidebarIsFloatingMode: (mode: DaffSidebarModeEnum) => boolean;
|
|
|
376
364
|
/**
|
|
377
365
|
* @docs-private
|
|
378
366
|
*/
|
|
379
|
-
declare const DAFF_SIDEBAR_COMPONENTS: readonly [typeof DaffSidebarComponent, typeof DaffSidebarViewportComponent, typeof DaffSidebarHeaderComponent, typeof DaffSidebarFooterComponent, typeof DaffSidebarHeaderTitleDirective
|
|
367
|
+
declare const DAFF_SIDEBAR_COMPONENTS: readonly [typeof DaffSidebarComponent, typeof DaffSidebarViewportComponent, typeof DaffSidebarHeaderComponent, typeof DaffSidebarFooterComponent, typeof DaffSidebarHeaderTitleDirective];
|
|
380
368
|
|
|
381
|
-
export { DAFF_SIDEBAR_COMPONENTS, DaffSidebarComponent, DaffSidebarFooterComponent,
|
|
369
|
+
export { DAFF_SIDEBAR_COMPONENTS, DaffSidebarComponent, DaffSidebarFooterComponent, DaffSidebarHeaderComponent, DaffSidebarHeaderTitleDirective, DaffSidebarModeEnum, DaffSidebarModule, DaffSidebarService, DaffSidebarSideEnum, DaffSidebarViewportComponent, daffSidebarIsDockedMode, daffSidebarIsFloatingMode };
|
|
382
370
|
export type { DaffSidebarMode, DaffSidebarRegistration, DaffSidebarSide };
|
package/switch/README.md
CHANGED
|
@@ -4,10 +4,12 @@ A switch allows users to toggle the state of a single setting.
|
|
|
4
4
|
## Overview
|
|
5
5
|
Switches provide a way to toggle between two states with a visual indicator of the current state. A label can be positioned on the left, right, top, or bottom of the switch. The switch can be set to a disabled state, display a loading indicator, or show a custom error message.
|
|
6
6
|
|
|
7
|
+
<design-land-example-viewer-container example="basic-switch"></design-land-example-viewer-container>
|
|
8
|
+
|
|
7
9
|
## Usage
|
|
8
10
|
|
|
9
11
|
### Within a standalone component
|
|
10
|
-
To use
|
|
12
|
+
To use switch, import `DAFF_SWITCH_COMPONENTS` directly into your custom component:
|
|
11
13
|
|
|
12
14
|
```ts
|
|
13
15
|
import { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';
|
|
@@ -22,41 +24,31 @@ import { DAFF_SWITCH_COMPONENTS } from '@daffodil/design/switch';
|
|
|
22
24
|
export class CustomComponent {}
|
|
23
25
|
```
|
|
24
26
|
|
|
25
|
-
##
|
|
26
|
-
|
|
27
|
-
### Basic Switch
|
|
28
|
-
A basic switch can be toggled by setting the `checked` property to `true` or `false`. By default, this is set to `false`.
|
|
27
|
+
## Sizes
|
|
28
|
+
A small switch variant is available for dense layouts. Use the `size="sm"` property to render a more compact version of a switch.
|
|
29
29
|
|
|
30
|
-
<design-land-example-viewer-container example="
|
|
30
|
+
<design-land-example-viewer-container example="switch-sizes"></design-land-example-viewer-container>
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
## Disable a switch
|
|
33
|
+
Use the `disabled` property on switch to make it non-interactive.
|
|
34
34
|
|
|
35
35
|
<design-land-example-viewer-container example="disabled-switch"></design-land-example-viewer-container>
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<design-land-example-viewer-container example="loading-switch"></design-land-example-viewer-container>
|
|
41
|
-
|
|
42
|
-
### Switch with Error
|
|
43
|
-
An error message can be displayed by setting `error` to `true` and including a `daff-error-message` to show the message text.
|
|
44
|
-
|
|
45
|
-
<design-land-example-viewer-container example="switch-error"></design-land-example-viewer-container>
|
|
46
|
-
|
|
47
|
-
### Changing Label Position
|
|
48
|
-
The label position can be changed by setting the `labelPosition` property. The default position is `left`.
|
|
49
|
-
|
|
50
|
-
Supported positions: `left | right | top | bottom`
|
|
37
|
+
## Label positions
|
|
38
|
+
Use the `labelPosition` property to control the visual relationship between the switch and its label. By default, labels appear to the left of the switch control.
|
|
51
39
|
|
|
52
40
|
<design-land-example-viewer-container example="switch-label-positions"></design-land-example-viewer-container>
|
|
53
41
|
|
|
54
|
-
|
|
55
42
|
## Accessibility
|
|
56
|
-
|
|
43
|
+
Switch follows the [ARIA Switch design pattern](https://www.w3.org/WAI/ARIA/apg/patterns/switch/).
|
|
44
|
+
|
|
45
|
+
- The switch control is implemented as a `<button>` element with a role of `switch`.
|
|
46
|
+
- `aria-checked` is used to indicate the switch's on/off state.
|
|
47
|
+
- Links the switch to its label `id` using `aria-labelledby`.
|
|
57
48
|
|
|
58
|
-
### Keyboard
|
|
49
|
+
### Keyboard interactions
|
|
59
50
|
| Key | Action |
|
|
60
51
|
| --- | ------ |
|
|
61
|
-
|
|
|
62
|
-
|
|
|
52
|
+
| Tab | Moves focus to or away from the switch control. |
|
|
53
|
+
| Space | Changes the switch's state between on and off. |
|
|
54
|
+
| Enter | Changes the switch's state between on and off. |
|
package/switch/index.d.ts
CHANGED
|
@@ -1,73 +1,43 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i1 from '@daffodil/design';
|
|
4
|
+
import { DaffSizableDirective, DaffSizeSmallType, DaffDisableableDirective } from '@daffodil/design';
|
|
3
5
|
|
|
4
|
-
type
|
|
6
|
+
type DaffSwitchLabelPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
5
7
|
|
|
8
|
+
type DaffSwitchSize = DaffSizeSmallType;
|
|
6
9
|
/**
|
|
7
10
|
* The switch component provides a way to toggle between two settings.
|
|
8
11
|
*
|
|
9
12
|
* ```html
|
|
10
|
-
* <daff-switch>
|
|
11
|
-
* Label
|
|
12
|
-
* </daff-switch>
|
|
13
|
+
* <daff-switch>Label</daff-switch>
|
|
13
14
|
* ```
|
|
14
15
|
*/
|
|
15
|
-
declare class DaffSwitchComponent {
|
|
16
|
+
declare class DaffSwitchComponent extends DaffSizableDirective<DaffSwitchSize> {
|
|
17
|
+
private disabledDirective;
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
get disabled(): any;
|
|
20
|
-
set disabled(value: any);
|
|
21
|
-
/**
|
|
22
|
-
* @docs-private
|
|
23
|
-
*/
|
|
24
|
-
get disabledAttribute(): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* @docs-private
|
|
27
|
-
*/
|
|
28
|
-
get ariaDisabled(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* @docs-private
|
|
19
|
+
* The position of the label relative to the switch.
|
|
31
20
|
*/
|
|
32
|
-
|
|
21
|
+
labelPosition: DaffSwitchLabelPosition;
|
|
22
|
+
constructor(disabledDirective: DaffDisableableDirective);
|
|
33
23
|
/**
|
|
34
|
-
* Whether the switch is
|
|
24
|
+
* Whether the switch is disabled.
|
|
35
25
|
*/
|
|
36
|
-
|
|
26
|
+
get disabled(): any;
|
|
27
|
+
set disabled(value: any);
|
|
37
28
|
/**
|
|
38
29
|
* Current state of switch (on/off).
|
|
39
30
|
*/
|
|
40
31
|
checked: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* The position of the label relative to the switch.
|
|
43
|
-
*/
|
|
44
|
-
labelPosition: DaffLabelPosition;
|
|
45
|
-
/**
|
|
46
|
-
* Whether the switch shows an error.
|
|
47
|
-
*/
|
|
48
|
-
error: boolean;
|
|
49
32
|
/**
|
|
50
33
|
* @docs-private
|
|
51
34
|
*/
|
|
52
|
-
|
|
53
|
-
handleKeydown(event: KeyboardEvent): void;
|
|
35
|
+
labelId: string;
|
|
54
36
|
/**
|
|
55
|
-
*
|
|
56
|
-
|
|
57
|
-
private externalAriaLabel;
|
|
58
|
-
/**
|
|
59
|
-
* aria-label for the switch.
|
|
60
|
-
*/
|
|
61
|
-
ariaLabel: string;
|
|
62
|
-
/**
|
|
63
|
-
* A unique id for the switch.
|
|
64
|
-
*
|
|
65
|
-
* The `id` is automatically generated by linking the prefix 'daff-switch-' with an incrementing number. This value can be customized by passing a different `id` value via the component's `id` input.
|
|
37
|
+
* The unique id of the switch. Defaults to an autogenerated value. When using this,
|
|
38
|
+
* it's your responsibility to ensure that the id for each switch is unique.
|
|
66
39
|
*
|
|
67
|
-
*
|
|
68
|
-
* ```html
|
|
69
|
-
* <daff-switch [id]="'custom-id'"></daff-switch>
|
|
70
|
-
* ```
|
|
40
|
+
* It gets assigned to the `for` attribute on the `<label>` inside of the switch.
|
|
71
41
|
*/
|
|
72
42
|
id: string;
|
|
73
43
|
/**
|
|
@@ -79,7 +49,7 @@ declare class DaffSwitchComponent {
|
|
|
79
49
|
*/
|
|
80
50
|
onToggle(): void;
|
|
81
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffSwitchComponent, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffSwitchComponent, "daff-switch", never, { "
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffSwitchComponent, "daff-switch", never, { "labelPosition": { "alias": "labelPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "toggled": "toggled"; }, never, ["*"], true, [{ directive: typeof i1.DaffSizableDirective; inputs: { "size": "size"; }; outputs: {}; }, { directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
|
|
83
53
|
}
|
|
84
54
|
|
|
85
55
|
/**
|
|
@@ -1,45 +1,53 @@
|
|
|
1
1
|
@use '../../scss/theming' as *;
|
|
2
2
|
|
|
3
|
+
// stylelint-disable selector-class-pattern
|
|
3
4
|
@mixin daff-switch-theme($theme) {
|
|
4
5
|
$primary: daff-get-palette($theme, primary);
|
|
5
6
|
$white: daff-get-base-color($theme, 'white');
|
|
6
7
|
$neutral: daff-get-palette($theme, neutral);
|
|
8
|
+
$base-contrast: daff-get-base-color($theme, base-contrast);
|
|
7
9
|
$mode: daff-get-theme-mode($theme);
|
|
8
10
|
|
|
9
11
|
.daff-switch {
|
|
10
|
-
|
|
11
|
-
border: 2px solid transparent;
|
|
12
|
+
$root: '.daff-switch';
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
&__label {
|
|
15
|
+
color: $base-contrast;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.checked {
|
|
19
|
+
#{$root}__toggle {
|
|
14
20
|
background-color: daff-color($primary);
|
|
15
21
|
}
|
|
22
|
+
}
|
|
16
23
|
|
|
17
|
-
|
|
24
|
+
@include light($mode) {
|
|
25
|
+
&__toggle {
|
|
18
26
|
background-color: daff-color($neutral, 30);
|
|
19
27
|
|
|
20
|
-
&:focus-within {
|
|
21
|
-
border: 2px solid daff-color($neutral, 20);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
28
|
&::before {
|
|
25
29
|
background-color: $white;
|
|
26
30
|
}
|
|
27
|
-
}
|
|
28
31
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
border: 2px solid daff-color($neutral, 90);
|
|
32
|
+
&:focus {
|
|
33
|
+
&::after {
|
|
34
|
+
outline: 2px solid rgba($base-contrast, 0.08);
|
|
35
|
+
}
|
|
34
36
|
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include dark($mode) {
|
|
41
|
+
&__toggle {
|
|
42
|
+
background-color: daff-color($neutral, 70);
|
|
35
43
|
|
|
36
44
|
&::before {
|
|
37
|
-
background-color:
|
|
45
|
+
background-color: $white;
|
|
38
46
|
}
|
|
39
47
|
|
|
40
|
-
|
|
41
|
-
&::
|
|
42
|
-
|
|
48
|
+
&:focus {
|
|
49
|
+
&::after {
|
|
50
|
+
outline: 2px solid rgba($base-contrast, 0.15);
|
|
43
51
|
}
|
|
44
52
|
}
|
|
45
53
|
}
|
package/tabs/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { TemplateRef, ElementRef, AfterContentInit, OnInit, EventEmitter, QueryList, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as i1 from '@daffodil/design';
|
|
4
|
-
import { DaffPrefixDirective, DaffSuffixDirective, DaffSelectableDirective } from '@daffodil/design';
|
|
4
|
+
import { DaffDisableableDirective, DaffPrefixDirective, DaffSuffixDirective, DaffSelectableDirective } from '@daffodil/design';
|
|
5
5
|
import { Location } from '@angular/common';
|
|
6
6
|
import { Params } from '@angular/router';
|
|
7
7
|
|
|
@@ -24,10 +24,13 @@ import { Params } from '@angular/router';
|
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
declare class DaffTabComponent {
|
|
27
|
+
private disabledDirective;
|
|
27
28
|
/**
|
|
29
|
+
* @docs-private
|
|
30
|
+
*
|
|
28
31
|
* Whether the tab is disabled.
|
|
29
32
|
*/
|
|
30
|
-
disabled: boolean;
|
|
33
|
+
get disabled(): boolean;
|
|
31
34
|
/**
|
|
32
35
|
* @docs-private
|
|
33
36
|
*/
|
|
@@ -45,9 +48,9 @@ declare class DaffTabComponent {
|
|
|
45
48
|
* @docs-private
|
|
46
49
|
*/
|
|
47
50
|
panelId: string;
|
|
48
|
-
constructor();
|
|
51
|
+
constructor(disabledDirective: DaffDisableableDirective);
|
|
49
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabComponent, "daff-tab", never, { "
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabComponent, "daff-tab", never, { "id": { "alias": "id"; "required": false; }; }, {}, never, ["daff-tab-label", "daff-tab-panel"], true, [{ directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
|
|
51
54
|
}
|
|
52
55
|
|
|
53
56
|
/**
|
package/tag/src/tag-theme.scss
CHANGED
|
@@ -9,12 +9,14 @@
|
|
|
9
9
|
$critical: daff-get-palette($theme, critical);
|
|
10
10
|
$success: daff-get-palette($theme, success);
|
|
11
11
|
$neutral: daff-get-palette($theme, neutral);
|
|
12
|
+
$black: daff-get-base-color($theme, 'black');
|
|
13
|
+
$white: daff-get-base-color($theme, 'white');
|
|
12
14
|
$mode: daff-get-theme-mode($theme);
|
|
13
15
|
|
|
14
16
|
.daff-tag {
|
|
15
17
|
@include light($mode) {
|
|
16
18
|
background: daff-color($neutral, 20);
|
|
17
|
-
color:
|
|
19
|
+
color: $black;
|
|
18
20
|
|
|
19
21
|
&.daff-primary {
|
|
20
22
|
background: daff-color($primary, 10);
|
|
@@ -42,13 +44,13 @@
|
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
&.daff-theme {
|
|
45
|
-
background:
|
|
46
|
-
color:
|
|
47
|
+
background: $white;
|
|
48
|
+
color: $black;
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
&.daff-theme-contrast {
|
|
50
|
-
background:
|
|
51
|
-
color:
|
|
52
|
+
background: $black;
|
|
53
|
+
color: $white;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
&.daff-warn {
|
|
@@ -102,13 +104,13 @@
|
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
&.daff-theme {
|
|
105
|
-
background:
|
|
106
|
-
color:
|
|
107
|
+
background: $black;
|
|
108
|
+
color: $white;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
&.daff-theme-contrast {
|
|
110
|
-
background:
|
|
111
|
-
color:
|
|
112
|
+
background: $white;
|
|
113
|
+
color: $black;
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
&.daff-warn {
|
package/textarea/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Textarea
|
|
2
|
-
Textarea
|
|
2
|
+
Textarea works alongside the HTML textarea element, with additional custom styling and functionality.
|
|
3
3
|
|
|
4
4
|
## Overview
|
|
5
|
-
|
|
5
|
+
Textarea has the same functionality as a native HTML textarea element, with additional custom styling and functionality. It **cannot** be used by itself and must be contained within a [form field](/libs/design/src/atoms/form/form-field/README.md).
|
|
6
6
|
|
|
7
7
|
<design-land-example-viewer-container example="basic-textarea"></design-land-example-viewer-container>
|
|
8
8
|
|
|
@@ -22,7 +22,37 @@ import { DaffTextareaComponent } from '@daffodil/design/textarea';
|
|
|
22
22
|
export class CustomComponent {}
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
##
|
|
25
|
+
## Anatomy
|
|
26
|
+
Textarea must be used inside `<daff-form-field>` to enable proper state management and provide enhanced UI features such as hints, error messages, prefixes, and suffixes. The form field component also ensures accessibility compliance. For more details, see the [form field documentation](/libs/design/form-field/README.md).
|
|
26
27
|
|
|
27
|
-
###
|
|
28
|
-
|
|
28
|
+
### Basic structure
|
|
29
|
+
```html
|
|
30
|
+
<daff-form-field>
|
|
31
|
+
<daff-form-label>Comments</daff-form-label>
|
|
32
|
+
<textarea daff-textarea name="comments"></textarea>
|
|
33
|
+
</daff-form-field>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## States
|
|
37
|
+
|
|
38
|
+
### Disabled
|
|
39
|
+
Textarea can be disabled in two ways: using Angular's reactive forms with `FormControl` or with the native HTML `disabled` attribute.
|
|
40
|
+
|
|
41
|
+
<design-land-example-viewer-container example="textarea-disabled"></design-land-example-viewer-container>
|
|
42
|
+
|
|
43
|
+
### Error
|
|
44
|
+
Textarea supports validation and error messages through Angular's form validation system. Use `<daff-error-message>` within the form field to display context-specific error messages. Error messages automatically appear when the textarea is invalid and has been touched or submitted.
|
|
45
|
+
|
|
46
|
+
<design-land-example-viewer-container example="textarea-error"></design-land-example-viewer-container>
|
|
47
|
+
|
|
48
|
+
Multiple error messages can be displayed conditionally based on the type of validation error. The form field component handles the styling and positioning of error messages.
|
|
49
|
+
|
|
50
|
+
## Hints
|
|
51
|
+
Hints provide additional context or instructions to help users complete the textarea field correctly. Use `<daff-hint>` within the form field to display helpful information below the textarea. Unlike error messages, hints are always visible and provide guidance rather than validation feedback.
|
|
52
|
+
|
|
53
|
+
<design-land-example-viewer-container example="textarea-hint"></design-land-example-viewer-container>
|
|
54
|
+
|
|
55
|
+
## Accessibility
|
|
56
|
+
When `<daff-form-label>` is used within `<daff-form-field>`, the label automatically associates with the textarea using the `for` and `id` attributes.
|
|
57
|
+
|
|
58
|
+
If a `<daff-form-label>` is not specified, use the `<label>` element to associate text with form elements explicitly. The `for` attribute of the label must exactly match the `id` of the form control.
|
package/tree/index.d.ts
CHANGED
|
@@ -164,12 +164,6 @@ declare class DaffTreeComponent implements OnInit, OnChanges {
|
|
|
164
164
|
* @docs-private
|
|
165
165
|
*/
|
|
166
166
|
ngOnChanges(changes: SimpleChanges): void;
|
|
167
|
-
/**
|
|
168
|
-
* @docs-private
|
|
169
|
-
*
|
|
170
|
-
* The track-by function used to reduce tree-item re-renders
|
|
171
|
-
*/
|
|
172
|
-
trackByTreeElement(index: number, el: any): any;
|
|
173
167
|
/**
|
|
174
168
|
* @docs-private
|
|
175
169
|
*/
|
package/tree/src/tree-theme.scss
CHANGED
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin daff-tree-theme($theme) {
|
|
4
4
|
$primary: daff-get-palette($theme, primary);
|
|
5
|
-
$secondary: daff-get-palette($theme, secondary);
|
|
6
|
-
$tertiary: daff-get-palette($theme, tertiary);
|
|
7
5
|
$base: daff-get-base-color($theme, base);
|
|
8
6
|
$base-contrast: daff-get-base-color($theme, base-contrast);
|
|
9
|
-
$white: daff-get-base-color($theme, 'white');
|
|
10
|
-
$black: daff-get-base-color($theme, 'black');
|
|
11
7
|
$neutral: daff-get-palette($theme, neutral);
|
|
12
8
|
$mode: daff-get-theme-mode($theme);
|
|
13
9
|
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class BasicAccordionComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BasicAccordionComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicAccordionComponent, "basic-accordion", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
declare class InitiallyExpandedAccordionComponent {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InitiallyExpandedAccordionComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InitiallyExpandedAccordionComponent, "initially-expanded-accordion", never, {}, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare class DisabledAccordionComponent {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledAccordionComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DisabledAccordionComponent, "disabled-accordion", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare const ACCORDION_EXAMPLES: (typeof BasicAccordionComponent)[];
|
|
19
|
-
|
|
20
|
-
export { ACCORDION_EXAMPLES, BasicAccordionComponent, DisabledAccordionComponent, InitiallyExpandedAccordionComponent };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
declare class ArticleHeadingsComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleHeadingsComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleHeadingsComponent, "article-headings", never, {}, {}, never, never, true, never>;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
declare class ArticleCodeInlineComponent {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleCodeInlineComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleCodeInlineComponent, "article-code-inline", never, {}, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare class ArticleHrComponent {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleHrComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleHrComponent, "article-hr", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
declare class ArticleOlComponent {
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleOlComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleOlComponent, "article-ol", never, {}, {}, never, never, true, never>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
declare class ArticleUlComponent {
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleUlComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleUlComponent, "article-ul", never, {}, {}, never, never, true, never>;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
declare class ArticleMetaComponent {
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleMetaComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleMetaComponent, "article-meta", never, {}, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
declare class ArticleLinkComponent {
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleLinkComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleLinkComponent, "article-link", never, {}, {}, never, never, true, never>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
declare class ArticleBlockquoteComponent {
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleBlockquoteComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleBlockquoteComponent, "article-blockquote", never, {}, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
declare class ArticleTableComponent {
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArticleTableComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArticleTableComponent, "article-table", never, {}, {}, never, never, true, never>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
declare const ARTICLE_EXAMPLES: (typeof ArticleHeadingsComponent)[];
|
|
49
|
-
|
|
50
|
-
export { ARTICLE_EXAMPLES, ArticleBlockquoteComponent, ArticleCodeInlineComponent, ArticleHeadingsComponent, ArticleHrComponent, ArticleLinkComponent, ArticleMetaComponent, ArticleOlComponent, ArticleTableComponent, ArticleUlComponent };
|