@atom-learning/components 1.10.0 → 1.11.0-beta.0

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,4 +1,4 @@
1
- import { Trigger } from '@radix-ui/react-dialog';
1
+ import { Description, Title, Trigger } from '@radix-ui/react-dialog';
2
2
  import * as React from 'react';
3
3
  import { DialogClose } from './DialogClose';
4
4
  import { DialogContent } from './DialogContent';
@@ -271,6 +271,8 @@ declare type DialogProps = React.ComponentProps<typeof StyledDialog>;
271
271
  export declare const Dialog: React.FC<DialogProps> & {
272
272
  Close: typeof DialogClose;
273
273
  Content: typeof DialogContent;
274
+ Description: typeof Description;
275
+ Title: typeof Title;
274
276
  Trigger: typeof Trigger;
275
277
  };
276
278
  export {};
@@ -1 +1 @@
1
- import{Root as r,Trigger as e}from"@radix-ui/react-dialog";import{createElement as i}from"react";import{styled as m}from"../../stitches.js";import{DialogClose as l}from"./DialogClose.js";import{DialogContent as g}from"./DialogContent.js";const a=m(r,{}),o=t=>i(a,{...t});o.Close=l,o.Content=g,o.Trigger=e,o.displayName="Dialog";export{o as Dialog};
1
+ import{Root as i,Description as e,Title as r,Trigger as l}from"@radix-ui/react-dialog";import{createElement as m}from"react";import{styled as g}from"../../stitches.js";import{DialogClose as n}from"./DialogClose.js";import{DialogContent as p}from"./DialogContent.js";const a=g(i,{}),o=t=>m(a,{...t});o.Close=n,o.Content=p,o.Description=e,o.Title=r,o.Trigger=l,o.displayName="Dialog";export{o as Dialog};
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare const StyledTabTrigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsTriggerProps & React.RefAttributes<HTMLDivElement>>, {
2
+ declare const StyledTabTrigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>, {
3
3
  theme?: "dark" | "light" | undefined;
4
4
  }, {
5
5
  sm: string;
@@ -1,9 +1,10 @@
1
- import { Root, Trigger } from '@radix-ui/react-tooltip';
1
+ import { Provider, Root, Trigger } from '@radix-ui/react-tooltip';
2
2
  import * as React from 'react';
3
3
  import { TooltipContent } from './TooltipContent';
4
4
  declare type TooltipProps = React.ComponentProps<typeof Root>;
5
5
  export declare const Tooltip: React.FC<TooltipProps> & {
6
6
  Content: typeof TooltipContent;
7
7
  Trigger: typeof Trigger;
8
+ Provider: typeof Provider;
8
9
  };
9
10
  export {};
@@ -1 +1 @@
1
- import{Root as i,Trigger as m}from"@radix-ui/react-tooltip";import{createElement as p}from"react";import{styled as l}from"../../stitches.js";import{TooltipContent as n}from"./TooltipContent.js";const o=({children:t,delayDuration:r=350,...e})=>p(i,{delayDuration:r,...e},t);o.Content=n,o.Trigger=l(m,{}),o.displayName="Tooltip";export{o as Tooltip};
1
+ import{Root as i,Trigger as m,Provider as p}from"@radix-ui/react-tooltip";import{createElement as l}from"react";import{styled as n}from"../../stitches.js";import{TooltipContent as T}from"./TooltipContent.js";const o=({children:r,delayDuration:t=350,...e})=>l(i,{delayDuration:t,...e},r);o.Content=T,o.Trigger=n(m,{}),o.Provider=p,o.displayName="Tooltip";export{o as Tooltip};