Skip to content

Commit c1f1865

Browse files
committed
'[CHECKPOINT]' updated package to conform with @windmillcode/wml-components-base version 19.1.3112
1 parent 81f8f50 commit c1f1865

File tree

24 files changed

+75
-70
lines changed

24 files changed

+75
-70
lines changed

projects/wml-accordion/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.1.3",
1111
"@angular/core": "^19.1.3",
12-
"@windmillcode/angular-wml-components-base": "^19.1.3111",
13-
"@windmillcode/wml-components-base": "^19.1.3111"
12+
"@windmillcode/angular-wml-components-base": "^19.1.3112",
13+
"@windmillcode/wml-components-base": "^19.1.3112"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.1.3111"
23+
"version": "19.1.3112"
2424
}

projects/wml-angular-components-base/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.1.3",
1111
"@angular/core": "^19.1.3",
12-
"@windmillcode/wml-components-base": "^19.1.3111"
12+
"@windmillcode/wml-components-base": "^19.1.3112"
1313
},
1414
"private": false,
1515
"repository": {
@@ -19,5 +19,5 @@
1919
"scripts": {
2020
"build": "npx ng build"
2121
},
22-
"version": "19.1.3111"
22+
"version": "19.1.3112"
2323
}

projects/wml-button/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.1.3",
1111
"@angular/core": "^19.1.3",
12-
"@windmillcode/angular-wml-components-base": "^19.1.3111",
13-
"@windmillcode/wml-components-base": "^19.1.3111"
12+
"@windmillcode/angular-wml-components-base": "^19.1.3112",
13+
"@windmillcode/wml-components-base": "^19.1.3112"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.1.3111"
23+
"version": "19.1.3112"
2424
}

projects/wml-carousel/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.1.3",
1111
"@angular/core": "^19.1.3",
12-
"@windmillcode/angular-wml-components-base": "^19.1.3111",
13-
"@windmillcode/wml-components-base": "^19.1.3111"
12+
"@windmillcode/angular-wml-components-base": "^19.1.3112",
13+
"@windmillcode/wml-components-base": "^19.1.3112"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.1.3111"
23+
"version": "19.1.3112"
2424
}

projects/wml-chips/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"@angular/cdk": "^19.1.3",
1212
"@angular/common": "^19.1.3",
1313
"@angular/core": "^19.1.3",
14-
"@windmillcode/angular-wml-button": "^19.1.3111",
15-
"@windmillcode/angular-wml-components-base": "^19.1.3111",
16-
"@windmillcode/wml-components-base": "^19.1.3111"
14+
"@windmillcode/angular-wml-button": "^19.1.3112",
15+
"@windmillcode/angular-wml-components-base": "^19.1.3112",
16+
"@windmillcode/wml-components-base": "^19.1.3112"
1717
},
1818
"private": false,
1919
"repository": {
@@ -24,5 +24,5 @@
2424
"build": "npx ng build",
2525
"test": "npx ng test wml-chips --code-coverage"
2626
},
27-
"version": "19.1.3111"
27+
"version": "19.1.3112"
2828
}

projects/wml-components-base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
"scripts": {
1414
"build": "npx ng build"
1515
},
16-
"version": "19.1.3111"
16+
"version": "19.1.3112"
1717
}

projects/wml-components-base/src/lib/string-utils.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ export class WMLStringObject {
6060
.replace(/[-_\s]+(.)?/g, (_, c) => (c ? c.toUpperCase() : ""))
6161
.replace(/^(.)/, (_, c) => c.toUpperCase()) + suffix;
6262
};
63+
64+
snakeCase = (stripSuffix = true, suffix = "") => {
65+
const str = stripSuffix ? this.prefix : this.orig;
66+
return str.replace(/([A-Z])/g, "_$1").toLowerCase().replace(/[-\s]+/g, "_") + suffix;
67+
};
6368
}
6469

6570

projects/wml-field/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.1.3",
1111
"@angular/core": "^19.1.3",
12-
"@windmillcode/angular-wml-components-base": "^19.1.3111",
13-
"@windmillcode/wml-components-base": "^19.1.3111"
12+
"@windmillcode/angular-wml-components-base": "^19.1.3112",
13+
"@windmillcode/wml-components-base": "^19.1.3112"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.1.3111"
23+
"version": "19.1.3112"
2424
}

projects/wml-file-manager/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.1.3",
1111
"@angular/core": "^19.1.3",
12-
"@windmillcode/angular-wml-components-base": "^19.1.3111",
13-
"@windmillcode/wml-components-base": "^19.1.3111"
12+
"@windmillcode/angular-wml-components-base": "^19.1.3112",
13+
"@windmillcode/wml-components-base": "^19.1.3112"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.1.3111"
23+
"version": "19.1.3112"
2424
}

projects/wml-form/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"peerDependencies": {
1010
"@angular/common": "^19.1.3",
1111
"@angular/core": "^19.1.3",
12-
"@windmillcode/angular-wml-components-base": "^19.1.3111",
13-
"@windmillcode/wml-components-base": "^19.1.3111"
12+
"@windmillcode/angular-wml-components-base": "^19.1.3112",
13+
"@windmillcode/wml-components-base": "^19.1.3112"
1414
},
1515
"private": false,
1616
"repository": {
@@ -20,5 +20,5 @@
2020
"scripts": {
2121
"build": "npx ng build"
2222
},
23-
"version": "19.1.3111"
23+
"version": "19.1.3112"
2424
}

0 commit comments

Comments
 (0)