@elliemae/ds-basic 2.0.1 → 2.1.0-rc.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-basic",
3
- "version": "2.0.1",
3
+ "version": "2.1.0-rc.10",
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.0.1",
300
- "@elliemae/ds-app-picker": "2.0.1",
301
- "@elliemae/ds-backdrop": "2.0.1",
302
- "@elliemae/ds-breadcrumb": "2.0.1",
303
- "@elliemae/ds-button": "2.0.1",
304
- "@elliemae/ds-button-group": "2.0.1",
305
- "@elliemae/ds-card": "2.0.1",
306
- "@elliemae/ds-circular-progress-indicator": "2.0.1",
307
- "@elliemae/ds-form": "2.0.1",
308
- "@elliemae/ds-grid": "2.0.1",
309
- "@elliemae/ds-group-box": "2.0.1",
310
- "@elliemae/ds-header": "2.0.1",
311
- "@elliemae/ds-hidden": "2.0.1",
312
- "@elliemae/ds-icon": "2.0.1",
313
- "@elliemae/ds-indeterminate-progress-indicator": "2.0.1",
314
- "@elliemae/ds-label-value": "2.0.1",
315
- "@elliemae/ds-list-section-header": "2.0.1",
316
- "@elliemae/ds-loading-indicator": "2.0.1",
317
- "@elliemae/ds-menu": "2.0.1",
318
- "@elliemae/ds-overlay": "2.0.1",
319
- "@elliemae/ds-page-header": "2.0.1",
320
- "@elliemae/ds-page-number": "2.0.1",
321
- "@elliemae/ds-pills": "2.0.1",
322
- "@elliemae/ds-popover": "2.0.1",
323
- "@elliemae/ds-popper": "2.0.1",
324
- "@elliemae/ds-portal": "2.0.1",
325
- "@elliemae/ds-progress-indicator": "2.0.1",
326
- "@elliemae/ds-read-more": "2.0.1",
327
- "@elliemae/ds-resizeable-container": "2.0.1",
328
- "@elliemae/ds-separator": "2.0.1",
329
- "@elliemae/ds-side-panel": "2.0.1",
330
- "@elliemae/ds-slider": "2.0.1",
331
- "@elliemae/ds-spinner": "2.0.1",
332
- "@elliemae/ds-tabs": "2.0.1",
333
- "@elliemae/ds-text-wrapper": "2.0.1",
334
- "@elliemae/ds-time-picker": "2.0.1",
335
- "@elliemae/ds-toast": "2.0.1",
336
- "@elliemae/ds-toolbar": "2.0.1",
337
- "@elliemae/ds-tooltip": "2.0.1",
338
- "@elliemae/ds-truncated-expandable-text": "2.0.1",
339
- "@elliemae/ds-truncated-tooltip-text": "2.0.1",
340
- "@elliemae/ds-zipcode-search": "2.0.1",
341
- "@elliemae/ds-zoom": "2.0.1"
299
+ "@elliemae/ds-accordion": "2.1.0-rc.10",
300
+ "@elliemae/ds-app-picker": "2.1.0-rc.10",
301
+ "@elliemae/ds-backdrop": "2.1.0-rc.10",
302
+ "@elliemae/ds-breadcrumb": "2.1.0-rc.10",
303
+ "@elliemae/ds-button": "2.1.0-rc.10",
304
+ "@elliemae/ds-button-group": "2.1.0-rc.10",
305
+ "@elliemae/ds-card": "2.1.0-rc.10",
306
+ "@elliemae/ds-circular-progress-indicator": "2.1.0-rc.10",
307
+ "@elliemae/ds-form": "2.1.0-rc.10",
308
+ "@elliemae/ds-grid": "2.1.0-rc.10",
309
+ "@elliemae/ds-group-box": "2.1.0-rc.10",
310
+ "@elliemae/ds-header": "2.1.0-rc.10",
311
+ "@elliemae/ds-hidden": "2.1.0-rc.10",
312
+ "@elliemae/ds-icon": "2.1.0-rc.10",
313
+ "@elliemae/ds-indeterminate-progress-indicator": "2.1.0-rc.10",
314
+ "@elliemae/ds-label-value": "2.1.0-rc.10",
315
+ "@elliemae/ds-list-section-header": "2.1.0-rc.10",
316
+ "@elliemae/ds-loading-indicator": "2.1.0-rc.10",
317
+ "@elliemae/ds-menu": "2.1.0-rc.10",
318
+ "@elliemae/ds-overlay": "2.1.0-rc.10",
319
+ "@elliemae/ds-page-header": "2.1.0-rc.10",
320
+ "@elliemae/ds-page-number": "2.1.0-rc.10",
321
+ "@elliemae/ds-pills": "2.1.0-rc.10",
322
+ "@elliemae/ds-popover": "2.1.0-rc.10",
323
+ "@elliemae/ds-popper": "2.1.0-rc.10",
324
+ "@elliemae/ds-portal": "2.1.0-rc.10",
325
+ "@elliemae/ds-progress-indicator": "2.1.0-rc.10",
326
+ "@elliemae/ds-read-more": "2.1.0-rc.10",
327
+ "@elliemae/ds-resizeable-container": "2.1.0-rc.10",
328
+ "@elliemae/ds-separator": "2.1.0-rc.10",
329
+ "@elliemae/ds-side-panel": "2.1.0-rc.10",
330
+ "@elliemae/ds-slider": "2.1.0-rc.10",
331
+ "@elliemae/ds-spinner": "2.1.0-rc.10",
332
+ "@elliemae/ds-tabs": "2.1.0-rc.10",
333
+ "@elliemae/ds-text-wrapper": "2.1.0-rc.10",
334
+ "@elliemae/ds-time-picker": "2.1.0-rc.10",
335
+ "@elliemae/ds-toast": "2.1.0-rc.10",
336
+ "@elliemae/ds-toolbar": "2.1.0-rc.10",
337
+ "@elliemae/ds-tooltip": "2.1.0-rc.10",
338
+ "@elliemae/ds-truncated-expandable-text": "2.1.0-rc.10",
339
+ "@elliemae/ds-truncated-tooltip-text": "2.1.0-rc.10",
340
+ "@elliemae/ds-zipcode-search": "2.1.0-rc.10",
341
+ "@elliemae/ds-zoom": "2.1.0-rc.10"
342
342
  },
343
343
  "devDependencies": {
344
344
  "gulp": "~4.0.2",
@@ -32,7 +32,6 @@
32
32
  @import 'packages/ds-overlay/DSOverlay';
33
33
  @import 'packages/ds-portal/DSPortal';
34
34
  @import 'packages/ds-icon/DSIcon';
35
- @import 'packages/ds-accordion/DSAccordion';
36
35
  @import 'packages/ds-card/DSCard';
37
36
  @import 'packages/ds-form/ComboBox/DSComboBox';
38
37
  @import 'packages/ds-button-group/DSButtonGroup';
@@ -39,7 +39,6 @@
39
39
  @import '../../ds-label-value/src/DSLabelValue';
40
40
  @import '../../ds-group-box/src/DSGroupBox';
41
41
  @import '../../ds-text-wrapper/src/DSTextWrapper';
42
- @import '../../ds-accordion/src/DSAccordion';
43
42
  @import '../../ds-card/src/DSCard';
44
43
  @import '../../ds-button-group/src//DSButtonGroup';
45
44
  @import '../../ds-menu/src/Menu';
@@ -32,7 +32,6 @@
32
32
  @import 'packages/ds-overlay/DSOverlay';
33
33
  @import 'packages/ds-portal/DSPortal';
34
34
  @import 'packages/ds-icon/DSIcon';
35
- @import 'packages/ds-accordion/DSAccordion';
36
35
  @import 'packages/ds-card/DSCard';
37
36
  @import 'packages/ds-form/ComboBox/DSComboBox';
38
37
  @import 'packages/ds-button-group/DSButtonGroup';
@@ -32,7 +32,6 @@
32
32
  @import 'packages/ds-overlay/DSOverlay';
33
33
  @import 'packages/ds-portal/DSPortal';
34
34
  @import 'packages/ds-icon/DSIcon';
35
- @import 'packages/ds-accordion/DSAccordion';
36
35
  @import 'packages/ds-card/DSCard';
37
36
  @import 'packages/ds-form/ComboBox/DSComboBox';
38
37
  @import 'packages/ds-button-group/DSButtonGroup';
@@ -1,185 +0,0 @@
1
- $accordion: #{$prefix}-accordion-item;
2
- $h2: #{$accordion}__h2-title;
3
-
4
- @function separator-border($color: 200, $size: 1px) {
5
- @return $size solid color(neutral, $color);
6
- }
7
-
8
- $basic-height: space(l);
9
- $secondary-height: space(xl);
10
- $title-with-secondary-line-height: calc(#{space(xl)} * 1.16 * 0.4);
11
- $secondary-line-height: calc(#{space(xl)} * 1.16 * 0.3);
12
- $padding-lines: calc(#{space(s)} * 0.5);
13
-
14
- .#{$accordion} {
15
- &__accordion-button {
16
- border: solid 1px transparent;
17
- width: 100%;
18
- height: $basic-height;
19
-
20
- justify-content: left;
21
- text-transform: initial;
22
- & > span[role='presentation'] {
23
- padding: 0;
24
- width: 100%;
25
- }
26
-
27
- &.em-ds-button .label-wrapper {
28
- // hack for the negative margin align of chevron
29
- overflow: visible;
30
- }
31
-
32
- .#{$prefix}-accordion-item__title {
33
- @include h4-text-style;
34
- cursor: pointer;
35
- display: flex;
36
- flex-direction: row;
37
- height: $basic-height;
38
-
39
- .#{$prefix}-icon {
40
- margin-top: auto;
41
- margin-bottom: auto;
42
- fill: color(brand-primary, 600);
43
- }
44
-
45
- &:focus {
46
- outline: none;
47
- }
48
-
49
- h2 {
50
- @include h2-text-style;
51
- font-size: font-size(600);
52
- width: 100%;
53
- margin: 0 0 0 space(xxs);
54
- color: color(neutral, 700);
55
- text-decoration: none;
56
- height: $basic-height;
57
- margin-top: 7px;
58
- }
59
- }
60
-
61
- &.with-secondary-title {
62
- height: $secondary-height;
63
- .#{$prefix}-accordion-item__title {
64
- height: $secondary-height;
65
- h2 {
66
- height: $title-with-secondary-line-height;
67
- padding-top: $padding-lines;
68
- margin-bottom: space(xxs);
69
- line-height: calc(#{space(xl)} * 1.16 * 0.3);
70
- font-size: font-size(600);
71
- margin-top: 0px;
72
- }
73
- }
74
- }
75
- }
76
- &__title-wrapper {
77
- display: flex;
78
- flex-direction: column;
79
- text-align: left;
80
- align-items: center;
81
- &.with-secondary-title {
82
- overflow: hidden;
83
- margin-right: space(s);
84
- }
85
- }
86
- &__accordion-actions {
87
- display: flex;
88
- flex-direction: row;
89
- flex: 1;
90
- justify-content: flex-end;
91
- align-items: center;
92
- .#{$prefix}-button {
93
- margin-left: space(xs);
94
- }
95
- }
96
- &__title {
97
- width: 100%;
98
- }
99
- &__secondary-title {
100
- @include h2-text-style;
101
- font-size: font-size(200);
102
- line-height: $secondary-line-height;
103
- width: 100%;
104
- margin: 0 0 0 space(xxs);
105
- color: color(neutral, 500);
106
- text-decoration: none;
107
- padding-bottom: $padding-lines;
108
- }
109
-
110
- @include md {
111
- $m-basic-height: #{toMobile(space(xl) * 0.91667)};
112
- .#{$prefix}-button {
113
- width: 100%;
114
- max-width: 100%;
115
- overflow: hidden;
116
- }
117
- .#{$prefix}-button .#{$prefix}-icon:last-child {
118
- margin-left: 0;
119
- margin-right: 0;
120
- }
121
- &__accordion-button {
122
- height: $m-basic-height;
123
- max-width: 100%;
124
- width: 100%;
125
- overflow: hidden;
126
- padding: 0;
127
- .#{$prefix}-accordion-item__title {
128
- font-size: font-size(600);
129
- font-weight: font-weight(600);
130
- }
131
- }
132
- .#{$prefix}-accordion-item__title {
133
- height: $m-basic-height;
134
- justify-content: space-between;
135
- .#{$prefix}-icon {
136
- margin-left: 0;
137
- margin-right: 0;
138
- width: #{toMobile(space(m))};
139
- }
140
- h2 {
141
- line-height: $m-basic-height;
142
- font-size: font-size(700);
143
- margin-top: 0px;
144
- }
145
- }
146
- &__title-wrapper {
147
- width: calc(100% - #{space(m)});
148
- text-overflow: ellipsis;
149
- overflow: hidden;
150
- }
151
- }
152
- }
153
-
154
- .#{$prefix}-accordion {
155
- .#{$prefix}-accordion-item {
156
- border-bottom: separator-border();
157
- }
158
-
159
- @include md {
160
- overflow: hidden;
161
-
162
- .#{$prefix}-accordion-item {
163
- border-top: separator-border();
164
- border-bottom: none;
165
- &:last-child {
166
- border-bottom: separator-border();
167
- }
168
- }
169
- }
170
-
171
- .#{$prefix}-accordion-item__container {
172
- overflow: hidden;
173
- transition: height easing(base) duration(base);
174
-
175
- .#{$prefix}-accordion-item__expand-zone {
176
- overflow: hidden;
177
- }
178
- }
179
- .#{$prefix}-accordion-item__expand-zone-space {
180
- padding: space(s) 0 space(m) space(m);
181
- @include md {
182
- padding: toMobile(space(s)) 0 toMobile(space(m)) 0;
183
- }
184
- }
185
- }
@@ -1,143 +0,0 @@
1
- // ********************************************
2
- // container definition
3
- $tree-list: #{$prefix}-tree-list;
4
- $tree-item: #{$prefix}-tree-item;
5
- $rz-normal: #{$prefix}-tv-row-size-normal;
6
- $rz-compact: #{$prefix}-tv-row-size-compact;
7
- $normal: 36px;
8
- $compact: 28px;
9
-
10
- $dsicon: #{$prefix}-icon;
11
-
12
- .#{$tree-item} {
13
- color: color(neutral, 800);
14
- display: flex;
15
- position: relative;
16
- background-color: color(neutral, 000);
17
- padding: 0 space(xxs);
18
- min-height: $normal;
19
-
20
- .#{$tree-item}__value {
21
- display: flex;
22
- flex: 1;
23
- min-width: 0;
24
- margin: space(xs) 0 ;
25
- margin-top: space(xs) * 1.5;
26
- .tree-item-value {
27
- margin-right: 2px;
28
- }
29
- }
30
-
31
- &__addons {
32
- display: flex;
33
- align-items: center;
34
- height: $normal;
35
- margin-right: space(xxs) * 0.5;
36
- .#{$dsicon} {
37
- @include icon-color(color(brand-primary, 800));
38
- }
39
- }
40
-
41
- &.selected {
42
- background-color: color(brand-primary, 200);
43
- }
44
-
45
- .drag-handle {
46
- transition: duration(fast) easing(base);
47
- align-items: center;
48
- display: flex;
49
- height: 100%;
50
- width: space(s) * 1.3;
51
- visibility: visible;
52
- opacity: 1;
53
- // todo: revise this on the future to get icon proper sizes
54
- svg {
55
- width: 20px;
56
- height: 20px;
57
- }
58
-
59
- // &:focus {
60
- // @include dsFocus();
61
- // }
62
- @include icon-color(color(neutral, 200));
63
- }
64
-
65
- &.can-group-over {
66
- .#{$tree-item}__value {
67
- font-weight: bold;
68
- }
69
- }
70
-
71
- .#{$tree-item}-content {
72
- display: flex;
73
- flex: 1;
74
- min-width: 0;
75
- }
76
-
77
- .tree-item-icon {
78
- margin-right: space(xxs);
79
- }
80
-
81
- .tree-item-radio {
82
- padding-bottom: 0;
83
- }
84
-
85
- &:hover {
86
- .drag-handle {
87
- @include icon-color(color(brand-primary, 700));
88
- }
89
-
90
- //Update from mixins when the correct states story comes
91
- background-color: color(neutral, 080);
92
-
93
- &.selected {
94
- background-color: color(brand-primary, 200);
95
- }
96
- }
97
-
98
- &:focus {
99
- @include dsFocus();
100
- box-shadow: unset;
101
- border-radius: 0px;
102
-
103
- &.selected {
104
- outline: unset;
105
- }
106
- }
107
-
108
-
109
- .toolbar-trigger{
110
- margin-top: space(xxs);
111
- }
112
- }
113
-
114
- .#{$tree-list}{
115
- &.#{$rz-compact}{
116
- .#{$tree-item} {
117
- min-height: $compact;
118
- &__addons {
119
- height: $compact;
120
- }
121
- &__value {
122
- margin: 0;
123
- margin-top:space(xs);
124
- }
125
- }
126
- .toolbar-trigger{
127
- margin-top: 0;
128
- }
129
- }
130
- }
131
-
132
- .#{$tree-list}-no-items {
133
- display: flex;
134
- justify-content: center;
135
- padding-top: space(m);
136
- height: 100%;
137
- width: 100%;
138
- }
139
-
140
- .tree-text-highlight {
141
- font-weight: bold;
142
- background-color: color(warning, 600);
143
- }