nsw-design-system 2.13.0 → 3.0.2

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 (95) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/README.md +50 -20
  3. package/dist/css/core.css +2 -0
  4. package/dist/css/main.css +1 -1
  5. package/dist/js/main.js +208 -124
  6. package/package.json +4 -2
  7. package/src/components/_all.scss +27 -0
  8. package/src/components/accordion/_accordion.scss +68 -30
  9. package/src/components/accordion/accordion.js +61 -14
  10. package/src/components/breadcrumbs/_breadcrumbs.scss +34 -43
  11. package/src/components/button/_button.scss +171 -27
  12. package/src/components/callout/_callout.scss +13 -57
  13. package/src/components/card/_card.scss +222 -71
  14. package/src/components/content-block/_content-block.scss +16 -45
  15. package/src/components/filters/_filters.scss +25 -85
  16. package/src/components/filters/filters.js +0 -5
  17. package/src/components/footer/_footer.scss +80 -132
  18. package/src/components/{forms/_forms.scss → form/_form.scss} +122 -75
  19. package/src/components/global-alert/_global-alert.scss +68 -0
  20. package/src/components/{site-wide-message/site-wide-message.js → global-alert/global-alert.js} +3 -3
  21. package/src/components/header/_header.scss +196 -227
  22. package/src/components/hero-banner/_hero-banner.scss +152 -86
  23. package/src/components/hero-search/_hero-search.scss +26 -38
  24. package/src/components/in-page-alert/_in-page-alert.scss +54 -0
  25. package/src/components/in-page-nav/_in-page-nav.scss +22 -0
  26. package/src/components/link-list/_link-list.scss +28 -47
  27. package/src/components/list-item/_list-item.scss +31 -43
  28. package/src/components/main-nav/_main-nav.scss +272 -0
  29. package/src/components/{main-navigation/main-navigation.js → main-nav/main-nav.js} +40 -39
  30. package/src/components/masthead/_masthead.scss +61 -0
  31. package/src/components/media/_media.scss +14 -2
  32. package/src/components/pagination/_pagination.scss +37 -41
  33. package/src/components/progress-indicator/_progress-indicator.scss +11 -11
  34. package/src/components/side-nav/_side-nav.scss +73 -0
  35. package/src/components/table/_table.scss +56 -0
  36. package/src/components/tables/_tables.scss +0 -71
  37. package/src/components/tabs/_tabs.scss +79 -0
  38. package/src/components/{tab-navigation/tab-navigation.js → tabs/tabs.js} +9 -9
  39. package/src/components/tag/_tag.scss +60 -0
  40. package/src/core/_all.scss +6 -0
  41. package/src/core/grid/_grid.scss +117 -0
  42. package/src/core/iconography/_icon.scss +83 -0
  43. package/src/core/layout/_layout.scss +42 -0
  44. package/src/core/section/_section.scss +95 -0
  45. package/src/{global/scss/helpers → core/spacing}/_spacing.scss +27 -4
  46. package/src/core/typography/_typography.scss +266 -0
  47. package/src/global/scss/base/_all.scss +4 -0
  48. package/src/global/scss/base/_functions.scss +44 -0
  49. package/src/global/scss/{style/_base.scss → base/_global.scss} +1 -2
  50. package/src/global/scss/base/_mixins.scss +241 -0
  51. package/src/global/scss/{tools → base}/_print.scss +3 -3
  52. package/src/global/scss/helpers/_all.scss +4 -3
  53. package/src/global/scss/helpers/_colour.scss +86 -0
  54. package/src/global/scss/helpers/_list.scss +21 -0
  55. package/src/global/scss/helpers/_text.scss +9 -0
  56. package/src/global/scss/helpers/_visibility.scss +31 -0
  57. package/src/global/scss/settings/_palette.scss +69 -0
  58. package/src/global/scss/settings/_settings.scss +12 -296
  59. package/src/global/scss/settings/_theme.scss +82 -0
  60. package/src/main.js +8 -11
  61. package/src/main.scss +17 -21
  62. package/dist/assets/svg/sprite.svg +0 -1
  63. package/src/components/banner/_banner.scss +0 -170
  64. package/src/components/direction-links/_direction-links.scss +0 -62
  65. package/src/components/feature-tile/_feature-tile.scss +0 -175
  66. package/src/components/forms/_forms-prev.scss +0 -357
  67. package/src/components/in-page-navigation/_in-page-navigation.scss +0 -26
  68. package/src/components/main-navigation/_main-navigation.scss +0 -405
  69. package/src/components/notification/_notification.scss +0 -69
  70. package/src/components/side-navigation/_side-navigation.scss +0 -85
  71. package/src/components/site-wide-message/_site-wide-message.scss +0 -148
  72. package/src/components/social-bar/_social-bar.scss +0 -27
  73. package/src/components/social-bar/social-bar.js +0 -24
  74. package/src/components/tab-navigation/_tab-navigation.scss +0 -69
  75. package/src/components/tags/_tags.scss +0 -65
  76. package/src/global/scss/helpers/_section.scss +0 -50
  77. package/src/global/scss/helpers/_sr-only.scss +0 -8
  78. package/src/global/scss/style/_all.scss +0 -4
  79. package/src/global/scss/style/_docs.scss +0 -538
  80. package/src/global/scss/style/_grid.scss +0 -171
  81. package/src/global/scss/style/_icons.scss +0 -68
  82. package/src/global/scss/tools/_all.scss +0 -10
  83. package/src/global/scss/tools/_breakpoint.scss +0 -16
  84. package/src/global/scss/tools/_buttons.scss +0 -15
  85. package/src/global/scss/tools/_focus.scss +0 -26
  86. package/src/global/scss/tools/_general.scss +0 -189
  87. package/src/global/scss/tools/_grid.scss +0 -129
  88. package/src/global/scss/tools/_links.scss +0 -18
  89. package/src/global/scss/tools/_spacing.scss +0 -37
  90. package/src/global/scss/tools/_sr-only.scss +0 -21
  91. package/src/global/scss/tools/_typography.scss +0 -90
  92. package/src/styles/grid/_grid.scss +0 -0
  93. package/src/styles/iconography/_iconography.scss +0 -0
  94. package/src/styles/layout/_layout.scss +0 -0
  95. package/src/styles/typography/_typography.scss +0 -219
@@ -1,134 +1,285 @@
1
1
  .nsw-card {
2
- @include font-stack;
3
- @include border-radius;
4
- background-color: $white;
5
- box-shadow: map-get($shadows, card);
6
- transition: map-get($transitions, card);
7
2
  position: relative;
8
3
  display: flex;
9
4
  flex-direction: column;
10
5
  overflow: hidden;
11
6
  height: 100%;
12
- border: 0;
7
+ color: var(--nsw-text-dark);
8
+ border-radius: var(--nsw-border-radius);
13
9
 
14
10
  &:hover {
15
- box-shadow: map-get($shadows, card-hover);
11
+ color: var(--nsw-text-light);
12
+
13
+ .nsw-card__content {
14
+ background-color: var(--nsw-brand-dark);
15
+ border-color: transparent;
16
+
17
+ &::after {
18
+ background-color: transparent;
19
+ }
20
+ }
21
+
22
+ .nsw-card__image {
23
+ &::after {
24
+ background-color: transparent;
25
+ }
26
+ }
27
+
28
+ a {
29
+ color: var(--nsw-text-light);
30
+ }
31
+
32
+ .nsw-material-icons {
33
+ color: var(--nsw-text-light);
34
+ }
16
35
  }
17
36
 
18
37
  &:focus-within {
19
38
  @include nsw-focus;
20
39
 
21
- .nsw-card__link {
40
+ a {
22
41
  text-decoration: none;
23
42
  }
24
43
  }
25
44
 
26
- &__title {
27
- @include font-stack('heading');
28
- @include font-size('md');
29
- margin: 0;
30
- }
31
-
32
45
  &__content {
33
46
  @include font-size('sm');
34
- @include nsw-spacing(padding, md md xxxxl md);
35
- border-top: solid 6px $nsw-primary-highlight;
47
+ padding: rem(16px) rem(16px) rem(62px) rem(16px);
48
+ background-color: var(--nsw-white);
49
+ border-radius: var(--nsw-border-radius);
50
+ border: 1px solid var(--nsw-grey-03);
36
51
  display: flex;
37
52
  flex-direction: column;
38
- order: 2;
53
+ height: 100%;
54
+ transition: background $nsw-transition-duration, border $nsw-transition-duration;
39
55
 
40
56
  @include breakpoint('lg') {
41
- @include nsw-spacing(padding, xl xl xxxxl xl);
57
+ padding: rem(32px) rem(32px) rem(94px) rem(32px);
42
58
  }
59
+ }
43
60
 
44
- .nsw-card--content & {
45
- border-top: 0;
61
+ &__title {
62
+ @include font-size('md');
63
+ font-weight: var(--nsw-font-bold);
64
+
65
+ a {
66
+ @include pseudo-clickable-block;
67
+ text-decoration: none;
68
+ color: var(--nsw-text-dark);
69
+ transition: color $nsw-transition-duration;
70
+
71
+ &:focus {
72
+ outline: none;
73
+ }
74
+
75
+ &:hover {
76
+ background-color: transparent;
77
+ outline: none;
78
+ }
46
79
  }
47
80
  }
48
81
 
49
82
  &__copy {
50
- margin: 1rem 0 0;
83
+ margin-top: rem(16px);
84
+ transition: color $nsw-transition-duration;
85
+ }
86
+
87
+ &__tag,
88
+ &__date {
89
+ @include font-size('xs');
90
+ transition: color $nsw-transition-duration;
91
+ margin-bottom: rem(16px);
51
92
  }
52
93
 
53
94
  &__tag {
54
- @include font-stack('heading');
55
- order: 1;
56
- margin: 0 0 1rem;
95
+ font-weight: var(--nsw-font-bold);
57
96
 
58
97
  + .nsw-card__date {
59
98
  margin-top: rem(-8);
60
99
  }
61
100
  }
62
101
 
63
- &__date {
64
- order: 2;
65
- margin: 0 0 1rem;
66
- }
102
+ .nsw-material-icons {
103
+ font-size: rem(map-get($nsw-icon-sizes, 30));
104
+ color: var(--nsw-brand-dark);
105
+ position: absolute;
106
+ bottom: rem(16px);
107
+ left: rem(16px);
108
+ transition: color $nsw-transition-duration;
67
109
 
68
- &__tag,
69
- &__date {
70
- @include font-size('xs');
110
+ @include breakpoint('lg') {
111
+ bottom: rem(32px);
112
+ left: rem(32px);
113
+ }
71
114
  }
72
115
 
73
- &__title,
74
- &__copy,
75
- &__icon {
76
- order: 3;
77
- }
116
+ &__image {
117
+ min-height: rem(200px);
118
+ height: rem(200px);
119
+ position: relative;
78
120
 
79
- &__icon {
80
- @include nsw-spacing(margin, md none none none);
81
- position: absolute;
82
- bottom: rem(13px);
83
- left: rem(13px);
121
+ img {
122
+ width: 100%;
123
+ height: 100%;
124
+ object-fit: cover;
125
+ }
84
126
 
85
- &.nsw-icon {
86
- @include nsw-spacing(bottom, md);
87
- width: rem(24px);
88
- height: rem(24px);
89
- left: auto;
127
+ + .nsw-card__content {
128
+ border-top-left-radius: 0;
129
+ border-top-right-radius: 0;
130
+ border-top-width: 0;
131
+
132
+ &::after {
133
+ display: none;
134
+ }
90
135
  }
136
+ }
91
137
 
92
- @include breakpoint('lg') {
93
- @include nsw-spacing(margin, xl none none none);
94
- bottom: rem(29px);
95
- left: rem(28px);
138
+ &--light {
139
+ .nsw-card__content {
140
+ background-color: var(--nsw-brand-light);
141
+ border-color: transparent;
142
+
143
+ &::before,
144
+ &::after {
145
+ display: none;
146
+ }
147
+ }
96
148
 
97
- &.nsw-icon {
98
- @include nsw-spacing(bottom, xl);
149
+ .nsw-card__image {
150
+ &::after {
151
+ display: none;
99
152
  }
100
153
  }
101
154
  }
102
155
 
103
- &__link {
104
- @include pseudo-clickable-block;
105
- text-decoration: none;
106
- color: $nsw-primary-blue;
156
+ &--dark {
157
+ color: var(--nsw-text-light);
107
158
 
108
159
  &:hover {
109
- text-decoration: underline;
160
+ color: var(--nsw-text-dark);
161
+
162
+ .nsw-card__content {
163
+ background-color: var(--nsw-white);
164
+ border-color: var(--nsw-grey-03);
165
+ }
166
+
167
+ .nsw-card__title a {
168
+ color: var(--nsw-text-dark);
169
+ }
170
+
171
+ .nsw-material-icons {
172
+ color: var(--nsw-brand-dark);
173
+ }
110
174
  }
111
175
 
112
- &:focus {
113
- outline: none;
114
- text-decoration: underline;
176
+ .nsw-card__content {
177
+ background-color: var(--nsw-brand-dark);
178
+ border-color: transparent;
179
+
180
+ &::before,
181
+ &::after {
182
+ display: none;
183
+ }
184
+ }
185
+
186
+ .nsw-card__image {
187
+ &::after {
188
+ display: none;
189
+ }
190
+ }
191
+
192
+ .nsw-card__title a {
193
+ color: var(--nsw-text-light);
194
+ }
195
+
196
+ .nsw-material-icons {
197
+ color: var(--nsw-text-light);
115
198
  }
116
199
  }
117
200
 
118
- &__image-area {
119
- order: 1;
120
- height: rem(200px);
201
+ &--headline {
202
+ .nsw-card__title {
203
+ @include font-size('lg');
204
+ }
121
205
  }
122
206
 
123
- &__image {
124
- width: 100%;
125
- height: 100%;
126
- object-fit: cover;
207
+ &--highlight {
208
+ .nsw-card__content {
209
+ &::before {
210
+ content: '';
211
+ height: 6px;
212
+ }
213
+
214
+ &::after {
215
+ content: '';
216
+ position: absolute;
217
+ top: 0;
218
+ left: 0;
219
+ right: 0;
220
+ height: 6px;
221
+ background-color: var(--nsw-brand-accent);
222
+ transition: background $nsw-transition-duration;
223
+ }
224
+ }
225
+
226
+ .nsw-card__image {
227
+ &::after {
228
+ content: '';
229
+ position: absolute;
230
+ bottom: -6px;
231
+ left: 0;
232
+ right: 0;
233
+ height: 6px;
234
+ background-color: var(--nsw-brand-accent);
235
+ transition: background $nsw-transition-duration;
236
+ }
237
+ }
127
238
  }
128
- }
129
239
 
130
- .nsw-card--headline {
131
- .nsw-card__title {
132
- @include font-size('lg');
240
+ &--horizontal {
241
+ @include breakpoint('md') {
242
+ flex-direction: row;
243
+ align-items: stretch;
244
+
245
+ .nsw-card__content {
246
+ flex: 1 1 50%;
247
+ height: auto;
248
+
249
+ > .nsw-material-icons {
250
+ left: calc(50% + #{rem(16px)});
251
+ }
252
+ }
253
+
254
+ .nsw-card__image {
255
+ flex: 1 1 50%;
256
+ position: relative;
257
+ height: auto;
258
+
259
+ + .nsw-card__content {
260
+ border-top-right-radius: var(--nsw-border-radius);
261
+ border-bottom-left-radius: 0;
262
+ border-top-width: 1px;
263
+ border-left-width: 0;
264
+ }
265
+ }
266
+
267
+ &.nsw-card--highlight {
268
+ .nsw-card__image::after {
269
+ top: 0;
270
+ bottom: 0;
271
+ left: auto;
272
+ right: -6px;
273
+ width: 6px;
274
+ height: auto;
275
+ }
276
+ }
277
+ }
278
+
279
+ @include breakpoint('lg') {
280
+ .nsw-card__content > .nsw-material-icons {
281
+ left: calc(50% + #{rem(32px)});
282
+ }
283
+ }
133
284
  }
134
285
  }
@@ -1,73 +1,44 @@
1
1
  .nsw-content-block {
2
- @include font-stack;
3
- position: relative;
4
- display: flex;
5
- flex-direction: column;
6
- overflow: hidden;
7
-
8
2
  &__title {
9
- @include font-stack('heading');
10
3
  @include font-size('lg');
11
- margin: 0;
12
- }
13
-
14
- &__content {
15
- @include font-size('sm');
16
- display: flex;
17
- flex-direction: column;
18
- order: 2;
19
-
20
- a {
21
- @include text-link;
22
- }
23
- }
24
-
25
- &__copy {
26
- margin: rem(16px) 0 0 0;
27
-
28
- a {
29
- font-weight: normal;
30
- }
4
+ font-weight: var(--nsw-font-bold);
31
5
  }
32
6
 
33
7
  &__list {
34
- margin: rem(16px) 0 0 0;
35
8
  padding: 0;
36
9
  list-style-type: none;
37
10
 
38
11
  li {
39
- padding: rem(8px) 0 rem(8px) rem(18px);
12
+ margin: 0;
13
+ padding: rem(8px) 0 rem(8px) rem(14px);
40
14
  position: relative;
41
15
 
42
16
  &::before {
43
- content: '•';
17
+ content: '';
44
18
  position: absolute;
45
- top: 0;
19
+ width: rem(4px);
20
+ height: rem(4px);
21
+ border-radius: 100%;
22
+ background-color: var(--nsw-text-dark);
23
+ top: rem(18px);
46
24
  left: 0;
47
- font-size: rem(34px);
48
- line-height: rem(34px);
49
25
  }
50
26
  }
51
-
52
- a {
53
- font-weight: normal;
54
- }
55
27
  }
56
28
 
57
29
  &__link {
58
- margin: rem(16px) 0 0 0;
30
+ margin-top: rem(16px);
59
31
  }
60
32
 
61
- &__image-area {
62
- order: 1;
33
+ &__image {
63
34
  max-height: rem(200px);
64
35
  margin-bottom: rem(24px);
65
- }
66
36
 
67
- &__image {
68
- width: 100%;
69
- height: rem(200px);
70
- object-fit: cover;
37
+ img {
38
+ width: 100%;
39
+ height: rem(200px);
40
+ object-fit: cover;
41
+ }
71
42
  }
72
43
 
73
44
  &__icon {
@@ -1,5 +1,5 @@
1
- .nsw-filters {
2
- .nsw-page-layout__sidebar & {
1
+ .nsw-filters {
2
+ .nsw-layout__sidebar & {
3
3
  margin: rem(-8px) 0 rem(-16px) 0;
4
4
 
5
5
  @include breakpoint('lg') {
@@ -8,8 +8,8 @@
8
8
  }
9
9
 
10
10
  &__title {
11
- @include font-stack('heading');
12
11
  @include font-size('lg');
12
+ font-weight: var(--nsw-font-bold);
13
13
  padding: rem(24px) 0;
14
14
 
15
15
  @include breakpoint('lg') {
@@ -20,49 +20,36 @@
20
20
 
21
21
  &__controls {
22
22
  padding: rem(24px) 0;
23
- border-bottom: 1px solid $light20;
23
+ border-bottom: 1px solid var(--nsw-grey-04);
24
24
 
25
25
  @include breakpoint('lg') {
26
26
  display: none;
27
27
  }
28
28
 
29
29
  button {
30
+ @include link-button;
30
31
  display: flex;
31
32
  align-items: center;
32
- cursor: pointer;
33
- background-color: transparent;
34
- border: 0;
35
- padding: 0;
36
- color: $nsw-primary-blue;
37
-
38
- &:hover {
39
- @include nsw-hover;
40
- outline: 4px solid $hover-colour;
41
- }
42
-
43
- &:focus {
44
- @include nsw-focus;
45
- }
33
+ text-decoration: none;
46
34
 
47
35
  span {
48
- @include font-stack('heading');
49
- @include font-size('sm');
50
36
  text-decoration: underline;
51
37
  padding-left: rem(8px);
52
38
  }
53
39
  }
54
40
 
55
41
  .nsw-material-icons {
56
- @include border-radius;
57
- font-size: rem(24px);
42
+ font-size: rem(map-get($nsw-icon-sizes, 24));
43
+ border-radius: var(--nsw-border-radius);
58
44
  padding: rem(1px);
59
- border: 2px solid $nsw-primary-blue;
45
+ border: 2px solid var(--nsw-brand-dark);
46
+ text-decoration: none;
60
47
  }
61
48
 
62
- &--active {
49
+ &.active {
63
50
  .nsw-material-icons {
64
- background-color: $nsw-primary-blue;
65
- color: $white;
51
+ background-color: var(--nsw-brand-dark);
52
+ color: var(--nsw-text-light);
66
53
  }
67
54
  }
68
55
  }
@@ -73,42 +60,13 @@
73
60
  top: 0;
74
61
  left: 0;
75
62
  right: 0;
76
- background-color: $white;
77
- padding: rem(24px) rem(16px);
78
- border-bottom: 1px solid $light20;
63
+ background-color: var(--nsw-white);
64
+ padding: rem(16px) rem(8px);
65
+ border-bottom: 1px solid var(--nsw-grey-04);
79
66
 
80
67
  @include breakpoint('lg') {
81
68
  display: none;
82
69
  }
83
-
84
- button {
85
- background-color: transparent;
86
- border: 0;
87
- padding: 0;
88
- color: $nsw-primary-blue;
89
- display: flex;
90
- align-items: center;
91
- cursor: pointer;
92
-
93
- &:hover {
94
- @include nsw-hover;
95
- }
96
-
97
- &:focus {
98
- @include nsw-focus;
99
- }
100
-
101
- span {
102
- @include font-stack('heading');
103
- @include font-size('sm');
104
- text-decoration: underline;
105
- }
106
-
107
- i {
108
- font-size: rem(24px);
109
- margin-right: rem(4px);
110
- }
111
- }
112
70
  }
113
71
 
114
72
  &__wrapper {
@@ -121,7 +79,7 @@
121
79
  left: 0;
122
80
  right: 0;
123
81
  overflow-y: auto;
124
- background-color: $white;
82
+ background-color: var(--nsw-white);
125
83
  padding: rem(73px) rem(16px) rem(101px) rem(16px);
126
84
 
127
85
  @include breakpoint('lg') {
@@ -144,7 +102,7 @@
144
102
 
145
103
  &__item {
146
104
  padding: rem(24px) 0;
147
- border-top: 1px solid $light20;
105
+ border-top: 1px solid var(--nsw-grey-04);
148
106
  }
149
107
 
150
108
  &__all {
@@ -153,7 +111,7 @@
153
111
 
154
112
  &__accept {
155
113
  padding: rem(32px) 0;
156
- border-top: 1px solid $light20;
114
+ border-top: 1px solid var(--nsw-grey-04);
157
115
 
158
116
  .nsw-filters--fixed & {
159
117
  @include z-index('upper');
@@ -161,7 +119,7 @@
161
119
  bottom: 0;
162
120
  left: 0;
163
121
  right: 0;
164
- background-color: $white;
122
+ background-color: var(--nsw-white);
165
123
  padding: rem(24px) rem(16px);
166
124
 
167
125
  @include breakpoint('lg') {
@@ -169,17 +127,13 @@
169
127
  padding: rem(32px) 0;
170
128
  }
171
129
  }
172
-
173
- button {
174
- margin: 0;
175
- }
176
130
  }
177
131
 
178
132
  &__cancel {
179
133
  padding-bottom: rem(32px);
180
134
 
181
135
  .nsw-filters--fixed & {
182
- border-top: 1px solid $light20;
136
+ border-top: 1px solid var(--nsw-grey-04);
183
137
  padding: rem(32px) 0;
184
138
 
185
139
  @include breakpoint('lg') {
@@ -189,32 +143,18 @@
189
143
  }
190
144
 
191
145
  .nsw-filters--instant & {
192
- border-top: 1px solid $light20;
146
+ border-top: 1px solid var(--nsw-grey-04);
193
147
  padding: rem(32px) 0;
194
148
  }
195
149
 
196
150
  button {
197
- @include text-link;
198
- @include font-size('sm');
199
- font-weight: normal;
200
- text-decoration: underline;
201
- cursor: pointer;
202
- background-color: transparent;
203
- border: 0;
204
- padding: 0;
151
+ @include link-button;
205
152
  }
206
153
  }
207
154
 
208
155
  &__more,
209
- &__less {
210
- @include text-link;
211
- @include font-size('sm');
212
- font-weight: normal;
213
- text-decoration: underline;
214
- cursor: pointer;
215
- background-color: transparent;
216
- border: 0;
217
- padding: 0;
156
+ &__less {
157
+ @include link-button;
218
158
  margin-top: rem(24px);
219
159
  }
220
160
 
@@ -13,14 +13,9 @@ class Filters {
13
13
  }
14
14
 
15
15
  init() {
16
- this.setUpDom()
17
16
  this.controls()
18
17
  }
19
18
 
20
- setUpDom() {
21
- this.filters.classList.add('is-ready')
22
- }
23
-
24
19
  controls() {
25
20
  this.openButton.addEventListener('click', this.showEvent, false)
26
21