@blockquote-web-components/blockquote-base-embedded-webview 1.13.4 → 1.13.6
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/package.json +3 -3
- package/src/styles/blockquote-base-embedded-webview-element-styles.css.js +2 -2
- package/src/styles/blockquote-base-embedded-webview-resize-styles.css.js +26 -26
- package/src/styles/blockquote-base-embedded-webview-size-styles.css.js +9 -9
- package/src/styles/blockquote-base-embedded-webview-styles.css.js +18 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockquote-web-components/blockquote-base-embedded-webview",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.6",
|
|
4
4
|
"description": "Webcomponent blockquote-base-embedded-webview following open-wc recommendations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit",
|
|
@@ -149,11 +149,11 @@
|
|
|
149
149
|
},
|
|
150
150
|
"devDependencies": {
|
|
151
151
|
"@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.12.3",
|
|
152
|
-
"@blockquote-web-components/blockquote-foundations-sass": "^1.1.
|
|
152
|
+
"@blockquote-web-components/blockquote-foundations-sass": "^1.1.7"
|
|
153
153
|
},
|
|
154
154
|
"publishConfig": {
|
|
155
155
|
"access": "public"
|
|
156
156
|
},
|
|
157
157
|
"customElements": "custom-elements.json",
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "a18c21702f2d549b46d6793e9c89ee5776d1aea5"
|
|
159
159
|
}
|
|
@@ -39,7 +39,7 @@ export const styles = css`
|
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
align-items: center;
|
|
42
|
-
|
|
42
|
+
block-size: inherit;
|
|
43
43
|
padding: calc(var(--__resizer-factor) * 1) 0 calc(var(--__resizer-factor) * 2);
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -57,12 +57,12 @@ export const styles = css`
|
|
|
57
57
|
.rect {
|
|
58
58
|
position: relative;
|
|
59
59
|
align-self: center;
|
|
60
|
-
min-
|
|
61
|
-
min-
|
|
62
|
-
max-
|
|
63
|
-
max-
|
|
64
|
-
|
|
65
|
-
|
|
60
|
+
min-inline-size: var(--_rect-min-width);
|
|
61
|
+
min-block-size: var(--_rect-min-height);
|
|
62
|
+
max-inline-size: var(--_rect-max-width);
|
|
63
|
+
max-block-size: var(--_rect-max-height);
|
|
64
|
+
inline-size: var(--_rect-width);
|
|
65
|
+
block-size: var(--_rect-height);
|
|
66
66
|
transform: translateZ(0);
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -71,25 +71,25 @@ export const styles = css`
|
|
|
71
71
|
display: block;
|
|
72
72
|
position: absolute;
|
|
73
73
|
background-color: var(--_resizer-bgcolor);
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
inline-size: 100%;
|
|
75
|
+
block-size: 100%;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.resizer::after {
|
|
79
79
|
content: url("data:image/svg+xml,%0A%3Csvg width='6' height='26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='2' height='26' rx='1' fill='%23848282'/%3E%3Crect x='4' width='2' height='26' rx='1' fill='%23848282'/%3E%3C/svg%3E");
|
|
80
80
|
position: absolute;
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
inset-block-start: 50%;
|
|
82
|
+
inset-inline-start: 50%;
|
|
83
83
|
transform: translateX(-50%);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.resizer-n {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
border-
|
|
92
|
-
border-
|
|
87
|
+
block-size: calc(var(--__resizer-factor) / 4);
|
|
88
|
+
inset-block-start: calc(var(--__resizer-factor) / 4 * -1);
|
|
89
|
+
inset-inline-start: calc(var(--__resizer-factor) * -1);
|
|
90
|
+
inline-size: calc(100% + var(--__resizer-factor) * 2);
|
|
91
|
+
border-start-start-radius: calc(var(--__resizer-factor) / 10);
|
|
92
|
+
border-start-end-radius: calc(var(--__resizer-factor) / 10);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.resizer-n::after {
|
|
@@ -98,7 +98,7 @@ export const styles = css`
|
|
|
98
98
|
|
|
99
99
|
.resizer-se {
|
|
100
100
|
cursor: nwse-resize;
|
|
101
|
-
border-
|
|
101
|
+
border-end-end-radius: calc(var(--__resizer-factor) / 10);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.resizer-se::after {
|
|
@@ -107,7 +107,7 @@ export const styles = css`
|
|
|
107
107
|
|
|
108
108
|
.resizer-sw {
|
|
109
109
|
cursor: nesw-resize;
|
|
110
|
-
border-
|
|
110
|
+
border-end-start-radius: calc(var(--__resizer-factor) / 10);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.resizer-sw::after {
|
|
@@ -116,24 +116,24 @@ export const styles = css`
|
|
|
116
116
|
|
|
117
117
|
.resizer-se,
|
|
118
118
|
.resizer-e {
|
|
119
|
-
|
|
119
|
+
inset-inline-end: calc(var(--__resizer-factor) * -1);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.resizer-se,
|
|
123
123
|
.resizer-sw,
|
|
124
124
|
.resizer-s {
|
|
125
|
-
|
|
125
|
+
inset-block-end: calc(var(--__resizer-factor) * -1);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.resizer-w,
|
|
129
129
|
.resizer-sw {
|
|
130
|
-
|
|
130
|
+
inset-inline-start: calc(var(--__resizer-factor) * -1);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.resizer-se,
|
|
134
134
|
.resizer-sw {
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
block-size: var(--__resizer-factor);
|
|
136
|
+
inline-size: var(--__resizer-factor);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
.resizer-se::after,
|
|
@@ -148,7 +148,7 @@ export const styles = css`
|
|
|
148
148
|
|
|
149
149
|
.resizer-s {
|
|
150
150
|
cursor: ns-resize;
|
|
151
|
-
|
|
151
|
+
block-size: var(--__resizer-factor);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.resizer-s::after {
|
|
@@ -163,7 +163,7 @@ export const styles = css`
|
|
|
163
163
|
.resizer-e,
|
|
164
164
|
.resizer-w {
|
|
165
165
|
cursor: ew-resize;
|
|
166
|
-
|
|
166
|
+
inline-size: var(--__resizer-factor);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.resizer-e:hover,
|
|
@@ -51,19 +51,19 @@ export const styles = css`
|
|
|
51
51
|
font: inherit;
|
|
52
52
|
margin: 0;
|
|
53
53
|
padding: 0;
|
|
54
|
-
|
|
54
|
+
block-size: inherit;
|
|
55
55
|
text-align: inherit;
|
|
56
56
|
text-decoration: none;
|
|
57
57
|
text-transform: inherit;
|
|
58
58
|
text-shadow: inherit;
|
|
59
59
|
letter-spacing: inherit;
|
|
60
60
|
word-spacing: inherit;
|
|
61
|
-
|
|
61
|
+
inline-size: auto;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.rect {
|
|
65
65
|
overflow: hidden;
|
|
66
|
-
|
|
66
|
+
block-size: var(--_rect-height);
|
|
67
67
|
position: relative;
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
@@ -88,11 +88,11 @@ export const styles = css`
|
|
|
88
88
|
.rect [aria-disabled='true']::after {
|
|
89
89
|
content: '';
|
|
90
90
|
display: block;
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
block-size: 1px;
|
|
92
|
+
inline-size: calc(100% + 2rem);
|
|
93
93
|
position: absolute;
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
inset-inline-start: 50%;
|
|
95
|
+
inset-block-start: 50%;
|
|
96
96
|
transform: translate(-50%, -50%);
|
|
97
97
|
background-image: linear-gradient(90deg, rgb(0, 0, 0, 0), rgb(0, 0, 0), rgb(0, 0, 0, 0));
|
|
98
98
|
}
|
|
@@ -100,8 +100,8 @@ export const styles = css`
|
|
|
100
100
|
button {
|
|
101
101
|
position: absolute;
|
|
102
102
|
background-color: var(--_button-bgcolor);
|
|
103
|
-
border-
|
|
104
|
-
border-
|
|
103
|
+
border-inline-start: 1px solid var(--_button-border-color);
|
|
104
|
+
border-inline-end: 1px solid var(--_button-border-color);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
button span {
|
|
@@ -15,8 +15,8 @@ export const styles = css`
|
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
box-sizing: border-box;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
inline-size: 100%;
|
|
19
|
+
block-size: 100%;
|
|
20
20
|
color: var(--_host-color);
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -27,8 +27,8 @@ export const styles = css`
|
|
|
27
27
|
|
|
28
28
|
.sr-only {
|
|
29
29
|
position: absolute;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
inline-size: 1px;
|
|
31
|
+
block-size: 1px;
|
|
32
32
|
padding: 0;
|
|
33
33
|
margin: -1px;
|
|
34
34
|
overflow: hidden;
|
|
@@ -44,7 +44,7 @@ export const styles = css`
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:host([limit-height]) .main {
|
|
47
|
-
|
|
47
|
+
block-size: inherit;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
*,
|
|
@@ -55,14 +55,14 @@ export const styles = css`
|
|
|
55
55
|
|
|
56
56
|
header > div {
|
|
57
57
|
position: relative;
|
|
58
|
-
max-
|
|
58
|
+
max-inline-size: 80rem;
|
|
59
59
|
margin: 0 auto;
|
|
60
60
|
padding: 0.5rem 1.5rem;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
[role='heading'] {
|
|
64
64
|
font-size: 1.25rem;
|
|
65
|
-
margin-
|
|
65
|
+
margin-block-end: 0.5rem;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
[role='heading'] + div {
|
|
@@ -71,9 +71,9 @@ export const styles = css`
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.open-externally {
|
|
74
|
-
|
|
74
|
+
inline-size: 1rem;
|
|
75
75
|
display: inline-block;
|
|
76
|
-
margin-
|
|
76
|
+
margin-inline-start: 1rem;
|
|
77
77
|
color: inherit;
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -92,7 +92,7 @@ export const styles = css`
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.select svg {
|
|
95
|
-
|
|
95
|
+
inline-size: 0.875rem;
|
|
96
96
|
justify-self: end;
|
|
97
97
|
pointer-events: none;
|
|
98
98
|
}
|
|
@@ -105,15 +105,15 @@ export const styles = css`
|
|
|
105
105
|
font: inherit;
|
|
106
106
|
background-color: transparent;
|
|
107
107
|
border: none;
|
|
108
|
-
border-
|
|
108
|
+
border-block-end: 0.125rem solid var(--_select-bgcolor);
|
|
109
109
|
padding: 0.25em 1em 0.25em 0;
|
|
110
110
|
margin: 0;
|
|
111
|
-
|
|
111
|
+
inline-size: 100%;
|
|
112
112
|
cursor: pointer;
|
|
113
113
|
outline: none;
|
|
114
114
|
border-radius: 0;
|
|
115
|
-
min-
|
|
116
|
-
max-
|
|
115
|
+
min-inline-size: 10ch;
|
|
116
|
+
max-inline-size: 18ch;
|
|
117
117
|
white-space: nowrap;
|
|
118
118
|
overflow: hidden;
|
|
119
119
|
text-overflow: ellipsis;
|
|
@@ -122,7 +122,7 @@ export const styles = css`
|
|
|
122
122
|
|
|
123
123
|
.select select:hover,
|
|
124
124
|
.select select:focus {
|
|
125
|
-
border-
|
|
125
|
+
border-block-end-color: currentcolor;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.description {
|
|
@@ -139,13 +139,13 @@ export const styles = css`
|
|
|
139
139
|
letter-spacing: 0.0156rem;
|
|
140
140
|
position: fixed;
|
|
141
141
|
z-index: 1;
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
inset-inline-end: 0.375rem;
|
|
143
|
+
inset-block-start: 0.3125rem;
|
|
144
144
|
opacity: 0;
|
|
145
145
|
transition: opacity 90ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
blockquote-base-embedded-webview-resize {
|
|
149
|
-
overflow-
|
|
149
|
+
overflow-inline: hidden;
|
|
150
150
|
}
|
|
151
151
|
`;
|