@databricks/appkit-ui 0.13.0 → 0.14.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/dist/cli/commands/setup.js +16 -0
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/react/charts/options.d.ts.map +1 -1
- package/dist/react/table/data-table.d.ts +2 -2
- package/dist/react/table/data-table.d.ts.map +1 -1
- package/dist/react/ui/collapsible.d.ts +4 -4
- package/dist/react/ui/command.d.ts +10 -10
- package/dist/react/ui/context-menu.d.ts +16 -16
- package/dist/react/ui/dialog.d.ts +11 -11
- package/dist/react/ui/drawer.d.ts +11 -11
- package/dist/react/ui/dropdown-menu.d.ts +16 -16
- package/dist/react/ui/empty.d.ts +7 -7
- package/dist/react/ui/field.d.ts +11 -11
- package/dist/react/ui/form.d.ts +7 -7
- package/dist/react/ui/hover-card.d.ts +4 -4
- package/dist/react/ui/input-group.d.ts +7 -7
- package/dist/react/ui/input-otp.d.ts +5 -5
- package/dist/react/ui/input.d.ts +2 -2
- package/dist/react/ui/item.d.ts +11 -11
- package/dist/react/ui/kbd.d.ts +3 -3
- package/dist/react/ui/label.d.ts +2 -2
- package/dist/react/ui/menubar.d.ts +17 -17
- package/dist/react/ui/navigation-menu.d.ts +9 -9
- package/dist/react/ui/pagination.d.ts +8 -8
- package/dist/react/ui/popover.d.ts +5 -5
- package/dist/react/ui/progress.d.ts +2 -2
- package/dist/react/ui/radio-group.d.ts +3 -3
- package/dist/react/ui/resizable.d.ts +4 -4
- package/dist/react/ui/scroll-area.d.ts +3 -3
- package/dist/react/ui/select.d.ts +11 -11
- package/dist/react/ui/separator.d.ts +2 -2
- package/dist/react/ui/sheet.d.ts +9 -9
- package/dist/react/ui/sidebar.d.ts +24 -24
- package/dist/react/ui/skeleton.d.ts +2 -2
- package/dist/react/ui/slider.d.ts +2 -2
- package/dist/react/ui/sonner.d.ts +2 -2
- package/dist/react/ui/spinner.d.ts +2 -2
- package/dist/react/ui/switch.d.ts +2 -2
- package/dist/react/ui/table.d.ts +9 -9
- package/dist/react/ui/tabs.d.ts +5 -5
- package/dist/react/ui/textarea.d.ts +2 -2
- package/dist/react/ui/toggle-group.d.ts +3 -3
- package/dist/react/ui/toggle.d.ts +2 -2
- package/package.json +1 -1
|
@@ -37,6 +37,14 @@ ${packages.map((pkg) => {
|
|
|
37
37
|
const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;
|
|
38
38
|
return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;
|
|
39
39
|
}).join("\n")}
|
|
40
|
+
|
|
41
|
+
### Databricks Skills
|
|
42
|
+
|
|
43
|
+
For enhanced AI assistance with Databricks CLI operations, authentication, data exploration, and app development, install the Databricks skills:
|
|
44
|
+
|
|
45
|
+
\`\`\`bash
|
|
46
|
+
databricks experimental aitools skills install
|
|
47
|
+
\`\`\`
|
|
40
48
|
${SECTION_END}`;
|
|
41
49
|
}
|
|
42
50
|
/**
|
|
@@ -54,6 +62,14 @@ ${packages.map((pkg) => {
|
|
|
54
62
|
const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;
|
|
55
63
|
return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;
|
|
56
64
|
}).join("\n")}
|
|
65
|
+
|
|
66
|
+
### Databricks Skills
|
|
67
|
+
|
|
68
|
+
For enhanced AI assistance with Databricks CLI operations, authentication, data exploration, and app development, install the Databricks skills:
|
|
69
|
+
|
|
70
|
+
\`\`\`bash
|
|
71
|
+
databricks experimental aitools skills install
|
|
72
|
+
\`\`\`
|
|
57
73
|
${SECTION_END}
|
|
58
74
|
`;
|
|
59
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","names":[],"sources":["../../../src/cli/commands/setup.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport path from \"node:path\";\nimport { Command } from \"commander\";\n\nconst PACKAGES = [\n { name: \"@databricks/appkit\", description: \"Backend SDK\" },\n {\n name: \"@databricks/appkit-ui\",\n description: \"UI Integration, Charts, Tables, SSE, and more.\",\n },\n];\n\nconst SECTION_START = \"<!-- appkit-instructions-start -->\";\nconst SECTION_END = \"<!-- appkit-instructions-end -->\";\n\n/**\n * Find which AppKit packages are installed by checking for package.json\n */\nfunction findInstalledPackages() {\n const cwd = process.cwd();\n const installed = [];\n\n for (const pkg of PACKAGES) {\n const packagePath = path.join(\n cwd,\n \"node_modules\",\n pkg.name,\n \"package.json\",\n );\n if (fs.existsSync(packagePath)) {\n installed.push(pkg);\n }\n }\n\n return installed;\n}\n\n/**\n * Generate the AppKit section content\n */\nfunction generateSection(packages: typeof PACKAGES) {\n const links = packages\n .map((pkg) => {\n const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;\n return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;\n })\n .join(\"\\n\");\n\n return `${SECTION_START}\n## Databricks AppKit\n\nThis project uses Databricks AppKit packages. For AI assistant guidance on using these packages, refer to:\n\n${links}\n${SECTION_END}`;\n}\n\n/**\n * Generate standalone CLAUDE.md content (when no existing file)\n */\nfunction generateStandalone(packages: typeof PACKAGES) {\n const links = packages\n .map((pkg) => {\n const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;\n return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;\n })\n .join(\"\\n\");\n\n return `# AI Assistant Instructions\n\n${SECTION_START}\n## Databricks AppKit\n\nThis project uses Databricks AppKit packages. For AI assistant guidance on using these packages, refer to:\n\n${links}\n${SECTION_END}\n`;\n}\n\n/**\n * Update existing content with AppKit section\n */\nfunction updateContent(existingContent: string, packages: typeof PACKAGES) {\n const newSection = generateSection(packages);\n\n // Check if AppKit section already exists\n const startIndex = existingContent.indexOf(SECTION_START);\n const endIndex = existingContent.indexOf(SECTION_END);\n\n if (startIndex !== -1 && endIndex !== -1) {\n // Replace existing section\n const before = existingContent.substring(0, startIndex);\n const after = existingContent.substring(endIndex + SECTION_END.length);\n return before + newSection + after;\n }\n\n // Append section to end\n return `${existingContent.trimEnd()}\\n\\n${newSection}\\n`;\n}\n\n/**\n * Setup command implementation\n */\nfunction runSetup(options: { write?: boolean }) {\n const shouldWrite = options.write;\n\n // Find installed packages\n const installed = findInstalledPackages();\n\n if (installed.length === 0) {\n console.log(\"No @databricks/appkit packages found in node_modules.\");\n console.log(\"\\nMake sure you've installed at least one of:\");\n PACKAGES.forEach((pkg) => {\n console.log(` - ${pkg.name}`);\n });\n process.exit(1);\n }\n\n console.log(\"Detected packages:\");\n installed.forEach((pkg) => {\n console.log(` ✓ ${pkg.name}`);\n });\n\n const claudePath = path.join(process.cwd(), \"CLAUDE.md\");\n const existingContent = fs.existsSync(claudePath)\n ? fs.readFileSync(claudePath, \"utf-8\")\n : null;\n\n let finalContent: string;\n let action: string;\n\n if (existingContent) {\n finalContent = updateContent(existingContent, installed);\n action = existingContent.includes(SECTION_START) ? \"Updated\" : \"Added to\";\n } else {\n finalContent = generateStandalone(installed);\n action = \"Created\";\n }\n\n if (shouldWrite) {\n fs.writeFileSync(claudePath, finalContent);\n console.log(`\\n✓ ${action} CLAUDE.md`);\n console.log(` Path: ${claudePath}`);\n } else {\n console.log(\"\\nTo create/update CLAUDE.md, run:\");\n console.log(\" npx appkit setup --write\\n\");\n\n if (existingContent) {\n console.log(\n `This will ${\n existingContent.includes(SECTION_START)\n ? \"update the existing\"\n : \"add a new\"\n } AppKit section.\\n`,\n );\n }\n\n console.log(\"Preview of AppKit section:\\n\");\n console.log(\"─\".repeat(50));\n console.log(generateSection(installed));\n console.log(\"─\".repeat(50));\n }\n}\n\nexport const setupCommand = new Command(\"setup\")\n .description(\"Setup CLAUDE.md with AppKit package references\")\n .option(\"-w, --write\", \"Create or update CLAUDE.md file in current directory\")\n .action(runSetup);\n"],"mappings":";;;;;AAIA,MAAM,WAAW,CACf;CAAE,MAAM;CAAsB,aAAa;CAAe,EAC1D;CACE,MAAM;CACN,aAAa;CACd,CACF;AAED,MAAM,gBAAgB;AACtB,MAAM,cAAc;;;;AAKpB,SAAS,wBAAwB;CAC/B,MAAM,MAAM,QAAQ,KAAK;CACzB,MAAM,YAAY,EAAE;AAEpB,MAAK,MAAM,OAAO,UAAU;EAC1B,MAAM,cAAc,KAAK,KACvB,KACA,gBACA,IAAI,MACJ,eACD;AACD,MAAI,GAAG,WAAW,YAAY,CAC5B,WAAU,KAAK,IAAI;;AAIvB,QAAO;;;;;AAMT,SAAS,gBAAgB,UAA2B;AAQlD,QAAO,GAAG,cAAc;;;;;EAPV,SACX,KAAK,QAAQ;EACZ,MAAM,UAAU,kBAAkB,IAAI,KAAK;AAC3C,SAAO,OAAO,IAAI,KAAK,MAAM,IAAI,YAAY,MAAM,QAAQ,IAAI,QAAQ;GACvE,CACD,KAAK,KAAK,CAOP
|
|
1
|
+
{"version":3,"file":"setup.js","names":[],"sources":["../../../src/cli/commands/setup.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport path from \"node:path\";\nimport { Command } from \"commander\";\n\nconst PACKAGES = [\n { name: \"@databricks/appkit\", description: \"Backend SDK\" },\n {\n name: \"@databricks/appkit-ui\",\n description: \"UI Integration, Charts, Tables, SSE, and more.\",\n },\n];\n\nconst SECTION_START = \"<!-- appkit-instructions-start -->\";\nconst SECTION_END = \"<!-- appkit-instructions-end -->\";\n\n/**\n * Find which AppKit packages are installed by checking for package.json\n */\nfunction findInstalledPackages() {\n const cwd = process.cwd();\n const installed = [];\n\n for (const pkg of PACKAGES) {\n const packagePath = path.join(\n cwd,\n \"node_modules\",\n pkg.name,\n \"package.json\",\n );\n if (fs.existsSync(packagePath)) {\n installed.push(pkg);\n }\n }\n\n return installed;\n}\n\n/**\n * Generate the AppKit section content\n */\nfunction generateSection(packages: typeof PACKAGES) {\n const links = packages\n .map((pkg) => {\n const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;\n return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;\n })\n .join(\"\\n\");\n\n return `${SECTION_START}\n## Databricks AppKit\n\nThis project uses Databricks AppKit packages. For AI assistant guidance on using these packages, refer to:\n\n${links}\n\n### Databricks Skills\n\nFor enhanced AI assistance with Databricks CLI operations, authentication, data exploration, and app development, install the Databricks skills:\n\n\\`\\`\\`bash\ndatabricks experimental aitools skills install\n\\`\\`\\`\n${SECTION_END}`;\n}\n\n/**\n * Generate standalone CLAUDE.md content (when no existing file)\n */\nfunction generateStandalone(packages: typeof PACKAGES) {\n const links = packages\n .map((pkg) => {\n const docPath = `./node_modules/${pkg.name}/CLAUDE.md`;\n return `- **${pkg.name}** (${pkg.description}): [${docPath}](${docPath})`;\n })\n .join(\"\\n\");\n\n return `# AI Assistant Instructions\n\n${SECTION_START}\n## Databricks AppKit\n\nThis project uses Databricks AppKit packages. For AI assistant guidance on using these packages, refer to:\n\n${links}\n\n### Databricks Skills\n\nFor enhanced AI assistance with Databricks CLI operations, authentication, data exploration, and app development, install the Databricks skills:\n\n\\`\\`\\`bash\ndatabricks experimental aitools skills install\n\\`\\`\\`\n${SECTION_END}\n`;\n}\n\n/**\n * Update existing content with AppKit section\n */\nfunction updateContent(existingContent: string, packages: typeof PACKAGES) {\n const newSection = generateSection(packages);\n\n // Check if AppKit section already exists\n const startIndex = existingContent.indexOf(SECTION_START);\n const endIndex = existingContent.indexOf(SECTION_END);\n\n if (startIndex !== -1 && endIndex !== -1) {\n // Replace existing section\n const before = existingContent.substring(0, startIndex);\n const after = existingContent.substring(endIndex + SECTION_END.length);\n return before + newSection + after;\n }\n\n // Append section to end\n return `${existingContent.trimEnd()}\\n\\n${newSection}\\n`;\n}\n\n/**\n * Setup command implementation\n */\nfunction runSetup(options: { write?: boolean }) {\n const shouldWrite = options.write;\n\n // Find installed packages\n const installed = findInstalledPackages();\n\n if (installed.length === 0) {\n console.log(\"No @databricks/appkit packages found in node_modules.\");\n console.log(\"\\nMake sure you've installed at least one of:\");\n PACKAGES.forEach((pkg) => {\n console.log(` - ${pkg.name}`);\n });\n process.exit(1);\n }\n\n console.log(\"Detected packages:\");\n installed.forEach((pkg) => {\n console.log(` ✓ ${pkg.name}`);\n });\n\n const claudePath = path.join(process.cwd(), \"CLAUDE.md\");\n const existingContent = fs.existsSync(claudePath)\n ? fs.readFileSync(claudePath, \"utf-8\")\n : null;\n\n let finalContent: string;\n let action: string;\n\n if (existingContent) {\n finalContent = updateContent(existingContent, installed);\n action = existingContent.includes(SECTION_START) ? \"Updated\" : \"Added to\";\n } else {\n finalContent = generateStandalone(installed);\n action = \"Created\";\n }\n\n if (shouldWrite) {\n fs.writeFileSync(claudePath, finalContent);\n console.log(`\\n✓ ${action} CLAUDE.md`);\n console.log(` Path: ${claudePath}`);\n } else {\n console.log(\"\\nTo create/update CLAUDE.md, run:\");\n console.log(\" npx appkit setup --write\\n\");\n\n if (existingContent) {\n console.log(\n `This will ${\n existingContent.includes(SECTION_START)\n ? \"update the existing\"\n : \"add a new\"\n } AppKit section.\\n`,\n );\n }\n\n console.log(\"Preview of AppKit section:\\n\");\n console.log(\"─\".repeat(50));\n console.log(generateSection(installed));\n console.log(\"─\".repeat(50));\n }\n}\n\nexport const setupCommand = new Command(\"setup\")\n .description(\"Setup CLAUDE.md with AppKit package references\")\n .option(\"-w, --write\", \"Create or update CLAUDE.md file in current directory\")\n .action(runSetup);\n"],"mappings":";;;;;AAIA,MAAM,WAAW,CACf;CAAE,MAAM;CAAsB,aAAa;CAAe,EAC1D;CACE,MAAM;CACN,aAAa;CACd,CACF;AAED,MAAM,gBAAgB;AACtB,MAAM,cAAc;;;;AAKpB,SAAS,wBAAwB;CAC/B,MAAM,MAAM,QAAQ,KAAK;CACzB,MAAM,YAAY,EAAE;AAEpB,MAAK,MAAM,OAAO,UAAU;EAC1B,MAAM,cAAc,KAAK,KACvB,KACA,gBACA,IAAI,MACJ,eACD;AACD,MAAI,GAAG,WAAW,YAAY,CAC5B,WAAU,KAAK,IAAI;;AAIvB,QAAO;;;;;AAMT,SAAS,gBAAgB,UAA2B;AAQlD,QAAO,GAAG,cAAc;;;;;EAPV,SACX,KAAK,QAAQ;EACZ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AA,EALF,oBAKE,EAAA,SAAA,EAAA,KAAA,GAAA,OAAA,EAAA,WAAA,EAAA,MAAA,EAAA,UAAA,EAAA,OAAA,EAAA,aAAA,EAAA,MAAA,CAAA,EAAN,MAAM,CAAA,MAAA,EAAA,OAAA,CAAA;AAyCO,iBAAA,wBAAA,CAAwB,GAAA,EACjC,oBADiC,EAAA,OAAA,EAAA,OAAA,CAAA,EAGrC,MAHqC,CAAA,MAAA,EAAA,OAAA,CAAA;AAAA,UAyCvB,cAAA,SAAuB,oBAzCA,CAAA;;WAGrC,EAAA,CAAA,MAAA,GAAA,MAAA,CAAA,EAAA;EAAM;EAsCQ,WAAA,EAAA,CAAA,MAAe,EAAA,MAAQ,EAAA,MAAA,CAAA,EAAA;EAaxB;EAAkB,GAAA,EAAA,MAAA;;KAE/B,EAAA,MAAA;EAAM;EAsEO,UAAA,EAAA,OAAA;;AACT,iBAzES,kBAAA,CAyET,GAAA,EAxEA,cAwEA,CAAA,EAvEJ,MAuEI,CAAA,MAAA,EAAA,OAAA,CAAA;AACJ,iBAFa,oBAAA,CAEb,GAAA,EADI,gBACJ,CAAA,EAAA,MAAA,CAAA,MAAA,EAAA,OAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataTableProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/react/table/data-table.d.ts
|
|
5
5
|
|
|
@@ -44,7 +44,7 @@ import * as react_jsx_runtime285 from "react/jsx-runtime";
|
|
|
44
44
|
* )}
|
|
45
45
|
* </DataTable>
|
|
46
46
|
*/
|
|
47
|
-
declare function DataTable(props: DataTableProps):
|
|
47
|
+
declare function DataTable(props: DataTableProps): react_jsx_runtime68.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { DataTable };
|
|
50
50
|
//# sourceMappingURL=data-table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table.d.ts","names":[],"sources":["../../../src/react/table/data-table.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAsEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAgB,SAAA,QAAiB,iBAAc,
|
|
1
|
+
{"version":3,"file":"data-table.d.ts","names":[],"sources":["../../../src/react/table/data-table.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAsEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAgB,SAAA,QAAiB,iBAAc,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime69 from "react/jsx-runtime";
|
|
2
2
|
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
3
3
|
|
|
4
4
|
//#region src/react/ui/collapsible.d.ts
|
|
5
5
|
/** Interactive component that expands and collapses content */
|
|
6
6
|
declare function Collapsible({
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime69.JSX.Element;
|
|
9
9
|
/** Button that toggles the collapsible content visibility */
|
|
10
10
|
declare function CollapsibleTrigger({
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>):
|
|
12
|
+
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime69.JSX.Element;
|
|
13
13
|
/** Content area that can be expanded or collapsed */
|
|
14
14
|
declare function CollapsibleContent({
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>):
|
|
16
|
+
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime69.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
19
19
|
//# sourceMappingURL=collapsible.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dialog } from "./dialog.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
4
4
|
import { Command } from "cmdk";
|
|
5
5
|
|
|
6
6
|
//#region src/react/ui/command.d.ts
|
|
@@ -8,7 +8,7 @@ import { Command } from "cmdk";
|
|
|
8
8
|
declare function Command$1({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof Command>):
|
|
11
|
+
}: React$1.ComponentProps<typeof Command>): react_jsx_runtime72.JSX.Element;
|
|
12
12
|
/** Dialog wrapper for the command palette */
|
|
13
13
|
declare function CommandDialog({
|
|
14
14
|
title,
|
|
@@ -22,41 +22,41 @@ declare function CommandDialog({
|
|
|
22
22
|
description?: string;
|
|
23
23
|
className?: string;
|
|
24
24
|
showCloseButton?: boolean;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime72.JSX.Element;
|
|
26
26
|
/** Search input field for filtering command items */
|
|
27
27
|
declare function CommandInput({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentProps<typeof Command.Input>):
|
|
30
|
+
}: React$1.ComponentProps<typeof Command.Input>): react_jsx_runtime72.JSX.Element;
|
|
31
31
|
/** Scrollable list container for command items */
|
|
32
32
|
declare function CommandList({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: React$1.ComponentProps<typeof Command.List>):
|
|
35
|
+
}: React$1.ComponentProps<typeof Command.List>): react_jsx_runtime72.JSX.Element;
|
|
36
36
|
/** Empty state displayed when no commands match the search */
|
|
37
37
|
declare function CommandEmpty({
|
|
38
38
|
...props
|
|
39
|
-
}: React$1.ComponentProps<typeof Command.Empty>):
|
|
39
|
+
}: React$1.ComponentProps<typeof Command.Empty>): react_jsx_runtime72.JSX.Element;
|
|
40
40
|
/** Group of related command items with an optional heading */
|
|
41
41
|
declare function CommandGroup({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React$1.ComponentProps<typeof Command.Group>):
|
|
44
|
+
}: React$1.ComponentProps<typeof Command.Group>): react_jsx_runtime72.JSX.Element;
|
|
45
45
|
/** Visual separator between command groups */
|
|
46
46
|
declare function CommandSeparator({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React$1.ComponentProps<typeof Command.Separator>):
|
|
49
|
+
}: React$1.ComponentProps<typeof Command.Separator>): react_jsx_runtime72.JSX.Element;
|
|
50
50
|
/** Individual selectable command item */
|
|
51
51
|
declare function CommandItem({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React$1.ComponentProps<typeof Command.Item>):
|
|
54
|
+
}: React$1.ComponentProps<typeof Command.Item>): react_jsx_runtime72.JSX.Element;
|
|
55
55
|
/** Keyboard shortcut indicator displayed next to command items */
|
|
56
56
|
declare function CommandShortcut({
|
|
57
57
|
className,
|
|
58
58
|
...props
|
|
59
|
-
}: React$1.ComponentProps<"span">):
|
|
59
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime72.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { Command$1 as Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
62
62
|
//# sourceMappingURL=command.d.ts.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
3
3
|
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/react/ui/context-menu.d.ts
|
|
6
6
|
/** Menu triggered by right-clicking an element */
|
|
7
7
|
declare function ContextMenu({
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime81.JSX.Element;
|
|
10
10
|
declare function ContextMenuTrigger({
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>):
|
|
12
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime81.JSX.Element;
|
|
13
13
|
declare function ContextMenuGroup({
|
|
14
14
|
...props
|
|
15
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>):
|
|
15
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime81.JSX.Element;
|
|
16
16
|
declare function ContextMenuPortal({
|
|
17
17
|
container,
|
|
18
18
|
...props
|
|
19
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>):
|
|
19
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime81.JSX.Element;
|
|
20
20
|
declare function ContextMenuSub({
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>):
|
|
22
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime81.JSX.Element;
|
|
23
23
|
declare function ContextMenuRadioGroup({
|
|
24
24
|
...props
|
|
25
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>):
|
|
25
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime81.JSX.Element;
|
|
26
26
|
declare function ContextMenuSubTrigger({
|
|
27
27
|
className,
|
|
28
28
|
inset,
|
|
@@ -30,15 +30,15 @@ declare function ContextMenuSubTrigger({
|
|
|
30
30
|
...props
|
|
31
31
|
}: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
32
32
|
inset?: boolean;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime81.JSX.Element;
|
|
34
34
|
declare function ContextMenuSubContent({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>):
|
|
37
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime81.JSX.Element;
|
|
38
38
|
declare function ContextMenuContent({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>):
|
|
41
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime81.JSX.Element;
|
|
42
42
|
declare function ContextMenuItem({
|
|
43
43
|
className,
|
|
44
44
|
inset,
|
|
@@ -47,33 +47,33 @@ declare function ContextMenuItem({
|
|
|
47
47
|
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
48
48
|
inset?: boolean;
|
|
49
49
|
variant?: "default" | "destructive";
|
|
50
|
-
}):
|
|
50
|
+
}): react_jsx_runtime81.JSX.Element;
|
|
51
51
|
declare function ContextMenuCheckboxItem({
|
|
52
52
|
className,
|
|
53
53
|
children,
|
|
54
54
|
checked,
|
|
55
55
|
...props
|
|
56
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>):
|
|
56
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime81.JSX.Element;
|
|
57
57
|
declare function ContextMenuRadioItem({
|
|
58
58
|
className,
|
|
59
59
|
children,
|
|
60
60
|
...props
|
|
61
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>):
|
|
61
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime81.JSX.Element;
|
|
62
62
|
declare function ContextMenuLabel({
|
|
63
63
|
className,
|
|
64
64
|
inset,
|
|
65
65
|
...props
|
|
66
66
|
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
67
67
|
inset?: boolean;
|
|
68
|
-
}):
|
|
68
|
+
}): react_jsx_runtime81.JSX.Element;
|
|
69
69
|
declare function ContextMenuSeparator({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
72
|
-
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>):
|
|
72
|
+
}: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime81.JSX.Element;
|
|
73
73
|
declare function ContextMenuShortcut({
|
|
74
74
|
className,
|
|
75
75
|
...props
|
|
76
|
-
}: React$1.ComponentProps<"span">):
|
|
76
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime81.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
79
79
|
//# sourceMappingURL=context-menu.d.ts.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
3
3
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/react/ui/dialog.d.ts
|
|
6
6
|
/** Modal dialog that overlays the page content */
|
|
7
7
|
declare function Dialog({
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime96.JSX.Element;
|
|
10
10
|
/** Button that opens the dialog */
|
|
11
11
|
declare function DialogTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
13
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime96.JSX.Element;
|
|
14
14
|
/** Portal container for dialog content */
|
|
15
15
|
declare function DialogPortal({
|
|
16
16
|
container,
|
|
17
17
|
...props
|
|
18
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
18
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime96.JSX.Element;
|
|
19
19
|
/** Button that closes the dialog */
|
|
20
20
|
declare function DialogClose({
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Close>):
|
|
22
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime96.JSX.Element;
|
|
23
23
|
/** Dimmed overlay behind the dialog */
|
|
24
24
|
declare function DialogOverlay({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
27
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime96.JSX.Element;
|
|
28
28
|
/** Main content area of the dialog */
|
|
29
29
|
declare function DialogContent({
|
|
30
30
|
className,
|
|
@@ -33,27 +33,27 @@ declare function DialogContent({
|
|
|
33
33
|
...props
|
|
34
34
|
}: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
35
35
|
showCloseButton?: boolean;
|
|
36
|
-
}):
|
|
36
|
+
}): react_jsx_runtime96.JSX.Element;
|
|
37
37
|
/** Header section of the dialog */
|
|
38
38
|
declare function DialogHeader({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React$1.ComponentProps<"div">):
|
|
41
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime96.JSX.Element;
|
|
42
42
|
/** Footer section of the dialog */
|
|
43
43
|
declare function DialogFooter({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React$1.ComponentProps<"div">):
|
|
46
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime96.JSX.Element;
|
|
47
47
|
/** Title text for the dialog */
|
|
48
48
|
declare function DialogTitle({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Title>):
|
|
51
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime96.JSX.Element;
|
|
52
52
|
/** Description text for the dialog */
|
|
53
53
|
declare function DialogDescription({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Description>):
|
|
56
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime96.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
59
59
|
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime106 from "react/jsx-runtime";
|
|
3
3
|
import { Drawer } from "vaul";
|
|
4
4
|
|
|
5
5
|
//#region src/react/ui/drawer.d.ts
|
|
6
6
|
/** Draggable panel that slides in from screen edges */
|
|
7
7
|
declare function Drawer$1({
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof Drawer.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof Drawer.Root>): react_jsx_runtime106.JSX.Element;
|
|
10
10
|
/** Button that opens the drawer */
|
|
11
11
|
declare function DrawerTrigger({
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof Drawer.Trigger>):
|
|
13
|
+
}: React$1.ComponentProps<typeof Drawer.Trigger>): react_jsx_runtime106.JSX.Element;
|
|
14
14
|
/** Portal container for drawer content */
|
|
15
15
|
declare function DrawerPortal({
|
|
16
16
|
container,
|
|
17
17
|
...props
|
|
18
|
-
}: React$1.ComponentProps<typeof Drawer.Portal>):
|
|
18
|
+
}: React$1.ComponentProps<typeof Drawer.Portal>): react_jsx_runtime106.JSX.Element;
|
|
19
19
|
/** Button that closes the drawer */
|
|
20
20
|
declare function DrawerClose({
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<typeof Drawer.Close>):
|
|
22
|
+
}: React$1.ComponentProps<typeof Drawer.Close>): react_jsx_runtime106.JSX.Element;
|
|
23
23
|
/** Dimmed overlay behind the drawer */
|
|
24
24
|
declare function DrawerOverlay({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React$1.ComponentProps<typeof Drawer.Overlay>):
|
|
27
|
+
}: React$1.ComponentProps<typeof Drawer.Overlay>): react_jsx_runtime106.JSX.Element;
|
|
28
28
|
/** Main content area of the drawer */
|
|
29
29
|
declare function DrawerContent({
|
|
30
30
|
className,
|
|
31
31
|
children,
|
|
32
32
|
...props
|
|
33
|
-
}: React$1.ComponentProps<typeof Drawer.Content>):
|
|
33
|
+
}: React$1.ComponentProps<typeof Drawer.Content>): react_jsx_runtime106.JSX.Element;
|
|
34
34
|
/** Header section of the drawer */
|
|
35
35
|
declare function DrawerHeader({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React$1.ComponentProps<"div">):
|
|
38
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime106.JSX.Element;
|
|
39
39
|
/** Footer section of the drawer */
|
|
40
40
|
declare function DrawerFooter({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React$1.ComponentProps<"div">):
|
|
43
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime106.JSX.Element;
|
|
44
44
|
/** Title text for the drawer */
|
|
45
45
|
declare function DrawerTitle({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React$1.ComponentProps<typeof Drawer.Title>):
|
|
48
|
+
}: React$1.ComponentProps<typeof Drawer.Title>): react_jsx_runtime106.JSX.Element;
|
|
49
49
|
/** Description text for the drawer */
|
|
50
50
|
declare function DrawerDescription({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React$1.ComponentProps<typeof Drawer.Description>):
|
|
53
|
+
}: React$1.ComponentProps<typeof Drawer.Description>): react_jsx_runtime106.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { Drawer$1 as Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
56
56
|
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
3
3
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/react/ui/dropdown-menu.d.ts
|
|
6
6
|
/** Menu that displays when triggered by a button or element */
|
|
7
7
|
declare function DropdownMenu({
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime116.JSX.Element;
|
|
10
10
|
declare function DropdownMenuPortal({
|
|
11
11
|
container,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>):
|
|
13
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime116.JSX.Element;
|
|
14
14
|
declare function DropdownMenuTrigger({
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>):
|
|
16
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime116.JSX.Element;
|
|
17
17
|
declare function DropdownMenuContent({
|
|
18
18
|
className,
|
|
19
19
|
sideOffset,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>):
|
|
21
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime116.JSX.Element;
|
|
22
22
|
declare function DropdownMenuGroup({
|
|
23
23
|
...props
|
|
24
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>):
|
|
24
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime116.JSX.Element;
|
|
25
25
|
declare function DropdownMenuItem({
|
|
26
26
|
className,
|
|
27
27
|
inset,
|
|
@@ -30,39 +30,39 @@ declare function DropdownMenuItem({
|
|
|
30
30
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
31
31
|
inset?: boolean;
|
|
32
32
|
variant?: "default" | "destructive";
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
34
34
|
declare function DropdownMenuCheckboxItem({
|
|
35
35
|
className,
|
|
36
36
|
children,
|
|
37
37
|
checked,
|
|
38
38
|
...props
|
|
39
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>):
|
|
39
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime116.JSX.Element;
|
|
40
40
|
declare function DropdownMenuRadioGroup({
|
|
41
41
|
...props
|
|
42
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>):
|
|
42
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime116.JSX.Element;
|
|
43
43
|
declare function DropdownMenuRadioItem({
|
|
44
44
|
className,
|
|
45
45
|
children,
|
|
46
46
|
...props
|
|
47
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>):
|
|
47
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime116.JSX.Element;
|
|
48
48
|
declare function DropdownMenuLabel({
|
|
49
49
|
className,
|
|
50
50
|
inset,
|
|
51
51
|
...props
|
|
52
52
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
53
53
|
inset?: boolean;
|
|
54
|
-
}):
|
|
54
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
55
55
|
declare function DropdownMenuSeparator({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>):
|
|
58
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime116.JSX.Element;
|
|
59
59
|
declare function DropdownMenuShortcut({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React$1.ComponentProps<"span">):
|
|
62
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime116.JSX.Element;
|
|
63
63
|
declare function DropdownMenuSub({
|
|
64
64
|
...props
|
|
65
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>):
|
|
65
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime116.JSX.Element;
|
|
66
66
|
declare function DropdownMenuSubTrigger({
|
|
67
67
|
className,
|
|
68
68
|
inset,
|
|
@@ -70,11 +70,11 @@ declare function DropdownMenuSubTrigger({
|
|
|
70
70
|
...props
|
|
71
71
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
72
72
|
inset?: boolean;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
74
74
|
declare function DropdownMenuSubContent({
|
|
75
75
|
className,
|
|
76
76
|
...props
|
|
77
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>):
|
|
77
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime116.JSX.Element;
|
|
78
78
|
//#endregion
|
|
79
79
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
80
80
|
//# sourceMappingURL=dropdown-menu.d.ts.map
|
package/dist/react/ui/empty.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime131 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
4
4
|
|
|
@@ -7,11 +7,11 @@ import * as class_variance_authority_types3 from "class-variance-authority/types
|
|
|
7
7
|
declare function Empty({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<"div">):
|
|
10
|
+
}: React.ComponentProps<"div">): react_jsx_runtime131.JSX.Element;
|
|
11
11
|
declare function EmptyHeader({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<"div">):
|
|
14
|
+
}: React.ComponentProps<"div">): react_jsx_runtime131.JSX.Element;
|
|
15
15
|
declare const emptyMediaVariants: (props?: ({
|
|
16
16
|
variant?: "default" | "icon" | null | undefined;
|
|
17
17
|
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
@@ -19,19 +19,19 @@ declare function EmptyMedia({
|
|
|
19
19
|
className,
|
|
20
20
|
variant,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>):
|
|
22
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime131.JSX.Element;
|
|
23
23
|
declare function EmptyTitle({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<"div">):
|
|
26
|
+
}: React.ComponentProps<"div">): react_jsx_runtime131.JSX.Element;
|
|
27
27
|
declare function EmptyDescription({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React.ComponentProps<"p">):
|
|
30
|
+
}: React.ComponentProps<"p">): react_jsx_runtime131.JSX.Element;
|
|
31
31
|
declare function EmptyContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<"div">):
|
|
34
|
+
}: React.ComponentProps<"div">): react_jsx_runtime131.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
37
37
|
//# sourceMappingURL=empty.d.ts.map
|
package/dist/react/ui/field.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Label } from "./label.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime137 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
5
5
|
|
|
@@ -8,7 +8,7 @@ import * as class_variance_authority_types4 from "class-variance-authority/types
|
|
|
8
8
|
declare function FieldSet({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<"fieldset">):
|
|
11
|
+
}: React.ComponentProps<"fieldset">): react_jsx_runtime137.JSX.Element;
|
|
12
12
|
/** Title or caption for a fieldset */
|
|
13
13
|
declare function FieldLegend({
|
|
14
14
|
className,
|
|
@@ -16,12 +16,12 @@ declare function FieldLegend({
|
|
|
16
16
|
...props
|
|
17
17
|
}: React.ComponentProps<"legend"> & {
|
|
18
18
|
variant?: "legend" | "label";
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime137.JSX.Element;
|
|
20
20
|
/** Container for organizing multiple fields */
|
|
21
21
|
declare function FieldGroup({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<"div">):
|
|
24
|
+
}: React.ComponentProps<"div">): react_jsx_runtime137.JSX.Element;
|
|
25
25
|
declare const fieldVariants: (props?: ({
|
|
26
26
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
27
27
|
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
@@ -30,27 +30,27 @@ declare function Field({
|
|
|
30
30
|
className,
|
|
31
31
|
orientation,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>):
|
|
33
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime137.JSX.Element;
|
|
34
34
|
/** Container for field label, description, and error messages */
|
|
35
35
|
declare function FieldContent({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<"div">):
|
|
38
|
+
}: React.ComponentProps<"div">): react_jsx_runtime137.JSX.Element;
|
|
39
39
|
/** Label for a form field */
|
|
40
40
|
declare function FieldLabel({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React.ComponentProps<typeof Label>):
|
|
43
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime137.JSX.Element;
|
|
44
44
|
/** Title text for a field */
|
|
45
45
|
declare function FieldTitle({
|
|
46
46
|
className,
|
|
47
47
|
...props
|
|
48
|
-
}: React.ComponentProps<"div">):
|
|
48
|
+
}: React.ComponentProps<"div">): react_jsx_runtime137.JSX.Element;
|
|
49
49
|
/** Helper text providing additional context for a field */
|
|
50
50
|
declare function FieldDescription({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React.ComponentProps<"p">):
|
|
53
|
+
}: React.ComponentProps<"p">): react_jsx_runtime137.JSX.Element;
|
|
54
54
|
/** Visual separator between fields with optional label */
|
|
55
55
|
declare function FieldSeparator({
|
|
56
56
|
children,
|
|
@@ -58,7 +58,7 @@ declare function FieldSeparator({
|
|
|
58
58
|
...props
|
|
59
59
|
}: React.ComponentProps<"div"> & {
|
|
60
60
|
children?: React.ReactNode;
|
|
61
|
-
}):
|
|
61
|
+
}): react_jsx_runtime137.JSX.Element;
|
|
62
62
|
/** Error message display for invalid field values */
|
|
63
63
|
declare function FieldError({
|
|
64
64
|
className,
|
|
@@ -69,7 +69,7 @@ declare function FieldError({
|
|
|
69
69
|
errors?: Array<{
|
|
70
70
|
message?: string;
|
|
71
71
|
} | undefined>;
|
|
72
|
-
}):
|
|
72
|
+
}): react_jsx_runtime137.JSX.Element | null;
|
|
73
73
|
//#endregion
|
|
74
74
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
75
75
|
//# sourceMappingURL=field.d.ts.map
|