barbican-reset 2.38.0 → 2.40.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.
Files changed (58) hide show
  1. package/components/account_title.vue +1 -1
  2. package/components/br_alert.vue +5 -4
  3. package/components/br_button.vue +24 -22
  4. package/components/br_card.vue +102 -0
  5. package/components/br_card_sub_title.vue +12 -0
  6. package/components/br_card_text.vue +3 -0
  7. package/components/br_card_title.vue +3 -0
  8. package/components/br_confirm_done.vue +13 -9
  9. package/components/br_confirm_email.vue +18 -10
  10. package/components/br_container.vue +3 -3
  11. package/components/br_form_row.vue +37 -35
  12. package/components/br_loader.vue +8 -4
  13. package/components/event_summary.vue +1 -1
  14. package/components/fluid_iframe.vue +1 -1
  15. package/components/video_content.vue +1 -1
  16. package/index.js +8 -2
  17. package/package.json +1 -6
  18. package/scss/_atomic.scss +2 -2
  19. package/scss/_br-loader.scss +3 -3
  20. package/scss/_card-deck.scss +1 -1
  21. package/scss/_close-icon.scss +2 -2
  22. package/scss/_footer.scss +1 -1
  23. package/scss/_input.scss +1 -1
  24. package/scss/_klaro.scss +12 -12
  25. package/scss/_main.scss +1 -1
  26. package/scss/card/_membership.scss +1 -1
  27. package/scss/card/_related.scss +2 -2
  28. package/scss/helpers/mixins/_br-alert.scss +1 -1
  29. package/scss/helpers/mixins/_br-card.scss +1 -1
  30. package/scss/helpers/mixins/_br-skiplink.scss +2 -2
  31. package/scss/helpers/mixins/_breakpoints.scss +3 -3
  32. package/scss/helpers/mixins/_content.scss +2 -2
  33. package/scss/helpers/mixins/_festival.scss +2 -2
  34. package/scss/helpers/mixins/_focus.scss +6 -6
  35. package/scss/helpers/mixins/_font.scss +1 -1
  36. package/scss/helpers/mixins/_loading.scss +2 -2
  37. package/scss/helpers/mixins/_table.scss +1 -1
  38. package/scss/helpers/mixins/buttons/_setup.scss +1 -1
  39. package/scss/helpers/mixins/input/_generic.scss +2 -2
  40. package/scss/helpers/mixins/input/_select.scss +1 -1
  41. package/scss/helpers/mixins/input/_text.scss +1 -1
  42. package/scss/helpers/mixins/table/_details.scss +1 -1
  43. package/scss/helpers/mixins/table/_etickets.scss +1 -1
  44. package/scss/helpers/mixins/table/_gifts.scss +1 -1
  45. package/scss/helpers/mixins/table/_orders.scss +1 -1
  46. package/scss/helpers/mixins/table/_preferences.scss +2 -2
  47. package/scss/helpers/mixins/table/_tickets.scss +1 -1
  48. package/scss/helpers/variables/_layout.scss +1 -1
  49. package/scss/helpers/variables/index.scss +16 -1
  50. package/scss/index.scss +1 -1
  51. package/components/card_display.vue +0 -123
  52. package/components/help_row.vue +0 -33
  53. package/components/payment_logo.vue +0 -37
  54. package/components/placeholder.vue +0 -45
  55. package/components/related_card.vue +0 -39
  56. package/components/related_row.vue +0 -34
  57. package/components/related_title.vue +0 -93
  58. package/components/type_text.vue +0 -56
@@ -1,39 +0,0 @@
1
- <template>
2
- <b-card related no-body>
3
- <b-img v-if="content.image" :src="content.image" />
4
- <b-card-body>
5
- <b-card-title>
6
- <b-link v-if="content.title" v-html="content.title" :href="content.link" target="_blank" />
7
- <b-link v-else :href="content.link" target="_blank">More Info</b-link>
8
- </b-card-title>
9
- <b-card-sub-title v-if="content.start_date" v-html="handleDate(content.start_date)" />
10
- <b-card-text v-html="limitLength(content.description)" />
11
- </b-card-body>
12
- </b-card>
13
- </template>
14
-
15
- <script>
16
- import { DateTime } from 'luxon'
17
- import { BCard, BImg, BCardBody, BLink, BCardTitle, BCardSubTitle, BCardText } from 'bootstrap-vue'
18
-
19
- export default {
20
- name: "RelatedCard",
21
- props: ['content'],
22
- components: { BCard, BImg, BCardBody, BLink, BCardTitle, BCardSubTitle, BCardText },
23
- methods: {
24
- limitLength(title, limit = 140, output) {
25
- if (title.length > limit) {
26
- output = title.slice(0, limit);
27
- output = output.substr(0, Math.min(output.length, output.lastIndexOf(' ')));
28
- output += ' ...';
29
- } else {
30
- output = title;
31
- }
32
- return output;
33
- },
34
- handleDate(date) {
35
- return DateTime.fromISO(date).toFormat('ff');
36
- },
37
- },
38
- };
39
- </script>
@@ -1,34 +0,0 @@
1
- <template>
2
- <div class="component">
3
- <slot />
4
- </div>
5
- </template>
6
-
7
- <script>
8
- export default {
9
- name: 'RelatedRow'
10
- }
11
- </script>
12
-
13
- <style lang="scss" scoped>
14
-
15
- .component {
16
- margin-right: auto;
17
- margin-left: auto;
18
- max-width: 20rem;
19
-
20
- @include media-breakpoint-down(md) {
21
- .card + .card {
22
- margin-top: 1.25rem;
23
- }
24
- }
25
-
26
- @include media-breakpoint-up(md) {
27
- grid-template-columns: repeat(3, 1fr);
28
- column-gap: 1.25rem;
29
- max-width: 60rem;
30
- display: grid;
31
- }
32
- }
33
-
34
- </style>
@@ -1,93 +0,0 @@
1
- <template>
2
- <div :class="$style.container">
3
- <div :class="styleTitle">
4
- <div :class="$style.line"></div>
5
- <div :class="$style.text"><slot /></div>
6
- <div :class="$style.line"></div>
7
- </div>
8
- <span v-if="tagline" :class="$style.tagline" v-html="tagline"></span>
9
- </div>
10
- </template>
11
-
12
- <script>
13
- export default {
14
- name: "RelatedTitle",
15
- props: {
16
- tagline: {
17
- type: String,
18
- },
19
- },
20
- computed: {
21
- styleTitle() {
22
- return this.tagline ? this.$style.title_tagline : this.$style.title;
23
- }
24
- }
25
- };
26
- </script>
27
-
28
- <style lang="scss" module>
29
-
30
-
31
- .container {
32
- text-align: center;
33
- }
34
-
35
- .title {
36
- @include fontfamily-black;
37
- font-size: $h5-font-size;
38
- margin-bottom: 3rem;
39
-
40
- @include media-breakpoint-up(md) {
41
- grid-template-columns: 1fr auto 1fr;
42
- font-size: $h4-font-size;
43
- display: grid;
44
- gap: 1rem;
45
- }
46
-
47
- &_tagline {
48
- composes: title;
49
- margin-bottom: 1rem;
50
-
51
- @include media-breakpoint-up(md) {
52
- margin-bottom: 0.5rem;
53
- }
54
- }
55
- }
56
-
57
- .line {
58
- background-color: $c-grey-l65;
59
- height: 1px;
60
-
61
- @include media-breakpoint-up(md) {
62
- margin-top: 1.125rem;
63
- }
64
- }
65
-
66
- .text {
67
- @include media-breakpoint-down(md) {
68
- @include inline-block;
69
- padding-bottom: 0.75rem;
70
- padding-top: 0.75rem;
71
- }
72
- }
73
-
74
- .tagline {
75
- display: inline-block;
76
- margin-bottom: 1.25rem;
77
-
78
- @include media-breakpoint-up(md) {
79
- margin-bottom: 2rem;
80
- }
81
-
82
- @include focus() {
83
- @include double-box($white, $c-grey-l21);
84
- border-radius: $border-radius;
85
- outline: none;
86
-
87
- a:hover {
88
- color: inherit;
89
- }
90
- }
91
- }
92
-
93
- </style>
@@ -1,56 +0,0 @@
1
- <template>
2
- <p ref="checking" :class="$style.component">
3
- <slot />
4
- </p>
5
- </template>
6
-
7
- <script>
8
- import { gsap } from 'gsap'
9
- import { TextPlugin } from 'gsap/TextPlugin'
10
- gsap.registerPlugin(TextPlugin);
11
-
12
- export default {
13
- methods: {
14
- loadingAnim(target) {
15
- const message = target.innerText;
16
- const speed = message.length * 0.15;
17
- const tl = gsap.timeline({
18
- repeat: -1,
19
- repeatDelay: 0.5,
20
- });
21
- tl.set(target, {
22
- text: ""
23
- })
24
- .to(target, {
25
- text: message,
26
- duration: speed,
27
- })
28
- .to(target, {
29
- text: message + " .",
30
- duration: 0.3,
31
- })
32
- .to(target, {
33
- text: message + " ..",
34
- duration: 0.3,
35
- })
36
- .to(target, {
37
- text: message + " ...",
38
- duration: 0.3,
39
- });
40
- }
41
- },
42
- mounted() {
43
- this.loadingAnim(this.$refs.checking);
44
- },
45
- };
46
- </script>
47
-
48
- <style lang="scss" module>
49
-
50
- .component {
51
- font-size: $h4-font-size;
52
- min-height: 2.25rem;
53
- text-align: center;
54
- }
55
-
56
- </style>