@floegence/floe-webapp-init 0.50.6 → 0.52.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/package.json +1 -1
- package/skills/floe-webapp/SKILL.md +1 -0
- package/skills/floe-webapp/references/playbooks.md +4 -0
- package/templates/full/skills/floe-webapp/SKILL.md +1 -0
- package/templates/full/skills/floe-webapp/references/playbooks.md +4 -0
- package/templates/minimal/skills/floe-webapp/SKILL.md +1 -0
- package/templates/minimal/skills/floe-webapp/references/playbooks.md +4 -0
package/package.json
CHANGED
|
@@ -58,6 +58,7 @@ description: Implement, refactor, and debug Floe-Webapp apps and this monorepo u
|
|
|
58
58
|
- Reuse `useOverlayMask()` for overlays.
|
|
59
59
|
- Reuse `startHotInteraction()` and preview/commit separation for drag or resize flows.
|
|
60
60
|
6. Keep styling on design tokens and official CSS entrypoints:
|
|
61
|
+
- For optional material, read `docs/surface-style.md`: use `theme.defaultSurfaceStyle` / `useTheme().setSurfaceStyle()` and existing component surface roles. Do not add parallel neumorphic components or a second theme owner.
|
|
61
62
|
- Preferred: `@floegence/floe-webapp-core/tailwind`
|
|
62
63
|
- Fallback: `@floegence/floe-webapp-core/styles`
|
|
63
64
|
7. When editing this repo's skill package, treat `skills/floe-webapp/*` as the source of truth and sync these mirrors before finishing:
|
|
@@ -147,3 +147,7 @@ pnpm verify
|
|
|
147
147
|
## Input focus boundaries
|
|
148
148
|
|
|
149
149
|
Text inputs, textareas, and native selects change only their existing border color on focus. Mark a composite control's visible boundary with `data-floe-input-surface` and leave its inner editor frameless. Keep independent buttons and navigation keyboard-visible. Standalone host-owned documents can load `@floegence/floe-webapp-core/input-focus.css` and map `--ring`, `--error`, `--accent`, and `--accent-foreground` to their theme. The asset has no shell imports; do not copy it or inject it into third-party frames.
|
|
150
|
+
|
|
151
|
+
## Surface styles
|
|
152
|
+
|
|
153
|
+
Keep the default `standard` material unchanged unless a host explicitly opts into `soft-neumorphic`. Prefer existing components; a host-owned boundary may declare `data-floe-surface="flat|raised|inset|floating"` without adding wrappers or interaction semantics. Use theme token overrides, keep rich Card variants separate, and preserve input border-only focus. Review the component-state matrix in `docs/surface-components.md`, including semantic tags, all choice variants, switches, progress and dark-mode contrast. Material uses static lighting; existing local drag/resize state selects a fixed lightweight shadow. Do not add decorative animation loops, global listeners, per-pointer theme writes, or blanket layer promotion. Validate packed `/styles` and `/tailwind` consumers, computed focus styles with animations enabled, and A/B/C performance evidence using the scripts documented in `docs/surface-style.md`.
|
|
@@ -58,6 +58,7 @@ description: Implement, refactor, and debug Floe-Webapp apps and this monorepo u
|
|
|
58
58
|
- Reuse `useOverlayMask()` for overlays.
|
|
59
59
|
- Reuse `startHotInteraction()` and preview/commit separation for drag or resize flows.
|
|
60
60
|
6. Keep styling on design tokens and official CSS entrypoints:
|
|
61
|
+
- For optional material, read `docs/surface-style.md`: use `theme.defaultSurfaceStyle` / `useTheme().setSurfaceStyle()` and existing component surface roles. Do not add parallel neumorphic components or a second theme owner.
|
|
61
62
|
- Preferred: `@floegence/floe-webapp-core/tailwind`
|
|
62
63
|
- Fallback: `@floegence/floe-webapp-core/styles`
|
|
63
64
|
7. When editing this repo's skill package, treat `skills/floe-webapp/*` as the source of truth and sync these mirrors before finishing:
|
|
@@ -147,3 +147,7 @@ pnpm verify
|
|
|
147
147
|
## Input focus boundaries
|
|
148
148
|
|
|
149
149
|
Text inputs, textareas, and native selects change only their existing border color on focus. Mark a composite control's visible boundary with `data-floe-input-surface` and leave its inner editor frameless. Keep independent buttons and navigation keyboard-visible. Standalone host-owned documents can load `@floegence/floe-webapp-core/input-focus.css` and map `--ring`, `--error`, `--accent`, and `--accent-foreground` to their theme. The asset has no shell imports; do not copy it or inject it into third-party frames.
|
|
150
|
+
|
|
151
|
+
## Surface styles
|
|
152
|
+
|
|
153
|
+
Keep the default `standard` material unchanged unless a host explicitly opts into `soft-neumorphic`. Prefer existing components; a host-owned boundary may declare `data-floe-surface="flat|raised|inset|floating"` without adding wrappers or interaction semantics. Use theme token overrides, keep rich Card variants separate, and preserve input border-only focus. Review the component-state matrix in `docs/surface-components.md`, including semantic tags, all choice variants, switches, progress and dark-mode contrast. Material uses static lighting; existing local drag/resize state selects a fixed lightweight shadow. Do not add decorative animation loops, global listeners, per-pointer theme writes, or blanket layer promotion. Validate packed `/styles` and `/tailwind` consumers, computed focus styles with animations enabled, and A/B/C performance evidence using the scripts documented in `docs/surface-style.md`.
|
|
@@ -58,6 +58,7 @@ description: Implement, refactor, and debug Floe-Webapp apps and this monorepo u
|
|
|
58
58
|
- Reuse `useOverlayMask()` for overlays.
|
|
59
59
|
- Reuse `startHotInteraction()` and preview/commit separation for drag or resize flows.
|
|
60
60
|
6. Keep styling on design tokens and official CSS entrypoints:
|
|
61
|
+
- For optional material, read `docs/surface-style.md`: use `theme.defaultSurfaceStyle` / `useTheme().setSurfaceStyle()` and existing component surface roles. Do not add parallel neumorphic components or a second theme owner.
|
|
61
62
|
- Preferred: `@floegence/floe-webapp-core/tailwind`
|
|
62
63
|
- Fallback: `@floegence/floe-webapp-core/styles`
|
|
63
64
|
7. When editing this repo's skill package, treat `skills/floe-webapp/*` as the source of truth and sync these mirrors before finishing:
|
|
@@ -147,3 +147,7 @@ pnpm verify
|
|
|
147
147
|
## Input focus boundaries
|
|
148
148
|
|
|
149
149
|
Text inputs, textareas, and native selects change only their existing border color on focus. Mark a composite control's visible boundary with `data-floe-input-surface` and leave its inner editor frameless. Keep independent buttons and navigation keyboard-visible. Standalone host-owned documents can load `@floegence/floe-webapp-core/input-focus.css` and map `--ring`, `--error`, `--accent`, and `--accent-foreground` to their theme. The asset has no shell imports; do not copy it or inject it into third-party frames.
|
|
150
|
+
|
|
151
|
+
## Surface styles
|
|
152
|
+
|
|
153
|
+
Keep the default `standard` material unchanged unless a host explicitly opts into `soft-neumorphic`. Prefer existing components; a host-owned boundary may declare `data-floe-surface="flat|raised|inset|floating"` without adding wrappers or interaction semantics. Use theme token overrides, keep rich Card variants separate, and preserve input border-only focus. Review the component-state matrix in `docs/surface-components.md`, including semantic tags, all choice variants, switches, progress and dark-mode contrast. Material uses static lighting; existing local drag/resize state selects a fixed lightweight shadow. Do not add decorative animation loops, global listeners, per-pointer theme writes, or blanket layer promotion. Validate packed `/styles` and `/tailwind` consumers, computed focus styles with animations enabled, and A/B/C performance evidence using the scripts documented in `docs/surface-style.md`.
|