valtech-components 1.11.76 → 2.0.2
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/README.md +5 -84
- package/ng-package.json +7 -0
- package/package.json +5 -29
- package/src/lib/valtech-components.component.spec.ts +23 -0
- package/src/lib/valtech-components.component.ts +16 -0
- package/src/lib/valtech-components.service.spec.ts +16 -0
- package/src/lib/valtech-components.service.ts +9 -0
- package/src/public-api.ts +6 -0
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/LICENSE +0 -21
- package/esm2022/lib/components/atoms/avatar/avatar.component.mjs +0 -31
- package/esm2022/lib/components/atoms/box/box.component.mjs +0 -32
- package/esm2022/lib/components/atoms/button/button.component.mjs +0 -34
- package/esm2022/lib/components/atoms/button/factory.mjs +0 -217
- package/esm2022/lib/components/atoms/button/types.mjs +0 -2
- package/esm2022/lib/components/atoms/display/display.component.mjs +0 -20
- package/esm2022/lib/components/atoms/divider/divider.component.mjs +0 -24
- package/esm2022/lib/components/atoms/href/href.component.mjs +0 -32
- package/esm2022/lib/components/atoms/href/types.mjs +0 -2
- package/esm2022/lib/components/atoms/icon/icon.component.mjs +0 -23
- package/esm2022/lib/components/atoms/image/image.component.mjs +0 -23
- package/esm2022/lib/components/atoms/image/types.mjs +0 -2
- package/esm2022/lib/components/atoms/progress-bar/progress-bar.component.mjs +0 -32
- package/esm2022/lib/components/atoms/text/text.component.mjs +0 -24
- package/esm2022/lib/components/atoms/title/title.component.mjs +0 -20
- package/esm2022/lib/components/molecules/alert-box/alert-box.component.mjs +0 -31
- package/esm2022/lib/components/molecules/button-group/button-group.component.mjs +0 -36
- package/esm2022/lib/components/molecules/card/card.component.mjs +0 -33
- package/esm2022/lib/components/molecules/card/types.mjs +0 -16
- package/esm2022/lib/components/molecules/check-input/check-input.component.mjs +0 -14
- package/esm2022/lib/components/molecules/comment-input/comment-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/content-loader/content-loader.component.mjs +0 -27
- package/esm2022/lib/components/molecules/date-input/date-input.component.mjs +0 -20
- package/esm2022/lib/components/molecules/email-input/email-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/file-input/file-input.component.mjs +0 -37
- package/esm2022/lib/components/molecules/hint/hint.component.mjs +0 -29
- package/esm2022/lib/components/molecules/hour-input/hour-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/link/link.component.mjs +0 -27
- package/esm2022/lib/components/molecules/links-cake/links-cake.component.mjs +0 -24
- package/esm2022/lib/components/molecules/no-content/no-content.component.mjs +0 -24
- package/esm2022/lib/components/molecules/no-content/types.mjs +0 -2
- package/esm2022/lib/components/molecules/notes-box/notes-box.component.mjs +0 -29
- package/esm2022/lib/components/molecules/number-input/number-input.component.mjs +0 -19
- package/esm2022/lib/components/molecules/password-input/password-input.component.mjs +0 -21
- package/esm2022/lib/components/molecules/pin-input/pin-input.component.mjs +0 -39
- package/esm2022/lib/components/molecules/progress-status/progress-status.component.mjs +0 -34
- package/esm2022/lib/components/molecules/progress-status/types.mjs +0 -2
- package/esm2022/lib/components/molecules/prompter/prompter.component.mjs +0 -27
- package/esm2022/lib/components/molecules/prompter/types.mjs +0 -2
- package/esm2022/lib/components/molecules/radio-input/radio-input.component.mjs +0 -20
- package/esm2022/lib/components/molecules/searchbar/searchbar.component.mjs +0 -35
- package/esm2022/lib/components/molecules/text-input/text-input.component.mjs +0 -20
- package/esm2022/lib/components/molecules/title-block/title-block.component.mjs +0 -26
- package/esm2022/lib/components/molecules/title-block/types.mjs +0 -2
- package/esm2022/lib/components/organisms/banner/banner.component.mjs +0 -32
- package/esm2022/lib/components/organisms/banner/types.mjs +0 -2
- package/esm2022/lib/components/organisms/footer/footer.component.mjs +0 -25
- package/esm2022/lib/components/organisms/footer/types.mjs +0 -2
- package/esm2022/lib/components/organisms/form/factory.mjs +0 -8
- package/esm2022/lib/components/organisms/form/form-footer/form-footer.component.mjs +0 -36
- package/esm2022/lib/components/organisms/form/form.component.mjs +0 -83
- package/esm2022/lib/components/organisms/header/header.component.mjs +0 -24
- package/esm2022/lib/components/organisms/header/types.mjs +0 -2
- package/esm2022/lib/components/organisms/toolbar/toolbar.component.mjs +0 -44
- package/esm2022/lib/components/organisms/toolbar/types.mjs +0 -8
- package/esm2022/lib/components/organisms/wizard/types.mjs +0 -7
- package/esm2022/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.mjs +0 -57
- package/esm2022/lib/components/organisms/wizard/wizard.component.mjs +0 -72
- package/esm2022/lib/components/types.mjs +0 -29
- package/esm2022/lib/services/download.service.mjs +0 -63
- package/esm2022/lib/services/lang-provider/components/lang-settings.mjs +0 -13
- package/esm2022/lib/services/lang-provider/components/theme-settings.mjs +0 -15
- package/esm2022/lib/services/lang-provider/content.mjs +0 -8
- package/esm2022/lib/services/lang-provider/lang-provider.service.mjs +0 -39
- package/esm2022/lib/services/lang-provider/types.mjs +0 -14
- package/esm2022/lib/services/local-storage.service.mjs +0 -16
- package/esm2022/lib/services/theme.service.mjs +0 -97
- package/esm2022/lib/shared/constants/storage.mjs +0 -3
- package/esm2022/lib/shared/utils/dom.mjs +0 -17
- package/esm2022/lib/valtech-components.module.mjs +0 -239
- package/esm2022/public-api.mjs +0 -68
- package/esm2022/valtech-components.mjs +0 -5
- package/fesm2022/valtech-components.mjs +0 -1813
- package/fesm2022/valtech-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/atoms/avatar/avatar.component.d.ts +0 -14
- package/lib/components/atoms/box/box.component.d.ts +0 -15
- package/lib/components/atoms/button/button.component.d.ts +0 -20
- package/lib/components/atoms/button/factory.d.ts +0 -71
- package/lib/components/atoms/button/types.d.ts +0 -22
- package/lib/components/atoms/display/display.component.d.ts +0 -12
- package/lib/components/atoms/divider/divider.component.d.ts +0 -11
- package/lib/components/atoms/href/href.component.d.ts +0 -15
- package/lib/components/atoms/href/types.d.ts +0 -9
- package/lib/components/atoms/icon/icon.component.d.ts +0 -12
- package/lib/components/atoms/image/image.component.d.ts +0 -12
- package/lib/components/atoms/image/types.d.ts +0 -11
- package/lib/components/atoms/progress-bar/progress-bar.component.d.ts +0 -15
- package/lib/components/atoms/text/text.component.d.ts +0 -13
- package/lib/components/atoms/title/title.component.d.ts +0 -12
- package/lib/components/molecules/alert-box/alert-box.component.d.ts +0 -14
- package/lib/components/molecules/button-group/button-group.component.d.ts +0 -15
- package/lib/components/molecules/card/card.component.d.ts +0 -16
- package/lib/components/molecules/card/types.d.ts +0 -33
- package/lib/components/molecules/check-input/check-input.component.d.ts +0 -8
- package/lib/components/molecules/comment-input/comment-input.component.d.ts +0 -12
- package/lib/components/molecules/content-loader/content-loader.component.d.ts +0 -13
- package/lib/components/molecules/date-input/date-input.component.d.ts +0 -12
- package/lib/components/molecules/email-input/email-input.component.d.ts +0 -12
- package/lib/components/molecules/file-input/file-input.component.d.ts +0 -18
- package/lib/components/molecules/hint/hint.component.d.ts +0 -13
- package/lib/components/molecules/hour-input/hour-input.component.d.ts +0 -12
- package/lib/components/molecules/link/link.component.d.ts +0 -14
- package/lib/components/molecules/links-cake/links-cake.component.d.ts +0 -12
- package/lib/components/molecules/no-content/no-content.component.d.ts +0 -12
- package/lib/components/molecules/no-content/types.d.ts +0 -6
- package/lib/components/molecules/notes-box/notes-box.component.d.ts +0 -14
- package/lib/components/molecules/number-input/number-input.component.d.ts +0 -12
- package/lib/components/molecules/password-input/password-input.component.d.ts +0 -13
- package/lib/components/molecules/pin-input/pin-input.component.d.ts +0 -17
- package/lib/components/molecules/progress-status/progress-status.component.d.ts +0 -14
- package/lib/components/molecules/progress-status/types.d.ts +0 -10
- package/lib/components/molecules/prompter/prompter.component.d.ts +0 -12
- package/lib/components/molecules/prompter/types.d.ts +0 -11
- package/lib/components/molecules/radio-input/radio-input.component.d.ts +0 -12
- package/lib/components/molecules/searchbar/searchbar.component.d.ts +0 -14
- package/lib/components/molecules/text-input/text-input.component.d.ts +0 -12
- package/lib/components/molecules/title-block/title-block.component.d.ts +0 -13
- package/lib/components/molecules/title-block/types.d.ts +0 -11
- package/lib/components/organisms/banner/banner.component.d.ts +0 -14
- package/lib/components/organisms/banner/types.d.ts +0 -11
- package/lib/components/organisms/footer/footer.component.d.ts +0 -12
- package/lib/components/organisms/footer/types.d.ts +0 -6
- package/lib/components/organisms/form/factory.d.ts +0 -5
- package/lib/components/organisms/form/form-footer/form-footer.component.d.ts +0 -16
- package/lib/components/organisms/form/form.component.d.ts +0 -23
- package/lib/components/organisms/header/header.component.d.ts +0 -12
- package/lib/components/organisms/header/types.d.ts +0 -6
- package/lib/components/organisms/toolbar/toolbar.component.d.ts +0 -20
- package/lib/components/organisms/toolbar/types.d.ts +0 -24
- package/lib/components/organisms/wizard/types.d.ts +0 -21
- package/lib/components/organisms/wizard/wizard-footer/wizard-footer.component.d.ts +0 -21
- package/lib/components/organisms/wizard/wizard.component.d.ts +0 -22
- package/lib/components/types.d.ts +0 -78
- package/lib/services/download.service.d.ts +0 -8
- package/lib/services/lang-provider/components/lang-settings.d.ts +0 -3
- package/lib/services/lang-provider/components/theme-settings.d.ts +0 -3
- package/lib/services/lang-provider/content.d.ts +0 -6
- package/lib/services/lang-provider/lang-provider.service.d.ts +0 -16
- package/lib/services/lang-provider/types.d.ts +0 -18
- package/lib/services/local-storage.service.d.ts +0 -6
- package/lib/services/theme.service.d.ts +0 -27
- package/lib/shared/constants/storage.d.ts +0 -2
- package/lib/shared/utils/dom.d.ts +0 -3
- package/lib/valtech-components.module.d.ts +0 -60
- package/public-api.d.ts +0 -64
- package/src/lib/components/styles/functions.scss +0 -20
- package/src/lib/components/styles/media-queries.scss +0 -66
- package/src/lib/components/styles/mixins.scss +0 -66
- package/src/lib/components/styles/overrides.scss +0 -158
- package/src/lib/components/styles/typography.scss +0 -189
- package/src/lib/components/styles/variables.scss +0 -82
- package/styles/overrides.scss +0 -1
- package/styles/utils.scss +0 -5
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import './variables.scss';
|
|
2
|
-
|
|
3
|
-
$base-size: $size-base;
|
|
4
|
-
|
|
5
|
-
@function pxToRem($target, $context: $base-size) {
|
|
6
|
-
@return calc($target / $context) * 1rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@function pxToRemGroup($top, $right, $bottom, $left, $context: $base-size) {
|
|
10
|
-
$top: calc($top / $context) * 1rem;
|
|
11
|
-
$right: calc($right / $context) * 1rem;
|
|
12
|
-
$bottom: calc($bottom / $context) * 1rem;
|
|
13
|
-
$left: calc($left / $context) * 1rem;
|
|
14
|
-
|
|
15
|
-
@return ($top $right $bottom $left);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@function addColorOpacity($hex, $opacity: 1) {
|
|
19
|
-
@return rgba($hex, $opacity);
|
|
20
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@mixin media-xsmall {
|
|
2
|
-
@media (min-width: 425px) {
|
|
3
|
-
@content;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
@mixin media-small {
|
|
8
|
-
@media (min-width: 576px) {
|
|
9
|
-
@content;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin media-medium {
|
|
14
|
-
@media (min-width: 768px) {
|
|
15
|
-
@content;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin media-large {
|
|
20
|
-
@media (min-width: 992px) {
|
|
21
|
-
@content;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@mixin media-xlarge {
|
|
26
|
-
@media (min-width: 1200px) {
|
|
27
|
-
@content;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* Max */
|
|
32
|
-
@mixin max-media-xsmall {
|
|
33
|
-
@media (max-width: 425px) {
|
|
34
|
-
@content;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin max-media-small {
|
|
39
|
-
@media (max-width: 576px) {
|
|
40
|
-
@content;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@mixin max-media-medium {
|
|
45
|
-
@media (max-width: 768px) {
|
|
46
|
-
@content;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@mixin max-media-large {
|
|
51
|
-
@media (max-width: 992px) {
|
|
52
|
-
@content;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@mixin max-media-xlarge {
|
|
57
|
-
@media (max-width: 1200px) {
|
|
58
|
-
@content;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@mixin dark {
|
|
63
|
-
@media (prefers-color-scheme: dark) {
|
|
64
|
-
@content;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@import './media-queries.scss';
|
|
2
|
-
@import './variables.scss';
|
|
3
|
-
@import './functions.scss';
|
|
4
|
-
@import './typography.scss';
|
|
5
|
-
|
|
6
|
-
@mixin box-shadow-small {
|
|
7
|
-
box-shadow: 0 pxToRem(4) pxToRem(12) addColorOpacity($color-default-shadow, 0.07);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@mixin box-shadow-small-top {
|
|
11
|
-
box-shadow: 0 pxToRem(-4) pxToRem(12) addColorOpacity($color-default-shadow, 0.07);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@mixin box-shadow-medium {
|
|
15
|
-
box-shadow: pxToRem(3) pxToRem(10) pxToRem(8) addColorOpacity($color-default-shadow, 0.1);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin box-shadow-medium-bottom {
|
|
19
|
-
box-shadow: pxToRem(-3) pxToRem(10) pxToRem(8) addColorOpacity($color-default-shadow, 0.1);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@mixin box-shadow-large {
|
|
23
|
-
box-shadow: 0 pxToRem(10) pxToRem(16) addColorOpacity($color-default-shadow, 0.08);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin box-shadow-large-top {
|
|
27
|
-
box-shadow: 0 pxToRem(-10) pxToRem(16) addColorOpacity($color-default-shadow, 0.07);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@mixin transform-translateY($value) {
|
|
31
|
-
transform: translateY($value);
|
|
32
|
-
-webkit-transform: translateY($value);
|
|
33
|
-
-moz-transform: translateY($value);
|
|
34
|
-
-ms-transform: translateY($value);
|
|
35
|
-
-o-transform: translateY($value);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin transform-translate-y-3d($value) {
|
|
39
|
-
-webkit-transform: translate3d(0, $value, 0);
|
|
40
|
-
-moz-transform: translate3d(0, $value, 0);
|
|
41
|
-
-o-transform: translate3d(0, $value, 0);
|
|
42
|
-
-ms-transform: translate3d(0, $value, 0);
|
|
43
|
-
transform: translate3d(0, $value, 0);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin fade-in-translateY {
|
|
47
|
-
@keyframes fadeInTranslateY {
|
|
48
|
-
@content;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@-moz-keyframes fadeInTranslateY {
|
|
52
|
-
@content;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@-webkit-keyframes fadeInTranslateY {
|
|
56
|
-
@content;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@-o-keyframes fadeInTranslateY {
|
|
60
|
-
@content;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@-ms-keyframes fadeInTranslateY {
|
|
64
|
-
@content;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
@import './variables.scss';
|
|
2
|
-
@import './functions.scss';
|
|
3
|
-
@import './mixins.scss';
|
|
4
|
-
|
|
5
|
-
/** core **/
|
|
6
|
-
|
|
7
|
-
h1,
|
|
8
|
-
h2,
|
|
9
|
-
h3,
|
|
10
|
-
h4,
|
|
11
|
-
h5,
|
|
12
|
-
h6,
|
|
13
|
-
p {
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
form {
|
|
19
|
-
width: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/** ionic components **/
|
|
23
|
-
|
|
24
|
-
ion-grid,
|
|
25
|
-
ion-col {
|
|
26
|
-
padding: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
ion-button {
|
|
30
|
-
font-weight: $font-weight-semi-bold;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
ion-card {
|
|
34
|
-
border-radius: pxToRem(8);
|
|
35
|
-
margin: pxToRem(16) auto;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
input {
|
|
39
|
-
&.native-input {
|
|
40
|
-
font-family: var(--ion-default-font), Arial, sans-serif;
|
|
41
|
-
margin-top: pxToRem(6) !important;
|
|
42
|
-
padding: pxToRem(4) pxToRem(8) !important;
|
|
43
|
-
|
|
44
|
-
border: pxToRem(1) solid var(--ion-color-medium) !important;
|
|
45
|
-
border-radius: pxToRem($border-radius-small) !important;
|
|
46
|
-
|
|
47
|
-
&:focus {
|
|
48
|
-
border: pxToRem(2) solid var(--ion-color-primary) !important;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
ion-searchbar div input {
|
|
54
|
-
padding-inline-start: pxToRem(28);
|
|
55
|
-
margin-top: pxToRem(6) !important;
|
|
56
|
-
|
|
57
|
-
border: pxToRem(1) solid var(--ion-color-medium) !important;
|
|
58
|
-
border-radius: pxToRem($border-radius-small) !important;
|
|
59
|
-
|
|
60
|
-
&:focus {
|
|
61
|
-
border: pxToRem(2) solid var(--ion-color-primary) !important;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
ion-searchbar div ion-icon {
|
|
66
|
-
margin-top: pxToRem(2);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
ion-datetime,
|
|
70
|
-
ion-select {
|
|
71
|
-
margin-top: pxToRem(8);
|
|
72
|
-
padding-left: pxToRem(10) !important;
|
|
73
|
-
border: pxToRem(1) solid var(--ion-color-medium) !important;
|
|
74
|
-
border-radius: pxToRem($border-radius-small) !important;
|
|
75
|
-
|
|
76
|
-
&:focus {
|
|
77
|
-
border: pxToRem(2) solid var(--ion-color-primary) !important;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
ion-label {
|
|
82
|
-
text-align: start;
|
|
83
|
-
font-weight: $font-weight-bold;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
ion-toolbar {
|
|
87
|
-
--background: transparent;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
ion-input {
|
|
91
|
-
margin-top: 0px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
ion-select {
|
|
95
|
-
padding-right: pxToRem(10) !important;
|
|
96
|
-
|
|
97
|
-
&.select-expanded {
|
|
98
|
-
border: pxToRem(2) solid var(--ion-color-primary) !important;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
ion-alert {
|
|
103
|
-
--min-width: 80% !important;
|
|
104
|
-
|
|
105
|
-
@include media-medium {
|
|
106
|
-
--min-width: 400px !important;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.alert-radio-label {
|
|
110
|
-
font-weight: $font-weight-bold;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
::-webkit-scrollbar {
|
|
114
|
-
-webkit-appearance: none;
|
|
115
|
-
width: 7px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
::-webkit-scrollbar-thumb {
|
|
119
|
-
border-radius: 4px;
|
|
120
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
121
|
-
box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
|
|
122
|
-
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
ion-label {
|
|
127
|
-
text-align: start;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
ion-note {
|
|
131
|
-
text-align: end !important;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
ion-toolbar {
|
|
135
|
-
--background: transparent;
|
|
136
|
-
padding: pxToRem(4) pxToRem(8);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
ion-back-button {
|
|
140
|
-
font-family: var(--ion-default-font), Arial, sans-serif;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
ion-modal .date-picker-custom {
|
|
144
|
-
max-width: 340px;
|
|
145
|
-
max-height: 390px;
|
|
146
|
-
|
|
147
|
-
.ion-page {
|
|
148
|
-
justify-content: flex-start !important;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.img-black {
|
|
153
|
-
filter: invert(0);
|
|
154
|
-
|
|
155
|
-
@media (prefers-color-scheme: dark) {
|
|
156
|
-
filter: invert(1);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
@import './variables.scss';
|
|
2
|
-
@import './functions.scss';
|
|
3
|
-
@import './media-queries.scss';
|
|
4
|
-
|
|
5
|
-
@mixin text($fontSize, $lineHeight, $fontSizeMobile, $lineHeightMobile, $fontWeight) {
|
|
6
|
-
font-size: pxToRem($fontSizeMobile);
|
|
7
|
-
line-height: pxToRem($lineHeightMobile);
|
|
8
|
-
font-weight: $fontWeight;
|
|
9
|
-
|
|
10
|
-
@include media-medium {
|
|
11
|
-
font-size: pxToRem($fontSize);
|
|
12
|
-
line-height: pxToRem($lineHeight);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin display-xlarge {
|
|
17
|
-
@include text(
|
|
18
|
-
$font-size-display-xlarge,
|
|
19
|
-
$line-height-display-xlarge,
|
|
20
|
-
$font-size-display-xlarge-responsive,
|
|
21
|
-
$line-height-display-xlarge-responsive,
|
|
22
|
-
$font-weight-extra-bold
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@mixin display-large {
|
|
27
|
-
@include text(
|
|
28
|
-
$font-size-display-large,
|
|
29
|
-
$line-height-display-large,
|
|
30
|
-
$font-size-display-large-responsive,
|
|
31
|
-
$line-height-display-large-responsive,
|
|
32
|
-
$font-weight-extra-bold
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@mixin display-medium {
|
|
37
|
-
@include text(
|
|
38
|
-
$font-size-display-medium,
|
|
39
|
-
$line-height-display-medium,
|
|
40
|
-
$font-size-display-medium-responsive,
|
|
41
|
-
$line-height-display-medium-responsive,
|
|
42
|
-
$font-weight-extra-bold
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin display-small {
|
|
47
|
-
@include text(
|
|
48
|
-
$font-size-display-small,
|
|
49
|
-
$line-height-display-small,
|
|
50
|
-
$font-size-display-small-responsive,
|
|
51
|
-
$line-height-display-small-responsive,
|
|
52
|
-
$font-weight-extra-bold
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@mixin title-large {
|
|
57
|
-
@include text(
|
|
58
|
-
$font-size-title-large,
|
|
59
|
-
$line-height-title-large,
|
|
60
|
-
$font-size-title-large-responsive,
|
|
61
|
-
$line-height-title-large-responsive,
|
|
62
|
-
$font-weight-bold
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin title-medium {
|
|
67
|
-
@include text(
|
|
68
|
-
$font-size-title-medium,
|
|
69
|
-
$line-height-title-medium,
|
|
70
|
-
$font-size-title-medium-responsive,
|
|
71
|
-
$line-height-title-medium-responsive,
|
|
72
|
-
$font-weight-bold
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@mixin title-small {
|
|
77
|
-
@include text(
|
|
78
|
-
$font-size-title-small,
|
|
79
|
-
$line-height-title-small,
|
|
80
|
-
$font-size-title-small-responsive,
|
|
81
|
-
$line-height-title-small-responsive,
|
|
82
|
-
$font-weight-bold
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@mixin body-xlarge {
|
|
87
|
-
@include text(
|
|
88
|
-
$font-size-body-xlarge,
|
|
89
|
-
$line-height-body-xlarge,
|
|
90
|
-
$font-size-body-xlarge-responsive,
|
|
91
|
-
$line-height-body-xlarge-responsive,
|
|
92
|
-
$font-weight-regular
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@mixin body-xlarge-bold {
|
|
97
|
-
@include text(
|
|
98
|
-
$font-size-body-xlarge,
|
|
99
|
-
$line-height-body-xlarge,
|
|
100
|
-
$font-size-body-xlarge-responsive,
|
|
101
|
-
$line-height-body-xlarge-responsive,
|
|
102
|
-
$font-weight-bold
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@mixin body-large {
|
|
107
|
-
@include text(
|
|
108
|
-
$font-size-body-large,
|
|
109
|
-
$line-height-body-large,
|
|
110
|
-
$font-size-body-large-responsive,
|
|
111
|
-
$line-height-body-large-responsive,
|
|
112
|
-
$font-weight-regular
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@mixin body-large-bold {
|
|
117
|
-
@include text(
|
|
118
|
-
$font-size-body-large,
|
|
119
|
-
$line-height-body-large,
|
|
120
|
-
$font-size-body-large-responsive,
|
|
121
|
-
$line-height-body-large-responsive,
|
|
122
|
-
$font-weight-bold
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@mixin body-medium {
|
|
127
|
-
@include text(
|
|
128
|
-
$font-size-body-medium,
|
|
129
|
-
$line-height-body-medium,
|
|
130
|
-
$font-size-body-medium-responsive,
|
|
131
|
-
$line-height-body-medium-responsive,
|
|
132
|
-
$font-weight-regular
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@mixin body-medium-bold {
|
|
137
|
-
@include text(
|
|
138
|
-
$font-size-body-medium,
|
|
139
|
-
$line-height-body-medium,
|
|
140
|
-
$font-size-body-medium-responsive,
|
|
141
|
-
$line-height-body-medium-responsive,
|
|
142
|
-
$font-weight-bold
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
@mixin body-small {
|
|
147
|
-
font-size: pxToRem($font-size-body-small-responsive);
|
|
148
|
-
line-height: pxToRem($line-height-body-small);
|
|
149
|
-
font-weight: $font-weight-regular;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
@mixin body-small-bold {
|
|
153
|
-
font-size: pxToRem($font-size-body-small-responsive);
|
|
154
|
-
line-height: pxToRem($line-height-body-small);
|
|
155
|
-
font-weight: $font-weight-bold;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@mixin caption {
|
|
159
|
-
font-size: pxToRem($font-size-body-small-responsive);
|
|
160
|
-
line-height: pxToRem($line-height-body-small);
|
|
161
|
-
font-weight: $font-weight-regular;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@mixin section-title {
|
|
165
|
-
@include text(
|
|
166
|
-
$font-size-display-medium,
|
|
167
|
-
$line-height-display-medium,
|
|
168
|
-
$font-size-title-large,
|
|
169
|
-
$line-height-title-large,
|
|
170
|
-
$font-weight-extra-bold
|
|
171
|
-
);
|
|
172
|
-
color: $color-title;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
@mixin header-subtitle-no-responsive {
|
|
176
|
-
font-size: pxToRem($font-size-body-large);
|
|
177
|
-
line-height: pxToRem($line-height-body-large);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
@mixin header-subtitle {
|
|
181
|
-
font-size: pxToRem($font-size-body-large-responsive);
|
|
182
|
-
line-height: pxToRem($line-height-body-large-responsive);
|
|
183
|
-
font-weight: $font-weight-regular;
|
|
184
|
-
font-style: italic;
|
|
185
|
-
|
|
186
|
-
@include media-medium {
|
|
187
|
-
@include header-subtitle-no-responsive;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
$size-base: 16;
|
|
2
|
-
/* FONT STYLES */
|
|
3
|
-
|
|
4
|
-
$font-size: $size-base + px;
|
|
5
|
-
$font-size-mobile: 14px;
|
|
6
|
-
|
|
7
|
-
$font-weight-extra-light: 200;
|
|
8
|
-
$font-weight-light: 300;
|
|
9
|
-
$font-weight-regular: 400;
|
|
10
|
-
$font-weight-medium: 500;
|
|
11
|
-
$font-weight-semi-bold: 600;
|
|
12
|
-
$font-weight-bold: 700;
|
|
13
|
-
$font-weight-extra-bold: 800;
|
|
14
|
-
$font-weight-black: 900;
|
|
15
|
-
|
|
16
|
-
$font-size-display-xlarge: 56;
|
|
17
|
-
$font-size-display-xlarge-responsive: 48;
|
|
18
|
-
$font-size-display-large: 48;
|
|
19
|
-
$font-size-display-large-responsive: 40;
|
|
20
|
-
$font-size-display-medium: 40;
|
|
21
|
-
$font-size-display-medium-responsive: 32;
|
|
22
|
-
$font-size-display-small: 32;
|
|
23
|
-
$font-size-display-small-responsive: 24;
|
|
24
|
-
$font-size-title-large: 24;
|
|
25
|
-
$font-size-title-large-responsive: 18;
|
|
26
|
-
$font-size-title-medium: 18;
|
|
27
|
-
$font-size-title-medium-responsive: 16;
|
|
28
|
-
$font-size-title-small: 16;
|
|
29
|
-
$font-size-title-small-responsive: 14;
|
|
30
|
-
$font-size-body-xlarge: 24;
|
|
31
|
-
$font-size-body-xlarge-responsive: 18;
|
|
32
|
-
$font-size-body-large: 18;
|
|
33
|
-
$font-size-body-large-responsive: 16;
|
|
34
|
-
$font-size-body-medium: 16;
|
|
35
|
-
$font-size-body-medium-responsive: 14;
|
|
36
|
-
$font-size-body-small: 14;
|
|
37
|
-
$font-size-body-small-responsive: 12;
|
|
38
|
-
|
|
39
|
-
$line-height-display-xlarge: 64;
|
|
40
|
-
$line-height-display-xlarge-responsive: 56;
|
|
41
|
-
$line-height-display-large: 56;
|
|
42
|
-
$line-height-display-large-responsive: 48;
|
|
43
|
-
$line-height-display-medium: 48;
|
|
44
|
-
$line-height-display-medium-responsive: 40;
|
|
45
|
-
$line-height-display-small: 40;
|
|
46
|
-
$line-height-display-small-responsive: 32;
|
|
47
|
-
$line-height-title-large: 32;
|
|
48
|
-
$line-height-title-large-responsive: 24;
|
|
49
|
-
$line-height-title-medium: 24;
|
|
50
|
-
$line-height-title-medium-responsive: 24;
|
|
51
|
-
$line-height-title-small: 24;
|
|
52
|
-
$line-height-title-small-responsive: 24;
|
|
53
|
-
$line-height-body-xlarge: 32;
|
|
54
|
-
$line-height-body-xlarge-responsive: 24;
|
|
55
|
-
$line-height-body-large: 24;
|
|
56
|
-
$line-height-body-large-responsive: 24;
|
|
57
|
-
$line-height-body-medium: 24;
|
|
58
|
-
$line-height-body-medium-responsive: 24;
|
|
59
|
-
$line-height-body-small: 20;
|
|
60
|
-
|
|
61
|
-
/* SIZES */
|
|
62
|
-
|
|
63
|
-
$icon-size-small: 16;
|
|
64
|
-
$icon-size-medium: 24;
|
|
65
|
-
$icon-size-large: 32;
|
|
66
|
-
$icon-size-xlarge: 40;
|
|
67
|
-
|
|
68
|
-
$container-max-xlarge: 1200;
|
|
69
|
-
$container-max-large: 960;
|
|
70
|
-
$container-max-medium: 720;
|
|
71
|
-
$container-max-small: 540;
|
|
72
|
-
|
|
73
|
-
$border-radius-small: 8;
|
|
74
|
-
$border-radius: 12;
|
|
75
|
-
|
|
76
|
-
/* COLORS */
|
|
77
|
-
$color-classic-white: #ffffff;
|
|
78
|
-
$color-alternative-white: #f5f7fa;
|
|
79
|
-
$color-default-hr: #878ca0;
|
|
80
|
-
$color-default-border: #dde3ed;
|
|
81
|
-
$color-default-shadow: #121954;
|
|
82
|
-
$color-default-placeholder: #afbacc;
|
package/styles/overrides.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '../src/lib/components/styles/overrides.scss';
|
package/styles/utils.scss
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
@import '../src/lib/components/styles/media-queries.scss';
|
|
2
|
-
@import '../src/lib/components/styles/variables.scss';
|
|
3
|
-
@import '../src/lib/components/styles/functions.scss';
|
|
4
|
-
@import '../src/lib/components/styles/typography.scss';
|
|
5
|
-
@import '../src/lib/components/styles/mixins.scss';
|