@soul-refiner/design-system 0.2.11 → 0.2.13
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.
|
@@ -6,5 +6,7 @@ export { Rate } from './rate';
|
|
|
6
6
|
export type { RateProps } from './rate';
|
|
7
7
|
export { Switch } from './switch';
|
|
8
8
|
export type { SwitchProps } from './switch';
|
|
9
|
+
export { Toggle } from './toggle';
|
|
10
|
+
export type { ToggleProps } from './toggle';
|
|
9
11
|
export { Upload } from './upload';
|
|
10
12
|
export type { UploadProps } from './upload';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {} from '';
|
|
1
|
+
export { Toggle } from './toggle';
|
|
2
|
+
export type { ToggleProps } from './toggle';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { Toggle } from './toggle';
|
|
@@ -57,6 +57,8 @@ const Component = styled.div `
|
|
|
57
57
|
max-width: 880px;
|
|
58
58
|
width: 100%;
|
|
59
59
|
z-index: 150;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-flow: column nowrap;
|
|
60
62
|
border-radius: 16px 0px 0px 16px;
|
|
61
63
|
background-color: var(--background-color);
|
|
62
64
|
margin-right: -100vw;
|
|
@@ -81,6 +83,7 @@ const ContentWrapper = styled.div `
|
|
|
81
83
|
padding: 24px 16px 24px 24px;
|
|
82
84
|
margin-right: 8px;
|
|
83
85
|
overflow-y: auto;
|
|
86
|
+
flex: 1;
|
|
84
87
|
|
|
85
88
|
&::-webkit-scrollbar-track {
|
|
86
89
|
box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.15);
|
|
@@ -105,6 +108,7 @@ const FooterWrapper = styled.div `
|
|
|
105
108
|
position: -webkit-sticky; /* Safari */
|
|
106
109
|
position: sticky;
|
|
107
110
|
bottom: 0;
|
|
111
|
+
border-radius: 0px 0px 0px 16px;
|
|
108
112
|
`;
|
|
109
113
|
const DrawerTrigger = ({ children: child, }) => {
|
|
110
114
|
const [, setOpen] = React.useContext(DrawerContext);
|