@dalexto/lexsys-registry 0.1.1 → 0.1.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/dist/index.js +12 -3
- package/package.json +2 -2
- package/templates/blocks/AuthForm/AuthForm.tsx +2 -2
- package/templates/blocks/AuthForm/AuthForm.types.ts +3 -3
- package/templates/blocks/CommandPalette/CommandPalette.tsx +4 -4
- package/templates/blocks/CommandPalette/CommandPalette.types.ts +2 -2
- package/templates/blocks/DataTable/DataTable.tsx +2 -2
- package/templates/blocks/DataTable/DataTable.types.ts +2 -2
- package/templates/blocks/FilterToolbar/FilterToolbar.tsx +4 -4
- package/templates/blocks/FilterToolbar/FilterToolbar.types.ts +4 -4
- package/templates/blocks/FormField/FormField.tsx +1 -1
- package/templates/blocks/FormField/FormField.types.ts +1 -1
- package/templates/blocks/PageHeader/PageHeader.tsx +2 -2
- package/templates/blocks/PageHeader/PageHeader.types.ts +2 -2
- package/templates/blocks/SettingsPanel/SettingsPanel.tsx +1 -1
- package/templates/blocks/SettingsPanel/SettingsPanel.types.ts +1 -1
- package/templates/blocks/Sidebar/Sidebar.tsx +935 -22
- package/templates/blocks/Sidebar/Sidebar.types.ts +155 -1
- package/templates/blocks/Sidebar/Sidebar.utils.ts +34 -0
- package/templates/blocks/Sidebar/Sidebar.variants.ts +310 -17
- package/templates/blocks/StatsCard/StatsCard.tsx +1 -1
- package/templates/blocks/StatsCard/StatsCard.types.ts +1 -1
- package/templates/styles/theme.css +9 -1
- package/templates/styles/tokens.css +34 -1
- package/templates/templates/SettingsPageLayout/SettingsPageLayout.tsx +2 -2
- package/templates/templates/SettingsPageLayout/SettingsPageLayout.types.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -1503,10 +1503,19 @@ var sidebarRegistryItem = {
|
|
|
1503
1503
|
files: [
|
|
1504
1504
|
"blocks/Sidebar/Sidebar.tsx",
|
|
1505
1505
|
"blocks/Sidebar/Sidebar.types.ts",
|
|
1506
|
-
"blocks/Sidebar/Sidebar.variants.ts"
|
|
1506
|
+
"blocks/Sidebar/Sidebar.variants.ts",
|
|
1507
|
+
"blocks/Sidebar/Sidebar.utils.ts"
|
|
1508
|
+
],
|
|
1509
|
+
dependencies: ["@base-ui/react", "clsx", "lucide-react", "tailwind-merge"],
|
|
1510
|
+
registryDependencies: [
|
|
1511
|
+
"badge",
|
|
1512
|
+
"button",
|
|
1513
|
+
"collapsible",
|
|
1514
|
+
"drawer",
|
|
1515
|
+
"input",
|
|
1516
|
+
"scroll-area",
|
|
1517
|
+
"separator"
|
|
1507
1518
|
],
|
|
1508
|
-
dependencies: ["clsx", "tailwind-merge"],
|
|
1509
|
-
registryDependencies: ["button", "drawer", "scroll-area"],
|
|
1510
1519
|
utilities: ["cn"],
|
|
1511
1520
|
styles: ["theme"],
|
|
1512
1521
|
target: "src/components/ui/Sidebar"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalexto/lexsys-registry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Install metadata and templates for the Lexsys registry-first UI framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"node": ">=24 <25"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/node": "^25.9.
|
|
38
|
+
"@types/node": "^25.9.2"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "tsup && tsc -p tsconfig.json --emitDeclarationOnly --outDir dist",
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
CardContent,
|
|
11
11
|
CardFooter,
|
|
12
12
|
CardHeader,
|
|
13
|
-
} from "@/components/primitives/Card"
|
|
14
|
-
import { Button } from "@/components/primitives/Button"
|
|
13
|
+
} from "@/components/primitives/Card/Card"
|
|
14
|
+
import { Button } from "@/components/primitives/Button/Button"
|
|
15
15
|
import type {
|
|
16
16
|
AuthFormContentProps,
|
|
17
17
|
AuthFormFooterProps,
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import type { FormEventHandler, ReactNode, Ref } from "react"
|
|
8
|
-
import type { CardProps } from "@/components/primitives/Card"
|
|
9
|
-
import type { ButtonProps } from "@/components/primitives/Button"
|
|
8
|
+
import type { CardProps } from "@/components/primitives/Card/Card.types"
|
|
9
|
+
import type { ButtonProps } from "@/components/primitives/Button/Button.types"
|
|
10
10
|
import type {
|
|
11
11
|
CardContentProps,
|
|
12
12
|
CardFooterProps,
|
|
13
13
|
CardHeaderProps,
|
|
14
|
-
} from "@/components/primitives/Card"
|
|
14
|
+
} from "@/components/primitives/Card/Card.types"
|
|
15
15
|
|
|
16
16
|
export interface AuthFormProps extends Omit<
|
|
17
17
|
CardProps,
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
DialogPortal,
|
|
13
13
|
DialogTitle,
|
|
14
14
|
DialogViewport,
|
|
15
|
-
} from "@/components/primitives/Dialog"
|
|
15
|
+
} from "@/components/primitives/Dialog/Dialog"
|
|
16
16
|
import {
|
|
17
17
|
ComboboxInput,
|
|
18
18
|
ComboboxInputGroup,
|
|
19
|
-
} from "@/components/primitives/Combobox"
|
|
20
|
-
import { Separator } from "@/components/primitives/Separator"
|
|
19
|
+
} from "@/components/primitives/Combobox/Combobox"
|
|
20
|
+
import { Separator } from "@/components/primitives/Separator/Separator"
|
|
21
21
|
import {
|
|
22
22
|
ScrollArea,
|
|
23
23
|
ScrollAreaContent,
|
|
24
24
|
ScrollAreaViewport,
|
|
25
|
-
} from "@/components/primitives/ScrollArea"
|
|
25
|
+
} from "@/components/primitives/ScrollArea/ScrollArea"
|
|
26
26
|
import type {
|
|
27
27
|
CommandPaletteContentProps,
|
|
28
28
|
CommandPaletteDescriptionProps,
|
|
@@ -10,8 +10,8 @@ import type {
|
|
|
10
10
|
ReactNode,
|
|
11
11
|
Ref,
|
|
12
12
|
} from "react"
|
|
13
|
-
import type { DialogProps } from "@/components/primitives/Dialog"
|
|
14
|
-
import type { ComboboxInputProps } from "@/components/primitives/Combobox"
|
|
13
|
+
import type { DialogProps } from "@/components/primitives/Dialog/Dialog.types"
|
|
14
|
+
import type { ComboboxInputProps } from "@/components/primitives/Combobox/Combobox.types"
|
|
15
15
|
|
|
16
16
|
export interface CommandPaletteProps extends DialogProps {
|
|
17
17
|
children?: ReactNode
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
PaginationLink,
|
|
13
13
|
PaginationNext,
|
|
14
14
|
PaginationPrevious,
|
|
15
|
-
} from "@/components/primitives/Pagination"
|
|
15
|
+
} from "@/components/primitives/Pagination/Pagination"
|
|
16
16
|
import {
|
|
17
17
|
Table,
|
|
18
18
|
TableBody,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
TableHead,
|
|
23
23
|
TableHeader,
|
|
24
24
|
TableRow,
|
|
25
|
-
} from "@/components/primitives/Table"
|
|
25
|
+
} from "@/components/primitives/Table/Table"
|
|
26
26
|
import type {
|
|
27
27
|
DataTableBodyProps,
|
|
28
28
|
DataTableCaptionProps,
|
|
@@ -13,7 +13,7 @@ import type {
|
|
|
13
13
|
PaginationNextProps,
|
|
14
14
|
PaginationPreviousProps,
|
|
15
15
|
PaginationProps,
|
|
16
|
-
} from "@/components/primitives/Pagination"
|
|
16
|
+
} from "@/components/primitives/Pagination/Pagination.types"
|
|
17
17
|
import type {
|
|
18
18
|
TableBodyProps,
|
|
19
19
|
TableCaptionProps,
|
|
@@ -23,7 +23,7 @@ import type {
|
|
|
23
23
|
TableHeaderProps,
|
|
24
24
|
TableProps,
|
|
25
25
|
TableRowProps,
|
|
26
|
-
} from "@/components/primitives/Table"
|
|
26
|
+
} from "@/components/primitives/Table/Table.types"
|
|
27
27
|
|
|
28
28
|
export interface DataTableProps extends HTMLAttributes<HTMLDivElement> {
|
|
29
29
|
ref?: Ref<HTMLDivElement>
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* Reference FilterToolbar block — compound Toolbar filter row.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { Button } from "@/components/primitives/Button"
|
|
8
|
-
import { Input } from "@/components/primitives/Input"
|
|
7
|
+
import { Button } from "@/components/primitives/Button/Button"
|
|
8
|
+
import { Input } from "@/components/primitives/Input/Input"
|
|
9
9
|
import {
|
|
10
10
|
Select,
|
|
11
11
|
SelectTrigger,
|
|
12
12
|
SelectValue,
|
|
13
|
-
} from "@/components/primitives/Select"
|
|
14
|
-
import { Toolbar, ToolbarGroup } from "@/components/primitives/Toolbar"
|
|
13
|
+
} from "@/components/primitives/Select/Select"
|
|
14
|
+
import { Toolbar, ToolbarGroup } from "@/components/primitives/Toolbar/Toolbar"
|
|
15
15
|
import type {
|
|
16
16
|
FilterToolbarButtonProps,
|
|
17
17
|
FilterToolbarGroupProps,
|
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
* Public types for the FilterToolbar block.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { ButtonProps } from "@/components/primitives/Button"
|
|
8
|
-
import type { InputProps } from "@/components/primitives/Input"
|
|
7
|
+
import type { ButtonProps } from "@/components/primitives/Button/Button.types"
|
|
8
|
+
import type { InputProps } from "@/components/primitives/Input/Input.types"
|
|
9
9
|
import type {
|
|
10
10
|
SelectProps,
|
|
11
11
|
SelectTriggerProps,
|
|
12
12
|
SelectValueProps,
|
|
13
|
-
} from "@/components/primitives/Select"
|
|
13
|
+
} from "@/components/primitives/Select/Select.types"
|
|
14
14
|
import type {
|
|
15
15
|
ToolbarGroupProps,
|
|
16
16
|
ToolbarProps,
|
|
17
|
-
} from "@/components/primitives/Toolbar"
|
|
17
|
+
} from "@/components/primitives/Toolbar/Toolbar.types"
|
|
18
18
|
|
|
19
19
|
export type FilterToolbarProps = ToolbarProps
|
|
20
20
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reference PageHeader block — compound page title surface with breadcrumb and actions.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { Button } from "@/components/primitives/Button"
|
|
7
|
+
import { Button } from "@/components/primitives/Button/Button"
|
|
8
8
|
import {
|
|
9
9
|
Breadcrumb,
|
|
10
10
|
BreadcrumbItem,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
BreadcrumbList,
|
|
13
13
|
BreadcrumbPage,
|
|
14
14
|
BreadcrumbSeparator,
|
|
15
|
-
} from "@/components/primitives/Breadcrumb"
|
|
15
|
+
} from "@/components/primitives/Breadcrumb/Breadcrumb"
|
|
16
16
|
import type {
|
|
17
17
|
PageHeaderActionProps,
|
|
18
18
|
PageHeaderActionsProps,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import type { HTMLAttributes, ReactNode, Ref } from "react"
|
|
8
|
-
import type { ButtonProps } from "@/components/primitives/Button"
|
|
8
|
+
import type { ButtonProps } from "@/components/primitives/Button/Button.types"
|
|
9
9
|
import type {
|
|
10
10
|
BreadcrumbItemProps,
|
|
11
11
|
BreadcrumbLinkProps,
|
|
@@ -13,7 +13,7 @@ import type {
|
|
|
13
13
|
BreadcrumbPageProps,
|
|
14
14
|
BreadcrumbProps,
|
|
15
15
|
BreadcrumbSeparatorProps,
|
|
16
|
-
} from "@/components/primitives/Breadcrumb"
|
|
16
|
+
} from "@/components/primitives/Breadcrumb/Breadcrumb.types"
|
|
17
17
|
|
|
18
18
|
export interface PageHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
19
19
|
ref?: Ref<HTMLElement>
|
|
@@ -12,7 +12,7 @@ import type {
|
|
|
12
12
|
CardHeaderProps,
|
|
13
13
|
CardProps,
|
|
14
14
|
CardTitleProps,
|
|
15
|
-
} from "@/components/primitives/Card"
|
|
15
|
+
} from "@/components/primitives/Card/Card.types"
|
|
16
16
|
|
|
17
17
|
export interface SettingsPanelProps extends Omit<CardProps, "children"> {
|
|
18
18
|
ref?: Ref<HTMLDivElement>
|