@swiftwc/ui 0.0.0-dev.46 → 0.0.0-dev.48
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/generated/client/index.js +4 -4
- package/generated/components/alert-dialog.js +5 -5
- package/generated/components/bordered-button.js +1 -1
- package/generated/components/bordered-prominent-button.js +1 -1
- package/generated/components/borderless-button.js +1 -1
- package/generated/components/confirmation-dialog.js +5 -5
- package/generated/components/content-unavailable-view.d.ts +1 -1
- package/generated/components/content-unavailable-view.js +8 -8
- package/generated/components/date-picker.d.ts +2 -2
- package/generated/components/date-picker.js +24 -24
- package/generated/components/disclosure-group.js +3 -4
- package/generated/components/fine-tooltip.js +2 -2
- package/generated/components/glass-button.js +1 -1
- package/generated/components/glass-prominent-button.js +1 -1
- package/generated/components/label-view.d.ts +1 -1
- package/generated/components/label-view.js +8 -8
- package/generated/components/menu-view.d.ts +1 -1
- package/generated/components/menu-view.js +40 -40
- package/generated/components/navigation-split-view.d.ts +1 -1
- package/generated/components/navigation-split-view.js +5 -5
- package/generated/components/navigation-stack.d.ts +1 -1
- package/generated/components/navigation-stack.js +10 -10
- package/generated/components/navigation-title.d.ts +1 -1
- package/generated/components/navigation-title.js +31 -25
- package/generated/components/picker-view.d.ts +4 -2
- package/generated/components/picker-view.js +46 -35
- package/generated/components/progress-view.d.ts +1 -1
- package/generated/components/progress-view.js +15 -15
- package/generated/components/scroll-view.d.ts +1 -1
- package/generated/components/scroll-view.js +60 -59
- package/generated/components/search-view.js +1 -1
- package/generated/components/section-view.d.ts +1 -1
- package/generated/components/section-view.js +23 -23
- package/generated/components/sidebar-toggle.js +2 -2
- package/generated/components/sidebar-view.js +2 -2
- package/generated/components/sticky-container.js +1 -1
- package/generated/components/tab-bar.js +2 -2
- package/generated/components/tab-item.js +3 -4
- package/generated/components/tab-view.js +1 -1
- package/generated/components/table-view.js +2 -2
- package/generated/components/text-field.d.ts +2 -2
- package/generated/components/text-field.js +16 -16
- package/generated/components/tool-bar-item.d.ts +1 -1
- package/generated/components/tool-bar-item.js +18 -18
- package/generated/css/index.css +54 -0
- package/generated/internal/class/navigation-view.d.ts +1 -1
- package/generated/internal/class/navigation-view.js +32 -39
- package/generated/internal/decorators/index.d.ts +2 -0
- package/generated/internal/decorators/index.js +2 -0
- package/generated/internal/decorators/microtask-on-connected.d.ts +39 -0
- package/generated/internal/decorators/microtask-on-connected.js +67 -0
- package/generated/internal/utils/list-active.js +5 -5
- package/generated/namespace-browser/base.d.ts +5 -5
- package/generated/namespace-browser/base.js +32 -32
- package/package.json +1 -1
- package/scss/utils/_index.scss +29 -10
|
@@ -3,14 +3,6 @@ export class DialogBase extends HTMLDialogElement {
|
|
|
3
3
|
static polyfillConnectedCallback(el) { }
|
|
4
4
|
static polyfillDisconnectedCallback(el) { }
|
|
5
5
|
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
6
|
-
disconnectedCallback() {
|
|
7
|
-
const ctor = this.constructor;
|
|
8
|
-
ctor.polyfillDisconnectedCallback(this);
|
|
9
|
-
}
|
|
10
|
-
connectedCallback() {
|
|
11
|
-
const ctor = this.constructor;
|
|
12
|
-
ctor.polyfillConnectedCallback(this);
|
|
13
|
-
}
|
|
14
6
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
15
7
|
const ctor = this.constructor;
|
|
16
8
|
const entry = {
|
|
@@ -20,12 +12,6 @@ export class DialogBase extends HTMLDialogElement {
|
|
|
20
12
|
};
|
|
21
13
|
ctor.polyfillAttributeChangedCallback([entry]);
|
|
22
14
|
}
|
|
23
|
-
}
|
|
24
|
-
export class InputBase extends HTMLInputElement {
|
|
25
|
-
static polyfillExtends = 'input';
|
|
26
|
-
static polyfillConnectedCallback(el) { }
|
|
27
|
-
static polyfillDisconnectedCallback(el) { }
|
|
28
|
-
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
29
15
|
disconnectedCallback() {
|
|
30
16
|
const ctor = this.constructor;
|
|
31
17
|
ctor.polyfillDisconnectedCallback(this);
|
|
@@ -34,6 +20,12 @@ export class InputBase extends HTMLInputElement {
|
|
|
34
20
|
const ctor = this.constructor;
|
|
35
21
|
ctor.polyfillConnectedCallback(this);
|
|
36
22
|
}
|
|
23
|
+
}
|
|
24
|
+
export class InputBase extends HTMLInputElement {
|
|
25
|
+
static polyfillExtends = 'input';
|
|
26
|
+
static polyfillConnectedCallback(el) { }
|
|
27
|
+
static polyfillDisconnectedCallback(el) { }
|
|
28
|
+
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
37
29
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
38
30
|
const ctor = this.constructor;
|
|
39
31
|
const entry = {
|
|
@@ -43,12 +35,6 @@ export class InputBase extends HTMLInputElement {
|
|
|
43
35
|
};
|
|
44
36
|
ctor.polyfillAttributeChangedCallback([entry]);
|
|
45
37
|
}
|
|
46
|
-
}
|
|
47
|
-
export class ButtonBase extends HTMLButtonElement {
|
|
48
|
-
static polyfillExtends = 'button';
|
|
49
|
-
static polyfillConnectedCallback(el) { }
|
|
50
|
-
static polyfillDisconnectedCallback(el) { }
|
|
51
|
-
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
52
38
|
disconnectedCallback() {
|
|
53
39
|
const ctor = this.constructor;
|
|
54
40
|
ctor.polyfillDisconnectedCallback(this);
|
|
@@ -57,6 +43,12 @@ export class ButtonBase extends HTMLButtonElement {
|
|
|
57
43
|
const ctor = this.constructor;
|
|
58
44
|
ctor.polyfillConnectedCallback(this);
|
|
59
45
|
}
|
|
46
|
+
}
|
|
47
|
+
export class ButtonBase extends HTMLButtonElement {
|
|
48
|
+
static polyfillExtends = 'button';
|
|
49
|
+
static polyfillConnectedCallback(el) { }
|
|
50
|
+
static polyfillDisconnectedCallback(el) { }
|
|
51
|
+
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
60
52
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
61
53
|
const ctor = this.constructor;
|
|
62
54
|
const entry = {
|
|
@@ -66,12 +58,6 @@ export class ButtonBase extends HTMLButtonElement {
|
|
|
66
58
|
};
|
|
67
59
|
ctor.polyfillAttributeChangedCallback([entry]);
|
|
68
60
|
}
|
|
69
|
-
}
|
|
70
|
-
export class DetailsBase extends HTMLDetailsElement {
|
|
71
|
-
static polyfillExtends = 'details';
|
|
72
|
-
static polyfillConnectedCallback(el) { }
|
|
73
|
-
static polyfillDisconnectedCallback(el) { }
|
|
74
|
-
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
75
61
|
disconnectedCallback() {
|
|
76
62
|
const ctor = this.constructor;
|
|
77
63
|
ctor.polyfillDisconnectedCallback(this);
|
|
@@ -80,6 +66,12 @@ export class DetailsBase extends HTMLDetailsElement {
|
|
|
80
66
|
const ctor = this.constructor;
|
|
81
67
|
ctor.polyfillConnectedCallback(this);
|
|
82
68
|
}
|
|
69
|
+
}
|
|
70
|
+
export class DetailsBase extends HTMLDetailsElement {
|
|
71
|
+
static polyfillExtends = 'details';
|
|
72
|
+
static polyfillConnectedCallback(el) { }
|
|
73
|
+
static polyfillDisconnectedCallback(el) { }
|
|
74
|
+
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
83
75
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
84
76
|
const ctor = this.constructor;
|
|
85
77
|
const entry = {
|
|
@@ -89,12 +81,6 @@ export class DetailsBase extends HTMLDetailsElement {
|
|
|
89
81
|
};
|
|
90
82
|
ctor.polyfillAttributeChangedCallback([entry]);
|
|
91
83
|
}
|
|
92
|
-
}
|
|
93
|
-
export class FormBase extends HTMLFormElement {
|
|
94
|
-
static polyfillExtends = 'form';
|
|
95
|
-
static polyfillConnectedCallback(el) { }
|
|
96
|
-
static polyfillDisconnectedCallback(el) { }
|
|
97
|
-
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
98
84
|
disconnectedCallback() {
|
|
99
85
|
const ctor = this.constructor;
|
|
100
86
|
ctor.polyfillDisconnectedCallback(this);
|
|
@@ -103,6 +89,12 @@ export class FormBase extends HTMLFormElement {
|
|
|
103
89
|
const ctor = this.constructor;
|
|
104
90
|
ctor.polyfillConnectedCallback(this);
|
|
105
91
|
}
|
|
92
|
+
}
|
|
93
|
+
export class FormBase extends HTMLFormElement {
|
|
94
|
+
static polyfillExtends = 'form';
|
|
95
|
+
static polyfillConnectedCallback(el) { }
|
|
96
|
+
static polyfillDisconnectedCallback(el) { }
|
|
97
|
+
static polyfillAttributeChangedCallback(entries) { } //MutationRecord[]) {}
|
|
106
98
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
107
99
|
const ctor = this.constructor;
|
|
108
100
|
const entry = {
|
|
@@ -112,4 +104,12 @@ export class FormBase extends HTMLFormElement {
|
|
|
112
104
|
};
|
|
113
105
|
ctor.polyfillAttributeChangedCallback([entry]);
|
|
114
106
|
}
|
|
107
|
+
disconnectedCallback() {
|
|
108
|
+
const ctor = this.constructor;
|
|
109
|
+
ctor.polyfillDisconnectedCallback(this);
|
|
110
|
+
}
|
|
111
|
+
connectedCallback() {
|
|
112
|
+
const ctor = this.constructor;
|
|
113
|
+
ctor.polyfillConnectedCallback(this);
|
|
114
|
+
}
|
|
115
115
|
}
|
package/package.json
CHANGED
package/scss/utils/_index.scss
CHANGED
|
@@ -25,16 +25,35 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
@each $k,
|
|
29
|
+
$v
|
|
30
|
+
in (
|
|
31
|
+
secondary: --secondary,
|
|
32
|
+
blue: --blue,
|
|
33
|
+
red: --red,
|
|
34
|
+
green: --green,
|
|
35
|
+
orange: --orange,
|
|
36
|
+
'blue.secondary': --blue2,
|
|
37
|
+
'red.secondary': --red2,
|
|
38
|
+
'green.secondary': --green2,
|
|
39
|
+
'orange.secondary': --orange2,
|
|
40
|
+
'blue.tertiary': --blue3,
|
|
41
|
+
'red.tertiary': --red3,
|
|
42
|
+
'green.tertiary': --green3,
|
|
43
|
+
'orange.tertiary': --orange3,
|
|
44
|
+
'blue.quaternary': --blue4,
|
|
45
|
+
'red.quaternary': --red4,
|
|
46
|
+
'green.quaternary': --green4,
|
|
47
|
+
'orange.quaternary': --orange4,
|
|
48
|
+
'blue.quinary': --blue5,
|
|
49
|
+
'red.quinary': --red5,
|
|
50
|
+
'green.quinary': --green5,
|
|
51
|
+
'orange.quinary': --orange5
|
|
52
|
+
)
|
|
53
|
+
{
|
|
54
|
+
:where([foreground='#{"" + $k}']) {
|
|
55
|
+
color: var(#{$v});
|
|
56
|
+
}
|
|
38
57
|
}
|
|
39
58
|
|
|
40
59
|
@each $tint in gray, blue, red, green, orange {
|