@design-system-rte/angular 0.5.0 → 0.5.2
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/esm2022/lib/components/icon-button/icon-button.component.mjs +34 -0
- package/esm2022/lib/components/icon-button-toggle/icon-button-toggle.component.mjs +31 -0
- package/esm2022/lib/components/split-button/split-button.component.mjs +42 -0
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +19 -0
- package/esm2022/lib/components/tooltip/tooltip.directive.mjs +145 -0
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/design-system-rte-angular.mjs +250 -2
- package/fesm2022/design-system-rte-angular.mjs.map +1 -1
- package/lib/components/icon/icon.component.d.ts +1 -1
- package/lib/components/icon-button/icon-button.component.d.ts +20 -0
- package/lib/components/icon-button-toggle/icon-button-toggle.component.d.ts +19 -0
- package/lib/components/split-button/split-button.component.d.ts +21 -0
- package/lib/components/tooltip/tooltip.component.d.ts +9 -0
- package/lib/components/tooltip/tooltip.directive.d.ts +30 -0
- package/package.json +2 -2
- package/public-api.d.ts +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SplitButtonAppearance, SplitButtonPosition, SplitButtonSize } from "@design-system-rte/core/components/split-button/split-button.interface";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SplitButtonComponent {
|
|
4
|
+
readonly appearance: import("@angular/core").InputSignal<SplitButtonAppearance>;
|
|
5
|
+
readonly size: import("@angular/core").InputSignal<SplitButtonSize>;
|
|
6
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly compactSpacing: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly selected: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly position: import("@angular/core").InputSignal<SplitButtonPosition>;
|
|
10
|
+
readonly icon: import("@angular/core").InputSignal<"label" | "add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "filter" | "forward" | "fullscreen" | "history" | "language" | "link" | "list" | "login" | "logout" | "menu" | "monitoring" | "ohm" | "paste" | "public" | "publish" | "radar" | "redo" | "reload" | "remove" | "reply" | "route" | "search" | "sort" | "timeline" | "tune" | "undo" | "upload" | "water" | "wifi" | "windmill" | "alt-route" | "arrow-alt-down" | "arrow-alt-down-left" | "arrow-alt-down-right" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-alt-up-left" | "arrow-alt-up-right" | "arrow-angle-down-left" | "arrow-angle-down-right" | "arrow-angle-up-left" | "arrow-angle-up-right" | "arrow-chevron-down" | "arrow-chevron-left" | "arrow-chevron-right" | "arrow-chevron-up" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-drop-down" | "arrow-drop-up" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attach-file" | "battery-alt-empty" | "battery-alt-full" | "battery-charging" | "battery-empty" | "battery-full" | "bluetooth-off" | "chart-bar" | "chart-bar-stacked" | "check-indeterminate" | "check-small" | "checkbox-empty" | "copy-all" | "crisis-alert" | "download-done" | "drag-handle" | "drag-indicator" | "explore-travel" | "external-link" | "filter-off" | "first-page" | "fullscreen-exit" | "hourglass-empty" | "info-i" | "last-page" | "link-off" | "location-disabled" | "menu-open" | "more-down" | "more-horiz" | "more-up" | "more-vert" | "open-in-full" | "play-pause" | "power-input" | "power-plug" | "power-settings" | "priority-high" | "question-mark" | "radio-button-empty" | "reply-all" | "side-navigation" | "support-agent" | "trending-down" | "trending-flat" | "trending-up" | "water-alt" | "wifi-off" | "zoom-out" | "zoom-in" | "add-circle" | "admin-panel-settings" | "analytics" | "archive" | "arrow-circle-chevron-down" | "arrow-circle-chevron-left" | "arrow-circle-chevron-right" | "arrow-circle-chevron-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "article" | "assignment-complete" | "assignment" | "battery-alert" | "battery-charging-full" | "bolt-alt-circle" | "bolt-alt" | "bolt-circle" | "bolt" | "bookmark" | "bookmarks" | "build" | "calendar-available" | "calendar-busy" | "calendar-month" | "calendar-today" | "call" | "category" | "chart-add" | "chart-area" | "chart-pie" | "chart-table" | "chat-alt" | "chat-alt-unread" | "chat" | "chat-unread" | "check-circle" | "checkbox" | "checkbox-indeterminate" | "clock" | "cloud-download" | "cloud" | "cloud-off" | "cloud-upload" | "comment-add" | "comment" | "copy" | "dangerous" | "dashboard" | "database" | "delete" | "desktop" | "devices" | "draft" | "eco" | "edit" | "electric-meter" | "error" | "explore" | "explore-off" | "fast-forward" | "fast-rewind" | "feedback" | "file-copy" | "file-download" | "file-upload" | "filter-alt" | "filter-alt-off" | "fire" | "fit-screen" | "flag" | "flash" | "flash-off" | "folder-add" | "folder" | "folder-move" | "folder-open" | "folder-shared" | "forum" | "group-add" | "group" | "groups" | "headphones" | "heart" | "help" | "home" | "hourglass" | "image-broken" | "image" | "image-gallery" | "inbox" | "info" | "keep" | "keep-off" | "laptop" | "left-panel-open" | "left-panel-close" | "light-off" | "lightbulb-alt" | "lightbulb-circle" | "lightbulb" | "list-alt" | "location-me" | "location-off" | "location-on" | "lock" | "lock-open" | "lock-open-right" | "mail" | "mail-unread" | "map" | "mic" | "mic-off" | "mode-dark" | "mode-light" | "notification" | "notification-important" | "notification-off" | "notification-unread" | "palette" | "pause-circle" | "pause" | "photo-camera" | "play-circle" | "play" | "power" | "power-off" | "power-plug-connect" | "power-settings-circle" | "power-solar" | "power-switch" | "power-wind" | "print" | "right-panel-close" | "right-panel-open" | "save" | "send" | "settings" | "share" | "skip-next" | "skip-previous" | "smartphone" | "star" | "sticky-note" | "stop-circle" | "stop" | "subtitles" | "text-snippet" | "trash-restore" | "unarchive" | "user-add" | "user-circle" | "user" | "user-settings" | "verified" | "video-camera" | "video-camera-off" | "video-gallery" | "view-agenda" | "view-column" | "view-grid" | "view-kanban" | "view-module" | "view-timeline" | "visibility-hide" | "visibility-show" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "warning" | "waterdrop" | undefined>;
|
|
11
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
readonly ariaLabelRight: import("@angular/core").InputSignal<string | undefined>;
|
|
13
|
+
readonly splitButtonLeftIconSize: import("@angular/core").Signal<number>;
|
|
14
|
+
readonly splitButtonRightIconSize: import("@angular/core").Signal<number>;
|
|
15
|
+
readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
+
handleKeyDownOnRightButton(event: KeyboardEvent): void;
|
|
17
|
+
handleKeyDownOnMenu(event: KeyboardEvent): void;
|
|
18
|
+
private handleKeyDown;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "rte-split-button", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "compactSpacing": { "alias": "compactSpacing"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabelRight": { "alias": "ariaLabelRight"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TooltipComponent {
|
|
3
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
4
|
+
readonly position: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly alignment: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly arrow: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "rte-tooltip", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TooltipDirective {
|
|
3
|
+
readonly rteTooltip: import("@angular/core").InputSignal<string>;
|
|
4
|
+
readonly rteTooltipPosition: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly rteTooltipAlignment: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly rteTooltipArrow: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
private tooltipRef;
|
|
8
|
+
private hostElement;
|
|
9
|
+
private elementRef;
|
|
10
|
+
private viewContainerRef;
|
|
11
|
+
private renderer;
|
|
12
|
+
private cdr;
|
|
13
|
+
onMouseEnter(): void;
|
|
14
|
+
onMouseLeave(): void;
|
|
15
|
+
onFocus(): void;
|
|
16
|
+
onBlur(): void;
|
|
17
|
+
constructor();
|
|
18
|
+
showTooltip(): void;
|
|
19
|
+
private assignDirectiveToComponent;
|
|
20
|
+
private appendComponentToHost;
|
|
21
|
+
private positionTooltip;
|
|
22
|
+
private getTooltipPosition;
|
|
23
|
+
private getTooltipXBound;
|
|
24
|
+
private getTooltipXOffset;
|
|
25
|
+
private getTooltipYBound;
|
|
26
|
+
private getTooltipYOffset;
|
|
27
|
+
private hideTooltip;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[rteTooltip]", never, { "rteTooltip": { "alias": "rteTooltip"; "required": true; "isSignal": true; }; "rteTooltipPosition": { "alias": "rteTooltipPosition"; "required": false; "isSignal": true; }; "rteTooltipAlignment": { "alias": "rteTooltipAlignment"; "required": false; "isSignal": true; }; "rteTooltipArrow": { "alias": "rteTooltipArrow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design-system-rte/angular",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "Angular components for the Design System RTE",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@angular/core": "^17.3.12"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@design-system-rte/core": "^0.
|
|
14
|
+
"@design-system-rte/core": "^0.7.0",
|
|
15
15
|
"tslib": "^2.3.0"
|
|
16
16
|
},
|
|
17
17
|
"sideEffects": false,
|
package/public-api.d.ts
CHANGED
|
@@ -7,3 +7,7 @@ export * from "./lib/components/radio-button-group/radio-button-group.component"
|
|
|
7
7
|
export * from "./lib/components/checkbox/checkbox.component";
|
|
8
8
|
export * from "./lib/components/checkbox-group/checkbox-group.component";
|
|
9
9
|
export * from "./lib/components/icon/icon.component";
|
|
10
|
+
export * from "./lib/components/tooltip/tooltip.directive";
|
|
11
|
+
export * from "./lib/components/split-button/split-button.component";
|
|
12
|
+
export * from "./lib/components/icon-button/icon-button.component";
|
|
13
|
+
export * from "./lib/components/icon-button-toggle/icon-button-toggle.component";
|