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.
Files changed (51) hide show
  1. package/README.md +21 -21
  2. package/components/{account_title.vue → AccountTitle.vue} +6 -9
  3. package/components/{br_alert.vue → BrAlert.vue} +1 -2
  4. package/components/BrAnchor.vue +34 -0
  5. package/components/BrButton/dot_typing.vue +60 -0
  6. package/components/{br_button → BrButton}/remove_ticket.vue +8 -19
  7. package/components/{br_button.vue → BrButton.vue} +6 -2
  8. package/components/{br_confirm_done.vue → BrConfirmDone.vue} +3 -3
  9. package/components/{br_confirm_email.vue → BrConfirmEmail.vue} +3 -3
  10. package/components/{br_container.vue → BrContainer.vue} +30 -21
  11. package/components/{br_footer/lower.vue → BrFooterLower.vue} +0 -6
  12. package/components/{br_footer/upper.vue → BrFooterUpper.vue} +6 -7
  13. package/components/{br_form_block.vue → BrFormBlock.vue} +0 -8
  14. package/components/BrFormPassword.vue +67 -0
  15. package/components/{br_form_row.vue → BrFormRow.vue} +4 -4
  16. package/components/BrFormUpdate.vue +18 -0
  17. package/components/{br_loader.vue → BrLoader.vue} +1 -1
  18. package/components/{br_skiplink.vue → BrSkiplink.vue} +0 -1
  19. package/components/{br_wrap.vue → BrWrap.vue} +4 -4
  20. package/components/{event_summary.vue → EventSummary.vue} +34 -24
  21. package/components/{fluid_iframe.vue → FluidIframe.vue} +0 -1
  22. package/components/{see_inside.vue → SeeInside.vue} +48 -30
  23. package/components/{video_content.vue → VideoContent.vue} +18 -27
  24. package/icons/account/membership.vue +0 -6
  25. package/icons/account/orders.vue +0 -6
  26. package/icons/account/payment.vue +0 -6
  27. package/icons/account/personal.vue +0 -6
  28. package/icons/account/support.vue +0 -6
  29. package/icons/account/video.vue +0 -6
  30. package/icons/arrow_back.vue +9 -8
  31. package/icons/arrow_forward.vue +7 -8
  32. package/icons/back_arrow.vue +6 -7
  33. package/icons/city_of_london_lockup.vue +14 -9
  34. package/icons/information.vue +4 -8
  35. package/icons/password/hide.vue +0 -6
  36. package/icons/password/show.vue +0 -6
  37. package/icons/stream/live.vue +9 -8
  38. package/icons/wheelchair.vue +15 -9
  39. package/index.js +24 -38
  40. package/package.json +1 -1
  41. package/scss/_br-wrap.scss +3 -4
  42. package/scss/index.scss +0 -4
  43. package/components/br_anchor.vue +0 -35
  44. package/components/br_button/dot_typing.vue +0 -43
  45. package/components/br_form_password.vue +0 -69
  46. package/components/br_form_update.vue +0 -12
  47. /package/components/{br_button → BrButton}/components.js +0 -0
  48. /package/components/{br_card.vue → BrCard.vue} +0 -0
  49. /package/components/{br_card_sub_title.vue → BrCardSubTitle.vue} +0 -0
  50. /package/components/{br_card_text.vue → BrCardText.vue} +0 -0
  51. /package/components/{br_card_title.vue → BrCardTitle.vue} +0 -0
package/index.js CHANGED
@@ -1,35 +1,28 @@
1
- import BrAlert from "./components/br_alert";
2
- import BrAnchor from "./components/br_anchor";
3
- import BrButton from "./components/br_button";
4
- import BrCard from "./components/br_card";
5
- import BrCardText from "./components/br_card_text";
6
- import BrCardTitle from "./components/br_card_title";
7
- import BrCardSubTitle from "./components/br_card_sub_title";
8
- import BrConfirmDone from "./components/br_confirm_done";
9
- import BrConfirmEmail from "./components/br_confirm_email";
10
- import BrContainer from "./components/br_container";
11
- import BrFooterLower from "./components/br_footer/lower";
12
- import BrFooterUpper from "./components/br_footer/upper";
13
- import BrFormBlock from "./components/br_form_block";
14
- import BrFormPassword from "./components/br_form_password";
15
- import BrFormRow from "./components/br_form_row";
16
- import BrFormUpdate from "./components/br_form_update";
17
- import BrLoader from "./components/br_loader";
18
- import BrSkiplink from "./components/br_skiplink";
19
- import BrWrap from "./components/br_wrap";
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/account_title";
22
- import EventSummary from "./components/event_summary";
23
- import FluidIframe from "./components/fluid_iframe";
24
- import HelpRow from "./components/help_row";
25
- import Placeholder from "./components/placeholder";
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
@@ -99,5 +99,5 @@
99
99
  "build:patterns": "cd patterns && rm -rf html && pug views --out html"
100
100
  },
101
101
  "style": "dist/css/barbican-reset.css",
102
- "version": "2.40.0"
102
+ "version": "2.42.0"
103
103
  }
@@ -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
@@ -1,7 +1,3 @@
1
- @import "node_modules/bootstrap/scss/functions";
2
- @import "node_modules/bootstrap/scss/variables";
3
- @import "node_modules/bootstrap/scss/mixins";
4
-
5
1
  @import "helpers/index";
6
2
 
7
3
  @include font-face;
@@ -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