@kroo-web/design-system 1.16.0 → 1.17.1

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.
@@ -1,9 +1,11 @@
1
1
  import * as RadixPopover from '@radix-ui/react-popover';
2
2
  export type TPopoverRootProps = React.ComponentPropsWithoutRef<typeof RadixPopover.Root>;
3
- export type TPopoverTriggerProps = React.ComponentPropsWithoutRef<typeof RadixPopover.Trigger>;
3
+ export type TPopoverTriggerProps = React.ComponentPropsWithoutRef<typeof RadixPopover.Trigger> & {
4
+ variant?: 'light' | 'dark';
5
+ };
4
6
  export type TPopoverContentProps = React.ComponentPropsWithoutRef<typeof RadixPopover.Content>;
5
7
  export declare const Popover: {
6
8
  Content: ({ children, ...rest }: TPopoverContentProps) => import("react/jsx-runtime").JSX.Element;
7
9
  Root: (props: TPopoverRootProps) => import("react/jsx-runtime").JSX.Element;
8
- Trigger: ({ children, ...rest }: TPopoverTriggerProps) => import("react/jsx-runtime").JSX.Element;
10
+ Trigger: ({ children, variant, ...rest }: TPopoverTriggerProps) => import("react/jsx-runtime").JSX.Element;
9
11
  };
@@ -4,4 +4,6 @@ import { Popover } from '.';
4
4
  declare const _default: Meta<typeof Popover.Root>;
5
5
  export default _default;
6
6
  type Story = StoryObj<typeof Popover>;
7
- export declare const GeneralUsage: Story;
7
+ export declare const Default: Story;
8
+ export declare const OnlyIcon: Story;
9
+ export declare const DarkVariant: Story;