@sampleapp.ai/sdk 1.0.25 → 1.0.27
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/chat-bar/typing-textarea.js +17 -11
- package/dist/components/chat-bar/voice-button.js +4 -22
- package/dist/components/chat-bar.js +100 -61
- package/dist/components/icons.js +155 -0
- package/dist/components/minimal-chat-bar.js +51 -0
- package/dist/components/ui/button.js +78 -30
- package/dist/index.d.ts +5 -8
- package/dist/index.es.js +1050 -6085
- package/dist/index.js +1 -0
- package/dist/index.standalone.js +85 -0
- package/dist/index.standalone.umd.js +147 -0
- package/dist/index.umd.js +300 -96
- package/dist/sdk.css +1 -0
- package/package.json +5 -3
package/dist/sdk.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--sdk-background: 240 10% 3.9%;--sdk-foreground: 0 0% 98%;--sdk-card: 240 10% 3.9%;--sdk-card-foreground: 0 0% 98%;--sdk-popover: 240 10% 3.9%;--sdk-popover-foreground: 0 0% 98%;--sdk-primary: 0 0% 88%;--sdk-primary-foreground: 240 5.9% 10%;--sdk-secondary: 240 3.7% 15.9%;--sdk-secondary-foreground: 0 0% 98%;--sdk-muted: 240 3.7% 15.9%;--sdk-muted-foreground: 240 5% 64.9%;--sdk-accent: 240 3.7% 15.9%;--sdk-accent-foreground: 0 0% 98%;--sdk-destructive: 0 62.8% 30.6%;--sdk-destructive-foreground: 0 0% 98%;--sdk-border: 240 3.7% 15.9%;--sdk-input: 240 3.7% 15.9%;--sdk-ring: 240 4.9% 83.9%;--sdk-radius: .5rem;--sdk-dinoco-50: 239 100% 98%;--sdk-dinoco-100: 237 91% 91%;--sdk-dinoco-200: 237 84% 84%;--sdk-dinoco-300: 238 78% 73%;--sdk-dinoco-400: 238 66% 58%;--sdk-dinoco-500: 198 78% 45%;--sdk-dinoco-600: 198 58% 38%;--sdk-dinoco-700: 199 49% 32%;--sdk-dinoco-800: 200 43% 27%;--sdk-dinoco-900: 200 41% 24%;--sdk-dinoco-950: 201 63% 15%;--sdk-blue-50: 239 100% 98%;--sdk-blue-100: 237 91% 91%;--sdk-blue-200: 237 84% 84%;--sdk-blue-300: 238 78% 73%;--sdk-blue-400: 238 66% 58%;--sdk-blue-500: 198 78% 45%;--sdk-blue-600: 198 58% 38%;--sdk-blue-700: 199 49% 32%;--sdk-blue-800: 200 43% 27%;--sdk-blue-900: 200 41% 24%;--sdk-blue-950: 201 63% 15%}.sdk-theme{--primary: 0 0% 88%;--primary-foreground: 240 5.9% 10%;--secondary: 240 3.7% 15.9%;--secondary-foreground: 0 0% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 0 0% 98%;--accent: 240 3.7% 15.9%;--accent-foreground: 0 0% 98%;--background: 240 10% 3.9%;--foreground: 0 0% 98%;--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 240 4.9% 83.9%;--muted: 240 3.7% 15.9%;--muted-foreground: 240 5% 64.9%}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sampleapp.ai/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript SDK for your components",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -20,15 +20,17 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"dev": "vite --config vite.es.config.ts",
|
|
24
|
-
"build": "npm run build:es && npm run build:umd",
|
|
23
|
+
"dev": "concurrently -n es,umd \"vite build --config vite.es.config.ts --watch\" \"vite build --config vite.umd.config.ts --watch\"",
|
|
24
|
+
"build": "npm run build:es && npm run build:umd && npm run build:standalone",
|
|
25
25
|
"build:es": "tsc && vite build --config vite.es.config.ts",
|
|
26
26
|
"build:umd": "vite build --config vite.umd.config.ts",
|
|
27
|
+
"build:standalone": "vite build --config vite.standalone.config.ts",
|
|
27
28
|
"preview": "vite preview",
|
|
28
29
|
"type-check": "tsc --noEmit",
|
|
29
30
|
"prepublishOnly": "npm run build"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
33
|
+
"concurrently": "^8.2.2",
|
|
32
34
|
"@types/node": "^24.3.1",
|
|
33
35
|
"@types/react": "^19.1.12",
|
|
34
36
|
"@types/react-dom": "^19.1.9",
|