@theseam/ui-common 0.2.8 → 0.2.12

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 (65) hide show
  1. package/bundles/theseam-ui-common-data-exporter.umd.js.map +1 -1
  2. package/bundles/theseam-ui-common-datatable.umd.js +54 -4
  3. package/bundles/theseam-ui-common-datatable.umd.js.map +1 -1
  4. package/bundles/theseam-ui-common-framework.umd.js +2 -2
  5. package/bundles/theseam-ui-common-framework.umd.js.map +1 -1
  6. package/bundles/theseam-ui-common-table-cell-types.umd.js +245 -19
  7. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -1
  8. package/bundles/theseam-ui-common-utils.umd.js.map +1 -1
  9. package/data-exporter/data-exporter.d.ts +4 -0
  10. package/data-exporter/theseam-ui-common-data-exporter.metadata.json +1 -1
  11. package/datatable/datatable/datatable.component.d.ts +2 -0
  12. package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +5 -0
  13. package/datatable/datatable-footer/datatable-footer.directive.d.ts +6 -0
  14. package/datatable/public-api.d.ts +2 -0
  15. package/datatable/theseam-ui-common-datatable.metadata.json +1 -1
  16. package/esm2015/data-exporter/data-exporter.js +1 -1
  17. package/esm2015/datatable/datatable/datatable.component.js +5 -3
  18. package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +8 -3
  19. package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +15 -0
  20. package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +18 -0
  21. package/esm2015/datatable/datatable.module.js +7 -1
  22. package/esm2015/datatable/public-api.js +3 -1
  23. package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +3 -3
  24. package/esm2015/table-cell-types/public-api.js +8 -1
  25. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js +2 -0
  26. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +74 -0
  27. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js +2 -0
  28. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js +1 -1
  29. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +73 -0
  30. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js +2 -0
  31. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js +1 -1
  32. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +71 -0
  33. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js +2 -0
  34. package/esm2015/table-cell-types/table-cell-type-manifests.js +29 -17
  35. package/esm2015/table-cell-types/table-cell-types.module.js +9 -2
  36. package/esm2015/utils/router/is-empty-url-route.js +1 -1
  37. package/fesm2015/theseam-ui-common-data-exporter.js.map +1 -1
  38. package/fesm2015/theseam-ui-common-datatable.js +45 -5
  39. package/fesm2015/theseam-ui-common-datatable.js.map +1 -1
  40. package/fesm2015/theseam-ui-common-framework.js +2 -2
  41. package/fesm2015/theseam-ui-common-framework.js.map +1 -1
  42. package/fesm2015/theseam-ui-common-table-cell-types.js +232 -20
  43. package/fesm2015/theseam-ui-common-table-cell-types.js.map +1 -1
  44. package/fesm2015/theseam-ui-common-utils.js.map +1 -1
  45. package/framework/side-nav/side-nav-item/side-nav-item.component.scss +36 -9
  46. package/framework/theseam-ui-common-framework.metadata.json +1 -1
  47. package/package.json +1 -1
  48. package/styles/common/_table.scss +0 -5
  49. package/styles/vendor/ngx-datatable/_ngx-datatable.scss +478 -87
  50. package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +174 -0
  51. package/styles/vendor/ngx-datatable/_themes/dark/_variables.scss +166 -0
  52. package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +165 -0
  53. package/styles/vendor/ngx-datatable/_variables.scss +3 -0
  54. package/table-cell-types/public-api.d.ts +7 -0
  55. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +39 -0
  56. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +19 -0
  57. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +3 -0
  58. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +31 -1
  59. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +19 -0
  60. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +3 -0
  61. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +23 -1
  62. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +19 -0
  63. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +3 -0
  64. package/table-cell-types/table-cell-type-manifests.d.ts +2 -1
  65. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -1
@@ -2,13 +2,14 @@
2
2
 
3
3
  seam-side-nav-item {
4
4
  display: block;
5
-
6
5
  transition: 250ms ease-in-out background-color;
6
+
7
7
  &.seam-side-nav-item--active {
8
8
  background-color: $seam-side-nav-item-bg-color-active;
9
9
 
10
10
  .active,
11
- &:active {
11
+ &:active,
12
+ .side-nav-item.active:hover {
12
13
  background-color: $seam-side-nav-item-bg-color-active;
13
14
  }
14
15
 
@@ -23,16 +24,20 @@ seam-side-nav-item {
23
24
  }
24
25
  }
25
26
 
27
+ .badge {
28
+ vertical-align: middle;
29
+ }
30
+
26
31
  &:not(.side-nav-item--icon) {
27
32
  .side-nav-item--badge {
28
- top: -10px;
29
- position: relative;
33
+ pointer-events: all;
30
34
  margin-left: 5px;
35
+ margin-right: 3px;
31
36
  }
32
37
  }
33
38
 
34
- //
35
39
  .side-nav-item--icon {
40
+ position: relative;
36
41
  width: 24px;
37
42
  max-width: 24px;
38
43
  min-width: 24px;
@@ -42,12 +47,20 @@ seam-side-nav-item {
42
47
  text-align: center;
43
48
 
44
49
  .side-nav-item--badge {
45
- top: -35px;
46
- right: -12px;
47
- position: relative;
50
+ top: -4px;
51
+ right: -4px;
52
+ position: absolute;
53
+
54
+ .badge:empty {
55
+ display: block;
56
+ width: 8px;
57
+ height: 8px;
58
+ padding: 0;
59
+ }
48
60
 
49
61
  &.side-nav-item--badge-no-icon {
50
- top: -13px;
62
+ top: 0px;
63
+ right: 0px;
51
64
  }
52
65
  }
53
66
  }
@@ -76,6 +89,14 @@ seam-side-nav-item {
76
89
 
77
90
  .nav-link {
78
91
  color: $seam-side-nav-item-color;
92
+ padding-right: 2px;
93
+ &__compact {
94
+ padding-right: 0;
95
+ padding-left: 12px;
96
+ }
97
+ &:last-child {
98
+ padding-right: 8px;
99
+ }
79
100
  }
80
101
 
81
102
  .side-nav-btn {
@@ -154,5 +175,11 @@ seam-side-nav-item {
154
175
  font-size: $seam-side-nav-title-font-size;
155
176
  padding-left: $seam-side-nav-title-padding-left;
156
177
  }
178
+
179
+ // without a set position, these labels can cause unnecessary scrollbars
180
+ .sr-only {
181
+ top: 0;
182
+ left: 0;
183
+ }
157
184
  }
158
185