@manamerge/mana-atomic-ui 1.0.184 → 1.0.186
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.js +22 -14
- package/dist/index.js.map +1 -1
- package/dist/themes/themes/manamerge/atoms/button.ts +50 -0
- package/dist/themes/themes/manamerge/layouts/pint3.ts +3 -3
- package/dist/themes/themes/manamerge/molecules/cardBanner.ts +11 -7
- package/dist/themes/themes/manamerge/molecules/cardSimpleRender.ts +3 -3
- package/dist/types/components/Atoms/Button/Button.stories.d.ts +2 -0
- package/dist/types/components/Layouts/Pint3/Pint3.stories.d.ts +1 -0
- package/dist/types/themes/ManamergeTheme.d.ts +55 -2
- package/dist/types/themes/manamerge/atoms/button.d.ts +48 -0
- package/dist/types/themes/manamerge/layouts/pint3.d.ts +2 -1
- package/dist/types/themes/manamerge/molecules/cardBanner.d.ts +4 -1
- package/dist/types/themes/manamerge/molecules/cardSimpleRender.d.ts +1 -0
- package/package.json +1 -1
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Bold.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Heavy.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Light.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Medium.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Gilmer-Regular.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Springwood/SpringwoodBrush-Italic.woff2 +0 -0
- package/dist/themes/themes/davidWeb/fonts/Springwood/SpringwoodBrush-Regular.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Bold.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Heavy.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Light.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Medium.woff2 +0 -0
- package/dist/themes/themes/manamerge/fonts/Gilmer-Regular.woff2 +0 -0
- package/dist/types/components/Molecules/CardSimpleRender/CardSimpleRender.stories copy.d.ts +0 -11
|
@@ -102,6 +102,56 @@ const button = {
|
|
|
102
102
|
opacity: 0.8
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
+
"Button-tertiary": {
|
|
106
|
+
textTransform: "none",
|
|
107
|
+
height: "45px",
|
|
108
|
+
width: "auto",
|
|
109
|
+
maxWidth: "200px", // Added max-width for responsive design
|
|
110
|
+
maxHeight: "50px", // Added max-height for consistent scaling
|
|
111
|
+
borderRadius: "15px",
|
|
112
|
+
lineHeight: "18px",
|
|
113
|
+
fontFamily: "ManamergeGilmer",
|
|
114
|
+
fontWeight: 500,
|
|
115
|
+
letterSpacing: "0.5px", // Ensures text has spacing for readability
|
|
116
|
+
padding: "0 30px",
|
|
117
|
+
fontSize: "14px",
|
|
118
|
+
color: colors.one.a, // Fallback for text color
|
|
119
|
+
textAlign: "center", // Ensures consistent alignment
|
|
120
|
+
display: "inline-flex", // Added to ensure alignment and layout consistency
|
|
121
|
+
justifyContent: "center",
|
|
122
|
+
alignItems: "center",
|
|
123
|
+
cursor: "pointer", // Indicates the button is clickable
|
|
124
|
+
// shadow: `0px 4px 6px ${colors.one.h}`, // Default box-shadow
|
|
125
|
+
transition: "all 0.3s ease-in-out", // Smooth animations for hover/active effects
|
|
126
|
+
overflow: "hidden", // Prevents content overflow
|
|
127
|
+
position: "relative", // For positioning hover/active effects
|
|
128
|
+
border: `1px solid ${colors.one.c}`, // border setting
|
|
129
|
+
|
|
130
|
+
default: {
|
|
131
|
+
text: colors.one.a,
|
|
132
|
+
border: `1px solid ${colors.one.e}`, // border setting
|
|
133
|
+
background: colors.one.h,
|
|
134
|
+
opacity: 1 // Ensures full opacity by default
|
|
135
|
+
},
|
|
136
|
+
hover: {
|
|
137
|
+
text: colors.one.a,
|
|
138
|
+
border: `1px solid ${colors.one.a}`,
|
|
139
|
+
background: colors.one.f,
|
|
140
|
+
opacity: 1 // Slight brightness for hover effect
|
|
141
|
+
},
|
|
142
|
+
active: {
|
|
143
|
+
text: colors.one.a,
|
|
144
|
+
border: "1px solid transparent",
|
|
145
|
+
background: colors.two.c,
|
|
146
|
+
opacity: 1 // Darker shade for active state
|
|
147
|
+
},
|
|
148
|
+
disabled: {
|
|
149
|
+
text: colors.one.a,
|
|
150
|
+
border: "none",
|
|
151
|
+
background: colors.one.f,
|
|
152
|
+
opacity: 0.8
|
|
153
|
+
}
|
|
154
|
+
},
|
|
105
155
|
"Button-icon": {
|
|
106
156
|
default: {},
|
|
107
157
|
hover: {},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const pint3 = {
|
|
2
2
|
"Pint3-primary": {
|
|
3
3
|
gap: "25px",
|
|
4
|
-
|
|
5
|
-
height: "auto",
|
|
4
|
+
minHeight: "650px",
|
|
6
5
|
maxWidth: "1100px",
|
|
7
6
|
column: {
|
|
8
7
|
gap: "15px",
|
|
9
|
-
|
|
8
|
+
minHeight: "650px",
|
|
9
|
+
minWidth: "250px",
|
|
10
10
|
maxWidth: "500px"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -4,24 +4,28 @@ const cardBanner = {
|
|
|
4
4
|
"CardBanner-primary": {
|
|
5
5
|
flexDirection: "row",
|
|
6
6
|
justifyContent: "space-between",
|
|
7
|
-
background: `linear-gradient(to right,
|
|
8
|
-
border:
|
|
7
|
+
background: `linear-gradient(to right, ${colors.two.a}, ${colors.two.c})`,
|
|
8
|
+
// border: `2px solid ${colors.two.b}`,
|
|
9
9
|
borderRadius: "25px",
|
|
10
10
|
padding: "20px",
|
|
11
11
|
|
|
12
12
|
atomHeading: {
|
|
13
|
-
variant: "
|
|
13
|
+
variant: "primary",
|
|
14
|
+
asTag: "h3",
|
|
15
|
+
vColor: colors.one.h
|
|
14
16
|
},
|
|
15
17
|
atomText: {
|
|
16
|
-
variant: "secondary-regular"
|
|
18
|
+
variant: "secondary-regular",
|
|
19
|
+
vColor: colors.one.h
|
|
17
20
|
},
|
|
18
21
|
atomButton: {
|
|
19
|
-
variant: "
|
|
22
|
+
variant: "tertiary"
|
|
20
23
|
},
|
|
21
24
|
atomIcon: {
|
|
22
25
|
variant: "md",
|
|
23
|
-
stroke: colors.one.
|
|
24
|
-
|
|
26
|
+
stroke: colors.one.b,
|
|
27
|
+
fill: colors.one.b,
|
|
28
|
+
color: colors.one.b
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
31
|
};
|
|
@@ -10,9 +10,9 @@ const cardSimpleRender = {
|
|
|
10
10
|
outline: `2px solid ${colors.two.b}40`,
|
|
11
11
|
borderRadius: "20px",
|
|
12
12
|
padding: "20px",
|
|
13
|
-
|
|
14
|
-
maxWidth: "
|
|
15
|
-
minWidth: "
|
|
13
|
+
height: "100%",
|
|
14
|
+
maxWidth: "550px",
|
|
15
|
+
minWidth: "250px",
|
|
16
16
|
focus: {
|
|
17
17
|
// border: `2px dashed ${colors.two.c}`,
|
|
18
18
|
outline: `2px dashed ${colors.two.c}`,
|
|
@@ -505,6 +505,54 @@ export declare const ManamergeTheme: {
|
|
|
505
505
|
opacity: number;
|
|
506
506
|
};
|
|
507
507
|
};
|
|
508
|
+
"Button-tertiary": {
|
|
509
|
+
textTransform: string;
|
|
510
|
+
height: string;
|
|
511
|
+
width: string;
|
|
512
|
+
maxWidth: string;
|
|
513
|
+
maxHeight: string;
|
|
514
|
+
borderRadius: string;
|
|
515
|
+
lineHeight: string;
|
|
516
|
+
fontFamily: string;
|
|
517
|
+
fontWeight: number;
|
|
518
|
+
letterSpacing: string;
|
|
519
|
+
padding: string;
|
|
520
|
+
fontSize: string;
|
|
521
|
+
color: string;
|
|
522
|
+
textAlign: string;
|
|
523
|
+
display: string;
|
|
524
|
+
justifyContent: string;
|
|
525
|
+
alignItems: string;
|
|
526
|
+
cursor: string;
|
|
527
|
+
transition: string;
|
|
528
|
+
overflow: string;
|
|
529
|
+
position: string;
|
|
530
|
+
border: string;
|
|
531
|
+
default: {
|
|
532
|
+
text: string;
|
|
533
|
+
border: string;
|
|
534
|
+
background: string;
|
|
535
|
+
opacity: number;
|
|
536
|
+
};
|
|
537
|
+
hover: {
|
|
538
|
+
text: string;
|
|
539
|
+
border: string;
|
|
540
|
+
background: string;
|
|
541
|
+
opacity: number;
|
|
542
|
+
};
|
|
543
|
+
active: {
|
|
544
|
+
text: string;
|
|
545
|
+
border: string;
|
|
546
|
+
background: string;
|
|
547
|
+
opacity: number;
|
|
548
|
+
};
|
|
549
|
+
disabled: {
|
|
550
|
+
text: string;
|
|
551
|
+
border: string;
|
|
552
|
+
background: string;
|
|
553
|
+
opacity: number;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
508
556
|
"Button-icon": {
|
|
509
557
|
default: {};
|
|
510
558
|
hover: {};
|
|
@@ -1251,6 +1299,7 @@ export declare const ManamergeTheme: {
|
|
|
1251
1299
|
outline: string;
|
|
1252
1300
|
borderRadius: string;
|
|
1253
1301
|
padding: string;
|
|
1302
|
+
height: string;
|
|
1254
1303
|
maxWidth: string;
|
|
1255
1304
|
minWidth: string;
|
|
1256
1305
|
focus: {
|
|
@@ -1280,14 +1329,16 @@ export declare const ManamergeTheme: {
|
|
|
1280
1329
|
flexDirection: string;
|
|
1281
1330
|
justifyContent: string;
|
|
1282
1331
|
background: string;
|
|
1283
|
-
border: string;
|
|
1284
1332
|
borderRadius: string;
|
|
1285
1333
|
padding: string;
|
|
1286
1334
|
atomHeading: {
|
|
1287
1335
|
variant: string;
|
|
1336
|
+
asTag: string;
|
|
1337
|
+
vColor: string;
|
|
1288
1338
|
};
|
|
1289
1339
|
atomText: {
|
|
1290
1340
|
variant: string;
|
|
1341
|
+
vColor: string;
|
|
1291
1342
|
};
|
|
1292
1343
|
atomButton: {
|
|
1293
1344
|
variant: string;
|
|
@@ -1295,6 +1346,7 @@ export declare const ManamergeTheme: {
|
|
|
1295
1346
|
atomIcon: {
|
|
1296
1347
|
variant: string;
|
|
1297
1348
|
stroke: string;
|
|
1349
|
+
fill: string;
|
|
1298
1350
|
color: string;
|
|
1299
1351
|
};
|
|
1300
1352
|
};
|
|
@@ -1330,10 +1382,11 @@ export declare const ManamergeTheme: {
|
|
|
1330
1382
|
pint3: {
|
|
1331
1383
|
"Pint3-primary": {
|
|
1332
1384
|
gap: string;
|
|
1333
|
-
|
|
1385
|
+
minHeight: string;
|
|
1334
1386
|
maxWidth: string;
|
|
1335
1387
|
column: {
|
|
1336
1388
|
gap: string;
|
|
1389
|
+
minHeight: string;
|
|
1337
1390
|
minWidth: string;
|
|
1338
1391
|
maxWidth: string;
|
|
1339
1392
|
};
|
|
@@ -95,6 +95,54 @@ declare const button: {
|
|
|
95
95
|
opacity: number;
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
|
+
"Button-tertiary": {
|
|
99
|
+
textTransform: string;
|
|
100
|
+
height: string;
|
|
101
|
+
width: string;
|
|
102
|
+
maxWidth: string;
|
|
103
|
+
maxHeight: string;
|
|
104
|
+
borderRadius: string;
|
|
105
|
+
lineHeight: string;
|
|
106
|
+
fontFamily: string;
|
|
107
|
+
fontWeight: number;
|
|
108
|
+
letterSpacing: string;
|
|
109
|
+
padding: string;
|
|
110
|
+
fontSize: string;
|
|
111
|
+
color: string;
|
|
112
|
+
textAlign: string;
|
|
113
|
+
display: string;
|
|
114
|
+
justifyContent: string;
|
|
115
|
+
alignItems: string;
|
|
116
|
+
cursor: string;
|
|
117
|
+
transition: string;
|
|
118
|
+
overflow: string;
|
|
119
|
+
position: string;
|
|
120
|
+
border: string;
|
|
121
|
+
default: {
|
|
122
|
+
text: string;
|
|
123
|
+
border: string;
|
|
124
|
+
background: string;
|
|
125
|
+
opacity: number;
|
|
126
|
+
};
|
|
127
|
+
hover: {
|
|
128
|
+
text: string;
|
|
129
|
+
border: string;
|
|
130
|
+
background: string;
|
|
131
|
+
opacity: number;
|
|
132
|
+
};
|
|
133
|
+
active: {
|
|
134
|
+
text: string;
|
|
135
|
+
border: string;
|
|
136
|
+
background: string;
|
|
137
|
+
opacity: number;
|
|
138
|
+
};
|
|
139
|
+
disabled: {
|
|
140
|
+
text: string;
|
|
141
|
+
border: string;
|
|
142
|
+
background: string;
|
|
143
|
+
opacity: number;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
98
146
|
"Button-icon": {
|
|
99
147
|
default: {};
|
|
100
148
|
hover: {};
|
|
@@ -3,14 +3,16 @@ declare const cardBanner: {
|
|
|
3
3
|
flexDirection: string;
|
|
4
4
|
justifyContent: string;
|
|
5
5
|
background: string;
|
|
6
|
-
border: string;
|
|
7
6
|
borderRadius: string;
|
|
8
7
|
padding: string;
|
|
9
8
|
atomHeading: {
|
|
10
9
|
variant: string;
|
|
10
|
+
asTag: string;
|
|
11
|
+
vColor: string;
|
|
11
12
|
};
|
|
12
13
|
atomText: {
|
|
13
14
|
variant: string;
|
|
15
|
+
vColor: string;
|
|
14
16
|
};
|
|
15
17
|
atomButton: {
|
|
16
18
|
variant: string;
|
|
@@ -18,6 +20,7 @@ declare const cardBanner: {
|
|
|
18
20
|
atomIcon: {
|
|
19
21
|
variant: string;
|
|
20
22
|
stroke: string;
|
|
23
|
+
fill: string;
|
|
21
24
|
color: string;
|
|
22
25
|
};
|
|
23
26
|
};
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { CardSimpleRenderTypes } from "./CardSimpleRender";
|
|
3
|
-
declare const meta: Meta<CardSimpleRenderTypes>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<CardSimpleRenderTypes>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Hover: Story;
|
|
8
|
-
export declare const Flex: Story;
|
|
9
|
-
export declare const FlexExtra: Story;
|
|
10
|
-
export declare const Flex2: Story;
|
|
11
|
-
export declare const Isolado: Story;
|