@atom-learning/components 2.22.0 → 2.23.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/CHANGELOG.md CHANGED
@@ -1,9 +1,9 @@
1
- # [2.22.0](https://github.com/Atom-Learning/components/compare/v2.21.0...v2.22.0) (2022-12-07)
1
+ # [2.23.0](https://github.com/Atom-Learning/components/compare/v2.22.0...v2.23.0) (2022-12-07)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * sidedrawer - remaining props to allow custom styling. fix for content height ([b6b2081](https://github.com/Atom-Learning/components/commit/b6b2081608fa68fbf2fd1da02c59000a82d090e9))
6
+ * sidedrawer close customizable ([c0baf1c](https://github.com/Atom-Learning/components/commit/c0baf1c206ae5aea124191d7bcbc2e8aca3cc0ee))
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,2 +1,3 @@
1
1
  import React from 'react';
2
- export declare const SidedrawerClose: React.FC;
2
+ import { ActionIcon } from '../action-icon/ActionIcon';
3
+ export declare const SidedrawerClose: React.FC<React.ComponentProps<typeof ActionIcon>>;
@@ -1 +1 @@
1
- import{Close as o}from"@radix-ui/react-dialog";import{Close as r}from"@atom-learning/icons";import e from"react";import{Icon as t}from"../icon/Icon.js";import{ActionIcon as m}from"../action-icon/ActionIcon.js";const l=()=>e.createElement(o,{asChild:!0},e.createElement(m,{theme:"neutral",appearance:"simple",label:"close",size:"md"},e.createElement(t,{is:r})));export{l as SidedrawerClose};
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};