@manamerge/mana-atomic-ui 1.0.43 → 1.0.45
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.d.ts +4 -3
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/themes/{themes/DavidWebTheme.ts → DavidWebTheme.js} +1 -27
- package/dist/themes/{themes/ManamergeTheme.ts → ManamergeTheme.js} +5 -32
- package/dist/themes/davidWeb/atoms/button.js +107 -0
- package/dist/themes/davidWeb/atoms/checkbox.js +72 -0
- package/dist/themes/davidWeb/atoms/divider.js +24 -0
- package/dist/themes/davidWeb/atoms/gradient.js +18 -0
- package/dist/themes/davidWeb/atoms/heading.js +141 -0
- package/dist/themes/davidWeb/atoms/icon.js +30 -0
- package/dist/themes/davidWeb/atoms/link.js +78 -0
- package/dist/themes/davidWeb/atoms/text.js +38 -0
- package/dist/themes/davidWeb/layouts/pint3.js +13 -0
- package/dist/themes/davidWeb/miscellaneous/breakpoints.js +14 -0
- package/dist/themes/davidWeb/molecules/accordion.js +29 -0
- package/dist/themes/davidWeb/molecules/breakerTape.js +30 -0
- package/dist/themes/davidWeb/molecules/cardBanner.js +26 -0
- package/dist/themes/davidWeb/molecules/cardSimpleRender.js +34 -0
- package/dist/themes/davidWeb/molecules/cardTeaser.js +69 -0
- package/dist/themes/davidWeb/molecules/footer.js +26 -0
- package/dist/themes/davidWeb/molecules/header.js +94 -0
- package/dist/themes/davidWeb/molecules/navigation.js +53 -0
- package/dist/themes/manamerge/atoms/button.js +108 -0
- package/dist/themes/manamerge/atoms/checkbox.js +72 -0
- package/dist/themes/manamerge/atoms/divider.js +25 -0
- package/dist/themes/manamerge/atoms/gradient.js +19 -0
- package/dist/themes/manamerge/atoms/heading.js +280 -0
- package/dist/themes/manamerge/atoms/icon.js +30 -0
- package/dist/themes/manamerge/atoms/link.js +124 -0
- package/dist/themes/manamerge/atoms/text.js +62 -0
- package/dist/themes/manamerge/layouts/pint3.js +13 -0
- package/dist/themes/manamerge/miscellaneous/breakpoints.js +14 -0
- package/dist/themes/manamerge/miscellaneous/colorpalette.js +31 -0
- package/dist/themes/manamerge/miscellaneous/fontsizes.js +11 -0
- package/dist/themes/manamerge/molecules/accordion.js +29 -0
- package/dist/themes/manamerge/molecules/breakerTape.js +30 -0
- package/dist/themes/manamerge/molecules/cardBanner.js +26 -0
- package/dist/themes/manamerge/molecules/cardSimpleRender.js +35 -0
- package/dist/themes/manamerge/molecules/cardTeaser.js +69 -0
- package/dist/themes/manamerge/molecules/footer.js +26 -0
- package/dist/themes/manamerge/molecules/header.js +86 -0
- package/dist/themes/manamerge/molecules/navigation.js +53 -0
- package/dist/themes/themes/davidWeb/fonts/index.js +44 -15
- package/dist/themes/themes/davidWeb/images/icons/modal/closeicon.svg.js +37 -42
- package/dist/themes/themes/davidWeb/images/icons/navigation/notification.svg.js +48 -49
- package/dist/themes/themes/davidWeb/images/icons/navigation/profile.svg.js +27 -31
- package/dist/themes/themes/davidWeb/images/icons/navigation/user.svg.js +29 -33
- package/dist/themes/themes/davidWeb/styling/chat-theme.css.js +80 -14
- package/dist/themes/themes/davidWeb/styling/filter-list-theme.css.js +47 -12
- package/dist/themes/themes/davidWeb/styling/notification-theme.css.js +166 -22
- package/dist/themes/themes/manamerge/fonts/index.js +55 -17
- package/dist/themes/themes/manamerge/images/icons/modal/closeicon.svg.js +37 -42
- package/dist/themes/themes/manamerge/images/icons/navigation/notification.svg.js +48 -49
- package/dist/themes/themes/manamerge/images/icons/navigation/profile.svg.js +27 -31
- package/dist/themes/themes/manamerge/images/icons/navigation/user.svg.js +29 -33
- package/dist/themes/themes/manamerge/miscellaneous/colorpalette.ts +6 -6
- package/dist/themes/themes/manamerge/miscellaneous/fontsizes.ts +2 -2
- package/dist/themes/themes/manamerge/styling/chat-theme.css.js +80 -14
- package/dist/themes/themes/manamerge/styling/filter-list-theme.css.js +47 -12
- package/dist/themes/themes/manamerge/styling/notification-theme.css.js +166 -22
- package/dist/types/components/Atoms/Heading/Heading.d.ts +1 -1
- package/dist/types/components/Atoms/Text/Text.d.ts +3 -2
- package/dist/types/themes/ManamergeTheme.d.ts +155 -145
- package/dist/types/themes/manamerge/atoms/button.d.ts +18 -18
- package/dist/types/themes/manamerge/atoms/divider.d.ts +3 -3
- package/dist/types/themes/manamerge/atoms/gradient.d.ts +6 -6
- package/dist/types/themes/manamerge/atoms/heading.d.ts +36 -36
- package/dist/types/themes/manamerge/atoms/link.d.ts +30 -30
- package/dist/types/themes/manamerge/atoms/text.d.ts +14 -14
- package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +29 -24
- package/dist/types/themes/manamerge/miscellaneous/fontsizes.d.ts +9 -8
- package/dist/types/themes/manamerge/molecules/cardBanner.d.ts +2 -2
- package/package.json +3 -2
|
@@ -1,31 +1,36 @@
|
|
|
1
1
|
declare const colors: {
|
|
2
|
-
one: {
|
|
3
|
-
a:
|
|
4
|
-
b:
|
|
5
|
-
c:
|
|
6
|
-
d:
|
|
7
|
-
e:
|
|
8
|
-
f:
|
|
9
|
-
g:
|
|
10
|
-
h:
|
|
11
|
-
i:
|
|
2
|
+
readonly one: {
|
|
3
|
+
readonly a: "#fff";
|
|
4
|
+
readonly b: "#e0e0e0";
|
|
5
|
+
readonly c: "#c0c0c0";
|
|
6
|
+
readonly d: "#a0a0a0";
|
|
7
|
+
readonly e: "#808080";
|
|
8
|
+
readonly f: "#606060";
|
|
9
|
+
readonly g: "#404040";
|
|
10
|
+
readonly h: "#202020";
|
|
11
|
+
readonly i: "#000000";
|
|
12
12
|
};
|
|
13
|
-
two: {
|
|
14
|
-
a:
|
|
15
|
-
b:
|
|
16
|
-
c:
|
|
17
|
-
d:
|
|
18
|
-
e:
|
|
19
|
-
f:
|
|
13
|
+
readonly two: {
|
|
14
|
+
readonly a: "#0041FF";
|
|
15
|
+
readonly b: "#0031CC";
|
|
16
|
+
readonly c: "#04198C";
|
|
17
|
+
readonly d: "#050A59";
|
|
18
|
+
readonly e: "#030733";
|
|
19
|
+
readonly f: "#02041A";
|
|
20
20
|
};
|
|
21
|
-
three: {
|
|
22
|
-
a:
|
|
23
|
-
b:
|
|
24
|
-
c:
|
|
21
|
+
readonly three: {
|
|
22
|
+
readonly a: "#FFD166";
|
|
23
|
+
readonly b: "#BF9B30";
|
|
24
|
+
readonly c: "#A66D03";
|
|
25
25
|
};
|
|
26
|
-
four: {
|
|
27
|
-
a:
|
|
28
|
-
b:
|
|
26
|
+
readonly four: {
|
|
27
|
+
readonly a: "#FF1A1A";
|
|
28
|
+
readonly b: "#590E0E";
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
+
type NestedValues<T> = {
|
|
32
|
+
[K in keyof T]: T[K] extends object ? NestedValues<T[K]> : T[K];
|
|
33
|
+
}[keyof T];
|
|
34
|
+
type PaletteColor = NestedValues<typeof colors>;
|
|
35
|
+
export type { PaletteColor };
|
|
31
36
|
export default colors;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
declare const fontsizes: {
|
|
2
|
-
xs:
|
|
3
|
-
sm:
|
|
4
|
-
md:
|
|
5
|
-
lg:
|
|
6
|
-
xl:
|
|
7
|
-
xxl:
|
|
8
|
-
xxxl:
|
|
9
|
-
xxxxl:
|
|
2
|
+
readonly xs: "12px";
|
|
3
|
+
readonly sm: "14px";
|
|
4
|
+
readonly md: "16px";
|
|
5
|
+
readonly lg: "18px";
|
|
6
|
+
readonly xl: "20px";
|
|
7
|
+
readonly xxl: "24px";
|
|
8
|
+
readonly xxxl: "30px";
|
|
9
|
+
readonly xxxxl: "36px";
|
|
10
10
|
};
|
|
11
|
+
export type FontSize = keyof typeof fontsizes;
|
|
11
12
|
export default fontsizes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manamerge/mana-atomic-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.45",
|
|
4
4
|
"description": "Mana Merge design system",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "MM",
|
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"prettier": "prettier . --check",
|
|
21
21
|
"prettier:fix": "prettier . --write",
|
|
22
22
|
"storybook": "storybook dev -p 6006",
|
|
23
|
-
"
|
|
23
|
+
"buildt:themes": "tsc -p tsconfig.themes.json",
|
|
24
|
+
"buildt": "rollup -c && yarn buildt:themes"
|
|
24
25
|
},
|
|
25
26
|
"lint-staged": {
|
|
26
27
|
"**/*": "prettier --write --ignore-unknown"
|