@theseam/ui-common 1.0.0-beta.0 → 1.0.0-beta.10

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 (153) hide show
  1. package/breadcrumbs/index.d.ts +1 -2
  2. package/buttons/index.d.ts +20 -13
  3. package/datatable/index.d.ts +77 -39
  4. package/dynamic/index.d.ts +5 -5
  5. package/fesm2022/theseam-ui-common-asset-reader.mjs +28 -29
  6. package/fesm2022/theseam-ui-common-asset-reader.mjs.map +1 -1
  7. package/fesm2022/theseam-ui-common-breadcrumbs.mjs +25 -31
  8. package/fesm2022/theseam-ui-common-breadcrumbs.mjs.map +1 -1
  9. package/fesm2022/theseam-ui-common-buttons.mjs +108 -66
  10. package/fesm2022/theseam-ui-common-buttons.mjs.map +1 -1
  11. package/fesm2022/theseam-ui-common-card.mjs +21 -21
  12. package/fesm2022/theseam-ui-common-card.mjs.map +1 -1
  13. package/fesm2022/theseam-ui-common-carousel.mjs +28 -30
  14. package/fesm2022/theseam-ui-common-carousel.mjs.map +1 -1
  15. package/fesm2022/theseam-ui-common-checkbox.mjs +27 -27
  16. package/fesm2022/theseam-ui-common-checkbox.mjs.map +1 -1
  17. package/fesm2022/theseam-ui-common-confirm-dialog.mjs +23 -27
  18. package/fesm2022/theseam-ui-common-confirm-dialog.mjs.map +1 -1
  19. package/fesm2022/theseam-ui-common-core.mjs +31 -11
  20. package/fesm2022/theseam-ui-common-core.mjs.map +1 -1
  21. package/fesm2022/theseam-ui-common-data-exporter.mjs +18 -19
  22. package/fesm2022/theseam-ui-common-data-exporter.mjs.map +1 -1
  23. package/fesm2022/theseam-ui-common-data-filters.mjs +80 -64
  24. package/fesm2022/theseam-ui-common-data-filters.mjs.map +1 -1
  25. package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs +51 -49
  26. package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs.map +1 -1
  27. package/fesm2022/theseam-ui-common-datatable-dynamic.mjs +145 -112
  28. package/fesm2022/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  29. package/fesm2022/theseam-ui-common-datatable.mjs +727 -420
  30. package/fesm2022/theseam-ui-common-datatable.mjs.map +1 -1
  31. package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs +12 -14
  32. package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs.map +1 -1
  33. package/fesm2022/theseam-ui-common-dynamic.mjs +60 -48
  34. package/fesm2022/theseam-ui-common-dynamic.mjs.map +1 -1
  35. package/fesm2022/theseam-ui-common-footer-bar.mjs +9 -15
  36. package/fesm2022/theseam-ui-common-footer-bar.mjs.map +1 -1
  37. package/fesm2022/theseam-ui-common-form-field-error.mjs +60 -43
  38. package/fesm2022/theseam-ui-common-form-field-error.mjs.map +1 -1
  39. package/fesm2022/theseam-ui-common-form-field.mjs +129 -76
  40. package/fesm2022/theseam-ui-common-form-field.mjs.map +1 -1
  41. package/fesm2022/theseam-ui-common-framework.mjs +669 -543
  42. package/fesm2022/theseam-ui-common-framework.mjs.map +1 -1
  43. package/fesm2022/theseam-ui-common-google-maps.mjs +206 -149
  44. package/fesm2022/theseam-ui-common-google-maps.mjs.map +1 -1
  45. package/fesm2022/theseam-ui-common-graphql.mjs +311 -254
  46. package/fesm2022/theseam-ui-common-graphql.mjs.map +1 -1
  47. package/fesm2022/theseam-ui-common-icon.mjs +125 -89
  48. package/fesm2022/theseam-ui-common-icon.mjs.map +1 -1
  49. package/fesm2022/theseam-ui-common-layout.mjs +18 -26
  50. package/fesm2022/theseam-ui-common-layout.mjs.map +1 -1
  51. package/fesm2022/theseam-ui-common-loading.mjs +19 -28
  52. package/fesm2022/theseam-ui-common-loading.mjs.map +1 -1
  53. package/fesm2022/theseam-ui-common-menu.mjs +124 -95
  54. package/fesm2022/theseam-ui-common-menu.mjs.map +1 -1
  55. package/fesm2022/theseam-ui-common-modal.mjs +178 -129
  56. package/fesm2022/theseam-ui-common-modal.mjs.map +1 -1
  57. package/fesm2022/theseam-ui-common-models.mjs +3 -3
  58. package/fesm2022/theseam-ui-common-models.mjs.map +1 -1
  59. package/fesm2022/theseam-ui-common-navigation-reload.mjs +13 -11
  60. package/fesm2022/theseam-ui-common-navigation-reload.mjs.map +1 -1
  61. package/fesm2022/theseam-ui-common-popover.mjs +81 -88
  62. package/fesm2022/theseam-ui-common-popover.mjs.map +1 -1
  63. package/fesm2022/theseam-ui-common-progress.mjs +15 -19
  64. package/fesm2022/theseam-ui-common-progress.mjs.map +1 -1
  65. package/fesm2022/theseam-ui-common-rich-text.mjs +65 -52
  66. package/fesm2022/theseam-ui-common-rich-text.mjs.map +1 -1
  67. package/fesm2022/theseam-ui-common-scrollbar.mjs +12 -9
  68. package/fesm2022/theseam-ui-common-scrollbar.mjs.map +1 -1
  69. package/fesm2022/theseam-ui-common-services.mjs +41 -26
  70. package/fesm2022/theseam-ui-common-services.mjs.map +1 -1
  71. package/fesm2022/theseam-ui-common-shared.mjs +149 -159
  72. package/fesm2022/theseam-ui-common-shared.mjs.map +1 -1
  73. package/fesm2022/theseam-ui-common-storage.mjs +9 -6
  74. package/fesm2022/theseam-ui-common-storage.mjs.map +1 -1
  75. package/fesm2022/theseam-ui-common-story-helpers.mjs +148 -86
  76. package/fesm2022/theseam-ui-common-story-helpers.mjs.map +1 -1
  77. package/fesm2022/theseam-ui-common-tabbed.mjs +43 -39
  78. package/fesm2022/theseam-ui-common-tabbed.mjs.map +1 -1
  79. package/fesm2022/theseam-ui-common-table-cell-type.mjs +63 -39
  80. package/fesm2022/theseam-ui-common-table-cell-type.mjs.map +1 -1
  81. package/fesm2022/theseam-ui-common-table-cell-types.mjs +182 -144
  82. package/fesm2022/theseam-ui-common-table-cell-types.mjs.map +1 -1
  83. package/fesm2022/theseam-ui-common-table.mjs +62 -41
  84. package/fesm2022/theseam-ui-common-table.mjs.map +1 -1
  85. package/fesm2022/theseam-ui-common-tel-input.mjs +98 -63
  86. package/fesm2022/theseam-ui-common-tel-input.mjs.map +1 -1
  87. package/fesm2022/theseam-ui-common-testing.mjs +13 -10
  88. package/fesm2022/theseam-ui-common-testing.mjs.map +1 -1
  89. package/fesm2022/theseam-ui-common-tiled-select.mjs +54 -50
  90. package/fesm2022/theseam-ui-common-tiled-select.mjs.map +1 -1
  91. package/fesm2022/theseam-ui-common-toggle-edit.mjs +41 -37
  92. package/fesm2022/theseam-ui-common-toggle-edit.mjs.map +1 -1
  93. package/fesm2022/theseam-ui-common-toggle-group.mjs +30 -31
  94. package/fesm2022/theseam-ui-common-toggle-group.mjs.map +1 -1
  95. package/fesm2022/theseam-ui-common-tooltip.mjs +225 -66
  96. package/fesm2022/theseam-ui-common-tooltip.mjs.map +1 -1
  97. package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs +14 -12
  98. package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -1
  99. package/fesm2022/theseam-ui-common-utils.mjs +113 -77
  100. package/fesm2022/theseam-ui-common-utils.mjs.map +1 -1
  101. package/fesm2022/theseam-ui-common-validators.mjs +10 -9
  102. package/fesm2022/theseam-ui-common-validators.mjs.map +1 -1
  103. package/fesm2022/theseam-ui-common-vertical-list-filter.mjs +39 -17
  104. package/fesm2022/theseam-ui-common-vertical-list-filter.mjs.map +1 -1
  105. package/fesm2022/theseam-ui-common-viewers.mjs +80 -53
  106. package/fesm2022/theseam-ui-common-viewers.mjs.map +1 -1
  107. package/fesm2022/theseam-ui-common-widget.mjs +288 -314
  108. package/fesm2022/theseam-ui-common-widget.mjs.map +1 -1
  109. package/form-field/index.d.ts +1 -1
  110. package/framework/base-layout/base-layout.component.scss +9 -4
  111. package/framework/base-layout/styles/_variables.scss +4 -9
  112. package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +6 -4
  113. package/framework/index.d.ts +6 -6
  114. package/framework/nav/nav-item/nav-item.component.scss +7 -6
  115. package/framework/nav/styles/_themes/light/_variables.scss +21 -5
  116. package/framework/nav/styles/_themes/primary/_variables.scss +21 -5
  117. package/framework/side-nav/side-nav-item/side-nav-item.component.scss +5 -2
  118. package/framework/side-nav/styles/_themes/light/_variables.scss +5 -1
  119. package/framework/side-nav/styles/_themes/primary/_variables.scss +25 -5
  120. package/graphql/index.d.ts +49 -7
  121. package/modal/README.md +5 -5
  122. package/modal/index.d.ts +1 -1
  123. package/models/index.d.ts +1 -1
  124. package/package.json +59 -60
  125. package/popover/index.d.ts +0 -2
  126. package/progress/progress-circle/styles/_variables.scss +15 -3
  127. package/shared/index.d.ts +0 -13
  128. package/story-helpers/index.d.ts +11 -1
  129. package/styles/bootstrap/_bootstrap.scss +34 -34
  130. package/styles/bootstrap/_bs-styles.scss +4 -8
  131. package/styles/bootstrap/_bs-utilities.scss +4 -4
  132. package/styles/bootstrap/_bs-variables.scss +65 -70
  133. package/styles/common/_forms.scss +9 -10
  134. package/styles/common/_global.scss +0 -1
  135. package/styles/common/_hacks.scss +1 -1
  136. package/styles/common/_table.scss +0 -1
  137. package/styles/common/_text.scss +3 -1
  138. package/styles/theme.scss +1 -1
  139. package/styles/vendor/ng-select/_ng-select-bs4.scss +292 -294
  140. package/styles/vendor/ngx-datatable/_ngx-datatable.scss +63 -32
  141. package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +37 -10
  142. package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +3 -1
  143. package/styles/vendor/quill/_quill.scss +15 -9
  144. package/table/index.d.ts +4 -1
  145. package/table-cell-type/index.d.ts +27 -2
  146. package/tel-input/README.md +27 -27
  147. package/utils/index.d.ts +3 -3
  148. package/viewers/index.d.ts +9 -2
  149. package/widget/_widget-theme.scss +1 -1
  150. package/widget/styles/_variables.scss +2 -2
  151. package/widget/widget/widget.component.scss +0 -2
  152. package/widget/widget-content-components/widget-tile/widget-tile.component.scss +1 -3
  153. package/widget/widget-footer/widget-footer.component.scss +0 -1
@@ -118,10 +118,14 @@
118
118
  vertical-align: top;
119
119
  height: $datatable-empty-row-height;
120
120
  padding: $datatable-empty-row-padding;
121
- border-top: $datatable-empty-row-border-top-width solid $datatable-empty-row-border-color;
122
- border-right: $datatable-empty-row-border-right-width solid $datatable-empty-row-border-color;
123
- border-bottom: $datatable-empty-row-border-bottom-width solid $datatable-empty-row-border-color;
124
- border-left: $datatable-empty-row-border-left-width solid $datatable-empty-row-border-color;
121
+ border-top: $datatable-empty-row-border-top-width solid
122
+ $datatable-empty-row-border-color;
123
+ border-right: $datatable-empty-row-border-right-width solid
124
+ $datatable-empty-row-border-color;
125
+ border-bottom: $datatable-empty-row-border-bottom-width solid
126
+ $datatable-empty-row-border-color;
127
+ border-left: $datatable-empty-row-border-left-width solid
128
+ $datatable-empty-row-border-color;
125
129
  margin: $datatable-empty-row-margin;
126
130
  text-align: $datatable-empty-row-text-align;
127
131
  }
@@ -130,10 +134,14 @@
130
134
  vertical-align: top;
131
135
  text-align: $datatable-loading-row-text-align;
132
136
  padding: $datatable-loading-row-padding;
133
- border-top: $datatable-loading-row-border-top-width solid $datatable-loading-row-border-color;
134
- border-right: $datatable-loading-row-border-right-width solid $datatable-loading-row-border-color;
135
- border-bottom: $datatable-loading-row-border-bottom-width solid $datatable-loading-row-border-color;
136
- border-left: $datatable-loading-row-border-left-width solid $datatable-loading-row-border-color;
137
+ border-top: $datatable-loading-row-border-top-width solid
138
+ $datatable-loading-row-border-color;
139
+ border-right: $datatable-loading-row-border-right-width solid
140
+ $datatable-loading-row-border-color;
141
+ border-bottom: $datatable-loading-row-border-bottom-width solid
142
+ $datatable-loading-row-border-color;
143
+ border-left: $datatable-loading-row-border-left-width solid
144
+ $datatable-loading-row-border-color;
137
145
  }
138
146
 
139
147
  /**
@@ -162,10 +170,14 @@
162
170
  * Header Styles
163
171
  */
164
172
  .datatable-header {
165
- border-top: $datatable-header-border-top-width solid $datatable-header-border-color;
166
- border-right: $datatable-header-border-right-width solid $datatable-header-border-color;
167
- border-bottom: $datatable-header-border-bottom-width solid $datatable-header-border-color;
168
- border-left: $datatable-header-border-left-width solid $datatable-header-border-color;
173
+ border-top: $datatable-header-border-top-width solid
174
+ $datatable-header-border-color;
175
+ border-right: $datatable-header-border-right-width solid
176
+ $datatable-header-border-color;
177
+ border-bottom: $datatable-header-border-bottom-width solid
178
+ $datatable-header-border-color;
179
+ border-left: $datatable-header-border-left-width solid
180
+ $datatable-header-border-color;
169
181
  background-color: $datatable-header-background;
170
182
  color: $datatable-header-color;
171
183
  height: unset !important;
@@ -196,7 +208,9 @@
196
208
 
197
209
  &.longpress {
198
210
  .draggable::after {
199
- transition: transform 400ms ease, opacity 400ms ease;
211
+ transition:
212
+ transform 400ms ease,
213
+ opacity 400ms ease;
200
214
  opacity: 0.5;
201
215
  transform: scale(1);
202
216
  }
@@ -255,7 +269,6 @@
255
269
  width: 2px;
256
270
  background-color: $datatable-header-resize-handle-color;
257
271
  }
258
-
259
272
  }
260
273
 
261
274
  /**
@@ -272,27 +285,39 @@
272
285
 
273
286
  .datatable-group-header {
274
287
  background: $datatable-group-header-background;
275
- border-top: $datatable-group-header-border-top-width solid $datatable-group-header-border-color;
276
- border-right: $datatable-group-header-border-right-width solid $datatable-group-header-border-color;
277
- border-bottom: $datatable-group-header-border-bottom-width solid $datatable-group-header-border-color;
278
- border-left: $datatable-group-header-border-left-width solid $datatable-group-header-border-color;
288
+ border-top: $datatable-group-header-border-top-width solid
289
+ $datatable-group-header-border-color;
290
+ border-right: $datatable-group-header-border-right-width solid
291
+ $datatable-group-header-border-color;
292
+ border-bottom: $datatable-group-header-border-bottom-width solid
293
+ $datatable-group-header-border-color;
294
+ border-left: $datatable-group-header-border-left-width solid
295
+ $datatable-group-header-border-color;
279
296
  }
280
297
 
281
298
  .datatable-body-row {
282
299
  vertical-align: top;
283
- border-top: $datatable-row-border-top-width solid $datatable-row-border-color;
284
- border-right: $datatable-row-border-right-width solid $datatable-row-border-color;
285
- border-bottom: $datatable-row-border-bottom-width solid $datatable-row-border-color;
286
- border-left: $datatable-row-border-left-width solid $datatable-row-border-color;
300
+ border-top: $datatable-row-border-top-width solid
301
+ $datatable-row-border-color;
302
+ border-right: $datatable-row-border-right-width solid
303
+ $datatable-row-border-color;
304
+ border-bottom: $datatable-row-border-bottom-width solid
305
+ $datatable-row-border-color;
306
+ border-left: $datatable-row-border-left-width solid
307
+ $datatable-row-border-color;
287
308
  .datatable-body-cell {
288
309
  vertical-align: top;
289
310
  transition: width 0.3s ease;
290
311
  text-align: $datatable-body-cell-text-align;
291
312
  padding: $datatable-body-cell-padding;
292
- border-top: $datatable-body-cell-border-top-width solid $datatable-row-border-color;
293
- border-right: $datatable-body-cell-border-right-width solid $datatable-row-border-color;
294
- border-bottom: $datatable-body-cell-border-bottom-width solid $datatable-row-border-color;
295
- border-left: $datatable-body-cell-border-left-width solid $datatable-row-border-color;
313
+ border-top: $datatable-body-cell-border-top-width solid
314
+ $datatable-row-border-color;
315
+ border-right: $datatable-body-cell-border-right-width solid
316
+ $datatable-row-border-color;
317
+ border-bottom: $datatable-body-cell-border-bottom-width solid
318
+ $datatable-row-border-color;
319
+ border-left: $datatable-body-cell-border-left-width solid
320
+ $datatable-row-border-color;
296
321
  color: $datatable-body-cell-color;
297
322
  font-size: $datatable-body-cell-font-size;
298
323
  font-weight: $datatable-body-cell-font-weight;
@@ -338,7 +363,10 @@
338
363
 
339
364
  .bar {
340
365
  transition: all 0.2s linear;
341
- -webkit-animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
366
+ -webkit-animation: query
367
+ 0.8s
368
+ infinite
369
+ cubic-bezier(0.39, 0.575, 0.565, 1);
342
370
  animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
343
371
 
344
372
  transition: -webkit-transform 0.2s linear;
@@ -370,10 +398,14 @@
370
398
 
371
399
  .datatable-footer-inner {
372
400
  background: $datatable-footer-background;
373
- border-top: $datatable-footer-border-top-width solid $datatable-footer-border-color;
374
- border-right: $datatable-footer-border-right-width solid $datatable-footer-border-color;
375
- border-bottom: $datatable-footer-border-bottom-width solid $datatable-footer-border-color;
376
- border-left: $datatable-footer-border-left-width solid $datatable-footer-border-color;
401
+ border-top: $datatable-footer-border-top-width solid
402
+ $datatable-footer-border-color;
403
+ border-right: $datatable-footer-border-right-width solid
404
+ $datatable-footer-border-color;
405
+ border-bottom: $datatable-footer-border-bottom-width solid
406
+ $datatable-footer-border-color;
407
+ border-left: $datatable-footer-border-left-width solid
408
+ $datatable-footer-border-color;
377
409
  border-radius: $datatable-footer-border-radius;
378
410
  }
379
411
 
@@ -519,7 +551,6 @@
519
551
 
520
552
  // allow variable override for outline button bg
521
553
  background: $datatable-action-button-outline-background;
522
-
523
554
  } @else {
524
555
  @include button-variant(
525
556
  $background: $datatable-action-button-background,
@@ -158,7 +158,10 @@ $datatable-pager-item-color: $body-color !default;
158
158
  $datatable-pager-item-hover-color: $body-color !default;
159
159
  $datatable-pager-item-hover-background: $gray-200 !default;
160
160
 
161
- $datatable-pager-item-disabled-color: rgba($datatable-pager-item-color, 0.5) !default;
161
+ $datatable-pager-item-disabled-color: rgba(
162
+ $datatable-pager-item-color,
163
+ 0.5
164
+ ) !default;
162
165
  $datatable-pager-item-disabled-background: transparent !default;
163
166
 
164
167
  $datatable-pager-item-active-background: $gray-200 !default;
@@ -176,18 +179,42 @@ $datatable-summary-row-font-weight: bold !default;
176
179
  // Action Menu Button Styles
177
180
  $datatable-action-button-background: $primary !default;
178
181
  $datatable-action-button-border: $datatable-action-button-background !default;
179
- $datatable-action-button-hover-background: color.adjust($datatable-action-button-background, $lightness: -7.5%, $space: hsl) !default;
180
- $datatable-action-button-hover-border: color.adjust($datatable-action-button-border, $lightness: -10%, $space: hsl) !default;
181
- $datatable-action-button-active-background: color.adjust($datatable-action-button-background, $lightness: -10%, $space: hsl) !default;
182
- $datatable-action-button-active-border: color.adjust($datatable-action-button-border, $lightness: -12.5%, $space: hsl) !default;
183
-
184
- $datatable-action-button-color: color-yiq($datatable-action-button-background) !default;
185
- $datatable-action-button-hover-color: color-yiq($datatable-action-button-hover-background) !default;
186
- $datatable-action-button-active-color: color-yiq($datatable-action-button-active-background) !default;
182
+ $datatable-action-button-hover-background: color.adjust(
183
+ $datatable-action-button-background,
184
+ $lightness: -7.5%,
185
+ $space: hsl
186
+ ) !default;
187
+ $datatable-action-button-hover-border: color.adjust(
188
+ $datatable-action-button-border,
189
+ $lightness: -10%,
190
+ $space: hsl
191
+ ) !default;
192
+ $datatable-action-button-active-background: color.adjust(
193
+ $datatable-action-button-background,
194
+ $lightness: -10%,
195
+ $space: hsl
196
+ ) !default;
197
+ $datatable-action-button-active-border: color.adjust(
198
+ $datatable-action-button-border,
199
+ $lightness: -12.5%,
200
+ $space: hsl
201
+ ) !default;
202
+
203
+ $datatable-action-button-color: color-yiq(
204
+ $datatable-action-button-background
205
+ ) !default;
206
+ $datatable-action-button-hover-color: color-yiq(
207
+ $datatable-action-button-hover-background
208
+ ) !default;
209
+ $datatable-action-button-active-color: color-yiq(
210
+ $datatable-action-button-active-background
211
+ ) !default;
187
212
 
188
213
  $datatable-action-button-outline: false !default;
189
214
  $datatable-action-button-outline-color: $datatable-action-button-background !default;
190
- $datatable-action-button-outline-color-hover: color-yiq($datatable-action-button-outline-color) !default;
215
+ $datatable-action-button-outline-color-hover: color-yiq(
216
+ $datatable-action-button-outline-color
217
+ ) !default;
191
218
  $datatable-action-button-outline-active-background: $datatable-action-button-outline-color !default;
192
219
  $datatable-action-button-outline-active-border: $datatable-action-button-outline-color !default;
193
220
 
@@ -10,7 +10,9 @@ $datatable-color: $body-color !default;
10
10
 
11
11
  // common datatable colors
12
12
  $datatable-background: $white !default;
13
- $datatable-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
13
+ $datatable-box-shadow:
14
+ 0 5px 5px -3px rgba(0, 0, 0, 0.2),
15
+ 0 8px 10px 1px rgba(0, 0, 0, 0.14),
14
16
  0 3px 14px 2px rgba(0, 0, 0, 0.12) !default;
15
17
  $datatable-row-even-background: #eee !default;
16
18
 
@@ -17,11 +17,11 @@ $quill-mention-menu-min-width: $dropdown-min-width !default;
17
17
  $quill-mention-menu-padding: $dropdown-padding-y $dropdown-padding-x !default;
18
18
  $quill-mention-menu-text-align: left !default;
19
19
 
20
- $quill-mention-menu-loading-color: rgba(black, .5) !default;
20
+ $quill-mention-menu-loading-color: rgba(black, 0.5) !default;
21
21
  $quill-mention-menu-loading-text-align: center !default;
22
22
 
23
23
  $quill-mention-menu-item-line-height: 24px !default;
24
- $quill-mention-menu-item-padding: .25rem 1.5rem !default;
24
+ $quill-mention-menu-item-padding: 0.25rem 1.5rem !default;
25
25
 
26
26
  $quill-mention-menu-divider-bg: $dropdown-divider-bg !default;
27
27
  $quill-mention-menu-divider-margin: $dropdown-divider-margin-y 0 !default;
@@ -29,7 +29,7 @@ $quill-mention-menu-divider-margin: $dropdown-divider-margin-y 0 !default;
29
29
  $quill-mention-menu-item-selected-bg: $primary !default;
30
30
  $quill-mention-menu-item-selected-color: white !default;
31
31
 
32
- $quill-mention-menu-item-disabled-color: rgba(black, .5) !default;
32
+ $quill-mention-menu-item-disabled-color: rgba(black, 0.5) !default;
33
33
 
34
34
  $quill-mention-menu-item-group-name-color: $quill-mention-menu-item-disabled-color !default;
35
35
  $quill-mention-menu-item-group-name-font-size: $small-font-size !default;
@@ -68,8 +68,8 @@ quill-editor {
68
68
  // overwrites ql styles with bootstrap styles,
69
69
  // which matches final rendering better
70
70
  .ql-snow .ql-editor {
71
- @import "bootstrap/scss/reboot";
72
- @import "bootstrap/scss/type";
71
+ @import 'bootstrap/scss/reboot';
72
+ @import 'bootstrap/scss/type';
73
73
  }
74
74
 
75
75
  &:focus-within {
@@ -96,7 +96,8 @@ quill-editor {
96
96
  }
97
97
 
98
98
  &:focus-within {
99
- box-shadow: 0 0 0 $input-focus-width rgba($form-feedback-invalid-color, .25);
99
+ box-shadow: 0 0 0 $input-focus-width
100
+ rgba($form-feedback-invalid-color, 0.25);
100
101
  }
101
102
  }
102
103
 
@@ -105,7 +106,7 @@ quill-editor {
105
106
  pointer-events: none;
106
107
 
107
108
  .ql-formats {
108
- opacity: .5;
109
+ opacity: 0.5;
109
110
  }
110
111
 
111
112
  .ql-toolbar,
@@ -126,7 +127,8 @@ quill-editor {
126
127
  margin: $quill-mention-menu-margin;
127
128
  color: $quill-mention-menu-color;
128
129
  background: $quill-mention-menu-bg;
129
- border: $quill-mention-menu-border-width solid $quill-mention-menu-border-color;
130
+ border: $quill-mention-menu-border-width solid
131
+ $quill-mention-menu-border-color;
130
132
  @include font-size($quill-mention-menu-font-size);
131
133
  @include border-radius($quill-mention-menu-border-radius);
132
134
  @include box-shadow($quill-mention-menu-box-shadow);
@@ -151,7 +153,11 @@ quill-editor {
151
153
  }
152
154
 
153
155
  .ql-mention-list-item[data-type='divider'] {
154
- @include nav-divider($quill-mention-menu-divider-bg, $quill-mention-menu-divider-margin, true);
156
+ @include nav-divider(
157
+ $quill-mention-menu-divider-bg,
158
+ $quill-mention-menu-divider-margin,
159
+ true
160
+ );
155
161
 
156
162
  &:first-child,
157
163
  &:last-child,
package/table/index.d.ts CHANGED
@@ -20,6 +20,9 @@ declare class TheSeamTableColumnComponent implements OnChanges {
20
20
  flexGrow?: number | null;
21
21
  headerClass?: string | null;
22
22
  cellClass?: string | null;
23
+ align?: 'left' | 'center' | 'right' | null;
24
+ alignHeader?: 'left' | 'center' | 'right' | null;
25
+ alignCell?: 'left' | 'center' | 'right' | null;
23
26
  private _isFirstChange;
24
27
  cellTplDirective?: TheSeamTableCellTplDirective;
25
28
  _cellTemplateInput?: TemplateRef<any> | null;
@@ -32,7 +35,7 @@ declare class TheSeamTableColumnComponent implements OnChanges {
32
35
  columnChange$: rxjs.Observable<void>;
33
36
  ngOnChanges(changes: SimpleChanges): void;
34
37
  static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamTableColumnComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamTableColumnComponent, "seam-table-column", never, { "name": { "alias": "name"; "required": false; }; "prop": { "alias": "prop"; "required": false; }; "flexGrow": { "alias": "flexGrow"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "_cellTemplateInput": { "alias": "cellTemplate"; "required": false; }; "_headerTemplateInput": { "alias": "headerTemplate"; "required": false; }; }, {}, ["cellTplDirective", "_cellTemplateQuery", "_headerTemplateQuery"], never, true, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamTableColumnComponent, "seam-table-column", never, { "name": { "alias": "name"; "required": false; }; "prop": { "alias": "prop"; "required": false; }; "flexGrow": { "alias": "flexGrow"; "required": false; }; "headerClass": { "alias": "headerClass"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "align": { "alias": "align"; "required": false; }; "alignHeader": { "alias": "alignHeader"; "required": false; }; "alignCell": { "alias": "alignCell"; "required": false; }; "_cellTemplateInput": { "alias": "cellTemplate"; "required": false; }; "_headerTemplateInput": { "alias": "headerTemplate"; "required": false; }; }, {}, ["cellTplDirective", "_cellTemplateQuery", "_headerTemplateQuery"], never, true, never>;
36
39
  }
37
40
 
38
41
  /**
@@ -21,6 +21,31 @@ interface TableCellActionBase<T extends TableCellTypeName> {
21
21
  disabled?: boolean;
22
22
  }
23
23
 
24
+ interface TheSeamTableCellTypeColumnAlign {
25
+ /**
26
+ * Alignment for header and cell content.
27
+ *
28
+ * Defaults to 'left'.
29
+ */
30
+ align?: 'left' | 'center' | 'right';
31
+ /**
32
+ * Alignment for header content.
33
+ *
34
+ * Defaults to `align` if not provided.
35
+ */
36
+ alignHeader?: 'left' | 'center' | 'right';
37
+ /**
38
+ * Alignment for cell content.
39
+ *
40
+ * Defaults to `align` if not provided.
41
+ */
42
+ alignCell?: 'left' | 'center' | 'right';
43
+ }
44
+ declare function setColumnAlignDefaults(column: TheSeamTableCellTypeColumnAlign & {
45
+ headerClass?: string | null | ((data: any) => string | any);
46
+ cellClass?: string | null | ((data: any) => string | any);
47
+ }): void;
48
+
24
49
  interface TableCellTypeConfig<T extends TableCellTypeName> {
25
50
  type: T;
26
51
  /**
@@ -141,5 +166,5 @@ declare class TheSeamTableCellTypeModule {
141
166
  static ɵinj: i0.ɵɵInjectorDeclaration<TheSeamTableCellTypeModule>;
142
167
  }
143
168
 
144
- export { TABLE_CELL_DATA, TABLE_CELL_TYPE_MANIFEST, TableCellTypeSelectorComponent, TableCellTypesHelpersService, TheSeamTableCellTypeModule };
145
- export type { CalculatedValueContextFn, CaluclatedValueContextType, ICalucatedValueContext, ITableCellTypeManifest, ITableCellTypeManifestProvider, TableCellActionBase, TableCellData, TableCellDataChange, TableCellTypeColumn, TableCellTypeConfig, TableCellTypeExportProps, TableCellTypeName, TheSeamTableColumn };
169
+ export { TABLE_CELL_DATA, TABLE_CELL_TYPE_MANIFEST, TableCellTypeSelectorComponent, TableCellTypesHelpersService, TheSeamTableCellTypeModule, setColumnAlignDefaults };
170
+ export type { CalculatedValueContextFn, CaluclatedValueContextType, ICalucatedValueContext, ITableCellTypeManifest, ITableCellTypeManifestProvider, TableCellActionBase, TableCellData, TableCellDataChange, TableCellTypeColumn, TableCellTypeConfig, TableCellTypeExportProps, TableCellTypeName, TheSeamTableCellTypeColumnAlign, TheSeamTableColumn };
@@ -1,27 +1,27 @@
1
- # TelInput
2
-
3
- ## Getting Started
4
-
5
- The external assets from `intl-tel-input` are not being bundled into the `@theseam/ui-common` assets now, so the following step is necessary.
6
-
7
- ### Make sure the flags files, utility scripts and styles are copied to the assets.
8
-
9
- In `angular.json` add the following to the styles array for the projects using `@theseam/ui-common/tel-input`.
10
-
11
- ```json
12
- {
13
- "glob": "**/*.min.css",
14
- "input": "node_modules/intl-tel-input/build/css",
15
- "output": "assets/vendor/intl-tel-input/css"
16
- },
17
- {
18
- "glob": "**/*.png",
19
- "input": "node_modules/intl-tel-input/build/img",
20
- "output": "assets/vendor/intl-tel-input/img"
21
- },
22
- {
23
- "glob": "**/utils.js",
24
- "input": "node_modules/intl-tel-input/build/js",
25
- "output": "assets/vendor/intl-tel-input/js"
26
- }
27
- ```
1
+ # TelInput
2
+
3
+ ## Getting Started
4
+
5
+ The external assets from `intl-tel-input` are not being bundled into the `@theseam/ui-common` assets now, so the following step is necessary.
6
+
7
+ ### Make sure the flags files, utility scripts and styles are copied to the assets.
8
+
9
+ In `angular.json` add the following to the styles array for the projects using `@theseam/ui-common/tel-input`.
10
+
11
+ ```json
12
+ {
13
+ "glob": "**/*.min.css",
14
+ "input": "node_modules/intl-tel-input/build/css",
15
+ "output": "assets/vendor/intl-tel-input/css"
16
+ },
17
+ {
18
+ "glob": "**/*.png",
19
+ "input": "node_modules/intl-tel-input/build/img",
20
+ "output": "assets/vendor/intl-tel-input/img"
21
+ },
22
+ {
23
+ "glob": "**/utils.js",
24
+ "input": "node_modules/intl-tel-input/build/js",
25
+ "output": "assets/vendor/intl-tel-input/js"
26
+ }
27
+ ```
package/utils/index.d.ts CHANGED
@@ -319,9 +319,9 @@ declare function getAttribute<E extends HTMLElement>(element: E, name: string):
319
319
 
320
320
  declare const phoneNumberMask: (string | RegExp)[];
321
321
 
322
- declare function isNullOrUndefined<T>(value: T | null | undefined): value is (null | undefined);
322
+ declare function isNullOrUndefined<T>(value: T | null | undefined): value is null | undefined;
323
323
 
324
- declare function isNullOrUndefinedOrEmpty(value: string | null | undefined, trim?: boolean): value is (string | null | undefined);
324
+ declare function isNullOrUndefinedOrEmpty(value: string | null | undefined, trim?: boolean): value is string | null | undefined;
325
325
 
326
326
  declare function loadStyle(content: string): Promise<HTMLStyleElement>;
327
327
 
@@ -374,7 +374,7 @@ declare class Refreshable<T> {
374
374
  private _pending;
375
375
  data$: Observable<T>;
376
376
  pending$: Observable<boolean>;
377
- constructor(action: () => (T | Observable<T>), pollingInterval?: number);
377
+ constructor(action: () => T | Observable<T>, pollingInterval?: number);
378
378
  get initialized(): boolean;
379
379
  /**
380
380
  * Intercepts the action call to monitor pending state
@@ -1,6 +1,6 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
2
  import * as i0 from '@angular/core';
3
- import { OnDestroy, AfterViewInit, ElementRef, OnInit } from '@angular/core';
3
+ import { OnDestroy, AfterViewInit, ElementRef, InjectionToken, EnvironmentProviders, OnInit } from '@angular/core';
4
4
  import { Observable } from 'rxjs';
5
5
 
6
6
  declare class TheSeamPdfPageComponent implements OnDestroy, AfterViewInit {
@@ -102,6 +102,12 @@ declare class TheSeamPdfViewerComponent {
102
102
  static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamPdfViewerComponent, "seam-pdf-viewer", never, { "pdfUrl": { "alias": "pdfUrl"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "renderUpdateThreshold": { "alias": "renderUpdateThreshold"; "required": false; }; "pageRange": { "alias": "pageRange"; "required": false; }; "pageNumber": { "alias": "pageNumber"; "required": false; }; "pageNumbers": { "alias": "pageNumbers"; "required": false; }; }, {}, never, never, true, never>;
103
103
  }
104
104
 
105
+ interface TheSeamPdfViewerConfig {
106
+ pdfJsWorkerSrc?: string;
107
+ }
108
+ declare const THESEAM_PDF_VIEWER_CONFIG_PROVIDER: InjectionToken<TheSeamPdfViewerConfig>;
109
+ declare function providePdfViewerConfig(config: TheSeamPdfViewerConfig): EnvironmentProviders;
110
+
105
111
  declare class TheSeamHtmlTemplateViewerComponent implements OnInit, OnDestroy {
106
112
  static ngAcceptInputType_scrollable: BooleanInput;
107
113
  private readonly _ngZone;
@@ -170,4 +176,5 @@ declare class TheSeamHtmlTemplateViewerComponent implements OnInit, OnDestroy {
170
176
  static ɵcmp: i0.ɵɵComponentDeclaration<TheSeamHtmlTemplateViewerComponent, "seam-html-template-viewer", never, { "src": { "alias": "src"; "required": false; }; "dataVersion": { "alias": "dataVersion"; "required": false; }; "data": { "alias": "data"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, {}, never, never, true, never>;
171
177
  }
172
178
 
173
- export { TheSeamHtmlTemplateViewerComponent, TheSeamPdfPageComponent, TheSeamPdfViewerComponent };
179
+ export { THESEAM_PDF_VIEWER_CONFIG_PROVIDER, TheSeamHtmlTemplateViewerComponent, TheSeamPdfPageComponent, TheSeamPdfViewerComponent, providePdfViewerConfig };
180
+ export type { TheSeamPdfViewerConfig };
@@ -12,4 +12,4 @@
12
12
  @import './widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component';
13
13
  @import './widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component';
14
14
 
15
- @import './widget-footer/widget-footer.component'
15
+ @import './widget-footer/widget-footer.component';
@@ -3,9 +3,9 @@ $seam-widget-header-title-font-size: 17px !default;
3
3
  $seam-widget-header-icon-height: 20px !default;
4
4
  $seam-widget-header-icon-width: 20px !default;
5
5
  $seam-widget-header-icon-color: currentColor !default;
6
- $seam-widget-header-background: #F4F4F4 !default;
6
+ $seam-widget-header-background: #f4f4f4 !default;
7
7
 
8
- $seam-widget-body-background: #FFFFFF !default;
8
+ $seam-widget-body-background: #ffffff !default;
9
9
  $seam-widget-body-font-size: 15px !default;
10
10
  $seam-widget-box-shadow: none !default;
11
11
 
@@ -32,7 +32,6 @@ seam-widget {
32
32
  }
33
33
 
34
34
  .widget-header-btn-config {
35
-
36
35
  .seam-icon--fa {
37
36
  display: flex;
38
37
  flex-direction: row;
@@ -50,7 +49,6 @@ seam-widget {
50
49
  }
51
50
 
52
51
  .widget-header-btn-collapse {
53
-
54
52
  .seam-icon--fa {
55
53
  display: flex;
56
54
  flex-direction: row;
@@ -60,11 +60,9 @@ button[seam-widget-tile] {
60
60
  right: -3px;
61
61
  width: 15px !important;
62
62
  height: 15px !important;
63
-
64
63
  }
65
64
 
66
- seam-icon img[src$=".svg"] {
65
+ seam-icon img[src$='.svg'] {
67
66
  height: 100%; // Needed for IE
68
67
  }
69
-
70
68
  }
@@ -12,5 +12,4 @@ seam-widget-footer {
12
12
  .widget-footer--right {
13
13
  flex: 0 0 auto;
14
14
  }
15
-
16
15
  }