@jeromefitz/design-system 4.1.7 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/{Avatar-840f24ab.d.ts → Avatar-df0b8f4a.d.ts} +1 -1
- package/{ButtonDemo-a5d1e7b7.d.ts → ButtonDemo-adaa2802.d.ts} +1 -1
- package/{Checkbox-0e4d444d.d.ts → Checkbox-2943787d.d.ts} +1 -1
- package/{ContextMenu-7ae22435.d.ts → ContextMenu-6f333c0e.d.ts} +2 -2
- package/{DropdownMenu-4c8b0fa0.d.ts → DropdownMenu-131b231b.d.ts} +2 -2
- package/{FocusArea-63e74682.d.ts → FocusArea-4cc67786.d.ts} +2 -2
- package/{Heading-acb5c14a.d.ts → Heading-31acb2e9.d.ts} +1 -1
- package/{Menu-0f6ade87.d.ts → Menu-b6f5de19.d.ts} +2 -2
- package/{NavigationMenu-51086c89.d.ts → NavigationMenu-900904d7.d.ts} +3 -3
- package/Paragraph-b27206a0.d.ts +6 -0
- package/Popover-0ed9b61a.d.ts +18 -0
- package/{ProgressBar-1a395fe3.d.ts → ProgressBar-be6dbde1.d.ts} +1 -1
- package/{Radio-5b3425e5.d.ts → Radio-0fdc85b9.d.ts} +1 -1
- package/{RadioCard-9a968b1a.d.ts → RadioCard-b27e82fd.d.ts} +1 -1
- package/{Sheet-9edd474c.d.ts → Sheet-772a3ac6.d.ts} +1 -1
- package/{Slider-5b835ecd.d.ts → Slider-f7c0b154.d.ts} +1 -1
- package/SwitchIcon-adf6d080.d.ts +324 -0
- package/{Tabs.styles-0af0d84b.d.ts → Tabs.styles-2f3608bd.d.ts} +1 -1
- package/{VerifiedBadge-8a8364f4.d.ts → VerifiedBadge-a5c41f10.d.ts} +1 -1
- package/{chunk-NKESCUYG.js → chunk-HHPJKV62.js} +1 -1
- package/{chunk-RCXJ7GAL.cjs → chunk-HJBRQUEJ.cjs} +1 -1
- package/{chunk-OY2QFZRK.cjs → chunk-JWDOSYPW.cjs} +1 -1
- package/{chunk-AMNSHTAK.js → chunk-MG4ODWI5.js} +1 -1
- package/{chunk-GECTKPJ2.cjs → chunk-NC6E4EWN.cjs} +1 -1
- package/{chunk-YHMKWVMP.js → chunk-YHVEIQLG.js} +1 -1
- package/components/Avatar/index.cjs +1 -1
- package/components/Avatar/index.d.ts +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Button/index.cjs +1 -1
- package/components/Button/index.d.ts +1 -1
- package/components/Button/index.js +1 -1
- package/components/Caption/index.cjs +1 -1
- package/components/Caption/index.js +1 -1
- package/components/Carousel/index.cjs +1 -1
- package/components/Carousel/index.js +1 -1
- package/components/Checkbox/index.d.ts +1 -1
- package/components/CommandMenu/index.cjs +1 -1
- package/components/CommandMenu/index.js +1 -1
- package/components/ContextMenu/index.cjs +1 -1
- package/components/ContextMenu/index.d.ts +1 -1
- package/components/ContextMenu/index.js +1 -1
- package/components/Dialog/index.cjs +1 -1
- package/components/Dialog/index.js +1 -1
- package/components/DropdownMenu/index.cjs +1 -1
- package/components/DropdownMenu/index.d.ts +1 -1
- package/components/DropdownMenu/index.js +1 -1
- package/components/FocusArea/index.cjs +1 -1
- package/components/FocusArea/index.d.ts +1 -1
- package/components/FocusArea/index.js +1 -1
- package/components/Heading/index.d.ts +1 -1
- package/components/Menu/index.cjs +1 -1
- package/components/Menu/index.d.ts +1 -1
- package/components/Menu/index.js +1 -1
- package/components/NavigationMenu/index.d.ts +1 -1
- package/components/Note/index.cjs +1 -1
- package/components/Note/index.js +1 -1
- package/components/PageHeading/index.cjs +1 -1
- package/components/PageHeading/index.js +1 -1
- package/components/Paragraph/index.cjs +1 -1
- package/components/Paragraph/index.d.ts +1 -1
- package/components/Paragraph/index.js +1 -1
- package/components/Popover/index.cjs +1 -1
- package/components/Popover/index.d.ts +1 -1
- package/components/Popover/index.js +1 -1
- package/components/ProgressBar/index.d.ts +1 -1
- package/components/Radio/index.d.ts +1 -1
- package/components/RadioCard/index.d.ts +1 -1
- package/components/ScrollArea/index.cjs +1 -1
- package/components/ScrollArea/index.js +1 -1
- package/components/Sheet/index.d.ts +1 -1
- package/components/Slider/index.d.ts +1 -1
- package/components/Spacer/index.cjs +1 -1
- package/components/Spacer/index.js +1 -1
- package/components/Switch/index.cjs +1 -1
- package/components/Switch/index.d.ts +1 -1
- package/components/Switch/index.js +1 -1
- package/components/Tabs/index.cjs +1 -1
- package/components/Tabs/index.d.ts +1 -1
- package/components/Tabs/index.js +1 -1
- package/components/Toast/index.cjs +1 -1
- package/components/Toast/index.js +1 -1
- package/components/Tooltip/index.cjs +1 -1
- package/components/Tooltip/index.js +1 -1
- package/components/VerifiedBadge/index.cjs +1 -1
- package/components/VerifiedBadge/index.d.ts +1 -1
- package/components/VerifiedBadge/index.js +1 -1
- package/components/index.cjs +1 -1
- package/components/index.d.ts +19 -19
- package/components/index.js +1 -1
- package/custom/Emoji/index.cjs +1 -1
- package/custom/Emoji/index.js +1 -1
- package/custom/Hero/index.cjs +1 -1
- package/custom/Hero/index.js +1 -1
- package/custom/index.cjs +1 -1
- package/custom/index.js +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +23 -29
- package/index.js +1 -1
- package/package.json +88 -90
- package/Paragraph-5fda2152.d.ts +0 -6
- package/Popover-ef09b48e.d.ts +0 -18
- package/SwitchIcon-bad5e1f8.d.ts +0 -324
@@ -390,6 +390,6 @@ declare type AvatarOwnProps = AvatarPrimitiveProps & AvatarVariants & {
|
|
390
390
|
status?: StatusColors['variant'];
|
391
391
|
};
|
392
392
|
|
393
|
-
declare const Avatar: react.ForwardRefExoticComponent<
|
393
|
+
declare const Avatar: react.ForwardRefExoticComponent<Omit<AvatarOwnProps, "ref"> & react.RefAttributes<HTMLSpanElement>>;
|
394
394
|
|
395
395
|
export { Avatar as A };
|
@@ -1202,7 +1202,7 @@ declare type ButtonMarketingProps = {
|
|
1202
1202
|
icon?: ComponentType<any>;
|
1203
1203
|
} & ComponentProps<typeof StyledButton>;
|
1204
1204
|
|
1205
|
-
declare const ButtonMarketing: react.ForwardRefExoticComponent<
|
1205
|
+
declare const ButtonMarketing: react.ForwardRefExoticComponent<Omit<ButtonMarketingProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
1206
1206
|
|
1207
1207
|
declare const ButtonDemo: _stitches_react_types_styled_component.StyledComponent<"button", _stitches_react_types_styled_component.StyledComponentProps<[{
|
1208
1208
|
all: string;
|
@@ -371,6 +371,6 @@ declare type CheckboxProps = CheckboxPrimitiveProps & CheckboxVariants & {
|
|
371
371
|
css?: CSS;
|
372
372
|
};
|
373
373
|
|
374
|
-
declare const Checkbox: react.ForwardRefExoticComponent<
|
374
|
+
declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
375
375
|
|
376
376
|
export { Checkbox as C };
|
@@ -747,12 +747,12 @@ declare type ContextMenuRadioItemPrimitiveProps = ComponentProps<typeof ContextM
|
|
747
747
|
declare type ContextMenuRadioItemProps = ContextMenuRadioItemPrimitiveProps & {
|
748
748
|
css?: CSS;
|
749
749
|
};
|
750
|
-
declare const ContextMenuRadioItem: react.ForwardRefExoticComponent<
|
750
|
+
declare const ContextMenuRadioItem: react.ForwardRefExoticComponent<Omit<ContextMenuRadioItemProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
751
751
|
declare type ContextMenuCheckboxItemPrimitiveProps = ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>;
|
752
752
|
declare type ContextMenuCheckboxItemProps = ContextMenuCheckboxItemPrimitiveProps & {
|
753
753
|
css?: CSS;
|
754
754
|
};
|
755
|
-
declare const ContextMenuCheckboxItem: react.ForwardRefExoticComponent<
|
755
|
+
declare const ContextMenuCheckboxItem: react.ForwardRefExoticComponent<Omit<ContextMenuCheckboxItemProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
756
756
|
declare const ContextMenuLabel: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuLabelProps & react.RefAttributes<HTMLDivElement>>, {}, {
|
757
757
|
bp1: string;
|
758
758
|
bp2: string;
|
@@ -747,12 +747,12 @@ declare type DialogMenuRadioItemPrimitiveProps = ComponentProps<typeof DropdownM
|
|
747
747
|
declare type DialogMenuRadioItemProps = DialogMenuRadioItemPrimitiveProps & {
|
748
748
|
css?: CSS;
|
749
749
|
};
|
750
|
-
declare const DropdownMenuRadioItem: react.ForwardRefExoticComponent<
|
750
|
+
declare const DropdownMenuRadioItem: react.ForwardRefExoticComponent<Omit<DialogMenuRadioItemProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
751
751
|
declare type DialogMenuCheckboxItemPrimitiveProps = ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>;
|
752
752
|
declare type DialogMenuCheckboxItemProps = DialogMenuCheckboxItemPrimitiveProps & {
|
753
753
|
css?: CSS;
|
754
754
|
};
|
755
|
-
declare const DropdownMenuCheckboxItem: react.ForwardRefExoticComponent<
|
755
|
+
declare const DropdownMenuCheckboxItem: react.ForwardRefExoticComponent<Omit<DialogMenuCheckboxItemProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
756
756
|
declare const DropdownMenuItemIndicator: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuItemIndicatorProps & react.RefAttributes<HTMLSpanElement>>, {}, {
|
757
757
|
bp1: string;
|
758
758
|
bp2: string;
|
@@ -3,7 +3,7 @@ import * as _stitches_react_types_config from '@stitches/react/types/config';
|
|
3
3
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
4
4
|
import * as react from 'react';
|
5
5
|
|
6
|
-
declare const FocusArea: react.ForwardRefExoticComponent<
|
6
|
+
declare const FocusArea: react.ForwardRefExoticComponent<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
7
7
|
ref?: react.Ref<HTMLDivElement>;
|
8
8
|
}, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {
|
9
9
|
bp1: string;
|
@@ -251,6 +251,6 @@ declare const FocusArea: react.ForwardRefExoticComponent<Pick<Omit<Pick<react.De
|
|
251
251
|
backgroundClip: string | number | _stitches_react_types_css_util.WithScaleValue<"backgroundClip">;
|
252
252
|
};
|
253
253
|
}>;
|
254
|
-
}, "
|
254
|
+
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
255
255
|
|
256
256
|
export { FocusArea as F };
|
@@ -14,6 +14,6 @@ declare type HeadingProps = ComponentProps<typeof DEFAULT_TAG> & HeadingVariants
|
|
14
14
|
as?: any;
|
15
15
|
};
|
16
16
|
|
17
|
-
declare const Heading: react.ForwardRefExoticComponent<
|
17
|
+
declare const Heading: react.ForwardRefExoticComponent<Omit<HeadingProps, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
18
18
|
|
19
19
|
export { Heading as H };
|
@@ -745,12 +745,12 @@ declare type MenuRadioItemPrimitiveProps = ComponentProps<typeof MenuPrimitive.R
|
|
745
745
|
declare type MenuRadioItemProps = MenuRadioItemPrimitiveProps & {
|
746
746
|
css?: CSS;
|
747
747
|
};
|
748
|
-
declare const MenuRadioItem: react.ForwardRefExoticComponent<
|
748
|
+
declare const MenuRadioItem: react.ForwardRefExoticComponent<Omit<MenuRadioItemProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
749
749
|
declare type MenuCheckboxItemPrimitiveProps = ComponentProps<typeof MenuPrimitive.CheckboxItem>;
|
750
750
|
declare type MenuCheckboxItemProps = MenuCheckboxItemPrimitiveProps & {
|
751
751
|
css?: CSS;
|
752
752
|
};
|
753
|
-
declare const MenuCheckboxItem: react.ForwardRefExoticComponent<
|
753
|
+
declare const MenuCheckboxItem: react.ForwardRefExoticComponent<Omit<MenuCheckboxItemProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
754
754
|
declare const MenuLabel: _stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<MenuPrimitive.MenuLabelProps & react.RefAttributes<HTMLDivElement>>, {}, {
|
755
755
|
bp1: string;
|
756
756
|
bp2: string;
|
@@ -4111,12 +4111,12 @@ declare type StyledTriggerWithCaretProps = ComponentProps<typeof NavigationMenuT
|
|
4111
4111
|
children?: any;
|
4112
4112
|
css?: CSS;
|
4113
4113
|
};
|
4114
|
-
declare const NavigationMenuTriggerWithCaret: react.ForwardRefExoticComponent<
|
4114
|
+
declare const NavigationMenuTriggerWithCaret: react.ForwardRefExoticComponent<Omit<StyledTriggerWithCaretProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
4115
4115
|
declare const NavigationMenuIndicatorWithArrow: react.ForwardRefExoticComponent<react.RefAttributes<unknown>>;
|
4116
4116
|
/**
|
4117
4117
|
* @custom
|
4118
4118
|
*/
|
4119
|
-
declare const Focused: react.ForwardRefExoticComponent<
|
4120
|
-
declare const Selected: react.ForwardRefExoticComponent<
|
4119
|
+
declare const Focused: react.ForwardRefExoticComponent<Omit<any, "ref"> & react.RefAttributes<unknown>>;
|
4120
|
+
declare const Selected: react.ForwardRefExoticComponent<Omit<any, "ref"> & react.RefAttributes<unknown>>;
|
4121
4121
|
|
4122
4122
|
export { Focused as F, NavigationMenu as N, Selected as S, NavigationMenuCaret as a, NavigationMenuContent as b, NavigationMenuIndicator as c, NavigationMenuIndicatorWithArrow as d, NavigationMenuItem as e, NavigationMenuLink as f, NavigationMenuLinkText as g, NavigationMenuLinkTitle as h, NavigationMenuList as i, NavigationMenuListContent as j, NavigationMenuListItem as k, NavigationMenuListItemFocus as l, NavigationMenuListItemLink as m, NavigationMenuListItemSelect as n, NavigationMenuTrigger as o, NavigationMenuTriggerWithCaret as p, NavigationMenuViewport as q, NavigationMenuViewportPosition as r };
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as react from 'react';
|
2
|
+
import { ComponentProps, ReactNode } from 'react';
|
3
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
4
|
+
import { CSS } from './lib/stitches.config.js';
|
5
|
+
|
6
|
+
declare type PopoverProps = ComponentProps<typeof PopoverPrimitive.Root> & {
|
7
|
+
children: ReactNode;
|
8
|
+
};
|
9
|
+
declare function Popover({ children, ...props }: PopoverProps): JSX.Element;
|
10
|
+
declare type PopoverContentPrimitiveProps = ComponentProps<typeof PopoverPrimitive.Content>;
|
11
|
+
declare type PopoverContentProps = PopoverContentPrimitiveProps & {
|
12
|
+
css?: CSS;
|
13
|
+
hideArrow?: boolean;
|
14
|
+
};
|
15
|
+
declare const PopoverContent: react.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
16
|
+
declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
17
|
+
|
18
|
+
export { Popover as P, PopoverContent as a, PopoverTrigger as b };
|
@@ -300,6 +300,6 @@ declare type ProgressBarPrimitiveProps = ComponentProps<typeof ProgressPrimitive
|
|
300
300
|
declare type ProgressBarProps = ProgressBarPrimitiveProps & ProgressBarVariants & {
|
301
301
|
css?: CSS;
|
302
302
|
};
|
303
|
-
declare const ProgressBar: react.ForwardRefExoticComponent<
|
303
|
+
declare const ProgressBar: react.ForwardRefExoticComponent<Omit<ProgressBarProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
304
304
|
|
305
305
|
export { ProgressBar as P };
|
@@ -559,6 +559,6 @@ declare type RadioProps = RadioGroupItemPrimitiveProps & RadioVariants & {
|
|
559
559
|
css?: CSS;
|
560
560
|
};
|
561
561
|
|
562
|
-
declare const Radio: react.ForwardRefExoticComponent<
|
562
|
+
declare const Radio: react.ForwardRefExoticComponent<Omit<RadioProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
563
563
|
|
564
564
|
export { Radio as R, RadioGroup as a };
|
@@ -257,6 +257,6 @@ declare type RadioCardProps = RadioGroupItemPrimitiveProps & {
|
|
257
257
|
css?: CSS;
|
258
258
|
};
|
259
259
|
|
260
|
-
declare const RadioCard: react.ForwardRefExoticComponent<
|
260
|
+
declare const RadioCard: react.ForwardRefExoticComponent<Omit<RadioCardProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
261
261
|
|
262
262
|
export { RadioCard as R, RadioCardGroup as a };
|
@@ -802,7 +802,7 @@ declare function Sheet({ children, ...props }: SheetProps): JSX.Element;
|
|
802
802
|
interface SheetContentPropsExtended extends SheetContentProps {
|
803
803
|
handleIsSheetOpen: (k: boolean) => void;
|
804
804
|
}
|
805
|
-
declare const SheetContent: react.ForwardRefExoticComponent<
|
805
|
+
declare const SheetContent: react.ForwardRefExoticComponent<Omit<SheetContentPropsExtended, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
806
806
|
declare const SheetClose: react.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
|
807
807
|
declare const SheetDescription: react.ForwardRefExoticComponent<DialogPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
808
808
|
declare const SheetPortal: react.FC<DialogPrimitive.DialogPortalProps>;
|
@@ -255,6 +255,6 @@ declare type SliderPrimitiveProps = ComponentProps<typeof SliderPrimitive.Root>;
|
|
255
255
|
declare type SliderProps = SliderPrimitiveProps & {
|
256
256
|
css?: CSS;
|
257
257
|
};
|
258
|
-
declare const Slider: react.ForwardRefExoticComponent<
|
258
|
+
declare const Slider: react.ForwardRefExoticComponent<Omit<SliderProps, "ref"> & react.RefAttributes<HTMLSpanElement>>;
|
259
259
|
|
260
260
|
export { StyledSlider as S, Slider as a };
|