@plumeria/headlessui 18.2.32 → 18.2.34
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 +19 -1
- package/dist/Avatar.d.ts +6 -0
- package/dist/Avatar.js +19 -0
- package/dist/Label.d.ts +3 -0
- package/dist/Label.js +8 -0
- package/dist/Progress.d.ts +5 -0
- package/dist/Progress.js +14 -0
- package/dist/Separator.d.ts +3 -0
- package/dist/Separator.js +8 -0
- package/dist/VisuallyHidden.d.ts +3 -0
- package/dist/VisuallyHidden.js +8 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ export const FAQ = () => (
|
|
|
69
69
|
|
|
70
70
|
## Components
|
|
71
71
|
|
|
72
|
-
The following twenty component groups are exported. All components support `ref` forwarding and props spread.
|
|
72
|
+
The following twenty-five component groups are exported. All components support `ref` forwarding and props spread.
|
|
73
73
|
|
|
74
74
|
### Accordion
|
|
75
75
|
|
|
@@ -89,6 +89,11 @@ The following twenty component groups are exported. All components support `ref`
|
|
|
89
89
|
- `Action`
|
|
90
90
|
- `Cancel`
|
|
91
91
|
|
|
92
|
+
### Avatar
|
|
93
|
+
|
|
94
|
+
- `Image`
|
|
95
|
+
- `Fallback`
|
|
96
|
+
|
|
92
97
|
### Checkbox
|
|
93
98
|
|
|
94
99
|
- `Indicator`
|
|
@@ -144,6 +149,9 @@ The following twenty component groups are exported. All components support `ref`
|
|
|
144
149
|
- `SubTrigger`
|
|
145
150
|
- `SubContent`
|
|
146
151
|
|
|
152
|
+
### Label
|
|
153
|
+
|
|
154
|
+
|
|
147
155
|
### Menubar
|
|
148
156
|
|
|
149
157
|
- `Menu`
|
|
@@ -183,6 +191,10 @@ The following twenty component groups are exported. All components support `ref`
|
|
|
183
191
|
- `Arrow`
|
|
184
192
|
- `Anchor`
|
|
185
193
|
|
|
194
|
+
### Progress
|
|
195
|
+
|
|
196
|
+
- `Indicator`
|
|
197
|
+
|
|
186
198
|
### RadioGroup
|
|
187
199
|
|
|
188
200
|
- `Item`
|
|
@@ -213,6 +225,9 @@ The following twenty component groups are exported. All components support `ref`
|
|
|
213
225
|
- `Separator`
|
|
214
226
|
- `Arrow`
|
|
215
227
|
|
|
228
|
+
### Separator
|
|
229
|
+
|
|
230
|
+
|
|
216
231
|
### Slider
|
|
217
232
|
|
|
218
233
|
- `Track`
|
|
@@ -253,6 +268,9 @@ The following twenty component groups are exported. All components support `ref`
|
|
|
253
268
|
- `Content`
|
|
254
269
|
- `Arrow`
|
|
255
270
|
|
|
271
|
+
### VisuallyHidden
|
|
272
|
+
|
|
273
|
+
|
|
256
274
|
## License
|
|
257
275
|
|
|
258
276
|
Plumeria is MIT licensed.
|
package/dist/Avatar.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
3
|
+
export declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>> & {
|
|
4
|
+
Image: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
5
|
+
Fallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
};
|
package/dist/Avatar.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
4
|
+
const AvatarRoot = React.forwardRef((props, ref) => {
|
|
5
|
+
return _jsx(AvatarPrimitive.Root, { ref: ref, ...props });
|
|
6
|
+
});
|
|
7
|
+
AvatarRoot.displayName = 'Avatar';
|
|
8
|
+
const AvatarImage = React.forwardRef((props, ref) => {
|
|
9
|
+
return _jsx(AvatarPrimitive.Image, { ref: ref, ...props });
|
|
10
|
+
});
|
|
11
|
+
AvatarImage.displayName = 'AvatarImage';
|
|
12
|
+
const AvatarFallback = React.forwardRef((props, ref) => {
|
|
13
|
+
return _jsx(AvatarPrimitive.Fallback, { ref: ref, ...props });
|
|
14
|
+
});
|
|
15
|
+
AvatarFallback.displayName = 'AvatarFallback';
|
|
16
|
+
export const Avatar = Object.assign(AvatarRoot, {
|
|
17
|
+
Image: AvatarImage,
|
|
18
|
+
Fallback: AvatarFallback,
|
|
19
|
+
});
|
package/dist/Label.d.ts
ADDED
package/dist/Label.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
4
|
+
const LabelRoot = React.forwardRef((props, ref) => {
|
|
5
|
+
return _jsx(LabelPrimitive.Root, { ref: ref, ...props });
|
|
6
|
+
});
|
|
7
|
+
LabelRoot.displayName = 'Label';
|
|
8
|
+
export const Label = LabelRoot;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
3
|
+
export declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>> & {
|
|
4
|
+
Indicator: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
};
|
package/dist/Progress.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
4
|
+
const ProgressRoot = React.forwardRef((props, ref) => {
|
|
5
|
+
return _jsx(ProgressPrimitive.Root, { ref: ref, ...props });
|
|
6
|
+
});
|
|
7
|
+
ProgressRoot.displayName = 'Progress';
|
|
8
|
+
const ProgressIndicator = React.forwardRef((props, ref) => {
|
|
9
|
+
return _jsx(ProgressPrimitive.Indicator, { ref: ref, ...props });
|
|
10
|
+
});
|
|
11
|
+
ProgressIndicator.displayName = 'ProgressIndicator';
|
|
12
|
+
export const Progress = Object.assign(ProgressRoot, {
|
|
13
|
+
Indicator: ProgressIndicator,
|
|
14
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
3
|
+
export declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
4
|
+
const SeparatorRoot = React.forwardRef((props, ref) => {
|
|
5
|
+
return _jsx(SeparatorPrimitive.Root, { ref: ref, ...props });
|
|
6
|
+
});
|
|
7
|
+
SeparatorRoot.displayName = 'Separator';
|
|
8
|
+
export const Separator = SeparatorRoot;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
3
|
+
export declare const VisuallyHidden: React.ForwardRefExoticComponent<Omit<VisuallyHiddenPrimitive.VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
|
|
4
|
+
const VisuallyHiddenRoot = React.forwardRef((props, ref) => {
|
|
5
|
+
return _jsx(VisuallyHiddenPrimitive.Root, { ref: ref, ...props });
|
|
6
|
+
});
|
|
7
|
+
VisuallyHiddenRoot.displayName = 'VisuallyHidden';
|
|
8
|
+
export const VisuallyHidden = VisuallyHiddenRoot;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
export { AlertDialog } from './AlertDialog.js';
|
|
2
2
|
export { Accordion } from './Accordion.js';
|
|
3
|
+
export { Avatar } from './Avatar.js';
|
|
3
4
|
export { Checkbox } from './Checkbox.js';
|
|
4
5
|
export { Collapsible } from './Collapsible.js';
|
|
5
6
|
export { ContextMenu } from './ContextMenu.js';
|
|
6
7
|
export { Dialog } from './Dialog.js';
|
|
7
8
|
export { DropdownMenu } from './DropdownMenu.js';
|
|
9
|
+
export { Label } from './Label.js';
|
|
8
10
|
export { Menubar } from './Menubar.js';
|
|
9
11
|
export { NavigationMenu } from './NavigationMenu.js';
|
|
10
12
|
export { Popover } from './Popover.js';
|
|
13
|
+
export { Progress } from './Progress.js';
|
|
11
14
|
export { RadioGroup } from './RadioGroup.js';
|
|
12
15
|
export { ScrollArea } from './ScrollArea.js';
|
|
13
16
|
export { Select } from './Select.js';
|
|
17
|
+
export { Separator } from './Separator.js';
|
|
14
18
|
export { Slider } from './Slider.js';
|
|
15
19
|
export { Switch } from './Switch.js';
|
|
16
20
|
export { Tabs } from './Tabs.js';
|
|
@@ -18,3 +22,4 @@ export { Toast } from './Toast.js';
|
|
|
18
22
|
export { Toggle } from './Toggle.js';
|
|
19
23
|
export { ToggleGroup } from './ToggleGroup.js';
|
|
20
24
|
export { Tooltip } from './Tooltip.js';
|
|
25
|
+
export { VisuallyHidden } from './VisuallyHidden.js';
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
export { AlertDialog } from './AlertDialog.js';
|
|
2
2
|
export { Accordion } from './Accordion.js';
|
|
3
|
+
export { Avatar } from './Avatar.js';
|
|
3
4
|
export { Checkbox } from './Checkbox.js';
|
|
4
5
|
export { Collapsible } from './Collapsible.js';
|
|
5
6
|
export { ContextMenu } from './ContextMenu.js';
|
|
6
7
|
export { Dialog } from './Dialog.js';
|
|
7
8
|
export { DropdownMenu } from './DropdownMenu.js';
|
|
9
|
+
export { Label } from './Label.js';
|
|
8
10
|
export { Menubar } from './Menubar.js';
|
|
9
11
|
export { NavigationMenu } from './NavigationMenu.js';
|
|
10
12
|
export { Popover } from './Popover.js';
|
|
13
|
+
export { Progress } from './Progress.js';
|
|
11
14
|
export { RadioGroup } from './RadioGroup.js';
|
|
12
15
|
export { ScrollArea } from './ScrollArea.js';
|
|
13
16
|
export { Select } from './Select.js';
|
|
17
|
+
export { Separator } from './Separator.js';
|
|
14
18
|
export { Slider } from './Slider.js';
|
|
15
19
|
export { Switch } from './Switch.js';
|
|
16
20
|
export { Tabs } from './Tabs.js';
|
|
@@ -18,3 +22,4 @@ export { Toast } from './Toast.js';
|
|
|
18
22
|
export { Toggle } from './Toggle.js';
|
|
19
23
|
export { ToggleGroup } from './ToggleGroup.js';
|
|
20
24
|
export { Tooltip } from './Tooltip.js';
|
|
25
|
+
export { VisuallyHidden } from './VisuallyHidden.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/headlessui",
|
|
3
|
-
"version": "18.2.
|
|
3
|
+
"version": "18.2.34",
|
|
4
4
|
"description": "Headless UI components wrapper for Plumeria based on Radix UI",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,24 +39,29 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@radix-ui/react-accordion": "^1.2.3",
|
|
41
41
|
"@radix-ui/react-alert-dialog": "^1.1.18",
|
|
42
|
+
"@radix-ui/react-avatar": "^1.2.6",
|
|
42
43
|
"@radix-ui/react-checkbox": "^1.3.6",
|
|
43
44
|
"@radix-ui/react-collapsible": "^1.1.3",
|
|
44
45
|
"@radix-ui/react-context-menu": "^2.3.2",
|
|
45
46
|
"@radix-ui/react-dialog": "^1.1.6",
|
|
46
47
|
"@radix-ui/react-dropdown-menu": "^2.1.19",
|
|
48
|
+
"@radix-ui/react-label": "^2.1.15",
|
|
47
49
|
"@radix-ui/react-menubar": "^1.1.19",
|
|
48
50
|
"@radix-ui/react-navigation-menu": "^1.2.17",
|
|
49
51
|
"@radix-ui/react-popover": "^1.1.6",
|
|
52
|
+
"@radix-ui/react-progress": "^1.1.16",
|
|
50
53
|
"@radix-ui/react-radio-group": "^1.4.2",
|
|
51
54
|
"@radix-ui/react-scroll-area": "^1.2.13",
|
|
52
55
|
"@radix-ui/react-select": "^2.3.2",
|
|
56
|
+
"@radix-ui/react-separator": "^1.1.15",
|
|
53
57
|
"@radix-ui/react-slider": "^1.4.2",
|
|
54
58
|
"@radix-ui/react-switch": "^1.3.2",
|
|
55
59
|
"@radix-ui/react-tabs": "^1.1.3",
|
|
56
60
|
"@radix-ui/react-toast": "^1.2.18",
|
|
57
61
|
"@radix-ui/react-toggle": "^1.1.13",
|
|
58
62
|
"@radix-ui/react-toggle-group": "^1.1.14",
|
|
59
|
-
"@radix-ui/react-tooltip": "^1.1.8"
|
|
63
|
+
"@radix-ui/react-tooltip": "^1.1.8",
|
|
64
|
+
"@radix-ui/react-visually-hidden": "^1.2.11"
|
|
60
65
|
},
|
|
61
66
|
"devDependencies": {
|
|
62
67
|
"@types/react": "^19.2.18",
|