@vibes.diy/prompts 14.3.203 → 14.3.205
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/index.d.ts +0 -1
- package/index.js +0 -1
- package/index.js.map +1 -1
- package/llms/access.md +4 -4
- package/llms/backend.md +15 -1
- package/llms/blockly.md +2 -2
- package/llms/bluesky.md +1 -1
- package/llms/board-games.md +3 -3
- package/llms/calendar.md +1 -1
- package/llms/callai.md +4 -4
- package/llms/connections.md +1 -1
- package/llms/create-vibe.md +3 -3
- package/llms/fireproof.md +7 -7
- package/llms/github.md +7 -2
- package/llms/image-gen.md +2 -2
- package/llms/index.d.ts +28 -28
- package/llms/index.js +84 -84
- package/llms/index.js.map +1 -1
- package/llms/maps.md +1 -1
- package/llms/match-style.md +1 -1
- package/llms/motion.md +7 -7
- package/llms/p5.md +1 -1
- package/llms/physics.md +2 -2
- package/llms/reskin.md +21 -21
- package/llms/richtext.md +5 -5
- package/llms/spotify.md +1 -1
- package/llms/stripe-subscriptions.js +1 -1
- package/llms/stripe-subscriptions.js.map +1 -1
- package/llms/stripe-subscriptions.md +179 -35
- package/llms/stripe.js +5 -1
- package/llms/stripe.js.map +1 -1
- package/llms/stripe.md +247 -58
- package/llms/strudel.md +3 -3
- package/llms/three-js.md +4 -4
- package/llms/touch-games.js +1 -1
- package/llms/touch-games.js.map +1 -1
- package/llms/touch-games.md +3 -3
- package/llms/ui-blog.d.ts +2 -0
- package/llms/ui-blog.js +7 -0
- package/llms/ui-blog.js.map +1 -0
- package/llms/{pouf-blog.md → ui-blog.md} +10 -10
- package/llms/ui-booking.d.ts +2 -0
- package/llms/ui-booking.js +7 -0
- package/llms/ui-booking.js.map +1 -0
- package/llms/{pouf-booking.md → ui-booking.md} +8 -8
- package/llms/ui-calendar.d.ts +2 -0
- package/llms/ui-calendar.js +7 -0
- package/llms/ui-calendar.js.map +1 -0
- package/llms/{pouf-calendar.md → ui-calendar.md} +5 -5
- package/llms/ui-chat.d.ts +2 -0
- package/llms/ui-chat.js +7 -0
- package/llms/ui-chat.js.map +1 -0
- package/llms/{pouf-chat.md → ui-chat.md} +4 -4
- package/llms/ui-contact.d.ts +2 -0
- package/llms/ui-contact.js +7 -0
- package/llms/ui-contact.js.map +1 -0
- package/llms/{pouf-contact.md → ui-contact.md} +7 -7
- package/llms/ui-course.d.ts +2 -0
- package/llms/ui-course.js +7 -0
- package/llms/ui-course.js.map +1 -0
- package/llms/{pouf-course.md → ui-course.md} +9 -9
- package/llms/ui-crm.d.ts +2 -0
- package/llms/ui-crm.js +7 -0
- package/llms/ui-crm.js.map +1 -0
- package/llms/{pouf-crm.md → ui-crm.md} +5 -5
- package/llms/ui-dashboard.d.ts +2 -0
- package/llms/ui-dashboard.js +7 -0
- package/llms/ui-dashboard.js.map +1 -0
- package/llms/{pouf-dashboard.md → ui-dashboard.md} +7 -7
- package/llms/ui-editorial.d.ts +2 -0
- package/llms/ui-editorial.js +7 -0
- package/llms/ui-editorial.js.map +1 -0
- package/llms/{pouf-editorial.md → ui-editorial.md} +5 -5
- package/llms/ui-event.d.ts +2 -0
- package/llms/ui-event.js +7 -0
- package/llms/ui-event.js.map +1 -0
- package/llms/{pouf-event.md → ui-event.md} +5 -5
- package/llms/ui-feed.d.ts +2 -0
- package/llms/ui-feed.js +7 -0
- package/llms/ui-feed.js.map +1 -0
- package/llms/{pouf-feed.md → ui-feed.md} +5 -5
- package/llms/ui-game.d.ts +2 -0
- package/llms/ui-game.js +7 -0
- package/llms/ui-game.js.map +1 -0
- package/llms/{pouf-game.md → ui-game.md} +6 -6
- package/llms/ui-inbox.d.ts +2 -0
- package/llms/ui-inbox.js +7 -0
- package/llms/ui-inbox.js.map +1 -0
- package/llms/{pouf-inbox.md → ui-inbox.md} +5 -5
- package/llms/ui-inventory.d.ts +2 -0
- package/llms/ui-inventory.js +7 -0
- package/llms/ui-inventory.js.map +1 -0
- package/llms/{pouf-inventory.md → ui-inventory.md} +5 -5
- package/llms/ui-kanban.d.ts +2 -0
- package/llms/ui-kanban.js +7 -0
- package/llms/ui-kanban.js.map +1 -0
- package/llms/{pouf-kanban.md → ui-kanban.md} +5 -5
- package/llms/ui-landing.d.ts +2 -0
- package/llms/ui-landing.js +7 -0
- package/llms/ui-landing.js.map +1 -0
- package/llms/{pouf-landing.md → ui-landing.md} +6 -6
- package/llms/ui-login.d.ts +2 -0
- package/llms/ui-login.js +7 -0
- package/llms/ui-login.js.map +1 -0
- package/llms/{pouf-login.md → ui-login.md} +7 -7
- package/llms/ui-music.d.ts +2 -0
- package/llms/ui-music.js +7 -0
- package/llms/ui-music.js.map +1 -0
- package/llms/{pouf-music.md → ui-music.md} +6 -6
- package/llms/ui-onboarding.d.ts +2 -0
- package/llms/ui-onboarding.js +7 -0
- package/llms/ui-onboarding.js.map +1 -0
- package/llms/{pouf-onboarding.md → ui-onboarding.md} +5 -5
- package/llms/ui-pricing.d.ts +2 -0
- package/llms/ui-pricing.js +7 -0
- package/llms/ui-pricing.js.map +1 -0
- package/llms/{pouf-pricing.md → ui-pricing.md} +5 -5
- package/llms/ui-profile.d.ts +2 -0
- package/llms/ui-profile.js +7 -0
- package/llms/ui-profile.js.map +1 -0
- package/llms/{pouf-profile.md → ui-profile.md} +4 -4
- package/llms/ui-quiz.d.ts +2 -0
- package/llms/ui-quiz.js +7 -0
- package/llms/ui-quiz.js.map +1 -0
- package/llms/{pouf-quiz.md → ui-quiz.md} +6 -6
- package/llms/ui-settings.d.ts +2 -0
- package/llms/ui-settings.js +7 -0
- package/llms/ui-settings.js.map +1 -0
- package/llms/{pouf-settings.md → ui-settings.md} +5 -5
- package/llms/ui-storefront.d.ts +2 -0
- package/llms/ui-storefront.js +7 -0
- package/llms/ui-storefront.js.map +1 -0
- package/llms/ui-storefront.md +468 -0
- package/llms/ui-support.d.ts +2 -0
- package/llms/ui-support.js +7 -0
- package/llms/ui-support.js.map +1 -0
- package/llms/{pouf-support.md → ui-support.md} +5 -5
- package/llms/ui-testimonials.d.ts +2 -0
- package/llms/ui-testimonials.js +7 -0
- package/llms/ui-testimonials.js.map +1 -0
- package/llms/{pouf-testimonials.md → ui-testimonials.md} +6 -6
- package/llms/ui-todo.d.ts +2 -0
- package/llms/ui-todo.js +7 -0
- package/llms/ui-todo.js.map +1 -0
- package/llms/{pouf-todo.md → ui-todo.md} +5 -5
- package/llms/ui-weather.d.ts +2 -0
- package/llms/ui-weather.js +7 -0
- package/llms/ui-weather.js.map +1 -0
- package/llms/{pouf-weather.md → ui-weather.md} +5 -5
- package/llms/use-vibe.md +4 -4
- package/llms/use-viewer.md +5 -5
- package/llms/voxel.md +1 -1
- package/llms/web-audio.md +12 -12
- package/llms/worlds.md +3 -3
- package/llms/youtube.md +1 -1
- package/package.json +5 -5
- package/system-prompt-initial-instant.md +3 -3
- package/system-prompt-initial-oneshot.md +1 -1
- package/system-prompt-initial.md +1 -1
- package/system-prompt.md +4 -4
- package/themes/colorsets.js +7 -7
- package/themes/colorsets.js.map +1 -1
- package/themes/looks/pouf/brief.md +87 -87
- package/themes/looks/pouf/catalog.generated.d.ts +1 -1
- package/themes/looks/pouf/catalog.generated.js +17 -17
- package/themes/looks/pouf/catalog.generated.js.map +1 -1
- package/themes/looks/pouf/variety.js +4 -4
- package/themes/looks/pouf/variety.js.map +1 -1
- package/llms/pouf-blog.d.ts +0 -2
- package/llms/pouf-blog.js +0 -6
- package/llms/pouf-blog.js.map +0 -1
- package/llms/pouf-booking.d.ts +0 -2
- package/llms/pouf-booking.js +0 -6
- package/llms/pouf-booking.js.map +0 -1
- package/llms/pouf-calendar.d.ts +0 -2
- package/llms/pouf-calendar.js +0 -6
- package/llms/pouf-calendar.js.map +0 -1
- package/llms/pouf-chat.d.ts +0 -2
- package/llms/pouf-chat.js +0 -6
- package/llms/pouf-chat.js.map +0 -1
- package/llms/pouf-contact.d.ts +0 -2
- package/llms/pouf-contact.js +0 -6
- package/llms/pouf-contact.js.map +0 -1
- package/llms/pouf-course.d.ts +0 -2
- package/llms/pouf-course.js +0 -6
- package/llms/pouf-course.js.map +0 -1
- package/llms/pouf-crm.d.ts +0 -2
- package/llms/pouf-crm.js +0 -6
- package/llms/pouf-crm.js.map +0 -1
- package/llms/pouf-dashboard.d.ts +0 -2
- package/llms/pouf-dashboard.js +0 -6
- package/llms/pouf-dashboard.js.map +0 -1
- package/llms/pouf-editorial.d.ts +0 -2
- package/llms/pouf-editorial.js +0 -6
- package/llms/pouf-editorial.js.map +0 -1
- package/llms/pouf-event.d.ts +0 -2
- package/llms/pouf-event.js +0 -6
- package/llms/pouf-event.js.map +0 -1
- package/llms/pouf-feed.d.ts +0 -2
- package/llms/pouf-feed.js +0 -6
- package/llms/pouf-feed.js.map +0 -1
- package/llms/pouf-game.d.ts +0 -2
- package/llms/pouf-game.js +0 -6
- package/llms/pouf-game.js.map +0 -1
- package/llms/pouf-inbox.d.ts +0 -2
- package/llms/pouf-inbox.js +0 -6
- package/llms/pouf-inbox.js.map +0 -1
- package/llms/pouf-inventory.d.ts +0 -2
- package/llms/pouf-inventory.js +0 -6
- package/llms/pouf-inventory.js.map +0 -1
- package/llms/pouf-kanban.d.ts +0 -2
- package/llms/pouf-kanban.js +0 -6
- package/llms/pouf-kanban.js.map +0 -1
- package/llms/pouf-landing.d.ts +0 -2
- package/llms/pouf-landing.js +0 -6
- package/llms/pouf-landing.js.map +0 -1
- package/llms/pouf-login.d.ts +0 -2
- package/llms/pouf-login.js +0 -6
- package/llms/pouf-login.js.map +0 -1
- package/llms/pouf-music.d.ts +0 -2
- package/llms/pouf-music.js +0 -6
- package/llms/pouf-music.js.map +0 -1
- package/llms/pouf-onboarding.d.ts +0 -2
- package/llms/pouf-onboarding.js +0 -6
- package/llms/pouf-onboarding.js.map +0 -1
- package/llms/pouf-pricing.d.ts +0 -2
- package/llms/pouf-pricing.js +0 -6
- package/llms/pouf-pricing.js.map +0 -1
- package/llms/pouf-profile.d.ts +0 -2
- package/llms/pouf-profile.js +0 -6
- package/llms/pouf-profile.js.map +0 -1
- package/llms/pouf-quiz.d.ts +0 -2
- package/llms/pouf-quiz.js +0 -6
- package/llms/pouf-quiz.js.map +0 -1
- package/llms/pouf-settings.d.ts +0 -2
- package/llms/pouf-settings.js +0 -6
- package/llms/pouf-settings.js.map +0 -1
- package/llms/pouf-storefront.d.ts +0 -2
- package/llms/pouf-storefront.js +0 -6
- package/llms/pouf-storefront.js.map +0 -1
- package/llms/pouf-storefront.md +0 -293
- package/llms/pouf-support.d.ts +0 -2
- package/llms/pouf-support.js +0 -6
- package/llms/pouf-support.js.map +0 -1
- package/llms/pouf-testimonials.d.ts +0 -2
- package/llms/pouf-testimonials.js +0 -6
- package/llms/pouf-testimonials.js.map +0 -1
- package/llms/pouf-todo.d.ts +0 -2
- package/llms/pouf-todo.js +0 -6
- package/llms/pouf-todo.js.map +0 -1
- package/llms/pouf-weather.d.ts +0 -2
- package/llms/pouf-weather.js +0 -6
- package/llms/pouf-weather.js.map +0 -1
- package/look-restyle.d.ts +0 -49
- package/look-restyle.js +0 -199
- package/look-restyle.js.map +0 -1
package/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export * from "./json-docs.js";
|
|
|
6
6
|
export * from "./view-state.js";
|
|
7
7
|
export * from "./style-prompts.js";
|
|
8
8
|
export * from "./restyle.js";
|
|
9
|
-
export * from "./look-restyle.js";
|
|
10
9
|
export * from "./themes/index.js";
|
|
11
10
|
export * from "./themes/looks/index.js";
|
|
12
11
|
export { parseContent } from "./segment-parser.js";
|
package/index.js
CHANGED
|
@@ -6,7 +6,6 @@ export * from "./json-docs.js";
|
|
|
6
6
|
export * from "./view-state.js";
|
|
7
7
|
export * from "./style-prompts.js";
|
|
8
8
|
export * from "./restyle.js";
|
|
9
|
-
export * from "./look-restyle.js";
|
|
10
9
|
export * from "./themes/index.js";
|
|
11
10
|
export * from "./themes/looks/index.js";
|
|
12
11
|
export { parseContent } from "./segment-parser.js";
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../jsr/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../jsr/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAEvG,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAI7F,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAwB,MAAM,iBAAiB,CAAC"}
|
package/llms/access.md
CHANGED
|
@@ -839,7 +839,7 @@ App.jsx — `useVibe().can` gates every write surface (posts AND owner-only mana
|
|
|
839
839
|
import React from "react";
|
|
840
840
|
import { useFireproof } from "use-fireproof";
|
|
841
841
|
import { useViewer, useVibe } from "use-vibes";
|
|
842
|
-
import { Button, Field, RowCard, Skeleton, Stack, Text, Textarea } from "@vibes.diy/
|
|
842
|
+
import { Button, Field, RowCard, Skeleton, Stack, Text, Textarea } from "@vibes.diy/ui";
|
|
843
843
|
|
|
844
844
|
export default function App() {
|
|
845
845
|
const { viewer, isViewerPending, ViewerTag } = useViewer();
|
|
@@ -1674,7 +1674,7 @@ The app before the edit, a note form wrapped in a sign-in wall:
|
|
|
1674
1674
|
```jsx
|
|
1675
1675
|
import { useState } from "react";
|
|
1676
1676
|
import { useFireproof } from "use-fireproof";
|
|
1677
|
-
import { Field, Input, Stack } from "@vibes.diy/
|
|
1677
|
+
import { Field, Input, Stack } from "@vibes.diy/ui";
|
|
1678
1678
|
import { SignInGate } from "./SignInGate.jsx";
|
|
1679
1679
|
|
|
1680
1680
|
export default function App() {
|
|
@@ -1694,9 +1694,9 @@ App.jsx — gate the form on `can.create({ type: "entry" }).ok`, which is true e
|
|
|
1694
1694
|
|
|
1695
1695
|
```jsx
|
|
1696
1696
|
<<<<<<< SEARCH
|
|
1697
|
-
import { Field, Input, Stack } from "@vibes.diy/
|
|
1697
|
+
import { Field, Input, Stack } from "@vibes.diy/ui";
|
|
1698
1698
|
=======
|
|
1699
|
-
import { Button, Field, Input, RowCard, Stack, Text } from "@vibes.diy/
|
|
1699
|
+
import { Button, Field, Input, RowCard, Stack, Text } from "@vibes.diy/ui";
|
|
1700
1700
|
import { useVibe } from "use-vibes";
|
|
1701
1701
|
>>>>>>> REPLACE
|
|
1702
1702
|
```
|
package/llms/backend.md
CHANGED
|
@@ -699,7 +699,7 @@ export async function scheduled(event, ctx) {
|
|
|
699
699
|
```jsx
|
|
700
700
|
import React from "react";
|
|
701
701
|
import { useFireproof } from "use-fireproof";
|
|
702
|
-
import { Badge, Heading, RowCard, Stack, Text } from "@vibes.diy/
|
|
702
|
+
import { Badge, Heading, RowCard, Stack, Text } from "@vibes.diy/ui";
|
|
703
703
|
|
|
704
704
|
export default function App() {
|
|
705
705
|
const { useLiveQuery } = useFireproof("nodeReleases");
|
|
@@ -1210,6 +1210,20 @@ Two rules keep change-reactions sane:
|
|
|
1210
1210
|
same-database ping-pong is still wasted work. Different db + dbName guard
|
|
1211
1211
|
makes loops structurally impossible.
|
|
1212
1212
|
|
|
1213
|
+
Example records from `seed.json` are written without running `onChange`, so a
|
|
1214
|
+
handler reacts to real activity only. A handler that reaches outside the app
|
|
1215
|
+
(an email to the owner, a webhook, a notification) also starts with a one-line
|
|
1216
|
+
check that keeps it to real records — seeded ones carry an `_id` that starts
|
|
1217
|
+
with `seed:`:
|
|
1218
|
+
|
|
1219
|
+
```js
|
|
1220
|
+
export async function onChange(event, ctx) {
|
|
1221
|
+
if (event.dbName !== "requests" || event.deleted) return;
|
|
1222
|
+
if (event.docId.startsWith("seed:")) return; // example records stay in the app
|
|
1223
|
+
await ctx.notify({ toHandle: event.doc.assignee, body: "New request", dedupeKey: `request-${event.docId}` });
|
|
1224
|
+
}
|
|
1225
|
+
```
|
|
1226
|
+
|
|
1213
1227
|
### `onChange` reads what the triggering user could read
|
|
1214
1228
|
|
|
1215
1229
|
A reaction usually needs the set its write joins — the siblings, the existing
|
package/llms/blockly.md
CHANGED
|
@@ -306,8 +306,8 @@ edit the open project, schedules an autosave.
|
|
|
306
306
|
import React, { useEffect, useMemo, useRef, useState } from "react";
|
|
307
307
|
import { useFireproof } from "use-fireproof";
|
|
308
308
|
import { useVibe, useViewer } from "use-vibes";
|
|
309
|
-
import { Badge, Button, Card, Grid, Heading, Row, Segmented, Skeleton, Spacer, Stack, Text } from "@vibes.diy/
|
|
310
|
-
import { Switch } from "@vibes.diy/
|
|
309
|
+
import { Badge, Button, Card, Grid, Heading, Row, Segmented, Skeleton, Spacer, Stack, Text } from "@vibes.diy/ui";
|
|
310
|
+
import { Switch } from "@vibes.diy/ui/interactive";
|
|
311
311
|
import { Blockly, compile, toolbox, STARTER } from "./lib/blocks.js";
|
|
312
312
|
|
|
313
313
|
const EMPTY = { html: "", css: "", js: "", full: "" };
|
package/llms/bluesky.md
CHANGED
|
@@ -264,7 +264,7 @@ account of the visitor's involved.
|
|
|
264
264
|
### `App.jsx`
|
|
265
265
|
```jsx app=bluesky-browser
|
|
266
266
|
import React, { useState } from "react";
|
|
267
|
-
import { Button, Field, Input, Row, RowCard, Stack } from "@vibes.diy/
|
|
267
|
+
import { Button, Field, Input, Row, RowCard, Stack } from "@vibes.diy/ui";
|
|
268
268
|
|
|
269
269
|
export default function App() {
|
|
270
270
|
const [handle, setHandle] = useState("bsky.app");
|
package/llms/board-games.md
CHANGED
|
@@ -75,7 +75,7 @@ function Wheel({ cx, cy, on }) {
|
|
|
75
75
|
|
|
76
76
|
On a board game the board is the thing people came for, so the look's components only frame it: the title, a `Stat` or `Badge` for the score and the turn, `Button`s for New game / Undo / Share, a `Dialog` for the win. Taste goes into the board itself — its material, tiles, pieces, texture and motion — and a board drawn from `Card`s, `RowCard`s or one `IconButton` per square reads as an admin screen, whatever the palette.
|
|
77
77
|
|
|
78
|
-
On
|
|
78
|
+
On an app built from the UI's components (the default look or any look on its surface) the board takes the `reskin` technique, even when the person never asked for a look:
|
|
79
79
|
|
|
80
80
|
- **One wrapper.** The app renders inside a root `<div data-reskin>` with `<style>{SKIN}</style>` as its first child, `SKIN` one module-level CSS string. A later "make it look like a 1970s wooden set" then lands in the same place.
|
|
81
81
|
- **Colour from the look's tokens.** The board's CSS reads `var(--surface)`, `var(--ink)`, `var(--purple)`, `var(--up)`, `var(--down)` and `var(--r-card)`, so the Look tab and a reskin restyle the board with the chrome. A material colour no token carries (walnut, felt green) is set as a token on the wrapper first, `--felt: …`, and read from there.
|
|
@@ -84,7 +84,7 @@ On a pouf app (or any look on its surface) the board takes the `reskin` techniqu
|
|
|
84
84
|
|
|
85
85
|
```jsx
|
|
86
86
|
import React, { useState } from "react";
|
|
87
|
-
import { Badge, Button, Heading, Row, Stack } from "@vibes.diy/
|
|
87
|
+
import { Badge, Button, Heading, Row, Stack } from "@vibes.diy/ui";
|
|
88
88
|
|
|
89
89
|
const SKIN = `
|
|
90
90
|
[data-reskin], body:has([data-reskin]) { --felt: color-mix(in srgb, var(--up) 55%, var(--ink)); }
|
|
@@ -216,7 +216,7 @@ The table is public (anyone with the link watches the board and the race), the h
|
|
|
216
216
|
import React, { useState } from "react";
|
|
217
217
|
import { useFireproof } from "use-fireproof";
|
|
218
218
|
import { useVibe, useViewer } from "use-vibes";
|
|
219
|
-
import { Badge, Button, Card, Field, Heading, Row, Skeleton, Spacer, Stack, Text, Textarea } from "@vibes.diy/
|
|
219
|
+
import { Badge, Button, Card, Field, Heading, Row, Skeleton, Spacer, Stack, Text, Textarea } from "@vibes.diy/ui";
|
|
220
220
|
|
|
221
221
|
const N = 5;
|
|
222
222
|
const FREE = 12; // the center square
|
package/llms/calendar.md
CHANGED
|
@@ -23,7 +23,7 @@ person meant across time zones.
|
|
|
23
23
|
```jsx app=practice-log
|
|
24
24
|
import React, { useState } from "react";
|
|
25
25
|
import { useFireproof } from "use-fireproof";
|
|
26
|
-
import { Button, Field, Input, Row, Stack, Text } from "@vibes.diy/
|
|
26
|
+
import { Button, Field, Input, Row, Stack, Text } from "@vibes.diy/ui";
|
|
27
27
|
|
|
28
28
|
const pad = (n) => String(n).padStart(2, "0");
|
|
29
29
|
const keyOf = (d) => `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;
|
package/llms/callai.md
CHANGED
|
@@ -28,7 +28,7 @@ import React, { useState } from "react";
|
|
|
28
28
|
import { callAI } from "call-ai";
|
|
29
29
|
import { useFireproof } from "use-fireproof";
|
|
30
30
|
import { useVibe } from "use-vibes";
|
|
31
|
-
import { Button, Field, Heading, Icon, IconButton, Input, Row, RowCard, Stack, Text, Textarea } from "@vibes.diy/
|
|
31
|
+
import { Button, Field, Heading, Icon, IconButton, Input, Row, RowCard, Stack, Text, Textarea } from "@vibes.diy/ui";
|
|
32
32
|
|
|
33
33
|
const taskSchema = {
|
|
34
34
|
type: "object",
|
|
@@ -235,7 +235,7 @@ import React, { useState } from "react";
|
|
|
235
235
|
import { callAI } from "call-ai";
|
|
236
236
|
import { useFireproof } from "use-fireproof";
|
|
237
237
|
import { useVibe } from "use-vibes";
|
|
238
|
-
import { Button, Field, Heading, Icon, IconButton, Input, Row, RowCard, Stack, Text } from "@vibes.diy/
|
|
238
|
+
import { Button, Field, Heading, Icon, IconButton, Input, Row, RowCard, Stack, Text } from "@vibes.diy/ui";
|
|
239
239
|
|
|
240
240
|
const offerSchema = {
|
|
241
241
|
type: "object",
|
|
@@ -391,8 +391,8 @@ Inside `backend.js`, `ctx.callAI` takes a string prompt.
|
|
|
391
391
|
```jsx
|
|
392
392
|
import React, { useEffect, useState } from "react";
|
|
393
393
|
import { callAI, listModels } from "call-ai";
|
|
394
|
-
import { Button, Stack, Text } from "@vibes.diy/
|
|
395
|
-
import { Select } from "@vibes.diy/
|
|
394
|
+
import { Button, Stack, Text } from "@vibes.diy/ui";
|
|
395
|
+
import { Select } from "@vibes.diy/ui/interactive";
|
|
396
396
|
|
|
397
397
|
export default function App() {
|
|
398
398
|
const [models, setModels] = useState([]);
|
package/llms/connections.md
CHANGED
|
@@ -82,7 +82,7 @@ for the rest.
|
|
|
82
82
|
### `App.jsx`
|
|
83
83
|
```jsx app=instagram-connection
|
|
84
84
|
import { useConnection } from "use-vibes";
|
|
85
|
-
import { Button, Text } from "@vibes.diy/
|
|
85
|
+
import { Button, Text } from "@vibes.diy/ui";
|
|
86
86
|
|
|
87
87
|
function ConnectInstagram() {
|
|
88
88
|
const { state, consented, available, accountLabel, link, refresh } = useConnection("instagram");
|
package/llms/create-vibe.md
CHANGED
|
@@ -28,7 +28,7 @@ when they're ready.
|
|
|
28
28
|
```jsx
|
|
29
29
|
import React from "react";
|
|
30
30
|
import { createVibe } from "use-vibes";
|
|
31
|
-
import { Button } from "@vibes.diy/
|
|
31
|
+
import { Button } from "@vibes.diy/ui";
|
|
32
32
|
|
|
33
33
|
export default function App() {
|
|
34
34
|
// `ready` + `spec` come from the interview (see the full example below).
|
|
@@ -69,7 +69,7 @@ Let the user edit each slide inline and present full-screen.`;
|
|
|
69
69
|
import React from "react";
|
|
70
70
|
import { callAI } from "call-ai";
|
|
71
71
|
import { createVibe } from "use-vibes";
|
|
72
|
-
import { Button } from "@vibes.diy/
|
|
72
|
+
import { Button } from "@vibes.diy/ui";
|
|
73
73
|
|
|
74
74
|
export default function App() {
|
|
75
75
|
const [answers, setAnswers] = React.useState({});
|
|
@@ -131,7 +131,7 @@ blocked), offer a fallback link so the hand-off still works:
|
|
|
131
131
|
|
|
132
132
|
```jsx
|
|
133
133
|
import { createVibe, buildCreateVibeUrl } from "use-vibes";
|
|
134
|
-
import { Button } from "@vibes.diy/
|
|
134
|
+
import { Button } from "@vibes.diy/ui";
|
|
135
135
|
|
|
136
136
|
function HandoffButton({ spec }) {
|
|
137
137
|
const [blocked, setBlocked] = React.useState(false);
|
package/llms/fireproof.md
CHANGED
|
@@ -94,7 +94,7 @@ import React, { useState } from "react";
|
|
|
94
94
|
import { callAI } from "call-ai";
|
|
95
95
|
import { useFireproof } from "use-fireproof";
|
|
96
96
|
import { useVibe } from "use-vibes";
|
|
97
|
-
import { Button, Field, Heading, Icon, IconButton, Input, Row, RowCard, Stack, Text, Textarea } from "@vibes.diy/
|
|
97
|
+
import { Button, Field, Heading, Icon, IconButton, Input, Row, RowCard, Stack, Text, Textarea } from "@vibes.diy/ui";
|
|
98
98
|
|
|
99
99
|
const taskSchema = {
|
|
100
100
|
type: "object",
|
|
@@ -411,7 +411,7 @@ A continuous control (slider, drag, color picker, live-typed text bound to one d
|
|
|
411
411
|
import { useFireproof } from "use-fireproof";
|
|
412
412
|
=======
|
|
413
413
|
import { useFireproof } from "use-fireproof";
|
|
414
|
-
import { Slider } from "@vibes.diy/
|
|
414
|
+
import { Slider } from "@vibes.diy/ui/interactive";
|
|
415
415
|
>>>>>>> REPLACE
|
|
416
416
|
```
|
|
417
417
|
|
|
@@ -463,7 +463,7 @@ A draft reaches only the peers already subscribed to its channel, and a channel'
|
|
|
463
463
|
import React, { useEffect, useRef } from "react";
|
|
464
464
|
import { useFireproof } from "use-fireproof";
|
|
465
465
|
import { useViewer, useVibe } from "use-vibes";
|
|
466
|
-
import { Button } from "@vibes.diy/
|
|
466
|
+
import { Button } from "@vibes.diy/ui";
|
|
467
467
|
|
|
468
468
|
const SIZE = 32;
|
|
469
469
|
const CELL = 16;
|
|
@@ -809,7 +809,7 @@ Building an image uploader with `_files`:
|
|
|
809
809
|
```jsx
|
|
810
810
|
import React from "react";
|
|
811
811
|
import { useFireproof } from "use-fireproof";
|
|
812
|
-
import { Button, Card, ErrorNote, Field, Figure, Grid, Heading, Input, Stack, Text } from "@vibes.diy/
|
|
812
|
+
import { Button, Card, ErrorNote, Field, Figure, Grid, Heading, Input, Stack, Text } from "@vibes.diy/ui";
|
|
813
813
|
|
|
814
814
|
export default function App() {
|
|
815
815
|
const { useDocument, useLiveQuery } = useFireproof("imageUploads");
|
|
@@ -945,8 +945,8 @@ Code listing for a bird sightings log App.jsx. Note the code ordering: hooks, th
|
|
|
945
945
|
```js
|
|
946
946
|
import React from "react";
|
|
947
947
|
import { useFireproof } from "use-fireproof";
|
|
948
|
-
import { Button, Field, Heading, Input, Row, RowCard, Spacer, Stack, Text } from "@vibes.diy/
|
|
949
|
-
import { Checkbox } from "@vibes.diy/
|
|
948
|
+
import { Button, Field, Heading, Input, Row, RowCard, Spacer, Stack, Text } from "@vibes.diy/ui";
|
|
949
|
+
import { Checkbox } from "@vibes.diy/ui/interactive";
|
|
950
950
|
|
|
951
951
|
export default function App() {
|
|
952
952
|
// 1. Hooks and document shapes
|
|
@@ -978,7 +978,7 @@ export default function App() {
|
|
|
978
978
|
submitNewSighting();
|
|
979
979
|
};
|
|
980
980
|
|
|
981
|
-
// 3. ClassNames — right before JSX, for the plain elements only; the
|
|
981
|
+
// 3. ClassNames — right before JSX, for the plain elements only; the UI
|
|
982
982
|
// components carry their own surface, ink and shape.
|
|
983
983
|
const c = {
|
|
984
984
|
page: "min-h-screen max-w-md mx-auto p-6 bg-background text-foreground font-sans",
|
package/llms/github.md
CHANGED
|
@@ -437,8 +437,8 @@ export default function (doc, oldDoc, user, ctx) {
|
|
|
437
437
|
import React, { useCallback, useEffect, useState } from "react";
|
|
438
438
|
import { apiFetch, buildGithubInstallUrl, useViewer } from "use-vibes";
|
|
439
439
|
import { useFireproof } from "use-fireproof";
|
|
440
|
-
import { Badge, Button, Field, Heading, Input, RowCard, Skeleton, Stack, Text } from "@vibes.diy/
|
|
441
|
-
import { RadioGroup } from "@vibes.diy/
|
|
440
|
+
import { Badge, Button, Field, Heading, Input, RowCard, Skeleton, Stack, Text } from "@vibes.diy/ui";
|
|
441
|
+
import { RadioGroup } from "@vibes.diy/ui/interactive";
|
|
442
442
|
|
|
443
443
|
const TONE = { done: "up", failed: "warn", running: "info", waiting: "info" };
|
|
444
444
|
const WHO_CHOICES = [
|
|
@@ -620,6 +620,11 @@ channel.
|
|
|
620
620
|
- **Connecting a repo takes write access to it on GitHub.** The picker offers
|
|
621
621
|
the repos the person can push to, and shows the rest greyed out. Suggest that
|
|
622
622
|
someone with read-only access ask a maintainer to connect the repo.
|
|
623
|
+
- **A job's log is plain text at `/actions/jobs/{id}/logs`** (`actions:read`).
|
|
624
|
+
GitHub redirects that call, and archives and artifacts, to a signed download;
|
|
625
|
+
`ctx.github.fetch` follows it and hands back the body, so read it with
|
|
626
|
+
`res.text()`. A finished run never changes: read the log once, keep what the
|
|
627
|
+
page shows, and serve that from the database rather than GitHub on every view.
|
|
623
628
|
- **Repo names are case-insensitive on GitHub.** Lower-case them in `_id`s and
|
|
624
629
|
comparisons, as the example does, and keep GitHub's spelling for display.
|
|
625
630
|
- **Taking a repo off this app:** the person presses Connect again and unticks
|
package/llms/image-gen.md
CHANGED
|
@@ -188,7 +188,7 @@ When each item's substance is its words — a generated joke, a short verse, a p
|
|
|
188
188
|
|
|
189
189
|
```jsx
|
|
190
190
|
import { ImgGen, useImgGen } from "use-vibes";
|
|
191
|
-
import { Button, RowCard, Text } from "@vibes.diy/
|
|
191
|
+
import { Button, RowCard, Text } from "@vibes.diy/ui";
|
|
192
192
|
|
|
193
193
|
function PunCard({ pun, database }) {
|
|
194
194
|
const [wanted, setWanted] = React.useState(false);
|
|
@@ -271,7 +271,7 @@ import React, { useEffect, useState } from "react";
|
|
|
271
271
|
import { useFireproof } from "use-fireproof";
|
|
272
272
|
import { ImgGen, useVibe } from "use-vibes";
|
|
273
273
|
import { listModels } from "call-ai";
|
|
274
|
-
import { Button, Card, Field, Grid, Input, Skeleton, Stack, Text } from "@vibes.diy/
|
|
274
|
+
import { Button, Card, Field, Grid, Input, Skeleton, Stack, Text } from "@vibes.diy/ui";
|
|
275
275
|
|
|
276
276
|
function AuditionComposer({ database, models }) {
|
|
277
277
|
const { can, me, ready } = useVibe("auditions");
|
package/llms/index.d.ts
CHANGED
|
@@ -31,34 +31,34 @@ export { motionConfig } from "./motion.js";
|
|
|
31
31
|
export { richtextConfig } from "./richtext.js";
|
|
32
32
|
export { matchStyleConfig } from "./match-style.js";
|
|
33
33
|
export { reskinConfig } from "./reskin.js";
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
34
|
+
export { uiTodoConfig } from "./ui-todo.js";
|
|
35
|
+
export { uiFeedConfig } from "./ui-feed.js";
|
|
36
|
+
export { uiChatConfig } from "./ui-chat.js";
|
|
37
|
+
export { uiKanbanConfig } from "./ui-kanban.js";
|
|
38
|
+
export { uiInboxConfig } from "./ui-inbox.js";
|
|
39
|
+
export { uiSupportConfig } from "./ui-support.js";
|
|
40
|
+
export { uiCrmConfig } from "./ui-crm.js";
|
|
41
|
+
export { uiInventoryConfig } from "./ui-inventory.js";
|
|
42
|
+
export { uiEditorialConfig } from "./ui-editorial.js";
|
|
43
|
+
export { uiEventConfig } from "./ui-event.js";
|
|
44
|
+
export { uiCourseConfig } from "./ui-course.js";
|
|
45
|
+
export { uiLoginConfig } from "./ui-login.js";
|
|
46
|
+
export { uiSettingsConfig } from "./ui-settings.js";
|
|
47
|
+
export { uiOnboardingConfig } from "./ui-onboarding.js";
|
|
48
|
+
export { uiContactConfig } from "./ui-contact.js";
|
|
49
|
+
export { uiStorefrontConfig } from "./ui-storefront.js";
|
|
50
|
+
export { uiBookingConfig } from "./ui-booking.js";
|
|
51
|
+
export { uiDashboardConfig } from "./ui-dashboard.js";
|
|
52
|
+
export { uiGameConfig } from "./ui-game.js";
|
|
53
|
+
export { uiPricingConfig } from "./ui-pricing.js";
|
|
54
|
+
export { uiBlogConfig } from "./ui-blog.js";
|
|
55
|
+
export { uiProfileConfig } from "./ui-profile.js";
|
|
56
|
+
export { uiMusicConfig } from "./ui-music.js";
|
|
57
|
+
export { uiWeatherConfig } from "./ui-weather.js";
|
|
58
|
+
export { uiQuizConfig } from "./ui-quiz.js";
|
|
59
|
+
export { uiLandingConfig } from "./ui-landing.js";
|
|
60
|
+
export { uiCalendarConfig } from "./ui-calendar.js";
|
|
61
|
+
export { uiTestimonialsConfig } from "./ui-testimonials.js";
|
|
62
62
|
export type { LlmConfig } from "./types.js";
|
|
63
63
|
export { cueMatches, cueMatchedSkills, type CueCatalogEntry } from "./cues.js";
|
|
64
64
|
export declare const allConfigs: readonly [LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig, LlmConfig];
|
package/llms/index.js
CHANGED
|
@@ -31,34 +31,34 @@ import { motionConfig } from "./motion.js";
|
|
|
31
31
|
import { richtextConfig } from "./richtext.js";
|
|
32
32
|
import { matchStyleConfig } from "./match-style.js";
|
|
33
33
|
import { reskinConfig } from "./reskin.js";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
34
|
+
import { uiTodoConfig } from "./ui-todo.js";
|
|
35
|
+
import { uiFeedConfig } from "./ui-feed.js";
|
|
36
|
+
import { uiChatConfig } from "./ui-chat.js";
|
|
37
|
+
import { uiKanbanConfig } from "./ui-kanban.js";
|
|
38
|
+
import { uiInboxConfig } from "./ui-inbox.js";
|
|
39
|
+
import { uiSupportConfig } from "./ui-support.js";
|
|
40
|
+
import { uiCrmConfig } from "./ui-crm.js";
|
|
41
|
+
import { uiInventoryConfig } from "./ui-inventory.js";
|
|
42
|
+
import { uiEditorialConfig } from "./ui-editorial.js";
|
|
43
|
+
import { uiEventConfig } from "./ui-event.js";
|
|
44
|
+
import { uiCourseConfig } from "./ui-course.js";
|
|
45
|
+
import { uiLoginConfig } from "./ui-login.js";
|
|
46
|
+
import { uiSettingsConfig } from "./ui-settings.js";
|
|
47
|
+
import { uiOnboardingConfig } from "./ui-onboarding.js";
|
|
48
|
+
import { uiContactConfig } from "./ui-contact.js";
|
|
49
|
+
import { uiStorefrontConfig } from "./ui-storefront.js";
|
|
50
|
+
import { uiBookingConfig } from "./ui-booking.js";
|
|
51
|
+
import { uiDashboardConfig } from "./ui-dashboard.js";
|
|
52
|
+
import { uiGameConfig } from "./ui-game.js";
|
|
53
|
+
import { uiPricingConfig } from "./ui-pricing.js";
|
|
54
|
+
import { uiBlogConfig } from "./ui-blog.js";
|
|
55
|
+
import { uiProfileConfig } from "./ui-profile.js";
|
|
56
|
+
import { uiMusicConfig } from "./ui-music.js";
|
|
57
|
+
import { uiWeatherConfig } from "./ui-weather.js";
|
|
58
|
+
import { uiQuizConfig } from "./ui-quiz.js";
|
|
59
|
+
import { uiLandingConfig } from "./ui-landing.js";
|
|
60
|
+
import { uiCalendarConfig } from "./ui-calendar.js";
|
|
61
|
+
import { uiTestimonialsConfig } from "./ui-testimonials.js";
|
|
62
62
|
export { backendConfig } from "./backend.js";
|
|
63
63
|
export { calendarConfig } from "./calendar.js";
|
|
64
64
|
export { boardGamesConfig } from "./board-games.js";
|
|
@@ -91,34 +91,34 @@ export { motionConfig } from "./motion.js";
|
|
|
91
91
|
export { richtextConfig } from "./richtext.js";
|
|
92
92
|
export { matchStyleConfig } from "./match-style.js";
|
|
93
93
|
export { reskinConfig } from "./reskin.js";
|
|
94
|
-
export {
|
|
95
|
-
export {
|
|
96
|
-
export {
|
|
97
|
-
export {
|
|
98
|
-
export {
|
|
99
|
-
export {
|
|
100
|
-
export {
|
|
101
|
-
export {
|
|
102
|
-
export {
|
|
103
|
-
export {
|
|
104
|
-
export {
|
|
105
|
-
export {
|
|
106
|
-
export {
|
|
107
|
-
export {
|
|
108
|
-
export {
|
|
109
|
-
export {
|
|
110
|
-
export {
|
|
111
|
-
export {
|
|
112
|
-
export {
|
|
113
|
-
export {
|
|
114
|
-
export {
|
|
115
|
-
export {
|
|
116
|
-
export {
|
|
117
|
-
export {
|
|
118
|
-
export {
|
|
119
|
-
export {
|
|
120
|
-
export {
|
|
121
|
-
export {
|
|
94
|
+
export { uiTodoConfig } from "./ui-todo.js";
|
|
95
|
+
export { uiFeedConfig } from "./ui-feed.js";
|
|
96
|
+
export { uiChatConfig } from "./ui-chat.js";
|
|
97
|
+
export { uiKanbanConfig } from "./ui-kanban.js";
|
|
98
|
+
export { uiInboxConfig } from "./ui-inbox.js";
|
|
99
|
+
export { uiSupportConfig } from "./ui-support.js";
|
|
100
|
+
export { uiCrmConfig } from "./ui-crm.js";
|
|
101
|
+
export { uiInventoryConfig } from "./ui-inventory.js";
|
|
102
|
+
export { uiEditorialConfig } from "./ui-editorial.js";
|
|
103
|
+
export { uiEventConfig } from "./ui-event.js";
|
|
104
|
+
export { uiCourseConfig } from "./ui-course.js";
|
|
105
|
+
export { uiLoginConfig } from "./ui-login.js";
|
|
106
|
+
export { uiSettingsConfig } from "./ui-settings.js";
|
|
107
|
+
export { uiOnboardingConfig } from "./ui-onboarding.js";
|
|
108
|
+
export { uiContactConfig } from "./ui-contact.js";
|
|
109
|
+
export { uiStorefrontConfig } from "./ui-storefront.js";
|
|
110
|
+
export { uiBookingConfig } from "./ui-booking.js";
|
|
111
|
+
export { uiDashboardConfig } from "./ui-dashboard.js";
|
|
112
|
+
export { uiGameConfig } from "./ui-game.js";
|
|
113
|
+
export { uiPricingConfig } from "./ui-pricing.js";
|
|
114
|
+
export { uiBlogConfig } from "./ui-blog.js";
|
|
115
|
+
export { uiProfileConfig } from "./ui-profile.js";
|
|
116
|
+
export { uiMusicConfig } from "./ui-music.js";
|
|
117
|
+
export { uiWeatherConfig } from "./ui-weather.js";
|
|
118
|
+
export { uiQuizConfig } from "./ui-quiz.js";
|
|
119
|
+
export { uiLandingConfig } from "./ui-landing.js";
|
|
120
|
+
export { uiCalendarConfig } from "./ui-calendar.js";
|
|
121
|
+
export { uiTestimonialsConfig } from "./ui-testimonials.js";
|
|
122
122
|
export { cueMatches, cueMatchedSkills } from "./cues.js";
|
|
123
123
|
export const allConfigs = [
|
|
124
124
|
callaiConfig,
|
|
@@ -154,34 +154,34 @@ export const allConfigs = [
|
|
|
154
154
|
richtextConfig,
|
|
155
155
|
reskinConfig,
|
|
156
156
|
matchStyleConfig,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
157
|
+
uiTodoConfig,
|
|
158
|
+
uiFeedConfig,
|
|
159
|
+
uiChatConfig,
|
|
160
|
+
uiKanbanConfig,
|
|
161
|
+
uiInboxConfig,
|
|
162
|
+
uiSupportConfig,
|
|
163
|
+
uiCrmConfig,
|
|
164
|
+
uiInventoryConfig,
|
|
165
|
+
uiEditorialConfig,
|
|
166
|
+
uiEventConfig,
|
|
167
|
+
uiCourseConfig,
|
|
168
|
+
uiLoginConfig,
|
|
169
|
+
uiSettingsConfig,
|
|
170
|
+
uiOnboardingConfig,
|
|
171
|
+
uiContactConfig,
|
|
172
|
+
uiStorefrontConfig,
|
|
173
|
+
uiBookingConfig,
|
|
174
|
+
uiDashboardConfig,
|
|
175
|
+
uiGameConfig,
|
|
176
|
+
uiPricingConfig,
|
|
177
|
+
uiBlogConfig,
|
|
178
|
+
uiProfileConfig,
|
|
179
|
+
uiMusicConfig,
|
|
180
|
+
uiWeatherConfig,
|
|
181
|
+
uiQuizConfig,
|
|
182
|
+
uiLandingConfig,
|
|
183
|
+
uiCalendarConfig,
|
|
184
|
+
uiTestimonialsConfig,
|
|
185
185
|
];
|
|
186
186
|
export { mapsConfig } from "./maps.js";
|
|
187
187
|
export const SKILL_ALIASES = new Map(allConfigs.flatMap((c) => (c.aliases ?? []).map((alias) => [alias, c.name])));
|
package/llms/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../jsr/llms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAA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ACb,aAAa;IACb,YAAY;IACZ,yBAAyB;IACzB,aAAa;IACb,aAAa;IACb,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,cAAc;IAId,YAAY;IACZ,gBAAgB;IAGhB,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,cAAc;IACd,aAAa;IACb,eAAe;IACf,WAAW;IACX,iBAAiB;IACjB,iBAAiB;IACjB,aAAa;IACb,cAAc;IACd,aAAa;IACb,gBAAgB;IAChB,kBAAkB;IAClB,eAAe;IACf,kBAAkB;IAClB,eAAe;IACf,iBAAiB;IACjB,YAAY;IACZ,eAAe;IACf,YAAY;IACZ,eAAe;IACf,aAAa;IACb,eAAe;IACf,YAAY;IACZ,eAAe;IACf,gBAAgB;IAChB,oBAAoB;CACZ,CAAC;AAEX,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvC,MAAM,CAAC,MAAM,aAAa,GAAgC,IAAI,GAAG,CAC/D,UAAU,CAAC,OAAO,CAAC,CAAC,CAAY,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAoB,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC1G,CAAC;AAOF,MAAM,UAAU,kBAAkB,CAAC,IAAY;IAC7C,OAAO,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;AACzC,CAAC"}
|
package/llms/maps.md
CHANGED
|
@@ -30,7 +30,7 @@ oriented for D3; keep its rings intact.
|
|
|
30
30
|
|
|
31
31
|
```jsx
|
|
32
32
|
import React, { useState } from "react";
|
|
33
|
-
import { Button } from "@vibes.diy/
|
|
33
|
+
import { Button } from "@vibes.diy/ui";
|
|
34
34
|
import { countries, geoNaturalEarth1, geoPath } from "@vibes.diy/geo";
|
|
35
35
|
|
|
36
36
|
const projection = geoNaturalEarth1().fitExtent([[12, 12], [788, 408]], { type: "Sphere" });
|