robodev 0.47.3 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/emit-starter.test.ts +6 -3
- package/templates/auth-chat/ROBODEV.md +7 -1
- package/templates/auth-chat/package.json +2 -2
- package/templates/backend/ROBODEV.md +7 -1
- package/templates/backend/package.json +2 -2
- package/templates/catalog.json +5 -0
- package/templates/empty/ROBODEV.md +7 -1
- package/templates/empty/package.json +2 -2
- package/templates/marketplace/ROBODEV.md +7 -1
- package/templates/marketplace/package.json +2 -2
- package/templates/povio/.config/local.spa.template.yml +27 -0
- package/templates/povio/.oxlint-base.json +29 -0
- package/templates/povio/.oxlintrc.json +78 -0
- package/templates/povio/.rulesync/rules/frontend-api-boundary.md +36 -0
- package/templates/povio/.rulesync/rules/frontend-component-structure.md +40 -0
- package/templates/povio/.rulesync/rules/frontend-forms.md +27 -0
- package/templates/povio/.rulesync/rules/frontend-notifications.md +24 -0
- package/templates/povio/.rulesync/rules/frontend-povio-components.md +42 -0
- package/templates/povio/.rulesync/rules/frontend-povio-ui.md +45 -0
- package/templates/povio/.rulesync/rules/frontend-query-autocomplete.md +24 -0
- package/templates/povio/.rulesync/rules/frontend-tables-and-lists.md +26 -0
- package/templates/povio/.rulesync/rules/frontend-translations.md +25 -0
- package/templates/povio/.rulesync/rules/project-overview.md +32 -0
- package/templates/povio/.rulesync/rules/robodev-api.md +30 -0
- package/templates/povio/.rulesync/rules/robodev-auth.md +40 -0
- package/templates/povio/.rulesync/rules/robodev-database.md +22 -0
- package/templates/povio/.rulesync/rules/role-based-app-structure.md +36 -0
- package/templates/povio/.rulesync/skills/media-feature/SKILL.md +21 -0
- package/templates/povio/.rulesync/skills/povio-ui-styling/SKILL.md +211 -0
- package/templates/povio/.rulesync/skills/povio-ui-styling/agents/openai.yaml +4 -0
- package/templates/povio/.rulesync/skills/robodev-api-route/SKILL.md +13 -0
- package/templates/povio/.rulesync/skills/robodev-table/SKILL.md +12 -0
- package/templates/povio/README.md +40 -0
- package/templates/povio/ROBODEV.md +84 -0
- package/templates/povio/apps/fe/index.html +24 -0
- package/templates/povio/apps/fe/openapi-codegen.config.ts +72 -0
- package/templates/povio/apps/fe/package.json +71 -0
- package/templates/povio/apps/fe/public/apple-touch-icon.png +0 -0
- package/templates/povio/apps/fe/public/favicon-96x96.png +0 -0
- package/templates/povio/apps/fe/public/favicon.ico +0 -0
- package/templates/povio/apps/fe/public/favicon.svg +3 -0
- package/templates/povio/apps/fe/public/site.webmanifest +21 -0
- package/templates/povio/apps/fe/public/web-app-manifest-192x192.png +0 -0
- package/templates/povio/apps/fe/public/web-app-manifest-512x512.png +0 -0
- package/templates/povio/apps/fe/src/assets/locales/en/translation.json +166 -0
- package/templates/povio/apps/fe/src/clients/app-rest-client.ts +15 -0
- package/templates/povio/apps/fe/src/clients/auth-token-store.ts +101 -0
- package/templates/povio/apps/fe/src/clients/rest/app-error-handler.ts +31 -0
- package/templates/povio/apps/fe/src/clients/rest/interceptors/authorization-header.interceptor.ts +15 -0
- package/templates/povio/apps/fe/src/clients/rest/interceptors/refresh-token.interceptor.ts +45 -0
- package/templates/povio/apps/fe/src/clients/rest/interceptors/response.interceptor.ts +17 -0
- package/templates/povio/apps/fe/src/components/404.tsx +18 -0
- package/templates/povio/apps/fe/src/components/features/auth/AuthBrandPanel.tsx +60 -0
- package/templates/povio/apps/fe/src/components/features/auth/AuthLayout.tsx +23 -0
- package/templates/povio/apps/fe/src/components/features/auth/LoginPage.tsx +111 -0
- package/templates/povio/apps/fe/src/components/features/auth/RegisterPage.tsx +143 -0
- package/templates/povio/apps/fe/src/components/features/home/HomePage.tsx +21 -0
- package/templates/povio/apps/fe/src/components/features/profile/ProfilePage.tsx +96 -0
- package/templates/povio/apps/fe/src/components/layout/AppLayout.tsx +19 -0
- package/templates/povio/apps/fe/src/components/layout/app-header/AppHeader.tsx +91 -0
- package/templates/povio/apps/fe/src/components/layout/app-header/MobileNavigation.tsx +51 -0
- package/templates/povio/apps/fe/src/components/layout/app-header/NavLink.tsx +29 -0
- package/templates/povio/apps/fe/src/components/shared/branding/BrandLogo.tsx +13 -0
- package/templates/povio/apps/fe/src/components/shared/error/ErrorFallback.tsx +43 -0
- package/templates/povio/apps/fe/src/components/shared/error/ErrorText.tsx +20 -0
- package/templates/povio/apps/fe/src/components/shared/error/NotFound.tsx +36 -0
- package/templates/povio/apps/fe/src/components/shared/forms/RequiredLabel.tsx +21 -0
- package/templates/povio/apps/fe/src/components/shared/forms/RowInputWrapper.tsx +50 -0
- package/templates/povio/apps/fe/src/components/shared/head/AppHead.tsx +32 -0
- package/templates/povio/apps/fe/src/components/shared/head/DefaultAppHead.tsx +34 -0
- package/templates/povio/apps/fe/src/components/shared/layout/LoadingState.tsx +9 -0
- package/templates/povio/apps/fe/src/components/shared/layout/ThinPageWrapper.tsx +5 -0
- package/templates/povio/apps/fe/src/components/shared/page/PageHeader.tsx +69 -0
- package/templates/povio/apps/fe/src/components/shared/ui/Card.tsx +60 -0
- package/templates/povio/apps/fe/src/components/shared/ui/GoogleLoginButton.tsx +19 -0
- package/templates/povio/apps/fe/src/components/shared/ui/RequiredLabel.tsx +22 -0
- package/templates/povio/apps/fe/src/components/shared/ui/TableActions.tsx +22 -0
- package/templates/povio/apps/fe/src/config/app.config.ts +23 -0
- package/templates/povio/apps/fe/src/config/i18n.ts +37 -0
- package/templates/povio/apps/fe/src/config/inits/logger.ts +7 -0
- package/templates/povio/apps/fe/src/config/jwt.config.ts +2 -0
- package/templates/povio/apps/fe/src/config/query.config.ts +20 -0
- package/templates/povio/apps/fe/src/hooks/useAuth.ts +5 -0
- package/templates/povio/apps/fe/src/main.tsx +52 -0
- package/templates/povio/apps/fe/src/pages/(guest)/login.tsx +23 -0
- package/templates/povio/apps/fe/src/pages/(guest)/register.tsx +23 -0
- package/templates/povio/apps/fe/src/pages/(guest)/route.tsx +18 -0
- package/templates/povio/apps/fe/src/pages/(private)/index.tsx +23 -0
- package/templates/povio/apps/fe/src/pages/(private)/profile.tsx +23 -0
- package/templates/povio/apps/fe/src/pages/(private)/route.tsx +18 -0
- package/templates/povio/apps/fe/src/pages/(public)/auth.tsx +37 -0
- package/templates/povio/apps/fe/src/pages/(public)/route.tsx +9 -0
- package/templates/povio/apps/fe/src/pages/__root.tsx +133 -0
- package/templates/povio/apps/fe/src/providers/AppErrorBoundary.tsx +44 -0
- package/templates/povio/apps/fe/src/providers/OpenApiRuntimeProvider.tsx +31 -0
- package/templates/povio/apps/fe/src/providers/index.tsx +44 -0
- package/templates/povio/apps/fe/src/providers/jwt.provider.tsx +95 -0
- package/templates/povio/apps/fe/src/routeTree.gen.ts +225 -0
- package/templates/povio/apps/fe/src/styles/base.css +84 -0
- package/templates/povio/apps/fe/src/styles/fonts/fonts.tsx +10 -0
- package/templates/povio/apps/fe/src/styles/globals.css +26 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/button.override.ts +536 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/checkbox.override.ts +71 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/input.override.ts +252 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/label.override.ts +91 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/modal.override.ts +62 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/radio.override.ts +46 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/table.override.ts +104 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/tag.override.ts +66 -0
- package/templates/povio/apps/fe/src/styles/overrides/defaults/typography.override.ts +115 -0
- package/templates/povio/apps/fe/src/styles/overrides/outline.clsx.ts +10 -0
- package/templates/povio/apps/fe/src/styles/overrides/uiOverrides.override.ts +60 -0
- package/templates/povio/apps/fe/src/styles/theme.css +2177 -0
- package/templates/povio/apps/fe/src/types/i18next.d.ts +12 -0
- package/templates/povio/apps/fe/src/types/table.d.ts +17 -0
- package/templates/povio/apps/fe/src/types/ui.d.ts +26 -0
- package/templates/povio/apps/fe/src/types/vite-env.d.ts +13 -0
- package/templates/povio/apps/fe/src/utils/date.utils.ts +17 -0
- package/templates/povio/apps/fe/src/utils/image-fallback.ts +9 -0
- package/templates/povio/apps/fe/src/utils/number.utils.ts +12 -0
- package/templates/povio/apps/fe/src/utils/string.utils.ts +5 -0
- package/templates/povio/apps/fe/src/vite-env.d.ts +1 -0
- package/templates/povio/apps/fe/tsconfig.app.json +32 -0
- package/templates/povio/apps/fe/tsconfig.json +9 -0
- package/templates/povio/apps/fe/tsconfig.node.json +31 -0
- package/templates/povio/apps/fe/vite.config.ts +150 -0
- package/templates/povio/openapi.json +911 -0
- package/templates/povio/oxfmt.config.js +23 -0
- package/templates/povio/package.json +19 -0
- package/templates/povio/robodev/api/_lib.ts +99 -0
- package/templates/povio/robodev/api/health.ts +7 -0
- package/templates/povio/robodev/database.ts +28 -0
- package/templates/povio/robodev/package.json +4 -0
- package/templates/povio/rulesync.jsonc +18 -0
- package/templates/povio/tsconfig.json +11 -0
- package/templates/shadcn/.rulesync/rules/frontend-api-boundary.md +29 -0
- package/templates/shadcn/.rulesync/rules/frontend-component-structure.md +19 -0
- package/templates/shadcn/.rulesync/rules/frontend-hosted-ui.md +38 -0
- package/templates/shadcn/.rulesync/rules/project-overview.md +29 -0
- package/templates/shadcn/.rulesync/rules/robodev-api.md +22 -0
- package/templates/shadcn/.rulesync/rules/robodev-auth.md +47 -0
- package/templates/shadcn/.rulesync/rules/robodev-database.md +21 -0
- package/templates/shadcn/.rulesync/skills/robodev-crud-page/SKILL.md +181 -0
- package/templates/shadcn/README.md +9 -4
- package/templates/shadcn/ROBODEV.md +14 -6
- package/templates/shadcn/package.json +4 -6
- package/templates/shadcn/rulesync.jsonc +18 -0
- package/templates/shadcn/src/App.tsx +12 -3
- package/templates/shadcn/src/app.css +359 -0
- package/templates/shadcn/src/components/auth/AuthCard.tsx +29 -0
- package/templates/shadcn/src/components/ui/badge.tsx +17 -0
- package/templates/shadcn/src/components/ui/card.tsx +28 -0
- package/templates/shadcn/src/components/ui/dialog.tsx +38 -0
- package/templates/shadcn/src/components/ui/empty-state.tsx +17 -0
- package/templates/shadcn/src/components/ui/input.tsx +8 -0
- package/templates/shadcn/src/components/ui/label.tsx +8 -0
- package/templates/shadcn/src/components/ui/skeleton.tsx +6 -0
- package/templates/shadcn/src/components/ui/spinner.tsx +3 -0
- package/templates/shadcn/src/components/ui/table.tsx +30 -0
- package/templates/shadcn/src/components/ui/textarea.tsx +8 -0
- package/templates/shadcn/src/lib/auth.tsx +72 -0
- package/templates/shadcn/src/lib/client.ts +8 -0
- package/templates/shadcn/src/pages/Home.tsx +15 -0
- package/templates/shadcn/src/pages/Login.tsx +70 -0
- package/templates/shadcn/src/pages/NotFound.tsx +14 -0
- package/templates/shadcn/src/pages/Register.tsx +82 -0
- package/templates/space/ROBODEV.md +7 -1
- package/templates/space/package.json +2 -2
- package/templates/shadcn/components.json +0 -21
- package/templates/shadcn/postcss.config.js +0 -6
- package/templates/shadcn/tailwind.config.ts +0 -42
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@plugin "tailwindcss-react-aria-components";
|
|
2
|
+
|
|
3
|
+
@layer base {
|
|
4
|
+
button:not(:disabled),
|
|
5
|
+
[role="button"]:not(:disabled) {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@theme static {
|
|
11
|
+
--color-*: initial;
|
|
12
|
+
--color-inherit: inherit;
|
|
13
|
+
--color-transparent: transparent;
|
|
14
|
+
--color-current: currentColor;
|
|
15
|
+
--radius-*: initial;
|
|
16
|
+
--radius-none: 0rem;
|
|
17
|
+
--container-*: initial;
|
|
18
|
+
--container-none: none;
|
|
19
|
+
--container-modal: 32.5rem;
|
|
20
|
+
--container-toast: 45rem;
|
|
21
|
+
--spacing-*: initial;
|
|
22
|
+
--spacing-0: 0rem;
|
|
23
|
+
--shadow-*: initial;
|
|
24
|
+
--shadow-none: none;
|
|
25
|
+
--text-*: initial;
|
|
26
|
+
--text-inherit: inherit;
|
|
27
|
+
--text-inherit--line-height: inherit;
|
|
28
|
+
--text-inherit--letter-spacing: inherit;
|
|
29
|
+
--breakpoint-*: initial;
|
|
30
|
+
--breakpoint-sm: 23.75rem;
|
|
31
|
+
--breakpoint-md: 37.5rem;
|
|
32
|
+
--breakpoint-lg: 80rem;
|
|
33
|
+
--breakpoint-xl: 105rem;
|
|
34
|
+
--rotate-*: initial;
|
|
35
|
+
--rotate-0: 0deg;
|
|
36
|
+
--rotate-45: 45deg;
|
|
37
|
+
--rotate-90: 90deg;
|
|
38
|
+
--rotate-180: 180deg;
|
|
39
|
+
--rotate-270: 270deg;
|
|
40
|
+
--rotate-360: 360deg;
|
|
41
|
+
--animate-drawer-enter-right: drawer-slide-right 0.3s;
|
|
42
|
+
--animate-drawer-exit-right: drawer-slide-right 0.3s reverse;
|
|
43
|
+
--animate-drawer-enter-left: drawer-slide-left 0.3s;
|
|
44
|
+
--animate-drawer-exit-left: drawer-slide-left 0.3s reverse;
|
|
45
|
+
--animate-loader-spin: loader-spin 1s linear infinite;
|
|
46
|
+
--z-index-base: 0;
|
|
47
|
+
--z-index-raised: 1;
|
|
48
|
+
--z-index-sticky: 10;
|
|
49
|
+
--z-index-drawer: 20;
|
|
50
|
+
--z-index-modal: 30;
|
|
51
|
+
--z-index-bottom-sheet: 40;
|
|
52
|
+
--z-index-drop-target: 50;
|
|
53
|
+
--z-index-overlay-above: 100;
|
|
54
|
+
|
|
55
|
+
@keyframes drawer-slide-right {
|
|
56
|
+
from {
|
|
57
|
+
transform: translateX(100%);
|
|
58
|
+
}
|
|
59
|
+
to {
|
|
60
|
+
transform: translateX(0);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
@keyframes drawer-slide-left {
|
|
64
|
+
from {
|
|
65
|
+
transform: translateX(-100%);
|
|
66
|
+
}
|
|
67
|
+
to {
|
|
68
|
+
transform: translateX(0);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
@keyframes loader-spin {
|
|
72
|
+
to {
|
|
73
|
+
transform: rotate(360deg);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
html {
|
|
79
|
+
-webkit-font-smoothing: antialiased;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.flex-fill {
|
|
83
|
+
flex: 1 0 0;
|
|
84
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import "@fontsource-variable/inter";
|
|
2
|
+
|
|
3
|
+
@import "tailwindcss";
|
|
4
|
+
@source "../../node_modules/@povio/ui/dist";
|
|
5
|
+
@import "./base.css";
|
|
6
|
+
@import "./theme.css";
|
|
7
|
+
|
|
8
|
+
/* width */
|
|
9
|
+
::-webkit-scrollbar {
|
|
10
|
+
@apply w-1-5;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Track */
|
|
14
|
+
::-webkit-scrollbar-track {
|
|
15
|
+
@apply bg-transparent;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Handle */
|
|
19
|
+
::-webkit-scrollbar-thumb {
|
|
20
|
+
@apply bg-elevation-outline-default-2 rounded-full;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Handle on hover */
|
|
24
|
+
::-webkit-scrollbar-thumb:hover {
|
|
25
|
+
@apply bg-elevation-outline-default-2;
|
|
26
|
+
}
|