ecabs-components 1.0.13 → 1.0.15

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/esm2020/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +2 -2
  2. package/esm2020/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.mjs +24 -6
  3. package/esm2020/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.mjs +8 -8
  4. package/esm2020/lib/ecabs-dialog-message/ecabs-dialog-message.component.mjs +21 -3
  5. package/esm2020/lib/ecabs-increment/ecabs-increment.component.mjs +2 -2
  6. package/esm2020/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +8 -3
  7. package/esm2020/lib/ecabs-language-selector/ecabs-language-selector.module.mjs +8 -4
  8. package/esm2020/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +2 -2
  9. package/fesm2015/ecabs-components.mjs +68 -25
  10. package/fesm2015/ecabs-components.mjs.map +1 -1
  11. package/fesm2020/ecabs-components.mjs +66 -25
  12. package/fesm2020/ecabs-components.mjs.map +1 -1
  13. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.d.ts +9 -4
  14. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.d.ts +4 -4
  15. package/lib/ecabs-dialog-message/ecabs-dialog-message.component.d.ts +7 -1
  16. package/lib/ecabs-language-selector/ecabs-language-selector.component.d.ts +3 -1
  17. package/lib/ecabs-language-selector/ecabs-language-selector.module.d.ts +2 -1
  18. package/package.json +1 -1
  19. package/styles/material/_theme.scss +0 -74
  20. package/styles/material/overrides/_autocomplete.scss +0 -11
  21. package/styles/material/overrides/_button.scss +0 -81
  22. package/styles/material/overrides/_card.scss +0 -17
  23. package/styles/material/overrides/_chip.scss +0 -108
  24. package/styles/material/overrides/_datepicker.scss +0 -169
  25. package/styles/material/overrides/_dialog.scss +0 -12
  26. package/styles/material/overrides/_divider.scss +0 -3
  27. package/styles/material/overrides/_expansion.scss +0 -31
  28. package/styles/material/overrides/_form.scss +0 -144
  29. package/styles/material/overrides/_icon.scss +0 -3
  30. package/styles/material/overrides/_menu.scss +0 -3
  31. package/styles/material/overrides/_paginator.scss +0 -0
  32. package/styles/material/overrides/_phone.scss +0 -32
  33. package/styles/material/overrides/_select.scss +0 -62
  34. package/styles/material/overrides/_tab.scss +0 -23
  35. package/styles/material/overrides/_table.scss +0 -12
  36. package/styles/material/overrides/_toaster.scss +0 -38
  37. package/styles/material/overrides/_toggle.scss +0 -15
  38. package/styles/material/overrides/_toolbar.scss +0 -3
  39. package/styles/material/overrides/_tooltip.scss +0 -3
  40. package/styles/material/overrides/index.scss +0 -20
  41. package/styles/scss/base/_heading.scss +0 -17
  42. package/styles/scss/base/_normalize.scss +0 -78
  43. package/styles/scss/base/index.scss +0 -2
  44. package/styles/scss/modules/_autocomplete.scss +0 -29
  45. package/styles/scss/modules/_button.scss +0 -221
  46. package/styles/scss/modules/_card.scss +0 -23
  47. package/styles/scss/modules/_chip.scss +0 -56
  48. package/styles/scss/modules/_datepicker.scss +0 -426
  49. package/styles/scss/modules/_dialog.scss +0 -14
  50. package/styles/scss/modules/_divider.scss +0 -3
  51. package/styles/scss/modules/_form.scss +0 -233
  52. package/styles/scss/modules/_icon.scss +0 -30
  53. package/styles/scss/modules/_img.scss +0 -32
  54. package/styles/scss/modules/_legend.scss +0 -64
  55. package/styles/scss/modules/_list.scss +0 -17
  56. package/styles/scss/modules/_map.scss +0 -112
  57. package/styles/scss/modules/_percentage.scss +0 -33
  58. package/styles/scss/modules/_phone.scss +0 -29
  59. package/styles/scss/modules/_select.scss +0 -41
  60. package/styles/scss/modules/_statuses.scss +0 -31
  61. package/styles/scss/modules/_tab.scss +0 -16
  62. package/styles/scss/modules/_table.scss +0 -107
  63. package/styles/scss/modules/_timepicker.scss +0 -96
  64. package/styles/scss/modules/_toaster.scss +0 -53
  65. package/styles/scss/modules/_tooltip.scss +0 -7
  66. package/styles/scss/modules/drag-drop.scss +0 -31
  67. package/styles/scss/modules/index.scss +0 -23
  68. package/styles/scss/utilities/_colors.scss +0 -52
  69. package/styles/scss/utilities/_fonts.scss +0 -26
  70. package/styles/scss/utilities/_functions.scss +0 -27
  71. package/styles/scss/utilities/_helpers.scss +0 -5
  72. package/styles/scss/utilities/_mixins.scss +0 -65
  73. package/styles/scss/utilities/_palettes.scss +0 -74
  74. package/styles/scss/utilities/_variables.scss +0 -19
  75. package/styles/scss/utilities/index.scss +0 -7
  76. package/styles/styles.scss +0 -5
  77. package/styles/tailwind/index.scss +0 -756
@@ -1,107 +0,0 @@
1
- .table-ui {
2
- text-align: left;
3
-
4
- /* #Wrapper */
5
- @include m(wrapper) {
6
- position: relative;
7
- box-shadow: $box-shadow-default;
8
- border-radius: $border-radius-base * 2;
9
- width: 100%;
10
- padding: calc-rem(24);
11
- background-color: var(--color-white);
12
-
13
- &.loading:after {
14
- @extend %pseudos;
15
-
16
- top: 0;
17
- left: 0;
18
- width: 100%;
19
- height: 100%;
20
-
21
- background-color: var(--color-gray-200);
22
- opacity: 0.5;
23
- z-index: 999;
24
- }
25
- }
26
-
27
- table {
28
- width: 100%;
29
- }
30
-
31
- thead {
32
- @include fontSize($font-size-xs);
33
-
34
- color: var(--color-gray-500);
35
- }
36
-
37
- thead th,
38
- th {
39
- border-bottom: 1px solid var(--color-gray-400);
40
- color: var(--color-gray-500);
41
- padding: calc-rem(14) calc-rem(14) calc-rem(14) 0;
42
- font-weight: $font-weight-regular;
43
-
44
- &:first-of-type {
45
- padding-left: calc-rem(14);
46
- }
47
-
48
- &:last-of-type {
49
- padding-right: calc-rem(14);
50
- }
51
- }
52
-
53
- td {
54
- padding: calc-rem(14);
55
- }
56
-
57
- a {
58
- color: var(--color-brand-light);
59
- line-height: 1;
60
-
61
- &:hover {
62
- color: var(--color-brand-dark);
63
- }
64
- }
65
-
66
- /* #Bordered */
67
- @include e(bordered) {
68
- td,
69
- th {
70
- border-bottom: 1px solid var(--color-gray-200);
71
- }
72
- }
73
-
74
- /* #Paginator */
75
- @include e(paginator) {
76
- margin-top: 1.2rem;
77
-
78
- @include m(wrapper) {
79
- .table-ui__bordered & {
80
- border-bottom: 0;
81
- padding-bottom: 0;
82
- }
83
-
84
- > * {
85
- display: inline-block;
86
- }
87
- }
88
-
89
- @include m(sizer) {
90
- float: right;
91
- }
92
- }
93
-
94
- /* #Header */
95
- @include e(header) {
96
- margin-bottom: 1.2rem;
97
- }
98
-
99
- /* #Progress */
100
- @include e(progress) {
101
- border-radius: $border-radius-base;
102
- position: absolute;
103
- top: 0;
104
- left: 0.12rem;
105
- right: 0.12rem;
106
- }
107
- }
@@ -1,96 +0,0 @@
1
- app-form-timepicker {
2
- .timeInputWrapper {
3
- position: relative;
4
- display: inline-block;
5
- z-index: 1;
6
- width: 100%;
7
- .timeInputFieldWrapper {
8
- position: relative;
9
- z-index: 1;
10
- }
11
- input {
12
- min-height: 42px;
13
- width: 100%;
14
- display: block;
15
- box-sizing: border-box;
16
- font-size: 0.875rem;
17
- padding: calc-rem(8) calc-rem(16);
18
- border-radius: $border-radius-base;
19
- border: 1px solid var(--color-gray-500);
20
- color: var(--color-black);
21
- outline: none;
22
- transition: all 300ms ease-in-out;
23
- &::placeholder {
24
- color: rgba(22, 42, 76, 0.5);
25
- }
26
-
27
- &:disabled {
28
- border-bottom-width: 1px;
29
- background-color: var(--color-white-opacity-05);
30
- }
31
- }
32
-
33
- input[type='number']::-webkit-inner-spin-button,
34
- input[type='number']::-webkit-outer-spin-button {
35
- -webkit-appearance: none;
36
- margin: 0;
37
- }
38
-
39
- &.disabled {
40
- .descriptions {
41
- background: transparent;
42
- }
43
- }
44
- }
45
- }
46
- .form-time-list {
47
- z-index: 98;
48
- display: inline-block;
49
- position: absolute;
50
- .list {
51
- background-color: white;
52
- position: absolute;
53
- width: 100%;
54
- box-sizing: border-box;
55
- box-shadow: 0px 4px 6px rgba(22, 42, 76, 0.08), 0px 2px 16px rgba(22, 42, 76, 0.06),
56
- 0px 8px 12px rgba(22, 42, 76, 0.04);
57
- border-radius: 0px 0px 4px 4px;
58
- height: 224px;
59
- overflow: hidden;
60
-
61
- .inner-scroll {
62
- width: 100%;
63
- height: 100%;
64
- overflow: auto;
65
-
66
- .inner {
67
- ul {
68
- list-style: none;
69
- padding: 0px;
70
- margin: 0px;
71
- display: block;
72
-
73
- li {
74
- display: block;
75
- padding: 8px 12px;
76
- font-size: 13px;
77
- line-height: 20px;
78
- font-weight: normal;
79
- color: rgba(22, 42, 76, 0.9);
80
- cursor: pointer;
81
- &:last-child {
82
- border-color: transparent;
83
- }
84
-
85
- &.active {
86
- color: #376bfb;
87
- }
88
- &.hovered {
89
- background: rgba(22, 42, 76, 0.075);
90
- }
91
- }
92
- }
93
- }
94
- }
95
- }
96
- }
@@ -1,53 +0,0 @@
1
- .toaster__body {
2
- padding: 1.5rem 4rem 1.5rem 1.5rem;
3
- border-radius: 4px;
4
-
5
- &.success {
6
- background-color: var(--color-success--opacity);
7
- color: var(--color-success);
8
-
9
- .close-button {
10
- color: var(--color-success);
11
- }
12
- }
13
-
14
- &.error {
15
- background-color: var(--color-error-opacity);
16
- color: var(--color-error);
17
-
18
- .close-button {
19
- color: var(--color-error);
20
- }
21
- }
22
-
23
- &.warning {
24
- background-color: var(--color-warning-opacity);
25
- color: var(--color-warning);
26
-
27
- .close-button {
28
- color: var(--color-warning);
29
- }
30
- }
31
-
32
- &.info {
33
- background-color: rgba(var(--color-info-rgb), .05);
34
- color: var(--color-info);
35
-
36
- .close-button {
37
- color: var(--color-info);
38
- }
39
- }
40
-
41
- .close-button {
42
- position: absolute;
43
- right: 1.75rem;
44
- top: calc(50% - 1rem);
45
- font-family: 'Material Icons';
46
- font-weight: 200;
47
- font-size: 21px;
48
-
49
- &::before {
50
- content: 'close';
51
- }
52
- }
53
- }
@@ -1,7 +0,0 @@
1
- .tooltip {
2
- @include fontSize($font-size-xs);
3
-
4
- padding: calc-rem(3 8);
5
- background-color: var(--color-gray-500);
6
- color: var(--color-white);
7
- }
@@ -1,31 +0,0 @@
1
- .drag-drop {
2
- @include m(container) {
3
- background-color: var(--color-white);
4
-
5
- &.cdk-drop-list-dragging .drag-drop--item:not(.cdk-drag-placeholder) {
6
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
7
- }
8
- .cdk-drag-animating {
9
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
10
- }
11
- }
12
-
13
- @include m(item) {
14
- background-color: var(--color-white);
15
- cursor: move;
16
-
17
- &.cdk-drag-preview {
18
- border-radius: $border-radius-base;
19
- box-shadow: $box-shadow-default;
20
- padding-left: calc-rem(32);
21
- padding-right: calc-rem(32);
22
- }
23
- }
24
-
25
- @include m(placeholder) {
26
- background: var(--color-gray-200);
27
- border: dashed 2px var(--color-gray-400) !important;
28
- min-height: calc-rem(120);
29
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
30
- }
31
- }
@@ -1,23 +0,0 @@
1
- @import 'button';
2
- @import 'card';
3
- @import 'chip';
4
- @import 'datepicker';
5
- @import 'dialog';
6
- @import 'divider';
7
- @import 'drag-drop';
8
- @import 'form';
9
- @import 'icon';
10
- @import 'img';
11
- @import 'legend';
12
- @import 'list';
13
- @import 'map';
14
- @import 'phone';
15
- @import 'select';
16
- @import 'statuses';
17
- @import 'tab';
18
- @import 'table';
19
- @import 'timepicker';
20
- @import 'toaster';
21
- @import 'tooltip';
22
- @import 'percentage';
23
- @import 'autocomplete';
@@ -1,52 +0,0 @@
1
- :root {
2
- --color-black: #07080d;
3
- --color-white: #ffffff;
4
- --color-white-opacity-05: rgba(0, 0, 0, 0.05);
5
-
6
- /* #Grays */
7
- --color-gray-100: #f5f6f9;
8
- --color-gray-200: #f8f9f9;
9
- --color-gray-300: #d9d9d9;
10
- --color-gray-400: #a6a6a6;
11
- --color-gray-500: #6b6d73;
12
-
13
- /* #Brand */
14
- --color-brand-dark: #193273;
15
- --color-brand-dark-rgb: 25, 50, 115;
16
-
17
- --color-brand-light: #325FDA;
18
- --color-brand-light2: #e7efff;
19
- --color-brand-light-rgb: 50, 95, 218;
20
-
21
- --color-brand-300: #e7efff;
22
- --color-brand-300-rgb: 231, 239, 255;
23
-
24
- /* #Accent */
25
- --color-error: #df3838;
26
- --color-error-opacity: #fbe4e4;
27
- --color-error-rgb: 223, 56, 56;
28
-
29
- --color-notification: #f4d04f;
30
- --color-notification-rgb: 244, 208, 79;
31
-
32
- --color-warn: #f2994a;
33
- --color-warn-rgb: 242, 153, 74;
34
-
35
- --color-info: #325fda;
36
- --color-info-rgb: 50, 95, 218;
37
-
38
- --color-warning: #f2994a;
39
- --color-warning-opacity: #fdf0e4;
40
-
41
- --color-success: #25bd3d;
42
- --color-success--opacity: #e8f8e5;
43
- --color-success-rgb: 37, 189, 61;
44
-
45
- --color-allocation-started: #E8F8E5;
46
- --color-allocation-scheduled: #FDF0E4;
47
- --color-allocation-ended: #FBE4E4;
48
- --color-allocation-sick: #E7EFFF;
49
- --color-allocation-no-show: #EAE5FF;
50
- --color-allocation-unavailable: #F2F2F2;
51
- --cropper-outline-color : rgba(0, 0, 0, 0.5);
52
- }
@@ -1,26 +0,0 @@
1
- // #Family
2
- $font-family-primary: 'Segment', 'sans-serif';
3
- $font-family-fallback: 'Lato', sans-serif;
4
-
5
- // #Weights
6
- $font-weight-thin: 300;
7
- $font-weight-regular: 400;
8
- $font-weight-medium: 500;
9
- $font-weight-semibold: 600;
10
- $font-weight-bold: 700;
11
- $font-weight-extra-bold: 800;
12
-
13
- // #Sizes
14
- $font-size-xs: 12px;
15
- $font-size-sm: 14px;
16
- $font-size-base: 16px;
17
- $font-size-lg: 18px;
18
-
19
- $font-heading-xs: 22px;
20
- $font-heading-sm: 28px;
21
- $font-heading-md: 32px;
22
- $font-heading-base: 34px;
23
- $font-heading-lg: 36px;
24
-
25
- // Height
26
- $base-line-height: 1.5;
@@ -1,27 +0,0 @@
1
- @use 'sass:math';
2
- // Converting pixel-based font-sizes to scalable REMs.
3
- $base-rem: 16px;
4
-
5
- @function strip-unit($num) {
6
- @return math.div($num, ($num * 0 + 1));
7
- }
8
-
9
- @function cast-rem($value, $base-value: $base-rem) {
10
- $value: math.div(strip-unit($value), strip-unit($base-value)) * 1rem;
11
- @if ($value == 0rem) {
12
- $value: 0;
13
- } // Turn 0rem into 0
14
- @return $value;
15
- }
16
-
17
- @function calc-rem($values, $base-value: $base-rem) {
18
- $max: length($values);
19
- @if $max == 1 {
20
- @return cast-rem(nth($values, 1), $base-value);
21
- }
22
- $remValues: ();
23
- @for $i from 1 through $max {
24
- $remValues: append($remValues, cast-rem(nth($values, $i), $base-value));
25
- }
26
- @return $remValues;
27
- }
@@ -1,5 +0,0 @@
1
- // For Pseudo Elements
2
- %pseudos {
3
- position: absolute;
4
- content: '';
5
- }
@@ -1,65 +0,0 @@
1
- // Calculates font size in REMs with a pixel fallback.
2
- @mixin fontSize($size) {
3
- font-size: $size;
4
- font-size: calc-rem($size);
5
- }
6
-
7
- // ==========================================================================
8
- // BEM Naming Functions
9
- // ==========================================================================
10
- // Element Mixin
11
- @mixin e($element) {
12
- &__#{$element} {
13
- @content;
14
- }
15
- }
16
-
17
- // Modifier Mixin
18
- @mixin m($modifier) {
19
- &--#{$modifier} {
20
- @content;
21
- }
22
- }
23
-
24
- // Generate ::before or ::after pseudo-element shapes
25
- @mixin p-el($el-name, $h: 'null', $w: 'null') {
26
- @if $el-name == 'before' or $el-name == 'after' {
27
- &::#{$el-name} {
28
- @extend %pseudos;
29
- width: $w;
30
- height: $h;
31
- @content;
32
- }
33
- } @else {
34
- @error '"#{$el-name}" is not a valid pseudo element.';
35
- }
36
- }
37
-
38
- // ==========================================================================
39
- // Media Query Functions
40
- // ==========================================================================
41
- @mixin media-q($break) {
42
- @if $break == 'small' {
43
- @media (min-width: map-get($breakpoints, 'xs')) and (max-width: map-get($breakpoints, 'md')) {
44
- @content;
45
- }
46
- } @else if $break == 'medium' {
47
- @media (min-width: map-get($breakpoints, 'md') + 1) {
48
- @content;
49
- }
50
- } @else if $break == 'large' {
51
- @media (min-width: map-get($breakpoints, 'lg')) {
52
- @content;
53
- }
54
- } @else if $break == 'x-large' {
55
- @media (min-width: map-get($breakpoints, 'xl')) {
56
- @content;
57
- }
58
- } @else if $break == 'xx-large' {
59
- @media (min-width: map-get($breakpoints, 'xxl')) {
60
- @content;
61
- }
62
- } @else {
63
- @error '"#{$break}" is not a valid breakpoint. Please enter a supported value (e.g. "small", "medium" or "large")';
64
- }
65
- }
@@ -1,74 +0,0 @@
1
- $brand-palette-primary: (
2
- 50: #e8eafa,
3
- 100: #c4caf2,
4
- 200: #9ca9e9,
5
- 300: #7287e0,
6
- 400: #506bda,
7
- 500: #2650d2,
8
- 600: #2048c7,
9
- 700: #103ebb,
10
- 800: #0033b0,
11
- 900: #001f9d,
12
- contrast: (
13
- 50: #e6e9f1,
14
- 100: #c0c7de,
15
- 200: #97a4c7,
16
- 300: #6f81b1,
17
- 400: #5066a2,
18
- 500: #304d93,
19
- 600: #2a458b,
20
- 700: #213c7f,
21
- 800: #193273,
22
- 900: #0d225c
23
- )
24
- );
25
-
26
- $brand-palette-accent: (
27
- 50: #e8ebfa,
28
- 100: #c5ccf2,
29
- 200: #9eacea,
30
- 300: #748be2,
31
- 400: #5270db,
32
- 500: #2856d4,
33
- 600: #214dc9,
34
- 700: #1243bd,
35
- 800: #0038b1,
36
- 900: #00259e,
37
- contrast: (
38
- 50: #e7efff,
39
- 100: #c4d6fa,
40
- 200: #9ebcf3,
41
- 300: #73a1eb,
42
- 400: #4c8ae5,
43
- 500: #0374e0,
44
- 600: #006bd5,
45
- 700: #0060c8,
46
- 800: #0056bc,
47
- 900: #0043a7
48
- )
49
- );
50
-
51
- $brand-palette-warn: (
52
- 50: #ffeaed,
53
- 100: #ffcacf,
54
- 200: #ff9492,
55
- 300: #ff6666,
56
- 400: #ff383c,
57
- 500: #ff2019,
58
- 600: #ff051d,
59
- 700: #ec0017,
60
- 800: #df000f,
61
- 900: #ce0000,
62
- contrast: (
63
- 50: #fdf0e4,
64
- 100: #fed8b6,
65
- 200: #ffbe84,
66
- 300: #ffa254,
67
- 400: #ff8e36,
68
- 500: #fd7b24,
69
- 600: #f87025,
70
- 700: #f16025,
71
- 800: #e94f24,
72
- 900: #de2e23
73
- )
74
- );
@@ -1,19 +0,0 @@
1
- /* #Box shadows */
2
- $box-shadow-default: 0px 0px 10px rgba(0, 0, 0, 0.1);
3
- $box-shadow-large: 0 0 25px rgba(0, 0, 0, 0.2);
4
-
5
- /* #Border settings */
6
- $border-radius-base: .25rem;
7
-
8
- /* #Transition */
9
- $trans-duration-style: .24s ease-out;
10
-
11
- /* #Viewport Breakpoints */
12
- $breakpoints: (
13
- xs: 0,
14
- sm: 576px,
15
- md: 768px,
16
- lg: 992px,
17
- xl: 1200px,
18
- xxl: 1400px
19
- );
@@ -1,7 +0,0 @@
1
- @import "./variables";
2
- @import "./functions";
3
- @import "./colors";
4
- @import "./fonts";
5
- @import "./helpers";
6
- @import "./mixins";
7
- @import "./palettes";
@@ -1,5 +0,0 @@
1
- @import "./material/theme";
2
- @import "./scss/modules/index";
3
- @import "./scss/utilities/index";
4
- @import "./scss/base/index";
5
- @import "./tailwind/index";