@aristobyte-ui/card 2.4.0 → 2.5.0

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,61 @@
1
+ .card {
2
+ align-self: stretch;
3
+ align-items: flex-start;
4
+ border-radius: 10px;
5
+ border: 1px solid #314158; //@TODO: @COLOR
6
+ background-color: rgba(29, 41, 61, 0.3); //@TODO: @COLOR
7
+ display: flex;
8
+ flex-direction: column;
9
+ padding: 17px 17px 30px;
10
+ transition: all 150ms ease-out;
11
+ width: calc(100% - 2 * 17px);
12
+
13
+ &__icon {
14
+ align-items: center;
15
+ display: flex;
16
+ justify-content: center;
17
+ }
18
+
19
+ &__title {
20
+ align-items: center;
21
+ color: #e2e8f0; //@TODO: @COLOR
22
+ display: flex;
23
+ font-size: 20px;
24
+ font-style: normal;
25
+ font-weight: 500;
26
+ line-height: 20px;
27
+ gap: 12px;
28
+
29
+ b {
30
+ border: solid rgba(69, 85, 108, 0.5); // @TODO: @COLOR
31
+ background-color: rgba(49, 65, 88, 0.4); // @TODO: @COLOR
32
+ border-radius: 10px;
33
+ color: $white;
34
+ padding: 3px 6px;
35
+ }
36
+ }
37
+
38
+ &__description {
39
+ color: #90a1b9; //@TODO: @COLOR
40
+ font-size: 16px;
41
+ font-style: normal;
42
+ font-weight: 400;
43
+ line-height: 22px;
44
+ margin: 14px 0 0;
45
+
46
+ b {
47
+ border: solid rgba(69, 85, 108, 0.5); // @TODO: @COLOR
48
+ background-color: rgba(49, 65, 88, 0.4); // @TODO: @COLOR
49
+ border-radius: 10px;
50
+ color: $white;
51
+ padding: 3px 6px;
52
+ }
53
+ }
54
+
55
+ &__content {
56
+ display: flex;
57
+ flex-direction: column;
58
+ margin: 24px 0 0;
59
+ width: 100%;
60
+ }
61
+ }
@@ -0,0 +1,61 @@
1
+ .card {
2
+ align-self: stretch;
3
+ align-items: flex-start;
4
+ border-radius: 10px;
5
+ border: 1px solid #314158; //@TODO: @COLOR
6
+ background-color: rgba(29, 41, 61, 0.3); //@TODO: @COLOR
7
+ display: flex;
8
+ flex-direction: column;
9
+ padding: 17px 17px 30px;
10
+ transition: all 150ms ease-out;
11
+ width: calc(100% - 2 * 17px);
12
+
13
+ &__icon {
14
+ align-items: center;
15
+ display: flex;
16
+ justify-content: center;
17
+ }
18
+
19
+ &__title {
20
+ align-items: center;
21
+ color: #e2e8f0; //@TODO: @COLOR
22
+ display: flex;
23
+ font-size: 20px;
24
+ font-style: normal;
25
+ font-weight: 500;
26
+ line-height: 20px;
27
+ gap: 12px;
28
+
29
+ b {
30
+ border: solid rgba(69, 85, 108, 0.5); // @TODO: @COLOR
31
+ background-color: rgba(49, 65, 88, 0.4); // @TODO: @COLOR
32
+ border-radius: 10px;
33
+ color: $white;
34
+ padding: 3px 6px;
35
+ }
36
+ }
37
+
38
+ &__description {
39
+ color: #90a1b9; //@TODO: @COLOR
40
+ font-size: 16px;
41
+ font-style: normal;
42
+ font-weight: 400;
43
+ line-height: 22px;
44
+ margin: 14px 0 0;
45
+
46
+ b {
47
+ border: solid rgba(69, 85, 108, 0.5); // @TODO: @COLOR
48
+ background-color: rgba(49, 65, 88, 0.4); // @TODO: @COLOR
49
+ border-radius: 10px;
50
+ color: $white;
51
+ padding: 3px 6px;
52
+ }
53
+ }
54
+
55
+ &__content {
56
+ display: flex;
57
+ flex-direction: column;
58
+ margin: 24px 0 0;
59
+ width: 100%;
60
+ }
61
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aristobyte-ui/card",
3
3
  "description": "AristoByteUI Card component: a versatile container for displaying content and UI elements.",
4
- "version": "2.4.0",
4
+ "version": "2.5.0",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "author": "AristoByte <info@aristobyte.com>",
@@ -44,10 +44,11 @@
44
44
  "module": "es/src/main/index.js",
45
45
  "peerDependencies": {
46
46
  "react": "^19.1.0",
47
- "react-dom": "^19.1.0"
47
+ "react-dom": "^19.1.0",
48
+ "sass": "^1.97.3"
48
49
  },
49
50
  "dependencies": {
50
- "@aristobyte-ui/label": "2.4.0",
51
- "@aristobyte-ui/utils": "2.4.0"
51
+ "@aristobyte-ui/label": "2.5.0",
52
+ "@aristobyte-ui/utils": "2.5.0"
52
53
  }
53
54
  }