@byline/richtext-lexical 6.10.1 → 6.11.0
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/dist/field/content-editable.css +22 -18
- package/dist/field/editor-component.css +33 -29
- package/dist/field/editor.css +1218 -1214
- package/dist/field/extensions/admonition/admonition-modal.css +20 -16
- package/dist/field/extensions/admonition/admonition-node.css +114 -110
- package/dist/field/extensions/admonition/icons/danger-icon.css +13 -9
- package/dist/field/extensions/admonition/icons/note-icon.css +13 -9
- package/dist/field/extensions/admonition/icons/tip-icon.css +13 -9
- package/dist/field/extensions/admonition/icons/warning-icon.css +13 -9
- package/dist/field/extensions/auto-embed/auto-embed-modal.css +14 -10
- package/dist/field/extensions/floating-text-format/index.css +130 -126
- package/dist/field/extensions/inline-image/inline-image-modal.css +120 -116
- package/dist/field/extensions/inline-image/inline-image-node-component.css +243 -239
- package/dist/field/extensions/layout/insert-layout-modal.css +16 -12
- package/dist/field/extensions/link/floating-link-editor.css +113 -109
- package/dist/field/extensions/link/link-target-fields.css +61 -57
- package/dist/field/normalize/adapted-notice.css +2 -4
- package/dist/field/plugins/table-plugin/table-modal.css +17 -13
- package/dist/field/themes/lexical-editor-theme.css +471 -467
- package/dist/field/ui/button.css +28 -24
- package/dist/field/ui/checkbox.css +43 -39
- package/dist/field/ui/color-picker.css +69 -65
- package/dist/field/ui/dialog.css +18 -14
- package/dist/field/ui/input.css +23 -19
- package/dist/field/ui/modal.css +66 -62
- package/dist/field/ui/placeholder.css +25 -21
- package/dist/field/ui/select.css +32 -28
- package/dist/field/ui/text-area.css +29 -25
- package/dist/richtext-field_module.css +21 -17
- package/package.json +6 -6
- package/src/field/content-editable.css +31 -17
- package/src/field/editor-component.css +56 -40
- package/src/field/editor.css +1248 -1232
- package/src/field/extensions/admonition/admonition-modal.css +32 -16
- package/src/field/extensions/admonition/admonition-node.css +105 -89
- package/src/field/extensions/admonition/icons/danger-icon.css +25 -9
- package/src/field/extensions/admonition/icons/note-icon.css +25 -9
- package/src/field/extensions/admonition/icons/tip-icon.css +25 -9
- package/src/field/extensions/admonition/icons/warning-icon.css +25 -9
- package/src/field/extensions/auto-embed/auto-embed-modal.css +25 -9
- package/src/field/extensions/floating-text-format/index.css +142 -126
- package/src/field/extensions/inline-image/inline-image-modal.css +144 -128
- package/src/field/extensions/inline-image/inline-image-node-component.css +258 -242
- package/src/field/extensions/layout/insert-layout-modal.css +28 -12
- package/src/field/extensions/link/floating-link-editor.css +129 -113
- package/src/field/extensions/link/link-target-fields.css +68 -52
- package/src/field/normalize/adapted-notice.css +5 -4
- package/src/field/plugins/table-plugin/table-modal.css +29 -13
- package/src/field/themes/lexical-editor-theme.css +508 -494
- package/src/field/ui/button.css +46 -30
- package/src/field/ui/checkbox.css +62 -46
- package/src/field/ui/color-picker.css +89 -73
- package/src/field/ui/dialog.css +30 -14
- package/src/field/ui/input.css +38 -22
- package/src/field/ui/modal.css +81 -65
- package/src/field/ui/placeholder.css +36 -20
- package/src/field/ui/select.css +46 -30
- package/src/field/ui/text-area.css +45 -29
- package/src/richtext-field.module.css +38 -22
package/dist/field/ui/button.css
CHANGED
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
.
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
background-color: #eee;
|
|
4
|
-
border: 0;
|
|
5
|
-
border-radius: 5px;
|
|
6
|
-
padding: 10px 15px;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
9
2
|
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
.Button__root {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
background-color: #eee;
|
|
7
|
+
border: 0;
|
|
8
|
+
border-radius: 5px;
|
|
9
|
+
padding: 10px 15px;
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
}
|
|
13
12
|
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
13
|
+
.Button__root:hover {
|
|
14
|
+
background-color: #ddd;
|
|
15
|
+
}
|
|
18
16
|
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
.Button__small {
|
|
18
|
+
padding: 5px 10px;
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
}
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
.Button__disabled:hover {
|
|
23
|
+
background-color: #eee;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-theme="dark"] .Button__root {
|
|
27
|
+
color: #ccc;
|
|
28
|
+
background-color: #222;
|
|
29
|
+
}
|
|
27
30
|
|
|
28
|
-
[data-theme="dark"] .Button__root:hover {
|
|
29
|
-
|
|
31
|
+
[data-theme="dark"] .Button__root:hover {
|
|
32
|
+
background-color: #282828;
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
35
|
|
|
@@ -1,46 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
position: absolute;
|
|
3
|
-
left: -9999px;
|
|
4
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
5
2
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
display: inline-block;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
[type="checkbox"]:checked, [type="checkbox"]:not(:checked) {
|
|
5
|
+
position: absolute;
|
|
6
|
+
left: -9999px;
|
|
7
|
+
}
|
|
14
8
|
|
|
15
|
-
[type="checkbox"]:checked + label
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
right: 0;
|
|
24
|
-
}
|
|
9
|
+
[type="checkbox"]:checked + label, [type="checkbox"]:not(:checked) + label {
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
color: #666;
|
|
12
|
+
padding-right: 55px;
|
|
13
|
+
line-height: 20px;
|
|
14
|
+
display: inline-block;
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
25
17
|
|
|
26
|
-
[type="checkbox"]:checked + label:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
18
|
+
[type="checkbox"]:checked + label:before, [type="checkbox"]:not(:checked) + label:before {
|
|
19
|
+
content: "";
|
|
20
|
+
background: #fff;
|
|
21
|
+
border: 1px solid #666;
|
|
22
|
+
width: 18px;
|
|
23
|
+
height: 18px;
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 0;
|
|
26
|
+
right: 0;
|
|
27
|
+
}
|
|
36
28
|
|
|
37
|
-
[type="checkbox"]:not(:checked) + label:after {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
29
|
+
[type="checkbox"]:checked + label:after, [type="checkbox"]:not(:checked) + label:after {
|
|
30
|
+
content: "";
|
|
31
|
+
background: #222;
|
|
32
|
+
width: 8px;
|
|
33
|
+
height: 8px;
|
|
34
|
+
transition: all .2s;
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 6px;
|
|
37
|
+
right: 6px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[type="checkbox"]:not(:checked) + label:after {
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transform: scale(0);
|
|
43
|
+
}
|
|
41
44
|
|
|
42
|
-
[type="checkbox"]:checked + label:after {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
[type="checkbox"]:checked + label:after {
|
|
46
|
+
opacity: 1;
|
|
47
|
+
transform: scale(1);
|
|
48
|
+
}
|
|
45
49
|
}
|
|
46
50
|
|
|
@@ -1,75 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
padding: 20px;
|
|
3
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
4
2
|
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
padding: 0;
|
|
10
|
-
display: flex;
|
|
11
|
-
}
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
.color-picker-wrapper {
|
|
5
|
+
padding: 20px;
|
|
6
|
+
}
|
|
12
7
|
|
|
13
|
-
.color-picker-basic-color
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
8
|
+
.color-picker-basic-color {
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
gap: 10px;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
display: flex;
|
|
14
|
+
}
|
|
21
15
|
|
|
22
|
-
.color-picker-basic-color button
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
.color-picker-basic-color button {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
border: 1px solid #ccc;
|
|
19
|
+
border-radius: 4px;
|
|
20
|
+
width: 16px;
|
|
21
|
+
height: 16px;
|
|
22
|
+
list-style-type: none;
|
|
23
|
+
}
|
|
25
24
|
|
|
26
|
-
.color-picker-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
background-image: linear-gradient(#0000, #000), linear-gradient(to right, #fff, #0000);
|
|
30
|
-
width: 100%;
|
|
31
|
-
height: 150px;
|
|
32
|
-
margin-top: 15px;
|
|
33
|
-
position: relative;
|
|
34
|
-
}
|
|
25
|
+
.color-picker-basic-color button.active {
|
|
26
|
+
box-shadow: 0 0 2px 2px #0000004d;
|
|
27
|
+
}
|
|
35
28
|
|
|
36
|
-
.color-picker-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
29
|
+
.color-picker-saturation {
|
|
30
|
+
-webkit-user-select: none;
|
|
31
|
+
user-select: none;
|
|
32
|
+
background-image: linear-gradient(#0000, #000), linear-gradient(to right, #fff, #0000);
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 150px;
|
|
35
|
+
margin-top: 15px;
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
46
38
|
|
|
47
|
-
.color-picker-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
39
|
+
.color-picker-saturation_cursor {
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
border: 2px solid #fff;
|
|
42
|
+
border-radius: 50%;
|
|
43
|
+
width: 20px;
|
|
44
|
+
height: 20px;
|
|
45
|
+
position: absolute;
|
|
46
|
+
transform: translate(-10px, -10px);
|
|
47
|
+
box-shadow: 0 0 15px #00000026;
|
|
48
|
+
}
|
|
57
49
|
|
|
58
|
-
.color-picker-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
50
|
+
.color-picker-hue {
|
|
51
|
+
-webkit-user-select: none;
|
|
52
|
+
user-select: none;
|
|
53
|
+
background-image: linear-gradient(to right, red, #ff0, #0f0, #0ff, #00f, #f0f, red);
|
|
54
|
+
border-radius: 12px;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 12px;
|
|
57
|
+
margin-top: 15px;
|
|
58
|
+
position: relative;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.color-picker-hue_cursor {
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
border: 2px solid #fff;
|
|
64
|
+
border-radius: 50%;
|
|
65
|
+
width: 20px;
|
|
66
|
+
height: 20px;
|
|
67
|
+
position: absolute;
|
|
68
|
+
transform: translate(-10px, -4px);
|
|
69
|
+
box-shadow: 0 0 0 .5px #0003;
|
|
70
|
+
}
|
|
68
71
|
|
|
69
|
-
.color-picker-color {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
.color-picker-color {
|
|
73
|
+
border: 1px solid #ccc;
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 20px;
|
|
76
|
+
margin-top: 15px;
|
|
77
|
+
}
|
|
74
78
|
}
|
|
75
79
|
|
package/dist/field/ui/dialog.css
CHANGED
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
.
|
|
2
|
-
flex-direction: row;
|
|
3
|
-
justify-content: right;
|
|
4
|
-
margin-top: 20px;
|
|
5
|
-
display: flex;
|
|
6
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
7
2
|
|
|
8
|
-
.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
.DialogActions {
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
justify-content: right;
|
|
7
|
+
margin-top: 20px;
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.DialogButtonsList {
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
justify-content: right;
|
|
14
|
+
margin-top: 20px;
|
|
15
|
+
display: flex;
|
|
16
|
+
}
|
|
14
17
|
|
|
15
|
-
.DialogButtonsList button {
|
|
16
|
-
|
|
18
|
+
.DialogButtonsList button {
|
|
19
|
+
margin-bottom: 20px;
|
|
20
|
+
}
|
|
17
21
|
}
|
|
18
22
|
|
package/dist/field/ui/input.css
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
.
|
|
2
|
-
flex-direction: row;
|
|
3
|
-
align-items: center;
|
|
4
|
-
margin-bottom: 10px;
|
|
5
|
-
display: flex;
|
|
6
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
7
2
|
|
|
8
|
-
.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
.Input__wrapper {
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: center;
|
|
7
|
+
margin-bottom: 10px;
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.Input__label {
|
|
12
|
+
color: #666;
|
|
13
|
+
flex: 1;
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
13
16
|
|
|
14
|
-
.Input__input {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
.Input__input {
|
|
18
|
+
border: 1px solid #999;
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
flex: 2;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
padding: 7px 10px;
|
|
23
|
+
font-size: 16px;
|
|
24
|
+
display: flex;
|
|
25
|
+
}
|
|
22
26
|
}
|
|
23
27
|
|
package/dist/field/ui/modal.css
CHANGED
|
@@ -1,73 +1,77 @@
|
|
|
1
|
-
.
|
|
2
|
-
flex-direction: column;
|
|
3
|
-
flex-grow: 0px;
|
|
4
|
-
flex-shrink: 1px;
|
|
5
|
-
z-index: 100;
|
|
6
|
-
background-color: #28282899;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
display: flex;
|
|
10
|
-
position: fixed;
|
|
11
|
-
inset: 0;
|
|
12
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
13
2
|
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
.Modal__overlay {
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
flex-grow: 0px;
|
|
7
|
+
flex-shrink: 1px;
|
|
8
|
+
z-index: 100;
|
|
9
|
+
background-color: #28282899;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
display: flex;
|
|
13
|
+
position: fixed;
|
|
14
|
+
inset: 0;
|
|
15
|
+
}
|
|
26
16
|
|
|
27
|
-
.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
.Modal__modal {
|
|
18
|
+
flex-grow: 0px;
|
|
19
|
+
background-color: #fff;
|
|
20
|
+
border-radius: 10px;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
min-width: 300px;
|
|
23
|
+
min-height: 100px;
|
|
24
|
+
padding: 20px;
|
|
25
|
+
display: flex;
|
|
26
|
+
position: relative;
|
|
27
|
+
box-shadow: 0 0 20px #444;
|
|
28
|
+
}
|
|
34
29
|
|
|
35
|
-
.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
align-items: center;
|
|
43
|
-
width: 30px;
|
|
44
|
-
height: 30px;
|
|
45
|
-
display: flex;
|
|
46
|
-
position: absolute;
|
|
47
|
-
right: 20px;
|
|
48
|
-
}
|
|
30
|
+
.Modal__title {
|
|
31
|
+
color: #444;
|
|
32
|
+
border-bottom: 1px solid #ccc;
|
|
33
|
+
margin: 0;
|
|
34
|
+
padding-bottom: 10px;
|
|
35
|
+
font-size: 1.4rem;
|
|
36
|
+
}
|
|
49
37
|
|
|
50
|
-
.Modal__closeButton
|
|
51
|
-
|
|
52
|
-
|
|
38
|
+
.Modal__closeButton {
|
|
39
|
+
text-align: center;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
background-color: #eee;
|
|
42
|
+
border: 0;
|
|
43
|
+
border-radius: 20px;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
align-items: center;
|
|
46
|
+
width: 30px;
|
|
47
|
+
height: 30px;
|
|
48
|
+
display: flex;
|
|
49
|
+
position: absolute;
|
|
50
|
+
right: 20px;
|
|
51
|
+
}
|
|
53
52
|
|
|
54
|
-
.
|
|
55
|
-
|
|
56
|
-
}
|
|
53
|
+
.Modal__closeButton:hover {
|
|
54
|
+
background-color: #ddd;
|
|
55
|
+
}
|
|
57
56
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
57
|
+
.Modal__content {
|
|
58
|
+
padding-top: 20px;
|
|
59
|
+
}
|
|
61
60
|
|
|
62
|
-
[data-theme="dark"] .
|
|
63
|
-
|
|
64
|
-
}
|
|
61
|
+
[data-theme="dark"] .Modal__modal {
|
|
62
|
+
background-color: #111;
|
|
63
|
+
}
|
|
65
64
|
|
|
66
|
-
[data-theme="dark"] .Modal__closeButton
|
|
67
|
-
|
|
68
|
-
}
|
|
65
|
+
[data-theme="dark"] .Modal__closeButton {
|
|
66
|
+
background-color: #222;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[data-theme="dark"] .Modal__closeButton:hover {
|
|
70
|
+
background-color: #282828;
|
|
71
|
+
}
|
|
69
72
|
|
|
70
|
-
[data-theme="dark"] .Modal__title {
|
|
71
|
-
|
|
73
|
+
[data-theme="dark"] .Modal__title {
|
|
74
|
+
color: #ccc;
|
|
75
|
+
}
|
|
72
76
|
}
|
|
73
77
|
|
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
.
|
|
2
|
-
color: #999;
|
|
3
|
-
text-overflow: ellipsis;
|
|
4
|
-
-webkit-user-select: none;
|
|
5
|
-
user-select: none;
|
|
6
|
-
white-space: nowrap;
|
|
7
|
-
pointer-events: none;
|
|
8
|
-
font-size: 15px;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 8px;
|
|
12
|
-
left: 2px;
|
|
13
|
-
right: 0;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.Placeholder__with_draggable_blocks {
|
|
18
|
-
left: 22px;
|
|
19
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
20
2
|
|
|
21
|
-
@
|
|
22
|
-
.
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
.Placeholder__root {
|
|
5
|
+
color: #999;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
-webkit-user-select: none;
|
|
8
|
+
user-select: none;
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
font-size: 15px;
|
|
12
|
+
display: inline-block;
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 8px;
|
|
23
15
|
left: 2px;
|
|
16
|
+
right: 0;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.Placeholder__with_draggable_blocks {
|
|
21
|
+
left: 22px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (max-width: 1025px) {
|
|
25
|
+
.ContentEditable__root {
|
|
26
|
+
left: 2px;
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
|
package/dist/field/ui/select.css
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
appearance: none;
|
|
3
|
-
font-family: inherit;
|
|
4
|
-
font-size: inherit;
|
|
5
|
-
cursor: inherit;
|
|
6
|
-
line-height: inherit;
|
|
7
|
-
z-index: 1;
|
|
8
|
-
background-color: #0000;
|
|
9
|
-
border: none;
|
|
10
|
-
outline: none;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0 1em 0 0;
|
|
13
|
-
}
|
|
1
|
+
@layer base, byline-base, theme, byline-theme, byline-functional, byline-typography, components, byline-components, overrides, byline-utilities, utilities, byline-components.primitives;
|
|
14
2
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
3
|
+
@layer byline-components.cms {
|
|
4
|
+
select {
|
|
5
|
+
appearance: none;
|
|
6
|
+
font-family: inherit;
|
|
7
|
+
font-size: inherit;
|
|
8
|
+
cursor: inherit;
|
|
9
|
+
line-height: inherit;
|
|
10
|
+
z-index: 1;
|
|
11
|
+
background-color: #0000;
|
|
12
|
+
border: none;
|
|
13
|
+
outline: none;
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0 1em 0 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:root {
|
|
19
|
+
--select-border: #393939;
|
|
20
|
+
--select-focus: #101484;
|
|
21
|
+
--select-arrow: var(--select-border);
|
|
22
|
+
}
|
|
20
23
|
|
|
21
|
-
.select {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
.select {
|
|
25
|
+
border: 1px solid var(--select-border);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
background: linear-gradient(#fff 0%, #e5e5e5 100%);
|
|
28
|
+
border-radius: .25em;
|
|
29
|
+
min-width: 160px;
|
|
30
|
+
max-width: 290px;
|
|
31
|
+
padding: .25em .5em;
|
|
32
|
+
font-size: 1rem;
|
|
33
|
+
line-height: 1.4;
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
36
|
|