@theseam/ui-common 1.0.0-beta.6 → 1.0.0-beta.8

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 (149) hide show
  1. package/breadcrumbs/index.d.ts +1 -2
  2. package/buttons/index.d.ts +20 -13
  3. package/datatable/index.d.ts +8 -8
  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 +592 -388
  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 +120 -74
  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 +177 -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 +123 -67
  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 +34 -38
  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 +50 -39
  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 +79 -56
  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/framework/base-layout/base-layout.component.scss +9 -4
  110. package/framework/base-layout/styles/_variables.scss +4 -9
  111. package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +6 -4
  112. package/framework/index.d.ts +6 -6
  113. package/framework/nav/nav-item/nav-item.component.scss +7 -6
  114. package/framework/nav/styles/_themes/light/_variables.scss +21 -5
  115. package/framework/nav/styles/_themes/primary/_variables.scss +21 -5
  116. package/framework/side-nav/side-nav-item/side-nav-item.component.scss +5 -2
  117. package/framework/side-nav/styles/_themes/light/_variables.scss +5 -1
  118. package/framework/side-nav/styles/_themes/primary/_variables.scss +25 -5
  119. package/graphql/index.d.ts +5 -5
  120. package/modal/README.md +5 -5
  121. package/modal/index.d.ts +1 -1
  122. package/models/index.d.ts +1 -1
  123. package/package.json +41 -41
  124. package/popover/index.d.ts +0 -2
  125. package/progress/progress-circle/styles/_variables.scss +15 -3
  126. package/story-helpers/index.d.ts +11 -1
  127. package/styles/bootstrap/_bootstrap.scss +34 -34
  128. package/styles/bootstrap/_bs-styles.scss +4 -8
  129. package/styles/bootstrap/_bs-utilities.scss +4 -4
  130. package/styles/bootstrap/_bs-variables.scss +65 -70
  131. package/styles/common/_forms.scss +9 -10
  132. package/styles/common/_global.scss +0 -1
  133. package/styles/common/_hacks.scss +1 -1
  134. package/styles/common/_table.scss +0 -1
  135. package/styles/common/_text.scss +3 -1
  136. package/styles/theme.scss +1 -1
  137. package/styles/vendor/ng-select/_ng-select-bs4.scss +292 -294
  138. package/styles/vendor/ngx-datatable/_ngx-datatable.scss +63 -32
  139. package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +37 -10
  140. package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +3 -1
  141. package/styles/vendor/quill/_quill.scss +15 -9
  142. package/tel-input/README.md +27 -27
  143. package/utils/index.d.ts +3 -3
  144. package/viewers/index.d.ts +9 -2
  145. package/widget/_widget-theme.scss +1 -1
  146. package/widget/styles/_variables.scss +2 -2
  147. package/widget/widget/widget.component.scss +0 -2
  148. package/widget/widget-content-components/widget-tile/widget-tile.component.scss +1 -3
  149. package/widget/widget-footer/widget-footer.component.scss +0 -1
@@ -1,328 +1,328 @@
1
1
  @mixin rtl {
2
- @at-root [dir="rtl"] #{&} {
3
- @content
2
+ @at-root [dir='rtl'] #{&} {
3
+ @content;
4
4
  }
5
5
  }
6
6
 
7
7
  $color-selected: #f5faff;
8
8
  .ng-select {
9
- &.ng-select-opened {
10
- >.ng-select-container {
11
- color: #495057;
12
- background: #fff;
13
- // border-color: #80bdff;
14
- // box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
15
- .ng-arrow {
16
- top: -2px;
17
- border-color: transparent transparent #495058;
18
- border-width: 0 5px 5px;
19
- &:hover {
20
- border-color: transparent transparent #495058;
21
- }
22
- }
23
- }
24
- &.ng-select-bottom {
25
- >.ng-select-container {
26
- border-bottom-right-radius: 0;
27
- border-bottom-left-radius: 0;
28
- }
29
- }
30
- &.ng-select-top {
31
- >.ng-select-container {
32
- border-top-right-radius: 0;
33
- border-top-left-radius: 0;
34
- }
9
+ &.ng-select-opened {
10
+ > .ng-select-container {
11
+ color: #495057;
12
+ background: #fff;
13
+ // border-color: #80bdff;
14
+ // box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
15
+ .ng-arrow {
16
+ top: -2px;
17
+ border-color: transparent transparent #495058;
18
+ border-width: 0 5px 5px;
19
+ &:hover {
20
+ border-color: transparent transparent #495058;
35
21
  }
22
+ }
36
23
  }
37
- &.ng-select-focused {
38
- // &:not(.ng-select-opened)>.ng-select-container {
39
- // border-color: #80bdff;
40
- // box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
41
- // }
24
+ &.ng-select-bottom {
25
+ > .ng-select-container {
26
+ border-bottom-right-radius: 0;
27
+ border-bottom-left-radius: 0;
28
+ }
29
+ }
30
+ &.ng-select-top {
31
+ > .ng-select-container {
32
+ border-top-right-radius: 0;
33
+ border-top-left-radius: 0;
34
+ }
35
+ }
36
+ }
37
+ &.ng-select-focused {
38
+ // &:not(.ng-select-opened)>.ng-select-container {
39
+ // border-color: #80bdff;
40
+ // box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
41
+ // }
42
42
 
43
- color: $input-focus-color;
44
- background-color: $input-focus-bg;
45
- border-color: $input-focus-border-color;
46
- outline: 0;
47
- // Avoid using mixin so we can pass custom focus shadow properly
48
- @if $enable-shadows {
49
- box-shadow: $input-box-shadow, $input-focus-box-shadow;
50
- } @else {
51
- box-shadow: $input-focus-box-shadow;
52
- }
43
+ color: $input-focus-color;
44
+ background-color: $input-focus-bg;
45
+ border-color: $input-focus-border-color;
46
+ outline: 0;
47
+ // Avoid using mixin so we can pass custom focus shadow properly
48
+ @if $enable-shadows {
49
+ box-shadow: $input-box-shadow, $input-focus-box-shadow;
50
+ } @else {
51
+ box-shadow: $input-focus-box-shadow;
53
52
  }
54
- &.ng-select-disabled {
55
- >.ng-select-container {
56
- background-color: #e9ecef;
57
- }
53
+ }
54
+ &.ng-select-disabled {
55
+ > .ng-select-container {
56
+ background-color: #e9ecef;
58
57
  }
59
- &:not(.ng-empty-string-value) .ng-has-value .ng-placeholder {
60
- display: none;
58
+ }
59
+ &:not(.ng-empty-string-value) .ng-has-value .ng-placeholder {
60
+ display: none;
61
+ }
62
+ .ng-select-container {
63
+ color: #495057 !important;
64
+ background-color: #fff;
65
+ border-radius: 0.25rem;
66
+ border: 1px solid #ced4da;
67
+ min-height: 36px;
68
+ align-items: center;
69
+ .ng-value-container {
70
+ align-items: center;
71
+ height: 36px;
72
+ padding-left: 10px;
73
+ @include rtl {
74
+ padding-right: 10px;
75
+ padding-left: 0;
76
+ }
77
+ .ng-placeholder {
78
+ color: #6c757d;
79
+ }
61
80
  }
81
+ }
82
+ &.ng-select-single {
62
83
  .ng-select-container {
63
- color: #495057 !important;
64
- background-color: #fff;
65
- border-radius: 0.25rem;
66
- border: 1px solid #ced4da;
67
- min-height: 36px;
68
- align-items: center;
69
- .ng-value-container {
70
- align-items: center;
71
- height: 36px;
72
- padding-left: 10px;
73
- @include rtl {
74
- padding-right: 10px;
75
- padding-left: 0
76
- }
77
- .ng-placeholder {
78
- color: #6c757d;
79
- }
84
+ height: calc(2.25rem + 2px);
85
+ .ng-value-container {
86
+ .ng-input {
87
+ top: 5px;
88
+ left: 0;
89
+ padding-left: 10px;
90
+ padding-right: 50px;
91
+ @include rtl {
92
+ padding-right: 10px;
93
+ padding-left: 50px;
94
+ }
95
+ }
96
+ input {
97
+ color: #495057;
80
98
  }
99
+ }
81
100
  }
82
- &.ng-select-single {
83
- .ng-select-container {
84
- height: calc(2.25rem + 2px);;
85
- .ng-value-container {
86
- .ng-input {
87
- top: 5px;
88
- left: 0;
89
- padding-left: 10px;
90
- padding-right: 50px;
91
- @include rtl {
92
- padding-right: 10px;
93
- padding-left: 50px;
94
- }
95
- }
96
- input {
97
- color: #495057;
98
- }
99
- }
101
+ }
102
+ &.ng-select-multiple {
103
+ &.ng-select-disabled {
104
+ > .ng-select-container .ng-value-container .ng-value {
105
+ background-color: #e9ecef;
106
+ border: 1px solid #ced4da;
107
+ .ng-value-label {
108
+ padding: 0 5px;
100
109
  }
110
+ }
101
111
  }
102
- &.ng-select-multiple {
103
- &.ng-select-disabled {
104
- >.ng-select-container .ng-value-container .ng-value {
105
- background-color: #e9ecef;
106
- border: 1px solid #ced4da;
107
- .ng-value-label {
108
- padding: 0 5px;
109
- }
110
- }
112
+ .ng-select-container {
113
+ .ng-value-container {
114
+ padding-top: 5px;
115
+ padding-left: 7px;
116
+ @include rtl {
117
+ padding-right: 7px;
118
+ padding-left: 0;
111
119
  }
112
- .ng-select-container {
113
- .ng-value-container {
114
- padding-top: 5px;
115
- padding-left: 7px;
116
- @include rtl {
117
- padding-right: 7px;
118
- padding-left: 0
119
- }
120
- .ng-value {
121
- font-size: 0.9em;
122
- margin-bottom: 5px;
123
- background-color: $color-selected;
124
- border-radius: 2px;
125
- border: 1px solid #c2e0ff;
126
- margin-right: 5px;
127
- @include rtl {
128
- margin-right: 0;
129
- margin-left: 5px;
130
- }
131
- &.ng-value-disabled {
132
- background-color: #e9ecef;
133
- border: 1px solid #ced4da;
134
- .ng-value-label {
135
- padding-left: 5px;
136
- @include rtl {
137
- padding-left: 0;
138
- padding-right: 5px;
139
- }
140
- }
141
- }
142
- .ng-value-label {
143
- display: inline-block;
144
- padding: 0 5px 0 5px;
145
- }
146
- .ng-value-icon {
147
- display: inline-block;
148
- padding: 0 5px;
149
- &:hover {
150
- background-color: #d8eafd;
151
- }
152
- &.left {
153
- border-right: 1px solid #c2e0ff;
154
- @include rtl {
155
- border-left: 1px solid #c2e0ff;
156
- border-right: none;
157
- }
158
- }
159
- &.right {
160
- border-left: 1px solid #c2e0ff;
161
- @include rtl {
162
- border-left: 0;
163
- border-right: 1px solid #c2e0ff;
164
- }
165
- }
166
- }
167
- }
168
- .ng-input {
169
- padding: 0 0 3px 3px;
170
- @include rtl {
171
- padding: 0 3px 3px 0;
172
- }
173
- input {
174
- color:green !important;
175
- }
176
- }
177
- .ng-placeholder {
178
- top: 5px;
179
- padding-bottom: 5px;
180
- padding-left: 3px;
181
- @include rtl {
182
- padding-right: 3px;
183
- padding-left: 0;
184
- }
185
- }
120
+ .ng-value {
121
+ font-size: 0.9em;
122
+ margin-bottom: 5px;
123
+ background-color: $color-selected;
124
+ border-radius: 2px;
125
+ border: 1px solid #c2e0ff;
126
+ margin-right: 5px;
127
+ @include rtl {
128
+ margin-right: 0;
129
+ margin-left: 5px;
130
+ }
131
+ &.ng-value-disabled {
132
+ background-color: #e9ecef;
133
+ border: 1px solid #ced4da;
134
+ .ng-value-label {
135
+ padding-left: 5px;
136
+ @include rtl {
137
+ padding-left: 0;
138
+ padding-right: 5px;
139
+ }
186
140
  }
187
- }
188
- }
189
- .ng-clear-wrapper {
190
- color: #999;
191
- .ng-clear {
141
+ }
142
+ .ng-value-label {
143
+ display: inline-block;
144
+ padding: 0 5px 0 5px;
145
+ }
146
+ .ng-value-icon {
147
+ display: inline-block;
148
+ padding: 0 5px;
192
149
  &:hover {
193
- color: #D0021B;
150
+ background-color: #d8eafd;
194
151
  }
152
+ &.left {
153
+ border-right: 1px solid #c2e0ff;
154
+ @include rtl {
155
+ border-left: 1px solid #c2e0ff;
156
+ border-right: none;
157
+ }
158
+ }
159
+ &.right {
160
+ border-left: 1px solid #c2e0ff;
161
+ @include rtl {
162
+ border-left: 0;
163
+ border-right: 1px solid #c2e0ff;
164
+ }
165
+ }
166
+ }
167
+ }
168
+ .ng-input {
169
+ padding: 0 0 3px 3px;
170
+ @include rtl {
171
+ padding: 0 3px 3px 0;
172
+ }
173
+ input {
174
+ color: green !important;
175
+ }
176
+ }
177
+ .ng-placeholder {
178
+ top: 5px;
179
+ padding-bottom: 5px;
180
+ padding-left: 3px;
181
+ @include rtl {
182
+ padding-right: 3px;
183
+ padding-left: 0;
184
+ }
195
185
  }
186
+ }
187
+ }
188
+ }
189
+ .ng-clear-wrapper {
190
+ color: #999;
191
+ .ng-clear {
192
+ &:hover {
193
+ color: #d0021b;
194
+ }
196
195
  }
197
- .ng-spinner-zone {
198
- padding: 5px 5px 0 0;
196
+ }
197
+ .ng-spinner-zone {
198
+ padding: 5px 5px 0 0;
199
199
 
200
- @include rtl {
201
- padding: 5px 0 0 5px;
202
- }
200
+ @include rtl {
201
+ padding: 5px 0 0 5px;
203
202
  }
204
- .ng-arrow-wrapper {
205
- width: 25px;
206
- padding-right: 5px;
207
- @include rtl {
208
- padding-left: 5px;
209
- padding-right: 0;
210
- }
211
- &:hover {
212
- .ng-arrow {
213
- border-top-color: #495058;
214
- }
215
- }
216
- .ng-arrow {
217
- border-color: #495058 transparent transparent;
218
- border-style: solid;
219
- border-width: 5px 5px 2.5px;
220
- }
203
+ }
204
+ .ng-arrow-wrapper {
205
+ width: 25px;
206
+ padding-right: 5px;
207
+ @include rtl {
208
+ padding-left: 5px;
209
+ padding-right: 0;
221
210
  }
211
+ &:hover {
212
+ .ng-arrow {
213
+ border-top-color: #495058;
214
+ }
215
+ }
216
+ .ng-arrow {
217
+ border-color: #495058 transparent transparent;
218
+ border-style: solid;
219
+ border-width: 5px 5px 2.5px;
220
+ }
221
+ }
222
222
  }
223
223
  .ng-dropdown-panel {
224
- background-color: #fff;
225
- border: 1px solid #ccc;
226
- box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
227
- left: 0;
228
- &.ng-select-bottom {
229
- top: 100%;
230
- border-bottom-right-radius: 4px;
231
- border-bottom-left-radius: 4px;
232
- border-top-color: #e6e6e6;
233
- margin-top: -1px;
234
- .ng-dropdown-panel-items {
235
- .ng-option {
236
- &:last-child {
237
- border-bottom-right-radius: 4px;
238
- border-bottom-left-radius: 4px;
239
- }
240
- }
224
+ background-color: #fff;
225
+ border: 1px solid #ccc;
226
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
227
+ left: 0;
228
+ &.ng-select-bottom {
229
+ top: 100%;
230
+ border-bottom-right-radius: 4px;
231
+ border-bottom-left-radius: 4px;
232
+ border-top-color: #e6e6e6;
233
+ margin-top: -1px;
234
+ .ng-dropdown-panel-items {
235
+ .ng-option {
236
+ &:last-child {
237
+ border-bottom-right-radius: 4px;
238
+ border-bottom-left-radius: 4px;
241
239
  }
240
+ }
242
241
  }
243
- &.ng-select-top {
244
- bottom: 100%;
245
- border-top-right-radius: 4px;
246
- border-top-left-radius: 4px;
247
- border-bottom-color: #e6e6e6;
248
- margin-bottom: -1px;
249
- .ng-dropdown-panel-items {
250
- .ng-option {
251
- &:first-child {
252
- border-top-right-radius: 4px;
253
- border-top-left-radius: 4px;
254
- }
255
- }
242
+ }
243
+ &.ng-select-top {
244
+ bottom: 100%;
245
+ border-top-right-radius: 4px;
246
+ border-top-left-radius: 4px;
247
+ border-bottom-color: #e6e6e6;
248
+ margin-bottom: -1px;
249
+ .ng-dropdown-panel-items {
250
+ .ng-option {
251
+ &:first-child {
252
+ border-top-right-radius: 4px;
253
+ border-top-left-radius: 4px;
256
254
  }
255
+ }
257
256
  }
258
- .ng-dropdown-header {
259
- border-bottom: 1px solid #ccc;
260
- padding: 5px 7px;
261
- }
262
- .ng-dropdown-footer {
263
- border-top: 1px solid #ccc;
264
- padding: 5px 7px;
257
+ }
258
+ .ng-dropdown-header {
259
+ border-bottom: 1px solid #ccc;
260
+ padding: 5px 7px;
261
+ }
262
+ .ng-dropdown-footer {
263
+ border-top: 1px solid #ccc;
264
+ padding: 5px 7px;
265
+ }
266
+ .ng-dropdown-panel-items {
267
+ margin-bottom: 1px;
268
+ .ng-optgroup {
269
+ user-select: none;
270
+ padding: 8px 10px;
271
+ font-weight: 500;
272
+ color: rgba(0, 0, 0, 0.54);
273
+ cursor: pointer;
274
+ &.ng-option-disabled {
275
+ cursor: default;
276
+ }
277
+ &.ng-option-marked {
278
+ background-color: #ebf5ff;
279
+ }
280
+ &.ng-option-selected {
281
+ background-color: $color-selected;
282
+ font-weight: 600;
283
+ }
265
284
  }
266
- .ng-dropdown-panel-items {
267
- margin-bottom: 1px;
268
- .ng-optgroup {
269
- user-select: none;
270
- padding: 8px 10px;
271
- font-weight: 500;
272
- color: rgba(0, 0, 0, 0.54);
273
- cursor: pointer;
274
- &.ng-option-disabled {
275
- cursor: default;
276
- }
277
- &.ng-option-marked {
278
- background-color: #ebf5ff;
279
- }
280
- &.ng-option-selected {
281
- background-color: $color-selected;
282
- font-weight: 600;
283
- }
285
+ .ng-option {
286
+ background-color: #fff;
287
+ color: #495057;
288
+ padding: 8px 10px;
289
+ &.ng-option-selected {
290
+ color: #495057;
291
+ background-color: $color-selected;
292
+ .ng-option-label {
293
+ font-weight: 600;
284
294
  }
285
- .ng-option {
286
- background-color: #fff;
287
- color: #495057;
288
- padding: 8px 10px;
289
- &.ng-option-selected {
290
- color: #495057;
291
- background-color: $color-selected;
292
- .ng-option-label {
293
- font-weight: 600;
294
- }
295
- }
296
- &.ng-option-marked {
297
- background-color: #ebf5ff;
298
- color: #495057;
299
- }
300
- &.ng-option-disabled {
301
- color: #cccccc;
302
- }
303
- &.ng-option-child {
304
- padding-left: 22px;
305
- @include rtl {
306
- padding-right: 22px;
307
- padding-left: 0;
308
- }
309
- }
310
- .ng-tag-label {
311
- font-size: 80%;
312
- font-weight: 400;
313
- padding-right: 5px;
314
- @include rtl {
315
- padding-left: 5px;
316
- padding-right: 0;
317
- }
318
- }
295
+ }
296
+ &.ng-option-marked {
297
+ background-color: #ebf5ff;
298
+ color: #495057;
299
+ }
300
+ &.ng-option-disabled {
301
+ color: #cccccc;
302
+ }
303
+ &.ng-option-child {
304
+ padding-left: 22px;
305
+ @include rtl {
306
+ padding-right: 22px;
307
+ padding-left: 0;
308
+ }
309
+ }
310
+ .ng-tag-label {
311
+ font-size: 80%;
312
+ font-weight: 400;
313
+ padding-right: 5px;
314
+ @include rtl {
315
+ padding-left: 5px;
316
+ padding-right: 0;
319
317
  }
318
+ }
320
319
  }
320
+ }
321
321
 
322
- @include rtl {
323
- direction: rtl;
324
- text-align: right;
325
- }
322
+ @include rtl {
323
+ direction: rtl;
324
+ text-align: right;
325
+ }
326
326
  }
327
327
 
328
328
  .ng-select {
@@ -341,7 +341,8 @@ $color-selected: #f5faff;
341
341
  &.ng-select-focused {
342
342
  &.is-valid {
343
343
  border-color: $form-feedback-valid-color;
344
- box-shadow: 0 0 0 $input-focus-width rgba($form-feedback-valid-color, .25);
344
+ box-shadow: 0 0 0 $input-focus-width
345
+ rgba($form-feedback-valid-color, 0.25);
345
346
 
346
347
  ~ .valid-feedback,
347
348
  ~ .valid-tooltip {
@@ -351,14 +352,14 @@ $color-selected: #f5faff;
351
352
 
352
353
  &.is-invalid {
353
354
  border-color: $form-feedback-invalid-color;
354
- box-shadow: 0 0 0 $input-focus-width rgba($form-feedback-invalid-color, .25);
355
+ box-shadow: 0 0 0 $input-focus-width
356
+ rgba($form-feedback-invalid-color, 0.25);
355
357
 
356
358
  ~ .invalid-feedback,
357
359
  ~ .invalid-tooltip {
358
360
  display: block;
359
361
  }
360
362
  }
361
-
362
363
  }
363
364
 
364
365
  .ng-value-container {
@@ -393,8 +394,6 @@ $color-selected: #f5faff;
393
394
  padding: 0;
394
395
  }
395
396
 
396
-
397
-
398
397
  // NOTE: The following classes are experiment and may be changed or removed.
399
398
  .ng-select {
400
399
  &.ng-select-single {
@@ -437,7 +436,6 @@ $color-selected: #f5faff;
437
436
  width: auto !important;
438
437
 
439
438
  .ng-dropdown-panel-items {
440
-
441
439
  .ng-option {
442
440
  white-space: normal;
443
441
  }