barbican-reset 2.44.0 → 2.46.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.
@@ -5,12 +5,13 @@
5
5
  @change="(event) => emitInputData(event, 'checkbox')"
6
6
  :data-test="dataTest"
7
7
  :disabled="disabled"
8
- :checked="checked"
9
8
  :success="success"
9
+ :checked="checked"
10
10
  :id="generateID"
11
11
  type="checkbox"
12
12
  :table="table"
13
13
  :value="value"
14
+ :name="name"
14
15
  />
15
16
  <label v-if="$slots.default" :for="generateID" ref="label"><slot /></label>
16
17
  </div>
@@ -29,6 +30,7 @@ export default {
29
30
  "toggle",
30
31
  "table",
31
32
  "value",
33
+ "name",
32
34
  "id",
33
35
  ],
34
36
  };
@@ -1,12 +1,14 @@
1
1
  <template>
2
2
  <div role="group" :id="id">
3
3
  <br-form-checkbox
4
- v-for="({ value, checked, text }, index) in options"
4
+ v-for="({ value, checked, text, name, dataTest }, index) in options"
5
5
  @change="emitCheckboxGroupData"
6
+ :dataTest="dataTest"
6
7
  :checked="checked"
7
8
  :value="value"
8
9
  :name="name"
9
- :key="index">
10
+ :key="index"
11
+ >
10
12
  {{ text }}
11
13
  </br-form-checkbox>
12
14
  </div>
@@ -14,18 +16,18 @@
14
16
 
15
17
  <script>
16
18
  import mixins from "../../mixins/inputs";
17
- import BrFormCheckbox from "../BrFormCheckbox/Component"
19
+ import BrFormCheckbox from "../BrFormCheckbox/Component";
18
20
 
19
21
  export default {
20
22
  mixins: [mixins],
21
- props: ['options', 'name', 'id', 'model'],
23
+ props: ["options", "name", "id", "model"],
22
24
  components: {
23
25
  BrFormCheckbox,
24
26
  },
25
27
  data() {
26
28
  return {
27
29
  store: this.model,
28
- }
30
+ };
29
31
  },
30
- }
32
+ };
31
33
  </script>
@@ -2,7 +2,7 @@
2
2
  <div class="br-form-password">
3
3
  <input
4
4
  :autocomplete="autocomplete"
5
- data-test="password-field"
5
+ :data-test="dataTest"
6
6
  @input="inputChange"
7
7
  :value="password"
8
8
  name="password"
@@ -46,6 +46,10 @@ export default {
46
46
  type: String,
47
47
  default: "password",
48
48
  },
49
+ dataTest: {
50
+ type: String,
51
+ default: "password-field",
52
+ }
49
53
  },
50
54
  methods: {
51
55
  inputChange({ target }) {
@@ -2,8 +2,8 @@
2
2
  <div class="br-form-row">
3
3
  <label v-if="label" :for="id">
4
4
  <strong>{{ label }}</strong>
5
- <span v-if="label && required">(required)</span
6
- ><span v-if="label && optional">(optional)</span>
5
+ <span v-if="label && required">&nbsp;(required)</span
6
+ ><span v-if="label && optional">&nbsp;(optional)</span>
7
7
  </label>
8
8
  <div :class="[`content`, { editable }, { label }, { submit }, { radios }]">
9
9
  <br-button v-if="editable" variant="input-edit" @click="$emit('edit')">
@@ -4,20 +4,24 @@
4
4
  class="br-textarea form-control"
5
5
  :placeholder="placeholder"
6
6
  wrap="soft"
7
- :id="id"></textarea>
7
+ :id="id"
8
+ ></textarea>
8
9
  </template>
9
10
 
10
11
  <script>
11
- import mixins from '../../mixins/inputs'
12
+ import mixins from "../../mixins/inputs";
12
13
 
13
14
  export default {
14
15
  mixins: [mixins],
15
- props: ['id', 'value', 'disabled', 'placeholder'],
16
- }
16
+ props: ["id", "value", "disabled", "placeholder"],
17
+ };
17
18
  </script>
18
19
 
19
20
  <style lang="scss" scoped>
20
21
  .br-textarea {
22
+ font-family: inherit;
23
+ display: block;
21
24
  resize: none;
25
+ width: 100%;
22
26
  }
23
27
  </style>