@policystudio/policy-studio-ui-vue 1.1.67 → 1.1.68

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": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.67",
3
+ "version": "1.1.68",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -273,21 +273,24 @@
273
273
  />
274
274
 
275
275
  <div
276
- v-if="column.isSwitch && item.data[column.key] != null"
276
+ v-if="column.isSwitch && item.data[column.key] != null"
277
+ class="psui-inline-flex"
277
278
  v-tooltip="{
278
- content: !item.data.is_disabled || item.is_excluded ? false : item.tooltip_text,
279
+ content: !item.data.is_disabled || item.is_excluded ? false : `<p class='psui-text-white psui-text-xsmall'>${item.tooltip_text}</p>`,
279
280
  classes: 'layout-blue'
280
281
  }"
281
282
  >
282
- <PsSwitch
283
- :disabled="item.data.is_disabled"
284
- :value="item.data[column.key]"
285
- :background-color="switchButtonBackgroundColor"
286
- class="psui-justify-self-center"
287
- :class="{'psui-pointer-events-none':preventClickOnSwitchButtons}"
288
- size="small"
289
- @change="$emit('switchButtonItemChanged', item)"
290
- />
283
+ <div class="flex psui-items-center psui-relative">
284
+ <PsSwitch
285
+ :disabled="item.data.is_disabled"
286
+ :value="item.data[column.key]"
287
+ :background-color="switchButtonBackgroundColor"
288
+ class="psui-justify-self-center"
289
+ :class="{'psui-pointer-events-none':preventClickOnSwitchButtons}"
290
+ size="small"
291
+ @change="$emit('switchButtonItemChanged', item)"
292
+ />
293
+ </div>
291
294
  </div>
292
295
  </div>
293
296