@squiz/formatted-text-editor 2.2.6 → 2.2.8

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - f742ab0: Updated content tools modal
8
+
9
+ ## 2.2.7
10
+
11
+ ### Patch Changes
12
+
13
+ - e54139c: Fixed dropdown menu positioning in FTE toolbar
14
+
3
15
  ## 2.2.6
4
16
 
5
17
  ### Patch Changes
package/lib/index.css CHANGED
@@ -4216,6 +4216,9 @@
4216
4216
  }
4217
4217
 
4218
4218
  /* ../../node_modules/@squiz/dxp-content-tools-modal/lib/package.css */
4219
+ .dxp-ctm-section .squiz-fte-scope.squiz-fte-scope__editor.squiz-fte-scope__editor--is-disabled.squiz-fte-scope__editor--bordered {
4220
+ overflow-y: scroll;
4221
+ }
4219
4222
  @keyframes skeleton-pulse {
4220
4223
  0% {
4221
4224
  opacity: 1;
@@ -4249,7 +4252,8 @@
4249
4252
  display: flex;
4250
4253
  flex-flow: row nowrap;
4251
4254
  gap: 0.25rem;
4252
- height: 100%;
4255
+ max-height: 100%;
4256
+ min-height: 100%;
4253
4257
  }
4254
4258
  .squiz-fte-scope .dxp-ctm-content > .dxp-ctm-section {
4255
4259
  display: flex;
@@ -4264,7 +4268,6 @@
4264
4268
  background-color: #fff;
4265
4269
  }
4266
4270
  .squiz-fte-scope .dxp-ctm-dialog .sds-dialog__content {
4267
- height: 100%;
4268
4271
  max-height: 100%;
4269
4272
  }
4270
4273
  .squiz-fte-scope .dxp-ctm-dialog > .sds-dialog__footer {
@@ -5098,6 +5101,7 @@
5098
5101
  padding-top: 0.25rem;
5099
5102
  }
5100
5103
  .squiz-fte-scope.squiz-fte-scope__editor {
5104
+ position: relative;
5101
5105
  font-family: "Open Sans" !important;
5102
5106
  border-radius: 8px;
5103
5107
  --tw-border-opacity: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/formatted-text-editor",
3
- "version": "2.2.6",
3
+ "version": "2.2.8",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "private": false,
@@ -27,7 +27,7 @@
27
27
  "@squiz/dam-resource-browser-plugin": "^0.9.0-rc.0",
28
28
  "@squiz/dx-json-schema-lib": "^1.72.0",
29
29
  "@squiz/dxp-ai-client-react": "^0.2.0",
30
- "@squiz/dxp-content-tools-modal": "^0.3.1",
30
+ "@squiz/dxp-content-tools-modal": "^0.3.2",
31
31
  "@squiz/matrix-resource-browser-plugin": "^2.0.0",
32
32
  "@squiz/resource-browser": "^2.0.0",
33
33
  "@squiz/sds": "^1.0.2",
@@ -1,5 +1,6 @@
1
1
  /* 2 class selectors so specificity is higher vs eg. ".squiz-ce-scope *" which would take priority over this. */
2
2
  .squiz-fte-scope.squiz-fte-scope__editor {
3
+ position: relative;
3
4
  font-family: 'Open Sans' !important;
4
5
  @apply bg-white rounded border-gray-300;
5
6