@elliemae/ds-basic 2.1.0-rc.6 → 2.1.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.1.0-rc.6",
3
+ "version": "2.1.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.1.0-rc.6",
300
- "@elliemae/ds-app-picker": "2.1.0-rc.6",
301
- "@elliemae/ds-backdrop": "2.1.0-rc.6",
302
- "@elliemae/ds-breadcrumb": "2.1.0-rc.6",
303
- "@elliemae/ds-button": "2.1.0-rc.6",
304
- "@elliemae/ds-button-group": "2.1.0-rc.6",
305
- "@elliemae/ds-card": "2.1.0-rc.6",
306
- "@elliemae/ds-circular-progress-indicator": "2.1.0-rc.6",
307
- "@elliemae/ds-form": "2.1.0-rc.6",
308
- "@elliemae/ds-grid": "2.1.0-rc.6",
309
- "@elliemae/ds-group-box": "2.1.0-rc.6",
310
- "@elliemae/ds-header": "2.1.0-rc.6",
311
- "@elliemae/ds-hidden": "2.1.0-rc.6",
312
- "@elliemae/ds-icon": "2.1.0-rc.6",
313
- "@elliemae/ds-indeterminate-progress-indicator": "2.1.0-rc.6",
314
- "@elliemae/ds-label-value": "2.1.0-rc.6",
315
- "@elliemae/ds-list-section-header": "2.1.0-rc.6",
316
- "@elliemae/ds-loading-indicator": "2.1.0-rc.6",
317
- "@elliemae/ds-menu": "2.1.0-rc.6",
318
- "@elliemae/ds-overlay": "2.1.0-rc.6",
319
- "@elliemae/ds-page-header": "2.1.0-rc.6",
320
- "@elliemae/ds-page-number": "2.1.0-rc.6",
321
- "@elliemae/ds-pills": "2.1.0-rc.6",
322
- "@elliemae/ds-popover": "2.1.0-rc.6",
323
- "@elliemae/ds-popper": "2.1.0-rc.6",
324
- "@elliemae/ds-portal": "2.1.0-rc.6",
325
- "@elliemae/ds-progress-indicator": "2.1.0-rc.6",
326
- "@elliemae/ds-read-more": "2.1.0-rc.6",
327
- "@elliemae/ds-resizeable-container": "2.1.0-rc.6",
328
- "@elliemae/ds-separator": "2.1.0-rc.6",
329
- "@elliemae/ds-side-panel": "2.1.0-rc.6",
330
- "@elliemae/ds-slider": "2.1.0-rc.6",
331
- "@elliemae/ds-spinner": "2.1.0-rc.6",
332
- "@elliemae/ds-tabs": "2.1.0-rc.6",
333
- "@elliemae/ds-text-wrapper": "2.1.0-rc.6",
334
- "@elliemae/ds-time-picker": "2.1.0-rc.6",
335
- "@elliemae/ds-toast": "2.1.0-rc.6",
336
- "@elliemae/ds-toolbar": "2.1.0-rc.6",
337
- "@elliemae/ds-tooltip": "2.1.0-rc.6",
338
- "@elliemae/ds-truncated-expandable-text": "2.1.0-rc.6",
339
- "@elliemae/ds-truncated-tooltip-text": "2.1.0-rc.6",
340
- "@elliemae/ds-zipcode-search": "2.1.0-rc.6",
341
- "@elliemae/ds-zoom": "2.1.0-rc.6"
299
+ "@elliemae/ds-accordion": "2.1.0",
300
+ "@elliemae/ds-app-picker": "2.1.0",
301
+ "@elliemae/ds-backdrop": "2.1.0",
302
+ "@elliemae/ds-breadcrumb": "2.1.0",
303
+ "@elliemae/ds-button": "2.1.0",
304
+ "@elliemae/ds-button-group": "2.1.0",
305
+ "@elliemae/ds-card": "2.1.0",
306
+ "@elliemae/ds-circular-progress-indicator": "2.1.0",
307
+ "@elliemae/ds-form": "2.1.0",
308
+ "@elliemae/ds-grid": "2.1.0",
309
+ "@elliemae/ds-group-box": "2.1.0",
310
+ "@elliemae/ds-header": "2.1.0",
311
+ "@elliemae/ds-hidden": "2.1.0",
312
+ "@elliemae/ds-icon": "2.1.0",
313
+ "@elliemae/ds-indeterminate-progress-indicator": "2.1.0",
314
+ "@elliemae/ds-label-value": "2.1.0",
315
+ "@elliemae/ds-list-section-header": "2.1.0",
316
+ "@elliemae/ds-loading-indicator": "2.1.0",
317
+ "@elliemae/ds-menu": "2.1.0",
318
+ "@elliemae/ds-overlay": "2.1.0",
319
+ "@elliemae/ds-page-header": "2.1.0",
320
+ "@elliemae/ds-page-number": "2.1.0",
321
+ "@elliemae/ds-pills": "2.1.0",
322
+ "@elliemae/ds-popover": "2.1.0",
323
+ "@elliemae/ds-popper": "2.1.0",
324
+ "@elliemae/ds-portal": "2.1.0",
325
+ "@elliemae/ds-progress-indicator": "2.1.0",
326
+ "@elliemae/ds-read-more": "2.1.0",
327
+ "@elliemae/ds-resizeable-container": "2.1.0",
328
+ "@elliemae/ds-separator": "2.1.0",
329
+ "@elliemae/ds-side-panel": "2.1.0",
330
+ "@elliemae/ds-slider": "2.1.0",
331
+ "@elliemae/ds-spinner": "2.1.0",
332
+ "@elliemae/ds-tabs": "2.1.0",
333
+ "@elliemae/ds-text-wrapper": "2.1.0",
334
+ "@elliemae/ds-time-picker": "2.1.0",
335
+ "@elliemae/ds-toast": "2.1.0",
336
+ "@elliemae/ds-toolbar": "2.1.0",
337
+ "@elliemae/ds-tooltip": "2.1.0",
338
+ "@elliemae/ds-truncated-expandable-text": "2.1.0",
339
+ "@elliemae/ds-truncated-tooltip-text": "2.1.0",
340
+ "@elliemae/ds-zipcode-search": "2.1.0",
341
+ "@elliemae/ds-zoom": "2.1.0"
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
- }