@pixpilot/shadcn-ui 1.36.0 → 1.38.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/README.md +34 -1
- package/dist/{AbsoluteFill.cjs → absolute-fill/AbsoluteFill.cjs} +2 -2
- package/dist/{AbsoluteFill.d.cts → absolute-fill/AbsoluteFill.d.cts} +3 -3
- package/dist/{AbsoluteFill.d.ts → absolute-fill/AbsoluteFill.d.ts} +1 -1
- package/dist/{AbsoluteFill.js → absolute-fill/AbsoluteFill.js} +1 -1
- package/dist/absolute-fill/index.cjs +1 -0
- package/dist/absolute-fill/index.d.cts +1 -0
- package/dist/absolute-fill/index.d.ts +1 -0
- package/dist/absolute-fill/index.js +1 -0
- package/dist/{Alert.cjs → alert/Alert.cjs} +4 -4
- package/dist/{Alert.d.cts → alert/Alert.d.cts} +2 -2
- package/dist/{Alert.d.ts → alert/Alert.d.ts} +2 -2
- package/dist/{Alert.js → alert/Alert.js} +3 -3
- package/dist/alert/index.cjs +1 -0
- package/dist/alert/index.d.cts +2 -0
- package/dist/alert/index.d.ts +2 -0
- package/dist/alert/index.js +1 -0
- package/dist/{Button.cjs → button/Button.cjs} +4 -3
- package/dist/{Button.d.cts → button/Button.d.cts} +3 -3
- package/dist/{Button.d.ts → button/Button.d.ts} +1 -1
- package/dist/{Button.js → button/Button.js} +3 -2
- package/dist/button/index.cjs +1 -0
- package/dist/button/index.d.cts +1 -0
- package/dist/button/index.d.ts +1 -0
- package/dist/button/index.js +1 -0
- package/dist/button/mcp.js +43 -0
- package/dist/{ButtonExtended.cjs → button-extended/ButtonExtended.cjs} +4 -3
- package/dist/{ButtonExtended.d.cts → button-extended/ButtonExtended.d.cts} +1 -1
- package/dist/{ButtonExtended.d.ts → button-extended/ButtonExtended.d.ts} +1 -1
- package/dist/{ButtonExtended.js → button-extended/ButtonExtended.js} +3 -2
- package/dist/button-extended/index.cjs +1 -0
- package/dist/button-extended/index.d.cts +1 -0
- package/dist/button-extended/index.d.ts +1 -0
- package/dist/button-extended/index.js +1 -0
- package/dist/{ButtonGroup.cjs → button-group/ButtonGroup.cjs} +2 -2
- package/dist/{ButtonGroup.d.cts → button-group/ButtonGroup.d.cts} +1 -1
- package/dist/{ButtonGroup.d.ts → button-group/ButtonGroup.d.ts} +1 -1
- package/dist/{ButtonGroup.js → button-group/ButtonGroup.js} +1 -1
- package/dist/button-group/index.cjs +1 -0
- package/dist/button-group/index.d.cts +1 -0
- package/dist/button-group/index.d.ts +1 -0
- package/dist/button-group/index.js +1 -0
- package/dist/{Card.cjs → card/Card.cjs} +2 -2
- package/dist/{Card.d.cts → card/Card.d.cts} +4 -4
- package/dist/{Card.d.ts → card/Card.d.ts} +1 -1
- package/dist/{Card.js → card/Card.js} +1 -1
- package/dist/card/index.cjs +4 -0
- package/dist/card/index.d.cts +1 -0
- package/dist/card/index.d.ts +1 -0
- package/dist/card/index.js +1 -0
- package/dist/card/mcp.js +22 -0
- package/dist/{CloseButtonAbsolute.cjs → close-button-absolute/CloseButtonAbsolute.cjs} +4 -3
- package/dist/close-button-absolute/CloseButtonAbsolute.d.cts +9 -0
- package/dist/close-button-absolute/CloseButtonAbsolute.d.ts +9 -0
- package/dist/{CloseButtonAbsolute.js → close-button-absolute/CloseButtonAbsolute.js} +3 -2
- package/dist/close-button-absolute/index.cjs +1 -0
- package/dist/close-button-absolute/index.d.cts +1 -0
- package/dist/close-button-absolute/index.d.ts +1 -0
- package/dist/close-button-absolute/index.js +1 -0
- package/dist/{CloseButtonRounded.cjs → close-button-rounded/CloseButtonRounded.cjs} +2 -2
- package/dist/{CloseButtonRounded.d.cts → close-button-rounded/CloseButtonRounded.d.cts} +1 -1
- package/dist/{CloseButtonRounded.d.ts → close-button-rounded/CloseButtonRounded.d.ts} +1 -1
- package/dist/{CloseButtonRounded.js → close-button-rounded/CloseButtonRounded.js} +1 -1
- package/dist/close-button-rounded/index.cjs +1 -0
- package/dist/close-button-rounded/index.d.cts +1 -0
- package/dist/close-button-rounded/index.d.ts +1 -0
- package/dist/close-button-rounded/index.js +1 -0
- package/dist/{ColorSelect.cjs → color-select/ColorSelect.cjs} +4 -4
- package/dist/{ColorSelect.d.cts → color-select/ColorSelect.d.cts} +3 -3
- package/dist/{ColorSelect.d.ts → color-select/ColorSelect.d.ts} +3 -3
- package/dist/{ColorSelect.js → color-select/ColorSelect.js} +3 -3
- package/dist/color-select/index.cjs +1 -0
- package/dist/color-select/index.d.cts +1 -0
- package/dist/color-select/index.d.ts +1 -0
- package/dist/color-select/index.js +1 -0
- package/dist/{Combobox.cjs → combobox/Combobox.cjs} +5 -4
- package/dist/{Combobox.d.cts → combobox/Combobox.d.cts} +2 -2
- package/dist/{Combobox.d.ts → combobox/Combobox.d.ts} +2 -2
- package/dist/{Combobox.js → combobox/Combobox.js} +4 -3
- package/dist/combobox/index.cjs +1 -0
- package/dist/combobox/index.d.cts +1 -0
- package/dist/combobox/index.d.ts +1 -0
- package/dist/combobox/index.js +1 -0
- package/dist/{CommandOptionList.cjs → command-option-list/CommandOptionList.cjs} +3 -3
- package/dist/command-option-list/CommandOptionList.d.cts +7 -0
- package/dist/command-option-list/CommandOptionList.d.ts +7 -0
- package/dist/{CommandOptionList.js → command-option-list/CommandOptionList.js} +2 -2
- package/dist/command-option-list/index.cjs +1 -0
- package/dist/command-option-list/index.js +1 -0
- package/dist/{ContentCard.cjs → content-card/ContentCard.cjs} +4 -3
- package/dist/{ContentCard.d.cts → content-card/ContentCard.d.cts} +3 -2
- package/dist/{ContentCard.d.ts → content-card/ContentCard.d.ts} +3 -2
- package/dist/{ContentCard.js → content-card/ContentCard.js} +3 -2
- package/dist/content-card/index.cjs +1 -0
- package/dist/content-card/index.d.cts +1 -0
- package/dist/content-card/index.d.ts +1 -0
- package/dist/content-card/index.js +1 -0
- package/dist/{DatePicker.cjs → date-picker/DatePicker.cjs} +2 -2
- package/dist/{DatePicker.d.cts → date-picker/DatePicker.d.cts} +1 -1
- package/dist/{DatePicker.d.ts → date-picker/DatePicker.d.ts} +3 -3
- package/dist/{DatePicker.js → date-picker/DatePicker.js} +1 -1
- package/dist/date-picker/index.cjs +1 -0
- package/dist/date-picker/index.d.cts +1 -0
- package/dist/date-picker/index.d.ts +1 -0
- package/dist/date-picker/index.js +1 -0
- package/dist/dialog/Dialog.d.cts +5 -5
- package/dist/dialog/Dialog.d.ts +5 -5
- package/dist/file-upload/FileUpload.d.cts +2 -2
- package/dist/file-upload/FileUpload.d.ts +2 -2
- package/dist/file-upload/mcp.js +53 -0
- package/dist/file-upload-inline/FileUploadInline.d.cts +2 -2
- package/dist/file-upload-inline/FileUploadInline.d.ts +2 -2
- package/dist/file-upload-root/FileUploadRoot.d.ts +2 -2
- package/dist/generated/mcp-registry.js +21 -0
- package/dist/icon-selector/IconPicker.cjs +2 -1
- package/dist/icon-selector/IconPicker.js +2 -1
- package/dist/icon-selector/icon-picker-content.cjs +2 -1
- package/dist/icon-selector/icon-picker-content.js +2 -1
- package/dist/{IconToggle.cjs → icon-toggle/IconToggle.cjs} +5 -4
- package/dist/{IconToggle.d.cts → icon-toggle/IconToggle.d.cts} +3 -2
- package/dist/{IconToggle.d.ts → icon-toggle/IconToggle.d.ts} +3 -2
- package/dist/{IconToggle.js → icon-toggle/IconToggle.js} +4 -3
- package/dist/icon-toggle/index.cjs +1 -0
- package/dist/icon-toggle/index.d.cts +1 -0
- package/dist/icon-toggle/index.d.ts +1 -0
- package/dist/icon-toggle/index.js +1 -0
- package/dist/index.cjs +63 -20
- package/dist/index.d.cts +39 -20
- package/dist/index.d.ts +41 -20
- package/dist/index.js +42 -21
- package/dist/input/Input.d.cts +2 -2
- package/dist/input/Input.d.ts +2 -2
- package/dist/{LoadingOverlay.cjs → loading-overlay/LoadingOverlay.cjs} +4 -4
- package/dist/{LoadingOverlay.d.cts → loading-overlay/LoadingOverlay.d.cts} +1 -1
- package/dist/{LoadingOverlay.d.ts → loading-overlay/LoadingOverlay.d.ts} +1 -1
- package/dist/{LoadingOverlay.js → loading-overlay/LoadingOverlay.js} +3 -3
- package/dist/loading-overlay/index.cjs +1 -0
- package/dist/loading-overlay/index.d.cts +1 -0
- package/dist/loading-overlay/index.d.ts +1 -0
- package/dist/loading-overlay/index.js +1 -0
- package/dist/mcp/src/server.js +67 -0
- package/dist/mcp/src/utils.js +8 -0
- package/dist/mcp-server.js +18 -0
- package/dist/{Rating.cjs → rating/Rating.cjs} +3 -3
- package/dist/{Rating.d.cts → rating/Rating.d.cts} +4 -4
- package/dist/{Rating.d.ts → rating/Rating.d.ts} +4 -4
- package/dist/{Rating.js → rating/Rating.js} +2 -2
- package/dist/rating/index.cjs +1 -0
- package/dist/rating/index.d.cts +1 -0
- package/dist/rating/index.d.ts +1 -0
- package/dist/rating/index.js +1 -0
- package/dist/rich-text-editor/LinkPopoverToolbarButton.cjs +2 -1
- package/dist/rich-text-editor/LinkPopoverToolbarButton.js +2 -1
- package/dist/rich-text-editor/ToolbarButton.cjs +2 -1
- package/dist/rich-text-editor/ToolbarButton.js +2 -1
- package/dist/{ScaledPreview.cjs → scaled-preview/ScaledPreview.cjs} +2 -2
- package/dist/{ScaledPreview.d.cts → scaled-preview/ScaledPreview.d.cts} +1 -1
- package/dist/{ScaledPreview.d.ts → scaled-preview/ScaledPreview.d.ts} +1 -1
- package/dist/{ScaledPreview.js → scaled-preview/ScaledPreview.js} +1 -1
- package/dist/scaled-preview/index.cjs +1 -0
- package/dist/scaled-preview/index.d.cts +1 -0
- package/dist/scaled-preview/index.d.ts +1 -0
- package/dist/scaled-preview/index.js +1 -0
- package/dist/{Select.cjs → select/Select.cjs} +4 -4
- package/dist/{Select.d.cts → select/Select.d.cts} +3 -3
- package/dist/{Select.d.ts → select/Select.d.ts} +3 -3
- package/dist/{Select.js → select/Select.js} +3 -3
- package/dist/select/index.cjs +1 -0
- package/dist/select/index.d.cts +1 -0
- package/dist/select/index.d.ts +1 -0
- package/dist/select/index.js +1 -0
- package/dist/slider/SliderSelect.cjs +2 -1
- package/dist/slider/SliderSelect.d.cts +2 -1
- package/dist/slider/SliderSelect.d.ts +2 -1
- package/dist/slider/SliderSelect.js +2 -1
- package/dist/tags-input/TagsInput.cjs +2 -1
- package/dist/tags-input/TagsInput.d.cts +3 -3
- package/dist/tags-input/TagsInput.d.ts +3 -3
- package/dist/tags-input/TagsInput.js +2 -1
- package/dist/tags-input/TagsInputInline.d.cts +2 -2
- package/dist/tags-input/TagsInputInline.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeDropdown.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeSwitchInside.d.cts +2 -2
- package/dist/theme-toggle/ThemeModeSwitchInside.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeToggleButton.d.cts +2 -2
- package/dist/toast/AlertToast.cjs +2 -1
- package/dist/toast/AlertToast.js +2 -1
- package/dist/toast/toast.d.cts +1 -1
- package/dist/toast/toast.d.ts +1 -1
- package/dist/toast/types.d.cts +2 -1
- package/dist/toast/types.d.ts +2 -1
- package/dist/{ToggleButton.cjs → toggle-button/ToggleButton.cjs} +4 -3
- package/dist/{ToggleButton.d.cts → toggle-button/ToggleButton.d.cts} +1 -1
- package/dist/{ToggleButton.d.ts → toggle-button/ToggleButton.d.ts} +1 -1
- package/dist/{ToggleButton.js → toggle-button/ToggleButton.js} +3 -2
- package/dist/toggle-button/index.cjs +1 -0
- package/dist/toggle-button/index.d.cts +1 -0
- package/dist/toggle-button/index.d.ts +1 -0
- package/dist/toggle-button/index.js +1 -0
- package/dist/{ToggleGroup.cjs → toggle-group/ToggleGroup.cjs} +1 -1
- package/dist/{ToggleGroup.d.cts → toggle-group/ToggleGroup.d.cts} +1 -1
- package/dist/{ToggleGroup.d.ts → toggle-group/ToggleGroup.d.ts} +1 -1
- package/dist/toggle-group/index.cjs +4 -0
- package/dist/toggle-group/index.d.ts +1 -0
- package/dist/toggle-group/index.js +1 -0
- package/dist/tooltip/Tooltip.cjs +3 -0
- package/dist/tooltip/Tooltip.d.cts +2 -0
- package/dist/tooltip/Tooltip.d.ts +2 -0
- package/dist/tooltip/Tooltip.js +3 -0
- package/dist/tooltip/index.cjs +4 -0
- package/dist/tooltip/index.d.ts +1 -0
- package/dist/tooltip/index.js +1 -0
- package/package.json +13 -5
- package/dist/CloseButtonAbsolute.d.cts +0 -8
- package/dist/CloseButtonAbsolute.d.ts +0 -8
- package/dist/CommandOptionList.d.cts +0 -7
- package/dist/CommandOptionList.d.ts +0 -7
- /package/dist/{ToggleGroup.js → toggle-group/ToggleGroup.js} +0 -0
package/README.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
1
|
# @pixpilot/shadcn-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Custom UI components and utilities built with shadcn/ui.
|
|
4
|
+
|
|
5
|
+
## MCP Server
|
|
6
|
+
|
|
7
|
+
This package includes a local stdio MCP server for coding assistants that support
|
|
8
|
+
the Model Context Protocol.
|
|
9
|
+
|
|
10
|
+
Add the package to your MCP client configuration:
|
|
11
|
+
|
|
12
|
+
```json
|
|
13
|
+
{
|
|
14
|
+
"mcpServers": {
|
|
15
|
+
"shadcn-ui": {
|
|
16
|
+
"command": "npx",
|
|
17
|
+
"args": ["-y", "@pixpilot/shadcn-ui"]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This works with Claude Code, Claude Desktop, GitHub Copilot, Cursor, Codex, and
|
|
24
|
+
any MCP-compatible client.
|
|
25
|
+
|
|
26
|
+
The MCP client launches and stops the server automatically. You do not need to
|
|
27
|
+
start the server manually.
|
|
28
|
+
|
|
29
|
+
The server exposes generated component metadata through:
|
|
30
|
+
|
|
31
|
+
- `list_components`
|
|
32
|
+
- `get_component_details`
|
|
33
|
+
|
|
34
|
+
Component metadata is discovered from `src/**/mcp.ts` during the package build,
|
|
35
|
+
so adding a component to the MCP registry only requires adding that component's
|
|
36
|
+
metadata file.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
3
3
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
4
4
|
let react = require("react");
|
|
@@ -6,7 +6,7 @@ react = require_rolldown_runtime.__toESM(react);
|
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
8
8
|
|
|
9
|
-
//#region src/AbsoluteFill.tsx
|
|
9
|
+
//#region src/absolute-fill/AbsoluteFill.tsx
|
|
10
10
|
/**
|
|
11
11
|
* Stretched element to enable tooltips on disabled buttons
|
|
12
12
|
* When a button is disabled, tooltips don't work by default.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/AbsoluteFill.d.ts
|
|
4
|
+
//#region src/absolute-fill/AbsoluteFill.d.ts
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Stretched element to enable tooltips on disabled buttons
|
|
@@ -10,7 +10,7 @@ import React from "react";
|
|
|
10
10
|
*/
|
|
11
11
|
declare function AbsoluteFill(props: React.HTMLAttributes<HTMLDivElement> & {
|
|
12
12
|
ref?: React.Ref<HTMLDivElement>;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime4.JSX.Element;
|
|
14
14
|
declare namespace AbsoluteFill {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -2,7 +2,7 @@ import { cn } from "@pixpilot/shadcn";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
|
-
//#region src/AbsoluteFill.tsx
|
|
5
|
+
//#region src/absolute-fill/AbsoluteFill.tsx
|
|
6
6
|
/**
|
|
7
7
|
* Stretched element to enable tooltips on disabled buttons
|
|
8
8
|
* When a button is disabled, tooltips don't work by default.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_AbsoluteFill = require('./AbsoluteFill.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { AbsoluteFill } from "./AbsoluteFill.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { AbsoluteFill } from "./AbsoluteFill.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { AbsoluteFill } from "./AbsoluteFill.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
2
|
-
const require_utils = require('
|
|
3
|
-
const require_variant_config = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_utils = require('../shadcn/src/lib/utils.cjs');
|
|
3
|
+
const require_variant_config = require('../variant-config.cjs');
|
|
4
4
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
5
5
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
6
6
|
let react = require("react");
|
|
@@ -8,7 +8,7 @@ react = require_rolldown_runtime.__toESM(react);
|
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
10
10
|
|
|
11
|
-
//#region src/Alert.tsx
|
|
11
|
+
//#region src/alert/Alert.tsx
|
|
12
12
|
function getIcon(icon, variant) {
|
|
13
13
|
if (icon === false) return null;
|
|
14
14
|
if (icon === void 0 || icon === true) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AlertVariant } from "
|
|
1
|
+
import { AlertVariant } from "../variant-config.cjs";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/Alert.d.ts
|
|
4
|
+
//#region src/alert/Alert.d.ts
|
|
5
5
|
interface AlertBaseProps {
|
|
6
6
|
variant?: AlertVariant;
|
|
7
7
|
description?: React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AlertVariant } from "
|
|
1
|
+
import { AlertVariant } from "../variant-config.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
//#region src/Alert.d.ts
|
|
4
|
+
//#region src/alert/Alert.d.ts
|
|
5
5
|
interface AlertBaseProps {
|
|
6
6
|
variant?: AlertVariant;
|
|
7
7
|
description?: React.ReactNode;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { cn as cn$1 } from "
|
|
2
|
-
import { variantConfig } from "
|
|
1
|
+
import { cn as cn$1 } from "../shadcn/src/lib/utils.js";
|
|
2
|
+
import { variantConfig } from "../variant-config.js";
|
|
3
3
|
import { Alert, AlertDescription, AlertTitle } from "@pixpilot/shadcn";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
|
-
//#region src/Alert.tsx
|
|
7
|
+
//#region src/alert/Alert.tsx
|
|
8
8
|
function getIcon(icon, variant) {
|
|
9
9
|
if (icon === false) return null;
|
|
10
10
|
if (icon === void 0 || icon === true) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_Alert = require('./Alert.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Alert } from "./Alert.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
const require_rolldown_runtime = require('
|
|
5
|
-
const require_AbsoluteFill = require('
|
|
4
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
const require_AbsoluteFill = require('../absolute-fill/AbsoluteFill.cjs');
|
|
6
|
+
require('../absolute-fill/index.cjs');
|
|
6
7
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
7
8
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
8
9
|
let react = require("react");
|
|
@@ -12,7 +13,7 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
|
12
13
|
let __radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
13
14
|
__radix_ui_react_slot = require_rolldown_runtime.__toESM(__radix_ui_react_slot);
|
|
14
15
|
|
|
15
|
-
//#region src/Button.tsx
|
|
16
|
+
//#region src/button/Button.tsx
|
|
16
17
|
function Button(props) {
|
|
17
18
|
const { children, disabled, onClick, onDisabledClick, title, slots, className, variant, size, asChild, ref,...rest } = props;
|
|
18
19
|
const handleClick = (0, react.useCallback)((e) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
|
-
//#region src/Button.d.ts
|
|
6
|
+
//#region src/button/Button.d.ts
|
|
7
7
|
interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
/**
|
|
9
9
|
* Click handler for when disabled button is clicked
|
|
@@ -27,7 +27,7 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
|
|
|
27
27
|
}
|
|
28
28
|
declare function Button$1(props: ButtonProps & {
|
|
29
29
|
ref?: React.Ref<HTMLButtonElement>;
|
|
30
|
-
}):
|
|
30
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
31
31
|
declare namespace Button$1 {
|
|
32
32
|
var displayName: string;
|
|
33
33
|
}
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
|
-
//#region src/Button.d.ts
|
|
6
|
+
//#region src/button/Button.d.ts
|
|
7
7
|
interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<typeof buttonVariants> {
|
|
8
8
|
/**
|
|
9
9
|
* Click handler for when disabled button is clicked
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { AbsoluteFill } from "
|
|
4
|
+
import { AbsoluteFill } from "../absolute-fill/AbsoluteFill.js";
|
|
5
|
+
import "../absolute-fill/index.js";
|
|
5
6
|
import { Button, cn } from "@pixpilot/shadcn";
|
|
6
7
|
import React, { useCallback } from "react";
|
|
7
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { Slottable } from "@radix-ui/react-slot";
|
|
9
10
|
|
|
10
|
-
//#region src/Button.tsx
|
|
11
|
+
//#region src/button/Button.tsx
|
|
11
12
|
function Button$1(props) {
|
|
12
13
|
const { children, disabled, onClick, onDisabledClick, title, slots, className, variant, size, asChild, ref,...rest } = props;
|
|
13
14
|
const handleClick = useCallback((e) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_Button = require('./Button.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Button, ButtonProps } from "./Button.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Button, ButtonProps } from "./Button.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Button } from "./Button.js";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { defineProps } from "../mcp/src/utils.js";
|
|
2
|
+
|
|
3
|
+
//#region src/button/mcp.ts
|
|
4
|
+
const meta = {
|
|
5
|
+
name: "Button",
|
|
6
|
+
category: "Actions",
|
|
7
|
+
description: "A shadcn button wrapper with variant styling, optional slot rendering, and disabled-click overlay support.",
|
|
8
|
+
htmlElement: "button",
|
|
9
|
+
props: defineProps({
|
|
10
|
+
asChild: {
|
|
11
|
+
description: "Render the button behavior and styles through the child element instead of a native button.",
|
|
12
|
+
type: "boolean",
|
|
13
|
+
defaultValue: "false"
|
|
14
|
+
},
|
|
15
|
+
onDisabledClick: "Called when the disabled overlay is clicked, allowing disabled actions to explain why they are unavailable.",
|
|
16
|
+
size: {
|
|
17
|
+
description: "Controls the button dimensions and icon-only sizing.",
|
|
18
|
+
type: "\"default\" | \"xs\" | \"sm\" | \"lg\" | \"icon\" | \"icon-xs\" | \"icon-sm\" | \"icon-lg\"",
|
|
19
|
+
defaultValue: "\"default\""
|
|
20
|
+
},
|
|
21
|
+
slots: "Customizes tooltip-related slots and the loading indicator container or node used by the button.",
|
|
22
|
+
variant: {
|
|
23
|
+
description: "Controls the visual button treatment.",
|
|
24
|
+
type: "\"default\" | \"destructive\" | \"outline\" | \"secondary\" | \"ghost\" | \"link\"",
|
|
25
|
+
defaultValue: "\"default\""
|
|
26
|
+
}
|
|
27
|
+
}),
|
|
28
|
+
examples: [{
|
|
29
|
+
title: "Default button",
|
|
30
|
+
code: "<Button>Save changes</Button>"
|
|
31
|
+
}, {
|
|
32
|
+
title: "Disabled reason",
|
|
33
|
+
code: "<Button disabled title=\"Complete required fields first\" onDisabledClick={() => showHelp()}>Publish</Button>"
|
|
34
|
+
}],
|
|
35
|
+
keywords: [
|
|
36
|
+
"button",
|
|
37
|
+
"action",
|
|
38
|
+
"cta"
|
|
39
|
+
]
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
//#endregion
|
|
43
|
+
export { meta };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
const require_rolldown_runtime = require('
|
|
5
|
-
const require_AbsoluteFill = require('
|
|
4
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
5
|
+
const require_AbsoluteFill = require('../absolute-fill/AbsoluteFill.cjs');
|
|
6
|
+
require('../absolute-fill/index.cjs');
|
|
6
7
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
7
8
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
8
9
|
let lucide_react = require("lucide-react");
|
|
@@ -14,7 +15,7 @@ react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
|
14
15
|
let __radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
15
16
|
__radix_ui_react_slot = require_rolldown_runtime.__toESM(__radix_ui_react_slot);
|
|
16
17
|
|
|
17
|
-
//#region src/ButtonExtended.tsx
|
|
18
|
+
//#region src/button-extended/ButtonExtended.tsx
|
|
18
19
|
const LOADER_SIZE_SM = 14;
|
|
19
20
|
const LOADER_SIZE_DEFAULT = 16;
|
|
20
21
|
const LOADER_SIZE_LG = 20;
|
|
@@ -3,7 +3,7 @@ import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
|
-
//#region src/ButtonExtended.d.ts
|
|
6
|
+
//#region src/button-extended/ButtonExtended.d.ts
|
|
7
7
|
interface ButtonExtendedLoaderProps {
|
|
8
8
|
/**
|
|
9
9
|
* Position of the loader relative to button content
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
|
-
//#region src/ButtonExtended.d.ts
|
|
6
|
+
//#region src/button-extended/ButtonExtended.d.ts
|
|
7
7
|
interface ButtonExtendedLoaderProps {
|
|
8
8
|
/**
|
|
9
9
|
* Position of the loader relative to button content
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
import { AbsoluteFill } from "
|
|
4
|
+
import { AbsoluteFill } from "../absolute-fill/AbsoluteFill.js";
|
|
5
|
+
import "../absolute-fill/index.js";
|
|
5
6
|
import { Button, Tooltip, TooltipContent, TooltipTrigger, cn } from "@pixpilot/shadcn";
|
|
6
7
|
import { Loader2 } from "lucide-react";
|
|
7
8
|
import React, { useCallback } from "react";
|
|
8
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { Slottable } from "@radix-ui/react-slot";
|
|
10
11
|
|
|
11
|
-
//#region src/ButtonExtended.tsx
|
|
12
|
+
//#region src/button-extended/ButtonExtended.tsx
|
|
12
13
|
const LOADER_SIZE_SM = 14;
|
|
13
14
|
const LOADER_SIZE_DEFAULT = 16;
|
|
14
15
|
const LOADER_SIZE_LG = 20;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_ButtonExtended = require('./ButtonExtended.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps } from "./ButtonExtended.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps } from "./ButtonExtended.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ButtonExtended } from "./ButtonExtended.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
3
3
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
4
4
|
let react = require("react");
|
|
@@ -6,7 +6,7 @@ react = require_rolldown_runtime.__toESM(react);
|
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
8
8
|
|
|
9
|
-
//#region src/ButtonGroup.tsx
|
|
9
|
+
//#region src/button-group/ButtonGroup.tsx
|
|
10
10
|
/**
|
|
11
11
|
* A simple container component that groups buttons together visually.
|
|
12
12
|
* Renders child Button components with proper styling to create a cohesive button group.
|
|
@@ -2,7 +2,7 @@ import { ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "@pix
|
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
|
-
//#region src/ButtonGroup.d.ts
|
|
5
|
+
//#region src/button-group/ButtonGroup.d.ts
|
|
6
6
|
type ButtonGroupProps = React$1.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>;
|
|
7
7
|
/**
|
|
8
8
|
* A simple container component that groups buttons together visually.
|
|
@@ -2,7 +2,7 @@ import { ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "@pix
|
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
|
-
//#region src/ButtonGroup.d.ts
|
|
5
|
+
//#region src/button-group/ButtonGroup.d.ts
|
|
6
6
|
type ButtonGroupProps = React$1.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>;
|
|
7
7
|
/**
|
|
8
8
|
* A simple container component that groups buttons together visually.
|
|
@@ -2,7 +2,7 @@ import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from "@pixpilot/sh
|
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
|
-
//#region src/ButtonGroup.tsx
|
|
5
|
+
//#region src/button-group/ButtonGroup.tsx
|
|
6
6
|
/**
|
|
7
7
|
* A simple container component that groups buttons together visually.
|
|
8
8
|
* Renders child Button components with proper styling to create a cohesive button group.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_ButtonGroup = require('./ButtonGroup.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText } from "./ButtonGroup.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText } from "./ButtonGroup.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from "./ButtonGroup.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
3
3
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
4
4
|
let react = require("react");
|
|
@@ -6,7 +6,7 @@ react = require_rolldown_runtime.__toESM(react);
|
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
8
8
|
|
|
9
|
-
//#region src/Card.tsx
|
|
9
|
+
//#region src/card/Card.tsx
|
|
10
10
|
function CardTitle({ className,...props }) {
|
|
11
11
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CardTitle, {
|
|
12
12
|
className: (0, __pixpilot_shadcn.cn)("text-lg font-semibold tracking-tight", className),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@pixpilot/shadcn";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
|
-
//#region src/Card.d.ts
|
|
5
|
+
//#region src/card/Card.d.ts
|
|
6
6
|
declare function CardTitle$1({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof CardTitle>):
|
|
9
|
+
}: React.ComponentProps<typeof CardTitle>): react_jsx_runtime1.JSX.Element;
|
|
10
10
|
declare function CardHeader$1({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof CardHeader>):
|
|
13
|
+
}: React.ComponentProps<typeof CardHeader>): react_jsx_runtime1.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
|
|
@@ -2,7 +2,7 @@ import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader,
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
|
-
//#region src/Card.d.ts
|
|
5
|
+
//#region src/card/Card.d.ts
|
|
6
6
|
declare function CardTitle$1({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
@@ -2,7 +2,7 @@ import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader,
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
|
-
//#region src/Card.tsx
|
|
5
|
+
//#region src/card/Card.tsx
|
|
6
6
|
function CardTitle$1({ className,...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx(CardTitle, {
|
|
8
8
|
className: cn("text-lg font-semibold tracking-tight", className),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./Card.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./Card.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./Card.js";
|
package/dist/card/mcp.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineProps } from "../mcp/src/utils.js";
|
|
2
|
+
|
|
3
|
+
//#region src/card/mcp.ts
|
|
4
|
+
const meta = {
|
|
5
|
+
name: "Card",
|
|
6
|
+
category: "Layout",
|
|
7
|
+
description: "Composable card primitives for grouping related content with headers, descriptions, actions, content, and footers.",
|
|
8
|
+
htmlElement: "div",
|
|
9
|
+
props: defineProps({}),
|
|
10
|
+
examples: [{
|
|
11
|
+
title: "Complete card",
|
|
12
|
+
code: "<Card><CardHeader><CardTitle>Project</CardTitle><CardDescription>Status overview</CardDescription></CardHeader><CardContent>Ready</CardContent><CardFooter>Updated today</CardFooter></Card>"
|
|
13
|
+
}],
|
|
14
|
+
keywords: [
|
|
15
|
+
"card",
|
|
16
|
+
"surface",
|
|
17
|
+
"layout"
|
|
18
|
+
]
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { meta };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
2
|
-
const require_CloseButtonRounded = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_CloseButtonRounded = require('../close-button-rounded/CloseButtonRounded.cjs');
|
|
3
|
+
require('../close-button-rounded/index.cjs');
|
|
3
4
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
4
5
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
5
6
|
let react = require("react");
|
|
@@ -7,7 +8,7 @@ react = require_rolldown_runtime.__toESM(react);
|
|
|
7
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
9
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
9
10
|
|
|
10
|
-
//#region src/CloseButtonAbsolute.tsx
|
|
11
|
+
//#region src/close-button-absolute/CloseButtonAbsolute.tsx
|
|
11
12
|
const CloseButtonAbsolute = (props) => {
|
|
12
13
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_CloseButtonRounded.CloseButtonRounded, {
|
|
13
14
|
...props,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CloseButtonRounded } from "../close-button-rounded/CloseButtonRounded.cjs";
|
|
2
|
+
import "../close-button-rounded/index.cjs";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/close-button-absolute/CloseButtonAbsolute.d.ts
|
|
6
|
+
interface PopoverCloseButtonProps extends React.ComponentProps<typeof CloseButtonRounded> {}
|
|
7
|
+
declare const CloseButtonAbsolute: React.FC<PopoverCloseButtonProps>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { CloseButtonAbsolute, PopoverCloseButtonProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CloseButtonRounded } from "../close-button-rounded/CloseButtonRounded.js";
|
|
2
|
+
import "../close-button-rounded/index.js";
|
|
3
|
+
import React from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/close-button-absolute/CloseButtonAbsolute.d.ts
|
|
6
|
+
interface PopoverCloseButtonProps extends React.ComponentProps<typeof CloseButtonRounded> {}
|
|
7
|
+
declare const CloseButtonAbsolute: React.FC<PopoverCloseButtonProps>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { CloseButtonAbsolute, PopoverCloseButtonProps };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { CloseButtonRounded } from "
|
|
1
|
+
import { CloseButtonRounded } from "../close-button-rounded/CloseButtonRounded.js";
|
|
2
|
+
import "../close-button-rounded/index.js";
|
|
2
3
|
import { cn } from "@pixpilot/shadcn";
|
|
3
4
|
import React from "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
|
|
6
|
-
//#region src/CloseButtonAbsolute.tsx
|
|
7
|
+
//#region src/close-button-absolute/CloseButtonAbsolute.tsx
|
|
7
8
|
const CloseButtonAbsolute = (props) => {
|
|
8
9
|
return /* @__PURE__ */ jsx(CloseButtonRounded, {
|
|
9
10
|
...props,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_CloseButtonAbsolute = require('./CloseButtonAbsolute.cjs');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { CloseButtonAbsolute, PopoverCloseButtonProps } from "./CloseButtonAbsolute.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { CloseButtonAbsolute, PopoverCloseButtonProps } from "./CloseButtonAbsolute.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { CloseButtonAbsolute } from "./CloseButtonAbsolute.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_rolldown_runtime = require('
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
3
3
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
4
4
|
let lucide_react = require("lucide-react");
|
|
@@ -8,7 +8,7 @@ react = require_rolldown_runtime.__toESM(react);
|
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
10
10
|
|
|
11
|
-
//#region src/CloseButtonRounded.tsx
|
|
11
|
+
//#region src/close-button-rounded/CloseButtonRounded.tsx
|
|
12
12
|
const CloseButtonRounded = (props) => {
|
|
13
13
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Button, {
|
|
14
14
|
...props,
|