@theseam/ui-common 1.0.0-beta.1 → 1.0.0-beta.11

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 +730 -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 +252 -195
  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 +5 -5
  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 +57 -58
  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
@@ -1,10 +1,22 @@
1
1
  @use 'sass:color';
2
2
 
3
3
  $seam-progress-complete: $green !default;
4
- $seam-progress-complete-bg: color.adjust($green, $lightness: 40%, $space: hsl) !default;
4
+ $seam-progress-complete-bg: color.adjust(
5
+ $green,
6
+ $lightness: 40%,
7
+ $space: hsl
8
+ ) !default;
5
9
 
6
10
  $seam-progress-incomplete: $orange !default;
7
- $seam-progress-incomplete-bg: color.adjust($orange, $lightness: 40%, $space: hsl) !default;
11
+ $seam-progress-incomplete-bg: color.adjust(
12
+ $orange,
13
+ $lightness: 40%,
14
+ $space: hsl
15
+ ) !default;
8
16
 
9
17
  $seam-progress-new: $gray-600 !default;
10
- $seam-progress-new-bg: color.adjust($gray-600, $lightness: 40%, $space: hsl) !default;
18
+ $seam-progress-new-bg: color.adjust(
19
+ $gray-600,
20
+ $lightness: 40%,
21
+ $space: hsl
22
+ ) !default;
package/shared/index.d.ts CHANGED
@@ -151,15 +151,8 @@ declare class TheSeamHoverClassDirective {
151
151
 
152
152
  declare class TheSeamNgSelectExtraDirective implements OnInit, AfterViewChecked, OnDestroy {
153
153
  private readonly _elementRef;
154
- private readonly _ngZone;
155
154
  private readonly _ngSelect;
156
155
  private readonly _ngControl;
157
- private readonly _ngUnsubscribe;
158
- private _markedItem;
159
- private _checkMarked;
160
- private _keyPressWorkaroundSub;
161
- private _resizedEvent;
162
- private _resizeSensor?;
163
156
  /**
164
157
  * Set the tab index to `-1` to allow the root element of the ng-select
165
158
  * component to receive `focus` event from javascript, but not get focused by
@@ -177,12 +170,6 @@ declare class TheSeamNgSelectExtraDirective implements OnInit, AfterViewChecked,
177
170
  ngOnDestroy(): void;
178
171
  ngAfterViewChecked(): void;
179
172
  private _onScroll;
180
- /**
181
- * Temp fix for: https://github.com/ng-select/ng-select/issues/1122
182
- */
183
- /** Should ONLY be called by `_patch_ngSelect_open`. */
184
- private _enableKeyPressWorkaround;
185
- private _disableKeyPressWorkaround;
186
173
  static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamNgSelectExtraDirective, never>;
187
174
  static ɵdir: i0.ɵɵDirectiveDeclaration<TheSeamNgSelectExtraDirective, "ng-select", ["seamNgSelectExtra"], {}, {}, never, never, true, never>;
188
175
  }
@@ -9,6 +9,8 @@ import * as i4 from '@angular/router';
9
9
  import * as i5 from '@theseam/ui-common/scrollbar';
10
10
  import { GlobalConfig, ActiveToast, ToastContainerDirective, IndividualConfig } from 'ngx-toastr';
11
11
  import { TheSeamPreferencesAccessor } from '@theseam/ui-common/services';
12
+ import { AngularRenderer } from '@storybook/angular';
13
+ import { DecoratorFunction } from 'storybook/internal/csf';
12
14
 
13
15
  declare type ArgType = any;
14
16
  declare const themeArgType: ArgType;
@@ -180,5 +182,13 @@ declare class StoryPreferencesAccessorService implements TheSeamPreferencesAcces
180
182
  static ɵprov: i0.ɵɵInjectableDeclaration<StoryPreferencesAccessorService>;
181
183
  }
182
184
 
183
- export { STORY_INITIAL_ROUTE_URL, StoryEmptyComponent, StoryEmptyWithRouteComponent, StoryHelperComponentsModule, StoryInitialRouteModule, StoryInitialRouteService, StoryModalContainerComponent, StoryPreferencesAccessorService, StoryToastrService, argsToTpl, buttonTypeArgType, onStoryBootstrappedTrigger, routeButton, routesArgType, sizeArgType, storyInitialRouteFactory, themeArgType, themeWithOutlineArgType };
185
+ declare const INJECTOR_TO_ARGS_PROPERTY_NAME = "__getInjector";
186
+ /**
187
+ * Storybook decorator that stores the Angular Injector in
188
+ * args, for retrieval in play function.
189
+ */
190
+ declare const addInjectorGetterToArgs: (argName?: string) => DecoratorFunction<AngularRenderer>;
191
+ declare const getInjectorFromArgs: (args: any, argName?: string) => Injector;
192
+
193
+ export { INJECTOR_TO_ARGS_PROPERTY_NAME, STORY_INITIAL_ROUTE_URL, StoryEmptyComponent, StoryEmptyWithRouteComponent, StoryHelperComponentsModule, StoryInitialRouteModule, StoryInitialRouteService, StoryModalContainerComponent, StoryPreferencesAccessorService, StoryToastrService, addInjectorGetterToArgs, argsToTpl, buttonTypeArgType, getInjectorFromArgs, onStoryBootstrappedTrigger, routeButton, routesArgType, sizeArgType, storyInitialRouteFactory, themeArgType, themeWithOutlineArgType };
184
194
  export type { ArgsTplOptions, ArgsTplParts };
@@ -6,40 +6,40 @@
6
6
  @import './bs-utilities';
7
7
 
8
8
  // Optional
9
- @import "bootstrap/scss/root";
10
- @import "bootstrap/scss/reboot";
11
- @import "bootstrap/scss/type";
12
- @import "bootstrap/scss/images";
13
- @import "bootstrap/scss/code";
14
- @import "bootstrap/scss/grid";
15
- @import "bootstrap/scss/tables";
16
- @import "bootstrap/scss/forms";
17
- @import "bootstrap/scss/buttons";
18
- @import "bootstrap/scss/transitions";
19
- @import "bootstrap/scss/dropdown";
20
- @import "bootstrap/scss/button-group";
21
- @import "bootstrap/scss/input-group";
22
- @import "bootstrap/scss/custom-forms";
23
- @import "bootstrap/scss/nav";
24
- @import "bootstrap/scss/navbar";
25
- @import "bootstrap/scss/card";
26
- @import "bootstrap/scss/breadcrumb";
27
- @import "bootstrap/scss/pagination";
28
- @import "bootstrap/scss/badge";
29
- @import "bootstrap/scss/jumbotron";
30
- @import "bootstrap/scss/alert";
31
- @import "bootstrap/scss/progress";
32
- @import "bootstrap/scss/media";
33
- @import "bootstrap/scss/list-group";
34
- @import "bootstrap/scss/close";
35
- @import "bootstrap/scss/toasts";
36
- @import "bootstrap/scss/modal";
37
- @import "bootstrap/scss/tooltip";
38
- @import "bootstrap/scss/popover";
39
- @import "bootstrap/scss/carousel";
40
- @import "bootstrap/scss/spinners";
41
- @import "bootstrap/scss/utilities";
42
- @import "bootstrap/scss/print";
9
+ @import 'bootstrap/scss/root';
10
+ @import 'bootstrap/scss/reboot';
11
+ @import 'bootstrap/scss/type';
12
+ @import 'bootstrap/scss/images';
13
+ @import 'bootstrap/scss/code';
14
+ @import 'bootstrap/scss/grid';
15
+ @import 'bootstrap/scss/tables';
16
+ @import 'bootstrap/scss/forms';
17
+ @import 'bootstrap/scss/buttons';
18
+ @import 'bootstrap/scss/transitions';
19
+ @import 'bootstrap/scss/dropdown';
20
+ @import 'bootstrap/scss/button-group';
21
+ @import 'bootstrap/scss/input-group';
22
+ @import 'bootstrap/scss/custom-forms';
23
+ @import 'bootstrap/scss/nav';
24
+ @import 'bootstrap/scss/navbar';
25
+ @import 'bootstrap/scss/card';
26
+ @import 'bootstrap/scss/breadcrumb';
27
+ @import 'bootstrap/scss/pagination';
28
+ @import 'bootstrap/scss/badge';
29
+ @import 'bootstrap/scss/jumbotron';
30
+ @import 'bootstrap/scss/alert';
31
+ @import 'bootstrap/scss/progress';
32
+ @import 'bootstrap/scss/media';
33
+ @import 'bootstrap/scss/list-group';
34
+ @import 'bootstrap/scss/close';
35
+ @import 'bootstrap/scss/toasts';
36
+ @import 'bootstrap/scss/modal';
37
+ @import 'bootstrap/scss/tooltip';
38
+ @import 'bootstrap/scss/popover';
39
+ @import 'bootstrap/scss/carousel';
40
+ @import 'bootstrap/scss/spinners';
41
+ @import 'bootstrap/scss/utilities';
42
+ @import 'bootstrap/scss/print';
43
43
 
44
44
  // Custom Styles
45
45
  @import './bs-styles';
@@ -7,7 +7,6 @@
7
7
  padding-bottom: $alert-padding-y-slim;
8
8
 
9
9
  &.alert-dismissible {
10
-
11
10
  .close {
12
11
  padding-top: $alert-padding-y-slim;
13
12
  padding-bottom: $alert-padding-y-slim;
@@ -45,7 +44,6 @@
45
44
  }
46
45
  }
47
46
 
48
-
49
47
  .table {
50
48
  thead th {
51
49
  border-bottom: $table-border-width solid $table-border-color;
@@ -56,7 +54,6 @@
56
54
  //
57
55
  //
58
56
  .breadcrumb-item {
59
-
60
57
  &::before {
61
58
  display: inline-block; // Suppress underlining of the separator in modern browsers
62
59
  font-weight: $font-weight-base;
@@ -68,7 +65,6 @@
68
65
  }
69
66
  }
70
67
 
71
-
72
68
  // Popovers
73
69
  //
74
70
  //
@@ -83,22 +79,22 @@
83
79
  // }
84
80
 
85
81
  &.bs-popover-top > .arrow::before,
86
- &.bs-popover-auto[x-placement^=top] > .arrow::before {
82
+ &.bs-popover-auto[x-placement^='top'] > .arrow::before {
87
83
  border-top-color: $value !important;
88
84
  }
89
85
 
90
86
  &.bs-popover-right > .arrow::before,
91
- &.bs-popover-auto[x-placement^=right] > .arrow::before {
87
+ &.bs-popover-auto[x-placement^='right'] > .arrow::before {
92
88
  border-right-color: $value !important;
93
89
  }
94
90
 
95
91
  &.bs-popover-bottom > .arrow::before,
96
- &.bs-popover-auto[x-placement^=bottom] > .arrow::before {
92
+ &.bs-popover-auto[x-placement^='bottom'] > .arrow::before {
97
93
  border-bottom-color: $value !important;
98
94
  }
99
95
 
100
96
  &.bs-popover-left > .arrow::before,
101
- &.bs-popover-auto[x-placement^=left] > .arrow::before {
97
+ &.bs-popover-auto[x-placement^='left'] > .arrow::before {
102
98
  border-left-color: $value !important;
103
99
  }
104
100
  }
@@ -1,5 +1,5 @@
1
1
  // Required to import before bootstrap css rule stylesheets.
2
- @import "bootstrap/scss/functions";
3
- @import "bs-variables"; // Our bootstrap variable customizations
4
- @import "bootstrap/scss/variables";
5
- @import "bootstrap/scss/mixins";
2
+ @import 'bootstrap/scss/functions';
3
+ @import 'bs-variables'; // Our bootstrap variable customizations
4
+ @import 'bootstrap/scss/variables';
5
+ @import 'bootstrap/scss/mixins';
@@ -1,4 +1,4 @@
1
- @use "sass:map";
1
+ @use 'sass:map';
2
2
 
3
3
  //
4
4
  // This file should only contain changes to bootstrap variables
@@ -11,7 +11,7 @@ $enable-prefers-reduced-motion-media-query: false !default;
11
11
  // Color system
12
12
  //
13
13
 
14
- $white: #fff !default;
14
+ $white: #fff !default;
15
15
  $gray-100: #f8f9fa !default;
16
16
  $gray-200: #e9ecef !default;
17
17
  $gray-300: #dee2e6 !default;
@@ -21,123 +21,118 @@ $gray-600: #6c757d !default;
21
21
  $gray-700: #495057 !default;
22
22
  $gray-800: #343a40 !default;
23
23
  $gray-900: #212529 !default;
24
- $black: #000 !default;
24
+ $black: #000 !default;
25
25
 
26
26
  $grays: ();
27
27
  // stylelint-disable-next-line scss/dollar-variable-default
28
28
  $grays: map.merge(
29
29
  (
30
- "100": $gray-100,
31
- "200": $gray-200,
32
- "300": $gray-300,
33
- "400": $gray-400,
34
- "500": $gray-500,
35
- "600": $gray-600,
36
- "700": $gray-700,
37
- "800": $gray-800,
38
- "900": $gray-900
30
+ '100': $gray-100,
31
+ '200': $gray-200,
32
+ '300': $gray-300,
33
+ '400': $gray-400,
34
+ '500': $gray-500,
35
+ '600': $gray-600,
36
+ '700': $gray-700,
37
+ '800': $gray-800,
38
+ '900': $gray-900,
39
39
  ),
40
40
  $grays
41
41
  );
42
42
 
43
-
44
- $blue: #357ebd !default;
43
+ $blue: #357ebd !default;
45
44
  $light-blue: #67b2fd !default;
46
- $indigo: #6610f2 !default;
47
- $purple: #6f42c1 !default;
48
- $pink: #e83e8c !default;
49
- $red: #dc3545 !default;
50
- $orange: #f57a15 !default;
51
- $yellow: #ffc107 !default;
52
- $green: #55c83c !default;
53
- $teal: #20c997 !default;
54
- $cyan: #17a2b8 !default;
45
+ $indigo: #6610f2 !default;
46
+ $purple: #6f42c1 !default;
47
+ $pink: #e83e8c !default;
48
+ $red: #dc3545 !default;
49
+ $orange: #f57a15 !default;
50
+ $yellow: #ffc107 !default;
51
+ $green: #55c83c !default;
52
+ $teal: #20c997 !default;
53
+ $cyan: #17a2b8 !default;
55
54
 
56
55
  $colors: ();
57
56
  // stylelint-disable-next-line scss/dollar-variable-default
58
57
  $colors: map.merge(
59
58
  (
60
- "blue": $blue,
61
- "indigo": $indigo,
62
- "purple": $purple,
63
- "pink": $pink,
64
- "red": $red,
65
- "orange": $orange,
66
- "yellow": $yellow,
67
- "green": $green,
68
- "teal": $teal,
69
- "cyan": $cyan,
70
- "white": $white,
71
- "gray": $gray-600,
72
- "gray-dark": $gray-800
59
+ 'blue': $blue,
60
+ 'indigo': $indigo,
61
+ 'purple': $purple,
62
+ 'pink': $pink,
63
+ 'red': $red,
64
+ 'orange': $orange,
65
+ 'yellow': $yellow,
66
+ 'green': $green,
67
+ 'teal': $teal,
68
+ 'cyan': $cyan,
69
+ 'white': $white,
70
+ 'gray': $gray-600,
71
+ 'gray-dark': $gray-800,
73
72
  ),
74
73
  $colors
75
74
  );
76
75
 
77
- $primary: $blue !default;
78
- $secondary: $gray-600 !default;
79
- $success: $green !default;
80
- $info: $cyan !default;
81
- $warning: $orange !default;
82
- $danger: $red !default;
83
- $light: $gray-100 !default;
84
- $dark: $gray-800 !default;
85
- $lightgray: $gray-300 !default;
76
+ $primary: $blue !default;
77
+ $secondary: $gray-600 !default;
78
+ $success: $green !default;
79
+ $info: $cyan !default;
80
+ $warning: $orange !default;
81
+ $danger: $red !default;
82
+ $light: $gray-100 !default;
83
+ $dark: $gray-800 !default;
84
+ $lightgray: $gray-300 !default;
86
85
 
87
86
  $theme-colors: () !default;
88
87
  // stylelint-disable-next-line scss/dollar-variable-default
89
88
  $theme-colors: map.merge(
90
89
  (
91
- "primary": $primary,
92
- "secondary": $secondary,
93
- "success": $success,
94
- "info": $info,
95
- "warning": $warning,
96
- "danger": $danger,
97
- "light": $light,
98
- "dark": $dark,
90
+ 'primary': $primary,
91
+ 'secondary': $secondary,
92
+ 'success': $success,
93
+ 'info': $info,
94
+ 'warning': $warning,
95
+ 'danger': $danger,
96
+ 'light': $light,
97
+ 'dark': $dark,
99
98
  // Custom
100
- "lightgray": $lightgray,
101
- "lightblue": $light-blue
99
+ 'lightgray': $lightgray,
100
+ 'lightblue': $light-blue,
102
101
  ),
103
102
  $theme-colors
104
103
  );
105
104
 
106
- $body-color: $gray-900 !default;
107
- $border-color: $gray-300 !default;
108
- $table-border-color: $gray-300 !default;
105
+ $body-color: $gray-900 !default;
106
+ $border-color: $gray-300 !default;
107
+ $table-border-color: $gray-300 !default;
109
108
 
110
109
  // Buttons + Forms
111
110
  //
112
111
  // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
113
112
 
114
- $input-btn-padding-x: 1.25rem !default;
115
-
116
- $input-btn-padding-x-sm: 0.75rem !default;
113
+ $input-btn-padding-x: 1.25rem !default;
117
114
 
115
+ $input-btn-padding-x-sm: 0.75rem !default;
118
116
 
119
117
  // Modals
120
118
 
121
- $modal-inner-padding: 0.5rem !default;
122
-
123
- $modal-header-padding-y: 0.5rem !default;
119
+ $modal-inner-padding: 0.5rem !default;
124
120
 
121
+ $modal-header-padding-y: 0.5rem !default;
125
122
 
126
123
  // Alerts
127
124
  //
128
125
  // Define alert colors, border radius, and padding.
129
126
 
130
- $alert-padding-y: .75rem !default;
131
- $alert-padding-y-slim: .25rem !default; //Custom
132
-
127
+ $alert-padding-y: 0.75rem !default;
128
+ $alert-padding-y-slim: 0.25rem !default; //Custom
133
129
 
134
130
  // Breadcrumbs
135
131
 
136
- $breadcrumb-padding-y: .50rem !default;
137
-
132
+ $breadcrumb-padding-y: 0.5rem !default;
138
133
 
139
134
  // Tables
140
135
  //
141
136
  // Customizes the `.table` component with basic values, each used across all table variations.
142
137
 
143
- $table-border-width: 1px !default;
138
+ $table-border-width: 1px !default;
@@ -1,15 +1,14 @@
1
1
  // Disable Edge password eye icon
2
- input[type=password].no-native-eye::-ms-reveal,
3
- input[type=password].no-native-eye::-ms-clear
4
- {
5
- display: none;
2
+ input[type='password'].no-native-eye::-ms-reveal,
3
+ input[type='password'].no-native-eye::-ms-clear {
4
+ display: none;
6
5
  }
7
6
 
8
7
  // Disable number spinner
9
- input[type=number]::-webkit-inner-spin-button,
10
- input[type=number]::-webkit-outer-spin-button {
11
- -webkit-appearance: none;
12
- -moz-appearance: none;
13
- appearance: none;
14
- margin: 0;
8
+ input[type='number']::-webkit-inner-spin-button,
9
+ input[type='number']::-webkit-outer-spin-button {
10
+ -webkit-appearance: none;
11
+ -moz-appearance: none;
12
+ appearance: none;
13
+ margin: 0;
15
14
  }
@@ -6,4 +6,3 @@ body {
6
6
  min-height: 100vh;
7
7
  font-family: 'Mada', sans-serif;
8
8
  }
9
-
@@ -8,7 +8,7 @@
8
8
 
9
9
  // HACK: Scrollbar was getting placed behind the backdrop making it
10
10
  // unreachable.
11
- .os-scrollbar{
11
+ .os-scrollbar {
12
12
  z-index: $zindex-modal + 2;
13
13
  }
14
14
  }
@@ -4,7 +4,6 @@
4
4
  //
5
5
  //
6
6
 
7
-
8
7
  // # Text ellipsis in `td`
9
8
  //
10
9
  // For this to work the text needs to be wrapped in a block element, such as a
@@ -1 +1,3 @@
1
- .text-decoration-underine { text-decoration: underline !important; }
1
+ .text-decoration-underine {
2
+ text-decoration: underline !important;
3
+ }
package/styles/theme.scss CHANGED
@@ -16,4 +16,4 @@
16
16
 
17
17
  @import './vendor/vendor';
18
18
 
19
- @import './storybook-fixes'
19
+ @import './storybook-fixes';