@tedi-design-system/angular 6.2.0-rc.4 → 6.2.0-rc.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tedi-design-system/angular",
3
- "version": "6.2.0-rc.4",
3
+ "version": "6.2.0-rc.5",
4
4
  "type": "module",
5
5
  "main": "community.mjs",
6
6
  "module": "fesm2022/tedi-design-system-angular.mjs",
@@ -9,6 +9,11 @@ export declare class PopoverComponent implements AfterContentChecked {
9
9
  * @default top
10
10
  */
11
11
  position: import("@angular/core").InputSignal<"left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "bottom-start" | "left-start" | "right-start" | "top-end" | "bottom-end" | "left-end" | "right-end">;
12
+ /**
13
+ * Should position flip to opposite direction when overflowing screen?
14
+ * @default false
15
+ */
16
+ preventOverflow: import("@angular/core").InputSignal<boolean>;
12
17
  /**
13
18
  * Is dismissible by clicking outside of content?
14
19
  * @default true
@@ -64,6 +69,6 @@ export declare class PopoverComponent implements AfterContentChecked {
64
69
  private focusElementBeforeTrigger;
65
70
  private handleClosePopoverEvent;
66
71
  static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "tedi-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "hideOnScroll": { "alias": "hideOnScroll"; "required": false; "isSignal": true; }; "withBorder": { "alias": "withBorder"; "required": false; "isSignal": true; }; "withArrow": { "alias": "withArrow"; "required": false; "isSignal": true; }; "lockScroll": { "alias": "lockScroll"; "required": false; "isSignal": true; }; "timeoutDelay": { "alias": "timeoutDelay"; "required": false; "isSignal": true; }; }, {}, ["popoverTrigger", "popoverContent"], ["[tedi-popover-trigger]", "tedi-popover-content"], true, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "tedi-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "preventOverflow": { "alias": "preventOverflow"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "hideOnScroll": { "alias": "hideOnScroll"; "required": false; "isSignal": true; }; "withBorder": { "alias": "withBorder"; "required": false; "isSignal": true; }; "withArrow": { "alias": "withArrow"; "required": false; "isSignal": true; }; "lockScroll": { "alias": "lockScroll"; "required": false; "isSignal": true; }; "timeoutDelay": { "alias": "timeoutDelay"; "required": false; "isSignal": true; }; }, {}, ["popoverTrigger", "popoverContent"], ["[tedi-popover-trigger]", "tedi-popover-content"], true, never>;
68
73
  }
69
74
  //# sourceMappingURL=popover.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/popover/popover.component.ts"],"names":[],"mappings":"AACA,OAAO,EAWL,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAE1B,oBAAoB,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;;AAItF,MAAM,MAAM,eAAe,GAAG,GAAG,oBAAoB,EAAE,CAAC;AAExD,qBASa,gBAAiB,YAAW,mBAAmB;IAC1D;;;OAGG;IACH,QAAQ,oOAAiC;IACzC;;;OAGG;IACH,WAAW,+CAAe;IAC1B;;;OAGG;IACH,YAAY,+CAAgB;IAC5B;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;OAEG;IACH,SAAS,+CAAe;IACxB;;;OAGG;IACH,UAAU,+CAAgB;IAC1B;;OAEG;IACH,QAAQ,CAAC,YAAY,8CAAc;IAEnC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqB;IAE9C,QAAQ,CAAC,gBAAgB,6DAAkD;IAC3E,QAAQ,CAAC,cAAc,0DAAkD;IACzE,OAAO,CAAC,QAAQ,CAAC,cAAc,CAE7B;IAEF,QAAQ,CAAC,WAAW,iDAAc;IAClC,QAAQ,CAAC,gBAAgB,kDAAiB;IAE1C,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;IAC5C,OAAO,CAAC,eAAe,CAAC,CAAa;IACrC,OAAO,CAAC,cAAc,CAAC,CAAa;IACpC,OAAO,CAAC,eAAe,CAAC,CAAa;IACrC,OAAO,CAAC,iBAAiB,CAAC,CAAa;IAEvC,qBAAqB;IAiBrB,WAAW;IA8BX,WAAW,CAAC,YAAY,CAAC,EAAE,OAAO;IAiBlC,aAAa;IAQb,QAAQ,CAAC,qBAAqB,yCAY3B;IAEH,OAAO,CAAC,uBAAuB;IAqC/B,OAAO,CAAC,yBAAyB;IAOjC,OAAO,CAAC,mBAAmB;IAe3B,OAAO,CAAC,qBAAqB;IAO7B,OAAO,CAAC,qBAAqB;IAgB7B,OAAO,CAAC,uBAAuB;IAY/B,OAAO,CAAC,wBAAwB;IAahC,OAAO,CAAC,yBAAyB;IAajC,OAAO,CAAC,uBAAuB;yCAnQpB,gBAAgB;2CAAhB,gBAAgB;CA+Q5B"}
1
+ {"version":3,"file":"popover.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/overlay/popover/popover.component.ts"],"names":[],"mappings":"AACA,OAAO,EAWL,mBAAmB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,0BAA0B,EAE1B,oBAAoB,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;;AAItF,MAAM,MAAM,eAAe,GAAG,GAAG,oBAAoB,EAAE,CAAC;AAExD,qBASa,gBAAiB,YAAW,mBAAmB;IAC1D;;;OAGG;IACH,QAAQ,oOAAiC;IACzC;;;OAGG;IACH,eAAe,+CAAgB;IAC/B;;;OAGG;IACH,WAAW,+CAAe;IAC1B;;;OAGG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AO,EAEL,KAAK,EAGN,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,6CAA6C,CAAC;AAGvE,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAgBD,wBAAgB,WAAW,CAAC,MAAM,GAAE,UAAe,GAAG,oBAAoB,CAYzE"}
1
+ {"version":3,"file":"tedi.provider.d.ts","sourceRoot":"","sources":["../../../tedi/providers/tedi.provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EAErB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,KAAK,EAEN,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,MAAM,6CAA6C,CAAC;AAEvE,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,MAAM,GAAE,UAAe,GAAG,oBAAoB,CAWzE"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
- export type Theme = "default" | "dark" | "rit";
3
- export declare const AVAILABLE_THEMES: Theme[];
2
+ export type TEDITheme = "default" | "dark";
3
+ export type Theme = TEDITheme | string;
4
4
  export declare const THEME_CLASS_PREFIX = "tedi-theme--";
5
5
  export declare const THEME_COOKIE_NAME = "tedi-theme";
6
6
  export declare const THEME_FALLBACK_VALUE: Theme;
7
7
  export declare class ThemeService {
8
8
  private readonly document;
9
9
  private readonly defaultTheme;
10
- readonly theme: import("@angular/core").WritableSignal<Theme>;
10
+ readonly theme: import("@angular/core").WritableSignal<string>;
11
11
  constructor();
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
13
13
  static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.service.d.ts","sourceRoot":"","sources":["../../../../tedi/services/theme/theme.service.ts"],"names":[],"mappings":";AAKA,MAAM,MAAM,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,KAAK,CAAC;AAC/C,eAAO,MAAM,gBAAgB,EAAE,KAAK,EAA+B,CAAC;AACpE,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AACjD,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAC9C,eAAO,MAAM,oBAAoB,EAAE,KAAiB,CAAC;AAErD,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IAEjE,QAAQ,CAAC,KAAK,gDAA6D;;yCAJhE,YAAY;6CAAZ,YAAY;CAiBxB"}
1
+ {"version":3,"file":"theme.service.d.ts","sourceRoot":"","sources":["../../../../tedi/services/theme/theme.service.ts"],"names":[],"mappings":";AAKA,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AAC3C,MAAM,MAAM,KAAK,GAAG,SAAS,GAAG,MAAM,CAAC;AACvC,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AACjD,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAC9C,eAAO,MAAM,oBAAoB,EAAE,KAAiB,CAAC;AAErD,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAoC;IAEjE,QAAQ,CAAC,KAAK,iDAGZ;;yCAPS,YAAY;6CAAZ,YAAY;CAwBxB"}
@@ -1,4 +1,3 @@
1
1
  import { InjectionToken } from "@angular/core";
2
- import type { Theme } from "../services/theme/theme.service";
3
- export declare const TEDI_THEME_DEFAULT_TOKEN: InjectionToken<Theme>;
2
+ export declare const TEDI_THEME_DEFAULT_TOKEN: InjectionToken<string>;
4
3
  //# sourceMappingURL=theme.token.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.token.d.ts","sourceRoot":"","sources":["../../../tedi/tokens/theme.token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAE7D,eAAO,MAAM,wBAAwB,uBAEpC,CAAC"}
1
+ {"version":3,"file":"theme.token.d.ts","sourceRoot":"","sources":["../../../tedi/tokens/theme.token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C,eAAO,MAAM,wBAAwB,wBAEpC,CAAC"}