monica-alexandria 3.12.2 → 3.12.4

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/index.es.js CHANGED
@@ -1306,12 +1306,21 @@ import e,{createContext as t,useContext as n,useState as r,useEffect as a}from"r
1306
1306
  transition-duration: .5s;
1307
1307
  }
1308
1308
  `,wn=i.div`
1309
+ position: absolute;
1310
+ outline: 1px solid ${e=>e.theme.mid};
1311
+ top: 0;
1312
+ left: 0;
1313
+ padding: 2rem;
1314
+ background: ${e=>e.theme.background};
1315
+ height: 8.5rem;
1316
+ width: 8.5rem;
1309
1317
 
1310
1318
  img{
1311
1319
  height: 100%;
1312
1320
  width: 100%;
1321
+ object-fit: cover;
1313
1322
  border-radius: 50%;
1314
- background: ${e=>e.theme.high};
1323
+ background: ${e=>e.theme.mid};
1315
1324
  }
1316
1325
  `,xn=t=>e.createElement(_n,{onClick:t.onClick},e.createElement("h5",{className:t.className+" SidebarButtonTitle"},t.text),t.icon?e.createElement(En,null,e.createElement(d,{Icon:t.icon})):t.img?e.createElement(wn,null,e.createElement("img",{src:t.img,alt:t.alt})):null),bn=i.div`
1317
1326
  display: flex;
package/dist/index.js CHANGED
@@ -1306,12 +1306,21 @@
1306
1306
  transition-duration: .5s;
1307
1307
  }
1308
1308
  `,Yt=o.default.div`
1309
+ position: absolute;
1310
+ outline: 1px solid ${e=>e.theme.mid};
1311
+ top: 0;
1312
+ left: 0;
1313
+ padding: 2rem;
1314
+ background: ${e=>e.theme.background};
1315
+ height: 8.5rem;
1316
+ width: 8.5rem;
1309
1317
 
1310
1318
  img{
1311
1319
  height: 100%;
1312
1320
  width: 100%;
1321
+ object-fit: cover;
1313
1322
  border-radius: 50%;
1314
- background: ${e=>e.theme.high};
1323
+ background: ${e=>e.theme.mid};
1315
1324
  }
1316
1325
  `,Qt=o.default.div`
1317
1326
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.12.2",
3
+ "version": "3.12.4",
4
4
  "description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -66,12 +66,21 @@ const SidebarSvg = styled.div`
66
66
  `
67
67
 
68
68
  const SidebarImg = styled.div`
69
+ position: absolute;
70
+ outline: 1px solid ${p => p.theme.mid};
71
+ top: 0;
72
+ left: 0;
73
+ padding: 2rem;
74
+ background: ${p => p.theme.background};
75
+ height: 8.5rem;
76
+ width: 8.5rem;
69
77
 
70
78
  img{
71
79
  height: 100%;
72
80
  width: 100%;
81
+ object-fit: cover;
73
82
  border-radius: 50%;
74
- background: ${p => p.theme.high};
83
+ background: ${p => p.theme.mid};
75
84
  }
76
85
  `
77
86
 
@@ -7,14 +7,20 @@ export default{
7
7
  // decorators: [story => <SliderDummy>{story()}</SliderDummy> ]
8
8
  }
9
9
 
10
- export const Aside = (args) =>
10
+ export const WithIcon = (args) =>
11
11
  <Sidebar_>
12
- <Sidebar_Box
13
- text = 'Rocket'
14
- icon = 'Rocket'
15
- />
16
- <Sidebar_Box
17
- text = 'Example box'
18
- img = 'https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/Minis.svg'
19
- />
20
- </Sidebar_>
12
+ <Sidebar_Box {...args}/>
13
+ </Sidebar_>
14
+ WithIcon.args = {
15
+ text : "With icon",
16
+ icon : "Rocket"
17
+ }
18
+
19
+ export const WithImg = (args) =>
20
+ <Sidebar_>
21
+ <Sidebar_Box {...args}/>
22
+ </Sidebar_>
23
+ WithImg.args = {
24
+ text : "With image",
25
+ img : "https://genius1071.friktoriaservers.net/doitforme/morning/app/icons/Home.svg"
26
+ }