@policystudio/policy-studio-ui-vue 1.2.0-access.52 → 1.2.0-access.54

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.
@@ -3160,7 +3160,7 @@ video {
3160
3160
  }
3161
3161
  .psui-el-card-infos-title {
3162
3162
  --tw-text-opacity: 1;
3163
- color: rgb(162, 172, 183, var(--tw-text-opacity, 1));
3163
+ color: rgb(40, 50, 59, var(--tw-text-opacity, 1));
3164
3164
  }
3165
3165
  .psui-el-card-infos-content {
3166
3166
  display: flex;
@@ -3178,6 +3178,10 @@ video {
3178
3178
  font-size: 16px;
3179
3179
  line-height: 24px;
3180
3180
  }
3181
+ .psui-el-card-infos-content {
3182
+ --tw-text-opacity: 1;
3183
+ color: rgb(40, 50, 59, var(--tw-text-opacity, 1));
3184
+ }
3181
3185
  .psui-el-card-infos-icon {
3182
3186
  margin-right: 0.25rem;
3183
3187
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.2.0-access.52",
3
+ "version": "1.2.0-access.54",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -14,11 +14,11 @@
14
14
  }
15
15
 
16
16
  &-title {
17
- @apply psui-flex psui-text-xsmall psui-text-gray-40 psui-mb-1;
17
+ @apply psui-flex psui-text-xsmall psui-text-gray-80 psui-mb-1;
18
18
  }
19
19
 
20
20
  &-content {
21
- @apply psui-w-full psui-flex psui-justify-end psui-items-center psui-text-16;
21
+ @apply psui-w-full psui-flex psui-justify-end psui-items-center psui-text-16 psui-text-gray-80;
22
22
  }
23
23
 
24
24
  &-icon {
@@ -57,14 +57,14 @@ defineProps({
57
57
  */
58
58
  titleClass: {
59
59
  type: String,
60
- default: 'psui-text-gray-60 psui-font-bold',
60
+ default: 'psui-text-gray-80 psui-font-bold',
61
61
  },
62
62
  /**
63
63
  * It sets the class for the subtitle text (color, font-weight, font-size, etc.).
64
64
  */
65
65
  subtitleClass: {
66
66
  type: String,
67
- default: 'psui-text-gray-40 psui-font-bold',
67
+ default: 'psui-text-gray-80',
68
68
  },
69
69
  /**
70
70
  * It sets the class for the total text (color, font-weight, font-size, etc.).
@@ -2,7 +2,8 @@
2
2
  <div class="psui-el-dropdown-menu">
3
3
  <div
4
4
  ref="PSDropdownTrigger"
5
- @click="toggle"
5
+ @click.stop="toggle"
6
+ @keydown.enter.stop="toggle"
6
7
  >
7
8
  <slot
8
9
  v-if="hasDropdownTrigger"
@@ -124,7 +125,7 @@ const focusFirstElement = async () => {
124
125
  await nextTick()
125
126
  if (PSDropdownFloating.value) {
126
127
  const focusable = PSDropdownFloating.value.querySelector(
127
- 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])',
128
+ 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), [role="combobox"], [tabindex="0"]',
128
129
  )
129
130
  focusable?.focus()
130
131
  }
@@ -4,6 +4,7 @@
4
4
  :style="{ display: display }"
5
5
  tabindex="0"
6
6
  @click="emit('click', $event)"
7
+ @keydown="emit('keydown',$event)"
7
8
  >
8
9
  <span
9
10
  v-if="getIconType === 'material-icons'"
@@ -124,7 +125,7 @@ const props = defineProps({
124
125
  const finishedImageLoad = ref(false)
125
126
  const imageLoadError = ref(false)
126
127
 
127
- const emit = defineEmits(['click'])
128
+ const emit = defineEmits(['click','keydown'])
128
129
 
129
130
  const getIconType = computed(() => {
130
131
  if (props.type) return props.type