aq-fe-framework 0.1.168 → 0.1.171

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,68 @@
1
+ .navbar {
2
+ height: rem(700px);
3
+ padding: var(--mantine-spacing-md);
4
+ display: flex;
5
+ flex-direction: column;
6
+ border-right: rem(1px) solid
7
+ light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
8
+ }
9
+
10
+ .navbarMain {
11
+ flex: 1;
12
+ }
13
+
14
+ .header {
15
+ padding-bottom: var(--mantine-spacing-md);
16
+ margin-bottom: calc(var(--mantine-spacing-md) * 1.5);
17
+ border-bottom: rem(1px) solid
18
+ light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
19
+ }
20
+
21
+ .footer {
22
+ padding-top: var(--mantine-spacing-md);
23
+ margin-top: var(--mantine-spacing-md);
24
+ border-top: rem(1px) solid
25
+ light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
26
+ }
27
+
28
+ .link {
29
+ display: flex;
30
+ align-items: center;
31
+ text-decoration: none;
32
+ font-size: var(--mantine-font-size-sm);
33
+ color: light-dark(var(--mantine-color-gray-7), var(--mantine-color-dark-1));
34
+ padding: var(--mantine-spacing-xs) var(--mantine-spacing-sm);
35
+ border-radius: var(--mantine-radius-sm);
36
+ font-weight: 500;
37
+
38
+ @mixin hover {
39
+ background-color: light-dark(
40
+ var(--mantine-color-gray-0),
41
+ var(--mantine-color-dark-6)
42
+ );
43
+ color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
44
+
45
+ .linkIcon {
46
+ color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
47
+ }
48
+ }
49
+
50
+ &[data-active] {
51
+ &,
52
+ &:hover {
53
+ background-color: var(--mantine-color-blue-light);
54
+ color: var(--mantine-color-blue-light-color);
55
+
56
+ .linkIcon {
57
+ color: var(--mantine-color-blue-light-color);
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ .linkIcon {
64
+ color: light-dark(var(--mantine-color-gray-6), var(--mantine-color-dark-2));
65
+ margin-right: var(--mantine-spacing-sm);
66
+ width: rem(25px);
67
+ height: rem(25px);
68
+ }
@@ -0,0 +1,50 @@
1
+ .header {
2
+ position: sticky; /* Giúp header dính trên cùng */
3
+ top: 0;
4
+ z-index: 1; /* Đảm bảo header nằm trên các thành phần khác */
5
+ height: 60px;
6
+ background-color: light-dark(var(--mantine-color-white), var(--mantine-color-dark));
7
+ padding-left: var(--mantine-spacing-md);
8
+ padding-right: var(--mantine-spacing-md);
9
+ border-bottom: 1px solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
10
+ }
11
+
12
+ .link {
13
+ display: flex;
14
+ align-items: center;
15
+ height: 100%;
16
+ padding-left: var(--mantine-spacing-md);
17
+ padding-right: var(--mantine-spacing-md);
18
+ text-decoration: none;
19
+ color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
20
+ font-weight: 500;
21
+ font-size: var(--mantine-font-size-sm);
22
+
23
+ @media (max-width: $mantine-breakpoint-sm) {
24
+ height: 42px;
25
+ width: 100%;
26
+ }
27
+
28
+ @mixin hover {
29
+ background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
30
+ }
31
+ }
32
+
33
+ .subLink {
34
+ width: 100%;
35
+ padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
36
+ border-radius: var(--mantine-radius-md);
37
+
38
+ @mixin hover {
39
+ background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
40
+ }
41
+ }
42
+
43
+ .dropdownFooter {
44
+ background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
45
+ margin: calc(var(--mantine-spacing-md) * -1);
46
+ margin-top: var(--mantine-spacing-sm);
47
+ padding: var(--mantine-spacing-md) calc(var(--mantine-spacing-md) * 2);
48
+ padding-bottom: var(--mantine-spacing-xl);
49
+ border-top: 1px solid light-dark(var(--mantine-color-gray-1), var(--mantine-color-dark-5));
50
+ }
@@ -0,0 +1,4 @@
1
+ .title {
2
+ font-family: Greycliff CF, var(--mantine-font-family);
3
+ font-weight: 900;
4
+ }
@@ -0,0 +1,21 @@
1
+ .input {
2
+ &[data-variant="underline"] {
3
+ border: 2px solid transparent;
4
+ border-radius: 5px;
5
+ padding-left: 8px;
6
+ padding-right: 8px;
7
+ background-color: white;
8
+
9
+ &:focus,
10
+ &:focus-visible {
11
+ border-color: var(--mantine-color-gray-5);
12
+ outline: none;
13
+ }
14
+
15
+ &:active {
16
+ border-color: var(--mantine-color-gray-5);
17
+ }
18
+
19
+ transition: border-color 0.2s ease-in-out;
20
+ }
21
+ }
package/package.json CHANGED
@@ -15,18 +15,18 @@
15
15
  },
16
16
  "./modules-features": {
17
17
  "import": "./dist/modules-features/index.mjs",
18
- "types": "./dist/modules-features/index.d.mts",
19
- "css": "./dist/modules-features/index.css"
18
+ "types": "./dist/modules-features/index.d.mts"
20
19
  },
21
20
  "./hooks": {
22
21
  "import": "./dist/hooks/index.mjs",
23
22
  "types": "./dist/hooks/index.d.mts"
24
23
  }
25
24
  },
26
- "version": "0.1.168",
25
+ "version": "0.1.171",
27
26
  "private": false,
28
27
  "files": [
29
- "dist"
28
+ "dist",
29
+ "dist/**/*.css"
30
30
  ],
31
31
  "scripts": {
32
32
  "deploy": "node deploy.js",
@@ -34,7 +34,7 @@
34
34
  "dev": "next dev --turbopack -p 3000",
35
35
  "build-next": "next build",
36
36
  "gen": "barrelsby --config barrelsby.json",
37
- "build": "tsup --tsconfig tsconfig.lib.json",
37
+ "build": "tsup --tsconfig tsconfig.lib.json && cpx \"src/**/*.module.css\" dist",
38
38
  "start": "next start",
39
39
  "lint": "next lint",
40
40
  "debug": "next dev -p 3003"