@fluidframework/undo-redo 2.71.0 → 2.73.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/.eslintrc.cjs +1 -1
- package/CHANGELOG.md +8 -2
- package/package.json +12 -12
package/.eslintrc.cjs
CHANGED
|
@@ -31,7 +31,7 @@ module.exports = {
|
|
|
31
31
|
files: ["*.spec.ts", "src/test/**"],
|
|
32
32
|
rules: {
|
|
33
33
|
// Test files are run in node only so additional node libraries can be used.
|
|
34
|
-
"import/no-nodejs-modules": ["error", { allow: ["node:assert"] }],
|
|
34
|
+
"import-x/no-nodejs-modules": ["error", { allow: ["node:assert"] }],
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
],
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/undo-redo
|
|
2
2
|
|
|
3
|
+
## 2.73.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.72.0
|
|
8
|
+
|
|
9
|
+
Dependency updates only.
|
|
10
|
+
|
|
3
11
|
## 2.71.0
|
|
4
12
|
|
|
5
13
|
Dependency updates only.
|
|
@@ -111,7 +119,6 @@ Dependency updates only.
|
|
|
111
119
|
An adjustment is a modification applied to a property value within a specified range. Adjustments can be used to increment or decrement property values dynamically. They are particularly useful in scenarios where property values need to be updated based on user interactions or other events. For example, in a rich text editor, adjustments can be used for modifying indentation levels or font sizes, where multiple users could apply differing numerical adjustments.
|
|
112
120
|
|
|
113
121
|
### Key Features and Use Cases:
|
|
114
|
-
|
|
115
122
|
- **Adjustments with Constraints**: Adjustments can include optional minimum and maximum constraints to ensure the final value falls within specified bounds. This is particularly useful for maintaining consistent formatting in rich text editors.
|
|
116
123
|
- **Consistent Property Changes**: The feature ensures that property changes are consistent, managing both local and remote changes effectively. This is essential for collaborative rich text editing where multiple users may be making adjustments simultaneously.
|
|
117
124
|
- **Rich Text Formatting**: Adjustments can be used to modify text properties such as font size, indentation, or other formatting attributes dynamically based on user actions.
|
|
@@ -171,7 +178,6 @@ Dependency updates only.
|
|
|
171
178
|
TypeScript types and implementation code.
|
|
172
179
|
|
|
173
180
|
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
174
|
-
|
|
175
181
|
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
176
182
|
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
177
183
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/undo-redo",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.73.0",
|
|
4
4
|
"description": "Undo Redo",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -59,22 +59,22 @@
|
|
|
59
59
|
"temp-directory": "nyc/.nyc_output"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@fluid-internal/client-utils": "~2.
|
|
63
|
-
"@fluidframework/map": "~2.
|
|
64
|
-
"@fluidframework/matrix": "~2.
|
|
65
|
-
"@fluidframework/merge-tree": "~2.
|
|
66
|
-
"@fluidframework/sequence": "~2.
|
|
62
|
+
"@fluid-internal/client-utils": "~2.73.0",
|
|
63
|
+
"@fluidframework/map": "~2.73.0",
|
|
64
|
+
"@fluidframework/matrix": "~2.73.0",
|
|
65
|
+
"@fluidframework/merge-tree": "~2.73.0",
|
|
66
|
+
"@fluidframework/sequence": "~2.73.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
70
70
|
"@biomejs/biome": "~1.9.3",
|
|
71
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
72
|
-
"@fluid-tools/build-cli": "^0.
|
|
71
|
+
"@fluid-internal/mocha-test-setup": "~2.73.0",
|
|
72
|
+
"@fluid-tools/build-cli": "^0.60.0",
|
|
73
73
|
"@fluidframework/build-common": "^2.0.3",
|
|
74
|
-
"@fluidframework/build-tools": "^0.
|
|
75
|
-
"@fluidframework/eslint-config-fluid": "
|
|
76
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
77
|
-
"@fluidframework/undo-redo-previous": "npm:@fluidframework/undo-redo@2.
|
|
74
|
+
"@fluidframework/build-tools": "^0.60.0",
|
|
75
|
+
"@fluidframework/eslint-config-fluid": "~2.73.0",
|
|
76
|
+
"@fluidframework/test-runtime-utils": "~2.73.0",
|
|
77
|
+
"@fluidframework/undo-redo-previous": "npm:@fluidframework/undo-redo@2.71.0",
|
|
78
78
|
"@microsoft/api-extractor": "7.52.11",
|
|
79
79
|
"@types/diff": "^3.5.1",
|
|
80
80
|
"@types/mocha": "^10.0.10",
|