@rustic-ai/ui-components 0.0.7 → 0.0.8
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/media/audio/sound.d.ts.map +1 -1
- package/dist/components/media/controls/commonControls.d.ts.map +1 -1
- package/dist/components/media/controls/mediaIconButton.d.ts.map +1 -1
- package/dist/components/media/controls/videoControls.d.ts.map +1 -1
- package/dist/components/media/video/video.d.ts.map +1 -1
- package/dist/components/textInput/textInput.d.ts +3 -0
- package/dist/components/textInput/textInput.d.ts.map +1 -1
- package/dist/index.css +12 -2
- package/dist/index.js +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../../../src/components/media/audio/sound.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../../../src/components/media/audio/sound.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AASpB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAa9C,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,WAAW,2CA8N/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonControls.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/commonControls.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"commonControls.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/commonControls.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;AAe7B,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,UAAU,2BAA2B;IACnC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,sBAAsB,EAAE,MAAM,IAAI,CAAA;CACnC;AAED,UAAU,sBAAuB,SAAQ,aAAa;IACpD,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,UAAU,yBAA0B,SAAQ,aAAa;IACvD,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC/B;AAID,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CAsDlD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CAoDlD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CAiBxE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAiC9D;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,2CAkCtD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CAkBpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediaIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/mediaIconButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mediaIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/mediaIconButton.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EACF,MAAM,GACN,OAAO,GACP,SAAS,GACT,QAAQ,GACR,UAAU,GACV,WAAW,GACX,kBAAkB,GAClB,sBAAsB,GACtB,YAAY,GACZ,gBAAgB,GAChB,YAAY,GACZ,aAAa,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CA0C1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"videoControls.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/videoControls.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGrD,UAAU,qBAAqB;IAC7B,OAAO,EAAE,WAAW,CAAA;IACpB,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,UAAU,2BAA4B,SAAQ,aAAa;IACzD,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CA2CxE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"videoControls.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/videoControls.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGrD,UAAU,qBAAqB;IAC7B,OAAO,EAAE,WAAW,CAAA;IACpB,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,UAAU,2BAA4B,SAAQ,aAAa;IACzD,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CA2CxE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CAuC5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../src/components/media/video/video.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../src/components/media/video/video.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AASpB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAiB9C,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,KAAK,EAAE,WAAW,2CAqT/C"}
|
|
@@ -16,6 +16,8 @@ export interface TextInputProps {
|
|
|
16
16
|
maxRows?: number;
|
|
17
17
|
/** Boolean that dictates whether `TextInput` takes up 100% width of the parent container. */
|
|
18
18
|
fullWidth?: boolean;
|
|
19
|
+
/** Boolean to enable speech-to-text. See which browsers are supported [here](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#browser_compatibility). */
|
|
20
|
+
enableSpeechToText?: boolean;
|
|
19
21
|
}
|
|
20
22
|
declare function TextInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
21
23
|
declare namespace TextInput {
|
|
@@ -23,6 +25,7 @@ declare namespace TextInput {
|
|
|
23
25
|
multiline: boolean;
|
|
24
26
|
fullWidth: boolean;
|
|
25
27
|
maxRows: number;
|
|
28
|
+
enableSpeechToText: boolean;
|
|
26
29
|
};
|
|
27
30
|
}
|
|
28
31
|
export default TextInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../src/components/textInput/textInput.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../src/components/textInput/textInput.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAaxB,OAAO,KAAK,EAAW,eAAe,EAAE,MAAM,UAAU,CAAA;AAExD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,eAAe,CAAA;IACnB,8BAA8B;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,cAAc,EAAE,MAAM,CAAA;IACtB,4NAA4N;IAC5N,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,2KAA2K;IAC3K,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,iBAAwB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAqLtD;kBArLuB,SAAS;;;;;;;;eAAT,SAAS"}
|
package/dist/index.css
CHANGED
|
@@ -118,6 +118,10 @@ code {
|
|
|
118
118
|
font-size: 16px;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
.rustic-sound .rustic-control-error {
|
|
122
|
+
margin-top: 16px;
|
|
123
|
+
}
|
|
124
|
+
|
|
121
125
|
/* style video element if has captions */
|
|
122
126
|
.rustic-sound .rustic-has-captions {
|
|
123
127
|
display: unset;
|
|
@@ -309,7 +313,7 @@ code {
|
|
|
309
313
|
height: 40px;
|
|
310
314
|
}
|
|
311
315
|
|
|
312
|
-
.rustic-video-control-error
|
|
316
|
+
.rustic-video-screen .rustic-control-error {
|
|
313
317
|
position: absolute;
|
|
314
318
|
top: 0;
|
|
315
319
|
left: 0;
|
|
@@ -518,7 +522,7 @@ code {
|
|
|
518
522
|
|
|
519
523
|
.rustic-text-input-container {
|
|
520
524
|
display: flex;
|
|
521
|
-
align-items:
|
|
525
|
+
align-items: flex-end;
|
|
522
526
|
gap: 8px;
|
|
523
527
|
}
|
|
524
528
|
|
|
@@ -526,3 +530,9 @@ code {
|
|
|
526
530
|
border-width: 1px;
|
|
527
531
|
}
|
|
528
532
|
|
|
533
|
+
.rustic-text-input-and-error-container {
|
|
534
|
+
display: flex;
|
|
535
|
+
flex-direction: column;
|
|
536
|
+
width: 100%;
|
|
537
|
+
}
|
|
538
|
+
|