@uxf/core 11.35.0 → 11.42.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.
package/package.json CHANGED
@@ -1,33 +1,33 @@
1
1
  {
2
- "name": "@uxf/core",
3
- "version": "11.35.0",
4
- "description": "UXF Core",
5
- "author": "Petr Vejvoda <vejvoda@uxf.cz>",
6
- "homepage": "https://gitlab.com/uxf-npm/core#readme",
7
- "license": "ISC",
8
- "main": "index.js",
9
- "typings": "index.d.ts",
10
- "module": "index.js",
11
- "publishConfig": {
12
- "access": "public"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://gitlab.com/uxf-npm/core.git"
17
- },
18
- "scripts": {
19
- "build": "tsc -P tsconfig.json",
20
- "typecheck": "tsc --noEmit --skipLibCheck"
21
- },
22
- "bugs": {
23
- "url": "https://gitlab.com/uxf-npm/core/issues"
24
- },
25
- "peerDependencies": {
26
- "react": ">=18.2.0"
27
- },
28
- "devDependencies": {
29
- "@types/react": "18.3.5",
30
- "react": "18.3.1"
31
- },
32
- "gitHead": "a2dee6aa67621f6eda17e63e88d0edf14f88455a"
33
- }
2
+ "name": "@uxf/core",
3
+ "version": "11.42.0",
4
+ "description": "UXF Core",
5
+ "author": "Petr Vejvoda <vejvoda@uxf.cz>",
6
+ "homepage": "https://gitlab.com/uxf-npm/core#readme",
7
+ "license": "ISC",
8
+ "main": "index.js",
9
+ "typings": "index.d.ts",
10
+ "module": "index.js",
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://gitlab.com/uxf-npm/core.git"
17
+ },
18
+ "scripts": {
19
+ "build": "tsc -P tsconfig.json",
20
+ "typecheck": "tsc --noEmit --skipLibCheck"
21
+ },
22
+ "bugs": {
23
+ "url": "https://gitlab.com/uxf-npm/core/issues"
24
+ },
25
+ "peerDependencies": {
26
+ "react": ">=18.2.0"
27
+ },
28
+ "devDependencies": {
29
+ "@types/react": "18.3.5",
30
+ "react": "18.3.1"
31
+ },
32
+ "gitHead": "a2dee6aa67621f6eda17e63e88d0edf14f88455a"
33
+ }
@@ -0,0 +1 @@
1
+ export declare function capitalize(value: string): string;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.capitalize = capitalize;
4
+ function capitalize(value) {
5
+ return value.charAt(0).toUpperCase() + value.slice(1);
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const capitalize_1 = require("./capitalize");
4
+ test("capitalize", () => {
5
+ expect((0, capitalize_1.capitalize)("some text")).toBe("Some text");
6
+ expect((0, capitalize_1.capitalize)("Already capitalized")).toBe("Already capitalized");
7
+ expect((0, capitalize_1.capitalize)(" space at start")).toBe(" space at start");
8
+ });