@rustic-ai/ui-components 0.0.5 → 0.0.6
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/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 +3 -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/controls.d.ts +25 -0
- package/dist/components/media/controls/controls.d.ts.map +1 -0
- package/dist/components/media/timeIndicator/timeIndicator.d.ts +16 -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/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 +83 -9
- package/dist/components/types.d.ts.map +1 -1
- package/dist/index.css +183 -3
- package/dist/index.js +1 -1
- package/dist/rusticTheme.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -109,6 +109,180 @@ 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
|
+
|
|
161
|
+
.rustic-progress {
|
|
162
|
+
display: flex;
|
|
163
|
+
gap: 24px;
|
|
164
|
+
align-items: center;
|
|
165
|
+
position: relative;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.rustic-progress-slider {
|
|
169
|
+
height: 8px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* circle that you drag on slider to change the time */
|
|
173
|
+
.rustic-progress-slider .MuiSlider-thumb {
|
|
174
|
+
z-index: 2;
|
|
175
|
+
width: 15px;
|
|
176
|
+
height: 15px;
|
|
177
|
+
}
|
|
178
|
+
/* bar to the left of the thumb (circle), tracking the time */
|
|
179
|
+
.rustic-progress-slider .MuiSlider-track {
|
|
180
|
+
z-index: 1;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.rustic-progress-buffered {
|
|
184
|
+
height: 8px;
|
|
185
|
+
position: absolute;
|
|
186
|
+
border-radius: 12px;
|
|
187
|
+
width: 100%;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.rustic-volume-settings {
|
|
191
|
+
display: flex;
|
|
192
|
+
align-items: center;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.rustic-volume-slider {
|
|
196
|
+
transition: 0.2s ease-in-out;
|
|
197
|
+
width: 0px;
|
|
198
|
+
height: 5px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* circle that you drag on slider to change the volume */
|
|
202
|
+
.rustic-volume-slider .MuiSlider-thumb {
|
|
203
|
+
width: 10px;
|
|
204
|
+
height: 10px;
|
|
205
|
+
display: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* slider thumb appears on hover or focus */
|
|
209
|
+
.rustic-volume-settings:hover .MuiSlider-thumb,
|
|
210
|
+
.rustic-volume-settings:focus-within .MuiSlider-thumb {
|
|
211
|
+
display: unset;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.rustic-transcript-toggle span {
|
|
215
|
+
text-transform: none;
|
|
216
|
+
line-height: 1.5;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.rustic-playback-rate-button {
|
|
220
|
+
min-width: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@media (min-width: 900px) {
|
|
224
|
+
/* slider appears on hover or focus */
|
|
225
|
+
.rustic-volume-settings:hover .rustic-volume-slider,
|
|
226
|
+
.rustic-volume-settings:focus-within .rustic-volume-slider {
|
|
227
|
+
width: 64px;
|
|
228
|
+
margin-inline: 8px;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@media (max-width: 900px) {
|
|
233
|
+
.rustic-progress {
|
|
234
|
+
padding-inline: 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.rustic-progress-buffered {
|
|
238
|
+
left: 0;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.rustic-volume-settings {
|
|
242
|
+
gap: 8px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.rustic-volume-slider {
|
|
246
|
+
width: 100%;
|
|
247
|
+
margin-right: 24px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.rustic-volume-settings .MuiSlider-thumb {
|
|
251
|
+
display: unset;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.rustic-time-display {
|
|
256
|
+
margin-left: 8px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@media (max-width: 900px) {
|
|
260
|
+
.rustic-time-container {
|
|
261
|
+
display: flex;
|
|
262
|
+
justify-content: space-between;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.rustic-transcript-container {
|
|
267
|
+
padding-top: 16px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.rustic-transcript-header {
|
|
271
|
+
display: flex;
|
|
272
|
+
padding-bottom: 10px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.rustic-transcript-header hr {
|
|
276
|
+
border-right-width: medium;
|
|
277
|
+
height: 21px;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.rustic-transcript-header span {
|
|
281
|
+
text-transform: none;
|
|
282
|
+
padding-left: 14px;
|
|
283
|
+
line-height: 1.5;
|
|
284
|
+
}
|
|
285
|
+
|
|
112
286
|
.rustic-popover-menu ul {
|
|
113
287
|
padding: 0;
|
|
114
288
|
min-width: 240px;
|
|
@@ -159,7 +333,7 @@ code {
|
|
|
159
333
|
margin-left: auto;
|
|
160
334
|
}
|
|
161
335
|
|
|
162
|
-
.rustic-
|
|
336
|
+
.rustic-message-space {
|
|
163
337
|
overflow-y: scroll;
|
|
164
338
|
display: flex;
|
|
165
339
|
flex-direction: column;
|
|
@@ -231,7 +405,13 @@ code {
|
|
|
231
405
|
overflow-wrap: break-word;
|
|
232
406
|
}
|
|
233
407
|
|
|
234
|
-
.rustic-text-input {
|
|
235
|
-
|
|
408
|
+
.rustic-text-input-container {
|
|
409
|
+
display: flex;
|
|
410
|
+
align-items: center;
|
|
411
|
+
gap: 8px;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.rustic-text-input-container .rustic-text-input fieldset[aria-hidden='true'] {
|
|
415
|
+
border-width: 1px;
|
|
236
416
|
}
|
|
237
417
|
|