@xui/steps 2.2.6-alpha.0 → 2.3.0

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.
@@ -19,10 +19,10 @@ class XuiStep {
19
19
  /** Force a status instead of deriving it from the active step. */
20
20
  status = input(/* @ts-ignore */
21
21
  ...(ngDevMode ? [undefined, { debugName: "status" }] : /* istanbul ignore next */ []));
22
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: XuiStep, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.8", type: XuiStep, isStandalone: true, selector: "xui-step", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
22
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiStep, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.4", type: XuiStep, isStandalone: true, selector: "xui-step", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: XuiStep, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiStep, decorators: [{
26
26
  type: Component,
27
27
  args: [{
28
28
  selector: 'xui-step',
@@ -109,8 +109,8 @@ class XuiSteps {
109
109
  ? xui('ms-4 min-h-4 w-px flex-1 self-stretch', done ? 'bg-primary' : 'bg-border')
110
110
  : xui('h-px flex-1', done ? 'bg-primary' : 'bg-border');
111
111
  }
112
- /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: XuiSteps, deps: [], target: i0.ɵɵFactoryTarget.Component });
113
- /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: XuiSteps, isStandalone: true, selector: "xui-steps", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { current: "currentChange" }, host: { properties: { "class": "computedClass()" } }, queries: [{ propertyName: "steps", predicate: XuiStep, isSignal: true }], ngImport: i0, template: `
112
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiSteps, deps: [], target: i0.ɵɵFactoryTarget.Component });
113
+ /** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: XuiSteps, isStandalone: true, selector: "xui-steps", inputs: { class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { current: "currentChange" }, host: { properties: { "class": "computedClass()" } }, queries: [{ propertyName: "steps", predicate: XuiStep, isSignal: true }], ngImport: i0, template: `
114
114
  @for (step of steps(); track $index; let i = $index, last = $last) {
115
115
  <div [class]="itemClass()">
116
116
  <button type="button" [class]="headerClass()" [disabled]="!clickable()" (click)="select(i)">
@@ -137,7 +137,7 @@ class XuiSteps {
137
137
  }
138
138
  `, isInline: true, dependencies: [{ kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "directive", type: XuiIcon, selector: "ng-icon[xui]", inputs: ["class", "size", "color", "label"], exportAs: ["xuiIcon"] }], viewProviders: [provideIcons({ matCheckRound, matCloseRound })], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
139
139
  }
140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: XuiSteps, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: XuiSteps, decorators: [{
141
141
  type: Component,
142
142
  args: [{
143
143
  selector: 'xui-steps',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xui/steps",
3
- "version": "2.2.6-alpha.0",
3
+ "version": "2.3.0",
4
4
  "description": "Modern Angular 22 UI Library based on TailwindCSS",
5
5
  "keywords": [
6
6
  "angular",
@@ -20,7 +20,20 @@
20
20
  "Rikarin"
21
21
  ],
22
22
  "sideEffects": false,
23
- "type": "module",
23
+ "peerDependencies": {
24
+ "@angular/cdk": "22",
25
+ "@angular/core": "22",
26
+ "@ng-icons/core": "35",
27
+ "@ng-icons/material-icons": "35",
28
+ "@xui/core": "2.3.0",
29
+ "@xui/icon": "2.3.0",
30
+ "clsx": "^2.1.1"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "module": "fesm2022/xui-steps.mjs",
36
+ "typings": "types/xui-steps.d.ts",
24
37
  "exports": {
25
38
  "./package.json": {
26
39
  "default": "./package.json"
@@ -30,21 +43,8 @@
30
43
  "default": "./fesm2022/xui-steps.mjs"
31
44
  }
32
45
  },
33
- "module": "fesm2022/xui-steps.mjs",
34
- "typings": "types/xui-steps.d.ts",
46
+ "type": "module",
35
47
  "dependencies": {
36
48
  "tslib": "^2.3.0"
37
- },
38
- "peerDependencies": {
39
- "@angular/cdk": "22",
40
- "@angular/core": "22",
41
- "@ng-icons/core": "34",
42
- "@ng-icons/material-icons": "34",
43
- "@xui/core": "2.2.6-alpha.0",
44
- "@xui/icon": "2.2.6-alpha.0",
45
- "clsx": "^2.1.1"
46
- },
47
- "publishConfig": {
48
- "access": "public"
49
49
  }
50
50
  }