@umbraco-ui/uui-tabs 1.5.0-rc.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 +15 -15
- package/lib/index.js +4 -4
- package/lib/uui-tab-group.element.d.ts +4 -4
- package/lib/uui-tab.element.d.ts +1 -1
- package/package.json +6 -3
package/README.md
CHANGED
package/custom-elements.json
CHANGED
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"properties": [
|
|
16
|
-
{
|
|
17
|
-
"name": "styles",
|
|
18
|
-
"type": "CSSResult[]",
|
|
19
|
-
"default": "[null]"
|
|
20
|
-
},
|
|
21
16
|
{
|
|
22
17
|
"name": "dropdownContentDirection",
|
|
23
18
|
"attribute": "dropdown-content-direction",
|
|
24
19
|
"description": "Set the flex direction of the content of the dropdown.",
|
|
25
20
|
"type": "string",
|
|
26
21
|
"default": "\"vertical\""
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "styles",
|
|
25
|
+
"type": "CSSResult[]",
|
|
26
|
+
"default": "[null]"
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
29
|
"slots": [
|
|
@@ -75,11 +75,6 @@
|
|
|
75
75
|
}
|
|
76
76
|
],
|
|
77
77
|
"properties": [
|
|
78
|
-
{
|
|
79
|
-
"name": "styles",
|
|
80
|
-
"type": "CSSResult[]",
|
|
81
|
-
"default": "[null]"
|
|
82
|
-
},
|
|
83
78
|
{
|
|
84
79
|
"name": "disabled",
|
|
85
80
|
"attribute": "disabled",
|
|
@@ -108,6 +103,11 @@
|
|
|
108
103
|
"type": "string",
|
|
109
104
|
"default": "\"horizontal\""
|
|
110
105
|
},
|
|
106
|
+
{
|
|
107
|
+
"name": "styles",
|
|
108
|
+
"type": "CSSResult[]",
|
|
109
|
+
"default": "[null]"
|
|
110
|
+
},
|
|
111
111
|
{
|
|
112
112
|
"name": "active",
|
|
113
113
|
"attribute": "active",
|
|
@@ -205,11 +205,6 @@
|
|
|
205
205
|
}
|
|
206
206
|
],
|
|
207
207
|
"properties": [
|
|
208
|
-
{
|
|
209
|
-
"name": "styles",
|
|
210
|
-
"type": "CSSResult[]",
|
|
211
|
-
"default": "[null]"
|
|
212
|
-
},
|
|
213
208
|
{
|
|
214
209
|
"name": "disabled",
|
|
215
210
|
"attribute": "disabled",
|
|
@@ -238,6 +233,11 @@
|
|
|
238
233
|
"type": "string",
|
|
239
234
|
"default": "\"horizontal\""
|
|
240
235
|
},
|
|
236
|
+
{
|
|
237
|
+
"name": "styles",
|
|
238
|
+
"type": "CSSResult[]",
|
|
239
|
+
"default": "[null]"
|
|
240
|
+
},
|
|
241
241
|
{
|
|
242
242
|
"name": "active",
|
|
243
243
|
"attribute": "active",
|
package/lib/index.js
CHANGED
|
@@ -4,9 +4,9 @@ import { LitElement, html, css } from 'lit';
|
|
|
4
4
|
import { property, query, queryAssignedElements } from 'lit/decorators.js';
|
|
5
5
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
6
6
|
import { repeat } from 'lit/directives/repeat.js';
|
|
7
|
-
import '@umbraco-ui/uui-button/lib
|
|
8
|
-
import '@umbraco-ui/uui-popover-container/lib
|
|
9
|
-
import '@umbraco-ui/uui-symbol-more/lib
|
|
7
|
+
import '@umbraco-ui/uui-button/lib';
|
|
8
|
+
import '@umbraco-ui/uui-popover-container/lib';
|
|
9
|
+
import '@umbraco-ui/uui-symbol-more/lib';
|
|
10
10
|
import { UUIEvent } from '@umbraco-ui/uui-base/lib/events';
|
|
11
11
|
|
|
12
12
|
var __defProp$1 = Object.defineProperty;
|
|
@@ -80,7 +80,7 @@ UUITabElement.styles = [
|
|
|
80
80
|
min-height: var(--uui-size-12,36px);
|
|
81
81
|
min-width: 70px;
|
|
82
82
|
padding: var(--uui-size-2,6px)
|
|
83
|
-
var(--uui-tab-padding-horizontal, var(--uui-size-
|
|
83
|
+
var(--uui-tab-padding-horizontal, var(--uui-size-5,15px));
|
|
84
84
|
border: none;
|
|
85
85
|
font-size: inherit;
|
|
86
86
|
background: none;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
import '@umbraco-ui/uui-button/lib
|
|
3
|
-
import '@umbraco-ui/uui-popover-container/lib
|
|
4
|
-
import '@umbraco-ui/uui-symbol-more/lib
|
|
2
|
+
import '@umbraco-ui/uui-button/lib';
|
|
3
|
+
import '@umbraco-ui/uui-popover-container/lib';
|
|
4
|
+
import '@umbraco-ui/uui-symbol-more/lib';
|
|
5
5
|
/**
|
|
6
6
|
* @element uui-tab-group
|
|
7
7
|
* @slot - Default slot for the tab group
|
|
8
8
|
*/
|
|
9
9
|
export declare class UUITabGroupElement extends LitElement {
|
|
10
10
|
#private;
|
|
11
|
-
static styles: import("lit").CSSResult[];
|
|
12
11
|
private _moreButtonElement;
|
|
13
12
|
private _slottedNodes?;
|
|
14
13
|
/**
|
|
@@ -21,6 +20,7 @@ export declare class UUITabGroupElement extends LitElement {
|
|
|
21
20
|
connectedCallback(): void;
|
|
22
21
|
disconnectedCallback(): void;
|
|
23
22
|
render(): import("lit-html").TemplateResult<1>;
|
|
23
|
+
static styles: import("lit").CSSResult[];
|
|
24
24
|
}
|
|
25
25
|
declare global {
|
|
26
26
|
interface HTMLElementTagNameMap {
|
package/lib/uui-tab.element.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ declare const UUITabElement_base: (new (...args: any[]) => import("@umbraco-ui/u
|
|
|
15
15
|
* @cssprop --uui-tab-padding-horizontal - Define the tab horizontal padding
|
|
16
16
|
*/
|
|
17
17
|
export declare class UUITabElement extends UUITabElement_base {
|
|
18
|
-
static styles: import("lit").CSSResult[];
|
|
19
18
|
/**
|
|
20
19
|
* Reflects the disabled state of the element. True if tab is disabled. Change this to switch the state programmatically.
|
|
21
20
|
* @type {boolean}
|
|
@@ -47,6 +46,7 @@ export declare class UUITabElement extends UUITabElement_base {
|
|
|
47
46
|
constructor();
|
|
48
47
|
private onHostClick;
|
|
49
48
|
render(): import("lit-html").TemplateResult<1>;
|
|
49
|
+
static styles: import("lit").CSSResult[];
|
|
50
50
|
}
|
|
51
51
|
declare global {
|
|
52
52
|
interface HTMLElementTagNameMap {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-tabs",
|
|
3
|
-
"version": "1.5.0-rc.
|
|
3
|
+
"version": "1.5.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,7 +30,10 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.5.0-rc.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.5.0-rc.1",
|
|
34
|
+
"@umbraco-ui/uui-button": "1.5.0-rc.1",
|
|
35
|
+
"@umbraco-ui/uui-popover-container": "1.5.0-rc.1",
|
|
36
|
+
"@umbraco-ui/uui-symbol-more": "1.5.0-rc.1"
|
|
34
37
|
},
|
|
35
38
|
"scripts": {
|
|
36
39
|
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
|
|
@@ -41,5 +44,5 @@
|
|
|
41
44
|
"access": "public"
|
|
42
45
|
},
|
|
43
46
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-tabs",
|
|
44
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "2ff35a098ed8a3feb8ebed1bf43b4fbb75950d65"
|
|
45
48
|
}
|