@umbraco-ui/uui-menu-item 1.4.0 → 1.5.0-rc.1
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/README.md +1 -1
- package/custom-elements.json +5 -5
- package/lib/uui-menu-item.element.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Umbraco style menu-item component.
|
|
|
6
6
|
|
|
7
7
|
### See it in action
|
|
8
8
|
|
|
9
|
-
Preview the component on [Storybook](https://uui.umbraco.com/?path=/
|
|
9
|
+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/docs/uui-menu-item--docs)
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
package/custom-elements.json
CHANGED
|
@@ -76,11 +76,6 @@
|
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
78
|
"properties": [
|
|
79
|
-
{
|
|
80
|
-
"name": "styles",
|
|
81
|
-
"type": "CSSResult[]",
|
|
82
|
-
"default": "[null]"
|
|
83
|
-
},
|
|
84
79
|
{
|
|
85
80
|
"name": "disabled",
|
|
86
81
|
"attribute": "disabled",
|
|
@@ -130,6 +125,11 @@
|
|
|
130
125
|
"type": "string",
|
|
131
126
|
"default": "\"undefined\""
|
|
132
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"name": "styles",
|
|
130
|
+
"type": "CSSResult[]",
|
|
131
|
+
"default": "[null]"
|
|
132
|
+
},
|
|
133
133
|
{
|
|
134
134
|
"name": "selectOnly",
|
|
135
135
|
"attribute": "select-only",
|
|
@@ -12,7 +12,6 @@ declare const UUIMenuItemElement_base: (new (...args: any[]) => import("@umbraco
|
|
|
12
12
|
* @slot label - area to place the label
|
|
13
13
|
*/
|
|
14
14
|
export declare class UUIMenuItemElement extends UUIMenuItemElement_base {
|
|
15
|
-
static styles: import("lit").CSSResult[];
|
|
16
15
|
/**
|
|
17
16
|
* Disables the menu item, changes the looks of it and prevents it from emitting the click event
|
|
18
17
|
* @type {boolean}
|
|
@@ -72,6 +71,7 @@ export declare class UUIMenuItemElement extends UUIMenuItemElement_base {
|
|
|
72
71
|
private _renderLabelAsAnchor;
|
|
73
72
|
private _renderLabelAsButton;
|
|
74
73
|
render(): import("lit-html").TemplateResult<1>;
|
|
74
|
+
static styles: import("lit").CSSResult[];
|
|
75
75
|
}
|
|
76
76
|
declare global {
|
|
77
77
|
interface HTMLElementTagNameMap {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-menu-item",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.
|
|
34
|
-
"@umbraco-ui/uui-loader-bar": "1.
|
|
35
|
-
"@umbraco-ui/uui-symbol-expand": "1.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.5.0-rc.1",
|
|
34
|
+
"@umbraco-ui/uui-loader-bar": "1.5.0-rc.1",
|
|
35
|
+
"@umbraco-ui/uui-symbol-expand": "1.5.0-rc.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-menu-item",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "2ff35a098ed8a3feb8ebed1bf43b4fbb75950d65"
|
|
47
47
|
}
|