@policystudio/policy-studio-ui-vue 1.1.54 → 1.1.59

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.
@@ -2591,6 +2591,19 @@ video {
2591
2591
  background-color: rgba(243, 246, 249, var(--bg-opacity));
2592
2592
  }
2593
2593
 
2594
+ .psui-el-table-results.layout-flexible tbody tr.is-active td {
2595
+ padding-top: 9px;
2596
+ padding-bottom: 9px;
2597
+ }
2598
+
2599
+ .psui-el-table-results.layout-flexible tbody tr.is-active td .title {
2600
+ font-size: 14px;
2601
+ line-height: 130%;
2602
+ --text-opacity: 1;
2603
+ color: #798490;
2604
+ color: rgba(121, 132, 144, var(--text-opacity));
2605
+ }
2606
+
2594
2607
  .psui-el-table-results.layout-flexible tbody tr.is-active td:first-child {
2595
2608
  --bg-opacity: 1;
2596
2609
  background-color: #F3F6F9;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.54",
3
+ "version": "1.1.59",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -520,6 +520,15 @@
520
520
 
521
521
  &.is-active {
522
522
  @apply psui-bg-gray-10;
523
+
524
+ td {
525
+ padding-top: 9px;
526
+ padding-bottom: 9px;
527
+
528
+ .title {
529
+ @apply psui-text-small psui-text-gray-50;
530
+ }
531
+ }
523
532
 
524
533
  td:first-child {
525
534
  @apply psui-bg-gray-10;
@@ -229,7 +229,7 @@
229
229
  Show projections in the chart
230
230
  </template>
231
231
  </PsTooltip>
232
- <p v-if="!column.isSwitch">
232
+ <p class="ps-table-cell-value" v-if="!column.isSwitch">
233
233
  <template v-if="column.hasScoreHelper">
234
234
  <PsTooltip
235
235
  layout="blue"
@@ -264,6 +264,7 @@
264
264
  :disabled="item.data.is_disabled"
265
265
  :value="item.data[column.key]"
266
266
  :background-color="switchButtonBackgroundColor"
267
+ :class="{'psui-pointer-events-none':preventClickOnSwitchButtons}"
267
268
  size="small"
268
269
  @change="$emit('switchButtonItemChanged', item)"
269
270
  />
@@ -440,6 +441,10 @@ export default {
440
441
  preventIsDisabledOnItemsValue:{
441
442
  type: Boolean,
442
443
  default: false
444
+ },
445
+ preventClickOnSwitchButtons:{
446
+ type: Boolean,
447
+ default: false
443
448
  }
444
449
  },
445
450
  data: () => ({