@tacdaed/fragments 1.0.0-beta.0 → 1.0.0-beta.10

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/index.d.ts CHANGED
@@ -792,10 +792,11 @@ declare class BlobMorphComponent extends MorphBase implements AfterViewInit {
792
792
  protected generateRandomPath(points?: number, radius?: number, variability?: number): string;
793
793
  onLoadEvent(): void;
794
794
  static ɵfac: i0.ɵɵFactoryDeclaration<BlobMorphComponent, never>;
795
- static ɵcmp: i0.ɵɵComponentDeclaration<BlobMorphComponent, "app-blob-morph", never, { "imageUrl": { "alias": "imageUrl"; "required": false; }; "fillColor": { "alias": "fillColor"; "required": false; }; "pathStart": { "alias": "pathStart"; "required": false; }; "pathEnd": { "alias": "pathEnd"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; }, { "loadEvent": "loadEvent"; }, never, never, true, never>;
795
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlobMorphComponent, "frg-blob-morph", never, { "imageUrl": { "alias": "imageUrl"; "required": false; }; "fillColor": { "alias": "fillColor"; "required": false; }; "pathStart": { "alias": "pathStart"; "required": false; }; "pathEnd": { "alias": "pathEnd"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; }, { "loadEvent": "loadEvent"; }, never, never, true, never>;
796
796
  }
797
797
 
798
- interface Sparkle {
798
+ type SizeValue = number | string | null;
799
+ interface ISparkleConfiguration {
799
800
  x: number;
800
801
  y: number;
801
802
  size: number;
@@ -804,9 +805,10 @@ interface Sparkle {
804
805
  driftX: number;
805
806
  driftY: number;
806
807
  }
807
- declare class SparkleFieldComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
808
- width: number | string;
809
- height: number | string;
808
+
809
+ declare class SparkleSectionComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
810
+ width: SizeValue;
811
+ height: SizeValue;
810
812
  count: number;
811
813
  minSize: number;
812
814
  maxSize: number;
@@ -815,29 +817,25 @@ declare class SparkleFieldComponent implements OnInit, OnChanges, AfterViewInit,
815
817
  maxDuration: number;
816
818
  loop: boolean;
817
819
  color: string | null;
818
- sparkles: Sparkle[];
820
+ intensity: number;
821
+ sparkles: ISparkleConfiguration[];
819
822
  sparkleRefs: QueryList<ElementRef<HTMLSpanElement>>;
820
- private sparkleAnimations;
821
- private sparkleChangesSub;
822
- private readonly fallbackWidth;
823
- private readonly fallbackHeight;
824
- get hostWidth(): string;
825
- get hostHeight(): string;
826
- get hostMinWidth(): string | null;
827
- get hostMinHeight(): string | null;
823
+ private animations;
824
+ private changesSub;
825
+ get hostWidth(): string | null;
826
+ get hostHeight(): string | null;
827
+ get sparkleColorVar(): string | null;
828
+ get sparkleIntensityVar(): string;
828
829
  ngOnInit(): void;
829
830
  ngOnChanges(changes: SimpleChanges): void;
830
831
  ngAfterViewInit(): void;
831
832
  ngOnDestroy(): void;
832
833
  private buildSparkles;
833
834
  private restartAnimation;
834
- private randomInRange;
835
- get widthStyle(): string;
836
- get heightStyle(): string;
835
+ private rand;
837
836
  private formatSize;
838
- private needsMinSize;
839
- static ɵfac: i0.ɵɵFactoryDeclaration<SparkleFieldComponent, never>;
840
- static ɵcmp: i0.ɵɵComponentDeclaration<SparkleFieldComponent, "frg-sparkle-field", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "count": { "alias": "count"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "drift": { "alias": "drift"; "required": false; }; "minDuration": { "alias": "minDuration"; "required": false; }; "maxDuration": { "alias": "maxDuration"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
837
+ static ɵfac: i0.ɵɵFactoryDeclaration<SparkleSectionComponent, never>;
838
+ static ɵcmp: i0.ɵɵComponentDeclaration<SparkleSectionComponent, "frg-sparkle-section", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "count": { "alias": "count"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "drift": { "alias": "drift"; "required": false; }; "minDuration": { "alias": "minDuration"; "required": false; }; "maxDuration": { "alias": "maxDuration"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "color": { "alias": "color"; "required": false; }; "intensity": { "alias": "intensity"; "required": false; }; }, {}, never, ["*"], true, never>;
841
839
  }
842
840
 
843
841
  interface IPaginationOutput<T> {
@@ -3925,5 +3923,5 @@ declare function getTimestampMillis(): number;
3925
3923
  */
3926
3924
  declare function generateUniqueId(prefix?: string): string;
3927
3925
 
3928
- export { AccordionComponent, BlobMorphComponent, BreadcrumbComponent, ButtonComponent, CardComponent, ChipComponent, ChunkPipe, CodeBlockComponent, ContainerComponent, ContentBlurComponent, DividerComponent, DynamicPipe, EnumDirectionSortTable, FieldArrayPositionPipe, FragmentsPopoverDirective, FragmentsTooltipDirective, FrgBadgeDirective, InputCalendarComponent, InputCheckboxComponent, InputCheckboxGroupComponent, InputClockPickerComponent, InputDateComponent, InputDateTimeComponent, InputFileUploadComponent, InputNumberComponent, InputRadioGroupComponent, InputSliderComponent, InputTextComponent, InputTimeComponent, InputToggleSwitchComponent, InputValidationComponent, ModalComponent, MultiSelectComponent, PillComponent, ProgressBarComponent, PulseLoaderComponent, SafeHtmlPipe, SanitizeHtmlPipe, SectionComponent, SelectionListComponent, SeparatorComponent, SideNavComponent, SkeletonLoaderComponent, SmallPaginationComponent, SnackbarComponent, SparkleFieldComponent, SpinnerComponent, StepperComponent, TableComponent, TabsComponent, TagComponent, TitleBarComponent, ToastComponent, ToastStackComponent, TypeOfArrayPipe, generateId, generateNumberId, generateUUID, generateUniqueId, getActivatedRouteChild, getTimestampISO, getTimestampMillis, isObjectEmpty, normalizeNumber, orderList, paginationList, sortTable };
3926
+ export { AccordionComponent, BlobMorphComponent, BreadcrumbComponent, ButtonComponent, CardComponent, ChipComponent, ChunkPipe, CodeBlockComponent, ContainerComponent, ContentBlurComponent, DividerComponent, DynamicPipe, EnumDirectionSortTable, FieldArrayPositionPipe, FragmentsPopoverDirective, FragmentsTooltipDirective, FrgBadgeDirective, InputCalendarComponent, InputCheckboxComponent, InputCheckboxGroupComponent, InputClockPickerComponent, InputDateComponent, InputDateTimeComponent, InputFileUploadComponent, InputNumberComponent, InputRadioGroupComponent, InputSliderComponent, InputTextComponent, InputTimeComponent, InputToggleSwitchComponent, InputValidationComponent, ModalComponent, MultiSelectComponent, PillComponent, ProgressBarComponent, PulseLoaderComponent, SafeHtmlPipe, SanitizeHtmlPipe, SectionComponent, SelectionListComponent, SeparatorComponent, SideNavComponent, SkeletonLoaderComponent, SmallPaginationComponent, SnackbarComponent, SparkleSectionComponent, SpinnerComponent, StepperComponent, TableComponent, TabsComponent, TagComponent, TitleBarComponent, ToastComponent, ToastStackComponent, TypeOfArrayPipe, generateId, generateNumberId, generateUUID, generateUniqueId, getActivatedRouteChild, getTimestampISO, getTimestampMillis, isObjectEmpty, normalizeNumber, orderList, paginationList, sortTable };
3929
3927
  export type { AccordionItem, AccordionItemContext, AccordionToggleEvent, ArrayOneOrMore, Badge, BreadcrumbItem, Chip, CodeBlockBody, CodeBlockConfig, CodeBlockFooter, CodeBlockHeader, DateFormat, DateTimeFormat, GenericFunction, IActionElement, IBaseAction, IConfigTable, IEventAction, IFieldPipe, ILinkAction, IPaginationOutput, ISideNavConfig, ISideNavItem, ISideNavSection, ITBody, ITBodyAction, ITBodyCell, ITBodyCellIcon, ITBodyColumn, ITCaption, ITHead, ITHeadAction, ITHeadColumn, ITPagination, ITSort, ITTitleBar, ITTitleBarFilter, ITTitleBarSearch, ITooltipElement, InputCheckboxGroupItem, InputRadioGroupItem, ModalCloseEvent, NgClassValue, Pill, SelectionListItem, SnackbarCloseEvent, StatusIndicator, StepChangeEvent, StepItem, StepItemContext, StepValidationContext, StepValidationEvent, StepValidator, TAccordionSize, TAccordionStyle, TBasePosition, TBaseSideNavSize, TBaseSideNavStyle, TBaseSize, TBaseStatusIconPosition, TBaseStatusSize, TBaseStatusStyle, TBaseStyle, TBehaviourAction, TButtonIconPosition, TButtonShape, TButtonSize, TButtonStyle, TButtonType, TCardStyle, TChipIconPosition, TChipSize, TChipType, TContainerSize, TCustomNgClass, TDividerOrientation, TDividerSpacing, THLJSLanguage, TIconPosition, TInputType, TModalCloseReason, TModalSize, TPillIconPosition, TPillSize, TPillType, TProgressBarAnimation, TProgressBarSize, TProgressBarType, TPulseLoaderSize, TPulseLoaderType, TSectionHeading, TSectionSpacing, TSeparatorSize, TSideNavLink, TSkeletonLoaderSize, TSkeletonLoaderType, TSnackbarCloseReason, TSnackbarPosition, TSnackbarSize, TSnackbarStyle, TSpinnerSize, TSpinnerType, TStepNavigationSource, TStepperMotion, TStepperOrientation, TTabSize, TTabStyle, TTagIconPosition, TTagSize, TTagType, TToastCloseReason, TToastPosition, TToastSize, TToastStyle, TabChangeEvent, TabItem, TabItemContext, Tag, TimeFormat, ToastCloseEvent, ToastStackCloseEvent, ToastStackItem, TooltipPosition, TypeForm, Without, XOR };
package/package.json CHANGED
@@ -1,21 +1,26 @@
1
1
  {
2
2
  "name": "@tacdaed/fragments",
3
- "version": "1.0.0-beta.0",
3
+ "version": "1.0.0-beta.10",
4
4
  "peerDependencies": {
5
- "@angular/common": "20.2.3",
6
- "@angular/core": "20.2.3",
7
- "@fortawesome/fontawesome-free": "6.5.1",
8
- "animejs": "4.1.3",
9
- "bootstrap": "5.3.2",
10
- "highlight.js": "11.11.1",
11
- "rxjs": "7.8.0"
5
+ "@angular/common": "^20.2.0",
6
+ "@angular/core": "^20.2.0",
7
+ "rxjs": "^7.8.0",
8
+ "@fortawesome/fontawesome-free": "^6.5.0",
9
+ "animejs": "^4.1.0",
10
+ "bootstrap": "^5.3.0",
11
+ "highlight.js": "^11.11.0"
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "2.3.0",
15
15
  "uuid": "11.1.0"
16
16
  },
17
+ "files": [
18
+ "fesm2022",
19
+ "index.d.ts",
20
+ "assets"
21
+ ],
17
22
  "sideEffects": false,
18
- "module": "fesm2022/fragments.mjs",
23
+ "module": "fesm2022/tacdaed-fragments.mjs",
19
24
  "typings": "index.d.ts",
20
25
  "exports": {
21
26
  "./package.json": {
@@ -23,7 +28,7 @@
23
28
  },
24
29
  ".": {
25
30
  "types": "./index.d.ts",
26
- "default": "./fesm2022/fragments.mjs"
31
+ "default": "./fesm2022/tacdaed-fragments.mjs"
27
32
  }
28
33
  }
29
34
  }