vdesign-ui 0.1.21 → 0.1.23

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.
Files changed (185) hide show
  1. package/dist/components/actionbar/actionbar-cell/index.vue +34 -0
  2. package/dist/components/actionbar/index.js +8 -0
  3. package/dist/components/actionbar/index.vue +39 -0
  4. package/dist/components/actionbar/style.less +48 -0
  5. package/dist/components/actions-cell/actions/index.js +7 -0
  6. package/dist/components/actions-cell/actions/index.vue +76 -0
  7. package/dist/components/actions-cell/actions/style.less +112 -0
  8. package/dist/components/actions-cell/index.js +7 -0
  9. package/dist/components/actions-cell/index.vue +94 -0
  10. package/dist/components/actions-cell/style.less +39 -0
  11. package/dist/components/activityviews/index.js +8 -0
  12. package/dist/components/activityviews/index.vue +140 -0
  13. package/dist/components/activityviews/style.less +138 -0
  14. package/dist/components/badge/index.js +8 -0
  15. package/dist/components/badge/index.vue +49 -0
  16. package/dist/components/badge/style.less +66 -0
  17. package/dist/components/button/index.js +8 -0
  18. package/dist/components/button/index.vue +89 -0
  19. package/dist/components/button/style.less +563 -0
  20. package/dist/components/calendar/end.png +0 -0
  21. package/dist/components/calendar/index-element.vue +84 -0
  22. package/dist/components/calendar/index.js +8 -0
  23. package/dist/components/calendar/index.vue +52 -0
  24. package/dist/components/calendar/start.png +0 -0
  25. package/dist/components/calendar/style.less +167 -0
  26. package/dist/components/checkbox/assist.js +34 -0
  27. package/dist/components/checkbox/checkbox-group/index.js +8 -0
  28. package/dist/components/checkbox/checkbox-group/index.vue +69 -0
  29. package/dist/components/checkbox/index.js +8 -0
  30. package/dist/components/checkbox/index.vue +184 -0
  31. package/dist/components/checkbox/style.less +291 -0
  32. package/dist/components/common/state/index.vue +80 -0
  33. package/dist/components/data-list/index.js +10 -0
  34. package/dist/components/data-list/index.vue +19 -0
  35. package/dist/components/data-list/style.less +624 -0
  36. package/dist/components/datetime-picker/index.js +8 -0
  37. package/dist/components/datetime-picker/index.vue +37 -0
  38. package/dist/components/datetime-picker/style.less +24 -0
  39. package/dist/components/dialog/index.js +8 -0
  40. package/dist/components/dialog/index.vue +162 -0
  41. package/dist/components/dialog/overlay-manager.js +18 -0
  42. package/dist/components/dialog/style.less +132 -0
  43. package/dist/components/divider/index.js +8 -0
  44. package/dist/components/divider/index.vue +54 -0
  45. package/dist/components/divider/style.less +92 -0
  46. package/dist/components/dropdown/index.js +8 -0
  47. package/dist/components/dropdown/index.vue +210 -0
  48. package/dist/components/dropdown/style.less +418 -0
  49. package/dist/components/empty/404-dark.png +0 -0
  50. package/dist/components/empty/404.png +0 -0
  51. package/dist/components/empty/index.js +8 -0
  52. package/dist/components/empty/index.vue +95 -0
  53. package/dist/components/empty/network-dark.png +0 -0
  54. package/dist/components/empty/network.png +0 -0
  55. package/dist/components/empty/nodata-dark.png +0 -0
  56. package/dist/components/empty/nodata.png +0 -0
  57. package/dist/components/empty/style.less +60 -0
  58. package/dist/components/footer/index.js +7 -0
  59. package/dist/components/footer/index.vue +29 -0
  60. package/dist/components/footer/style.less +22 -0
  61. package/dist/components/footnav/footnav-item/index.js +7 -0
  62. package/dist/components/footnav/footnav-item/index.vue +75 -0
  63. package/dist/components/footnav/footnav-item/style.less +39 -0
  64. package/dist/components/footnav/index.js +7 -0
  65. package/dist/components/footnav/index.vue +97 -0
  66. package/dist/components/footnav/style.less +23 -0
  67. package/dist/components/form/index.js +7 -0
  68. package/dist/components/form/index.vue +12 -0
  69. package/dist/components/headnav/index.js +7 -0
  70. package/dist/components/headnav/index.vue +163 -0
  71. package/dist/components/headnav/style.less +245 -0
  72. package/dist/components/icon/font/iconfont.css +1049 -0
  73. package/dist/components/icon/font/iconfont.js +2 -0
  74. package/dist/components/icon/index.js +9 -0
  75. package/dist/components/icon/index.vue +46 -0
  76. package/dist/components/icon/style.less +44 -0
  77. package/dist/components/input/calcTextareaHeight.js +266 -0
  78. package/dist/components/input/index.js +8 -0
  79. package/dist/components/input/index.vue +343 -0
  80. package/dist/components/input/password/index.js +8 -0
  81. package/dist/components/input/password/index.vue +60 -0
  82. package/dist/components/input/search/index.js +8 -0
  83. package/dist/components/input/search/index.vue +66 -0
  84. package/dist/components/input/stepper/index.js +8 -0
  85. package/dist/components/input/stepper/index.vue +136 -0
  86. package/dist/components/input/style.less +497 -0
  87. package/dist/components/list/index.js +8 -0
  88. package/dist/components/list/index.vue +159 -0
  89. package/dist/components/list/style.less +292 -0
  90. package/dist/components/loading/index.js +7 -0
  91. package/dist/components/loading/index.vue +53 -0
  92. package/dist/components/loading/loading.png +0 -0
  93. package/dist/components/loading/refresh.png +0 -0
  94. package/dist/components/loading/style.less +48 -0
  95. package/dist/components/mixins/clickoutside.js +81 -0
  96. package/dist/components/mixins/dom.js +41 -0
  97. package/dist/components/mixins/languageMixin.js +38 -0
  98. package/dist/components/mixins/outlineConfigPlugin.js +40 -0
  99. package/dist/components/mixins/router-link.js +23 -0
  100. package/dist/components/mixins/themeMixin.js +29 -0
  101. package/dist/components/noticebar/index.js +8 -0
  102. package/dist/components/noticebar/index.vue +247 -0
  103. package/dist/components/noticebar/style.less +332 -0
  104. package/dist/components/overlay/index.js +8 -0
  105. package/dist/components/overlay/index.vue +161 -0
  106. package/dist/components/overlay/style.less +23 -0
  107. package/dist/components/pagebreak/index.js +7 -0
  108. package/dist/components/pagebreak/index.vue +60 -0
  109. package/dist/components/pagebreak/style.less +43 -0
  110. package/dist/components/popover/index.js +8 -0
  111. package/dist/components/popover/index.vue +99 -0
  112. package/dist/components/popover/style.less +346 -0
  113. package/dist/components/popover/vue-popover.vue +314 -0
  114. package/dist/components/radio/assist.js +34 -0
  115. package/dist/components/radio/index.js +8 -0
  116. package/dist/components/radio/index.vue +158 -0
  117. package/dist/components/radio/radio-group/index.vue +70 -0
  118. package/dist/components/radio/style.css +213 -0
  119. package/dist/components/radio/style.less +302 -0
  120. package/dist/components/result/completed-dark.png +0 -0
  121. package/dist/components/result/completed.png +0 -0
  122. package/dist/components/result/error-dark.png +0 -0
  123. package/dist/components/result/error.png +0 -0
  124. package/dist/components/result/index.js +8 -0
  125. package/dist/components/result/index.vue +75 -0
  126. package/dist/components/result/style.less +42 -0
  127. package/dist/components/result/wait-dark.png +0 -0
  128. package/dist/components/result/wait.png +0 -0
  129. package/dist/components/selector/index.js +8 -0
  130. package/dist/components/selector/index.vue +124 -0
  131. package/dist/components/selector/style.less +474 -0
  132. package/dist/components/skeleton/index.js +7 -0
  133. package/dist/components/skeleton/index.vue +142 -0
  134. package/dist/components/skeleton/style.less +192 -0
  135. package/dist/components/slider/draggable.js +49 -0
  136. package/dist/components/slider/index.js +7 -0
  137. package/dist/components/slider/index.vue +173 -0
  138. package/dist/components/slider/style.less +96 -0
  139. package/dist/components/slider/utils.js +60 -0
  140. package/dist/components/step/index.js +7 -0
  141. package/dist/components/step/index.vue +48 -0
  142. package/dist/components/step/style.less +59 -0
  143. package/dist/components/step-item/index.js +7 -0
  144. package/dist/components/step-item/index.vue +117 -0
  145. package/dist/components/step-item/style.less +361 -0
  146. package/dist/components/style/index.vue +42 -0
  147. package/dist/components/switch/index.js +8 -0
  148. package/dist/components/switch/index.vue +72 -0
  149. package/dist/components/switch/style.less +56 -0
  150. package/dist/components/tabs/index.js +8 -0
  151. package/dist/components/tabs/index.vue +145 -0
  152. package/dist/components/tabs/style.less +385 -0
  153. package/dist/components/tabs/tab/index.vue +56 -0
  154. package/dist/components/tag/index.js +7 -0
  155. package/dist/components/tag/index.vue +50 -0
  156. package/dist/components/tag/style.less +211 -0
  157. package/dist/components/title/index.js +8 -0
  158. package/dist/components/title/index.vue +92 -0
  159. package/dist/components/title/style.less +188 -0
  160. package/dist/components/toast/index.js +80 -0
  161. package/dist/components/toast/index.vue +44 -0
  162. package/dist/components/toast/style.less +55 -0
  163. package/dist/components/transition/index.js +8 -0
  164. package/dist/components/transition/index.vue +13 -0
  165. package/dist/components/transition/style.less +208 -0
  166. package/dist/components/upload/index.js +7 -0
  167. package/dist/components/upload/index.vue +103 -0
  168. package/dist/components/upload/index1.vue +225 -0
  169. package/dist/components/upload/style.less +156 -0
  170. package/dist/demo.html +10 -0
  171. package/dist/img/404-dark.775df5bb.png +0 -0
  172. package/dist/img/completed-dark.4183a8a8.png +0 -0
  173. package/dist/img/error-dark.b80857da.png +0 -0
  174. package/dist/img/network-dark.11a147bb.png +0 -0
  175. package/dist/img/nodata-dark.b0ea0e39.png +0 -0
  176. package/dist/img/wait-dark.6aa28731.png +0 -0
  177. package/dist/locale/ar.js +98 -0
  178. package/dist/locale/en.js +98 -0
  179. package/dist/locale/zh.js +98 -0
  180. package/dist/token.css +2982 -0
  181. package/dist/vdesign-ui.common.js +27013 -0
  182. package/dist/vdesign-ui.css +1 -0
  183. package/dist/vdesign-ui.umd.js +27023 -0
  184. package/dist/vdesign-ui.umd.min.js +32 -0
  185. package/package.json +1 -1
@@ -0,0 +1,158 @@
1
+ <template>
2
+ <label :class="wrapClasses" v-if="!radioButton">
3
+ <span :class="radioClasses">
4
+ <span :class="innerClasses"></span>
5
+ <input type="radio" :class="inputClasses" :disabled="disabled" :checked="currentValue" @change="change">
6
+ </span>
7
+ <div class="vd-radio__label" v-if="$slots.default">
8
+ <div class="vd-radio__text">
9
+ <slot></slot>
10
+ </div>
11
+ <!-- <p class="vd-radio__description" v-if="extra">{{ extra }}</p> -->
12
+ </div>
13
+ </label>
14
+
15
+
16
+ <label class="vd-radio vd-radio-button" :class="radioButtonClasses" v-else>
17
+ <input type="radio" :class="inputClasses" :disabled="disabled" :checked="currentValue" @change="change">
18
+ <span class="vd-radio-button-text">
19
+ <slot></slot>
20
+ </span>
21
+ </label>
22
+ </template>
23
+ <script>
24
+ import { findComponentUpward } from './assist';
25
+ const prefixCls = 'vd-radio';
26
+
27
+ export default {
28
+ name: 'vd-radio',
29
+ props: {
30
+ radioButton: {
31
+ type: Boolean,
32
+ default: false
33
+ },
34
+ disabled: {
35
+ type: Boolean,
36
+ default: false
37
+ },
38
+ // extra: {
39
+ // type: [String, Number, Boolean],
40
+ // },
41
+ value: {
42
+ type: [String, Number, Boolean],
43
+ default: false
44
+ },
45
+ trueValue: {
46
+ type: [String, Number, Boolean],
47
+ default: true
48
+ },
49
+ falseValue: {
50
+ type: [String, Number, Boolean],
51
+ default: false
52
+ },
53
+ name: {
54
+ type: [String, Number, Boolean]
55
+ },
56
+ type: {
57
+ type: String,
58
+ default: ''
59
+ },
60
+ },
61
+ data() {
62
+ return {
63
+ currentValue: this.value,
64
+ group: false,
65
+ parent: findComponentUpward(this, 'vd-radio-group'),
66
+ // parent: this.$parent,
67
+ focusWrapper: false,
68
+ focusInner: false
69
+ };
70
+ },
71
+ computed: {
72
+ wrapClasses() {
73
+ return [
74
+ `${prefixCls}`,
75
+ {
76
+ [`${prefixCls}--checked`]: this.currentValue,
77
+ [`${prefixCls}--disabled`]: this.disabled,
78
+ }
79
+ ];
80
+ },
81
+ radioClasses() {
82
+ return [
83
+ `${prefixCls}__input`,
84
+ ];
85
+ },
86
+ innerClasses() {
87
+ return [
88
+ `${prefixCls}__icon`,
89
+ ];
90
+ },
91
+ inputClasses() {
92
+ return `${prefixCls}__original`;
93
+ },
94
+ radioButtonClasses() {
95
+ return [
96
+ {
97
+ [`${prefixCls}-button--checked`]: this.currentValue,
98
+ [`${prefixCls}-button--${this.type}`]: this.type,
99
+ [`${prefixCls}-button--disabled`]: this.disabled,
100
+ }
101
+ ]
102
+
103
+ }
104
+ },
105
+ mounted() {
106
+ if (this.parent) {
107
+ this.group = true;
108
+ }
109
+
110
+ if (this.group) {
111
+ this.parent.updateValue();
112
+ } else {
113
+ this.updateValue();
114
+ }
115
+ },
116
+ methods: {
117
+ change(event) {
118
+ if (this.disabled) {
119
+ return false;
120
+ }
121
+
122
+ const checked = event.target.checked;
123
+ this.currentValue = checked;
124
+
125
+ const value = checked ? this.trueValue : this.falseValue;
126
+ this.$emit('input', value);
127
+
128
+ if (this.group) {
129
+ if (this.name !== undefined) {
130
+ this.parent.change({
131
+ value: this.name,
132
+ checked: this.value
133
+ });
134
+ }
135
+ } else {
136
+ this.$emit('change', value);
137
+ }
138
+ },
139
+ updateValue() {
140
+ this.currentValue = this.value === this.trueValue;
141
+ },
142
+
143
+ },
144
+ watch: {
145
+ value(val) {
146
+ if (val === this.trueValue || val === this.falseValue) {
147
+ this.updateValue();
148
+ } else {
149
+ throw 'Value should be trueValue or falseValue.';
150
+ }
151
+ }
152
+ }
153
+ };
154
+ </script>
155
+
156
+ <style lang="less">
157
+ @import './style.less';
158
+ </style>
@@ -0,0 +1,70 @@
1
+ <template>
2
+ <div :class="classes">
3
+ <slot></slot>
4
+ </div>
5
+ </template>
6
+ <script>
7
+ import { findComponentsDownward } from '../assist';
8
+
9
+ const prefixCls = 'vd-radio-group';
10
+
11
+ export default {
12
+ name: 'vd-radio-group',
13
+ props: {
14
+ value: {
15
+ type: [String, Number],
16
+ default: ''
17
+ },
18
+ type: {
19
+ type: String,
20
+ default: ''
21
+ }
22
+ },
23
+ data() {
24
+ return {
25
+ currentValue: this.value,
26
+ childrens: []
27
+ };
28
+ },
29
+ computed: {
30
+ classes() {
31
+ return [
32
+ `${prefixCls}`,
33
+ {
34
+ [`${prefixCls}__${this.type}`]: this.type,
35
+ }
36
+ ];
37
+ }
38
+ },
39
+ mounted() {
40
+ this.updateValue();
41
+ },
42
+ methods: {
43
+ updateValue() {
44
+ this.childrens = findComponentsDownward(this, 'vd-radio');
45
+ if (this.childrens) {
46
+ this.childrens.forEach(child => {
47
+ child.currentValue = this.currentValue === child.name;
48
+ child.group = true;
49
+ });
50
+ }
51
+ },
52
+ change(data) {
53
+ this.currentValue = data.value;
54
+ this.updateValue();
55
+ this.$emit('input', data.value);
56
+ this.$emit('change', data.value);
57
+ }
58
+ },
59
+ watch: {
60
+ value() {
61
+ if (this.currentValue !== this.value) {
62
+ this.currentValue = this.value;
63
+ this.$nextTick(() => {
64
+ this.updateValue();
65
+ });
66
+ }
67
+ }
68
+ }
69
+ };
70
+ </script>
@@ -0,0 +1,213 @@
1
+ .vd-radio {
2
+ position: relative;
3
+ cursor: pointer;
4
+ display: flex;
5
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
6
+ }
7
+ .vd-radio__input {
8
+ position: relative;
9
+ margin-inline-end: calc(var(--spacing-check_radio-icon-margin_right) * 1px);
10
+ width: calc(var(--icon-check_radio-sizing) * 1px);
11
+ height: calc(var(--icon-check_radio-sizing) * 1px);
12
+ }
13
+ .vd-radio__label {
14
+ flex: 1;
15
+ }
16
+ .vd-radio__text {
17
+ color: var(--color-check_radio-text-default);
18
+ font-size: calc(var(--en-single-f-d-r-fontSize) * 1px);
19
+ font-weight: var(--en-single-f-d-r-fontWeight);
20
+ }
21
+ .vd-radio__description {
22
+ line-height: 1;
23
+ margin-top: calc(var(--spacing-check_radio-text-margin_top) * 1px);
24
+ color: var(--color-check_radio-text_describe-default);
25
+ font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
26
+ font-weight: var(--en-single-f-b-r-fontWeight);
27
+ }
28
+ .vd-radio .vd-radio__icon {
29
+ display: block;
30
+ width: calc(var(--icon-check_radio-sizing) * 1px);
31
+ height: calc(var(--icon-check_radio-sizing) * 1px);
32
+ position: relative;
33
+ }
34
+ .vd-radio .vd-radio__icon::before {
35
+ position: absolute;
36
+ box-sizing: border-box;
37
+ content: ' ';
38
+ pointer-events: none;
39
+ top: -50%;
40
+ right: -50%;
41
+ bottom: -50%;
42
+ left: -50%;
43
+ border: 0 solid var(--color-check_radio-default);
44
+ -webkit-transform: scale(0.5);
45
+ transform: scale(0.5);
46
+ border-width: 3px;
47
+ border-radius: 50%;
48
+ }
49
+ .vd-radio__original {
50
+ width: 100%;
51
+ height: 100%;
52
+ position: absolute;
53
+ top: 0;
54
+ bottom: 0;
55
+ left: 0;
56
+ right: 0;
57
+ z-index: 1;
58
+ cursor: pointer;
59
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
60
+ opacity: 0;
61
+ }
62
+ .vd-radio--checked .vd-radio__text {
63
+ font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
64
+ font-weight: var(--en-single-f-d-s-fontWeight);
65
+ }
66
+ .vd-radio--checked .vd-radio__icon::before {
67
+ border: 0 solid var(--color-check_radio-active);
68
+ border-width: 3px;
69
+ }
70
+ .vd-radio--checked .vd-radio__icon::after {
71
+ position: absolute;
72
+ width: 8px;
73
+ height: 8px;
74
+ left: 50%;
75
+ top: 50%;
76
+ transform: translate(-50%, -50%);
77
+ border-radius: 50%;
78
+ display: table;
79
+ border-top: 0;
80
+ border-left: 0;
81
+ content: " ";
82
+ background-color: var(--color-check_radio-active);
83
+ }
84
+ .vd-radio--disabled {
85
+ cursor: not-allowed;
86
+ }
87
+ .vd-radio--disabled .vd-radio__text {
88
+ color: var(--color-check_radio-text-disable);
89
+ }
90
+ .vd-radio--disabled .vd-radio__description {
91
+ color: var(--color-check_radio-text_describe-disable);
92
+ }
93
+ .vd-radio--disabled .vd-radio__icon::before {
94
+ border-color: var(--color-check_radio-disable);
95
+ }
96
+ .vd-radio--checked.vd-radio--disabled .vd-radio__icon::before {
97
+ border-color: var(--color-check_radio-active-disable);
98
+ }
99
+ .vd-radio--checked.vd-radio--disabled .vd-radio__icon::after {
100
+ background-color: var(--color-check_radio-active-disable);
101
+ }
102
+ .vd-radio-group {
103
+ display: flex;
104
+ flex-direction: column;
105
+ gap: calc(var(--spacing-check_radio-group-margin_x)*1px);
106
+ }
107
+ .vd-radio-group-card {
108
+ display: flex;
109
+ flex-wrap: wrap;
110
+ flex-direction: row;
111
+ gap: 12px;
112
+ }
113
+ .vd-radio-group-card .vd-radio-button-cell {
114
+ flex: 1;
115
+ }
116
+ .vd-radio-button {
117
+ position: relative;
118
+ display: inline-flex;
119
+ align-items: center;
120
+ flex-direction: column;
121
+ justify-content: center;
122
+ line-height: 1;
123
+ width: 100%;
124
+ }
125
+ .vd-radio-button::after {
126
+ position: absolute;
127
+ box-sizing: border-box;
128
+ content: ' ';
129
+ pointer-events: none;
130
+ top: -50%;
131
+ right: -50%;
132
+ bottom: -50%;
133
+ left: -50%;
134
+ border: 0 solid var(--color-check_radio-radio_border-default);
135
+ -webkit-transform: scale(0.5);
136
+ transform: scale(0.5);
137
+ border-width: 1px;
138
+ }
139
+ .vd-radio-button--large {
140
+ height: calc(var(--height-check_radio-radio_button_l) * 1px);
141
+ }
142
+ .vd-radio-button--large .vd-radio-button-text {
143
+ color: var(--color-check_radio-radio_button_text-default);
144
+ font-size: calc(var(--en-single-f-d-r-fontSize) * 1px);
145
+ font-weight: var(--en-single-f-d-r-fontWeight);
146
+ }
147
+ .vd-radio-button--large::after {
148
+ border-radius: calc(var(--radius-check_radio-radio_l) * 2px);
149
+ }
150
+ .vd-radio-button--medium {
151
+ height: calc(var(--height-check_radio-radio_button_m) * 1px);
152
+ }
153
+ .vd-radio-button--medium .vd-radio-button-text {
154
+ color: var(--color-check_radio-radio_button_text-default);
155
+ font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
156
+ font-weight: var(--en-single-f-c-r-fontWeight);
157
+ }
158
+ .vd-radio-button--medium::after {
159
+ border-radius: calc(var(--radius-check_radio-m) * 2px);
160
+ }
161
+ .vd-radio-button--small {
162
+ height: calc(var(--height-check_radio-radio_button_s) * 1px);
163
+ }
164
+ .vd-radio-button--small .vd-radio-button-text {
165
+ color: var(--color-check_radio-radio_button_text-default);
166
+ font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
167
+ font-weight: var(--en-single-f-c-r-fontWeight);
168
+ }
169
+ .vd-radio-button--small::after {
170
+ border-radius: calc(var(--radius-check_radio-s) * 2px);
171
+ }
172
+ .vd-radio-button--checked {
173
+ background-color: var(--color-check_radio-radio_button_bg-active);
174
+ }
175
+ .vd-radio-button--checked::after {
176
+ border-color: var(--color-check_radio-radio_border-active);
177
+ border-width: 2px;
178
+ }
179
+ .vd-radio-button--checked .vd-radio-button-text {
180
+ color: var(--color-check_radio-radio_button_text-active);
181
+ }
182
+ .vd-radio-button--checked.vd-radio-button--large .vd-radio-button-text {
183
+ font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
184
+ font-weight: var(--en-single-f-d-s-fontWeight);
185
+ }
186
+ .vd-radio-button--checked.vd-radio-button--medium .vd-radio-button-text {
187
+ font-size: calc(var(--en-single-f-c-s-fontSize) * 1px);
188
+ font-weight: var(--en-single-f-c-s-fontWeight);
189
+ }
190
+ .vd-radio-button--checked.vd-radio-button--small .vd-radio-button-text {
191
+ font-size: calc(var(--en-single-f-c-s-fontSize) * 1px);
192
+ font-weight: var(--en-single-f-c-s-fontWeight);
193
+ }
194
+ .vd-radio-button--disabled {
195
+ cursor: not-allowed;
196
+ }
197
+ .vd-radio-button--disabled .vd-radio-button-text {
198
+ color: var(--color-check_radio-radio_button_text-disable);
199
+ }
200
+ .vd-radio-group {
201
+ display: flex;
202
+ flex-direction: column;
203
+ gap: calc(var(--spacing-check_radio-group-margin_x)*1px);
204
+ }
205
+ .vd-radio-group__card {
206
+ display: flex;
207
+ flex-direction: row;
208
+ flex-wrap: wrap;
209
+ gap: 12px;
210
+ }
211
+ .vd-radio-group .vd-radio-button {
212
+ flex: 1;
213
+ }