ng-hub-ui-skeleton 22.2.1 → 22.2.3
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/LICENSE +21 -0
- package/README.md +4 -4
- package/fesm2022/ng-hub-ui-skeleton.mjs +10 -10
- package/ng-hub-ui-skeleton-22.2.3.tgz +0 -0
- package/package.json +1 -1
- package/ng-hub-ui-skeleton-22.2.1.tgz +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Carlos Morcillo Fernández
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALING IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@ Dynamic Angular skeleton placeholders driven by a compact Emmet-like DSL, reusab
|
|
|
9
9
|
|
|
10
10
|
## Documentation and Live Examples
|
|
11
11
|
|
|
12
|
-
This package is part of [Hub UI](https://hubui.dev/), a collection of Angular component libraries for standalone apps.
|
|
12
|
+
This package is part of [Hub UI](https://hubui.dev/en/), a collection of Angular component libraries for standalone apps.
|
|
13
13
|
|
|
14
|
-
- Docs: https://hubui.dev/skeleton/overview/
|
|
15
|
-
- Live examples: https://hubui.dev/skeleton/examples/
|
|
16
|
-
- Hub UI: https://hubui.dev/
|
|
14
|
+
- Docs: https://hubui.dev/en/skeleton/overview/
|
|
15
|
+
- Live examples: https://hubui.dev/en/skeleton/examples/
|
|
16
|
+
- Hub UI: https://hubui.dev/en/
|
|
17
17
|
|
|
18
18
|
## 🧩 Library Family `ng-hub-ui`
|
|
19
19
|
|
|
@@ -187,10 +187,10 @@ class HubSkeletonPresetRegistryService {
|
|
|
187
187
|
getPreset(name) {
|
|
188
188
|
return this.presets().get(name);
|
|
189
189
|
}
|
|
190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
191
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonPresetRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
191
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonPresetRegistryService, providedIn: 'root' });
|
|
192
192
|
}
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonPresetRegistryService, decorators: [{
|
|
194
194
|
type: Injectable,
|
|
195
195
|
args: [{ providedIn: 'root' }]
|
|
196
196
|
}] });
|
|
@@ -652,8 +652,8 @@ class HubSkeletonComponent {
|
|
|
652
652
|
}
|
|
653
653
|
return value;
|
|
654
654
|
}
|
|
655
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
656
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
655
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
656
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: HubSkeletonComponent, isStandalone: true, selector: "hub-skeleton", inputs: { preset: { classPropertyName: "preset", publicName: "preset", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, params: { classPropertyName: "params", publicName: "params", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, animated: { classPropertyName: "animated", publicName: "animated", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, providers: [HubSkeletonPresetRegistryService], ngImport: i0, template: `
|
|
657
657
|
<div
|
|
658
658
|
class="hub-skeleton"
|
|
659
659
|
[class.hub-skeleton--animated]="animated()"
|
|
@@ -688,7 +688,7 @@ class HubSkeletonComponent {
|
|
|
688
688
|
</ng-template>
|
|
689
689
|
`, isInline: true, styles: [":host{display:block}.hub-skeleton{--hub-skeleton-bg: rgba(148, 163, 184, .18);--hub-skeleton-highlight: rgba(255, 255, 255, .52);--hub-skeleton-radius: 12px;--hub-skeleton-gap: 12px;--hub-skeleton-animation-duration: 1.35s;display:block;width:100%}.hub-skeleton--subtle{--hub-skeleton-bg: rgba(148, 163, 184, .12);--hub-skeleton-highlight: rgba(255, 255, 255, .38)}.hub-skeleton--contrast{--hub-skeleton-bg: rgba(71, 85, 105, .28);--hub-skeleton-highlight: rgba(255, 255, 255, .28)}.hub-skeleton__node{box-sizing:border-box;min-width:0}.hub-skeleton__node--surface{background:linear-gradient(90deg,var(--hub-skeleton-bg) 0%,var(--hub-skeleton-bg) 32%,var(--hub-skeleton-highlight) 50%,var(--hub-skeleton-bg) 68%,var(--hub-skeleton-bg) 100%);background-size:220% 100%;border-radius:var(--hub-skeleton-node-radius, var(--hub-skeleton-radius))}.hub-skeleton--animated .hub-skeleton__node--surface{animation:hub-skeleton-shimmer var(--hub-skeleton-animation-duration) ease-in-out infinite}.hub-skeleton__node--line,.hub-skeleton__node--block,.hub-skeleton__node--circle{width:var(--hub-skeleton-node-width, 100%);height:var(--hub-skeleton-node-height, 12px)}.hub-skeleton__node--circle{width:var(--hub-skeleton-node-size, var(--hub-skeleton-node-width, 40px));height:var(--hub-skeleton-node-size, var(--hub-skeleton-node-height, 40px));border-radius:999px}.hub-skeleton__node--stack{display:flex;flex-direction:column;gap:var(--hub-skeleton-node-gap, var(--hub-skeleton-gap));align-items:var(--hub-skeleton-node-align, stretch);justify-content:var(--hub-skeleton-node-justify, flex-start)}.hub-skeleton__node--row{flex-direction:row}.hub-skeleton__node--grid{display:grid;grid-template-columns:repeat(var(--hub-skeleton-node-columns, 2),minmax(0,1fr));gap:var(--hub-skeleton-node-gap, var(--hub-skeleton-gap));align-items:var(--hub-skeleton-node-align, stretch)}.hub-skeleton__node--grow{flex:1 1 auto}@keyframes hub-skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
690
690
|
}
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonComponent, decorators: [{
|
|
692
692
|
type: Component,
|
|
693
693
|
args: [{ selector: 'hub-skeleton', standalone: true, imports: [NgTemplateOutlet], providers: [HubSkeletonPresetRegistryService], changeDetection: ChangeDetectionStrategy.OnPush, template: `
|
|
694
694
|
<div
|
|
@@ -730,11 +730,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
730
730
|
* NgModule wrapper kept for compatibility with module-based Angular apps.
|
|
731
731
|
*/
|
|
732
732
|
class HubSkeletonModule {
|
|
733
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
734
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
735
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
733
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
734
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonModule, imports: [HubSkeletonComponent], exports: [HubSkeletonComponent] });
|
|
735
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonModule });
|
|
736
736
|
}
|
|
737
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: HubSkeletonModule, decorators: [{
|
|
738
738
|
type: NgModule,
|
|
739
739
|
args: [{
|
|
740
740
|
imports: [HubSkeletonComponent],
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng-hub-ui-skeleton",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Dynamic Angular skeleton placeholders with presets, inline DSL templates, responsive variants, and programmatic preset registration.",
|
|
6
6
|
"author": "Carlos Morcillo <carlos.morcillo@me.com> (https://www.carlosmorcillo.com)",
|
|
Binary file
|