@oxy.so/bloom 20.0.0 → 21.0.0
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/docs/adoption-matrix.mdx +6 -7
- package/docs/agent-avatar.mdx +4 -4
- package/docs/agent-creator.mdx +13 -11
- package/docs/multi-agent-chat.mdx +1 -1
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/agent-avatar/character.js +4 -4
- package/lib/commonjs/agent-creator/AgentCreator.js +4 -0
- package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreator.web.js +12 -8
- package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreatorBase.js +93 -48
- package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/commonjs/agent-creator/CustomColorPicker.js +431 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/GlossArt.js +212 -0
- package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
- package/lib/commonjs/agent-creator/context.js.map +1 -1
- package/lib/commonjs/agent-creator/messages.js +22 -1
- package/lib/commonjs/agent-creator/messages.js.map +1 -1
- package/lib/commonjs/agent-creator/paint.js +19 -7
- package/lib/commonjs/agent-creator/paint.js.map +1 -1
- package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/commonjs/agent-creator/shared.js +28 -0
- package/lib/commonjs/agent-creator/shared.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +22 -1
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +22 -1
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +22 -1
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +22 -1
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +22 -1
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +22 -1
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +22 -1
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +22 -1
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +22 -1
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +22 -1
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +22 -1
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +22 -1
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +22 -1
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +22 -1
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/data.js +2 -2
- package/lib/commonjs/multi-agent-chat/data.js.map +1 -1
- package/lib/module/agent-avatar/character.js +4 -4
- package/lib/module/agent-creator/AgentCreator.js +4 -0
- package/lib/module/agent-creator/AgentCreator.js.map +1 -1
- package/lib/module/agent-creator/AgentCreator.web.js +4 -0
- package/lib/module/agent-creator/AgentCreator.web.js.map +1 -1
- package/lib/module/agent-creator/AgentCreatorBase.js +89 -44
- package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -1
- package/lib/module/agent-creator/CustomColorPicker.js +426 -0
- package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/module/agent-creator/GlossArt.js +207 -0
- package/lib/module/agent-creator/GlossArt.js.map +1 -0
- package/lib/module/agent-creator/context.js.map +1 -1
- package/lib/module/agent-creator/messages.js +22 -1
- package/lib/module/agent-creator/messages.js.map +1 -1
- package/lib/module/agent-creator/paint.js +18 -7
- package/lib/module/agent-creator/paint.js.map +1 -1
- package/lib/module/agent-creator/rainbow-artwork.js +6 -0
- package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/module/agent-creator/shared.js +26 -0
- package/lib/module/agent-creator/shared.js.map +1 -1
- package/lib/module/locale/translations/ar.js +22 -1
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +22 -1
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +22 -1
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +22 -1
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +22 -1
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +22 -1
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +22 -1
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +22 -1
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +22 -1
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +22 -1
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +22 -1
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +22 -1
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +22 -1
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +22 -1
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/multi-agent-chat/data.js +3 -3
- package/lib/module/multi-agent-chat/data.js.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/character.d.ts +4 -4
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/context.d.ts +13 -1
- package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/commonjs/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/types.d.ts +4 -7
- package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/avatar/types.d.ts +1 -2
- package/lib/typescript/commonjs/avatar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/character.d.ts +4 -4
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +9 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/context.d.ts +13 -1
- package/lib/typescript/module/agent-creator/context.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/messages.d.ts +11 -0
- package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/paint.d.ts +9 -4
- package/lib/typescript/module/agent-creator/paint.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/shared.d.ts +7 -0
- package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/types.d.ts +4 -7
- package/lib/typescript/module/agent-creator/types.d.ts.map +1 -1
- package/lib/typescript/module/avatar/types.d.ts +1 -2
- package/lib/typescript/module/avatar/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/support/adoption-matrix.ts +0 -5
- package/src/agent-avatar/character.ts +4 -4
- package/src/agent-creator/AgentCreator.tsx +4 -0
- package/src/agent-creator/AgentCreator.web.tsx +4 -0
- package/src/agent-creator/AgentCreatorBase.tsx +83 -39
- package/src/agent-creator/CustomColorPicker.tsx +443 -0
- package/src/agent-creator/GlossArt.tsx +160 -0
- package/src/agent-creator/context.ts +2 -0
- package/src/agent-creator/messages.ts +37 -1
- package/src/agent-creator/paint.ts +17 -7
- package/src/agent-creator/rainbow-artwork.ts +5 -0
- package/src/agent-creator/shared.ts +27 -0
- package/src/agent-creator/types.ts +4 -7
- package/src/avatar/types.ts +1 -2
- package/src/locale/translations/ar.ts +23 -1
- package/src/locale/translations/bn.ts +23 -1
- package/src/locale/translations/ca.ts +23 -1
- package/src/locale/translations/de.ts +23 -1
- package/src/locale/translations/es.ts +23 -1
- package/src/locale/translations/fr.ts +23 -1
- package/src/locale/translations/hi.ts +23 -1
- package/src/locale/translations/id.ts +23 -1
- package/src/locale/translations/it.ts +23 -1
- package/src/locale/translations/ja.ts +23 -1
- package/src/locale/translations/pt.ts +23 -1
- package/src/locale/translations/ru.ts +23 -1
- package/src/locale/translations/tr.ts +23 -1
- package/src/locale/translations/zh.ts +23 -1
- package/src/multi-agent-chat/data.ts +5 -3
package/docs/adoption-matrix.mdx
CHANGED
|
@@ -37,7 +37,7 @@ The classification is an EQUALITY in `src/__tests__/adoption-matrix.test.ts`, no
|
|
|
37
37
|
|
|
38
38
|
| contract | applies to | reads | delegated | n/a¹ | adaptation |
|
|
39
39
|
| --- | --- | --- | --- | --- | --- |
|
|
40
|
-
| Field membership | 54 |
|
|
40
|
+
| Field membership | 54 | 31 | 0 | 23 | 0 |
|
|
41
41
|
| Control presentation | 64 | 63 | 1 | 0 | 0 |
|
|
42
42
|
| Trigger composition | 11 | 8 | 0 | 3 | 0 |
|
|
43
43
|
| Controlled / uncontrolled state | 61 | 58 | 2 | 1 | 0 |
|
|
@@ -53,7 +53,6 @@ None.
|
|
|
53
53
|
|
|
54
54
|
- `address` (does-not-apply) — writes a selection role on a ROW or a chip rather than on a form control — a list the user picks from, inside its own container, never inside a `Field`.
|
|
55
55
|
- `agent-chat` (does-not-apply) — renders a bare `TextInput` deliberately — a composer or a search box that draws its own chrome and is not a form field a `Field` wraps. Wiring it to `TextFieldInput` would give it the field shell it exists not to draw.
|
|
56
|
-
- `agent-creator` (does-not-apply) — the only form role is the `[role="textbox"]` selector its undo shortcut uses to leave keystrokes typed into a field alone, not a node it renders. Its fields are `TextFieldInput` and `Textarea`, which read the contract themselves, and its colour control is a `ColorSwatchPicker`.
|
|
57
56
|
- `canvas` (does-not-apply) — The adjustable handle changes panel detents, not a form value; its name comes from the panel accessibilityLabel.
|
|
58
57
|
- `carrier-quote` (does-not-apply) — writes a selection role on a ROW or a chip rather than on a form control — a list the user picks from, inside its own container, never inside a `Field`.
|
|
59
58
|
- `chat-composer` (does-not-apply) — renders a bare `TextInput` deliberately — a composer or a search box that draws its own chrome and is not a form field a `Field` wraps. Wiring it to `TextFieldInput` would give it the field shell it exists not to draw.
|
|
@@ -101,9 +100,9 @@ None.
|
|
|
101
100
|
| `activity-heatmap` | `@oxy.so/bloom/activity-heatmap` + barrel | universal | `activity-heatmap.mdx` | yes | 3 | | | | |
|
|
102
101
|
| `address` | `@oxy.so/bloom/address` + barrel | universal | `address.mdx` | yes | 4 | n/a¹ | reads | | |
|
|
103
102
|
| `admonition` | `@oxy.so/bloom/admonition` + barrel | universal | `admonition.mdx` | yes | 6 | | reads | | |
|
|
104
|
-
| `agent-avatar` | `@oxy.so/bloom/agent-avatar` + barrel | universal | `agent-avatar.mdx` | yes |
|
|
103
|
+
| `agent-avatar` | `@oxy.so/bloom/agent-avatar` + barrel | universal | `agent-avatar.mdx` | yes | 48 | | | | |
|
|
105
104
|
| `agent-chat` | `@oxy.so/bloom/agent-chat` + barrel | web fork | `agent-chat.mdx` | yes | 3 | n/a¹ | | | reads |
|
|
106
|
-
| `agent-creator` | `@oxy.so/bloom/agent-creator` + barrel | web fork | `agent-creator.mdx` | yes |
|
|
105
|
+
| `agent-creator` | `@oxy.so/bloom/agent-creator` + barrel | web fork | `agent-creator.mdx` | yes | 17 | reads | | | |
|
|
107
106
|
| `agent-limits-card` | `@oxy.so/bloom/agent-limits-card` + barrel | universal | `agent-limits-card.mdx` | yes | 2 | | | | delegated |
|
|
108
107
|
| `agent-log` | `@oxy.so/bloom/agent-log` + barrel | universal | `agent-log.mdx` | yes | 3 | | reads | | reads |
|
|
109
108
|
| `agent-progress` | `@oxy.so/bloom/agent-progress` + barrel | universal | `agent-progress.mdx` | yes | 5 | | | | reads |
|
|
@@ -153,7 +152,7 @@ None.
|
|
|
153
152
|
| `choice-list` | `@oxy.so/bloom/choice-list` + barrel | universal | `choice-list.mdx` | yes | 2 | | | | |
|
|
154
153
|
| `code` | `@oxy.so/bloom/code` + barrel | universal | `code.mdx` | yes | 5 | | | | |
|
|
155
154
|
| `collapsible` | `@oxy.so/bloom/collapsible` + barrel | web fork | `collapsible.mdx` | yes | 5 | | | | |
|
|
156
|
-
| `color-swatch-picker` | `@oxy.so/bloom/color-swatch-picker` + barrel | universal | `color-swatch-picker.mdx` | yes |
|
|
155
|
+
| `color-swatch-picker` | `@oxy.so/bloom/color-swatch-picker` + barrel | universal | `color-swatch-picker.mdx` | yes | 1 | | | | |
|
|
157
156
|
| `command` | `@oxy.so/bloom/command` + barrel | web fork | `command.mdx` | yes | 2 | n/a¹ | | | reads |
|
|
158
157
|
| `composer-loader` | `@oxy.so/bloom/composer-loader` + barrel | web fork | `composer-loader.mdx` | yes | 5 | | | | |
|
|
159
158
|
| `composer-panel` | `@oxy.so/bloom/composer-panel` + barrel | web fork | `composer-panel.mdx` | yes | 12 | n/a¹ | | | reads |
|
|
@@ -184,7 +183,7 @@ None.
|
|
|
184
183
|
| `expandable-text` | `@oxy.so/bloom/expandable-text` + barrel | universal | `expandable-text.mdx` | yes | 1 | | | | reads |
|
|
185
184
|
| `fab` | `@oxy.so/bloom/fab` + barrel | web fork | `fab.mdx` | yes | 4 | | reads | | |
|
|
186
185
|
| `fact-strip` | `@oxy.so/bloom/fact-strip` + barrel | universal | `fact-strip.mdx` | yes | 1 | | | | |
|
|
187
|
-
| `field` | `@oxy.so/bloom/field` + barrel | universal | `field.mdx` | yes |
|
|
186
|
+
| `field` | `@oxy.so/bloom/field` + barrel | universal | `field.mdx` | yes | 21 | reads | | | |
|
|
188
187
|
| `file-upload` | `@oxy.so/bloom/file-upload` + barrel | universal | `file-upload.mdx` | yes | 5 | reads | | | |
|
|
189
188
|
| `fill` | `@oxy.so/bloom/fill` + barrel | universal | `fill.mdx` | yes | 2 | | | | |
|
|
190
189
|
| `floating` | internal | universal | — | — | 31 | n/a¹ | reads | reads | reads |
|
|
@@ -326,7 +325,7 @@ None.
|
|
|
326
325
|
| `tenancy` | `@oxy.so/bloom/tenancy` + barrel | universal | `tenancy.mdx` | yes | 5 | | reads | | |
|
|
327
326
|
| `text-field` | `@oxy.so/bloom/text-field` + barrel | universal | `text-field.mdx` | yes | 27 | reads | reads | | |
|
|
328
327
|
| `textarea` | `@oxy.so/bloom/textarea` + barrel | universal | `textarea.mdx` | yes | 6 | reads | reads | | n/a¹ |
|
|
329
|
-
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes |
|
|
328
|
+
| `theme` | `@oxy.so/bloom/theme` + barrel | web fork | `theme.mdx` | yes | 695 | | | n/a¹ | reads |
|
|
330
329
|
| `theme-toggle` | `@oxy.so/bloom/theme-toggle` + barrel | universal | `theme-toggle.mdx` | yes | 2 | n/a¹ | | | |
|
|
331
330
|
| `toast` | `@oxy.so/bloom/toast` + barrel | universal | `toast.mdx` | yes | 21 | | | | |
|
|
332
331
|
| `tooltip` | `@oxy.so/bloom/tooltip` + barrel | web fork | `tooltip.mdx` | yes | 8 | | reads | | |
|
package/docs/agent-avatar.mdx
CHANGED
|
@@ -98,11 +98,11 @@ in current choices or templates.
|
|
|
98
98
|
- `characterFromLegacy(saved)` migrates an avatar saved before 10 (see
|
|
99
99
|
[Migrating to 10.0](/docs/migrating-to-10.0)).
|
|
100
100
|
- `avatarCharacterInColor(character, color)` paints a character in its ACCOUNT's colour:
|
|
101
|
-
`color` is what Oxy stores as `User.color
|
|
102
|
-
`#
|
|
103
|
-
`bodyColor
|
|
101
|
+
`color` is what Oxy stores as `User.color`: a Bloom colour preset key or a hex (`#rrggbb`,
|
|
102
|
+
`#rgb`), both ordinary account colours. The body takes the preset's identity seed, or the hex,
|
|
103
|
+
lifted to the skin floor, as `bodyColor` (so a hex an editor wrote back paints exactly itself); every part is kept and `color` is dropped. A colour that does not resolve
|
|
104
104
|
(`null`, `undefined`, an unknown key) returns the character unchanged. This is the one place a
|
|
105
|
-
colour
|
|
105
|
+
account colour becomes an avatar paint: a bot is drawn in the colour its profile is themed with.
|
|
106
106
|
|
|
107
107
|
### A bot is drawn in its account's colour
|
|
108
108
|
|
package/docs/agent-creator.mdx
CHANGED
|
@@ -6,7 +6,7 @@ order: 105
|
|
|
6
6
|
|
|
7
7
|
# AgentCreator
|
|
8
8
|
|
|
9
|
-
A controlled editor for an agent's name, label, description, colour, appearance and response preferences. The host owns the agent, saving, and the surrounding panel. The implementation is shared across web, iOS and Android; the platform entry points bind Bloom's existing select surfaces.
|
|
9
|
+
A controlled editor for an agent's name, label, description, colour, appearance and response preferences. The host owns the agent, saving, and the surrounding panel. The implementation is shared across web, iOS and Android; the platform entry points bind Bloom's existing select and popover surfaces.
|
|
10
10
|
|
|
11
11
|
```tsx
|
|
12
12
|
import { useState } from 'react';
|
|
@@ -18,7 +18,7 @@ const [agent, setAgent] = useState<AgentCreatorAgent>({
|
|
|
18
18
|
color: 'lagoon',
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
<AgentCreator agent={agent} onChange={setAgent}
|
|
21
|
+
<AgentCreator agent={agent} onChange={setAgent} onClose={closePanel} />;
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Mount under `BloomProvider` and give the editor a bounded height. Layout classes resolve through Bloom's styled primitives; web consumers must scan Bloom's built `lib/` in their NativeWind/Tailwind pipeline.
|
|
@@ -27,11 +27,11 @@ Mount under `BloomProvider` and give the editor a bounded height. Layout classes
|
|
|
27
27
|
|
|
28
28
|
`agent.avatar` is an `AvatarCharacter` ([Agent Avatar](/docs/agent-avatar)) without a colour of its
|
|
29
29
|
own: `{ preset }` or complete parts. `agent.color` is the agent's colour, its ACCOUNT's (`User.color`
|
|
30
|
-
in Oxy
|
|
31
|
-
it draws is painted in it (`avatarCharacterInColor`), and every character
|
|
32
|
-
its parts and no paint (`color` and `bodyColor` are dropped, undo and redo
|
|
33
|
-
Bloom cannot resolve leaves a character's own paint (or its preset's); a
|
|
34
|
-
is drawn in the first
|
|
30
|
+
in Oxy: a Bloom colour preset key or a `#rrggbb`, any colour), and it is the only colour the editor
|
|
31
|
+
knows: every character it draws is painted in it (`avatarCharacterInColor`), and every character
|
|
32
|
+
it hands back carries its parts and no paint (`color` and `bodyColor` are dropped, undo and redo
|
|
33
|
+
included). A colour Bloom cannot resolve leaves a character's own paint (or its preset's); a
|
|
34
|
+
character with neither is drawn in the first named swatch. Every part control writes one edit through
|
|
35
35
|
`updateAvatarCharacter`, so the saved character is always written out in full: choosing a body
|
|
36
36
|
keeps the face and the hat.
|
|
37
37
|
|
|
@@ -41,7 +41,7 @@ contract and the profile/preferences layout are unchanged.
|
|
|
41
41
|
|
|
42
42
|
- **Shape arc:** 28 distinct silhouettes, including the 13 flat forms, in one 210px circular track (an unbounded index, spring, drag and wheel). Press a silhouette; arrows, Home and End select on web. Crossing between bodies retains the mounted avatar. RTL reverses horizontal movement.
|
|
43
43
|
- **Eye orbit:** the 12 current eye styles, including Todd and Clippo. Each body defines its own eye positions and size, so every style follows the layout of the shape it sits on.
|
|
44
|
-
- **Colour:**
|
|
44
|
+
- **Colour:** nine glossy named swatches (`CHARACTER_COLORS`) and a custom `#rrggbb` picker behind the rainbow swatch. Either writes the ACCOUNT's colour: `onChange({ ...agent, color })` with the hex lifted to the avatar skin floor (`normalizeAvatarSkinColor`), so the stored colour is exactly the drawn one. Any colour can be chosen; nothing restricts it to presets. A named swatch is active when its lifted hex equals the body hex of `agent.color`; the custom swatch is active, showing that colour, when it equals none of the nine (a preset key, say). The custom picker opens on the body hex. A colour change is not a character edit and does not enter the undo history.
|
|
45
45
|
- **Template, eyewear and accessory:** Bloom Select rows. Templates (`CHARACTER_TEMPLATES`) are creation choices, complete characters that start Felipe orange with sleepy eyes where the saved `blue_beret` preset is blue with oval ones; a character that is exactly one shows its name, and any edit shows Custom.
|
|
46
46
|
|
|
47
47
|
Upright eye chips orbit at a 116px radius; dragging or a mouse wheel rotates the orbit. Hover, focus, backgrounding and reduced motion pause automatic movement. The shape selector uses a 210px circular track, an unbounded index, spring, drag and wheel geometry. Choose a silhouette by pressing it; keyboard arrows, Home and End select shapes on web. BloomProvider’s direction reverses horizontal movement in RTL.
|
|
@@ -50,7 +50,7 @@ Appearance selection updates immediately. While the selected geometry is being p
|
|
|
50
50
|
|
|
51
51
|
Undo and redo retain up to 50 immutable character snapshots without changing the name, description, colour, or speech preferences. Characters compare by their parts, so a change of paint alone is no edit. Restore original returns to the character at the start of this editing session and can itself be undone. Switching agent IDs or receiving a genuinely external character replacement starts a new baseline; controlled echoes and profile-only changes retain history. On web, Ctrl/Cmd+Z and redo shortcuts work inside the editor without intercepting text input undo.
|
|
52
52
|
|
|
53
|
-
The
|
|
53
|
+
The custom picker contains a saturation/brightness field, hue rail and hex entry. The visible field and every committed hex use the shared minimum skin lightness (L* 45); typing a darker hex shows its permitted normalized value. HSV state preserves the selected hue while dragging through gray; invalid hex input writes nothing. The sampled SVG field is memoized separately, so saturation/brightness dragging moves the thumb without rebuilding the color field. A preset key paints the body its identity seed, lifted the same way, so the avatar is drawn in the colour the agent's profile is themed with. Speech, colour and appearance edits preserve the agent’s identity and unrelated fields.
|
|
54
54
|
|
|
55
55
|
Equivalent legacy shape IDs share one editor choice. Opening a saved avatar only aliases its selected chip; it never rewrites its shape or template. Selecting a different silhouette writes the chosen canonical ID. Catalog comparison stories retain all saved IDs for compatibility inspection.
|
|
56
56
|
|
|
@@ -94,12 +94,14 @@ Web previews use the browser's local device voice catalog and cancel playback wh
|
|
|
94
94
|
|
|
95
95
|
Fixed labels, hints and accessible control names use the `AGENT_CREATOR_MESSAGES` catalog and Bloom’s 15 supported locales. `locale` overrides the root locale for this editor; `labels` overrides individual catalog entries. Agent names, descriptions and host voice names remain consumer data.
|
|
96
96
|
|
|
97
|
-
Profile inputs, textarea, select, switch, segmented control,
|
|
97
|
+
Profile inputs, textarea, select, switch, segmented control, close control and popover reuse Bloom’s current primitives. Original layout and interaction class chains are retained. Bloom’s active palette and materials supply their colors. The custom HSV picker reads `Field` membership: disabling the enclosing field disables its gestures, keyboard updates and hex input; field errors and descriptions associate with its inputs.
|
|
98
|
+
|
|
99
|
+
The original rainbow artwork and glossy color artwork are retained.
|
|
98
100
|
|
|
99
101
|
Web applies the original shape mask and scroll blur; native uses SVG clipping and edge gradients for CSS effects its renderer cannot express. Native gesture hit areas remain rectangular, and native scroll fades do not apply a backdrop blur. These adaptations need device verification.
|
|
100
102
|
|
|
101
103
|
## Validation boundary
|
|
102
104
|
|
|
103
|
-
Tests verify profile and avatar edits preserve unrelated data, preference updates, host speech preview, colour changes
|
|
105
|
+
Tests verify profile and avatar edits preserve unrelated data, preference updates, host speech preview, colour changes written as the account's hex, paintless characters, canonical shape choices, SVG rendering selection for every preview, and availability without a hosted engine. Jest does not execute gesture arbitration or the Reanimated frame loop; motion, wheel hit testing, custom picker dragging, and native speech providers require browser/device verification.
|
|
104
106
|
|
|
105
107
|
Track listeners retain their DOM attachment and read current callbacks; changing profile text does not rebuild shape/eye choices. Tests also cover callback replacement, wheel removal, disabled pending gestures, unmount cancellation and translated choice updates.
|
|
@@ -54,7 +54,7 @@ edits for host persistence. The workspace persists in `storage` — the same
|
|
|
54
54
|
Invalid stored data falls back to the initial demo.
|
|
55
55
|
|
|
56
56
|
An agent is an [`AgentCreatorAgent`](./agent-creator.mdx): its `avatar` holds the character's
|
|
57
|
-
parts and its `color` (a Bloom colour preset key) is its colour. Every avatar the workspace draws
|
|
57
|
+
parts and its `color` (an account colour: a Bloom colour preset key or a `#rrggbb`) is its colour. Every avatar the workspace draws
|
|
58
58
|
for an agent, the marketplace's bots included, is `avatarCharacterInColor(agent.avatar,
|
|
59
59
|
agent.color)`. A workspace saved before agents had a colour restores them in `blue`.
|
|
60
60
|
|
package/docs/task-catalog.json
CHANGED
package/docs/task-catalog.mdx
CHANGED
|
@@ -8,7 +8,7 @@ order: 1
|
|
|
8
8
|
|
|
9
9
|
# Choose an API by task
|
|
10
10
|
|
|
11
|
-
This guide belongs to **@oxy.so/bloom
|
|
11
|
+
This guide belongs to **@oxy.so/bloom 21.0.0**. Read it from the installed package alongside [the structured index](./task-catalog.json). A source build version is not a registry-publication receipt. Use the containing package’s manifest for exact peer ranges.
|
|
12
12
|
|
|
13
13
|
Start under the application’s BloomProvider and follow [getting started](./getting-started.mdx) for CSS, fonts and platform setup. These examples accept domain content/actions and require a bounded host. They do not add a provider per route. For document scrolling, follow [the host contract](./compose-layouts.mdx); Expo’s bounded reset must not silently prevent document overflow.
|
|
14
14
|
|
|
@@ -186,10 +186,10 @@ function updateAvatarCharacter(character, patch) {
|
|
|
186
186
|
* A character painted in its account's colour.
|
|
187
187
|
*
|
|
188
188
|
* `color` is the colour of the account the character stands for, as Oxy stores `User.color`: a
|
|
189
|
-
* Bloom colour preset key (`'lagoon'`)
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
* avatar paint.
|
|
189
|
+
* Bloom colour preset key (`'lagoon'`) or a hex (`'#ff8b67'`, `'#f80'`), both ordinary account
|
|
190
|
+
* colours. A preset paints the body its identity seed, a hex paints it that hex, each lifted to the
|
|
191
|
+
* avatar skin floor (`normalizeAvatarSkinColor`), so a hex an editor wrote back comes out exactly as
|
|
192
|
+
* written. This is the one place an account colour becomes an avatar paint.
|
|
193
193
|
*
|
|
194
194
|
* The result carries `bodyColor` and no `color`; every part is kept. A colour that does not resolve
|
|
195
195
|
* (`null`, `undefined`, an unknown key) returns the character unchanged, so its own paint (or its
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AgentCreator = AgentCreator;
|
|
7
7
|
var _index = require("../screen/index");
|
|
8
|
+
var _popover = require("../popover");
|
|
8
9
|
var _select = require("../select");
|
|
9
10
|
var _SettingsSelect = require("../settings-modal/SettingsSelect");
|
|
10
11
|
var _AgentCreatorBase = require("./AgentCreatorBase.js");
|
|
@@ -20,6 +21,9 @@ const bindings = {
|
|
|
20
21
|
SelectContent: _select.SelectContent,
|
|
21
22
|
SelectItem: _select.SelectItem,
|
|
22
23
|
SelectItemText: _select.SelectItemText,
|
|
24
|
+
Popover: _popover.Popover,
|
|
25
|
+
PopoverTrigger: _popover.PopoverTrigger,
|
|
26
|
+
PopoverContent: _popover.PopoverContent,
|
|
23
27
|
SettingsSelect: _SettingsSelect.SettingsSelect
|
|
24
28
|
};
|
|
25
29
|
function AgentCreator(props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","_select","_SettingsSelect","_AgentCreatorBase","_context","_jsxRuntime","bindings","Screen","ScreenScrollView","Select","SelectTrigger","SelectValue","SelectIcon","SelectContent","SelectItem","SelectItemText","SettingsSelect","AgentCreator","props","jsx","AgentCreatorContext","Provider","value","children","AgentCreatorBase"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,
|
|
1
|
+
{"version":3,"names":["_index","require","_popover","_select","_SettingsSelect","_AgentCreatorBase","_context","_jsxRuntime","bindings","Screen","ScreenScrollView","Select","SelectTrigger","SelectValue","SelectIcon","SelectContent","SelectItem","SelectItemText","Popover","PopoverTrigger","PopoverContent","SettingsSelect","AgentCreator","props","jsx","AgentCreatorContext","Provider","value","children","AgentCreatorBase"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AASA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AAAgD,IAAAM,WAAA,GAAAN,OAAA;AAEhD,MAAMO,QAAQ,GAAG;EACfC,MAAM,EAANA,aAAM;EACNC,gBAAgB,EAAhBA,uBAAgB;EAChBC,MAAM,EAANA,cAAM;EACNC,aAAa,EAAbA,qBAAa;EACbC,WAAW,EAAXA,mBAAW;EACXC,UAAU,EAAVA,kBAAU;EACVC,aAAa,EAAbA,qBAAa;EACbC,UAAU,EAAVA,kBAAU;EACVC,cAAc,EAAdA,sBAAc;EACdC,OAAO,EAAPA,gBAAO;EACPC,cAAc,EAAdA,uBAAc;EACdC,cAAc,EAAdA,uBAAc;EACdC,cAAc,EAAdA;AACF,CAAC;AACM,SAASC,YAAYA,CAACC,KAAwB,EAAE;EACrD,oBACE,IAAAhB,WAAA,CAAAiB,GAAA,EAAClB,QAAA,CAAAmB,mBAAmB,CAACC,QAAQ;IAACC,KAAK,EAAEnB,QAAS;IAAAoB,QAAA,eAC5C,IAAArB,WAAA,CAAAiB,GAAA,EAACnB,iBAAA,CAAAwB,gBAAgB;MAAA,GAAKN;IAAK,CAAG;EAAC,CACH,CAAC;AAEnC","ignoreList":[]}
|
|
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.AgentCreator = AgentCreator;
|
|
7
7
|
var _indexWeb = require("../screen/index.web.js");
|
|
8
|
-
var _indexWeb2 = require("../
|
|
8
|
+
var _indexWeb2 = require("../popover/index.web.js");
|
|
9
|
+
var _indexWeb3 = require("../select/index.web.js");
|
|
9
10
|
var _SettingsSelectWeb = require("../settings-modal/SettingsSelect.web.js");
|
|
10
11
|
var _AgentCreatorBase = require("./AgentCreatorBase.js");
|
|
11
12
|
var _context = require("./context.js");
|
|
@@ -13,13 +14,16 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
13
14
|
const bindings = {
|
|
14
15
|
Screen: _indexWeb.Screen,
|
|
15
16
|
ScreenScrollView: _indexWeb.ScreenScrollView,
|
|
16
|
-
Select:
|
|
17
|
-
SelectTrigger:
|
|
18
|
-
SelectValue:
|
|
19
|
-
SelectIcon:
|
|
20
|
-
SelectContent:
|
|
21
|
-
SelectItem:
|
|
22
|
-
SelectItemText:
|
|
17
|
+
Select: _indexWeb3.Select,
|
|
18
|
+
SelectTrigger: _indexWeb3.SelectTrigger,
|
|
19
|
+
SelectValue: _indexWeb3.SelectValue,
|
|
20
|
+
SelectIcon: _indexWeb3.SelectIcon,
|
|
21
|
+
SelectContent: _indexWeb3.SelectContent,
|
|
22
|
+
SelectItem: _indexWeb3.SelectItem,
|
|
23
|
+
SelectItemText: _indexWeb3.SelectItemText,
|
|
24
|
+
Popover: _indexWeb2.Popover,
|
|
25
|
+
PopoverTrigger: _indexWeb2.PopoverTrigger,
|
|
26
|
+
PopoverContent: _indexWeb2.PopoverContent,
|
|
23
27
|
SettingsSelect: _SettingsSelectWeb.SettingsSelect
|
|
24
28
|
};
|
|
25
29
|
function AgentCreator(props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_indexWeb","require","_indexWeb2","_SettingsSelectWeb","_AgentCreatorBase","_context","_jsxRuntime","bindings","Screen","ScreenScrollView","Select","SelectTrigger","SelectValue","SelectIcon","SelectContent","SelectItem","SelectItemText","SettingsSelect","AgentCreator","props","jsx","AgentCreatorContext","Provider","value","children","AgentCreatorBase"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreator.web.tsx"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;
|
|
1
|
+
{"version":3,"names":["_indexWeb","require","_indexWeb2","_indexWeb3","_SettingsSelectWeb","_AgentCreatorBase","_context","_jsxRuntime","bindings","Screen","ScreenScrollView","Select","SelectTrigger","SelectValue","SelectIcon","SelectContent","SelectItem","SelectItemText","Popover","PopoverTrigger","PopoverContent","SettingsSelect","AgentCreator","props","jsx","AgentCreatorContext","Provider","value","children","AgentCreatorBase"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreator.web.tsx"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AASA,IAAAG,kBAAA,GAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AAAgD,IAAAM,WAAA,GAAAN,OAAA;AAEhD,MAAMO,QAAQ,GAAG;EACfC,MAAM,EAANA,gBAAM;EACNC,gBAAgB,EAAhBA,0BAAgB;EAChBC,MAAM,EAANA,iBAAM;EACNC,aAAa,EAAbA,wBAAa;EACbC,WAAW,EAAXA,sBAAW;EACXC,UAAU,EAAVA,qBAAU;EACVC,aAAa,EAAbA,wBAAa;EACbC,UAAU,EAAVA,qBAAU;EACVC,cAAc,EAAdA,yBAAc;EACdC,OAAO,EAAPA,kBAAO;EACPC,cAAc,EAAdA,yBAAc;EACdC,cAAc,EAAdA,yBAAc;EACdC,cAAc,EAAdA;AACF,CAAC;AACM,SAASC,YAAYA,CAACC,KAAwB,EAAE;EACrD,oBACE,IAAAhB,WAAA,CAAAiB,GAAA,EAAClB,QAAA,CAAAmB,mBAAmB,CAACC,QAAQ;IAACC,KAAK,EAAEnB,QAAS;IAAAoB,QAAA,eAC5C,IAAArB,WAAA,CAAAiB,GAAA,EAACnB,iBAAA,CAAAwB,gBAAgB;MAAA,GAAKN;IAAK,CAAG;EAAC,CACH,CAAC;AAEnC","ignoreList":[]}
|
|
@@ -9,8 +9,7 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _useCharacterHistory = require("./use-character-history.js");
|
|
10
10
|
var _useVectorGeometryPreparation = require("../agent-avatar/use-vector-geometry-preparation.js");
|
|
11
11
|
var _index = require("../agent-avatar/index.js");
|
|
12
|
-
var
|
|
13
|
-
var _colorPresets = require("../theme/color-presets.js");
|
|
12
|
+
var _skinColor = require("../agent-avatar/skin-color.js");
|
|
14
13
|
var _paint = require("./paint.js");
|
|
15
14
|
var _shapeChoices = require("./shape-choices.js");
|
|
16
15
|
var _buttonGroup = require("../button-group");
|
|
@@ -19,14 +18,16 @@ var _RiArrowGoForwardLine = require("../icons/remix/RiArrowGoForwardLine.js");
|
|
|
19
18
|
var _CloseButton = require("../button/CloseButton.js");
|
|
20
19
|
var _useIsRtl = require("../hooks/use-is-rtl.js");
|
|
21
20
|
var _styledPrimitives = require("../styles/styled-primitives.js");
|
|
22
|
-
var
|
|
23
|
-
var
|
|
21
|
+
var _index2 = require("../text-field/index.js");
|
|
22
|
+
var _index3 = require("../textarea/index.js");
|
|
24
23
|
var _useTheme = require("../theme/use-theme.js");
|
|
25
|
-
var
|
|
24
|
+
var _index4 = require("../typography/index.js");
|
|
26
25
|
var _AgentCreatorField = require("./AgentCreatorField.js");
|
|
27
26
|
var _AgentPreferencesPanel = require("./AgentPreferencesPanel.js");
|
|
28
27
|
var _CharacterControls = require("./CharacterControls.js");
|
|
28
|
+
var _CustomColorPicker = require("./CustomColorPicker.js");
|
|
29
29
|
var _EmotionPicker = require("./EmotionPicker.js");
|
|
30
|
+
var _GlossArt = require("./GlossArt.js");
|
|
30
31
|
var _PageHeader = require("../page-header/PageHeader.js");
|
|
31
32
|
var _context = require("../dialog/context.js");
|
|
32
33
|
var _surfaceLevels = require("../styles/surface-levels.js");
|
|
@@ -55,7 +56,10 @@ function AgentCreatorBase(props) {
|
|
|
55
56
|
const backing = (0, _useSurfaceBacking.useSurfaceBacking)(colors.background, style);
|
|
56
57
|
const {
|
|
57
58
|
Screen,
|
|
58
|
-
ScreenScrollView
|
|
59
|
+
ScreenScrollView,
|
|
60
|
+
Popover,
|
|
61
|
+
PopoverTrigger,
|
|
62
|
+
PopoverContent
|
|
59
63
|
} = (0, _context2.useAgentCreatorBindings)();
|
|
60
64
|
const latest = (0, _react.useRef)({
|
|
61
65
|
agent,
|
|
@@ -104,32 +108,25 @@ function AgentCreatorBase(props) {
|
|
|
104
108
|
node?.addEventListener('keydown', keydown);
|
|
105
109
|
return () => node?.removeEventListener('keydown', keydown);
|
|
106
110
|
}, []);
|
|
107
|
-
// The colours offered are the host's, and only those Bloom can draw.
|
|
108
|
-
const offered = (0, _react.useMemo)(() => (props.colors ?? _colorPresets.FREE_COLOR_NAMES).filter(key => key in _colorPresets.APP_COLOR_PRESETS), [props.colors]);
|
|
109
|
-
const swatches = (0, _react.useMemo)(() => {
|
|
110
|
-
const keyOf = {};
|
|
111
|
-
const names = {};
|
|
112
|
-
const hexes = offered.map(key => {
|
|
113
|
-
const preset = _colorPresets.COLOR_PRESET_REGISTRY.find(({
|
|
114
|
-
name
|
|
115
|
-
}) => name === key);
|
|
116
|
-
keyOf[preset.hex] = key;
|
|
117
|
-
names[preset.hex] = preset.displayName;
|
|
118
|
-
return preset.hex;
|
|
119
|
-
});
|
|
120
|
-
return {
|
|
121
|
-
hexes,
|
|
122
|
-
keyOf,
|
|
123
|
-
names
|
|
124
|
-
};
|
|
125
|
-
}, [offered]);
|
|
126
111
|
// Every control draws the character in the agent's colour and writes one edit to the saved
|
|
127
112
|
// one; the history keeps the parts and drops the paint.
|
|
128
|
-
const painted = (0, _react.useMemo)(() => (0, _paint.drawnCharacter)(avatar, agent.color
|
|
113
|
+
const painted = (0, _react.useMemo)(() => (0, _paint.drawnCharacter)(avatar, agent.color), [avatar, agent.color]);
|
|
129
114
|
const character = (0, _react.useMemo)(() => (0, _index.resolveAvatarCharacter)(painted), [painted]);
|
|
130
115
|
const edit = patch => history.change((0, _index.updateAvatarCharacter)(painted, patch));
|
|
131
116
|
const bodyHex = (0, _index.avatarBodyHex)(character);
|
|
132
|
-
|
|
117
|
+
// The colour control writes the ACCOUNT's colour, as the hex the avatar is drawn in.
|
|
118
|
+
const colorHex = (0, _paint.accountBodyHex)(agent.color);
|
|
119
|
+
const namedColor = _constants.CHARACTER_OPTIONS.color.find(([id]) => (0, _skinColor.normalizeAvatarSkinColor)(_constants.CHARACTER_COLORS[id]) === colorHex)?.[0];
|
|
120
|
+
const customHex = namedColor === undefined ? colorHex : undefined;
|
|
121
|
+
const changeColor = hex => {
|
|
122
|
+
if (!/^#[0-9a-f]{6}$/i.test(hex)) return;
|
|
123
|
+
const color = (0, _skinColor.normalizeAvatarSkinColor)(hex);
|
|
124
|
+
if (color === (0, _paint.accountBodyHex)(latest.current.agent.color)) return;
|
|
125
|
+
latest.current.onChange({
|
|
126
|
+
...latest.current.agent,
|
|
127
|
+
color
|
|
128
|
+
});
|
|
129
|
+
};
|
|
133
130
|
const shapeChoices = (0, _react.useMemo)(() => _constants.CHARACTER_OPTIONS.shape.map(([id, title]) => ({
|
|
134
131
|
id,
|
|
135
132
|
label: id in messages.shapes ? messages.shapes[id] : messages.characterOption('shape', id, title),
|
|
@@ -277,31 +274,79 @@ function AgentCreatorBase(props) {
|
|
|
277
274
|
},
|
|
278
275
|
"aria-busy": preparing,
|
|
279
276
|
testID: "agent-avatar-preparation",
|
|
280
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
277
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.Text, {
|
|
281
278
|
accessibilityLiveRegion: "polite",
|
|
282
279
|
role: "status",
|
|
283
280
|
variant: "caption-1-regular",
|
|
284
281
|
children: preparing ? messages.preparingAvatar : ''
|
|
285
282
|
})
|
|
286
283
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledView, {
|
|
287
|
-
className: "mt-[15px]
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
});
|
|
298
|
-
},
|
|
299
|
-
colors: swatches.hexes,
|
|
300
|
-
names: swatches.names,
|
|
301
|
-
size: 22,
|
|
284
|
+
className: "mt-[15px] flex shrink-0 flex-row justify-center",
|
|
285
|
+
style: {
|
|
286
|
+
flexShrink: 0
|
|
287
|
+
},
|
|
288
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styledPrimitives.StyledView, {
|
|
289
|
+
collapsable: false,
|
|
290
|
+
role: "group",
|
|
291
|
+
accessibilityLabel: messages.color,
|
|
292
|
+
testID: "agent-avatar-color-selector",
|
|
293
|
+
className: "flex h-[38px] shrink-0 items-center gap-1 rounded-full border border-border-button-default bg-background-primary-default p-[5px] shadow-xs flex-row",
|
|
302
294
|
style: {
|
|
303
|
-
|
|
304
|
-
|
|
295
|
+
backgroundColor: colors.card,
|
|
296
|
+
borderColor: colors.border,
|
|
297
|
+
boxShadow: '0 1px 2px rgba(0,0,0,.05)'
|
|
298
|
+
},
|
|
299
|
+
children: [_constants.CHARACTER_OPTIONS.color.map(([id, title]) => {
|
|
300
|
+
const active = namedColor === id;
|
|
301
|
+
const hex = _constants.CHARACTER_COLORS[id];
|
|
302
|
+
const disabled = false;
|
|
303
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledPressable, {
|
|
304
|
+
accessibilityRole: "button",
|
|
305
|
+
accessibilityLabel: messages.avatarColorLabel(messages.characterOption('color', id, title)),
|
|
306
|
+
"aria-pressed": active,
|
|
307
|
+
"aria-disabled": disabled,
|
|
308
|
+
accessibilityState: {
|
|
309
|
+
selected: active,
|
|
310
|
+
disabled
|
|
311
|
+
},
|
|
312
|
+
disabled: disabled,
|
|
313
|
+
onPress: () => changeColor(hex),
|
|
314
|
+
className: "relative shrink-0 cursor-pointer overflow-hidden rounded-full transition-transform duration-150 ease-out hover:scale-110 outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-2 size-[26px]",
|
|
315
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GlossArt.GlossArt, {
|
|
316
|
+
center: hex,
|
|
317
|
+
edge: hex,
|
|
318
|
+
active: active
|
|
319
|
+
})
|
|
320
|
+
}, id);
|
|
321
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(Popover, {
|
|
322
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(PopoverTrigger, {
|
|
323
|
+
asChild: true,
|
|
324
|
+
label: messages.customColor,
|
|
325
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledPrimitives.StyledPressable, {
|
|
326
|
+
"aria-pressed": Boolean(customHex),
|
|
327
|
+
accessibilityState: {
|
|
328
|
+
selected: Boolean(customHex)
|
|
329
|
+
},
|
|
330
|
+
className: "relative size-[26px] shrink-0 overflow-hidden rounded-full",
|
|
331
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_GlossArt.GlossArt, {
|
|
332
|
+
rainbow: !customHex,
|
|
333
|
+
center: customHex,
|
|
334
|
+
edge: customHex,
|
|
335
|
+
active: Boolean(customHex)
|
|
336
|
+
})
|
|
337
|
+
})
|
|
338
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(PopoverContent, {
|
|
339
|
+
label: messages.customColor,
|
|
340
|
+
align: "end",
|
|
341
|
+
minWidth: 248,
|
|
342
|
+
maxWidth: 248,
|
|
343
|
+
className: "w-[248px] rounded-3xl p-2.5",
|
|
344
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomColorPicker.CustomColorPicker, {
|
|
345
|
+
value: bodyHex,
|
|
346
|
+
onChange: changeColor
|
|
347
|
+
}, agent.id)
|
|
348
|
+
})]
|
|
349
|
+
})]
|
|
305
350
|
})
|
|
306
351
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CharacterControls.CharacterControls, {
|
|
307
352
|
character: painted,
|
|
@@ -314,7 +359,7 @@ function AgentCreatorBase(props) {
|
|
|
314
359
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_AgentCreatorField.AgentCreatorField, {
|
|
315
360
|
label: messages.name,
|
|
316
361
|
divider: false,
|
|
317
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
362
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.TextFieldInput, {
|
|
318
363
|
label: messages.nameInput,
|
|
319
364
|
size: "sm",
|
|
320
365
|
maxLength: 48,
|
|
@@ -328,7 +373,7 @@ function AgentCreatorBase(props) {
|
|
|
328
373
|
})
|
|
329
374
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AgentCreatorField.AgentCreatorField, {
|
|
330
375
|
label: messages.label,
|
|
331
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
376
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.TextFieldInput, {
|
|
332
377
|
label: messages.labelInput,
|
|
333
378
|
size: "sm",
|
|
334
379
|
maxLength: 60,
|
|
@@ -342,7 +387,7 @@ function AgentCreatorBase(props) {
|
|
|
342
387
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AgentCreatorField.AgentCreatorField, {
|
|
343
388
|
label: messages.description,
|
|
344
389
|
multiline: true,
|
|
345
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
390
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Textarea, {
|
|
346
391
|
accessibilityLabel: messages.descriptionInput,
|
|
347
392
|
size: "sm",
|
|
348
393
|
rows: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_useCharacterHistory","_useVectorGeometryPreparation","_index","_index2","_colorPresets","_paint","_shapeChoices","_buttonGroup","_RiArrowGoBackLine","_RiArrowGoForwardLine","_CloseButton","_useIsRtl","_styledPrimitives","_index3","_index4","_useTheme","_index5","_AgentCreatorField","_AgentPreferencesPanel","_CharacterControls","_EmotionPicker","_PageHeader","_context","_surfaceLevels","_useSurfaceBacking","_ShapeArc","_constants","_context2","_jsxRuntime","AgentCreatorBase","props","directionProps","useDirectionProps","messages","useAgentCreatorMessages","agent","onChange","onClose","className","style","isWithinDialog","useDialogContext","colors","useTheme","backing","useSurfaceBacking","background","Screen","ScreenScrollView","useAgentCreatorBindings","latest","useRef","current","copy","useMemo","locale","labels","changePreferences","useCallback","next","preferences","preferencesPanel","showPreferences","jsx","AgentPreferencesPanel","voices","onPreviewVoice","history","useCharacterHistory","avatar","character","editor","preparing","setPreparing","useState","keyboard","useEffect","Platform","OS","node","keydown","event","target","defaultPrevented","isComposing","isContentEditable","closest","metaKey","ctrlKey","altKey","key","toLowerCase","shiftKey","canUndo","preventDefault","undo","canRedo","redo","addEventListener","removeEventListener","offered","FREE_COLOR_NAMES","filter","APP_COLOR_PRESETS","swatches","keyOf","names","hexes","map","preset","COLOR_PRESET_REGISTRY","find","name","hex","displayName","painted","drawnCharacter","color","resolveAvatarCharacter","edit","patch","change","updateAvatarCharacter","bodyHex","avatarBodyHex","chosenHex","shapeChoices","CHARACTER_OPTIONS","shape","id","title","label","shapes","characterOption","nearby","index","findIndex","editorShapeId","flatMap","i","useVectorGeometryPreparation","eyeChoices","eyes","disabled","AgentCreatorCopyContext","Provider","value","children","SurfaceLevelProvider","level","fill","StyledView","ref","accessibilityLabel","flex","minHeight","backgroundColor","vars","scroll","documentScroll","contentClearance","header","PageHeader","newBot","titleAlign","sticky","safeArea","leading","jsxs","ButtonGroup","avatarHistory","ButtonGroupItem","iconOnly","leadingIcon","RiArrowGoBackLine","undoAvatar","onPress","RiArrowGoForwardLine","redoAvatar","actions","CloseButton","size","closeEditor","undefined","details","contentContainerStyle","paddingStart","paddingEnd","paddingBottom","pointerEvents","position","left","top","transform","translateX","zIndex","EmotionPicker","choices","onSelect","AgentAvatar","interactive","renderer","onLoadingChange","livePreview","newAgent","right","bottom","ShapeArc","alignItems","testID","Text","accessibilityLiveRegion","role","variant","preparingAvatar","ColorSwatchPicker","onValueChange","justifyContent","CharacterControls","backgroundSecondary","AgentCreatorField","divider","TextFieldInput","nameInput","maxLength","onChangeText","placeholder","labelInput","labelPlaceholder","description","multiline","Textarea","descriptionInput","rows","resize","fieldStyle","height","descriptionPlaceholder","sections"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreatorBase.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AACA,IAAAG,6BAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAMA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,aAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,kBAAA,GAAAV,OAAA;AACA,IAAAW,qBAAA,GAAAX,OAAA;AACA,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;gBAAiB,CACxC;cAAC,CACe,CAAC,eACpB,IAAAxM,WAAA,CAAAmC,GAAA,EAAC9C,kBAAA,CAAA2M,iBAAiB;gBAACzF,KAAK,EAAElG,QAAQ,CAACoM,WAAY;gBAACC,SAAS;gBAAAnF,QAAA,eACvD,IAAAvH,WAAA,CAAAmC,GAAA,EAACjD,OAAA,CAAAyN,QAAQ;kBACP9E,kBAAkB,EAAExH,QAAQ,CAACuM,gBAAiB;kBAC9CnD,IAAI,EAAC,IAAI;kBACToD,IAAI,EAAE,CAAE;kBACRC,MAAM,EAAC,MAAM;kBACbV,SAAS,EAAE,GAAI;kBACfW,UAAU,EAAE;oBAAEC,MAAM,EAAE;kBAAG,CAAE;kBAC3BrM,KAAK,EAAE;oBAAEqM,MAAM,EAAE;kBAAG,CAAE;kBACtB1F,KAAK,EAAE/G,KAAK,CAACkM,WAAY;kBACzBJ,YAAY,EAAGI,WAAW,IAAKjM,QAAQ,CAAC;oBAAE,GAAGD,KAAK;oBAAEkM;kBAAY,CAAC,CAAE;kBACnEH,WAAW,EAAEjM,QAAQ,CAAC4M;gBAAuB,CAC9C;cAAC,CACe,CAAC,EACnB/M,KAAK,CAACqH,QAAQ;YAAA,CACL,CAAC,EACZrH,KAAK,CAACgN,QAAQ,EACdjL,gBAAgB;UAAA,CACD;QAAC,CACb;MAAC,CACC;IAAC,CACO;EAAC,CACS,CAAC;AAEvC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_useCharacterHistory","_useVectorGeometryPreparation","_index","_skinColor","_paint","_shapeChoices","_buttonGroup","_RiArrowGoBackLine","_RiArrowGoForwardLine","_CloseButton","_useIsRtl","_styledPrimitives","_index2","_index3","_useTheme","_index4","_AgentCreatorField","_AgentPreferencesPanel","_CharacterControls","_CustomColorPicker","_EmotionPicker","_GlossArt","_PageHeader","_context","_surfaceLevels","_useSurfaceBacking","_ShapeArc","_constants","_context2","_jsxRuntime","AgentCreatorBase","props","directionProps","useDirectionProps","messages","useAgentCreatorMessages","agent","onChange","onClose","className","style","isWithinDialog","useDialogContext","colors","useTheme","backing","useSurfaceBacking","background","Screen","ScreenScrollView","Popover","PopoverTrigger","PopoverContent","useAgentCreatorBindings","latest","useRef","current","copy","useMemo","locale","labels","changePreferences","useCallback","next","preferences","preferencesPanel","showPreferences","jsx","AgentPreferencesPanel","voices","onPreviewVoice","history","useCharacterHistory","avatar","character","editor","preparing","setPreparing","useState","keyboard","useEffect","Platform","OS","node","keydown","event","target","defaultPrevented","isComposing","isContentEditable","closest","metaKey","ctrlKey","altKey","key","toLowerCase","shiftKey","canUndo","preventDefault","undo","canRedo","redo","addEventListener","removeEventListener","painted","drawnCharacter","color","resolveAvatarCharacter","edit","patch","change","updateAvatarCharacter","bodyHex","avatarBodyHex","colorHex","accountBodyHex","namedColor","CHARACTER_OPTIONS","find","id","normalizeAvatarSkinColor","CHARACTER_COLORS","customHex","undefined","changeColor","hex","test","shapeChoices","shape","map","title","label","shapes","characterOption","nearby","index","findIndex","editorShapeId","flatMap","i","useVectorGeometryPreparation","eyeChoices","eyes","disabled","AgentCreatorCopyContext","Provider","value","children","SurfaceLevelProvider","level","fill","StyledView","ref","accessibilityLabel","flex","minHeight","backgroundColor","vars","scroll","documentScroll","contentClearance","header","PageHeader","name","newBot","titleAlign","sticky","safeArea","leading","jsxs","ButtonGroup","avatarHistory","ButtonGroupItem","iconOnly","leadingIcon","RiArrowGoBackLine","undoAvatar","onPress","RiArrowGoForwardLine","redoAvatar","actions","CloseButton","size","closeEditor","details","contentContainerStyle","paddingStart","paddingEnd","paddingBottom","pointerEvents","position","left","top","transform","translateX","zIndex","EmotionPicker","choices","onSelect","AgentAvatar","interactive","renderer","onLoadingChange","livePreview","newAgent","right","bottom","ShapeArc","alignItems","testID","Text","accessibilityLiveRegion","role","variant","preparingAvatar","flexShrink","collapsable","card","borderColor","border","boxShadow","active","StyledPressable","accessibilityRole","avatarColorLabel","accessibilityState","selected","GlossArt","center","edge","asChild","customColor","Boolean","rainbow","align","minWidth","maxWidth","CustomColorPicker","CharacterControls","backgroundSecondary","AgentCreatorField","divider","TextFieldInput","nameInput","maxLength","onChangeText","placeholder","labelInput","labelPlaceholder","description","multiline","Textarea","descriptionInput","rows","resize","fieldStyle","height","descriptionPlaceholder","sections"],"sourceRoot":"../../../src","sources":["agent-creator/AgentCreatorBase.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AACA,IAAAG,6BAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAMA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AACA,IAAAS,kBAAA,GAAAT,OAAA;AACA,IAAAU,qBAAA,GAAAV,OAAA;AACA,IAAAW,YAAA,GAAAX,OAAA;AACA,IAAAY,SAAA,GAAAZ,OAAA;AACA,IAAAa,iBAAA,GAAAb,OAAA;AACA,IAAAc,OAAA,GAAAd,OAAA;AACA,IAAAe,OAAA,GAAAf,OAAA;AACA,IAAAgB,SAAA,GAAAhB,OAAA;AACA,IAAAiB,OAAA,GAAAjB,OAAA;AACA,IAAAkB,kBAAA,GAAAlB,OAAA;AACA,IAAAmB,sBAAA,GAAAnB,OAAA;AACA,IAAAoB,kBAAA,GAAApB,OAAA;AACA,IAAAqB,kBAAA,GAAArB,OAAA;AACA,IAAAsB,cAAA,GAAAtB,OAAA;AACA,IAAAuB,SAAA,GAAAvB,OAAA;AACA,IAAAwB,WAAA,GAAAxB,OAAA;AACA,IAAAyB,QAAA,GAAAzB,OAAA;AACA,IAAA0B,cAAA,GAAA1B,OAAA;AACA,IAAA2B,kBAAA,GAAA3B,OAAA;AACA,IAAA4B,SAAA,GAAA5B,OAAA;AACA,IAAA6B,UAAA,GAAA7B,OAAA;AACA,IAAA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