@akinon/ui-layout 1.6.0 → 1.6.1

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.
@@ -0,0 +1,83 @@
1
+ .nav-card {
2
+ background-color: var(--color-neutral-50);
3
+ border-radius: 5.6px;
4
+ display: flex;
5
+ }
6
+
7
+ .nav-card__icon {
8
+ background-color: var(--color-gray-500);
9
+ border-bottom-left-radius: 4px;
10
+ border-top-left-radius: 4px;
11
+ color: var(--color-neutral-50);
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ width: 180px;
16
+ }
17
+
18
+ /* Overriding SVG so you will not have to pass size prop to Icon component. */
19
+ .nav-card__icon svg {
20
+ width: 28px !important;
21
+ height: 28px !important;
22
+ }
23
+
24
+ /* Change bg color based on the class set on .nav-card */
25
+ .nav-card-akinon .nav-card__icon {
26
+ background-color: var(--color-akinon-500);
27
+ }
28
+
29
+ .nav-card-azure .nav-card__icon {
30
+ background-color: var(--color-azure-500);
31
+ }
32
+
33
+ .nav-card-blue .nav-card__icon {
34
+ background-color: var(--color-blue-500);
35
+ }
36
+
37
+ .nav-card-orange .nav-card__icon {
38
+ background-color: var(--color-orange-500);
39
+ }
40
+
41
+ .nav-card-red .nav-card__icon {
42
+ background-color: var(--color-red-500);
43
+ }
44
+
45
+ .nav-card-green .nav-card__icon {
46
+ background-color: var(--color-green-500);
47
+ }
48
+
49
+ .nav-card-pink .nav-card__icon {
50
+ background-color: var(--color-pink-500);
51
+ }
52
+
53
+ .nav-card-purple .nav-card__icon {
54
+ background-color: var(--color-purple-500);
55
+ }
56
+
57
+ .nav-card__content {
58
+ display: flex;
59
+ flex-direction: column;
60
+ justify-content: center;
61
+ align-items: flex-start;
62
+ padding: 24px 16px;
63
+ width: 100%;
64
+ }
65
+
66
+ .nav-card__title {
67
+ color: var(--color-ebonyClay-900);
68
+ font-size: calc(var(--token-fontSize) * 1.28571428571px);
69
+ font-weight: 500;
70
+ margin: 0;
71
+ padding: 0;
72
+ line-height: 1;
73
+ text-decoration: none;
74
+ }
75
+
76
+ .nav-card__description {
77
+ color: var(--color-gray-400);
78
+ font-weight: 400;
79
+ margin: 8px 0 0;
80
+ padding: 0;
81
+ line-height: 1.3;
82
+ text-decoration: none;
83
+ }
@@ -0,0 +1,3 @@
1
+ .akinon-page-content {
2
+ padding: 24px;
3
+ }
@@ -0,0 +1,27 @@
1
+ .akinon-page-heading {
2
+ border-bottom: 1px solid var(--color-ebonyClay-400);
3
+ display: flex;
4
+ justify-content: space-between;
5
+ align-items: center;
6
+ padding: 24px;
7
+ }
8
+
9
+ .akinon-page-heading__content {
10
+ max-width: 50%;
11
+ }
12
+
13
+ .akinon-page-heading__title {
14
+ color: var(--color-neutral-50);
15
+ font-size: calc(var(--token-fontSize) * 1.42857142857px);
16
+ font-weight: 700;
17
+ margin: 0;
18
+ }
19
+
20
+ .akinon-page-heading__description {
21
+ color: var(--color-gray-300);
22
+ margin: 0;
23
+ padding: 0;
24
+ font-size: 13px;
25
+ font-weight: 400;
26
+ line-height: 1;
27
+ }
@@ -0,0 +1,83 @@
1
+ .nav-card {
2
+ background-color: var(--color-neutral-50);
3
+ border-radius: 5.6px;
4
+ display: flex;
5
+ }
6
+
7
+ .nav-card__icon {
8
+ background-color: var(--color-gray-500);
9
+ border-bottom-left-radius: 4px;
10
+ border-top-left-radius: 4px;
11
+ color: var(--color-neutral-50);
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ width: 180px;
16
+ }
17
+
18
+ /* Overriding SVG so you will not have to pass size prop to Icon component. */
19
+ .nav-card__icon svg {
20
+ width: 28px !important;
21
+ height: 28px !important;
22
+ }
23
+
24
+ /* Change bg color based on the class set on .nav-card */
25
+ .nav-card-akinon .nav-card__icon {
26
+ background-color: var(--color-akinon-500);
27
+ }
28
+
29
+ .nav-card-azure .nav-card__icon {
30
+ background-color: var(--color-azure-500);
31
+ }
32
+
33
+ .nav-card-blue .nav-card__icon {
34
+ background-color: var(--color-blue-500);
35
+ }
36
+
37
+ .nav-card-orange .nav-card__icon {
38
+ background-color: var(--color-orange-500);
39
+ }
40
+
41
+ .nav-card-red .nav-card__icon {
42
+ background-color: var(--color-red-500);
43
+ }
44
+
45
+ .nav-card-green .nav-card__icon {
46
+ background-color: var(--color-green-500);
47
+ }
48
+
49
+ .nav-card-pink .nav-card__icon {
50
+ background-color: var(--color-pink-500);
51
+ }
52
+
53
+ .nav-card-purple .nav-card__icon {
54
+ background-color: var(--color-purple-500);
55
+ }
56
+
57
+ .nav-card__content {
58
+ display: flex;
59
+ flex-direction: column;
60
+ justify-content: center;
61
+ align-items: flex-start;
62
+ padding: 24px 16px;
63
+ width: 100%;
64
+ }
65
+
66
+ .nav-card__title {
67
+ color: var(--color-ebonyClay-900);
68
+ font-size: calc(var(--token-fontSize) * 1.28571428571px);
69
+ font-weight: 500;
70
+ margin: 0;
71
+ padding: 0;
72
+ line-height: 1;
73
+ text-decoration: none;
74
+ }
75
+
76
+ .nav-card__description {
77
+ color: var(--color-gray-400);
78
+ font-weight: 400;
79
+ margin: 8px 0 0;
80
+ padding: 0;
81
+ line-height: 1.3;
82
+ text-decoration: none;
83
+ }
@@ -0,0 +1,3 @@
1
+ .akinon-page-content {
2
+ padding: 24px;
3
+ }
@@ -0,0 +1,27 @@
1
+ .akinon-page-heading {
2
+ border-bottom: 1px solid var(--color-ebonyClay-400);
3
+ display: flex;
4
+ justify-content: space-between;
5
+ align-items: center;
6
+ padding: 24px;
7
+ }
8
+
9
+ .akinon-page-heading__content {
10
+ max-width: 50%;
11
+ }
12
+
13
+ .akinon-page-heading__title {
14
+ color: var(--color-neutral-50);
15
+ font-size: calc(var(--token-fontSize) * 1.42857142857px);
16
+ font-weight: 700;
17
+ margin: 0;
18
+ }
19
+
20
+ .akinon-page-heading__description {
21
+ color: var(--color-gray-300);
22
+ margin: 0;
23
+ padding: 0;
24
+ font-size: 13px;
25
+ font-weight: 400;
26
+ line-height: 1;
27
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/ui-layout",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
@@ -12,17 +12,17 @@
12
12
  "@ant-design/cssinjs": "^1.24.0",
13
13
  "antd": "^5.27.0",
14
14
  "clsx": "^2.0.0",
15
- "@akinon/icons": "1.1.0",
16
- "@akinon/ui-theme": "1.1.1",
17
- "@akinon/ui-typography": "1.1.0"
15
+ "@akinon/icons": "1.1.1",
16
+ "@akinon/ui-theme": "1.1.2",
17
+ "@akinon/ui-typography": "1.1.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "clean-package": "2.2.0",
21
21
  "copyfiles": "^2.4.1",
22
22
  "rimraf": "^5.0.5",
23
23
  "typescript": "*",
24
- "@akinon/typescript-config": "1.1.0",
25
- "@akinon/utils": "1.1.2"
24
+ "@akinon/typescript-config": "1.1.1",
25
+ "@akinon/utils": "1.1.3"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^18 || ^19",