@limetech/lime-web-components 5.44.0 → 5.46.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 +16 -0
- package/dist/action/action.d.ts +6 -0
- package/dist/action/action.d.ts.map +1 -1
- package/dist/es5/view/index.js +1 -0
- package/dist/es5/view/layout.js +2 -0
- package/dist/view/index.d.ts +1 -0
- package/dist/view/index.d.ts.map +1 -1
- package/dist/view/index.js +1 -0
- package/dist/view/layout.d.ts +31 -0
- package/dist/view/layout.d.ts.map +1 -0
- package/dist/view/layout.js +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [5.46.0](https://github.com/Lundalogik/lime-web-components/compare/v5.45.0...v5.46.0) (2025-03-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **action:** add hideLabel to action interface ([1c75f1a](https://github.com/Lundalogik/lime-web-components/commit/1c75f1aed7e35b6f5792176b1e3a2569868606c5))
|
|
8
|
+
|
|
9
|
+
## [5.45.0](https://github.com/Lundalogik/lime-web-components/compare/v5.44.0...v5.45.0) (2025-03-05)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* **view:** add interfaces for layouts ([d3759e4](https://github.com/Lundalogik/lime-web-components/commit/d3759e43b88eb922551671be2efb48bcd2459cc8)), closes [Lundalogik/crm-feature#3190](https://github.com/Lundalogik/crm-feature/issues/3190)
|
|
16
|
+
|
|
1
17
|
## [5.44.0](https://github.com/Lundalogik/lime-web-components/compare/v5.43.0...v5.44.0) (2025-01-27)
|
|
2
18
|
|
|
3
19
|
|
package/dist/action/action.d.ts
CHANGED
|
@@ -18,6 +18,12 @@ export interface Action<T extends AnyCommand = AnyCommand> {
|
|
|
18
18
|
* Icon of the action
|
|
19
19
|
*/
|
|
20
20
|
icon?: string | Icon;
|
|
21
|
+
/**
|
|
22
|
+
* True if the icon should be displayed without a label.
|
|
23
|
+
* A `label` should still be provided for accessibility and for scenarios
|
|
24
|
+
* where the action is displayed differently, such as in a tooltip or menu.
|
|
25
|
+
*/
|
|
26
|
+
hideLabel?: boolean;
|
|
21
27
|
/**
|
|
22
28
|
* Label to display on or next to the action.
|
|
23
29
|
* The label will be translated by the {@link Translator}
|
|
@@ -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,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"}
|
|
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;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;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"}
|
package/dist/es5/view/index.js
CHANGED
package/dist/view/index.d.ts
CHANGED
package/dist/view/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
package/dist/view/index.js
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LoadOptions } from '../limeobject';
|
|
2
|
+
/**
|
|
3
|
+
* Layout config for a view
|
|
4
|
+
* @beta
|
|
5
|
+
* @group Views
|
|
6
|
+
*/
|
|
7
|
+
export type ViewLayout<T extends object = object> = {
|
|
8
|
+
/**
|
|
9
|
+
* The order to sort the objects by for this layout
|
|
10
|
+
*/
|
|
11
|
+
order?: LoadOptions['order'];
|
|
12
|
+
} & T;
|
|
13
|
+
/**
|
|
14
|
+
* Interface for components that render a configuration UI for a
|
|
15
|
+
* {@link ViewLayout}
|
|
16
|
+
* @beta
|
|
17
|
+
* @group Views
|
|
18
|
+
*/
|
|
19
|
+
export interface ViewLayoutConfigurationComponent<T extends object = object> {
|
|
20
|
+
/**
|
|
21
|
+
* The layout config
|
|
22
|
+
*/
|
|
23
|
+
layout: ViewLayout<T>;
|
|
24
|
+
/**
|
|
25
|
+
* Event emitter to use to emit events when the layout has changed
|
|
26
|
+
*/
|
|
27
|
+
changeLayout: {
|
|
28
|
+
emit: (data?: ViewLayout<T>) => CustomEvent<ViewLayout<T>>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/view/layout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;GAIG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAChC,GAAG,CAAC,CAAC;AAEN;;;;;GAKG;AACH,MAAM,WAAW,gCAAgC,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACvE;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAEtB;;OAEG;IACH,YAAY,EAAE;QACV,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;KAC9D,CAAC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-web-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.46.0",
|
|
4
4
|
"description": "Lime Web Components",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stencil/core": "^2.22.3",
|
|
32
|
-
"rxjs": "^7.8.
|
|
32
|
+
"rxjs": "^7.8.2",
|
|
33
33
|
"tslib": "^2.8.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@commitlint/config-conventional": "^19.
|
|
37
|
-
"@microsoft/api-extractor": "^7.
|
|
36
|
+
"@commitlint/config-conventional": "^19.7.1",
|
|
37
|
+
"@microsoft/api-extractor": "^7.51.1",
|
|
38
38
|
"@types/jest": "^27.5.0",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
40
40
|
"@typescript-eslint/parser": "^7.5.0",
|