sunpeak 0.3.3 → 0.3.5
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/README.md +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +2034 -3065
- package/package.json +1 -1
- package/template/dev/main.tsx +1 -1
- package/template/src/App.tsx +1 -1
- package/template/src/components/openai-card.tsx +1 -1
- package/template/src/components/openai-carousel.tsx +1 -1
- package/template/src/styles/globals.css +1 -0
- package/template/tsconfig.json +3 -1
- package/template/vite.config.build.ts +2 -1
- package/template/vite.config.ts +0 -1
- package/template/vitest.config.ts +2 -1
package/README.md
CHANGED
|
@@ -39,6 +39,13 @@ Requirements: React (18+), Tailwind 4
|
|
|
39
39
|
pnpm add sunpeak
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
When using `ChatGPTSimulator`, import the styles in your entry file:
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
import 'sunpeak/style.css';
|
|
46
|
+
import { ChatGPTSimulator } from 'sunpeak';
|
|
47
|
+
```
|
|
48
|
+
|
|
42
49
|
## Key Features
|
|
43
50
|
- 📺 ChatGPT simulator for local UI component development.
|
|
44
51
|
- 📚 Pre-built component library built on [openai/apps-sdk-ui](https://github.com/openai/apps-sdk-ui).
|