@sixbell-telco/sdk 0.2.1 → 0.4.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/CHANGELOG.md +54 -0
- package/README.md +96 -55
- package/_index.scss +0 -2
- package/assets/styles/combobox.scss +17 -17
- package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -2
- package/components/avatar/src/avatar.component.d.ts +11 -18
- package/components/button/src/button.component.d.ts +22 -41
- package/components/card/card-actions/card-actions.component.d.ts +8 -0
- package/components/card/card-content/card-content.component.d.ts +5 -0
- package/components/card/card-title/card-title.component.d.ts +5 -0
- package/components/card/public-api.d.ts +3 -0
- package/components/card/src/card.component.d.ts +19 -20
- package/components/countdown/src/countdown.component.d.ts +6 -1
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +10 -0
- package/components/dropdown/public-api.d.ts +1 -0
- package/components/dropdown/src/dropdown.component.d.ts +24 -42
- package/components/dual-list/src/dual-list.component.d.ts +11 -60
- package/components/file-upload/file-uploader/src/file-uploader.component.d.ts +2 -5
- package/components/forms/checkbox/src/checkbox.component.d.ts +2 -3
- package/components/forms/input/src/input.component.d.ts +7 -8
- package/components/forms/radio/src/radio.component.d.ts +2 -6
- package/components/forms/select/src/select.component.d.ts +5 -8
- package/components/forms/textarea/src/textarea.component.d.ts +5 -11
- package/components/link/src/link.component.d.ts +18 -45
- package/components/modal/modal-actions/modal-actions.component.d.ts +8 -0
- package/components/modal/modal-content/modal-content.component.d.ts +5 -0
- package/components/modal/modal-title/modal-title.component.d.ts +5 -0
- package/components/modal/public-api.d.ts +3 -0
- package/components/modal/src/modal.component.d.ts +10 -14
- package/components/product-card/src/product-card.component.d.ts +5 -9
- package/components/tab/src/tab.component.d.ts +1 -2
- package/components/table/src/table.component.d.ts +14 -19
- package/directives/click-outside/index.d.ts +5 -0
- package/directives/click-outside/public-api.d.ts +1 -0
- package/directives/click-outside/src/click-outside.directive.d.ts +10 -0
- package/directives/typography/src/typography.directive.d.ts +3 -4
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +5 -6
- package/esm2022/components/avatar/src/avatar.component.mjs +27 -43
- package/esm2022/components/button/src/button.component.mjs +43 -118
- package/esm2022/components/card/card-actions/card-actions.component.mjs +22 -0
- package/esm2022/components/card/card-content/card-content.component.mjs +12 -0
- package/esm2022/components/card/card-title/card-title.component.mjs +12 -0
- package/esm2022/components/card/public-api.mjs +4 -1
- package/esm2022/components/card/src/card.component.mjs +20 -45
- package/esm2022/components/countdown/src/countdown.component.mjs +10 -3
- package/esm2022/components/dropdown/dropdown-item/dropdown-item.component.mjs +24 -0
- package/esm2022/components/dropdown/public-api.mjs +2 -1
- package/esm2022/components/dropdown/src/dropdown.component.mjs +65 -101
- package/esm2022/components/dual-list/src/dual-list.component.mjs +23 -63
- package/esm2022/components/file-upload/file-dropzone/src/file-dropzone.component.mjs +3 -3
- package/esm2022/components/file-upload/file-uploader/src/file-uploader.component.mjs +3 -7
- package/esm2022/components/forms/checkbox/src/checkbox.component.mjs +9 -8
- package/esm2022/components/forms/combobox/src/combobox.component.mjs +3 -3
- package/esm2022/components/forms/datepicker/src/datepicker.component.mjs +2 -2
- package/esm2022/components/forms/form-error/src/form-error.component.mjs +3 -3
- package/esm2022/components/forms/input/src/input.component.mjs +51 -45
- package/esm2022/components/forms/radio/src/radio.component.mjs +5 -18
- package/esm2022/components/forms/range/src/range.component.mjs +3 -3
- package/esm2022/components/forms/select/src/select.component.mjs +24 -34
- package/esm2022/components/forms/switch/src/switch.component.mjs +3 -3
- package/esm2022/components/forms/textarea/src/textarea.component.mjs +35 -48
- package/esm2022/components/forms/toggle/src/toggle.component.mjs +3 -3
- package/esm2022/components/link/src/link.component.mjs +27 -183
- package/esm2022/components/modal/modal-actions/modal-actions.component.mjs +22 -0
- package/esm2022/components/modal/modal-content/modal-content.component.mjs +12 -0
- package/esm2022/components/modal/modal-title/modal-title.component.mjs +13 -0
- package/esm2022/components/modal/public-api.mjs +4 -1
- package/esm2022/components/modal/src/modal.component.mjs +29 -32
- package/esm2022/components/notification/src/notification.component.mjs +2 -5
- package/esm2022/components/paginator/components/pagination-item/pagination-item.component.mjs +24 -24
- package/esm2022/components/product-card/src/product-card.component.mjs +5 -14
- package/esm2022/components/progress/src/progress.component.mjs +3 -3
- package/esm2022/components/tab/src/tab.component.mjs +2 -4
- package/esm2022/components/table/src/table.component.mjs +35 -40
- package/esm2022/components/table/table-header-checkbox/table-header-checkbox.component.mjs +3 -3
- package/esm2022/components/table/table-row-checkbox/table-row-checkbox.component.mjs +1 -1
- package/esm2022/components/toast/toast-message/toast-message.component.mjs +4 -4
- package/esm2022/components/wizard/wizard-marker/wizard-marker.component.mjs +4 -4
- package/esm2022/components/wizard/wizard-step/wizard-step.component.mjs +3 -3
- package/esm2022/components/wizard/wizard-wrapper/wizard-wrapper.component.mjs +3 -3
- package/esm2022/directives/click-outside/public-api.mjs +2 -0
- package/esm2022/directives/click-outside/sixbell-telco-sdk-directives-click-outside.mjs +5 -0
- package/esm2022/directives/click-outside/src/click-outside.directive.mjs +30 -0
- package/esm2022/directives/typography/src/typography.directive.mjs +19 -18
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +4 -5
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +26 -42
- package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +43 -118
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-card.mjs +57 -46
- package/fesm2022/sixbell-telco-sdk-components-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs +9 -2
- package/fesm2022/sixbell-telco-sdk-components-countdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +86 -101
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +21 -61
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-dropzone.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs +2 -6
- package/fesm2022/sixbell-telco-sdk-components-file-upload-file-uploader.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +8 -7
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +51 -45
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +4 -17
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +23 -33
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +34 -47
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-link.mjs +27 -183
- package/fesm2022/sixbell-telco-sdk-components-link.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs +67 -32
- package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs +1 -4
- package/fesm2022/sixbell-telco-sdk-components-notification.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +23 -23
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +4 -13
- package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-progress.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +1 -3
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +37 -42
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +3 -3
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +7 -7
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +37 -0
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs +18 -17
- package/fesm2022/sixbell-telco-sdk-directives-typography.mjs.map +1 -1
- package/package.json +13 -7
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
height?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
5
|
-
width?: "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
6
|
-
shape?: "round-sm" | "round-md" | "round-lg" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
export type CardShadowProps = 'none' | 'primary' | 'secondary' | null | undefined;
|
|
9
|
-
export type CardHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
10
|
-
export type CardWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | null | undefined;
|
|
11
|
-
export type CardShapeProps = 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
2
|
+
export type CardImageOrientationProps = 'vertical' | 'horizontal';
|
|
3
|
+
export type CardImageAlignmentProps = 'start' | 'end';
|
|
12
4
|
export type CardProps = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
variant?: CardImageOrientationProps;
|
|
6
|
+
border?: boolean;
|
|
7
|
+
image?: string | null;
|
|
8
|
+
imageAlt?: string | null;
|
|
9
|
+
imageAlignment?: CardImageAlignmentProps;
|
|
10
|
+
imageAsBackground?: boolean;
|
|
11
|
+
imageOnSide?: boolean;
|
|
12
|
+
shadow?: boolean;
|
|
17
13
|
};
|
|
18
14
|
export declare class CardComponent {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
border: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
image: import("@angular/core").InputSignal<string | null>;
|
|
17
|
+
imageAlt: import("@angular/core").InputSignal<string>;
|
|
18
|
+
imageOrientation: import("@angular/core").InputSignal<CardImageOrientationProps>;
|
|
19
|
+
imageAlignment: import("@angular/core").InputSignal<CardImageAlignmentProps>;
|
|
20
|
+
imageAsBackground: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
shadow: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
glass: import("@angular/core").InputSignal<boolean>;
|
|
24
23
|
get componentClass(): string;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "st-card", never, { "
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "st-card", never, { "border": { "alias": "border"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "imageAlt": { "alias": "imageAlt"; "required": false; "isSignal": true; }; "imageOrientation": { "alias": "imageOrientation"; "required": false; "isSignal": true; }; "imageAlignment": { "alias": "imageAlignment"; "required": false; "isSignal": true; }; "imageAsBackground": { "alias": "imageAsBackground"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; }, {}, never, ["st-card-title", "st-card-content", "st-card-actions"], true, never>;
|
|
27
26
|
}
|
|
@@ -7,6 +7,10 @@ export declare class CountdownComponent {
|
|
|
7
7
|
showHours: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
showMinutes: import("@angular/core").InputSignal<boolean>;
|
|
9
9
|
showSeconds: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
labelDays: import("@angular/core").InputSignal<string>;
|
|
11
|
+
labelHours: import("@angular/core").InputSignal<string>;
|
|
12
|
+
labelMinutes: import("@angular/core").InputSignal<string>;
|
|
13
|
+
labelSeconds: import("@angular/core").InputSignal<string>;
|
|
10
14
|
onFinish: import("@angular/core").OutputEmitterRef<void>;
|
|
11
15
|
private countdownDateOnMilliseconds;
|
|
12
16
|
countdowntimer$: import("rxjs").Observable<{
|
|
@@ -25,6 +29,7 @@ export declare class CountdownComponent {
|
|
|
25
29
|
hours: import("@angular/core").Signal<number | undefined>;
|
|
26
30
|
minutes: import("@angular/core").Signal<number | undefined>;
|
|
27
31
|
seconds: import("@angular/core").Signal<number | undefined>;
|
|
32
|
+
getfirstLetterOfLabel(label: string): string;
|
|
28
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<CountdownComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "st-countdown", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "dueDate": { "alias": "dueDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "showDays": { "alias": "showDays"; "required": false; "isSignal": true; }; "showHours": { "alias": "showHours"; "required": false; "isSignal": true; }; "showMinutes": { "alias": "showMinutes"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; }, { "onFinish": "onFinish"; }, never, never, true, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "st-countdown", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "dueDate": { "alias": "dueDate"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "showDays": { "alias": "showDays"; "required": false; "isSignal": true; }; "showHours": { "alias": "showHours"; "required": false; "isSignal": true; }; "showMinutes": { "alias": "showMinutes"; "required": false; "isSignal": true; }; "showSeconds": { "alias": "showSeconds"; "required": false; "isSignal": true; }; "labelDays": { "alias": "labelDays"; "required": false; "isSignal": true; }; "labelHours": { "alias": "labelHours"; "required": false; "isSignal": true; }; "labelMinutes": { "alias": "labelMinutes"; "required": false; "isSignal": true; }; "labelSeconds": { "alias": "labelSeconds"; "required": false; "isSignal": true; }; }, { "onFinish": "onFinish"; }, never, never, true, never>;
|
|
30
35
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DropdownComponent } from '../src/dropdown.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropdownItemComponent {
|
|
4
|
+
private dropdown;
|
|
5
|
+
onSelect: import("@angular/core").OutputEmitterRef<void>;
|
|
6
|
+
constructor(dropdown: DropdownComponent);
|
|
7
|
+
handleSelect(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemComponent, [{ host: true; }]>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "st-dropdown-item", never, {}, { "onSelect": "onSelect"; }, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
@@ -1,67 +1,49 @@
|
|
|
1
|
-
import { Route } from '@sixbell-telco/sdk/components/link';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare const dropdownButton: (props?: ({
|
|
4
|
-
variant?: "primary" | "secondary" | "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
height?: "normal" | "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
8
|
-
width?: "normal" | "fit" | "auto" | "full" | "min-content" | "max-content" | null | undefined;
|
|
9
|
-
alignment?: "center" | "left" | "right" | null | undefined;
|
|
3
|
+
variant?: "primary" | "secondary" | "tertiary" | "accent" | "info" | "success" | "warning" | "error" | "icon" | null | undefined;
|
|
4
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
iconPosition?: "left" | "right" | null | undefined;
|
|
10
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
-
export type DropdownButtonVariantProps = 'primary' | 'secondary' | '
|
|
12
|
-
export type DropdownButtonShapeProps = 'round-none' | 'round-sm' | 'round-md' | 'round-lg' | null | undefined;
|
|
13
|
-
export type DropdownButtonPaddingProps = 'none' | 'normal' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
14
|
-
export type DropdownButtonHeightProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
15
|
-
export type DropdownButtonWidthProps = 'fit' | 'auto' | 'full' | 'min-content' | 'max-content' | 'normal' | null | undefined;
|
|
7
|
+
export type DropdownButtonVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | 'icon' | null | undefined;
|
|
16
8
|
export type DropdownButtonAlignmentProps = 'center' | 'left' | 'right' | null | undefined;
|
|
9
|
+
export type DropdownButtonPositionProps = 'left' | 'right' | null | undefined;
|
|
10
|
+
export type DropdownButtonSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
17
11
|
export declare const dropdownMenu: (props?: ({
|
|
18
12
|
menuPosition?: "left" | "right" | "top" | "bottom" | null | undefined;
|
|
19
13
|
menuAlignment?: "start" | "end" | null | undefined;
|
|
20
|
-
menuOpenBy?: "click" | "hover" | null | undefined;
|
|
21
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
15
|
export type DropdownMenuPositionProps = 'top' | 'bottom' | 'right' | 'left' | null | undefined;
|
|
23
16
|
export type DropdownMenuAlignmentProps = 'start' | 'end' | null | undefined;
|
|
24
|
-
export type DropdownMenuOpenByProps = 'click' | 'hover' | null | undefined;
|
|
25
|
-
export declare const dropdownIcon: (props?: ({
|
|
26
|
-
iconPosition?: "center" | "left" | "right" | null | undefined;
|
|
27
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
28
|
-
export type DropdownIconPositionProps = 'center' | 'left' | 'right' | null | undefined;
|
|
29
17
|
export type DropdownProps = {
|
|
30
18
|
variant?: DropdownButtonVariantProps;
|
|
31
|
-
shape?: DropdownButtonShapeProps;
|
|
32
|
-
height?: DropdownButtonHeightProps;
|
|
33
|
-
padding?: DropdownButtonPaddingProps;
|
|
34
|
-
width?: DropdownButtonWidthProps;
|
|
35
19
|
alignment?: DropdownButtonAlignmentProps;
|
|
36
20
|
menuAlignment?: DropdownMenuAlignmentProps;
|
|
37
21
|
menuPosition?: DropdownMenuPositionProps;
|
|
38
|
-
|
|
39
|
-
iconPosition?: DropdownIconPositionProps;
|
|
22
|
+
iconPosition?: DropdownButtonPositionProps;
|
|
40
23
|
};
|
|
41
|
-
export declare const dropdownComponent: ({ variant,
|
|
24
|
+
export declare const dropdownComponent: ({ variant, menuAlignment, menuPosition, iconPosition }?: DropdownProps) => string;
|
|
42
25
|
export declare class DropdownComponent {
|
|
43
26
|
variant: import("@angular/core").InputSignal<DropdownButtonVariantProps>;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
27
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
outline: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
circle: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
square: import("@angular/core").InputSignal<boolean>;
|
|
31
|
+
glass: import("@angular/core").InputSignal<boolean>;
|
|
32
|
+
block: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
size: import("@angular/core").InputSignal<DropdownButtonSizeProps>;
|
|
34
|
+
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
35
|
+
iconPosition: import("@angular/core").InputSignal<DropdownButtonPositionProps>;
|
|
49
36
|
menuPosition: import("@angular/core").InputSignal<DropdownMenuPositionProps>;
|
|
50
37
|
menuAlignment: import("@angular/core").InputSignal<DropdownMenuAlignmentProps>;
|
|
51
|
-
menuOpenBy: import("@angular/core").InputSignal<DropdownMenuOpenByProps>;
|
|
52
|
-
iconPosition: import("@angular/core").InputSignal<DropdownIconPositionProps>;
|
|
53
|
-
buttonClasses: import("@angular/core").InputSignal<string>;
|
|
54
|
-
menuClasses: import("@angular/core").InputSignal<string>;
|
|
55
|
-
iconClasses: import("@angular/core").InputSignal<string>;
|
|
56
38
|
label: import("@angular/core").InputSignal<string | undefined>;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
disabled: import("@angular/core").InputSignal<boolean>;
|
|
61
|
-
routes: import("@angular/core").InputSignal<Route[]>;
|
|
39
|
+
isOpened: import("@angular/core").ModelSignal<boolean>;
|
|
40
|
+
onToggle: import("@angular/core").OutputEmitterRef<boolean>;
|
|
41
|
+
onMouseEnter: import("@angular/core").OutputEmitterRef<boolean>;
|
|
62
42
|
get buttonClass(): string;
|
|
63
43
|
get menuClass(): string;
|
|
64
|
-
get
|
|
44
|
+
get dropdownContentClass(): string;
|
|
45
|
+
handleToggle(): void;
|
|
46
|
+
handleClickOuside(): void;
|
|
65
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "st-dropdown", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "st-dropdown", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "menuPosition": { "alias": "menuPosition"; "required": false; "isSignal": true; }; "menuAlignment": { "alias": "menuAlignment"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, { "isOpened": "isOpenedChange"; "onToggle": "onToggle"; "onMouseEnter": "onMouseEnter"; }, never, ["*"], true, never>;
|
|
67
49
|
}
|
|
@@ -1,72 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TableContainerHeightProps, TableContainerShadowProps, TableContainerShapeProps, TableContentSizeProps, TableContentVariantProps, TablePagination } from '@sixbell-telco/sdk/components/table';
|
|
1
|
+
import { TableContainerHeightProps, TableContentSizeProps, TablePagination } from '@sixbell-telco/sdk/components/table';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export type DualListData<T> = T & {
|
|
5
4
|
selected: boolean;
|
|
6
5
|
};
|
|
7
6
|
export declare class DualListComponent<T> {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
leftTableContainerClasses: import("@angular/core").InputSignal<string>;
|
|
15
|
-
rightTableVariant: import("@angular/core").InputSignal<TableContentVariantProps>;
|
|
16
|
-
rightTableSize: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
17
|
-
rightTableHeight: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
18
|
-
rightTableShadow: import("@angular/core").InputSignal<TableContainerShadowProps>;
|
|
19
|
-
rightTableShape: import("@angular/core").InputSignal<TableContainerShapeProps>;
|
|
20
|
-
rightTableContentClasses: import("@angular/core").InputSignal<string>;
|
|
21
|
-
rightTableContainerClasses: import("@angular/core").InputSignal<string>;
|
|
22
|
-
leftTableVariantsClasses(): {
|
|
23
|
-
variant: "default" | "zebra";
|
|
24
|
-
height: "sm" | "md" | "lg" | "auto" | "full";
|
|
25
|
-
size: TableContentSizeProps;
|
|
26
|
-
shadow: TableContainerShadowProps;
|
|
27
|
-
shape: TableContainerShapeProps;
|
|
28
|
-
};
|
|
29
|
-
rightTableVariantsClasses(): {
|
|
30
|
-
variant: "default" | "zebra";
|
|
31
|
-
height: "sm" | "md" | "lg" | "auto" | "full";
|
|
32
|
-
size: TableContentSizeProps;
|
|
33
|
-
shadow: TableContainerShadowProps;
|
|
34
|
-
shape: TableContainerShapeProps;
|
|
35
|
-
};
|
|
36
|
-
get leftTableContainerClass(): string;
|
|
37
|
-
get rightTableContainerClass(): string;
|
|
38
|
-
buttonAddVariant: import("@angular/core").InputSignal<ButtonProps>;
|
|
39
|
-
buttonAddContainerClasses: import("@angular/core").InputSignal<string>;
|
|
40
|
-
buttonAddIconClasses: import("@angular/core").InputSignal<string>;
|
|
41
|
-
buttonAddLabel: import("@angular/core").InputSignal<string>;
|
|
42
|
-
buttonRemoveVariant: import("@angular/core").InputSignal<ButtonProps>;
|
|
43
|
-
buttonRemoveContainerClasses: import("@angular/core").InputSignal<string>;
|
|
44
|
-
buttonRemoveIconClasses: import("@angular/core").InputSignal<string>;
|
|
45
|
-
buttonRemoveLabel: import("@angular/core").InputSignal<string>;
|
|
46
|
-
buttonAddClasses(): {
|
|
47
|
-
variant: "secondary" | "primary" | "warning" | "error" | "ghost-primary" | "ghost-error" | "circle" | "icon";
|
|
48
|
-
width: "auto" | "full" | "fit" | "min-content" | "max-content" | "normal";
|
|
49
|
-
height: import("@sixbell-telco/sdk/components/button").ButtonContainerHeightProps;
|
|
50
|
-
shape: import("@sixbell-telco/sdk/components/button").ButtonContainerShapeProps;
|
|
51
|
-
padding: import("@sixbell-telco/sdk/components/button").ButtonContainerPaddingProps;
|
|
52
|
-
iconPosition: import("@sixbell-telco/sdk/components/button").ButtonIconVariantProps;
|
|
53
|
-
alignment: import("@sixbell-telco/sdk/components/button").ButtonContainerAlignmentProps;
|
|
54
|
-
};
|
|
55
|
-
buttonRemoveClasses(): {
|
|
56
|
-
variant: "secondary" | "primary" | "warning" | "error" | "ghost-primary" | "ghost-error" | "circle" | "icon";
|
|
57
|
-
width: "auto" | "full" | "fit" | "min-content" | "max-content" | "normal";
|
|
58
|
-
height: import("@sixbell-telco/sdk/components/button").ButtonContainerHeightProps;
|
|
59
|
-
shape: import("@sixbell-telco/sdk/components/button").ButtonContainerShapeProps;
|
|
60
|
-
padding: import("@sixbell-telco/sdk/components/button").ButtonContainerPaddingProps;
|
|
61
|
-
iconPosition: import("@sixbell-telco/sdk/components/button").ButtonIconVariantProps;
|
|
62
|
-
alignment: import("@sixbell-telco/sdk/components/button").ButtonContainerAlignmentProps;
|
|
63
|
-
};
|
|
7
|
+
size: import("@angular/core").InputSignal<TableContentSizeProps>;
|
|
8
|
+
height: import("@angular/core").InputSignal<TableContainerHeightProps>;
|
|
9
|
+
inputPlaceholder: import("@angular/core").InputSignal<string>;
|
|
10
|
+
emptyListMessage: import("@angular/core").InputSignal<string>;
|
|
11
|
+
chevronLeftIcon: string;
|
|
12
|
+
chevronRightIcon: string;
|
|
64
13
|
key: import("@angular/core").InputSignal<string>;
|
|
14
|
+
value: import("@angular/core").InputSignal<string>;
|
|
65
15
|
label: import("@angular/core").InputSignal<string>;
|
|
66
16
|
titleLeft: import("@angular/core").InputSignal<string>;
|
|
67
17
|
titleRight: import("@angular/core").InputSignal<string>;
|
|
68
18
|
getKey(item: DualListData<T>): string;
|
|
69
|
-
|
|
19
|
+
getValue(item: DualListData<T>): string;
|
|
20
|
+
getLabel(): string;
|
|
70
21
|
items: import("@angular/core").InputSignal<unknown[]>;
|
|
71
22
|
target: import("@angular/core").WritableSignal<DualListData<T>[]>;
|
|
72
23
|
selectedItems: import("@angular/core").WritableSignal<DualListData<T>[]>;
|
|
@@ -98,5 +49,5 @@ export declare class DualListComponent<T> {
|
|
|
98
49
|
handleRemoveItems(): void;
|
|
99
50
|
private updateTargetList;
|
|
100
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<DualListComponent<any>, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DualListComponent<any>, "st-dual-list", never, { "
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DualListComponent<any>, "st-dual-list", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; "isSignal": true; }; "emptyListMessage": { "alias": "emptyListMessage"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "titleLeft": { "alias": "titleLeft"; "required": false; "isSignal": true; }; "titleRight": { "alias": "titleRight"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": true; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "addedItems": { "alias": "addedItems"; "required": true; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": true; "isSignal": true; }; }, { "onListChange": "onListChange"; "onSearch": "onSearch"; "onPageChange": "onPageChange"; "onPageSizeChange": "onPageSizeChange"; }, never, never, true, never>;
|
|
102
53
|
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { InputSizeProps, InputVariantProps } from '@sixbell-telco/sdk/components/forms/input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export type FileUploaderVariantProps = Exclude<InputVariantProps, 'search' | 'search-ghost'>;
|
|
6
|
-
export type FileUploaderShapeProps = InputShapeProps;
|
|
7
6
|
export type FileUploaderSizeProps = InputSizeProps;
|
|
8
7
|
export type FileUploaderProps = {
|
|
9
8
|
variant?: FileUploaderVariantProps;
|
|
10
|
-
shape?: FileUploaderShapeProps;
|
|
11
9
|
size?: FileUploaderSizeProps;
|
|
12
10
|
};
|
|
13
11
|
export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
14
12
|
variant: import("@angular/core").InputSignal<FileUploaderVariantProps>;
|
|
15
|
-
shape: import("@angular/core").InputSignal<InputShapeProps>;
|
|
16
13
|
size: import("@angular/core").InputSignal<InputSizeProps>;
|
|
17
14
|
classes: import("@angular/core").InputSignal<string>;
|
|
18
15
|
label: import("@angular/core").InputSignal<string>;
|
|
@@ -45,5 +42,5 @@ export declare class FileUploaderComponent implements ControlValueAccessor {
|
|
|
45
42
|
successClass(): FileUploaderProps;
|
|
46
43
|
validationClass(): FileUploaderProps;
|
|
47
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploaderComponent, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "st-file-uploader", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "st-file-uploader", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "showExtensions": { "alias": "showExtensions"; "required": false; "isSignal": true; }; "extensions": { "alias": "extensions"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onFileChange": "onFileChange"; "value": "valueChange"; "disabled": "disabledChange"; }, never, ["*"], true, never>;
|
|
49
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type CheckboxVariantProps = 'primary' | '
|
|
3
|
+
export type CheckboxVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
4
4
|
export type CheckboxSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
5
5
|
export type CheckboxProps = {
|
|
6
6
|
variant?: CheckboxVariantProps;
|
|
@@ -9,7 +9,6 @@ export type CheckboxProps = {
|
|
|
9
9
|
export declare class CheckboxComponent implements ControlValueAccessor {
|
|
10
10
|
variant: import("@angular/core").InputSignal<CheckboxVariantProps>;
|
|
11
11
|
size: import("@angular/core").InputSignal<CheckboxSizeProps>;
|
|
12
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
13
12
|
label: import("@angular/core").InputSignal<string>;
|
|
14
13
|
name: import("@angular/core").InputSignal<string | null>;
|
|
15
14
|
value: import("@angular/core").ModelSignal<boolean>;
|
|
@@ -25,5 +24,5 @@ export declare class CheckboxComponent implements ControlValueAccessor {
|
|
|
25
24
|
handleBlur(): void;
|
|
26
25
|
get componentClass(): string;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "st-checkbox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "st-checkbox", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
29
28
|
}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export type InputVariantProps = 'primary' | 'secondary' | '
|
|
5
|
-
export type
|
|
6
|
-
export type InputSizeProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
4
|
+
export type InputVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | null | undefined;
|
|
5
|
+
export type InputSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
7
6
|
export type InputIconPositionProps = 'left' | 'right' | null | undefined;
|
|
8
7
|
export type InputProps = {
|
|
9
8
|
variant?: InputVariantProps;
|
|
10
|
-
shape?: InputShapeProps;
|
|
11
9
|
size?: InputSizeProps;
|
|
12
10
|
iconPosition?: InputIconPositionProps;
|
|
13
11
|
};
|
|
14
12
|
type HTMLNativeInputType = 'text' | 'email' | 'number' | 'password' | 'file';
|
|
15
13
|
export declare class InputComponent implements ControlValueAccessor {
|
|
16
14
|
variant: import("@angular/core").InputSignal<InputVariantProps>;
|
|
17
|
-
shape: import("@angular/core").InputSignal<InputShapeProps>;
|
|
18
15
|
size: import("@angular/core").InputSignal<InputSizeProps>;
|
|
19
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
20
16
|
label: import("@angular/core").InputSignal<string>;
|
|
21
17
|
type: import("@angular/core").InputSignal<HTMLNativeInputType>;
|
|
22
18
|
name: import("@angular/core").InputSignal<string | null>;
|
|
@@ -25,7 +21,9 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
25
21
|
iconPosition: import("@angular/core").InputSignal<InputIconPositionProps>;
|
|
26
22
|
iconClasses: import("@angular/core").InputSignal<string>;
|
|
27
23
|
readonly: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
|
|
24
|
+
iconClickable: import("@angular/core").InputSignal<boolean>;
|
|
25
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
26
|
+
onIconClick: import("@angular/core").OutputEmitterRef<void>;
|
|
29
27
|
value: import("@angular/core").ModelSignal<string>;
|
|
30
28
|
parentForm: import("@angular/core").InputSignal<FormGroup<any> | null>;
|
|
31
29
|
formControlName: import("@angular/core").InputSignal<string>;
|
|
@@ -48,12 +46,13 @@ export declare class InputComponent implements ControlValueAccessor {
|
|
|
48
46
|
debounceTimeEffect: import("@angular/core").EffectRef;
|
|
49
47
|
value$: import("rxjs").Observable<string>;
|
|
50
48
|
constructor();
|
|
49
|
+
handleIconClick(): void;
|
|
51
50
|
get componentClass(): string;
|
|
52
51
|
get errorClass(): string;
|
|
53
52
|
get successClass(): string;
|
|
54
53
|
get validationClass(): string;
|
|
55
54
|
get iconClass(): string;
|
|
56
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
57
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "st-input", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "st-input", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconClasses": { "alias": "iconClasses"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "iconClickable": { "alias": "iconClickable"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "onIconClick": "onIconClick"; "value": "valueChange"; "disabled": "disabledChange"; "onEnter": "onEnter"; "onBlur": "onBlur"; "onDebounceChange": "onDebounceChange"; }, never, never, true, never>;
|
|
58
57
|
}
|
|
59
58
|
export {};
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { ControlValueAccessor } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type RadioVariantProps = 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
4
|
-
export type RadioBorderVariantProps = 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
3
|
+
export type RadioVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'success' | 'warning' | 'info' | 'error' | null | undefined;
|
|
5
4
|
export type RadioSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
6
5
|
export type RadioProps = {
|
|
7
6
|
variant?: RadioVariantProps;
|
|
8
|
-
borderVariant?: RadioBorderVariantProps;
|
|
9
7
|
size?: RadioSizeProps;
|
|
10
8
|
};
|
|
11
9
|
export declare class RadioComponent implements ControlValueAccessor {
|
|
12
10
|
variant: import("@angular/core").InputSignal<RadioVariantProps>;
|
|
13
|
-
borderVariant: import("@angular/core").InputSignal<RadioBorderVariantProps>;
|
|
14
11
|
size: import("@angular/core").InputSignal<RadioSizeProps>;
|
|
15
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
16
12
|
label: import("@angular/core").InputSignal<string>;
|
|
17
13
|
name: import("@angular/core").InputSignal<string | null>;
|
|
18
14
|
value: import("@angular/core").InputSignal<unknown>;
|
|
@@ -29,5 +25,5 @@ export declare class RadioComponent implements ControlValueAccessor {
|
|
|
29
25
|
handleBlur(): void;
|
|
30
26
|
get componentClass(): string;
|
|
31
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "st-radio", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "st-radio", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
33
29
|
}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type SelectVariantProps = 'primary' | 'secondary' | 'success' | 'error' | 'warning' | null | undefined;
|
|
4
|
-
export type
|
|
5
|
-
export type SelectSizeProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
3
|
+
export type SelectVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'error' | 'warning' | null | undefined;
|
|
4
|
+
export type SelectSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
6
5
|
export type SelectProps = {
|
|
7
6
|
variant?: SelectVariantProps;
|
|
8
|
-
shape?: SelectShapeProps;
|
|
9
7
|
size?: SelectSizeProps;
|
|
10
8
|
};
|
|
11
9
|
export declare class SelectComponent {
|
|
12
10
|
variant: import("@angular/core").InputSignal<SelectVariantProps>;
|
|
13
|
-
shape: import("@angular/core").InputSignal<SelectShapeProps>;
|
|
14
11
|
size: import("@angular/core").InputSignal<SelectSizeProps>;
|
|
15
|
-
|
|
16
|
-
label: import("@angular/core").InputSignal<string>;
|
|
12
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
17
13
|
name: import("@angular/core").InputSignal<string | null>;
|
|
18
14
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
15
|
+
label: import("@angular/core").InputSignal<string>;
|
|
19
16
|
value: import("@angular/core").ModelSignal<unknown>;
|
|
20
17
|
options: import("@angular/core").InputSignal<any[]>;
|
|
21
18
|
emptyOptionText: import("@angular/core").InputSignal<string>;
|
|
@@ -41,5 +38,5 @@ export declare class SelectComponent {
|
|
|
41
38
|
get successClass(): string;
|
|
42
39
|
get validationClass(): string;
|
|
43
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "st-select", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "st-select", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "emptyOptionText": { "alias": "emptyOptionText"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onChange": "onChange"; }, never, never, true, never>;
|
|
45
42
|
}
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export type textareaVariantProps = 'primary' | 'secondary' | '
|
|
5
|
-
export type
|
|
6
|
-
export type textareaSizeProps = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | null | undefined;
|
|
7
|
-
export type textareaPaddingProps = 'sm' | 'md' | 'lg' | null | undefined;
|
|
4
|
+
export type textareaVariantProps = 'primary' | 'secondary' | 'tertiary' | 'accent' | 'info' | 'success' | 'warning' | 'error' | null | undefined;
|
|
5
|
+
export type textareaSizeProps = 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
|
|
8
6
|
export type textareaProps = {
|
|
9
7
|
variant?: textareaVariantProps;
|
|
10
|
-
shape?: textareaShapeProps;
|
|
11
8
|
size?: textareaSizeProps;
|
|
12
|
-
padding?: textareaPaddingProps;
|
|
13
9
|
};
|
|
14
10
|
export declare class TextareaComponent {
|
|
15
11
|
variant: import("@angular/core").InputSignal<textareaVariantProps>;
|
|
16
|
-
shape: import("@angular/core").InputSignal<textareaShapeProps>;
|
|
17
12
|
size: import("@angular/core").InputSignal<textareaSizeProps>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
label: import("@angular/core").InputSignal<string>;
|
|
13
|
+
ghost: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
label: import("@angular/core").InputSignal<string | null>;
|
|
21
15
|
name: import("@angular/core").InputSignal<string | null>;
|
|
22
16
|
placeholder: import("@angular/core").InputSignal<string>;
|
|
23
17
|
rows: import("@angular/core").InputSignal<string | number>;
|
|
@@ -49,5 +43,5 @@ export declare class TextareaComponent {
|
|
|
49
43
|
get successClass(): string;
|
|
50
44
|
get validationClass(): string;
|
|
51
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "st-textarea", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "st-textarea", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; "isSignal": true; }; "parentForm": { "alias": "parentForm"; "required": false; "isSignal": true; }; "formControlName": { "alias": "formControlName"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "disabled": "disabledChange"; "onEnter": "onEnter"; "onDebounceChange": "onDebounceChange"; }, never, ["*"], true, never>;
|
|
53
47
|
}
|