@enigmatry/entry-components 1.15.1-preview.23 → 1.15.1-preview.25

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 (37) hide show
  1. package/dialog/README.md +2 -2
  2. package/dialog/entry-dialog-buttons-alignment.type.d.ts +1 -1
  3. package/dialog/entry-dialog-config.model.d.ts +1 -1
  4. package/dialog/entry-dialog.module.d.ts +4 -1
  5. package/esm2020/dialog/dialogs/entry-dialog.component.mjs +8 -5
  6. package/esm2020/dialog/entry-dialog-buttons-alignment.type.mjs +1 -2
  7. package/esm2020/dialog/entry-dialog-config.model.mjs +3 -3
  8. package/esm2020/dialog/entry-dialog.module.mjs +16 -4
  9. package/esm2020/search-filter/entry-search-filter.component.mjs +8 -6
  10. package/esm2020/search-filter/entry-search-filter.module.mjs +12 -4
  11. package/esm2020/search-filter/search-filter-input/search-filter-input.component.mjs +3 -3
  12. package/esm2020/validation/entry-form-errors.component.mjs +7 -3
  13. package/fesm2015/enigmatry-entry-components-dialog.mjs +22 -7
  14. package/fesm2015/enigmatry-entry-components-dialog.mjs.map +1 -1
  15. package/fesm2015/enigmatry-entry-components-search-filter.mjs +18 -8
  16. package/fesm2015/enigmatry-entry-components-search-filter.mjs.map +1 -1
  17. package/fesm2015/enigmatry-entry-components-validation.mjs +6 -2
  18. package/fesm2015/enigmatry-entry-components-validation.mjs.map +1 -1
  19. package/fesm2020/enigmatry-entry-components-dialog.mjs +22 -7
  20. package/fesm2020/enigmatry-entry-components-dialog.mjs.map +1 -1
  21. package/fesm2020/enigmatry-entry-components-search-filter.mjs +18 -8
  22. package/fesm2020/enigmatry-entry-components-search-filter.mjs.map +1 -1
  23. package/fesm2020/enigmatry-entry-components-validation.mjs +6 -2
  24. package/fesm2020/enigmatry-entry-components-validation.mjs.map +1 -1
  25. package/package.json +1 -1
  26. package/search-filter/entry-search-filter.module.d.ts +4 -2
  27. package/styles/_generator.scss +5 -0
  28. package/styles/modules/_default-theme.scss +6 -0
  29. package/styles/modules/components/dialogs/_generator.scss +6 -1
  30. package/styles/modules/components/forms/_generator.scss +15 -0
  31. package/styles/modules/components/search-filter/_generator.scss +15 -0
  32. package/styles/modules/components/tables/_cells.scss +4 -0
  33. package/styles/partials/core/components/_index.scss +2 -1
  34. package/styles/partials/core/components/dialogs/_general.scss +10 -64
  35. package/styles/partials/core/components/forms/_general.scss +2 -10
  36. package/styles/partials/core/components/search-filter/_general.scss +9 -0
  37. package/styles/partials/core/components/tables/_general.scss +1 -5
@@ -1,77 +1,23 @@
1
- @use 'sass:color';
2
- @use '@enigmatry/scss-foundation/src/modules/display/items';
3
-
4
- $border-dark: #000;
5
- $default-gap: 16px;
6
- $large-gap: calc(#{$default-gap} * 2);
7
-
8
- // TODO: Refactor me. Rename things adequately taking care of context, try minimizing styles required for this to look as expected.
9
- .dialog-container {
10
- /* stylelint-disable-next-line declaration-no-important */
11
- position: absolute !important;
12
- top: $large-gap;
13
- width: 100%;
14
- max: {
15
- /* stylelint-disable-next-line declaration-no-important */
16
- width: 700px !important;
17
- /* stylelint-disable-next-line declaration-no-important */
18
- height: calc(100% - 2 * $large-gap) !important;
19
- }
20
-
21
- &.wide {
22
- /* stylelint-disable-next-line declaration-no-important */
23
- max-width: 85% !important;
24
- }
25
-
26
- &.small {
27
- width: 400px;
28
- }
29
- }
1
+ @use 'scss-foundation/src/modules/display/items';
2
+ @use 'scss-foundation/src/modules/text/modification' as text;
30
3
 
31
4
  .entry-dialog {
32
- &.dialog-form {
33
- height: 100%;
34
- }
35
-
36
5
  .dialog-header {
37
6
  @include items.fully-align(center, space-between, row, nowrap);
38
-
7
+
39
8
  .title {
40
- line-height: 1.2;
41
- }
42
-
43
- .close-button {
44
- margin-left: $default-gap;
45
- border: none;
46
- background: none;
9
+ @include text.ellipsis();
47
10
  }
48
11
  }
49
12
 
50
13
  .dialog-content {
51
- margin: {
52
- top: $default-gap;
53
- bottom: $large-gap;
54
- }
55
- line-height: 1.4;
56
-
57
- &.with-actions {
58
- /* stylelint-disable-next-line declaration-no-important */
59
- max-height: calc(100% - 115px) !important;
60
- }
61
- }
62
-
63
- .button-confirm, .button-cancel {
64
- padding: 10px 20px;
14
+ display: inline-block;
15
+ width: 100%;
16
+ /* stylelint-disable-next-line unit-allowed-list */
17
+ max-height: 50vh;
65
18
  }
66
19
 
67
- .dialog-radio-buttons {
68
- display: block;
69
- padding: 10px 0;
70
- }
71
-
72
- .dialog-radio-button {
73
- display: block;
74
- margin-top: $default-gap;
75
- white-space: break;
20
+ .dialog-actions {
21
+ padding: 0 24px 14px;
76
22
  }
77
23
  }
@@ -1,21 +1,13 @@
1
1
  @use '@enigmatry/scss-foundation/src/modules/display/items';
2
2
 
3
3
  .entry-form {
4
- .action-buttons {
5
- margin-top: 25px;
6
-
7
- .mdc-button:not(:first-child) {
8
- margin-left: 10px;
9
- }
4
+ .action-buttons .mdc-button:not(:first-child) {
5
+ margin-left: 10px;
10
6
  }
11
7
 
12
8
  .entry-checkbox {
13
9
  display: block;
14
10
  }
15
-
16
- .mat-mdc-form-field {
17
- margin-bottom: 20px;
18
- }
19
11
 
20
12
  .mdc-form-field {
21
13
  margin-bottom: 10px;
@@ -0,0 +1,9 @@
1
+ @use '@enigmatry/scss-foundation/src/modules/display/items';
2
+
3
+ .search-form-container {
4
+ @include items.align-center();
5
+
6
+ .form-field {
7
+ width: 200px;
8
+ }
9
+ }
@@ -4,11 +4,7 @@
4
4
  display: flex;
5
5
  flex-direction: column;
6
6
  overflow: auto;
7
-
8
- .selection-cell, .action-cell {
9
- width: 48px;
10
- }
11
-
7
+
12
8
  .pagination {
13
9
  margin-bottom: 10px;
14
10
  }