@atom-learning/components 2.7.0 → 2.8.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.
- package/dist/components/accordion/Accordion.d.ts +1 -1
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +2 -0
- package/dist/components/dropdown-menu/DropdownMenu.js +1 -1
- package/dist/components/popover/Popover.d.ts +2 -1
- package/dist/components/popover/Popover.js +1 -1
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +2 -1
- package/dist/components/tooltip/Tooltip.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/docs/ActionIcon.mdx +11 -8
- package/dist/docs/Popover.mdx +1 -1
- package/dist/docs/Tooltip.mdx +2 -2
- package/dist/index.cjs.js +1 -1
- package/package.json +15 -15
- package/CHANGELOG.md +0 -207
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { AccordionContent } from './AccordionContent';
|
|
3
3
|
import { AccordionItem } from './AccordionItem';
|
|
4
4
|
import { AccordionTrigger } from './AccordionTrigger';
|
|
5
|
-
declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<(import("@radix-ui/react-accordion").AccordionSingleProps
|
|
5
|
+
declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<(import("@radix-ui/react-accordion").AccordionSingleProps | import("@radix-ui/react-accordion").AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>, {}, {
|
|
6
6
|
sm: string;
|
|
7
7
|
md: string;
|
|
8
8
|
lg: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Portal } from '@radix-ui/react-dropdown-menu';
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { DropdownMenuContent } from './DropdownMenuContent';
|
|
3
4
|
import { DropdownMenuItem } from './DropdownMenuItem';
|
|
@@ -274,6 +275,7 @@ export declare const DropdownMenu: React.FC<React.ComponentProps<typeof Root>> &
|
|
|
274
275
|
Content: typeof DropdownMenuContent;
|
|
275
276
|
Item: typeof DropdownMenuItem;
|
|
276
277
|
LinkItem: typeof DropdownMenuLinkItem;
|
|
278
|
+
Portal: typeof Portal;
|
|
277
279
|
Separator: typeof DropdownMenuSeparator;
|
|
278
280
|
Trigger: typeof DropdownMenuTrigger;
|
|
279
281
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Root as t}from"@radix-ui/react-dropdown-menu";import
|
|
1
|
+
import{Root as t,Portal as e}from"@radix-ui/react-dropdown-menu";import m from"react";import{styled as n}from"../../stitches.js";import{DropdownMenuContent as p}from"./DropdownMenuContent.js";import{DropdownMenuItem as i}from"./DropdownMenuItem.js";import{DropdownMenuLinkItem as d}from"./DropdownMenuLinkItem.js";import{DropdownMenuSeparator as f}from"./DropdownMenuSeparator.js";import{DropdownMenuTrigger as a}from"./DropdownMenuTrigger.js";const u=n(t,{}),o=r=>m.createElement(u,{...r});o.Content=p,o.Item=i,o.LinkItem=d,o.Portal=e,o.Separator=f,o.Trigger=a;export{o as DropdownMenu};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Trigger } from '@radix-ui/react-popover';
|
|
1
|
+
import { Portal, Trigger } from '@radix-ui/react-popover';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { PopoverContent } from './PopoverContent';
|
|
4
4
|
declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.FC<import("@radix-ui/react-popover").PopoverProps>, {}, {
|
|
@@ -271,5 +271,6 @@ declare type PopoverProps = React.ComponentProps<typeof StyledRoot>;
|
|
|
271
271
|
export declare const Popover: React.FC<PopoverProps> & {
|
|
272
272
|
Trigger: typeof Trigger;
|
|
273
273
|
Content: typeof PopoverContent;
|
|
274
|
+
Portal: typeof Portal;
|
|
274
275
|
};
|
|
275
276
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Root as r,Trigger as
|
|
1
|
+
import{Root as r,Portal as e,Trigger as m}from"@radix-ui/react-popover";import*as p from"react";import{styled as i}from"../../stitches.js";import{PopoverContent as a}from"./PopoverContent.js";i(r,{});const o=t=>p.createElement(r,{...t});o.Content=a,o.Portal=e,o.Trigger=m,o.displayName="Popover";export{o as Popover};
|
|
@@ -6,7 +6,7 @@ declare type RootType = {
|
|
|
6
6
|
isFullWidth?: boolean;
|
|
7
7
|
wrap?: 'wrap' | 'no-wrap' | 'wrap-reverse';
|
|
8
8
|
};
|
|
9
|
-
export declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<(ToggleGroup.ToggleGroupSingleProps
|
|
9
|
+
export declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<(ToggleGroup.ToggleGroupSingleProps | ToggleGroup.ToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>, {
|
|
10
10
|
isFullWidth?: boolean | "true" | undefined;
|
|
11
11
|
hasGap?: boolean | "true" | "false" | undefined;
|
|
12
12
|
direction?: "row" | "column" | undefined;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Provider, Root, Trigger } from '@radix-ui/react-tooltip';
|
|
1
|
+
import { Portal, 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
|
+
Portal: typeof Portal;
|
|
7
8
|
Trigger: typeof Trigger;
|
|
8
9
|
Provider: typeof Provider;
|
|
9
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Trigger as i,Root as
|
|
1
|
+
import{Trigger as i,Root as l,Portal as a,Provider as m}from"@radix-ui/react-tooltip";import*as n from"react";import{styled as p}from"../../stitches.js";import{TooltipContent as d}from"./TooltipContent.js";const o=({children:r,delayDuration:t=350,...e})=>n.createElement(l,{delayDuration:t,...e},r);o.Content=d,o.Trigger=p(i,{}),o.Portal=a,o.Provider=m,o.displayName="Tooltip";export{o as Tooltip};
|