@tolle_/tolle-ui 0.0.7-beta → 0.0.9-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.
@@ -1,16 +1,21 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
2
  import * as i0 from "@angular/core";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
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
+ readonly?: boolean | null | undefined;
6
8
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
9
  export type ButtonProps = VariantProps<typeof buttonVariants>;
8
10
  export declare class ButtonComponent {
9
11
  class: string;
10
12
  variant: ButtonProps['variant'];
11
13
  size: ButtonProps['size'];
14
+ block: boolean;
15
+ readonly: boolean;
16
+ disabled: boolean;
12
17
  get computedClass(): string;
13
18
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "tolle-button", never, { "class": { "alias": "class"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "tolle-button", never, { "class": { "alias": "class"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "block": { "alias": "block"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
15
20
  }
16
21
  export {};
@@ -18,7 +18,7 @@ export declare class DateRangePickerComponent implements ControlValueAccessor {
18
18
  constructor(cdr: ChangeDetectorRef);
19
19
  get displayValue(): string;
20
20
  onCalendarSelect(range: DateRange): void;
21
- togglePopover(event: MouseEvent): void;
21
+ togglePopover(_: MouseEvent): void;
22
22
  open(): void;
23
23
  close(): void;
24
24
  clear(event: MouseEvent): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolle_/tolle-ui",
3
- "version": "0.0.7-beta",
3
+ "version": "0.0.9-beta",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/public-api.d.ts CHANGED
@@ -30,3 +30,4 @@ export * from './lib/modal';
30
30
  export * from './lib/button-group.component';
31
31
  export * from './lib/date-range-picker.component';
32
32
  export * from './lib/range-calendar.component';
33
+ export * from './lib/theme.service';