@proto.ui/prototypes-shadcn 0.2.0-rc.6 → 0.2.0-rc.7
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 +3 -1
- package/dist/button/button.proto.d.ts +2 -2
- package/dist/button/index.d.ts +2 -2
- package/dist/button/index.js +1 -1
- package/dist/component-presets.d.ts +3 -3
- package/dist/component-presets.js +2 -2
- package/dist/dialog/close-icon.proto.d.ts +1 -1
- package/dist/dialog/close.proto.d.ts +1 -1
- package/dist/dialog/content.proto.d.ts +1 -1
- package/dist/dialog/description.proto.d.ts +1 -1
- package/dist/dialog/index.d.ts +22 -22
- package/dist/dialog/index.js +21 -21
- package/dist/dialog/overlay.proto.d.ts +1 -1
- package/dist/dialog/root.proto.d.ts +1 -1
- package/dist/dialog/title.proto.d.ts +1 -1
- package/dist/dialog/trigger.proto.d.ts +1 -1
- package/dist/dropdown/content.proto.d.ts +1 -1
- package/dist/dropdown/index.d.ts +9 -9
- package/dist/dropdown/index.js +8 -8
- package/dist/dropdown/item.proto.d.ts +2 -2
- package/dist/dropdown/root.proto.d.ts +1 -1
- package/dist/dropdown/trigger.proto.d.ts +2 -2
- package/dist/hover-card/content.proto.d.ts +1 -1
- package/dist/hover-card/index.d.ts +7 -7
- package/dist/hover-card/index.js +6 -6
- package/dist/hover-card/root.proto.d.ts +1 -1
- package/dist/hover-card/trigger.proto.d.ts +1 -1
- package/dist/index.d.ts +47 -47
- package/dist/index.js +39 -39
- package/dist/select/content.proto.d.ts +2 -2
- package/dist/select/index.d.ts +11 -11
- package/dist/select/index.js +10 -10
- package/dist/select/item.proto.d.ts +1 -1
- package/dist/select/root.proto.d.ts +1 -1
- package/dist/select/trigger.proto.d.ts +2 -2
- package/dist/select/value.proto.d.ts +1 -1
- package/dist/switch/index.d.ts +6 -6
- package/dist/switch/index.js +5 -5
- package/dist/switch/root.proto.d.ts +2 -2
- package/dist/switch/thumb.proto.d.ts +2 -2
- package/dist/tabs/content.proto.d.ts +2 -2
- package/dist/tabs/content.proto.js +1 -1
- package/dist/tabs/index.d.ts +9 -9
- package/dist/tabs/index.js +8 -8
- package/dist/tabs/list.proto.d.ts +2 -2
- package/dist/tabs/list.proto.js +1 -1
- package/dist/tabs/root.proto.d.ts +2 -2
- package/dist/tabs/root.proto.js +1 -1
- package/dist/tabs/trigger.proto.d.ts +2 -2
- package/dist/tabs/trigger.proto.js +12 -12
- package/dist/toggle/index.d.ts +2 -2
- package/dist/toggle/index.js +1 -1
- package/dist/toggle/toggle.proto.d.ts +3 -3
- package/package.json +13 -3
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ Prototype library package intended to be consumed together with Proto UI adapter
|
|
|
22
22
|
## Install
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npm install @proto.ui/prototypes-shadcn@0.2.0-rc.
|
|
25
|
+
npm install @proto.ui/prototypes-shadcn@0.2.0-rc.7
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Family Imports
|
|
@@ -39,6 +39,8 @@ The root package export remains available for compatibility. Shadcn families do
|
|
|
39
39
|
## Internal Structure
|
|
40
40
|
|
|
41
41
|
- `src/button/`
|
|
42
|
+
- `src/component-presets.ts`
|
|
43
|
+
- `src/component-presets.types.ts`
|
|
42
44
|
- `src/dialog/`
|
|
43
45
|
- `src/dropdown/`
|
|
44
46
|
- `src/hover-card/`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ShadcnButtonExposes, ShadcnButtonProps, ShadcnButtonSize, ShadcnButtonVariant } from './types';
|
|
2
|
-
declare const button: import("@proto.ui/core").Prototype<ShadcnButtonProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnButtonExposes, ShadcnButtonProps, ShadcnButtonSize, ShadcnButtonVariant } from './types.js';
|
|
2
|
+
declare const button: import("@proto.ui/core").Prototype<ShadcnButtonProps, import("@proto.ui/prototypes-base").ButtonExposes>;
|
|
3
3
|
/**
|
|
4
4
|
* P-SHADCN-BUTTON-COMPATIBILITY-SUBSET:
|
|
5
5
|
* The one catalog open question centralizes every upstream difference.
|
package/dist/button/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default, default as shadcnButton } from './button.proto';
|
|
2
|
-
export type { ShadcnButtonExposes, ShadcnButtonProps, ShadcnButtonSize, ShadcnButtonVariant, } from './button.proto';
|
|
1
|
+
export { default, default as shadcnButton } from './button.proto.js';
|
|
2
|
+
export type { ShadcnButtonExposes, ShadcnButtonProps, ShadcnButtonSize, ShadcnButtonVariant, } from './button.proto.js';
|
package/dist/button/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, default as shadcnButton } from './button.proto';
|
|
1
|
+
export { default, default as shadcnButton } from './button.proto.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { shadcnDialogComponentPreset } from './dialog/preset';
|
|
2
|
-
import { shadcnSwitchComponentPreset } from './switch/preset';
|
|
3
|
-
export type { ShadcnComponentPresetRecipe } from './component-presets.types';
|
|
1
|
+
import { shadcnDialogComponentPreset } from './dialog/preset.js';
|
|
2
|
+
import { shadcnSwitchComponentPreset } from './switch/preset.js';
|
|
3
|
+
export type { ShadcnComponentPresetRecipe } from './component-presets.types.js';
|
|
4
4
|
export { shadcnDialogComponentPreset, shadcnSwitchComponentPreset };
|
|
5
5
|
/**
|
|
6
6
|
* Aggregate surface for prototype-library-owned composition recipes.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { shadcnDialogComponentPreset } from './dialog/preset';
|
|
2
|
-
import { shadcnSwitchComponentPreset } from './switch/preset';
|
|
1
|
+
import { shadcnDialogComponentPreset } from './dialog/preset.js';
|
|
2
|
+
import { shadcnSwitchComponentPreset } from './switch/preset.js';
|
|
3
3
|
export { shadcnDialogComponentPreset, shadcnSwitchComponentPreset };
|
|
4
4
|
/**
|
|
5
5
|
* Aggregate surface for prototype-library-owned composition recipes.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const dialogCloseIcon: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dialogCloseIcon: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DialogCloseProps, import("@proto.ui/prototypes-base").DialogCloseExposes>;
|
|
2
2
|
export default dialogCloseIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const dialogClose: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dialogClose: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DialogCloseProps, import("@proto.ui/prototypes-base").DialogCloseExposes>;
|
|
2
2
|
/** P-SHADCN-DIALOG-CLOSE-DIRECT-ENTRY and P-SHADCN-DIALOG-CLOSE-STATE-DRIVEN-STYLES. */
|
|
3
3
|
export default dialogClose;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnDialogContentExposes, ShadcnDialogContentProps } from './types';
|
|
1
|
+
import type { ShadcnDialogContentExposes, ShadcnDialogContentProps } from './types.js';
|
|
2
2
|
declare const dialogContent: import("@proto.ui/core").Prototype<ShadcnDialogContentProps, ShadcnDialogContentExposes>;
|
|
3
3
|
/** P-SHADCN-DIALOG-CONTENT-DIRECT-ENTRY; parity is bounded by P-SHADCN-DIALOG-CONTENT-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default dialogContent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const dialogDescription: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dialogDescription: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DialogDescriptionProps, import("@proto.ui/prototypes-base").DialogDescriptionExposes>;
|
|
2
2
|
/** P-SHADCN-DIALOG-DESCRIPTION-DIRECT-ENTRY; parity is bounded by P-SHADCN-DIALOG-DESCRIPTION-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default dialogDescription;
|
package/dist/dialog/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import dialogClose from './close.proto';
|
|
2
|
-
import dialogContent from './content.proto';
|
|
3
|
-
import dialogCloseIcon from './close-icon.proto';
|
|
4
|
-
import dialogDescription from './description.proto';
|
|
5
|
-
import dialogMask from './overlay.proto';
|
|
6
|
-
import dialogRoot from './root.proto';
|
|
7
|
-
import dialogTitle from './title.proto';
|
|
8
|
-
import dialogTrigger from './trigger.proto';
|
|
9
|
-
import dialogHeader from './header.proto';
|
|
10
|
-
import dialogFooter from './footer.proto';
|
|
11
|
-
export type { ShadcnDialogRootProps, ShadcnDialogRootExposes, ShadcnDialogRootAsHookContract, ShadcnDialogTriggerProps, ShadcnDialogTriggerExposes, ShadcnDialogTriggerAsHookContract, ShadcnDialogMaskProps, ShadcnDialogMaskExposes, ShadcnDialogMaskAsHookContract, ShadcnDialogContentProps, ShadcnDialogContentExposes, ShadcnDialogContentAsHookContract, ShadcnDialogTitleProps, ShadcnDialogTitleExposes, ShadcnDialogTitleAsHookContract, ShadcnDialogDescriptionProps, ShadcnDialogDescriptionExposes, ShadcnDialogDescriptionAsHookContract, ShadcnDialogCloseProps, ShadcnDialogCloseExposes, ShadcnDialogCloseAsHookContract, } from './types';
|
|
1
|
+
import dialogClose from './close.proto.js';
|
|
2
|
+
import dialogContent from './content.proto.js';
|
|
3
|
+
import dialogCloseIcon from './close-icon.proto.js';
|
|
4
|
+
import dialogDescription from './description.proto.js';
|
|
5
|
+
import dialogMask from './overlay.proto.js';
|
|
6
|
+
import dialogRoot from './root.proto.js';
|
|
7
|
+
import dialogTitle from './title.proto.js';
|
|
8
|
+
import dialogTrigger from './trigger.proto.js';
|
|
9
|
+
import dialogHeader from './header.proto.js';
|
|
10
|
+
import dialogFooter from './footer.proto.js';
|
|
11
|
+
export type { ShadcnDialogRootProps, ShadcnDialogRootExposes, ShadcnDialogRootAsHookContract, ShadcnDialogTriggerProps, ShadcnDialogTriggerExposes, ShadcnDialogTriggerAsHookContract, ShadcnDialogMaskProps, ShadcnDialogMaskExposes, ShadcnDialogMaskAsHookContract, ShadcnDialogContentProps, ShadcnDialogContentExposes, ShadcnDialogContentAsHookContract, ShadcnDialogTitleProps, ShadcnDialogTitleExposes, ShadcnDialogTitleAsHookContract, ShadcnDialogDescriptionProps, ShadcnDialogDescriptionExposes, ShadcnDialogDescriptionAsHookContract, ShadcnDialogCloseProps, ShadcnDialogCloseExposes, ShadcnDialogCloseAsHookContract, } from './types.js';
|
|
12
12
|
export { dialogRoot, dialogTrigger, dialogMask, dialogContent, dialogTitle, dialogDescription, dialogClose, dialogCloseIcon, dialogHeader, dialogFooter, };
|
|
13
|
-
export { default as shadcnDialogRoot } from './root.proto';
|
|
14
|
-
export { default as shadcnDialogTrigger } from './trigger.proto';
|
|
15
|
-
export { default as shadcnDialogMask } from './overlay.proto';
|
|
16
|
-
export { default as shadcnDialogContent } from './content.proto';
|
|
17
|
-
export { default as shadcnDialogTitle } from './title.proto';
|
|
18
|
-
export { default as shadcnDialogDescription } from './description.proto';
|
|
19
|
-
export { default as shadcnDialogClose } from './close.proto';
|
|
20
|
-
export { default as shadcnDialogCloseIcon } from './close-icon.proto';
|
|
21
|
-
export { default as shadcnDialogHeader } from './header.proto';
|
|
22
|
-
export { default as shadcnDialogFooter } from './footer.proto';
|
|
23
|
-
export { default as componentPreset, shadcnDialogComponentPreset } from './preset';
|
|
13
|
+
export { default as shadcnDialogRoot } from './root.proto.js';
|
|
14
|
+
export { default as shadcnDialogTrigger } from './trigger.proto.js';
|
|
15
|
+
export { default as shadcnDialogMask } from './overlay.proto.js';
|
|
16
|
+
export { default as shadcnDialogContent } from './content.proto.js';
|
|
17
|
+
export { default as shadcnDialogTitle } from './title.proto.js';
|
|
18
|
+
export { default as shadcnDialogDescription } from './description.proto.js';
|
|
19
|
+
export { default as shadcnDialogClose } from './close.proto.js';
|
|
20
|
+
export { default as shadcnDialogCloseIcon } from './close-icon.proto.js';
|
|
21
|
+
export { default as shadcnDialogHeader } from './header.proto.js';
|
|
22
|
+
export { default as shadcnDialogFooter } from './footer.proto.js';
|
|
23
|
+
export { default as componentPreset, shadcnDialogComponentPreset } from './preset.js';
|
package/dist/dialog/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import dialogClose from './close.proto';
|
|
2
|
-
import dialogContent from './content.proto';
|
|
3
|
-
import dialogCloseIcon from './close-icon.proto';
|
|
4
|
-
import dialogDescription from './description.proto';
|
|
5
|
-
import dialogMask from './overlay.proto';
|
|
6
|
-
import dialogRoot from './root.proto';
|
|
7
|
-
import dialogTitle from './title.proto';
|
|
8
|
-
import dialogTrigger from './trigger.proto';
|
|
9
|
-
import dialogHeader from './header.proto';
|
|
10
|
-
import dialogFooter from './footer.proto';
|
|
1
|
+
import dialogClose from './close.proto.js';
|
|
2
|
+
import dialogContent from './content.proto.js';
|
|
3
|
+
import dialogCloseIcon from './close-icon.proto.js';
|
|
4
|
+
import dialogDescription from './description.proto.js';
|
|
5
|
+
import dialogMask from './overlay.proto.js';
|
|
6
|
+
import dialogRoot from './root.proto.js';
|
|
7
|
+
import dialogTitle from './title.proto.js';
|
|
8
|
+
import dialogTrigger from './trigger.proto.js';
|
|
9
|
+
import dialogHeader from './header.proto.js';
|
|
10
|
+
import dialogFooter from './footer.proto.js';
|
|
11
11
|
export { dialogRoot, dialogTrigger, dialogMask, dialogContent, dialogTitle, dialogDescription, dialogClose, dialogCloseIcon, dialogHeader, dialogFooter, };
|
|
12
|
-
export { default as shadcnDialogRoot } from './root.proto';
|
|
13
|
-
export { default as shadcnDialogTrigger } from './trigger.proto';
|
|
14
|
-
export { default as shadcnDialogMask } from './overlay.proto';
|
|
15
|
-
export { default as shadcnDialogContent } from './content.proto';
|
|
16
|
-
export { default as shadcnDialogTitle } from './title.proto';
|
|
17
|
-
export { default as shadcnDialogDescription } from './description.proto';
|
|
18
|
-
export { default as shadcnDialogClose } from './close.proto';
|
|
19
|
-
export { default as shadcnDialogCloseIcon } from './close-icon.proto';
|
|
20
|
-
export { default as shadcnDialogHeader } from './header.proto';
|
|
21
|
-
export { default as shadcnDialogFooter } from './footer.proto';
|
|
22
|
-
export { default as componentPreset, shadcnDialogComponentPreset } from './preset';
|
|
12
|
+
export { default as shadcnDialogRoot } from './root.proto.js';
|
|
13
|
+
export { default as shadcnDialogTrigger } from './trigger.proto.js';
|
|
14
|
+
export { default as shadcnDialogMask } from './overlay.proto.js';
|
|
15
|
+
export { default as shadcnDialogContent } from './content.proto.js';
|
|
16
|
+
export { default as shadcnDialogTitle } from './title.proto.js';
|
|
17
|
+
export { default as shadcnDialogDescription } from './description.proto.js';
|
|
18
|
+
export { default as shadcnDialogClose } from './close.proto.js';
|
|
19
|
+
export { default as shadcnDialogCloseIcon } from './close-icon.proto.js';
|
|
20
|
+
export { default as shadcnDialogHeader } from './header.proto.js';
|
|
21
|
+
export { default as shadcnDialogFooter } from './footer.proto.js';
|
|
22
|
+
export { default as componentPreset, shadcnDialogComponentPreset } from './preset.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnDialogMaskExposes, ShadcnDialogMaskProps } from './types';
|
|
1
|
+
import type { ShadcnDialogMaskExposes, ShadcnDialogMaskProps } from './types.js';
|
|
2
2
|
declare const dialogMask: import("@proto.ui/core").Prototype<ShadcnDialogMaskProps, ShadcnDialogMaskExposes>;
|
|
3
3
|
/** P-SHADCN-DIALOG-MASK-DIRECT-ENTRY; parity is bounded by P-SHADCN-DIALOG-MASK-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default dialogMask;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const dialogRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dialogRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DialogRootProps, import("@proto.ui/prototypes-base").DialogRootExposes>;
|
|
2
2
|
/** P-SHADCN-DIALOG-DIRECT-ENTRY; parity is bounded by P-SHADCN-DIALOG-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default dialogRoot;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const dialogTitle: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dialogTitle: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DialogTitleProps, import("@proto.ui/prototypes-base").DialogTitleExposes>;
|
|
2
2
|
/** P-SHADCN-DIALOG-TITLE-DIRECT-ENTRY; parity is bounded by P-SHADCN-DIALOG-TITLE-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default dialogTitle;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const dialogTrigger: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dialogTrigger: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DialogTriggerProps, import("@proto.ui/prototypes-base").DialogTriggerExposes>;
|
|
2
2
|
/** P-SHADCN-DIALOG-TRIGGER-DIRECT-ENTRY and P-SHADCN-DIALOG-TRIGGER-UNSTYLED-SURFACE. */
|
|
3
3
|
export default dialogTrigger;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const dropdownContent: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dropdownContent: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DropdownContentProps, import("@proto.ui/prototypes-base").DropdownContentExposes>;
|
|
2
2
|
/** P-SHADCN-DROPDOWN-MENU-CONTENT-DIRECT-ENTRY; parity is bounded by P-SHADCN-DROPDOWN-MENU-CONTENT-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default dropdownContent;
|
package/dist/dropdown/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import dropdownContent from './content.proto';
|
|
2
|
-
import dropdownItem from './item.proto';
|
|
3
|
-
import dropdownRoot from './root.proto';
|
|
4
|
-
import dropdownTrigger from './trigger.proto';
|
|
5
|
-
export type { ShadcnDropdownRootProps, ShadcnDropdownRootExposes, ShadcnDropdownRootAsHookContract, ShadcnDropdownTriggerProps, ShadcnDropdownTriggerExposes, ShadcnDropdownTriggerAsHookContract, ShadcnDropdownContentProps, ShadcnDropdownContentExposes, ShadcnDropdownContentAsHookContract, ShadcnDropdownItemProps, ShadcnDropdownItemExposes, ShadcnDropdownItemAsHookContract, } from './types';
|
|
1
|
+
import dropdownContent from './content.proto.js';
|
|
2
|
+
import dropdownItem from './item.proto.js';
|
|
3
|
+
import dropdownRoot from './root.proto.js';
|
|
4
|
+
import dropdownTrigger from './trigger.proto.js';
|
|
5
|
+
export type { ShadcnDropdownRootProps, ShadcnDropdownRootExposes, ShadcnDropdownRootAsHookContract, ShadcnDropdownTriggerProps, ShadcnDropdownTriggerExposes, ShadcnDropdownTriggerAsHookContract, ShadcnDropdownContentProps, ShadcnDropdownContentExposes, ShadcnDropdownContentAsHookContract, ShadcnDropdownItemProps, ShadcnDropdownItemExposes, ShadcnDropdownItemAsHookContract, } from './types.js';
|
|
6
6
|
export { dropdownRoot, dropdownTrigger, dropdownContent, dropdownItem };
|
|
7
|
-
export { default as shadcnDropdownRoot } from './root.proto';
|
|
8
|
-
export { default as shadcnDropdownTrigger } from './trigger.proto';
|
|
9
|
-
export { default as shadcnDropdownContent } from './content.proto';
|
|
10
|
-
export { default as shadcnDropdownItem } from './item.proto';
|
|
7
|
+
export { default as shadcnDropdownRoot } from './root.proto.js';
|
|
8
|
+
export { default as shadcnDropdownTrigger } from './trigger.proto.js';
|
|
9
|
+
export { default as shadcnDropdownContent } from './content.proto.js';
|
|
10
|
+
export { default as shadcnDropdownItem } from './item.proto.js';
|
package/dist/dropdown/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import dropdownContent from './content.proto';
|
|
2
|
-
import dropdownItem from './item.proto';
|
|
3
|
-
import dropdownRoot from './root.proto';
|
|
4
|
-
import dropdownTrigger from './trigger.proto';
|
|
1
|
+
import dropdownContent from './content.proto.js';
|
|
2
|
+
import dropdownItem from './item.proto.js';
|
|
3
|
+
import dropdownRoot from './root.proto.js';
|
|
4
|
+
import dropdownTrigger from './trigger.proto.js';
|
|
5
5
|
export { dropdownRoot, dropdownTrigger, dropdownContent, dropdownItem };
|
|
6
|
-
export { default as shadcnDropdownRoot } from './root.proto';
|
|
7
|
-
export { default as shadcnDropdownTrigger } from './trigger.proto';
|
|
8
|
-
export { default as shadcnDropdownContent } from './content.proto';
|
|
9
|
-
export { default as shadcnDropdownItem } from './item.proto';
|
|
6
|
+
export { default as shadcnDropdownRoot } from './root.proto.js';
|
|
7
|
+
export { default as shadcnDropdownTrigger } from './trigger.proto.js';
|
|
8
|
+
export { default as shadcnDropdownContent } from './content.proto.js';
|
|
9
|
+
export { default as shadcnDropdownItem } from './item.proto.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnDropdownItemProps } from './types';
|
|
2
|
-
declare const dropdownItem: import("@proto.ui/core").Prototype<ShadcnDropdownItemProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnDropdownItemProps } from './types.js';
|
|
2
|
+
declare const dropdownItem: import("@proto.ui/core").Prototype<ShadcnDropdownItemProps, import("@proto.ui/prototypes-base").DropdownItemExposes>;
|
|
3
3
|
/** P-SHADCN-DROPDOWN-MENU-ITEM-DIRECT-ENTRY; parity is bounded by P-SHADCN-DROPDOWN-MENU-ITEM-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default dropdownItem;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const dropdownRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const dropdownRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").DropdownRootProps, import("@proto.ui/prototypes-base").DropdownRootExposes>;
|
|
2
2
|
/** P-SHADCN-DROPDOWN-MENU-DIRECT-ENTRY; parity is bounded by P-SHADCN-DROPDOWN-MENU-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default dropdownRoot;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnDropdownTriggerProps } from './types';
|
|
2
|
-
declare const dropdownTrigger: import("@proto.ui/core").Prototype<ShadcnDropdownTriggerProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnDropdownTriggerProps } from './types.js';
|
|
2
|
+
declare const dropdownTrigger: import("@proto.ui/core").Prototype<ShadcnDropdownTriggerProps, import("@proto.ui/prototypes-base").DropdownTriggerExposes>;
|
|
3
3
|
/** P-SHADCN-DROPDOWN-MENU-TRIGGER-DIRECT-ENTRY; parity is bounded by P-SHADCN-DROPDOWN-MENU-TRIGGER-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default dropdownTrigger;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const hoverCardContent: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const hoverCardContent: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").HoverCardContentProps, import("@proto.ui/prototypes-base").HoverCardContentExposes>;
|
|
2
2
|
/** P-SHADCN-HOVER-CARD-CONTENT-DIRECT-ENTRY; parity is bounded by P-SHADCN-HOVER-CARD-CONTENT-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default hoverCardContent;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import hoverCardContent from './content.proto';
|
|
2
|
-
import hoverCardRoot from './root.proto';
|
|
3
|
-
import hoverCardTrigger from './trigger.proto';
|
|
4
|
-
export type { ShadcnHoverCardRootProps, ShadcnHoverCardRootExposes, ShadcnHoverCardRootAsHookContract, ShadcnHoverCardTriggerProps, ShadcnHoverCardTriggerExposes, ShadcnHoverCardTriggerAsHookContract, ShadcnHoverCardContentProps, ShadcnHoverCardContentExposes, ShadcnHoverCardContentAsHookContract, } from './types';
|
|
1
|
+
import hoverCardContent from './content.proto.js';
|
|
2
|
+
import hoverCardRoot from './root.proto.js';
|
|
3
|
+
import hoverCardTrigger from './trigger.proto.js';
|
|
4
|
+
export type { ShadcnHoverCardRootProps, ShadcnHoverCardRootExposes, ShadcnHoverCardRootAsHookContract, ShadcnHoverCardTriggerProps, ShadcnHoverCardTriggerExposes, ShadcnHoverCardTriggerAsHookContract, ShadcnHoverCardContentProps, ShadcnHoverCardContentExposes, ShadcnHoverCardContentAsHookContract, } from './types.js';
|
|
5
5
|
export { hoverCardRoot, hoverCardTrigger, hoverCardContent };
|
|
6
|
-
export { default as shadcnHoverCardRoot } from './root.proto';
|
|
7
|
-
export { default as shadcnHoverCardTrigger } from './trigger.proto';
|
|
8
|
-
export { default as shadcnHoverCardContent } from './content.proto';
|
|
6
|
+
export { default as shadcnHoverCardRoot } from './root.proto.js';
|
|
7
|
+
export { default as shadcnHoverCardTrigger } from './trigger.proto.js';
|
|
8
|
+
export { default as shadcnHoverCardContent } from './content.proto.js';
|
package/dist/hover-card/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import hoverCardContent from './content.proto';
|
|
2
|
-
import hoverCardRoot from './root.proto';
|
|
3
|
-
import hoverCardTrigger from './trigger.proto';
|
|
1
|
+
import hoverCardContent from './content.proto.js';
|
|
2
|
+
import hoverCardRoot from './root.proto.js';
|
|
3
|
+
import hoverCardTrigger from './trigger.proto.js';
|
|
4
4
|
export { hoverCardRoot, hoverCardTrigger, hoverCardContent };
|
|
5
|
-
export { default as shadcnHoverCardRoot } from './root.proto';
|
|
6
|
-
export { default as shadcnHoverCardTrigger } from './trigger.proto';
|
|
7
|
-
export { default as shadcnHoverCardContent } from './content.proto';
|
|
5
|
+
export { default as shadcnHoverCardRoot } from './root.proto.js';
|
|
6
|
+
export { default as shadcnHoverCardTrigger } from './trigger.proto.js';
|
|
7
|
+
export { default as shadcnHoverCardContent } from './content.proto.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const hoverCardRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const hoverCardRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").HoverCardRootProps, import("@proto.ui/prototypes-base").HoverCardRootExposes>;
|
|
2
2
|
/** P-SHADCN-HOVER-CARD-DIRECT-ENTRY; parity is bounded by P-SHADCN-HOVER-CARD-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default hoverCardRoot;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const hoverCardTrigger: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const hoverCardTrigger: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").HoverCardTriggerProps, import("@proto.ui/prototypes-base").HoverCardTriggerExposes>;
|
|
2
2
|
/** P-SHADCN-HOVER-CARD-TRIGGER-DIRECT-ENTRY; parity is bounded by P-SHADCN-HOVER-CARD-TRIGGER-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default hoverCardTrigger;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
export { default as button } from './button';
|
|
2
|
-
export { default as shadcnButton } from './button';
|
|
3
|
-
export { default as componentPresets, shadcnDialogComponentPreset, shadcnComponentPresets, shadcnSwitchComponentPreset, type ShadcnComponentPresetRecipe, } from './component-presets';
|
|
4
|
-
export { default as toggle } from './toggle';
|
|
5
|
-
export { default as shadcnToggle } from './toggle';
|
|
6
|
-
export { switchRoot, switchThumb } from './switch';
|
|
7
|
-
export { default as shadcnSwitchRoot } from './switch/root.proto';
|
|
8
|
-
export { default as shadcnSwitchThumb } from './switch/thumb.proto';
|
|
9
|
-
export { tabsRoot, tabsList, tabsTrigger, tabsContent } from './tabs';
|
|
10
|
-
export { hoverCardRoot, hoverCardTrigger, hoverCardContent } from './hover-card';
|
|
11
|
-
export { dropdownRoot, dropdownTrigger, dropdownContent, dropdownItem } from './dropdown';
|
|
12
|
-
export { selectRoot, selectTrigger, selectValue, selectContent, selectItem } from './select';
|
|
13
|
-
export { default as shadcnTabsRoot } from './tabs/root.proto';
|
|
14
|
-
export { default as shadcnTabsList } from './tabs/list.proto';
|
|
15
|
-
export { default as shadcnTabsTrigger } from './tabs/trigger.proto';
|
|
16
|
-
export { default as shadcnTabsContent } from './tabs/content.proto';
|
|
17
|
-
export { default as shadcnHoverCardRoot } from './hover-card/root.proto';
|
|
18
|
-
export { default as shadcnHoverCardTrigger } from './hover-card/trigger.proto';
|
|
19
|
-
export { default as shadcnHoverCardContent } from './hover-card/content.proto';
|
|
20
|
-
export { default as shadcnDropdownRoot } from './dropdown/root.proto';
|
|
21
|
-
export { default as shadcnDropdownTrigger } from './dropdown/trigger.proto';
|
|
22
|
-
export { default as shadcnDropdownContent } from './dropdown/content.proto';
|
|
23
|
-
export { default as shadcnDropdownItem } from './dropdown/item.proto';
|
|
24
|
-
export { default as shadcnSelectRoot } from './select/root.proto';
|
|
25
|
-
export { default as shadcnSelectTrigger } from './select/trigger.proto';
|
|
26
|
-
export { default as shadcnSelectValue } from './select/value.proto';
|
|
27
|
-
export { default as shadcnSelectContent } from './select/content.proto';
|
|
28
|
-
export { default as shadcnSelectItem } from './select/item.proto';
|
|
29
|
-
export { dialogRoot, dialogTrigger, dialogMask, dialogContent, dialogTitle, dialogDescription, dialogClose, dialogCloseIcon, dialogHeader, dialogFooter, } from './dialog';
|
|
30
|
-
export { default as shadcnDialogRoot } from './dialog/root.proto';
|
|
31
|
-
export { default as shadcnDialogTrigger } from './dialog/trigger.proto';
|
|
32
|
-
export { default as shadcnDialogMask } from './dialog/overlay.proto';
|
|
33
|
-
export { default as shadcnDialogContent } from './dialog/content.proto';
|
|
34
|
-
export { default as shadcnDialogTitle } from './dialog/title.proto';
|
|
35
|
-
export { default as shadcnDialogDescription } from './dialog/description.proto';
|
|
36
|
-
export { default as shadcnDialogClose } from './dialog/close.proto';
|
|
37
|
-
export { default as shadcnDialogCloseIcon } from './dialog/close-icon.proto';
|
|
38
|
-
export { default as shadcnDialogHeader } from './dialog/header.proto';
|
|
39
|
-
export { default as shadcnDialogFooter } from './dialog/footer.proto';
|
|
40
|
-
export type { ShadcnButtonProps, ShadcnButtonExposes, ShadcnButtonSize, ShadcnButtonVariant, } from './button/types';
|
|
41
|
-
export type { ShadcnToggleProps, ShadcnToggleExposes, ShadcnToggleStateHandles, ShadcnToggleAsHookContract, } from './toggle/types';
|
|
42
|
-
export type { ShadcnSwitchRootProps, ShadcnSwitchRootExposes, ShadcnSwitchRootStateHandles, ShadcnSwitchRootAsHookContract, ShadcnSwitchThumbProps, ShadcnSwitchThumbExposes, ShadcnSwitchThumbAsHookContract, } from './switch/types';
|
|
43
|
-
export type { ShadcnTabsRootProps, ShadcnTabsRootExposes, ShadcnTabsRootAsHookContract, ShadcnTabsListProps, ShadcnTabsListExposes, ShadcnTabsListAsHookContract, ShadcnTabsTriggerProps, ShadcnTabsTriggerExposes, ShadcnTabsTriggerStateHandles, ShadcnTabsTriggerAsHookContract, ShadcnTabsContentProps, ShadcnTabsContentExposes, ShadcnTabsContentAsHookContract, } from './tabs/types';
|
|
44
|
-
export type { ShadcnHoverCardRootProps, ShadcnHoverCardRootExposes, ShadcnHoverCardRootAsHookContract, ShadcnHoverCardTriggerProps, ShadcnHoverCardTriggerExposes, ShadcnHoverCardTriggerAsHookContract, ShadcnHoverCardContentProps, ShadcnHoverCardContentExposes, ShadcnHoverCardContentAsHookContract, } from './hover-card/types';
|
|
45
|
-
export type { ShadcnDropdownRootProps, ShadcnDropdownRootExposes, ShadcnDropdownRootAsHookContract, ShadcnDropdownTriggerProps, ShadcnDropdownTriggerExposes, ShadcnDropdownTriggerAsHookContract, ShadcnDropdownContentProps, ShadcnDropdownContentExposes, ShadcnDropdownContentAsHookContract, ShadcnDropdownItemProps, ShadcnDropdownItemExposes, ShadcnDropdownItemAsHookContract, } from './dropdown/types';
|
|
46
|
-
export type { ShadcnSelectRootProps, ShadcnSelectRootExposes, ShadcnSelectRootAsHookContract, ShadcnSelectTriggerProps, ShadcnSelectTriggerExposes, ShadcnSelectTriggerAsHookContract, ShadcnSelectValueProps, ShadcnSelectValueExposes, ShadcnSelectValueAsHookContract, ShadcnSelectContentProps, ShadcnSelectContentExposes, ShadcnSelectContentAsHookContract, ShadcnSelectItemProps, ShadcnSelectItemExposes, ShadcnSelectItemAsHookContract, } from './select/types';
|
|
47
|
-
export type { ShadcnDialogRootProps, ShadcnDialogRootExposes, ShadcnDialogRootAsHookContract, ShadcnDialogTriggerProps, ShadcnDialogTriggerExposes, ShadcnDialogTriggerAsHookContract, ShadcnDialogMaskProps, ShadcnDialogMaskExposes, ShadcnDialogMaskAsHookContract, ShadcnDialogContentProps, ShadcnDialogContentExposes, ShadcnDialogContentAsHookContract, ShadcnDialogTitleProps, ShadcnDialogTitleExposes, ShadcnDialogTitleAsHookContract, ShadcnDialogDescriptionProps, ShadcnDialogDescriptionExposes, ShadcnDialogDescriptionAsHookContract, ShadcnDialogCloseProps, ShadcnDialogCloseExposes, ShadcnDialogCloseAsHookContract, } from './dialog/types';
|
|
1
|
+
export { default as button } from './button/index.js';
|
|
2
|
+
export { default as shadcnButton } from './button/index.js';
|
|
3
|
+
export { default as componentPresets, shadcnDialogComponentPreset, shadcnComponentPresets, shadcnSwitchComponentPreset, type ShadcnComponentPresetRecipe, } from './component-presets.js';
|
|
4
|
+
export { default as toggle } from './toggle/index.js';
|
|
5
|
+
export { default as shadcnToggle } from './toggle/index.js';
|
|
6
|
+
export { switchRoot, switchThumb } from './switch/index.js';
|
|
7
|
+
export { default as shadcnSwitchRoot } from './switch/root.proto.js';
|
|
8
|
+
export { default as shadcnSwitchThumb } from './switch/thumb.proto.js';
|
|
9
|
+
export { tabsRoot, tabsList, tabsTrigger, tabsContent } from './tabs/index.js';
|
|
10
|
+
export { hoverCardRoot, hoverCardTrigger, hoverCardContent } from './hover-card/index.js';
|
|
11
|
+
export { dropdownRoot, dropdownTrigger, dropdownContent, dropdownItem } from './dropdown/index.js';
|
|
12
|
+
export { selectRoot, selectTrigger, selectValue, selectContent, selectItem } from './select/index.js';
|
|
13
|
+
export { default as shadcnTabsRoot } from './tabs/root.proto.js';
|
|
14
|
+
export { default as shadcnTabsList } from './tabs/list.proto.js';
|
|
15
|
+
export { default as shadcnTabsTrigger } from './tabs/trigger.proto.js';
|
|
16
|
+
export { default as shadcnTabsContent } from './tabs/content.proto.js';
|
|
17
|
+
export { default as shadcnHoverCardRoot } from './hover-card/root.proto.js';
|
|
18
|
+
export { default as shadcnHoverCardTrigger } from './hover-card/trigger.proto.js';
|
|
19
|
+
export { default as shadcnHoverCardContent } from './hover-card/content.proto.js';
|
|
20
|
+
export { default as shadcnDropdownRoot } from './dropdown/root.proto.js';
|
|
21
|
+
export { default as shadcnDropdownTrigger } from './dropdown/trigger.proto.js';
|
|
22
|
+
export { default as shadcnDropdownContent } from './dropdown/content.proto.js';
|
|
23
|
+
export { default as shadcnDropdownItem } from './dropdown/item.proto.js';
|
|
24
|
+
export { default as shadcnSelectRoot } from './select/root.proto.js';
|
|
25
|
+
export { default as shadcnSelectTrigger } from './select/trigger.proto.js';
|
|
26
|
+
export { default as shadcnSelectValue } from './select/value.proto.js';
|
|
27
|
+
export { default as shadcnSelectContent } from './select/content.proto.js';
|
|
28
|
+
export { default as shadcnSelectItem } from './select/item.proto.js';
|
|
29
|
+
export { dialogRoot, dialogTrigger, dialogMask, dialogContent, dialogTitle, dialogDescription, dialogClose, dialogCloseIcon, dialogHeader, dialogFooter, } from './dialog/index.js';
|
|
30
|
+
export { default as shadcnDialogRoot } from './dialog/root.proto.js';
|
|
31
|
+
export { default as shadcnDialogTrigger } from './dialog/trigger.proto.js';
|
|
32
|
+
export { default as shadcnDialogMask } from './dialog/overlay.proto.js';
|
|
33
|
+
export { default as shadcnDialogContent } from './dialog/content.proto.js';
|
|
34
|
+
export { default as shadcnDialogTitle } from './dialog/title.proto.js';
|
|
35
|
+
export { default as shadcnDialogDescription } from './dialog/description.proto.js';
|
|
36
|
+
export { default as shadcnDialogClose } from './dialog/close.proto.js';
|
|
37
|
+
export { default as shadcnDialogCloseIcon } from './dialog/close-icon.proto.js';
|
|
38
|
+
export { default as shadcnDialogHeader } from './dialog/header.proto.js';
|
|
39
|
+
export { default as shadcnDialogFooter } from './dialog/footer.proto.js';
|
|
40
|
+
export type { ShadcnButtonProps, ShadcnButtonExposes, ShadcnButtonSize, ShadcnButtonVariant, } from './button/types.js';
|
|
41
|
+
export type { ShadcnToggleProps, ShadcnToggleExposes, ShadcnToggleStateHandles, ShadcnToggleAsHookContract, } from './toggle/types.js';
|
|
42
|
+
export type { ShadcnSwitchRootProps, ShadcnSwitchRootExposes, ShadcnSwitchRootStateHandles, ShadcnSwitchRootAsHookContract, ShadcnSwitchThumbProps, ShadcnSwitchThumbExposes, ShadcnSwitchThumbAsHookContract, } from './switch/types.js';
|
|
43
|
+
export type { ShadcnTabsRootProps, ShadcnTabsRootExposes, ShadcnTabsRootAsHookContract, ShadcnTabsListProps, ShadcnTabsListExposes, ShadcnTabsListAsHookContract, ShadcnTabsTriggerProps, ShadcnTabsTriggerExposes, ShadcnTabsTriggerStateHandles, ShadcnTabsTriggerAsHookContract, ShadcnTabsContentProps, ShadcnTabsContentExposes, ShadcnTabsContentAsHookContract, } from './tabs/types.js';
|
|
44
|
+
export type { ShadcnHoverCardRootProps, ShadcnHoverCardRootExposes, ShadcnHoverCardRootAsHookContract, ShadcnHoverCardTriggerProps, ShadcnHoverCardTriggerExposes, ShadcnHoverCardTriggerAsHookContract, ShadcnHoverCardContentProps, ShadcnHoverCardContentExposes, ShadcnHoverCardContentAsHookContract, } from './hover-card/types.js';
|
|
45
|
+
export type { ShadcnDropdownRootProps, ShadcnDropdownRootExposes, ShadcnDropdownRootAsHookContract, ShadcnDropdownTriggerProps, ShadcnDropdownTriggerExposes, ShadcnDropdownTriggerAsHookContract, ShadcnDropdownContentProps, ShadcnDropdownContentExposes, ShadcnDropdownContentAsHookContract, ShadcnDropdownItemProps, ShadcnDropdownItemExposes, ShadcnDropdownItemAsHookContract, } from './dropdown/types.js';
|
|
46
|
+
export type { ShadcnSelectRootProps, ShadcnSelectRootExposes, ShadcnSelectRootAsHookContract, ShadcnSelectTriggerProps, ShadcnSelectTriggerExposes, ShadcnSelectTriggerAsHookContract, ShadcnSelectValueProps, ShadcnSelectValueExposes, ShadcnSelectValueAsHookContract, ShadcnSelectContentProps, ShadcnSelectContentExposes, ShadcnSelectContentAsHookContract, ShadcnSelectItemProps, ShadcnSelectItemExposes, ShadcnSelectItemAsHookContract, } from './select/types.js';
|
|
47
|
+
export type { ShadcnDialogRootProps, ShadcnDialogRootExposes, ShadcnDialogRootAsHookContract, ShadcnDialogTriggerProps, ShadcnDialogTriggerExposes, ShadcnDialogTriggerAsHookContract, ShadcnDialogMaskProps, ShadcnDialogMaskExposes, ShadcnDialogMaskAsHookContract, ShadcnDialogContentProps, ShadcnDialogContentExposes, ShadcnDialogContentAsHookContract, ShadcnDialogTitleProps, ShadcnDialogTitleExposes, ShadcnDialogTitleAsHookContract, ShadcnDialogDescriptionProps, ShadcnDialogDescriptionExposes, ShadcnDialogDescriptionAsHookContract, ShadcnDialogCloseProps, ShadcnDialogCloseExposes, ShadcnDialogCloseAsHookContract, } from './dialog/types.js';
|
package/dist/index.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export { default as button } from './button';
|
|
2
|
-
export { default as shadcnButton } from './button';
|
|
3
|
-
export { default as componentPresets, shadcnDialogComponentPreset, shadcnComponentPresets, shadcnSwitchComponentPreset, } from './component-presets';
|
|
4
|
-
export { default as toggle } from './toggle';
|
|
5
|
-
export { default as shadcnToggle } from './toggle';
|
|
6
|
-
export { switchRoot, switchThumb } from './switch';
|
|
7
|
-
export { default as shadcnSwitchRoot } from './switch/root.proto';
|
|
8
|
-
export { default as shadcnSwitchThumb } from './switch/thumb.proto';
|
|
9
|
-
export { tabsRoot, tabsList, tabsTrigger, tabsContent } from './tabs';
|
|
10
|
-
export { hoverCardRoot, hoverCardTrigger, hoverCardContent } from './hover-card';
|
|
11
|
-
export { dropdownRoot, dropdownTrigger, dropdownContent, dropdownItem } from './dropdown';
|
|
12
|
-
export { selectRoot, selectTrigger, selectValue, selectContent, selectItem } from './select';
|
|
13
|
-
export { default as shadcnTabsRoot } from './tabs/root.proto';
|
|
14
|
-
export { default as shadcnTabsList } from './tabs/list.proto';
|
|
15
|
-
export { default as shadcnTabsTrigger } from './tabs/trigger.proto';
|
|
16
|
-
export { default as shadcnTabsContent } from './tabs/content.proto';
|
|
17
|
-
export { default as shadcnHoverCardRoot } from './hover-card/root.proto';
|
|
18
|
-
export { default as shadcnHoverCardTrigger } from './hover-card/trigger.proto';
|
|
19
|
-
export { default as shadcnHoverCardContent } from './hover-card/content.proto';
|
|
20
|
-
export { default as shadcnDropdownRoot } from './dropdown/root.proto';
|
|
21
|
-
export { default as shadcnDropdownTrigger } from './dropdown/trigger.proto';
|
|
22
|
-
export { default as shadcnDropdownContent } from './dropdown/content.proto';
|
|
23
|
-
export { default as shadcnDropdownItem } from './dropdown/item.proto';
|
|
24
|
-
export { default as shadcnSelectRoot } from './select/root.proto';
|
|
25
|
-
export { default as shadcnSelectTrigger } from './select/trigger.proto';
|
|
26
|
-
export { default as shadcnSelectValue } from './select/value.proto';
|
|
27
|
-
export { default as shadcnSelectContent } from './select/content.proto';
|
|
28
|
-
export { default as shadcnSelectItem } from './select/item.proto';
|
|
29
|
-
export { dialogRoot, dialogTrigger, dialogMask, dialogContent, dialogTitle, dialogDescription, dialogClose, dialogCloseIcon, dialogHeader, dialogFooter, } from './dialog';
|
|
30
|
-
export { default as shadcnDialogRoot } from './dialog/root.proto';
|
|
31
|
-
export { default as shadcnDialogTrigger } from './dialog/trigger.proto';
|
|
32
|
-
export { default as shadcnDialogMask } from './dialog/overlay.proto';
|
|
33
|
-
export { default as shadcnDialogContent } from './dialog/content.proto';
|
|
34
|
-
export { default as shadcnDialogTitle } from './dialog/title.proto';
|
|
35
|
-
export { default as shadcnDialogDescription } from './dialog/description.proto';
|
|
36
|
-
export { default as shadcnDialogClose } from './dialog/close.proto';
|
|
37
|
-
export { default as shadcnDialogCloseIcon } from './dialog/close-icon.proto';
|
|
38
|
-
export { default as shadcnDialogHeader } from './dialog/header.proto';
|
|
39
|
-
export { default as shadcnDialogFooter } from './dialog/footer.proto';
|
|
1
|
+
export { default as button } from './button/index.js';
|
|
2
|
+
export { default as shadcnButton } from './button/index.js';
|
|
3
|
+
export { default as componentPresets, shadcnDialogComponentPreset, shadcnComponentPresets, shadcnSwitchComponentPreset, } from './component-presets.js';
|
|
4
|
+
export { default as toggle } from './toggle/index.js';
|
|
5
|
+
export { default as shadcnToggle } from './toggle/index.js';
|
|
6
|
+
export { switchRoot, switchThumb } from './switch/index.js';
|
|
7
|
+
export { default as shadcnSwitchRoot } from './switch/root.proto.js';
|
|
8
|
+
export { default as shadcnSwitchThumb } from './switch/thumb.proto.js';
|
|
9
|
+
export { tabsRoot, tabsList, tabsTrigger, tabsContent } from './tabs/index.js';
|
|
10
|
+
export { hoverCardRoot, hoverCardTrigger, hoverCardContent } from './hover-card/index.js';
|
|
11
|
+
export { dropdownRoot, dropdownTrigger, dropdownContent, dropdownItem } from './dropdown/index.js';
|
|
12
|
+
export { selectRoot, selectTrigger, selectValue, selectContent, selectItem } from './select/index.js';
|
|
13
|
+
export { default as shadcnTabsRoot } from './tabs/root.proto.js';
|
|
14
|
+
export { default as shadcnTabsList } from './tabs/list.proto.js';
|
|
15
|
+
export { default as shadcnTabsTrigger } from './tabs/trigger.proto.js';
|
|
16
|
+
export { default as shadcnTabsContent } from './tabs/content.proto.js';
|
|
17
|
+
export { default as shadcnHoverCardRoot } from './hover-card/root.proto.js';
|
|
18
|
+
export { default as shadcnHoverCardTrigger } from './hover-card/trigger.proto.js';
|
|
19
|
+
export { default as shadcnHoverCardContent } from './hover-card/content.proto.js';
|
|
20
|
+
export { default as shadcnDropdownRoot } from './dropdown/root.proto.js';
|
|
21
|
+
export { default as shadcnDropdownTrigger } from './dropdown/trigger.proto.js';
|
|
22
|
+
export { default as shadcnDropdownContent } from './dropdown/content.proto.js';
|
|
23
|
+
export { default as shadcnDropdownItem } from './dropdown/item.proto.js';
|
|
24
|
+
export { default as shadcnSelectRoot } from './select/root.proto.js';
|
|
25
|
+
export { default as shadcnSelectTrigger } from './select/trigger.proto.js';
|
|
26
|
+
export { default as shadcnSelectValue } from './select/value.proto.js';
|
|
27
|
+
export { default as shadcnSelectContent } from './select/content.proto.js';
|
|
28
|
+
export { default as shadcnSelectItem } from './select/item.proto.js';
|
|
29
|
+
export { dialogRoot, dialogTrigger, dialogMask, dialogContent, dialogTitle, dialogDescription, dialogClose, dialogCloseIcon, dialogHeader, dialogFooter, } from './dialog/index.js';
|
|
30
|
+
export { default as shadcnDialogRoot } from './dialog/root.proto.js';
|
|
31
|
+
export { default as shadcnDialogTrigger } from './dialog/trigger.proto.js';
|
|
32
|
+
export { default as shadcnDialogMask } from './dialog/overlay.proto.js';
|
|
33
|
+
export { default as shadcnDialogContent } from './dialog/content.proto.js';
|
|
34
|
+
export { default as shadcnDialogTitle } from './dialog/title.proto.js';
|
|
35
|
+
export { default as shadcnDialogDescription } from './dialog/description.proto.js';
|
|
36
|
+
export { default as shadcnDialogClose } from './dialog/close.proto.js';
|
|
37
|
+
export { default as shadcnDialogCloseIcon } from './dialog/close-icon.proto.js';
|
|
38
|
+
export { default as shadcnDialogHeader } from './dialog/header.proto.js';
|
|
39
|
+
export { default as shadcnDialogFooter } from './dialog/footer.proto.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnSelectContentProps } from './types';
|
|
2
|
-
declare const selectContent: import("@proto.ui/core").Prototype<ShadcnSelectContentProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnSelectContentProps } from './types.js';
|
|
2
|
+
declare const selectContent: import("@proto.ui/core").Prototype<ShadcnSelectContentProps, import("@proto.ui/prototypes-base").SelectContentExposes>;
|
|
3
3
|
/** P-SHADCN-SELECT-CONTENT-DIRECT-ENTRY; parity is bounded by P-SHADCN-SELECT-CONTENT-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default selectContent;
|
package/dist/select/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { default as selectRoot } from './root.proto';
|
|
2
|
-
export { default as selectTrigger } from './trigger.proto';
|
|
3
|
-
export { default as selectValue } from './value.proto';
|
|
4
|
-
export { default as selectContent } from './content.proto';
|
|
5
|
-
export { default as selectItem } from './item.proto';
|
|
6
|
-
export { default as shadcnSelectRoot } from './root.proto';
|
|
7
|
-
export { default as shadcnSelectTrigger } from './trigger.proto';
|
|
8
|
-
export { default as shadcnSelectValue } from './value.proto';
|
|
9
|
-
export { default as shadcnSelectContent } from './content.proto';
|
|
10
|
-
export { default as shadcnSelectItem } from './item.proto';
|
|
11
|
-
export type { ShadcnSelectRootProps, ShadcnSelectRootExposes, ShadcnSelectRootAsHookContract, ShadcnSelectTriggerProps, ShadcnSelectTriggerExposes, ShadcnSelectTriggerAsHookContract, ShadcnSelectValueProps, ShadcnSelectValueExposes, ShadcnSelectValueAsHookContract, ShadcnSelectContentProps, ShadcnSelectContentExposes, ShadcnSelectContentAsHookContract, ShadcnSelectItemProps, ShadcnSelectItemExposes, ShadcnSelectItemAsHookContract, } from './types';
|
|
1
|
+
export { default as selectRoot } from './root.proto.js';
|
|
2
|
+
export { default as selectTrigger } from './trigger.proto.js';
|
|
3
|
+
export { default as selectValue } from './value.proto.js';
|
|
4
|
+
export { default as selectContent } from './content.proto.js';
|
|
5
|
+
export { default as selectItem } from './item.proto.js';
|
|
6
|
+
export { default as shadcnSelectRoot } from './root.proto.js';
|
|
7
|
+
export { default as shadcnSelectTrigger } from './trigger.proto.js';
|
|
8
|
+
export { default as shadcnSelectValue } from './value.proto.js';
|
|
9
|
+
export { default as shadcnSelectContent } from './content.proto.js';
|
|
10
|
+
export { default as shadcnSelectItem } from './item.proto.js';
|
|
11
|
+
export type { ShadcnSelectRootProps, ShadcnSelectRootExposes, ShadcnSelectRootAsHookContract, ShadcnSelectTriggerProps, ShadcnSelectTriggerExposes, ShadcnSelectTriggerAsHookContract, ShadcnSelectValueProps, ShadcnSelectValueExposes, ShadcnSelectValueAsHookContract, ShadcnSelectContentProps, ShadcnSelectContentExposes, ShadcnSelectContentAsHookContract, ShadcnSelectItemProps, ShadcnSelectItemExposes, ShadcnSelectItemAsHookContract, } from './types.js';
|
package/dist/select/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { default as selectRoot } from './root.proto';
|
|
2
|
-
export { default as selectTrigger } from './trigger.proto';
|
|
3
|
-
export { default as selectValue } from './value.proto';
|
|
4
|
-
export { default as selectContent } from './content.proto';
|
|
5
|
-
export { default as selectItem } from './item.proto';
|
|
6
|
-
export { default as shadcnSelectRoot } from './root.proto';
|
|
7
|
-
export { default as shadcnSelectTrigger } from './trigger.proto';
|
|
8
|
-
export { default as shadcnSelectValue } from './value.proto';
|
|
9
|
-
export { default as shadcnSelectContent } from './content.proto';
|
|
10
|
-
export { default as shadcnSelectItem } from './item.proto';
|
|
1
|
+
export { default as selectRoot } from './root.proto.js';
|
|
2
|
+
export { default as selectTrigger } from './trigger.proto.js';
|
|
3
|
+
export { default as selectValue } from './value.proto.js';
|
|
4
|
+
export { default as selectContent } from './content.proto.js';
|
|
5
|
+
export { default as selectItem } from './item.proto.js';
|
|
6
|
+
export { default as shadcnSelectRoot } from './root.proto.js';
|
|
7
|
+
export { default as shadcnSelectTrigger } from './trigger.proto.js';
|
|
8
|
+
export { default as shadcnSelectValue } from './value.proto.js';
|
|
9
|
+
export { default as shadcnSelectContent } from './content.proto.js';
|
|
10
|
+
export { default as shadcnSelectItem } from './item.proto.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const selectItem: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const selectItem: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").SelectItemProps, import("@proto.ui/prototypes-base").SelectItemExposes>;
|
|
2
2
|
/** P-SHADCN-SELECT-ITEM-DIRECT-ENTRY; parity is bounded by P-SHADCN-SELECT-ITEM-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default selectItem;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const selectRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const selectRoot: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").SelectRootProps, import("@proto.ui/prototypes-base").SelectRootExposes>;
|
|
2
2
|
/** P-SHADCN-SELECT-DIRECT-ENTRY; parity is bounded by P-SHADCN-SELECT-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default selectRoot;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnSelectTriggerProps } from './types';
|
|
2
|
-
declare const selectTrigger: import("@proto.ui/core").Prototype<ShadcnSelectTriggerProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnSelectTriggerProps } from './types.js';
|
|
2
|
+
declare const selectTrigger: import("@proto.ui/core").Prototype<ShadcnSelectTriggerProps, import("@proto.ui/prototypes-base").SelectTriggerExposes>;
|
|
3
3
|
/** P-SHADCN-SELECT-TRIGGER-DIRECT-ENTRY; parity is bounded by P-SHADCN-SELECT-TRIGGER-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default selectTrigger;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const selectValue: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base
|
|
1
|
+
declare const selectValue: import("@proto.ui/core").Prototype<import("@proto.ui/prototypes-base").SelectValueProps, import("@proto.ui/prototypes-base").SelectValueExposes>;
|
|
2
2
|
/** P-SHADCN-SELECT-VALUE-DIRECT-ENTRY; parity is bounded by P-SHADCN-SELECT-VALUE-COMPATIBILITY-SUBSET. */
|
|
3
3
|
export default selectValue;
|
package/dist/switch/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import switchRoot from './root.proto';
|
|
2
|
-
import switchThumb from './thumb.proto';
|
|
3
|
-
export type { ShadcnSwitchRootProps, ShadcnSwitchRootExposes, ShadcnSwitchRootStateHandles, ShadcnSwitchRootAsHookContract, ShadcnSwitchThumbProps, ShadcnSwitchThumbExposes, ShadcnSwitchThumbAsHookContract, } from './types';
|
|
1
|
+
import switchRoot from './root.proto.js';
|
|
2
|
+
import switchThumb from './thumb.proto.js';
|
|
3
|
+
export type { ShadcnSwitchRootProps, ShadcnSwitchRootExposes, ShadcnSwitchRootStateHandles, ShadcnSwitchRootAsHookContract, ShadcnSwitchThumbProps, ShadcnSwitchThumbExposes, ShadcnSwitchThumbAsHookContract, } from './types.js';
|
|
4
4
|
export { switchRoot, switchThumb };
|
|
5
|
-
export { default as shadcnSwitchRoot } from './root.proto';
|
|
6
|
-
export { default as shadcnSwitchThumb } from './thumb.proto';
|
|
7
|
-
export { default as componentPreset, shadcnSwitchComponentPreset } from './preset';
|
|
5
|
+
export { default as shadcnSwitchRoot } from './root.proto.js';
|
|
6
|
+
export { default as shadcnSwitchThumb } from './thumb.proto.js';
|
|
7
|
+
export { default as componentPreset, shadcnSwitchComponentPreset } from './preset.js';
|
package/dist/switch/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import switchRoot from './root.proto';
|
|
2
|
-
import switchThumb from './thumb.proto';
|
|
1
|
+
import switchRoot from './root.proto.js';
|
|
2
|
+
import switchThumb from './thumb.proto.js';
|
|
3
3
|
export { switchRoot, switchThumb };
|
|
4
|
-
export { default as shadcnSwitchRoot } from './root.proto';
|
|
5
|
-
export { default as shadcnSwitchThumb } from './thumb.proto';
|
|
6
|
-
export { default as componentPreset, shadcnSwitchComponentPreset } from './preset';
|
|
4
|
+
export { default as shadcnSwitchRoot } from './root.proto.js';
|
|
5
|
+
export { default as shadcnSwitchThumb } from './thumb.proto.js';
|
|
6
|
+
export { default as componentPreset, shadcnSwitchComponentPreset } from './preset.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ShadcnSwitchRootProps } from './types';
|
|
2
|
-
declare const switchRoot: import("@proto.ui/core").Prototype<ShadcnSwitchRootProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnSwitchRootProps } from './types.js';
|
|
2
|
+
declare const switchRoot: import("@proto.ui/core").Prototype<ShadcnSwitchRootProps, import("@proto.ui/prototypes-base").SwitchRootExposes>;
|
|
3
3
|
/**
|
|
4
4
|
* P-SHADCN-SWITCH-DIRECT-ENTRY exposes the current Root projection.
|
|
5
5
|
* P-SHADCN-SWITCH-COMPATIBILITY-SUBSET and P-SHADCN-SWITCH-AS-CHILD-OMISSION
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ShadcnSwitchThumbProps } from './types';
|
|
2
|
-
declare const switchThumb: import("@proto.ui/core").Prototype<ShadcnSwitchThumbProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnSwitchThumbProps } from './types.js';
|
|
2
|
+
declare const switchThumb: import("@proto.ui/core").Prototype<ShadcnSwitchThumbProps, import("@proto.ui/prototypes-base").SwitchThumbExposes>;
|
|
3
3
|
/**
|
|
4
4
|
* P-SHADCN-SWITCH-THUMB-DIRECT-ENTRY exposes the current anatomy part.
|
|
5
5
|
* P-SHADCN-SWITCH-THUMB-COMPATIBILITY-SUBSET keeps the upstream composition
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnTabsContentProps } from './types';
|
|
2
|
-
declare const tabsContent: import("@proto.ui/core").Prototype<ShadcnTabsContentProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnTabsContentProps } from './types.js';
|
|
2
|
+
declare const tabsContent: import("@proto.ui/core").Prototype<ShadcnTabsContentProps, import("@proto.ui/prototypes-base").TabsContentExposes>;
|
|
3
3
|
/** P-SHADCN-TABS-CONTENT-DIRECT-ENTRY; parity remains bounded by P-SHADCN-TABS-CONTENT-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default tabsContent;
|
|
@@ -11,7 +11,7 @@ const tabsContent = definePrototype({
|
|
|
11
11
|
}
|
|
12
12
|
const { hidden } = contentState;
|
|
13
13
|
// P-SHADCN-TABS-CONTENT-CURRENT-VISUAL-SURFACE
|
|
14
|
-
def.feedback.style.use(tw('
|
|
14
|
+
def.feedback.style.use(tw('flex-1 outline-none'));
|
|
15
15
|
// P-SHADCN-TABS-CONTENT-HIDDEN-PROJECTION
|
|
16
16
|
def.rule({
|
|
17
17
|
when: (w) => w.state(hidden).eq(true),
|
package/dist/tabs/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import tabsContent from './content.proto';
|
|
2
|
-
import tabsList from './list.proto';
|
|
3
|
-
import tabsRoot from './root.proto';
|
|
4
|
-
import tabsTrigger from './trigger.proto';
|
|
5
|
-
export type { ShadcnTabsRootProps, ShadcnTabsRootExposes, ShadcnTabsRootAsHookContract, ShadcnTabsListProps, ShadcnTabsListExposes, ShadcnTabsListAsHookContract, ShadcnTabsTriggerProps, ShadcnTabsTriggerExposes, ShadcnTabsTriggerStateHandles, ShadcnTabsTriggerAsHookContract, ShadcnTabsContentProps, ShadcnTabsContentExposes, ShadcnTabsContentAsHookContract, } from './types';
|
|
1
|
+
import tabsContent from './content.proto.js';
|
|
2
|
+
import tabsList from './list.proto.js';
|
|
3
|
+
import tabsRoot from './root.proto.js';
|
|
4
|
+
import tabsTrigger from './trigger.proto.js';
|
|
5
|
+
export type { ShadcnTabsRootProps, ShadcnTabsRootExposes, ShadcnTabsRootAsHookContract, ShadcnTabsListProps, ShadcnTabsListExposes, ShadcnTabsListAsHookContract, ShadcnTabsTriggerProps, ShadcnTabsTriggerExposes, ShadcnTabsTriggerStateHandles, ShadcnTabsTriggerAsHookContract, ShadcnTabsContentProps, ShadcnTabsContentExposes, ShadcnTabsContentAsHookContract, } from './types.js';
|
|
6
6
|
export { tabsRoot, tabsList, tabsTrigger, tabsContent };
|
|
7
|
-
export { default as shadcnTabsRoot } from './root.proto';
|
|
8
|
-
export { default as shadcnTabsList } from './list.proto';
|
|
9
|
-
export { default as shadcnTabsTrigger } from './trigger.proto';
|
|
10
|
-
export { default as shadcnTabsContent } from './content.proto';
|
|
7
|
+
export { default as shadcnTabsRoot } from './root.proto.js';
|
|
8
|
+
export { default as shadcnTabsList } from './list.proto.js';
|
|
9
|
+
export { default as shadcnTabsTrigger } from './trigger.proto.js';
|
|
10
|
+
export { default as shadcnTabsContent } from './content.proto.js';
|
package/dist/tabs/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import tabsContent from './content.proto';
|
|
2
|
-
import tabsList from './list.proto';
|
|
3
|
-
import tabsRoot from './root.proto';
|
|
4
|
-
import tabsTrigger from './trigger.proto';
|
|
1
|
+
import tabsContent from './content.proto.js';
|
|
2
|
+
import tabsList from './list.proto.js';
|
|
3
|
+
import tabsRoot from './root.proto.js';
|
|
4
|
+
import tabsTrigger from './trigger.proto.js';
|
|
5
5
|
export { tabsRoot, tabsList, tabsTrigger, tabsContent };
|
|
6
|
-
export { default as shadcnTabsRoot } from './root.proto';
|
|
7
|
-
export { default as shadcnTabsList } from './list.proto';
|
|
8
|
-
export { default as shadcnTabsTrigger } from './trigger.proto';
|
|
9
|
-
export { default as shadcnTabsContent } from './content.proto';
|
|
6
|
+
export { default as shadcnTabsRoot } from './root.proto.js';
|
|
7
|
+
export { default as shadcnTabsList } from './list.proto.js';
|
|
8
|
+
export { default as shadcnTabsTrigger } from './trigger.proto.js';
|
|
9
|
+
export { default as shadcnTabsContent } from './content.proto.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnTabsListProps } from './types';
|
|
2
|
-
declare const tabsList: import("@proto.ui/core").Prototype<ShadcnTabsListProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnTabsListProps } from './types.js';
|
|
2
|
+
declare const tabsList: import("@proto.ui/core").Prototype<ShadcnTabsListProps, import("@proto.ui/prototypes-base").TabsListExposes>;
|
|
3
3
|
/** P-SHADCN-TABS-LIST-DIRECT-ENTRY; parity remains bounded by P-SHADCN-TABS-LIST-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default tabsList;
|
package/dist/tabs/list.proto.js
CHANGED
|
@@ -6,7 +6,7 @@ const tabsList = definePrototype({
|
|
|
6
6
|
// P-SHADCN-TABS-LIST-BASE-INHERITANCE, P-SHADCN-TABS-LIST-CURRENT-BASE-DEVIATIONS
|
|
7
7
|
asTabsList();
|
|
8
8
|
// P-SHADCN-TABS-LIST-CURRENT-VISUAL-SURFACE
|
|
9
|
-
def.feedback.style.use(tw('inline-flex h-
|
|
9
|
+
def.feedback.style.use(tw('inline-flex h-9 w-fit items-center justify-center rounded-lg bg-muted p-[3px] text-muted-foreground'));
|
|
10
10
|
},
|
|
11
11
|
});
|
|
12
12
|
/** P-SHADCN-TABS-LIST-DIRECT-ENTRY; parity remains bounded by P-SHADCN-TABS-LIST-COMPATIBILITY-SUBSET. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnTabsRootProps } from './types';
|
|
2
|
-
declare const tabsRoot: import("@proto.ui/core").Prototype<ShadcnTabsRootProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnTabsRootProps } from './types.js';
|
|
2
|
+
declare const tabsRoot: import("@proto.ui/core").Prototype<ShadcnTabsRootProps, import("@proto.ui/prototypes-base").TabsRootExposes>;
|
|
3
3
|
/** P-SHADCN-TABS-DIRECT-ENTRY; parity remains bounded by P-SHADCN-TABS-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default tabsRoot;
|
package/dist/tabs/root.proto.js
CHANGED
|
@@ -6,7 +6,7 @@ const tabsRoot = definePrototype({
|
|
|
6
6
|
// P-SHADCN-TABS-BASE-INHERITANCE, P-SHADCN-TABS-CURRENT-BASE-DEVIATIONS
|
|
7
7
|
asTabsRoot();
|
|
8
8
|
// P-SHADCN-TABS-CURRENT-VISUAL-SURFACE
|
|
9
|
-
def.feedback.style.use(tw('flex flex-col gap-
|
|
9
|
+
def.feedback.style.use(tw('flex flex-col gap-2'));
|
|
10
10
|
},
|
|
11
11
|
});
|
|
12
12
|
/** P-SHADCN-TABS-DIRECT-ENTRY; parity remains bounded by P-SHADCN-TABS-COMPATIBILITY-SUBSET. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ShadcnTabsTriggerProps } from './types';
|
|
2
|
-
declare const tabsTrigger: import("@proto.ui/core").Prototype<ShadcnTabsTriggerProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnTabsTriggerProps } from './types.js';
|
|
2
|
+
declare const tabsTrigger: import("@proto.ui/core").Prototype<ShadcnTabsTriggerProps, import("@proto.ui/prototypes-base").TabsTriggerExposes>;
|
|
3
3
|
/** P-SHADCN-TABS-TRIGGER-DIRECT-ENTRY; parity remains bounded by P-SHADCN-TABS-TRIGGER-COMPATIBILITY-SUBSET. */
|
|
4
4
|
export default tabsTrigger;
|
|
@@ -1,20 +1,24 @@
|
|
|
1
1
|
import { definePrototype, tw } from '@proto.ui/core';
|
|
2
2
|
import { asTabsTrigger } from '@proto.ui/prototypes-base/tabs';
|
|
3
3
|
const BASE_TOKENS = [
|
|
4
|
+
'relative',
|
|
4
5
|
'inline-flex',
|
|
6
|
+
'h-[calc(100%_-_1px)]',
|
|
7
|
+
'flex-1',
|
|
5
8
|
'items-center',
|
|
6
9
|
'justify-center',
|
|
10
|
+
'gap-1.5',
|
|
7
11
|
'whitespace-nowrap',
|
|
8
|
-
'rounded-
|
|
12
|
+
'rounded-md',
|
|
9
13
|
'border',
|
|
10
14
|
'border-transparent',
|
|
11
|
-
'px-
|
|
12
|
-
'py-1
|
|
15
|
+
'px-2',
|
|
16
|
+
'py-1',
|
|
13
17
|
'text-sm',
|
|
14
18
|
'font-medium',
|
|
15
19
|
'transition-all',
|
|
16
20
|
'outline-none',
|
|
17
|
-
'text-
|
|
21
|
+
'text-foreground/60',
|
|
18
22
|
'select-none',
|
|
19
23
|
].join(' ');
|
|
20
24
|
const tabsTrigger = definePrototype({
|
|
@@ -26,25 +30,21 @@ const tabsTrigger = definePrototype({
|
|
|
26
30
|
if (!triggerState) {
|
|
27
31
|
throw new Error('[shadcn-tabs-trigger] asTabsTrigger must project Tabs trigger state handles.');
|
|
28
32
|
}
|
|
29
|
-
const { disabled, hovered, focusVisible,
|
|
33
|
+
const { disabled, hovered, focusVisible, selected } = triggerState;
|
|
30
34
|
// P-SHADCN-TABS-TRIGGER-CURRENT-VISUAL-SURFACE
|
|
31
35
|
def.feedback.style.use(tw(BASE_TOKENS));
|
|
32
36
|
// P-SHADCN-TABS-TRIGGER-STATE-DRIVEN-STYLES
|
|
33
37
|
def.rule({
|
|
34
38
|
when: (w) => w.state(focusVisible).eq(true),
|
|
35
|
-
intent: (i) => i.feedback.style.use(tw('
|
|
39
|
+
intent: (i) => i.feedback.style.use(tw('border-ring ring-3 ring-ring/50 outline-1 outline-ring')),
|
|
36
40
|
});
|
|
37
41
|
def.rule({
|
|
38
42
|
when: (w) => w.state(selected).eq(true),
|
|
39
|
-
intent: (i) => i.feedback.style.use(tw('bg-background text-foreground shadow-
|
|
43
|
+
intent: (i) => i.feedback.style.use(tw('bg-background text-foreground shadow-sm')),
|
|
40
44
|
});
|
|
41
45
|
def.rule({
|
|
42
46
|
when: (w) => w.all(w.state(hovered).eq(true), w.state(selected).eq(false)),
|
|
43
|
-
intent: (i) => i.feedback.style.use(tw('
|
|
44
|
-
});
|
|
45
|
-
def.rule({
|
|
46
|
-
when: (w) => w.state(pressed).eq(true),
|
|
47
|
-
intent: (i) => i.feedback.style.use(tw('scale-[0.99] bg-background text-foreground shadow-xs')),
|
|
47
|
+
intent: (i) => i.feedback.style.use(tw('text-foreground')),
|
|
48
48
|
});
|
|
49
49
|
def.rule({
|
|
50
50
|
when: (w) => w.state(disabled).eq(true),
|
package/dist/toggle/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default, default as shadcnToggle } from './toggle.proto';
|
|
2
|
-
export type { ShadcnToggleProps, ShadcnToggleExposes, ShadcnToggleStateHandles, ShadcnToggleAsHookContract, } from './toggle.proto';
|
|
1
|
+
export { default, default as shadcnToggle } from './toggle.proto.js';
|
|
2
|
+
export type { ShadcnToggleProps, ShadcnToggleExposes, ShadcnToggleStateHandles, ShadcnToggleAsHookContract, } from './toggle.proto.js';
|
package/dist/toggle/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, default as shadcnToggle } from './toggle.proto';
|
|
1
|
+
export { default, default as shadcnToggle } from './toggle.proto.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ShadcnToggleProps } from './types';
|
|
2
|
-
declare const toggle: import("@proto.ui/core").Prototype<ShadcnToggleProps, import("@proto.ui/prototypes-base
|
|
1
|
+
import type { ShadcnToggleProps } from './types.js';
|
|
2
|
+
declare const toggle: import("@proto.ui/core").Prototype<ShadcnToggleProps, import("@proto.ui/prototypes-base").ToggleExposes>;
|
|
3
3
|
/**
|
|
4
4
|
* P-SHADCN-TOGGLE-COMPATIBILITY-SUBSET:
|
|
5
5
|
* The one catalog open question centralizes every upstream difference.
|
|
@@ -7,5 +7,5 @@ declare const toggle: import("@proto.ui/core").Prototype<ShadcnToggleProps, impo
|
|
|
7
7
|
* pressed API aliases, native/className forwarding, invalid/SVG selectors, and
|
|
8
8
|
* exact size and visual-token parity remain implementation or review gaps.
|
|
9
9
|
*/
|
|
10
|
-
export type { ShadcnToggleProps, ShadcnToggleExposes, ShadcnToggleStateHandles, ShadcnToggleAsHookContract, } from './types';
|
|
10
|
+
export type { ShadcnToggleProps, ShadcnToggleExposes, ShadcnToggleStateHandles, ShadcnToggleAsHookContract, } from './types.js';
|
|
11
11
|
export default toggle;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proto.ui/prototypes-shadcn",
|
|
3
|
-
"version": "0.2.0-rc.
|
|
3
|
+
"version": "0.2.0-rc.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"protoUi": {
|
|
@@ -11,48 +11,58 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@proto.ui/core": "0.2.0-rc.
|
|
15
|
-
"@proto.ui/prototypes-base": "0.2.0-rc.
|
|
14
|
+
"@proto.ui/core": "0.2.0-rc.7",
|
|
15
|
+
"@proto.ui/prototypes-base": "0.2.0-rc.7"
|
|
16
16
|
},
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
19
|
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
20
21
|
"default": "./dist/index.js"
|
|
21
22
|
},
|
|
22
23
|
"./button": {
|
|
23
24
|
"types": "./dist/button/index.d.ts",
|
|
25
|
+
"import": "./dist/button/index.js",
|
|
24
26
|
"default": "./dist/button/index.js"
|
|
25
27
|
},
|
|
26
28
|
"./component-presets": {
|
|
27
29
|
"types": "./dist/component-presets.d.ts",
|
|
30
|
+
"import": "./dist/component-presets.js",
|
|
28
31
|
"default": "./dist/component-presets.js"
|
|
29
32
|
},
|
|
30
33
|
"./dialog": {
|
|
31
34
|
"types": "./dist/dialog/index.d.ts",
|
|
35
|
+
"import": "./dist/dialog/index.js",
|
|
32
36
|
"default": "./dist/dialog/index.js"
|
|
33
37
|
},
|
|
34
38
|
"./dropdown": {
|
|
35
39
|
"types": "./dist/dropdown/index.d.ts",
|
|
40
|
+
"import": "./dist/dropdown/index.js",
|
|
36
41
|
"default": "./dist/dropdown/index.js"
|
|
37
42
|
},
|
|
38
43
|
"./hover-card": {
|
|
39
44
|
"types": "./dist/hover-card/index.d.ts",
|
|
45
|
+
"import": "./dist/hover-card/index.js",
|
|
40
46
|
"default": "./dist/hover-card/index.js"
|
|
41
47
|
},
|
|
42
48
|
"./select": {
|
|
43
49
|
"types": "./dist/select/index.d.ts",
|
|
50
|
+
"import": "./dist/select/index.js",
|
|
44
51
|
"default": "./dist/select/index.js"
|
|
45
52
|
},
|
|
46
53
|
"./switch": {
|
|
47
54
|
"types": "./dist/switch/index.d.ts",
|
|
55
|
+
"import": "./dist/switch/index.js",
|
|
48
56
|
"default": "./dist/switch/index.js"
|
|
49
57
|
},
|
|
50
58
|
"./tabs": {
|
|
51
59
|
"types": "./dist/tabs/index.d.ts",
|
|
60
|
+
"import": "./dist/tabs/index.js",
|
|
52
61
|
"default": "./dist/tabs/index.js"
|
|
53
62
|
},
|
|
54
63
|
"./toggle": {
|
|
55
64
|
"types": "./dist/toggle/index.d.ts",
|
|
65
|
+
"import": "./dist/toggle/index.js",
|
|
56
66
|
"default": "./dist/toggle/index.js"
|
|
57
67
|
}
|
|
58
68
|
},
|