@policystudio/policy-studio-ui-vue 1.0.74 → 1.0.75

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.
@@ -19,7 +19,7 @@ jobs:
19
19
  id: check
20
20
  with:
21
21
  token: ${{ secrets.GITHUB_TOKEN }}
22
- file-url: https://unpkg.com/@policystudio/policy-studio-ui-vue@latest/package.json
22
+ file-url: https://cdn.jsdelivr.net/npm/@policystudio/policy-studio-ui-vue@latest/package.json
23
23
  static-checking: localIsNew
24
24
 
25
25
  - name: Version update detected
@@ -18659,6 +18659,11 @@ html {
18659
18659
  position: relative;
18660
18660
  }
18661
18661
 
18662
+ .psui-el-table-results tbody tr td .actions-button {
18663
+ cursor: pointer;
18664
+ margin-left: 0.25rem;
18665
+ }
18666
+
18662
18667
  .psui-el-table-results tbody tr td:not(:first-child) > div {
18663
18668
  justify-content: flex-end;
18664
18669
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.0.74",
3
+ "version": "1.0.75",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -77,6 +77,10 @@
77
77
 
78
78
  .actions {
79
79
  @apply .psui-flex .psui-items-center .psui-h-full .psui-relative;
80
+
81
+ &-button {
82
+ @apply .psui-cursor-pointer .psui-ml-1;
83
+ }
80
84
  }
81
85
 
82
86
  &:not(:first-child) {
@@ -18,6 +18,7 @@
18
18
  :placeholder="placeholder"
19
19
  :disabled="disabled"
20
20
  :value="value"
21
+ :step="step"
21
22
  :min="minValue"
22
23
  :max="maxValue"
23
24
  @focus="onInputFocus"
@@ -107,11 +108,15 @@ export default {
107
108
  type: Boolean,
108
109
  default: false
109
110
  },
111
+
110
112
  minValue: {
111
113
  type: Number
112
114
  },
113
115
  maxValue: {
114
116
  type: Number
117
+ },
118
+ step:{
119
+ type: Number
115
120
  }
116
121
  },
117
122
  data: () => ({
@@ -25,13 +25,13 @@
25
25
  <div
26
26
  class="actions psui-space-x-3"
27
27
  :class="{ 'psui-ml-8' : item.type == 'study_data' }"
28
- :style="{ paddingLeft: `${item.deep * 20}px` }"
28
+ :style="{ paddingLeft: `${(item.last_deep) ? item.deep * 29 : item.deep * 16}px` }"
29
29
  >
30
30
  <PsIcon
31
31
  v-if="!item.last_deep || item.type === 'total'"
32
32
  icon="expand_more"
33
33
  size="24"
34
- class="psui-cursor-pointer psui-transform psui-transition"
34
+ class="actions-button psui-transition psui-transform"
35
35
  :icon-classes="getIconClasses(item)"
36
36
  :style="{ display: 'flex' }"
37
37
  :class="checkRowIsVisible(item) ? 'psui-rotate-0' : 'psui--rotate-90'"