@limetech/lime-elements 37.1.0-next.94 → 37.1.0-next.95
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 +8 -0
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.js +2 -2
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/action-bar/action-bar.types.js.map +1 -1
- package/dist/types/components/action-bar/action-bar.types.d.ts +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [37.1.0-next.95](https://github.com/Lundalogik/lime-elements/compare/v37.1.0-next.94...v37.1.0-next.95) (2024-01-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **action-bar:** make `ActionBarItem` generic ([b0f9e35](https://github.com/Lundalogik/lime-elements/commit/b0f9e3581b3b7c6b0703266501d9272a24b4b9f2))
|
|
8
|
+
|
|
1
9
|
## [37.1.0-next.94](https://github.com/Lundalogik/lime-elements/compare/v37.1.0-next.93...v37.1.0-next.94) (2024-01-23)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -94,7 +94,7 @@ export class ActionBarButton {
|
|
|
94
94
|
"mutable": false,
|
|
95
95
|
"complexType": {
|
|
96
96
|
"original": "ActionBarItem | ListSeparator",
|
|
97
|
-
"resolved": "ActionBarItemOnlyIcon | ActionBarItemWithLabel | ListSeparator",
|
|
97
|
+
"resolved": "ActionBarItemOnlyIcon<any> | ActionBarItemWithLabel<any> | ListSeparator",
|
|
98
98
|
"references": {
|
|
99
99
|
"ActionBarItem": {
|
|
100
100
|
"location": "import",
|
|
@@ -146,7 +146,7 @@ export class ActionBarButton {
|
|
|
146
146
|
},
|
|
147
147
|
"complexType": {
|
|
148
148
|
"original": "ActionBarItem | ListSeparator",
|
|
149
|
-
"resolved": "ActionBarItemOnlyIcon | ActionBarItemWithLabel | ListSeparator",
|
|
149
|
+
"resolved": "ActionBarItemOnlyIcon<any> | ActionBarItemWithLabel<any> | ListSeparator",
|
|
150
150
|
"references": {
|
|
151
151
|
"ActionBarItem": {
|
|
152
152
|
"location": "import",
|
|
@@ -93,7 +93,7 @@ export class ActionBarOverflowMenu {
|
|
|
93
93
|
},
|
|
94
94
|
"complexType": {
|
|
95
95
|
"original": "ActionBarItem",
|
|
96
|
-
"resolved": "ActionBarItemOnlyIcon | ActionBarItemWithLabel",
|
|
96
|
+
"resolved": "ActionBarItemOnlyIcon<any> | ActionBarItemWithLabel<any>",
|
|
97
97
|
"references": {
|
|
98
98
|
"ActionBarItem": {
|
|
99
99
|
"location": "import",
|
|
@@ -136,7 +136,7 @@ export class ActionBar {
|
|
|
136
136
|
"mutable": false,
|
|
137
137
|
"complexType": {
|
|
138
138
|
"original": "Array<ActionBarItem | ListSeparator>",
|
|
139
|
-
"resolved": "(
|
|
139
|
+
"resolved": "(ListSeparator | ActionBarItem)[]",
|
|
140
140
|
"references": {
|
|
141
141
|
"Array": {
|
|
142
142
|
"location": "global"
|
|
@@ -235,7 +235,7 @@ export class ActionBar {
|
|
|
235
235
|
},
|
|
236
236
|
"complexType": {
|
|
237
237
|
"original": "ActionBarItem",
|
|
238
|
-
"resolved": "ActionBarItemOnlyIcon | ActionBarItemWithLabel",
|
|
238
|
+
"resolved": "ActionBarItemOnlyIcon<any> | ActionBarItemWithLabel<any>",
|
|
239
239
|
"references": {
|
|
240
240
|
"ActionBarItem": {
|
|
241
241
|
"location": "import",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-bar.types.js","sourceRoot":"","sources":["../../../src/components/action-bar/action-bar.types.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon, MenuItem } from '../../interface';\n\n/**\n * Renders the button in the action bar without their labels.\n * Does not affect the items that are overflown into the overflow menu.\n */\nexport type ActionBarItem =
|
|
1
|
+
{"version":3,"file":"action-bar.types.js","sourceRoot":"","sources":["../../../src/components/action-bar/action-bar.types.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon, MenuItem } from '../../interface';\n\n/**\n * Renders the button in the action bar without their labels.\n * Does not affect the items that are overflown into the overflow menu.\n */\nexport type ActionBarItem<T = any> =\n | ActionBarItemOnlyIcon<T>\n | ActionBarItemWithLabel<T>;\n\ninterface ActionBarItemOnlyIcon<T> extends MenuItem<T> {\n iconOnly: true;\n icon: string | Icon;\n}\n\ninterface ActionBarItemWithLabel<T> extends MenuItem<T> {\n iconOnly?: false;\n}\n"]}
|
|
@@ -3,12 +3,12 @@ import { Icon, MenuItem } from '../../interface';
|
|
|
3
3
|
* Renders the button in the action bar without their labels.
|
|
4
4
|
* Does not affect the items that are overflown into the overflow menu.
|
|
5
5
|
*/
|
|
6
|
-
export type ActionBarItem = ActionBarItemOnlyIcon | ActionBarItemWithLabel
|
|
7
|
-
interface ActionBarItemOnlyIcon extends MenuItem {
|
|
6
|
+
export type ActionBarItem<T = any> = ActionBarItemOnlyIcon<T> | ActionBarItemWithLabel<T>;
|
|
7
|
+
interface ActionBarItemOnlyIcon<T> extends MenuItem<T> {
|
|
8
8
|
iconOnly: true;
|
|
9
9
|
icon: string | Icon;
|
|
10
10
|
}
|
|
11
|
-
interface ActionBarItemWithLabel extends MenuItem {
|
|
11
|
+
interface ActionBarItemWithLabel<T> extends MenuItem<T> {
|
|
12
12
|
iconOnly?: false;
|
|
13
13
|
}
|
|
14
14
|
export {};
|