@elliemae/ds-basic 3.0.0-alpha.2 → 3.0.0-next.10

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 (22) hide show
  1. package/dist/css/dimsum.css +46 -18
  2. package/dist/css/dimsum.min.css +1 -1
  3. package/dist/css/dimsum.min.css.map +1 -1
  4. package/dist/styles/components/packages/ds-common/Input/DSInput.scss +41 -28
  5. package/dist/styles/components/packages/ds-form/Checkbox/DSCheckbox.scss +1 -1
  6. package/dist/styles/components/packages/ds-form/ComboBox/DSComboBox.scss +1 -1
  7. package/dist/styles/components/packages/ds-form/ComboBox/v1/DSComboBox.scss +1 -1
  8. package/dist/styles/components/packages/ds-form/ComboBox/v2/DSComboBox.scss +1 -1
  9. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/container.scss +1 -1
  10. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/customOptions.scss +1 -1
  11. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/dropdownIndicator.scss +1 -1
  12. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/indicatorSeparator.scss +1 -1
  13. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/menu.scss +1 -1
  14. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/optionMultiple.scss +1 -1
  15. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/placeholder.scss +1 -1
  16. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/valueContainer.scss +1 -1
  17. package/dist/styles/components/packages/ds-form/ComboBox/v2/styles/wrapper.scss +1 -1
  18. package/dist/styles/components/packages/ds-form/Input/DSInput.scss +1 -1
  19. package/dist/styles/components/packages/ds-form/Input/InputAddonWrapper.scss +1 -1
  20. package/dist/styles/components/packages/ds-form/SearchBox/DSSearchBox.scss +1 -1
  21. package/dist/styles/components/packages/ds-treeview/Tree.scss +9 -0
  22. package/package.json +1 -1
@@ -37,15 +37,24 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
37
37
  @mixin withActive() {
38
38
  border: calc(#{space(xxs)} * 0.25) solid color(brand-primary, 600);
39
39
  }
40
+
40
41
  @mixin withDisabled() {
41
- border: calc(#{space(xxs)} * 0.25) solid color(neutral, 400);
42
- background: color(neutral, 100) !important;
42
+ border: 1px solid color(neutral, 400);
43
+ background: color(neutral, 080) !important;
43
44
  color: #616b7f;
45
+ -webkit-text-fill-color: #616b7f;
46
+ opacity: 1;
44
47
  }
48
+
45
49
  @mixin withReadOnly() {
46
50
  border: none;
47
- border-top: calc(#{space(xxs)} * 0.25) solid color(neutral, 400);
51
+ border-top: 1px solid color(neutral, 400);
52
+ border-bottom: 1px solid transparent;
53
+ border-left: 1px solid transparent;
54
+ border-right: 1px solid transparent;
48
55
  background: none;
56
+ border-radius: 0;
57
+ color: color(neutral, 500);
49
58
  }
50
59
 
51
60
  @mixin withError() {
@@ -67,13 +76,13 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
67
76
  @include border-radius($radius);
68
77
  border: $border-type color(neutral, 400);
69
78
  text-overflow: ellipsis;
70
-
79
+
71
80
  &::-ms-clear {
72
81
  display: none;
73
82
  }
74
83
  &:-webkit-autofill,
75
84
  &:-webkit-autofill:hover,
76
- &:-webkit-autofill:focus textarea:-webkit-autofill{
85
+ &:-webkit-autofill:focus textarea:-webkit-autofill {
77
86
  margin: 2px;
78
87
  height: calc(#{$input-height} - 4px);
79
88
  // -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important; // fix chrome autocomplete
@@ -82,11 +91,12 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
82
91
  &:not(.floating-label-input-controller):hover {
83
92
  @include dsHover();
84
93
 
85
- &:active, &:focus {
86
- @include dsFocus();
94
+ &:active,
95
+ &:focus {
96
+ @include dsFocus();
87
97
  }
88
98
  }
89
-
99
+
90
100
  &:active {
91
101
  color: color(neutral, 800);
92
102
  @include dsActive();
@@ -103,11 +113,16 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
103
113
  @include dsFocus();
104
114
  }
105
115
 
106
- &:disabled, &.input-disabled {
116
+ &:disabled,
117
+ &.input-disabled {
107
118
  @include withDisabled();
108
119
  @include placeholder {
109
- color: #5C6574;
110
- }
120
+ color: #5c6574;
121
+ }
122
+ }
123
+
124
+ &.read-only {
125
+ @include withReadOnly();
111
126
  }
112
127
  }
113
128
 
@@ -123,24 +138,24 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
123
138
  color: color(brand-primary, 600);
124
139
  background-color: transparent;
125
140
  .em-ds-icon {
126
- fill: color(brand-primary, 600);
127
- }
141
+ fill: color(brand-primary, 600);
142
+ }
128
143
  &:focus {
129
144
  border: unset;
130
145
  }
131
- }
146
+ }
132
147
  }
133
148
 
134
149
  &:hover {
135
150
  .#{$el-addon} .#{$el-clearable-button} {
136
151
  opacity: 1;
137
- @include dsHover();
152
+ @include dsHover();
138
153
  background-color: transparent;
139
154
  .em-ds-icon {
140
- fill: color(brand-primary, 600);
141
- }
142
- }
143
- }
155
+ fill: color(brand-primary, 600);
156
+ }
157
+ }
158
+ }
144
159
  }
145
160
 
146
161
  .#{$el-input} {
@@ -150,7 +165,6 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
150
165
  border: none;
151
166
  }
152
167
 
153
-
154
168
  .#{$input-addons} {
155
169
  .#{$el-clearable-button} {
156
170
  margin-left: auto;
@@ -160,9 +174,10 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
160
174
  max-height: 100%;
161
175
  outline: none;
162
176
  .em-ds-icon {
163
- fill: color(brand-primary, 600);
164
- }
165
- &:hover, &:hover::after {
177
+ fill: color(brand-primary, 600);
178
+ }
179
+ &:hover,
180
+ &:hover::after {
166
181
  opacity: 1;
167
182
  border: none;
168
183
  }
@@ -174,8 +189,8 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
174
189
  border-color: transparent;
175
190
  background: none;
176
191
  .em-ds-icon {
177
- fill: color(brand-primary, 600);
178
- }
192
+ fill: color(brand-primary, 600);
193
+ }
179
194
  &:hover {
180
195
  opacity: 1;
181
196
  }
@@ -215,10 +230,8 @@ $input-height: space(m) * 1.17; // TODO: define global input sizes
215
230
  // ********************************************
216
231
  // ReadOnly container & elements *****
217
232
  .#{$input-read-only} {
218
- border-color: color(neutral, 100);
219
- cursor: not-allowed;
220
233
  .#{$el-input} {
221
- color: color(neutral, 500);
234
+ @include withReadOnly();
222
235
  }
223
236
  }
224
237
 
@@ -1 +1 @@
1
- @import '../../../ds-common/src/Checkbox/DSCheckbox';
1
+ @import '../../../ds-common/src/Checkbox/DSCheckbox.scss';
@@ -1 +1 @@
1
- @import '../../../ds-common/src/ComboBox/DSComboBox';
1
+ @import '../../../ds-common/src/ComboBox/DSComboBox.scss';
@@ -1 +1 @@
1
- @import '../../../../ds-common/src/ComboBox/v1/DSComboBox';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../ds-common/src/ComboBox/v2/DSComboBox';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/container';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/customOptions';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/dropdownIndicator.scss';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/indicatorSeparator';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/menu';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/optionMultiple';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/placeholder';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/valueContainer';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../../../ds-common/src/ComboBox/v2/styles/wrapper';
1
+ // ToDo: This file has been moved to ds-common. it will be removed from here in the next major release.
@@ -1 +1 @@
1
- @import '../../../ds-common/src/Input/DSInput';
1
+ @import '../../../ds-common/src/Input/DSInput.scss';
@@ -1 +1 @@
1
- @import '../../../ds-common/src/Input/InputAddonWrapper';
1
+ @import '../../../ds-common/src/Input/InputAddonWrapper.scss';
@@ -1 +1 @@
1
- @import '../../../ds-common/src/SearchBox/DSSearchBox';
1
+ @import '../../../ds-common/src/SearchBox/DSSearchBox.scss';
@@ -110,6 +110,15 @@ body > .#{$tree-item} {
110
110
  &.drag-overlay {
111
111
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
112
112
  border-radius: 2px;
113
+ padding-right: space(xs);
114
+ }
115
+
116
+ &--dragging {
117
+ background-color: color(neutral, 080);
118
+ color: color(neutral, 500);
119
+ .#{$dsicon} {
120
+ @include icon-color(color(neutral, 500));
121
+ }
113
122
  }
114
123
 
115
124
  .drag-handle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-basic",
3
- "version": "3.0.0-alpha.2",
3
+ "version": "3.0.0-next.10",
4
4
  "license": "MIT",
5
5
  "description": "EllieMae UI Design System Library",
6
6
  "files": [