@instructure/ui-editable 11.6.0 → 11.6.1-snapshot-129
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 +29 -274
- 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,551 +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
|
-
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @instructure/ui-editable
|
|
6
|
+
## [11.6.1-snapshot-129](https://github.com/instructure/instructure-ui/compare/v11.6.0...v11.6.1-snapshot-129) (2026-03-16)
|
|
9
7
|
|
|
10
8
|
|
|
9
|
+
### Bug Fixes
|
|
11
10
|
|
|
11
|
+
* **ui-many:** fix imports of the multiversion support ([ff5f2b3](https://github.com/instructure/instructure-ui/commit/ff5f2b38660ddae432edd32b98eedae586589977))
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
### Features
|
|
15
15
|
|
|
16
|
-
**
|
|
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))
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
# [11.
|
|
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
|
|
|
28
|
+
**Note:** Version bump only for package @instructure/ui-editable
|
|
27
29
|
|
|
30
|
+
# [11.4.0](https://github.com/instructure/instructure-ui/compare/v11.3.0...v11.4.0) (2026-01-20)
|
|
28
31
|
|
|
32
|
+
**Note:** Version bump only for package @instructure/ui-editable
|
|
29
33
|
|
|
30
34
|
# [11.3.0](https://github.com/instructure/instructure-ui/compare/v11.2.0...v11.3.0) (2026-01-12)
|
|
31
35
|
|
|
32
36
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
33
37
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
38
|
# [11.2.0](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.2.0) (2025-11-06)
|
|
39
39
|
|
|
40
|
-
|
|
41
40
|
### Features
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
- **many:** migrate from npm to pnpm ([f7bb16e](https://github.com/instructure/instructure-ui/commit/f7bb16e114df83984c67d5a6e07fb4d9c65efc53))
|
|
48
43
|
|
|
49
44
|
# [11.1.0](https://github.com/instructure/instructure-ui/compare/v11.0.1...v11.1.0) (2025-11-05)
|
|
50
45
|
|
|
51
|
-
|
|
52
46
|
### Features
|
|
53
47
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
48
|
+
- **many:** migrate from npm to pnpm ([f7bb16e](https://github.com/instructure/instructure-ui/commit/f7bb16e114df83984c67d5a6e07fb4d9c65efc53))
|
|
59
49
|
|
|
60
50
|
## [11.0.1](https://github.com/instructure/instructure-ui/compare/v11.0.0...v11.0.1) (2025-10-13)
|
|
61
51
|
|
|
62
52
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
63
53
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
54
|
# [11.0.0](https://github.com/instructure/instructure-ui/compare/v10.26.0...v11.0.0) (2025-10-06)
|
|
69
55
|
|
|
70
|
-
|
|
71
56
|
### Features
|
|
72
57
|
|
|
73
|
-
|
|
74
|
-
|
|
58
|
+
- **many:** instUI v11 release ([36f5438](https://github.com/instructure/instructure-ui/commit/36f54382669186227ba24798bbf7201ef2f5cd4c))
|
|
75
59
|
|
|
76
60
|
### BREAKING CHANGES
|
|
77
61
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
89
74
|
`isStacked`, `hover`, and `headers`
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
75
|
+
* `Table`'s `caption` prop is now required
|
|
76
|
+
* `ui-dom-utils`'s `getComputedStyle` can now return `undefined`
|
|
96
77
|
|
|
97
78
|
# [10.26.0](https://github.com/instructure/instructure-ui/compare/v10.25.0...v10.26.0) (2025-10-01)
|
|
98
79
|
|
|
99
80
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
100
81
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
82
|
# [10.25.0](https://github.com/instructure/instructure-ui/compare/v10.24.2...v10.25.0) (2025-09-09)
|
|
106
83
|
|
|
107
84
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
108
85
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
86
|
## [10.24.2](https://github.com/instructure/instructure-ui/compare/v10.24.1...v10.24.2) (2025-08-11)
|
|
114
87
|
|
|
115
88
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
116
89
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
90
|
## [10.24.1](https://github.com/instructure/instructure-ui/compare/v10.24.0...v10.24.1) (2025-07-30)
|
|
122
91
|
|
|
123
92
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
124
93
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
94
|
# [10.24.0](https://github.com/instructure/instructure-ui/compare/v10.23.0...v10.24.0) (2025-07-18)
|
|
130
95
|
|
|
131
96
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
132
97
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
98
|
# [10.23.0](https://github.com/instructure/instructure-ui/compare/v10.22.0...v10.23.0) (2025-07-09)
|
|
138
99
|
|
|
139
100
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
140
101
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
102
|
# [10.22.0](https://github.com/instructure/instructure-ui/compare/v10.21.0...v10.22.0) (2025-07-04)
|
|
146
103
|
|
|
147
104
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
148
105
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
106
|
# [10.21.0](https://github.com/instructure/instructure-ui/compare/v10.20.1...v10.21.0) (2025-06-27)
|
|
154
107
|
|
|
155
108
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
156
109
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
110
|
## [10.20.1](https://github.com/instructure/instructure-ui/compare/v10.20.0...v10.20.1) (2025-06-17)
|
|
162
111
|
|
|
163
112
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
164
113
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
114
|
# [10.20.0](https://github.com/instructure/instructure-ui/compare/v10.19.1...v10.20.0) (2025-06-13)
|
|
170
115
|
|
|
171
|
-
|
|
172
116
|
### Bug Fixes
|
|
173
117
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
118
|
+
- **many:** update dependencies, browsersdb and moment timezone database ([3813636](https://github.com/instructure/instructure-ui/commit/3813636458c901ad4bc74a4d5ae015cb55defcb2))
|
|
179
119
|
|
|
180
120
|
## [10.19.1](https://github.com/instructure/instructure-ui/compare/v10.19.0...v10.19.1) (2025-06-05)
|
|
181
121
|
|
|
182
122
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
183
123
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
124
|
# [10.19.0](https://github.com/instructure/instructure-ui/compare/v10.18.1...v10.19.0) (2025-06-03)
|
|
189
125
|
|
|
190
126
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
191
127
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
128
|
## [10.18.1](https://github.com/instructure/instructure-ui/compare/v10.18.0...v10.18.1) (2025-05-29)
|
|
197
129
|
|
|
198
130
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
199
131
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
132
|
# [10.18.0](https://github.com/instructure/instructure-ui/compare/v10.17.0...v10.18.0) (2025-05-26)
|
|
205
133
|
|
|
206
134
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
207
135
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
136
|
# [10.17.0](https://github.com/instructure/instructure-ui/compare/v10.16.4...v10.17.0) (2025-05-20)
|
|
213
137
|
|
|
214
138
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
215
139
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
140
|
## [10.16.4](https://github.com/instructure/instructure-ui/compare/v10.16.3...v10.16.4) (2025-05-09)
|
|
221
141
|
|
|
222
142
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
223
143
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
144
|
## [10.16.3](https://github.com/instructure/instructure-ui/compare/v10.16.1...v10.16.3) (2025-04-30)
|
|
229
145
|
|
|
230
146
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
231
147
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
148
|
## [10.16.2](https://github.com/instructure/instructure-ui/compare/v10.16.1...v10.16.2) (2025-04-22)
|
|
237
149
|
|
|
238
150
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
239
151
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
152
|
## [10.16.1](https://github.com/instructure/instructure-ui/compare/v10.16.0...v10.16.1) (2025-04-22)
|
|
245
153
|
|
|
246
154
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
247
155
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
156
|
# [10.16.0](https://github.com/instructure/instructure-ui/compare/v10.15.2...v10.16.0) (2025-04-11)
|
|
253
157
|
|
|
254
158
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
255
159
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
160
|
## [10.15.2](https://github.com/instructure/instructure-ui/compare/v10.15.1...v10.15.2) (2025-04-07)
|
|
261
161
|
|
|
262
162
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
263
163
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
164
|
## [10.15.1](https://github.com/instructure/instructure-ui/compare/v10.15.0...v10.15.1) (2025-04-03)
|
|
269
165
|
|
|
270
166
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
271
167
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
168
|
# [10.15.0](https://github.com/instructure/instructure-ui/compare/v10.14.0...v10.15.0) (2025-03-31)
|
|
277
169
|
|
|
278
170
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
279
171
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
172
|
# [10.14.0](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.14.0) (2025-03-17)
|
|
285
173
|
|
|
286
174
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
287
175
|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
176
|
# [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06)
|
|
293
177
|
|
|
294
178
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
295
179
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
180
|
# [10.12.0](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.12.0) (2025-02-24)
|
|
301
181
|
|
|
302
182
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
303
183
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
184
|
# [10.11.0](https://github.com/instructure/instructure-ui/compare/v10.10.0...v10.11.0) (2025-02-03)
|
|
309
185
|
|
|
310
186
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
311
187
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
188
|
# [10.10.0](https://github.com/instructure/instructure-ui/compare/v10.9.0...v10.10.0) (2024-12-18)
|
|
317
189
|
|
|
318
190
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
319
191
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
192
|
# [10.9.0](https://github.com/instructure/instructure-ui/compare/v10.8.0...v10.9.0) (2024-12-12)
|
|
325
193
|
|
|
326
194
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
327
195
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
196
|
# [10.8.0](https://github.com/instructure/instructure-ui/compare/v10.7.0...v10.8.0) (2024-12-09)
|
|
333
197
|
|
|
334
198
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
335
199
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
200
|
# [10.7.0](https://github.com/instructure/instructure-ui/compare/v10.6.1...v10.7.0) (2024-12-03)
|
|
341
201
|
|
|
342
202
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
343
203
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
204
|
## [10.6.1](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1) (2024-11-26)
|
|
349
205
|
|
|
350
206
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
351
207
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
208
|
# [10.6.0](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.6.0) (2024-11-18)
|
|
357
209
|
|
|
358
210
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
359
211
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
212
|
# [10.5.0](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.5.0) (2024-11-07)
|
|
365
213
|
|
|
366
214
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
367
215
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
216
|
## [10.4.1](https://github.com/instructure/instructure-ui/compare/v10.4.0...v10.4.1) (2024-10-28)
|
|
373
217
|
|
|
374
|
-
|
|
375
218
|
### Bug Fixes
|
|
376
219
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
220
|
+
- update license ([1c039d9](https://github.com/instructure/instructure-ui/commit/1c039d9cbf5a3ea99b59803ddde5c6c0b2d76ba5))
|
|
382
221
|
|
|
383
222
|
# [10.4.0](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.4.0) (2024-10-16)
|
|
384
223
|
|
|
385
224
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
386
225
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
226
|
# [10.3.0](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.3.0) (2024-10-03)
|
|
392
227
|
|
|
393
228
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
394
229
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
230
|
## [10.2.2](https://github.com/instructure/instructure-ui/compare/v10.2.1...v10.2.2) (2024-09-13)
|
|
400
231
|
|
|
401
232
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
402
233
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
234
|
## [10.2.1](https://github.com/instructure/instructure-ui/compare/v10.2.0...v10.2.1) (2024-08-30)
|
|
408
235
|
|
|
409
236
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
410
237
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
238
|
# [10.2.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.2.0) (2024-08-23)
|
|
416
239
|
|
|
417
240
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
418
241
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
242
|
# [10.1.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.0) (2024-08-23)
|
|
424
243
|
|
|
425
244
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
426
245
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
246
|
# [10.0.0](https://github.com/instructure/instructure-ui/compare/v9.5.1...v10.0.0) (2024-07-31)
|
|
432
247
|
|
|
433
248
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
434
249
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
250
|
## [9.5.1](https://github.com/instructure/instructure-ui/compare/v9.5.0...v9.5.1) (2024-07-30)
|
|
440
251
|
|
|
441
252
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
442
253
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
254
|
# [9.5.0](https://github.com/instructure/instructure-ui/compare/v9.3.0...v9.5.0) (2024-07-26)
|
|
448
255
|
|
|
449
256
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
450
257
|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
258
|
# [9.4.0](https://github.com/instructure/instructure-ui/compare/v9.3.0...v9.4.0) (2024-07-26)
|
|
456
259
|
|
|
457
260
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
458
261
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
262
|
# [9.3.0](https://github.com/instructure/instructure-ui/compare/v9.2.0...v9.3.0) (2024-07-17)
|
|
464
263
|
|
|
465
264
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
466
265
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
266
|
# [9.2.0](https://github.com/instructure/instructure-ui/compare/v9.1.0...v9.2.0) (2024-07-09)
|
|
472
267
|
|
|
473
268
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
474
269
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
270
|
# [9.1.0](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.1.0) (2024-06-14)
|
|
480
271
|
|
|
481
272
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
482
273
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
274
|
## [9.0.1](https://github.com/instructure/instructure-ui/compare/v9.0.0...v9.0.1) (2024-05-09)
|
|
488
275
|
|
|
489
276
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
490
277
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
278
|
# [9.0.0](https://github.com/instructure/instructure-ui/compare/v8.56.0...v9.0.0) (2024-05-09)
|
|
496
279
|
|
|
497
280
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
498
281
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
282
|
# [8.56.0](https://github.com/instructure/instructure-ui/compare/v8.55.1...v8.56.0) (2024-05-06)
|
|
504
283
|
|
|
505
284
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
506
285
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
286
|
## [8.55.1](https://github.com/instructure/instructure-ui/compare/v8.55.0...v8.55.1) (2024-04-30)
|
|
512
287
|
|
|
513
288
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
514
289
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
290
|
# [8.55.0](https://github.com/instructure/instructure-ui/compare/v8.54.0...v8.55.0) (2024-04-09)
|
|
520
291
|
|
|
521
292
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
522
293
|
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
294
|
# [8.54.0](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.54.0) (2024-03-21)
|
|
528
295
|
|
|
529
296
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
530
297
|
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
298
|
## [8.53.2](https://github.com/instructure/instructure-ui/compare/v8.53.1...v8.53.2) (2024-02-15)
|
|
536
299
|
|
|
537
300
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
538
301
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
302
|
## [8.53.1](https://github.com/instructure/instructure-ui/compare/v8.53.0...v8.53.1) (2024-02-09)
|
|
544
303
|
|
|
545
304
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
546
305
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
306
|
# [8.53.0](https://github.com/instructure/instructure-ui/compare/v8.52.0...v8.53.0) (2024-02-08)
|
|
552
307
|
|
|
553
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,
|