@instructure/ui-rating 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 +34 -284
- package/es/Rating/{index.js → v1/index.js} +3 -3
- package/es/RatingIcon/{index.js → v1/index.js} +1 -1
- package/es/{index.js → exports/a.js} +2 -2
- package/lib/Rating/{index.js → v1/index.js} +8 -8
- package/lib/RatingIcon/{index.js → v1/index.js} +3 -3
- package/lib/{index.js → exports/a.js} +4 -4
- package/package.json +42 -20
- package/src/Rating/{index.tsx → v1/index.tsx} +3 -3
- package/src/RatingIcon/{index.tsx → v1/index.tsx} +1 -1
- package/src/{index.ts → exports/a.ts} +4 -4
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Rating/{index.d.ts → v1/index.d.ts} +1 -1
- package/types/Rating/v1/index.d.ts.map +1 -0
- package/types/Rating/v1/props.d.ts.map +1 -0
- package/types/Rating/v1/styles.d.ts.map +1 -0
- package/types/RatingIcon/v1/index.d.ts.map +1 -0
- package/types/RatingIcon/v1/props.d.ts.map +1 -0
- package/types/RatingIcon/v1/styles.d.ts.map +1 -0
- package/types/RatingIcon/v1/theme.d.ts.map +1 -0
- package/types/exports/a.d.ts +5 -0
- package/types/exports/a.d.ts.map +1 -0
- package/types/Rating/index.d.ts.map +0 -1
- package/types/Rating/props.d.ts.map +0 -1
- package/types/Rating/styles.d.ts.map +0 -1
- package/types/RatingIcon/index.d.ts.map +0 -1
- package/types/RatingIcon/props.d.ts.map +0 -1
- package/types/RatingIcon/styles.d.ts.map +0 -1
- package/types/RatingIcon/theme.d.ts.map +0 -1
- package/types/index.d.ts +0 -5
- package/types/index.d.ts.map +0 -1
- /package/es/Rating/{props.js → v1/props.js} +0 -0
- /package/es/Rating/{styles.js → v1/styles.js} +0 -0
- /package/es/RatingIcon/{props.js → v1/props.js} +0 -0
- /package/es/RatingIcon/{styles.js → v1/styles.js} +0 -0
- /package/es/RatingIcon/{theme.js → v1/theme.js} +0 -0
- /package/lib/Rating/{props.js → v1/props.js} +0 -0
- /package/lib/Rating/{styles.js → v1/styles.js} +0 -0
- /package/lib/RatingIcon/{props.js → v1/props.js} +0 -0
- /package/lib/RatingIcon/{styles.js → v1/styles.js} +0 -0
- /package/lib/RatingIcon/{theme.js → v1/theme.js} +0 -0
- /package/src/Rating/{README.md → v1/README.md} +0 -0
- /package/src/Rating/{props.ts → v1/props.ts} +0 -0
- /package/src/Rating/{styles.ts → v1/styles.ts} +0 -0
- /package/src/RatingIcon/{props.ts → v1/props.ts} +0 -0
- /package/src/RatingIcon/{styles.ts → v1/styles.ts} +0 -0
- /package/src/RatingIcon/{theme.ts → v1/theme.ts} +0 -0
- /package/types/Rating/{props.d.ts → v1/props.d.ts} +0 -0
- /package/types/Rating/{styles.d.ts → v1/styles.d.ts} +0 -0
- /package/types/RatingIcon/{index.d.ts → v1/index.d.ts} +0 -0
- /package/types/RatingIcon/{props.d.ts → v1/props.d.ts} +0 -0
- /package/types/RatingIcon/{styles.d.ts → v1/styles.d.ts} +0 -0
- /package/types/RatingIcon/{theme.d.ts → v1/theme.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,568 +3,318 @@
|
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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-rating
|
|
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
|
-
|
|
263
162
|
### Bug Fixes
|
|
264
163
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
164
|
+
- update PropTypes to align with the new spacing tokens ([223d55b](https://github.com/instructure/instructure-ui/commit/223d55bad95e2a3a8b298d622e5b1d0fbab6b289))
|
|
270
165
|
|
|
271
166
|
## [10.15.1](https://github.com/instructure/instructure-ui/compare/v10.15.0...v10.15.1) (2025-04-03)
|
|
272
167
|
|
|
273
168
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
274
169
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
170
|
# [10.15.0](https://github.com/instructure/instructure-ui/compare/v10.14.0...v10.15.0) (2025-03-31)
|
|
280
171
|
|
|
281
172
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
282
173
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
174
|
# [10.14.0](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.14.0) (2025-03-17)
|
|
288
175
|
|
|
289
176
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
290
177
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
178
|
# [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06)
|
|
296
179
|
|
|
297
|
-
|
|
298
180
|
### Bug Fixes
|
|
299
181
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
182
|
+
- **ui-rating:** add text value to Rating examples ([502449d](https://github.com/instructure/instructure-ui/commit/502449d2ab32f0fbc5a5e039d503fa1b97726538))
|
|
305
183
|
|
|
306
184
|
# [10.12.0](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.12.0) (2025-02-24)
|
|
307
185
|
|
|
308
186
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
309
187
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
188
|
# [10.11.0](https://github.com/instructure/instructure-ui/compare/v10.10.0...v10.11.0) (2025-02-03)
|
|
315
189
|
|
|
316
190
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
317
191
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
192
|
# [10.10.0](https://github.com/instructure/instructure-ui/compare/v10.9.0...v10.10.0) (2024-12-18)
|
|
323
193
|
|
|
324
194
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
325
195
|
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
196
|
# [10.9.0](https://github.com/instructure/instructure-ui/compare/v10.8.0...v10.9.0) (2024-12-12)
|
|
331
197
|
|
|
332
|
-
|
|
333
198
|
### Features
|
|
334
199
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
200
|
+
- **many:** make meta package export every component and type definition ([dee9abb](https://github.com/instructure/instructure-ui/commit/dee9abb9cbffa4abc9edf48fb7d8ad41fea385b4))
|
|
340
201
|
|
|
341
202
|
# [10.8.0](https://github.com/instructure/instructure-ui/compare/v10.7.0...v10.8.0) (2024-12-09)
|
|
342
203
|
|
|
343
204
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
344
205
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
206
|
# [10.7.0](https://github.com/instructure/instructure-ui/compare/v10.6.1...v10.7.0) (2024-12-03)
|
|
350
207
|
|
|
351
208
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
352
209
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
210
|
## [10.6.1](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1) (2024-11-26)
|
|
358
211
|
|
|
359
212
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
360
213
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
214
|
# [10.6.0](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.6.0) (2024-11-18)
|
|
366
215
|
|
|
367
216
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
368
217
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
218
|
# [10.5.0](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.5.0) (2024-11-07)
|
|
374
219
|
|
|
375
220
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
376
221
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
222
|
## [10.4.1](https://github.com/instructure/instructure-ui/compare/v10.4.0...v10.4.1) (2024-10-28)
|
|
382
223
|
|
|
383
|
-
|
|
384
224
|
### Bug Fixes
|
|
385
225
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
226
|
+
- update license ([1c039d9](https://github.com/instructure/instructure-ui/commit/1c039d9cbf5a3ea99b59803ddde5c6c0b2d76ba5))
|
|
391
227
|
|
|
392
228
|
# [10.4.0](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.4.0) (2024-10-16)
|
|
393
229
|
|
|
394
230
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
395
231
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
232
|
# [10.3.0](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.3.0) (2024-10-03)
|
|
401
233
|
|
|
402
234
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
403
235
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
236
|
## [10.2.2](https://github.com/instructure/instructure-ui/compare/v10.2.1...v10.2.2) (2024-09-13)
|
|
409
237
|
|
|
410
238
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
411
239
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
240
|
## [10.2.1](https://github.com/instructure/instructure-ui/compare/v10.2.0...v10.2.1) (2024-08-30)
|
|
417
241
|
|
|
418
242
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
419
243
|
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
244
|
# [10.2.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.2.0) (2024-08-23)
|
|
425
245
|
|
|
426
246
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
427
247
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
248
|
# [10.1.0](https://github.com/instructure/instructure-ui/compare/v10.0.0...v10.1.0) (2024-08-23)
|
|
433
249
|
|
|
434
250
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
435
251
|
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
252
|
# [10.0.0](https://github.com/instructure/instructure-ui/compare/v9.5.1...v10.0.0) (2024-07-31)
|
|
441
253
|
|
|
442
|
-
|
|
443
254
|
### Features
|
|
444
255
|
|
|
445
|
-
|
|
446
|
-
|
|
256
|
+
- **many:** rewrite color system ([1e5809e](https://github.com/instructure/instructure-ui/commit/1e5809e28dee8c2a71703a429609b8d2f95d76e6))
|
|
447
257
|
|
|
448
258
|
### BREAKING CHANGES
|
|
449
259
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
260
|
+
- **many:** Breaks color overrides in certain cases
|
|
455
261
|
|
|
456
262
|
## [9.5.1](https://github.com/instructure/instructure-ui/compare/v9.5.0...v9.5.1) (2024-07-30)
|
|
457
263
|
|
|
458
264
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
459
265
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
266
|
# [9.5.0](https://github.com/instructure/instructure-ui/compare/v9.3.0...v9.5.0) (2024-07-26)
|
|
465
267
|
|
|
466
268
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
467
269
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
270
|
# [9.4.0](https://github.com/instructure/instructure-ui/compare/v9.3.0...v9.4.0) (2024-07-26)
|
|
473
271
|
|
|
474
272
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
475
273
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
274
|
# [9.3.0](https://github.com/instructure/instructure-ui/compare/v9.2.0...v9.3.0) (2024-07-17)
|
|
481
275
|
|
|
482
276
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
483
277
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
278
|
# [9.2.0](https://github.com/instructure/instructure-ui/compare/v9.1.0...v9.2.0) (2024-07-09)
|
|
489
279
|
|
|
490
280
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
491
281
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
282
|
# [9.1.0](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.1.0) (2024-06-14)
|
|
497
283
|
|
|
498
284
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
499
285
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
286
|
## [9.0.1](https://github.com/instructure/instructure-ui/compare/v9.0.0...v9.0.1) (2024-05-09)
|
|
505
287
|
|
|
506
288
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
507
289
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
290
|
# [9.0.0](https://github.com/instructure/instructure-ui/compare/v8.56.0...v9.0.0) (2024-05-09)
|
|
513
291
|
|
|
514
292
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
515
293
|
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
294
|
# [8.56.0](https://github.com/instructure/instructure-ui/compare/v8.55.1...v8.56.0) (2024-05-06)
|
|
521
295
|
|
|
522
296
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
523
297
|
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
298
|
## [8.55.1](https://github.com/instructure/instructure-ui/compare/v8.55.0...v8.55.1) (2024-04-30)
|
|
529
299
|
|
|
530
300
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
531
301
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
302
|
# [8.55.0](https://github.com/instructure/instructure-ui/compare/v8.54.0...v8.55.0) (2024-04-09)
|
|
537
303
|
|
|
538
304
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
539
305
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
306
|
# [8.54.0](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.54.0) (2024-03-21)
|
|
545
307
|
|
|
546
308
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
547
309
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
310
|
## [8.53.2](https://github.com/instructure/instructure-ui/compare/v8.53.1...v8.53.2) (2024-02-15)
|
|
553
311
|
|
|
554
312
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
555
313
|
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
314
|
## [8.53.1](https://github.com/instructure/instructure-ui/compare/v8.53.0...v8.53.1) (2024-02-09)
|
|
561
315
|
|
|
562
316
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
563
317
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
318
|
# [8.53.0](https://github.com/instructure/instructure-ui/compare/v8.52.0...v8.53.0) (2024-02-08)
|
|
569
319
|
|
|
570
320
|
**Note:** Version bump only for package @instructure/ui-rating
|
|
@@ -24,11 +24,11 @@ var _dec, _class, _Rating;
|
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
import { Component } from 'react';
|
|
27
|
-
import { View } from '@instructure/ui-view';
|
|
27
|
+
import { View } from '@instructure/ui-view/v11_6';
|
|
28
28
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
29
29
|
import { omitProps } from '@instructure/ui-react-utils';
|
|
30
|
-
import { RatingIcon } from "
|
|
31
|
-
import { withStyle } from '@instructure/emotion';
|
|
30
|
+
import { RatingIcon } from "../../RatingIcon/v1/index.js";
|
|
31
|
+
import { withStyleLegacy as withStyle } from '@instructure/emotion';
|
|
32
32
|
import generateStyle from "./styles.js";
|
|
33
33
|
import { allowedProps } from "./props.js";
|
|
34
34
|
/**
|
|
@@ -27,7 +27,7 @@ import { Component } from 'react';
|
|
|
27
27
|
import { IconStarSolid, IconStarLightSolid } from '@instructure/ui-icons';
|
|
28
28
|
import { requestAnimationFrame } from '@instructure/ui-dom-utils';
|
|
29
29
|
import { Transition } from '@instructure/ui-motion';
|
|
30
|
-
import { withStyle } from '@instructure/emotion';
|
|
30
|
+
import { withStyleLegacy as withStyle } from '@instructure/emotion';
|
|
31
31
|
import generateStyle from "./styles.js";
|
|
32
32
|
import generateComponentTheme from "./theme.js";
|
|
33
33
|
import { allowedProps } from "./props.js";
|
|
@@ -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 { Rating } from "
|
|
25
|
-
export { RatingIcon } from "
|
|
24
|
+
export { Rating } from "../Rating/v1/index.js";
|
|
25
|
+
export { RatingIcon } from "../RatingIcon/v1/index.js";
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.Rating = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var
|
|
9
|
+
var _v11_ = require("@instructure/ui-view/v11_6");
|
|
10
10
|
var _ScreenReaderContent = require("@instructure/ui-a11y-content/lib/ScreenReaderContent");
|
|
11
11
|
var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
12
|
-
var
|
|
12
|
+
var _v = require("../../RatingIcon/v1");
|
|
13
13
|
var _emotion = require("@instructure/emotion");
|
|
14
14
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
15
15
|
var _props = require("./props");
|
|
@@ -43,7 +43,7 @@ var _dec, _class, _Rating;
|
|
|
43
43
|
category: components
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
|
-
let Rating = exports.Rating = (_dec = (0, _emotion.
|
|
46
|
+
let Rating = exports.Rating = (_dec = (0, _emotion.withStyleLegacy)(_styles.default, null), _dec(_class = (_Rating = class Rating extends _react.Component {
|
|
47
47
|
constructor(...args) {
|
|
48
48
|
super(...args);
|
|
49
49
|
this.ref = null;
|
|
@@ -89,8 +89,8 @@ let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default, n
|
|
|
89
89
|
label = _this$props4.label,
|
|
90
90
|
formatValueText = _this$props4.formatValueText;
|
|
91
91
|
const valueText = label + ' ' + (formatValueText === null || formatValueText === void 0 ? void 0 : formatValueText(this.filled, iconCount));
|
|
92
|
-
const passthroughProps =
|
|
93
|
-
return (0, _jsxRuntime.jsxs)(
|
|
92
|
+
const passthroughProps = _v11_.View.omitViewProps((0, _omitProps.omitProps)(this.props, Rating.allowedProps), Rating);
|
|
93
|
+
return (0, _jsxRuntime.jsxs)(_v11_.View, {
|
|
94
94
|
...passthroughProps,
|
|
95
95
|
css: (_this$props$styles = this.props.styles) === null || _this$props$styles === void 0 ? void 0 : _this$props$styles.rating,
|
|
96
96
|
margin: margin,
|
|
@@ -99,12 +99,12 @@ let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default, n
|
|
|
99
99
|
"data-cid": "Rating",
|
|
100
100
|
children: [(0, _jsxRuntime.jsx)(_ScreenReaderContent.ScreenReaderContent, {
|
|
101
101
|
children: valueText
|
|
102
|
-
}), [...Array(this.filled)].map((_x, i) => (0, _jsxRuntime.jsx)(
|
|
102
|
+
}), [...Array(this.filled)].map((_x, i) => (0, _jsxRuntime.jsx)(_v.RatingIcon, {
|
|
103
103
|
filled: true,
|
|
104
104
|
animateFill: animateFill,
|
|
105
105
|
animationDelay: animateFill ? (i + 1) * 200 : void 0,
|
|
106
106
|
size: size
|
|
107
|
-
}, i + 1)), [...Array(this.empty)].map((_x, i) => (0, _jsxRuntime.jsx)(
|
|
107
|
+
}, i + 1)), [...Array(this.empty)].map((_x, i) => (0, _jsxRuntime.jsx)(_v.RatingIcon, {
|
|
108
108
|
size: size
|
|
109
109
|
}, i + 1))]
|
|
110
110
|
});
|
|
@@ -115,5 +115,5 @@ let Rating = exports.Rating = (_dec = (0, _emotion.withStyle)(_styles.default, n
|
|
|
115
115
|
iconCount: 3,
|
|
116
116
|
size: 'medium',
|
|
117
117
|
valueNow: 0
|
|
118
|
-
}, _Rating.Icon =
|
|
118
|
+
}, _Rating.Icon = _v.RatingIcon, _Rating)) || _class);
|
|
119
119
|
var _default = exports.default = Rating;
|