@gv-tech/design-system 2.5.0 → 2.5.2
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/CHANGELOG.md +15 -0
- package/package.json +5 -2
- package/.agent/skills/dogfood-components/SKILL.md +0 -34
- package/.agent/skills/maintain-component/SKILL.md +0 -77
- package/.agent/workflows/native-playground.md +0 -93
- package/.github/CODEOWNERS +0 -2
- package/.github/CONTRIBUTING.md +0 -42
- package/.github/FUNDING.yml +0 -4
- package/.github/PULL_REQUEST_TEMPLATE/build.md +0 -5
- package/.github/PULL_REQUEST_TEMPLATE/standard.md +0 -3
- package/.github/RELEASING.md +0 -37
- package/.github/copilot-instructions.md +0 -61
- package/.github/workflows/ci.yml +0 -91
- package/.github/workflows/codeql-analysis.yml +0 -34
- package/.github/workflows/release-please.yml +0 -79
- package/.husky/pre-commit +0 -1
- package/.prettierignore +0 -3
- package/.release-please-manifest.json +0 -9
- package/.tool-versions +0 -1
- package/.vscode/launch.json +0 -22
- package/.vscode/mcp.json +0 -8
- package/.vscode/settings.json +0 -30
- package/.yarnrc.yml +0 -7
- package/SECURITY.md +0 -9
- package/apps/.gitkeep +0 -0
- package/apps/native-playground/CHANGELOG.md +0 -8
- package/apps/native-playground/app.json +0 -37
- package/apps/native-playground/assets/fonts/.gitkeep +0 -0
- package/apps/native-playground/assets/images/adaptive-icon.png +0 -0
- package/apps/native-playground/assets/images/favicon.png +0 -0
- package/apps/native-playground/assets/images/icon.png +0 -0
- package/apps/native-playground/assets/images/splash-icon.png +0 -0
- package/apps/native-playground/babel.config.js +0 -6
- package/apps/native-playground/eas.json +0 -25
- package/apps/native-playground/index.js +0 -8
- package/apps/native-playground/metro.config.js +0 -26
- package/apps/native-playground/nativewind-env.d.ts +0 -1
- package/apps/native-playground/package.json +0 -23
- package/apps/native-playground/project.json +0 -15
- package/apps/native-playground/src/app/App.tsx +0 -842
- package/apps/native-playground/src/global.css +0 -49
- package/apps/native-playground/tailwind.config.js +0 -49
- package/apps/native-playground/tsconfig.app.json +0 -24
- package/apps/native-playground/tsconfig.json +0 -23
- package/apps/native-playground/tsconfig.spec.json +0 -24
- package/apps/playground-web/CHANGELOG.md +0 -8
- package/apps/playground-web/index.html +0 -13
- package/apps/playground-web/package.json +0 -31
- package/apps/playground-web/public/favicon.png +0 -0
- package/apps/playground-web/public/index.demo.html +0 -40
- package/apps/playground-web/public/logo192.png +0 -0
- package/apps/playground-web/public/logo512.png +0 -0
- package/apps/playground-web/public/manifest.json +0 -25
- package/apps/playground-web/public/robots.txt +0 -2
- package/apps/playground-web/src/App.tsx +0 -179
- package/apps/playground-web/src/components/docs/CodeBlock.tsx +0 -34
- package/apps/playground-web/src/components/docs/CombinedDocsLayout.tsx +0 -103
- package/apps/playground-web/src/components/docs/ComponentShowcase.tsx +0 -96
- package/apps/playground-web/src/components/docs/ErrorBoundary.tsx +0 -55
- package/apps/playground-web/src/components/docs/Footer.tsx +0 -146
- package/apps/playground-web/src/components/docs/PropsTable.tsx +0 -43
- package/apps/playground-web/src/components/docs/Search.tsx +0 -75
- package/apps/playground-web/src/components/docs/Sidebar.tsx +0 -77
- package/apps/playground-web/src/components/docs/ThemeToggle.tsx +0 -19
- package/apps/playground-web/src/components/docs/index.ts +0 -9
- package/apps/playground-web/src/config/docs.ts +0 -293
- package/apps/playground-web/src/globals.css +0 -148
- package/apps/playground-web/src/hooks/useDocMetadata.ts +0 -34
- package/apps/playground-web/src/hooks/usePackageManager.tsx +0 -42
- package/apps/playground-web/src/lib/react-native-shim.js +0 -34
- package/apps/playground-web/src/main.tsx +0 -11
- package/apps/playground-web/src/pages/index.ts +0 -4
- package/apps/playground-web/src/pages/native/AccordionDocs.tsx +0 -85
- package/apps/playground-web/src/pages/native/AlertDialogDocs.tsx +0 -128
- package/apps/playground-web/src/pages/native/AlertDocs.tsx +0 -89
- package/apps/playground-web/src/pages/native/AspectRatioDocs.tsx +0 -52
- package/apps/playground-web/src/pages/native/AvatarDocs.tsx +0 -92
- package/apps/playground-web/src/pages/native/BadgeDocs.tsx +0 -63
- package/apps/playground-web/src/pages/native/BreadcrumbDocs.tsx +0 -71
- package/apps/playground-web/src/pages/native/ButtonDocs.tsx +0 -103
- package/apps/playground-web/src/pages/native/CalendarDocs.tsx +0 -74
- package/apps/playground-web/src/pages/native/CardDocs.tsx +0 -75
- package/apps/playground-web/src/pages/native/CarouselDocs.tsx +0 -113
- package/apps/playground-web/src/pages/native/ChartDocs.tsx +0 -115
- package/apps/playground-web/src/pages/native/CheckboxDocs.tsx +0 -38
- package/apps/playground-web/src/pages/native/CollapsibleDocs.tsx +0 -89
- package/apps/playground-web/src/pages/native/CommandDocs.tsx +0 -170
- package/apps/playground-web/src/pages/native/ContextMenuDocs.tsx +0 -121
- package/apps/playground-web/src/pages/native/DialogDocs.tsx +0 -132
- package/apps/playground-web/src/pages/native/DrawerDocs.tsx +0 -158
- package/apps/playground-web/src/pages/native/DropdownMenuDocs.tsx +0 -168
- package/apps/playground-web/src/pages/native/HoverCardDocs.tsx +0 -119
- package/apps/playground-web/src/pages/native/InputDocs.tsx +0 -86
- package/apps/playground-web/src/pages/native/LabelDocs.tsx +0 -55
- package/apps/playground-web/src/pages/native/MenubarDocs.tsx +0 -197
- package/apps/playground-web/src/pages/native/NavigationMenuDocs.tsx +0 -190
- package/apps/playground-web/src/pages/native/PaginationDocs.tsx +0 -70
- package/apps/playground-web/src/pages/native/PopoverDocs.tsx +0 -156
- package/apps/playground-web/src/pages/native/ProgressDocs.tsx +0 -61
- package/apps/playground-web/src/pages/native/RadioGroupDocs.tsx +0 -125
- package/apps/playground-web/src/pages/native/ResizableDocs.tsx +0 -118
- package/apps/playground-web/src/pages/native/ScrollAreaDocs.tsx +0 -92
- package/apps/playground-web/src/pages/native/SearchDocs.tsx +0 -150
- package/apps/playground-web/src/pages/native/SelectDocs.tsx +0 -141
- package/apps/playground-web/src/pages/native/SeparatorDocs.tsx +0 -72
- package/apps/playground-web/src/pages/native/SheetDocs.tsx +0 -140
- package/apps/playground-web/src/pages/native/SkeletonDocs.tsx +0 -44
- package/apps/playground-web/src/pages/native/SliderDocs.tsx +0 -118
- package/apps/playground-web/src/pages/native/SonnerDocs.tsx +0 -111
- package/apps/playground-web/src/pages/native/SwitchDocs.tsx +0 -87
- package/apps/playground-web/src/pages/native/TableDocs.tsx +0 -67
- package/apps/playground-web/src/pages/native/TabsDocs.tsx +0 -175
- package/apps/playground-web/src/pages/native/TextareaDocs.tsx +0 -61
- package/apps/playground-web/src/pages/native/ThemeToggleDocs.tsx +0 -288
- package/apps/playground-web/src/pages/native/ToastDocs.tsx +0 -124
- package/apps/playground-web/src/pages/native/ToggleDocs.tsx +0 -81
- package/apps/playground-web/src/pages/native/ToggleGroupDocs.tsx +0 -128
- package/apps/playground-web/src/pages/native/TooltipDocs.tsx +0 -140
- package/apps/playground-web/src/pages/native/index.ts +0 -47
- package/apps/playground-web/src/pages/shared/ColorTokensDocs.tsx +0 -234
- package/apps/playground-web/src/pages/shared/GettingStarted.tsx +0 -413
- package/apps/playground-web/src/pages/web/AccordionDocs.tsx +0 -194
- package/apps/playground-web/src/pages/web/AlertDialogDocs.tsx +0 -157
- package/apps/playground-web/src/pages/web/AlertDocs.tsx +0 -110
- package/apps/playground-web/src/pages/web/AspectRatioDocs.tsx +0 -94
- package/apps/playground-web/src/pages/web/AvatarDocs.tsx +0 -81
- package/apps/playground-web/src/pages/web/BadgeDocs.tsx +0 -66
- package/apps/playground-web/src/pages/web/BreadcrumbDocs.tsx +0 -93
- package/apps/playground-web/src/pages/web/ButtonDocs.tsx +0 -129
- package/apps/playground-web/src/pages/web/CalendarDocs.tsx +0 -78
- package/apps/playground-web/src/pages/web/CardDocs.tsx +0 -115
- package/apps/playground-web/src/pages/web/CarouselDocs.tsx +0 -176
- package/apps/playground-web/src/pages/web/ChartDocs.tsx +0 -151
- package/apps/playground-web/src/pages/web/CheckboxDocs.tsx +0 -95
- package/apps/playground-web/src/pages/web/CollapsibleDocs.tsx +0 -111
- package/apps/playground-web/src/pages/web/CommandDocs.tsx +0 -219
- package/apps/playground-web/src/pages/web/ContextMenuDocs.tsx +0 -164
- package/apps/playground-web/src/pages/web/DialogDocs.tsx +0 -175
- package/apps/playground-web/src/pages/web/DrawerDocs.tsx +0 -283
- package/apps/playground-web/src/pages/web/DropdownMenuDocs.tsx +0 -319
- package/apps/playground-web/src/pages/web/FormDocs.tsx +0 -175
- package/apps/playground-web/src/pages/web/HoverCardDocs.tsx +0 -151
- package/apps/playground-web/src/pages/web/InputDocs.tsx +0 -118
- package/apps/playground-web/src/pages/web/LabelDocs.tsx +0 -59
- package/apps/playground-web/src/pages/web/MenubarDocs.tsx +0 -296
- package/apps/playground-web/src/pages/web/NavigationMenuDocs.tsx +0 -263
- package/apps/playground-web/src/pages/web/PaginationDocs.tsx +0 -102
- package/apps/playground-web/src/pages/web/PopoverDocs.tsx +0 -189
- package/apps/playground-web/src/pages/web/ProgressDocs.tsx +0 -70
- package/apps/playground-web/src/pages/web/RadioGroupDocs.tsx +0 -137
- package/apps/playground-web/src/pages/web/ResizableDocs.tsx +0 -143
- package/apps/playground-web/src/pages/web/ScrollAreaDocs.tsx +0 -107
- package/apps/playground-web/src/pages/web/SearchDocs.tsx +0 -203
- package/apps/playground-web/src/pages/web/SelectDocs.tsx +0 -164
- package/apps/playground-web/src/pages/web/SeparatorDocs.tsx +0 -88
- package/apps/playground-web/src/pages/web/SheetDocs.tsx +0 -186
- package/apps/playground-web/src/pages/web/SkeletonDocs.tsx +0 -53
- package/apps/playground-web/src/pages/web/SliderDocs.tsx +0 -119
- package/apps/playground-web/src/pages/web/SonnerDocs.tsx +0 -126
- package/apps/playground-web/src/pages/web/SwitchDocs.tsx +0 -91
- package/apps/playground-web/src/pages/web/TableDocs.tsx +0 -148
- package/apps/playground-web/src/pages/web/TabsDocs.tsx +0 -241
- package/apps/playground-web/src/pages/web/TextareaDocs.tsx +0 -65
- package/apps/playground-web/src/pages/web/ThemeToggleDocs.tsx +0 -303
- package/apps/playground-web/src/pages/web/ToastDocs.tsx +0 -149
- package/apps/playground-web/src/pages/web/ToggleDocs.tsx +0 -85
- package/apps/playground-web/src/pages/web/ToggleGroupDocs.tsx +0 -140
- package/apps/playground-web/src/pages/web/TooltipDocs.tsx +0 -150
- package/apps/playground-web/src/pages/web/index.ts +0 -47
- package/apps/playground-web/src/routes/doc-routes.tsx +0 -363
- package/apps/playground-web/tailwind.config.js +0 -47
- package/apps/playground-web/tsconfig.app.json +0 -16
- package/apps/playground-web/tsconfig.json +0 -4
- package/apps/playground-web/tsconfig.node.json +0 -13
- package/apps/playground-web/vite.config.ts +0 -41
- package/components.json +0 -20
- package/docs/architecture-pivot.md +0 -165
- package/docs/native-setup-decision.md +0 -57
- package/docs/phase-1-tracker.md +0 -144
- package/docs/release-tooling-evaluation.md +0 -67
- package/docs/universal-implementation.md +0 -195
- package/docs/update-plan.md +0 -268
- package/eslint.config.mjs +0 -13
- package/nx.json +0 -50
- package/packages/.gitkeep +0 -0
- package/packages/design-tokens/CHANGELOG.md +0 -8
- package/packages/design-tokens/package.json +0 -20
- package/packages/design-tokens/src/index.ts +0 -35
- package/packages/design-tokens/src/palette.ts +0 -36
- package/packages/design-tokens/src/radii.ts +0 -26
- package/packages/design-tokens/src/shadows.ts +0 -16
- package/packages/design-tokens/src/spacing.ts +0 -33
- package/packages/design-tokens/src/theme.ts +0 -54
- package/packages/design-tokens/src/typography.ts +0 -36
- package/packages/design-tokens/tsconfig.json +0 -17
- package/packages/ui-core/CHANGELOG.md +0 -8
- package/packages/ui-core/package.json +0 -40
- package/packages/ui-core/src/contracts/accordion.ts +0 -23
- package/packages/ui-core/src/contracts/alert-dialog.ts +0 -48
- package/packages/ui-core/src/contracts/alert.ts +0 -17
- package/packages/ui-core/src/contracts/aspect-ratio.ts +0 -7
- package/packages/ui-core/src/contracts/avatar.ts +0 -17
- package/packages/ui-core/src/contracts/badge.ts +0 -7
- package/packages/ui-core/src/contracts/breadcrumb.ts +0 -37
- package/packages/ui-core/src/contracts/button.ts +0 -17
- package/packages/ui-core/src/contracts/calendar.ts +0 -4
- package/packages/ui-core/src/contracts/card.ts +0 -11
- package/packages/ui-core/src/contracts/carousel.ts +0 -29
- package/packages/ui-core/src/contracts/chart.ts +0 -31
- package/packages/ui-core/src/contracts/checkbox.ts +0 -11
- package/packages/ui-core/src/contracts/collapsible.ts +0 -21
- package/packages/ui-core/src/contracts/command.ts +0 -43
- package/packages/ui-core/src/contracts/context-menu.ts +0 -78
- package/packages/ui-core/src/contracts/dialog.ts +0 -29
- package/packages/ui-core/src/contracts/drawer.ts +0 -39
- package/packages/ui-core/src/contracts/dropdown-menu.ts +0 -87
- package/packages/ui-core/src/contracts/form.ts +0 -29
- package/packages/ui-core/src/contracts/hover-card.ts +0 -21
- package/packages/ui-core/src/contracts/input.ts +0 -11
- package/packages/ui-core/src/contracts/label.ts +0 -7
- package/packages/ui-core/src/contracts/menubar.ts +0 -86
- package/packages/ui-core/src/contracts/navigation-menu.ts +0 -55
- package/packages/ui-core/src/contracts/pagination.ts +0 -38
- package/packages/ui-core/src/contracts/popover.ts +0 -28
- package/packages/ui-core/src/contracts/progress.ts +0 -4
- package/packages/ui-core/src/contracts/radio.ts +0 -16
- package/packages/ui-core/src/contracts/resizable.ts +0 -36
- package/packages/ui-core/src/contracts/scroll-area.ts +0 -15
- package/packages/ui-core/src/contracts/search.ts +0 -13
- package/packages/ui-core/src/contracts/select.ts +0 -64
- package/packages/ui-core/src/contracts/separator.ts +0 -5
- package/packages/ui-core/src/contracts/sheet.ts +0 -58
- package/packages/ui-core/src/contracts/skeleton.ts +0 -6
- package/packages/ui-core/src/contracts/slider.ts +0 -15
- package/packages/ui-core/src/contracts/sonner.ts +0 -15
- package/packages/ui-core/src/contracts/switch.ts +0 -11
- package/packages/ui-core/src/contracts/table.ts +0 -41
- package/packages/ui-core/src/contracts/tabs.ts +0 -31
- package/packages/ui-core/src/contracts/text.ts +0 -12
- package/packages/ui-core/src/contracts/textarea.ts +0 -7
- package/packages/ui-core/src/contracts/theme-provider.ts +0 -14
- package/packages/ui-core/src/contracts/theme-toggle.ts +0 -15
- package/packages/ui-core/src/contracts/toast.ts +0 -15
- package/packages/ui-core/src/contracts/toaster.ts +0 -3
- package/packages/ui-core/src/contracts/toggle-group.ts +0 -23
- package/packages/ui-core/src/contracts/toggle.ts +0 -49
- package/packages/ui-core/src/contracts/tooltip.ts +0 -28
- package/packages/ui-core/src/index.ts +0 -327
- package/packages/ui-core/tsconfig.json +0 -18
- package/packages/ui-native/CHANGELOG.md +0 -8
- package/packages/ui-native/package.json +0 -76
- package/packages/ui-native/src/accordion.tsx +0 -93
- package/packages/ui-native/src/alert-dialog.tsx +0 -123
- package/packages/ui-native/src/alert.tsx +0 -50
- package/packages/ui-native/src/aspect-ratio.tsx +0 -9
- package/packages/ui-native/src/avatar.tsx +0 -38
- package/packages/ui-native/src/badge.tsx +0 -51
- package/packages/ui-native/src/breadcrumb.tsx +0 -9
- package/packages/ui-native/src/button.test.tsx +0 -27
- package/packages/ui-native/src/button.tsx +0 -75
- package/packages/ui-native/src/calendar.tsx +0 -9
- package/packages/ui-native/src/card.test.tsx +0 -33
- package/packages/ui-native/src/card.tsx +0 -56
- package/packages/ui-native/src/carousel.tsx +0 -9
- package/packages/ui-native/src/chart.tsx +0 -9
- package/packages/ui-native/src/checkbox.test.tsx +0 -58
- package/packages/ui-native/src/checkbox.tsx +0 -31
- package/packages/ui-native/src/collapsible.test.tsx +0 -50
- package/packages/ui-native/src/collapsible.tsx +0 -15
- package/packages/ui-native/src/command.tsx +0 -9
- package/packages/ui-native/src/context-menu.tsx +0 -9
- package/packages/ui-native/src/dialog.test.tsx +0 -91
- package/packages/ui-native/src/dialog.tsx +0 -121
- package/packages/ui-native/src/drawer.tsx +0 -9
- package/packages/ui-native/src/dropdown-menu.tsx +0 -9
- package/packages/ui-native/src/form.tsx +0 -9
- package/packages/ui-native/src/hover-card.tsx +0 -9
- package/packages/ui-native/src/index.ts +0 -209
- package/packages/ui-native/src/input.test.tsx +0 -27
- package/packages/ui-native/src/input.tsx +0 -27
- package/packages/ui-native/src/label.tsx +0 -29
- package/packages/ui-native/src/lib/render-native.tsx +0 -17
- package/packages/ui-native/src/lib/utils.ts +0 -6
- package/packages/ui-native/src/menubar.tsx +0 -9
- package/packages/ui-native/src/nativewind-env.d.ts +0 -1
- package/packages/ui-native/src/navigation-menu.tsx +0 -9
- package/packages/ui-native/src/pagination.tsx +0 -9
- package/packages/ui-native/src/popover.tsx +0 -9
- package/packages/ui-native/src/progress.tsx +0 -9
- package/packages/ui-native/src/radio-group.test.tsx +0 -77
- package/packages/ui-native/src/radio-group.tsx +0 -42
- package/packages/ui-native/src/resizable.tsx +0 -25
- package/packages/ui-native/src/scroll-area.tsx +0 -9
- package/packages/ui-native/src/search.tsx +0 -17
- package/packages/ui-native/src/select.tsx +0 -229
- package/packages/ui-native/src/separator.tsx +0 -20
- package/packages/ui-native/src/sheet.test.tsx +0 -93
- package/packages/ui-native/src/sheet.tsx +0 -127
- package/packages/ui-native/src/skeleton.test.tsx +0 -29
- package/packages/ui-native/src/skeleton.tsx +0 -31
- package/packages/ui-native/src/slider.tsx +0 -9
- package/packages/ui-native/src/sonner.tsx +0 -9
- package/packages/ui-native/src/switch.tsx +0 -34
- package/packages/ui-native/src/table.tsx +0 -73
- package/packages/ui-native/src/tabs.tsx +0 -74
- package/packages/ui-native/src/text.test.tsx +0 -24
- package/packages/ui-native/src/text.tsx +0 -43
- package/packages/ui-native/src/textarea.test.tsx +0 -27
- package/packages/ui-native/src/textarea.tsx +0 -29
- package/packages/ui-native/src/theme-provider.tsx +0 -6
- package/packages/ui-native/src/theme-toggle.tsx +0 -11
- package/packages/ui-native/src/toast.test.tsx +0 -61
- package/packages/ui-native/src/toast.tsx +0 -88
- package/packages/ui-native/src/toaster.tsx +0 -9
- package/packages/ui-native/src/toggle-group.tsx +0 -78
- package/packages/ui-native/src/toggle.tsx +0 -35
- package/packages/ui-native/src/tooltip.tsx +0 -44
- package/packages/ui-native/tsconfig.json +0 -23
- package/packages/ui-native/vite.config.ts +0 -17
- package/packages/ui-web/CHANGELOG.md +0 -8
- package/packages/ui-web/package.json +0 -84
- package/packages/ui-web/src/accordion.test.tsx +0 -86
- package/packages/ui-web/src/accordion.tsx +0 -58
- package/packages/ui-web/src/alert-dialog.test.tsx +0 -91
- package/packages/ui-web/src/alert-dialog.tsx +0 -121
- package/packages/ui-web/src/alert.test.tsx +0 -47
- package/packages/ui-web/src/alert.tsx +0 -49
- package/packages/ui-web/src/aspect-ratio.test.tsx +0 -34
- package/packages/ui-web/src/aspect-ratio.tsx +0 -7
- package/packages/ui-web/src/avatar.test.tsx +0 -33
- package/packages/ui-web/src/avatar.tsx +0 -40
- package/packages/ui-web/src/badge.test.tsx +0 -24
- package/packages/ui-web/src/badge.tsx +0 -34
- package/packages/ui-web/src/breadcrumb.tsx +0 -105
- package/packages/ui-web/src/button.test.tsx +0 -62
- package/packages/ui-web/src/button.tsx +0 -47
- package/packages/ui-web/src/calendar.test.tsx +0 -23
- package/packages/ui-web/src/calendar.tsx +0 -163
- package/packages/ui-web/src/card.test.tsx +0 -35
- package/packages/ui-web/src/card.tsx +0 -46
- package/packages/ui-web/src/carousel.test.tsx +0 -37
- package/packages/ui-web/src/carousel.tsx +0 -234
- package/packages/ui-web/src/chart.test.tsx +0 -62
- package/packages/ui-web/src/chart.tsx +0 -296
- package/packages/ui-web/src/checkbox.test.tsx +0 -30
- package/packages/ui-web/src/checkbox.tsx +0 -31
- package/packages/ui-web/src/collapsible.test.tsx +0 -51
- package/packages/ui-web/src/collapsible.tsx +0 -15
- package/packages/ui-web/src/command.test.tsx +0 -79
- package/packages/ui-web/src/command.tsx +0 -154
- package/packages/ui-web/src/context-menu.test.tsx +0 -37
- package/packages/ui-web/src/context-menu.tsx +0 -208
- package/packages/ui-web/src/dialog.test.tsx +0 -66
- package/packages/ui-web/src/dialog.tsx +0 -95
- package/packages/ui-web/src/drawer.test.tsx +0 -68
- package/packages/ui-web/src/drawer.tsx +0 -110
- package/packages/ui-web/src/dropdown-menu.test.tsx +0 -93
- package/packages/ui-web/src/dropdown-menu.tsx +0 -212
- package/packages/ui-web/src/form.test.tsx +0 -84
- package/packages/ui-web/src/form.tsx +0 -160
- package/packages/ui-web/src/hooks/use-theme.ts +0 -15
- package/packages/ui-web/src/hooks/use-toast.ts +0 -189
- package/packages/ui-web/src/hover-card.test.tsx +0 -48
- package/packages/ui-web/src/hover-card.tsx +0 -35
- package/packages/ui-web/src/index.ts +0 -474
- package/packages/ui-web/src/input.test.tsx +0 -33
- package/packages/ui-web/src/input.tsx +0 -23
- package/packages/ui-web/src/label.test.tsx +0 -27
- package/packages/ui-web/src/label.tsx +0 -21
- package/packages/ui-web/src/lib/utils.ts +0 -6
- package/packages/ui-web/src/menubar.test.tsx +0 -92
- package/packages/ui-web/src/menubar.tsx +0 -244
- package/packages/ui-web/src/navigation-menu.test.tsx +0 -53
- package/packages/ui-web/src/navigation-menu.tsx +0 -143
- package/packages/ui-web/src/pagination.test.tsx +0 -57
- package/packages/ui-web/src/pagination.tsx +0 -107
- package/packages/ui-web/src/popover.test.tsx +0 -31
- package/packages/ui-web/src/popover.tsx +0 -45
- package/packages/ui-web/src/progress.test.tsx +0 -18
- package/packages/ui-web/src/progress.tsx +0 -28
- package/packages/ui-web/src/radio-group.test.tsx +0 -39
- package/packages/ui-web/src/radio-group.tsx +0 -41
- package/packages/ui-web/src/resizable.test.tsx +0 -23
- package/packages/ui-web/src/resizable.tsx +0 -59
- package/packages/ui-web/src/scroll-area.test.tsx +0 -15
- package/packages/ui-web/src/scroll-area.tsx +0 -42
- package/packages/ui-web/src/search.test.tsx +0 -81
- package/packages/ui-web/src/search.tsx +0 -87
- package/packages/ui-web/src/select.test.tsx +0 -42
- package/packages/ui-web/src/select.tsx +0 -169
- package/packages/ui-web/src/separator.test.tsx +0 -16
- package/packages/ui-web/src/separator.tsx +0 -24
- package/packages/ui-web/src/setupTests.ts +0 -114
- package/packages/ui-web/src/sheet.test.tsx +0 -48
- package/packages/ui-web/src/sheet.tsx +0 -136
- package/packages/ui-web/src/skeleton.test.tsx +0 -13
- package/packages/ui-web/src/skeleton.tsx +0 -10
- package/packages/ui-web/src/slider.test.tsx +0 -18
- package/packages/ui-web/src/slider.tsx +0 -27
- package/packages/ui-web/src/sonner.test.tsx +0 -13
- package/packages/ui-web/src/sonner.tsx +0 -32
- package/packages/ui-web/src/switch.test.tsx +0 -22
- package/packages/ui-web/src/switch.tsx +0 -31
- package/packages/ui-web/src/table.test.tsx +0 -29
- package/packages/ui-web/src/table.tsx +0 -104
- package/packages/ui-web/src/tabs.test.tsx +0 -43
- package/packages/ui-web/src/tabs.tsx +0 -62
- package/packages/ui-web/src/text.test.tsx +0 -34
- package/packages/ui-web/src/text.tsx +0 -55
- package/packages/ui-web/src/textarea.test.tsx +0 -21
- package/packages/ui-web/src/textarea.tsx +0 -25
- package/packages/ui-web/src/theme-provider.tsx +0 -15
- package/packages/ui-web/src/theme-toggle.test.tsx +0 -49
- package/packages/ui-web/src/theme-toggle.tsx +0 -92
- package/packages/ui-web/src/toast.test.tsx +0 -42
- package/packages/ui-web/src/toast.tsx +0 -111
- package/packages/ui-web/src/toaster.tsx +0 -27
- package/packages/ui-web/src/toggle-group.test.tsx +0 -40
- package/packages/ui-web/src/toggle-group.tsx +0 -55
- package/packages/ui-web/src/toggle.test.tsx +0 -21
- package/packages/ui-web/src/toggle.tsx +0 -24
- package/packages/ui-web/src/tooltip.tsx +0 -51
- package/packages/ui-web/tsconfig.json +0 -24
- package/packages/ui-web/vite.config.ts +0 -21
- package/postcss.config.mjs +0 -5
- package/release-please-config.json +0 -60
- package/scripts/build-registry.ts +0 -80
- package/scripts/sync-tokens.ts +0 -86
- package/scripts/validate.ts +0 -74
- package/src/globals.css +0 -146
- package/src/index.ts +0 -4
- package/src/setupTests.ts +0 -47
- package/src/types/nativewind.d.ts +0 -19
- package/tailwind.config.js +0 -48
- package/tsconfig.build.json +0 -22
- package/tsconfig.json +0 -30
- package/tsconfig.node.json +0 -11
- package/vite.config.ts +0 -106
- package/vitest.config.ts +0 -23
- package/wrangler.toml +0 -22
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Shadow / elevation tokens for the GV Tech design system.
|
|
2
|
-
// Web values use CSS box-shadow syntax.
|
|
3
|
-
// Native consumers should map these to platform-specific elevation or shadow props.
|
|
4
|
-
|
|
5
|
-
export const shadows = {
|
|
6
|
-
none: 'none',
|
|
7
|
-
sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
|
|
8
|
-
default: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
|
|
9
|
-
md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
|
|
10
|
-
lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
|
|
11
|
-
xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
|
|
12
|
-
'2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
|
|
13
|
-
inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
|
|
14
|
-
} as const;
|
|
15
|
-
|
|
16
|
-
export type ShadowTokens = typeof shadows;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Spacing scale for the GV Tech design system.
|
|
2
|
-
// Based on a 4px baseline grid. Values are in rem (assuming 16px root font size).
|
|
3
|
-
|
|
4
|
-
export const spacing = {
|
|
5
|
-
px: '1px',
|
|
6
|
-
0: '0',
|
|
7
|
-
0.5: '0.125rem', // 2px
|
|
8
|
-
1: '0.25rem', // 4px
|
|
9
|
-
1.5: '0.375rem', // 6px
|
|
10
|
-
2: '0.5rem', // 8px
|
|
11
|
-
2.5: '0.625rem', // 10px
|
|
12
|
-
3: '0.75rem', // 12px
|
|
13
|
-
3.5: '0.875rem', // 14px
|
|
14
|
-
4: '1rem', // 16px
|
|
15
|
-
5: '1.25rem', // 20px
|
|
16
|
-
6: '1.5rem', // 24px
|
|
17
|
-
7: '1.75rem', // 28px
|
|
18
|
-
8: '2rem', // 32px
|
|
19
|
-
9: '2.25rem', // 36px
|
|
20
|
-
10: '2.5rem', // 40px
|
|
21
|
-
12: '3rem', // 48px
|
|
22
|
-
14: '3.5rem', // 56px
|
|
23
|
-
16: '4rem', // 64px
|
|
24
|
-
20: '5rem', // 80px
|
|
25
|
-
24: '6rem', // 96px
|
|
26
|
-
32: '8rem', // 128px
|
|
27
|
-
40: '10rem', // 160px
|
|
28
|
-
48: '12rem', // 192px
|
|
29
|
-
56: '14rem', // 224px
|
|
30
|
-
64: '16rem', // 256px
|
|
31
|
-
} as const;
|
|
32
|
-
|
|
33
|
-
export type SpacingTokens = typeof spacing;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// Semantic theme tokens for the GV Tech design system.
|
|
2
|
-
// These map primitive palette values to semantic roles (background, foreground, etc.)
|
|
3
|
-
// for both light and dark modes. Components should reference these tokens, not palette directly.
|
|
4
|
-
|
|
5
|
-
import { palette } from './palette';
|
|
6
|
-
|
|
7
|
-
export const theme = {
|
|
8
|
-
light: {
|
|
9
|
-
background: palette.neutral.gray50,
|
|
10
|
-
foreground: palette.neutral.gray600,
|
|
11
|
-
card: palette.neutral.white,
|
|
12
|
-
cardForeground: palette.neutral.gray600,
|
|
13
|
-
popover: palette.neutral.white,
|
|
14
|
-
popoverForeground: palette.neutral.gray600,
|
|
15
|
-
primary: palette.brand.blue,
|
|
16
|
-
primaryForeground: palette.neutral.white,
|
|
17
|
-
secondary: palette.semantic.success,
|
|
18
|
-
secondaryForeground: palette.neutral.white,
|
|
19
|
-
muted: palette.neutral.gray100,
|
|
20
|
-
mutedForeground: palette.neutral.gray500,
|
|
21
|
-
accent: palette.neutral.gray300,
|
|
22
|
-
accentForeground: palette.neutral.gray600,
|
|
23
|
-
destructive: palette.semantic.destructive,
|
|
24
|
-
destructiveForeground: palette.neutral.white,
|
|
25
|
-
border: palette.neutral.gray200,
|
|
26
|
-
input: palette.neutral.gray200,
|
|
27
|
-
ring: palette.neutral.gray600,
|
|
28
|
-
radius: '0.5rem',
|
|
29
|
-
},
|
|
30
|
-
dark: {
|
|
31
|
-
background: palette.neutral.gray975,
|
|
32
|
-
foreground: palette.neutral.white,
|
|
33
|
-
card: palette.neutral.gray900,
|
|
34
|
-
cardForeground: palette.neutral.white,
|
|
35
|
-
popover: palette.neutral.gray950,
|
|
36
|
-
popoverForeground: palette.neutral.white,
|
|
37
|
-
primary: 'hsl(227 96% 71%)', // Keeping as specific HSL to match original
|
|
38
|
-
primaryForeground: palette.neutral.gray975,
|
|
39
|
-
secondary: palette.semantic.successDark,
|
|
40
|
-
secondaryForeground: palette.neutral.gray975,
|
|
41
|
-
muted: palette.neutral.gray990,
|
|
42
|
-
mutedForeground: palette.neutral.gray400,
|
|
43
|
-
accent: palette.neutral.gray800,
|
|
44
|
-
accentForeground: palette.neutral.white,
|
|
45
|
-
destructive: palette.semantic.destructiveDark,
|
|
46
|
-
destructiveForeground: palette.neutral.white,
|
|
47
|
-
border: palette.neutral.gray700,
|
|
48
|
-
input: palette.neutral.gray700,
|
|
49
|
-
ring: 'hsl(0 0% 90%)', // Platinum
|
|
50
|
-
radius: '0.5rem',
|
|
51
|
-
},
|
|
52
|
-
} as const;
|
|
53
|
-
|
|
54
|
-
export type ThemeTokens = typeof theme.light;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// Typography tokens for the GV Tech design system.
|
|
2
|
-
// Defines font families, sizes, weights, and line heights.
|
|
3
|
-
|
|
4
|
-
export const typography = {
|
|
5
|
-
fontFamily: {
|
|
6
|
-
sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
|
|
7
|
-
mono: 'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',
|
|
8
|
-
},
|
|
9
|
-
fontSize: {
|
|
10
|
-
xs: '0.75rem', // 12px
|
|
11
|
-
sm: '0.875rem', // 14px
|
|
12
|
-
base: '1rem', // 16px
|
|
13
|
-
lg: '1.125rem', // 18px
|
|
14
|
-
xl: '1.25rem', // 20px
|
|
15
|
-
'2xl': '1.5rem', // 24px
|
|
16
|
-
'3xl': '1.875rem', // 30px
|
|
17
|
-
'4xl': '2.25rem', // 36px
|
|
18
|
-
'5xl': '3rem', // 48px
|
|
19
|
-
},
|
|
20
|
-
fontWeight: {
|
|
21
|
-
normal: '400',
|
|
22
|
-
medium: '500',
|
|
23
|
-
semibold: '600',
|
|
24
|
-
bold: '700',
|
|
25
|
-
},
|
|
26
|
-
lineHeight: {
|
|
27
|
-
none: '1',
|
|
28
|
-
tight: '1.25',
|
|
29
|
-
snug: '1.375',
|
|
30
|
-
normal: '1.5',
|
|
31
|
-
relaxed: '1.625',
|
|
32
|
-
loose: '2',
|
|
33
|
-
},
|
|
34
|
-
} as const;
|
|
35
|
-
|
|
36
|
-
export type TypographyTokens = typeof typography;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"moduleResolution": "bundler",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationMap": true,
|
|
8
|
-
"sourceMap": true,
|
|
9
|
-
"strict": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"outDir": "dist",
|
|
14
|
-
"rootDir": "src"
|
|
15
|
-
},
|
|
16
|
-
"include": ["src"]
|
|
17
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [0.1.0](https://github.com/Garcia-Ventures/gvtech-design/compare/ui-core-v0.0.1...ui-core-v0.1.0) (2026-02-20)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
### Features
|
|
7
|
-
|
|
8
|
-
* **universal:** pivot to monorepo architecture and stabilize react native support ([#63](https://github.com/Garcia-Ventures/gvtech-design/issues/63)) ([3458938](https://github.com/Garcia-Ventures/gvtech-design/commit/3458938c17bdfc7a7f5eea0053b7bf1786a571fa))
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@gv-tech/ui-core",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"description": "Shared component contracts (props, variants, sizes) for the GV Tech design system",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/Garcia-Ventures/gvtech-design.git",
|
|
8
|
-
"directory": "packages/ui-core"
|
|
9
|
-
},
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"author": "Eric N. Garcia <eng618@garciaericn.com>",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./src/index.ts",
|
|
15
|
-
"default": "./src/index.ts"
|
|
16
|
-
},
|
|
17
|
-
"./contracts/*": {
|
|
18
|
-
"types": "./src/contracts/*.ts",
|
|
19
|
-
"default": "./src/contracts/*.ts"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"main": "src/index.ts",
|
|
23
|
-
"types": "src/index.ts",
|
|
24
|
-
"scripts": {
|
|
25
|
-
"build": "echo 'No build step — consumed as TS source by sibling packages'",
|
|
26
|
-
"lint": "echo 'Linted from workspace root'",
|
|
27
|
-
"test": "echo 'No tests yet'",
|
|
28
|
-
"typecheck": "yarn tsc --noEmit"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"class-variance-authority": "^0.7.1"
|
|
32
|
-
},
|
|
33
|
-
"peerDependencies": {
|
|
34
|
-
"react": ">=18"
|
|
35
|
-
},
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public",
|
|
38
|
-
"provenance": true
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface AccordionBaseProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface AccordionItemBaseProps {
|
|
9
|
-
value: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface AccordionTriggerBaseProps {
|
|
16
|
-
className?: string;
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface AccordionContentBaseProps {
|
|
21
|
-
className?: string;
|
|
22
|
-
children?: React.ReactNode;
|
|
23
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface AlertDialogBaseProps {
|
|
4
|
-
open?: boolean;
|
|
5
|
-
onOpenChange?: (open: boolean) => void;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface AlertDialogContentBaseProps {
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface AlertDialogHeaderBaseProps {
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface AlertDialogFooterBaseProps {
|
|
20
|
-
className?: string;
|
|
21
|
-
children?: React.ReactNode;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface AlertDialogTitleBaseProps {
|
|
25
|
-
className?: string;
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface AlertDialogDescriptionBaseProps {
|
|
30
|
-
className?: string;
|
|
31
|
-
children?: React.ReactNode;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface AlertDialogActionBaseProps {
|
|
35
|
-
className?: string;
|
|
36
|
-
children?: React.ReactNode;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface AlertDialogCancelBaseProps {
|
|
40
|
-
className?: string;
|
|
41
|
-
children?: React.ReactNode;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface AlertDialogTriggerBaseProps {
|
|
45
|
-
className?: string;
|
|
46
|
-
children?: React.ReactNode;
|
|
47
|
-
asChild?: boolean;
|
|
48
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface AlertBaseProps {
|
|
4
|
-
variant?: 'default' | 'destructive' | 'warning' | 'info';
|
|
5
|
-
className?: string;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface AlertTitleBaseProps {
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface AlertDescriptionBaseProps {
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface AvatarBaseProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface AvatarImageBaseProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
src?: string;
|
|
11
|
-
alt?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface AvatarFallbackBaseProps {
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface BreadcrumbBaseProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface BreadcrumbListBaseProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface BreadcrumbItemBaseProps {
|
|
14
|
-
className?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface BreadcrumbLinkBaseProps {
|
|
19
|
-
className?: string;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
asChild?: boolean;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface BreadcrumbPageBaseProps {
|
|
25
|
-
className?: string;
|
|
26
|
-
children?: React.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface BreadcrumbSeparatorBaseProps {
|
|
30
|
-
className?: string;
|
|
31
|
-
children?: React.ReactNode;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface BreadcrumbEllipsisBaseProps {
|
|
35
|
-
className?: string;
|
|
36
|
-
children?: React.ReactNode;
|
|
37
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Shared Button variant and size contracts.
|
|
2
|
-
// Both ui-web and ui-native implementations must satisfy these types.
|
|
3
|
-
|
|
4
|
-
export const buttonVariantValues = ['default', 'destructive', 'outline', 'secondary', 'ghost', 'link'] as const;
|
|
5
|
-
export type ButtonVariant = (typeof buttonVariantValues)[number];
|
|
6
|
-
|
|
7
|
-
export const buttonSizeValues = ['default', 'sm', 'lg', 'icon'] as const;
|
|
8
|
-
export type ButtonSize = (typeof buttonSizeValues)[number];
|
|
9
|
-
|
|
10
|
-
// Platform-agnostic props shared by every Button implementation.
|
|
11
|
-
// Does NOT include variant/size — those come from platform-specific CVA bindings
|
|
12
|
-
// to avoid type conflicts with VariantProps.
|
|
13
|
-
export interface ButtonBaseProps {
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Shared Card contracts.
|
|
2
|
-
// Both ui-web and ui-native implementations must satisfy these types.
|
|
3
|
-
|
|
4
|
-
// Platform-agnostic props shared by every Card sub-component.
|
|
5
|
-
export interface CardBaseProps {
|
|
6
|
-
className?: string;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Card exports the same sub-components on both platforms.
|
|
11
|
-
export type CardSubComponent = 'Card' | 'CardHeader' | 'CardTitle' | 'CardDescription' | 'CardContent' | 'CardFooter';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface CarouselBaseProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
orientation?: 'horizontal' | 'vertical';
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface CarouselContentBaseProps {
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface CarouselItemBaseProps {
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface CarouselPreviousBaseProps {
|
|
20
|
-
className?: string;
|
|
21
|
-
variant?: string;
|
|
22
|
-
size?: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface CarouselNextBaseProps {
|
|
26
|
-
className?: string;
|
|
27
|
-
variant?: string;
|
|
28
|
-
size?: string;
|
|
29
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export type ChartConfig = {
|
|
4
|
-
[k in string]: {
|
|
5
|
-
label?: React.ReactNode;
|
|
6
|
-
icon?: React.ComponentType;
|
|
7
|
-
} & ({ color?: string; theme?: never } | { color?: never; theme: Record<string, string> });
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export interface ChartContainerBaseProps {
|
|
11
|
-
config: ChartConfig;
|
|
12
|
-
className?: string;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
id?: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface ChartTooltipContentBaseProps {
|
|
18
|
-
hideLabel?: boolean;
|
|
19
|
-
hideIndicator?: boolean;
|
|
20
|
-
indicator?: 'line' | 'dot' | 'dashed';
|
|
21
|
-
nameKey?: string;
|
|
22
|
-
labelKey?: string;
|
|
23
|
-
className?: string;
|
|
24
|
-
labelClassName?: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface ChartLegendContentBaseProps {
|
|
28
|
-
hideIcon?: boolean;
|
|
29
|
-
nameKey?: string;
|
|
30
|
-
className?: string;
|
|
31
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Shared Checkbox contracts.
|
|
2
|
-
// Both ui-web and ui-native implementations must satisfy these types.
|
|
3
|
-
|
|
4
|
-
// Platform-agnostic props shared by every Checkbox implementation.
|
|
5
|
-
export interface CheckboxBaseProps {
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
defaultChecked?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
className?: string;
|
|
10
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
11
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface CollapsibleBaseProps {
|
|
4
|
-
open?: boolean;
|
|
5
|
-
onOpenChange?: (open: boolean) => void;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface CollapsibleTriggerBaseProps {
|
|
12
|
-
asChild?: boolean;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface CollapsibleContentBaseProps {
|
|
18
|
-
asChild?: boolean;
|
|
19
|
-
children?: React.ReactNode;
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface CommandBaseProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface CommandInputBaseProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface CommandListBaseProps {
|
|
14
|
-
className?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface CommandEmptyBaseProps {
|
|
19
|
-
className?: string;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface CommandGroupBaseProps {
|
|
24
|
-
className?: string;
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
heading?: React.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface CommandItemBaseProps {
|
|
30
|
-
className?: string;
|
|
31
|
-
children?: React.ReactNode;
|
|
32
|
-
onSelect?: (value: string) => void;
|
|
33
|
-
value?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface CommandSeparatorBaseProps {
|
|
37
|
-
className?: string;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface CommandShortcutBaseProps {
|
|
41
|
-
className?: string;
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
export interface ContextMenuBaseProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface ContextMenuTriggerBaseProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface ContextMenuContentBaseProps {
|
|
13
|
-
className?: string;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface ContextMenuItemBaseProps {
|
|
18
|
-
className?: string;
|
|
19
|
-
children?: React.ReactNode;
|
|
20
|
-
inset?: boolean;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
onSelect?: (event: Event) => void;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface ContextMenuCheckboxItemBaseProps {
|
|
26
|
-
className?: string;
|
|
27
|
-
children?: React.ReactNode;
|
|
28
|
-
checked?: boolean | 'indeterminate';
|
|
29
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface ContextMenuRadioItemBaseProps {
|
|
34
|
-
className?: string;
|
|
35
|
-
children?: React.ReactNode;
|
|
36
|
-
value: string;
|
|
37
|
-
disabled?: boolean;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface ContextMenuLabelBaseProps {
|
|
41
|
-
className?: string;
|
|
42
|
-
children?: React.ReactNode;
|
|
43
|
-
inset?: boolean;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface ContextMenuSeparatorBaseProps {
|
|
47
|
-
className?: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export interface ContextMenuShortcutBaseProps {
|
|
51
|
-
className?: string;
|
|
52
|
-
children?: React.ReactNode;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface ContextMenuSubBaseProps {
|
|
56
|
-
children?: React.ReactNode;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export interface ContextMenuSubTriggerBaseProps {
|
|
60
|
-
className?: string;
|
|
61
|
-
children?: React.ReactNode;
|
|
62
|
-
inset?: boolean;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export interface ContextMenuSubContentBaseProps {
|
|
66
|
-
className?: string;
|
|
67
|
-
children?: React.ReactNode;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface ContextMenuGroupBaseProps {
|
|
71
|
-
children?: React.ReactNode;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export interface ContextMenuRadioGroupBaseProps {
|
|
75
|
-
children?: React.ReactNode;
|
|
76
|
-
value?: string;
|
|
77
|
-
onValueChange?: (value: string) => void;
|
|
78
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// Shared Dialog / Sheet contracts.
|
|
2
|
-
// Maps to Dialog on web, BottomSheet / Modal on native.
|
|
3
|
-
|
|
4
|
-
// Platform-agnostic props shared by every Dialog implementation.
|
|
5
|
-
export interface DialogBaseProps {
|
|
6
|
-
open?: boolean;
|
|
7
|
-
defaultOpen?: boolean;
|
|
8
|
-
onOpenChange?: (open: boolean) => void;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// Platform-agnostic props for Dialog content area.
|
|
13
|
-
export interface DialogContentBaseProps {
|
|
14
|
-
className?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
title?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
// Dialog exports the same sub-components on both platforms.
|
|
21
|
-
export type DialogSubComponent =
|
|
22
|
-
| 'Dialog'
|
|
23
|
-
| 'DialogTrigger'
|
|
24
|
-
| 'DialogContent'
|
|
25
|
-
| 'DialogHeader'
|
|
26
|
-
| 'DialogTitle'
|
|
27
|
-
| 'DialogDescription'
|
|
28
|
-
| 'DialogFooter'
|
|
29
|
-
| 'DialogClose';
|