monica-alexandria 3.34.3 → 3.34.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
@@ -432,7 +432,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a,Compon
432
432
  padding: 1rem;
433
433
  `,le=m.li`
434
434
  padding: 0.5rem 1rem;
435
- min-width: calc(50% - 0.5rem);
435
+ width: calc(50% - 0.5rem);
436
436
  background: ${e=>e.selected?e.theme.low:e.theme.background};
437
437
  border-radius: 0.5rem;
438
438
  white-space: nowrap;
package/dist/index.js CHANGED
@@ -432,7 +432,7 @@
432
432
  padding: 1rem;
433
433
  `,U=o.default.li`
434
434
  padding: 0.5rem 1rem;
435
- min-width: calc(50% - 0.5rem);
435
+ width: calc(50% - 0.5rem);
436
436
  background: ${e=>e.selected?e.theme.low:e.theme.background};
437
437
  border-radius: 0.5rem;
438
438
  white-space: nowrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.34.3",
3
+ "version": "3.34.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",
@@ -50,7 +50,7 @@ const PresetList = styled.ul`
50
50
 
51
51
  const PresetItem = styled.li`
52
52
  padding: 0.5rem 1rem;
53
- min-width: calc(50% - 0.5rem);
53
+ width: calc(50% - 0.5rem);
54
54
  background: ${(p) => (p.selected ? p.theme.low : p.theme.background)};
55
55
  border-radius: 0.5rem;
56
56
  white-space: nowrap;
@@ -105,6 +105,7 @@ const CardFixText = styled.h6`
105
105
  export const Preset_Card = (props) => {
106
106
  const maxTitle = 16;
107
107
  const maxSubtitle = 30;
108
+ const maxItem = 20;
108
109
  const [nameIsHovered, setNameIsHovered] = useState(false);
109
110
 
110
111
  return (
@@ -14,17 +14,20 @@ export default {
14
14
  };
15
15
 
16
16
  const myKpis = [
17
- { kpi: "CTA" },
18
- { kpi: "ROAS" },
19
- { kpi: "VIDEO" },
20
- { kpi: "VIEWS" },
21
- { kpi: "CTA" },
22
- { kpi: "ROAS" },
23
- { kpi: "VIDEO" },
24
- { kpi: "VIEWS" },
25
- { kpi: "VIDEO" },
26
- { kpi: "VIEWS" },
17
+ "BOB",
18
+ "ROSS",
19
+ "Alice",
20
+ "John Doe with 35 chars",
21
+ "David",
22
+ "Lily",
23
+ "Oliver",
24
+ "John Doe with 35 chars",
25
+ "Sophia",
26
+ "Isabella",
27
+ "Henry",
28
+ "John Doe with 35 chars",
27
29
  ];
30
+
28
31
  const Template = (args) => <Preset_Card {...args} />;
29
32
 
30
33
  export const Default = Template.bind({});