Forráskód Böngészése

Update to v0.67.0

Angel Ruiz (aka SirKeldon) 1 éve
szülő
commit
29d29f57cd

+ 6 - 0
assets/icons.svg

@@ -12,6 +12,12 @@
     <symbol id="globe-alt-solid" viewBox="0 0 24 24" fill="currentColor">
         <path d="M21.721 12.752a9.711 9.711 0 0 0-.945-5.003 12.754 12.754 0 0 1-4.339 2.708 18.991 18.991 0 0 1-.214 4.772 17.165 17.165 0 0 0 5.498-2.477ZM14.634 15.55a17.324 17.324 0 0 0 .332-4.647c-.952.227-1.945.347-2.966.347-1.021 0-2.014-.12-2.966-.347a17.515 17.515 0 0 0 .332 4.647 17.385 17.385 0 0 0 5.268 0ZM9.772 17.119a18.963 18.963 0 0 0 4.456 0A17.182 17.182 0 0 1 12 21.724a17.18 17.18 0 0 1-2.228-4.605ZM7.777 15.23a18.87 18.87 0 0 1-.214-4.774 12.753 12.753 0 0 1-4.34-2.708 9.711 9.711 0 0 0-.944 5.004 17.165 17.165 0 0 0 5.498 2.477ZM21.356 14.752a9.765 9.765 0 0 1-7.478 6.817 18.64 18.64 0 0 0 1.988-4.718 18.627 18.627 0 0 0 5.49-2.098ZM2.644 14.752c1.682.971 3.53 1.688 5.49 2.099a18.64 18.64 0 0 0 1.988 4.718 9.765 9.765 0 0 1-7.478-6.816ZM13.878 2.43a9.755 9.755 0 0 1 6.116 3.986 11.267 11.267 0 0 1-3.746 2.504 18.63 18.63 0 0 0-2.37-6.49ZM12 2.276a17.152 17.152 0 0 1 2.805 7.121c-.897.23-1.837.353-2.805.353-.968 0-1.908-.122-2.805-.353A17.151 17.151 0 0 1 12 2.276ZM10.122 2.43a18.629 18.629 0 0 0-2.37 6.49 11.266 11.266 0 0 1-3.746-2.504 9.754 9.754 0 0 1 6.116-3.985Z" />
     </symbol>
+    <symbol id="magnifying-glass" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
+        <path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />
+    </symbol>
+    <symbol id="heart" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
+        <path stroke-linecap="round" stroke-linejoin="round" d="M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12z" />
+    </symbol>
     <symbol id="users" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
         <path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" />
     </symbol>

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 2
esm2022/lib/components/atoms/menu-item/menu-item.component.mjs


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 2 - 2
esm2022/lib/services/screen-size.service.mjs


+ 4 - 4
fesm2022/circletone.mjs

@@ -7,7 +7,7 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
 import { withLatestFrom, debounceTime, skip, BehaviorSubject, filter, Subject, fromEvent } from 'rxjs';
 import * as i1$1 from '@angular/forms';
 import { NG_VALUE_ACCESSOR, ControlContainer, FormGroupDirective } from '@angular/forms';
-import { debounceTime as debounceTime$1, map, startWith } from 'rxjs/operators';
+import { debounceTime as debounceTime$1, map, startWith, tap } from 'rxjs/operators';
 
 /**
  * Used for some components to determine colouring of various elements. Relates to CSS classes to facilitate dev's life
@@ -271,11 +271,11 @@ class MenuItemComponent {
         this.iconDirection = 'horizontal';
     }
     static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
-    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: MenuItemComponent, isStandalone: true, selector: "ct-menu-item", inputs: { text: "text", link: "link", type: "type", icon: "icon", iconSize: "iconSize", iconAlone: "iconAlone", iconDirection: "iconDirection" }, ngImport: i0, template: "<a\n  [routerLink]=\"(type === 'internal' && link)! || null\"\n  [attr.href]=\"type === 'external' && link\"\n  class=\"block rounded-md px-4 py-2 text-on-surface hover:bg-primary/25 dark:text-on-surface-dark dark:hover:bg-primary-dark/25\">\n  <span\n    class=\"flex items-center gap-3\"\n    [class.flex-row]=\"iconDirection === 'horizontal'\"\n    [class.flex-col]=\"iconDirection === 'vertical'\">\n    @if (icon) {\n      <ct-icon [icon]=\"icon\" variant=\"solid\" size=\"xl\" />\n    }\n    @if (text && !iconAlone) {\n      <span>{{ text }}</span>\n    }\n  </span>\n</a>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: IconComponent, selector: "ct-icon", inputs: ["icon", "fill", "strokeWidth", "strokeColor", "size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
+    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: MenuItemComponent, isStandalone: true, selector: "ct-menu-item", inputs: { text: "text", link: "link", type: "type", icon: "icon", iconSize: "iconSize", iconAlone: "iconAlone", iconDirection: "iconDirection" }, ngImport: i0, template: "<a\n  [routerLink]=\"(type === 'internal' && link)! || null\"\n  [attr.href]=\"type === 'external' && link\"\n  class=\"block rounded-md px-4 py-2 text-on-surface hover:bg-primary/25 dark:text-on-surface-dark dark:hover:bg-primary-dark/25\">\n  <span\n    class=\"flex items-center gap-3\"\n    [class.flex-row]=\"iconDirection === 'horizontal'\"\n    [class.flex-col]=\"iconDirection === 'vertical'\">\n    @if (icon) {\n      <ct-icon [icon]=\"icon\" variant=\"solid\" size=\"xl\" />\n    }\n    @if (text && !iconAlone) {\n      <span>bbb {{ text }}</span>\n    }\n  </span>\n</a>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: IconComponent, selector: "ct-icon", inputs: ["icon", "fill", "strokeWidth", "strokeColor", "size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
 }
 i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: MenuItemComponent, decorators: [{
             type: Component,
-            args: [{ selector: 'ct-menu-item', standalone: true, imports: [RouterLink, IconComponent, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<a\n  [routerLink]=\"(type === 'internal' && link)! || null\"\n  [attr.href]=\"type === 'external' && link\"\n  class=\"block rounded-md px-4 py-2 text-on-surface hover:bg-primary/25 dark:text-on-surface-dark dark:hover:bg-primary-dark/25\">\n  <span\n    class=\"flex items-center gap-3\"\n    [class.flex-row]=\"iconDirection === 'horizontal'\"\n    [class.flex-col]=\"iconDirection === 'vertical'\">\n    @if (icon) {\n      <ct-icon [icon]=\"icon\" variant=\"solid\" size=\"xl\" />\n    }\n    @if (text && !iconAlone) {\n      <span>{{ text }}</span>\n    }\n  </span>\n</a>\n" }]
+            args: [{ selector: 'ct-menu-item', standalone: true, imports: [RouterLink, IconComponent, ButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<a\n  [routerLink]=\"(type === 'internal' && link)! || null\"\n  [attr.href]=\"type === 'external' && link\"\n  class=\"block rounded-md px-4 py-2 text-on-surface hover:bg-primary/25 dark:text-on-surface-dark dark:hover:bg-primary-dark/25\">\n  <span\n    class=\"flex items-center gap-3\"\n    [class.flex-row]=\"iconDirection === 'horizontal'\"\n    [class.flex-col]=\"iconDirection === 'vertical'\">\n    @if (icon) {\n      <ct-icon [icon]=\"icon\" variant=\"solid\" size=\"xl\" />\n    }\n    @if (text && !iconAlone) {\n      <span>bbb {{ text }}</span>\n    }\n  </span>\n</a>\n" }]
         }], propDecorators: { text: [{
                 type: Input
             }], link: [{
@@ -811,7 +811,7 @@ class ScreenSizeService {
         this.screenSizeSubject = new BehaviorSubject(this.getScreenSize());
         this.screenSize$ = this.screenSizeSubject.asObservable();
         fromEvent(window, 'resize')
-            .pipe(debounceTime$1(100), map(() => this.getScreenSize()), startWith(this.getScreenSize()), takeUntilDestroyed(this.destroyRef))
+            .pipe(debounceTime$1(50), map(() => this.getScreenSize()), startWith(this.getScreenSize()), tap(() => console.log('test')), takeUntilDestroyed(this.destroyRef))
             .subscribe(this.screenSizeSubject);
     }
     getScreenSize() {

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 0
fesm2022/circletone.mjs.map


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "circletone",
-  "version": "0.66.0",
+  "version": "0.67.0",
   "peerDependencies": {
     "@angular/common": "^17.3.0",
     "@angular/core": "^17.3.0"

Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott