@policystudio/policy-studio-ui-vue 1.1.90-access.2 → 1.1.90-access.3

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.
@@ -526,6 +526,14 @@ video {
526
526
  position: relative;
527
527
  display: inline-flex;
528
528
  }
529
+ .psui-el-chips:focus {
530
+ outline: none;
531
+ }
532
+ .psui-el-chips:focus-visible {
533
+ outline: 2px solid #2563EB;
534
+ outline-offset: 2px;
535
+ border-radius: 6px;
536
+ }
529
537
  .psui-el-chips-icon {
530
538
  font-family: "Material Icons Round";
531
539
  font-weight: normal;
@@ -3283,6 +3291,14 @@ video {
3283
3291
  --tw-text-opacity: 1;
3284
3292
  color: rgb(121, 132, 144, var(--tw-text-opacity, 1));
3285
3293
  }
3294
+ .psui-el-checkbox:focus {
3295
+ outline: none;
3296
+ }
3297
+ .psui-el-checkbox:focus-visible {
3298
+ outline: 2px solid #2563EB;
3299
+ outline-offset: 2px;
3300
+ border-radius: 6px;
3301
+ }
3286
3302
  .psui-el-checkbox.disabled .psui-el-checkmark {
3287
3303
  cursor: default !important;
3288
3304
  }
@@ -4022,6 +4038,14 @@ video {
4022
4038
  display: inline-block;
4023
4039
  text-align: left;
4024
4040
  }
4041
+ .psui-el-dropdown-menu:focus {
4042
+ outline: none;
4043
+ }
4044
+ .psui-el-dropdown-menu:focus-visible {
4045
+ outline: 2px solid #2563EB;
4046
+ outline-offset: 2px;
4047
+ border-radius: 6px;
4048
+ }
4025
4049
  .psui-el-dropdown-menu button {
4026
4050
  display: inline-flex;
4027
4051
  }
@@ -4573,6 +4597,14 @@ video {
4573
4597
  --tw-shadow-colored: 0px 0px 8px var(--tw-shadow-color), 0px 5px 6px var(--tw-shadow-color);
4574
4598
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);
4575
4599
  }
4600
+ .psui-el-toast:focus {
4601
+ outline: none;
4602
+ }
4603
+ .psui-el-toast:focus-visible {
4604
+ outline: 2px solid #2563EB;
4605
+ outline-offset: 2px;
4606
+ border-radius: 6px;
4607
+ }
4576
4608
  .psui-el-toast .psui-el-toast-icon {
4577
4609
  margin-right: 1rem;
4578
4610
  }
@@ -6075,6 +6107,14 @@ video {
6075
6107
  font-size: 16px;
6076
6108
  }
6077
6109
 
6110
+ .psui-el-collapse:focus {
6111
+ outline: none;
6112
+ }
6113
+ .psui-el-collapse:focus-visible {
6114
+ outline: 2px solid #2563EB;
6115
+ outline-offset: 2px;
6116
+ border-radius: 6px;
6117
+ }
6078
6118
  .psui-el-collapse .psui-el-collapse-item-content {
6079
6119
  position: relative;
6080
6120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.90-access.02",
3
+ "version": "1.1.90-access.03",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -1,7 +1,17 @@
1
1
  @layer components {
2
2
 
3
3
  .psui-el-checkbox {
4
- @apply psui-relative psui-text-gray-50;
4
+ @apply psui-relative psui-text-gray-50;
5
+
6
+ &:focus {
7
+ outline: none;
8
+ }
9
+
10
+ &:focus-visible {
11
+ outline: 2px solid #2563EB;
12
+ outline-offset: 2px;
13
+ border-radius: 6px;
14
+ }
5
15
 
6
16
  &.disabled {
7
17
  .psui-el-checkmark {
@@ -3,6 +3,16 @@
3
3
  .psui-el-chips {
4
4
  @apply psui-inline-flex psui-relative;
5
5
 
6
+ &:focus {
7
+ outline: none;
8
+ }
9
+
10
+ &:focus-visible {
11
+ outline: 2px solid #2563EB;
12
+ outline-offset: 2px;
13
+ border-radius: 6px;
14
+ }
15
+
6
16
  &-icon {
7
17
  @apply psui-icon;
8
18
  }
@@ -1,6 +1,15 @@
1
1
  @layer components {
2
2
 
3
3
  .psui-el-collapse {
4
+ &:focus {
5
+ outline: none;
6
+ }
7
+
8
+ &:focus-visible {
9
+ outline: 2px solid #2563EB;
10
+ outline-offset: 2px;
11
+ border-radius: 6px;
12
+ }
4
13
 
5
14
  .psui-el-collapse-item-content {
6
15
  @apply psui-relative psui-pl-4;
@@ -1,6 +1,16 @@
1
1
  @layer components {
2
2
  .psui-el-dropdown-menu {
3
3
  @apply psui-relative psui-inline-block psui-text-left;
4
+
5
+ &:focus {
6
+ outline: none;
7
+ }
8
+
9
+ &:focus-visible {
10
+ outline: 2px solid #2563EB;
11
+ outline-offset: 2px;
12
+ border-radius: 6px;
13
+ }
4
14
 
5
15
  button {
6
16
  @apply psui-inline-flex psui-justify-center psui-items-center psui-w-full psui-font-medium psui-leading-none;
@@ -2,6 +2,16 @@
2
2
  .psui-el-toast {
3
3
  @apply psui-flex psui-items-center psui-text-big psui-text-white psui-py-3 psui-px-4 psui-rounded-md psui-font-bold psui-shadow-elevation-20;
4
4
 
5
+ &:focus {
6
+ outline: none;
7
+ }
8
+
9
+ &:focus-visible {
10
+ outline: 2px solid #2563EB;
11
+ outline-offset: 2px;
12
+ border-radius: 6px;
13
+ }
14
+
5
15
  .psui-el-toast-icon {
6
16
  @apply psui-flex psui-mr-4;
7
17
  font-size: 24px;
@@ -11,6 +11,7 @@
11
11
  @mouseover="isHovering = true"
12
12
  @mouseleave="isHovering = false"
13
13
  @click="emit('click')"
14
+ tabindex="0"
14
15
  >
15
16
  <input
16
17
  @change="onChange"
@@ -2,6 +2,7 @@
2
2
  <div
3
3
  class="psui-el-collapse"
4
4
  :class="{ 'status-opened': isOpen, 'disabled': disabled }"
5
+ tabindex="0"
5
6
  >
6
7
  <div
7
8
  class="psui-el-collapse-item-header"
@@ -2,6 +2,7 @@
2
2
  <div
3
3
  class="psui-el-checkbox"
4
4
  :class="[getComponentClass, { disabled: disabled }]"
5
+ tabindex="0"
5
6
  >
6
7
  <input
7
8
  :id="getInputId"
@@ -2,6 +2,7 @@
2
2
  <div
3
3
  class="psui-el-radio"
4
4
  :class="[getComponentClass, { disabled: disabled }]"
5
+ tabindex="0"
5
6
  >
6
7
  <input
7
8
  :id="inputId"
@@ -3,6 +3,7 @@
3
3
  class="psui-el-radio"
4
4
  :class="[getComponentClass, { disabled: disabled }]"
5
5
  v-bind="getComponentAttrs"
6
+ tabindex="0"
6
7
  >
7
8
  <input
8
9
  type="radio"
@@ -2,6 +2,7 @@
2
2
  <div
3
3
  class="psui-el-toast"
4
4
  :class="getComponentClass"
5
+ tabindex="0"
5
6
  >
6
7
  <i class="material-icons-round psui-el-toast-icon">{{ icon }}</i>
7
8
  <p class="psui-el-toast-message">