coer-elements 2.0.45 → 2.0.49
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/components/lib/coer-grid/coer-grid.extension.d.ts +0 -1
- package/components/lib/coer-modal/coer-modal.component.d.ts +3 -3
- package/components/lib/coer-tab/coer-tab.component.d.ts +1 -0
- package/fesm2022/coer-elements-components.mjs +40 -50
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +3 -2
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +45 -22
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/pages/lib/home/home.component.d.ts +2 -0
- package/styles/animations.scss +17 -14
- package/styles/coer-elements.css +1 -1
- package/styles/colors.scss +14 -2
- package/styles/components.scss +9 -10
- package/styles/icons/icons-fill.scss +3 -0
- package/styles/index.scss +11 -5
- package/styles/paragraphs.scss +0 -9
- package/svg/fill/circle-check.fill.svg +4 -0
- package/svg/fill/circle-exclamation.fill.svg +4 -0
- package/svg/fill/copy.fill.svg +4 -0
- package/tools/lib/html-elements.tools.d.ts +10 -6
package/styles/colors.scss
CHANGED
@@ -23,8 +23,14 @@
|
|
23
23
|
//App Colors
|
24
24
|
--breadcrumbs-inner: var(--breadcrumbs, var(--blue) );
|
25
25
|
--containers-inner: var(--containers, var(--white));
|
26
|
-
--background-inner: var(--app-background, var(--smoke));
|
27
|
-
|
26
|
+
--background-inner: var(--app-background, var(--smoke));
|
27
|
+
|
28
|
+
//Inputs
|
29
|
+
--inputs-inner : var(--inputs, var(--smoke));
|
30
|
+
--inputs-text-inner : var(--inputs-text, var(--black));
|
31
|
+
--inputs-items-inner: var(--inputs-items, var(--blue) );
|
32
|
+
--inputs-icons-inner: var(--inputs-icons, var(--gray) );
|
33
|
+
|
28
34
|
//Sidenav
|
29
35
|
--sidenav-inner: var(--sidenav, var(--black) );
|
30
36
|
--sidenav-text-inner: var(--sidenav-text, var(--smoke) );
|
@@ -65,6 +71,12 @@
|
|
65
71
|
'app-background': var(--background-inner),
|
66
72
|
'containers' : var(--containers-inner),
|
67
73
|
|
74
|
+
//Inputs
|
75
|
+
'inputs' : var(--inputs-inner),
|
76
|
+
'inputs-text' : var(--inputs-text-inner),
|
77
|
+
'inputs-items' : var(--inputs-items-inner),
|
78
|
+
'inputs-icons' : var(--inputs-icons-inner),
|
79
|
+
|
68
80
|
//Sidenav
|
69
81
|
'sidenav' : var(--sidenav-inner),
|
70
82
|
'sidenav-text' : var(--sidenav-text-inner),
|
package/styles/components.scss
CHANGED
@@ -25,17 +25,16 @@ input[type="file"] {
|
|
25
25
|
display: none !important;
|
26
26
|
}
|
27
27
|
|
28
|
+
|
28
29
|
.readonly {
|
30
|
+
cursor: default !important;
|
31
|
+
background-color: color-mix(in srgb, var(--gray), var(--white) 70%) !important;
|
29
32
|
color: black !important;
|
30
|
-
background-color: #bbbbbb83 !important;
|
31
33
|
}
|
32
34
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
justify-content: center;
|
40
|
-
word-break: break-word;
|
41
|
-
}
|
35
|
+
|
36
|
+
.loading {
|
37
|
+
cursor: wait !important;
|
38
|
+
background-color: color-mix(in srgb, var(--gray), var(--white) 50%) !important;
|
39
|
+
animation: __KeyOpacity50 0.8s ease-in-out infinite alternate both !important;
|
40
|
+
}
|
package/styles/index.scss
CHANGED
@@ -17,10 +17,7 @@
|
|
17
17
|
@use "./paragraphs" as _paragraphs;
|
18
18
|
@use "./positions.scss" as _positions;
|
19
19
|
@use "./scroll-bars.scss";
|
20
|
-
@use "./width-height.scss" as _width-height;
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
@use "./width-height.scss" as _width-height;
|
24
21
|
|
25
22
|
//BREAKPOINTS
|
26
23
|
@each $breakpoint, $min-width in (
|
@@ -75,4 +72,13 @@
|
|
75
72
|
@include _width-height.mixin($breakpoint);
|
76
73
|
}
|
77
74
|
}
|
78
|
-
}
|
75
|
+
}
|
76
|
+
|
77
|
+
h1, h2, h3, h4, h5, h6, p, pre, hr, figure, fieldset, ul, ol {
|
78
|
+
margin: 0px;
|
79
|
+
padding: 0px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.no-selection::selection {
|
83
|
+
background-color: transparent !important;
|
84
|
+
}
|
package/styles/paragraphs.scss
CHANGED
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
2
|
+
<!-- COER System -->
|
3
|
+
<path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/>
|
4
|
+
</svg>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
2
|
+
<!-- COER System -->
|
3
|
+
<path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/>
|
4
|
+
</svg>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
2
|
+
<!-- COER System -->
|
3
|
+
<path d="M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"/>
|
4
|
+
</svg>
|
@@ -2,13 +2,11 @@ export declare class HTMLElements {
|
|
2
2
|
/** */
|
3
3
|
static GetElement: (selector: string) => HTMLElement | null;
|
4
4
|
/** */
|
5
|
-
static Scroll: (
|
5
|
+
static Scroll: (element: string | HTMLElement | null | undefined, y?: number, x?: number) => void;
|
6
6
|
/** */
|
7
|
-
static ScrollToElement: (
|
7
|
+
static ScrollToElement: (element: string | HTMLElement | null | undefined, container?: string | HTMLElement) => void;
|
8
8
|
/** */
|
9
|
-
static
|
10
|
-
/** */
|
11
|
-
static GetCssValue: (element: HTMLElement | null, style: string) => string;
|
9
|
+
static GetCssValue: (element: string | HTMLElement | null | undefined, style: string) => string;
|
12
10
|
/** Gets the width of the element in px */
|
13
11
|
static GetElementWidth: (element: HTMLElement | null | undefined, ...args: (number | HTMLElement | null | undefined)[]) => string;
|
14
12
|
/** Gets the height of the element in px */
|
@@ -16,5 +14,11 @@ export declare class HTMLElements {
|
|
16
14
|
/** */
|
17
15
|
static IsInvalidElement: (element: any) => boolean;
|
18
16
|
/** Gets the color of the element in hexadecimal */
|
19
|
-
static GetElementColor: (element: HTMLElement | null | undefined) => string;
|
17
|
+
static GetElementColor: (element: string | HTMLElement | null | undefined) => string;
|
18
|
+
/** */
|
19
|
+
static HasClass: (element: string | HTMLElement | null | undefined, className: string) => boolean;
|
20
|
+
/** */
|
21
|
+
static AddClass: (element: string | HTMLElement | null | undefined, className: string) => Promise<boolean>;
|
22
|
+
/** */
|
23
|
+
static RemoveClass: (element: string | HTMLElement | null | undefined, className: string) => boolean;
|
20
24
|
}
|