@lluc_llull/ui-lib 0.12.4 → 0.14.1

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.
Files changed (143) hide show
  1. package/fesm2022/lluc_llull-ui-lib-src-lib-effects.mjs +144 -0
  2. package/fesm2022/lluc_llull-ui-lib-src-lib-effects.mjs.map +1 -0
  3. package/fesm2022/lluc_llull-ui-lib-src-lib-sliders.mjs +53 -0
  4. package/fesm2022/lluc_llull-ui-lib-src-lib-sliders.mjs.map +1 -0
  5. package/fesm2022/lluc_llull-ui-lib.mjs +413 -348
  6. package/fesm2022/lluc_llull-ui-lib.mjs.map +1 -1
  7. package/lib/components/core/content/category-progress/category-progress.interface.d.ts +1 -1
  8. package/lib/components/core/content/hero-section/hero-section.interface.d.ts +1 -1
  9. package/lib/components/core/content/hero-section/hero-section.stories.d.ts +1 -1
  10. package/lib/components/core/content/index.d.ts +1 -1
  11. package/lib/components/core/footers/legal-footer/legal-footer.interface.d.ts +2 -2
  12. package/lib/components/core/footers/links-footer/links-footer.interface.d.ts +1 -1
  13. package/lib/components/core/footers/social-footer/social-footer.interface.d.ts +1 -1
  14. package/lib/components/core/footers/visual-footer/visual-footer.interface.d.ts +1 -1
  15. package/lib/components/core/headers/header-clear/header-clear.component.d.ts +6 -4
  16. package/lib/components/core/headers/header-clear/header-clear.interface.d.ts +1 -1
  17. package/lib/components/core/headers/header-mobile/header-mobile.component.d.ts +6 -4
  18. package/lib/components/core/headers/header-mobile/header-mobile.interface.d.ts +1 -1
  19. package/lib/components/core/index.d.ts +1 -1
  20. package/lib/components/core/modals/lang-modal/lang-modal.component.d.ts +2 -2
  21. package/lib/components/core/modals/nav-modal/nav-modal.interface.d.ts +1 -1
  22. package/lib/components/shared/ui-icon/ui-icon.component.d.ts +5 -1
  23. package/lib/directives/index.d.ts +0 -1
  24. package/lib/{components/effects → effects}/dynamic-background/effects/sphere-deform/sphere-deform.effect.d.ts +1 -1
  25. package/lib/interfaces/index.d.ts +1 -1
  26. package/lib/interfaces/page-config.interface.d.ts +1 -0
  27. package/lib/interfaces/ui-lib-button.interface.d.ts +1 -1
  28. package/lib/interfaces/ui-lib-nav-items.interface.d.ts +2 -2
  29. package/lib/services/mapper/cdn.token.d.ts +2 -0
  30. package/lib/services/mapper/component-mappers/header-clear.mapper.d.ts +1 -1
  31. package/lib/services/mapper/component-mappers/index.d.ts +1 -1
  32. package/lib/services/mapper/component-mappers/lang-modal.mapper.d.ts +2 -5
  33. package/lib/services/mapper/component-mappers/nav-modal.mapper.d.ts +3 -4
  34. package/lib/services/mapper/component-mappers/types.d.ts +1 -1
  35. package/lib/services/mapper/index.d.ts +2 -1
  36. package/lib/services/mapper/mapper.service.d.ts +1 -0
  37. package/lib/utils/utils.d.ts +2 -2
  38. package/package.json +26 -15
  39. package/public-api.d.ts +1 -1
  40. package/src/lib/effects/dynamic-background/dynamic-background.component.d.ts +26 -0
  41. package/src/lib/effects/dynamic-background/effects/dynamic-effect.interface.d.ts +6 -0
  42. package/src/lib/effects/dynamic-background/effects/effect-registry.d.ts +3 -0
  43. package/src/lib/effects/dynamic-background/effects/sphere-deform/sphere-deform.effect.d.ts +13 -0
  44. package/src/lib/effects/dynamic-background/index.d.ts +1 -0
  45. package/src/lib/effects/index.d.ts +1 -0
  46. package/src/lib/sliders/index.d.ts +1 -0
  47. package/src/lib/sliders/swiper.directive.d.ts +12 -0
  48. package/src/lib/styles/main.css +2 -2
  49. package/styles/main.css +2 -2
  50. package/esm2022/lib/Enum/index.mjs +0 -2
  51. package/esm2022/lib/Enum/link-type.enum.mjs +0 -9
  52. package/esm2022/lib/components/core/content/category-progress/category-progress.component.mjs +0 -18
  53. package/esm2022/lib/components/core/content/category-progress/category-progress.interface.mjs +0 -2
  54. package/esm2022/lib/components/core/content/category-progress/index.mjs +0 -3
  55. package/esm2022/lib/components/core/content/hero-section/hero-section.component.mjs +0 -25
  56. package/esm2022/lib/components/core/content/hero-section/hero-section.interface.mjs +0 -2
  57. package/esm2022/lib/components/core/content/hero-section/hero-section.stories.mjs +0 -25
  58. package/esm2022/lib/components/core/content/hero-section/index.mjs +0 -4
  59. package/esm2022/lib/components/core/content/index.mjs +0 -4
  60. package/esm2022/lib/components/core/content/section-intro/index.mjs +0 -3
  61. package/esm2022/lib/components/core/content/section-intro/section-intro.component.mjs +0 -23
  62. package/esm2022/lib/components/core/content/section-intro/section-intro.interface.mjs +0 -2
  63. package/esm2022/lib/components/core/footers/index.mjs +0 -5
  64. package/esm2022/lib/components/core/footers/legal-footer/index.mjs +0 -3
  65. package/esm2022/lib/components/core/footers/legal-footer/legal-footer.component.mjs +0 -27
  66. package/esm2022/lib/components/core/footers/legal-footer/legal-footer.interface.mjs +0 -2
  67. package/esm2022/lib/components/core/footers/links-footer/index.mjs +0 -3
  68. package/esm2022/lib/components/core/footers/links-footer/links-footer.component.mjs +0 -15
  69. package/esm2022/lib/components/core/footers/links-footer/links-footer.interface.mjs +0 -2
  70. package/esm2022/lib/components/core/footers/social-footer/index.mjs +0 -3
  71. package/esm2022/lib/components/core/footers/social-footer/social-footer.component.mjs +0 -20
  72. package/esm2022/lib/components/core/footers/social-footer/social-footer.interface.mjs +0 -2
  73. package/esm2022/lib/components/core/footers/visual-footer/index.mjs +0 -3
  74. package/esm2022/lib/components/core/footers/visual-footer/visual-footer.component.mjs +0 -29
  75. package/esm2022/lib/components/core/footers/visual-footer/visual-footer.interface.mjs +0 -2
  76. package/esm2022/lib/components/core/headers/header-clear/header-clear.component.mjs +0 -59
  77. package/esm2022/lib/components/core/headers/header-clear/header-clear.interface.mjs +0 -2
  78. package/esm2022/lib/components/core/headers/header-clear/index.mjs +0 -3
  79. package/esm2022/lib/components/core/headers/header-mobile/header-mobile.component.mjs +0 -59
  80. package/esm2022/lib/components/core/headers/header-mobile/header-mobile.interface.mjs +0 -2
  81. package/esm2022/lib/components/core/headers/header-mobile/index.mjs +0 -3
  82. package/esm2022/lib/components/core/headers/index.mjs +0 -3
  83. package/esm2022/lib/components/core/index.mjs +0 -5
  84. package/esm2022/lib/components/core/modals/index.mjs +0 -3
  85. package/esm2022/lib/components/core/modals/lang-modal/index.mjs +0 -3
  86. package/esm2022/lib/components/core/modals/lang-modal/lang-modal.component.mjs +0 -33
  87. package/esm2022/lib/components/core/modals/lang-modal/lang-modal.interface.mjs +0 -2
  88. package/esm2022/lib/components/core/modals/nav-modal/index.mjs +0 -3
  89. package/esm2022/lib/components/core/modals/nav-modal/nav-modal.component.mjs +0 -25
  90. package/esm2022/lib/components/core/modals/nav-modal/nav-modal.interface.mjs +0 -2
  91. package/esm2022/lib/components/effects/dynamic-background/dynamic-background.component.mjs +0 -87
  92. package/esm2022/lib/components/effects/dynamic-background/effects/dynamic-effect.interface.mjs +0 -2
  93. package/esm2022/lib/components/effects/dynamic-background/effects/effect-registry.mjs +0 -7
  94. package/esm2022/lib/components/effects/dynamic-background/effects/sphere-deform/sphere-deform.effect.mjs +0 -37
  95. package/esm2022/lib/components/effects/dynamic-background/index.mjs +0 -2
  96. package/esm2022/lib/components/effects/index.mjs +0 -2
  97. package/esm2022/lib/components/shared/index.mjs +0 -2
  98. package/esm2022/lib/components/shared/ui-icon/index.mjs +0 -3
  99. package/esm2022/lib/components/shared/ui-icon/ui-icon.component.mjs +0 -40
  100. package/esm2022/lib/components/shared/ui-icon/ui-icon.interface.mjs +0 -2
  101. package/esm2022/lib/directives/index.mjs +0 -3
  102. package/esm2022/lib/directives/link-type.directive.mjs +0 -106
  103. package/esm2022/lib/directives/swiper.directive.mjs +0 -43
  104. package/esm2022/lib/interfaces/index.mjs +0 -8
  105. package/esm2022/lib/interfaces/page-config.interface.mjs +0 -2
  106. package/esm2022/lib/interfaces/site-config.interface.mjs +0 -2
  107. package/esm2022/lib/interfaces/ui-lib-address.interface.mjs +0 -2
  108. package/esm2022/lib/interfaces/ui-lib-button.interface.mjs +0 -2
  109. package/esm2022/lib/interfaces/ui-lib-image.interface.mjs +0 -2
  110. package/esm2022/lib/interfaces/ui-lib-lang-item.interface.mjs +0 -2
  111. package/esm2022/lib/interfaces/ui-lib-nav-items.interface.mjs +0 -2
  112. package/esm2022/lib/modules/icons/icon.module.mjs +0 -24
  113. package/esm2022/lib/modules/icons/index.mjs +0 -2
  114. package/esm2022/lib/modules/index.mjs +0 -2
  115. package/esm2022/lib/services/index.mjs +0 -4
  116. package/esm2022/lib/services/mapper/component-mappers/category-progress.mapper.mjs +0 -12
  117. package/esm2022/lib/services/mapper/component-mappers/header-clear.mapper.mjs +0 -18
  118. package/esm2022/lib/services/mapper/component-mappers/hero-section.mapper.mjs +0 -10
  119. package/esm2022/lib/services/mapper/component-mappers/index.mjs +0 -23
  120. package/esm2022/lib/services/mapper/component-mappers/lang-modal.mapper.mjs +0 -14
  121. package/esm2022/lib/services/mapper/component-mappers/legal-footer.mapper.mjs +0 -9
  122. package/esm2022/lib/services/mapper/component-mappers/links-footer.mapper.mjs +0 -5
  123. package/esm2022/lib/services/mapper/component-mappers/nav-modal.mapper.mjs +0 -48
  124. package/esm2022/lib/services/mapper/component-mappers/section-intro.mapper.mjs +0 -9
  125. package/esm2022/lib/services/mapper/component-mappers/social-footer.mapper.mjs +0 -7
  126. package/esm2022/lib/services/mapper/component-mappers/types.mjs +0 -2
  127. package/esm2022/lib/services/mapper/component-mappers/visual-footer.mapper.mjs +0 -18
  128. package/esm2022/lib/services/mapper/index.mjs +0 -3
  129. package/esm2022/lib/services/mapper/mapper.service.mjs +0 -45
  130. package/esm2022/lib/services/screen-sizer/index.mjs +0 -2
  131. package/esm2022/lib/services/screen-sizer/screen-sizer.service.mjs +0 -66
  132. package/esm2022/lib/services/theme/index.mjs +0 -2
  133. package/esm2022/lib/services/theme/theme.service.mjs +0 -73
  134. package/esm2022/lib/utils/index.mjs +0 -2
  135. package/esm2022/lib/utils/utils.mjs +0 -38
  136. package/esm2022/lluc_llull-ui-lib.mjs +0 -5
  137. package/esm2022/public-api.mjs +0 -21
  138. /package/lib/{components/effects → effects}/dynamic-background/dynamic-background.component.d.ts +0 -0
  139. /package/lib/{components/effects → effects}/dynamic-background/effects/dynamic-effect.interface.d.ts +0 -0
  140. /package/lib/{components/effects → effects}/dynamic-background/effects/effect-registry.d.ts +0 -0
  141. /package/lib/{components/effects → effects}/dynamic-background/index.d.ts +0 -0
  142. /package/lib/{components/effects → effects}/index.d.ts +0 -0
  143. /package/lib/{directives → sliders}/swiper.directive.d.ts +0 -0
@@ -1,29 +1,31 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
2
  import { UiLibButtonI } from '../../../../interfaces/ui-lib-button.interface';
3
3
  import { UiLibImageI } from '../../../../interfaces/ui-lib-image.interface';
4
4
  import { UiLibNavItemsI, UiLibSocialItemsI } from '../../../../interfaces/ui-lib-nav-items.interface';
5
5
  import { Theme, ThemeService } from '../../../../services/theme';
6
6
  import * as i0 from "@angular/core";
7
- export declare class HeaderMobileComponent implements OnInit, OnDestroy {
7
+ export declare class HeaderMobileComponent implements OnInit, OnChanges, OnDestroy {
8
8
  private themeService;
9
9
  isMenuOpen: boolean;
10
10
  currentTheme: Theme;
11
11
  private themeSubscription?;
12
12
  logo?: UiLibImageI;
13
13
  logoDark?: UiLibImageI;
14
- lang?: string;
15
14
  navItems?: UiLibNavItemsI[];
16
15
  socialItems?: UiLibSocialItemsI[];
17
16
  homeLink?: UiLibButtonI;
17
+ navigation: any;
18
+ lang: string;
18
19
  langModal: EventEmitter<void>;
19
20
  theme: EventEmitter<void>;
20
21
  constructor(themeService: ThemeService);
21
22
  ngOnInit(): void;
23
+ ngOnChanges(): void;
22
24
  ngOnDestroy(): void;
23
25
  openLanguagesModal(): void;
24
26
  toggleTheme(): void;
25
27
  toggleMenu(): void;
26
28
  getThemeIcon(): string;
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderMobileComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMobileComponent, "lib-header-mobile", never, { "logo": { "alias": "logo"; "required": false; }; "logoDark": { "alias": "logoDark"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "navItems": { "alias": "navItems"; "required": false; }; "socialItems": { "alias": "socialItems"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; }, { "langModal": "langModal"; "theme": "theme"; }, never, never, true, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderMobileComponent, "lib-header-mobile", never, { "logo": { "alias": "logo"; "required": false; }; "logoDark": { "alias": "logoDark"; "required": false; }; "navItems": { "alias": "navItems"; "required": false; }; "socialItems": { "alias": "socialItems"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; }, { "langModal": "langModal"; "theme": "theme"; }, never, never, true, never>;
29
31
  }
@@ -1,4 +1,4 @@
1
- import { UiLibButtonI, UiLibImageI, UiLibNavItemsI, UiLibSocialItemsI } from "../../../../interfaces";
1
+ import { UiLibButtonI, UiLibImageI, UiLibNavItemsI, UiLibSocialItemsI } from '../../../../interfaces';
2
2
  export interface HeaderMobileI {
3
3
  logo?: UiLibImageI;
4
4
  logoDark?: UiLibImageI;
@@ -1,4 +1,4 @@
1
+ export * from './content';
1
2
  export * from './footers';
2
3
  export * from './headers';
3
- export * from './content';
4
4
  export * from './modals';
@@ -7,9 +7,9 @@ interface LangModalData {
7
7
  }
8
8
  export declare class LangModalComponent {
9
9
  data: LangModalData;
10
- dialogRef?: MatDialogRef<LangModalComponent, any> | undefined;
10
+ dialogRef?: MatDialogRef<LangModalComponent>;
11
11
  langs: UiLibLangItemI[];
12
- constructor(data: LangModalData, dialogRef?: MatDialogRef<LangModalComponent, any> | undefined);
12
+ constructor(data: LangModalData, dialogRef?: MatDialogRef<LangModalComponent>);
13
13
  selectLang(lang: UiLibLangItemI): void;
14
14
  closeModal(): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LangModalComponent, [{ optional: true; }, { optional: true; }]>;
@@ -1,4 +1,4 @@
1
- import { UiLibNavItemsI } from "../../../../interfaces";
1
+ import { UiLibNavItemsI } from '../../../../interfaces';
2
2
  export interface NavModalI {
3
3
  navItems?: UiLibNavItemsI[];
4
4
  socialItems?: UiLibNavItemsI[];
@@ -1,10 +1,14 @@
1
+ import type { SimpleIcon } from 'simple-icons';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class UiIconComponent {
3
4
  name: string;
4
5
  size: number;
5
6
  color: string;
7
+ private icon?;
8
+ ngOnChanges(): void;
6
9
  get isBrandIcon(): boolean;
7
- get brandIcon(): any;
10
+ get brandIcon(): SimpleIcon | null;
11
+ private resolveBrandIcon;
8
12
  static ɵfac: i0.ɵɵFactoryDeclaration<UiIconComponent, never>;
9
13
  static ɵcmp: i0.ɵɵComponentDeclaration<UiIconComponent, "ui-icon", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
10
14
  }
@@ -1,2 +1 @@
1
1
  export * from './link-type.directive';
2
- export * from './swiper.directive';
@@ -6,7 +6,7 @@ export declare class SphereDeformEffect implements DynamicEffect {
6
6
  private color?;
7
7
  private mesh;
8
8
  private time;
9
- constructor(size: number, rotationSpeed: number, color?: string | undefined);
9
+ constructor(size: number, rotationSpeed: number, color?: string);
10
10
  init(scene: THREE.Scene, _options: any): void;
11
11
  animate(): void;
12
12
  dispose(): void;
@@ -1,7 +1,7 @@
1
1
  export * from './page-config.interface';
2
2
  export * from './site-config.interface';
3
+ export * from './ui-lib-address.interface';
3
4
  export * from './ui-lib-button.interface';
4
5
  export * from './ui-lib-image.interface';
5
6
  export * from './ui-lib-lang-item.interface';
6
7
  export * from './ui-lib-nav-items.interface';
7
- export * from './ui-lib-address.interface';
@@ -2,6 +2,7 @@ export interface BodyComponent<T> {
2
2
  name: string;
3
3
  order?: number;
4
4
  props: T;
5
+ events?: Record<string, (...args: any[]) => void>;
5
6
  }
6
7
  export interface PageComponent {
7
8
  id: number;
@@ -1,4 +1,4 @@
1
- import { LinkType } from "../Enum/link-type.enum";
1
+ import { LinkType } from '../Enum/link-type.enum';
2
2
  export interface UiLibButtonI {
3
3
  label: string;
4
4
  url: string;
@@ -1,5 +1,5 @@
1
- import { LinkType } from "../Enum/link-type.enum";
2
- import { UiLibButtonI } from "./ui-lib-button.interface";
1
+ import { LinkType } from '../Enum/link-type.enum';
2
+ import { UiLibButtonI } from './ui-lib-button.interface';
3
3
  export interface UiLibNavItemsI {
4
4
  label?: string;
5
5
  url?: string;
@@ -0,0 +1,2 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const CDN_BASE_URL: InjectionToken<string>;
@@ -1,2 +1,2 @@
1
- import { ComponentMapperFn } from "./types";
1
+ import { ComponentMapperFn } from './types';
2
2
  export declare const mapHeaderClear: ComponentMapperFn;
@@ -1 +1 @@
1
- export declare const componentMappers: Record<string, (props: any) => any>;
1
+ export declare const componentMappers: Record<string, (props: any, cdn?: string) => any>;
@@ -1,5 +1,2 @@
1
- export declare const mapLangModal: (props: any[], currentLang?: string) => {
2
- id: any;
3
- code: any;
4
- label: any;
5
- }[];
1
+ import { UiLibLangItemI } from "../../../interfaces";
2
+ export declare const mapLangModal: (langs: any[], currentLang?: string) => UiLibLangItemI[];
@@ -1,4 +1,3 @@
1
- import { UiLibNavItemsI, UiLibSocialItemsI } from "../../../interfaces";
2
- export declare const mapNavModalWithLang: (props: any[], _langCode: string) => UiLibNavItemsI[];
3
- export declare const mapNavModal: (props: any[]) => UiLibNavItemsI[];
4
- export declare const mapSocialLinks: (props: any[]) => UiLibSocialItemsI[];
1
+ import { UiLibNavItemsI, UiLibSocialItemsI } from '../../../interfaces';
2
+ export declare const mapNavModal: (navigation: any, lang: string) => UiLibNavItemsI[];
3
+ export declare const mapSocialLinks: (navigation: any) => UiLibSocialItemsI[];
@@ -1 +1 @@
1
- export type ComponentMapperFn<T = any> = (props: any) => T;
1
+ export type ComponentMapperFn = (props: any, cdn?: string) => any;
@@ -1,2 +1,3 @@
1
- export * from './mapper.service';
2
1
  export * from './component-mappers';
2
+ export * from './mapper.service';
3
+ export * from './cdn.token';
@@ -2,6 +2,7 @@ import { BodyComponent } from '../../interfaces/page-config.interface';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class MapperService {
4
4
  private platformId;
5
+ private cdn;
5
6
  mapComponents<T>(body: any[]): BodyComponent<T>[];
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MapperService, never>;
7
8
  static ɵprov: i0.ɵɵInjectableDeclaration<MapperService>;
@@ -1,5 +1,5 @@
1
1
  import { UiLibButtonI } from '../interfaces/ui-lib-button.interface';
2
2
  import { UiLibImageI } from '../interfaces/ui-lib-image.interface';
3
3
  export declare function mapButtons(data: any): UiLibButtonI[];
4
- export declare function mapImage(data: any): UiLibImageI | null;
5
- export declare function mapImageOrGallery(data: any): UiLibImageI[];
4
+ export declare function mapImage(data: any, cdn?: string): UiLibImageI | null;
5
+ export declare function mapImageOrGallery(data: any, cdn?: string): UiLibImageI[];
package/package.json CHANGED
@@ -1,26 +1,31 @@
1
1
  {
2
2
  "name": "@lluc_llull/ui-lib",
3
- "version": "0.12.4",
3
+ "version": "0.14.1",
4
+ "description": "Angular UI component library",
5
+ "author": "lluc_llull",
6
+ "license": "MIT",
7
+ "sideEffects": false,
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "engines": {
12
+ "node": ">=20.0.0"
13
+ },
4
14
  "peerDependencies": {
5
- "@angular/common": "^17.3.0",
6
- "@angular/core": "^17.3.0",
7
- "swiper": "^11.2.10",
8
- "simple-icons": "^15.12.0",
9
- "lucide-angular": "^0.541.0",
10
- "three": "^0.179.1"
15
+ "@angular/common": "^19.0.0",
16
+ "@angular/core": "^19.0.0",
17
+ "lucide-angular": "^0.577.0",
18
+ "swiper": "^12.0.0",
19
+ "three": "^0.183.0"
11
20
  },
12
21
  "dependencies": {
13
- "tslib": "^2.3.0"
22
+ "simple-icons": "^15.12.0",
23
+ "tslib": "^2.6.2"
14
24
  },
15
- "sideEffects": false,
16
- "description": "This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.",
17
- "main": "index.js",
18
25
  "repository": {
19
26
  "type": "git",
20
27
  "url": "git+https://github.com/llucllull/ui-lib.git"
21
28
  },
22
- "author": "lluc_llull",
23
- "license": "MIT",
24
29
  "bugs": {
25
30
  "url": "https://github.com/llucllull/ui-lib/issues"
26
31
  },
@@ -34,9 +39,15 @@
34
39
  },
35
40
  ".": {
36
41
  "types": "./index.d.ts",
37
- "esm2022": "./esm2022/lluc_llull-ui-lib.mjs",
38
- "esm": "./esm2022/lluc_llull-ui-lib.mjs",
39
42
  "default": "./fesm2022/lluc_llull-ui-lib.mjs"
43
+ },
44
+ "./src/lib/effects": {
45
+ "types": "./src/lib/effects/index.d.ts",
46
+ "default": "./fesm2022/lluc_llull-ui-lib-src-lib-effects.mjs"
47
+ },
48
+ "./src/lib/sliders": {
49
+ "types": "./src/lib/sliders/index.d.ts",
50
+ "default": "./fesm2022/lluc_llull-ui-lib-src-lib-sliders.mjs"
40
51
  }
41
52
  }
42
53
  }
package/public-api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './lib/components/core/index';
2
+ export * from './lib/effects/index';
2
3
  export * from './lib/components/shared/index';
3
- export * from './lib/components/effects/index';
4
4
  export * from './lib/services';
5
5
  export * from './lib/interfaces';
6
6
  export * from './lib/utils';
@@ -0,0 +1,26 @@
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { EffectKey } from './effects/effect-registry';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DynamicBackgroundComponent implements OnInit, OnDestroy {
5
+ canvasRef: ElementRef<HTMLCanvasElement>;
6
+ effect: EffectKey;
7
+ rotationSpeed: number;
8
+ size: number;
9
+ backgroundColor: string;
10
+ elementColor?: string;
11
+ private readonly platformId;
12
+ private readonly isBrowser;
13
+ private scene;
14
+ private camera;
15
+ private renderer;
16
+ private animationId;
17
+ private currentEffect;
18
+ ngOnInit(): void;
19
+ ngOnDestroy(): void;
20
+ private initScene;
21
+ private loadEffect;
22
+ private animate;
23
+ private onResize;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicBackgroundComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicBackgroundComponent, "lib-dynamic-background", never, { "effect": { "alias": "effect"; "required": false; }; "rotationSpeed": { "alias": "rotationSpeed"; "required": false; }; "size": { "alias": "size"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "elementColor": { "alias": "elementColor"; "required": false; }; }, {}, never, never, true, never>;
26
+ }
@@ -0,0 +1,6 @@
1
+ import * as THREE from 'three';
2
+ export interface DynamicEffect {
3
+ init(scene: THREE.Scene, options: any): void;
4
+ animate(): void;
5
+ dispose(): void;
6
+ }
@@ -0,0 +1,3 @@
1
+ import { DynamicEffect } from './dynamic-effect.interface';
2
+ export type EffectKey = 'sphere-deform' | 'ring-transform' | 'particles';
3
+ export declare const EFFECT_REGISTRY: Partial<Record<EffectKey, new (...args: any[]) => DynamicEffect>>;
@@ -0,0 +1,13 @@
1
+ import * as THREE from 'three';
2
+ import { DynamicEffect } from '../dynamic-effect.interface';
3
+ export declare class SphereDeformEffect implements DynamicEffect {
4
+ private size;
5
+ private rotationSpeed;
6
+ private color?;
7
+ private mesh;
8
+ private time;
9
+ constructor(size: number, rotationSpeed: number, color?: string);
10
+ init(scene: THREE.Scene, _options: any): void;
11
+ animate(): void;
12
+ dispose(): void;
13
+ }
@@ -0,0 +1 @@
1
+ export * from './dynamic-background.component';
@@ -0,0 +1 @@
1
+ export * from './dynamic-background';
@@ -0,0 +1 @@
1
+ export * from './swiper.directive';
@@ -0,0 +1,12 @@
1
+ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SwiperDirective implements AfterViewInit, OnDestroy {
4
+ private el;
5
+ swiperConfig: any;
6
+ private swiperInstance?;
7
+ constructor(el: ElementRef);
8
+ ngAfterViewInit(): void;
9
+ ngOnDestroy(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwiperDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SwiperDirective, "[appSwiper]", never, { "swiperConfig": { "alias": "swiperConfig"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -1,6 +1,6 @@
1
1
  :root {
2
- --font-titles: "Bebas Neue", system-ui, sans-serif;
3
- --font-base: "Inter", system-ui, sans-serif;
2
+ --font-titles: 'Bebas Neue', system-ui, sans-serif;
3
+ --font-base: 'Inter', system-ui, sans-serif;
4
4
  --font-size-base: 16px;
5
5
  --spacing-xs: 0.25rem;
6
6
  --spacing-sm: 0.5rem;
package/styles/main.css CHANGED
@@ -1,6 +1,6 @@
1
1
  :root {
2
- --font-titles: "Bebas Neue", system-ui, sans-serif;
3
- --font-base: "Inter", system-ui, sans-serif;
2
+ --font-titles: 'Bebas Neue', system-ui, sans-serif;
3
+ --font-base: 'Inter', system-ui, sans-serif;
4
4
  --font-size-base: 16px;
5
5
  --spacing-xs: 0.25rem;
6
6
  --spacing-sm: 0.5rem;
@@ -1,2 +0,0 @@
1
- export * from './link-type.enum';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9FbnVtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpbmstdHlwZS5lbnVtJztcbiJdfQ==
@@ -1,9 +0,0 @@
1
- export var LinkType;
2
- (function (LinkType) {
3
- LinkType["Internal"] = "internal";
4
- LinkType["External"] = "external";
5
- LinkType["Anchor"] = "anchor";
6
- LinkType["Pdf"] = "pdf";
7
- LinkType["NoLink"] = "nolink";
8
- })(LinkType || (LinkType = {}));
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9FbnVtL2xpbmstdHlwZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLFFBTVg7QUFORCxXQUFZLFFBQVE7SUFDbEIsaUNBQXFCLENBQUE7SUFDckIsaUNBQXFCLENBQUE7SUFDckIsNkJBQWlCLENBQUE7SUFDakIsdUJBQVcsQ0FBQTtJQUNYLDZCQUFpQixDQUFBO0FBQ25CLENBQUMsRUFOVyxRQUFRLEtBQVIsUUFBUSxRQU1uQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIExpbmtUeXBlIHtcbiAgSW50ZXJuYWwgPSAnaW50ZXJuYWwnLFxuICBFeHRlcm5hbCA9ICdleHRlcm5hbCcsXG4gIEFuY2hvciA9ICdhbmNob3InLFxuICBQZGYgPSAncGRmJyxcbiAgTm9MaW5rID0gJ25vbGluaycsXG59XG4iXX0=
@@ -1,18 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export class CategoryProgressComponent {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CategoryProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CategoryProgressComponent, isStandalone: true, selector: "lib-category-progress", inputs: { pretitle: "pretitle", title: "title", categories: "categories" }, ngImport: i0, template: "<div class=\"category-progress\">\n @if (pretitle){\n <h3 class=\"pretitle\">{{pretitle}}</h3>\n }\n @if (title){\n <h2 class=\"title\">{{title}}</h2>\n }\n <div class=\"progress-grid\">\n @for (category of categories; track $index) {\n <div class=\"category\">\n <h3 class=\"subtitle\">{{ category.title }}</h3>\n \n @for (item of category.items; track $index){\n <div class=\"item\">\n <span class=\"label\">{{ item.label }}</span>\n <div class=\"bar\">\n <div class=\"fill\" [style.width.%]=\"item.value\"></div>\n </div>\n </div>\n }\n </div>\n }\n </div>\n \n</div>\n", styles: [":root{--font-titles: \"Bebas Neue\", system-ui, sans-serif;--font-base: \"Inter\", system-ui, sans-serif;--font-size-base: 16px;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 2rem}.category-progress{text-align:start;padding:2rem 10rem;align-items:start}@media (max-width: 768px){.category-progress{padding:2rem 4rem}}.title{text-transform:uppercase}.progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.category{display:flex;flex-direction:column;gap:1.5rem}.category-title{font-weight:600;font-size:1.1rem}.item .label{font-size:.9rem;margin-bottom:.3rem;display:block}.item .bar{background-color:var(--progress-bg);height:6px;border-radius:3px;overflow:hidden}.item .bar .fill{background-color:var(--progress-color);height:100%;width:0;transition:width .3s ease}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7
- }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CategoryProgressComponent, decorators: [{
9
- type: Component,
10
- args: [{ selector: 'lib-category-progress', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"category-progress\">\n @if (pretitle){\n <h3 class=\"pretitle\">{{pretitle}}</h3>\n }\n @if (title){\n <h2 class=\"title\">{{title}}</h2>\n }\n <div class=\"progress-grid\">\n @for (category of categories; track $index) {\n <div class=\"category\">\n <h3 class=\"subtitle\">{{ category.title }}</h3>\n \n @for (item of category.items; track $index){\n <div class=\"item\">\n <span class=\"label\">{{ item.label }}</span>\n <div class=\"bar\">\n <div class=\"fill\" [style.width.%]=\"item.value\"></div>\n </div>\n </div>\n }\n </div>\n }\n </div>\n \n</div>\n", styles: [":root{--font-titles: \"Bebas Neue\", system-ui, sans-serif;--font-base: \"Inter\", system-ui, sans-serif;--font-size-base: 16px;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 2rem}.category-progress{text-align:start;padding:2rem 10rem;align-items:start}@media (max-width: 768px){.category-progress{padding:2rem 4rem}}.title{text-transform:uppercase}.progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.category{display:flex;flex-direction:column;gap:1.5rem}.category-title{font-weight:600;font-size:1.1rem}.item .label{font-size:.9rem;margin-bottom:.3rem;display:block}.item .bar{background-color:var(--progress-bg);height:6px;border-radius:3px;overflow:hidden}.item .bar .fill{background-color:var(--progress-color);height:100%;width:0;transition:width .3s ease}\n"] }]
11
- }], propDecorators: { pretitle: [{
12
- type: Input
13
- }], title: [{
14
- type: Input
15
- }], categories: [{
16
- type: Input
17
- }] } });
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnktcHJvZ3Jlc3MuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktbGliL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2NvbnRlbnQvY2F0ZWdvcnktcHJvZ3Jlc3MvY2F0ZWdvcnktcHJvZ3Jlc3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktbGliL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2NvbnRlbnQvY2F0ZWdvcnktcHJvZ3J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WNrICRpbmRleCl7XG4gICAgICAgICAgPGRpdiBjbGFzcz1cIml0ZW1cIj5cbiAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibGFiZWxcIj57eyBpdGVtLmxhYmVsIH19PC9zcGFuPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImJhclwiPlxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZmlsbFwiIFtzdHlsZS53aWR0aC4lXT1cIml0ZW0udmFsdWVcIj48L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICB9XG4gICAgICA8L2Rpdj5cbiAgICB9XG4gIDwvZGl2PlxuICBcbjwvZGl2PlxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnktcHJvZ3Jlc3MuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktbGliL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2NvbnRlbnQvY2F0ZWdvcnktcHJvZ3Jlc3MvY2F0ZWdvcnktcHJvZ3Jlc3MuaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQcm9ncmVzc0NhdGVnb3J5SSB9IGZyb20gXCIuL2NhdGVnb3J5LXByb2dyZXNzLmNvbXBvbmVudFwiO1xuXG5leHBvcnQgaW50ZXJmYWNlIENhdGVnb3J5UHJvZ3Jlc3NJIHtcbiAgcHJldGl0bGU/OiBzdHJpbmc7XG4gIHRpdGxlPzogc3RyaW5nO1xuICBjYXRlZ29yaWVzPzogUHJvZ3Jlc3NDYXRlZ29yeUlbXTtcbn0iXX0=
@@ -1,3 +0,0 @@
1
- export * from './category-progress.component';
2
- export * from './category-progress.interface';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvY29udGVudC9jYXRlZ29yeS1wcm9ncmVzcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NhdGVnb3J5LXByb2dyZXNzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NhdGVnb3J5LXByb2dyZXNzLmludGVyZmFjZSc7Il19
@@ -1,25 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
- import { LinkTypeDirective } from '../../../../directives/link-type.directive';
4
- import * as i0 from "@angular/core";
5
- export class HeroSectionComponent {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeroSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: HeroSectionComponent, isStandalone: true, selector: "lib-hero-section", inputs: { pretitle: "pretitle", title: "title", subtitle: "subtitle", text: "text", buttons: "buttons", highlight: "highlight" }, ngImport: i0, template: "<div class=\"hero-section\">\n @if (pretitle) {\n <h2 class=\"pretitle\">{{ pretitle }}</h2>\n }\n @if (title) {\n <h1 class=\"title\">\n @if (highlight && title.includes(highlight)) {\n {{ title.replace(highlight, '') }}\n <span class=\"highlight-text\">\n {{ highlight }}\n <div class=\"wave-wrapper\">\n <div class=\"wave\"></div>\n </div>\n </span>\n } @else {\n {{ title }}\n }\n </h1>\n }\n @if (subtitle) {\n <h2 class=\"subtitle\">{{ subtitle }}</h2>\n }\n @if (text) {\n <p class=\"text\">{{ text }}</p>\n }\n @if (buttons && buttons.length > 0) {\n <div class=\"buttons\">\n @for (button of buttons; track $index) {\n <a class=\"btn btn-link\" [href]=\"button.url\" [linkType]=\"button.linkType\">\n <span>{{ button.icon }}</span>{{ button.label }}\n </a>\n }\n </div>\n }\n</div>\n", styles: [":host{display:flex;flex:1 1 auto;height:100%}.hero-section{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem}.buttons{display:flex;flex-wrap:wrap;justify-content:center}.title{text-transform:uppercase;font-size:4.5rem}.title .highlight-text{cursor:help;display:inline;position:relative;z-index:99}.title .highlight-text .wave-wrapper{position:absolute;top:90%;left:0;width:100%;height:30px;z-index:-1}.title .highlight-text .wave{position:absolute;background-image:url('data:image/svg+xml,<?xml version=\"1.0\" encoding=\"utf-8\"?>%0A<!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->%0A<svg version=\"1.1\" id=\"Calque_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"%0A%09 viewBox=\"0 0 27.6 8.4\" style=\"enable-background:new 0 0 27.6 8.4;\" xml:space=\"preserve\">%0A<style type=\"text/css\">%0A%09.st0{fill:none;stroke:%23FFFFFF;stroke-width:2;stroke-miterlimit:10;}%0A<\\/style>%0A<path class=\"st0\" d=\"M0,1c2.7,0,5.2,1.2,6.9,3.2s4.2,3.2,6.9,3.2c2.7,0,5.2-1.2,6.9-3.2S24.9,1,27.6,1\"/>%0A</svg>%0A');background-repeat:repeat-x;background-position-x:0;background-position-y:0;top:-1.2rem;opacity:.5;width:100%;height:50%}.title .highlight-text:hover .wave{animation:moveWave 5s infinite linear}@media (max-width: 768px){.title .highlight-text{display:block;margin-top:.5rem}}@keyframes moveWave{0%{background-position-x:0}to{background-position-x:100%}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"], outputs: ["anchorClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeroSectionComponent, decorators: [{
10
- type: Component,
11
- args: [{ selector: 'lib-hero-section', standalone: true, imports: [CommonModule, LinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"hero-section\">\n @if (pretitle) {\n <h2 class=\"pretitle\">{{ pretitle }}</h2>\n }\n @if (title) {\n <h1 class=\"title\">\n @if (highlight && title.includes(highlight)) {\n {{ title.replace(highlight, '') }}\n <span class=\"highlight-text\">\n {{ highlight }}\n <div class=\"wave-wrapper\">\n <div class=\"wave\"></div>\n </div>\n </span>\n } @else {\n {{ title }}\n }\n </h1>\n }\n @if (subtitle) {\n <h2 class=\"subtitle\">{{ subtitle }}</h2>\n }\n @if (text) {\n <p class=\"text\">{{ text }}</p>\n }\n @if (buttons && buttons.length > 0) {\n <div class=\"buttons\">\n @for (button of buttons; track $index) {\n <a class=\"btn btn-link\" [href]=\"button.url\" [linkType]=\"button.linkType\">\n <span>{{ button.icon }}</span>{{ button.label }}\n </a>\n }\n </div>\n }\n</div>\n", styles: [":host{display:flex;flex:1 1 auto;height:100%}.hero-section{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:2rem}.buttons{display:flex;flex-wrap:wrap;justify-content:center}.title{text-transform:uppercase;font-size:4.5rem}.title .highlight-text{cursor:help;display:inline;position:relative;z-index:99}.title .highlight-text .wave-wrapper{position:absolute;top:90%;left:0;width:100%;height:30px;z-index:-1}.title .highlight-text .wave{position:absolute;background-image:url('data:image/svg+xml,<?xml version=\"1.0\" encoding=\"utf-8\"?>%0A<!-- Generator: Adobe Illustrator 26.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->%0A<svg version=\"1.1\" id=\"Calque_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"%0A%09 viewBox=\"0 0 27.6 8.4\" style=\"enable-background:new 0 0 27.6 8.4;\" xml:space=\"preserve\">%0A<style type=\"text/css\">%0A%09.st0{fill:none;stroke:%23FFFFFF;stroke-width:2;stroke-miterlimit:10;}%0A<\\/style>%0A<path class=\"st0\" d=\"M0,1c2.7,0,5.2,1.2,6.9,3.2s4.2,3.2,6.9,3.2c2.7,0,5.2-1.2,6.9-3.2S24.9,1,27.6,1\"/>%0A</svg>%0A');background-repeat:repeat-x;background-position-x:0;background-position-y:0;top:-1.2rem;opacity:.5;width:100%;height:50%}.title .highlight-text:hover .wave{animation:moveWave 5s infinite linear}@media (max-width: 768px){.title .highlight-text{display:block;margin-top:.5rem}}@keyframes moveWave{0%{background-position-x:0}to{background-position-x:100%}}\n"] }]
12
- }], propDecorators: { pretitle: [{
13
- type: Input
14
- }], title: [{
15
- type: Input
16
- }], subtitle: [{
17
- type: Input
18
- }], text: [{
19
- type: Input
20
- }], buttons: [{
21
- type: Input
22
- }], highlight: [{
23
- type: Input
24
- }] } });
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVyby1zZWN0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvY29yZS9jb250ZW50L2hlcm8tc2VjdGlvbi9oZXJvLXNlY3Rpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktbGliL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2Nvbn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oaGlnaGxpZ2h0LCAnJykgfX1cbiAgICAgICAgPHNwYW4gY2xhc3M9XCJoaWdobGlnaHQtdGV4dFwiPlxuICAgICAgICAgIHt7IGhpZ2hsaWdodCB9fVxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJ3YXZlLXdyYXBwZXJcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ3YXZlXCI+PC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvc3Bhbj5cbiAgICAgIH0gQGVsc2Uge1xuICAgICAgICB7eyB0aXRsZSB9fVxuICAgICAgfVxuICAgIDwvaDE+XG4gIH1cbiAgQGlmIChzdWJ0aXRsZSkge1xuICAgIDxoMiBjbGFzcz1cInN1YnRpdGxlXCI+e3sgc3VidGl0bGUgfX08L2gyPlxuICB9XG4gIEBpZiAodGV4dCkge1xuICAgIDxwIGNsYXNzPVwidGV4dFwiPnt7IHRleHQgfX08L3A+XG4gIH1cbiAgQGlmIChidXR0b25zICYmIGJ1dHRvbnMubGVuZ3RoID4gMCkge1xuICAgIDxkaXYgY2xhc3M9XCJidXR0b25zXCI+XG4gICAgICBAZm9yIChidXR0b24gb2YgYnV0dG9uczsgdHJhY2sgJGluZGV4KSB7XG4gICAgICAgIDxhIGNsYXNzPVwiYnRuIGJ0bi1saW5rXCIgW2hyZWZdPVwiYnV0dG9uLnVybFwiIFtsaW5rVHlwZV09XCJidXR0b24ubGlua1R5cGVcIj5cbiAgICAgICAgICA8c3Bhbj57eyBidXR0b24uaWNvbiB9fTwvc3Bhbj57eyBidXR0b24ubGFiZWwgfX1cbiAgICAgICAgPC9hPlxuICAgICAgfVxuICAgIDwvZGl2PlxuICB9XG48L2Rpdj5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVyby1zZWN0aW9uLmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvY29yZS9jb250ZW50L2hlcm8tc2VjdGlvbi9oZXJvLXNlY3Rpb24uaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVaUxpYkJ1dHRvbkkgfSBmcm9tIFwiLi4vLi4vLi4vLi4vaW50ZXJmYWNlc1wiO1xuXG5leHBvcnQgaW50ZXJmYWNlIEhlcm9TZWN0aW9uSSB7XG4gICAgcHJldGl0bGU/OiBzdHJpbmc7XG4gICAgdGl0bGU/OiBzdHJpbmc7XG4gICAgc3VidGl0bGU/OiBzdHJpbmc7XG4gICAgdGV4dD86IHN0cmluZztcbiAgICBidXR0b25zPzogVWlMaWJCdXR0b25JW107XG4gICAgaGlnaGxpZ2h0Pzogc3RyaW5nO1xufVxuIl19
@@ -1,25 +0,0 @@
1
- import { LinkType } from "../../../../Enum/link-type.enum";
2
- import { HeroSectionComponent } from "./hero-section.component";
3
- export default {
4
- title: 'Core/Content/HeroSection',
5
- component: HeroSectionComponent,
6
- tags: ['autodocs'],
7
- argTypes: {
8
- title: { control: 'text' },
9
- subtitle: { control: 'text' },
10
- text: { control: 'text' },
11
- buttons: { control: 'object' },
12
- },
13
- };
14
- export const Default = {
15
- args: {
16
- title: 'Título de ejemplo',
17
- subtitle: 'Subtítulo de ejemplo',
18
- text: 'Texto descriptivo de ejemplo para el Hero Section.',
19
- buttons: [
20
- { label: 'Botón 1', url: 'https://www.google.com', linkType: LinkType.External },
21
- { label: 'Botón 2', url: 'https://www.google.com', linkType: LinkType.External }
22
- ]
23
- }
24
- };
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVyby1zZWN0aW9uLnN0b3JpZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291c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W1xuICAgICAgeyBsYWJlbDogJ0JvdMOzbiAxJywgdXJsOiAnaHR0cHM6Ly93d3cuZ29vZ2xlLmNvbScsIGxpbmtUeXBlOiBMaW5rVHlwZS5FeHRlcm5hbCB9LFxuICAgICAgeyBsYWJlbDogJ0JvdMOzbiAyJywgdXJsOiAnaHR0cHM6Ly93d3cuZ29vZ2xlLmNvbScsIGxpbmtUeXBlOiBMaW5rVHlwZS5FeHRlcm5hbCB9XG4gICAgXVxuICB9XG59OyJdfQ==
@@ -1,4 +0,0 @@
1
- export * from './hero-section.component';
2
- export * from './hero-section.interface';
3
- export * from './hero-section.stories';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvY29udGVudC9oZXJvLXNlY3Rpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2hlcm8tc2VjdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9oZXJvLXNlY3Rpb24uaW50ZXJmYWNlJztcbmV4cG9ydCAqIGZyb20gJy4vaGVyby1zZWN0aW9uLnN0b3JpZXMnO1xuIl19
@@ -1,4 +0,0 @@
1
- export * from './hero-section';
2
- export * from './section-intro';
3
- export * from './category-progress';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvY29udGVudC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaGVyby1zZWN0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vc2VjdGlvbi1pbnRybyc7XG5leHBvcnQgKiBmcm9tICcuL2NhdGVnb3J5LXByb2dyZXNzJzsiXX0=
@@ -1,3 +0,0 @@
1
- export * from './section-intro.component';
2
- export * from './section-intro.interface';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvY29udGVudC9zZWN0aW9uLWludHJvL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VjdGlvbi1pbnRyby5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zZWN0aW9uLWludHJvLmludGVyZmFjZSc7Il19
@@ -1,23 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
- import { LinkTypeDirective } from '../../../../directives/link-type.directive';
4
- import * as i0 from "@angular/core";
5
- export class SectionIntroComponent {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionIntroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: SectionIntroComponent, isStandalone: true, selector: "lib-section-intro", inputs: { pretitle: "pretitle", title: "title", subtitle: "subtitle", text: "text", button: "button" }, ngImport: i0, template: "<div class=\"section-intro\">\n @if(pretitle){\n <h2 class=\"pretitle\">{{pretitle}}</h2>\n }\n @if(title){\n <h1 class=\"title\">{{title}}</h1>\n }\n @if(subtitle){\n <h2 class=\"subtitle\">{{subtitle}}</h2>\n }\n @if(text){\n <p class=\"text\">{{text}}</p>\n }\n @if(button){\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn btn-link\"\n >\n {{button.label}} \n </a>\n }\n</div>\n", styles: [":root{--font-titles: \"Bebas Neue\", system-ui, sans-serif;--font-base: \"Inter\", system-ui, sans-serif;--font-size-base: 16px;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 2rem}.section-intro{text-align:start;padding:2rem 10rem;align-items:start}@media (max-width: 768px){.section-intro{padding:2rem 4rem}}.title,.subtitle{text-transform:uppercase}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"], outputs: ["anchorClicked"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8
- }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SectionIntroComponent, decorators: [{
10
- type: Component,
11
- args: [{ selector: 'lib-section-intro', standalone: true, imports: [CommonModule, LinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"section-intro\">\n @if(pretitle){\n <h2 class=\"pretitle\">{{pretitle}}</h2>\n }\n @if(title){\n <h1 class=\"title\">{{title}}</h1>\n }\n @if(subtitle){\n <h2 class=\"subtitle\">{{subtitle}}</h2>\n }\n @if(text){\n <p class=\"text\">{{text}}</p>\n }\n @if(button){\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn btn-link\"\n >\n {{button.label}} \n </a>\n }\n</div>\n", styles: [":root{--font-titles: \"Bebas Neue\", system-ui, sans-serif;--font-base: \"Inter\", system-ui, sans-serif;--font-size-base: 16px;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 2rem}.section-intro{text-align:start;padding:2rem 10rem;align-items:start}@media (max-width: 768px){.section-intro{padding:2rem 4rem}}.title,.subtitle{text-transform:uppercase}\n"] }]
12
- }], propDecorators: { pretitle: [{
13
- type: Input
14
- }], title: [{
15
- type: Input
16
- }], subtitle: [{
17
- type: Input
18
- }], text: [{
19
- type: Input
20
- }], button: [{
21
- type: Input
22
- }] } });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjdGlvbi1pbnRyby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvY29udGVudC9zZWN0aW9uLWludHJvL3NlY3Rpb24taW50cm8uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktbGliL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2NvbnRlbnQvc2VjdGlvbi1pbnRyby9zZWN0aW9uLWludHJvLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxRSxPQUFPLEVBQUUsaUJB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bi1pbnRyby5pbnRlcmZhY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvY29udGVudC9zZWN0aW9uLWludHJvL3NlY3Rpb24taW50cm8uaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIFNlY3Rpb25JbnRyb0kge1xuICBcbn0iXX0=
@@ -1,5 +0,0 @@
1
- export * from './legal-footer';
2
- export * from './links-footer';
3
- export * from './social-footer';
4
- export * from './visual-footer';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvZm9vdGVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sZWdhbC1mb290ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saW5rcy1mb290ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9zb2NpYWwtZm9vdGVyJztcbmV4cG9ydCAqIGZyb20gJy4vdmlzdWFsLWZvb3Rlcic7Il19
@@ -1,3 +0,0 @@
1
- export * from './legal-footer.component';
2
- export * from './legal-footer.interface';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1saWIvc3JjL2xpYi9jb21wb25lbnRzL2NvcmUvZm9vdGVycy9sZWdhbC1mb290ZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDBCQUEwQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sZWdhbC1mb290ZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGVnYWwtZm9vdGVyLmludGVyZmFjZSc7Il19