vdesign-ui 0.2.0 → 0.2.2

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 (109) hide show
  1. package/dist/components/actionbar/style.less +8 -12
  2. package/dist/components/actionbar-cell/index.js +7 -0
  3. package/dist/components/{actionbar/actionbar-cell → actionbar-cell}/index.vue +4 -0
  4. package/dist/components/{actions-cell/actions → actions}/index.vue +6 -6
  5. package/dist/components/{actions-cell/actions → actions}/style.less +38 -41
  6. package/dist/components/activityviews/index.vue +7 -1
  7. package/dist/components/activityviews/style.less +42 -46
  8. package/dist/components/badge/style.less +22 -34
  9. package/dist/components/button/index.vue +4 -0
  10. package/dist/components/button/style.less +82 -87
  11. package/dist/components/calendar/index.vue +1 -1
  12. package/dist/components/calendar/style.less +24 -53
  13. package/dist/components/checkbox/index.vue +5 -1
  14. package/dist/components/checkbox/style.less +30 -32
  15. package/dist/components/checkbox-group/index.js +7 -0
  16. package/dist/components/{checkbox/checkbox-group → checkbox-group}/index.vue +1 -2
  17. package/dist/components/common/state/index.vue +1 -48
  18. package/dist/components/common/state/style.less +48 -0
  19. package/dist/components/data-list/style.less +81 -82
  20. package/dist/components/datetime-picker/style.less +12 -12
  21. package/dist/components/dialog/index.vue +4 -0
  22. package/dist/components/dialog/style.less +27 -31
  23. package/dist/components/divider/style.less +1 -1
  24. package/dist/components/dropdown/index.vue +6 -1
  25. package/dist/components/dropdown/style.less +117 -125
  26. package/dist/components/empty/index.vue +10 -8
  27. package/dist/components/empty/style.less +34 -26
  28. package/dist/components/footer/style.less +6 -7
  29. package/dist/components/footnav/index.vue +1 -1
  30. package/dist/components/footnav/style.less +5 -5
  31. package/dist/components/{footnav/footnav-item → footnav-item}/index.vue +7 -1
  32. package/dist/components/{footnav/footnav-item → footnav-item}/style.less +2 -2
  33. package/dist/components/headnav/index.vue +5 -1
  34. package/dist/components/headnav/style.less +54 -58
  35. package/dist/components/icon/style.less +4 -4
  36. package/dist/components/input/index.vue +4 -0
  37. package/dist/components/input/style.less +88 -101
  38. package/dist/components/list/index.vue +5 -0
  39. package/dist/components/list/style.less +45 -52
  40. package/dist/components/loading/index.vue +3 -5
  41. package/dist/components/loading/style.less +28 -22
  42. package/dist/components/mixins/languageMixin.js +7 -3
  43. package/dist/components/mixins/outlineConfigPlugin.js +1 -1
  44. package/dist/components/mixins/themeMixin.js +29 -15
  45. package/dist/components/noticebar/index.vue +7 -1
  46. package/dist/components/noticebar/style.less +125 -129
  47. package/dist/components/overlay/index.vue +34 -11
  48. package/dist/components/pagebreak/style.less +18 -19
  49. package/dist/components/popover/index.vue +2 -1
  50. package/dist/components/popover/style.less +39 -39
  51. package/dist/components/radio/index.js +1 -1
  52. package/dist/components/radio/index.vue +1 -1
  53. package/dist/components/radio/style.less +35 -43
  54. package/dist/components/radio-group/index.js +6 -0
  55. package/dist/components/{radio/radio-group → radio-group}/index.vue +1 -1
  56. package/dist/components/result/completed-dark.png +0 -0
  57. package/dist/components/result/completed.png +0 -0
  58. package/dist/components/result/error-dark.png +0 -0
  59. package/dist/components/result/error.png +0 -0
  60. package/dist/components/result/index.vue +1 -2
  61. package/dist/components/result/style.less +22 -20
  62. package/dist/components/result/wait-dark.png +0 -0
  63. package/dist/components/result/wait.png +0 -0
  64. package/dist/components/{input/search → search}/index.vue +4 -0
  65. package/dist/components/selector/index.vue +4 -0
  66. package/dist/components/selector/style.less +96 -100
  67. package/dist/components/skeleton/style.less +112 -107
  68. package/dist/components/slider/index.vue +1 -1
  69. package/dist/components/slider/style.less +41 -37
  70. package/dist/components/step/style.less +3 -4
  71. package/dist/components/step-item/index.vue +12 -3
  72. package/dist/components/step-item/style.less +61 -60
  73. package/dist/components/{input/stepper → stepper}/index.vue +5 -1
  74. package/dist/components/switch/style.less +8 -8
  75. package/dist/components/tab/index.js +7 -0
  76. package/dist/components/tabs/index.vue +4 -0
  77. package/dist/components/tabs/style.less +97 -105
  78. package/dist/components/tag/style.less +35 -35
  79. package/dist/components/title/index.vue +4 -0
  80. package/dist/components/title/style.less +164 -170
  81. package/dist/components/toast/index.js +9 -3
  82. package/dist/components/toast/style.less +8 -8
  83. package/dist/components/upload/index.vue +4 -0
  84. package/dist/components/upload/style.less +22 -31
  85. package/dist/components/utils/env.js +2 -0
  86. package/dist/token.css +1278 -1278
  87. package/dist/vdesign-ui.common.js +1138 -991
  88. package/dist/vdesign-ui.css +1 -1
  89. package/dist/vdesign-ui.umd.js +1138 -991
  90. package/dist/vdesign-ui.umd.min.js +3 -3
  91. package/package.json +1 -1
  92. package/dist/components/checkbox/checkbox-group/index.js +0 -8
  93. package/dist/components/loading/img_status_loading_white_ani.svg +0 -155
  94. package/dist/components/loading/img_status_refresh_ani.svg +0 -158
  95. package/dist/components/radio/assist.js +0 -34
  96. package/dist/components/radio/style.css +0 -213
  97. package/dist/img/completed-dark.4183a8a8.png +0 -0
  98. package/dist/img/error-dark.b80857da.png +0 -0
  99. package/dist/img/img_status_loading_white_ani.b56fcfae.svg +0 -155
  100. package/dist/img/img_status_refresh_ani.d0e59f12.svg +0 -158
  101. package/dist/img/wait-dark.6aa28731.png +0 -0
  102. /package/dist/components/{actions-cell/actions → actions}/index.js +0 -0
  103. /package/dist/components/{footnav/footnav-item → footnav-item}/index.js +0 -0
  104. /package/dist/components/{input/password → password}/index.js +0 -0
  105. /package/dist/components/{input/password → password}/index.vue +0 -0
  106. /package/dist/components/{input/search → search}/index.js +0 -0
  107. /package/dist/components/{input/stepper → stepper}/index.js +0 -0
  108. /package/dist/components/{tabs/tab → tab}/index.vue +0 -0
  109. /package/dist/components/{checkbox → utils}/assist.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vdesign-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "main": "dist/vdesign-ui.umd.js",
6
6
  "files": [
@@ -1,8 +0,0 @@
1
- import vdCheckboxGroup from './index.vue';
2
- import './style.less';
3
-
4
- vdCheckboxGroup.install = function (Vue) {
5
- Vue.component(vdCheckboxGroup.name, vdCheckboxGroup);
6
- };
7
-
8
- export default vdCheckboxGroup;
@@ -1,155 +0,0 @@
1
- <svg
2
- fill="none"
3
- width='100%'
4
- height='100%'
5
- viewBox="0 0 32 32"
6
- xmlns="http://www.w3.org/2000/svg"
7
- xmlns:xlink="http://www.w3.org/1999/xlink"
8
- >
9
- <defs>
10
- <style type="text/css">
11
- <![CDATA[
12
- @keyframes loading-animate1 {
13
- 0% {
14
- fill-opacity: 0.16;
15
- }
16
- 20% {
17
- fill-opacity: 1;
18
- }
19
- 26% {
20
- fill-opacity: 0.32;
21
- }
22
- 32% {
23
- fill-opacity: 0.16;
24
- }
25
- 100% {
26
- fill-opacity: 0.16;
27
- }
28
- }
29
-
30
- @keyframes loading-animate2 {
31
- 0% {
32
- fill-opacity: 0.16;
33
- }
34
- 12% {
35
- fill-opacity: 0.16;
36
- }
37
- 22% {
38
- fill-opacity: 1;
39
- }
40
- 31% {
41
- fill-opacity: 0.32;
42
- }
43
- 37% {
44
- fill-opacity: 0.16;
45
- }
46
- 100% {
47
- fill-opacity: 0.16;
48
- }
49
- }
50
-
51
- @keyframes loading-animate3 {
52
- 0% {
53
- fill-opacity: 0.16;
54
- }
55
- 20% {
56
- fill-opacity: 0.16;
57
- }
58
- 30% {
59
- fill-opacity: 1;
60
- }
61
- 36% {
62
- fill-opacity: 0.32;
63
- }
64
- 42% {
65
- fill-opacity: 0.16;
66
- }
67
- 100% {
68
- fill-opacity: 0.16;
69
- }
70
- }
71
-
72
- @keyframes loading-animate4 {
73
- 0% {
74
- fill-opacity: 0.16;
75
- }
76
- 25% {
77
- fill-opacity: 0.16;
78
- }
79
- 35% {
80
- fill-opacity: 1;
81
- }
82
- 41% {
83
- fill-opacity: 0.32;
84
- }
85
- 47% {
86
- fill-opacity: 0.16;
87
- }
88
- 100% {
89
- fill-opacity: 0.16;
90
- }
91
- }
92
-
93
- .loading-part-1,
94
- .loading-part-2,
95
- .loading-part-3,
96
- .loading-part-4 {
97
- animation-duration: 1s;
98
- animation-delay: 0s;
99
- animation-timing-function: cubic-bezier(0.5, 0, 1, 1);
100
- animation-iteration-count: infinite;
101
- }
102
-
103
- .loading-part-1 {
104
- animation-name: loading-animate1;
105
- }
106
-
107
- .loading-part-2 {
108
- animation-name: loading-animate2;
109
- }
110
-
111
- .loading-part-3 {
112
- animation-name: loading-animate3;
113
- }
114
-
115
- .loading-part-4 {
116
- animation-name: loading-animate4;
117
- }
118
- ]]>
119
- </style>
120
- </defs>
121
- <g>
122
- <path
123
- class="loading-part-1"
124
- fill-rule="evenodd"
125
- clip-rule="evenodd"
126
- d="M6 32.0001L9.72003 28.209C9.95076 27.9739 10.0803 27.655 10.0803 27.3225V16.2236L6.36035 20.0147C6.12963 20.2498 6 20.5687 6 20.9012V32.0001Z"
127
- fill-opacity="0.16"
128
- fill="#FFFFFF"
129
- />
130
- <path
131
- class="loading-part-2"
132
- fill-rule="evenodd"
133
- clip-rule="evenodd"
134
- d="M11.3068 26.559L15.0269 22.768C15.2576 22.5329 15.3872 22.214 15.3872 21.8815V2.71126L11.6672 6.50233C11.4364 6.73746 11.3068 7.05636 11.3068 7.38889V26.559Z"
135
- fill-opacity="0.16"
136
- fill="#FFFFFF"
137
- />
138
- <path
139
- class="loading-part-3"
140
- fill-rule="evenodd"
141
- clip-rule="evenodd"
142
- d="M16.6255 29.2742L20.3455 25.4832C20.5762 25.248 20.7059 24.9292 20.7059 24.5966V5.42644L16.9858 9.21751C16.7552 9.4526 16.6255 9.77154 16.6255 10.104V29.2742Z"
143
- fill="#FFFFFF"
144
- fill-opacity="0.16"
145
- />
146
- <path
147
- class="loading-part-4"
148
- fill-rule="evenodd"
149
- clip-rule="evenodd"
150
- d="M21.9196 15.7765L25.6396 11.9854C25.8703 11.7503 26 11.4314 26 11.0989V0L22.2799 3.79107C22.0492 4.02617 21.9196 4.3451 21.9196 4.67759V15.7765Z"
151
- fill="#FFFFFF"
152
- fill-opacity="0.16"
153
- />
154
- </g>
155
- </svg>
@@ -1,158 +0,0 @@
1
- <svg
2
- fill="none"
3
- width='100%'
4
- height='100%'
5
- viewBox="0 0 32 32"
6
- xmlns="http://www.w3.org/2000/svg"
7
- xmlns:xlink="http://www.w3.org/1999/xlink"
8
- >
9
- <defs>
10
- <style type="text/css">
11
- <![CDATA[
12
- @keyframes refresh-animate1 {
13
- 0% {
14
- fill-opacity: 1;
15
- }
16
- 16.67% {
17
- fill-opacity: 0.16;
18
- }
19
- 50% {
20
- fill-opacity: 0.16;
21
- }
22
- 83.33% {
23
- fill-opacity: 0.16;
24
- }
25
- 100% {
26
- fill-opacity: 1;
27
- }
28
- }
29
-
30
- @keyframes refresh-animate2 {
31
- 0% {
32
- fill-opacity: 0.16;
33
- }
34
- 16.67% {
35
- fill-opacity: 1;
36
- }
37
- 33.33% {
38
- fill-opacity: 0.16;
39
- }
40
- 50% {
41
- fill-opacity: 0.16;
42
- }
43
- 66.67% {
44
- fill-opacity: 0.16;
45
- }
46
- 83.33% {
47
- fill-opacity: 1;
48
- }
49
- 100% {
50
- fill-opacity: 0.16;
51
- }
52
- }
53
-
54
- @keyframes refresh-animate3 {
55
- 0% {
56
- fill-opacity: 0.16;
57
- }
58
- 16.67% {
59
- fill-opacity: 0.16;
60
- }
61
- 33.33% {
62
- fill-opacity: 1;
63
- }
64
- 50% {
65
- fill-opacity: 0.16;
66
- }
67
- 66.67% {
68
- fill-opacity: 1;
69
- }
70
- 83.33% {
71
- fill-opacity: 0.16;
72
- }
73
- 100% {
74
- fill-opacity: 0.16;
75
- }
76
- }
77
-
78
- @keyframes refresh-animate4 {
79
- 0% {
80
- fill-opacity: 0.16;
81
- }
82
- 33.33% {
83
- fill-opacity: 0.16;
84
- }
85
- 50% {
86
- fill-opacity: 1;
87
- }
88
- 66.67% {
89
- fill-opacity: 0.16;
90
- }
91
- 100% {
92
- fill-opacity: 0.16;
93
- }
94
- }
95
-
96
- .loading-part-1,
97
- .loading-part-2,
98
- .loading-part-3,
99
- .loading-part-4 {
100
- animation-duration: 1000ms;
101
- animation-delay: 0s;
102
- animation-timing-function: ease-out;
103
- animation-iteration-count: infinite;
104
- }
105
-
106
- .loading-part-1 {
107
- animation-name: refresh-animate1;
108
- }
109
-
110
- .loading-part-2 {
111
- animation-name: refresh-animate2;
112
- }
113
-
114
- .loading-part-3 {
115
- animation-name: refresh-animate3;
116
- }
117
-
118
- .loading-part-4 {
119
- animation-name: refresh-animate4;
120
- }
121
- ]]>
122
- </style>
123
- </defs>
124
- <g>
125
- <path
126
- class="loading-part-1"
127
- fill-rule="evenodd"
128
- clip-rule="evenodd"
129
- d="M6 32.0001L9.72003 28.209C9.95076 27.9739 10.0803 27.655 10.0803 27.3225V16.2236L6.36035 20.0147C6.12963 20.2498 6 20.5687 6 20.9012V32.0001Z"
130
- fill-opacity="0.16"
131
- fill="#1BC47D"
132
- />
133
- <path
134
- class="loading-part-2"
135
- fill-rule="evenodd"
136
- clip-rule="evenodd"
137
- d="M11.3068 26.559L15.0269 22.768C15.2576 22.5329 15.3872 22.214 15.3872 21.8815V2.71126L11.6672 6.50233C11.4364 6.73746 11.3068 7.05636 11.3068 7.38889V26.559Z"
138
- fill-opacity="0.16"
139
- fill="#1BC47D"
140
- />
141
- <path
142
- class="loading-part-3"
143
- fill-rule="evenodd"
144
- clip-rule="evenodd"
145
- d="M16.6255 29.2742L20.3455 25.4832C20.5762 25.248 20.7059 24.9292 20.7059 24.5966V5.42644L16.9858 9.21751C16.7552 9.4526 16.6255 9.77154 16.6255 10.104V29.2742Z"
146
- fill="#1BC47D"
147
- fill-opacity="0.16"
148
- />
149
- <path
150
- class="loading-part-4"
151
- fill-rule="evenodd"
152
- clip-rule="evenodd"
153
- d="M21.9196 15.7765L25.6396 11.9854C25.8703 11.7503 26 11.4314 26 11.0989V0L22.2799 3.79107C22.0492 4.02617 21.9196 4.3451 21.9196 4.67759V15.7765Z"
154
- fill="#1BC47D"
155
- fill-opacity="0.16"
156
- />
157
- </g>
158
- </svg>
@@ -1,34 +0,0 @@
1
-
2
-
3
- // Find components downward
4
- export function findComponentsDownward (context, componentName, ignoreComponentNames = []) {
5
- if (!Array.isArray(ignoreComponentNames)) {
6
- ignoreComponentNames = [ignoreComponentNames];
7
- }
8
- return context.$children.reduce((components, child) => {
9
- if (child.$options.name === componentName) components.push(child);
10
- if (ignoreComponentNames.indexOf(child.$options.name) < 0) {
11
- const foundChilds = findComponentsDownward(child, componentName);
12
- return components.concat(foundChilds);
13
- } else {
14
- return components;
15
- }
16
- }, []);
17
- }
18
-
19
- // Find components upward
20
- export function findComponentUpward (context, componentName, componentNames) {
21
- if (typeof componentName === 'string') {
22
- componentNames = [componentName];
23
- } else {
24
- componentNames = componentName;
25
- }
26
-
27
- let parent = context.$parent;
28
- let name = parent.$options.name;
29
- while (parent && (!name || componentNames.indexOf(name) < 0)) {
30
- parent = parent.$parent;
31
- if (parent) name = parent.$options.name;
32
- }
33
- return parent;
34
- }
@@ -1,213 +0,0 @@
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
- }
Binary file