Kaynağa Gözat

Update to v0.23.0

Angel Ruiz (aka SirKeldon) 1 yıl önce
ebeveyn
işleme
a1a7ffb27f

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
esm2022/lib/components/atoms/icon/icon.component.mjs


Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
esm2022/tailwind-preset.mjs


+ 2 - 2
fesm2022/circletone.mjs

@@ -49,7 +49,7 @@ class IconComponent {
         return color;
     }
     getIconPath() {
-        return `assets/icons.svg#${this.icon}`;
+        return `./icons.svg#${this.icon}`;
     }
     static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
     static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.0", type: IconComponent, isStandalone: true, selector: "ct-icon", inputs: { icon: "icon", iconClass: "iconClass", fill: "fill", strokeWidth: "strokeWidth", strokeColor: "strokeColor", size: "size" }, ngImport: i0, template: "<svg\n  [ngClass]=\"iconClass\"\n  [attr.fill]=\"fill\"\n  [attr.stroke-width]=\"strokeWidth\"\n  [attr.stroke]=\"strokeColor\"\n  class=\"flex size-full\">\n  <use [attr.xlink:href]=\"iconPath\"></use>\n</svg>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -82,7 +82,7 @@ const tailwindPreset = {
             colors: {
                 primary: {
                     DEFAULT: 'rgb(var(--primary) / <alpha-value>)',
-                    dark: 'rgb(var(--priamry-dark) / <alpha-value>)',
+                    dark: 'rgb(var(--primary-dark) / <alpha-value>)',
                     variation: 'rgb(var(--primary-variation) / <alpha-value>)',
                     'variation-dark': 'rgb(var(--primary-variation-dark) / <alpha-value>)',
                 },

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
fesm2022/circletone.mjs.map


+ 1 - 2
package.json

@@ -1,13 +1,12 @@
 {
   "name": "circletone",
-  "version": "0.22.0",
+  "version": "0.23.0",
   "peerDependencies": {
     "@angular/common": "^17.3.0",
     "@angular/core": "^17.3.0"
   },
   "exports": {
     "./tailwind.config": "./tailwind.preset.js",
-    "./icons": "./src/assets/icons.svg",
     "./package.json": {
       "default": "./package.json"
     },

+ 1 - 1
tailwind.preset.js

@@ -15,7 +15,7 @@ module.exports = {
         ...colors,
         primary: {
           DEFAULT: 'rgb(var(--primary) / <alpha-value>)',
-          dark: 'rgb(var(--priamry-dark) / <alpha-value>)',
+          dark: 'rgb(var(--primary-dark) / <alpha-value>)',
           variation: 'rgb(var(--primary-variation) / <alpha-value>)',
           'variation-dark': 'rgb(var(--primary-variation-dark) / <alpha-value>)',
         },

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor