@linzjs/lui 18.0.0 → 18.0.1

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 (166) hide show
  1. package/CHANGELOG.md +630 -4
  2. package/README.md +3 -2
  3. package/dist/assets/icons/add_adopt.svg +1 -1
  4. package/dist/assets/icons/added_to_list.svg +1 -0
  5. package/dist/assets/icons/alias.svg +1 -0
  6. package/dist/assets/icons/alias_unselected.svg +1 -0
  7. package/dist/assets/icons/apps.svg +1 -1
  8. package/dist/assets/icons/arrow_drop_right.svg +1 -1
  9. package/dist/assets/icons/attachment.svg +1 -1
  10. package/dist/assets/icons/auth_and_instruct.svg +1 -1
  11. package/dist/assets/icons/balance_parcel.svg +1 -1
  12. package/dist/assets/icons/blocked.svg +1 -1
  13. package/dist/assets/icons/cancel_clear.svg +1 -1
  14. package/dist/assets/icons/cancel_outline.svg +1 -0
  15. package/dist/assets/icons/cart_view.svg +1 -0
  16. package/dist/assets/icons/certify_and_sign.svg +1 -1
  17. package/dist/assets/icons/change_password.svg +1 -1
  18. package/dist/assets/icons/close_list.svg +1 -0
  19. package/dist/assets/icons/control_point.svg +1 -1
  20. package/dist/assets/icons/copy.svg +1 -1
  21. package/dist/assets/icons/create_new_list.svg +1 -0
  22. package/dist/assets/icons/csv_file.svg +1 -0
  23. package/dist/assets/icons/data_display_threshold.svg +1 -0
  24. package/dist/assets/icons/dealings.svg +1 -1
  25. package/dist/assets/icons/delete_forever.svg +1 -0
  26. package/dist/assets/icons/dollar_round.svg +1 -1
  27. package/dist/assets/icons/double_arrow_left.svg +1 -1
  28. package/dist/assets/icons/double_arrow_right.svg +1 -1
  29. package/dist/assets/icons/double_tick.svg +1 -1
  30. package/dist/assets/icons/drag_indicator.svg +1 -1
  31. package/dist/assets/icons/draw_irregular_line.svg +1 -1
  32. package/dist/assets/icons/email.svg +1 -0
  33. package/dist/assets/icons/feedback_lightbulb.svg +1 -1
  34. package/dist/assets/icons/feedback_lightbulb_alt.svg +1 -1
  35. package/dist/assets/icons/file_attached_outline.svg +1 -1
  36. package/dist/assets/icons/help_outline.svg +1 -0
  37. package/dist/assets/icons/hourglass.svg +1 -1
  38. package/dist/assets/icons/instruments_roles.svg +1 -1
  39. package/dist/assets/icons/labels_off.svg +1 -0
  40. package/dist/assets/icons/labels_on.svg +1 -0
  41. package/dist/assets/icons/launch_modal.svg +1 -1
  42. package/dist/assets/icons/layers_user_defined.svg +1 -0
  43. package/dist/assets/icons/link.svg +1 -1
  44. package/dist/assets/icons/list_clear.svg +1 -0
  45. package/dist/assets/icons/list_notepad.svg +1 -0
  46. package/dist/assets/icons/list_view.svg +1 -0
  47. package/dist/assets/icons/lists_folder.svg +1 -0
  48. package/dist/assets/icons/lock.svg +1 -1
  49. package/dist/assets/icons/log_out.svg +1 -1
  50. package/dist/assets/icons/maori_land.svg +1 -1
  51. package/dist/assets/icons/memorials.svg +1 -1
  52. package/dist/assets/icons/menu.svg +1 -1
  53. package/dist/assets/icons/minimise.svg +1 -1
  54. package/dist/assets/icons/misclose_error.svg +1 -1
  55. package/dist/assets/icons/more_vert.svg +1 -1
  56. package/dist/assets/icons/notice_of_change.svg +1 -1
  57. package/dist/assets/icons/numbered_list.svg +1 -1
  58. package/dist/assets/icons/parcels_existing.svg +1 -1
  59. package/dist/assets/icons/parcels_new.svg +1 -1
  60. package/dist/assets/icons/pop_back.svg +1 -1
  61. package/dist/assets/icons/print.svg +1 -1
  62. package/dist/assets/icons/regenerate.svg +1 -1
  63. package/dist/assets/icons/release.svg +1 -3
  64. package/dist/assets/icons/restore.svg +1 -0
  65. package/dist/assets/icons/save.svg +1 -0
  66. package/dist/assets/icons/save_as.svg +1 -0
  67. package/dist/assets/icons/save_download.svg +1 -1
  68. package/dist/assets/icons/search.svg +1 -1
  69. package/dist/assets/icons/settings.svg +1 -0
  70. package/dist/assets/icons/summary_open.svg +1 -0
  71. package/dist/assets/icons/survey.svg +1 -1
  72. package/dist/assets/icons/tax_statement.svg +1 -1
  73. package/dist/assets/icons/tick.svg +1 -1
  74. package/dist/assets/icons/tick_and_cross.svg +1 -1
  75. package/dist/assets/icons/unlink.svg +1 -1
  76. package/dist/assets/icons/unlock.svg +1 -0
  77. package/dist/assets/icons/visiblity_off.svg +1 -1
  78. package/dist/assets/icons/xml_file.svg +1 -1
  79. package/dist/assets/icons/zoom_centre.svg +1 -1
  80. package/dist/assets/images/basemap_aerial.png +0 -0
  81. package/dist/assets/images/maintenance-illustration.svg +1 -0
  82. package/dist/assets/images/mountain-broken.svg +279 -1
  83. package/dist/assets/svg-content.d.ts +1 -1
  84. package/dist/assets/svg-content.tsx +232 -19
  85. package/dist/components/LuiAccordion/LuiAccordion.d.ts +11 -0
  86. package/dist/components/LuiBadge/LuiBadge.d.ts +6 -3
  87. package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +23 -0
  88. package/dist/components/LuiExpandableBanner/LuiExpandableBanner.d.ts +1 -0
  89. package/dist/components/LuiFloatingWindow/LuiFloatingWindow.d.ts +27 -0
  90. package/dist/components/LuiFloatingWindow/LuiFloatingWindowHeaders.d.ts +11 -0
  91. package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.d.ts +1 -1
  92. package/dist/components/LuiFormElements/LuiDateInput/DateInput.d.ts +5 -0
  93. package/dist/components/LuiFormElements/LuiDateInput/DateInputHelper.d.ts +6 -0
  94. package/dist/components/LuiFormElements/LuiDateInput/LuiDateInput.d.ts +5 -0
  95. package/dist/components/LuiFormElements/LuiMoneyInput/LuiMoneyInput.d.ts +28 -0
  96. package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +1 -0
  97. package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +5 -4
  98. package/dist/components/LuiFormikForms/LuiFormikCheckbox/LuiFormikCheckbox.d.ts +9 -0
  99. package/dist/components/LuiFormikForms/LuiFormikForm.d.ts +10 -0
  100. package/dist/components/LuiFormikForms/LuiFormikFormLabel/LuiFormikFormLabel.d.ts +8 -0
  101. package/dist/components/LuiFormikForms/LuiFormikFormSubmitButton/LuiFormikFormSubmitButton.d.ts +6 -0
  102. package/dist/components/LuiFormikForms/LuiFormikRadioButton/LuiFormikRadioButton.d.ts +8 -0
  103. package/dist/components/LuiFormikForms/LuiFormikRadioGroup/LuiFormikRadioGroup.d.ts +7 -0
  104. package/dist/components/LuiFormikForms/LuiFormikSelect/LuiFormikSelect.d.ts +11 -0
  105. package/dist/components/LuiFormikForms/LuiFormikTextInput/LuiFormikTextInput.d.ts +17 -0
  106. package/dist/components/LuiHeader/LuiHeader.d.ts +8 -0
  107. package/dist/components/LuiHeaderMenu/LuiHeaderMenus.d.ts +12 -0
  108. package/dist/components/LuiHeaderMenuV2/LuiHeaderMenusV2.d.ts +102 -0
  109. package/dist/components/LuiHeaderV2/LuiHeaderV2.d.ts +109 -0
  110. package/dist/components/LuiIcon/LuiIcon.d.ts +3 -2
  111. package/dist/components/LuiModal/LuiModal.d.ts +4 -0
  112. package/dist/components/LuiProgressBar/LuiProgressBar.d.ts +9 -0
  113. package/dist/components/LuiResizableLayout/LuiResizableLayout.d.ts +22 -0
  114. package/dist/components/LuiSearchInput/LuiSearchInput.d.ts +1 -0
  115. package/dist/components/LuiShadow/LuiShadow.d.ts +1 -0
  116. package/dist/components/LuiSidePanel/LuiSidePanel.d.ts +1 -0
  117. package/dist/components/LuiSideToolbar/LuiSideToolbar.d.ts +11 -0
  118. package/dist/components/LuiSideToolbar/ToolbarButton.d.ts +20 -0
  119. package/dist/components/LuiSideToolbar/ToolbarIcon.d.ts +13 -0
  120. package/dist/components/LuiSideToolbar/ToolbarItem.d.ts +16 -0
  121. package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +2 -2
  122. package/dist/components/LuiToastMessage/LuiToastMessage.d.ts +2 -0
  123. package/dist/components/LuiTooltip/LuiTooltip.d.ts +5 -12
  124. package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +8 -4
  125. package/dist/components/common/StorybookSupport.d.ts +1 -1
  126. package/dist/components/common/UseMediaQuery.d.ts +9 -0
  127. package/dist/index.d.ts +22 -9
  128. package/dist/index.js +51187 -16506
  129. package/dist/index.js.map +1 -1
  130. package/dist/lui.css +759 -89
  131. package/dist/lui.css.map +1 -1
  132. package/dist/lui.esm.js +51148 -16489
  133. package/dist/lui.esm.js.map +1 -1
  134. package/dist/scss/Components/ExpandingSection/expanding-section.scss +11 -0
  135. package/dist/scss/Components/HeaderV2/header-v2.scss +315 -0
  136. package/dist/scss/Components/LuiBadge/LuiBadge.scss +21 -1
  137. package/dist/scss/Components/LuiFloatingWindow/LuiFloatingWindow.scss +92 -0
  138. package/dist/scss/Components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.scss +3 -1
  139. package/dist/scss/Components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.scss +29 -7
  140. package/dist/scss/Components/LuiFormElements/LuiTextInput/LuiTextInput.scss +29 -3
  141. package/dist/scss/Components/LuiResizableLayout/LuiResizableLayout.scss +107 -0
  142. package/dist/scss/Components/LuiShadow/LuiShadow.scss +12 -1
  143. package/dist/scss/Components/LuiSidePanel/LuiSidePanel.scss +30 -0
  144. package/dist/scss/Components/LuiUpdateSplashModal/splashModal.scss +72 -0
  145. package/dist/scss/Components/MenuV2/menu-v2.scss +235 -0
  146. package/dist/scss/Components/Modal/modal.scss +37 -9
  147. package/dist/scss/Elements/Buttons/buttons.scss +19 -3
  148. package/dist/scss/Elements/Tooltips/tippy.scss +10 -0
  149. package/dist/scss/Foundation/Utilities/BoxShadow.scss +7 -16
  150. package/dist/scss/Foundation/Variables/ColorVars.scss +16 -8
  151. package/dist/scss/Foundation/Variables/ExportColors.scss +12 -0
  152. package/dist/scss/Global/helpers.scss +281 -260
  153. package/dist/scss/base.scss +5 -0
  154. package/package.json +28 -25
  155. package/dist/components/lol/LOLActiveFirmMessage.d.ts +0 -9
  156. package/dist/components/lol/LOLAppLauncherMenu.d.ts +0 -15
  157. package/dist/components/lol/LOLAuthorisedLink.d.ts +0 -17
  158. package/dist/components/lol/LOLCommonDrawerMenu.d.ts +0 -20
  159. package/dist/components/lol/LOLDrawerMenuFirmSwitcher.d.ts +0 -8
  160. package/dist/components/lol/LOLFirmSwitcher.d.ts +0 -26
  161. package/dist/components/lol/LOLLogoutLink.d.ts +0 -10
  162. package/dist/components/lol/LOLSearchBox.d.ts +0 -12
  163. package/dist/components/lol/LOLUserLastLogin.d.ts +0 -5
  164. package/dist/components/lol/contexts/LOLGlobalClientRefContext.d.ts +0 -22
  165. package/dist/components/lol/contexts/LOLUserContext.d.ts +0 -40
  166. package/dist/components/lol/contexts/LOLUserContextSupport.d.ts +0 -3
@@ -58,4 +58,15 @@
58
58
  margin-top: 0;
59
59
  }
60
60
  }
61
+
62
+ &-accordion-content {
63
+ height: auto;
64
+ overflow: hidden;
65
+ max-height: 9999px;
66
+ transition: max-height 0.4s ease(in-out-expo);
67
+
68
+ *:first-child {
69
+ margin-top: 0;
70
+ }
71
+ }
61
72
  }
@@ -0,0 +1,315 @@
1
+ @use "../../Foundation/Variables/MiscVars.scss" as misc;
2
+ @use "../../Foundation/Variables/ColorVars.scss" as colors;
3
+ @use "../../Foundation/Variables/FontVars.scss" as fonts;
4
+ @use "../../Foundation/Variables/SpacingVars.scss" as spacing;
5
+ @use "../../Foundation/Utilities" as *;
6
+
7
+ $headerRowHeightSmV2: 56px;
8
+ $headerRowHeightMdV2: 85px;
9
+ $headerRowHeightLgV2: 110px;
10
+ $swishHeightSmV2: 3px;
11
+ $swishHeightLgV2: 6px;
12
+ // header height is row height + swish height
13
+ // columns in header row is always 100% so it's row and swish that drives the height of the header
14
+ $headerHeightSmV2: $headerRowHeightSmV2; // doesn't apply swish to small header
15
+ $headerHeightMdV2: $headerRowHeightMdV2 + $swishHeightLgV2;
16
+ $headerHeightLgV2: $headerRowHeightLgV2 + $swishHeightLgV2;
17
+
18
+ $headerPadding: spacing.$unit-xxs;
19
+
20
+ // the padding (margin) size for the menu logo, icon and heading text
21
+ $headerElementPadding: spacing.$unit-xs;
22
+
23
+ .LuiHeaderV2 {
24
+ background: colors.$linz-linear-gradient-blue;
25
+ color: #fff;
26
+
27
+ &:after {
28
+ width: 100%;
29
+ content: '';
30
+ display: block;
31
+ height: $swishHeightLgV2;
32
+ overflow: hidden;
33
+ background: colors.$linz-linear-gradient-teal;
34
+ }
35
+
36
+ &.LuiHeaderV2-transparent {
37
+ background: transparent;
38
+ color: colors.$sea;
39
+ &:after {
40
+ content: none;
41
+ }
42
+ .LuiHeaderV2-menu-item-button {
43
+ &-icon {
44
+ color: colors.$surfie;
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ .LuiHeaderV2-row {
51
+ display: flex;
52
+ justify-content: space-between;
53
+ align-items: center;
54
+ height: $headerRowHeightMdV2;
55
+ padding: $headerPadding;
56
+ }
57
+
58
+ .LuiHeaderV2-col {
59
+ display: flex;
60
+ align-items: center;
61
+ flex-wrap: nowrap;
62
+ flex: 0 1 auto;
63
+ height: 100%;
64
+ column-gap: $headerPadding;
65
+ }
66
+
67
+ .LuiHeaderV2-title {
68
+ white-space: nowrap;
69
+ padding-right: $headerElementPadding;
70
+ padding-left: $headerElementPadding;
71
+
72
+ vertical-align: middle;
73
+
74
+ h1 {
75
+ color: colors.$white;
76
+ @media only screen {
77
+ display: none;
78
+ }
79
+ @include breakpoint(sm) {
80
+ display: block;
81
+ font-size: 2rem;
82
+ line-height: 2rem; // line height same as size so vertical placement is true
83
+ @include fonts.font-light;
84
+ margin: 0;
85
+ }
86
+ @include breakpoint(md) {
87
+ font-size: 2.25rem;
88
+ line-height: 2.25rem; // line height same as size so vertical placement is true
89
+ }
90
+ }
91
+ }
92
+
93
+ .LuiHeaderV2-logo {
94
+ a:before {
95
+ display: none;
96
+ }
97
+
98
+ margin-left: $headerElementPadding;
99
+ margin-right: $headerElementPadding;
100
+
101
+ @include breakpoint(sm) {
102
+ border-right: 1px solid colors.$persian;
103
+ margin-right: $headerElementPadding;
104
+ }
105
+
106
+ .clickable {
107
+ cursor: pointer;
108
+ }
109
+ }
110
+
111
+ .LuiHeaderV2-linz-logo {
112
+ width: 170px;
113
+ @include breakpoint(sm) {
114
+ width: 200px;
115
+ }
116
+ vertical-align: middle;
117
+ }
118
+
119
+ .LuiHeaderV2-small {
120
+ .LuiHeaderV2-row {
121
+ height: $headerRowHeightSmV2;
122
+
123
+ .LuiHeaderV2-col {
124
+ .LuiHeaderV2-logo {
125
+ border: none;
126
+ }
127
+
128
+ .LuiHeaderV2-linz-motif {
129
+ height: 32px;
130
+ width: 32px;
131
+ vertical-align: middle;
132
+ }
133
+
134
+ .LuiHeaderV2-title {
135
+ white-space: nowrap;
136
+
137
+ h1 {
138
+ color: colors.$white;
139
+ font-size: 20px;
140
+ line-height: 24px;
141
+ @include fonts.font-regular;
142
+ }
143
+ }
144
+ }
145
+ }
146
+
147
+ &:after {
148
+ // doesn't apply swish gap to small header
149
+ content: none;
150
+ }
151
+ }
152
+
153
+ .LuiHeaderV2-sticky {
154
+ position: fixed;
155
+ z-index: 50;
156
+ top: 0;
157
+ left: 0;
158
+ width: 100%;
159
+
160
+ & + div,
161
+ & + main {
162
+ margin-top: $headerHeightMdV2;
163
+
164
+ @include breakpoint(md) {
165
+ margin-top: $headerHeightLgV2;
166
+ }
167
+ }
168
+
169
+ &.LuiHeaderV2-small {
170
+ & + div,
171
+ & + main {
172
+ margin-top: $headerHeightSmV2;
173
+ }
174
+ }
175
+ }
176
+
177
+ .LuiHeaderV2-non-sticky {
178
+ width: 100%;
179
+ }
180
+
181
+ .LuiHeaderV2-menu-item {
182
+ display: flex;
183
+ flex-direction: column;
184
+
185
+ .clickable:hover {
186
+ cursor: pointer;
187
+ }
188
+
189
+ &-button {
190
+ @include fonts.font-semibold;
191
+ position: relative;
192
+ display: flex;
193
+ align-items: center;
194
+ justify-content: center;
195
+ border-radius: misc.$borderRadius;
196
+
197
+ &.selected {
198
+ background-color: rgba(0, 0, 0, 0.2);
199
+ }
200
+
201
+ &.unselected:hover {
202
+ background-color: rgba(255, 255, 255, 0.2);
203
+ }
204
+
205
+ .menu-tooltip {
206
+ display: none;
207
+ background-color: black;
208
+ text-align: center;
209
+ border-radius: 4px;
210
+ padding: 6px 6px;
211
+ @include fonts.font-regular;
212
+ font-size: 14px;
213
+ white-space: nowrap;
214
+
215
+ position: absolute;
216
+ top: 60px;
217
+ z-index: 10;
218
+
219
+ @include drop-shadow(sm);
220
+ border-radius: misc.$borderRadius;
221
+
222
+ &.dark {
223
+ color: colors.$hint;
224
+ background-color: colors.$charcoal;
225
+ }
226
+ &.light {
227
+ color: colors.$charcoal;
228
+ background-color: colors.$hint;
229
+ }
230
+ &.left {
231
+ left: 8px;
232
+ }
233
+ &.right {
234
+ right: 8px;
235
+ }
236
+
237
+ &::after {
238
+ content: '';
239
+ position: absolute;
240
+ top: -14px;
241
+ border-width: 8px;
242
+ border-style: solid;
243
+ }
244
+
245
+ &.left:after {
246
+ left: 0;
247
+ }
248
+
249
+ &.right:after {
250
+ right: 0;
251
+ }
252
+
253
+ &.dark::after {
254
+ border-color: transparent transparent colors.$charcoal transparent;
255
+ }
256
+
257
+ &.light::after {
258
+ border-color: transparent transparent colors.$hint transparent;
259
+ }
260
+ }
261
+
262
+ &:hover {
263
+ .menu-tooltip {
264
+ display: block;
265
+ }
266
+ }
267
+
268
+ &-icon {
269
+ display: flex;
270
+ align-items: center;
271
+ color: colors.$white;
272
+ cursor: default;
273
+ user-select: none;
274
+
275
+ width: spacing.$unit-xl;
276
+ height: spacing.$unit-xl;
277
+ align-items: center;
278
+ justify-content: center;
279
+ }
280
+
281
+ &-label {
282
+ text-align: left;
283
+ white-space: nowrap;
284
+ padding-right: $headerElementPadding;
285
+ }
286
+
287
+ &-label-only {
288
+ display: flex;
289
+ justify-content: center;
290
+ align-items: center;
291
+ padding-left: $headerElementPadding;
292
+ padding-right: $headerElementPadding;
293
+ white-space: nowrap;
294
+ height: 48px;
295
+ @include fonts.font-semibold;
296
+ font-size: 16px;
297
+ }
298
+
299
+ &-badge {
300
+ position: absolute;
301
+ display: flex;
302
+ justify-content: center;
303
+ align-items: center;
304
+ top: 4px;
305
+ left: 25px;
306
+ width: 20px;
307
+ height: 20px;
308
+ font-size: 12px;
309
+ text-align: center;
310
+ border-radius: 50%;
311
+ background: #cc0000;
312
+ color: white;
313
+ }
314
+ }
315
+ }
@@ -45,7 +45,27 @@
45
45
  background: colors.$snow;
46
46
  }
47
47
 
48
- .LuiBadge--warning {
48
+ .LuiBadge--variation-warning {
49
49
  border-color: colors.$warning;
50
50
  color: colors.$warning;
51
51
  }
52
+
53
+ .LuiBadge--variation-info {
54
+ border-color: colors.$info;
55
+ color: colors.$info;
56
+ }
57
+
58
+ .LuiBadge--variation-warning.LuiBadge--fill-color {
59
+ background-color: colors.$warning;
60
+ color: colors.$snow;
61
+ }
62
+
63
+ .LuiBadge--variation-info.LuiBadge--fill-color {
64
+ background-color: colors.$info;
65
+ color: colors.$snow;
66
+ }
67
+
68
+ .LuiBadge--variation-default.LuiBadge--fill-color {
69
+ background-color: colors.$fuscous;
70
+ color: colors.$snow
71
+ }
@@ -0,0 +1,92 @@
1
+ @use '../../Foundation/Utilities/BoxShadow' as shadow;
2
+ @use '../../Foundation/Variables/ColorVars' as colors;
3
+
4
+ .LuiFloatingWindow-buttons {
5
+ display: flex;
6
+ align-items: center;
7
+ }
8
+
9
+ .LuiFloatingWindow-extra-buttons-divider {
10
+ margin-right: 4px;
11
+ margin-left: 8px;
12
+ margin-top: -6px;
13
+ font-size: x-large;
14
+ opacity: 0.7;
15
+ }
16
+
17
+ .FloatingWindow-window {
18
+ @include shadow.drop-shadow($size: 'md');
19
+ position: absolute;
20
+ background-color: colors.$white;
21
+ top: 10%;
22
+ left: 5%;
23
+ display: flex;
24
+ flex-direction: column;
25
+ border-radius: 9px;
26
+ }
27
+
28
+ .FloatingWindow-container {
29
+ display: flex;
30
+ height: calc(100% - 50px);
31
+ width: 100%;
32
+ overflow: auto;
33
+ }
34
+
35
+ .FloatingWindow-header-element {
36
+ flex: 0;
37
+ }
38
+
39
+ .FloatingWindow-header {
40
+ height: 48px;
41
+ line-height: 48px;
42
+ color: colors.$charcoal;
43
+ padding: 0 8px;
44
+ display: flex;
45
+ overflow: hidden;
46
+ justify-content: space-between;
47
+ border-bottom: 2px colors.$lily solid;
48
+ font-size: 1em;
49
+ font-weight: 600;
50
+ }
51
+
52
+ .FloatingWindow-header-title-text {
53
+ font-size: 1em;
54
+ font-weight: 600;
55
+ overflow: hidden;
56
+ }
57
+
58
+ .FloatingWindow-buttons {
59
+ display: flex;
60
+ align-items: center;
61
+ }
62
+
63
+ .FloatingWindow-extra-buttons-divider {
64
+ margin-right: 4px;
65
+ margin-left: 8px;
66
+ margin-top: -6px;
67
+ font-size: x-large;
68
+ opacity: 0.7;
69
+ }
70
+
71
+ .FloatingWindowHeaderButton-button {
72
+ padding: 0 0 0 8px;
73
+ border: none;
74
+ outline: none;
75
+ border-radius: 50%;
76
+ background-color: transparent;
77
+ color: colors.$fuscous;
78
+ display: flex;
79
+ }
80
+
81
+ .FloatingWindowHeaderButton-icon {
82
+ fill: colors.$fuscous;
83
+ }
84
+
85
+ .floating-window-icon {
86
+ display: inline-block;
87
+ height: 24px;
88
+ max-height: 24px;
89
+ max-width: 24px;
90
+ width: 24px;
91
+ fill: colors.$fuscous;
92
+ }
@@ -26,7 +26,9 @@ $border-size: 2px;
26
26
  }
27
27
 
28
28
  .LuiCheckboxInput-group {
29
- display: block;
29
+ // display inline block so the label only spans the width of the label text. With display block, the hit area spans 100% of the width
30
+ display: inline-block;
31
+ line-height: 28px; // this is to stop the vertical movement between inline-block and block. There was extra white space and this addresses it
30
32
  user-select: none;
31
33
  cursor: pointer;
32
34
  }
@@ -53,10 +53,7 @@
53
53
  display: block;
54
54
  }
55
55
 
56
- &.hasError {
57
- textarea {
58
- border: 1px solid colors.$error;
59
- }
56
+ &.hasError, &.hasWarning {
60
57
  .LuiTextAreaInput-wrapper {
61
58
  position: relative;
62
59
 
@@ -74,6 +71,28 @@
74
71
  }
75
72
  }
76
73
 
74
+ &.hasError {
75
+ textarea {
76
+ border: 1px solid colors.$error;
77
+ }
78
+ .LuiTextAreaInput-wrapper {
79
+ &:before {
80
+ background-color: colors.$error;
81
+ }
82
+ }
83
+ }
84
+
85
+ &.hasWarning {
86
+ textarea {
87
+ border: 1px solid colors.$warning;
88
+ }
89
+ .LuiTextAreaInput-wrapper {
90
+ &:before {
91
+ background-color: colors.$warning;
92
+ }
93
+ }
94
+ }
95
+
77
96
  &.isDisabled {
78
97
  textarea {
79
98
  border-color: colors.$silver;
@@ -88,10 +107,9 @@
88
107
  position: relative;
89
108
  }
90
109
 
91
- .LuiTextAreaInput-error {
110
+ .LuiTextAreaInput-error, .LuiTextAreaInput-warning {
92
111
  position: relative;
93
112
  display: flex;
94
- color: colors.$error;
95
113
  @include fonts.font-semibold;
96
114
  text-align: left;
97
115
  padding-left: spacing.$unit-md;
@@ -100,7 +118,11 @@
100
118
  margin-top: spacing.$unit-xxs;
101
119
  }
102
120
 
103
- .LuiTextAreaInput-error-icon {
121
+ .LuiTextAreaInput-error {
122
+ color: colors.$error;
123
+ }
124
+
125
+ .LuiTextAreaInput-error-icon, .LuiTextAreaInput-warning-icon {
104
126
  position: absolute;
105
127
  left: 0;
106
128
  top: 2px;
@@ -36,6 +36,11 @@ $label-line-height: spacing.$unit-md;
36
36
  border-radius: 4px;
37
37
  }
38
38
 
39
+ &:has(input:invalid:not(:focus)) {
40
+ box-shadow: -8px 0px 0 0 colors.$error;
41
+ border-radius: 4px;
42
+ }
43
+
39
44
  .hasWarning & {
40
45
  box-shadow: -8px 0px 0 0 colors.$warning;
41
46
  border-radius: 4px;
@@ -95,11 +100,30 @@ $label-line-height: spacing.$unit-md;
95
100
  border-color: colors.$warning;
96
101
  }
97
102
 
98
- .isDisabled & {
103
+ .isDisabled &,
104
+ &:disabled {
99
105
  border-color: colors.$silver;
100
106
  background-color: colors.$lily;
101
107
  cursor: not-allowed;
102
108
  }
109
+
110
+ &[type='date'] {
111
+ padding-right: spacing.$unit-sm;
112
+ }
113
+
114
+ &:invalid:not(:focus) {
115
+ border-color: colors.$error;
116
+ }
117
+ }
118
+
119
+ .LuiTextInput-sm {
120
+ height: spacing.$unit-lg; // 32px
121
+ padding: {
122
+ top: spacing.$unit-xs;
123
+ right: spacing.$unit-sm;
124
+ bottom: spacing.$unit-xs;
125
+ left: spacing.$unit-sm;
126
+ }
103
127
  }
104
128
 
105
129
  .LuiTextInput-iconPosition {
@@ -122,7 +146,8 @@ $label-line-height: spacing.$unit-md;
122
146
  background-size: 16px 21px;
123
147
  }
124
148
 
125
- .LuiTextInput-error, .LuiTextInput-warning {
149
+ .LuiTextInput-error,
150
+ .LuiTextInput-warning {
126
151
  @include fonts.font-semibold();
127
152
  display: flex; // make sure we have a hanging indent with the icon
128
153
  position: relative;
@@ -137,7 +162,8 @@ $label-line-height: spacing.$unit-md;
137
162
  color: colors.$error;
138
163
  }
139
164
 
140
- .LuiTextInput-error-icon, .LuiTextInput-warning-icon {
165
+ .LuiTextInput-error-icon,
166
+ .LuiTextInput-warning-icon {
141
167
  position: absolute;
142
168
  left: 0;
143
169
  top: 2px;
@@ -0,0 +1,107 @@
1
+ @use "../../Foundation/Variables/ColorVars.scss" as colors;
2
+
3
+ .LuiResizableLayout-leftPanel {
4
+ display: flex;
5
+ flex-direction: column;
6
+ /* this overflow and the one below (LuiResizableLayout-leftPanelBody) are need to make only
7
+ the search result div scroll (instead of the whole page) */
8
+ overflow: auto;
9
+ }
10
+
11
+ .LuiResizableLayout-rightPanel {
12
+ display: flex;
13
+ flex-direction: column;
14
+ /* this overflow and the one below (LuiResizableLayout-leftPanelBody) are need to make only
15
+ the search result div scroll (instead of the whole page) */
16
+ overflow: auto;
17
+ }
18
+
19
+ .LuiResizableLayout-leftPanelBody {
20
+ overflow-y: auto;
21
+ }
22
+
23
+ .LuiResizableLayout-gutterParentControl {
24
+ display: flex;
25
+ /* use visibility and opacity instead of display: none as we want to be able to fade in on hover */
26
+ visibility: hidden;
27
+ opacity: 0;
28
+
29
+ position: fixed;
30
+ top: 50%;
31
+ z-index: 500;
32
+ margin-left: -30px; /*half total control width, minus half the gutter width*/
33
+ transition: 0.3s all 2s ease-in;
34
+ }
35
+
36
+ .LuiResizableLayout-gutterControlLeft, .LuiResizableLayout-gutterControlRight {
37
+ background-color: colors.$lily;
38
+ width: 32px;
39
+ height: 80px;
40
+ text-align: center;
41
+ display: flex;
42
+ align-items: center;
43
+ }
44
+
45
+ .LuiResizableLayout-gutterControlLeft {
46
+ border-radius: 3px 0 0 3px;
47
+ }
48
+
49
+ .LuiResizableLayout-gutterControlRight {
50
+ border-radius: 0 3px 3px 0;
51
+ }
52
+
53
+ .LuiResizableLayout-gutterControlLeft > .LuiIcon, .LuiResizableLayout-gutterControlRight > .LuiIcon {
54
+ height: auto;
55
+ }
56
+
57
+ .LuiResizableLayout-gutterControlLeft:hover, .LuiResizableLayout-gutterControlRight:hover {
58
+ background-color: colors.$spray;
59
+ cursor: pointer;
60
+ }
61
+
62
+ .LuiResizableLayout-gutterControl-collapsed {
63
+ visibility: hidden;
64
+ }
65
+
66
+ /* TODO: move the expand gutter button so it doesn't show over the scroll bar */
67
+ .LuiResizableLayout-gutterParentControlVisible {
68
+ visibility: visible;
69
+ opacity: 1;
70
+ }
71
+
72
+ .LuiResizableLayout-grid {
73
+ display: grid;
74
+ height: 100%;
75
+ }
76
+
77
+ .LuiResizableLayout-gutterCol {
78
+ grid-row: 1/-1;
79
+ cursor: col-resize;
80
+ width: 16px;
81
+ z-index: 1;
82
+ }
83
+
84
+ .LuiResizableLayout-gutterCol-collapsed {
85
+ width: 4px;
86
+ }
87
+
88
+ .LuiResizableLayout-gutterCol1 {
89
+ grid-column: 2;
90
+ }
91
+
92
+ .LuiResizableLayout-gutterCol:hover > .LuiResizableLayout-gutterParentControl {
93
+ visibility: visible;
94
+ opacity: 1;
95
+ transition: 0s all 0s ease-in;
96
+ }
97
+
98
+ .LuiResizableLayout-gutterSlider {
99
+ width: 4px;
100
+ height: 100%;
101
+ background-color: colors.$lily;
102
+ pointer-events: none;
103
+ }
104
+
105
+ .LuiResizableLayout-gutterCol:hover .LuiResizableLayout-gutterSlider, .LuiResizableLayout-gutterCol:active .LuiResizableLayout-gutterSlider {
106
+ background-color: colors.$spray;
107
+ }