barbican-reset 2.41.0 → 2.43.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/README.md +21 -21
- package/components/{account_title.vue → AccountTitle.vue} +6 -9
- package/components/{br_alert.vue → BrAlert.vue} +1 -2
- package/components/BrAnchor.vue +34 -0
- package/components/BrButton/dot_typing.vue +60 -0
- package/components/{br_button → BrButton}/remove_ticket.vue +8 -19
- package/components/{br_button.vue → BrButton.vue} +6 -2
- package/components/BrCollapse/Button.vue +36 -0
- package/components/BrCollapse/Content.vue +17 -0
- package/components/BrCollapse/Demo.vue +22 -0
- package/components/{br_confirm_done.vue → BrConfirmDone.vue} +3 -3
- package/components/{br_confirm_email.vue → BrConfirmEmail.vue} +3 -3
- package/components/{br_container.vue → BrContainer.vue} +30 -21
- package/components/{br_footer/lower.vue → BrFooterLower.vue} +0 -6
- package/components/{br_footer/upper.vue → BrFooterUpper.vue} +6 -7
- package/components/{br_form_block.vue → BrFormBlock.vue} +0 -8
- package/components/BrFormCheckbox/Component.vue +35 -0
- package/components/BrFormCheckbox/Demo.vue +27 -0
- package/components/BrFormCheckboxGroup/Component.vue +30 -0
- package/components/BrFormCheckboxGroup/Demo.vue +39 -0
- package/components/BrFormGroup/Component.vue +15 -0
- package/components/BrFormGroup/Demo.vue +26 -0
- package/components/BrFormInput/Component.vue +35 -0
- package/components/BrFormInput/Demo.vue +64 -0
- package/components/BrFormPassword.vue +67 -0
- package/components/BrFormRadio/Component.vue +23 -0
- package/components/BrFormRadio/Demo.vue +33 -0
- package/components/BrFormRadioGroup/Component.vue +18 -0
- package/components/BrFormRadioGroup/Demo.vue +22 -0
- package/components/{br_form_row.vue → BrFormRow.vue} +4 -4
- package/components/BrFormTextarea/Component.vue +23 -0
- package/components/BrFormTextarea/Demo.vue +22 -0
- package/components/BrFormUpdate.vue +18 -0
- package/components/{br_loader.vue → BrLoader.vue} +1 -1
- package/components/{br_skiplink.vue → BrSkiplink.vue} +0 -1
- package/components/{br_wrap.vue → BrWrap.vue} +4 -4
- package/components/{event_summary.vue → EventSummary.vue} +29 -21
- package/components/{fluid_iframe.vue → FluidIframe.vue} +0 -1
- package/components/{see_inside.vue → SeeInside.vue} +40 -26
- package/components/{video_content.vue → VideoContent.vue} +18 -27
- package/icons/account/membership.vue +0 -6
- package/icons/account/orders.vue +0 -6
- package/icons/account/payment.vue +0 -6
- package/icons/account/personal.vue +0 -6
- package/icons/account/support.vue +0 -6
- package/icons/account/video.vue +0 -6
- package/icons/arrow_back.vue +9 -8
- package/icons/arrow_forward.vue +7 -8
- package/icons/back_arrow.vue +6 -7
- package/icons/city_of_london_lockup.vue +14 -9
- package/icons/information.vue +4 -8
- package/icons/password/hide.vue +0 -6
- package/icons/password/show.vue +0 -6
- package/icons/stream/live.vue +9 -8
- package/icons/wheelchair.vue +15 -9
- package/index.js +42 -24
- package/mixins/inputs.js +32 -0
- package/package.json +2 -1
- package/scss/_br-wrap.scss +3 -4
- package/scss/index.scss +0 -4
- package/components/br_anchor.vue +0 -35
- package/components/br_button/dot_typing.vue +0 -43
- package/components/br_form_password.vue +0 -69
- package/components/br_form_update.vue +0 -12
- /package/components/{br_button → BrButton}/components.js +0 -0
- /package/components/{br_card.vue → BrCard.vue} +0 -0
- /package/components/{br_card_sub_title.vue → BrCardSubTitle.vue} +0 -0
- /package/components/{br_card_text.vue → BrCardText.vue} +0 -0
- /package/components/{br_card_title.vue → BrCardTitle.vue} +0 -0
|
@@ -1,47 +1,63 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="$style.
|
|
3
|
-
<div :class="$style.
|
|
2
|
+
<div :class="$style.SeeInside">
|
|
3
|
+
<div :class="$style.SeeInside_content">
|
|
4
4
|
<div :class="$style.venue_sections">
|
|
5
5
|
<div :class="$style.sections_title">
|
|
6
6
|
<span v-if="multipleSeeInside">Section:</span>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
<br-button
|
|
8
|
+
variant="exit"
|
|
9
|
+
@click="$emit('closeSeeInside')"
|
|
10
|
+
:class="$style.close_mobile"
|
|
11
11
|
>
|
|
12
12
|
<close-icon />
|
|
13
|
-
</
|
|
13
|
+
</br-button>
|
|
14
14
|
</div>
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
<template v-if="multipleSeeInside">
|
|
16
|
+
<br-button
|
|
17
|
+
variant="link"
|
|
18
|
+
:class="{
|
|
19
|
+
[$style.venue_section]: true,
|
|
20
|
+
[$style.venue_section_active]: visibleMapIndex == index,
|
|
21
|
+
}"
|
|
22
|
+
v-for="(item, index) in data"
|
|
23
|
+
:key="'section-' + index"
|
|
24
|
+
@click="visibleMapIndex = index"
|
|
25
|
+
>{{ item.title }}</br-button
|
|
26
|
+
>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<br-button
|
|
30
|
+
@click="$emit('closeSeeInside')"
|
|
31
|
+
variant="exit"
|
|
32
|
+
:class="$style.close_desktop"
|
|
20
33
|
>
|
|
21
34
|
<close-icon />
|
|
22
|
-
</
|
|
35
|
+
</br-button>
|
|
23
36
|
</div>
|
|
24
37
|
<div v-for="(item, index) in data" :key="index">
|
|
25
|
-
<div
|
|
38
|
+
<div
|
|
39
|
+
:class="$style.SeeInside_map"
|
|
40
|
+
v-if="visibleMapIndex == index || !multipleSeeInside"
|
|
41
|
+
v-html="item.markup"
|
|
42
|
+
></div>
|
|
26
43
|
</div>
|
|
27
44
|
</div>
|
|
28
|
-
|
|
29
45
|
</div>
|
|
30
46
|
</template>
|
|
31
47
|
|
|
32
48
|
<script>
|
|
33
|
-
|
|
49
|
+
import BrButton from "./BrButton";
|
|
34
50
|
import { CloseIcon } from "barbican-reset/icons/stream";
|
|
35
51
|
|
|
36
52
|
export default {
|
|
37
|
-
name: 'SeeInside',
|
|
38
53
|
components: {
|
|
39
|
-
|
|
54
|
+
BrButton,
|
|
55
|
+
CloseIcon,
|
|
40
56
|
},
|
|
41
57
|
data() {
|
|
42
58
|
return {
|
|
43
59
|
visibleMapIndex: null,
|
|
44
|
-
}
|
|
60
|
+
};
|
|
45
61
|
},
|
|
46
62
|
props: {
|
|
47
63
|
data: {
|
|
@@ -54,14 +70,13 @@ export default {
|
|
|
54
70
|
return this.data.length > 1;
|
|
55
71
|
},
|
|
56
72
|
},
|
|
57
|
-
}
|
|
73
|
+
};
|
|
58
74
|
</script>
|
|
59
75
|
|
|
60
76
|
<style lang="scss" module>
|
|
61
|
-
|
|
62
|
-
.see_inside_content {
|
|
77
|
+
.SeeInside_content {
|
|
63
78
|
padding: 1rem;
|
|
64
|
-
border: 1px solid $c-grey-l87
|
|
79
|
+
border: 1px solid $c-grey-l87;
|
|
65
80
|
border-radius: $br-border-radius;
|
|
66
81
|
}
|
|
67
82
|
|
|
@@ -77,7 +92,7 @@ export default {
|
|
|
77
92
|
}
|
|
78
93
|
.close_mobile {
|
|
79
94
|
margin-left: auto;
|
|
80
|
-
|
|
95
|
+
|
|
81
96
|
@include small-up {
|
|
82
97
|
display: none;
|
|
83
98
|
}
|
|
@@ -110,11 +125,10 @@ export default {
|
|
|
110
125
|
}
|
|
111
126
|
}
|
|
112
127
|
|
|
113
|
-
.
|
|
128
|
+
.SeeInside_map {
|
|
114
129
|
margin-top: 1rem;
|
|
115
130
|
iframe {
|
|
116
131
|
width: 100%;
|
|
117
132
|
}
|
|
118
133
|
}
|
|
119
|
-
|
|
120
134
|
</style>
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
2
|
<div>
|
|
4
|
-
|
|
5
3
|
<fluid-iframe v-if="data.type === 'jwplayer'" :src="data.url" />
|
|
6
4
|
|
|
7
5
|
<template v-if="data.type === 'brightcove'">
|
|
8
|
-
|
|
9
6
|
<div v-html="data.markup" :class="$style.brightcove"></div>
|
|
10
7
|
|
|
11
|
-
<br-alert v-if="data.isExpired" error center inline
|
|
12
|
-
|
|
8
|
+
<br-alert v-if="data.isExpired" error center inline
|
|
9
|
+
>Event has passed.</br-alert
|
|
10
|
+
>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
15
13
|
<h2 v-html="data.title" class="margin-bottom-1"></h2>
|
|
@@ -17,41 +15,36 @@
|
|
|
17
15
|
<p v-html="data.lead_description"></p>
|
|
18
16
|
|
|
19
17
|
<template v-if="data.long_description">
|
|
20
|
-
|
|
21
18
|
<p v-html="data.long_description"></p>
|
|
22
|
-
|
|
23
19
|
</template>
|
|
24
20
|
|
|
25
21
|
<template v-if="data.expires">
|
|
26
|
-
|
|
27
22
|
<p>Until {{ formatDateTime(data.expires) }}</p>
|
|
28
|
-
|
|
29
23
|
</template>
|
|
30
24
|
|
|
31
25
|
<template v-if="data.programme">
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
26
|
+
<p>
|
|
27
|
+
Read tonight's
|
|
28
|
+
<a :href="data.programme" target="_blank">Digital Programme</a>
|
|
29
|
+
</p>
|
|
35
30
|
</template>
|
|
36
|
-
|
|
37
|
-
</div>
|
|
38
|
-
|
|
31
|
+
</div>
|
|
39
32
|
</template>
|
|
40
33
|
|
|
41
34
|
<script>
|
|
42
|
-
import { FluidIframe } from
|
|
43
|
-
import BrAlert from
|
|
44
|
-
import { DateTime } from
|
|
35
|
+
import { FluidIframe } from "barbican-reset";
|
|
36
|
+
import BrAlert from "./BrAlert";
|
|
37
|
+
import { DateTime } from "luxon";
|
|
45
38
|
|
|
46
39
|
export default {
|
|
47
40
|
props: {
|
|
48
41
|
data: {
|
|
49
|
-
type: Object
|
|
42
|
+
type: Object,
|
|
50
43
|
},
|
|
51
44
|
concert: {
|
|
52
45
|
type: Boolean,
|
|
53
46
|
default: false,
|
|
54
|
-
}
|
|
47
|
+
},
|
|
55
48
|
},
|
|
56
49
|
created() {
|
|
57
50
|
if (this.concert) {
|
|
@@ -64,18 +57,16 @@ export default {
|
|
|
64
57
|
components: { FluidIframe, BrAlert },
|
|
65
58
|
methods: {
|
|
66
59
|
formatDateTime(date) {
|
|
67
|
-
return DateTime.fromISO(date).toFormat(
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
60
|
+
return DateTime.fromISO(date).toFormat("h:mm a ccc d LLL yyyy");
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
};
|
|
71
64
|
</script>
|
|
72
65
|
|
|
73
66
|
<style lang="scss" module>
|
|
74
|
-
|
|
75
67
|
.brightcove {
|
|
76
68
|
border-radius: $br-border-radius-lg;
|
|
77
69
|
margin-bottom: 2rem;
|
|
78
70
|
overflow: hidden;
|
|
79
71
|
}
|
|
80
|
-
|
|
81
|
-
</style>
|
|
72
|
+
</style>
|
package/icons/account/orders.vue
CHANGED
package/icons/account/video.vue
CHANGED
package/icons/arrow_back.vue
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg
|
|
3
|
-
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
width="24"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
d="M17.51 3.87L15.73 2.1 5.84 12l9.9 9.9 1.77-1.77L9.38 12l8.13-8.13z"
|
|
10
|
+
/>
|
|
4
11
|
</svg>
|
|
5
12
|
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'ArrowBack'
|
|
10
|
-
}
|
|
11
|
-
</script>
|
package/icons/arrow_forward.vue
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg
|
|
3
|
-
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
width="24"
|
|
7
|
+
>
|
|
8
|
+
<polygon points="6.23,20.23 8,22 18,12 8,2 6.23,3.77 14.46,12" />
|
|
4
9
|
</svg>
|
|
5
10
|
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'ArrowForward'
|
|
10
|
-
}
|
|
11
|
-
</script>
|
package/icons/back_arrow.vue
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg
|
|
2
|
+
<svg
|
|
3
|
+
width="16"
|
|
4
|
+
height="16"
|
|
5
|
+
viewBox="0 0 16 16"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
3
8
|
<path d="M16 7H3.83L9.42 1.41L8 0L0 8L8 16L9.41 14.59L3.83 9H16V7Z" />
|
|
4
9
|
</svg>
|
|
5
10
|
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'BackArrow'
|
|
10
|
-
}
|
|
11
|
-
</script>
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<a
|
|
2
|
+
<a
|
|
3
|
+
class="city-of-london-lockup"
|
|
4
|
+
href="//www.cityoflondon.gov.uk"
|
|
5
|
+
target="_blank"
|
|
6
|
+
>
|
|
3
7
|
<city-of-london-logo />
|
|
4
8
|
<small>
|
|
5
|
-
The City of London<br />Corporation is the founder<br />and principal
|
|
9
|
+
The City of London<br />Corporation is the founder<br />and principal
|
|
10
|
+
funder of<br />the Barbican Centre
|
|
6
11
|
</small>
|
|
7
12
|
</a>
|
|
8
13
|
</template>
|
|
9
14
|
|
|
10
15
|
<script>
|
|
11
|
-
import CityOfLondonLogo from
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
import CityOfLondonLogo from "./city_of_london";
|
|
17
|
+
|
|
18
|
+
export default {
|
|
14
19
|
components: {
|
|
15
|
-
CityOfLondonLogo
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
</script>
|
|
20
|
+
CityOfLondonLogo,
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
</script>
|
package/icons/information.vue
CHANGED
|
@@ -3,14 +3,10 @@
|
|
|
3
3
|
width="16"
|
|
4
4
|
height="16"
|
|
5
5
|
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
-
viewBox="0 0 20 20"
|
|
6
|
+
viewBox="0 0 20 20"
|
|
7
|
+
>
|
|
7
8
|
<path
|
|
8
|
-
d="M9,15h2V9H9V15z M10,7c0.3,0,0.5-0.1,0.7-0.3S11,6.3,11,6s-0.1-0.5-0.3-0.7C10.5,5.1,10.3,5,10,5S9.5,5.1,9.3,5.3 C9.1,5.5,9,5.7,9,6s0.1,0.5,0.3,0.7S9.7,7,10,7z M10,20c-1.4,0-2.7-0.3-3.9-0.8S3.8,18,2.9,17.1s-1.6-2-2.1-3.2S0,11.4,0,10 s0.3-2.7,0.8-3.9S2,3.8,2.9,2.9s2-1.6,3.2-2.1S8.6,0,10,0s2.7,0.3,3.9,0.8s2.3,1.2,3.2,2.1s1.6,2,2.1,3.2S20,8.6,20,10 s-0.3,2.7-0.8,3.9s-1.2,2.3-2.1,3.2s-2,1.6-3.2,2.1S11.4,20,10,20z M10,18c2.2,0,4.1-0.8,5.7-2.3S18,12.2,18,10s-0.8-4.1-2.3-5.7 S12.2,2,10,2S5.9,2.8,4.3,4.3S2,7.8,2,10s0.8,4.1,2.3,5.7S7.8,18,10,18z"
|
|
9
|
+
d="M9,15h2V9H9V15z M10,7c0.3,0,0.5-0.1,0.7-0.3S11,6.3,11,6s-0.1-0.5-0.3-0.7C10.5,5.1,10.3,5,10,5S9.5,5.1,9.3,5.3 C9.1,5.5,9,5.7,9,6s0.1,0.5,0.3,0.7S9.7,7,10,7z M10,20c-1.4,0-2.7-0.3-3.9-0.8S3.8,18,2.9,17.1s-1.6-2-2.1-3.2S0,11.4,0,10 s0.3-2.7,0.8-3.9S2,3.8,2.9,2.9s2-1.6,3.2-2.1S8.6,0,10,0s2.7,0.3,3.9,0.8s2.3,1.2,3.2,2.1s1.6,2,2.1,3.2S20,8.6,20,10 s-0.3,2.7-0.8,3.9s-1.2,2.3-2.1,3.2s-2,1.6-3.2,2.1S11.4,20,10,20z M10,18c2.2,0,4.1-0.8,5.7-2.3S18,12.2,18,10s-0.8-4.1-2.3-5.7 S12.2,2,10,2S5.9,2.8,4.3,4.3S2,7.8,2,10s0.8,4.1,2.3,5.7S7.8,18,10,18z"
|
|
10
|
+
/>
|
|
9
11
|
</svg>
|
|
10
12
|
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
export default {
|
|
14
|
-
name: 'Information',
|
|
15
|
-
}
|
|
16
|
-
</script>
|
package/icons/password/hide.vue
CHANGED
package/icons/password/show.vue
CHANGED
package/icons/stream/live.vue
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg
|
|
3
|
-
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
width="24"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
d="M7.76,16.24C6.67,15.16,6,13.66,6,12s0.67-3.16,1.76-4.24l1.42,1.42C8.45,9.9,8,10.9,8,12c0,1.1,0.45,2.1,1.17,2.83 L7.76,16.24z M16.24,16.24C17.33,15.16,18,13.66,18,12s-0.67-3.16-1.76-4.24l-1.42,1.42C15.55,9.9,16,10.9,16,12 c0,1.1-0.45,2.1-1.17,2.83L16.24,16.24z M12,10c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S13.1,10,12,10z M20,12 c0,2.21-0.9,4.21-2.35,5.65l1.42,1.42C20.88,17.26,22,14.76,22,12s-1.12-5.26-2.93-7.07l-1.42,1.42C19.1,7.79,20,9.79,20,12z M6.35,6.35L4.93,4.93C3.12,6.74,2,9.24,2,12s1.12,5.26,2.93,7.07l1.42-1.42C4.9,16.21,4,14.21,4,12S4.9,7.79,6.35,6.35z"
|
|
10
|
+
/>
|
|
4
11
|
</svg>
|
|
5
12
|
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: "LiveIcon"
|
|
10
|
-
};
|
|
11
|
-
</script>
|
package/icons/wheelchair.vue
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<svg
|
|
3
|
+
width="14"
|
|
4
|
+
height="20"
|
|
5
|
+
viewBox="0 0 14 20"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M7 4C8.10457 4 9 3.10457 9 2C9 0.89543 8.10457 0 7 0C5.89543 0 5 0.89543 5 2C5 3.10457 5.89543 4 7 4Z"
|
|
11
|
+
fill="black"
|
|
12
|
+
/>
|
|
13
|
+
<path
|
|
14
|
+
d="M14 11V9.00001C12.46 9.02001 10.91 8.25001 9.93 7.17001L8.64 5.74001C8.47 5.55001 8.26 5.40001 8.03 5.29001C8.02 5.29001 8.02 5.28001 8.01 5.28001H8C7.65 5.08001 7.25 4.98001 6.81 5.02001C5.76 5.11001 5 6.04001 5 7.09001V13C5 14.1 5.9 15 7 15H12V20H14V14.5C14 13.4 13.1 12.5 12 12.5H9V9.05001C10.29 10.12 12.25 10.99 14 11ZM5 18C3.34 18 2 16.66 2 15C2 13.69 2.84 12.59 4 12.17V10.1C1.72 10.56 0 12.58 0 15C0 17.76 2.24 20 5 20C7.42 20 9.44 18.28 9.9 16H7.83C7.42 17.16 6.31 18 5 18Z"
|
|
15
|
+
fill="black"
|
|
16
|
+
/>
|
|
5
17
|
</svg>
|
|
6
18
|
</template>
|
|
7
|
-
|
|
8
|
-
<script>
|
|
9
|
-
export default {
|
|
10
|
-
name: 'WheelchairIcon'
|
|
11
|
-
}
|
|
12
|
-
</script>
|
package/index.js
CHANGED
|
@@ -1,28 +1,37 @@
|
|
|
1
|
-
import BrAlert from "./components/
|
|
2
|
-
import BrAnchor from "./components/
|
|
3
|
-
import BrButton from "./components/
|
|
4
|
-
import BrCard from "./components/
|
|
5
|
-
import BrCardText from "./components/
|
|
6
|
-
import BrCardTitle from "./components/
|
|
7
|
-
import BrCardSubTitle from "./components/
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
1
|
+
import BrAlert from "./components/BrAlert";
|
|
2
|
+
import BrAnchor from "./components/BrAnchor";
|
|
3
|
+
import BrButton from "./components/BrButton";
|
|
4
|
+
import BrCard from "./components/BrCard";
|
|
5
|
+
import BrCardText from "./components/BrCardText";
|
|
6
|
+
import BrCardTitle from "./components/BrCardTitle";
|
|
7
|
+
import BrCardSubTitle from "./components/BrCardSubTitle";
|
|
8
|
+
import BrCollapseButton from './components/BrCollapse/Button';
|
|
9
|
+
import BrCollapseContent from './components/BrCollapse/Content';
|
|
10
|
+
import BrConfirmDone from "./components/BrConfirmDone";
|
|
11
|
+
import BrConfirmEmail from "./components/BrConfirmEmail";
|
|
12
|
+
import BrContainer from "./components/BrContainer";
|
|
13
|
+
import BrFooterLower from "./components/BrFooterLower";
|
|
14
|
+
import BrFooterUpper from "./components/BrFooterUpper";
|
|
15
|
+
import BrFormBlock from "./components/BrFormBlock";
|
|
16
|
+
import BrFormCheckbox from "./components/BrFormCheckbox/Component";
|
|
17
|
+
import BrFormCheckboxGroup from "./components/BrFormCheckboxGroup/Component";
|
|
18
|
+
import BrFormGroup from './components/BrFormGroup/Component';
|
|
19
|
+
import BrFormInput from './components/BrFormInput/Component';
|
|
20
|
+
import BrFormPassword from "./components/BrFormPassword";
|
|
21
|
+
import BrFormRadio from './components/BrFormRadio/Component';
|
|
22
|
+
import BrFormRadioGroup from './components/BrFormRadioGroup/Component';
|
|
23
|
+
import BrFormRow from "./components/BrFormRow";
|
|
24
|
+
import BrFormTextarea from './components/BrFormTextarea/Component';
|
|
25
|
+
import BrFormUpdate from "./components/BrFormUpdate";
|
|
26
|
+
import BrLoader from "./components/BrLoader";
|
|
27
|
+
import BrSkiplink from "./components/BrSkiplink";
|
|
28
|
+
import BrWrap from "./components/BrWrap";
|
|
20
29
|
|
|
21
|
-
import AccountTitle from "./components/
|
|
22
|
-
import EventSummary from "./components/
|
|
23
|
-
import FluidIframe from "./components/
|
|
24
|
-
import SeeInside from
|
|
25
|
-
import VideoContent from "./components/
|
|
30
|
+
import AccountTitle from "./components/AccountTitle";
|
|
31
|
+
import EventSummary from "./components/EventSummary";
|
|
32
|
+
import FluidIframe from "./components/FluidIframe";
|
|
33
|
+
import SeeInside from "./components/SeeInside";
|
|
34
|
+
import VideoContent from "./components/VideoContent";
|
|
26
35
|
|
|
27
36
|
export {
|
|
28
37
|
BrAlert,
|
|
@@ -32,14 +41,23 @@ export {
|
|
|
32
41
|
BrCardSubTitle,
|
|
33
42
|
BrCardText,
|
|
34
43
|
BrCardTitle,
|
|
44
|
+
BrCollapseButton,
|
|
45
|
+
BrCollapseContent,
|
|
35
46
|
BrConfirmDone,
|
|
36
47
|
BrConfirmEmail,
|
|
37
48
|
BrContainer,
|
|
38
49
|
BrFooterLower,
|
|
39
50
|
BrFooterUpper,
|
|
40
51
|
BrFormBlock,
|
|
52
|
+
BrFormCheckbox,
|
|
53
|
+
BrFormCheckboxGroup,
|
|
54
|
+
BrFormGroup,
|
|
55
|
+
BrFormInput,
|
|
41
56
|
BrFormPassword,
|
|
57
|
+
BrFormRadio,
|
|
58
|
+
BrFormRadioGroup,
|
|
42
59
|
BrFormRow,
|
|
60
|
+
BrFormTextarea,
|
|
43
61
|
BrFormUpdate,
|
|
44
62
|
BrLoader,
|
|
45
63
|
BrSkiplink,
|
package/mixins/inputs.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
computed: {
|
|
3
|
+
generateID() {
|
|
4
|
+
let random = "random_" + Math.ceil(Math.random() * 1000000);
|
|
5
|
+
|
|
6
|
+
return this.id ? this.id : random;
|
|
7
|
+
},
|
|
8
|
+
isDefault() {
|
|
9
|
+
return this.default == this.value;
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
methods: {
|
|
13
|
+
emitInputData({ target }, name = "input") {
|
|
14
|
+
let { value, checked } = target;
|
|
15
|
+
|
|
16
|
+
value = this.toggle ? checked : value;
|
|
17
|
+
|
|
18
|
+
let content = this.name ? this.name : name;
|
|
19
|
+
|
|
20
|
+
console.log({ content, value });
|
|
21
|
+
|
|
22
|
+
this.$emit("change", { content, value });
|
|
23
|
+
},
|
|
24
|
+
emitCheckboxGroupData({ value }) {
|
|
25
|
+
this.store.includes(value)
|
|
26
|
+
? (this.store = this.store.filter((item) => item !== value))
|
|
27
|
+
: this.store.push(value);
|
|
28
|
+
|
|
29
|
+
this.$emit("change", this.store);
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
};
|
package/package.json
CHANGED
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
"dist/**/*",
|
|
80
80
|
"fonts/*",
|
|
81
81
|
"icons/**/*",
|
|
82
|
+
"mixins/**/*",
|
|
82
83
|
"patterns/**/*",
|
|
83
84
|
"logos/*",
|
|
84
85
|
"scss/**/*",
|
|
@@ -99,5 +100,5 @@
|
|
|
99
100
|
"build:patterns": "cd patterns && rm -rf html && pug views --out html"
|
|
100
101
|
},
|
|
101
102
|
"style": "dist/css/barbican-reset.css",
|
|
102
|
-
"version": "2.
|
|
103
|
+
"version": "2.43.0"
|
|
103
104
|
}
|
package/scss/_br-wrap.scss
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
.br_wrap {
|
|
1
|
+
.br-wrap {
|
|
3
2
|
max-width: $layout-width-lg;
|
|
4
3
|
margin-right: auto;
|
|
5
4
|
margin-left: auto;
|
|
6
5
|
|
|
7
6
|
&.title {
|
|
8
|
-
max-width: $layout-width-title;
|
|
7
|
+
max-width: $layout-width-title;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
&.videos {
|
|
12
|
-
max-width: $layout-width-md;
|
|
11
|
+
max-width: $layout-width-md;
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
&.thin {
|