henry-search 1.0.13 → 1.0.15

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 (39) hide show
  1. package/dist/HenrySearch.css +1 -1
  2. package/dist/HenrySearch.js +6960 -6963
  3. package/dist/HenrySearch.umd.cjs +79 -79
  4. package/package.json +7 -1
  5. package/src/components/AudioLinks.vue +6 -6
  6. package/src/components/EventLinks.vue +12 -12
  7. package/src/components/Search.vue +88 -86
  8. package/src/components/SearchDetail.vue +35 -33
  9. package/src/components/SearchTab.vue +78 -86
  10. package/src/main.js +1 -0
  11. package/src/styles/atoms/audioLinks/index.scss +46 -0
  12. package/src/styles/atoms/breadCrumb/index.scss +12 -0
  13. package/src/styles/atoms/checkBoxes/index.scss +34 -0
  14. package/src/styles/atoms/clearRefinements/index.scss +2 -0
  15. package/src/styles/atoms/eventLinks/index.scss +22 -0
  16. package/src/styles/atoms/index.scss +7 -0
  17. package/src/styles/atoms/label/index.scss +6 -0
  18. package/src/styles/atoms/menuSelect/index.scss +28 -0
  19. package/src/styles/config/index.scss +180 -0
  20. package/src/styles/index.scss +8 -0
  21. package/src/styles/molecules/accordion/accordion.html +97 -0
  22. package/src/styles/molecules/accordion/index.scss +76 -0
  23. package/src/styles/molecules/currentRefinements/index.scss +22 -0
  24. package/src/styles/molecules/dateRange/index.scss +184 -0
  25. package/src/styles/molecules/headerLinks/index.scss +40 -0
  26. package/src/styles/molecules/index.scss +7 -0
  27. package/src/styles/molecules/pagination/index.scss +44 -0
  28. package/src/styles/molecules/resultActions/index.scss +42 -0
  29. package/src/styles/molecules/searchBox/index.scss +69 -0
  30. package/src/styles/organisms/activeFilters/index.scss +49 -0
  31. package/src/styles/organisms/filters/index.scss +241 -0
  32. package/src/styles/organisms/index.scss +4 -0
  33. package/src/styles/organisms/performanceGrid/index.scss +121 -0
  34. package/src/styles/organisms/resultsGrid/index.scss +157 -0
  35. package/src/styles/templates/eventsSearch/index.scss +381 -0
  36. package/src/styles/templates/history/index.scss +32 -0
  37. package/src/styles/templates/index.scss +3 -0
  38. package/src/styles/templates/performance/index.scss +74 -0
  39. package/src/components/HelloWorld.vue +0 -43
@@ -0,0 +1,40 @@
1
+ @use "@imarc/pronto/resources/styles/imported" as *;
2
+
3
+ .headerLinks {
4
+ display: flex;
5
+ justify-content: space-between;
6
+ width: 100%;
7
+ border-bottom:1px solid var(--color-light-gray);
8
+ padding: 1.5rem 0;
9
+ .audioLinks__box.-open {
10
+ position: absolute;
11
+ margin-top: 2.5rem;
12
+ z-index: 100;
13
+ display: block;
14
+ @include at(md) {
15
+ left: 7rem;
16
+ }
17
+
18
+ .audioLinks__links {
19
+ width: 18rem;
20
+ }
21
+ }
22
+ &__media {
23
+ display: flex;
24
+ justify-content: left;
25
+ background-color: white;
26
+ margin-bottom: 0;
27
+ gap: 2rem;
28
+
29
+ }
30
+ a {
31
+ font-size: 1.25rem;
32
+ font-weight: 600;
33
+ gap: 0.2rem;
34
+ cursor: pointer;
35
+ }
36
+ &__icon {
37
+ height: 1.5rem;
38
+ width: 1.5rem;
39
+ }
40
+ }
@@ -0,0 +1,7 @@
1
+ @forward "accordion";
2
+ @forward "currentRefinements";
3
+ @forward "dateRange";
4
+ @forward "headerLinks";
5
+ @forward "pagination";
6
+ @forward "resultActions";
7
+ @forward "searchBox";
@@ -0,0 +1,44 @@
1
+ @use "@imarc/pronto/resources/styles/imported" as *;
2
+
3
+ .resultsPagination {
4
+ margin-top: 2rem;
5
+ display: flex;
6
+ justify-content: space-between;
7
+ padding: 1rem 1.5rem;
8
+ @include at(lg) {
9
+ padding: 2rem 0;
10
+ }
11
+
12
+ &__paginationComponent {
13
+
14
+ display: flex;
15
+ align-items: center;
16
+ gap: 0.5rem;
17
+ list-style: none;
18
+ margin: 0;
19
+ padding: 0;
20
+
21
+ li {
22
+ padding: 0 .2rem;
23
+ height: 1.5rem;
24
+ }
25
+ li.arrow a{
26
+ color: var(--color-turquoise);
27
+ }
28
+
29
+ li:hover {
30
+ border-bottom: 2px solid var(--color-turquoise);
31
+ }
32
+
33
+ a {
34
+ font-size: 1.1rem;
35
+ color: var(--color-gray-500);
36
+
37
+ }
38
+ // a:hover {
39
+ // text-decoration: underline;
40
+ // }
41
+
42
+
43
+ }
44
+ }
@@ -0,0 +1,42 @@
1
+ @use "@imarc/pronto/resources/styles/imported" as *;
2
+
3
+ .resultActions {
4
+ display: none;
5
+ @include at(lg) {
6
+ display:flex;
7
+ flex-wrap: nowrap;
8
+ }
9
+
10
+ &__buttons {
11
+ @include at(lg) {
12
+ display: inline;
13
+ border-left: thin solid var(--color-gray-400);
14
+ height: 1.75rem;
15
+ padding-left: .25rem;
16
+ }
17
+ }
18
+
19
+ &__icon {
20
+ background-color: var(--color-light-gray);
21
+ padding: 10px;
22
+ border-radius: 1rem;
23
+ margin: 0 .5rem;
24
+ cursor: pointer;
25
+ }
26
+
27
+ &__sort {
28
+ font-weight: 100;
29
+ font-size: 1.1rem;
30
+ margin-right: .5rem;
31
+ display: flex;
32
+ //align-items: center;
33
+ // select {
34
+ // margin-bottom: 0;
35
+ // }
36
+ }
37
+
38
+ &__sortText {
39
+ padding-top:0.25rem;
40
+ }
41
+ }
42
+
@@ -0,0 +1,69 @@
1
+ .searchBox {
2
+ border: 1px solid #D7D7D7;
3
+ border-radius: 5px;
4
+ width: 100%;
5
+ background-color: #FDF9F7;
6
+ padding: .5rem;
7
+ height: 40px;
8
+ display: flex;
9
+ align-items: center;
10
+ box-sizing: border-box;
11
+
12
+ &.-filter {
13
+ background-color:#ffffff;
14
+ }
15
+
16
+ .ais-SearchBox-form {
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: start;
20
+ flex-direction: row-reverse;
21
+ gap: .5rem;
22
+ height: 100%;
23
+ width: 100%;
24
+ .ais-SearchBox-reset {
25
+ display:none;
26
+ }
27
+ }
28
+
29
+ .ais-SearchBox-input {
30
+ font-size: var(--font-size-2);
31
+ color: var(--color-dark-blue);
32
+ font-style: italic;
33
+ font-weight: 100;
34
+ width: 100%;
35
+ height: 100%;
36
+ background-color: #FDF9F7;
37
+ border: none;
38
+ outline: none;
39
+ &::placeholder {
40
+ color: var(--color-gray-100);
41
+ }
42
+ &.-filter {
43
+ background-color:#ffffff;
44
+ border: none;
45
+ color:var(--color-dark-blue);
46
+ font-style: normal;
47
+ width: 100%;
48
+ }
49
+ &.-filter::placeholder {
50
+ color: var(--color-gray-100);
51
+ }
52
+ }
53
+
54
+ .ais-SearchBox-submitIcon {
55
+ width: 16px;
56
+ height: 16px;
57
+ }
58
+
59
+ .ais-SearchBox-reset, .ais-SearchBox-submit {
60
+ align-self: center !important;
61
+ border: none;
62
+ background-color: #FDF9F7;
63
+ display: flex;
64
+ align-items: center !important;
65
+ justify-content: center !important;
66
+ line-height: 1 !important;
67
+ vertical-align: middle !important;
68
+ }
69
+ }
@@ -0,0 +1,49 @@
1
+ .activeFilters {
2
+ align-items: center;
3
+ display: grid;
4
+ gap: 0.5rem;
5
+ grid-template-columns: 1fr auto;
6
+ padding-top: 1rem;
7
+
8
+
9
+
10
+ &__clearFilters {
11
+ font-weight: 100;
12
+ font-size: 1.15rem;
13
+ color: var(--color-mid-gray);
14
+ }
15
+
16
+ &__item {
17
+ background-color: var(--color-light-gray);
18
+ color: var(--color-dark-blue);
19
+ font-weight: 100;
20
+ border-radius: 4px;
21
+ padding: .25rem .5rem;
22
+ }
23
+
24
+ &__items {
25
+ display: flex;
26
+ flex-wrap: wrap;
27
+ align-items: center;
28
+ gap: 0.5rem;
29
+ }
30
+
31
+ &__filtersList {
32
+ grid-column: 1/span 2;
33
+ display: flex;
34
+ gap: .75rem;
35
+ margin-bottom: 1rem;
36
+ }
37
+ &__remove {
38
+ color: var(--color-dark-blue);
39
+ .eventLocation {
40
+ margin-left: 0.25rem;
41
+ }
42
+ }
43
+
44
+ &__title {
45
+ font-weight: bold;
46
+ }
47
+
48
+
49
+ }
@@ -0,0 +1,241 @@
1
+ @use "@imarc/pronto/resources/styles/imported" as *;
2
+
3
+ .filters {
4
+ flex: 1;
5
+ min-width: 0;
6
+
7
+ &__button {
8
+ justify-self: end;
9
+ @include at(md) {
10
+ justify-self: stretch;
11
+ }
12
+
13
+
14
+ .mobileSearch {
15
+ display: inline;
16
+ @include at(md) {
17
+ display: none;
18
+ }
19
+ }
20
+ }
21
+
22
+ &__filterGroup {
23
+ flex: 1;
24
+ }
25
+
26
+ &__header {
27
+ align-items: center;
28
+ display: flex;
29
+ padding-top:0.85rem;
30
+ width: 100%;
31
+ justify-content: space-between;
32
+ }
33
+
34
+ &__filterRail {
35
+ grid-column-start: 1;
36
+ padding-right: 2rem;
37
+ padding-top: 3rem;
38
+ background-color:#ffffff;
39
+ transition: width 400ms, padding-left 400ms;
40
+ width: 0;
41
+ &.closed {
42
+ width: 0;
43
+ padding-left: 6rem;
44
+ }
45
+
46
+ @include at(lg) {
47
+ width: 28rem;
48
+ flex-direction: column;
49
+ gap: 1rem;
50
+ padding-left: 8rem;
51
+ }
52
+
53
+ .clearRefinements {
54
+ display: none;
55
+ }
56
+
57
+ button.hideButton {
58
+ display: none;
59
+ @include at(lg) {
60
+ --accent-color: var(--link-color, var(--color-turquoise));
61
+ align-items: center;
62
+ color: var(--accent-color);
63
+ display: inline-flex;
64
+ gap: 1em;
65
+ text-decoration: none;
66
+ transition: color var(--root-ease-out-fast);
67
+ background-color: var(--color-white);
68
+ border: none;
69
+ }
70
+ }
71
+
72
+ .hideMobile {
73
+ display: inline;
74
+ padding-right: 1rem;
75
+ svg {
76
+ height: auto;
77
+ }
78
+ @include at(lg) {
79
+ display: none;
80
+ }
81
+ }
82
+
83
+ &.openMobile {
84
+ display: flex;
85
+ flex-wrap: wrap;
86
+ position: absolute;
87
+ top: -50px;
88
+ left: 0px;
89
+ z-index:100;
90
+ width: 100vw;
91
+ height: 100%;
92
+ padding-right: 0;
93
+ .clearRefinements {
94
+
95
+ display:inline;
96
+
97
+ //padding: 1rem 2rem 0 1rem;
98
+
99
+ position: sticky;
100
+ bottom: 0;
101
+ z-index: 3;
102
+ height: 100px;
103
+ width: 100vw;
104
+ box-shadow: 0 -30px 30px var(--color-gray-100);
105
+ background-color: white;
106
+ @include at(lg) {
107
+ display: none;
108
+ }
109
+ .ais-ClearRefinements {
110
+ width: 100%;
111
+ height: 100%;
112
+ a {
113
+ display: grid;
114
+ grid-template-columns: 1fr 1fr;
115
+ gap: 1rem;
116
+ justify-content: space-around;
117
+ padding: .5rem 2rem 0.5rem 1rem;
118
+ width: 100%;
119
+ height: 100%;
120
+ }
121
+ button {
122
+ align-self: top;
123
+ width: 100%;
124
+ }
125
+ }
126
+ button {
127
+ width: 100%;
128
+ height: 80%;
129
+ justify-self: center;
130
+ border: 0;
131
+ border-radius: 5px;
132
+ &.filterApply {
133
+ background-color: var(--color-turquoise);
134
+ color: var(--color-dark-blue);
135
+ font-weight: 600;
136
+ }
137
+ }
138
+
139
+ }
140
+ .label {
141
+ font-weight: 700;
142
+ color: var(--color-dark-blue);
143
+ @include at(lg) {
144
+ font-weight: normal;
145
+ color: var(--color-gray-500);
146
+ }
147
+ }
148
+ .location {
149
+ padding: 0 0.5rem;
150
+ @include at(lg) {
151
+ padding: 0;
152
+ }
153
+ }
154
+
155
+
156
+ @include at(lg) {
157
+ display:inline;
158
+ position:relative;
159
+ width: 28rem;
160
+ flex-direction: column;
161
+ gap: 1rem;
162
+ padding-left: 8rem;
163
+ height: auto;
164
+ padding-right: 2rem;
165
+ padding-top: 3rem;
166
+ }
167
+ }
168
+ }
169
+
170
+
171
+ &__icon {
172
+ display: none;
173
+ @include at(lg) {
174
+ display:inline;
175
+ }
176
+ }
177
+ &__search {
178
+ grid-area: search;
179
+ }
180
+
181
+ &__searchButton {
182
+ display: none;
183
+ @include at(md) {
184
+ display: inline;
185
+ }
186
+ }
187
+
188
+ &__row {
189
+ width: 100%;
190
+ display: grid;
191
+ gap: 1rem;
192
+ grid-template-columns: 4fr 4fr 1fr;
193
+ justify-content: space-between;
194
+ @include at(lg) {
195
+ grid-template-columns: 1fr 1fr 1fr;
196
+ }
197
+
198
+ grid-template-areas:
199
+ "search search search"
200
+ "date date button";
201
+
202
+ @include at(lg) {
203
+ grid-template-columns: minmax(18rem, 2fr) minmax(24rem, 1fr) 18rem;
204
+ //grid-template-columns: 100% rem 18rem;
205
+ grid-template-areas:
206
+ "search date button";
207
+ }
208
+ }
209
+
210
+ &__toggle {
211
+ display: flex;
212
+ padding: 0.5rem 0;
213
+ .label {
214
+ padding-left: 0.5rem;
215
+ }
216
+ }
217
+
218
+ &__toggleOn {
219
+ display: none;
220
+ margin-right: 1rem;
221
+ transition: display 400ms;
222
+ &.closed {
223
+ //display: none;
224
+ @include at(lg) {
225
+ display: inline;
226
+ }
227
+ }
228
+
229
+ }
230
+
231
+ &__wrapper {
232
+ overflow: scroll;
233
+ width: 100%;
234
+ height: 100%;
235
+ @include at(lg) {
236
+ overflow: hidden;
237
+ display: grid;
238
+ height: auto;
239
+ }
240
+ }
241
+ }
@@ -0,0 +1,4 @@
1
+ @forward "activeFilters";
2
+ @forward "filters";
3
+ @forward "performanceGrid";
4
+ @forward "resultsGrid";
@@ -0,0 +1,121 @@
1
+ @use "@imarc/pronto/resources/styles/imported" as *;
2
+
3
+ .performanceGrid {
4
+ display: grid;
5
+ grid-template-columns: 1fr 1fr;
6
+ @include at(md) {
7
+ grid-template-columns: repeat(5, 1fr);
8
+ margin-bottom: 6rem;
9
+ }
10
+
11
+ &__cell {
12
+ padding: 0.5rem 1rem;
13
+ border-right: thin solid var(--color-gray-200);
14
+ border-left: thin solid var(--color-gray-200);
15
+ grid-column: 1/span 2;
16
+ display: grid;
17
+ @include at(md) {
18
+ padding: 1rem;
19
+ border-left: none;
20
+ grid-column: auto;
21
+ }
22
+ a{
23
+ color: var(--color-dark-blue);
24
+ }
25
+
26
+ &.-artist {
27
+ grid-column: auto;
28
+ border-right:none;
29
+ border-bottom: thin solid var(--color-gray-200);
30
+ @include at(md) {
31
+ border-right: thin solid var(--color-gray-200);
32
+ border-bottom: none;
33
+ }
34
+ }
35
+ &.-artist.-last {
36
+ border-bottom: thin solid var(--color-gray-200);
37
+ }
38
+ &.-composers {
39
+ display: inline;
40
+ }
41
+ &.-role {
42
+ grid-column: auto;
43
+ border-right: thin solid var(--color-gray-200);
44
+ border-bottom: thin solid var(--color-gray-200);
45
+ border-left: none;
46
+ @include at(md) {
47
+ border-bottom: none;
48
+ }
49
+ }
50
+ &.-role.-last {
51
+ border-bottom: thin solid var(--color-gray-200);
52
+ }
53
+
54
+ font-weight: bold;
55
+ font-size: 0.9rem;
56
+ &.-even {
57
+ background-color: var(--color-light-gray);
58
+ }
59
+ &.-first {
60
+ //border-left: none;
61
+ @include at(md) {
62
+ border-left: thin solid var(--color-gray-200);
63
+ }
64
+ }
65
+ &.-header {
66
+ display: none;
67
+ @include at(md) {
68
+ display: inline;
69
+ border-top: thin solid var(--color-gray-200);
70
+ border-bottom: thin solid var(--color-gray-200);
71
+ font-weight:100;
72
+ color: var(--color-gray-400);
73
+ }
74
+
75
+ }
76
+ &.-last, &.-top.-last {
77
+ border-bottom: none;
78
+ @include at(md) {
79
+ border-bottom: thin solid var(--color-gray-200);
80
+ }
81
+
82
+ }
83
+ &.-top {
84
+ border-top: thin solid var(--color-gray-200);
85
+ border-bottom: none;
86
+ @include at(md) {
87
+ border-top: none;
88
+ }
89
+ }
90
+
91
+
92
+ }
93
+
94
+ &__infoItem {
95
+ min-height: 2.5rem;
96
+ &.-small {
97
+ font-size: .8rem;
98
+ font-weight: 100;
99
+ a {
100
+ font-weight: 600;
101
+ }
102
+ }
103
+ }
104
+
105
+ &__mobileHeader {
106
+ display: block;
107
+ font-weight:100;
108
+ color: var(--color-gray-400);
109
+ @include at(md) {
110
+ display: none;
111
+ }
112
+ }
113
+
114
+ &__workItem {
115
+ display:grid;
116
+ grid-template-rows: auto;
117
+ height: fit-content;
118
+
119
+ }
120
+
121
+ }