@elliemae/ds-basic 2.2.0-next.6 → 2.2.0-rc.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-basic",
3
- "version": "2.2.0-next.6",
3
+ "version": "2.2.0-rc.0",
4
4
  "license": "MIT",
5
5
  "description": "EllieMae UI Design System Library",
6
6
  "module": "./esm/index.js",
@@ -296,49 +296,49 @@
296
296
  "dev": "node ../../scripts/build/build.js -w"
297
297
  },
298
298
  "dependencies": {
299
- "@elliemae/ds-accordion": "2.2.0-next.6",
300
- "@elliemae/ds-app-picker": "2.2.0-next.6",
301
- "@elliemae/ds-backdrop": "2.2.0-next.6",
302
- "@elliemae/ds-breadcrumb": "2.2.0-next.6",
303
- "@elliemae/ds-button": "2.2.0-next.6",
304
- "@elliemae/ds-button-group": "2.2.0-next.6",
305
- "@elliemae/ds-card": "2.2.0-next.6",
306
- "@elliemae/ds-circular-progress-indicator": "2.2.0-next.6",
307
- "@elliemae/ds-form": "2.2.0-next.6",
308
- "@elliemae/ds-grid": "2.2.0-next.6",
309
- "@elliemae/ds-group-box": "2.2.0-next.6",
310
- "@elliemae/ds-header": "2.2.0-next.6",
311
- "@elliemae/ds-hidden": "2.2.0-next.6",
312
- "@elliemae/ds-icon": "2.2.0-next.6",
313
- "@elliemae/ds-indeterminate-progress-indicator": "2.2.0-next.6",
314
- "@elliemae/ds-label-value": "2.2.0-next.6",
315
- "@elliemae/ds-list-section-header": "2.2.0-next.6",
316
- "@elliemae/ds-loading-indicator": "2.2.0-next.6",
317
- "@elliemae/ds-menu": "2.2.0-next.6",
318
- "@elliemae/ds-overlay": "2.2.0-next.6",
319
- "@elliemae/ds-page-header": "2.2.0-next.6",
320
- "@elliemae/ds-page-number": "2.2.0-next.6",
321
- "@elliemae/ds-pills": "2.2.0-next.6",
322
- "@elliemae/ds-popover": "2.2.0-next.6",
323
- "@elliemae/ds-popper": "2.2.0-next.6",
324
- "@elliemae/ds-portal": "2.2.0-next.6",
325
- "@elliemae/ds-progress-indicator": "2.2.0-next.6",
326
- "@elliemae/ds-read-more": "2.2.0-next.6",
327
- "@elliemae/ds-resizeable-container": "2.2.0-next.6",
328
- "@elliemae/ds-separator": "2.2.0-next.6",
329
- "@elliemae/ds-side-panel": "2.2.0-next.6",
330
- "@elliemae/ds-slider": "2.2.0-next.6",
331
- "@elliemae/ds-spinner": "2.2.0-next.6",
332
- "@elliemae/ds-tabs": "2.2.0-next.6",
333
- "@elliemae/ds-text-wrapper": "2.2.0-next.6",
334
- "@elliemae/ds-time-picker": "2.2.0-next.6",
335
- "@elliemae/ds-toast": "2.2.0-next.6",
336
- "@elliemae/ds-toolbar": "2.2.0-next.6",
337
- "@elliemae/ds-tooltip": "2.2.0-next.6",
338
- "@elliemae/ds-truncated-expandable-text": "2.2.0-next.6",
339
- "@elliemae/ds-truncated-tooltip-text": "2.2.0-next.6",
340
- "@elliemae/ds-zipcode-search": "2.2.0-next.6",
341
- "@elliemae/ds-zoom": "2.2.0-next.6"
299
+ "@elliemae/ds-accordion": "2.2.0-rc.0",
300
+ "@elliemae/ds-app-picker": "2.2.0-rc.0",
301
+ "@elliemae/ds-backdrop": "2.2.0-rc.0",
302
+ "@elliemae/ds-breadcrumb": "2.2.0-rc.0",
303
+ "@elliemae/ds-button": "2.2.0-rc.0",
304
+ "@elliemae/ds-button-group": "2.2.0-rc.0",
305
+ "@elliemae/ds-card": "2.2.0-rc.0",
306
+ "@elliemae/ds-circular-progress-indicator": "2.2.0-rc.0",
307
+ "@elliemae/ds-form": "2.2.0-rc.0",
308
+ "@elliemae/ds-grid": "2.2.0-rc.0",
309
+ "@elliemae/ds-group-box": "2.2.0-rc.0",
310
+ "@elliemae/ds-header": "2.2.0-rc.0",
311
+ "@elliemae/ds-hidden": "2.2.0-rc.0",
312
+ "@elliemae/ds-icon": "2.2.0-rc.0",
313
+ "@elliemae/ds-indeterminate-progress-indicator": "2.2.0-rc.0",
314
+ "@elliemae/ds-label-value": "2.2.0-rc.0",
315
+ "@elliemae/ds-list-section-header": "2.2.0-rc.0",
316
+ "@elliemae/ds-loading-indicator": "2.2.0-rc.0",
317
+ "@elliemae/ds-menu": "2.2.0-rc.0",
318
+ "@elliemae/ds-overlay": "2.2.0-rc.0",
319
+ "@elliemae/ds-page-header": "2.2.0-rc.0",
320
+ "@elliemae/ds-page-number": "2.2.0-rc.0",
321
+ "@elliemae/ds-pills": "2.2.0-rc.0",
322
+ "@elliemae/ds-popover": "2.2.0-rc.0",
323
+ "@elliemae/ds-popper": "2.2.0-rc.0",
324
+ "@elliemae/ds-portal": "2.2.0-rc.0",
325
+ "@elliemae/ds-progress-indicator": "2.2.0-rc.0",
326
+ "@elliemae/ds-read-more": "2.2.0-rc.0",
327
+ "@elliemae/ds-resizeable-container": "2.2.0-rc.0",
328
+ "@elliemae/ds-separator": "2.2.0-rc.0",
329
+ "@elliemae/ds-side-panel": "2.2.0-rc.0",
330
+ "@elliemae/ds-slider": "2.2.0-rc.0",
331
+ "@elliemae/ds-spinner": "2.2.0-rc.0",
332
+ "@elliemae/ds-tabs": "2.2.0-rc.0",
333
+ "@elliemae/ds-text-wrapper": "2.2.0-rc.0",
334
+ "@elliemae/ds-time-picker": "2.2.0-rc.0",
335
+ "@elliemae/ds-toast": "2.2.0-rc.0",
336
+ "@elliemae/ds-toolbar": "2.2.0-rc.0",
337
+ "@elliemae/ds-tooltip": "2.2.0-rc.0",
338
+ "@elliemae/ds-truncated-expandable-text": "2.2.0-rc.0",
339
+ "@elliemae/ds-truncated-tooltip-text": "2.2.0-rc.0",
340
+ "@elliemae/ds-zipcode-search": "2.2.0-rc.0",
341
+ "@elliemae/ds-zoom": "2.2.0-rc.0"
342
342
  },
343
343
  "devDependencies": {
344
344
  "gulp": "~4.0.2",
@@ -6,7 +6,7 @@ $el-container-disabled: #{$el-container}--disabled;
6
6
  $el-container-read-only: #{$el-container}--readonly;
7
7
  $el-container-fit-content: #{$el-container}--fit-content;
8
8
  $el-container-with-highlight: #{$el-container}--with-highlight;
9
- $input-controller: #{$prefix}-input;
9
+ $input-controller: #{$prefix}-input;
10
10
  $el-container-left-label: #{$el-container}--with-left-label;
11
11
 
12
12
  $checkbox-group: #{$prefix}-checkbox-group;
@@ -16,7 +16,7 @@ $checkbox-group-element: #{$prefix}-form-element-checkbox;
16
16
  // elements
17
17
  $el-feedback: #{$el-container}__feedback;
18
18
 
19
- .#{$el-container}{
19
+ .#{$el-container} {
20
20
  margin-bottom: space(xs);
21
21
  position: relative;
22
22
  z-index: 0;
@@ -28,7 +28,7 @@ $el-feedback: #{$el-container}__feedback;
28
28
  }
29
29
  }
30
30
 
31
- fieldset.#{$el-container}-content{
31
+ fieldset.#{$el-container}-content {
32
32
  display: block;
33
33
  margin-inline-start: unset;
34
34
  margin-inline-end: unset;
@@ -44,19 +44,18 @@ fieldset.#{$el-container}-content{
44
44
  padding: unset;
45
45
  }
46
46
 
47
- .#{$el-container-left-label}{
48
-
49
- .#{$el-container}-content{
47
+ .#{$el-container-left-label} {
48
+ .#{$el-container}-content {
50
49
  display: flex;
51
50
  flex-direction: row;
52
51
  width: 100%;
53
52
  }
54
53
  label {
55
- padding-right: space(xxs);
54
+ padding-right: space(xxs);
56
55
  display: inline-flex;
57
56
  align-items: center;
58
57
  }
59
- .#{$el-container}__feedback{
58
+ .#{$el-container}__feedback {
60
59
  display: flex;
61
60
  margin-left: auto;
62
61
  width: 80%;
@@ -66,12 +65,11 @@ fieldset.#{$el-container}-content{
66
65
  }
67
66
  }
68
67
 
69
- .#{$el-container-fit-content}{
68
+ .#{$el-container-fit-content} {
70
69
  width: fit-content;
71
70
  }
72
71
 
73
-
74
- .#{$el-container-with-highlight}{
72
+ .#{$el-container-with-highlight} {
75
73
  $separation: 8;
76
74
 
77
75
  &::after {
@@ -82,32 +80,29 @@ fieldset.#{$el-container}-content{
82
80
  z-index: -1;
83
81
  width: calc(100% + #{$separation * 2}px);
84
82
  height: calc(100% + #{$separation}px);
85
- background-color: #FEFBEE;
86
- border : 1px solid #8F6326;
87
- border-radius : 4px;
88
- box-shadow: 0 1px 3px 0 rgba(0,0,0,0.35);
89
- }
90
- &:hover,
91
- &:focus-within {
92
- &::after {
93
- position: absolute;
94
- content: '';
95
- left: -#{$separation}px;
96
- top: -#{$separation / 2}px;
97
- z-index: -1;
98
- width: calc(100% + #{$separation * 2}px);
99
- height: calc(100% + #{$separation}px);
100
- background-color: #FFF9D3;
101
- border : 1px solid #8F6326;
102
- border-radius : 4px;
103
- box-shadow: 0 6px 10px 0 rgba(0,0,0,0.30);
104
- }
83
+ background-color: #fefbee;
84
+ border: 1px solid #8f6326;
85
+ border-radius: 4px;
86
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.35);
87
+ }
88
+ &:hover,
89
+ &:focus-within {
90
+ &::after {
91
+ position: absolute;
92
+ content: '';
93
+ left: -#{$separation}px;
94
+ top: -#{$separation / 2}px;
95
+ z-index: -1;
96
+ width: calc(100% + #{$separation * 2}px);
97
+ height: calc(100% + #{$separation}px);
98
+ background-color: #fff9d3;
99
+ border: 2px solid #8f6326;
100
+ border-radius: 4px;
101
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
105
102
  }
103
+ }
106
104
  }
107
105
 
108
-
109
-
110
-
111
106
  .#{$el-feedback} {
112
107
  @include body-micro-text-style;
113
108
  color: color(neutral, 500);
@@ -133,4 +128,4 @@ fieldset.#{$el-container}-content{
133
128
  .#{$el-feedback} {
134
129
  font-size: toMobile(font-size(400));
135
130
  }
136
- }
131
+ }
@@ -11,7 +11,6 @@ $shuttle-footer: #{$shuttle}-footer;
11
11
  $shuttle-searchbox: #{$shuttle}-search-box;
12
12
  $shuttle-infinte-scroll-indicator: #{$shuttle}-infinite-scroll-indicator;
13
13
 
14
-
15
14
  // ********************************************
16
15
  // dimsum component classes
17
16
  $DSBreadcrumb: #{$prefix}-breadcrumb;
@@ -29,17 +28,16 @@ $shuttle-searchbox-height: space(m) * 1.2;
29
28
 
30
29
  @keyframes pulse {
31
30
  0% {
32
- box-shadow: 0 0 0 0 color(brand-primary, 600)
31
+ box-shadow: 0 0 0 0 color(brand-primary, 600);
33
32
  }
34
33
  50% {
35
- box-shadow: 0 0 5px 0 color(brand-primary, 600)
34
+ box-shadow: 0 0 5px 0 color(brand-primary, 600);
36
35
  }
37
36
  100% {
38
- box-shadow: 0 0 0 0 color(brand-primary, 600)
37
+ box-shadow: 0 0 0 0 color(brand-primary, 600);
39
38
  }
40
39
  }
41
40
 
42
-
43
41
  @mixin link-button {
44
42
  color: color(brand-primary, 600);
45
43
  background-color: transparent;
@@ -58,7 +56,6 @@ $shuttle-searchbox-height: space(m) * 1.2;
58
56
  // elements definition
59
57
  $move-all-panel-el: #{$shuttle}__move-all-panel;
60
58
 
61
-
62
59
  $list-width: space(xxl) * 4.6875;
63
60
  $list-height: space(xxl) * 4.65;
64
61
  $searchbox-height: space(m) * 1.2;
@@ -79,7 +76,7 @@ $border-style: $theme-base-border-style color(neutral, 100);
79
76
  height: 100%;
80
77
  @include center();
81
78
  span {
82
- color: color(neutral, 300)
79
+ color: color(neutral, 300);
83
80
  }
84
81
  }
85
82
 
@@ -98,11 +95,12 @@ $border-style: $theme-base-border-style color(neutral, 100);
98
95
  overflow: hidden;
99
96
  align-self: center;
100
97
  flex: 1;
98
+ padding: 4px 0;
101
99
 
102
100
  .#{$DSBreadcrumb} {
103
101
  width: 100%;
104
102
  ol {
105
- margin: 0
103
+ margin: 0;
106
104
  }
107
105
  }
108
106
  }
@@ -163,11 +161,11 @@ $border-style: $theme-base-border-style color(neutral, 100);
163
161
  -moz-animation: fadeIn ease 1s;
164
162
  -o-animation: fadeIn ease 1s;
165
163
  -ms-animation: fadeIn ease 1s;
166
- }
164
+ }
167
165
  &__loading-list {
168
166
  top: 0;
169
167
  position: absolute;
170
- width: 100%;
168
+ width: 100%;
171
169
  height: 100%;
172
170
  pointer-events: none;
173
171
  }
@@ -184,10 +182,10 @@ $border-style: $theme-base-border-style color(neutral, 100);
184
182
 
185
183
  @keyframes fadeIn {
186
184
  0% {
187
- opacity:0;
185
+ opacity: 0;
188
186
  }
189
187
  100% {
190
- opacity:1;
188
+ opacity: 1;
191
189
  }
192
190
  }
193
191
  }
@@ -212,15 +210,15 @@ $border-style: $theme-base-border-style color(neutral, 100);
212
210
  }
213
211
  }
214
212
 
215
-
216
213
  .#{$shuttle-list-item} {
217
- display: flex;
218
- justify-content: flex-start;
214
+ display: grid;
215
+ grid-template-columns: auto min-content;
219
216
  align-items: center;
220
217
  overflow: hidden;
221
218
  position: relative;
222
219
  border-bottom: $border-style;
223
220
  background-color: color(neutral, 000);
221
+ z-index: 999;
224
222
 
225
223
  &.drag-helper {
226
224
  border: $border-style;
@@ -228,20 +226,19 @@ $border-style: $theme-base-border-style color(neutral, 100);
228
226
 
229
227
  &__parent-helper-text {
230
228
  margin-left: space(xs);
231
- color: color(brand-primary, 700)
229
+ color: color(brand-primary, 700);
232
230
  }
233
231
 
234
232
  &__content {
235
- display: flex;
233
+ display: grid;
236
234
  align-items: center;
237
- flex: 1 0 auto;
235
+ grid-template-columns: min-content minmax(0px, min-content) auto;
238
236
  height: space(l) * 1.125;
239
237
  padding-left: space(xs);
240
238
  padding-right: space(xs);
241
239
  border-left: 4px solid color(neutral, 100);
242
240
  cursor: default;
243
241
  pointer-events: none;
244
- max-width: calc(100% - 72px);
245
242
  span.shuttle-tooltip-text {
246
243
  cursor: pointer;
247
244
  pointer-events: all;
@@ -256,7 +253,6 @@ $border-style: $theme-base-border-style color(neutral, 100);
256
253
  border-left-color: color(brand-primary, 600);
257
254
  }
258
255
 
259
-
260
256
  &--can-hover {
261
257
  cursor: pointer;
262
258
  pointer-events: all;
@@ -266,7 +262,7 @@ $border-style: $theme-base-border-style color(neutral, 100);
266
262
  }
267
263
  }
268
264
 
269
- &__icon-wrapper {
265
+ &__icon-wrapper > span {
270
266
  margin-right: space(xs);
271
267
  }
272
268
 
@@ -279,7 +275,8 @@ $border-style: $theme-base-border-style color(neutral, 100);
279
275
  width: $item-list-height;
280
276
  border-left: $border-style;
281
277
 
282
- svg, svg:not([fill]) {
278
+ svg,
279
+ svg:not([fill]) {
283
280
  fill: color(brand-primary, 600);
284
281
  }
285
282
 
@@ -47,26 +47,39 @@ body > .#{$tree-item} {
47
47
  &-children-count-displayer {
48
48
  color: color(neutral, 500);
49
49
  }
50
- &--valid-drop-in:after {
51
- content: '';
52
- display: block;
53
- position: absolute;
54
- top: 0;
55
- left: 0;
56
- right: 0;
57
- bottom: 0;
58
- border: 2px solid color(brand-primary, 600);
59
- }
60
-
61
- &--invalid-drop-in:after {
62
- content: '';
63
- display: block;
64
- position: absolute;
65
- top: 0;
66
- left: 0;
67
- right: 0;
68
- bottom: 0;
69
- border: 2px solid color(danger, 900);
50
+ &--valid {
51
+ &-drop-before {
52
+ border-top-width: 2px;
53
+ border-top-style: solid;
54
+ border-top-color: color(brand-primary, 600);
55
+ }
56
+ &-drop-in {
57
+ border-width: 2px;
58
+ border-style: solid;
59
+ border-color: color(brand-primary, 600);
60
+ }
61
+ &-drop-after {
62
+ border-bottom-width: 2px;
63
+ border-bottom-style: solid;
64
+ border-bottom-color: color(brand-primary, 600);
65
+ }
66
+ }
67
+ &--invalid {
68
+ &-drop-before {
69
+ border-top-width: 2px;
70
+ border-top-style: solid;
71
+ border-top-color: color(danger, 900);
72
+ }
73
+ &-drop-in {
74
+ border-width: 2px;
75
+ border-style: solid;
76
+ border-color: color(danger, 900);
77
+ }
78
+ &-drop-after {
79
+ border-bottom-width: 2px;
80
+ border-bottom-style: solid;
81
+ border-bottom-color: color(danger, 900);
82
+ }
70
83
  }
71
84
 
72
85
  .#{$tree-item}__value {
@@ -94,49 +107,20 @@ body > .#{$tree-item} {
94
107
  }
95
108
 
96
109
  &.selected {
97
- &:before {
98
- content: '';
99
- position: absolute;
100
- top: 0;
101
- left: 0;
102
- width: 100%;
103
- height: 100%;
104
- border: 1px solid color(brand-primary, 500);
105
- pointer-events: none;
106
- }
107
110
  background-color: color(brand-primary, 200);
108
111
  }
109
112
 
110
- &.drag-overlay {
111
- box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
112
- border-radius: 2px;
113
- }
114
-
115
113
  .drag-handle {
116
- position: relative;
117
114
  transition: duration(fast) easing(base);
118
115
  align-items: center;
119
116
  display: flex;
120
- height: 24px;
117
+ // height: 100%;
118
+ // width: space(s) * 1.3;
121
119
  visibility: visible;
122
120
  opacity: 1;
123
121
  margin-left: 8px;
124
- outline: none;
125
- cursor: grab;
126
- &[data-isactive='true'],
127
- &[data-isdragoverlay='true'] {
128
- cursor: grabbing;
129
- }
130
- &.focuseable:focus:after {
131
- content: '';
132
- position: absolute;
133
- top: 0;
134
- left: 0;
135
- width: 100%;
136
- height: 100%;
137
- border: 2px solid color(brand-primary, 700);
138
- pointer-events: none;
139
- }
122
+
123
+ @include icon-color(color(neutral, 500));
140
124
  }
141
125
  .expandable-arrow {
142
126
  margin-left: 8px;
@@ -178,6 +162,10 @@ body > .#{$tree-item} {
178
162
  }
179
163
 
180
164
  &.hover {
165
+ .drag-handle {
166
+ @include icon-color(color(brand-primary, 800));
167
+ }
168
+
181
169
  //Update from mixins when the correct states story comes
182
170
  background-color: color(neutral, 080);
183
171
 
@@ -192,13 +180,13 @@ body > .#{$tree-item} {
192
180
  border-radius: 0px;
193
181
  z-index: 1;
194
182
  &:before {
195
- content: '';
183
+ content: "";
196
184
  position: absolute;
197
185
  top: 0;
198
186
  left: 0;
199
187
  width: 100%;
200
188
  height: 100%;
201
- border: 2px solid color(brand-primary, 700);
189
+ border: 1px solid color(brand-primary, 600);
202
190
  pointer-events: none;
203
191
  }
204
192
  &.selected {