@policystudio/policy-studio-ui-vue 1.1.90-beta.44 → 1.1.90-beta.46

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.
@@ -1,6 +1,6 @@
1
1
  @import url("https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Round");
2
2
  /*
3
- ! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
3
+ ! tailwindcss v3.4.7 | MIT License | https://tailwindcss.com
4
4
  */
5
5
  /*
6
6
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
@@ -6071,14 +6071,6 @@ video {
6071
6071
  height: 100%;
6072
6072
  transform: translateX(-50%);
6073
6073
  }
6074
- .psui-el-collapse.disabled .psui-el-collapse-item-header .psui-el-collapse-item-header-wrapper {
6075
- --tw-text-opacity: 1;
6076
- color: rgb(121 132 144/var(--tw-text-opacity));
6077
- }
6078
- .psui-el-collapse.disabled .psui-el-collapse-item-header .psui-el-collapse-item-header-wrapper:hover {
6079
- --tw-text-opacity: 1;
6080
- color: rgb(121 132 144/var(--tw-text-opacity));
6081
- }
6082
6074
  .psui-el-collapse .psui-el-collapse-item-header {
6083
6075
  display: flex;
6084
6076
  }
@@ -6129,6 +6121,10 @@ video {
6129
6121
  --tw-text-opacity: 1;
6130
6122
  color: rgb(49 143 172/var(--tw-text-opacity));
6131
6123
  }
6124
+ .psui-el-collapse .psui-el-collapse-item-header .psui-el-collapse-item-header-wrapper .psui-el-collapse-item-title.disabled {
6125
+ --tw-text-opacity: 1;
6126
+ color: rgb(121 132 144/var(--tw-text-opacity));
6127
+ }
6132
6128
  .psui-el-collapse .psui-el-collapse-item-header .psui-el-collapse-item-header-wrapper .psui-el-collapse-item-header-action {
6133
6129
  visibility: hidden;
6134
6130
  }
@@ -6343,12 +6339,6 @@ video {
6343
6339
  gap: 0.75rem;
6344
6340
  }
6345
6341
 
6346
- .psui-space-x-0 > :not([hidden]) ~ :not([hidden]) {
6347
- --tw-space-x-reverse: 0;
6348
- margin-right: calc(0px * var(--tw-space-x-reverse));
6349
- margin-left: calc(0px * (1 - var(--tw-space-x-reverse)));
6350
- }
6351
-
6352
6342
  .psui-space-x-0\.5 > :not([hidden]) ~ :not([hidden]) {
6353
6343
  --tw-space-x-reverse: 0;
6354
6344
  margin-right: calc(0.125rem * var(--tw-space-x-reverse));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.90-beta.44",
3
+ "version": "1.1.90-beta.46",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -18,13 +18,6 @@
18
18
  }
19
19
 
20
20
 
21
- &.disabled {
22
- .psui-el-collapse-item-header {
23
- .psui-el-collapse-item-header-wrapper {
24
- @apply psui-text-gray-50 hover:psui-text-gray-50;
25
- }
26
- }
27
- }
28
21
 
29
22
  .psui-el-collapse-item-header {
30
23
  @apply psui-flex psui-items-center psui-cursor-pointer;
@@ -40,6 +33,10 @@
40
33
 
41
34
  .psui-el-collapse-item-title {
42
35
  @apply psui-ml-1 psui-text-gray-70 hover:psui-text-blue-60;
36
+
37
+ &.disabled {
38
+ @apply psui-text-gray-50;
39
+ }
43
40
 
44
41
  }
45
42
 
@@ -22,9 +22,9 @@
22
22
  >
23
23
  <span
24
24
  v-if="title"
25
+ class="psui-el-collapse-item-title"
25
26
  :class="[
26
27
  { 'disabled': disabled },
27
- { 'psui-el-collapse-item-title': !disabled },
28
28
  ]"
29
29
  >
30
30
  {{ title }}
@@ -19,9 +19,9 @@
19
19
  <inline-svg
20
20
  v-else
21
21
  :src="icon"
22
- :width="size"
23
- :height="size"
24
- :stroke="getColor"
22
+ :width="width ? width : size"
23
+ :height="height ? height : size"
24
+ :stroke="stroke ? stroke : disableStroke ? null : getColor"
25
25
  :fill="getColor"
26
26
  />
27
27
  </div>
@@ -104,6 +104,18 @@ const props = defineProps({
104
104
  type: String,
105
105
  default: 'more_horiz',
106
106
  },
107
+ disableStroke: {
108
+ type: Boolean,
109
+ default: false,
110
+ },
111
+ width: {
112
+ type: [Number, String],
113
+ default: 24,
114
+ },
115
+ height: {
116
+ type: [Number, String],
117
+ default: 24,
118
+ },
107
119
  })
108
120
 
109
121
  const finishedImageLoad = ref(false)