@ethlete/cdk 5.0.0-next.33 → 5.0.0-next.35
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ethlete/cdk
|
|
2
2
|
|
|
3
|
+
## 5.0.0-next.35
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- The v5 migration moves `ProvideColorDirective` and `COLOR_PROVIDER` imports from `@ethlete/cdk` to `@ethlete/core`, so a `ProvideThemeDirective` import that the core migration renamed first no longer stays behind on `@ethlete/cdk`.
|
|
8
|
+
|
|
9
|
+
## 5.0.0-next.34
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- The icon directive and masonry items set their host styles through style bindings instead of a static `style` attribute, which a strict `style-src` blocked.
|
|
14
|
+
|
|
3
15
|
## 5.0.0-next.33
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/fesm2022/ethlete-cdk.mjs
CHANGED
|
@@ -200,7 +200,7 @@ class IconDirective {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: IconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
203
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: IconDirective, isStandalone: true, selector: "[etIcon]", inputs: { iconNameToUse: { classPropertyName: "iconNameToUse", publicName: "etIcon", isSignal: true, isRequired: true, transformFunction: null }, allowHardcodedColor: { classPropertyName: "allowHardcodedColor", publicName: "allowHardcodedColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-hidden": "true" }, properties: { "innerHTML": "iconSrc()", "class": "hostClasses()"
|
|
203
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.6", type: IconDirective, isStandalone: true, selector: "[etIcon]", inputs: { iconNameToUse: { classPropertyName: "iconNameToUse", publicName: "etIcon", isSignal: true, isRequired: true, transformFunction: null }, allowHardcodedColor: { classPropertyName: "allowHardcodedColor", publicName: "allowHardcodedColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-hidden": "true" }, properties: { "innerHTML": "iconSrc()", "class": "hostClasses()", "style.display": "\"flex\"", "style.align-items": "\"center\"", "style.justify-content": "\"center\"" } }, providers: [
|
|
204
204
|
{
|
|
205
205
|
provide: ICON_DIRECTIVE_TOKEN,
|
|
206
206
|
useExisting: IconDirective,
|
|
@@ -221,7 +221,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
221
221
|
'[innerHTML]': 'iconSrc()',
|
|
222
222
|
'aria-hidden': 'true',
|
|
223
223
|
'[class]': 'hostClasses()',
|
|
224
|
-
style: '
|
|
224
|
+
'[style.display]': '"flex"',
|
|
225
|
+
'[style.align-items]': '"center"',
|
|
226
|
+
'[style.justify-content]': '"center"',
|
|
225
227
|
},
|
|
226
228
|
}]
|
|
227
229
|
}], ctorParameters: () => [], propDecorators: { iconNameToUse: [{ type: i0.Input, args: [{ isSignal: true, alias: "etIcon", required: true }] }], allowHardcodedColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowHardcodedColor", required: false }] }] } });
|
|
@@ -18271,7 +18273,7 @@ class MasonryItemComponent {
|
|
|
18271
18273
|
}
|
|
18272
18274
|
}
|
|
18273
18275
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MasonryItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18274
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.6", type: MasonryItemComponent, isStandalone: true, selector: "[et-masonry-item], et-masonry-item", inputs: { key: "key" }, host: { attributes: { "role": "listitem" },
|
|
18276
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.6", type: MasonryItemComponent, isStandalone: true, selector: "[et-masonry-item], et-masonry-item", inputs: { key: "key" }, host: { attributes: { "role": "listitem" }, properties: { "style.opacity": "\"0\"" }, classAttribute: "et-masonry-item et-legacy" }, providers: [{ provide: MASONRY_ITEM_TOKEN, useExisting: MasonryItemComponent }], viewQueries: [{ propertyName: "_innerElementRef", first: true, predicate: ["innerElement"], descendants: true, isSignal: true }], exportAs: ["etMasonryItem"], ngImport: i0, template: `<div #innerElement class="et-masonry-item-inner"><ng-content /></div>`, isInline: true }); }
|
|
18275
18277
|
}
|
|
18276
18278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImport: i0, type: MasonryItemComponent, decorators: [{
|
|
18277
18279
|
type: Component,
|
|
@@ -18282,7 +18284,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.6", ngImpor
|
|
|
18282
18284
|
host: {
|
|
18283
18285
|
class: 'et-masonry-item et-legacy',
|
|
18284
18286
|
role: 'listitem',
|
|
18285
|
-
style: '
|
|
18287
|
+
'[style.opacity]': '"0"',
|
|
18286
18288
|
},
|
|
18287
18289
|
providers: [{ provide: MASONRY_ITEM_TOKEN, useExisting: MasonryItemComponent }],
|
|
18288
18290
|
}]
|