@enigmatry/entry-components 1.15.1-preview.14 → 1.15.1-preview.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.
- package/package.json +1 -1
- package/styles/_generator.scss +0 -2
- package/styles/modules/_default-theme.scss +0 -32
- package/styles/modules/components/tables/_rows.scss +0 -2
- package/styles/partials/core/components/forms/_general.scss +7 -7
- package/styles/partials/generator-test.scss +0 -8
- package/styles/modules/components/forms/_generator.scss +0 -9
- package/styles/modules/components/forms/outlines/_field-outlines.scss +0 -45
- package/styles/modules/components/forms/outlines/_form-fields.scss +0 -26
- package/styles/modules/components/forms/outlines/_general.scss +0 -9
- package/styles/modules/components/forms/selectors/_checkboxes.scss +0 -55
- package/styles/modules/components/forms/selectors/_radio-buttons.scss +0 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enigmatry/entry-components",
|
|
3
|
-
"version": "1.15.1-preview.
|
|
3
|
+
"version": "1.15.1-preview.15",
|
|
4
4
|
"author": "Enigmatry",
|
|
5
5
|
"description": "Enigmatry entry angular material components",
|
|
6
6
|
"homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/entry-components#readme",
|
package/styles/_generator.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'modules/components/dialogs/generator' as dialog;
|
|
2
2
|
@use 'modules/components/headers/generator' as header;
|
|
3
3
|
@use 'modules/components/tables/generator' as table;
|
|
4
|
-
@use 'modules/components/forms/generator' as form;
|
|
5
4
|
@use 'modules/elements/generator' as elements;
|
|
6
5
|
@use 'modules/default-theme' as default;
|
|
7
6
|
@use 'modules/angular-material-generator' as material-theme;
|
|
@@ -13,7 +12,6 @@
|
|
|
13
12
|
@include material-theme.generate-from($merged-theme);
|
|
14
13
|
@include elements.generate-from($merged-theme);
|
|
15
14
|
@include table.generate-from($merged-theme);
|
|
16
|
-
@include form.generate-from($merged-theme);
|
|
17
15
|
@include dialog.generate-from($merged-theme);
|
|
18
16
|
@include header.generate-from($merged-theme);
|
|
19
17
|
}
|
|
@@ -21,38 +21,6 @@ $theme: (
|
|
|
21
21
|
background-color: #FFF
|
|
22
22
|
)
|
|
23
23
|
),
|
|
24
|
-
forms: (
|
|
25
|
-
fields: (
|
|
26
|
-
infix-padding-top: .4375em,
|
|
27
|
-
infix-padding-bottom: .4375em,
|
|
28
|
-
label-color: #0000008A,
|
|
29
|
-
underline-display: block,
|
|
30
|
-
outline: (
|
|
31
|
-
border: 2px solid #EBEBEB,
|
|
32
|
-
border-hover: 2px solid #2581C4,
|
|
33
|
-
border-right: none,
|
|
34
|
-
border-left: none,
|
|
35
|
-
disabled-background: #F5F5F5,
|
|
36
|
-
disabled-hover: 2px solid #EBEBEB
|
|
37
|
-
)
|
|
38
|
-
),
|
|
39
|
-
checkboxes: (
|
|
40
|
-
width: 20px,
|
|
41
|
-
height: 20px,
|
|
42
|
-
background-color: #FFF,
|
|
43
|
-
checkmark-color: #000,
|
|
44
|
-
selected-border-color: #000,
|
|
45
|
-
selected-background-color: #FFF,
|
|
46
|
-
border: 2px solid #0000008A,
|
|
47
|
-
border-hover: 2px solid #0000008A,
|
|
48
|
-
border-radius: 0,
|
|
49
|
-
label-breaking: nowrap
|
|
50
|
-
),
|
|
51
|
-
radio-buttons: (
|
|
52
|
-
align: flex-start,
|
|
53
|
-
white-space: nowrap
|
|
54
|
-
),
|
|
55
|
-
),
|
|
56
24
|
tables: (
|
|
57
25
|
cells: (
|
|
58
26
|
first-cell-padding-left: 4px,
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
@mixin generate-from($theme) {
|
|
5
5
|
.mat-mdc-row {
|
|
6
|
-
$edge-selected-color: map.get($theme, 'forms', 'checkboxes', 'selected-border-color');
|
|
7
|
-
|
|
8
6
|
@include list.row-coloring(map.get($theme, 'tables', 'rows', 'odd-even-background'),
|
|
9
7
|
map.get($theme, 'tables', 'rows', 'odd-even-row'));
|
|
10
8
|
|
|
@@ -4,18 +4,18 @@
|
|
|
4
4
|
.action-buttons {
|
|
5
5
|
margin-top: 25px;
|
|
6
6
|
|
|
7
|
-
.button {
|
|
7
|
+
.mdc-button:not(:first-child) {
|
|
8
8
|
margin-left: 10px;
|
|
9
|
-
|
|
10
|
-
&:first-child {
|
|
11
|
-
margin-left: 0;
|
|
12
|
-
}
|
|
13
9
|
}
|
|
14
10
|
}
|
|
15
11
|
}
|
|
16
12
|
|
|
17
|
-
.mat-
|
|
18
|
-
|
|
13
|
+
.mat-mdc-form-field {
|
|
14
|
+
margin-bottom: 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.mdc-form-field {
|
|
18
|
+
margin-bottom: 10px;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.datetimepicker {
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
@use 'outlines/general' as appearance-outlines;
|
|
2
|
-
@use 'selectors/checkboxes';
|
|
3
|
-
@use 'selectors/radio-buttons';
|
|
4
|
-
|
|
5
|
-
@mixin generate-from($theme) {
|
|
6
|
-
@include appearance-outlines.generate-from($theme);
|
|
7
|
-
@include checkboxes.generate-from($theme);
|
|
8
|
-
@include radio-buttons.generate-from($theme);
|
|
9
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@mixin -generate($border-value, $theme) {
|
|
4
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
5
|
-
.mat-form-field-outline-start, .mat-form-field-outline-gap, .mat-form-field-outline-end {
|
|
6
|
-
border: $border-value;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
10
|
-
.mat-form-field-outline-start, .mat-form-field-outline-gap {
|
|
11
|
-
border-right-style: map.get($theme, 'forms', 'fields', 'outline', 'border-right');
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
15
|
-
.mat-form-field-outline-end, .mat-form-field-outline-gap {
|
|
16
|
-
border-left-style: map.get($theme, 'forms', 'fields', 'outline', 'border-left');
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@mixin generate-from($theme) {
|
|
21
|
-
@include -generate(map.get($theme, 'forms', 'fields', 'outline', 'border'), $theme);
|
|
22
|
-
|
|
23
|
-
&.mat-focused, &:hover {
|
|
24
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
25
|
-
.mat-form-field-outline {
|
|
26
|
-
border-bottom: map.get($theme, 'forms', 'fields', 'outline', 'border-hover');
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@include -generate(transparent, $theme);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.mat-form-field-disabled {
|
|
33
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
34
|
-
.mat-form-field-outline {
|
|
35
|
-
background-color: map.get($theme, 'forms', 'fields', 'outline', 'disabled-background');
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&:hover {
|
|
39
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
40
|
-
.mat-form-field-outline-start, .mat-form-field-outline-gap, .mat-form-field-outline-end {
|
|
41
|
-
border-color: map.get($theme, 'forms', 'fields', 'outline', 'disabled-hover');
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@mixin generate-from($theme) {
|
|
4
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
5
|
-
.mat-form-field-label {
|
|
6
|
-
color: map.get($theme, 'forms', 'fields', 'label-color');
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
10
|
-
.mat-form-field-infix {
|
|
11
|
-
padding: {
|
|
12
|
-
top: map.get($theme, 'forms', 'fields', 'infix-padding-top');
|
|
13
|
-
bottom: map.get($theme, 'forms', 'fields', 'infix-padding-bottom');
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
18
|
-
.mat-form-field-flex {
|
|
19
|
-
background-color: map.get($theme, 'general', 'inputs', 'background-color');
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
23
|
-
.mat-form-field-underline {
|
|
24
|
-
display: map.get($theme, 'forms', 'fields', 'underline-display');
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@mixin generate-from($theme) {
|
|
4
|
-
.mat-checkbox {
|
|
5
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
6
|
-
.mat-checkbox-inner-container {
|
|
7
|
-
width: map.get($theme, 'forms', 'checkboxes', 'width');
|
|
8
|
-
height: map.get($theme, 'forms', 'checkboxes', 'height');
|
|
9
|
-
background-color: map.get($theme, 'forms', 'checkboxes', 'background-color');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
13
|
-
.mat-checkbox-label {
|
|
14
|
-
white-space: map.get($theme, 'forms', 'checkboxes', 'label-breaking');
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
18
|
-
.mat-checkbox-frame {
|
|
19
|
-
border: map.get($theme, 'forms', 'checkboxes', 'border');
|
|
20
|
-
border-radius: map.get($theme, 'forms', 'checkboxes', 'border-radius');
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
24
|
-
.mat-checkbox-checkmark-path {
|
|
25
|
-
/* stylelint-disable-next-line declaration-no-important */
|
|
26
|
-
stroke: map.get($theme, 'forms', 'checkboxes', 'checkmark-color') !important;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
31
|
-
.mat-checkbox-frame {
|
|
32
|
-
border: map.get($theme, 'forms', 'checkboxes', 'border-hover');
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
37
|
-
&.mat-checkbox-checked {
|
|
38
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
39
|
-
.mat-checkbox-background {
|
|
40
|
-
background-color: map.get($theme, 'forms', 'checkboxes', 'selected-background-color');
|
|
41
|
-
|
|
42
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
43
|
-
.mat-checkbox-checkmark-path {
|
|
44
|
-
/* stylelint-disable-next-line declaration-no-important */
|
|
45
|
-
stroke: map.get($theme, 'forms', 'checkboxes', 'selected-checkmark-color') !important;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
50
|
-
.mat-checkbox-frame {
|
|
51
|
-
border-color: map.get($theme, 'forms', 'checkboxes', 'selected-background-color');
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@mixin generate-from($theme) {
|
|
4
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
5
|
-
.mat-radio-group {
|
|
6
|
-
|
|
7
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
8
|
-
.mat-radio-label {
|
|
9
|
-
align-items: map.get($theme, 'forms', 'radio-buttons', 'align');
|
|
10
|
-
white-space: map.get($theme, 'forms', 'radio-buttons', 'white-space');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
$background: map.get($theme, 'general', 'inputs', 'background-color');
|
|
14
|
-
|
|
15
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
16
|
-
.mat-radio-button {
|
|
17
|
-
|
|
18
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
19
|
-
.mat-radio-outer-circle {
|
|
20
|
-
border-color: $background;
|
|
21
|
-
background-color: $background;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
25
|
-
&.mat-radio-checked {
|
|
26
|
-
|
|
27
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
28
|
-
.mat-radio-outer-circle {
|
|
29
|
-
border-color: $background;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
|
|
33
|
-
.mat-radio-inner-circle {
|
|
34
|
-
background-color: map.get($theme, 'general', 'colors', 'primary');
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|