@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,242 @@
|
|
|
1
|
+
export { useListCollection, type UseListCollectionProps } from '@ark-ui/react/collection'
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
useAccordion,
|
|
5
|
+
useAccordionContext,
|
|
6
|
+
useAccordionItemContext,
|
|
7
|
+
type UseAccordionProps,
|
|
8
|
+
type UseAccordionReturn,
|
|
9
|
+
} from '@ark-ui/react/accordion'
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
useAvatar,
|
|
13
|
+
useAvatarContext,
|
|
14
|
+
type UseAvatarProps,
|
|
15
|
+
type UseAvatarReturn,
|
|
16
|
+
} from '@ark-ui/react/avatar'
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
useCheckbox,
|
|
20
|
+
useCheckboxContext,
|
|
21
|
+
useCheckboxGroup,
|
|
22
|
+
useCheckboxGroupContext,
|
|
23
|
+
type UseCheckboxProps,
|
|
24
|
+
type UseCheckboxReturn,
|
|
25
|
+
type UseCheckboxGroupProps,
|
|
26
|
+
type UseCheckboxGroupReturn,
|
|
27
|
+
} from '@ark-ui/react/checkbox'
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
useCollapsible,
|
|
31
|
+
useCollapsibleContext,
|
|
32
|
+
type UseCollapsibleProps,
|
|
33
|
+
type UseCollapsibleReturn,
|
|
34
|
+
} from '@ark-ui/react/collapsible'
|
|
35
|
+
|
|
36
|
+
export {
|
|
37
|
+
useCombobox,
|
|
38
|
+
useComboboxContext,
|
|
39
|
+
useComboboxItemContext,
|
|
40
|
+
type UseComboboxProps,
|
|
41
|
+
type UseComboboxReturn,
|
|
42
|
+
} from '@ark-ui/react/combobox'
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
useDialog,
|
|
46
|
+
useDialogContext,
|
|
47
|
+
type UseDialogProps,
|
|
48
|
+
type UseDialogReturn,
|
|
49
|
+
} from '@ark-ui/react/dialog'
|
|
50
|
+
|
|
51
|
+
export {
|
|
52
|
+
useEditable,
|
|
53
|
+
useEditableContext,
|
|
54
|
+
type UseEditableProps,
|
|
55
|
+
type UseEditableReturn,
|
|
56
|
+
} from '@ark-ui/react/editable'
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
useField,
|
|
60
|
+
useFieldContext,
|
|
61
|
+
type UseFieldProps,
|
|
62
|
+
type UseFieldReturn,
|
|
63
|
+
} from '@ark-ui/react/field'
|
|
64
|
+
|
|
65
|
+
export {
|
|
66
|
+
useFieldset,
|
|
67
|
+
useFieldsetContext,
|
|
68
|
+
type UseFieldsetProps,
|
|
69
|
+
type UseFieldsetReturn,
|
|
70
|
+
} from '@ark-ui/react/fieldset'
|
|
71
|
+
|
|
72
|
+
export {
|
|
73
|
+
useFileUpload,
|
|
74
|
+
useFileUploadContext,
|
|
75
|
+
type UseFileUploadProps,
|
|
76
|
+
type UseFileUploadReturn,
|
|
77
|
+
} from '@ark-ui/react/file-upload'
|
|
78
|
+
|
|
79
|
+
export {
|
|
80
|
+
useHoverCard,
|
|
81
|
+
useHoverCardContext,
|
|
82
|
+
type UseHoverCardProps,
|
|
83
|
+
type UseHoverCardReturn,
|
|
84
|
+
} from '@ark-ui/react/hover-card'
|
|
85
|
+
|
|
86
|
+
export {
|
|
87
|
+
useMenu,
|
|
88
|
+
useMenuContext,
|
|
89
|
+
useMenuItemContext,
|
|
90
|
+
type UseMenuProps,
|
|
91
|
+
type UseMenuReturn,
|
|
92
|
+
} from '@ark-ui/react/menu'
|
|
93
|
+
|
|
94
|
+
export {
|
|
95
|
+
useNumberInput,
|
|
96
|
+
useNumberInputContext,
|
|
97
|
+
type UseNumberInputProps,
|
|
98
|
+
type UseNumberInputReturn,
|
|
99
|
+
} from '@ark-ui/react/number-input'
|
|
100
|
+
|
|
101
|
+
export {
|
|
102
|
+
usePagination,
|
|
103
|
+
usePaginationContext,
|
|
104
|
+
type UsePaginationProps,
|
|
105
|
+
type UsePaginationReturn,
|
|
106
|
+
} from '@ark-ui/react/pagination'
|
|
107
|
+
|
|
108
|
+
export {
|
|
109
|
+
usePinInput,
|
|
110
|
+
usePinInputContext,
|
|
111
|
+
type UsePinInputProps,
|
|
112
|
+
type UsePinInputReturn,
|
|
113
|
+
} from '@ark-ui/react/pin-input'
|
|
114
|
+
|
|
115
|
+
export {
|
|
116
|
+
usePopover,
|
|
117
|
+
usePopoverContext,
|
|
118
|
+
type UsePopoverProps,
|
|
119
|
+
type UsePopoverReturn,
|
|
120
|
+
} from '@ark-ui/react/popover'
|
|
121
|
+
|
|
122
|
+
export {
|
|
123
|
+
useProgress,
|
|
124
|
+
useProgressContext,
|
|
125
|
+
type UseProgressProps,
|
|
126
|
+
type UseProgressReturn,
|
|
127
|
+
} from '@ark-ui/react/progress'
|
|
128
|
+
|
|
129
|
+
export {
|
|
130
|
+
useRadioGroup,
|
|
131
|
+
useRadioGroupContext,
|
|
132
|
+
useRadioGroupItemContext,
|
|
133
|
+
type UseRadioGroupProps,
|
|
134
|
+
type UseRadioGroupReturn,
|
|
135
|
+
} from '@ark-ui/react/radio-group'
|
|
136
|
+
|
|
137
|
+
export {
|
|
138
|
+
useRatingGroup,
|
|
139
|
+
useRatingGroupContext,
|
|
140
|
+
useRatingGroupItemContext,
|
|
141
|
+
type UseRatingGroupProps,
|
|
142
|
+
type UseRatingGroupReturn,
|
|
143
|
+
} from '@ark-ui/react/rating-group'
|
|
144
|
+
|
|
145
|
+
export {
|
|
146
|
+
useScrollArea,
|
|
147
|
+
useScrollAreaContext,
|
|
148
|
+
type UseScrollAreaProps,
|
|
149
|
+
type UseScrollAreaReturn,
|
|
150
|
+
} from '@ark-ui/react/scroll-area'
|
|
151
|
+
|
|
152
|
+
export {
|
|
153
|
+
useSegmentGroup,
|
|
154
|
+
useSegmentGroupContext,
|
|
155
|
+
useSegmentGroupItemContext,
|
|
156
|
+
type UseSegmentGroupProps,
|
|
157
|
+
type UseSegmentGroupReturn,
|
|
158
|
+
} from '@ark-ui/react/segment-group'
|
|
159
|
+
|
|
160
|
+
export {
|
|
161
|
+
useSelect,
|
|
162
|
+
useSelectContext,
|
|
163
|
+
useSelectItemContext,
|
|
164
|
+
type UseSelectProps,
|
|
165
|
+
type UseSelectReturn,
|
|
166
|
+
} from '@ark-ui/react/select'
|
|
167
|
+
|
|
168
|
+
export {
|
|
169
|
+
useSlider,
|
|
170
|
+
useSliderContext,
|
|
171
|
+
type UseSliderProps,
|
|
172
|
+
type UseSliderReturn,
|
|
173
|
+
} from '@ark-ui/react/slider'
|
|
174
|
+
|
|
175
|
+
export {
|
|
176
|
+
useSwitch,
|
|
177
|
+
useSwitchContext,
|
|
178
|
+
type UseSwitchProps,
|
|
179
|
+
type UseSwitchReturn,
|
|
180
|
+
} from '@ark-ui/react/switch'
|
|
181
|
+
|
|
182
|
+
export { useTabs, useTabsContext, type UseTabsProps, type UseTabsReturn } from '@ark-ui/react/tabs'
|
|
183
|
+
|
|
184
|
+
export {
|
|
185
|
+
useTagsInput,
|
|
186
|
+
useTagsInputContext,
|
|
187
|
+
useTagsInputItemContext,
|
|
188
|
+
type UseTagsInputProps,
|
|
189
|
+
type UseTagsInputReturn,
|
|
190
|
+
} from '@ark-ui/react/tags-input'
|
|
191
|
+
|
|
192
|
+
export {
|
|
193
|
+
useDialog as useDrawer,
|
|
194
|
+
type UseDialogProps as UseDrawerProps,
|
|
195
|
+
type UseDialogReturn as UseDrawerReturn,
|
|
196
|
+
} from '@ark-ui/react/dialog'
|
|
197
|
+
|
|
198
|
+
export {
|
|
199
|
+
useTooltip,
|
|
200
|
+
useTooltipContext,
|
|
201
|
+
type UseTooltipProps,
|
|
202
|
+
type UseTooltipReturn,
|
|
203
|
+
} from '@ark-ui/react/tooltip'
|
|
204
|
+
|
|
205
|
+
export { useToastContext } from '@ark-ui/react/toast'
|
|
206
|
+
|
|
207
|
+
export {
|
|
208
|
+
useClipboard,
|
|
209
|
+
useClipboardContext,
|
|
210
|
+
type UseClipboardProps,
|
|
211
|
+
type UseClipboardReturn,
|
|
212
|
+
} from '@ark-ui/react/clipboard'
|
|
213
|
+
|
|
214
|
+
export {
|
|
215
|
+
useSteps,
|
|
216
|
+
useStepsContext,
|
|
217
|
+
useStepsItemContext,
|
|
218
|
+
type UseStepsProps,
|
|
219
|
+
type UseStepsReturn,
|
|
220
|
+
} from '@ark-ui/react/steps'
|
|
221
|
+
|
|
222
|
+
export {
|
|
223
|
+
useTreeView,
|
|
224
|
+
useTreeViewContext,
|
|
225
|
+
useTreeViewNodeContext,
|
|
226
|
+
type UseTreeViewProps,
|
|
227
|
+
type UseTreeViewReturn,
|
|
228
|
+
} from '@ark-ui/react/tree-view'
|
|
229
|
+
|
|
230
|
+
export {
|
|
231
|
+
useColorPicker,
|
|
232
|
+
useColorPickerContext,
|
|
233
|
+
type UseColorPickerProps,
|
|
234
|
+
type UseColorPickerReturn,
|
|
235
|
+
} from '@ark-ui/react/color-picker'
|
|
236
|
+
|
|
237
|
+
export {
|
|
238
|
+
useDatePicker,
|
|
239
|
+
useDatePickerContext,
|
|
240
|
+
type UseDatePickerProps,
|
|
241
|
+
type UseDatePickerReturn,
|
|
242
|
+
} from '@ark-ui/react/date-picker'
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './components/atoms'
|
|
2
|
+
export {
|
|
3
|
+
createListCollection,
|
|
4
|
+
type ListCollection,
|
|
5
|
+
type CollectionItem,
|
|
6
|
+
} from '@ark-ui/react/collection'
|
|
7
|
+
export { Portal, type PortalProps } from '@ark-ui/react/portal'
|
|
8
|
+
export * from './hooks'
|
|
9
|
+
export {
|
|
10
|
+
createTreeCollection,
|
|
11
|
+
createFileTreeCollection,
|
|
12
|
+
type TreeCollection,
|
|
13
|
+
type TreeCollectionOptions,
|
|
14
|
+
type TreeNode,
|
|
15
|
+
type FilePathTreeNode,
|
|
16
|
+
type FlatTreeNode,
|
|
17
|
+
} from '@ark-ui/react/collection'
|
|
18
|
+
export { parseColor, type Color } from '@ark-ui/react/color-picker'
|
|
19
|
+
export { parseDate, type DateValue } from '@ark-ui/react/date-picker'
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { defineAnimationStyles } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
export const animationStyles = defineAnimationStyles({
|
|
4
|
+
'slide-fade-in': {
|
|
5
|
+
value: {
|
|
6
|
+
transformOrigin: 'var(--transform-origin)',
|
|
7
|
+
'&[data-placement^=top]': {
|
|
8
|
+
animationName: 'slide-from-bottom, fade-in',
|
|
9
|
+
},
|
|
10
|
+
'&[data-placement^=bottom]': {
|
|
11
|
+
animationName: 'slide-from-top, fade-in',
|
|
12
|
+
},
|
|
13
|
+
'&[data-placement^=left]': {
|
|
14
|
+
animationName: 'slide-from-right, fade-in',
|
|
15
|
+
},
|
|
16
|
+
'&[data-placement^=right]': {
|
|
17
|
+
animationName: 'slide-from-left, fade-in',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
'slide-fade-out': {
|
|
22
|
+
value: {
|
|
23
|
+
transformOrigin: 'var(--transform-origin)',
|
|
24
|
+
'&[data-placement^=top]': {
|
|
25
|
+
animationName: 'slide-to-bottom, fade-out',
|
|
26
|
+
},
|
|
27
|
+
'&[data-placement^=bottom]': {
|
|
28
|
+
animationName: 'slide-to-top, fade-out',
|
|
29
|
+
},
|
|
30
|
+
'&[data-placement^=left]': {
|
|
31
|
+
animationName: 'slide-to-right, fade-out',
|
|
32
|
+
},
|
|
33
|
+
'&[data-placement^=right]': {
|
|
34
|
+
animationName: 'slide-to-left, fade-out',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
'scale-fade-in': {
|
|
39
|
+
value: {
|
|
40
|
+
transformOrigin: 'var(--transform-origin)',
|
|
41
|
+
animationName: 'scale-in, fade-in',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
'scale-fade-out': {
|
|
45
|
+
value: {
|
|
46
|
+
transformOrigin: 'var(--transform-origin)',
|
|
47
|
+
animationName: 'scale-out, fade-out',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
})
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const conditions = {
|
|
2
|
+
extend: {
|
|
3
|
+
light: ':where(:root:not(.dark)) &, .light &',
|
|
4
|
+
invalid: '&:is(:user-invalid, [data-invalid], [aria-invalid=true])',
|
|
5
|
+
hover: '&:not(:disabled):hover',
|
|
6
|
+
active: '&:not(:disabled):active',
|
|
7
|
+
checked:
|
|
8
|
+
'&:is(:checked, [data-checked], [data-state=checked], [aria-checked=true], [data-state=indeterminate])',
|
|
9
|
+
on: '&:is([data-state=on])',
|
|
10
|
+
pinned: '&:is([data-pinned])',
|
|
11
|
+
},
|
|
12
|
+
} as const
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export const containers = {
|
|
2
|
+
'3xs': '16rem',
|
|
3
|
+
'2xs': '18rem',
|
|
4
|
+
xs: '20rem',
|
|
5
|
+
sm: '24rem',
|
|
6
|
+
md: '28rem',
|
|
7
|
+
lg: '32rem',
|
|
8
|
+
xl: '36rem',
|
|
9
|
+
'2xl': '42rem',
|
|
10
|
+
'3xl': '48rem',
|
|
11
|
+
'4xl': '56rem',
|
|
12
|
+
'5xl': '64rem',
|
|
13
|
+
'6xl': '72rem',
|
|
14
|
+
'7xl': '80rem',
|
|
15
|
+
'8xl': '90rem',
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineGlobalStyles } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
export const globalCss = defineGlobalStyles({
|
|
4
|
+
extend: {
|
|
5
|
+
'*': {
|
|
6
|
+
'--global-color-border': 'colors.gray.border.subtle',
|
|
7
|
+
'--global-color-placeholder': 'colors.gray.fg.subtle',
|
|
8
|
+
'--global-color-selection': 'colors.colorPalette.bg.subtle',
|
|
9
|
+
'--global-color-focus-ring': 'colors.colorPalette.ring',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
})
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { defineKeyframes } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
export const keyframes = defineKeyframes({
|
|
4
|
+
'circular-progress': {
|
|
5
|
+
'0%': { strokeDasharray: '1, 400', strokeDashoffset: '0' },
|
|
6
|
+
'50%': { strokeDasharray: '400, 400', strokeDashoffset: '-100%' },
|
|
7
|
+
'100%': { strokeDasharray: '400, 400', strokeDashoffset: '-260%' },
|
|
8
|
+
},
|
|
9
|
+
// collapse
|
|
10
|
+
'expand-height': {
|
|
11
|
+
from: { height: '0' },
|
|
12
|
+
to: { height: 'var(--height)' },
|
|
13
|
+
},
|
|
14
|
+
'collapse-height': {
|
|
15
|
+
from: { height: 'var(--height)' },
|
|
16
|
+
to: { height: '0' },
|
|
17
|
+
},
|
|
18
|
+
'expand-width': {
|
|
19
|
+
from: { width: '0' },
|
|
20
|
+
to: { width: 'var(--width)' },
|
|
21
|
+
},
|
|
22
|
+
'collapse-width': {
|
|
23
|
+
from: { width: 'var(--width)' },
|
|
24
|
+
to: { width: '0' },
|
|
25
|
+
},
|
|
26
|
+
// fade
|
|
27
|
+
'fade-in': {
|
|
28
|
+
from: { opacity: '0' },
|
|
29
|
+
to: { opacity: '1' },
|
|
30
|
+
},
|
|
31
|
+
'fade-out': {
|
|
32
|
+
from: { opacity: '1' },
|
|
33
|
+
to: { opacity: '0' },
|
|
34
|
+
},
|
|
35
|
+
// slide from (full)
|
|
36
|
+
'slide-from-left-full': {
|
|
37
|
+
from: { translate: '-100% 0' },
|
|
38
|
+
to: { translate: '0 0' },
|
|
39
|
+
},
|
|
40
|
+
'slide-from-right-full': {
|
|
41
|
+
from: { translate: '100% 0' },
|
|
42
|
+
to: { translate: '0 0' },
|
|
43
|
+
},
|
|
44
|
+
'slide-from-top-full': {
|
|
45
|
+
from: { translate: '0 -100%' },
|
|
46
|
+
to: { translate: '0 0' },
|
|
47
|
+
},
|
|
48
|
+
'slide-from-bottom-full': {
|
|
49
|
+
from: { translate: '0 100%' },
|
|
50
|
+
to: { translate: '0 0' },
|
|
51
|
+
},
|
|
52
|
+
// slide to (full)
|
|
53
|
+
'slide-to-left-full': {
|
|
54
|
+
from: { translate: '0 0' },
|
|
55
|
+
to: { translate: '-100% 0' },
|
|
56
|
+
},
|
|
57
|
+
'slide-to-right-full': {
|
|
58
|
+
from: { translate: '0 0' },
|
|
59
|
+
to: { translate: '100% 0' },
|
|
60
|
+
},
|
|
61
|
+
'slide-to-top-full': {
|
|
62
|
+
from: { translate: '0 0' },
|
|
63
|
+
to: { translate: '0 -100%' },
|
|
64
|
+
},
|
|
65
|
+
'slide-to-bottom-full': {
|
|
66
|
+
from: { translate: '0 0' },
|
|
67
|
+
to: { translate: '0 100%' },
|
|
68
|
+
},
|
|
69
|
+
// slide from
|
|
70
|
+
'slide-from-top': {
|
|
71
|
+
'0%': { translate: '0 -0.5rem' },
|
|
72
|
+
to: { translate: '0' },
|
|
73
|
+
},
|
|
74
|
+
'slide-from-bottom': {
|
|
75
|
+
'0%': { translate: '0 0.5rem' },
|
|
76
|
+
to: { translate: '0' },
|
|
77
|
+
},
|
|
78
|
+
'slide-from-left': {
|
|
79
|
+
'0%': { translate: '-0.5rem 0' },
|
|
80
|
+
to: { translate: '0' },
|
|
81
|
+
},
|
|
82
|
+
'slide-from-right': {
|
|
83
|
+
'0%': { translate: '0.5rem 0' },
|
|
84
|
+
to: { translate: '0' },
|
|
85
|
+
},
|
|
86
|
+
// slide to
|
|
87
|
+
'slide-to-top': {
|
|
88
|
+
'0%': { translate: '0' },
|
|
89
|
+
to: { translate: '0 -0.5rem' },
|
|
90
|
+
},
|
|
91
|
+
'slide-to-bottom': {
|
|
92
|
+
'0%': { translate: '0' },
|
|
93
|
+
to: { translate: '0 0.5rem' },
|
|
94
|
+
},
|
|
95
|
+
'slide-to-left': {
|
|
96
|
+
'0%': { translate: '0' },
|
|
97
|
+
to: { translate: '-0.5rem 0' },
|
|
98
|
+
},
|
|
99
|
+
'slide-to-right': {
|
|
100
|
+
'0%': { translate: '0' },
|
|
101
|
+
to: { translate: '0.5rem 0' },
|
|
102
|
+
},
|
|
103
|
+
// scale
|
|
104
|
+
'scale-in': {
|
|
105
|
+
from: { scale: '0.95' },
|
|
106
|
+
to: { scale: '1' },
|
|
107
|
+
},
|
|
108
|
+
'scale-out': {
|
|
109
|
+
from: { scale: '1' },
|
|
110
|
+
to: { scale: '0.95' },
|
|
111
|
+
},
|
|
112
|
+
'bg-position': {
|
|
113
|
+
from: {
|
|
114
|
+
backgroundPosition: 'var(--animate-from, 1rem) 0',
|
|
115
|
+
},
|
|
116
|
+
to: {
|
|
117
|
+
backgroundPosition: 'var(--animate-to, 0) 0',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
position: {
|
|
121
|
+
from: {
|
|
122
|
+
insetInlineStart: 'var(--animate-from-x)',
|
|
123
|
+
insetBlockStart: 'var(--animate-from-y)',
|
|
124
|
+
},
|
|
125
|
+
to: {
|
|
126
|
+
insetInlineStart: 'var(--animate-to-x)',
|
|
127
|
+
insetBlockStart: 'var(--animate-to-y)',
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
spin: {
|
|
132
|
+
to: {
|
|
133
|
+
transform: 'rotate(360deg)',
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
ping: {
|
|
137
|
+
'75%, 100%': {
|
|
138
|
+
transform: 'scale(2)',
|
|
139
|
+
opacity: '0',
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
pulse: {
|
|
143
|
+
'50%': {
|
|
144
|
+
opacity: '.5',
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
bounce: {
|
|
148
|
+
'0%, 100%': {
|
|
149
|
+
transform: 'translateY(-25%)',
|
|
150
|
+
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
|
|
151
|
+
},
|
|
152
|
+
'50%': {
|
|
153
|
+
transform: 'none',
|
|
154
|
+
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
})
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { definePattern } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
export const grid = definePattern({
|
|
4
|
+
properties: {
|
|
5
|
+
templateColumns: { type: 'property', value: 'gridTemplateColumns' },
|
|
6
|
+
templateRows: { type: 'property', value: 'gridTemplateRows' },
|
|
7
|
+
templateAreas: { type: 'property', value: 'gridTemplateAreas' },
|
|
8
|
+
autoFlow: { type: 'property', value: 'gridAutoFlow' },
|
|
9
|
+
autoRows: { type: 'property', value: 'gridAutoRows' },
|
|
10
|
+
autoColumns: { type: 'property', value: 'gridAutoColumns' },
|
|
11
|
+
column: { type: 'property', value: 'gridColumn' },
|
|
12
|
+
row: { type: 'property', value: 'gridRow' },
|
|
13
|
+
inline: { type: 'boolean' },
|
|
14
|
+
},
|
|
15
|
+
transform(props, { map, isCssUnit, isCssVar, isCssFunction }) {
|
|
16
|
+
const {
|
|
17
|
+
templateColumns,
|
|
18
|
+
templateRows,
|
|
19
|
+
templateAreas,
|
|
20
|
+
autoFlow,
|
|
21
|
+
autoRows,
|
|
22
|
+
autoColumns,
|
|
23
|
+
column,
|
|
24
|
+
row,
|
|
25
|
+
inline,
|
|
26
|
+
columns,
|
|
27
|
+
minChildWidth,
|
|
28
|
+
...rest
|
|
29
|
+
} = props
|
|
30
|
+
const resolvedColumns =
|
|
31
|
+
columns != null
|
|
32
|
+
? map(columns, (value) => `repeat(${value}, minmax(0, 1fr))`)
|
|
33
|
+
: map(
|
|
34
|
+
minChildWidth,
|
|
35
|
+
(value) =>
|
|
36
|
+
`repeat(auto-fit, minmax(${isCssUnit(value) || isCssVar(value) || isCssFunction(value) ? value : `token(sizes.${value}, ${value})`}, 1fr))`,
|
|
37
|
+
)
|
|
38
|
+
return {
|
|
39
|
+
display: inline == null ? 'grid' : map(inline, (value) => (value ? 'inline-grid' : 'grid')),
|
|
40
|
+
gridTemplateColumns: templateColumns == null ? resolvedColumns : templateColumns,
|
|
41
|
+
gridTemplateRows: templateRows,
|
|
42
|
+
gridTemplateAreas: templateAreas,
|
|
43
|
+
gridAutoFlow: autoFlow,
|
|
44
|
+
gridAutoRows: autoRows,
|
|
45
|
+
gridAutoColumns: autoColumns,
|
|
46
|
+
gridColumn: column,
|
|
47
|
+
gridRow: row,
|
|
48
|
+
...rest,
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
})
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { definePattern } from '@pandacss/dev'
|
|
2
|
+
import { grid } from './grid'
|
|
3
|
+
import { stack } from './stack'
|
|
4
|
+
|
|
5
|
+
export const patterns = {
|
|
6
|
+
grid,
|
|
7
|
+
gridItem: definePattern({
|
|
8
|
+
properties: {
|
|
9
|
+
area: { type: 'property', value: 'gridArea' },
|
|
10
|
+
colSpan: { type: 'property', value: 'gridColumn' },
|
|
11
|
+
rowSpan: { type: 'property', value: 'gridRow' },
|
|
12
|
+
colStart: { type: 'property', value: 'gridColumnStart' },
|
|
13
|
+
colEnd: { type: 'property', value: 'gridColumnEnd' },
|
|
14
|
+
rowStart: { type: 'property', value: 'gridRowStart' },
|
|
15
|
+
rowEnd: { type: 'property', value: 'gridRowEnd' },
|
|
16
|
+
},
|
|
17
|
+
transform(props, { map }) {
|
|
18
|
+
const { area, colSpan, rowSpan, colStart, colEnd, rowStart, rowEnd, ...rest } = props
|
|
19
|
+
const span = (value: string | number) =>
|
|
20
|
+
value === 'auto' ? value : `span ${value}/span ${value}`
|
|
21
|
+
return {
|
|
22
|
+
gridArea: area,
|
|
23
|
+
gridColumn: map(colSpan, span),
|
|
24
|
+
gridRow: map(rowSpan, span),
|
|
25
|
+
gridColumnStart: colStart,
|
|
26
|
+
gridColumnEnd: colEnd,
|
|
27
|
+
gridRowStart: rowStart,
|
|
28
|
+
gridRowEnd: rowEnd,
|
|
29
|
+
...rest,
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
}),
|
|
33
|
+
stack: { jsxName: 'PandaStack', jsx: ['PandaStack'] },
|
|
34
|
+
hstack: { jsxName: 'PandaHStack', jsx: ['PandaHStack'] },
|
|
35
|
+
vstack: { jsxName: 'PandaVStack', jsx: ['PandaVStack'] },
|
|
36
|
+
componentStack: {
|
|
37
|
+
...stack,
|
|
38
|
+
jsxName: 'Stack',
|
|
39
|
+
defaultValues: { direction: 'column', gap: '8px' },
|
|
40
|
+
},
|
|
41
|
+
componentHstack: {
|
|
42
|
+
...stack,
|
|
43
|
+
jsxName: 'HStack',
|
|
44
|
+
jsx: ['HStack'],
|
|
45
|
+
defaultValues: { direction: 'row', align: 'center', gap: '8px' },
|
|
46
|
+
},
|
|
47
|
+
componentVstack: {
|
|
48
|
+
...stack,
|
|
49
|
+
jsxName: 'VStack',
|
|
50
|
+
jsx: ['VStack'],
|
|
51
|
+
defaultValues: { direction: 'column', align: 'center', gap: '8px' },
|
|
52
|
+
},
|
|
53
|
+
linkBox: definePattern({
|
|
54
|
+
transform: (props) => ({
|
|
55
|
+
position: 'relative',
|
|
56
|
+
'& a[href]:not([data-link-overlay]), & abbr[title]': { position: 'relative', zIndex: '1' },
|
|
57
|
+
...props,
|
|
58
|
+
}),
|
|
59
|
+
}),
|
|
60
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { definePattern } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
export const stack = definePattern({
|
|
4
|
+
jsx: ['Stack'],
|
|
5
|
+
properties: {
|
|
6
|
+
align: { type: 'property', value: 'alignItems' },
|
|
7
|
+
justify: { type: 'property', value: 'justifyContent' },
|
|
8
|
+
direction: { type: 'property', value: 'flexDirection' },
|
|
9
|
+
gap: { type: 'property', value: 'gap' },
|
|
10
|
+
wrap: { type: 'property', value: 'flexWrap' },
|
|
11
|
+
},
|
|
12
|
+
transform(props, { map, isCssUnit, isCssVar, isCssFunction }) {
|
|
13
|
+
const { direction, align, justify, wrap, gap, ...rest } = props
|
|
14
|
+
return {
|
|
15
|
+
display: 'flex',
|
|
16
|
+
flexDirection: direction,
|
|
17
|
+
alignItems: align,
|
|
18
|
+
justifyContent: justify,
|
|
19
|
+
flexWrap: wrap,
|
|
20
|
+
'--stack-gap': map(gap, (value) =>
|
|
21
|
+
isCssUnit(value) || isCssVar(value) || isCssFunction(value)
|
|
22
|
+
? value
|
|
23
|
+
: `token(spacing.${value}, ${value})`,
|
|
24
|
+
),
|
|
25
|
+
gap: 'var(--stack-gap)',
|
|
26
|
+
'&[data-stack-separated]': { gap: '0' },
|
|
27
|
+
'& > [data-stack-separator]': {
|
|
28
|
+
alignSelf: 'stretch',
|
|
29
|
+
flexShrink: '0',
|
|
30
|
+
marginBlock: map(direction, (value) =>
|
|
31
|
+
value.startsWith('column') ? 'var(--stack-gap)' : '0',
|
|
32
|
+
),
|
|
33
|
+
marginInline: map(direction, (value) =>
|
|
34
|
+
value.startsWith('row') ? 'var(--stack-gap)' : '0',
|
|
35
|
+
),
|
|
36
|
+
borderTopWidth: map(direction, (value) =>
|
|
37
|
+
value.startsWith('column') ? 'var(--separator-thickness, 1px)' : '0',
|
|
38
|
+
),
|
|
39
|
+
borderInlineStartWidth: map(direction, (value) =>
|
|
40
|
+
value.startsWith('row') ? 'var(--separator-thickness, 1px)' : '0',
|
|
41
|
+
),
|
|
42
|
+
},
|
|
43
|
+
...rest,
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
})
|