@skeletonlabs/skeleton-react 4.5.1 → 4.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +6 -1
- package/dist/index.mjs +14 -7
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -807,6 +807,10 @@ declare const Pagination: typeof PaginationRoot & {
|
|
|
807
807
|
LastTrigger: typeof LastTrigger;
|
|
808
808
|
};
|
|
809
809
|
//#endregion
|
|
810
|
+
//#region src/components/popover/anatomy/anchor.d.ts
|
|
811
|
+
interface PopoverAnchorProps extends PropsWithChildren, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
812
|
+
declare function Anchor(props: PopoverAnchorProps): react0.JSX.Element;
|
|
813
|
+
//#endregion
|
|
810
814
|
//#region src/components/popover/anatomy/close-trigger.d.ts
|
|
811
815
|
interface PopoverCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
812
816
|
declare function CloseTrigger$1(props: PopoverCloseTriggerProps): react0.JSX.Element;
|
|
@@ -862,6 +866,7 @@ declare function Trigger$2(props: PopoverTriggerProps): react0.JSX.Element;
|
|
|
862
866
|
declare const Popover: typeof Root$10 & {
|
|
863
867
|
Provider: typeof RootProvider$8;
|
|
864
868
|
Context: typeof RootContext$11;
|
|
869
|
+
Anchor: typeof Anchor;
|
|
865
870
|
Trigger: typeof Trigger$2;
|
|
866
871
|
Positioner: typeof Positioner$1;
|
|
867
872
|
Content: typeof Content$2;
|
|
@@ -1530,4 +1535,4 @@ declare const TreeView: typeof Root & {
|
|
|
1530
1535
|
//#region src/hooks/use-list-collection.d.ts
|
|
1531
1536
|
declare function useListCollection<T extends CollectionItem = CollectionItem>(options: CollectionOptions<T>): ListCollection<T>;
|
|
1532
1537
|
//#endregion
|
|
1533
|
-
export { Accordion, type AccordionItemContentProps, type AccordionItemIndicatorProps, type AccordionItemProps, type AccordionItemTriggerProps, type AccordionRootContextProps, type AccordionRootProps, type AccordionRootProviderProps, AppBar, type AppBarHeadlineProps, type AppBarLeadProps, type AppBarRootProps, type AppBarToolbarProps, type AppBarTrailProps, Avatar, type AvatarFallbackProps, type AvatarImageProps, type AvatarRootContextProps, type AvatarRootProps, type AvatarRootProviderProps, Collapsible, type CollapsibleContentProps, type CollapsibleIndicatorProps, type CollapsibleRootContextProps, type CollapsibleRootProps, type CollapsibleRootProviderProps, type CollapsibleTriggerProps, Combobox, type ComboboxClearTriggerProps, type ComboboxContentProps, type ComboboxControlProps, type ComboboxInputProps, type ComboboxItemGroupLabelProps, type ComboboxItemGroupProps, type ComboboxItemIndicatorProps, type ComboboxItemProps, type ComboboxItemTextProps, type ComboboxLabelProps, type ComboboxPositionerProps, type ComboboxRootContextProps, type ComboboxRootProps, type ComboboxRootProviderProps, type ComboboxTriggerProps, DatePicker, type DatePickerContentProps, type DatePickerControlProps, type DatePickerInputProps, type DatePickerLabelProps, type DatePickerMonthSelectProps, type DatePickerNextTriggerProps, type DatePickerPositionerProps, type DatePickerPresetTriggerProps, type DatePickerPrevTriggerProps, type DatePickerRangeTextProps, type DatePickerRootContextProps, type DatePickerRootProps, type DatePickerRootProviderProps, type DatePickerTableBodyProps, type DatePickerTableCellProps, type DatePickerTableCellTriggerProps, type DatePickerTableHeadProps, type DatePickerTableHeaderProps, type DatePickerTableProps, type DatePickerTableRowProps, type DatePickerTriggerProps, type DatePickerViewControlProps, type DatePickerViewProps, type DatePickerViewTriggerProps, type DatePickerYearSelectProps, type DateValue, Dialog, type DialogBackdropProps, type DialogCloseTriggerProps, type DialogContentProps, type DialogDescriptionProps, type DialogPositionerProps, type DialogRootContextProps, type DialogRootProps, type DialogRootProviderProps, type DialogTitleProps, type DialogTriggerProps, FileUpload, type FileUploadDropzoneProps, type FileUploadHiddenInputProps, type FileUploadItemDeleteTriggerProps, type FileUploadItemGroupProps, type FileUploadItemNameProps, type FileUploadItemProps, type FileUploadItemSizeTextProps, type FileUploadLabelProps, type FileUploadRootContextProps, type FileUploadRootProps, type FileUploadRootProviderProps, type FileUploadTriggerProps, Listbox, type ListboxContentProps, type ListboxInputProps, type ListboxItemGroupLabelProps, type ListboxItemGroupProps, type ListboxItemIndicatorProps, type ListboxItemProps, type ListboxItemTextProps, type ListboxLabelProps, type ListboxRootContextProps, type ListboxRootProps, type ListboxRootProviderProps, Menu, type MenuArrowProps, type MenuArrowTipProps, type MenuContentProps, type MenuContextTriggerProps, type MenuIndicatorProps, type MenuItemGroupLabelProps, type MenuItemGroupProps, type MenuItemIndicatorProps, type MenuItemProps, type MenuItemTextProps, type MenuOptionItemProps, type MenuPositionerProps, type MenuRootContextProps, type MenuRootProps, type MenuRootProviderProps, type MenuSeparatorProps, type MenuTriggerItemProps, type MenuTriggerProps, Navigation, type NavigationContentProps, type NavigationFooterProps, type NavigationGroupProps, type NavigationHeaderProps, type NavigationLabelProps, type NavigationMenuProps, type NavigationRootProps, Pagination, type PaginationEllipsisProps, type PaginationFirstTriggerProps, type PaginationItemProps, type PaginationLastTriggerProps, type PaginationNextTriggerProps, type PaginationPrevTriggerProps, type PaginationRootContextProps, type PaginationRootProps, type PaginationRootProviderProps, Popover, type PopoverArrowProps, type PopoverArrowTipProps, type PopoverCloseTriggerProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverPositionerProps, type PopoverRootContextProps, type PopoverRootProps, type PopoverRootProviderProps, type PopoverTitleProps, type PopoverTriggerProps, Portal, type PortalRootProps, Progress, type ProgressCircleProps, type ProgressCircleRangeProps, type ProgressCircleTrackProps, type ProgressLabelProps, type ProgressRangeProps, type ProgressRootContextProps, type ProgressRootProps, type ProgressRootProviderProps, type ProgressTrackProps, type ProgressValueTextProps, RatingGroup, type RatingGroupControlProps, type RatingGroupHiddenInputProps, type RatingGroupItemProps, type RatingGroupLabelProps, type RatingGroupRootContextProps, type RatingGroupRootProps, type RatingGroupRootProviderProps, SegmentedControl, type SegmentedControlControlProps, type SegmentedControlIndicatorProps, type SegmentedControlItemHiddenInputProps, type SegmentedControlItemProps, type SegmentedControlItemTextProps, type SegmentedControlLabelProps, type SegmentedControlRootContextProps, type SegmentedControlRootProps, type SegmentedControlRootProviderProps, Slider, type SliderControlProps, type SliderHiddenInputProps, type SliderLabelProps, type SliderMarkerGroupProps, type SliderMarkerProps, type SliderRangeProps, type SliderRootContextProps, type SliderRootProps, type SliderRootProviderProps, type SliderThumbProps, type SliderTrackProps, type SliderValueTextProps, Switch, type SwitchControlProps, type SwitchHiddenInputProps, type SwitchLabelProps, type SwitchRootContextProps, type SwitchRootProps, type SwitchRootProviderProps, type SwitchThumbProps, Tabs, type TabsContentProps, type TabsIndicatorProps, type TabsListProps, type TabsRootContextProps, type TabsRootProps, type TabsRootProviderProps, type TabsTriggerProps, TagsInput, type TagsInputClearTriggerProps, type TagsInputControlProps, type TagsInputHiddenInputProps, type TagsInputInputProps, type TagsInputItemDeleteTriggerProps, type TagsInputItemInputProps, type TagsInputItemPreviewProps, type TagsInputItemProps, type TagsInputItemTextProps, type TagsInputLabelProps, type TagsInputRootContextProps, type TagsInputRootProps, type TagsInputRootProviderProps, Toast, type ToastActionTriggerProps, type ToastCloseTriggerProps, type ToastDescriptionProps, type ToastGroupProps, type ToastMessageProps, type ToastRootContextProps, type ToastRootProps, type ToastTitleProps, ToggleGroup, type ToggleGroupItemProps, type ToggleGroupRootContextProps, type ToggleGroupRootProps, type ToggleGroupRootProviderProps, Tooltip, type TooltipArrowProps, type TooltipArrowTipProps, type TooltipContentProps, type TooltipPositionerProps, type TooltipRootContextProps, type TooltipRootProps, type TooltipRootProviderProps, type TooltipTriggerProps, TreeView, type TreeViewBranchContentProps, type TreeViewBranchControlProps, type TreeViewBranchIndentGuideProps, type TreeViewBranchIndicatorProps, type TreeViewBranchProps, type TreeViewBranchTextProps, type TreeViewItemProps, type TreeViewLabelProps, type TreeViewNodeContextProps, type TreeViewNodeProviderProps, type TreeViewRootContextProps, type TreeViewRootProps, type TreeViewRootProviderProps, type TreeViewTreeProps, createToaster, createTreeViewCollection, parseDate, useAccordion, useAvatar, useCollapsible, useCombobox, useDatePicker, useDialog, useFileUpload, useListCollection, useListbox, useMenu, usePagination, usePopover, useProgress, useRatingGroup, useSegmentedControl, useSlider, useSwitch, useTabs, useTagsInput, useToggleGroup, useTooltip, useTreeView };
|
|
1538
|
+
export { Accordion, type AccordionItemContentProps, type AccordionItemIndicatorProps, type AccordionItemProps, type AccordionItemTriggerProps, type AccordionRootContextProps, type AccordionRootProps, type AccordionRootProviderProps, AppBar, type AppBarHeadlineProps, type AppBarLeadProps, type AppBarRootProps, type AppBarToolbarProps, type AppBarTrailProps, Avatar, type AvatarFallbackProps, type AvatarImageProps, type AvatarRootContextProps, type AvatarRootProps, type AvatarRootProviderProps, Collapsible, type CollapsibleContentProps, type CollapsibleIndicatorProps, type CollapsibleRootContextProps, type CollapsibleRootProps, type CollapsibleRootProviderProps, type CollapsibleTriggerProps, Combobox, type ComboboxClearTriggerProps, type ComboboxContentProps, type ComboboxControlProps, type ComboboxInputProps, type ComboboxItemGroupLabelProps, type ComboboxItemGroupProps, type ComboboxItemIndicatorProps, type ComboboxItemProps, type ComboboxItemTextProps, type ComboboxLabelProps, type ComboboxPositionerProps, type ComboboxRootContextProps, type ComboboxRootProps, type ComboboxRootProviderProps, type ComboboxTriggerProps, DatePicker, type DatePickerContentProps, type DatePickerControlProps, type DatePickerInputProps, type DatePickerLabelProps, type DatePickerMonthSelectProps, type DatePickerNextTriggerProps, type DatePickerPositionerProps, type DatePickerPresetTriggerProps, type DatePickerPrevTriggerProps, type DatePickerRangeTextProps, type DatePickerRootContextProps, type DatePickerRootProps, type DatePickerRootProviderProps, type DatePickerTableBodyProps, type DatePickerTableCellProps, type DatePickerTableCellTriggerProps, type DatePickerTableHeadProps, type DatePickerTableHeaderProps, type DatePickerTableProps, type DatePickerTableRowProps, type DatePickerTriggerProps, type DatePickerViewControlProps, type DatePickerViewProps, type DatePickerViewTriggerProps, type DatePickerYearSelectProps, type DateValue, Dialog, type DialogBackdropProps, type DialogCloseTriggerProps, type DialogContentProps, type DialogDescriptionProps, type DialogPositionerProps, type DialogRootContextProps, type DialogRootProps, type DialogRootProviderProps, type DialogTitleProps, type DialogTriggerProps, FileUpload, type FileUploadDropzoneProps, type FileUploadHiddenInputProps, type FileUploadItemDeleteTriggerProps, type FileUploadItemGroupProps, type FileUploadItemNameProps, type FileUploadItemProps, type FileUploadItemSizeTextProps, type FileUploadLabelProps, type FileUploadRootContextProps, type FileUploadRootProps, type FileUploadRootProviderProps, type FileUploadTriggerProps, Listbox, type ListboxContentProps, type ListboxInputProps, type ListboxItemGroupLabelProps, type ListboxItemGroupProps, type ListboxItemIndicatorProps, type ListboxItemProps, type ListboxItemTextProps, type ListboxLabelProps, type ListboxRootContextProps, type ListboxRootProps, type ListboxRootProviderProps, Menu, type MenuArrowProps, type MenuArrowTipProps, type MenuContentProps, type MenuContextTriggerProps, type MenuIndicatorProps, type MenuItemGroupLabelProps, type MenuItemGroupProps, type MenuItemIndicatorProps, type MenuItemProps, type MenuItemTextProps, type MenuOptionItemProps, type MenuPositionerProps, type MenuRootContextProps, type MenuRootProps, type MenuRootProviderProps, type MenuSeparatorProps, type MenuTriggerItemProps, type MenuTriggerProps, Navigation, type NavigationContentProps, type NavigationFooterProps, type NavigationGroupProps, type NavigationHeaderProps, type NavigationLabelProps, type NavigationMenuProps, type NavigationRootProps, Pagination, type PaginationEllipsisProps, type PaginationFirstTriggerProps, type PaginationItemProps, type PaginationLastTriggerProps, type PaginationNextTriggerProps, type PaginationPrevTriggerProps, type PaginationRootContextProps, type PaginationRootProps, type PaginationRootProviderProps, Popover, type PopoverAnchorProps, type PopoverArrowProps, type PopoverArrowTipProps, type PopoverCloseTriggerProps, type PopoverContentProps, type PopoverDescriptionProps, type PopoverPositionerProps, type PopoverRootContextProps, type PopoverRootProps, type PopoverRootProviderProps, type PopoverTitleProps, type PopoverTriggerProps, Portal, type PortalRootProps, Progress, type ProgressCircleProps, type ProgressCircleRangeProps, type ProgressCircleTrackProps, type ProgressLabelProps, type ProgressRangeProps, type ProgressRootContextProps, type ProgressRootProps, type ProgressRootProviderProps, type ProgressTrackProps, type ProgressValueTextProps, RatingGroup, type RatingGroupControlProps, type RatingGroupHiddenInputProps, type RatingGroupItemProps, type RatingGroupLabelProps, type RatingGroupRootContextProps, type RatingGroupRootProps, type RatingGroupRootProviderProps, SegmentedControl, type SegmentedControlControlProps, type SegmentedControlIndicatorProps, type SegmentedControlItemHiddenInputProps, type SegmentedControlItemProps, type SegmentedControlItemTextProps, type SegmentedControlLabelProps, type SegmentedControlRootContextProps, type SegmentedControlRootProps, type SegmentedControlRootProviderProps, Slider, type SliderControlProps, type SliderHiddenInputProps, type SliderLabelProps, type SliderMarkerGroupProps, type SliderMarkerProps, type SliderRangeProps, type SliderRootContextProps, type SliderRootProps, type SliderRootProviderProps, type SliderThumbProps, type SliderTrackProps, type SliderValueTextProps, Switch, type SwitchControlProps, type SwitchHiddenInputProps, type SwitchLabelProps, type SwitchRootContextProps, type SwitchRootProps, type SwitchRootProviderProps, type SwitchThumbProps, Tabs, type TabsContentProps, type TabsIndicatorProps, type TabsListProps, type TabsRootContextProps, type TabsRootProps, type TabsRootProviderProps, type TabsTriggerProps, TagsInput, type TagsInputClearTriggerProps, type TagsInputControlProps, type TagsInputHiddenInputProps, type TagsInputInputProps, type TagsInputItemDeleteTriggerProps, type TagsInputItemInputProps, type TagsInputItemPreviewProps, type TagsInputItemProps, type TagsInputItemTextProps, type TagsInputLabelProps, type TagsInputRootContextProps, type TagsInputRootProps, type TagsInputRootProviderProps, Toast, type ToastActionTriggerProps, type ToastCloseTriggerProps, type ToastDescriptionProps, type ToastGroupProps, type ToastMessageProps, type ToastRootContextProps, type ToastRootProps, type ToastTitleProps, ToggleGroup, type ToggleGroupItemProps, type ToggleGroupRootContextProps, type ToggleGroupRootProps, type ToggleGroupRootProviderProps, Tooltip, type TooltipArrowProps, type TooltipArrowTipProps, type TooltipContentProps, type TooltipPositionerProps, type TooltipRootContextProps, type TooltipRootProps, type TooltipRootProviderProps, type TooltipTriggerProps, TreeView, type TreeViewBranchContentProps, type TreeViewBranchControlProps, type TreeViewBranchIndentGuideProps, type TreeViewBranchIndicatorProps, type TreeViewBranchProps, type TreeViewBranchTextProps, type TreeViewItemProps, type TreeViewLabelProps, type TreeViewNodeContextProps, type TreeViewNodeProviderProps, type TreeViewRootContextProps, type TreeViewRootProps, type TreeViewRootProviderProps, type TreeViewTreeProps, createToaster, createTreeViewCollection, parseDate, useAccordion, useAvatar, useCollapsible, useCombobox, useDatePicker, useDialog, useFileUpload, useListCollection, useListbox, useMenu, usePagination, usePopover, useProgress, useRatingGroup, useSegmentedControl, useSlider, useSwitch, useTabs, useTagsInput, useToggleGroup, useTooltip, useTreeView };
|
package/dist/index.mjs
CHANGED
|
@@ -2210,6 +2210,18 @@ const Pagination = Object.assign(PaginationRoot, {
|
|
|
2210
2210
|
//#region src/components/popover/modules/root-context.ts
|
|
2211
2211
|
const RootContext$23 = createContext$1();
|
|
2212
2212
|
|
|
2213
|
+
//#endregion
|
|
2214
|
+
//#region src/components/popover/anatomy/anchor.tsx
|
|
2215
|
+
function Anchor(props) {
|
|
2216
|
+
const popover = use(RootContext$23);
|
|
2217
|
+
const { element, children, ...rest } = props;
|
|
2218
|
+
const attributes = mergeProps(popover.getAnchorProps(), { className: classesPopover.anchor }, rest);
|
|
2219
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
2220
|
+
...attributes,
|
|
2221
|
+
children
|
|
2222
|
+
});
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2213
2225
|
//#endregion
|
|
2214
2226
|
//#region src/components/popover/anatomy/arrow-tip.tsx
|
|
2215
2227
|
function ArrowTip$1(props) {
|
|
@@ -2350,6 +2362,7 @@ function Trigger$2(props) {
|
|
|
2350
2362
|
const Popover = Object.assign(Root$10, {
|
|
2351
2363
|
Provider: RootProvider$8,
|
|
2352
2364
|
Context: RootContext$22,
|
|
2365
|
+
Anchor,
|
|
2353
2366
|
Trigger: Trigger$2,
|
|
2354
2367
|
Positioner: Positioner$1,
|
|
2355
2368
|
Content: Content$2,
|
|
@@ -2402,13 +2415,7 @@ function CircleTrack(props) {
|
|
|
2402
2415
|
function Circle(props) {
|
|
2403
2416
|
const progress = use(RootContext$21);
|
|
2404
2417
|
const { element, children, ...rest } = props;
|
|
2405
|
-
const attributes = mergeProps(progress.getCircleProps(), {
|
|
2406
|
-
className: classesProgress.circle,
|
|
2407
|
-
style: {
|
|
2408
|
-
["--size"]: "100px",
|
|
2409
|
-
["--thickness"]: "10px"
|
|
2410
|
-
}
|
|
2411
|
-
}, rest);
|
|
2418
|
+
const attributes = mergeProps(progress.getCircleProps(), { className: classesProgress.circle }, rest);
|
|
2412
2419
|
return element ? element(attributes) : /* @__PURE__ */ jsx("svg", {
|
|
2413
2420
|
...attributes,
|
|
2414
2421
|
children
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton-react",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.3",
|
|
4
4
|
"description": "The React package for Skeleton.",
|
|
5
5
|
"author": "endigo9740 <chris@skeletonlabs.dev>",
|
|
6
6
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@zag-js/toggle-group": "1.29.1",
|
|
46
46
|
"@zag-js/tooltip": "1.29.1",
|
|
47
47
|
"@zag-js/tree-view": "1.29.1",
|
|
48
|
-
"@skeletonlabs/skeleton-common": "4.5.
|
|
48
|
+
"@skeletonlabs/skeleton-common": "4.5.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^18.0.0 || ^19.0.0",
|