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
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
|