barbican-reset 2.40.0 → 2.42.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/{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/BrFormPassword.vue +67 -0
- package/components/{br_form_row.vue → BrFormRow.vue} +4 -4
- 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} +34 -24
- package/components/{fluid_iframe.vue → FluidIframe.vue} +0 -1
- package/components/{see_inside.vue → SeeInside.vue} +48 -30
- 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 +24 -38
- package/package.json +1 -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
package/index.js
CHANGED
|
@@ -1,35 +1,28 @@
|
|
|
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 BrConfirmDone from "./components/
|
|
9
|
-
import BrConfirmEmail from "./components/
|
|
10
|
-
import BrContainer from "./components/
|
|
11
|
-
import BrFooterLower from "./components/
|
|
12
|
-
import BrFooterUpper from "./components/
|
|
13
|
-
import BrFormBlock from "./components/
|
|
14
|
-
import BrFormPassword from "./components/
|
|
15
|
-
import BrFormRow from "./components/
|
|
16
|
-
import BrFormUpdate from "./components/
|
|
17
|
-
import BrLoader from "./components/
|
|
18
|
-
import BrSkiplink from "./components/
|
|
19
|
-
import BrWrap from "./components/
|
|
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 BrConfirmDone from "./components/BrConfirmDone";
|
|
9
|
+
import BrConfirmEmail from "./components/BrConfirmEmail";
|
|
10
|
+
import BrContainer from "./components/BrContainer";
|
|
11
|
+
import BrFooterLower from "./components/BrFooterLower";
|
|
12
|
+
import BrFooterUpper from "./components/BrFooterUpper";
|
|
13
|
+
import BrFormBlock from "./components/BrFormBlock";
|
|
14
|
+
import BrFormPassword from "./components/BrFormPassword";
|
|
15
|
+
import BrFormRow from "./components/BrFormRow";
|
|
16
|
+
import BrFormUpdate from "./components/BrFormUpdate";
|
|
17
|
+
import BrLoader from "./components/BrLoader";
|
|
18
|
+
import BrSkiplink from "./components/BrSkiplink";
|
|
19
|
+
import BrWrap from "./components/BrWrap";
|
|
20
20
|
|
|
21
|
-
import AccountTitle from "./components/
|
|
22
|
-
import EventSummary from "./components/
|
|
23
|
-
import FluidIframe from "./components/
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import PaymentLogo from "./components/payment_logo";
|
|
27
|
-
import RelatedCard from "./components/related_card";
|
|
28
|
-
import RelatedTitle from "./components/related_title";
|
|
29
|
-
import RelatedRow from "./components/related_row";
|
|
30
|
-
import SeeInside from './components/see_inside'
|
|
31
|
-
import TypeText from "./components/type_text";
|
|
32
|
-
import VideoContent from "./components/video_content";
|
|
21
|
+
import AccountTitle from "./components/AccountTitle";
|
|
22
|
+
import EventSummary from "./components/EventSummary";
|
|
23
|
+
import FluidIframe from "./components/FluidIframe";
|
|
24
|
+
import SeeInside from "./components/SeeInside";
|
|
25
|
+
import VideoContent from "./components/VideoContent";
|
|
33
26
|
|
|
34
27
|
export {
|
|
35
28
|
BrAlert,
|
|
@@ -54,13 +47,6 @@ export {
|
|
|
54
47
|
AccountTitle,
|
|
55
48
|
EventSummary,
|
|
56
49
|
FluidIframe,
|
|
57
|
-
HelpRow,
|
|
58
|
-
Placeholder,
|
|
59
|
-
PaymentLogo,
|
|
60
|
-
RelatedCard,
|
|
61
|
-
RelatedTitle,
|
|
62
|
-
RelatedRow,
|
|
63
50
|
SeeInside,
|
|
64
|
-
TypeText,
|
|
65
51
|
VideoContent,
|
|
66
52
|
};
|
package/package.json
CHANGED
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 {
|
package/scss/index.scss
CHANGED
package/components/br_anchor.vue
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
<a v-on:click="loading = true" :href="href" :class="variant ? `btn btn-${variant}` : ``">
|
|
4
|
-
|
|
5
|
-
<slot v-if="!loading" />
|
|
6
|
-
|
|
7
|
-
<dot-typing v-else />
|
|
8
|
-
|
|
9
|
-
</a>
|
|
10
|
-
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
import { DotTyping } from './br_button/components'
|
|
15
|
-
|
|
16
|
-
export default {
|
|
17
|
-
name: "BrAnchor",
|
|
18
|
-
data() {
|
|
19
|
-
return {
|
|
20
|
-
loading: false
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
props: {
|
|
24
|
-
variant: {
|
|
25
|
-
type: String
|
|
26
|
-
},
|
|
27
|
-
href: {
|
|
28
|
-
type: String
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
components: {
|
|
32
|
-
DotTyping
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
</script>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
|
|
3
|
-
<!-- https://codepen.io/nzbin/pen/GGrXbp -->
|
|
4
|
-
|
|
5
|
-
<div>
|
|
6
|
-
|
|
7
|
-
<svg ref="a" version="1.1" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14">
|
|
8
|
-
<path d="M12,7c0,2.8-2.2,5-5,5S2,9.8,2,7s2.2-5,5-5S12,4.2,12,7z"/>
|
|
9
|
-
</svg>
|
|
10
|
-
|
|
11
|
-
<svg ref="b" version="1.1" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14">
|
|
12
|
-
<path d="M12,7c0,2.8-2.2,5-5,5S2,9.8,2,7s2.2-5,5-5S12,4.2,12,7z"/>
|
|
13
|
-
</svg>
|
|
14
|
-
|
|
15
|
-
<svg ref="c" version="1.1" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14">
|
|
16
|
-
<path d="M12,7c0,2.8-2.2,5-5,5S2,9.8,2,7s2.2-5,5-5S12,4.2,12,7z"/>
|
|
17
|
-
</svg>
|
|
18
|
-
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
</template>
|
|
22
|
-
|
|
23
|
-
<script>
|
|
24
|
-
import { gsap } from 'gsap'
|
|
25
|
-
export default {
|
|
26
|
-
name: 'DotTyping',
|
|
27
|
-
mounted() {
|
|
28
|
-
const tl = gsap.timeline({ repeat: 9 });
|
|
29
|
-
const a = this.$refs.a;
|
|
30
|
-
const b = this.$refs.b;
|
|
31
|
-
const c = this.$refs.c;
|
|
32
|
-
const dots = [a,b,c];
|
|
33
|
-
const speed = 0.3;
|
|
34
|
-
|
|
35
|
-
tl.to(dots,{
|
|
36
|
-
stagger: speed,
|
|
37
|
-
keyframes: [
|
|
38
|
-
{ y: -8, duration: speed },
|
|
39
|
-
{ y: 0, duration: speed }
|
|
40
|
-
]});
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
</script>
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="br-form-password">
|
|
3
|
-
<input
|
|
4
|
-
@input="$emit('input', $event.target.value)"
|
|
5
|
-
:autocomplete="autocomplete"
|
|
6
|
-
:data-test="testData"
|
|
7
|
-
name="password"
|
|
8
|
-
:value="value"
|
|
9
|
-
:type="type"
|
|
10
|
-
required
|
|
11
|
-
:id="id"
|
|
12
|
-
/>
|
|
13
|
-
<br-button class="padding-0" @click="showPassword = !showPassword" data-test="show-password">
|
|
14
|
-
<span class="sr-only"><template v-if="showPassword">Hide</template><template v-else>Show</template> password</span>
|
|
15
|
-
<show-password-icon v-if="showPassword" />
|
|
16
|
-
<hide-password-icon v-else />
|
|
17
|
-
</br-button>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<script>
|
|
22
|
-
import { BrButton } from 'barbican-reset'
|
|
23
|
-
import {
|
|
24
|
-
HidePasswordIcon,
|
|
25
|
-
ShowPasswordIcon
|
|
26
|
-
} from 'barbican-reset/icons/password'
|
|
27
|
-
|
|
28
|
-
export default {
|
|
29
|
-
name: 'PasswordField',
|
|
30
|
-
data() {
|
|
31
|
-
return {
|
|
32
|
-
password: '',
|
|
33
|
-
showPassword: false
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
components: {
|
|
37
|
-
HidePasswordIcon,
|
|
38
|
-
ShowPasswordIcon,
|
|
39
|
-
BrButton
|
|
40
|
-
},
|
|
41
|
-
props: {
|
|
42
|
-
value: {
|
|
43
|
-
type: String
|
|
44
|
-
},
|
|
45
|
-
id: {
|
|
46
|
-
type: String,
|
|
47
|
-
default: 'password'
|
|
48
|
-
},
|
|
49
|
-
testData: {
|
|
50
|
-
type: String,
|
|
51
|
-
default: 'password-field'
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
computed: {
|
|
55
|
-
type() {
|
|
56
|
-
return this.showPassword ? 'text' : 'password'
|
|
57
|
-
},
|
|
58
|
-
autocomplete() {
|
|
59
|
-
return this.showPassword ? 'off' : 'current-password'
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
</script>
|
|
64
|
-
|
|
65
|
-
<style lang="scss" scoped>
|
|
66
|
-
.button {
|
|
67
|
-
padding: 0;
|
|
68
|
-
}
|
|
69
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="br-form-update">
|
|
3
|
-
<div class="br-form-update--input" data-test="email"><slot /></div>
|
|
4
|
-
<b-button @click.prevent="$emit('update')" data-test="update">update</b-button>
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script type="text/javascript">
|
|
9
|
-
export default {
|
|
10
|
-
name: 'BrFormUpdate',
|
|
11
|
-
}
|
|
12
|
-
</script>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|