@rustic-ai/ui-components 0.0.5 → 0.0.7
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/components/calendar/fCCalendar.d.ts +2 -12
- package/dist/components/calendar/fCCalendar.d.ts.map +1 -1
- package/dist/components/chart/rechartsTimeSeries.d.ts.map +1 -1
- package/dist/components/codeSnippet/codeSnippet.d.ts +2 -7
- package/dist/components/codeSnippet/codeSnippet.d.ts.map +1 -1
- package/dist/components/helper.d.ts +1 -0
- package/dist/components/helper.d.ts.map +1 -1
- package/dist/components/image/image.d.ts +2 -13
- package/dist/components/image/image.d.ts.map +1 -1
- package/dist/components/index.d.ts +4 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/map/openLayersMap.d.ts +2 -15
- package/dist/components/map/openLayersMap.d.ts.map +1 -1
- package/dist/components/markdown/markedMarkdown.d.ts +2 -2
- package/dist/components/markdown/markedMarkdown.d.ts.map +1 -1
- package/dist/components/markdown/markedStreamingMarkdown.d.ts +2 -2
- package/dist/components/markdown/markedStreamingMarkdown.d.ts.map +1 -1
- package/dist/components/media/audio/sound.d.ts +4 -0
- package/dist/components/media/audio/sound.d.ts.map +1 -0
- package/dist/components/media/controls/commonControls.d.ts +22 -0
- package/dist/components/media/controls/commonControls.d.ts.map +1 -0
- package/dist/components/media/controls/mediaIconButton.d.ts +8 -0
- package/dist/components/media/controls/mediaIconButton.d.ts.map +1 -0
- package/dist/components/media/controls/videoControls.d.ts +12 -0
- package/dist/components/media/controls/videoControls.d.ts.map +1 -0
- package/dist/components/media/timeIndicator/timeIndicator.d.ts +14 -0
- package/dist/components/media/timeIndicator/timeIndicator.d.ts.map +1 -0
- package/dist/components/media/transcript/transcript.d.ts +7 -0
- package/dist/components/media/transcript/transcript.d.ts.map +1 -0
- package/dist/components/media/video/video.d.ts +4 -0
- package/dist/components/media/video/video.d.ts.map +1 -0
- package/dist/components/menu/popoverMenu.d.ts.map +1 -1
- package/dist/components/messageSpace/messageSpace.d.ts +3 -2
- package/dist/components/messageSpace/messageSpace.d.ts.map +1 -1
- package/dist/components/table/table.d.ts +2 -14
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/text/streamingText.d.ts +2 -2
- package/dist/components/text/streamingText.d.ts.map +1 -1
- package/dist/components/text/text.d.ts +2 -2
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/textInput/textInput.d.ts +4 -2
- package/dist/components/textInput/textInput.d.ts.map +1 -1
- package/dist/components/types.d.ts +89 -9
- package/dist/components/types.d.ts.map +1 -1
- package/dist/index.css +294 -3
- package/dist/index.js +1 -1
- package/dist/rusticTheme.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -109,6 +109,291 @@ code {
|
|
|
109
109
|
.rustic-open-layers-map-marker {
|
|
110
110
|
font-size: 40px;
|
|
111
111
|
}
|
|
112
|
+
.rustic-sound video {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* captions */
|
|
117
|
+
.rustic-sound video::cue {
|
|
118
|
+
font-size: 16px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* style video element if has captions */
|
|
122
|
+
.rustic-sound .rustic-has-captions {
|
|
123
|
+
display: unset;
|
|
124
|
+
height: 10vh;
|
|
125
|
+
width: 100%;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.rustic-sound-bottom-controls {
|
|
129
|
+
display: flex;
|
|
130
|
+
justify-content: space-between;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.rustic-sound-bottom-controls-left {
|
|
134
|
+
display: flex;
|
|
135
|
+
align-items: center;
|
|
136
|
+
justify-content: center;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.rustic-sound-bottom-controls-right {
|
|
140
|
+
display: flex;
|
|
141
|
+
justify-content: space-between;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.rustic-time-controls {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
@media (max-width: 900px) {
|
|
150
|
+
.rustic-sound-title {
|
|
151
|
+
padding: 0;
|
|
152
|
+
text-align: center;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.rustic-sound-bottom-controls {
|
|
156
|
+
flex-direction: column;
|
|
157
|
+
padding-inline: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.rustic-sound .rustic-pause-play-icon span {
|
|
161
|
+
font-size: 52px;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.rustic-progress {
|
|
166
|
+
display: flex;
|
|
167
|
+
gap: 24px;
|
|
168
|
+
align-items: center;
|
|
169
|
+
position: relative;
|
|
170
|
+
width: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.rustic-progress-slider {
|
|
174
|
+
height: 8px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* circle that you drag on slider to change the time */
|
|
178
|
+
.rustic-progress-slider .MuiSlider-thumb {
|
|
179
|
+
z-index: 2;
|
|
180
|
+
width: 15px;
|
|
181
|
+
height: 15px;
|
|
182
|
+
}
|
|
183
|
+
/* bar to the left of the thumb (circle), tracking the time */
|
|
184
|
+
.rustic-progress-slider .MuiSlider-track {
|
|
185
|
+
z-index: 1;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.rustic-progress-buffered {
|
|
189
|
+
height: 8px;
|
|
190
|
+
position: absolute;
|
|
191
|
+
border-radius: 12px;
|
|
192
|
+
width: 100%;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.rustic-volume-settings {
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.rustic-volume-slider {
|
|
201
|
+
transition: 0.2s ease-in-out;
|
|
202
|
+
width: 0px;
|
|
203
|
+
height: 5px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* circle that you drag on slider to change the volume */
|
|
207
|
+
.rustic-volume-slider .MuiSlider-thumb {
|
|
208
|
+
width: 10px;
|
|
209
|
+
height: 10px;
|
|
210
|
+
display: none;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* slider thumb appears on hover or focus */
|
|
214
|
+
.rustic-volume-settings:hover .MuiSlider-thumb,
|
|
215
|
+
.rustic-volume-settings:focus-within .MuiSlider-thumb {
|
|
216
|
+
display: unset;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.rustic-transcript-toggle span {
|
|
220
|
+
text-transform: none;
|
|
221
|
+
line-height: 1.5;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.rustic-playback-rate-button {
|
|
225
|
+
min-width: 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media (min-width: 900px) {
|
|
229
|
+
/* slider appears on hover or focus */
|
|
230
|
+
.rustic-volume-settings:hover .rustic-volume-slider,
|
|
231
|
+
.rustic-volume-settings:focus-within .rustic-volume-slider {
|
|
232
|
+
width: 64px;
|
|
233
|
+
margin-inline: 8px;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@media (max-width: 900px) {
|
|
238
|
+
.rustic-progress {
|
|
239
|
+
padding-inline: 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.rustic-progress-buffered {
|
|
243
|
+
left: 0;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.rustic-volume-settings {
|
|
247
|
+
gap: 8px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.rustic-volume-slider {
|
|
251
|
+
width: 100%;
|
|
252
|
+
margin-right: 24px;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.rustic-volume-settings .MuiSlider-thumb {
|
|
256
|
+
display: unset;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.rustic-time-display {
|
|
261
|
+
margin-left: 8px;
|
|
262
|
+
min-width: fit-content;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
@media (max-width: 900px) {
|
|
266
|
+
.rustic-time-container {
|
|
267
|
+
display: flex;
|
|
268
|
+
justify-content: space-between;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.rustic-transcript-container {
|
|
273
|
+
padding-top: 16px;
|
|
274
|
+
overflow-y: scroll;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.rustic-transcript-header {
|
|
278
|
+
display: flex;
|
|
279
|
+
padding-bottom: 10px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.rustic-transcript-header hr {
|
|
283
|
+
border-right-width: medium;
|
|
284
|
+
height: 21px;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.rustic-transcript-header span {
|
|
288
|
+
text-transform: none;
|
|
289
|
+
padding-left: 14px;
|
|
290
|
+
line-height: 1.5;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.rustic-transcript-content {
|
|
294
|
+
max-height: 25vh;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.rustic-video {
|
|
298
|
+
position: relative;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.rustic-video-loading-spinner {
|
|
302
|
+
position: absolute;
|
|
303
|
+
left: 0;
|
|
304
|
+
right: 0;
|
|
305
|
+
top: 0;
|
|
306
|
+
bottom: 0;
|
|
307
|
+
margin: auto;
|
|
308
|
+
width: 40px;
|
|
309
|
+
height: 40px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.rustic-video-control-error-message {
|
|
313
|
+
position: absolute;
|
|
314
|
+
top: 0;
|
|
315
|
+
left: 0;
|
|
316
|
+
margin: 16px;
|
|
317
|
+
z-index: 1000;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.rustic-video-screen {
|
|
321
|
+
position: relative;
|
|
322
|
+
/* helps center video when in fullscreen mode */
|
|
323
|
+
display: flex;
|
|
324
|
+
justify-content: center;
|
|
325
|
+
align-items: center;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.rustic-video-element {
|
|
329
|
+
object-fit: cover;
|
|
330
|
+
width: 100%;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.rustic-video-title,
|
|
334
|
+
.rustic-video-controls {
|
|
335
|
+
transition: 0.2s ease-in-out;
|
|
336
|
+
width: 100%;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.rustic-video-title {
|
|
340
|
+
position: absolute;
|
|
341
|
+
top: 0;
|
|
342
|
+
padding: 16px;
|
|
343
|
+
display: flex;
|
|
344
|
+
justify-content: space-between;
|
|
345
|
+
align-items: center;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.rustic-video-controls {
|
|
349
|
+
position: absolute;
|
|
350
|
+
bottom: 0;
|
|
351
|
+
padding: 16px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.rustic-video-top-controls {
|
|
355
|
+
display: flex;
|
|
356
|
+
gap: 8px;
|
|
357
|
+
align-items: center;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.rustic-video-bottom-controls {
|
|
361
|
+
display: flex;
|
|
362
|
+
justify-content: space-between;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.rustic-video-bottom-controls-left {
|
|
366
|
+
display: flex;
|
|
367
|
+
align-items: center;
|
|
368
|
+
justify-content: center;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.rustic-video-bottom-controls-right {
|
|
372
|
+
display: flex;
|
|
373
|
+
gap: 8px;
|
|
374
|
+
justify-content: space-between;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.rustic-time-controls {
|
|
378
|
+
display: flex;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
@media (max-width: 900px) {
|
|
382
|
+
.rustic-video-screen {
|
|
383
|
+
flex-direction: column;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.rustic-video-controls-mobile-preview {
|
|
387
|
+
display: flex;
|
|
388
|
+
justify-content: space-between;
|
|
389
|
+
width: 100%;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.rustic-video-bottom-controls-left {
|
|
393
|
+
gap: 8px;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
112
397
|
.rustic-popover-menu ul {
|
|
113
398
|
padding: 0;
|
|
114
399
|
min-width: 240px;
|
|
@@ -159,7 +444,7 @@ code {
|
|
|
159
444
|
margin-left: auto;
|
|
160
445
|
}
|
|
161
446
|
|
|
162
|
-
.rustic-
|
|
447
|
+
.rustic-message-space {
|
|
163
448
|
overflow-y: scroll;
|
|
164
449
|
display: flex;
|
|
165
450
|
flex-direction: column;
|
|
@@ -231,7 +516,13 @@ code {
|
|
|
231
516
|
overflow-wrap: break-word;
|
|
232
517
|
}
|
|
233
518
|
|
|
234
|
-
.rustic-text-input {
|
|
235
|
-
|
|
519
|
+
.rustic-text-input-container {
|
|
520
|
+
display: flex;
|
|
521
|
+
align-items: center;
|
|
522
|
+
gap: 8px;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.rustic-text-input-container .rustic-text-input fieldset[aria-hidden='true'] {
|
|
526
|
+
border-width: 1px;
|
|
236
527
|
}
|
|
237
528
|
|