@zzish/math-rich-input 0.1.33 → 0.1.35
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/dist/math-rich-input.css +244 -244
- package/package.json +5 -4
package/dist/math-rich-input.css
CHANGED
|
@@ -78,160 +78,180 @@
|
|
|
78
78
|
padding: 2px;
|
|
79
79
|
margin: 0px 2px;
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
background:
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
/* Note that the top left position of the accent bar is set programatically in componentDidMount */
|
|
82
|
+
|
|
83
|
+
.AccentBar {
|
|
84
|
+
position: absolute;
|
|
85
|
+
z-index: 1;
|
|
86
|
+
width: 360px;
|
|
87
|
+
background-color: #fff;
|
|
88
|
+
border: 1px solid #d0d0d0;
|
|
89
|
+
border-radius: 5px;
|
|
90
|
+
box-shadow: 1px 1px 5px #a0a0a0;
|
|
91
|
+
padding: 8px;
|
|
92
|
+
animation: 0.4s fadeIn1;
|
|
90
93
|
animation-fill-mode: forwards;
|
|
91
94
|
}
|
|
92
95
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
.AccentBar-compact {
|
|
97
|
+
display: flex;
|
|
98
|
+
position: absolute;
|
|
99
|
+
z-index: 1;
|
|
100
|
+
background-color: white;
|
|
101
|
+
border: 1px solid #d0d0d0;
|
|
102
|
+
border-radius: 5px;
|
|
103
|
+
box-shadow: 1px 1px 5px #a0a0a0;
|
|
104
|
+
padding: 5px;
|
|
105
|
+
animation: 0.4s fadeIn1;
|
|
106
|
+
animation-fill-mode: forwards;
|
|
100
107
|
}
|
|
101
108
|
|
|
102
|
-
.
|
|
103
|
-
|
|
104
|
-
border:
|
|
105
|
-
border-radius: 10px;
|
|
106
|
-
box-shadow: 0px 2px 5px 1px #a0a0a0;
|
|
107
|
-
position: fixed;
|
|
108
|
-
max-width: 500px;
|
|
109
|
-
width: 98%;
|
|
110
|
-
top: 50%;
|
|
111
|
-
left: 50%;
|
|
112
|
-
/* transform: translate(-50%,-50%); */
|
|
113
|
-
z-index: 100;
|
|
114
|
-
animation: 0.3s rise;
|
|
115
|
-
animation-fill-mode: forwards;
|
|
109
|
+
.AccentBar-outerContainer {
|
|
110
|
+
overflow-y: scroll;
|
|
111
|
+
border-radius: 5px;
|
|
116
112
|
}
|
|
117
113
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
114
|
+
.AccentBar-innerContainer {
|
|
115
|
+
height: 350px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@keyframes fadeIn1 {
|
|
119
|
+
0% {
|
|
121
120
|
opacity: 0;
|
|
122
121
|
}
|
|
123
122
|
100% {
|
|
124
|
-
transform: translate(-50%, -50%);
|
|
125
123
|
opacity: 1;
|
|
126
124
|
}
|
|
127
125
|
}
|
|
128
126
|
|
|
129
|
-
.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
position: fixed;
|
|
135
|
-
max-width: 500px;
|
|
136
|
-
width: 99%;
|
|
137
|
-
top: 0%;
|
|
138
|
-
left: 50%;
|
|
139
|
-
transform: translate(-50%, 1px);
|
|
140
|
-
z-index: 100;
|
|
127
|
+
.AccentBar .symbols-grid {
|
|
128
|
+
display: grid;
|
|
129
|
+
grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
|
|
130
|
+
grid-auto-rows: minmax(min-content, max-content);
|
|
131
|
+
grid-gap: 3px;
|
|
141
132
|
}
|
|
142
133
|
|
|
143
|
-
.
|
|
144
|
-
|
|
145
|
-
justify-content: space-between;
|
|
146
|
-
font-size: 14px;
|
|
147
|
-
color: #404040;
|
|
148
|
-
text-align: left;
|
|
149
|
-
background: #e0e0e0;
|
|
150
|
-
border: 0px;
|
|
151
|
-
border-radius: 5px 5px 0px 0px;
|
|
152
|
-
padding: 15px;
|
|
153
|
-
margin: 0px;
|
|
134
|
+
.AccentBar .insert-grid {
|
|
135
|
+
padding: 5px;
|
|
154
136
|
}
|
|
155
137
|
|
|
156
|
-
.
|
|
157
|
-
|
|
158
|
-
|
|
138
|
+
.AccentBar .type-a-letter {
|
|
139
|
+
grid-column: 1/-1;
|
|
140
|
+
color: #a0a0a0;
|
|
141
|
+
font-family: sans-serif;
|
|
159
142
|
font-size: 14px;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
143
|
+
font-weight: bold;
|
|
144
|
+
height: 36px;
|
|
145
|
+
padding-top: 12px;
|
|
146
|
+
padding-left: 20px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.AccentBar-button {
|
|
150
|
+
font-family: sans-serif;
|
|
151
|
+
font-size: 17px;
|
|
152
|
+
width: 40px;
|
|
153
|
+
height: 36px;
|
|
154
|
+
background: #f4f4f4;
|
|
155
|
+
border-radius: 5px;
|
|
163
156
|
border: 0px;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
157
|
+
padding: 1px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.AB-compact {
|
|
167
161
|
margin: 0px;
|
|
162
|
+
background: white;
|
|
168
163
|
}
|
|
169
164
|
|
|
170
|
-
.
|
|
171
|
-
|
|
165
|
+
.AB-narrow {
|
|
166
|
+
width: 36px;
|
|
172
167
|
}
|
|
173
168
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
169
|
+
.AccentBar-button:hover {
|
|
170
|
+
color: white;
|
|
171
|
+
background: #663676;
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
box-shadow: 1px 1px 3px #808080;
|
|
174
|
+
animation: 2s grow;
|
|
175
|
+
animation-fill-mode: forwards;
|
|
180
176
|
}
|
|
181
177
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
178
|
+
@keyframes grow {
|
|
179
|
+
00% {
|
|
180
|
+
transform: scale(1);
|
|
181
|
+
box-shadow: 0px 0px 0px #808080;
|
|
182
|
+
}
|
|
183
|
+
10% {
|
|
184
|
+
transform: scale(1.3);
|
|
185
|
+
box-shadow: 1px 1px 3px #808080;
|
|
186
|
+
}
|
|
187
|
+
90% {
|
|
188
|
+
transform: scale(1.3);
|
|
189
|
+
box-shadow: 1px 1px 3px #808080;
|
|
190
|
+
}
|
|
191
|
+
100% {
|
|
192
|
+
transform: scale(1.8);
|
|
193
|
+
box-shadow: 1px 1px 3px #808080;
|
|
194
|
+
}
|
|
187
195
|
}
|
|
188
196
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
197
|
+
.AccentBar-button:active {
|
|
198
|
+
background: #808080;
|
|
199
|
+
color: white;
|
|
192
200
|
cursor: pointer;
|
|
193
|
-
top: 0;
|
|
194
|
-
left: 0;
|
|
195
|
-
right: 0;
|
|
196
|
-
bottom: 0;
|
|
197
|
-
background-color: #ccc;
|
|
198
|
-
-webkit-transition: 0.4s;
|
|
199
|
-
transition: 0.4s;
|
|
200
201
|
}
|
|
201
202
|
|
|
202
|
-
.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
left: 4px;
|
|
208
|
-
bottom: 4px;
|
|
209
|
-
background-color: white;
|
|
210
|
-
-webkit-transition: 0.4s;
|
|
211
|
-
transition: 0.4s;
|
|
203
|
+
.AccentBar .tabBar {
|
|
204
|
+
background: white;
|
|
205
|
+
text-align: left;
|
|
206
|
+
border: 0px;
|
|
207
|
+
padding: 10px 0;
|
|
212
208
|
}
|
|
213
209
|
|
|
214
|
-
.
|
|
215
|
-
|
|
210
|
+
.AccentBar .tab {
|
|
211
|
+
font-size: 14px;
|
|
212
|
+
font-weight: bold;
|
|
213
|
+
color: #404040;
|
|
214
|
+
text-align: left;
|
|
215
|
+
border: 0px;
|
|
216
|
+
height: 30px;
|
|
217
|
+
padding: 2px 5px 2px 5px;
|
|
218
|
+
margin: 2px;
|
|
219
|
+
border-bottom: 4px solid #d0d0d0;
|
|
216
220
|
}
|
|
217
221
|
|
|
218
|
-
.
|
|
219
|
-
|
|
222
|
+
.AccentBar .tab:hover {
|
|
223
|
+
cursor: pointer;
|
|
220
224
|
}
|
|
221
225
|
|
|
222
|
-
.
|
|
223
|
-
-
|
|
224
|
-
-
|
|
225
|
-
|
|
226
|
+
.AccentBar .tab-selected {
|
|
227
|
+
font-size: 14px;
|
|
228
|
+
font-weight: bold;
|
|
229
|
+
color: #404040;
|
|
230
|
+
text-align: left;
|
|
231
|
+
border: 0px;
|
|
232
|
+
height: 30px;
|
|
233
|
+
padding: 2px 5px 2px 5px;
|
|
234
|
+
margin: 2px;
|
|
235
|
+
border-bottom: 4px solid #663676;
|
|
226
236
|
}
|
|
227
237
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
238
|
+
.AccentBar .section-label {
|
|
239
|
+
grid-column: 1/-1;
|
|
240
|
+
font-size: 13px;
|
|
241
|
+
font-weight: bold;
|
|
242
|
+
color: #663676;
|
|
243
|
+
margin-top: 8px;
|
|
244
|
+
margin-left: 8px;
|
|
245
|
+
margin-bottom: 4px;
|
|
231
246
|
}
|
|
232
247
|
|
|
233
|
-
.
|
|
234
|
-
|
|
248
|
+
.AccentBar .replace-section {
|
|
249
|
+
min-height: 70px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.AccentBar .tabArea {
|
|
253
|
+
animation: 0.4s fadeIn1;
|
|
254
|
+
animation-fill-mode: forwards;
|
|
235
255
|
}
|
|
236
256
|
/* Note that the top left position of the toolbar is set programatically in componentDidMount */
|
|
237
257
|
|
|
@@ -363,180 +383,160 @@
|
|
|
363
383
|
display: inline-block;
|
|
364
384
|
border-bottom: 1px dotted black; /* If you want dots under the hoverable text
|
|
365
385
|
} */
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
background
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
box-shadow: 1px 1px 5px #a0a0a0;
|
|
376
|
-
padding: 8px;
|
|
377
|
-
animation: 0.4s fadeIn1;
|
|
378
|
-
animation-fill-mode: forwards;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
.AccentBar-compact {
|
|
382
|
-
display: flex;
|
|
383
|
-
position: absolute;
|
|
384
|
-
z-index: 1;
|
|
385
|
-
background-color: white;
|
|
386
|
-
border: 1px solid #d0d0d0;
|
|
387
|
-
border-radius: 5px;
|
|
388
|
-
box-shadow: 1px 1px 5px #a0a0a0;
|
|
389
|
-
padding: 5px;
|
|
390
|
-
animation: 0.4s fadeIn1;
|
|
386
|
+
.EquationEditorModal-background {
|
|
387
|
+
position: fixed;
|
|
388
|
+
top: 0;
|
|
389
|
+
left: 0;
|
|
390
|
+
width: 100%;
|
|
391
|
+
height: 100%;
|
|
392
|
+
background: black;
|
|
393
|
+
z-index: 99;
|
|
394
|
+
animation: 0.3s shade;
|
|
391
395
|
animation-fill-mode: forwards;
|
|
392
396
|
}
|
|
393
397
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
398
|
+
@keyframes shade {
|
|
399
|
+
00% {
|
|
400
|
+
opacity: 0;
|
|
401
|
+
}
|
|
402
|
+
100% {
|
|
403
|
+
opacity: 0.6;
|
|
404
|
+
}
|
|
397
405
|
}
|
|
398
406
|
|
|
399
|
-
.
|
|
400
|
-
|
|
407
|
+
.EquationEditorModal {
|
|
408
|
+
background: white;
|
|
409
|
+
border: 1px solid #808080;
|
|
410
|
+
border-radius: 10px;
|
|
411
|
+
box-shadow: 0px 2px 5px 1px #a0a0a0;
|
|
412
|
+
position: fixed;
|
|
413
|
+
max-width: 500px;
|
|
414
|
+
width: 98%;
|
|
415
|
+
top: 50%;
|
|
416
|
+
left: 50%;
|
|
417
|
+
/* transform: translate(-50%,-50%); */
|
|
418
|
+
z-index: 100;
|
|
419
|
+
animation: 0.3s rise;
|
|
420
|
+
animation-fill-mode: forwards;
|
|
401
421
|
}
|
|
402
422
|
|
|
403
|
-
@keyframes
|
|
404
|
-
|
|
423
|
+
@keyframes rise {
|
|
424
|
+
00% {
|
|
425
|
+
transform: translate(-50%, 100%);
|
|
405
426
|
opacity: 0;
|
|
406
427
|
}
|
|
407
428
|
100% {
|
|
429
|
+
transform: translate(-50%, -50%);
|
|
408
430
|
opacity: 1;
|
|
409
431
|
}
|
|
410
432
|
}
|
|
411
433
|
|
|
412
|
-
.
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
434
|
+
.EquationEditorModal-mobile {
|
|
435
|
+
background: white;
|
|
436
|
+
border: 1px solid #808080;
|
|
437
|
+
border-radius: 10px;
|
|
438
|
+
box-shadow: 0px 2px 5px 1px #a0a0a0;
|
|
439
|
+
position: fixed;
|
|
440
|
+
max-width: 500px;
|
|
441
|
+
width: 99%;
|
|
442
|
+
top: 0%;
|
|
443
|
+
left: 50%;
|
|
444
|
+
transform: translate(-50%, 1px);
|
|
445
|
+
z-index: 100;
|
|
421
446
|
}
|
|
422
447
|
|
|
423
|
-
.
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
font-family: sans-serif;
|
|
448
|
+
.EquationEditorModal .title {
|
|
449
|
+
display: flex;
|
|
450
|
+
justify-content: space-between;
|
|
427
451
|
font-size: 14px;
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
padding-left: 20px;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.AccentBar-button {
|
|
435
|
-
font-family: sans-serif;
|
|
436
|
-
font-size: 17px;
|
|
437
|
-
width: 40px;
|
|
438
|
-
height: 36px;
|
|
439
|
-
background: #f4f4f4;
|
|
440
|
-
border-radius: 5px;
|
|
452
|
+
color: #404040;
|
|
453
|
+
text-align: left;
|
|
454
|
+
background: #e0e0e0;
|
|
441
455
|
border: 0px;
|
|
442
|
-
|
|
456
|
+
border-radius: 5px 5px 0px 0px;
|
|
457
|
+
padding: 15px;
|
|
458
|
+
margin: 0px;
|
|
443
459
|
}
|
|
444
460
|
|
|
445
|
-
.
|
|
461
|
+
.EquationEditorModal-mobile .title {
|
|
462
|
+
display: flex;
|
|
463
|
+
justify-content: space-between;
|
|
464
|
+
font-size: 14px;
|
|
465
|
+
color: #404040;
|
|
466
|
+
text-align: left;
|
|
467
|
+
background: #e0e0e0;
|
|
468
|
+
border: 0px;
|
|
469
|
+
border-radius: 5px 5px 0px 0px;
|
|
470
|
+
height: 30px;
|
|
471
|
+
padding: 15px;
|
|
446
472
|
margin: 0px;
|
|
447
|
-
background: white;
|
|
448
473
|
}
|
|
449
474
|
|
|
450
|
-
.
|
|
451
|
-
|
|
475
|
+
.EquationEditorModal .expertModeSwitch .switch {
|
|
476
|
+
margin-left: 10px;
|
|
452
477
|
}
|
|
453
478
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
animation-fill-mode: forwards;
|
|
479
|
+
/* The switch - the box around the slider */
|
|
480
|
+
.EquationEditorModal .switch {
|
|
481
|
+
position: relative;
|
|
482
|
+
display: inline-block;
|
|
483
|
+
width: 35px;
|
|
484
|
+
height: 22px;
|
|
461
485
|
}
|
|
462
486
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
10% {
|
|
469
|
-
transform: scale(1.3);
|
|
470
|
-
box-shadow: 1px 1px 3px #808080;
|
|
471
|
-
}
|
|
472
|
-
90% {
|
|
473
|
-
transform: scale(1.3);
|
|
474
|
-
box-shadow: 1px 1px 3px #808080;
|
|
475
|
-
}
|
|
476
|
-
100% {
|
|
477
|
-
transform: scale(1.8);
|
|
478
|
-
box-shadow: 1px 1px 3px #808080;
|
|
479
|
-
}
|
|
487
|
+
/* Hide default HTML checkbox */
|
|
488
|
+
.EquationEditorModal .switch input {
|
|
489
|
+
opacity: 0;
|
|
490
|
+
width: 0;
|
|
491
|
+
height: 0;
|
|
480
492
|
}
|
|
481
493
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
494
|
+
/* The slider */
|
|
495
|
+
.EquationEditorModal .slider {
|
|
496
|
+
position: absolute;
|
|
485
497
|
cursor: pointer;
|
|
498
|
+
top: 0;
|
|
499
|
+
left: 0;
|
|
500
|
+
right: 0;
|
|
501
|
+
bottom: 0;
|
|
502
|
+
background-color: #ccc;
|
|
503
|
+
-webkit-transition: 0.4s;
|
|
504
|
+
transition: 0.4s;
|
|
486
505
|
}
|
|
487
506
|
|
|
488
|
-
.
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
color: #404040;
|
|
499
|
-
text-align: left;
|
|
500
|
-
border: 0px;
|
|
501
|
-
height: 30px;
|
|
502
|
-
padding: 2px 5px 2px 5px;
|
|
503
|
-
margin: 2px;
|
|
504
|
-
border-bottom: 4px solid #d0d0d0;
|
|
507
|
+
.EquationEditorModal .slider:before {
|
|
508
|
+
position: absolute;
|
|
509
|
+
content: "";
|
|
510
|
+
height: 14px;
|
|
511
|
+
width: 14px;
|
|
512
|
+
left: 4px;
|
|
513
|
+
bottom: 4px;
|
|
514
|
+
background-color: white;
|
|
515
|
+
-webkit-transition: 0.4s;
|
|
516
|
+
transition: 0.4s;
|
|
505
517
|
}
|
|
506
518
|
|
|
507
|
-
.
|
|
508
|
-
|
|
519
|
+
.EquationEditorModal input:checked + .slider {
|
|
520
|
+
background-color: #663676;
|
|
509
521
|
}
|
|
510
522
|
|
|
511
|
-
.
|
|
512
|
-
|
|
513
|
-
font-weight: bold;
|
|
514
|
-
color: #404040;
|
|
515
|
-
text-align: left;
|
|
516
|
-
border: 0px;
|
|
517
|
-
height: 30px;
|
|
518
|
-
padding: 2px 5px 2px 5px;
|
|
519
|
-
margin: 2px;
|
|
520
|
-
border-bottom: 4px solid #663676;
|
|
523
|
+
.EquationEditorModal input:focus + .slider {
|
|
524
|
+
box-shadow: 0 0 1px #2196f3;
|
|
521
525
|
}
|
|
522
526
|
|
|
523
|
-
.
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
color: #663676;
|
|
528
|
-
margin-top: 8px;
|
|
529
|
-
margin-left: 8px;
|
|
530
|
-
margin-bottom: 4px;
|
|
527
|
+
.EquationEditorModal input:checked + .slider:before {
|
|
528
|
+
-webkit-transform: translateX(13px);
|
|
529
|
+
-ms-transform: translateX(13px);
|
|
530
|
+
transform: translateX(13px);
|
|
531
531
|
}
|
|
532
532
|
|
|
533
|
-
|
|
534
|
-
|
|
533
|
+
/* Rounded sliders */
|
|
534
|
+
.EquationEditorModal .slider.round {
|
|
535
|
+
border-radius: 18px;
|
|
535
536
|
}
|
|
536
537
|
|
|
537
|
-
.
|
|
538
|
-
|
|
539
|
-
animation-fill-mode: forwards;
|
|
538
|
+
.EquationEditorModal .slider.round:before {
|
|
539
|
+
border-radius: 50%;
|
|
540
540
|
}
|
|
541
541
|
.EquationEditor {
|
|
542
542
|
height: auto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zzish/math-rich-input",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "React component for user to enter rich text with embedded math equations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"scripts": {
|
|
16
|
-
"build": "rollup --config"
|
|
16
|
+
"build": "rollup --config",
|
|
17
|
+
"prepublishOnly": "npm run build"
|
|
17
18
|
},
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"katex": "^0.12.0",
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
"rollup-plugin-css-only": "^3.1.0"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
43
|
-
"react": "^16.14.0",
|
|
44
|
-
"react-dom": "^16.14.0"
|
|
44
|
+
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
|
|
45
|
+
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
|
|
45
46
|
}
|
|
46
47
|
}
|