@policystudio/policy-studio-ui-vue 1.1.90-beta.47 → 1.1.90-beta.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.
|
@@ -567,21 +567,21 @@ video {
|
|
|
567
567
|
--tw-text-opacity: 1;
|
|
568
568
|
color: rgb(49 143 172/var(--tw-text-opacity));
|
|
569
569
|
}
|
|
570
|
-
.psui-el-chips.type-checkbox input:checked + label.
|
|
570
|
+
.psui-el-chips.type-checkbox input:checked + label.layout-disabled, .psui-el-chips.type-radio input:checked + label.layout-disabled {
|
|
571
571
|
cursor: default;
|
|
572
572
|
}
|
|
573
|
-
.psui-el-chips.type-checkbox input:checked + label.
|
|
573
|
+
.psui-el-chips.type-checkbox input:checked + label.layout-disabled, .psui-el-chips.type-radio input:checked + label.layout-disabled {
|
|
574
574
|
--tw-bg-opacity: 1;
|
|
575
575
|
background-color: rgb(230 236 242/var(--tw-bg-opacity));
|
|
576
576
|
}
|
|
577
|
-
.psui-el-chips.type-checkbox input:checked + label.
|
|
577
|
+
.psui-el-chips.type-checkbox input:checked + label.layout-disabled, .psui-el-chips.type-radio input:checked + label.layout-disabled {
|
|
578
578
|
--tw-text-opacity: 1;
|
|
579
579
|
color: rgb(162 172 183/var(--tw-text-opacity));
|
|
580
580
|
}
|
|
581
|
-
.psui-el-chips.type-checkbox input:checked + label.
|
|
581
|
+
.psui-el-chips.type-checkbox input:checked + label.layout-disabled:before, .psui-el-chips.type-radio input:checked + label.layout-disabled:before {
|
|
582
582
|
cursor: default;
|
|
583
583
|
}
|
|
584
|
-
.psui-el-chips.type-checkbox input:checked + label.
|
|
584
|
+
.psui-el-chips.type-checkbox input:checked + label.layout-disabled:before, .psui-el-chips.type-radio input:checked + label.layout-disabled:before {
|
|
585
585
|
--tw-text-opacity: 1;
|
|
586
586
|
color: rgb(214 221 229/var(--tw-text-opacity));
|
|
587
587
|
}
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<label
|
|
15
15
|
:disabled="disabled"
|
|
16
16
|
:for="getInputId"
|
|
17
|
-
:class="{'checked': checked && type === 'button', '
|
|
17
|
+
:class="{'checked': checked && type === 'button', 'layout-disabled': layout === 'disabled'}"
|
|
18
18
|
>
|
|
19
19
|
<i
|
|
20
20
|
v-if="icon"
|
|
@@ -61,7 +61,7 @@ const props = defineProps({
|
|
|
61
61
|
layout: {
|
|
62
62
|
type: String,
|
|
63
63
|
default: 'simple',
|
|
64
|
-
validator: (value) => ['simple', 'with-icon', 'rich'].includes(value),
|
|
64
|
+
validator: (value) => ['simple', 'with-icon', 'rich', 'disabled'].includes(value),
|
|
65
65
|
},
|
|
66
66
|
/**
|
|
67
67
|
* It sets the text key which will retrieve a icon from Google Fonts. Make sure to get the right description of your icon on https://fonts.google.com/.
|