coer-elements 2.0.23 → 2.0.26

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 (77) hide show
  1. package/components/lib/coer-numberbox/coer-numberbox.component.d.ts +8 -1
  2. package/fesm2022/coer-elements-components.mjs +46 -13
  3. package/fesm2022/coer-elements-components.mjs.map +1 -1
  4. package/fesm2022/coer-elements-pages.mjs +2 -2
  5. package/fesm2022/coer-elements-pages.mjs.map +1 -1
  6. package/fesm2022/coer-elements-tools.mjs +74 -82
  7. package/fesm2022/coer-elements-tools.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/styles/animations.scss +101 -8
  10. package/styles/borders.scss +126 -0
  11. package/styles/coer-elements.css +1 -19777
  12. package/styles/colors.scss +103 -112
  13. package/styles/components.scss +18 -0
  14. package/styles/cursors.scss +12 -18
  15. package/styles/{font.scss → fonts.scss} +7 -1
  16. package/styles/icons/icons-fill-none.scss +3 -0
  17. package/styles/icons/icons-fill.scss +21 -0
  18. package/styles/icons/icons-regular-none.scss +3 -0
  19. package/styles/icons/icons-regular.scss +17 -0
  20. package/styles/icons/icons.scss +67 -0
  21. package/styles/index.scss +81 -51
  22. package/styles/layout-flex-wrap.scss +96 -94
  23. package/styles/layout-flex.scss +57 -53
  24. package/styles/layout-grid.scss +22 -14
  25. package/styles/margins.scss +60 -0
  26. package/styles/overflow.scss +10 -8
  27. package/styles/paddings.scss +60 -0
  28. package/styles/paragraphs.scss +14 -0
  29. package/styles/positions.scss +60 -0
  30. package/styles/width-height.scss +123 -118
  31. package/svg/fill/alarm.fill.svg +4 -0
  32. package/svg/fill/bell.fill.svg +4 -0
  33. package/svg/fill/bulb-idea.fill.svg +4 -0
  34. package/svg/fill/cloud.fill.svg +4 -0
  35. package/svg/fill/components.fill.svg +4 -0
  36. package/svg/fill/css.fill.svg +4 -0
  37. package/svg/fill/dot.fill.svg +4 -0
  38. package/svg/fill/download.fill.svg +4 -0
  39. package/svg/fill/gear.fill.svg +4 -0
  40. package/svg/fill/heart.fill.svg +4 -0
  41. package/svg/{house-fill.svg → fill/house.fill.svg} +1 -0
  42. package/svg/fill/html.fill.svg +4 -0
  43. package/svg/fill/javascript.fill.svg +4 -0
  44. package/svg/fill/none/bell.fill.none.svg +4 -0
  45. package/svg/fill/pin-geo.fill.svg +4 -0
  46. package/svg/fill/screwdriver-wrench.fill.svg +4 -0
  47. package/svg/fill/toolbox.fill.svg +4 -0
  48. package/svg/fill/trash-can.fill.svg +4 -0
  49. package/svg/fill/trophy.fill.svg +4 -0
  50. package/svg/fill/user.fill.svg +4 -0
  51. package/svg/regular/alarm.svg +5 -0
  52. package/svg/{array.svg → regular/array.svg} +1 -0
  53. package/svg/regular/arrows-sync.svg +4 -0
  54. package/svg/regular/bars.svg +4 -0
  55. package/svg/regular/bell.svg +4 -0
  56. package/svg/regular/cloud.svg +4 -0
  57. package/svg/regular/components.svg +4 -0
  58. package/svg/{developer.svg → regular/developer.svg} +2 -1
  59. package/svg/{envelope.svg → regular/envelope.svg} +2 -1
  60. package/svg/regular/heart.svg +4 -0
  61. package/svg/regular/none/bell.none.svg +4 -0
  62. package/svg/regular/pin-geo.svg +5 -0
  63. package/svg/regular/t.svg +4 -0
  64. package/svg/regular/trash-can.svg +5 -0
  65. package/svg/regular/trophy.svg +4 -0
  66. package/svg/{whatsapp.svg → regular/whatsapp.svg} +2 -1
  67. package/styles/border.scss +0 -30
  68. package/styles/icons.scss +0 -60
  69. package/styles/margin.scss +0 -21
  70. package/styles/padding.scss +0 -21
  71. package/styles/paragraph.scss +0 -3
  72. package/styles/position.scss +0 -52
  73. package/svg/bulb-light-idea-fill.svg +0 -3
  74. package/svg/css.svg +0 -3
  75. package/svg/html.svg +0 -3
  76. package/svg/javascript.svg +0 -3
  77. /package/styles/{scroll-bar.scss → scroll-bars.scss} +0 -0
@@ -13,126 +13,117 @@
13
13
 
14
14
  //Action Colors
15
15
  --primary-inner: var(--primary, var(--orange));
16
- --secondary-inner: var(--secondary, var(--gray));
17
- --success-inner: var(--success, var(--green));
16
+ --secondary-inner: var(--secondary, var(--gray) );
17
+ --success-inner: var(--success, var(--green) );
18
18
  --warning-inner: var(--warning, var(--yellow));
19
- --danger-inner: var(--danger, var(--red));
19
+ --danger-inner: var(--danger, var(--red) );
20
20
  --navigation-inner: var(--navigation, var(--orange));
21
- --information-inner: var(--information, var(--blue));
22
-
23
- //App Colors
24
- --breadcrumbs-inner: var(--breadcrumbs, var(--blue));
25
- --containers-inner: var(--containers, var(--white));
26
- --background-inner: var(--app-background, var(--smoke));
27
-
28
- //Sidenav
29
- --sidenav-inner: var(--sidenav, var(--black));
30
- --sidenav-text-inner: var(--sidenav-text, var(--smoke));
31
- --sidenav-active-inner: var(--sidenav-active, var(--orange));
32
-
33
- //Toolbar
34
- --toolbar-inner: var(--toolbar, var(--smoke));
35
- --toolbar-text-inner: var(--toolbar-text, var(--black));
36
- }
37
-
38
- $colors: (
39
- //Fixed colors
40
- 'transparent': transparent,
41
- 'blue' : var(--blue),
42
- 'gray' : var(--gray),
43
- 'green' : var(--green),
44
- 'yellow': var(--yellow),
45
- 'red' : var(--red),
46
- 'smoke' : var(--smoke),
47
- 'black' : var(--black),
48
- 'orange': var(--orange),
49
- 'white' : var(--white),
50
- 'purple': var(--purple),
51
-
52
- //Action Colors
53
- 'primary' : var(--primary-inner),
54
- 'secondary' : var(--secondary-inner),
55
- 'success' : var(--success-inner),
56
- 'warning' : var(--warning-inner),
57
- 'danger' : var(--danger-inner),
58
- 'navigation' : var(--navigation-inner),
59
- 'information': var(--information-inner),
21
+ --information-inner: var(--information, var(--blue) );
60
22
 
61
23
  //App Colors
62
- 'breadcrumbs' : var(--breadcrumbs-inner),
63
- 'app-background': var(--background-inner),
64
- 'containers' : var(--containers-inner),
24
+ --breadcrumbs-inner: var(--breadcrumbs, var(--blue) );
25
+ --containers-inner: var(--containers, var(--white));
26
+ --background-inner: var(--app-background, var(--smoke));
65
27
 
66
28
  //Sidenav
67
- 'sidenav' : var(--sidenav-inner),
68
- 'sidenav-text' : var(--sidenav-text-inner),
69
- 'sidenav-active': var(--sidenav-active-inner),
29
+ --sidenav-inner: var(--sidenav, var(--black) );
30
+ --sidenav-text-inner: var(--sidenav-text, var(--smoke) );
31
+ --sidenav-active-inner: var(--sidenav-active, var(--orange));
70
32
 
71
33
  //Toolbar
72
- 'toolbar' : var(--toolbar-inner),
73
- 'toolbar-text': var(--toolbar-text-inner)
74
- );
75
-
76
-
77
- @each $key, $value in $colors {
78
- //Text
79
- .text-#{$key} {
80
- color: $value !important;
81
- }
82
-
83
- .text-#{$key}-bold {
84
- color: $value !important;
85
- font-weight: bold !important;
86
- }
87
-
88
- //Borders
89
- .border-color-#{$key} {
90
- border-color: $value !important;
91
- }
92
-
93
- .border-color-#{$key}-top {
94
- border-top-color: $value !important;
95
- }
96
-
97
- .border-color-#{$key}-right {
98
- border-right-color: $value !important;
99
- }
100
-
101
- .border-color-#{$key}-bottom {
102
- border-bottom-color: $value !important;
103
- }
104
-
105
- .border-color-#{$key}-left {
106
- border-left-color: $value !important;
107
- }
108
-
109
- //Backgrounds
110
- .background-color-#{$key} {
111
- background-color: $value !important;
112
- }
113
-
114
- .background-color-#{$key}-border {
115
- background-color: $value !important;
116
- border-color: $value !important;
117
- }
118
-
119
- .background-color-#{$key}-border-top {
120
- background-color: $value !important;
121
- border-top-color: $value !important;
122
- }
123
-
124
- .background-color-#{$key}-border-right {
125
- background-color: $value !important;
126
- border-right-color: $value !important;
127
- }
34
+ --toolbar-inner: var(--toolbar, var(--smoke));
35
+ --toolbar-text-inner: var(--toolbar-text, var(--black));
36
+ }
128
37
 
129
- .background-color-#{$key}-border-bottom {
130
- background-color: $value !important;
131
- border-bottom-color: $value !important;
132
- }
133
38
 
134
- .background-color-#{$key}-border-left {
135
- background-color: $value !important;
136
- border-left-color: $value !important;
39
+ @mixin mixin($breakpoint) {
40
+ @each $key, $value in (
41
+ //Fixed colors
42
+ 'transparent': transparent,
43
+ 'blue' : var(--blue),
44
+ 'gray' : var(--gray),
45
+ 'green' : var(--green),
46
+ 'yellow': var(--yellow),
47
+ 'red' : var(--red),
48
+ 'smoke' : var(--smoke),
49
+ 'black' : var(--black),
50
+ 'orange': var(--orange),
51
+ 'white' : var(--white),
52
+ 'purple': var(--purple),
53
+
54
+ //Action Colors
55
+ 'primary' : var(--primary-inner),
56
+ 'secondary' : var(--secondary-inner),
57
+ 'success' : var(--success-inner),
58
+ 'warning' : var(--warning-inner),
59
+ 'danger' : var(--danger-inner),
60
+ 'navigation' : var(--navigation-inner),
61
+ 'information': var(--information-inner),
62
+
63
+ //App Colors
64
+ 'breadcrumbs' : var(--breadcrumbs-inner),
65
+ 'app-background': var(--background-inner),
66
+ 'containers' : var(--containers-inner),
67
+
68
+ //Sidenav
69
+ 'sidenav' : var(--sidenav-inner),
70
+ 'sidenav-text' : var(--sidenav-text-inner),
71
+ 'sidenav-active': var(--sidenav-active-inner),
72
+
73
+ //Toolbar
74
+ 'toolbar' : var(--toolbar-inner),
75
+ 'toolbar-text': var(--toolbar-text-inner)
76
+ ) {
77
+ // Text
78
+ .#{$breakpoint}text-#{$key} { color: $value !important; }
79
+
80
+ // Backgrounds
81
+ .#{$breakpoint}background-color-#{$key} { background-color: $value !important; }
82
+
83
+ // Outline
84
+ .#{$breakpoint}outline-color-#{$key} { outline-color: $value !important; }
85
+
86
+ // Borders
87
+ .#{$breakpoint}border-color-#{$key} { border-color: $value !important; }
88
+ .#{$breakpoint}border-color-#{$key}-top { border-top-color: $value !important; }
89
+ .#{$breakpoint}border-color-#{$key}-right { border-right-color: $value !important; }
90
+ .#{$breakpoint}border-color-#{$key}-bottom { border-bottom-color: $value !important; }
91
+ .#{$breakpoint}border-color-#{$key}-left { border-left-color: $value !important; }
92
+
93
+ // Borders X - Y
94
+ .#{$breakpoint}border-color-#{$key}-y {
95
+ border-top-color: $value !important;
96
+ border-bottom-color: $value !important;
97
+ }
98
+
99
+ .#{$breakpoint}border-color-#{$key}-x {
100
+ border-left-color: $value !important;
101
+ border-right-color: $value !important;
102
+ }
103
+
104
+ // Borders CUBE
105
+ .#{$breakpoint}border-color-#{$key}-trb {
106
+ border-top-color: $value !important;
107
+ border-right-color: $value !important;
108
+ border-bottom-color: $value !important;
109
+ }
110
+
111
+ .#{$breakpoint}border-color-#{$key}-rbl {
112
+ border-right-color: $value !important;
113
+ border-bottom-color: $value !important;
114
+ border-left-color: $value !important;
115
+ }
116
+
117
+ .#{$breakpoint}border-color-#{$key}-blt {
118
+ border-bottom-color: $value !important;
119
+ border-left-color: $value !important;
120
+ border-top-color: $value !important;
121
+ }
122
+
123
+ .#{$breakpoint}border-color-#{$key}-ltr {
124
+ border-left-color: $value !important;
125
+ border-top-color: $value !important;
126
+ border-right-color: $value !important;
127
+ }
137
128
  }
138
- }
129
+ }
@@ -21,3 +21,21 @@
21
21
  @use "../tools/lib/coer-alert/coer-alert.component.scss";
22
22
 
23
23
 
24
+ input[type="file"] {
25
+ display: none !important;
26
+ }
27
+
28
+ .readonly {
29
+ color: black !important;
30
+ background-color: #bbbbbb83 !important;
31
+ }
32
+
33
+ .tooltip-inner {
34
+ min-width: 125px;
35
+ max-width: 250px;
36
+ min-height: 35px;
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: center;
40
+ word-break: break-word;
41
+ }
@@ -1,19 +1,13 @@
1
- .cursor-default {
2
- cursor: default !important;
3
- }
4
-
5
- .cursor-pointer {
6
- cursor: pointer !important;
7
- }
8
-
9
- .cursor-wait {
10
- cursor: wait !important;
11
- }
12
-
13
- .cursor-grab {
14
- cursor: grab !important;
15
- }
16
-
17
- .cursor-grabbing {
18
- cursor: grabbing !important;
1
+ @mixin mixin($breakpoint) {
2
+ @each $key, $value in (
3
+ 'default' : default,
4
+ 'pointer' : pointer,
5
+ 'wait' : wait,
6
+ 'grab' : grab,
7
+ 'grabbing' : grabbing
8
+ ) {
9
+ .#{$breakpoint}cursor-#{$key} {
10
+ cursor: $value !important;
11
+ }
12
+ }
19
13
  }
@@ -1,3 +1,9 @@
1
+ * {
2
+ font-family: sans-serif;
3
+ letter-spacing: normal;
4
+ }
5
+
6
+
1
7
  //Font Weight
2
8
  .font-weight-normal {
3
9
  font-weight: normal !important;
@@ -9,7 +15,7 @@
9
15
 
10
16
 
11
17
  //Font Size
12
- @for $i from 1 through 50 {
18
+ @for $i from 1 through 100 {
13
19
  .font-size-#{$i}px {
14
20
  font-size: $i * 1px !important;
15
21
  }
@@ -0,0 +1,3 @@
1
+ $icons: (
2
+ 'bell',
3
+ );
@@ -0,0 +1,21 @@
1
+ $icons: (
2
+ 'alarm',
3
+ 'bell',
4
+ 'cloud',
5
+ 'dot',
6
+ 'bulb-idea',
7
+ 'components',
8
+ 'css',
9
+ 'download',
10
+ 'gear',
11
+ 'heart',
12
+ 'house',
13
+ 'html',
14
+ 'javascript',
15
+ 'pin-geo',
16
+ 'screwdriver-wrench',
17
+ 'toolbox',
18
+ 'trash-can',
19
+ 'trophy',
20
+ 'user'
21
+ );
@@ -0,0 +1,3 @@
1
+ $icons: (
2
+ 'bell'
3
+ );
@@ -0,0 +1,17 @@
1
+ $icons: (
2
+ 'alarm',
3
+ 'array',
4
+ 'arrows-sync',
5
+ 'bars',
6
+ 'bell',
7
+ 'cloud',
8
+ 'components',
9
+ 'developer',
10
+ 'envelope',
11
+ 'heart',
12
+ 'pin-geo',
13
+ 't',
14
+ 'trash-can',
15
+ 'trophy',
16
+ 'whatsapp',
17
+ );
@@ -0,0 +1,67 @@
1
+ @use "./icons-regular.scss" as regular;
2
+ @use "./icons-regular-none.scss" as regular-none;
3
+ @use "./icons-fill.scss" as fill;
4
+ @use "./icons-fill-none.scss" as fill-none;
5
+
6
+
7
+ @mixin Icon() {
8
+ min-width: 10px !important;
9
+ min-height: 10px !important;
10
+ width: 1em !important;
11
+ height: 1em !important;
12
+ mask-size: contain !important;
13
+ mask-repeat: no-repeat !important;
14
+ mask-position: center !important;
15
+ display: inline-block !important;
16
+ background-color: currentColor !important;
17
+ }
18
+
19
+
20
+ .coer-icon {
21
+ @include Icon();
22
+ }
23
+
24
+
25
+ .icon-mirror-X {
26
+ transform: rotateX(180deg) !important;
27
+ }
28
+
29
+ .icon-mirror-Y {
30
+ transform: rotateY(180deg) !important;
31
+ }
32
+
33
+
34
+ //Regular
35
+ @each $icon in regular.$icons {
36
+ .icon-#{$icon} {
37
+ @include Icon();
38
+ mask-image: url('../svg/regular/' + $icon + '.svg');
39
+ }
40
+ }
41
+
42
+
43
+ //Regular None
44
+ @each $icon in regular-none.$icons {
45
+ .icon-#{$icon}.icon-none {
46
+ @include Icon();
47
+ mask-image: url('../svg/regular/none/' + $icon + '.none.svg');
48
+ }
49
+ }
50
+
51
+
52
+ //Fill
53
+ @each $icon in fill.$icons {
54
+ .icon-#{$icon}.icon-fill {
55
+ @include Icon();
56
+ mask-image: url('../svg/fill/' + $icon + '.fill.svg');
57
+ }
58
+ }
59
+
60
+
61
+ //Fill None
62
+ @each $icon in fill-none.$icons {
63
+ .icon-#{$icon}.icon-fill.icon-none {
64
+ @include Icon();
65
+ mask-image: url('../svg/fill/none/' + $icon + '.fill.none.svg');
66
+ }
67
+ }
package/styles/index.scss CHANGED
@@ -1,56 +1,86 @@
1
- @use "./animations.scss";
2
- @use "./border.scss";
3
- @use "./colors.scss";
1
+ @use "sass:map";
2
+ @use "./animations.scss" as _animations;
3
+ @use "./borders.scss" as _borders;
4
+ @use "./colors.scss" as _colors;
4
5
  @use "./components.scss";
5
6
  @use "./containers.scss";
6
- @use "./cursors.scss";
7
- @use "./font.scss";
8
- @use "./icons.scss";
9
- @use "./layout-flex-wrap.scss";
10
- @use "./layout-flex.scss";
11
- @use "./layout-grid.scss";
12
- @use "./margin.scss";
13
- @use "./overflow.scss";
14
- @use "./padding.scss";
15
- @use "./paragraph";
16
- @use "./position.scss";
17
- @use "./scroll-bar.scss";
18
- @use "./width-height.scss";
7
+ @use "./cursors.scss" as _cursors;
8
+ @use "./fonts.scss";
9
+ @use "./icons/icons.scss";
10
+ @use "./layout-flex-wrap.scss" as _layout-flex-wrap;
11
+ @use "./layout-flex.scss" as _layout-flex;
12
+ @use "./layout-grid.scss" as _layout-grid;
13
+ @use "./margins.scss" as _margins;
14
+ @use "./overflow.scss" as _overflow;
15
+ @use "./paddings.scss" as _padding;
16
+ @use "./paragraphs" as _paragraphs;
17
+ @use "./positions.scss" as _positions;
18
+ @use "./scroll-bars.scss";
19
+ @use "./width-height.scss" as _width-height;
20
+
21
+
19
22
 
20
23
 
21
- * {
22
- font-family: sans-serif;
23
- letter-spacing: normal;
24
- }
24
+ //BREAKPOINTS
25
+ $prefix: '-';
26
+ @each $breakpoint, $range in (
27
+ '' : (),
28
+ 'xs' : ('min': 0px, 'max': 575px),
29
+ 'sm' : ('min': 576px, 'max': 767px),
30
+ 'md' : ('min': 768px, 'max': 991px),
31
+ 'lg' : ('min': 992px, 'max': 1199px),
32
+ 'xl' : ('min': 1200px, 'max': 1399px),
33
+ 'xxl': ('min': 1400px)
34
+ ) {
35
+ @if($breakpoint == '') {
36
+ @include _animations.mixin($breakpoint);
37
+ @include _borders.mixin($breakpoint);
38
+ @include _colors.mixin($breakpoint);
39
+ @include _cursors.mixin($breakpoint);
40
+ @include _layout-flex-wrap.mixin($breakpoint);
41
+ @include _layout-flex.mixin($breakpoint);
42
+ @include _layout-grid.mixin($breakpoint);
43
+ @include _margins.mixin($breakpoint);
44
+ @include _overflow.mixin($breakpoint);
45
+ @include _padding.mixin($breakpoint);
46
+ @include _paragraphs.mixin($breakpoint);
47
+ @include _positions.mixin($breakpoint);
48
+ @include _width-height.mixin($breakpoint);
49
+ }
25
50
 
26
- h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset {
27
- margin: 0px;
28
- padding: 0px;
29
- }
30
-
31
- input[type="file"] {
32
- display: none !important;
33
- }
34
-
35
- .readonly {
36
- color: black !important;
37
- background-color: #bbbbbb83 !important;
38
- }
39
-
40
- .no-selection::selection {
41
- background-color: transparent !important;
42
- }
43
-
44
- .fill-space {
45
- flex: 1 1 auto;
46
- }
47
-
48
- .tooltip-inner {
49
- min-width: 125px;
50
- max-width: 250px;
51
- min-height: 35px;
52
- display: flex;
53
- align-items: center;
54
- justify-content: center;
55
- word-break: break-word;
56
- }
51
+ @else if($breakpoint == 'xxl') {
52
+ @media (min-width: map.get($range, 'min')) {
53
+ @include _animations.mixin($breakpoint + $prefix);
54
+ @include _borders.mixin($breakpoint + $prefix);
55
+ @include _colors.mixin($breakpoint + $prefix);
56
+ @include _cursors.mixin($breakpoint + $prefix);
57
+ @include _layout-flex-wrap.mixin($breakpoint + $prefix);
58
+ @include _layout-flex.mixin($breakpoint + $prefix);
59
+ @include _layout-grid.mixin($breakpoint + $prefix);
60
+ @include _margins.mixin($breakpoint + $prefix);
61
+ @include _overflow.mixin($breakpoint + $prefix);
62
+ @include _padding.mixin($breakpoint + $prefix);
63
+ @include _paragraphs.mixin($breakpoint + $prefix);
64
+ @include _positions.mixin($breakpoint + $prefix);
65
+ @include _width-height.mixin($breakpoint + $prefix);
66
+ }
67
+ }
68
+
69
+ @else {
70
+ @media (min-width: map.get($range, 'min')) and (max-width: map.get($range, 'max')) {
71
+ @include _animations.mixin($breakpoint + $prefix);
72
+ @include _borders.mixin($breakpoint + $prefix);
73
+ @include _colors.mixin($breakpoint + $prefix);
74
+ @include _cursors.mixin($breakpoint + $prefix);
75
+ @include _layout-flex-wrap.mixin($breakpoint + $prefix);
76
+ @include _layout-flex.mixin($breakpoint + $prefix);
77
+ @include _layout-grid.mixin($breakpoint + $prefix);
78
+ @include _margins.mixin($breakpoint + $prefix);
79
+ @include _overflow.mixin($breakpoint + $prefix);
80
+ @include _padding.mixin($breakpoint + $prefix);
81
+ @include _paragraphs.mixin($breakpoint + $prefix);
82
+ @include _positions.mixin($breakpoint + $prefix);
83
+ @include _width-height.mixin($breakpoint + $prefix);
84
+ }
85
+ }
86
+ }