@atom-learning/components 2.22.0 → 2.23.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.
- package/CHANGELOG.md +3 -3
- package/dist/components/index.d.ts +11 -11
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +2 -7
- package/dist/components/navigation/NavigationMenuDropdownContent.js +1 -1
- package/dist/components/navigation/NavigationMenuDropdownTrigger.js +1 -1
- package/dist/components/navigation/NavigationMenuLink.js +1 -1
- package/dist/components/sidedrawer/SidedrawerClose.d.ts +2 -1
- package/dist/components/sidedrawer/SidedrawerClose.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
## [2.23.1](https://github.com/Atom-Learning/components/compare/v2.23.0...v2.23.1) (2022-12-15)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* content list style, html semantics, theme token use, snapshot content visibility ([2a90c5b](https://github.com/Atom-Learning/components/commit/2a90c5b6cab07a0b5f59fee76742b2e680b9d79b))
|
|
7
7
|
|
|
8
8
|
# [1.4.0](https://github.com/Atom-Learning/components/compare/v1.3.0...v1.4.0) (2022-04-11)
|
|
9
9
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export type { ValidationOptions } from './form';
|
|
2
2
|
export { Accordion } from './accordion';
|
|
3
|
-
export { EmptyState } from './empty-state';
|
|
4
3
|
export { ActionIcon } from './action-icon';
|
|
5
4
|
export { AlertDialog, useAlert, AlertProvider } from './alert-dialog';
|
|
6
5
|
export { Avatar } from './avatar';
|
|
@@ -15,14 +14,16 @@ export { ChipDismissibleGroup } from './chip-dismissible-group';
|
|
|
15
14
|
export { ChipToggleGroup } from './chip-toggle-group';
|
|
16
15
|
export { Combobox } from './combobox';
|
|
17
16
|
export { DataTable, useDataTable } from './data-table';
|
|
18
|
-
export { Dialog } from './dialog';
|
|
19
|
-
export { DateInput } from './date-input';
|
|
20
17
|
export { DateField } from './date-field';
|
|
18
|
+
export { DateInput } from './date-input';
|
|
19
|
+
export { Dialog } from './dialog';
|
|
21
20
|
export { Dismissible } from './dismissible';
|
|
22
21
|
export { DismissibleGroup } from './dismissible-group';
|
|
23
22
|
export { Divider } from './divider';
|
|
24
23
|
export { DropdownMenu } from './dropdown-menu';
|
|
24
|
+
export { EmptyState } from './empty-state';
|
|
25
25
|
export { FieldWrapper, InlineFieldWrapper } from './field-wrapper';
|
|
26
|
+
export { FileInput } from './file-input';
|
|
26
27
|
export { Flex } from './flex';
|
|
27
28
|
export { Form } from './form';
|
|
28
29
|
export { Grid } from './grid';
|
|
@@ -31,32 +32,33 @@ export { Icon } from './icon';
|
|
|
31
32
|
export { Image } from './image';
|
|
32
33
|
export { InlineMessage } from './inline-message';
|
|
33
34
|
export { Input } from './input';
|
|
34
|
-
export { FileInput } from './file-input';
|
|
35
35
|
export { InputField } from './input-field';
|
|
36
36
|
export { Label } from './label';
|
|
37
37
|
export { Link, StyledLink } from './link';
|
|
38
38
|
export { List } from './list';
|
|
39
39
|
export { Loader } from './loader';
|
|
40
40
|
export { MarkdownContent } from './markdown-content';
|
|
41
|
-
export {
|
|
41
|
+
export { NavigationMenu } from './navigation';
|
|
42
42
|
export { NotificationBadge } from './notification-badge';
|
|
43
|
+
export { NumberInput } from './number-input';
|
|
44
|
+
export { NumberInputField } from './number-input-field';
|
|
43
45
|
export { PasswordField } from './password-field';
|
|
44
46
|
export { PasswordInput } from './password-input';
|
|
45
47
|
export { Popover } from './popover';
|
|
46
48
|
export { ProgressBar } from './progress-bar';
|
|
47
|
-
export { Sidedrawer } from './sidedrawer';
|
|
48
|
-
export { Stepper } from './stepper';
|
|
49
49
|
export { RadioButton, RadioButtonGroup } from './radio-button';
|
|
50
50
|
export { RadioButtonField } from './radio-button-field';
|
|
51
51
|
export { RadioCard, RadioCardGroup } from './radio-card';
|
|
52
|
-
export { SearchInput } from './search-input';
|
|
53
52
|
export { SearchField } from './search-field';
|
|
53
|
+
export { SearchInput } from './search-input';
|
|
54
54
|
export { Select } from './select';
|
|
55
55
|
export { SelectField } from './select-field';
|
|
56
|
+
export { Sidedrawer } from './sidedrawer';
|
|
56
57
|
export { Slider } from './slider';
|
|
57
58
|
export { SliderField } from './slider-field';
|
|
58
59
|
export { Stack } from './stack';
|
|
59
60
|
export { StackContent } from './stack-content';
|
|
61
|
+
export { Stepper } from './stepper';
|
|
60
62
|
export { Switch } from './switch';
|
|
61
63
|
export { Table } from './table';
|
|
62
64
|
export { Tabs } from './tabs';
|
|
@@ -66,7 +68,5 @@ export { TextareaField } from './textarea-field';
|
|
|
66
68
|
export { ToastProvider, toast } from './toast';
|
|
67
69
|
export { ToggleGroup } from './toggle-group';
|
|
68
70
|
export { Tooltip } from './tooltip';
|
|
71
|
+
export { TopBar } from './top-bar';
|
|
69
72
|
export { Video } from './video';
|
|
70
|
-
export { NavigationMenu } from './navigation';
|
|
71
|
-
export { NumberInput } from './number-input';
|
|
72
|
-
export { NumberInputField } from './number-input-field';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as r from"@radix-ui/react-navigation-menu";import t from"react";import{styled as o}from"../../stitches.js";const i=o("ul",{listStyle:"none",m:0,p:0}),l=o(r.Content,{p:"$3",bg:"white",mt:"4px",boxShadow:"$1",borderRadius:"$1"}),e=({children:n})=>t.createElement(l,null,t.createElement(i,null,n));e.displayName="NavigationMenuDropdownContent";export{e as NavigationMenuDropdownContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ChevronDown as i}from"@atom-learning/icons";import*as s from"@radix-ui/react-navigation-menu";import e from"react";import{styled as m}from"../../stitches.js";import{Icon as
|
|
1
|
+
import{ChevronDown as i}from"@atom-learning/icons";import*as s from"@radix-ui/react-navigation-menu";import e from"react";import{styled as m}from"../../stitches.js";import{Icon as d}from"../icon/Icon.js";import{navigationMenuBaseItemStyles as p,navigationMenuActiveItemStyles as c}from"./NavigationMenu.styles.js";const f=m(s.Trigger,p,{display:"flex",alignItems:"center",borderRadius:"$1",justifyContent:"space-between",'&[data-state="open"]':{background:"$tonal100"},variants:{active:{true:{...c}}}}),t=e.forwardRef(({children:r,active:o,...a},n)=>e.createElement(f,{active:o,...a,ref:n},r,e.createElement(d,{is:i,css:{ml:"$1","[data-state=open] &":{transform:"rotate(-180deg)"},"@media (prefers-reduced-motion: no-preference)":{transition:"transform .2s ease"}},size:"sm"})));t.displayName="NavigationMenuDropdownTrigger";export{t as NavigationMenuDropdownTrigger};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as o from"@radix-ui/react-navigation-menu";import e from"react";import{styled as t}from"../../stitches.js";import{navigationMenuBaseItemStyles as n,navigationMenuDisabledItemStyles as p,navigationMenuActiveItemStyles as v}from"./NavigationMenu.styles.js";const u=t("button",{...n,...p}),y=t(o.Item),f=t(o.Link,n,{display:"block",textDecoration:"none",lineHeight:1,variants:{elementType:{dropdownItem:{"&[data-active]":{background:"$primaryLight",color:"$primary","*":{color:"$primary"},"&:hover":{background:"$tonal50"},"&:active":{background:"$tonal100"},"&:focus-visible":{boxShadow:"0 0 0 2px $colors$primary"}}},link:{"&[data-active]":{...v}}}}}),r=e.forwardRef(({children:a,href:l,disabled:m,css:s,variant:c="link",...i},d)=>m?e.createElement(u,{disabled:!0,...i},a):e.createElement(
|
|
1
|
+
import*as o from"@radix-ui/react-navigation-menu";import e from"react";import{styled as t}from"../../stitches.js";import{navigationMenuBaseItemStyles as n,navigationMenuDisabledItemStyles as p,navigationMenuActiveItemStyles as v}from"./NavigationMenu.styles.js";const u=t("button",{...n,...p}),y=t(o.Item),f=t(o.Link,n,{display:"block",textDecoration:"none",lineHeight:1,variants:{elementType:{dropdownItem:{"&[data-active]":{background:"$primaryLight",color:"$primary","*":{color:"$primary"},"&:hover":{background:"$tonal50"},"&:active":{background:"$tonal100"},"&:focus-visible":{boxShadow:"0 0 0 2px $colors$primary"}}},link:{"&[data-active]":{...v}}}}}),r=e.forwardRef(({children:a,href:l,disabled:m,css:s,variant:c="link",...i},d)=>e.createElement(y,null,m?e.createElement(u,{disabled:!0,...i},a):e.createElement(f,{href:l,ref:d,elementType:c,css:s,...i},a)));r.displayName="NavigationMenuLink";export{r as NavigationMenuLink};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Close as
|
|
1
|
+
import{Close as l}from"@radix-ui/react-dialog";import{Close as i}from"@atom-learning/icons";import e from"react";import{Icon as s}from"../icon/Icon.js";import{ActionIcon as p}from"../action-icon/ActionIcon.js";const c=({appearance:o="simple",label:r="close",size:t="md",theme:m="neutral",...a})=>e.createElement(l,{asChild:!0},e.createElement(p,{theme:m,appearance:o,size:t,label:r,...a},e.createElement(s,{is:i})));export{c as SidedrawerClose};
|