@limetech/lime-web-components 5.24.0 → 5.26.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [5.26.0](https://github.com/Lundalogik/lime-web-components/compare/v5.25.0...v5.26.0) (2024-03-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **limeobject.repository:** add getSchema function ([08af580](https://github.com/Lundalogik/lime-web-components/commit/08af580eecbf955605448b25008c4def05fc9f15))
|
|
8
|
+
|
|
9
|
+
## [5.25.0](https://github.com/Lundalogik/lime-web-components/compare/v5.24.0...v5.25.0) (2024-02-07)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* **action:** use icon interface for the action ([ee9ef69](https://github.com/Lundalogik/lime-web-components/commit/ee9ef6980c5070433051b10bf201f025d866d98c))
|
|
16
|
+
|
|
1
17
|
## [5.24.0](https://github.com/Lundalogik/lime-web-components/compare/v5.23.1...v5.24.0) (2024-01-18)
|
|
2
18
|
|
|
3
19
|
|
package/dist/action/action.d.ts
CHANGED
|
@@ -17,11 +17,7 @@ export interface Action<T extends AnyCommand = AnyCommand> {
|
|
|
17
17
|
/**
|
|
18
18
|
* Icon of the action
|
|
19
19
|
*/
|
|
20
|
-
icon?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Color of the icon
|
|
23
|
-
*/
|
|
24
|
-
color?: string;
|
|
20
|
+
icon?: string | Icon;
|
|
25
21
|
/**
|
|
26
22
|
* Label to display on or next to the action.
|
|
27
23
|
* The label will be translated by the {@link Translator}
|
|
@@ -50,4 +46,32 @@ export type LimeObjectAction = Action<LimeObjectCommand>;
|
|
|
50
46
|
* @group Actions
|
|
51
47
|
*/
|
|
52
48
|
export type LimeObjectBulkAction = Action<LimeObjectBulkCommand>;
|
|
49
|
+
/**
|
|
50
|
+
* Icon of an action
|
|
51
|
+
*
|
|
52
|
+
* @alpha
|
|
53
|
+
* @group Actions
|
|
54
|
+
*/
|
|
55
|
+
export type Icon = {
|
|
56
|
+
/**
|
|
57
|
+
* Name of the icon
|
|
58
|
+
*/
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* Color of the icon.
|
|
62
|
+
*/
|
|
63
|
+
color?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Background color of the icon.
|
|
66
|
+
*/
|
|
67
|
+
backgroundColor?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The `title` attribute of the icon.
|
|
70
|
+
* Used primarily to improve accessibility for users who
|
|
71
|
+
* take advantage of assistive technologies; but also
|
|
72
|
+
* to clarify further what an icon tries to resemble
|
|
73
|
+
* for sighted users.
|
|
74
|
+
*/
|
|
75
|
+
title?: string;
|
|
76
|
+
};
|
|
53
77
|
//# sourceMappingURL=action.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../src/action/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,EACV,qBAAqB,EACrB,iBAAiB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD;;;;GAIG;AACH,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU;IACrD;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC;IAEX;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../src/action/action.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,EACV,qBAAqB,EACrB,iBAAiB,EACpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD;;;;GAIG;AACH,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,UAAU,GAAG,UAAU;IACrD;;OAEG;IACH,OAAO,EAAE,CAAC,CAAC;IAEX;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAEzD;;;;;GAKG;AACH,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,MAAM,IAAI,GAAG;IACf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -36,7 +36,13 @@ export interface LimeObjectRepository extends StateRepository {
|
|
|
36
36
|
*
|
|
37
37
|
* @param limetype - name of the limetype of the owning limeobject
|
|
38
38
|
*/
|
|
39
|
-
loadSchema(limetype: string): Promise<
|
|
39
|
+
loadSchema<TSchemaType extends Record<string, any> = object>(limetype: string): Promise<TSchemaType>;
|
|
40
|
+
/**
|
|
41
|
+
* Get a schema that is already loaded for the limetype.
|
|
42
|
+
*
|
|
43
|
+
* @param limetype - name of the limetype of the owning limeobject
|
|
44
|
+
*/
|
|
45
|
+
getSchema?<TSchemaType extends Record<string, any> = object>(limetype: string): TSchemaType | null;
|
|
40
46
|
/**
|
|
41
47
|
* Delete the specified limeobject
|
|
42
48
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/limeobject/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IACzD;;;;;OAKG;IACH,UAAU,CACN,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,YAAY,CAAC,GAC1C,IAAI,CAAC;IAER;;;;;;OAMG;IACH,WAAW,CACP,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACtB,OAAO,CAAC,cAAc,CAAC,CAAC;IAE3B;;;;;;;;OAQG;IACH,aAAa,CACT,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACtB,OAAO,CAAC,cAAc,CAAC,CAAC;IAE3B;;;;OAIG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/limeobject/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IACzD;;;;;OAKG;IACH,UAAU,CACN,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,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H,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,iBAAiB,CAAC,CAAC;CAClD;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,KAAK,GAAG,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,QAAQ,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAAC;CACvC;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CACvC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-web-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0",
|
|
4
4
|
"description": "Lime Web Components",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,28 +35,28 @@
|
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@commitlint/config-conventional": "^
|
|
39
|
-
"@microsoft/api-extractor": "^7.
|
|
38
|
+
"@commitlint/config-conventional": "^19.0.3",
|
|
39
|
+
"@microsoft/api-extractor": "^7.42.3",
|
|
40
40
|
"@types/jest": "^27.5.0",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
42
|
-
"@typescript-eslint/parser": "^
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
|
42
|
+
"@typescript-eslint/parser": "^7.1.1",
|
|
43
43
|
"commitizen": "^4.3.0",
|
|
44
44
|
"cz-conventional-changelog": "^3.3.0",
|
|
45
|
-
"eslint": "^8.
|
|
46
|
-
"eslint-config-prettier": "^
|
|
45
|
+
"eslint": "^8.57.0",
|
|
46
|
+
"eslint-config-prettier": "^9.1.0",
|
|
47
47
|
"eslint-plugin-ban": "^1.6.0",
|
|
48
48
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
49
|
-
"eslint-plugin-prettier": "^
|
|
50
|
-
"eslint-plugin-react": "^7.
|
|
51
|
-
"eslint-plugin-sonarjs": "^0.
|
|
49
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
50
|
+
"eslint-plugin-react": "^7.34.0",
|
|
51
|
+
"eslint-plugin-sonarjs": "^0.24.0",
|
|
52
52
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
53
53
|
"jest": "^27.5.1",
|
|
54
54
|
"jest-cli": "^27.5.1",
|
|
55
|
-
"prettier": "^2.
|
|
56
|
-
"replace-in-file": "^
|
|
55
|
+
"prettier": "^3.2.5",
|
|
56
|
+
"replace-in-file": "^7.1.0",
|
|
57
57
|
"shelljs": "0.8.5",
|
|
58
58
|
"typedoc": "^0.23.24",
|
|
59
|
-
"typedoc-plugin-markdown": "~
|
|
59
|
+
"typedoc-plugin-markdown": "~3.15.0",
|
|
60
60
|
"typescript": "^4.9.5",
|
|
61
61
|
"yargs": "^17.7.2"
|
|
62
62
|
},
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
},
|
|
75
75
|
"repository": {
|
|
76
76
|
"type": "git",
|
|
77
|
-
"url": "https://github.com/Lundalogik/lime-web-components.git"
|
|
77
|
+
"url": "git+https://github.com/Lundalogik/lime-web-components.git"
|
|
78
78
|
}
|
|
79
79
|
}
|