toggle-components-library 1.36.9-beta.1 → 1.37.0-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.36.9-beta.1",
3
+ "version": "1.37.0-beta.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><svg id="Layer_2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 249.95 53.61"><defs><style>.cls-1{fill:#f9665a;}.cls-2{fill:#4c7210;}.cls-3{fill:#fff;}</style></defs><g id="Layer_1-2"><path class="cls-2" d="M179.97,9.18c1.07-1.03,2.45-1.26,3.71-1.26,4.65,0,7.73,3.04,7.73,9.07v2.29c0,5.52-2.6,9.15-7.73,9.15-1.62,0-2.84-.43-3.71-1.26v.87h-5.52V.82h5.52v8.36ZM185.5,19v-1.74c0-2.92-.63-4.38-2.76-4.38s-2.72,1.3-2.76,3.94v2.17c0,2.6.63,4.46,2.76,4.46,2.45,0,2.76-1.85,2.76-4.46Z"/><path class="cls-2" d="M211.57,28.04h-5.8v-1.54c-.79,1.26-1.7,1.93-4.14,1.93-3.87,0-7.26-1.89-7.26-7.81v-12.31h5.92v11.2c0,2.68.63,3.87,2.6,3.87s2.76-1.1,2.76-3.83v-11.24h5.92v19.72Z"/><path class="cls-2" d="M215.12.82h5.92v19.49c0,2.13.91,2.68,2.49,2.68v5.05c-5.48,0-8.4-1.1-8.4-6.43V.82Z"/><path class="cls-2" d="M243.67,8.31l-6.11,7.97,7.22,11.75h-6.78l-4.26-6.75-1.34,1.74v5.01h-5.92V.82h5.92v13.81l4.34-6.31h6.94Z"/><path class="cls-3" d="M1.02,11.16h2.82v-5.58c0-.56.46-1.02,1.02-1.02h6.96c.56,0,1.02.46,1.02,1.02v5.58h4.38c.56,0,1.02.46,1.02,1.02v5.52c0,.56-.46,1.02-1.02,1.02h-4.38v11.23c0,2.4.66,3.42,2.88,3.42h.26c.56,0,.85.41,1.02,1.02l1.95,5.43c.17.46,0,1.01-.43,1.24-.14.07-.3.11-.47.11h-3.35c-7.33,0-10.87-1.62-10.87-10.09v-12.37H1.02c-.56,0-1.02-.46-1.02-1.02v-5.52c0-.56.46-1.02,1.02-1.02Z"/><path class="cls-3" d="M114.78,1.29c0-.56.4-.94,1.02-1.02l6.96-.27c.56,0,1.02.46,1.02,1.02v28.93c0,2.4.66,3.42,2.88,3.42h.26c.56,0,.85.41,1.02,1.02l1.96,5.46c.17.47-.02,1.01-.47,1.22-.13.06-.28.1-.44.1h-3.35c-7.33,0-10.87-1.62-10.87-10.09V1.29Z"/><path class="cls-3" d="M48.39,27.85c0,8.41-3.96,13.93-13.21,13.93s-13.21-5.52-13.21-13.93v-3.48c0-9.19,4.8-13.81,13.21-13.81s13.21,4.62,13.21,13.81v3.48ZM39.38,27.43v-2.64c0-4.44-.96-6.66-4.2-6.66s-4.2,2.22-4.2,6.66v2.64c0,3.96.48,6.78,4.2,6.78s4.2-2.82,4.2-6.78Z"/><path class="cls-3" d="M70.84,11.57l6.96-.28c.56,0,1.02.46,1.02,1.02v28.93c0,10.81-6.12,12.37-13.45,12.37-5.36,0-8.9-1.14-11.74-4.73-.36-.45-.26-1.12.21-1.46l4.32-3.13c.41-.29.96-.24,1.32.11,1.22,1.18,2.74,1.76,4.69,1.76,4.2,0,5.64-.54,5.64-4.92v-1.2c-1.5,1.14-3.42,1.74-5.64,1.74-7.69,0-11.77-5.52-11.77-13.57v-4.2c0-8.83,4.8-13.45,11.77-13.45,5.24,0,6.57.97,6.66,1.01ZM69.82,28.33v-4.2c0-4.02-1.14-6-4.2-6-3.24,0-4.2,2.22-4.2,6.66v2.64c0,3.96.48,6.78,4.2,6.78,3.42,0,4.2-2.4,4.2-5.88Z"/><path class="cls-3" d="M155.06,36.06c.46.32.58.95.26,1.41-2.16,3.05-5.61,4.32-10.63,4.32-9.49,0-13.57-6.12-13.57-13.57v-4.2c0-9.31,4.8-13.45,12.61-13.45,8.71,0,12.61,4.98,12.61,14.35v2.52c0,.56-.46,1.02-1.02,1.02h-15.19c.12,3.42.96,5.76,4.62,5.76,2.29,0,3.12-.55,3.93-1.5.34-.4.94-.46,1.37-.16l5.01,3.51ZM140.19,22.45h7.15c-.18-3.3-1.44-4.32-3.54-4.32-2.34,0-3.36,1.62-3.6,4.32Z"/><path class="cls-3" d="M108.43,11.29l-6.96.28c-.06-.04-1.42-1.01-6.66-1.01-6.96,0-11.77,4.06-11.77,12.88v.49h9.01c0-3.88,1.03-5.81,4.2-5.81s4.2,1.98,4.2,6v4.2c0,3.48-.78,5.88-4.2,5.88s-4.2-2.08-4.2-5.34h-9.01v.64c0,8.05,4.08,12.26,11.77,12.26,2.22,0,4.14-.6,5.64-1.74v1.2c0,4.38-1.44,4.92-5.64,4.92-1.96,0-3.47-.57-4.69-1.76-.36-.35-.91-.41-1.32-.11l-4.32,3.13c-.47.34-.57,1-.21,1.46,2.84,3.59,6.38,4.73,11.74,4.73,7.33,0,13.45-1.56,13.45-12.37V12.32c0-.56-.46-1.02-1.02-1.02Z"/><rect class="cls-1" x="78.8" y="23.9" width="4.27" height="5.05" transform="translate(161.88 52.85) rotate(180)"/><path class="cls-2" d="M186.58,45.31c0,3.88-1.83,6.43-6.1,6.43s-6.1-2.55-6.1-6.43v-1.61c0-4.24,2.22-6.37,6.1-6.37s6.1,2.13,6.1,6.37v1.61ZM182.43,45.11v-1.22c0-2.05-.44-3.08-1.94-3.08s-1.94,1.03-1.94,3.08v1.22c0,1.83.22,3.13,1.94,3.13s1.94-1.3,1.94-3.13Z"/><path class="cls-2" d="M196.14,41.87c-.25-.42-.64-1-1.44-1-1.19,0-1.88.83-1.88,2.69v7.9h-4.16v-13.86h4.05v1.05c.42-.53,1.33-1.33,2.91-1.33s2.83.78,3.63,2.33l-3.1,2.22Z"/><path class="cls-2" d="M207.56,32.34h4.16v19.12h-4.16v-.61c-.67.55-1.52.89-2.6.89-3.55,0-5.43-2.55-5.43-6.26v-1.94c0-4.07,2.22-6.21,5.43-6.21.97,0,1.86.22,2.6.75v-5.74ZM207.56,45.11v-1.52c0-1.86-.53-2.77-1.94-2.77-1.5,0-1.94,1.03-1.94,3.08v1.22c0,1.83.22,3.13,1.94,3.13s1.94-1.3,1.94-3.13Z"/><path class="cls-2" d="M225.21,49.35c-.97,1.69-2.63,2.38-5.15,2.38-4.38,0-6.26-2.83-6.26-6.26v-1.94c0-4.29,2.22-6.21,5.82-6.21,4.02,0,5.82,2.3,5.82,6.62v1.63h-7.48c.05,1.58.44,2.66,2.13,2.66,1.3,0,1.58-.39,2.08-1.02l3.05,2.13ZM217.98,42.81h3.3c-.08-1.52-.66-2-1.63-2-1.08,0-1.55.75-1.66,2Z"/><path class="cls-2" d="M235.13,41.87c-.25-.42-.64-1-1.44-1-1.19,0-1.88.83-1.88,2.69v7.9h-4.16v-13.86h4.05v1.05c.42-.53,1.33-1.33,2.91-1.33s2.83.78,3.63,2.33l-3.1,2.22Z"/><path class="cls-2" d="M246.68,41.85c-.53-.61-1.08-.97-2.36-.97-.58,0-1.3.11-1.3.72,0,.47.44.69,1.72.94,3.8.72,5.21,2.25,5.21,4.79,0,2.77-1.97,4.41-5.54,4.41-2.83,0-4.66-.61-5.9-2.3l3.21-2.33c.47.64,1.03,1.08,2.6,1.08.92,0,1.47-.25,1.47-.75,0-.53-.47-.72-1.77-1-3.13-.69-5.15-1.97-5.15-4.68s2-4.43,5.54-4.43c2.27,0,4.27.53,5.35,2.3l-3.08,2.22Z"/></g></svg>
@@ -1,19 +1,26 @@
1
1
  <template>
2
2
  <div class="toggle-breadcrumb" v-if="breadcrumb_computed">
3
3
  <div v-for="(crumb, index) in breadcrumb_computed" :key="index">
4
- <router-link :to="{ name: crumb.link}" class="back-product" v-if="crumb.link && !isNuxt">{{ crumb.name }}</router-link>
5
- <NuxtLink :to="{ name: crumb.link}" class="back-product" v-if="crumb.link && isNuxt">{{ crumb.name }}</NuxtLink>
6
- <i class="toggle-breadcrumb-arrow-right" v-if="crumb.link"></i>
7
- <h1 class="toggle-breadcrumb-h1" v-if="!crumb.link">{{ crumb.name }}</h1>
4
+ <template v-if="index === breadcrumb_computed.length - 1 && editable">
5
+ <input
6
+ class="toggle-breadcrumb-editable-input"
7
+ v-model="crumb.name"
8
+ maxlength="50"
9
+ @input="autoResizeInput($event.target); updateContent($event);"
10
+ />
11
+ </template>
12
+ <template v-else>
13
+ <router-link :to="{ name: crumb.link}" class="back-product" v-if="crumb.link && !isNuxt">{{ crumb.name }}</router-link>
14
+ <NuxtLink :to="{ name: crumb.link}" class="back-product" v-if="crumb.link && isNuxt">{{ crumb.name }}</NuxtLink>
15
+ <i class="toggle-breadcrumb-arrow-right" v-if="crumb.link"></i>
16
+ <h1 class="toggle-breadcrumb-h1" v-if="!crumb.link">{{ crumb.name }}</h1>
17
+ </template>
8
18
  </div>
9
19
  </div>
10
20
  </template>
11
21
 
12
22
  <script>
13
-
14
-
15
23
  export default {
16
-
17
24
  mixins: [],
18
25
  props: {
19
26
  isNuxt: {
@@ -23,21 +30,31 @@ export default {
23
30
  breadcrumb: {
24
31
  type: Array,
25
32
  required: false
33
+ },
34
+ editable: {
35
+ type: Boolean,
36
+ default: false
26
37
  }
27
38
  },
28
39
 
29
40
  data: function () {
30
-
31
-
32
41
  return {};
33
42
  },
34
43
 
35
44
  computed: {
36
-
37
45
  breadcrumb_computed() {
38
- return this.isNuxt ? this.breadcrumb : this.$route.meta.breadcrumb
46
+ return this.isNuxt ? this.breadcrumb : this.$route.meta.breadcrumb
39
47
  },
40
- }
48
+ },
41
49
 
50
+ methods: {
51
+ autoResizeInput(input) {
52
+ input.style.width = input.value.length * 11 + "px";
53
+ },
54
+ updateContent(event) {
55
+ const newContent = event.target.value;
56
+ this.$emit('update:lastCrumb', newContent);
57
+ }
58
+ }
42
59
  }
43
60
  </script>
@@ -3,7 +3,8 @@
3
3
 
4
4
 
5
5
 
6
- <div class="toggle-input-container" :class="{'toggle-input-is-invalid':isInvalid }" v-on:click="focusClosestInput">
6
+ <div class="toggle-input-container" :class="{'toggle-input-is-invalid':isInvalid, 'toggle-input-is-disabled':disabled }" v-on:click="focusClosestInput">
7
+
7
8
  <label
8
9
  v-if="label"
9
10
  :for="name ? name : 'InputText' "
@@ -16,6 +17,7 @@
16
17
  :placeholder="placeholder ? placeholder : '' "
17
18
  :autocomplete="autocomplete ? 'on' : 'off' "
18
19
  :required="required"
20
+ :disabled="disabled"
19
21
  v-model="inputVal"
20
22
  @blur="isInputActive = false"
21
23
  @focus="isInputActive = true"
@@ -91,8 +93,13 @@ export default {
91
93
  currencyDenomination: {
92
94
  type: Number,
93
95
  default: 100
94
- }
95
-
96
+ },
97
+ disabled: {
98
+ type: Boolean,
99
+ required: false,
100
+ default: false
101
+
102
+ },
96
103
  },
97
104
 
98
105
  created : function(){
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- <div class="toggle-input-container" :class="{'toggle-input-is-invalid':isInvalid }" v-on:click="focusClosestInput">
6
+ <div class="toggle-input-container" :class="{'toggle-input-is-invalid':isInvalid, 'toggle-input-is-disabled':disabled }" v-on:click="focusClosestInput">
7
7
  <label
8
8
  v-if="label"
9
9
  :for="name ? name : 'ToggleInputNumber' "
@@ -20,6 +20,7 @@
20
20
  @blur="isInputActive = false"
21
21
  @focus="isInputActive = true"
22
22
  :pattern="pattern"
23
+ :disabled="disabled"
23
24
  />
24
25
  <label
25
26
  class="toggle-input-label-error"
@@ -90,7 +91,12 @@ export default {
90
91
  pattern: {
91
92
  type:String,
92
93
  default:"\\d*"
93
- }
94
+ },
95
+ disabled: {
96
+ type: Boolean,
97
+ required: false,
98
+ default: false
99
+ },
94
100
  },
95
101
 
96
102
  created : function(){
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
 
3
- <div class="toggle-input-container" :class="{'toggle-input-is-invalid':isInvalid }" v-on:click="focusClosestInput">
3
+ <div class="toggle-input-container" :class="{'toggle-input-is-invalid':isInvalid, 'toggle-input-is-disabled':disabled }" v-on:click="focusClosestInput">
4
4
 
5
5
  <label
6
6
  v-if="label"
@@ -14,6 +14,7 @@
14
14
  :placeholder="placeholder ? placeholder : '' "
15
15
  :autocomplete="autocomplete ? 'on' : 'off' "
16
16
  :required="required"
17
+ :disabled="disabled"
17
18
  v-model="inputVal"
18
19
  @blur="isInputActive = false"
19
20
  @focus="isInputActive = true"
@@ -77,6 +78,11 @@ export default {
77
78
  allowFloat: {
78
79
  type: Boolean,
79
80
  default: false
81
+ },
82
+ disabled: {
83
+ type: Boolean,
84
+ required: false,
85
+ default: false
80
86
  }
81
87
  },
82
88
 
@@ -0,0 +1,38 @@
1
+ <template>
2
+ <div>
3
+ <label :class="['toggle-input-radio-button-mini-switch', {'toggle-input-radio-button-mini-switch-disabled': disabled}]">
4
+ <input type="checkbox" :value="value" v-model="value" :disabled="disabled">
5
+ <span :class="['toggle-input-radio-button-mini-slider', {'toggle-input-radio-button-mini-slider-disabled': disabled}]">
6
+ <span class="toggle-input-radio-button-mini-text-on">On</span>
7
+ <span class="toggle-input-radio-button-mini-text-off">Off</span>
8
+ </span>
9
+ </label>
10
+ </div>
11
+ </template>
12
+
13
+ <script>
14
+ export default {
15
+ name: 'ToggleInputRadioButtonMini',
16
+ props: {
17
+ disabled: {
18
+ type: Boolean,
19
+ default: false
20
+ }
21
+ },
22
+ computed: {
23
+ value: {
24
+ get() {
25
+ return this.$attrs.value
26
+ },
27
+ set(value) {
28
+ this.$emit('input', value)
29
+ }
30
+ }
31
+ },
32
+ watch: {
33
+ value: function (val) {
34
+ this.$emit('input', val)
35
+ }
36
+ }
37
+ }
38
+ </script>
@@ -1,16 +1,16 @@
1
1
  <template>
2
2
 
3
3
  <div class="toggle-input-container" :class="{'toggle-input-is-invalid':isInvalid, 'toggle-input-is-disabled':disabled}" v-on:click="focusClosestInput">
4
- <label
4
+ <label
5
5
  v-if="label"
6
- :for="name ? name : 'InputText' "
6
+ :for="name ? name : 'InputText' "
7
7
  class="toggle-input-label"
8
- > {{ label }}
8
+ > {{ label }}
9
9
  </label>
10
10
  <span class="toggle-input-counter" v-if="maxLength">{{messageLength(inputVal, maxLength)}}</span>
11
11
  <input
12
12
  :type="type"
13
- :name="name ? name : 'ToggleInputText' "
13
+ :name="name ? name : 'ToggleInputText' "
14
14
  :class="[ 'toggle-input', size]"
15
15
  :placeholder="placeholder ? placeholder : '' "
16
16
  :autocomplete="autocomplete ? 'on' : 'off' "
@@ -21,7 +21,7 @@
21
21
  :readonly="readonly"
22
22
  />
23
23
  <label
24
- class="toggle-input-label-error"
24
+ class="toggle-input-label-error"
25
25
  v-if="isInvalid"
26
26
  :for="name ? name : 'ToggleInputText' "
27
27
  >
@@ -103,8 +103,6 @@ export default {
103
103
  }
104
104
  },
105
105
 
106
- created : function(){
107
- },
108
106
  computed: {
109
107
  inputVal: {
110
108
  get: function (){
@@ -0,0 +1,74 @@
1
+ <template>
2
+ <div :class="['toggle-status-bar-container', statusColours, statusSize]">
3
+ <span class="toggle-status-bar-dot blinking toggle-status-bar-label" v-if="showDot">&#9679;</span>
4
+ <label class="toggle-status-bar-label">
5
+ {{ statusName }}
6
+ </label>
7
+
8
+ <div class="toggle-status-bar-tooltip-container" v-if="showToolTip && toolTipText.length">
9
+ <div class="toggle-status-bar-tooltip">
10
+ ?
11
+ <span class="toggle-status-bar-tooltip-text">{{ toolTipText }}</span>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </template>
16
+
17
+ <script>
18
+ export default {
19
+ name: 'StatusBar',
20
+ props: {
21
+ status: {
22
+ type: String,
23
+ required: true,
24
+ validator: function (value) {
25
+ return ['draft', 'processing', 'complete', 'inactive', 'active', 'submitted', 'failed'].indexOf(value) !== -1;
26
+ }
27
+ },
28
+ size: {
29
+ type: String,
30
+ required: false,
31
+ default: 'regular',
32
+ validator: function (value) {
33
+ return ['small', 'regular'].indexOf(value) !== -1;
34
+ }
35
+ },
36
+ toolTipOptions: {
37
+ type: Object,
38
+ required: false
39
+ }
40
+ },
41
+ computed: {
42
+ // Capitalise the first letter of the status
43
+ statusName() {
44
+ return this.status.charAt(0).toUpperCase() + this.status.slice(1);
45
+ },
46
+ // Add the status to the class name
47
+ statusColours() {
48
+ return 'toggle-status-bar-' + this.status;
49
+ },
50
+ // Add the size to the class name
51
+ statusSize() {
52
+ return 'toggle-status-bar-' + this.size;
53
+ },
54
+ // Show the dot if the status is active or processing
55
+ showDot() {
56
+ return this.status === 'active' || this.status === 'processing' || this.status === 'submitted';
57
+ },
58
+ showToolTip() {
59
+ return this.size == 'regular';
60
+ },
61
+ toolTipText() {
62
+ if (!this.toolTipOptions) {
63
+ return '';
64
+ }
65
+
66
+ if (this.toolTipOptions[this.status]) {
67
+ return this.toolTipOptions[this.status];
68
+ } else {
69
+ return '';
70
+ }
71
+ }
72
+ }
73
+ }
74
+ </script>
package/src/index.js CHANGED
@@ -8,6 +8,7 @@ import ToggleInputSelect from "./components/forms/ToggleInputSelect.vue";
8
8
  import ToggleInputPercentage from "./components/forms/ToggleInputPercentage.vue";
9
9
  import ToggleInputCurrency from "./components/forms/ToggleInputCurrency.vue";
10
10
  import ToggleInputRadioButtons from "./components/forms/ToggleInputRadioButtons.vue";
11
+ import ToggleInputRadioButtonMini from "./components/forms/ToggleInputRadioButtonMini.vue";
11
12
  import ToggleInputTextArea from "./components/forms/ToggleInputTextArea.vue";
12
13
  import ToggleInputCheckboxContainer from "./components/forms/ToggleInputCheckboxContainer.vue";
13
14
  import ToggleInternationalPhoneInputSelect from "./components/forms/ToggleInternationalPhoneInputSelect.vue";
@@ -43,7 +44,6 @@ import ToggleTableColumn from './components/tables/ToggleTableColumn.vue';
43
44
  import ToggleBadge from './components/badges/ToggleBadge.vue';
44
45
  import ToggleCalculateBadge from './components/badges/ToggleCalculateBadge.vue';
45
46
  import TogglePodiumBadge from './components/badges/TogglePodiumBadge.vue';
46
- import ToggleLogoBadge from './components/badges/ToggleLogoBadge.vue';
47
47
 
48
48
  import ToggleBreadCrumb from './components/breadcrumb/ToggleBreadCrumb.vue';
49
49
  import ToggleSideNavItem from './components/navs/sidenav/ToggleSideNavItem.vue';
@@ -83,6 +83,8 @@ import ToggleMetricFunnelChart from "./components/metrics/ToggleMetricFunnelChar
83
83
  import ToggleThreeDots from "./components/threedots/ToggleThreeDots.vue";
84
84
  import ToggleThreeDotsButton from "./components/threedots/ToggleThreeDotsButton.vue";
85
85
 
86
+ import ToggleStatusBar from "./components/statusbar/ToggleStatusBar.vue";
87
+
86
88
  import ToggleCarousel from "./components/carousel/ToggleCarousel.vue";
87
89
  import ToggleCarouselSlide from "./components/carousel/ToggleCarouselSlide.vue";
88
90
 
@@ -102,7 +104,6 @@ const Components = {
102
104
  ToggleBadge,
103
105
  ToggleCalculateBadge,
104
106
  TogglePodiumBadge,
105
- ToggleLogoBadge,
106
107
  ToggleTableColumn,
107
108
  ToggleInputText,
108
109
  ToggleInputEditableText,
@@ -112,6 +113,7 @@ const Components = {
112
113
  ToggleInputPercentage,
113
114
  ToggleInputCurrency,
114
115
  ToggleInputRadioButtons,
116
+ ToggleInputRadioButtonMini,
115
117
  ToggleInputTextArea,
116
118
  ToggleInputCheckboxContainer,
117
119
  ToggleInputCheckbox,
@@ -161,6 +163,7 @@ const Components = {
161
163
  ToggleBoosterBasicButton,
162
164
  ToggleBoosterModal,
163
165
  ToggleContactSearch,
166
+ ToggleStatusBar,
164
167
  ToggleCarousel,
165
168
  ToggleCarouselSlide,
166
169
  ToggleEmailCard,
@@ -228,53 +228,4 @@
228
228
  width: 22px;
229
229
  margin-right: 15px;
230
230
  }
231
- }
232
-
233
- .toggle-logo-badge-small {
234
- border: 0;
235
- font-family: $toggle-font-family;
236
- width: fit-content;
237
- font-weight: bold;
238
- display: grid;
239
- padding: 0.3rem;
240
- border-radius: 0.6rem;
241
- align-items: center;
242
- justify-content: center;
243
- }
244
-
245
- .toggle-logo-badge-medium {
246
- border: 0;
247
- font-family: $toggle-font-family;
248
- width: fit-content;
249
- font-weight: bold;
250
- display: grid;
251
- padding: 0.3rem;
252
- border-radius: 0.6rem;
253
- align-items: center;
254
- justify-content: center;
255
- }
256
-
257
- .toggle-logo-badge-large {
258
- border: 0;
259
- font-family: $toggle-font-family;
260
- width: fit-content;
261
- font-weight: bold;
262
- display: grid;
263
- padding: 0.3rem;
264
- border-radius: 0.6rem;
265
- align-items: center;
266
- justify-content: center;
267
- }
268
-
269
- .toggle-logo-badge-small > img {
270
-
271
- }
272
-
273
- .toggle-logo-badge-medium > img {
274
- width: 100%;
275
- height: 1.1rem;
276
- }
277
-
278
- .toggle-logo-badge-large > img {
279
-
280
231
  }
@@ -29,6 +29,10 @@
29
29
  background-color: $booster-feedback-colour-med;
30
30
  }
31
31
 
32
+ &.bulkOrders{
33
+ background-color: $booster-bulk-order-colour-med;
34
+ }
35
+
32
36
  &.test{
33
37
  background-color: $booster-test-colour-light;
34
38
  }
@@ -83,6 +87,10 @@
83
87
  }
84
88
  }
85
89
 
90
+ &.bulkOrders{
91
+ background-color: rgba($booster-bulk-order-colour-light, 0.8);
92
+ }
93
+
86
94
  &.test{
87
95
  background-color: rgba($booster-test-colour-med, 0.8);
88
96
  &:hover{
@@ -132,6 +140,10 @@
132
140
  color: $booster-tickets-colour-med;
133
141
  }
134
142
 
143
+ &.bulkOrders{
144
+ color: $booster-bulk-order-colour-med;
145
+ }
146
+
135
147
  &.test{
136
148
  color: $booster-test-colour-light;
137
149
  }
@@ -182,6 +194,10 @@ margin:1rem
182
194
  background-color: $booster-feedback-colour-med;
183
195
  }
184
196
 
197
+ &.bulkOrders{
198
+ background-color: $booster-bulk-order-colour-med;
199
+ }
200
+
185
201
  &.test{
186
202
  background-color: $booster-test-colour-light;
187
203
  }
@@ -10,6 +10,37 @@
10
10
 
11
11
  }
12
12
 
13
+ .toggle-breadcrumb-editable-input {
14
+ font-size: $toggle-font-size-extra-large;
15
+ font-family: "DIN-2014","Lato",sans-serif;
16
+ color: $toggle-black;
17
+ background-color: transparent;
18
+ display: inline-flex;
19
+ align-items: center;
20
+ min-width: 10rem !important;
21
+ max-width: 31rem !important;
22
+ height: 2rem;
23
+ width: 15rem;
24
+ padding-right: 0.5rem;
25
+ border: none;
26
+ border-radius: 4px;
27
+ white-space: nowrap;
28
+ overflow: hidden;
29
+ line-height: 1;
30
+ border: 1px solid transparent;
31
+ margin: -1px 0 0 0;
32
+ }
33
+ .toggle-breadcrumb-editable-input:hover {
34
+ border: 1px solid #ccc;
35
+ background-color: $toggle-off-white;
36
+ }
37
+
38
+ .toggle-breadcrumb-editable-input:focus {
39
+ border: 1px solid #ccc;
40
+ outline: none;
41
+ }
42
+
43
+
13
44
  a {
14
45
 
15
46
  font-size: $toggle-font-size-extra-large;
@@ -237,6 +237,11 @@
237
237
  opacity: 0.7 !important;
238
238
  }
239
239
 
240
+ .calendar-icon-disabled {
241
+ cursor: default;
242
+ opacity: 0.5;
243
+ }
244
+
240
245
  .toggle-input-select-container{
241
246
  position:relative;
242
247
  background-color: $toggle-dark-grey;
@@ -1213,4 +1218,83 @@ $iconWidth:20px;
1213
1218
  .drop-down-leave-to {
1214
1219
  overflow: hidden;
1215
1220
  max-height: 0;
1221
+ }
1222
+
1223
+ // Radio button mini
1224
+
1225
+ .toggle-input-radio-button-mini-switch {
1226
+ position: relative;
1227
+ display: inline-block;
1228
+ width: 52px;
1229
+ height: 28px;
1230
+ }
1231
+
1232
+ .toggle-input-radio-button-mini-switch input {
1233
+ opacity: 0;
1234
+ width: 0;
1235
+ height: 0;
1236
+ }
1237
+
1238
+ .toggle-input-radio-button-mini-slider {
1239
+ position: absolute;
1240
+ cursor: pointer;
1241
+ top: 0;
1242
+ left: 0;
1243
+ right: 0;
1244
+ bottom: 0;
1245
+ background-color: #ccc;
1246
+ -webkit-transition: .4s;
1247
+ transition: .4s;
1248
+ display: flex;
1249
+ align-items: center;
1250
+ border-radius: 34px;
1251
+ }
1252
+
1253
+ .toggle-input-radio-button-mini-slider:before {
1254
+ position: absolute;
1255
+ content: "";
1256
+ height: 22px;
1257
+ width: 22px;
1258
+ left: 4px;
1259
+ bottom: 3px;
1260
+ background-color: white;
1261
+ -webkit-transition: .4s;
1262
+ transition: .4s;
1263
+ border-radius: 50%;
1264
+ }
1265
+
1266
+ input:checked + .toggle-input-radio-button-mini-slider {
1267
+ background-color: #2196F3;
1268
+ }
1269
+
1270
+ input:focus + .toggle-input-radio-button-mini-slider {
1271
+ box-shadow: 0 0 1px #2196F3;
1272
+ }
1273
+
1274
+ input:checked + .toggle-input-radio-button-mini-slider:before {
1275
+ -webkit-transform: translateX(22px);
1276
+ -ms-transform: translateX(22px);
1277
+ transform: translateX(22px);
1278
+ }
1279
+
1280
+ .toggle-input-radio-button-mini-text-on {
1281
+ font-family: $toggle-font-family;
1282
+ font-size: 12px;
1283
+ color: #ffffff;
1284
+ margin-left: 7px;
1285
+ }
1286
+ .toggle-input-radio-button-mini-text-off {
1287
+ font-family: $toggle-font-family;
1288
+ font-size: 12px;
1289
+ color: #3A4A62;
1290
+ margin-left: 6px;
1291
+ }
1292
+ .toggle-input-radio-button-mini-switch-disabled {
1293
+ cursor: default !important;
1294
+ opacity: 0.5;
1295
+ }
1296
+
1297
+ .toggle-input-radio-button-mini-slider-disabled {
1298
+ cursor: default !important;
1299
+ opacity: 0.5;
1216
1300
  }