@squiz/formatted-text-editor 2.6.2 → 2.6.3
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/CHANGELOG.md +6 -0
- package/lib/index.css +48 -7
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
package/lib/index.css
CHANGED
@@ -3076,6 +3076,12 @@
|
|
3076
3076
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
|
3077
3077
|
padding: 1rem;
|
3078
3078
|
}
|
3079
|
+
.squiz-fte-scope .sds-row.no-border {
|
3080
|
+
box-shadow: none;
|
3081
|
+
}
|
3082
|
+
.squiz-fte-scope .sds-row.no-children .sds-row__header-text {
|
3083
|
+
margin-bottom: 0;
|
3084
|
+
}
|
3079
3085
|
.squiz-fte-scope .sds-row__title {
|
3080
3086
|
font-size: 1.25rem;
|
3081
3087
|
font-weight: 600;
|
@@ -3083,14 +3089,43 @@
|
|
3083
3089
|
line-height: 1.5rem;
|
3084
3090
|
color: #3d3d3d;
|
3085
3091
|
display: block;
|
3086
|
-
margin-bottom: 0.75rem;
|
3087
3092
|
}
|
3088
3093
|
.squiz-fte-scope .sds-row__title .svg-wrapper svg {
|
3089
3094
|
fill: #3d3d3d;
|
3090
3095
|
}
|
3091
|
-
.squiz-fte-scope .sds-
|
3092
|
-
|
3093
|
-
|
3096
|
+
.squiz-fte-scope .sds-row__subtitle {
|
3097
|
+
color: #4f4f4f;
|
3098
|
+
}
|
3099
|
+
.squiz-fte-scope .sds-row__header-text {
|
3100
|
+
display: flex;
|
3101
|
+
flex-direction: column;
|
3102
|
+
gap: 0.75rem;
|
3103
|
+
margin-bottom: 0.75rem;
|
3104
|
+
}
|
3105
|
+
@media screen and (max-width: 768px) {
|
3106
|
+
.squiz-fte-scope .sds-row__header-text {
|
3107
|
+
width: 100%;
|
3108
|
+
}
|
3109
|
+
.squiz-fte-scope .sds-row__header-actions {
|
3110
|
+
margin-top: 0.5rem;
|
3111
|
+
width: 100%;
|
3112
|
+
}
|
3113
|
+
.squiz-fte-scope .sds-row__header-actions .sds-button {
|
3114
|
+
display: grid;
|
3115
|
+
place-items: center;
|
3116
|
+
width: 100%;
|
3117
|
+
}
|
3118
|
+
}
|
3119
|
+
.squiz-fte-scope .sds-row__header {
|
3120
|
+
align-items: center;
|
3121
|
+
display: flex;
|
3122
|
+
flex-direction: column;
|
3123
|
+
justify-content: space-between;
|
3124
|
+
}
|
3125
|
+
@media screen and (min-width: 768px) {
|
3126
|
+
.squiz-fte-scope .sds-row__header {
|
3127
|
+
flex-direction: row;
|
3128
|
+
}
|
3094
3129
|
}
|
3095
3130
|
.squiz-fte-scope .sds-heading--level-1 {
|
3096
3131
|
font-size: 1.625rem;
|
@@ -4452,9 +4487,6 @@
|
|
4452
4487
|
}
|
4453
4488
|
|
4454
4489
|
/* ../../node_modules/@squiz/dxp-content-tools-modal/lib/package.css */
|
4455
|
-
.dxp-ctm-section .squiz-fte-scope.squiz-fte-scope__editor.squiz-fte-scope__editor--is-disabled.squiz-fte-scope__editor--bordered {
|
4456
|
-
overflow-y: scroll;
|
4457
|
-
}
|
4458
4490
|
@keyframes skeleton-pulse {
|
4459
4491
|
0% {
|
4460
4492
|
opacity: 1;
|
@@ -4495,6 +4527,7 @@
|
|
4495
4527
|
display: flex;
|
4496
4528
|
flex: 1;
|
4497
4529
|
flex-direction: column;
|
4530
|
+
max-width: calc(50% - 1rem * 2);
|
4498
4531
|
padding: 1rem;
|
4499
4532
|
}
|
4500
4533
|
.squiz-fte-scope .dxp-ctm-content > .dxp-ctm-section > .squiz-fte-scope {
|
@@ -4503,6 +4536,14 @@
|
|
4503
4536
|
.squiz-fte-scope .dxp-ctm-content > .dxp-ctm-section > .squiz-fte-scope:not(.dxp-ctm-section__spinner) {
|
4504
4537
|
background-color: #fff;
|
4505
4538
|
}
|
4539
|
+
.dxp-ctm-section .squiz-fte-scope.squiz-fte-scope__editor.squiz-fte-scope__editor--is-disabled.squiz-fte-scope__editor--bordered {
|
4540
|
+
overflow-y: scroll;
|
4541
|
+
}
|
4542
|
+
.squiz-fte-scope .dxp-ctm-section__viperTextInput {
|
4543
|
+
background-color: #fff !important;
|
4544
|
+
flex-grow: 1;
|
4545
|
+
overflow-y: auto;
|
4546
|
+
}
|
4506
4547
|
.squiz-fte-scope .dxp-ctm-dialog .sds-dialog__content {
|
4507
4548
|
max-height: 100%;
|
4508
4549
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@squiz/formatted-text-editor",
|
3
|
-
"version": "2.6.
|
3
|
+
"version": "2.6.3",
|
4
4
|
"main": "lib/index.js",
|
5
5
|
"types": "lib/index.d.ts",
|
6
6
|
"private": false,
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"@remirror/extension-react-tables": "^2.2.21",
|
27
27
|
"@remirror/react": "2.0.35",
|
28
28
|
"@squiz/dx-json-schema-lib": "^1.74.1",
|
29
|
-
"@squiz/dxp-content-tools-modal": "^0.
|
29
|
+
"@squiz/dxp-content-tools-modal": "^0.4.0",
|
30
30
|
"clsx": "2.1.1",
|
31
31
|
"react-hook-form": "7.51.4",
|
32
32
|
"react-image-size": "2.0.0",
|
@@ -34,10 +34,10 @@
|
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
36
|
"@squiz/dam-resource-browser-plugin": "^3.1.0-rc.1",
|
37
|
-
"@squiz/dxp-ai-client-react": "^0.
|
37
|
+
"@squiz/dxp-ai-client-react": "^1.0.0",
|
38
38
|
"@squiz/matrix-resource-browser-plugin": "^3.1.0-rc.5",
|
39
39
|
"@squiz/resource-browser": "^3.1.0-rc.0",
|
40
|
-
"@squiz/sds": "^1.
|
40
|
+
"@squiz/sds": "^1.5.0",
|
41
41
|
"@testing-library/cypress": "9.0.0",
|
42
42
|
"@testing-library/jest-dom": "5.16.5",
|
43
43
|
"@testing-library/react": "14.0.0",
|
@@ -71,10 +71,10 @@
|
|
71
71
|
},
|
72
72
|
"peerDependencies": {
|
73
73
|
"@squiz/dam-resource-browser-plugin": "^3.1.0-rc.1",
|
74
|
-
"@squiz/dxp-ai-client-react": "^0.
|
74
|
+
"@squiz/dxp-ai-client-react": "^1.0.0",
|
75
75
|
"@squiz/matrix-resource-browser-plugin": "^3.1.0-rc.5",
|
76
76
|
"@squiz/resource-browser": "^3.1.0-rc.0",
|
77
|
-
"@squiz/sds": "^1.
|
77
|
+
"@squiz/sds": "^1.5.0",
|
78
78
|
"@types/react": "^16.14.0 || ^17 || ^18",
|
79
79
|
"@types/react-dom": "^16.9.0 || ^17 || ^18",
|
80
80
|
"lib0": "0.2.69",
|
@@ -90,6 +90,6 @@
|
|
90
90
|
}
|
91
91
|
},
|
92
92
|
"volta": {
|
93
|
-
"
|
93
|
+
"extends": "../../package.json"
|
94
94
|
}
|
95
95
|
}
|