@iamgld/ui 1.21.2 → 21.1.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.
Files changed (64) hide show
  1. package/README.md +1 -2
  2. package/fesm2022/iamgld-ui.mjs +1198 -456
  3. package/fesm2022/iamgld-ui.mjs.map +1 -1
  4. package/package.json +11 -8
  5. package/public/styles/layers/_base.scss +56 -56
  6. package/public/styles/layers/_objects.scss +9 -9
  7. package/public/styles/layers/_setting.scss +185 -185
  8. package/public/styles/layers/_tools.scss +169 -169
  9. package/public/styles/layers/_trumps.scss +11 -11
  10. package/public/styles/styles.scss +14 -14
  11. package/types/iamgld-ui.d.ts +852 -0
  12. package/LICENSE +0 -202
  13. package/index.d.ts +0 -5
  14. package/lib/components/buttons/button/button.component.d.ts +0 -18
  15. package/lib/components/buttons/dropdown-button/dropdown-button.component.d.ts +0 -22
  16. package/lib/components/buttons/dropdown-menu/dropdown-menu.component.d.ts +0 -30
  17. package/lib/components/buttons/icon-button/icon-button.component.d.ts +0 -18
  18. package/lib/components/buttons/link/link.component.d.ts +0 -16
  19. package/lib/components/buttons/toggle-button/toggle-button.component.d.ts +0 -13
  20. package/lib/components/buttons/toggle-group/toggle-group.component.d.ts +0 -16
  21. package/lib/components/controls/input/input.component.d.ts +0 -25
  22. package/lib/components/controls/input-date/input-date.component.d.ts +0 -23
  23. package/lib/components/controls/input-error/input-error.component.d.ts +0 -13
  24. package/lib/components/controls/input-hint/input-hint.component.d.ts +0 -5
  25. package/lib/components/controls/radio-button/radio-button.component.d.ts +0 -16
  26. package/lib/components/controls/radio-group/radio-group.component.d.ts +0 -26
  27. package/lib/components/controls/select/select.component.d.ts +0 -31
  28. package/lib/components/controls/select-option/select-option.component.d.ts +0 -14
  29. package/lib/components/controls/textarea/textarea.component.d.ts +0 -25
  30. package/lib/components/icon/icon.component.d.ts +0 -17
  31. package/lib/components/image/image.component.d.ts +0 -8
  32. package/lib/components/index.d.ts +0 -23
  33. package/lib/components/loaders/loader/loader.component.d.ts +0 -9
  34. package/lib/components/tables/table/table.component.d.ts +0 -42
  35. package/lib/components/tables/table-pagination/table-pagination.component.d.ts +0 -16
  36. package/lib/components/tables/table-search/table-search.component.d.ts +0 -14
  37. package/lib/components/tile/tile.component.d.ts +0 -9
  38. package/lib/directives/dropdown-menu-template/dropdown-menu-template.directive.d.ts +0 -5
  39. package/lib/directives/index.d.ts +0 -2
  40. package/lib/directives/input-error-message/input-error-message.directive.d.ts +0 -5
  41. package/lib/models/buttons/button.model.d.ts +0 -16
  42. package/lib/models/buttons/dropdown.model.d.ts +0 -8
  43. package/lib/models/buttons/link.model.d.ts +0 -8
  44. package/lib/models/controls/input.model.d.ts +0 -2
  45. package/lib/models/controls/radio.model.d.ts +0 -4
  46. package/lib/models/controls/select.model.d.ts +0 -4
  47. package/lib/models/icon/icon.model.d.ts +0 -49
  48. package/lib/models/index.d.ts +0 -9
  49. package/lib/models/tables/table.model.d.ts +0 -59
  50. package/lib/models/tiles/tile.model.d.ts +0 -18
  51. package/lib/utils/date/date.util.d.ts +0 -6
  52. package/lib/utils/index.d.ts +0 -2
  53. package/lib/utils/string/string.util.d.ts +0 -1
  54. package/lib/validators/index.d.ts +0 -9
  55. package/lib/validators/is-date/is-date.validator.d.ts +0 -2
  56. package/lib/validators/is-document/is-document.validator.d.ts +0 -6
  57. package/lib/validators/is-email/is-email.validator.d.ts +0 -2
  58. package/lib/validators/is-form-select-item/is-form-select-item.validator.d.ts +0 -2
  59. package/lib/validators/is-license-plate/is-license-plate.validator.d.ts +0 -4
  60. package/lib/validators/is-natural-number/is-natural-number.validator.d.ts +0 -2
  61. package/lib/validators/minimum-age/minimum-age.validator.d.ts +0 -4
  62. package/lib/validators/must-match/must-match.validator.d.ts +0 -6
  63. package/lib/validators/must-unmatch/must-unmatch.validator.d.ts +0 -6
  64. package/public-api.d.ts +0 -5
@@ -1,169 +1,169 @@
1
- @use './setting';
2
-
3
- /*
4
- En esta capa estarán:
5
- 1. Herramientas que están disponible globalmente
6
- 2. Funciones utilitarias
7
- 3. Mixins
8
- */
9
-
10
- // From (mayor que $breakpoint)
11
- @mixin from($from) {
12
- @if $from == zero {
13
- @media screen and (width > 0) {
14
- @content;
15
- }
16
- }
17
-
18
- @if $from == mobile {
19
- @media screen and (width > 320px) {
20
- @content;
21
- }
22
- }
23
-
24
- @if $from == landscape {
25
- @media screen and (width > 576px) {
26
- @content;
27
- }
28
- }
29
-
30
- @if $from == tablet {
31
- @media screen and (width > 768px) {
32
- @content;
33
- }
34
- }
35
-
36
- @if $from == desktop {
37
- @media screen and (width > 992px) {
38
- @content;
39
- }
40
- }
41
-
42
- @if $from == extra-desktop {
43
- @media screen and (width > 1280px) {
44
- @content;
45
- }
46
- }
47
- }
48
-
49
- // To (es menor que $to)
50
- @mixin to($to) {
51
- @if $to == zero {
52
- @media screen and (width <= 0) {
53
- @content;
54
- }
55
- }
56
-
57
- @if $to == mobile {
58
- @media screen and (width <= 320px) {
59
- @content;
60
- }
61
- }
62
-
63
- @if $to == landscape {
64
- @media screen and (width <= 576px) {
65
- @content;
66
- }
67
- }
68
-
69
- @if $to == tablet {
70
- @media screen and (width <= 768px) {
71
- @content;
72
- }
73
- }
74
-
75
- @if $to == desktop {
76
- @media screen and (width <= 992px) {
77
- @content;
78
- }
79
- }
80
-
81
- @if $to == extra-desktop {
82
- @media screen and (width <= 1280px) {
83
- @content;
84
- }
85
- }
86
- }
87
-
88
- // Styles of Scroll Bar on Chrome, Edge y Safari.
89
- @mixin scrollbar {
90
- // Chrome, Edge y Safari.
91
- &::-webkit-scrollbar {
92
- width: var(--gld-spacing--xxs);
93
- height: var(--gld-spacing--xxs);
94
- }
95
-
96
- &::-webkit-scrollbar-track {
97
- background: transparent; // color of the tracking area
98
- }
99
-
100
- &::-webkit-scrollbar-thumb {
101
- background: light-dark(
102
- var(--gld-gray-transparent--040),
103
- var(--gld-gray-transparent--020)
104
- ); // color of the scroll thumb
105
- will-change: background;
106
- transition: background var(--gld-animation-time--150) ease;
107
- border-radius: var(--gld-radius--s); // roundness of the scroll thumb
108
- // border: 2px solid Palette(Primary); // creates padding around scroll thumb
109
-
110
- &:hover {
111
- background: light-dark(
112
- var(--gld-gray-transparent--060),
113
- var(--gld-gray-transparent--040)
114
- ); // color of the scroll thumb on hover
115
- }
116
- }
117
-
118
- // Firefox
119
- overflow: auto;
120
- scrollbar-width: thin;
121
- // color of the scroll thumb, color of the tracking area
122
- scrollbar-color: light-dark(var(--gld-gray-transparent--040), var(--gld-gray-transparent--020))
123
- transparent;
124
- scroll-behavior: smooth;
125
- }
126
-
127
- @mixin fontSizeHeadingOne() {
128
- font-size: var(--font-size--heading-two);
129
-
130
- @include from(desktop) {
131
- font-size: var(--font-size--heading-one);
132
- }
133
- }
134
-
135
- @mixin fontSizeHeadingTwo() {
136
- font-size: var(--font-size--heading-three);
137
-
138
- @include from(desktop) {
139
- font-size: var(--font-size--heading-two);
140
- }
141
- }
142
-
143
- @mixin fontSizeHeadingThree() {
144
- font-size: var(--font-size--normal);
145
-
146
- @include from(desktop) {
147
- font-size: var(--font-size--heading-three);
148
- }
149
- }
150
-
151
- @mixin fontSizeNormal() {
152
- font-size: var(--font-size--small);
153
-
154
- @include from(desktop) {
155
- font-size: var(--font-size--normal);
156
- }
157
- }
158
-
159
- @mixin fontSizeSmall() {
160
- font-size: var(--font-size--tiny);
161
-
162
- @include from(desktop) {
163
- font-size: var(--font-size--small);
164
- }
165
- }
166
-
167
- @mixin fontSizeTiny() {
168
- font-size: var(--font-size--tiny);
169
- }
1
+ @use './setting';
2
+
3
+ /*
4
+ En esta capa estarán:
5
+ 1. Herramientas que están disponible globalmente
6
+ 2. Funciones utilitarias
7
+ 3. Mixins
8
+ */
9
+
10
+ // From (mayor que $breakpoint)
11
+ @mixin from($from) {
12
+ @if $from == zero {
13
+ @media screen and (width > 0) {
14
+ @content;
15
+ }
16
+ }
17
+
18
+ @if $from == mobile {
19
+ @media screen and (width > 320px) {
20
+ @content;
21
+ }
22
+ }
23
+
24
+ @if $from == landscape {
25
+ @media screen and (width > 576px) {
26
+ @content;
27
+ }
28
+ }
29
+
30
+ @if $from == tablet {
31
+ @media screen and (width > 768px) {
32
+ @content;
33
+ }
34
+ }
35
+
36
+ @if $from == desktop {
37
+ @media screen and (width > 992px) {
38
+ @content;
39
+ }
40
+ }
41
+
42
+ @if $from == extra-desktop {
43
+ @media screen and (width > 1280px) {
44
+ @content;
45
+ }
46
+ }
47
+ }
48
+
49
+ // To (es menor que $to)
50
+ @mixin to($to) {
51
+ @if $to == zero {
52
+ @media screen and (width <= 0) {
53
+ @content;
54
+ }
55
+ }
56
+
57
+ @if $to == mobile {
58
+ @media screen and (width <= 320px) {
59
+ @content;
60
+ }
61
+ }
62
+
63
+ @if $to == landscape {
64
+ @media screen and (width <= 576px) {
65
+ @content;
66
+ }
67
+ }
68
+
69
+ @if $to == tablet {
70
+ @media screen and (width <= 768px) {
71
+ @content;
72
+ }
73
+ }
74
+
75
+ @if $to == desktop {
76
+ @media screen and (width <= 992px) {
77
+ @content;
78
+ }
79
+ }
80
+
81
+ @if $to == extra-desktop {
82
+ @media screen and (width <= 1280px) {
83
+ @content;
84
+ }
85
+ }
86
+ }
87
+
88
+ // Styles of Scroll Bar on Chrome, Edge y Safari.
89
+ @mixin scrollbar {
90
+ // Chrome, Edge y Safari.
91
+ &::-webkit-scrollbar {
92
+ width: var(--gld-spacing--xxs);
93
+ height: var(--gld-spacing--xxs);
94
+ }
95
+
96
+ &::-webkit-scrollbar-track {
97
+ background: transparent; // color of the tracking area
98
+ }
99
+
100
+ &::-webkit-scrollbar-thumb {
101
+ background: light-dark(
102
+ var(--gld-gray-transparent--040),
103
+ var(--gld-gray-transparent--020)
104
+ ); // color of the scroll thumb
105
+ will-change: background;
106
+ transition: background var(--gld-animation-time--150) ease;
107
+ border-radius: var(--gld-radius--s); // roundness of the scroll thumb
108
+ // border: 2px solid Palette(Primary); // creates padding around scroll thumb
109
+
110
+ &:hover {
111
+ background: light-dark(
112
+ var(--gld-gray-transparent--060),
113
+ var(--gld-gray-transparent--040)
114
+ ); // color of the scroll thumb on hover
115
+ }
116
+ }
117
+
118
+ // Firefox
119
+ overflow: auto;
120
+ scrollbar-width: thin;
121
+ // color of the scroll thumb, color of the tracking area
122
+ scrollbar-color: light-dark(var(--gld-gray-transparent--040), var(--gld-gray-transparent--020))
123
+ transparent;
124
+ scroll-behavior: smooth;
125
+ }
126
+
127
+ @mixin fontSizeHeadingOne() {
128
+ font-size: var(--font-size--heading-two);
129
+
130
+ @include from(desktop) {
131
+ font-size: var(--font-size--heading-one);
132
+ }
133
+ }
134
+
135
+ @mixin fontSizeHeadingTwo() {
136
+ font-size: var(--font-size--heading-three);
137
+
138
+ @include from(desktop) {
139
+ font-size: var(--font-size--heading-two);
140
+ }
141
+ }
142
+
143
+ @mixin fontSizeHeadingThree() {
144
+ font-size: var(--font-size--normal);
145
+
146
+ @include from(desktop) {
147
+ font-size: var(--font-size--heading-three);
148
+ }
149
+ }
150
+
151
+ @mixin fontSizeNormal() {
152
+ font-size: var(--font-size--small);
153
+
154
+ @include from(desktop) {
155
+ font-size: var(--font-size--normal);
156
+ }
157
+ }
158
+
159
+ @mixin fontSizeSmall() {
160
+ font-size: var(--font-size--tiny);
161
+
162
+ @include from(desktop) {
163
+ font-size: var(--font-size--small);
164
+ }
165
+ }
166
+
167
+ @mixin fontSizeTiny() {
168
+ font-size: var(--font-size--tiny);
169
+ }
@@ -1,11 +1,11 @@
1
- @use './setting' as setting;
2
- @use './tools' as tools;
3
-
4
- /*
5
- En esta capa estarán:
6
- 1. sobreescrituras de estilos
7
- 2. helpers o utilities
8
- 3. pueden usar el flag !important
9
- 4. solo afecta a una pieza del DOM a la vez
10
- 5. especificidad por lo regular alta
11
- */
1
+ @use './setting' as setting;
2
+ @use './tools' as tools;
3
+
4
+ /*
5
+ En esta capa estarán:
6
+ 1. sobreescrituras de estilos
7
+ 2. helpers o utilities
8
+ 3. pueden usar el flag !important
9
+ 4. solo afecta a una pieza del DOM a la vez
10
+ 5. especificidad por lo regular alta
11
+ */
@@ -1,14 +1,14 @@
1
- // Utils Imports
2
-
3
- /*
4
- 1. Piensa en la especificidad
5
- 2. Nunca se añaden estilos para sobre escribir otros
6
- 3. Cada capa en mas detallada o especifica que la anterior
7
- 4. Se pueden añadir o eliminar capaz de ser necesario
8
- */
9
-
10
- @forward './layers/_setting';
11
- @forward './layers/_tools';
12
- @forward './layers/_base';
13
- @forward './layers/_objects';
14
- @forward './layers/_trumps';
1
+ // Utils Imports
2
+
3
+ /*
4
+ 1. Piensa en la especificidad
5
+ 2. Nunca se añaden estilos para sobre escribir otros
6
+ 3. Cada capa en mas detallada o especifica que la anterior
7
+ 4. Se pueden añadir o eliminar capaz de ser necesario
8
+ */
9
+
10
+ @forward './layers/_setting';
11
+ @forward './layers/_tools';
12
+ @forward './layers/_base';
13
+ @forward './layers/_objects';
14
+ @forward './layers/_trumps';