@elliemae/ds-basic 2.2.0-beta.0 → 2.2.0-next.4
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/css/dimsum.css +707 -688
- package/css/dimsum.min.css +1 -1
- package/css/dimsum.min.css.map +1 -1
- package/package.json +44 -44
- package/styles/base/fonts/font-base.scss +7 -1
- package/styles/components/packages/ds-basic/styles/base/fonts/font-base.scss +7 -1
- package/styles/components/packages/ds-basic/styles/themes/theme-default.scss +30 -28
- package/styles/components/packages/ds-form/FormItem/DSFormItemLayout.scss +35 -30
- package/styles/components/packages/ds-shuttle/DSShuttle.scss +22 -19
- package/styles/components/packages/ds-treeview/Tree.scss +55 -43
- package/styles/themes/theme-default.scss +30 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-basic",
|
|
3
|
-
"version": "2.2.0-
|
|
3
|
+
"version": "2.2.0-next.4",
|
|
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-
|
|
300
|
-
"@elliemae/ds-app-picker": "2.2.0-
|
|
301
|
-
"@elliemae/ds-backdrop": "2.2.0-
|
|
302
|
-
"@elliemae/ds-breadcrumb": "2.2.0-
|
|
303
|
-
"@elliemae/ds-button": "2.2.0-
|
|
304
|
-
"@elliemae/ds-button-group": "2.2.0-
|
|
305
|
-
"@elliemae/ds-card": "2.2.0-
|
|
306
|
-
"@elliemae/ds-circular-progress-indicator": "2.2.0-
|
|
307
|
-
"@elliemae/ds-form": "2.2.0-
|
|
308
|
-
"@elliemae/ds-grid": "2.2.0-
|
|
309
|
-
"@elliemae/ds-group-box": "2.2.0-
|
|
310
|
-
"@elliemae/ds-header": "2.2.0-
|
|
311
|
-
"@elliemae/ds-hidden": "2.2.0-
|
|
312
|
-
"@elliemae/ds-icon": "2.2.0-
|
|
313
|
-
"@elliemae/ds-indeterminate-progress-indicator": "2.2.0-
|
|
314
|
-
"@elliemae/ds-label-value": "2.2.0-
|
|
315
|
-
"@elliemae/ds-list-section-header": "2.2.0-
|
|
316
|
-
"@elliemae/ds-loading-indicator": "2.2.0-
|
|
317
|
-
"@elliemae/ds-menu": "2.2.0-
|
|
318
|
-
"@elliemae/ds-overlay": "2.2.0-
|
|
319
|
-
"@elliemae/ds-page-header": "2.2.0-
|
|
320
|
-
"@elliemae/ds-page-number": "2.2.0-
|
|
321
|
-
"@elliemae/ds-pills": "2.2.0-
|
|
322
|
-
"@elliemae/ds-popover": "2.2.0-
|
|
323
|
-
"@elliemae/ds-popper": "2.2.0-
|
|
324
|
-
"@elliemae/ds-portal": "2.2.0-
|
|
325
|
-
"@elliemae/ds-progress-indicator": "2.2.0-
|
|
326
|
-
"@elliemae/ds-read-more": "2.2.0-
|
|
327
|
-
"@elliemae/ds-resizeable-container": "2.2.0-
|
|
328
|
-
"@elliemae/ds-separator": "2.2.0-
|
|
329
|
-
"@elliemae/ds-side-panel": "2.2.0-
|
|
330
|
-
"@elliemae/ds-slider": "2.2.0-
|
|
331
|
-
"@elliemae/ds-spinner": "2.2.0-
|
|
332
|
-
"@elliemae/ds-tabs": "2.2.0-
|
|
333
|
-
"@elliemae/ds-text-wrapper": "2.2.0-
|
|
334
|
-
"@elliemae/ds-time-picker": "2.2.0-
|
|
335
|
-
"@elliemae/ds-toast": "2.2.0-
|
|
336
|
-
"@elliemae/ds-toolbar": "2.2.0-
|
|
337
|
-
"@elliemae/ds-tooltip": "2.2.0-
|
|
338
|
-
"@elliemae/ds-truncated-expandable-text": "2.2.0-
|
|
339
|
-
"@elliemae/ds-truncated-tooltip-text": "2.2.0-
|
|
340
|
-
"@elliemae/ds-zipcode-search": "2.2.0-
|
|
341
|
-
"@elliemae/ds-zoom": "2.2.0-
|
|
299
|
+
"@elliemae/ds-accordion": "2.2.0-next.4",
|
|
300
|
+
"@elliemae/ds-app-picker": "2.2.0-next.4",
|
|
301
|
+
"@elliemae/ds-backdrop": "2.2.0-next.4",
|
|
302
|
+
"@elliemae/ds-breadcrumb": "2.2.0-next.4",
|
|
303
|
+
"@elliemae/ds-button": "2.2.0-next.4",
|
|
304
|
+
"@elliemae/ds-button-group": "2.2.0-next.4",
|
|
305
|
+
"@elliemae/ds-card": "2.2.0-next.4",
|
|
306
|
+
"@elliemae/ds-circular-progress-indicator": "2.2.0-next.4",
|
|
307
|
+
"@elliemae/ds-form": "2.2.0-next.4",
|
|
308
|
+
"@elliemae/ds-grid": "2.2.0-next.4",
|
|
309
|
+
"@elliemae/ds-group-box": "2.2.0-next.4",
|
|
310
|
+
"@elliemae/ds-header": "2.2.0-next.4",
|
|
311
|
+
"@elliemae/ds-hidden": "2.2.0-next.4",
|
|
312
|
+
"@elliemae/ds-icon": "2.2.0-next.4",
|
|
313
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.2.0-next.4",
|
|
314
|
+
"@elliemae/ds-label-value": "2.2.0-next.4",
|
|
315
|
+
"@elliemae/ds-list-section-header": "2.2.0-next.4",
|
|
316
|
+
"@elliemae/ds-loading-indicator": "2.2.0-next.4",
|
|
317
|
+
"@elliemae/ds-menu": "2.2.0-next.4",
|
|
318
|
+
"@elliemae/ds-overlay": "2.2.0-next.4",
|
|
319
|
+
"@elliemae/ds-page-header": "2.2.0-next.4",
|
|
320
|
+
"@elliemae/ds-page-number": "2.2.0-next.4",
|
|
321
|
+
"@elliemae/ds-pills": "2.2.0-next.4",
|
|
322
|
+
"@elliemae/ds-popover": "2.2.0-next.4",
|
|
323
|
+
"@elliemae/ds-popper": "2.2.0-next.4",
|
|
324
|
+
"@elliemae/ds-portal": "2.2.0-next.4",
|
|
325
|
+
"@elliemae/ds-progress-indicator": "2.2.0-next.4",
|
|
326
|
+
"@elliemae/ds-read-more": "2.2.0-next.4",
|
|
327
|
+
"@elliemae/ds-resizeable-container": "2.2.0-next.4",
|
|
328
|
+
"@elliemae/ds-separator": "2.2.0-next.4",
|
|
329
|
+
"@elliemae/ds-side-panel": "2.2.0-next.4",
|
|
330
|
+
"@elliemae/ds-slider": "2.2.0-next.4",
|
|
331
|
+
"@elliemae/ds-spinner": "2.2.0-next.4",
|
|
332
|
+
"@elliemae/ds-tabs": "2.2.0-next.4",
|
|
333
|
+
"@elliemae/ds-text-wrapper": "2.2.0-next.4",
|
|
334
|
+
"@elliemae/ds-time-picker": "2.2.0-next.4",
|
|
335
|
+
"@elliemae/ds-toast": "2.2.0-next.4",
|
|
336
|
+
"@elliemae/ds-toolbar": "2.2.0-next.4",
|
|
337
|
+
"@elliemae/ds-tooltip": "2.2.0-next.4",
|
|
338
|
+
"@elliemae/ds-truncated-expandable-text": "2.2.0-next.4",
|
|
339
|
+
"@elliemae/ds-truncated-tooltip-text": "2.2.0-next.4",
|
|
340
|
+
"@elliemae/ds-zipcode-search": "2.2.0-next.4",
|
|
341
|
+
"@elliemae/ds-zoom": "2.2.0-next.4"
|
|
342
342
|
},
|
|
343
343
|
"devDependencies": {
|
|
344
344
|
"gulp": "~4.0.2",
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
// Note: The URLs here don't match with filesystem due to a defect in node-sass and webpack sass loader.
|
|
2
2
|
|
|
3
|
-
@
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: 'proxima-nova';
|
|
5
|
+
src: url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff2') format('woff2'),
|
|
6
|
+
url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff') format('woff');
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
// Note: The URLs here don't match with filesystem due to a defect in node-sass and webpack sass loader.
|
|
2
2
|
|
|
3
|
-
@
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: 'proxima-nova';
|
|
5
|
+
src: url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff2') format('woff2'),
|
|
6
|
+
url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff') format('woff');
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
@@ -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: #
|
|
21
|
+
$theme-color-brand-primary-700: #006AA9;
|
|
22
22
|
$theme-color-brand-primary-600: #1e79c2;
|
|
23
|
-
$theme-color-brand-primary-500: #
|
|
24
|
-
$theme-color-brand-primary-400: #
|
|
25
|
-
$theme-color-brand-primary-300: #
|
|
26
|
-
$theme-color-brand-primary-200: #
|
|
27
|
-
$theme-color-brand-primary-100: #
|
|
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,58 +40,60 @@ $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: #
|
|
44
|
-
$theme-color-neutral-700: #
|
|
45
|
-
$theme-color-neutral-600: #
|
|
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: #
|
|
48
|
-
$theme-color-neutral-300: #
|
|
49
|
-
$theme-color-neutral-200: #
|
|
50
|
-
$theme-color-neutral-100: #
|
|
51
|
-
$theme-color-neutral-080: #
|
|
52
|
-
$theme-color-neutral-050: #
|
|
53
|
-
$theme-color-neutral-000: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
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: #
|
|
76
|
+
$theme-color-warning-900: #D17A00;
|
|
77
77
|
$theme-color-warning-800: null;
|
|
78
|
-
$theme-color-warning-700: #
|
|
79
|
-
$theme-color-warning-600: #
|
|
80
|
-
$theme-color-warning-500: #
|
|
81
|
-
$theme-color-warning-400: #
|
|
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
|
+
|
|
86
87
|
// **TYPOGRAPHY**
|
|
87
88
|
// Typeface
|
|
88
89
|
// Change the typeface.
|
|
89
|
-
$theme-font-family:
|
|
90
|
+
$theme-font-family: "proxima-nova", Arial, sans-serif !default;
|
|
90
91
|
|
|
91
92
|
// Type Scale
|
|
92
93
|
// Change the font-sizes of HTML typed tags below.
|
|
93
94
|
$theme-base-font-size: 13px;
|
|
94
95
|
|
|
96
|
+
|
|
95
97
|
// **BORDER RADIUS**
|
|
96
98
|
// How round would you like your containers to be?
|
|
97
99
|
$theme-base-border-radius: 2px;
|
|
@@ -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:
|
|
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,18 +44,19 @@ fieldset.#{$el-container}-content {
|
|
|
44
44
|
padding: unset;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.#{$el-container-left-label}
|
|
48
|
-
|
|
47
|
+
.#{$el-container-left-label}{
|
|
48
|
+
|
|
49
|
+
.#{$el-container}-content{
|
|
49
50
|
display: flex;
|
|
50
51
|
flex-direction: row;
|
|
51
52
|
width: 100%;
|
|
52
53
|
}
|
|
53
54
|
label {
|
|
54
|
-
padding-right:
|
|
55
|
+
padding-right: space(xxs);
|
|
55
56
|
display: inline-flex;
|
|
56
57
|
align-items: center;
|
|
57
58
|
}
|
|
58
|
-
.#{$el-container}__feedback
|
|
59
|
+
.#{$el-container}__feedback{
|
|
59
60
|
display: flex;
|
|
60
61
|
margin-left: auto;
|
|
61
62
|
width: 80%;
|
|
@@ -65,11 +66,12 @@ fieldset.#{$el-container}-content {
|
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
|
|
68
|
-
.#{$el-container-fit-content}
|
|
69
|
+
.#{$el-container-fit-content}{
|
|
69
70
|
width: fit-content;
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
|
|
73
|
+
|
|
74
|
+
.#{$el-container-with-highlight}{
|
|
73
75
|
$separation: 8;
|
|
74
76
|
|
|
75
77
|
&::after {
|
|
@@ -80,29 +82,32 @@ fieldset.#{$el-container}-content {
|
|
|
80
82
|
z-index: -1;
|
|
81
83
|
width: calc(100% + #{$separation * 2}px);
|
|
82
84
|
height: calc(100% + #{$separation}px);
|
|
83
|
-
background-color: #
|
|
84
|
-
border: 1px solid #
|
|
85
|
-
border-radius: 4px;
|
|
86
|
-
box-shadow: 0 1px 3px 0 rgba(0,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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
|
+
}
|
|
102
105
|
}
|
|
103
|
-
}
|
|
104
106
|
}
|
|
105
107
|
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
106
111
|
.#{$el-feedback} {
|
|
107
112
|
@include body-micro-text-style;
|
|
108
113
|
color: color(neutral, 500);
|
|
@@ -128,4 +133,4 @@ fieldset.#{$el-container}-content {
|
|
|
128
133
|
.#{$el-feedback} {
|
|
129
134
|
font-size: toMobile(font-size(400));
|
|
130
135
|
}
|
|
131
|
-
}
|
|
136
|
+
}
|
|
@@ -11,6 +11,7 @@ $shuttle-footer: #{$shuttle}-footer;
|
|
|
11
11
|
$shuttle-searchbox: #{$shuttle}-search-box;
|
|
12
12
|
$shuttle-infinte-scroll-indicator: #{$shuttle}-infinite-scroll-indicator;
|
|
13
13
|
|
|
14
|
+
|
|
14
15
|
// ********************************************
|
|
15
16
|
// dimsum component classes
|
|
16
17
|
$DSBreadcrumb: #{$prefix}-breadcrumb;
|
|
@@ -28,16 +29,17 @@ $shuttle-searchbox-height: space(m) * 1.2;
|
|
|
28
29
|
|
|
29
30
|
@keyframes pulse {
|
|
30
31
|
0% {
|
|
31
|
-
box-shadow: 0 0 0 0 color(brand-primary, 600)
|
|
32
|
+
box-shadow: 0 0 0 0 color(brand-primary, 600)
|
|
32
33
|
}
|
|
33
34
|
50% {
|
|
34
|
-
box-shadow: 0 0 5px 0 color(brand-primary, 600)
|
|
35
|
+
box-shadow: 0 0 5px 0 color(brand-primary, 600)
|
|
35
36
|
}
|
|
36
37
|
100% {
|
|
37
|
-
box-shadow: 0 0 0 0 color(brand-primary, 600)
|
|
38
|
+
box-shadow: 0 0 0 0 color(brand-primary, 600)
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
|
|
42
|
+
|
|
41
43
|
@mixin link-button {
|
|
42
44
|
color: color(brand-primary, 600);
|
|
43
45
|
background-color: transparent;
|
|
@@ -56,6 +58,7 @@ $shuttle-searchbox-height: space(m) * 1.2;
|
|
|
56
58
|
// elements definition
|
|
57
59
|
$move-all-panel-el: #{$shuttle}__move-all-panel;
|
|
58
60
|
|
|
61
|
+
|
|
59
62
|
$list-width: space(xxl) * 4.6875;
|
|
60
63
|
$list-height: space(xxl) * 4.65;
|
|
61
64
|
$searchbox-height: space(m) * 1.2;
|
|
@@ -76,7 +79,7 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
76
79
|
height: 100%;
|
|
77
80
|
@include center();
|
|
78
81
|
span {
|
|
79
|
-
color: color(neutral, 300)
|
|
82
|
+
color: color(neutral, 300)
|
|
80
83
|
}
|
|
81
84
|
}
|
|
82
85
|
|
|
@@ -95,12 +98,11 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
95
98
|
overflow: hidden;
|
|
96
99
|
align-self: center;
|
|
97
100
|
flex: 1;
|
|
98
|
-
padding: 4px 0;
|
|
99
101
|
|
|
100
102
|
.#{$DSBreadcrumb} {
|
|
101
103
|
width: 100%;
|
|
102
104
|
ol {
|
|
103
|
-
margin: 0
|
|
105
|
+
margin: 0
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
108
|
}
|
|
@@ -161,11 +163,11 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
161
163
|
-moz-animation: fadeIn ease 1s;
|
|
162
164
|
-o-animation: fadeIn ease 1s;
|
|
163
165
|
-ms-animation: fadeIn ease 1s;
|
|
164
|
-
}
|
|
166
|
+
}
|
|
165
167
|
&__loading-list {
|
|
166
168
|
top: 0;
|
|
167
169
|
position: absolute;
|
|
168
|
-
width: 100%;
|
|
170
|
+
width: 100%;
|
|
169
171
|
height: 100%;
|
|
170
172
|
pointer-events: none;
|
|
171
173
|
}
|
|
@@ -182,10 +184,10 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
182
184
|
|
|
183
185
|
@keyframes fadeIn {
|
|
184
186
|
0% {
|
|
185
|
-
opacity:
|
|
187
|
+
opacity:0;
|
|
186
188
|
}
|
|
187
189
|
100% {
|
|
188
|
-
opacity:
|
|
190
|
+
opacity:1;
|
|
189
191
|
}
|
|
190
192
|
}
|
|
191
193
|
}
|
|
@@ -210,15 +212,15 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
210
212
|
}
|
|
211
213
|
}
|
|
212
214
|
|
|
215
|
+
|
|
213
216
|
.#{$shuttle-list-item} {
|
|
214
|
-
display:
|
|
215
|
-
|
|
217
|
+
display: flex;
|
|
218
|
+
justify-content: flex-start;
|
|
216
219
|
align-items: center;
|
|
217
220
|
overflow: hidden;
|
|
218
221
|
position: relative;
|
|
219
222
|
border-bottom: $border-style;
|
|
220
223
|
background-color: color(neutral, 000);
|
|
221
|
-
z-index: 999;
|
|
222
224
|
|
|
223
225
|
&.drag-helper {
|
|
224
226
|
border: $border-style;
|
|
@@ -226,19 +228,20 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
226
228
|
|
|
227
229
|
&__parent-helper-text {
|
|
228
230
|
margin-left: space(xs);
|
|
229
|
-
color: color(brand-primary, 700)
|
|
231
|
+
color: color(brand-primary, 700)
|
|
230
232
|
}
|
|
231
233
|
|
|
232
234
|
&__content {
|
|
233
|
-
display:
|
|
235
|
+
display: flex;
|
|
234
236
|
align-items: center;
|
|
235
|
-
|
|
237
|
+
flex: 1 0 auto;
|
|
236
238
|
height: space(l) * 1.125;
|
|
237
239
|
padding-left: space(xs);
|
|
238
240
|
padding-right: space(xs);
|
|
239
241
|
border-left: 4px solid color(neutral, 100);
|
|
240
242
|
cursor: default;
|
|
241
243
|
pointer-events: none;
|
|
244
|
+
max-width: calc(100% - 72px);
|
|
242
245
|
span.shuttle-tooltip-text {
|
|
243
246
|
cursor: pointer;
|
|
244
247
|
pointer-events: all;
|
|
@@ -253,6 +256,7 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
253
256
|
border-left-color: color(brand-primary, 600);
|
|
254
257
|
}
|
|
255
258
|
|
|
259
|
+
|
|
256
260
|
&--can-hover {
|
|
257
261
|
cursor: pointer;
|
|
258
262
|
pointer-events: all;
|
|
@@ -262,7 +266,7 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
262
266
|
}
|
|
263
267
|
}
|
|
264
268
|
|
|
265
|
-
&__icon-wrapper
|
|
269
|
+
&__icon-wrapper {
|
|
266
270
|
margin-right: space(xs);
|
|
267
271
|
}
|
|
268
272
|
|
|
@@ -275,8 +279,7 @@ $border-style: $theme-base-border-style color(neutral, 100);
|
|
|
275
279
|
width: $item-list-height;
|
|
276
280
|
border-left: $border-style;
|
|
277
281
|
|
|
278
|
-
svg,
|
|
279
|
-
svg:not([fill]) {
|
|
282
|
+
svg, svg:not([fill]) {
|
|
280
283
|
fill: color(brand-primary, 600);
|
|
281
284
|
}
|
|
282
285
|
|
|
@@ -47,39 +47,26 @@ body > .#{$tree-item} {
|
|
|
47
47
|
&-children-count-displayer {
|
|
48
48
|
color: color(neutral, 500);
|
|
49
49
|
}
|
|
50
|
-
&--valid {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
}
|
|
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);
|
|
83
70
|
}
|
|
84
71
|
|
|
85
72
|
.#{$tree-item}__value {
|
|
@@ -107,20 +94,49 @@ body > .#{$tree-item} {
|
|
|
107
94
|
}
|
|
108
95
|
|
|
109
96
|
&.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
|
+
}
|
|
110
107
|
background-color: color(brand-primary, 200);
|
|
111
108
|
}
|
|
112
109
|
|
|
110
|
+
&.drag-overlay {
|
|
111
|
+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
|
|
112
|
+
border-radius: 2px;
|
|
113
|
+
}
|
|
114
|
+
|
|
113
115
|
.drag-handle {
|
|
116
|
+
position: relative;
|
|
114
117
|
transition: duration(fast) easing(base);
|
|
115
118
|
align-items: center;
|
|
116
119
|
display: flex;
|
|
117
|
-
|
|
118
|
-
// width: space(s) * 1.3;
|
|
120
|
+
height: 24px;
|
|
119
121
|
visibility: visible;
|
|
120
122
|
opacity: 1;
|
|
121
123
|
margin-left: 8px;
|
|
122
|
-
|
|
123
|
-
|
|
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
|
+
}
|
|
124
140
|
}
|
|
125
141
|
.expandable-arrow {
|
|
126
142
|
margin-left: 8px;
|
|
@@ -162,10 +178,6 @@ body > .#{$tree-item} {
|
|
|
162
178
|
}
|
|
163
179
|
|
|
164
180
|
&.hover {
|
|
165
|
-
.drag-handle {
|
|
166
|
-
@include icon-color(color(brand-primary, 800));
|
|
167
|
-
}
|
|
168
|
-
|
|
169
181
|
//Update from mixins when the correct states story comes
|
|
170
182
|
background-color: color(neutral, 080);
|
|
171
183
|
|
|
@@ -180,13 +192,13 @@ body > .#{$tree-item} {
|
|
|
180
192
|
border-radius: 0px;
|
|
181
193
|
z-index: 1;
|
|
182
194
|
&:before {
|
|
183
|
-
content:
|
|
195
|
+
content: '';
|
|
184
196
|
position: absolute;
|
|
185
197
|
top: 0;
|
|
186
198
|
left: 0;
|
|
187
199
|
width: 100%;
|
|
188
200
|
height: 100%;
|
|
189
|
-
border:
|
|
201
|
+
border: 2px solid color(brand-primary, 700);
|
|
190
202
|
pointer-events: none;
|
|
191
203
|
}
|
|
192
204
|
&.selected {
|