@oyolincc/create 0.4.0 → 0.5.1
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 +2 -2
- package/templates/{monorepo/.agents/skills/grilling → hono-fullstack/.agents/skills/ask-grilling}/SKILL.md +1 -1
- package/templates/hono-fullstack/.agents/skills/build-api-and-interface-design/SKILL.md +369 -0
- package/templates/hono-fullstack/.agents/skills/build-context-engineering/SKILL.md +353 -0
- package/templates/hono-fullstack/.agents/skills/build-incremental-implementation/SKILL.md +249 -0
- package/templates/hono-fullstack/.agents/skills/build-observability-and-instrumentation/SKILL.md +239 -0
- package/templates/hono-fullstack/.agents/skills/plan-planning-and-task-breakdown/SKILL.md +257 -0
- package/templates/{monorepo/.agents/skills/prototype → hono-fullstack/.agents/skills/plan-prototype}/LOGIC.md +1 -1
- package/templates/{monorepo/.agents/skills/prototype → hono-fullstack/.agents/skills/plan-prototype}/SKILL.md +2 -2
- package/templates/hono-fullstack/.agents/skills/{prototype → plan-prototype}/UI.md +2 -2
- package/templates/{monorepo/.agents/skills/research → hono-fullstack/.agents/skills/plan-research}/SKILL.md +2 -2
- package/templates/hono-fullstack/.agents/skills/plan-using-agent-skills/SKILL.md +185 -0
- package/templates/{monorepo/.agents/skills/wayfinder → hono-fullstack/.agents/skills/plan-wayfinder}/SKILL.md +43 -29
- package/templates/hono-fullstack/.agents/skills/review-code-review-and-quality/SKILL.md +400 -0
- package/templates/hono-fullstack/.agents/skills/review-doubt-driven-development/SKILL.md +244 -0
- package/templates/hono-fullstack/.agents/skills/review-security-and-hardening/SKILL.md +216 -0
- package/templates/hono-fullstack/.agents/skills/review-security-and-hardening/references/hardening-patterns.md +331 -0
- package/templates/hono-fullstack/.agents/skills/ship-ci-cd-and-automation/SKILL.md +393 -0
- package/templates/hono-fullstack/.agents/skills/ship-deprecation-and-migration/SKILL.md +252 -0
- package/templates/hono-fullstack/.agents/skills/ship-documentation-and-adrs/SKILL.md +298 -0
- package/templates/hono-fullstack/.agents/skills/ship-git-workflow-and-versioning/SKILL.md +355 -0
- package/templates/hono-fullstack/.agents/skills/ship-shipping-and-launch/SKILL.md +336 -0
- package/templates/hono-fullstack/.agents/skills/simplify-code-simplification/SKILL.md +332 -0
- package/templates/hono-fullstack/.agents/skills/simplify-performance-optimization/SKILL.md +268 -0
- package/templates/hono-fullstack/.agents/skills/simplify-performance-optimization/references/optimization-patterns.md +250 -0
- package/templates/hono-fullstack/.agents/skills/spec-constraint-driven-development/SKILL.md +318 -0
- package/templates/hono-fullstack/.agents/skills/spec-constraint-driven-development/references/floor-guard.md +182 -0
- package/templates/hono-fullstack/.agents/skills/spec-constraint-driven-development/scripts/quality-gate.mjs +45 -0
- package/templates/hono-fullstack/.agents/skills/spec-driven-development/SKILL.md +261 -0
- package/templates/hono-fullstack/.agents/skills/test-browser-testing-with-devtools/SKILL.md +319 -0
- package/templates/hono-fullstack/.agents/skills/test-debugging-and-error-recovery/SKILL.md +300 -0
- package/templates/hono-fullstack/.agents/skills/test-driven-development/SKILL.md +400 -0
- package/templates/hono-fullstack/.codegraph/.gitignore +5 -0
- package/templates/hono-fullstack/AGENTS.md +9 -20
- package/templates/hono-fullstack/README.md +22 -1
- package/templates/hono-fullstack/_gitignore +1 -0
- package/templates/hono-fullstack/apps/server/package.json +7 -2
- package/templates/hono-fullstack/apps/server/src/adapters/cloudflare/entry.ts +4 -30
- package/templates/hono-fullstack/apps/server/src/adapters/nodejs/bootstrap.ts +20 -12
- package/templates/hono-fullstack/apps/server/src/adapters/nodejs/entry.ts +7 -57
- package/templates/hono-fullstack/apps/server/src/app.ts +37 -21
- package/templates/hono-fullstack/apps/server/src/config.ts +1 -1
- package/templates/hono-fullstack/apps/server/src/di-container.ts +51 -0
- package/templates/hono-fullstack/apps/server/src/infra/logger/getter.ts +1 -1
- package/templates/hono-fullstack/apps/server/src/infra/logger/pino.ts +21 -34
- package/templates/hono-fullstack/apps/server/src/infra/work-runner/errors.ts +22 -0
- package/templates/hono-fullstack/apps/server/src/infra/work-runner/pass-through/runner.ts +28 -22
- package/templates/hono-fullstack/apps/server/src/infra/work-runner/piscina/runner.ts +11 -34
- package/templates/{hono-server/apps/server/src/infra/work-runner/example → hono-fullstack/apps/server/src/infra/work-runner/piscina}/worker-entry.ts +6 -2
- package/templates/hono-fullstack/apps/server/src/infra/work-runner/types.ts +2 -16
- package/templates/hono-fullstack/apps/server/src/infra/work-runner/utils/business-error.ts +10 -5
- package/templates/hono-fullstack/apps/server/src/infra/work-runner/utils/message.ts +5 -17
- package/templates/hono-fullstack/apps/server/src/middlewares/cors.ts +16 -22
- package/templates/hono-fullstack/apps/server/src/middlewares/logger.ts +34 -0
- package/templates/hono-fullstack/apps/server/src/modules/example/module.ts +8 -0
- package/templates/hono-fullstack/apps/server/src/modules/example/queries.ts +8 -0
- package/templates/hono-fullstack/apps/server/src/modules/example/routes.ts +74 -68
- package/templates/hono-fullstack/apps/server/src/modules/example/service.test.ts +53 -0
- package/templates/hono-fullstack/apps/server/src/modules/example/service.ts +54 -0
- package/templates/hono-fullstack/apps/server/src/modules/example/types.ts +12 -0
- package/templates/hono-fullstack/apps/server/src/modules/example/work-task/tasks.test.ts +9 -35
- package/templates/hono-fullstack/apps/server/src/modules/example/work-task/tasks.ts +15 -46
- package/templates/hono-fullstack/apps/server/src/shared/errors/defs/index.ts +6 -1
- package/templates/hono-fullstack/apps/server/src/shared/errors/handler.ts +1 -1
- package/templates/hono-fullstack/apps/server/src/shared/network/openapi/index.ts +1 -1
- package/templates/hono-fullstack/apps/server/src/shared/types/app.ts +51 -0
- package/templates/hono-fullstack/apps/server/src/shared/types/db.ts +126 -0
- package/templates/hono-fullstack/apps/server/src/shared/utils/data-access/check.ts +19 -0
- package/templates/hono-fullstack/apps/server/src/shared/utils/data-access/model.ts +47 -0
- package/templates/hono-fullstack/apps/server/src/shared/utils/data-access/params.ts +105 -0
- package/templates/hono-fullstack/apps/server/src/shared/utils/data-access/query.test.ts +139 -0
- package/templates/hono-fullstack/apps/server/src/shared/utils/data-access/query.ts +236 -0
- package/templates/hono-fullstack/apps/server/vite.config.ts +2 -2
- package/templates/hono-fullstack/apps/server/wrangler.jsonc +1 -1
- package/templates/hono-fullstack/apps/stack/frontend/assets/styles.css +6 -0
- package/templates/hono-fullstack/apps/stack/frontend/components/general/ErrorMessage.tsx +3 -1
- package/templates/hono-fullstack/apps/stack/frontend/components/layouts/AppLayout.tsx +2 -1
- package/templates/hono-fullstack/apps/stack/frontend/components/layouts/Header.tsx +14 -2
- package/templates/hono-fullstack/apps/stack/frontend/components/layouts/Page.tsx +2 -1
- package/templates/hono-fullstack/apps/stack/frontend/components/layouts/PageContainer.tsx +4 -1
- package/templates/hono-fullstack/apps/stack/frontend/modules/example/api.ts +16 -9
- package/templates/hono-fullstack/apps/stack/frontend/modules/example/components/ExampleForm.tsx +25 -12
- package/templates/hono-fullstack/apps/stack/frontend/modules/example/components/ExampleList.tsx +13 -4
- package/templates/hono-fullstack/apps/stack/frontend/modules/example/hooks/api-hooks.ts +3 -3
- package/templates/hono-fullstack/apps/stack/frontend/routes/__root.tsx +1 -1
- package/templates/hono-fullstack/apps/stack/frontend/routes/index.tsx +16 -4
- package/templates/hono-fullstack/apps/stack/package.json +9 -4
- package/templates/hono-fullstack/apps/stack/panda.config.ts +31 -0
- package/templates/hono-fullstack/apps/stack/tsconfig.json +1 -0
- package/templates/hono-fullstack/apps/stack/turbo.json +20 -0
- package/templates/hono-fullstack/apps/stack/vite.config.ts +48 -12
- package/templates/hono-fullstack/apps/stack/wrangler.jsonc +1 -1
- package/templates/hono-fullstack/envs/.env.example.sqlite-d1 +1 -0
- package/templates/hono-fullstack/libs/db/drizzle-kit/sqlite-d1.config.ts +29 -10
- package/templates/hono-fullstack/libs/db/package.json +1 -0
- package/templates/hono-fullstack/libs/db/src/dialects/sqlite/schema/columns.ts +1 -1
- package/templates/hono-fullstack/libs/db/src/dialects/sqlite/schema/modules/examples/examples.ts +6 -3
- package/templates/hono-fullstack/libs/db/src/dialects/sqlite/schema/vo.ts +7 -1
- package/templates/hono-fullstack/libs/definition/README.md +81 -0
- package/templates/hono-fullstack/libs/definition/package.json +3 -1
- package/templates/hono-fullstack/libs/definition/src/constants/index.ts +1 -0
- package/templates/hono-fullstack/libs/definition/src/constants/pagination.ts +3 -0
- package/templates/hono-fullstack/libs/definition/src/modules/common-contracts.ts +24 -0
- package/templates/hono-fullstack/libs/definition/src/modules/example/contracts.ts +34 -0
- package/templates/hono-fullstack/libs/definition/src/modules/example/index.ts +1 -16
- package/templates/hono-fullstack/libs/definition/src/modules/index.ts +2 -0
- package/templates/hono-fullstack/libs/definition/src/modules/vo-generated-types.ts +12 -0
- package/templates/hono-fullstack/libs/ui/.storybook/main.ts +32 -0
- package/templates/hono-fullstack/libs/ui/.storybook/panda.config.ts +22 -0
- package/templates/hono-fullstack/libs/ui/.storybook/preview.tsx +79 -0
- package/templates/hono-fullstack/libs/ui/.storybook/styles.css +1 -0
- package/templates/hono-fullstack/libs/ui/.storybook/vite.config.ts +37 -0
- package/templates/hono-fullstack/libs/ui/components.json +15 -0
- package/templates/hono-fullstack/libs/ui/package.json +114 -0
- package/templates/hono-fullstack/libs/ui/panda.config.ts +41 -0
- package/templates/hono-fullstack/libs/ui/src/Tooltip.tsx +47 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/buttons/Button.tsx +80 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/buttons/CloseButton.tsx +15 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/buttons/IconButton.tsx +10 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/collections/Combobox.tsx +91 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/collections/Select.tsx +88 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/collections/TreeView.tsx +142 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Avatar.tsx +64 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Badge.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Card.tsx +23 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Clipboard.tsx +77 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Icon.tsx +9 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Table.tsx +51 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Tag.tsx +23 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/data-display/Timeline.tsx +33 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/date-and-time/DatePicker.tsx +255 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/disclosure/Accordion.tsx +48 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/disclosure/Breadcrumb.tsx +50 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/disclosure/Collapsible.tsx +34 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/disclosure/Pagination.tsx +74 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/disclosure/Steps.tsx +91 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/disclosure/Tabs.tsx +37 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/feedback/Alert.tsx +52 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/feedback/Progress.tsx +41 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/feedback/ProgressCircle.tsx +40 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/feedback/Skeleton.tsx +37 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/feedback/Spinner.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/feedback/Toast.tsx +99 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Checkbox.tsx +95 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/ColorPicker.tsx +148 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Editable.tsx +44 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Field.tsx +36 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Fieldset.tsx +34 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/FileUpload.tsx +143 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Input.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/InputAddon.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/InputGroup.tsx +61 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/NativeSelect.tsx +81 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/NumberInput.tsx +63 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/PasswordInput.tsx +76 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/PinInput.tsx +36 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/RadioCard.tsx +96 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/RadioGroup.tsx +61 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/RatingGroup.tsx +106 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/SegmentGroup.tsx +68 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Slider.tsx +87 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Switch.tsx +74 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/TagsInput.tsx +77 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/forms/Textarea.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/index.ts +98 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/internal/AbsoluteCenter.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/internal/Loader.tsx +69 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/internal/Span.tsx +5 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/internal/create-layout.ts +18 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/layout/Float.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/layout/Grid.tsx +17 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/layout/Group.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/layout/ScrollArea.tsx +46 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/layout/Separator.tsx +26 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/layout/Stack.tsx +54 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/Dialog.tsx +69 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/Drawer.tsx +49 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/HoverCard.tsx +37 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/Menu.tsx +74 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/OverlayManager.test.ts +124 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/OverlayManager.tsx +189 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/Popover.tsx +57 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/overlays/Tooltip.tsx +37 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/typography/Heading.tsx +6 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/typography/Link.tsx +7 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/typography/LinkOverlay.tsx +21 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/typography/Text.tsx +6 -0
- package/templates/hono-fullstack/libs/ui/src/components/atoms/utilities/VisuallyHidden.tsx +13 -0
- package/templates/hono-fullstack/libs/ui/src/hooks.ts +242 -0
- package/templates/hono-fullstack/libs/ui/src/index.ts +19 -0
- package/templates/hono-fullstack/libs/ui/src/theme/animation-styles.ts +50 -0
- package/templates/hono-fullstack/libs/ui/src/theme/breakpoints.ts +7 -0
- package/templates/hono-fullstack/libs/ui/src/theme/conditions.ts +12 -0
- package/templates/hono-fullstack/libs/ui/src/theme/containers.ts +16 -0
- package/templates/hono-fullstack/libs/ui/src/theme/global-css.ts +12 -0
- package/templates/hono-fullstack/libs/ui/src/theme/keyframes.ts +157 -0
- package/templates/hono-fullstack/libs/ui/src/theme/layer-styles.ts +11 -0
- package/templates/hono-fullstack/libs/ui/src/theme/patterns/grid.ts +51 -0
- package/templates/hono-fullstack/libs/ui/src/theme/patterns/index.ts +60 -0
- package/templates/hono-fullstack/libs/ui/src/theme/patterns/stack.ts +46 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/absolute-center.ts +38 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/accordion.ts +68 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/alert.ts +83 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/avatar.ts +155 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/badge.ts +67 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/breadcrumb.ts +69 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/button.ts +149 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/card.ts +36 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/checkbox.ts +120 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/clipboard.ts +22 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/collapsible.ts +26 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/color-picker.ts +299 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/combobox.ts +141 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/date-picker.ts +302 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/dialog.ts +191 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/drawer.ts +170 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/editable.ts +64 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/field.ts +41 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/fieldset.ts +47 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/file-upload.ts +86 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/group.ts +78 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/heading.ts +24 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/hover-card.ts +47 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/icon.ts +25 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/index.ts +120 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/input-addon.ts +51 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/input-group.ts +77 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/input.ts +99 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/link.ts +36 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/menu.ts +114 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/native-select.ts +92 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/number-input.ts +91 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/pagination.ts +9 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/pin-input.ts +33 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/popover.ts +78 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/progress-circle.ts +50 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/progress.ts +112 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/radio-card.ts +223 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/radio-group.ts +78 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/rating-group.ts +98 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/scroll-area.ts +119 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/segment-group.ts +162 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/select.ts +157 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/separator.ts +25 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/skeleton.ts +65 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/slider.ts +164 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/spinner.ts +34 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/steps.ts +162 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/switch.ts +150 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/table.ts +150 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/tabs.ts +128 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/tag.ts +114 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/tags-input.ts +201 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/text.ts +7 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/textarea.ts +90 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/timeline.ts +137 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/toast.ts +52 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/tooltip.ts +44 -0
- package/templates/hono-fullstack/libs/ui/src/theme/recipes/tree-view.ts +200 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/colors/amber.ts +91 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/colors/gray.ts +103 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/colors/green.ts +88 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/colors/index.ts +14 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/colors/lime.ts +91 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/colors/red.ts +88 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/index.ts +8 -0
- package/templates/hono-fullstack/libs/ui/src/theme/semanticTokens/shadows.ts +46 -0
- package/templates/hono-fullstack/libs/ui/src/theme/text-styles.ts +82 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/animations.ts +8 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/aspect-ratio.ts +6 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/borders.ts +5 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/colors.ts +35 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/durations.ts +11 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/easings.ts +9 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/index.ts +42 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/radii.ts +13 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/sizes.ts +27 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/spacing.ts +41 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/typography.ts +86 -0
- package/templates/hono-fullstack/libs/ui/src/theme/tokens/z-index.ts +43 -0
- package/templates/hono-fullstack/libs/ui/stories/README.md +107 -0
- package/templates/hono-fullstack/libs/ui/stories/actions/Button.stories.tsx +260 -0
- package/templates/hono-fullstack/libs/ui/stories/actions/Clipboard.stories.tsx +87 -0
- package/templates/hono-fullstack/libs/ui/stories/actions/IconButton.stories.tsx +33 -0
- package/templates/hono-fullstack/libs/ui/stories/collections/Combobox.stories.tsx +334 -0
- package/templates/hono-fullstack/libs/ui/stories/collections/Select.stories.tsx +342 -0
- package/templates/hono-fullstack/libs/ui/stories/collections/TreeView.stories.tsx +252 -0
- package/templates/hono-fullstack/libs/ui/stories/color/ColorPicker.stories.tsx +217 -0
- package/templates/hono-fullstack/libs/ui/stories/date/DatePicker.stories.tsx +302 -0
- package/templates/hono-fullstack/libs/ui/stories/disclosure/Accordion.stories.tsx +105 -0
- package/templates/hono-fullstack/libs/ui/stories/disclosure/Collapsible.stories.tsx +55 -0
- package/templates/hono-fullstack/libs/ui/stories/disclosure/Steps.stories.tsx +208 -0
- package/templates/hono-fullstack/libs/ui/stories/disclosure/Tabs.stories.tsx +176 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Avatar.stories.tsx +108 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Badge.stories.tsx +90 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Card.stories.tsx +121 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Heading.stories.tsx +62 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Icon.stories.tsx +51 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Table.stories.tsx +222 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Tag.stories.tsx +168 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Text.stories.tsx +32 -0
- package/templates/hono-fullstack/libs/ui/stories/display/Timeline.stories.tsx +241 -0
- package/templates/hono-fullstack/libs/ui/stories/feedback/Alert.stories.tsx +122 -0
- package/templates/hono-fullstack/libs/ui/stories/feedback/Progress.stories.tsx +163 -0
- package/templates/hono-fullstack/libs/ui/stories/feedback/ProgressCircle.stories.tsx +176 -0
- package/templates/hono-fullstack/libs/ui/stories/feedback/Skeleton.stories.tsx +75 -0
- package/templates/hono-fullstack/libs/ui/stories/feedback/Spinner.stories.tsx +49 -0
- package/templates/hono-fullstack/libs/ui/stories/feedback/Toast.stories.tsx +145 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Checkbox.stories.tsx +281 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Editable.stories.tsx +94 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Field.stories.tsx +72 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Fieldset.stories.tsx +109 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/FileUpload.stories.tsx +115 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Form.stories.tsx +120 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Input.stories.tsx +155 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/InputGroup.stories.tsx +79 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/NativeSelect.stories.tsx +160 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/NumberInput.stories.tsx +149 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/PasswordInput.stories.tsx +141 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/PinInput.stories.tsx +155 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/RadioCard.stories.tsx +265 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/RadioGroup.stories.tsx +109 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/RatingGroup.stories.tsx +123 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/SegmentGroup.stories.tsx +130 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Slider.stories.tsx +190 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Switch.stories.tsx +124 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/TagsInput.stories.tsx +154 -0
- package/templates/hono-fullstack/libs/ui/stories/forms/Textarea.stories.tsx +148 -0
- package/templates/hono-fullstack/libs/ui/stories/layout/Grid.stories.tsx +60 -0
- package/templates/hono-fullstack/libs/ui/stories/layout/Positioning.stories.tsx +90 -0
- package/templates/hono-fullstack/libs/ui/stories/layout/ScrollArea.stories.tsx +68 -0
- package/templates/hono-fullstack/libs/ui/stories/layout/Stack.stories.tsx +87 -0
- package/templates/hono-fullstack/libs/ui/stories/navigation/Breadcrumb.stories.tsx +104 -0
- package/templates/hono-fullstack/libs/ui/stories/navigation/Link.stories.tsx +62 -0
- package/templates/hono-fullstack/libs/ui/stories/navigation/LinkBox.stories.tsx +45 -0
- package/templates/hono-fullstack/libs/ui/stories/navigation/Pagination.stories.tsx +74 -0
- package/templates/hono-fullstack/libs/ui/stories/overlays/Dialog.stories.tsx +255 -0
- package/templates/hono-fullstack/libs/ui/stories/overlays/Drawer.stories.tsx +114 -0
- package/templates/hono-fullstack/libs/ui/stories/overlays/HoverCard.stories.tsx +47 -0
- package/templates/hono-fullstack/libs/ui/stories/overlays/Menu.stories.tsx +133 -0
- package/templates/hono-fullstack/libs/ui/stories/overlays/OverlayManager.stories.tsx +206 -0
- package/templates/hono-fullstack/libs/ui/stories/overlays/Popover.stories.tsx +73 -0
- package/templates/hono-fullstack/libs/ui/stories/overlays/Tooltip.stories.tsx +114 -0
- package/templates/hono-fullstack/libs/ui/stories/tsconfig.json +14 -0
- package/templates/hono-fullstack/libs/ui/tsconfig.build.json +5 -0
- package/templates/hono-fullstack/libs/ui/tsconfig.json +13 -0
- package/templates/hono-fullstack/libs/ui/turbo.json +28 -0
- package/templates/hono-fullstack/libs/ui/vite.config.ts +33 -0
- package/templates/hono-fullstack/oyo.config.json +30 -4
- package/templates/hono-fullstack/package.json +1 -0
- package/templates/hono-fullstack/pnpm-workspace.yaml +20 -10
- package/templates/hono-fullstack/turbo.json +10 -0
- package/templates/hono-server/.agents/skills/{grilling → ask-grilling}/SKILL.md +1 -1
- package/templates/hono-server/.agents/skills/build-api-and-interface-design/SKILL.md +369 -0
- package/templates/hono-server/.agents/skills/build-context-engineering/SKILL.md +353 -0
- package/templates/hono-server/.agents/skills/build-incremental-implementation/SKILL.md +249 -0
- package/templates/hono-server/.agents/skills/build-observability-and-instrumentation/SKILL.md +239 -0
- package/templates/hono-server/.agents/skills/plan-planning-and-task-breakdown/SKILL.md +257 -0
- package/templates/hono-server/.agents/skills/{prototype → plan-prototype}/LOGIC.md +1 -1
- package/templates/hono-server/.agents/skills/{prototype → plan-prototype}/SKILL.md +2 -2
- package/templates/{monorepo/.agents/skills/prototype → hono-server/.agents/skills/plan-prototype}/UI.md +2 -2
- package/templates/{hono-fullstack/.agents/skills/research → hono-server/.agents/skills/plan-research}/SKILL.md +2 -2
- package/templates/hono-server/.agents/skills/plan-using-agent-skills/SKILL.md +185 -0
- package/templates/{hono-fullstack/.agents/skills/wayfinder → hono-server/.agents/skills/plan-wayfinder}/SKILL.md +43 -29
- package/templates/hono-server/.agents/skills/review-code-review-and-quality/SKILL.md +400 -0
- package/templates/hono-server/.agents/skills/review-doubt-driven-development/SKILL.md +244 -0
- package/templates/hono-server/.agents/skills/review-security-and-hardening/SKILL.md +216 -0
- package/templates/hono-server/.agents/skills/review-security-and-hardening/references/hardening-patterns.md +331 -0
- package/templates/hono-server/.agents/skills/ship-ci-cd-and-automation/SKILL.md +393 -0
- package/templates/hono-server/.agents/skills/ship-deprecation-and-migration/SKILL.md +252 -0
- package/templates/hono-server/.agents/skills/ship-documentation-and-adrs/SKILL.md +298 -0
- package/templates/hono-server/.agents/skills/ship-git-workflow-and-versioning/SKILL.md +355 -0
- package/templates/hono-server/.agents/skills/ship-shipping-and-launch/SKILL.md +336 -0
- package/templates/hono-server/.agents/skills/simplify-code-simplification/SKILL.md +332 -0
- package/templates/hono-server/.agents/skills/simplify-performance-optimization/SKILL.md +268 -0
- package/templates/hono-server/.agents/skills/simplify-performance-optimization/references/optimization-patterns.md +250 -0
- package/templates/hono-server/.agents/skills/spec-constraint-driven-development/SKILL.md +318 -0
- package/templates/hono-server/.agents/skills/spec-constraint-driven-development/references/floor-guard.md +182 -0
- package/templates/hono-server/.agents/skills/spec-constraint-driven-development/scripts/quality-gate.mjs +45 -0
- package/templates/hono-server/.agents/skills/spec-driven-development/SKILL.md +261 -0
- package/templates/hono-server/.agents/skills/test-browser-testing-with-devtools/SKILL.md +319 -0
- package/templates/hono-server/.agents/skills/test-debugging-and-error-recovery/SKILL.md +300 -0
- package/templates/hono-server/.agents/skills/test-driven-development/SKILL.md +400 -0
- package/templates/hono-server/.codegraph/.gitignore +5 -0
- package/templates/hono-server/AGENTS.md +9 -20
- package/templates/hono-server/README.md +9 -1
- package/templates/hono-server/_gitignore +1 -0
- package/templates/hono-server/apps/server/package.json +7 -2
- package/templates/hono-server/apps/server/src/adapters/cloudflare/entry.ts +4 -30
- package/templates/hono-server/apps/server/src/adapters/nodejs/bootstrap.ts +20 -12
- package/templates/hono-server/apps/server/src/adapters/nodejs/entry.ts +7 -57
- package/templates/hono-server/apps/server/src/app.ts +37 -21
- package/templates/hono-server/apps/server/src/config.ts +1 -1
- package/templates/hono-server/apps/server/src/di-container.ts +51 -0
- package/templates/hono-server/apps/server/src/infra/logger/getter.ts +1 -1
- package/templates/hono-server/apps/server/src/infra/logger/pino.ts +21 -34
- package/templates/hono-server/apps/server/src/infra/work-runner/errors.ts +22 -0
- package/templates/hono-server/apps/server/src/infra/work-runner/pass-through/runner.ts +28 -22
- package/templates/hono-server/apps/server/src/infra/work-runner/piscina/runner.ts +11 -34
- package/templates/{hono-fullstack/apps/server/src/infra/work-runner/example → hono-server/apps/server/src/infra/work-runner/piscina}/worker-entry.ts +6 -2
- package/templates/hono-server/apps/server/src/infra/work-runner/types.ts +2 -16
- package/templates/hono-server/apps/server/src/infra/work-runner/utils/business-error.ts +10 -5
- package/templates/hono-server/apps/server/src/infra/work-runner/utils/message.ts +5 -17
- package/templates/hono-server/apps/server/src/middlewares/cors.ts +16 -22
- package/templates/hono-server/apps/server/src/middlewares/logger.ts +34 -0
- package/templates/hono-server/apps/server/src/modules/example/module.ts +8 -0
- package/templates/hono-server/apps/server/src/modules/example/queries.ts +8 -0
- package/templates/hono-server/apps/server/src/modules/example/routes.ts +74 -68
- package/templates/hono-server/apps/server/src/modules/example/service.test.ts +53 -0
- package/templates/hono-server/apps/server/src/modules/example/service.ts +54 -0
- package/templates/hono-server/apps/server/src/modules/example/types.ts +12 -0
- package/templates/hono-server/apps/server/src/modules/example/work-task/tasks.test.ts +9 -35
- package/templates/hono-server/apps/server/src/modules/example/work-task/tasks.ts +15 -46
- package/templates/hono-server/apps/server/src/shared/errors/defs/index.ts +6 -1
- package/templates/hono-server/apps/server/src/shared/errors/handler.ts +1 -1
- package/templates/hono-server/apps/server/src/shared/network/openapi/index.ts +1 -1
- package/templates/hono-server/apps/server/src/shared/types/app.ts +51 -0
- package/templates/hono-server/apps/server/src/shared/types/db.ts +126 -0
- package/templates/hono-server/apps/server/src/shared/utils/data-access/check.ts +19 -0
- package/templates/hono-server/apps/server/src/shared/utils/data-access/model.ts +47 -0
- package/templates/hono-server/apps/server/src/shared/utils/data-access/params.ts +105 -0
- package/templates/hono-server/apps/server/src/shared/utils/data-access/query.test.ts +139 -0
- package/templates/hono-server/apps/server/src/shared/utils/data-access/query.ts +236 -0
- package/templates/hono-server/apps/server/vite.config.ts +2 -2
- package/templates/hono-server/apps/server/wrangler.jsonc +1 -1
- package/templates/hono-server/docker/README.md +1 -1
- package/templates/hono-server/envs/.env.example.sqlite-d1 +1 -0
- package/templates/hono-server/libs/db/drizzle-kit/sqlite-d1.config.ts +29 -10
- package/templates/hono-server/libs/db/package.json +1 -0
- package/templates/hono-server/libs/db/src/dialects/sqlite/schema/columns.ts +1 -1
- package/templates/hono-server/libs/db/src/dialects/sqlite/schema/modules/examples/examples.ts +6 -3
- package/templates/hono-server/libs/db/src/dialects/sqlite/schema/vo.ts +7 -1
- package/templates/hono-server/libs/definition/README.md +81 -0
- package/templates/hono-server/libs/definition/package.json +3 -1
- package/templates/hono-server/libs/definition/src/constants/index.ts +1 -0
- package/templates/hono-server/libs/definition/src/constants/pagination.ts +3 -0
- package/templates/hono-server/libs/definition/src/modules/common-contracts.ts +24 -0
- package/templates/hono-server/libs/definition/src/modules/example/contracts.ts +34 -0
- package/templates/hono-server/libs/definition/src/modules/example/index.ts +1 -16
- package/templates/hono-server/libs/definition/src/modules/index.ts +2 -0
- package/templates/hono-server/libs/definition/src/modules/vo-generated-types.ts +12 -0
- package/templates/hono-server/oyo.config.json +30 -4
- package/templates/hono-server/package.json +1 -0
- package/templates/hono-server/pnpm-workspace.yaml +9 -7
- package/templates/hono-server/turbo.json +10 -0
- package/templates/{hono-fullstack/.agents/skills/grilling → monorepo/.agents/skills/ask-grilling}/SKILL.md +1 -1
- package/templates/monorepo/.agents/skills/build-api-and-interface-design/SKILL.md +369 -0
- package/templates/monorepo/.agents/skills/build-context-engineering/SKILL.md +353 -0
- package/templates/monorepo/.agents/skills/build-incremental-implementation/SKILL.md +249 -0
- package/templates/monorepo/.agents/skills/build-observability-and-instrumentation/SKILL.md +239 -0
- package/templates/monorepo/.agents/skills/plan-planning-and-task-breakdown/SKILL.md +257 -0
- package/templates/{hono-fullstack/.agents/skills/prototype → monorepo/.agents/skills/plan-prototype}/LOGIC.md +1 -1
- package/templates/{hono-fullstack/.agents/skills/prototype → monorepo/.agents/skills/plan-prototype}/SKILL.md +2 -2
- package/templates/{hono-server/.agents/skills/prototype → monorepo/.agents/skills/plan-prototype}/UI.md +2 -2
- package/templates/{hono-server/.agents/skills/research → monorepo/.agents/skills/plan-research}/SKILL.md +2 -2
- package/templates/monorepo/.agents/skills/plan-using-agent-skills/SKILL.md +185 -0
- package/templates/{hono-server/.agents/skills/wayfinder → monorepo/.agents/skills/plan-wayfinder}/SKILL.md +43 -29
- package/templates/monorepo/.agents/skills/review-code-review-and-quality/SKILL.md +400 -0
- package/templates/monorepo/.agents/skills/review-doubt-driven-development/SKILL.md +244 -0
- package/templates/monorepo/.agents/skills/review-security-and-hardening/SKILL.md +216 -0
- package/templates/monorepo/.agents/skills/review-security-and-hardening/references/hardening-patterns.md +331 -0
- package/templates/monorepo/.agents/skills/ship-ci-cd-and-automation/SKILL.md +393 -0
- package/templates/monorepo/.agents/skills/ship-deprecation-and-migration/SKILL.md +252 -0
- package/templates/monorepo/.agents/skills/ship-documentation-and-adrs/SKILL.md +298 -0
- package/templates/monorepo/.agents/skills/ship-git-workflow-and-versioning/SKILL.md +355 -0
- package/templates/monorepo/.agents/skills/ship-shipping-and-launch/SKILL.md +336 -0
- package/templates/monorepo/.agents/skills/simplify-code-simplification/SKILL.md +332 -0
- package/templates/monorepo/.agents/skills/simplify-performance-optimization/SKILL.md +268 -0
- package/templates/monorepo/.agents/skills/simplify-performance-optimization/references/optimization-patterns.md +250 -0
- package/templates/monorepo/.agents/skills/spec-constraint-driven-development/SKILL.md +318 -0
- package/templates/monorepo/.agents/skills/spec-constraint-driven-development/references/floor-guard.md +182 -0
- package/templates/monorepo/.agents/skills/spec-constraint-driven-development/scripts/quality-gate.mjs +45 -0
- package/templates/monorepo/.agents/skills/spec-driven-development/SKILL.md +261 -0
- package/templates/monorepo/.agents/skills/test-browser-testing-with-devtools/SKILL.md +319 -0
- package/templates/monorepo/.agents/skills/test-debugging-and-error-recovery/SKILL.md +300 -0
- package/templates/monorepo/.agents/skills/test-driven-development/SKILL.md +400 -0
- package/templates/monorepo/.codegraph/.gitignore +5 -0
- package/templates/monorepo/AGENTS.md +9 -20
- package/templates/monorepo/_gitignore +1 -0
- package/templates/monorepo/oyo.config.json +6 -4
- package/templates/monorepo/pnpm-workspace.yaml +4 -4
- package/templates/monorepo/turbo.json +10 -0
- package/templates/hono-fullstack/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
- package/templates/hono-fullstack/.agents/skills/ask-matt/SKILL.md +0 -90
- package/templates/hono-fullstack/.agents/skills/ask-matt/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/code-review/SKILL.md +0 -87
- package/templates/hono-fullstack/.agents/skills/code-review/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/.agents/skills/codebase-design/DEEPENING.md +0 -37
- package/templates/hono-fullstack/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
- package/templates/hono-fullstack/.agents/skills/codebase-design/SKILL.md +0 -114
- package/templates/hono-fullstack/.agents/skills/codebase-design/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/.agents/skills/confirm-requirements/SKILL.md +0 -25
- package/templates/hono-fullstack/.agents/skills/diagnosing-bugs/SKILL.md +0 -140
- package/templates/hono-fullstack/.agents/skills/diagnosing-bugs/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -44
- package/templates/hono-fullstack/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
- package/templates/hono-fullstack/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
- package/templates/hono-fullstack/.agents/skills/domain-modeling/SKILL.md +0 -74
- package/templates/hono-fullstack/.agents/skills/domain-modeling/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/.agents/skills/grill-me/SKILL.md +0 -7
- package/templates/hono-fullstack/.agents/skills/grill-me/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/implement/SKILL.md +0 -15
- package/templates/hono-fullstack/.agents/skills/implement/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
- package/templates/hono-fullstack/.agents/skills/improve-codebase-architecture/SKILL.md +0 -71
- package/templates/hono-fullstack/.agents/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/resolving-merge-conflicts/SKILL.md +0 -14
- package/templates/hono-fullstack/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/.agents/skills/scoped-code-review/SKILL.md +0 -113
- package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/SKILL.md +0 -116
- package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/domain.md +0 -51
- package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
- package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
- package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
- package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
- package/templates/hono-fullstack/.agents/skills/tdd/SKILL.md +0 -38
- package/templates/hono-fullstack/.agents/skills/tdd/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/.agents/skills/tdd/mocking.md +0 -59
- package/templates/hono-fullstack/.agents/skills/tdd/tests.md +0 -77
- package/templates/hono-fullstack/.agents/skills/teach/GLOSSARY-FORMAT.md +0 -35
- package/templates/hono-fullstack/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
- package/templates/hono-fullstack/.agents/skills/teach/MISSION-FORMAT.md +0 -31
- package/templates/hono-fullstack/.agents/skills/teach/RESOURCES-FORMAT.md +0 -32
- package/templates/hono-fullstack/.agents/skills/teach/SKILL.md +0 -140
- package/templates/hono-fullstack/.agents/skills/teach/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/to-questionnaire/SKILL.md +0 -53
- package/templates/hono-fullstack/.agents/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/triage/AGENT-BRIEF.md +0 -207
- package/templates/hono-fullstack/.agents/skills/triage/OUT-OF-SCOPE.md +0 -105
- package/templates/hono-fullstack/.agents/skills/triage/SKILL.md +0 -112
- package/templates/hono-fullstack/.agents/skills/triage/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/wait-what/SKILL.md +0 -7
- package/templates/hono-fullstack/.agents/skills/wait-what/agents/openai.yaml +0 -5
- package/templates/hono-fullstack/.agents/skills/wizard/SKILL.md +0 -44
- package/templates/hono-fullstack/.agents/skills/wizard/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/.agents/skills/wizard/template.sh +0 -204
- package/templates/hono-fullstack/.agents/skills/writing-for-agents/SKILL-MECHANICS.md +0 -22
- package/templates/hono-fullstack/.agents/skills/writing-for-agents/SKILL.md +0 -81
- package/templates/hono-fullstack/.agents/skills/writing-for-agents/agents/openai.yaml +0 -3
- package/templates/hono-fullstack/apps/server/src/modules/example/contracts.ts +0 -9
- package/templates/hono-fullstack/apps/server/src/shared/app/types.ts +0 -44
- package/templates/hono-fullstack/apps/stack/frontend/styles.css +0 -23
- package/templates/hono-fullstack/docs/agents/domain.md +0 -41
- package/templates/hono-fullstack/docs/agents/issue-tracker.md +0 -30
- package/templates/hono-fullstack/docs/agents/triage-labels.md +0 -15
- package/templates/hono-server/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
- package/templates/hono-server/.agents/skills/ask-matt/SKILL.md +0 -90
- package/templates/hono-server/.agents/skills/ask-matt/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/code-review/SKILL.md +0 -87
- package/templates/hono-server/.agents/skills/code-review/agents/openai.yaml +0 -3
- package/templates/hono-server/.agents/skills/codebase-design/DEEPENING.md +0 -37
- package/templates/hono-server/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
- package/templates/hono-server/.agents/skills/codebase-design/SKILL.md +0 -114
- package/templates/hono-server/.agents/skills/codebase-design/agents/openai.yaml +0 -3
- package/templates/hono-server/.agents/skills/confirm-requirements/SKILL.md +0 -25
- package/templates/hono-server/.agents/skills/diagnosing-bugs/SKILL.md +0 -140
- package/templates/hono-server/.agents/skills/diagnosing-bugs/agents/openai.yaml +0 -3
- package/templates/hono-server/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -44
- package/templates/hono-server/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
- package/templates/hono-server/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
- package/templates/hono-server/.agents/skills/domain-modeling/SKILL.md +0 -74
- package/templates/hono-server/.agents/skills/domain-modeling/agents/openai.yaml +0 -3
- package/templates/hono-server/.agents/skills/grill-me/SKILL.md +0 -7
- package/templates/hono-server/.agents/skills/grill-me/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/implement/SKILL.md +0 -15
- package/templates/hono-server/.agents/skills/implement/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
- package/templates/hono-server/.agents/skills/improve-codebase-architecture/SKILL.md +0 -71
- package/templates/hono-server/.agents/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/resolving-merge-conflicts/SKILL.md +0 -14
- package/templates/hono-server/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +0 -3
- package/templates/hono-server/.agents/skills/scoped-code-review/SKILL.md +0 -113
- package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/SKILL.md +0 -116
- package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/domain.md +0 -51
- package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
- package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
- package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
- package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
- package/templates/hono-server/.agents/skills/tdd/SKILL.md +0 -38
- package/templates/hono-server/.agents/skills/tdd/agents/openai.yaml +0 -3
- package/templates/hono-server/.agents/skills/tdd/mocking.md +0 -59
- package/templates/hono-server/.agents/skills/tdd/tests.md +0 -77
- package/templates/hono-server/.agents/skills/teach/GLOSSARY-FORMAT.md +0 -35
- package/templates/hono-server/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
- package/templates/hono-server/.agents/skills/teach/MISSION-FORMAT.md +0 -31
- package/templates/hono-server/.agents/skills/teach/RESOURCES-FORMAT.md +0 -32
- package/templates/hono-server/.agents/skills/teach/SKILL.md +0 -140
- package/templates/hono-server/.agents/skills/teach/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/to-questionnaire/SKILL.md +0 -53
- package/templates/hono-server/.agents/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/triage/AGENT-BRIEF.md +0 -207
- package/templates/hono-server/.agents/skills/triage/OUT-OF-SCOPE.md +0 -105
- package/templates/hono-server/.agents/skills/triage/SKILL.md +0 -112
- package/templates/hono-server/.agents/skills/triage/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/wait-what/SKILL.md +0 -7
- package/templates/hono-server/.agents/skills/wait-what/agents/openai.yaml +0 -5
- package/templates/hono-server/.agents/skills/wizard/SKILL.md +0 -44
- package/templates/hono-server/.agents/skills/wizard/agents/openai.yaml +0 -3
- package/templates/hono-server/.agents/skills/wizard/template.sh +0 -204
- package/templates/hono-server/.agents/skills/writing-for-agents/SKILL-MECHANICS.md +0 -22
- package/templates/hono-server/.agents/skills/writing-for-agents/SKILL.md +0 -81
- package/templates/hono-server/.agents/skills/writing-for-agents/agents/openai.yaml +0 -3
- package/templates/hono-server/apps/server/src/modules/example/contracts.ts +0 -9
- package/templates/hono-server/apps/server/src/shared/app/types.ts +0 -44
- package/templates/hono-server/docs/agents/domain.md +0 -41
- package/templates/hono-server/docs/agents/issue-tracker.md +0 -30
- package/templates/hono-server/docs/agents/triage-labels.md +0 -15
- package/templates/monorepo/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
- package/templates/monorepo/.agents/skills/ask-matt/SKILL.md +0 -90
- package/templates/monorepo/.agents/skills/ask-matt/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/code-review/SKILL.md +0 -87
- package/templates/monorepo/.agents/skills/code-review/agents/openai.yaml +0 -3
- package/templates/monorepo/.agents/skills/codebase-design/DEEPENING.md +0 -37
- package/templates/monorepo/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
- package/templates/monorepo/.agents/skills/codebase-design/SKILL.md +0 -114
- package/templates/monorepo/.agents/skills/codebase-design/agents/openai.yaml +0 -3
- package/templates/monorepo/.agents/skills/confirm-requirements/SKILL.md +0 -25
- package/templates/monorepo/.agents/skills/diagnosing-bugs/SKILL.md +0 -140
- package/templates/monorepo/.agents/skills/diagnosing-bugs/agents/openai.yaml +0 -3
- package/templates/monorepo/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -44
- package/templates/monorepo/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
- package/templates/monorepo/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
- package/templates/monorepo/.agents/skills/domain-modeling/SKILL.md +0 -74
- package/templates/monorepo/.agents/skills/domain-modeling/agents/openai.yaml +0 -3
- package/templates/monorepo/.agents/skills/grill-me/SKILL.md +0 -7
- package/templates/monorepo/.agents/skills/grill-me/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/implement/SKILL.md +0 -15
- package/templates/monorepo/.agents/skills/implement/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
- package/templates/monorepo/.agents/skills/improve-codebase-architecture/SKILL.md +0 -71
- package/templates/monorepo/.agents/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/resolving-merge-conflicts/SKILL.md +0 -14
- package/templates/monorepo/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +0 -3
- package/templates/monorepo/.agents/skills/scoped-code-review/SKILL.md +0 -113
- package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/SKILL.md +0 -116
- package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/domain.md +0 -51
- package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
- package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
- package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
- package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
- package/templates/monorepo/.agents/skills/tdd/SKILL.md +0 -38
- package/templates/monorepo/.agents/skills/tdd/agents/openai.yaml +0 -3
- package/templates/monorepo/.agents/skills/tdd/mocking.md +0 -59
- package/templates/monorepo/.agents/skills/tdd/tests.md +0 -77
- package/templates/monorepo/.agents/skills/teach/GLOSSARY-FORMAT.md +0 -35
- package/templates/monorepo/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
- package/templates/monorepo/.agents/skills/teach/MISSION-FORMAT.md +0 -31
- package/templates/monorepo/.agents/skills/teach/RESOURCES-FORMAT.md +0 -32
- package/templates/monorepo/.agents/skills/teach/SKILL.md +0 -140
- package/templates/monorepo/.agents/skills/teach/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/to-questionnaire/SKILL.md +0 -53
- package/templates/monorepo/.agents/skills/to-questionnaire/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/triage/AGENT-BRIEF.md +0 -207
- package/templates/monorepo/.agents/skills/triage/OUT-OF-SCOPE.md +0 -105
- package/templates/monorepo/.agents/skills/triage/SKILL.md +0 -112
- package/templates/monorepo/.agents/skills/triage/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/wait-what/SKILL.md +0 -7
- package/templates/monorepo/.agents/skills/wait-what/agents/openai.yaml +0 -5
- package/templates/monorepo/.agents/skills/wizard/SKILL.md +0 -44
- package/templates/monorepo/.agents/skills/wizard/agents/openai.yaml +0 -3
- package/templates/monorepo/.agents/skills/wizard/template.sh +0 -204
- package/templates/monorepo/.agents/skills/writing-for-agents/SKILL-MECHANICS.md +0 -22
- package/templates/monorepo/.agents/skills/writing-for-agents/SKILL.md +0 -81
- package/templates/monorepo/.agents/skills/writing-for-agents/agents/openai.yaml +0 -3
- package/templates/monorepo/docs/agents/domain.md +0 -41
- package/templates/monorepo/docs/agents/issue-tracker.md +0 -30
- package/templates/monorepo/docs/agents/triage-labels.md +0 -15
- /package/templates/hono-fullstack/.agents/skills/{grilling → ask-grilling}/agents/openai.yaml +0 -0
- /package/templates/hono-fullstack/.agents/skills/{prototype → plan-prototype}/agents/openai.yaml +0 -0
- /package/templates/hono-fullstack/.agents/skills/{research → plan-research}/agents/openai.yaml +0 -0
- /package/templates/hono-fullstack/.agents/skills/{wayfinder → plan-wayfinder}/agents/openai.yaml +0 -0
- /package/templates/hono-server/.agents/skills/{grilling → ask-grilling}/agents/openai.yaml +0 -0
- /package/templates/hono-server/.agents/skills/{prototype → plan-prototype}/agents/openai.yaml +0 -0
- /package/templates/hono-server/.agents/skills/{research → plan-research}/agents/openai.yaml +0 -0
- /package/templates/hono-server/.agents/skills/{wayfinder → plan-wayfinder}/agents/openai.yaml +0 -0
- /package/templates/monorepo/.agents/skills/{grilling → ask-grilling}/agents/openai.yaml +0 -0
- /package/templates/monorepo/.agents/skills/{prototype → plan-prototype}/agents/openai.yaml +0 -0
- /package/templates/monorepo/.agents/skills/{research → plan-research}/agents/openai.yaml +0 -0
- /package/templates/monorepo/.agents/skills/{wayfinder → plan-wayfinder}/agents/openai.yaml +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
export const absoluteCenter = defineRecipe({
|
|
4
|
+
className: 'app-absolute-center',
|
|
5
|
+
jsx: ['AbsoluteCenter'],
|
|
6
|
+
base: {
|
|
7
|
+
position: 'absolute',
|
|
8
|
+
display: 'flex',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
justifyContent: 'center',
|
|
11
|
+
},
|
|
12
|
+
defaultVariants: {
|
|
13
|
+
axis: 'both',
|
|
14
|
+
},
|
|
15
|
+
variants: {
|
|
16
|
+
axis: {
|
|
17
|
+
horizontal: {
|
|
18
|
+
insetStart: '50%',
|
|
19
|
+
translate: '-50%',
|
|
20
|
+
_rtl: {
|
|
21
|
+
translate: '50%',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
vertical: {
|
|
25
|
+
top: '50%',
|
|
26
|
+
translate: '0 -50%',
|
|
27
|
+
},
|
|
28
|
+
both: {
|
|
29
|
+
insetStart: '50%',
|
|
30
|
+
top: '50%',
|
|
31
|
+
translate: '-50% -50%',
|
|
32
|
+
_rtl: {
|
|
33
|
+
translate: '50% -50%',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
})
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { accordionAnatomy } from '@ark-ui/react/anatomy'
|
|
2
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
3
|
+
|
|
4
|
+
const appearance = {
|
|
5
|
+
root: { '--accordion-radius': 'radii.sm' },
|
|
6
|
+
itemTrigger: {
|
|
7
|
+
borderRadius: 'var(--accordion-radius)',
|
|
8
|
+
color: 'gray.fg.default',
|
|
9
|
+
cursor: 'pointer',
|
|
10
|
+
fontWeight: 'semibold',
|
|
11
|
+
_focusVisible: { outline: '2px solid', outlineColor: 'colorPalette.ring' },
|
|
12
|
+
_disabled: { layerStyle: 'disabled' },
|
|
13
|
+
},
|
|
14
|
+
itemIndicator: { color: 'gray.fg.subtle' },
|
|
15
|
+
itemBody: { color: 'gray.fg.muted' },
|
|
16
|
+
itemContent: { borderRadius: 'var(--accordion-radius)' },
|
|
17
|
+
} as const
|
|
18
|
+
|
|
19
|
+
export const accordion = defineSlotRecipe({
|
|
20
|
+
className: 'app-accordion',
|
|
21
|
+
jsx: ['Accordion.Root', 'Accordion.RootProvider'],
|
|
22
|
+
slots: accordionAnatomy.extendWith('itemBody').keys(),
|
|
23
|
+
base: {
|
|
24
|
+
root: { width: 'full' },
|
|
25
|
+
item: { overflowAnchor: 'none' },
|
|
26
|
+
itemTrigger: {
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
display: 'flex',
|
|
29
|
+
gap: '3',
|
|
30
|
+
justifyContent: 'space-between',
|
|
31
|
+
textAlign: 'start',
|
|
32
|
+
textStyle: 'lg',
|
|
33
|
+
width: 'full',
|
|
34
|
+
},
|
|
35
|
+
itemIndicator: {
|
|
36
|
+
transition: 'rotate 0.2s',
|
|
37
|
+
_motionReduce: { transition: 'none' },
|
|
38
|
+
transformOrigin: 'center',
|
|
39
|
+
_open: { rotate: '180deg' },
|
|
40
|
+
_icon: { width: '1.2em', height: '1.2em' },
|
|
41
|
+
},
|
|
42
|
+
itemBody: { pb: 'calc(var(--accordion-padding-y) * 2)' },
|
|
43
|
+
itemContent: {
|
|
44
|
+
overflow: 'hidden',
|
|
45
|
+
_open: {
|
|
46
|
+
_motionSafe: { animationName: 'expand-height, fade-in', animationDuration: 'normal' },
|
|
47
|
+
},
|
|
48
|
+
_closed: {
|
|
49
|
+
_motionSafe: { animationName: 'collapse-height, fade-out', animationDuration: 'normal' },
|
|
50
|
+
},
|
|
51
|
+
_motionReduce: { animation: 'none' },
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
defaultVariants: { size: 'md', variant: 'outline' },
|
|
55
|
+
variants: {
|
|
56
|
+
variant: {
|
|
57
|
+
outline: { ...appearance, item: { borderBottomWidth: '1px' } },
|
|
58
|
+
plain: appearance,
|
|
59
|
+
unstyled: {},
|
|
60
|
+
},
|
|
61
|
+
size: {
|
|
62
|
+
md: {
|
|
63
|
+
root: { '--accordion-padding-x': 'spacing.4', '--accordion-padding-y': 'spacing.2.5' },
|
|
64
|
+
itemTrigger: { textStyle: 'md', py: 'var(--accordion-padding-y)' },
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
})
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const sizeStyles = { content: { gap: '1' } } as const
|
|
4
|
+
|
|
5
|
+
const appearance = { root: { borderRadius: 'md' }, title: { fontWeight: 'semibold' } } as const
|
|
6
|
+
|
|
7
|
+
export const alert = defineSlotRecipe({
|
|
8
|
+
className: 'app-alert',
|
|
9
|
+
jsx: ['Alert.Root'],
|
|
10
|
+
slots: ['root', 'content', 'description', 'indicator', 'title'],
|
|
11
|
+
base: {
|
|
12
|
+
root: { alignItems: 'flex-start', display: 'flex', position: 'relative', width: 'full' },
|
|
13
|
+
content: { display: 'flex', flex: '1', flexDirection: 'column' },
|
|
14
|
+
description: { display: 'inline' },
|
|
15
|
+
indicator: {
|
|
16
|
+
display: 'inline-flex',
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
justifyContent: 'center',
|
|
19
|
+
flexShrink: '0',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: { size: 'md', status: 'info', variant: 'subtle' },
|
|
23
|
+
variants: {
|
|
24
|
+
size: {
|
|
25
|
+
md: {
|
|
26
|
+
...sizeStyles,
|
|
27
|
+
root: { gap: '3', p: '4', textStyle: 'sm' },
|
|
28
|
+
indicator: { _icon: { width: '5', height: '5' } },
|
|
29
|
+
},
|
|
30
|
+
lg: {
|
|
31
|
+
...sizeStyles,
|
|
32
|
+
root: { gap: '4', p: '4', textStyle: 'md' },
|
|
33
|
+
indicator: { _icon: { width: '6', height: '6' } },
|
|
34
|
+
},
|
|
35
|
+
unstyled: {},
|
|
36
|
+
},
|
|
37
|
+
variant: {
|
|
38
|
+
solid: {
|
|
39
|
+
...appearance,
|
|
40
|
+
root: {
|
|
41
|
+
...appearance.root,
|
|
42
|
+
bg: 'colorPalette.bg.default',
|
|
43
|
+
color: 'colorPalette.fg.onSolid',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
surface: {
|
|
47
|
+
...appearance,
|
|
48
|
+
root: {
|
|
49
|
+
...appearance.root,
|
|
50
|
+
bg: 'colorPalette.bg.surface',
|
|
51
|
+
borderWidth: '1px',
|
|
52
|
+
borderColor: 'colorPalette.border.default',
|
|
53
|
+
color: 'colorPalette.fg.default',
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
subtle: {
|
|
57
|
+
...appearance,
|
|
58
|
+
root: {
|
|
59
|
+
...appearance.root,
|
|
60
|
+
bg: 'colorPalette.bg.subtle',
|
|
61
|
+
color: 'colorPalette.fg.default',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
outline: {
|
|
65
|
+
...appearance,
|
|
66
|
+
root: {
|
|
67
|
+
...appearance.root,
|
|
68
|
+
borderWidth: '1px',
|
|
69
|
+
borderColor: 'colorPalette.border.strong',
|
|
70
|
+
color: 'colorPalette.fg.default',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
unstyled: {},
|
|
74
|
+
},
|
|
75
|
+
status: {
|
|
76
|
+
info: { root: { colorPalette: 'gray' } },
|
|
77
|
+
warning: { root: { colorPalette: 'amber' } },
|
|
78
|
+
success: { root: { colorPalette: 'green' } },
|
|
79
|
+
error: { root: { colorPalette: 'red' } },
|
|
80
|
+
neutral: {},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
})
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { avatarAnatomy } from '@ark-ui/react/anatomy'
|
|
2
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
3
|
+
|
|
4
|
+
const sizeStyles = {
|
|
5
|
+
root: {
|
|
6
|
+
width: 'var(--avatar-size)',
|
|
7
|
+
height: 'var(--avatar-size)',
|
|
8
|
+
fontSize: 'var(--avatar-font-size)',
|
|
9
|
+
},
|
|
10
|
+
fallback: { fontSize: 'var(--avatar-font-size)', lineHeight: '1' },
|
|
11
|
+
} as const
|
|
12
|
+
|
|
13
|
+
const appearance = { root: { fontWeight: 'medium' }, fallback: { fontWeight: 'medium' } } as const
|
|
14
|
+
|
|
15
|
+
const shapeStyles = {
|
|
16
|
+
root: { borderRadius: 'var(--avatar-radius)' },
|
|
17
|
+
fallback: { borderRadius: 'var(--avatar-radius)' },
|
|
18
|
+
image: { borderRadius: 'var(--avatar-radius)' },
|
|
19
|
+
} as const
|
|
20
|
+
|
|
21
|
+
export const avatar = defineSlotRecipe({
|
|
22
|
+
className: 'app-avatar',
|
|
23
|
+
jsx: ['Avatar.Root', 'Avatar.RootProvider'],
|
|
24
|
+
slots: avatarAnatomy.keys(),
|
|
25
|
+
base: {
|
|
26
|
+
root: {
|
|
27
|
+
display: 'inline-flex',
|
|
28
|
+
alignItems: 'center',
|
|
29
|
+
justifyContent: 'center',
|
|
30
|
+
position: 'relative',
|
|
31
|
+
verticalAlign: 'top',
|
|
32
|
+
flexShrink: '0',
|
|
33
|
+
userSelect: 'none',
|
|
34
|
+
},
|
|
35
|
+
fallback: { textTransform: 'uppercase' },
|
|
36
|
+
image: { width: '100%', height: '100%', objectFit: 'cover' },
|
|
37
|
+
},
|
|
38
|
+
defaultVariants: { size: 'md', shape: 'full', variant: 'subtle' },
|
|
39
|
+
variants: {
|
|
40
|
+
size: {
|
|
41
|
+
full: {
|
|
42
|
+
...sizeStyles,
|
|
43
|
+
root: { ...sizeStyles.root, '--avatar-size': '100%', '--avatar-font-size': '100%' },
|
|
44
|
+
},
|
|
45
|
+
'2xs': {
|
|
46
|
+
...sizeStyles,
|
|
47
|
+
root: {
|
|
48
|
+
...sizeStyles.root,
|
|
49
|
+
'--avatar-font-size': 'fontSizes.2xs',
|
|
50
|
+
'--avatar-size': 'sizes.6',
|
|
51
|
+
},
|
|
52
|
+
fallback: { ...sizeStyles.fallback, _icon: { width: '3', height: '3' } },
|
|
53
|
+
},
|
|
54
|
+
xs: {
|
|
55
|
+
...sizeStyles,
|
|
56
|
+
root: {
|
|
57
|
+
...sizeStyles.root,
|
|
58
|
+
'--avatar-font-size': 'fontSizes.xs',
|
|
59
|
+
'--avatar-size': 'sizes.8',
|
|
60
|
+
},
|
|
61
|
+
fallback: { ...sizeStyles.fallback, _icon: { width: '4', height: '4' } },
|
|
62
|
+
},
|
|
63
|
+
sm: {
|
|
64
|
+
...sizeStyles,
|
|
65
|
+
root: {
|
|
66
|
+
...sizeStyles.root,
|
|
67
|
+
'--avatar-font-size': 'fontSizes.sm',
|
|
68
|
+
'--avatar-size': 'sizes.9',
|
|
69
|
+
},
|
|
70
|
+
fallback: { ...sizeStyles.fallback, _icon: { width: '4.5', height: '4.5' } },
|
|
71
|
+
},
|
|
72
|
+
md: {
|
|
73
|
+
...sizeStyles,
|
|
74
|
+
root: {
|
|
75
|
+
...sizeStyles.root,
|
|
76
|
+
'--avatar-font-size': 'fontSizes.md',
|
|
77
|
+
'--avatar-size': 'sizes.10',
|
|
78
|
+
},
|
|
79
|
+
fallback: { ...sizeStyles.fallback, _icon: { width: '5', height: '5' } },
|
|
80
|
+
},
|
|
81
|
+
lg: {
|
|
82
|
+
...sizeStyles,
|
|
83
|
+
root: {
|
|
84
|
+
...sizeStyles.root,
|
|
85
|
+
'--avatar-font-size': 'fontSizes.md',
|
|
86
|
+
'--avatar-size': 'sizes.11',
|
|
87
|
+
},
|
|
88
|
+
fallback: { ...sizeStyles.fallback, _icon: { width: '5.5', height: '5.5' } },
|
|
89
|
+
},
|
|
90
|
+
xl: {
|
|
91
|
+
...sizeStyles,
|
|
92
|
+
root: {
|
|
93
|
+
...sizeStyles.root,
|
|
94
|
+
'--avatar-font-size': 'fontSizes.lg',
|
|
95
|
+
'--avatar-size': 'sizes.12',
|
|
96
|
+
},
|
|
97
|
+
fallback: { ...sizeStyles.fallback, _icon: { width: '6', height: '6' } },
|
|
98
|
+
},
|
|
99
|
+
'2xl': {
|
|
100
|
+
...sizeStyles,
|
|
101
|
+
root: {
|
|
102
|
+
...sizeStyles.root,
|
|
103
|
+
'--avatar-font-size': 'fontSizes.xl',
|
|
104
|
+
'--avatar-size': 'sizes.16',
|
|
105
|
+
},
|
|
106
|
+
fallback: { ...sizeStyles.fallback, _icon: { width: '8', height: '8' } },
|
|
107
|
+
},
|
|
108
|
+
unstyled: {},
|
|
109
|
+
},
|
|
110
|
+
variant: {
|
|
111
|
+
solid: {
|
|
112
|
+
...appearance,
|
|
113
|
+
root: {
|
|
114
|
+
...appearance.root,
|
|
115
|
+
bg: 'colorPalette.bg.default',
|
|
116
|
+
color: 'colorPalette.fg.onSolid',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
surface: {
|
|
120
|
+
...appearance,
|
|
121
|
+
root: {
|
|
122
|
+
...appearance.root,
|
|
123
|
+
bg: 'colorPalette.bg.surface',
|
|
124
|
+
borderWidth: '1px',
|
|
125
|
+
borderColor: 'colorPalette.border.default',
|
|
126
|
+
color: 'colorPalette.fg.default',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
subtle: {
|
|
130
|
+
...appearance,
|
|
131
|
+
root: {
|
|
132
|
+
...appearance.root,
|
|
133
|
+
bg: 'colorPalette.bg.subtle',
|
|
134
|
+
color: 'colorPalette.fg.default',
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
outline: {
|
|
138
|
+
...appearance,
|
|
139
|
+
root: {
|
|
140
|
+
...appearance.root,
|
|
141
|
+
borderWidth: '1px',
|
|
142
|
+
borderColor: 'colorPalette.border.strong',
|
|
143
|
+
color: 'colorPalette.fg.default',
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
unstyled: {},
|
|
147
|
+
},
|
|
148
|
+
shape: {
|
|
149
|
+
square: shapeStyles,
|
|
150
|
+
rounded: { ...shapeStyles, root: { ...shapeStyles.root, '--avatar-radius': 'radii.md' } },
|
|
151
|
+
full: { ...shapeStyles, root: { ...shapeStyles.root, '--avatar-radius': 'radii.full' } },
|
|
152
|
+
unstyled: {},
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
})
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const sizeStyles = { lineHeight: '1' } as const
|
|
4
|
+
|
|
5
|
+
const appearance = { borderRadius: 'sm', fontWeight: 'medium' } as const
|
|
6
|
+
|
|
7
|
+
export const badge = defineRecipe({
|
|
8
|
+
className: 'app-badge',
|
|
9
|
+
jsx: ['Badge'],
|
|
10
|
+
base: {
|
|
11
|
+
display: 'inline-flex',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
fontVariantNumeric: 'tabular-nums',
|
|
14
|
+
whiteSpace: 'nowrap',
|
|
15
|
+
userSelect: 'none',
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: { variant: 'subtle', size: 'md' },
|
|
18
|
+
variants: {
|
|
19
|
+
variant: {
|
|
20
|
+
solid: { ...appearance, bg: 'colorPalette.bg.default', color: 'colorPalette.fg.onSolid' },
|
|
21
|
+
surface: {
|
|
22
|
+
...appearance,
|
|
23
|
+
bg: 'colorPalette.bg.surface',
|
|
24
|
+
borderWidth: '1px',
|
|
25
|
+
borderColor: 'colorPalette.border.default',
|
|
26
|
+
color: 'colorPalette.fg.default',
|
|
27
|
+
},
|
|
28
|
+
subtle: { ...appearance, bg: 'colorPalette.bg.subtle', color: 'colorPalette.fg.default' },
|
|
29
|
+
outline: {
|
|
30
|
+
...appearance,
|
|
31
|
+
borderWidth: '1px',
|
|
32
|
+
borderColor: 'colorPalette.border.strong',
|
|
33
|
+
color: 'colorPalette.fg.default',
|
|
34
|
+
},
|
|
35
|
+
unstyled: {},
|
|
36
|
+
},
|
|
37
|
+
size: {
|
|
38
|
+
sm: {
|
|
39
|
+
...sizeStyles,
|
|
40
|
+
fontSize: 'xs',
|
|
41
|
+
px: '1.5',
|
|
42
|
+
h: '4.5',
|
|
43
|
+
gap: '0.5',
|
|
44
|
+
_icon: { boxSize: '2.5' },
|
|
45
|
+
},
|
|
46
|
+
md: { ...sizeStyles, fontSize: 'xs', px: '2', h: '5', gap: '1', _icon: { boxSize: '3' } },
|
|
47
|
+
lg: {
|
|
48
|
+
...sizeStyles,
|
|
49
|
+
fontSize: 'xs',
|
|
50
|
+
px: '2.5',
|
|
51
|
+
h: '5.5',
|
|
52
|
+
gap: '1',
|
|
53
|
+
_icon: { boxSize: '3.5' },
|
|
54
|
+
},
|
|
55
|
+
xl: { ...sizeStyles, fontSize: 'sm', px: '2.5', h: '6', gap: '1.5', _icon: { boxSize: '4' } },
|
|
56
|
+
'2xl': {
|
|
57
|
+
...sizeStyles,
|
|
58
|
+
fontSize: 'md',
|
|
59
|
+
px: '3',
|
|
60
|
+
h: '7',
|
|
61
|
+
gap: '1.5',
|
|
62
|
+
_icon: { boxSize: '4.5' },
|
|
63
|
+
},
|
|
64
|
+
unstyled: {},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
})
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const sizeStyles = { link: { gap: '2' } } as const
|
|
4
|
+
|
|
5
|
+
const appearance = {
|
|
6
|
+
currentLink: { color: 'gray.fg.default' },
|
|
7
|
+
link: {
|
|
8
|
+
borderRadius: 'xs',
|
|
9
|
+
focusRing: 'outside',
|
|
10
|
+
outline: '0',
|
|
11
|
+
textDecoration: 'none',
|
|
12
|
+
transition: 'color',
|
|
13
|
+
},
|
|
14
|
+
item: { color: 'gray.fg.muted', _last: { color: 'gray.fg.default' } },
|
|
15
|
+
separator: { color: 'gray.fg.subtle' },
|
|
16
|
+
ellipsis: { color: 'gray.fg.muted' },
|
|
17
|
+
} as const
|
|
18
|
+
|
|
19
|
+
export const breadcrumb = defineSlotRecipe({
|
|
20
|
+
className: 'app-breadcrumb',
|
|
21
|
+
jsx: ['Breadcrumb.Root'],
|
|
22
|
+
slots: ['root', 'list', 'link', 'item', 'separator', 'ellipsis', 'currentLink'],
|
|
23
|
+
base: {
|
|
24
|
+
currentLink: { display: 'inline-flex', alignItems: 'center', _icon: { boxSize: '1em' } },
|
|
25
|
+
list: { alignItems: 'center', display: 'flex', listStyle: 'none', wordBreak: 'break-word' },
|
|
26
|
+
link: { alignItems: 'center', display: 'inline-flex', _icon: { boxSize: '1em' } },
|
|
27
|
+
item: { display: 'inline-flex', alignItems: 'center' },
|
|
28
|
+
separator: { _icon: { boxSize: '1em' }, _rtl: { rotate: '180deg' } },
|
|
29
|
+
ellipsis: {
|
|
30
|
+
alignItems: 'center',
|
|
31
|
+
display: 'inline-flex',
|
|
32
|
+
justifyContent: 'center',
|
|
33
|
+
_icon: { boxSize: '1em' },
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
variants: {
|
|
37
|
+
variant: {
|
|
38
|
+
underline: {
|
|
39
|
+
...appearance,
|
|
40
|
+
link: {
|
|
41
|
+
...appearance.link,
|
|
42
|
+
textDecoration: 'underline',
|
|
43
|
+
textDecorationThickness: '0.1em',
|
|
44
|
+
textUnderlineOffset: '0.125em',
|
|
45
|
+
textDecorationColor: 'gray.fg.subtle',
|
|
46
|
+
_hover: { textDecorationColor: 'gray.fg.default' },
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
plain: {
|
|
50
|
+
...appearance,
|
|
51
|
+
link: {
|
|
52
|
+
...appearance.link,
|
|
53
|
+
color: 'gray.fg.muted',
|
|
54
|
+
_hover: { color: 'gray.fg.default' },
|
|
55
|
+
_currentPage: { color: 'gray.fg.default' },
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
unstyled: {},
|
|
59
|
+
},
|
|
60
|
+
size: {
|
|
61
|
+
xs: { ...sizeStyles, list: { gap: '1', textStyle: 'xs' } },
|
|
62
|
+
sm: { ...sizeStyles, list: { gap: '1', textStyle: 'sm' } },
|
|
63
|
+
md: { ...sizeStyles, list: { gap: '1.5', textStyle: 'md' } },
|
|
64
|
+
lg: { ...sizeStyles, list: { gap: '2', textStyle: 'lg' } },
|
|
65
|
+
unstyled: {},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
defaultVariants: { variant: 'plain', size: 'md' },
|
|
69
|
+
})
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { defineRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const appearance = {
|
|
4
|
+
borderRadius: 'xs',
|
|
5
|
+
cursor: 'pointer',
|
|
6
|
+
fontWeight: 'semibold',
|
|
7
|
+
outline: '0',
|
|
8
|
+
transition: 'colors',
|
|
9
|
+
transitionProperty: 'background-color, border-color, color, box-shadow',
|
|
10
|
+
_disabled: { layerStyle: 'disabled' },
|
|
11
|
+
focusVisibleRing: 'outside',
|
|
12
|
+
} as const
|
|
13
|
+
|
|
14
|
+
const sizeStyles = {
|
|
15
|
+
gap: '2',
|
|
16
|
+
} as const
|
|
17
|
+
|
|
18
|
+
export const button = defineRecipe({
|
|
19
|
+
className: 'app-button',
|
|
20
|
+
jsx: ['Button', 'IconButton', 'CloseButton', 'ButtonGroup'],
|
|
21
|
+
base: {
|
|
22
|
+
alignItems: 'center',
|
|
23
|
+
appearance: 'none',
|
|
24
|
+
display: 'inline-flex',
|
|
25
|
+
flexShrink: '0',
|
|
26
|
+
isolation: 'isolate',
|
|
27
|
+
justifyContent: 'center',
|
|
28
|
+
position: 'relative',
|
|
29
|
+
userSelect: 'none',
|
|
30
|
+
verticalAlign: 'middle',
|
|
31
|
+
whiteSpace: 'nowrap',
|
|
32
|
+
_icon: {
|
|
33
|
+
flexShrink: '0',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
variant: 'solid',
|
|
38
|
+
size: 'md',
|
|
39
|
+
},
|
|
40
|
+
variants: {
|
|
41
|
+
variant: {
|
|
42
|
+
unstyled: {},
|
|
43
|
+
solid: {
|
|
44
|
+
...appearance,
|
|
45
|
+
bg: 'colorPalette.bg.default',
|
|
46
|
+
color: 'colorPalette.fg.onSolid',
|
|
47
|
+
_hover: {
|
|
48
|
+
bg: 'colorPalette.bg.default.hover',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
surface: {
|
|
52
|
+
...appearance,
|
|
53
|
+
bg: 'colorPalette.bg.surface',
|
|
54
|
+
borderWidth: '1px',
|
|
55
|
+
borderColor: 'colorPalette.border.default',
|
|
56
|
+
color: 'colorPalette.fg.default',
|
|
57
|
+
_hover: {
|
|
58
|
+
borderColor: 'colorPalette.border.default.hover',
|
|
59
|
+
},
|
|
60
|
+
_active: {
|
|
61
|
+
bg: 'colorPalette.bg.surface.active',
|
|
62
|
+
},
|
|
63
|
+
_on: {
|
|
64
|
+
bg: 'colorPalette.bg.surface.active',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
subtle: {
|
|
68
|
+
...appearance,
|
|
69
|
+
bg: 'colorPalette.bg.subtle',
|
|
70
|
+
color: 'colorPalette.fg.default',
|
|
71
|
+
_hover: {
|
|
72
|
+
bg: 'colorPalette.bg.subtle.hover',
|
|
73
|
+
},
|
|
74
|
+
_active: {
|
|
75
|
+
bg: 'colorPalette.bg.subtle.active',
|
|
76
|
+
},
|
|
77
|
+
_on: {
|
|
78
|
+
bg: 'colorPalette.bg.subtle.active',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
outline: {
|
|
82
|
+
...appearance,
|
|
83
|
+
borderWidth: '1px',
|
|
84
|
+
borderColor: 'colorPalette.border.strong',
|
|
85
|
+
color: 'colorPalette.fg.default',
|
|
86
|
+
_hover: {
|
|
87
|
+
bg: 'colorPalette.a2',
|
|
88
|
+
},
|
|
89
|
+
_active: {
|
|
90
|
+
bg: 'colorPalette.a3',
|
|
91
|
+
},
|
|
92
|
+
_on: {
|
|
93
|
+
bg: 'colorPalette.a3',
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
plain: {
|
|
97
|
+
...appearance,
|
|
98
|
+
color: 'colorPalette.fg.default',
|
|
99
|
+
_hover: {
|
|
100
|
+
bg: 'colorPalette.bg.subtle',
|
|
101
|
+
},
|
|
102
|
+
_active: {
|
|
103
|
+
bg: 'colorPalette.bg.subtle.hover',
|
|
104
|
+
},
|
|
105
|
+
_on: {
|
|
106
|
+
bg: 'colorPalette.bg.subtle.hover',
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
size: {
|
|
111
|
+
unstyled: {},
|
|
112
|
+
'2xs': {
|
|
113
|
+
...sizeStyles,
|
|
114
|
+
h: '6',
|
|
115
|
+
minW: '6',
|
|
116
|
+
textStyle: 'xs',
|
|
117
|
+
px: '2',
|
|
118
|
+
_icon: { boxSize: '3.5' },
|
|
119
|
+
},
|
|
120
|
+
xs: { ...sizeStyles, h: '8', minW: '8', textStyle: 'sm', px: '2.5', _icon: { boxSize: '4' } },
|
|
121
|
+
sm: { ...sizeStyles, h: '9', minW: '9', textStyle: 'sm', px: '3', _icon: { boxSize: '4' } },
|
|
122
|
+
md: {
|
|
123
|
+
...sizeStyles,
|
|
124
|
+
h: '10',
|
|
125
|
+
minW: '10',
|
|
126
|
+
textStyle: 'sm',
|
|
127
|
+
px: '3.5',
|
|
128
|
+
_icon: { boxSize: '5' },
|
|
129
|
+
},
|
|
130
|
+
lg: { ...sizeStyles, h: '11', minW: '11', textStyle: 'md', px: '4', _icon: { boxSize: '5' } },
|
|
131
|
+
xl: {
|
|
132
|
+
...sizeStyles,
|
|
133
|
+
h: '12',
|
|
134
|
+
minW: '12',
|
|
135
|
+
textStyle: 'md',
|
|
136
|
+
px: '4.5',
|
|
137
|
+
_icon: { boxSize: '5.5' },
|
|
138
|
+
},
|
|
139
|
+
'2xl': {
|
|
140
|
+
...sizeStyles,
|
|
141
|
+
h: '16',
|
|
142
|
+
minW: '16',
|
|
143
|
+
textStyle: 'xl',
|
|
144
|
+
px: '6',
|
|
145
|
+
_icon: { boxSize: '6' },
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
})
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const appearance = {
|
|
4
|
+
root: { borderRadius: 'md' },
|
|
5
|
+
title: { fontWeight: 'semibold' },
|
|
6
|
+
description: { color: 'gray.fg.muted' },
|
|
7
|
+
} as const
|
|
8
|
+
|
|
9
|
+
export const card = defineSlotRecipe({
|
|
10
|
+
className: 'app-card',
|
|
11
|
+
jsx: ['Card.Root'],
|
|
12
|
+
slots: ['root', 'header', 'body', 'footer', 'title', 'description'],
|
|
13
|
+
base: {
|
|
14
|
+
root: { display: 'flex', flexDirection: 'column', overflow: 'hidden', position: 'relative' },
|
|
15
|
+
header: { display: 'flex', flexDirection: 'column', gap: '1', p: '6' },
|
|
16
|
+
body: { display: 'flex', flex: '1', flexDirection: 'column', pb: '6', px: '6' },
|
|
17
|
+
footer: { display: 'flex', justifyContent: 'flex-end', gap: '3', pb: '6', pt: '2', px: '6' },
|
|
18
|
+
title: { textStyle: 'lg' },
|
|
19
|
+
description: { textStyle: 'sm' },
|
|
20
|
+
},
|
|
21
|
+
defaultVariants: { variant: 'outline' },
|
|
22
|
+
variants: {
|
|
23
|
+
variant: {
|
|
24
|
+
elevated: {
|
|
25
|
+
...appearance,
|
|
26
|
+
root: { ...appearance.root, bg: 'gray.bg.surface', boxShadow: 'lg' },
|
|
27
|
+
},
|
|
28
|
+
outline: {
|
|
29
|
+
...appearance,
|
|
30
|
+
root: { ...appearance.root, bg: 'gray.bg.surface', borderWidth: '1px' },
|
|
31
|
+
},
|
|
32
|
+
subtle: { ...appearance, root: { ...appearance.root, bg: 'gray.bg.subtle' } },
|
|
33
|
+
unstyled: {},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
})
|