@zambon-dev/shared 3.0.0 → 3.0.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.
- package/CHANGELOG.md +23 -9
- package/README.md +14 -16
- package/fesm2022/zambon-dev-shared.mjs +73 -122
- package/fesm2022/zambon-dev-shared.mjs.map +1 -1
- package/i18n/language-selector/en.json +1 -1
- package/i18n/language-selector/pt.json +1 -1
- package/i18n/login/en.json +1 -1
- package/i18n/login/pt.json +1 -1
- package/i18n/operations-history/en.json +1 -1
- package/i18n/operations-history/pt.json +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/styles/components/button.scss +82 -72
- package/styles/components/card.scss +11 -11
- package/styles/components/dropdown-static.scss +26 -26
- package/styles/components/input-group.scss +33 -31
- package/styles/components/input.scss +70 -67
- package/styles/components/label.scss +2 -2
- package/styles/components/row.scss +45 -45
- package/styles/mixins/background.scss +21 -19
- package/styles/variables.scss +26 -26
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
.row {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
&.cols-1 {
|
|
5
|
-
@apply grid-cols-1;
|
|
6
|
-
}
|
|
7
|
-
&.cols-2 {
|
|
8
|
-
@apply grid-cols-2;
|
|
9
|
-
}
|
|
10
|
-
&.cols-3 {
|
|
11
|
-
@apply grid-cols-3;
|
|
12
|
-
}
|
|
13
|
-
&.cols-4 {
|
|
14
|
-
@apply grid-cols-4;
|
|
15
|
-
}
|
|
16
|
-
&.cols-5 {
|
|
17
|
-
@apply grid-cols-5;
|
|
18
|
-
}
|
|
19
|
-
&.cols-6 {
|
|
20
|
-
@apply grid-cols-6;
|
|
21
|
-
}
|
|
22
|
-
&.cols-7 {
|
|
23
|
-
@apply grid-cols-7;
|
|
24
|
-
}
|
|
25
|
-
&.cols-8 {
|
|
26
|
-
@apply grid-cols-8;
|
|
27
|
-
}
|
|
28
|
-
&.cols-9 {
|
|
29
|
-
@apply grid-cols-9;
|
|
30
|
-
}
|
|
31
|
-
&.cols-10 {
|
|
32
|
-
@apply grid-cols-10;
|
|
33
|
-
}
|
|
34
|
-
&.cols-11 {
|
|
35
|
-
@apply grid-cols-11;
|
|
36
|
-
}
|
|
37
|
-
&.cols-12 {
|
|
38
|
-
@apply grid-cols-12;
|
|
39
|
-
}
|
|
2
|
+
@apply grid gap-3;
|
|
40
3
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
4
|
+
&.cols-1 {
|
|
5
|
+
@apply grid-cols-1;
|
|
6
|
+
}
|
|
7
|
+
&.cols-2 {
|
|
8
|
+
@apply grid-cols-2;
|
|
9
|
+
}
|
|
10
|
+
&.cols-3 {
|
|
11
|
+
@apply grid-cols-3;
|
|
12
|
+
}
|
|
13
|
+
&.cols-4 {
|
|
14
|
+
@apply grid-cols-4;
|
|
15
|
+
}
|
|
16
|
+
&.cols-5 {
|
|
17
|
+
@apply grid-cols-5;
|
|
18
|
+
}
|
|
19
|
+
&.cols-6 {
|
|
20
|
+
@apply grid-cols-6;
|
|
21
|
+
}
|
|
22
|
+
&.cols-7 {
|
|
23
|
+
@apply grid-cols-7;
|
|
24
|
+
}
|
|
25
|
+
&.cols-8 {
|
|
26
|
+
@apply grid-cols-8;
|
|
27
|
+
}
|
|
28
|
+
&.cols-9 {
|
|
29
|
+
@apply grid-cols-9;
|
|
30
|
+
}
|
|
31
|
+
&.cols-10 {
|
|
32
|
+
@apply grid-cols-10;
|
|
33
|
+
}
|
|
34
|
+
&.cols-11 {
|
|
35
|
+
@apply grid-cols-11;
|
|
36
|
+
}
|
|
37
|
+
&.cols-12 {
|
|
38
|
+
@apply grid-cols-12;
|
|
39
|
+
}
|
|
44
40
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
.input-group ~ .input-group {
|
|
42
|
+
@apply mt-0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
~ .row {
|
|
46
|
+
@apply mt-3;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
@mixin fixed-background($image, $color) {
|
|
2
|
-
|
|
2
|
+
@apply fixed -z-50 w-full h-screen;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
@include background($image, $color);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
@mixin background($image, $color) {
|
|
8
|
-
|
|
8
|
+
@apply overflow-hidden;
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
10
|
+
&,
|
|
11
|
+
&:before {
|
|
12
|
+
@apply bg-[url(#{$image})] bg-fixed bg-cover;
|
|
13
|
+
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
&:before,
|
|
16
|
+
&:after {
|
|
17
|
+
@apply content-[''] absolute inset-0;
|
|
18
|
+
}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
&:before {
|
|
21
|
+
@apply blur;
|
|
22
|
+
}
|
|
21
23
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
&:after {
|
|
25
|
+
@apply #{$color};
|
|
26
|
+
}
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
28
|
+
* {
|
|
29
|
+
@apply z-10;
|
|
30
|
+
}
|
|
31
|
+
}
|
package/styles/variables.scss
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
/* Dimensions */
|
|
3
|
+
--sidebar-animation-duration: 600ms;
|
|
4
|
+
--sidebar-collapsed-width: 70px;
|
|
5
|
+
--sidebar-expanded-width: 220px;
|
|
6
|
+
--sidebar-icon-collapsed-margin: 10px;
|
|
7
|
+
--sidebar-item-height: 2.75rem;
|
|
8
|
+
--sidebar-logo-height: 50px;
|
|
9
|
+
--sidebar-picture-size: 50px;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
/* Surfaces & colors — translucent "glass" (brand-tinted) */
|
|
12
|
+
--sidebar-bg: color-mix(in srgb, theme('colors.primary.600') 82%, transparent);
|
|
13
|
+
--sidebar-nav-bg: color-mix(in srgb, white 5%, transparent);
|
|
14
|
+
--sidebar-text: theme('colors.gray.100');
|
|
15
|
+
--sidebar-text-muted: color-mix(in srgb, theme('colors.gray.100') 60%, transparent);
|
|
16
|
+
--sidebar-item-hover-bg: color-mix(in srgb, white 12%, transparent);
|
|
17
|
+
--sidebar-item-selected-bg: color-mix(in srgb, white 22%, transparent);
|
|
18
|
+
--sidebar-item-selected-text: theme('colors.white');
|
|
19
|
+
--sidebar-accent: theme('colors.gray.100');
|
|
20
|
+
--sidebar-tree-line: color-mix(in srgb, white 80%, theme('colors.primary.600'));
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
/* Glass */
|
|
23
|
+
--sidebar-blur: 16px;
|
|
24
|
+
--sidebar-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.45);
|
|
25
|
+
/* App background the glass sidebar floats over (tune to taste). */
|
|
26
|
+
--app-backdrop: linear-gradient(160deg, theme('colors.gray.100') 0%, theme('colors.gray.300') 100%);
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
/* Radii (rounded restyle) */
|
|
29
|
+
--sidebar-radius: 1.25rem;
|
|
30
|
+
--sidebar-item-radius: 10px;
|
|
31
31
|
}
|