@elliemae/ds-basic 2.0.0-alpha.1 → 2.0.0-alpha.13

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 (94) hide show
  1. package/cjs/Accordion/index.js +2 -6
  2. package/cjs/AppPicker/index.js +2 -6
  3. package/cjs/Backdrop/index.js +2 -6
  4. package/cjs/Breadcrumb/index.js +2 -6
  5. package/cjs/Button/index.js +2 -6
  6. package/cjs/ButtonGroup/index.js +2 -6
  7. package/cjs/Card/index.js +2 -6
  8. package/cjs/CircularProgressIndicator/index.js +2 -6
  9. package/cjs/Grid/index.js +2 -6
  10. package/cjs/GroupBox/index.js +2 -6
  11. package/cjs/Header/index.js +2 -6
  12. package/cjs/Hidden/index.js +2 -6
  13. package/cjs/Icon/index.js +2 -6
  14. package/cjs/IndeterminateProgressIndicator/index.js +2 -6
  15. package/cjs/LabelValue/index.js +2 -6
  16. package/cjs/ListSectionHeader/index.js +2 -6
  17. package/cjs/LoadingIndicator/index.js +2 -6
  18. package/cjs/Menu/index.js +2 -6
  19. package/cjs/Overlay/index.js +2 -6
  20. package/cjs/PageHeader/index.js +2 -6
  21. package/cjs/PageNumber/index.js +2 -6
  22. package/cjs/Pills/index.js +2 -6
  23. package/cjs/Popover/index.js +2 -6
  24. package/cjs/Popper/index.js +2 -6
  25. package/cjs/Portal/index.js +2 -6
  26. package/cjs/ProgressIndicator/index.js +2 -6
  27. package/cjs/ReadMore/index.js +2 -6
  28. package/cjs/ResizableContainer/index.js +2 -6
  29. package/cjs/Separator/index.js +2 -6
  30. package/cjs/SidePanel/index.js +2 -6
  31. package/cjs/Slider/index.js +2 -6
  32. package/cjs/Spinner/index.js +2 -6
  33. package/cjs/Tabs/index.js +2 -6
  34. package/cjs/TextWrapper/index.js +2 -6
  35. package/cjs/TimePicker/index.js +6 -18
  36. package/cjs/Toast/index.js +2 -6
  37. package/cjs/Toolbar/index.js +2 -6
  38. package/cjs/Tooltip/index.js +2 -6
  39. package/cjs/TruncatedExpandableText/index.js +2 -6
  40. package/cjs/TruncatedTooltipText/index.js +2 -6
  41. package/cjs/ZipCodeSearch/index.js +2 -6
  42. package/cjs/Zoom/index.js +2 -6
  43. package/cjs/form/Checkbox/index.js +2 -6
  44. package/cjs/form/CheckboxGroup/index.js +2 -6
  45. package/cjs/form/ComboBox/index.js +3 -17
  46. package/cjs/form/ComboBoxFreeSolo/index.js +2 -6
  47. package/cjs/form/DateInput/index.js +2 -6
  48. package/cjs/form/DateInputV2/index.js +3 -9
  49. package/cjs/form/ExpandableInput/index.js +2 -6
  50. package/cjs/form/FloatingLabelInput/index.js +2 -6
  51. package/cjs/form/FormItem/index.js +5 -15
  52. package/cjs/form/Input/index.js +2 -6
  53. package/cjs/form/InputGroup/index.js +2 -6
  54. package/cjs/form/InputMask/index.js +2 -6
  55. package/cjs/form/InputProtected/index.js +2 -6
  56. package/cjs/form/LargeInputText/index.js +2 -6
  57. package/cjs/form/Radio/index.js +2 -6
  58. package/cjs/form/RadioGroup/index.js +2 -6
  59. package/cjs/form/RequiredMark/index.js +2 -6
  60. package/cjs/form/SearchBox/index.js +5 -15
  61. package/cjs/form/TextBox/index.js +2 -6
  62. package/cjs/form/TimeInput/index.js +2 -6
  63. package/cjs/form/Toggle/index.js +2 -6
  64. package/cjs/form/index.js +1 -3
  65. package/cjs/index.js +44 -132
  66. package/css/dimsum.css +743 -1915
  67. package/css/dimsum.min.css +2 -2
  68. package/css/dimsum.min.css.map +1 -1
  69. package/esm/form/ComboBox/index.js +0 -1
  70. package/package.json +51 -54
  71. package/styles/base/_docs/theming.md +1 -1
  72. package/styles/components/index.scss +0 -2
  73. package/styles/components/packages/ds-basic/index.scss +0 -2
  74. package/styles/components/packages/ds-basic/styles/dist-index.scss +0 -2
  75. package/styles/components/packages/ds-basic/styles/themes/theme-default.scss +28 -30
  76. package/styles/components/packages/ds-basic/styles/themes/theme-demo.scss +1 -1
  77. package/styles/components/packages/ds-button/DSButton.scss +10 -10
  78. package/styles/components/packages/ds-datagrids/DataGrids.scss +1 -0
  79. package/styles/components/packages/ds-date-picker/components/DatePickerPicker/DatePickerPicker.scss +1 -2
  80. package/styles/components/packages/ds-form/Checkbox/elements/CheckMark.scss +1 -1
  81. package/styles/components/packages/ds-form/Input/DSInput.scss +2 -2
  82. package/styles/components/packages/ds-form/Input/InputAddonWrapper.scss +1 -1
  83. package/styles/components/packages/ds-form/LargeInputText/DSLargeInputText.scss +1 -1
  84. package/styles/components/packages/ds-form/Radio/DSRadio.scss +57 -99
  85. package/styles/components/packages/ds-page-header/v2/components/PageHeaderEditableTitle/PageHeaderEditableTitle.scss +1 -1
  86. package/styles/components/packages/ds-page-header/v2/components/PageHeaderToolbar/PageHeaderToolbar.scss +0 -1
  87. package/styles/dist-index.scss +0 -2
  88. package/styles/themes/theme-default.scss +28 -30
  89. package/styles/themes/theme-demo.scss +1 -1
  90. package/types/form/ComboBox/index.d.ts +0 -1
  91. package/cjs/package.json +0 -7
  92. package/esm/package.json +0 -7
  93. package/styles/components/packages/ds-app-picker/DSAppPicker.scss +0 -121
  94. package/styles/components/packages/ds-tabs/DSTabs.scss +0 -272
@@ -16,7 +16,9 @@ $el-children: #{$el-container}__radio-children;
16
16
  // ********************************************
17
17
  // local
18
18
  $border-type: solid 1px;
19
+ $border-type-focus: solid 2px;
19
20
  $border-type-mobile: solid 2px;
21
+ $border-type-focus-mobile: solid 3px;
20
22
 
21
23
  .#{$el-input} {
22
24
  position: absolute;
@@ -40,28 +42,13 @@ $border-type-mobile: solid 2px;
40
42
  min-width: space(s);
41
43
  height: space(s);
42
44
  margin-right: space(xs);
43
- border: $border-type color(neutral, 500);
45
+ border: $border-type color(neutral, 400);
44
46
  background: color(neutral, 000);
45
47
  display: inline-flex;
46
48
  justify-content: center;
47
49
  align-items: center;
48
50
  align-self: flex-start;
49
51
  position: relative;
50
- cursor: pointer;
51
-
52
- &:after {
53
- @include border-radius(50%);
54
- transition: duration(base) easing(base);
55
- width: space(xs);
56
- height: space(xs);
57
- }
58
- &:hover {
59
- @include dsFocus();
60
- border: $border-type color(brand-primary, 600);
61
- }
62
- &:focus {
63
- @include dsFocus();
64
- }
65
52
  }
66
53
 
67
54
  .#{$el-label} {
@@ -81,60 +68,43 @@ $border-type-mobile: solid 2px;
81
68
  width: fit-content;
82
69
  padding-bottom: space(s);
83
70
  circle.unchecked {
84
- fill: color(neutral, 0);
71
+ fill: color(neutral, 000);
85
72
  }
86
73
 
87
74
  .#{$el-label} {
88
75
  &:hover {
89
76
  .#{$el-button} {
90
- border: $border-type color(brand-primary, 600);
91
- }
92
- .#{$el-input} {
93
- &:checked + .#{$el-button} {
94
- @include dsFocus();
95
- background-color: color(neutral, 000);
96
- }
97
- }
98
- }
99
- &:active {
100
- .#{$el-button} {
101
- @include dsFocus();
77
+ border-color: color(brand-primary, 600);
102
78
  background-color: color(brand-primary, 200);
103
79
  }
104
80
  circle.unchecked {
105
81
  fill: color(brand-primary, 200);
106
82
  }
107
83
  }
108
- &:focus {
109
- .#{$el-button} {
110
- background-color: color(brand-primary, 200);
84
+ .#{$el-button} {
85
+ &:focus {
86
+ box-shadow: none;
87
+ }
88
+
89
+ &:focus:not(:active) {
90
+ border: $border-type-focus color(brand-primary, 700);
111
91
  }
112
- .#{$el-input} {
113
- &:checked + .#{$el-button} {
114
- @include dsFocus();
92
+
93
+ &:active {
115
94
  background-color: color(neutral, 000);
95
+ circle.unchecked {
96
+ fill: color(neutral, 000);
116
97
  }
117
98
  }
118
- circle.unchecked {
119
- fill: color(brand-primary, 200);
120
- }
121
99
  }
122
100
  }
123
101
 
124
102
  .#{$el-input} {
125
103
  &:checked + .#{$el-button} {
126
- border-color: color(brand-primary, 600);
127
104
  circle.checked {
128
105
  fill: color(brand-primary, 600);
129
106
  }
130
107
  }
131
-
132
- &:checked + &:hover,
133
- &:checked + &:focus {
134
- border-color: color(brand-primary, 600);
135
- background-color: color(neutral, 000);
136
- @include dsFocus();
137
- }
138
108
  }
139
109
  }
140
110
 
@@ -142,32 +112,27 @@ $border-type-mobile: solid 2px;
142
112
  // Error container & elements *****
143
113
  .#{$el-container-error} {
144
114
  .#{$el-button} {
145
- border: $border-type color(danger, 900);
146
- &:focus {
147
- border-color: color(brand-primary, 600);
148
- }
115
+ border-color: color(danger, 900);
149
116
  }
150
117
 
151
118
  .#{$el-label} {
152
119
  &:hover {
153
- .#{$el-button} {
154
- border: $border-type color(danger, 900);
120
+ .#{$el-button}:not(:focus) {
121
+ border-color: color(danger, 900);
155
122
  }
156
123
  }
157
124
  &:active {
158
125
  .#{$el-button} {
159
- background-color: color(danger, 200);
160
- box-shadow: unset;
126
+ border-color: color(danger, 900);;
161
127
  }
162
128
  circle.unchecked {
163
- fill: color(danger, 200);
129
+ fill: color(neutral, 080);
164
130
  }
165
131
  }
166
132
  }
167
133
 
168
134
  .#{$el-input} {
169
135
  &:checked + .#{$el-button} {
170
- border-color: color(danger, 900);
171
136
  circle.checked {
172
137
  fill: color(danger, 900);
173
138
  }
@@ -179,29 +144,37 @@ $border-type-mobile: solid 2px;
179
144
  // Disabled container & elements *****
180
145
  .#{$el-container-disabled} {
181
146
  circle.checked {
182
- fill: color(neutral, 500);
147
+ fill: color(neutral, 400);
148
+ }
149
+ circle.unchecked {
150
+ fill: color(neutral, 080);
183
151
  }
184
152
 
185
153
  .#{$el-label} {
186
154
  cursor: not-allowed;
187
155
  &:hover {
188
156
  .#{$el-button} {
189
- border-color: color(neutral, 500);
157
+ border-color: color(neutral, 400);
158
+ background-color: color(neutral, 080);
190
159
  }
191
- .#{$el-input} {
192
- &:checked + .#{$el-button} {
193
- background-color: color(neutral, 080);
194
- }
160
+ circle.unchecked {
161
+ fill: color(neutral, 080);
195
162
  }
196
163
  }
197
164
  &:active {
198
165
  .#{$el-button} {
199
- background: color(neutral, 080);
166
+ background-color: color(neutral, 080);
200
167
  }
201
168
  circle.unchecked {
202
169
  fill: color(neutral, 080);
203
170
  }
204
171
  }
172
+
173
+ .#{$el-input} {
174
+ &:checked + .#{$el-button} {
175
+ background-color: color(neutral, 080);
176
+ }
177
+ }
205
178
  }
206
179
 
207
180
  .#{$el-text} {
@@ -210,27 +183,9 @@ $border-type-mobile: solid 2px;
210
183
 
211
184
  .#{$el-button} {
212
185
  pointer-events: none;
213
- border-color: color(neutral, 500);
214
186
  background: color(neutral, 080);
215
- circle.unchecked {
216
- fill: transparent;
217
- }
218
187
  &:hover {
219
- border-color: color(neutral, 500);
220
- }
221
- }
222
-
223
- .#{$el-input} {
224
- background-color: color(neutral, 080);
225
- &:checked + .#{$el-button} {
226
- border-color: color(neutral, 500);
227
- circle.checked {
228
- fill: color(neutral, 500);
229
- }
230
- }
231
-
232
- &:checked + .#{$el-text} {
233
- color: color(neutral, 500);
188
+ border-color: color(neutral, 400);
234
189
  }
235
190
  }
236
191
  }
@@ -238,17 +193,15 @@ $border-type-mobile: solid 2px;
238
193
  // ********************************************
239
194
  // Read only container & elements *****
240
195
  .#{$el-container-read-only} {
241
- .#{$el-button} {
242
- border-color: color(neutral, 500);
243
- &:focus {
244
- border-color: color(brand-primary, 600);
245
- @include dsFocus();
196
+ .#{$el-label} {
197
+ &:hover {
198
+ .#{$el-button} {
199
+ border-color: color(neutral, 400);
200
+ }
246
201
  }
247
202
  }
248
-
249
203
  .#{$el-input} {
250
204
  &:checked + .#{$el-button} {
251
- border-color: color(neutral, 500);
252
205
  circle.checked {
253
206
  fill: color(neutral, 500);
254
207
  }
@@ -264,11 +217,18 @@ $border-type-mobile: solid 2px;
264
217
  .#{$el-container} {
265
218
  padding-bottom: calc(#{space(m)} * 0.4);
266
219
  -webkit-tap-highlight-color: transparent;
267
- }
268
- .#{$el-label} {
269
- padding: calc(#{space(xxs)} * 0.81) 0;
270
- }
271
220
 
221
+ .#{$el-label} {
222
+ padding: calc(#{space(xxs)} * 0.81) 0;
223
+ .#{$el-button} {
224
+ border: $border-type-mobile color(neutral, 400);
225
+ &:focus {
226
+ border: $border-type-focus-mobile color(brand-primary, 700);
227
+ }
228
+ }
229
+ }
230
+ }
231
+
272
232
  .#{$el-button} {
273
233
  width: calc(#{space(s)} * 1.22);
274
234
  min-width: calc(#{space(s)} * 1.22);
@@ -278,12 +238,10 @@ $border-type-mobile: solid 2px;
278
238
  }
279
239
 
280
240
  .#{$el-container-error} {
281
- .#{$el-button} {
282
- border: $border-type-mobile color(danger, 900);
241
+ .#{$el-label} { // added this specificity so it correctly overwrites the error state
242
+ .#{$el-button} {
243
+ border: $border-type-mobile color(danger, 900);
244
+ }
283
245
  }
284
246
  }
285
-
286
- .#{$el-button} svg circle {
287
- r: 6;
288
- }
289
247
  }
@@ -13,5 +13,5 @@ $input-container: editable-title-component;
13
13
  left: space(xs) * (-1);
14
14
  top: 1px;
15
15
  margin-left: -1px;
16
- margin-right: 1px;
16
+ margin-right: -9px;
17
17
  }
@@ -12,7 +12,6 @@ $ph-input-search: #{$prefix}-input-addon-wrapper;
12
12
  height: auto;
13
13
  background: none;
14
14
  & > div {
15
- align-items: center;
16
15
  .#{$ph-btn} {
17
16
  margin-left: space(m) * 0.5;
18
17
  }
@@ -27,7 +27,6 @@
27
27
  @import 'packages/ds-progress-indicator/DSProgressIndicator';
28
28
  @import 'packages/ds-spinner/DSSpinner';
29
29
  @import 'packages/ds-loading-indicator/DSLoadingIndicator';
30
- @import 'packages/ds-tabs/DSTabs';
31
30
  @import 'packages/ds-tooltip/v1/DSTooltip';
32
31
  @import 'packages/ds-popover/DSPopover';
33
32
  @import 'packages/ds-overlay/DSOverlay';
@@ -48,7 +47,6 @@
48
47
  @import 'packages/ds-page-number/DSPageNumber';
49
48
  @import 'packages/ds-zipcode-search/DSZipCodeSearch';
50
49
  @import 'packages/ds-circular-progress-indicator/DSCircularProgressIndicator';
51
- @import 'packages/ds-app-picker/DSAppPicker';
52
50
 
53
51
  @import '~react-dates/lib/css/_datepicker.css';
54
52
 
@@ -18,15 +18,15 @@ Change these color values below to your brand colors.
18
18
  // Brand - Primary
19
19
  $theme-color-brand-primary-900: null;
20
20
  $theme-color-brand-primary-800: #005181;
21
- $theme-color-brand-primary-700: #006AA9;
21
+ $theme-color-brand-primary-700: #006aa9;
22
22
  $theme-color-brand-primary-600: #1e79c2;
23
- $theme-color-brand-primary-500: #1394E5;
24
- $theme-color-brand-primary-400: #52A6EC;
25
- $theme-color-brand-primary-300: #A3D6FF;
26
- $theme-color-brand-primary-200: #EBF6FF;
27
- $theme-color-brand-primary-100: #F6FBFF;
23
+ $theme-color-brand-primary-500: #1394e5;
24
+ $theme-color-brand-primary-400: #52a6ec;
25
+ $theme-color-brand-primary-300: #a3d6ff;
26
+ $theme-color-brand-primary-200: #ebf6ff;
27
+ $theme-color-brand-primary-100: #f6fbff;
28
28
 
29
- // Brand - Secondary
29
+ // Brand - Secondary
30
30
  $theme-color-brand-secondary-900: null;
31
31
  $theme-color-brand-secondary-800: null;
32
32
  $theme-color-brand-secondary-700: null;
@@ -40,60 +40,58 @@ $theme-color-brand-secondary-100: null;
40
40
  //Neutral - Used for text, borders, shadows, background, etc
41
41
  $theme-color-neutral-1000: #000000;
42
42
  $theme-color-neutral-900: #333333;
43
- $theme-color-neutral-800: #25292F;
44
- $theme-color-neutral-700: #353C46;
45
- $theme-color-neutral-600: #464F5C;
43
+ $theme-color-neutral-800: #25292f;
44
+ $theme-color-neutral-700: #353c46;
45
+ $theme-color-neutral-600: #464f5c;
46
46
  $theme-color-neutral-500: #697489;
47
- $theme-color-neutral-400: #A9B1BE;
48
- $theme-color-neutral-300: #B0B9C8;
49
- $theme-color-neutral-200: #CBCFD7;
50
- $theme-color-neutral-100: #E0E3E8;
51
- $theme-color-neutral-080: #EBEDF0;
52
- $theme-color-neutral-050: #F6F7F9;
53
- $theme-color-neutral-000: #FFFFFF;
47
+ $theme-color-neutral-400: #8c93a6;
48
+ $theme-color-neutral-300: #b0b9c8;
49
+ $theme-color-neutral-200: #cbcfd7;
50
+ $theme-color-neutral-100: #e0e3e8;
51
+ $theme-color-neutral-080: #ebedf0;
52
+ $theme-color-neutral-050: #f6f7f9;
53
+ $theme-color-neutral-000: #ffffff;
54
54
 
55
- // Success - Used to communicate status or feedback to the user
56
- $theme-color-success-900: #207E56;
55
+ // Success - Used to communicate status or feedback to the user
56
+ $theme-color-success-900: #207e56;
57
57
  $theme-color-success-800: null;
58
58
  $theme-color-success-700: null;
59
59
  $theme-color-success-600: null;
60
60
  $theme-color-success-500: null;
61
61
  $theme-color-success-400: null;
62
- $theme-color-success-300: #D4F0E5;
62
+ $theme-color-success-300: #d4f0e5;
63
63
  $theme-color-success-200: null;
64
64
  $theme-color-success-100: null;
65
65
  // Danger - Used to communicate status or feedback to the user
66
- $theme-color-danger-900: #C64252;
66
+ $theme-color-danger-900: #c64252;
67
67
  $theme-color-danger-800: null;
68
68
  $theme-color-danger-700: null;
69
69
  $theme-color-danger-600: null;
70
70
  $theme-color-danger-500: null;
71
71
  $theme-color-danger-400: null;
72
72
  $theme-color-danger-300: null;
73
- $theme-color-danger-200: #F7CDD2;
73
+ $theme-color-danger-200: #f7cdd2;
74
74
  $theme-color-danger-100: null;
75
75
  // Warning - Used to communicate status or feedback to the user
76
- $theme-color-warning-900: #D17A00;
76
+ $theme-color-warning-900: #d17a00;
77
77
  $theme-color-warning-800: null;
78
- $theme-color-warning-700: #FF9400;
79
- $theme-color-warning-600: #FBB431;
80
- $theme-color-warning-500: #FBB431;
81
- $theme-color-warning-400: #FBDE31;
78
+ $theme-color-warning-700: #ff9400;
79
+ $theme-color-warning-600: #fbb431;
80
+ $theme-color-warning-500: #fbb431;
81
+ $theme-color-warning-400: #fbde31;
82
82
  $theme-color-warning-300: null;
83
83
  $theme-color-warning-200: null;
84
84
  $theme-color-warning-100: null;
85
85
 
86
-
87
86
  // **TYPOGRAPHY**
88
87
  // Typeface
89
88
  // Change the typeface.
90
- $theme-font-family: "proxima-nova", Arial, sans-serif !default;
89
+ $theme-font-family: Roboto !default;
91
90
 
92
91
  // Type Scale
93
92
  // Change the font-sizes of HTML typed tags below.
94
93
  $theme-base-font-size: 13px;
95
94
 
96
-
97
95
  // **BORDER RADIUS**
98
96
  // How round would you like your containers to be?
99
97
  $theme-base-border-radius: 2px;
@@ -42,7 +42,7 @@ $theme-color-neutral-800: #25292F;
42
42
  $theme-color-neutral-700: #353C46;
43
43
  $theme-color-neutral-600: #464F5C;
44
44
  $theme-color-neutral-500: #697489;
45
- $theme-color-neutral-400: #A9B1BE;
45
+ $theme-color-neutral-400: #8C93A6;
46
46
  $theme-color-neutral-300: #B0B9C8;
47
47
  $theme-color-neutral-200: #CBCFD7;
48
48
  $theme-color-neutral-100: #E0E3E8;
@@ -1,4 +1,3 @@
1
1
  export * from '@elliemae/ds-form/ComboBox/v1/DSComboBox';
2
- export * from '@elliemae/ds-form/ComboBox/v2/Combobox';
3
2
  export { default } from '@elliemae/ds-form/ComboBox/v2/Combobox';
4
3
  export { default as DSComboBox2 } from '@elliemae/ds-form/ComboBox/v2/Combobox';
package/cjs/package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "type": "commonjs",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ]
7
- }
package/esm/package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "type": "module",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ]
7
- }
@@ -1,121 +0,0 @@
1
- $app-picker: #{$prefix}-app-picker;
2
- $wrapper: #{$app-picker}__wrapper;
3
- $grid: #{$app-picker}__grid;
4
- $row: #{$app-picker}__row;
5
- $chip: #{$app-picker}__chip;
6
- $chip-label: #{$app-picker}__chip-label;
7
- $title: #{$app-picker}__section-title;
8
- $separator: #{$app-picker}__separator;
9
- $arrow: #{$app-picker}__arrow;
10
-
11
- .#{$wrapper} {
12
- display: flex;
13
- flex-direction: column;
14
- align-items: center;
15
- justify-content: center;
16
- width: 100%;
17
- padding-bottom: 4px;
18
- margin: 0 auto;
19
- &:focus {
20
- outline: none;
21
- }
22
- }
23
-
24
- .#{$arrow} {
25
- position: relative;
26
- top: -21px;
27
- margin: 0;
28
- fill: #fff;
29
- }
30
-
31
- .#{$grid} {
32
- display: flex;
33
- flex-direction: column;
34
- justify-content: center;
35
- align-items: center;
36
- width: 100%;
37
- padding: 0 8px;
38
- }
39
-
40
- .#{$row} {
41
- display: flex;
42
- width: 100%;
43
- }
44
-
45
- .#{$title} {
46
- color: color('neutral', 500);
47
- font-size: size(m);
48
- font-weight: bold;
49
- margin: 12px 0 4px;
50
- }
51
-
52
- .#{$chip} {
53
- display: flex;
54
- flex-direction: column;
55
- justify-content: center;
56
- align-items: center;
57
- border-radius: 2%;
58
- margin: 4px;
59
- padding: 6px;
60
- height: 68px;
61
- width: 68px;
62
- color: color('neutral', 500);
63
- cursor: pointer;
64
- &:focus,
65
- &:hover {
66
- @include dsFocus();
67
- color: color('neutral', 700);
68
- background-color: color('neutral', 000);
69
- }
70
- &:hover .app-picker__icon {
71
- fill: color('brand-primary', 800);
72
- }
73
- &:active {
74
- @include dsActive();
75
- box-shadow: none;
76
- background-color: #ecf8ff;
77
- }
78
- &--disabled {
79
- color: color('neutral', 500);
80
- cursor: not-allowed;
81
- &:focus,
82
- &:active,
83
- &:hover {
84
- background-color: #fcfcfc;
85
- color: color('neutral', 500);
86
- border: 1px solid color('neutral', 500);
87
- outline: none;
88
- outline-offset: none;
89
- box-shadow: none;
90
- }
91
- &:hover .app-picker__icon {
92
- fill: color('neutral', 500);
93
- }
94
- }
95
- &--disabled .app-picker__icon {
96
- fill: color('neutral', 500);
97
- }
98
- }
99
-
100
- .app-picker__icon {
101
- fill: color('brand-primary', 600);
102
- }
103
-
104
- #app-picker__button {
105
- &:hover {
106
- background-color: transparent;
107
- }
108
- }
109
-
110
- .#{$chip-label} {
111
- font-size: 12px;
112
- font-weight: 600;
113
- margin: 5px;
114
- }
115
-
116
- .#{$separator} {
117
- border-top: 1px solid color('neutral', 100);
118
- border-bottom: none;
119
- width: 99%;
120
- margin: 0;
121
- }