@instructure/ui-editable 11.6.1-snapshot-0 → 11.6.1-snapshot-130
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 +27 -280
- package/es/InPlaceEdit/{index.js → v1/index.js} +5 -5
- package/es/{index.js → exports/a.js} +2 -2
- package/lib/InPlaceEdit/{index.js → v1/index.js} +12 -12
- package/lib/{index.js → exports/a.js} +4 -4
- package/package.json +43 -21
- package/src/InPlaceEdit/{index.tsx → v1/index.tsx} +7 -7
- package/src/InPlaceEdit/{props.ts → v1/props.ts} +1 -1
- package/src/{index.ts → exports/a.ts} +4 -4
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Editable/v1/index.d.ts.map +1 -0
- package/types/Editable/v1/props.d.ts.map +1 -0
- package/types/InPlaceEdit/{index.d.ts → v1/index.d.ts} +4 -4
- package/types/InPlaceEdit/v1/index.d.ts.map +1 -0
- package/types/InPlaceEdit/{props.d.ts → v1/props.d.ts} +1 -1
- package/types/InPlaceEdit/v1/props.d.ts.map +1 -0
- package/types/InPlaceEdit/v1/styles.d.ts.map +1 -0
- package/types/exports/a.d.ts +5 -0
- package/types/exports/a.d.ts.map +1 -0
- package/types/Editable/index.d.ts.map +0 -1
- package/types/Editable/props.d.ts.map +0 -1
- package/types/InPlaceEdit/index.d.ts.map +0 -1
- package/types/InPlaceEdit/props.d.ts.map +0 -1
- package/types/InPlaceEdit/styles.d.ts.map +0 -1
- package/types/index.d.ts +0 -5
- package/types/index.d.ts.map +0 -1
- /package/es/Editable/{index.js → v1/index.js} +0 -0
- /package/es/Editable/{props.js → v1/props.js} +0 -0
- /package/es/InPlaceEdit/{props.js → v1/props.js} +0 -0
- /package/es/InPlaceEdit/{styles.js → v1/styles.js} +0 -0
- /package/lib/Editable/{index.js → v1/index.js} +0 -0
- /package/lib/Editable/{props.js → v1/props.js} +0 -0
- /package/lib/InPlaceEdit/{props.js → v1/props.js} +0 -0
- /package/lib/InPlaceEdit/{styles.js → v1/styles.js} +0 -0
- /package/src/Editable/{README.md → v1/README.md} +0 -0
- /package/src/Editable/{index.tsx → v1/index.tsx} +0 -0
- /package/src/Editable/{props.ts → v1/props.ts} +0 -0
- /package/src/InPlaceEdit/{README.md → v1/README.md} +0 -0
- /package/src/InPlaceEdit/{styles.ts → v1/styles.ts} +0 -0
- /package/types/Editable/{index.d.ts → v1/index.d.ts} +0 -0
- /package/types/Editable/{props.d.ts → v1/props.d.ts} +0 -0
- /package/types/InPlaceEdit/{styles.d.ts → v1/styles.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,559 +3,306 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.6.1-snapshot-
|
|
6
|
+
## [11.6.1-snapshot-130](https://github.com/instructure/instructure-ui/compare/v11.6.0...v11.6.1-snapshot-130) (2026-03-16)
|
|
7
7
|
|
|
8
|
-
**Note:** Version bump only for package @instructure/ui-editable
|
|
9
8
|
|
|
9
|
+
### Bug Fixes
|
|
10
10
|
|
|
11
|
+
* **ui-many:** fix imports of the multiversion support ([ff5f2b3](https://github.com/instructure/instructure-ui/commit/ff5f2b38660ddae432edd32b98eedae586589977))
|
|
11
12
|
|
|
12
13
|
|
|
14
|
+
### Features
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
* **many:** add solution for using both old and new token system in the same app ([688a713](https://github.com/instructure/instructure-ui/commit/688a713ff715433bb085323dbad61285387c5141))
|
|
15
17
|
|
|
16
|
-
**Note:** Version bump only for package @instructure/ui-editable
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
# [11.5.0](https://github.com/instructure/instructure-ui/compare/v11.4.0...v11.5.0) (2026-02-03)
|
|
22
|
+
# [11.6.0](https://github.com/instructure/instructure-ui/compare/v11.5.0...v11.6.0) (2026-02-18)
|
|
23
23
|
|
|
24
24
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
25
25
|
|
|
26
|
+
# [11.5.0](https://github.com/instructure/instructure-ui/compare/v11.4.0...v11.5.0) (2026-02-03)
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
**Note:** Version bump only for package @instructure/ui-editable
|
|
29
29
|
|
|
30
30
|
# [11.4.0](https://github.com/instructure/instructure-ui/compare/v11.3.0...v11.4.0) (2026-01-20)
|
|
31
31
|
|
|
32
32
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
34
|
# [11.3.0](https://github.com/instructure/instructure-ui/compare/v11.2.0...v11.3.0) (2026-01-12)
|
|
39
35
|
|
|
40
36
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
41
37
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
38
|
# [11.2.0](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.2.0) (2025-11-06)
|
|
47
39
|
|
|
48
|
-
|
|
49
40
|
### Features
|
|
50
41
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
42
|
+
- **many:** migrate from npm to pnpm ([f7bb16e](https://github.com/instructure/instructure-ui/commit/f7bb16e114df83984c67d5a6e07fb4d9c65efc53))
|
|
56
43
|
|
|
57
44
|
# [11.1.0](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.1.0) (2025-11-05)
|
|
58
45
|
|
|
59
|
-
|
|
60
46
|
### Features
|
|
61
47
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
48
|
+
- **many:** migrate from npm to pnpm ([f7bb16e](https://github.com/instructure/instructure-ui/commit/f7bb16e114df83984c67d5a6e07fb4d9c65efc53))
|
|
67
49
|
|
|
68
50
|
## [11.0.1](https://github.com/instructure/instructure-ui/compare/v11.0.0...v11.0.1) (2025-10-13)
|
|
69
51
|
|
|
70
52
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
71
53
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
54
|
# [11.0.0](https://github.com/instructure/instructure-ui/compare/v10.26.0...v11.0.0) (2025-10-06)
|
|
77
55
|
|
|
78
|
-
|
|
79
56
|
### Features
|
|
80
57
|
|
|
81
|
-
|
|
82
|
-
|
|
58
|
+
- **many:** instUI v11 release ([36f5438](https://github.com/instructure/instructure-ui/commit/36f54382669186227ba24798bbf7201ef2f5cd4c))
|
|
83
59
|
|
|
84
60
|
### BREAKING CHANGES
|
|
85
61
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
62
|
+
- **many:** InstUI v11 contains the following breaking changes:
|
|
63
|
+
|
|
64
|
+
* React 16 and 17 are no longer supported
|
|
65
|
+
* remove `PropTypes` from all packages
|
|
66
|
+
* remove `CodeEditor` component
|
|
67
|
+
* remove `@instui/theme-registry` package
|
|
68
|
+
* remove `@testable`, `@experimental`, `@hack` decorators
|
|
69
|
+
* InstUISettingsProvider's `as` prop is removed
|
|
70
|
+
* `canvas.use()`, `canvasHighContrast.use()` functions are removed
|
|
71
|
+
* `canvasThemeLocal`, `canvasHighContrastThemeLocal` are removed
|
|
72
|
+
* `variables` field on theme objects are removed
|
|
73
|
+
* remove deprecated props from Table: Row's `isStacked`, Body's
|
|
97
74
|
`isStacked`, `hover`, and `headers`
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
75
|
+
* `Table`'s `caption` prop is now required
|
|
76
|
+
* `ui-dom-utils`'s `getComputedStyle` can now return `undefined`
|
|
104
77
|
|
|
105
78
|
# [10.26.0](https://github.com/instructure/instructure-ui/compare/v10.25.0...v10.26.0) (2025-10-01)
|
|
106
79
|
|
|
107
80
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
108
81
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
82
|
# [10.25.0](https://github.com/instructure/instructure-ui/compare/v10.24.2...v10.25.0) (2025-09-09)
|
|
114
83
|
|
|
115
84
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
116
85
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
86
|
## [10.24.2](https://github.com/instructure/instructure-ui/compare/v10.24.1...v10.24.2) (2025-08-11)
|
|
122
87
|
|
|
123
88
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
124
89
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
90
|
## [10.24.1](https://github.com/instructure/instructure-ui/compare/v10.24.0...v10.24.1) (2025-07-30)
|
|
130
91
|
|
|
131
92
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
132
93
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
94
|
# [10.24.0](https://github.com/instructure/instructure-ui/compare/v10.23.0...v10.24.0) (2025-07-18)
|
|
138
95
|
|
|
139
96
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
140
97
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
98
|
# [10.23.0](https://github.com/instructure/instructure-ui/compare/v10.22.0...v10.23.0) (2025-07-09)
|
|
146
99
|
|
|
147
100
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
148
101
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
102
|
# [10.22.0](https://github.com/instructure/instructure-ui/compare/v10.21.0...v10.22.0) (2025-07-04)
|
|
154
103
|
|
|
155
104
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
156
105
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
106
|
# [10.21.0](https://github.com/instructure/instructure-ui/compare/v10.20.1...v10.21.0) (2025-06-27)
|
|
162
107
|
|
|
163
108
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
164
109
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
110
|
## [10.20.1](https://github.com/instructure/instructure-ui/compare/v10.20.0...v10.20.1) (2025-06-17)
|
|
170
111
|
|
|
171
112
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
172
113
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
114
|
# [10.20.0](https://github.com/instructure/instructure-ui/compare/v10.19.1...v10.20.0) (2025-06-13)
|
|
178
115
|
|
|
179
|
-
|
|
180
116
|
### Bug Fixes
|
|
181
117
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
118
|
+
- **many:** update dependencies, browsersdb and moment timezone database ([3813636](https://github.com/instructure/instructure-ui/commit/3813636458c901ad4bc74a4d5ae015cb55defcb2))
|
|
187
119
|
|
|
188
120
|
## [10.19.1](https://github.com/instructure/instructure-ui/compare/v10.19.0...v10.19.1) (2025-06-05)
|
|
189
121
|
|
|
190
122
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
191
123
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
124
|
# [10.19.0](https://github.com/instructure/instructure-ui/compare/v10.18.1...v10.19.0) (2025-06-03)
|
|
197
125
|
|
|
198
126
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
199
127
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
128
|
## [10.18.1](https://github.com/instructure/instructure-ui/compare/v10.18.0...v10.18.1) (2025-05-29)
|
|
205
129
|
|
|
206
130
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
207
131
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
132
|
# [10.18.0](https://github.com/instructure/instructure-ui/compare/v10.17.0...v10.18.0) (2025-05-26)
|
|
213
133
|
|
|
214
134
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
215
135
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
136
|
# [10.17.0](https://github.com/instructure/instructure-ui/compare/v10.16.4...v10.17.0) (2025-05-20)
|
|
221
137
|
|
|
222
138
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
223
139
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
140
|
## [10.16.4](https://github.com/instructure/instructure-ui/compare/v10.16.3...v10.16.4) (2025-05-09)
|
|
229
141
|
|
|
230
142
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
231
143
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
144
|
## [10.16.3](https://github.com/instructure/instructure-ui/compare/v10.16.1...v10.16.3) (2025-04-30)
|
|
237
145
|
|
|
238
146
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
239
147
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
148
|
## [10.16.2](https://github.com/instructure/instructure-ui/compare/v10.16.1...v10.16.2) (2025-04-22)
|
|
245
149
|
|
|
246
150
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
247
151
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
152
|
## [10.16.1](https://github.com/instructure/instructure-ui/compare/v10.16.0...v10.16.1) (2025-04-22)
|
|
253
153
|
|
|
254
154
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
255
155
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
156
|
# [10.16.0](https://github.com/instructure/instructure-ui/compare/v10.15.2...v10.16.0) (2025-04-11)
|
|
261
157
|
|
|
262
158
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
263
159
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
160
|
## [10.15.2](https://github.com/instructure/instructure-ui/compare/v10.15.1...v10.15.2) (2025-04-07)
|
|
269
161
|
|
|
270
162
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
271
163
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
164
|
## [10.15.1](https://github.com/instructure/instructure-ui/compare/v10.15.0...v10.15.1) (2025-04-03)
|
|
277
165
|
|
|
278
166
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
279
167
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
168
|
# [10.15.0](https://github.com/instructure/instructure-ui/compare/v10.14.0...v10.15.0) (2025-03-31)
|
|
285
169
|
|
|
286
170
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
287
171
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
172
|
# [10.14.0](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.14.0) (2025-03-17)
|
|
293
173
|
|
|
294
174
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
295
175
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
176
|
# [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06)
|
|
301
177
|
|
|
302
178
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
303
179
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
180
|
# [10.12.0](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.12.0) (2025-02-24)
|
|
309
181
|
|
|
310
182
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
311
183
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
184
|
# [10.11.0](https://github.com/instructure/instructure-ui/compare/v10.10.0...v10.11.0) (2025-02-03)
|
|
317
185
|
|
|
318
186
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
319
187
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
188
|
# [10.10.0](https://github.com/instructure/instructure-ui/compare/v10.9.0...v10.10.0) (2024-12-18)
|
|
325
189
|
|
|
326
190
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
327
191
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
192
|
# [10.9.0](https://github.com/instructure/instructure-ui/compare/v10.8.0...v10.9.0) (2024-12-12)
|
|
333
193
|
|
|
334
194
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
335
195
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
196
|
# [10.8.0](https://github.com/instructure/instructure-ui/compare/v10.7.0...v10.8.0) (2024-12-09)
|
|
341
197
|
|
|
342
198
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
343
199
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
200
|
# [10.7.0](https://github.com/instructure/instructure-ui/compare/v10.6.1...v10.7.0) (2024-12-03)
|
|
349
201
|
|
|
350
202
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
351
203
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
204
|
## [10.6.1](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1) (2024-11-26)
|
|
357
205
|
|
|
358
206
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
359
207
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
208
|
# [10.6.0](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.6.0) (2024-11-18)
|
|
365
209
|
|
|
366
210
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
367
211
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
212
|
# [10.5.0](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.5.0) (2024-11-07)
|
|
373
213
|
|
|
374
214
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
375
215
|
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
216
|
## [10.4.1](https://github.com/instructure/instructure-ui/compare/v10.4.0...v10.4.1) (2024-10-28)
|
|
381
217
|
|
|
382
|
-
|
|
383
218
|
### Bug Fixes
|
|
384
219
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
220
|
+
- update license ([1c039d9](https://github.com/instructure/instructure-ui/commit/1c039d9cbf5a3ea99b59803ddde5c6c0b2d76ba5))
|
|
390
221
|
|
|
391
222
|
# [10.4.0](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.4.0) (2024-10-16)
|
|
392
223
|
|
|
393
224
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
394
225
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
226
|
# [10.3.0](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.3.0) (2024-10-03)
|
|
400
227
|
|
|
401
228
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
402
229
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
230
|
## [10.2.2](https://github.com/instructure/instructure-ui/compare/v10.2.1...v10.2.2) (2024-09-13)
|
|
408
231
|
|
|
409
232
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
410
233
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
234
|
## [10.2.1](https://github.com/instructure/instructure-ui/compare/v10.2.0...v10.2.1) (2024-08-30)
|
|
416
235
|
|
|
417
236
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
418
237
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
238
|
# [10.2.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.2.0) (2024-08-23)
|
|
424
239
|
|
|
425
240
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
426
241
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
242
|
# [10.1.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.0) (2024-08-23)
|
|
432
243
|
|
|
433
244
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
434
245
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
246
|
# [10.0.0](https://github.com/instructure/instructure-ui/compare/v9.5.1...v10.0.0) (2024-07-31)
|
|
440
247
|
|
|
441
248
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
442
249
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
250
|
## [9.5.1](https://github.com/instructure/instructure-ui/compare/v9.5.0...v9.5.1) (2024-07-30)
|
|
448
251
|
|
|
449
252
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
450
253
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
254
|
# [9.5.0](https://github.com/instructure/instructure-ui/compare/v9.3.0...v9.5.0) (2024-07-26)
|
|
456
255
|
|
|
457
256
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
458
257
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
258
|
# [9.4.0](https://github.com/instructure/instructure-ui/compare/v9.3.0...v9.4.0) (2024-07-26)
|
|
464
259
|
|
|
465
260
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
466
261
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
262
|
# [9.3.0](https://github.com/instructure/instructure-ui/compare/v9.2.0...v9.3.0) (2024-07-17)
|
|
472
263
|
|
|
473
264
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
474
265
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
266
|
# [9.2.0](https://github.com/instructure/instructure-ui/compare/v9.1.0...v9.2.0) (2024-07-09)
|
|
480
267
|
|
|
481
268
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
482
269
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
270
|
# [9.1.0](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.1.0) (2024-06-14)
|
|
488
271
|
|
|
489
272
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
490
273
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
274
|
## [9.0.1](https://github.com/instructure/instructure-ui/compare/v9.0.0...v9.0.1) (2024-05-09)
|
|
496
275
|
|
|
497
276
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
498
277
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
278
|
# [9.0.0](https://github.com/instructure/instructure-ui/compare/v8.56.0...v9.0.0) (2024-05-09)
|
|
504
279
|
|
|
505
280
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
506
281
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
282
|
# [8.56.0](https://github.com/instructure/instructure-ui/compare/v8.55.1...v8.56.0) (2024-05-06)
|
|
512
283
|
|
|
513
284
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
514
285
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
286
|
## [8.55.1](https://github.com/instructure/instructure-ui/compare/v8.55.0...v8.55.1) (2024-04-30)
|
|
520
287
|
|
|
521
288
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
522
289
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
290
|
# [8.55.0](https://github.com/instructure/instructure-ui/compare/v8.54.0...v8.55.0) (2024-04-09)
|
|
528
291
|
|
|
529
292
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
530
293
|
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
294
|
# [8.54.0](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.54.0) (2024-03-21)
|
|
536
295
|
|
|
537
296
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
538
297
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
298
|
## [8.53.2](https://github.com/instructure/instructure-ui/compare/v8.53.1...v8.53.2) (2024-02-15)
|
|
544
299
|
|
|
545
300
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
546
301
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
302
|
## [8.53.1](https://github.com/instructure/instructure-ui/compare/v8.53.0...v8.53.1) (2024-02-09)
|
|
552
303
|
|
|
553
304
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
554
305
|
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
306
|
# [8.53.0](https://github.com/instructure/instructure-ui/compare/v8.52.0...v8.53.0) (2024-02-08)
|
|
560
307
|
|
|
561
308
|
### Bug Fixes
|
|
@@ -24,14 +24,14 @@ var _dec, _class, _InPlaceEdit;
|
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
|
-
import { Flex } from '@instructure/ui-flex';
|
|
28
|
-
import { IconButton } from '@instructure/ui-buttons';
|
|
27
|
+
import { Flex } from '@instructure/ui-flex/v11_6';
|
|
28
|
+
import { IconButton } from '@instructure/ui-buttons/v11_6';
|
|
29
29
|
import { IconEditLine } from '@instructure/ui-icons';
|
|
30
30
|
import { logWarn as warn } from '@instructure/console';
|
|
31
31
|
import { createChainedFunction } from '@instructure/ui-utils';
|
|
32
|
-
import { withStyle } from '@instructure/emotion';
|
|
33
|
-
import { View } from '@instructure/ui-view';
|
|
34
|
-
import { Editable } from "
|
|
32
|
+
import { withStyleLegacy as withStyle } from '@instructure/emotion';
|
|
33
|
+
import { View } from '@instructure/ui-view/v11_6';
|
|
34
|
+
import { Editable } from "../../Editable/v1/index.js";
|
|
35
35
|
import generateStyle from "./styles.js";
|
|
36
36
|
import { allowedProps } from "./props.js";
|
|
37
37
|
import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
export { Editable } from "
|
|
25
|
-
export { InPlaceEdit } from "
|
|
24
|
+
export { Editable } from "../Editable/v1/index.js";
|
|
25
|
+
export { InPlaceEdit } from "../InPlaceEdit/v1/index.js";
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.InPlaceEdit = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var _IconEditLine = require("@instructure/ui-icons/lib/IconEditLine.js");
|
|
9
|
+
var _v11_ = require("@instructure/ui-flex/v11_6");
|
|
10
|
+
var _v11_2 = require("@instructure/ui-buttons/v11_6");
|
|
11
|
+
var _IconEditLine = require("@instructure/ui-icons/lib/generated/IconEditLine.js");
|
|
12
12
|
var _console = require("@instructure/console");
|
|
13
13
|
var _createChainedFunction = require("@instructure/ui-utils/lib/createChainedFunction.js");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
|
-
var
|
|
16
|
-
var
|
|
15
|
+
var _v11_3 = require("@instructure/ui-view/v11_6");
|
|
16
|
+
var _v = require("../../Editable/v1");
|
|
17
17
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
18
18
|
var _props = require("./props");
|
|
19
19
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
@@ -46,7 +46,7 @@ var _dec, _class, _InPlaceEdit;
|
|
|
46
46
|
category: components
|
|
47
47
|
---
|
|
48
48
|
**/
|
|
49
|
-
let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.
|
|
49
|
+
let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyleLegacy)(_styles.default, null), _dec(_class = (_InPlaceEdit = class InPlaceEdit extends _react.Component {
|
|
50
50
|
constructor(props) {
|
|
51
51
|
super(props);
|
|
52
52
|
this.ref = null;
|
|
@@ -66,16 +66,16 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
66
66
|
const flexDir = this.props.editButtonPlacement === 'start' ? 'row-reverse' : 'row';
|
|
67
67
|
const justifyItems = flexDir === 'row-reverse' ? 'end' : 'start';
|
|
68
68
|
const buttonMargin = this.props.editButtonPlacement === 'start' ? '0 xx-small 0 0' : '0 0 0 xx-small';
|
|
69
|
-
return (0, _jsxRuntime.jsxs)(
|
|
69
|
+
return (0, _jsxRuntime.jsxs)(_v11_.Flex, {
|
|
70
70
|
display: this.props.inline ? 'inline-flex' : 'flex',
|
|
71
71
|
direction: flexDir,
|
|
72
72
|
justifyItems: justifyItems,
|
|
73
73
|
...getContainerProps(),
|
|
74
|
-
children: [(0, _jsxRuntime.jsxs)(
|
|
74
|
+
children: [(0, _jsxRuntime.jsxs)(_v11_.Flex.Item, {
|
|
75
75
|
shouldGrow: true,
|
|
76
76
|
shouldShrink: true,
|
|
77
77
|
children: [this.renderEditor(getEditorProps()), this.renderViewer(getViewerProps())]
|
|
78
|
-
}), (0, _jsxRuntime.jsx)(
|
|
78
|
+
}), (0, _jsxRuntime.jsx)(_v11_.Flex.Item, {
|
|
79
79
|
margin: buttonMargin,
|
|
80
80
|
children: this.renderEditButton(getEditButtonProps())
|
|
81
81
|
})]
|
|
@@ -102,7 +102,7 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
102
102
|
showFocusRing = _this$props3.showFocusRing,
|
|
103
103
|
renderEditor = _this$props3.renderEditor;
|
|
104
104
|
const isEditMode = !readOnly && mode === 'edit';
|
|
105
|
-
return isEditMode ? (0, _jsxRuntime.jsx)(
|
|
105
|
+
return isEditMode ? (0, _jsxRuntime.jsx)(_v11_3.View, {
|
|
106
106
|
as: "span",
|
|
107
107
|
display: "block",
|
|
108
108
|
withFocusOutline: showFocusRing,
|
|
@@ -142,7 +142,7 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
142
142
|
onChange = _this$props4.onChange,
|
|
143
143
|
onChangeMode = _this$props4.onChangeMode,
|
|
144
144
|
readOnly = _this$props4.readOnly;
|
|
145
|
-
return (0, _jsxRuntime.jsx)(
|
|
145
|
+
return (0, _jsxRuntime.jsx)(_v.Editable, {
|
|
146
146
|
mode: mode,
|
|
147
147
|
onChangeMode: onChangeMode,
|
|
148
148
|
render: this.renderAll,
|
|
@@ -166,7 +166,7 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
166
166
|
if (readOnly) {
|
|
167
167
|
return null;
|
|
168
168
|
}
|
|
169
|
-
return (0, _jsxRuntime.jsx)(
|
|
169
|
+
return (0, _jsxRuntime.jsx)(_v11_2.IconButton, {
|
|
170
170
|
size: "small",
|
|
171
171
|
screenReaderLabel: label,
|
|
172
172
|
withBackground: false,
|