@policystudio/policy-studio-ui-vue 1.2.0-access.46 → 1.2.0-access.48
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.
- package/dist/css/psui_styles_output.css +38 -28
- package/package.json +1 -1
- package/src/assets/scss/base.scss +2 -0
- package/src/assets/scss/components/PsCardInfos.scss +11 -1
- package/src/assets/scss/components/PsCheckbox.scss +7 -3
- package/src/assets/scss/components/PsChips.scss +18 -12
- package/src/assets/scss/components/PsIcon.scss +16 -0
- package/src/components/badges-and-tags/PsCardInfos.vue +4 -0
- package/src/components/badges-and-tags/PsChartLegend.vue +1 -1
- package/src/components/controls/PsCheckboxSimple.vue +3 -1
- package/src/components/ui/PsIcon.vue +2 -0
|
@@ -1564,13 +1564,13 @@ video {
|
|
|
1564
1564
|
position: relative;
|
|
1565
1565
|
display: inline-flex;
|
|
1566
1566
|
}
|
|
1567
|
-
.psui-el-chips:focus {
|
|
1568
|
-
outline: none;
|
|
1567
|
+
.psui-el-chips, .psui-el-chips:focus, .psui-el-chips input:focus {
|
|
1568
|
+
outline: none !important;
|
|
1569
1569
|
}
|
|
1570
|
-
.psui-el-chips:focus-
|
|
1571
|
-
outline: 2px solid #2563eb;
|
|
1572
|
-
outline-offset: 2px;
|
|
1573
|
-
border-radius: 6px;
|
|
1570
|
+
.psui-el-chips:focus-within {
|
|
1571
|
+
outline: 2px solid #2563eb !important;
|
|
1572
|
+
outline-offset: 2px !important;
|
|
1573
|
+
border-radius: 6px !important;
|
|
1574
1574
|
}
|
|
1575
1575
|
.psui-el-chips-icon {
|
|
1576
1576
|
font-family: "Material Icons Round";
|
|
@@ -1737,6 +1737,11 @@ video {
|
|
|
1737
1737
|
.psui-el-chips.type-checkbox, .psui-el-chips.type-radio {
|
|
1738
1738
|
line-height: 1;
|
|
1739
1739
|
}
|
|
1740
|
+
.psui-el-chips.type-checkbox:focus-visible, .psui-el-chips.type-radio:focus-visible {
|
|
1741
|
+
outline: 2px solid #2563eb !important;
|
|
1742
|
+
outline-offset: 2px !important;
|
|
1743
|
+
border-radius: 6px !important;
|
|
1744
|
+
}
|
|
1740
1745
|
.psui-el-chips.type-checkbox input, .psui-el-chips.type-radio input {
|
|
1741
1746
|
pointer-events: none;
|
|
1742
1747
|
}
|
|
@@ -3135,6 +3140,14 @@ video {
|
|
|
3135
3140
|
padding-top: 0.5rem;
|
|
3136
3141
|
padding-bottom: 0.5rem;
|
|
3137
3142
|
}
|
|
3143
|
+
.psui-el-card-infos:focus {
|
|
3144
|
+
outline: none !important;
|
|
3145
|
+
}
|
|
3146
|
+
.psui-el-card-infos:focus-visible {
|
|
3147
|
+
outline: 2px solid #2563eb !important;
|
|
3148
|
+
outline-offset: 2px !important;
|
|
3149
|
+
border-radius: 6px !important;
|
|
3150
|
+
}
|
|
3138
3151
|
.psui-el-card-infos-title {
|
|
3139
3152
|
margin-bottom: 0.25rem;
|
|
3140
3153
|
}
|
|
@@ -3170,7 +3183,7 @@ video {
|
|
|
3170
3183
|
}
|
|
3171
3184
|
.psui-el-card-infos-icon {
|
|
3172
3185
|
--tw-text-opacity: 1;
|
|
3173
|
-
color: rgb(
|
|
3186
|
+
color: rgb(18, 121, 153, var(--tw-text-opacity, 1));
|
|
3174
3187
|
}
|
|
3175
3188
|
.psui-el-card-infos-icon {
|
|
3176
3189
|
font-size: 17px;
|
|
@@ -3451,23 +3464,14 @@ video {
|
|
|
3451
3464
|
color: rgb(81, 94, 106, var(--tw-text-opacity, 1));
|
|
3452
3465
|
}
|
|
3453
3466
|
.psui-el-checkbox:focus {
|
|
3454
|
-
outline:
|
|
3455
|
-
outline-offset: 2px;
|
|
3456
|
-
}
|
|
3457
|
-
.psui-el-checkbox:focus-visible {
|
|
3458
|
-
border-radius: 6px;
|
|
3459
|
-
}
|
|
3460
|
-
.psui-el-checkbox:focus-visible {
|
|
3461
|
-
outline-style: solid;
|
|
3467
|
+
outline: none !important;
|
|
3462
3468
|
}
|
|
3463
|
-
.psui-el-checkbox:focus-
|
|
3464
|
-
outline
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
.psui-el-checkbox:focus-visible {
|
|
3470
|
-
outline-color: #2563EB;
|
|
3469
|
+
.psui-el-checkbox:focus-within {
|
|
3470
|
+
outline: 2px solid #2563eb !important;
|
|
3471
|
+
opacity: 1 !important;
|
|
3472
|
+
outline-offset: 2px !important;
|
|
3473
|
+
border-radius: 6px !important;
|
|
3474
|
+
visibility: visible !important;
|
|
3471
3475
|
}
|
|
3472
3476
|
.psui-el-checkbox.disabled .psui-el-checkmark {
|
|
3473
3477
|
cursor: default !important;
|
|
@@ -6798,6 +6802,17 @@ video {
|
|
|
6798
6802
|
padding-left: 0.5rem;
|
|
6799
6803
|
}
|
|
6800
6804
|
|
|
6805
|
+
.psui-general-icon:focus {
|
|
6806
|
+
outline: none !important;
|
|
6807
|
+
}
|
|
6808
|
+
.psui-general-icon:focus-within, .psui-general-icon:focus-visible {
|
|
6809
|
+
outline: 2px solid #2563eb !important;
|
|
6810
|
+
opacity: 1 !important;
|
|
6811
|
+
outline-offset: 2px !important;
|
|
6812
|
+
border-radius: 6px !important;
|
|
6813
|
+
visibility: visible !important;
|
|
6814
|
+
}
|
|
6815
|
+
|
|
6801
6816
|
.psui-pointer-events-none {
|
|
6802
6817
|
pointer-events: none;
|
|
6803
6818
|
}
|
|
@@ -7163,11 +7178,6 @@ video {
|
|
|
7163
7178
|
color: rgb(18, 121, 153, var(--tw-text-opacity, 1));
|
|
7164
7179
|
}
|
|
7165
7180
|
|
|
7166
|
-
.psui-text-gray-30 {
|
|
7167
|
-
--tw-text-opacity: 1;
|
|
7168
|
-
color: rgb(214, 221, 229, var(--tw-text-opacity, 1));
|
|
7169
|
-
}
|
|
7170
|
-
|
|
7171
7181
|
.psui-text-gray-40 {
|
|
7172
7182
|
--tw-text-opacity: 1;
|
|
7173
7183
|
color: rgb(162, 172, 183, var(--tw-text-opacity, 1));
|
package/package.json
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
@import './components/PsSimpleAlert.scss';
|
|
37
37
|
@import './components/PsBreadcrumb.scss';
|
|
38
38
|
@import './components/PsCollapse.scss';
|
|
39
|
+
@import './components/PsIcon.scss';
|
|
39
40
|
|
|
40
41
|
|
|
41
42
|
@import "tailwindcss/base";
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
*:focus {
|
|
46
47
|
outline: none;
|
|
47
48
|
}
|
|
49
|
+
|
|
48
50
|
html {
|
|
49
51
|
-webkit-font-smoothing: antialiased;
|
|
50
52
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
.psui-el-card-infos {
|
|
4
4
|
@apply psui-border psui-border-gray-20 psui-rounded-md psui-flex psui-flex-col psui-items-center psui-justify-center psui-px-3 psui-py-2 psui-cursor-pointer;
|
|
5
5
|
|
|
6
|
+
&:focus {
|
|
7
|
+
outline: none !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&:focus-visible {
|
|
11
|
+
outline: 2px solid #2563eb !important;
|
|
12
|
+
outline-offset: 2px !important;
|
|
13
|
+
border-radius: 6px !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
6
16
|
&-title {
|
|
7
17
|
@apply psui-flex psui-text-xsmall psui-text-gray-40 psui-mb-1;
|
|
8
18
|
}
|
|
@@ -12,7 +22,7 @@
|
|
|
12
22
|
}
|
|
13
23
|
|
|
14
24
|
&-icon {
|
|
15
|
-
@apply psui-text-blue-
|
|
25
|
+
@apply psui-text-blue-60 psui-mr-1;
|
|
16
26
|
font-size: 17px;
|
|
17
27
|
}
|
|
18
28
|
|
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
@apply psui-relative psui-text-gray-60;
|
|
4
4
|
|
|
5
5
|
&:focus {
|
|
6
|
-
|
|
6
|
+
outline: none !important;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
&:focus-
|
|
10
|
-
|
|
9
|
+
&:focus-within {
|
|
10
|
+
outline: 2px solid #2563eb !important;
|
|
11
|
+
opacity: 1 !important;
|
|
12
|
+
outline-offset: 2px !important;
|
|
13
|
+
border-radius: 6px !important;
|
|
14
|
+
visibility: visible !important;
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
&.disabled {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
.psui-el-chips {
|
|
3
3
|
@apply psui-inline-flex psui-relative;
|
|
4
4
|
|
|
5
|
-
&:focus {
|
|
6
|
-
outline: none;
|
|
5
|
+
&, &:focus, input:focus {
|
|
6
|
+
outline: none !important;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
&:focus-
|
|
10
|
-
outline: 2px solid #2563eb;
|
|
11
|
-
outline-offset: 2px;
|
|
12
|
-
border-radius: 6px;
|
|
9
|
+
&:focus-within {
|
|
10
|
+
outline: 2px solid #2563eb !important;
|
|
11
|
+
outline-offset: 2px !important;
|
|
12
|
+
border-radius: 6px !important;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&-icon {
|
|
@@ -70,6 +70,12 @@
|
|
|
70
70
|
font-size: 14px;
|
|
71
71
|
@apply psui-leading-none;
|
|
72
72
|
|
|
73
|
+
&:focus-visible {
|
|
74
|
+
outline: 2px solid #2563eb !important;
|
|
75
|
+
outline-offset: 2px !important;
|
|
76
|
+
border-radius: 6px !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
73
79
|
input {
|
|
74
80
|
@apply psui-absolute psui-pointer-events-none psui-invisible;
|
|
75
81
|
clip: rect(0, 0, 0, 0);
|
|
@@ -98,8 +104,8 @@
|
|
|
98
104
|
.psui-el-chips-wrapper {
|
|
99
105
|
&:before {
|
|
100
106
|
@apply psui-inline-block psui-mr-1 psui-text-gray-60 psui-cursor-pointer psui-transition-all;
|
|
101
|
-
content:
|
|
102
|
-
font-family:
|
|
107
|
+
content: "";
|
|
108
|
+
font-family: "Material Icons Round";
|
|
103
109
|
font-size: 18px;
|
|
104
110
|
}
|
|
105
111
|
|
|
@@ -113,14 +119,14 @@
|
|
|
113
119
|
input:checked {
|
|
114
120
|
+ .psui-el-chips-wrapper {
|
|
115
121
|
&:before {
|
|
116
|
-
content:
|
|
122
|
+
content: "check_box";
|
|
117
123
|
}
|
|
118
124
|
}
|
|
119
125
|
}
|
|
120
126
|
|
|
121
127
|
.psui-el-chips-wrapper {
|
|
122
128
|
&:before {
|
|
123
|
-
content:
|
|
129
|
+
content: "check_box_outline_blank";
|
|
124
130
|
}
|
|
125
131
|
}
|
|
126
132
|
}
|
|
@@ -129,14 +135,14 @@
|
|
|
129
135
|
input:checked {
|
|
130
136
|
+ .psui-el-chips-wrapper {
|
|
131
137
|
&:before {
|
|
132
|
-
content:
|
|
138
|
+
content: "radio_button_checked";
|
|
133
139
|
}
|
|
134
140
|
}
|
|
135
141
|
}
|
|
136
142
|
|
|
137
143
|
.psui-el-chips-wrapper {
|
|
138
144
|
&:before {
|
|
139
|
-
content:
|
|
145
|
+
content: "radio_button_unchecked";
|
|
140
146
|
}
|
|
141
147
|
}
|
|
142
148
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.psui-general-icon {
|
|
3
|
+
|
|
4
|
+
&:focus {
|
|
5
|
+
outline: none !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&:focus-within, &:focus-visible {
|
|
9
|
+
outline: 2px solid #2563eb !important;
|
|
10
|
+
opacity: 1 !important;
|
|
11
|
+
outline-offset: 2px !important;
|
|
12
|
+
border-radius: 6px !important;
|
|
13
|
+
visibility: visible !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
class="psui-el-card-infos"
|
|
4
|
+
role="button"
|
|
5
|
+
tabindex="0"
|
|
6
|
+
:aria-label="`View details for ${title} ${subtitle}`"
|
|
4
7
|
@click="onClick()"
|
|
8
|
+
@keyup.enter="onClick()"
|
|
5
9
|
>
|
|
6
10
|
<span class="psui-el-card-infos-title">
|
|
7
11
|
<span :class="[titleClass, 'psui-mr-1']">{{ title }}</span>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
class="psui-el-checkbox"
|
|
5
5
|
:class="[getComponentClass, { disabled: disabled }]"
|
|
6
6
|
v-bind="getComponentAttrs"
|
|
7
|
-
@click.prevent="emit('click', $event)"
|
|
7
|
+
@click.prevent.stop="emit('click', $event)"
|
|
8
8
|
>
|
|
9
9
|
<input
|
|
10
10
|
type="checkbox"
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
:id="getInputId"
|
|
15
15
|
v-bind="inputAttrs"
|
|
16
16
|
@change="emit('change', $event)"
|
|
17
|
+
@keyup.enter="emit('change', $event)"
|
|
17
18
|
>
|
|
18
19
|
<label
|
|
19
20
|
:for="getInputId"
|
|
@@ -38,6 +39,7 @@
|
|
|
38
39
|
:id="getInputId"
|
|
39
40
|
v-bind="inputAttrs"
|
|
40
41
|
@change="emit('change', $event)"
|
|
42
|
+
@keyup.enter="emit('change', $event)"
|
|
41
43
|
>
|
|
42
44
|
<label
|
|
43
45
|
:for="getInputId"
|