@tolle_/tolle-ui 0.0.18-beta → 0.0.19-beta
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/alert.component.mjs +116 -0
- package/esm2022/lib/avatar-fallback.component.mjs +19 -0
- package/esm2022/lib/avatar.component.mjs +86 -0
- package/esm2022/lib/breadcrumb-item.component.mjs +19 -0
- package/esm2022/lib/breadcrumb-link.component.mjs +60 -0
- package/esm2022/lib/breadcrumb-separator.component.mjs +23 -0
- package/esm2022/lib/breadcrumb.component.mjs +28 -0
- package/esm2022/lib/button.component.mjs +7 -16
- package/esm2022/lib/date-picker.component.mjs +2 -2
- package/esm2022/lib/empty-state.component.mjs +111 -0
- package/esm2022/lib/input.component.mjs +2 -2
- package/esm2022/lib/masked-input.component.mjs +119 -43
- package/esm2022/lib/otp-group.component.mjs +15 -0
- package/esm2022/lib/otp-slot.component.mjs +62 -0
- package/esm2022/lib/otp.component.mjs +127 -0
- package/esm2022/lib/popover-content.component.mjs +44 -0
- package/esm2022/lib/popover.component.mjs +105 -0
- package/esm2022/lib/radio-group.component.mjs +78 -0
- package/esm2022/lib/radio-item.component.mjs +112 -0
- package/esm2022/lib/radio-service.mjs +23 -0
- package/esm2022/lib/textarea.component.mjs +2 -2
- package/esm2022/lib/theme.service.mjs +25 -1
- package/esm2022/public-api.mjs +16 -1
- package/esm2022/tolle-ui.mjs +5 -0
- package/fesm2022/{tolle_-tolle-ui.mjs → tolle-ui.mjs} +1115 -64
- package/fesm2022/tolle-ui.mjs.map +1 -0
- package/lib/alert.component.d.ts +25 -0
- package/lib/avatar-fallback.component.d.ts +5 -0
- package/lib/avatar.component.d.ts +17 -0
- package/lib/breadcrumb-item.component.d.ts +5 -0
- package/lib/breadcrumb-link.component.d.ts +6 -0
- package/lib/breadcrumb-separator.component.d.ts +5 -0
- package/lib/breadcrumb.component.d.ts +8 -0
- package/lib/button.component.d.ts +1 -3
- package/lib/empty-state.component.d.ts +20 -0
- package/lib/masked-input.component.d.ts +8 -1
- package/lib/otp-group.component.d.ts +5 -0
- package/lib/otp-slot.component.d.ts +12 -0
- package/lib/otp.component.d.ts +21 -0
- package/lib/popover-content.component.d.ts +8 -0
- package/lib/popover.component.d.ts +19 -0
- package/lib/radio-group.component.d.ts +23 -0
- package/lib/radio-item.component.d.ts +22 -0
- package/lib/radio-service.d.ts +11 -0
- package/lib/theme.service.d.ts +2 -0
- package/package.json +7 -6
- package/public-api.d.ts +15 -0
- package/theme.css +9 -0
- package/esm2022/tolle_-tolle-ui.mjs +0 -5
- package/fesm2022/tolle_-tolle-ui.mjs.map +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { cn } from './utils/cn';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
declare const alertVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
+
type AlertVariants = VariantProps<typeof alertVariants>;
|
|
9
|
+
export declare class AlertComponent {
|
|
10
|
+
variant: AlertVariants['variant'];
|
|
11
|
+
title?: string;
|
|
12
|
+
class: string;
|
|
13
|
+
dismissible: boolean;
|
|
14
|
+
onClose: EventEmitter<void>;
|
|
15
|
+
dismissed: boolean;
|
|
16
|
+
isDismissing: boolean;
|
|
17
|
+
protected alertVariants: (props?: ({
|
|
18
|
+
variant?: "default" | "destructive" | "success" | "warning" | null | undefined;
|
|
19
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
20
|
+
protected cn: typeof cn;
|
|
21
|
+
dismiss(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "tolle-alert", never, { "variant": { "alias": "variant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "class": { "alias": "class"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; }, { "onClose": "onClose"; }, never, ["[icon]", "*"], true, never>;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AvatarFallbackComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarFallbackComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarFallbackComponent, "tolle-avatar-fallback", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AvatarComponent {
|
|
4
|
+
private cdr;
|
|
5
|
+
src?: string;
|
|
6
|
+
alt: string;
|
|
7
|
+
size: 'sm' | 'default' | 'lg' | 'xl';
|
|
8
|
+
shape: 'circle' | 'square';
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
hasError: boolean;
|
|
11
|
+
constructor(cdr: ChangeDetectorRef);
|
|
12
|
+
onLoad(): void;
|
|
13
|
+
onError(): void;
|
|
14
|
+
get hostClasses(): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "tolle-avatar", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BreadcrumbItemComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "tolle-breadcrumb-item", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BreadcrumbLinkComponent {
|
|
3
|
+
active: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbLinkComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbLinkComponent, "tolle-breadcrumb-link", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BreadcrumbSeparatorComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbSeparatorComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbSeparatorComponent, "tolle-breadcrumb-separator", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { cn } from "./utils/cn";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BreadcrumbComponent {
|
|
4
|
+
class: string;
|
|
5
|
+
protected cn: typeof cn;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "tolle-breadcrumb", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -3,7 +3,6 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
5
5
|
size?: "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | null | undefined;
|
|
6
|
-
block?: boolean | null | undefined;
|
|
7
6
|
busy?: boolean | null | undefined;
|
|
8
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
8
|
export type ButtonProps = VariantProps<typeof buttonVariants>;
|
|
@@ -11,12 +10,11 @@ export declare class ButtonComponent {
|
|
|
11
10
|
class: string;
|
|
12
11
|
variant: ButtonProps['variant'];
|
|
13
12
|
size: ButtonProps['size'];
|
|
14
|
-
block: boolean;
|
|
15
13
|
disabled: boolean;
|
|
16
14
|
busy: boolean;
|
|
17
15
|
readonly: boolean;
|
|
18
16
|
get computedClass(): string;
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "tolle-button", never, { "class": { "alias": "class"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "tolle-button", never, { "class": { "alias": "class"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
19
|
}
|
|
22
20
|
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { cn } from './utils/cn';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
declare const emptyStateVariants: (props?: ({
|
|
5
|
+
variant?: "default" | "minimal" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
type EmptyStateVariants = VariantProps<typeof emptyStateVariants>;
|
|
8
|
+
export declare class EmptyStateComponent {
|
|
9
|
+
variant: EmptyStateVariants['variant'];
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
class: string;
|
|
13
|
+
protected emptyStateVariants: (props?: ({
|
|
14
|
+
variant?: "default" | "minimal" | null | undefined;
|
|
15
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
|
+
protected cn: typeof cn;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "tolle-empty-state", never, { "variant": { "alias": "variant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["[icon]", "[actions]"], true, never>;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -5,11 +5,17 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class MaskedInputComponent implements ControlValueAccessor, AfterContentChecked {
|
|
6
6
|
private el;
|
|
7
7
|
private cdr;
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
hint: string;
|
|
11
|
+
errorMessage: string;
|
|
8
12
|
mask: string;
|
|
9
13
|
placeholder: string;
|
|
10
14
|
type: string;
|
|
11
15
|
disabled: boolean;
|
|
16
|
+
readonly: boolean;
|
|
12
17
|
class: string;
|
|
18
|
+
containerClass: string;
|
|
13
19
|
error: boolean;
|
|
14
20
|
size: 'xs' | 'sm' | 'default' | 'lg';
|
|
15
21
|
returnRaw: boolean;
|
|
@@ -22,6 +28,7 @@ export declare class MaskedInputComponent implements ControlValueAccessor, After
|
|
|
22
28
|
onTouched: any;
|
|
23
29
|
constructor(el: ElementRef, cdr: ChangeDetectorRef);
|
|
24
30
|
ngAfterContentChecked(): void;
|
|
31
|
+
get computedContainerClass(): string;
|
|
25
32
|
get computedInputClass(): string;
|
|
26
33
|
onInput(event: Event): void;
|
|
27
34
|
private applyMask;
|
|
@@ -32,5 +39,5 @@ export declare class MaskedInputComponent implements ControlValueAccessor, After
|
|
|
32
39
|
setDisabledState(isDisabled: boolean): void;
|
|
33
40
|
protected cn: typeof cn;
|
|
34
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaskedInputComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaskedInputComponent, "tolle-masked-input", never, { "mask": { "alias": "mask"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; "error": { "alias": "error"; "required": false; }; "size": { "alias": "size"; "required": false; }; "returnRaw": { "alias": "returnRaw"; "required": false; }; }, {}, never, ["[prefix]", "[suffix]"], true, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaskedInputComponent, "tolle-masked-input", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "class": { "alias": "class"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "error": { "alias": "error"; "required": false; }; "size": { "alias": "size"; "required": false; }; "returnRaw": { "alias": "returnRaw"; "required": false; }; }, {}, never, ["[prefix]", "[suffix]"], true, never>;
|
|
36
43
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { cn } from "./utils/cn";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OtpSlotComponent {
|
|
4
|
+
char: string | undefined;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
isFirst: boolean;
|
|
7
|
+
isLast: boolean;
|
|
8
|
+
class: string;
|
|
9
|
+
protected cn: typeof cn;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OtpSlotComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OtpSlotComponent, "tolle-otp-slot", never, { "char": { "alias": "char"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; "isFirst": { "alias": "isFirst"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class OtpComponent implements ControlValueAccessor {
|
|
5
|
+
private cdr;
|
|
6
|
+
length: number;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
auto: boolean;
|
|
9
|
+
value: string;
|
|
10
|
+
isFocused: boolean;
|
|
11
|
+
onChange: any;
|
|
12
|
+
onTouched: any;
|
|
13
|
+
constructor(cdr: ChangeDetectorRef);
|
|
14
|
+
onInputChange(event: any): void;
|
|
15
|
+
getSlotClass(index: number): string;
|
|
16
|
+
writeValue(value: any): void;
|
|
17
|
+
registerOnChange(fn: any): void;
|
|
18
|
+
registerOnTouched(fn: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OtpComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OtpComponent, "tolle-otp", never, { "length": { "alias": "length"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "auto": { "alias": "auto"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { cn } from './utils/cn';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PopoverContentComponent {
|
|
4
|
+
class: string;
|
|
5
|
+
protected cn: typeof cn;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverContentComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverContentComponent, "tolle-popover-content", never, { "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PopoverComponent implements OnDestroy {
|
|
4
|
+
placement: 'top' | 'bottom' | 'left' | 'right';
|
|
5
|
+
onOpen: EventEmitter<void>;
|
|
6
|
+
onClose: EventEmitter<void>;
|
|
7
|
+
triggerEl: ElementRef;
|
|
8
|
+
popoverEl: ElementRef;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
private cleanup?;
|
|
11
|
+
toggle(): void;
|
|
12
|
+
open(): void;
|
|
13
|
+
close(): void;
|
|
14
|
+
private updatePosition;
|
|
15
|
+
onClickOutside(event: MouseEvent): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "tolle-popover", never, { "placement": { "alias": "placement"; "required": false; }; }, { "onOpen": "onOpen"; "onClose": "onClose"; }, never, ["[trigger]", "*"], true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { cn } from './utils/cn';
|
|
4
|
+
import { RadioService } from './radio-service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RadioGroupComponent implements ControlValueAccessor, OnChanges {
|
|
7
|
+
private radioService;
|
|
8
|
+
class: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
name: string;
|
|
11
|
+
value: any;
|
|
12
|
+
onChange: any;
|
|
13
|
+
onTouched: any;
|
|
14
|
+
constructor(radioService: RadioService);
|
|
15
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
16
|
+
ngOnChanges(): void;
|
|
17
|
+
writeValue(value: any): void;
|
|
18
|
+
registerOnChange(fn: any): void;
|
|
19
|
+
registerOnTouched(fn: any): void;
|
|
20
|
+
protected readonly cn: typeof cn;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupComponent, "tolle-radio-group", never, { "class": { "alias": "class"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { cn } from './utils/cn';
|
|
3
|
+
import { RadioService } from './radio-service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RadioItemComponent implements OnInit, OnDestroy {
|
|
6
|
+
private radioService;
|
|
7
|
+
private cdr;
|
|
8
|
+
value: any;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
class: string;
|
|
11
|
+
isSelected: boolean;
|
|
12
|
+
groupDisabled: boolean;
|
|
13
|
+
private sub;
|
|
14
|
+
get isEffectiveDisabled(): boolean;
|
|
15
|
+
constructor(radioService: RadioService, cdr: ChangeDetectorRef);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
select(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
protected cn: typeof cn;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioItemComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioItemComponent, "tolle-radio-item", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RadioService {
|
|
3
|
+
private selectedValueSource;
|
|
4
|
+
selectedValue$: import("rxjs").Observable<any>;
|
|
5
|
+
private disabledSource;
|
|
6
|
+
disabled$: import("rxjs").Observable<boolean>;
|
|
7
|
+
select(value: any): void;
|
|
8
|
+
setDisabled(isDisabled: boolean): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RadioService>;
|
|
11
|
+
}
|
package/lib/theme.service.d.ts
CHANGED
|
@@ -24,7 +24,9 @@ export declare class ThemeService {
|
|
|
24
24
|
toggleTheme(): void;
|
|
25
25
|
private enableDarkMode;
|
|
26
26
|
private disableDarkMode;
|
|
27
|
+
setPrimaryColor(color: string, persist?: boolean): void;
|
|
27
28
|
get currentTheme(): 'dark' | 'light';
|
|
29
|
+
get primaryColor(): string | null;
|
|
28
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, [null, null, { optional: true; }, null]>;
|
|
29
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
30
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tolle_/tolle-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19-beta",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
".": {
|
|
18
18
|
"types": "./index.d.ts",
|
|
19
|
-
"esm2022": "./esm2022/
|
|
20
|
-
"esm": "./esm2022/
|
|
21
|
-
"default": "./fesm2022/
|
|
19
|
+
"esm2022": "./esm2022/tolle-ui.mjs",
|
|
20
|
+
"esm": "./esm2022/tolle-ui.mjs",
|
|
21
|
+
"default": "./fesm2022/tolle-ui.mjs"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"description": "A high-performance Angular UI library.",
|
|
@@ -30,12 +30,13 @@
|
|
|
30
30
|
"@floating-ui/dom": "^1.7.4",
|
|
31
31
|
"class-variance-authority": "^0.7.1",
|
|
32
32
|
"tailwind-merge": "^3.4.0",
|
|
33
|
-
"clsx": "^2.1.1"
|
|
33
|
+
"clsx": "^2.1.1",
|
|
34
|
+
"date-fns": "^4.1.0"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"tslib": "^2.3.0"
|
|
37
38
|
},
|
|
38
39
|
"sideEffects": false,
|
|
39
|
-
"module": "fesm2022/
|
|
40
|
+
"module": "fesm2022/tolle-ui.mjs",
|
|
40
41
|
"typings": "index.d.ts"
|
|
41
42
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -38,3 +38,18 @@ export * from './lib/dropdown-menu.component';
|
|
|
38
38
|
export * from './lib/dropdown-separator.component';
|
|
39
39
|
export * from './lib/dropdown-trigger.directive';
|
|
40
40
|
export * from './lib/textarea.component';
|
|
41
|
+
export * from './lib/alert.component';
|
|
42
|
+
export * from './lib/avatar.component';
|
|
43
|
+
export * from './lib/avatar-fallback.component';
|
|
44
|
+
export * from './lib/breadcrumb.component';
|
|
45
|
+
export * from './lib/breadcrumb-link.component';
|
|
46
|
+
export * from './lib/breadcrumb-separator.component';
|
|
47
|
+
export * from './lib/breadcrumb-item.component';
|
|
48
|
+
export * from './lib/empty-state.component';
|
|
49
|
+
export * from './lib/otp.component';
|
|
50
|
+
export * from './lib/otp-slot.component';
|
|
51
|
+
export * from './lib/otp-group.component';
|
|
52
|
+
export * from './lib/popover.component';
|
|
53
|
+
export * from './lib/popover-content.component';
|
|
54
|
+
export * from './lib/radio-group.component';
|
|
55
|
+
export * from './lib/radio-item.component';
|
package/theme.css
CHANGED
|
@@ -224,3 +224,12 @@
|
|
|
224
224
|
-ms-overflow-style: none; /* IE and Edge */
|
|
225
225
|
scrollbar-width: none; /* Firefox */
|
|
226
226
|
}
|
|
227
|
+
|
|
228
|
+
@keyframes caret-blink {
|
|
229
|
+
0%, 70%, 100% { opacity: 1; }
|
|
230
|
+
20%, 50% { opacity: 0; }
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.animate-caret-blink {
|
|
234
|
+
animation: caret-blink 1.25s ease-out infinite;
|
|
235
|
+
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9sbGVfLXRvbGxlLXVpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvdG9sbGUvc3JjL3RvbGxlXy10b2xsZS11aS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|