barbican-reset 3.1.0 → 3.2.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 (37) hide show
  1. package/animations/index.js +1 -1
  2. package/components/AccountTitle.vue +1 -1
  3. package/components/BrAlert.vue +2 -2
  4. package/components/BrAnchor.vue +1 -1
  5. package/components/BrButton.vue +2 -1
  6. package/components/BrCard.vue +1 -1
  7. package/components/BrCollapse/Button.vue +1 -1
  8. package/components/BrConfirmDone.vue +5 -5
  9. package/components/BrConfirmEmail.vue +5 -5
  10. package/components/BrContainer.vue +1 -1
  11. package/components/BrFormBlock.vue +1 -1
  12. package/components/BrFormCheckbox/Component.vue +1 -1
  13. package/components/BrFormCheckboxGroup/Component.vue +1 -1
  14. package/components/BrFormGroup/Component.vue +1 -1
  15. package/components/BrFormInput/Component.vue +1 -1
  16. package/components/BrFormPassword.vue +3 -3
  17. package/components/BrFormRow.vue +2 -2
  18. package/components/BrFormUpdate.vue +1 -1
  19. package/components/BrLoader.vue +1 -1
  20. package/components/EventSummary.vue +2 -2
  21. package/components/FluidIframe.vue +1 -1
  22. package/components/SeeInside.vue +3 -3
  23. package/components/VideoContent.vue +3 -3
  24. package/icons/account/index.js +7 -7
  25. package/icons/city_of_london_lockup.vue +1 -1
  26. package/icons/confirm/index.js +3 -6
  27. package/icons/index.js +9 -9
  28. package/icons/password/index.js +3 -3
  29. package/icons/power/index.js +4 -8
  30. package/icons/snippets/index.js +5 -10
  31. package/icons/stream/index.js +7 -7
  32. package/index.js +34 -34
  33. package/package.json +19 -2
  34. package/patterns/static/styles.css +1 -1
  35. package/scss/helpers/mixins/_br-alert.scss +1 -1
  36. package/scss/helpers/mixins/_breakpoints.scss +0 -21
  37. package/components/BrButton/components.js +0 -4
@@ -1,4 +1,4 @@
1
- import { animateEmail, animateDone } from './confirm'
1
+ import { animateEmail, animateDone } from "#animations/confirm";
2
2
 
3
3
  export default {
4
4
  methods: {
@@ -21,7 +21,7 @@ export default {
21
21
  </script>
22
22
 
23
23
  <style lang="scss" module>
24
- @use "../scss/helpers/index.scss" as *;
24
+ @use "#styles/helpers/index" as *;
25
25
 
26
26
  @mixin title {
27
27
  margin-bottom: 1.25rem;
@@ -18,8 +18,8 @@
18
18
  </template>
19
19
 
20
20
  <script>
21
- import CloseIcon from "../icons/stream/close.vue";
22
- import BrButton from "./BrButton.vue";
21
+ import CloseIcon from "#icons/stream/close";
22
+ import BrButton from "#components/BrButton";
23
23
 
24
24
  export default {
25
25
  components: {
@@ -11,7 +11,7 @@
11
11
  </template>
12
12
 
13
13
  <script>
14
- import { DotTyping } from "./BrButton/components";
14
+ import DotTyping from "#components/BrButton/dot_typing";
15
15
 
16
16
  export default {
17
17
  data() {
@@ -53,7 +53,8 @@
53
53
  </template>
54
54
 
55
55
  <script>
56
- import { RemoveTicket, DotTyping } from "./BrButton/components";
56
+ import RemoveTicket from "#components/BrButton/remove_ticket";
57
+ import DotTyping from "#components/BrButton/dot_typing";
57
58
 
58
59
  export default {
59
60
  emits: ["click"],
@@ -15,7 +15,7 @@
15
15
  </template>
16
16
 
17
17
  <script>
18
- import BrCardBody from "./BrCardBody.vue";
18
+ import BrCardBody from "#components/BrCardBody";
19
19
 
20
20
  export default {
21
21
  components: { BrCardBody },
@@ -10,7 +10,7 @@
10
10
  </template>
11
11
 
12
12
  <script>
13
- import BrButton from "../BrButton.vue";
13
+ import BrButton from "#components/BrButton";
14
14
 
15
15
  export default {
16
16
  components: {
@@ -9,12 +9,12 @@
9
9
  </template>
10
10
 
11
11
  <script>
12
- import BrCard from "./BrCard.vue";
13
- import BrCardTitle from "./BrCardTitle.vue";
14
- import BrCardText from "./BrCardText.vue";
12
+ import BrCard from "#components/BrCard";
13
+ import BrCardTitle from "#components/BrCardTitle";
14
+ import BrCardText from "#components/BrCardText";
15
15
 
16
- import Animations from "barbican-reset/animations";
17
- import DoneIcon from "../icons/confirm/done.vue";
16
+ import Animations from "#animations/index";
17
+ import DoneIcon from "#icons/confirm/done";
18
18
 
19
19
  export default {
20
20
  mixins: [Animations],
@@ -11,12 +11,12 @@
11
11
  </template>
12
12
 
13
13
  <script>
14
- import BrCard from "./BrCard.vue";
15
- import BrCardTitle from "./BrCardTitle.vue";
16
- import BrCardText from "./BrCardText.vue";
14
+ import BrCard from "#components/BrCard";
15
+ import BrCardTitle from "#components/BrCardTitle";
16
+ import BrCardText from "#components/BrCardText";
17
17
 
18
- import Animations from "barbican-reset/animations";
19
- import EmailIcon from "../icons/confirm/email.vue";
18
+ import Animations from "#animations/index";
19
+ import EmailIcon from "#icons/confirm/email";
20
20
 
21
21
  export default {
22
22
  mixins: [Animations],
@@ -64,7 +64,7 @@ export default {
64
64
  </script>
65
65
 
66
66
  <style lang="scss" module>
67
- @use "../scss/helpers/index.scss" as *;
67
+ @use "#styles/helpers/index" as *;
68
68
 
69
69
  .outer {
70
70
  padding-right: 5%;
@@ -5,7 +5,7 @@
5
5
  </template>
6
6
 
7
7
  <style lang="scss" module>
8
- @use "../scss/helpers/index.scss" as *;
8
+ @use "#styles/helpers/index" as *;
9
9
 
10
10
  .container {
11
11
  padding: 0.875rem 0.75rem 0.625rem 0.75rem;
@@ -18,7 +18,7 @@
18
18
  </template>
19
19
 
20
20
  <script>
21
- import mixins from "../../mixins/inputs";
21
+ import mixins from "#mixins/inputs";
22
22
 
23
23
  export default {
24
24
  inheritAttrs: false, // Allow us to put attributes on the input.
@@ -18,7 +18,7 @@
18
18
  </template>
19
19
 
20
20
  <script>
21
- import BrFormCheckbox from "../BrFormCheckbox/Component.vue";
21
+ import BrFormCheckbox from "#components/BrFormCheckbox/Component";
22
22
 
23
23
  export default {
24
24
  props: ["modelValue", "options", "name", "id"],
@@ -6,7 +6,7 @@
6
6
  </template>
7
7
 
8
8
  <script>
9
- import mixins from "../../mixins/inputs";
9
+ import mixins from "#mixins/inputs";
10
10
 
11
11
  export default {
12
12
  props: ["label", "id"],
@@ -16,7 +16,7 @@
16
16
  </template>
17
17
 
18
18
  <script>
19
- import mixins from "../../mixins/inputs";
19
+ import mixins from "#mixins/inputs";
20
20
 
21
21
  export default {
22
22
  inheritAttrs: false, // Allow us to put attributes on the input.
@@ -26,9 +26,9 @@
26
26
  </template>
27
27
 
28
28
  <script>
29
- import BrButton from "./BrButton.vue";
30
- import HidePasswordIcon from "../icons/password/hide.vue";
31
- import ShowPasswordIcon from "../icons/password/show.vue";
29
+ import BrButton from "#components/BrButton";
30
+ import HidePasswordIcon from "#icons/password/hide";
31
+ import ShowPasswordIcon from "#icons/password/show";
32
32
 
33
33
  export default {
34
34
  inheritAttrs: false, // Allow us to put attributes on the input.
@@ -15,8 +15,8 @@
15
15
  </template>
16
16
 
17
17
  <script>
18
- import BrButton from "./BrButton.vue";
19
- import EditIcon from "../icons/account/edit.vue";
18
+ import BrButton from "#components/BrButton";
19
+ import EditIcon from "#icons/account/edit";
20
20
 
21
21
  export default {
22
22
  components: {
@@ -8,7 +8,7 @@
8
8
  </template>
9
9
 
10
10
  <script>
11
- import BrButton from "./BrButton.vue";
11
+ import BrButton from "#components/BrButton";
12
12
 
13
13
  export default {
14
14
  components: {
@@ -12,7 +12,7 @@
12
12
  </template>
13
13
 
14
14
  <script>
15
- import BrCard from "./BrCard.vue";
15
+ import BrCard from "#components/BrCard";
16
16
 
17
17
  export default {
18
18
  components: {
@@ -27,7 +27,7 @@
27
27
  </template>
28
28
 
29
29
  <script>
30
- import SeeInside from "./SeeInside.vue";
30
+ import SeeInside from "#components/SeeInside";
31
31
 
32
32
  export default {
33
33
  components: { SeeInside },
@@ -61,7 +61,7 @@ export default {
61
61
  </script>
62
62
 
63
63
  <style lang="scss" module>
64
- @use "../scss/helpers/index.scss" as *;
64
+ @use "#styles/helpers/index" as *;
65
65
 
66
66
  @mixin title {
67
67
  letter-spacing: $headings-letter-spacing;
@@ -23,7 +23,7 @@ export default {
23
23
  </script>
24
24
 
25
25
  <style lang="scss" module>
26
- @import "../scss/helpers";
26
+ @use "#styles/helpers/index" as *;
27
27
 
28
28
  .component {
29
29
  border-radius: $br-border-radius-lg;
@@ -46,8 +46,8 @@
46
46
  </template>
47
47
 
48
48
  <script>
49
- import BrButton from "./BrButton.vue";
50
- import CloseIcon from "../icons/stream/close.vue";
49
+ import BrButton from "#components/BrButton";
50
+ import CloseIcon from "#icons/stream/close";
51
51
 
52
52
  export default {
53
53
  components: {
@@ -74,7 +74,7 @@ export default {
74
74
  </script>
75
75
 
76
76
  <style lang="scss" module>
77
- @use "../scss/helpers/index.scss" as *;
77
+ @use "#styles/helpers/index" as *;
78
78
 
79
79
  .SeeInside_content {
80
80
  padding: 1rem;
@@ -32,8 +32,8 @@
32
32
  </template>
33
33
 
34
34
  <script>
35
- import FluidIframe from "./FluidIframe.vue";
36
- import BrAlert from "./BrAlert.vue";
35
+ import FluidIframe from "#components/FluidIframe";
36
+ import BrAlert from "#components/BrAlert";
37
37
  import { DateTime } from "luxon";
38
38
 
39
39
  export default {
@@ -64,7 +64,7 @@ export default {
64
64
  </script>
65
65
 
66
66
  <style lang="scss" module>
67
- @use "../scss/helpers/index.scss" as *;
67
+ @use "#styles/helpers/index" as *;
68
68
 
69
69
  .brightcove {
70
70
  border-radius: $br-border-radius-lg;
@@ -1,10 +1,10 @@
1
- import PersonalIcon from "./personal.vue";
2
- import MembershipIcon from "./membership.vue";
3
- import VideoIcon from "./video.vue";
4
- import PaymentIcon from "./payment.vue";
5
- import OrdersIcon from "./orders.vue";
6
- import SupportIcon from "./support.vue";
7
- import EditIcon from "./edit.vue";
1
+ import PersonalIcon from "#icons/account/personal";
2
+ import MembershipIcon from "#icons/account/membership";
3
+ import VideoIcon from "#icons/account/video";
4
+ import PaymentIcon from "#icons/account/payment";
5
+ import OrdersIcon from "#icons/account/orders";
6
+ import SupportIcon from "#icons/account/support";
7
+ import EditIcon from "#icons/account/edit";
8
8
 
9
9
  export {
10
10
  PersonalIcon,
@@ -13,7 +13,7 @@
13
13
  </template>
14
14
 
15
15
  <script>
16
- import CityOfLondonLogo from "./city_of_london.vue";
16
+ import CityOfLondonLogo from "#icons/city_of_london";
17
17
 
18
18
  export default {
19
19
  components: {
@@ -1,7 +1,4 @@
1
- import EmailIcon from './email.vue'
2
- import DoneIcon from './done.vue'
1
+ import EmailIcon from "#icons/confirm/email";
2
+ import DoneIcon from "#icons/confirm/done";
3
3
 
4
- export {
5
- EmailIcon,
6
- DoneIcon
7
- }
4
+ export { EmailIcon, DoneIcon };
package/icons/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import ArrowBack from "./arrow_back.vue";
2
- import ArrowIcon from "./arrow.vue";
3
- import ArrowForward from "./arrow_forward.vue";
4
- import BackArrow from "./back_arrow.vue";
5
- import BarbicanLogo from "./barbican.vue";
6
- import CartIcon from "./cart.vue";
7
- import CityOfLondonLogo from "./city_of_london.vue";
8
- import CityOfLondonLockup from "./city_of_london_lockup.vue";
9
- import InformationIcon from "./information.vue";
1
+ import ArrowBack from "#icons/arrow_back";
2
+ import ArrowIcon from "#icons/arrow";
3
+ import ArrowForward from "#icons/arrow_forward";
4
+ import BackArrow from "#icons/back_arrow";
5
+ import BarbicanLogo from "#icons/barbican";
6
+ import CartIcon from "#icons/cart";
7
+ import CityOfLondonLogo from "#icons/city_of_london";
8
+ import CityOfLondonLockup from "#icons/city_of_london_lockup";
9
+ import InformationIcon from "#icons/information";
10
10
 
11
11
  export {
12
12
  ArrowBack,
@@ -1,4 +1,4 @@
1
- import HidePasswordIcon from './hide'
2
- import ShowPasswordIcon from './show'
1
+ import HidePasswordIcon from "#icons/password/hide";
2
+ import ShowPasswordIcon from "#icons/password/show";
3
3
 
4
- export { HidePasswordIcon, ShowPasswordIcon }
4
+ export { HidePasswordIcon, ShowPasswordIcon };
@@ -1,9 +1,5 @@
1
- import AlleyneIcon from './alleyne'
2
- import BanffIcon from './banff'
3
- import CouncilIcon from './council'
1
+ import AlleyneIcon from "#icons/power/alleyne";
2
+ import BanffIcon from "#icons/power/banff";
3
+ import CouncilIcon from "#icons/power/council";
4
4
 
5
- export {
6
- AlleyneIcon,
7
- BanffIcon,
8
- CouncilIcon
9
- }
5
+ export { AlleyneIcon, BanffIcon, CouncilIcon };
@@ -1,11 +1,6 @@
1
- import BarbicanIcon from './barbican'
2
- import ContributorIcon from './contributor'
3
- import OtherIcon from './other'
4
- import PinIcon from './pin'
1
+ import BarbicanIcon from "#icons/snippets/barbican";
2
+ import ContributorIcon from "#icons/snippets/contributor";
3
+ import OtherIcon from "#icons/snippets/other";
4
+ import PinIcon from "#icons/snippets/pin";
5
5
 
6
- export {
7
- BarbicanIcon,
8
- ContributorIcon,
9
- OtherIcon,
10
- PinIcon
11
- }
6
+ export { BarbicanIcon, ContributorIcon, OtherIcon, PinIcon };
@@ -1,10 +1,10 @@
1
- import AirplayIcon from "./airplay.vue";
2
- import CastIcon from "./cast.vue";
3
- import ChatIcon from "./chat.vue";
4
- import CogIcon from "./cog.vue";
5
- import VolumeIcon from "./volume.vue";
6
- import LiveIcon from "./live.vue";
7
- import CloseIcon from "./close.vue";
1
+ import AirplayIcon from "#icons/stream/airplay";
2
+ import CastIcon from "#icons/stream/cast";
3
+ import ChatIcon from "#icons/stream/chat";
4
+ import CogIcon from "#icons/stream/cog";
5
+ import VolumeIcon from "#icons/stream/volume";
6
+ import LiveIcon from "#icons/stream/live";
7
+ import CloseIcon from "#icons/stream/close";
8
8
 
9
9
  export {
10
10
  AirplayIcon,
package/index.js CHANGED
@@ -1,45 +1,45 @@
1
- import BrAlert from "./components/BrAlert.vue";
2
- import BrAnchor from "./components/BrAnchor.vue";
3
- import BrButton from "./components/BrButton.vue";
1
+ import BrAlert from "#components/BrAlert";
2
+ import BrAnchor from "#components/BrAnchor";
3
+ import BrButton from "#components/BrButton";
4
4
 
5
- import BrCard from "./components/BrCard.vue";
6
- import BrCardBody from "./components/BrCardBody.vue";
7
- import BrCardText from "./components/BrCardText.vue";
8
- import BrCardTitle from "./components/BrCardTitle.vue";
9
- import BrCardSubTitle from "./components/BrCardSubTitle.vue";
5
+ import BrCard from "#components/BrCard";
6
+ import BrCardBody from "#components/BrCardBody";
7
+ import BrCardText from "#components/BrCardText";
8
+ import BrCardTitle from "#components/BrCardTitle";
9
+ import BrCardSubTitle from "#components/BrCardSubTitle";
10
10
 
11
- import BrCollapseButton from "./components/BrCollapse/Button.vue";
12
- import BrCollapseContent from "./components/BrCollapse/Content.vue";
11
+ import BrCollapseButton from "#components/BrCollapse/Button";
12
+ import BrCollapseContent from "#components/BrCollapse/Content";
13
13
 
14
- import BrConfirmDone from "./components/BrConfirmDone.vue";
15
- import BrConfirmEmail from "./components/BrConfirmEmail.vue";
14
+ import BrConfirmDone from "#components/BrConfirmDone";
15
+ import BrConfirmEmail from "#components/BrConfirmEmail";
16
16
 
17
- import BrContainer from "./components/BrContainer.vue";
17
+ import BrContainer from "#components/BrContainer";
18
18
 
19
- import BrFooterLower from "./components/BrFooterLower.vue";
20
- import BrFooterUpper from "./components/BrFooterUpper.vue";
19
+ import BrFooterLower from "#components/BrFooterLower";
20
+ import BrFooterUpper from "#components/BrFooterUpper";
21
21
 
22
- import BrFormBlock from "./components/BrFormBlock.vue";
23
- import BrFormCheckbox from "./components/BrFormCheckbox/Component.vue";
24
- import BrFormCheckboxGroup from "./components/BrFormCheckboxGroup/Component.vue";
25
- import BrFormGroup from "./components/BrFormGroup/Component.vue";
26
- import BrFormInput from "./components/BrFormInput/Component.vue";
27
- import BrFormPassword from "./components/BrFormPassword.vue";
28
- import BrFormRadio from "./components/BrFormRadio/Component.vue";
29
- import BrFormRadioGroup from "./components/BrFormRadioGroup/Component.vue";
30
- import BrFormRow from "./components/BrFormRow.vue";
31
- import BrFormTextarea from "./components/BrFormTextarea/Component.vue";
32
- import BrFormUpdate from "./components/BrFormUpdate.vue";
22
+ import BrFormBlock from "#components/BrFormBlock";
23
+ import BrFormCheckbox from "#components/BrFormCheckbox/Component";
24
+ import BrFormCheckboxGroup from "#components/BrFormCheckboxGroup/Component";
25
+ import BrFormGroup from "#components/BrFormGroup/Component";
26
+ import BrFormInput from "#components/BrFormInput/Component";
27
+ import BrFormPassword from "#components/BrFormPassword";
28
+ import BrFormRadio from "#components/BrFormRadio/Component";
29
+ import BrFormRadioGroup from "#components/BrFormRadioGroup/Component";
30
+ import BrFormRow from "#components/BrFormRow";
31
+ import BrFormTextarea from "#components/BrFormTextarea/Component";
32
+ import BrFormUpdate from "#components/BrFormUpdate";
33
33
 
34
- import BrLoader from "./components/BrLoader.vue";
35
- import BrSkiplink from "./components/BrSkiplink.vue";
36
- import BrWrap from "./components/BrWrap.vue";
34
+ import BrLoader from "#components/BrLoader";
35
+ import BrSkiplink from "#components/BrSkiplink";
36
+ import BrWrap from "#components/BrWrap";
37
37
 
38
- import AccountTitle from "./components/AccountTitle.vue";
39
- import EventSummary from "./components/EventSummary.vue";
40
- import FluidIframe from "./components/FluidIframe.vue";
41
- import SeeInside from "./components/SeeInside.vue";
42
- import VideoContent from "./components/VideoContent.vue";
38
+ import AccountTitle from "#components/AccountTitle";
39
+ import EventSummary from "#components/EventSummary";
40
+ import FluidIframe from "#components/FluidIframe";
41
+ import SeeInside from "#components/SeeInside";
42
+ import VideoContent from "#components/VideoContent";
43
43
 
44
44
  export {
45
45
  BrAlert,
package/package.json CHANGED
@@ -86,6 +86,23 @@
86
86
  "focus-visible.min.js",
87
87
  "index.js"
88
88
  ],
89
+ "imports": {
90
+ "#animations/*": [
91
+ "./animations/*.js"
92
+ ],
93
+ "#components/*": [
94
+ "./components/*.vue"
95
+ ],
96
+ "#icons/*": [
97
+ "./icons/*.vue"
98
+ ],
99
+ "#mixins/*": [
100
+ "./mixins/*.js"
101
+ ],
102
+ "#styles/*": [
103
+ "./scss/*.scss"
104
+ ]
105
+ },
89
106
  "exports": {
90
107
  ".": "./index.js",
91
108
  "./animations": "./animations/index.js",
@@ -98,7 +115,7 @@
98
115
  "./scss": "./scss/index.scss",
99
116
  "./scss/helpers": "./scss/helpers/index.scss"
100
117
  },
101
- "main": "./index.js",
118
+ "main": "index.js",
102
119
  "homepage": "https://bitbucket.org/barbicandev/barbican-reset#readme",
103
120
  "license": "MIT",
104
121
  "name": "barbican-reset",
@@ -112,5 +129,5 @@
112
129
  "style:patterns": "cd patterns && gulp build:css",
113
130
  "build:patterns": "cd patterns && rm -rf html && pug views --out html"
114
131
  },
115
- "version": "3.1.0"
132
+ "version": "3.2.0"
116
133
  }
@@ -1,4 +1,4 @@
1
- @media only screen and (max-width: 99px) {
1
+ @media only screen and (max-width: 575px) {
2
2
  .br-alert {
3
3
  font-size: 0.875rem;
4
4
  }
@@ -82,7 +82,7 @@
82
82
  }
83
83
 
84
84
  @mixin br-alert--setup {
85
- @include x-small-down {
85
+ @include small-down {
86
86
  font-size: $font-size-sm;
87
87
  }
88
88
 
@@ -1,4 +1,3 @@
1
- $xsmall: 100;
2
1
  $small: 576;
3
2
  $medium: 768;
4
3
  $large: 992;
@@ -17,18 +16,6 @@ $xxlarge: 1600;
17
16
  }
18
17
  }
19
18
 
20
- @mixin x-small-up {
21
- @include min-width($xsmall) {
22
- @content
23
- }
24
- }
25
-
26
- @mixin x-small-down {
27
- @include max-width($xsmall) {
28
- @content
29
- }
30
- }
31
-
32
19
  @mixin small-down {
33
20
  @include max-width($small) {
34
21
  @content
@@ -41,14 +28,6 @@ $xxlarge: 1600;
41
28
  }
42
29
  }
43
30
 
44
- @mixin small-only {
45
- @include x-small-up {
46
- @include small-down {
47
- @content;
48
- }
49
- }
50
- }
51
-
52
31
  @mixin medium-up {
53
32
  @include min-width($medium) {
54
33
  @content
@@ -1,4 +0,0 @@
1
- import RemoveTicket from "./remove_ticket.vue";
2
- import DotTyping from "./dot_typing.vue";
3
-
4
- export { RemoveTicket, DotTyping };