@rustic-ai/ui-components 0.0.6 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rustic-ai/ui-components",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "keywords": [
5
5
  "rustic-ai",
6
6
  "conversational-ui"
@@ -52,6 +52,7 @@
52
52
  "@testing-library/cypress": "10.0.1",
53
53
  "@testing-library/react": "13.4.0",
54
54
  "@testing-library/user-event": "13.5.0",
55
+ "@types/dom-speech-recognition": "0.0.4",
55
56
  "@types/dompurify": "3.0.5",
56
57
  "@types/node": "20.11.20",
57
58
  "@types/pluralize": "0.0.33",
@@ -103,7 +104,7 @@
103
104
  "scripts": {
104
105
  "build": "webpack --config webpack.prod.config.js",
105
106
  "setup-dev-env": "husky install",
106
- "test": "LANG='en-US' TZ='America/Vancouver' cypress run --component",
107
+ "test": "LANG='en-US' TZ='America/Vancouver' cypress run --browser chrome --component",
107
108
  "test:interactive": "LANG='en-US' TZ='America/Vancouver' cypress open",
108
109
  "storybook": "storybook dev -p 6006",
109
110
  "build-storybook": "storybook build"
@@ -1,25 +0,0 @@
1
- import './controls.css';
2
- interface MediaIconButtonProps {
3
- onClick: () => void;
4
- action: 'play' | 'pause' | 'forward' | 'replay' | 'volumeUp' | 'volumeOff';
5
- className?: string;
6
- }
7
- interface MediaControls {
8
- mediaElement: HTMLMediaElement;
9
- }
10
- interface TranscriptToggleProps {
11
- isTranscriptShown: boolean;
12
- setIsTranscriptShown: () => void;
13
- }
14
- interface MoveTenSecondsButtonProps extends MediaControls {
15
- movement: 'replay' | 'forward';
16
- }
17
- export declare function MediaIconButton(props: MediaIconButtonProps): import("react/jsx-runtime").JSX.Element;
18
- export declare function ProgressSlider(props: MediaControls): import("react/jsx-runtime").JSX.Element;
19
- export declare function VolumeSettings(props: MediaControls): import("react/jsx-runtime").JSX.Element;
20
- export declare function TranscriptToggle(props: TranscriptToggleProps): import("react/jsx-runtime").JSX.Element;
21
- export declare function PausePlayToggle(props: MediaControls): import("react/jsx-runtime").JSX.Element;
22
- export declare function PlaybackRateButton(props: MediaControls): import("react/jsx-runtime").JSX.Element;
23
- export declare function MoveTenSecondsButton(props: MoveTenSecondsButtonProps): import("react/jsx-runtime").JSX.Element;
24
- export {};
25
- //# sourceMappingURL=controls.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/controls.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAA;AAevB,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,WAAW,CAAA;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,UAAU,aAAa;IACrB,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE,OAAO,CAAA;IAC1B,oBAAoB,EAAE,MAAM,IAAI,CAAA;CACjC;AAED,UAAU,yBAA0B,SAAQ,aAAa;IACvD,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC/B;AAID,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAuB1D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CAsDlD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CA0DlD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CAiB5D;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa,2CA0BnD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,2CA4BtD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CAkBpE"}