@voicenter-team/voicenter-ui-plus 0.0.20 → 0.0.21
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/package.json +1 -3
- package/src/assets/element/index.scss +0 -161
- package/src/assets/sass/main/_icons.scss +0 -36
- package/src/assets/sass/main/_loading.scss +0 -51
- package/src/assets/sass/main/_mixins.scss +0 -339
- package/src/assets/sass/main/_typography.scss +0 -29
- package/src/assets/sass/main.scss +0 -9
- package/src/components/VcButton/VcButton.scss +0 -190
- package/src/components/VcButton/VcButton.vue +0 -121
- package/src/components/VcButton/VcButtonIcon.scss +0 -100
- package/src/components/VcButton/VcButtonIcon.vue +0 -97
- package/src/components/VcCard/VcCard.vue +0 -53
- package/src/components/VcCheckbox/VcCheckbox.scss +0 -66
- package/src/components/VcCheckbox/VcCheckbox.vue +0 -99
- package/src/components/VcCheckbox/VcCheckboxGroupEl.vue +0 -18
- package/src/components/VcCheckboxGroup/VcCheckboxGroup.vue +0 -163
- package/src/components/VcCollapse/VcCollapse.vue +0 -70
- package/src/components/VcCollapse/VcCollapseItem.vue +0 -229
- package/src/components/VcCollapse/VcCollapseTransition.vue +0 -78
- package/src/components/VcColorPicker/ColorPicker/ColorPicker.vue +0 -192
- package/src/components/VcColorPicker/ColorPicker/Hue.vue +0 -130
- package/src/components/VcColorPicker/ColorPicker/Saturation.vue +0 -146
- package/src/components/VcColorPicker/VcColorPicker.vue +0 -140
- package/src/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue +0 -474
- package/src/components/VcDelimitedList/VcDelimitedList.vue +0 -223
- package/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue +0 -166
- package/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue +0 -180
- package/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue +0 -178
- package/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue +0 -128
- package/src/components/VcFileUploader/VcFileUploader.vue +0 -325
- package/src/components/VcForm/Styles/VcInputLabel.scss +0 -24
- package/src/components/VcForm/UiComponents/VcInputError.vue +0 -31
- package/src/components/VcForm/UiComponents/VcInputLabel.vue +0 -67
- package/src/components/VcForm/VcForm.vue +0 -88
- package/src/components/VcForm/VcFormItem.vue +0 -115
- package/src/components/VcHyperLink/VcHyperLink.vue +0 -83
- package/src/components/VcIconPicker/VcIconPicker.vue +0 -142
- package/src/components/VcInput/VcInput.vue +0 -220
- package/src/components/VcInputNumber/VcInputNumber.vue +0 -128
- package/src/components/VcLoading/Loaders/Circles.vue +0 -100
- package/src/components/VcLoading/Loaders/LdsSpinner.vue +0 -52
- package/src/components/VcLoading/Loaders/LoadIcon.vue +0 -56
- package/src/components/VcLoading/Loaders/Stretch.vue +0 -82
- package/src/components/VcLoading/VcLoading.vue +0 -159
- package/src/components/VcModal/VcModal.scss +0 -227
- package/src/components/VcModal/VcModal.vue +0 -384
- package/src/components/VcNotification/VcNotification.vue +0 -302
- package/src/components/VcNotification/VcNotificationMessage.vue +0 -119
- package/src/components/VcPagination/VcPagination.vue +0 -175
- package/src/components/VcPagination/VcPaginationButton.vue +0 -37
- package/src/components/VcPopover/VcPopover.vue +0 -186
- package/src/components/VcProgress/VcProgress.vue +0 -235
- package/src/components/VcRadio/VcRadio.scss +0 -59
- package/src/components/VcRadio/VcRadio.vue +0 -89
- package/src/components/VcRadioGroup/VcRadioGroup.vue +0 -146
- package/src/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue +0 -128
- package/src/components/VcRadioTabs/VcRadioTabs.vue +0 -151
- package/src/components/VcSelect/VcSelect.scss +0 -135
- package/src/components/VcSelect/VcSelect.vue +0 -191
- package/src/components/VcSkeletonLoader/Loaders/Card.vue +0 -79
- package/src/components/VcSkeletonLoader/Loaders/Circle.vue +0 -45
- package/src/components/VcSkeletonLoader/Loaders/Row.vue +0 -36
- package/src/components/VcSkeletonLoader/Loaders/Square.vue +0 -44
- package/src/components/VcSkeletonLoader/Loaders/Text.vue +0 -42
- package/src/components/VcSkeletonLoader/VcSkeletonLoader.vue +0 -111
- package/src/components/VcSoundplayer/VcSoundPlayer.vue +0 -497
- package/src/components/VcSplitButton/VcSplitButton.vue +0 -338
- package/src/components/VcSwitch/VcSwitch.vue +0 -352
- package/src/components/VcTable/VcTable.vue +0 -869
- package/src/components/VcTabs/VcTabNav.scss +0 -120
- package/src/components/VcTabs/VcTabNav.vue +0 -203
- package/src/components/VcTabs/VcTabPane.vue +0 -128
- package/src/components/VcTabs/VcTabs.vue +0 -186
- package/src/components/VcTag/VcTag.vue +0 -186
- package/src/components/VcTagInput/VcTagInput.vue +0 -280
- package/src/components/VcTagInput/VcTagInputStyle.scss +0 -224
- package/src/components/VcTimeInput/VcTimeInput.vue +0 -441
- package/src/components/VcTree/VcTree.vue +0 -410
- package/src/components/VcTree/VcTreeNode.vue +0 -283
- package/src/components/VcTree/VcTreeSelect.vue +0 -472
- package/src/components/VcVerticalTabs/UiComponents/VerticalTabNav.vue +0 -99
- package/src/components/VcVerticalTabs/VcVerticalTabs.vue +0 -125
- package/src/components/VcViewSwitcher/VcViewSwitcher.vue +0 -137
- package/src/components/VcWizard/VcSummaryProgress.vue +0 -193
- package/src/components/VcWizard/VcSummaryStep.vue +0 -172
- package/src/components/VcWizard/VcWizard.vue +0 -292
- package/src/components/VcWizard/VcWizardNavigation.vue +0 -196
- package/src/components/VcWizard/VcWizardSummary.vue +0 -73
- package/src/components/VcWizard/VcWizardTransition.vue +0 -119
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voicenter-team/voicenter-ui-plus",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite",
|
|
6
6
|
"build": "vue-tsc --noEmit && vite build",
|
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
"types": "library/types/src/entry.esm.d.ts",
|
|
14
14
|
"files": [
|
|
15
15
|
"library/*",
|
|
16
|
-
"src/**/*.vue",
|
|
17
|
-
"src/**/*.scss",
|
|
18
16
|
"src/theme"
|
|
19
17
|
],
|
|
20
18
|
"engines": {
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
$inputFontSize: var(--input-font-size, 0.875rem);
|
|
2
|
-
$baseBorderRadius: var(--base-border-radius, 0.25rem);
|
|
3
|
-
|
|
4
|
-
$--fontFamily: (
|
|
5
|
-
'': inherit
|
|
6
|
-
);
|
|
7
|
-
|
|
8
|
-
$--sm: 680px;
|
|
9
|
-
$--md: 960px;
|
|
10
|
-
$--lg: 1264px;
|
|
11
|
-
$--xl: 1680px;
|
|
12
|
-
|
|
13
|
-
$--font-size: (
|
|
14
|
-
'extra-large': 1.25rem,
|
|
15
|
-
'large': 1.125rem,
|
|
16
|
-
'medium': 1rem,
|
|
17
|
-
'base': 0.875rem,
|
|
18
|
-
'small': 0.75rem,
|
|
19
|
-
'extra-small': 0.65rem,
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
$--z-index: (
|
|
23
|
-
'normal': 1,
|
|
24
|
-
'top': 1000,
|
|
25
|
-
'popper': 3000,
|
|
26
|
-
);
|
|
27
|
-
|
|
28
|
-
$--input: (
|
|
29
|
-
'text-color': var(--default-text),
|
|
30
|
-
'border': var(--field-borders),
|
|
31
|
-
'hover-border': var(--active-elements-bg--focus),
|
|
32
|
-
'focus-border': var(--active-elements--focus),
|
|
33
|
-
'transparent-border': 0 0 0 1px transparent inset,
|
|
34
|
-
'border-color': var(--field-borders),
|
|
35
|
-
'border-radius': $baseBorderRadius,
|
|
36
|
-
'bg-color': var(--field-bg),
|
|
37
|
-
'icon-color': var(--active-elements),
|
|
38
|
-
'placeholder-color': var(--placeholders),
|
|
39
|
-
'hover-border-color': var(--active-elements--focus),
|
|
40
|
-
'clear-hover-color': var(--active-elements--focus),
|
|
41
|
-
'focus-border-color': var(--active-elements--focus),
|
|
42
|
-
);
|
|
43
|
-
$--input-disabled: (
|
|
44
|
-
'fill': var(--inactive-elements-bg--focus),
|
|
45
|
-
'border': var(--field-borders),
|
|
46
|
-
'text-color': var(--inactive-elements),
|
|
47
|
-
'placeholder-color': var(--inactive-elements),
|
|
48
|
-
'icon-color': var(--inactive-elements),
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
$--popover: (
|
|
52
|
-
"border-radius": $baseBorderRadius,
|
|
53
|
-
"border-color": var(--ui-lines),
|
|
54
|
-
"bg-color": var(--white),
|
|
55
|
-
"font-size": $inputFontSize,
|
|
56
|
-
"padding": 0,
|
|
57
|
-
"padding-large": 12px,
|
|
58
|
-
"title-text-color": var(--default-text)
|
|
59
|
-
);
|
|
60
|
-
|
|
61
|
-
$--select: (
|
|
62
|
-
'border-color-hover': var(--active-elements--focus),
|
|
63
|
-
'disabled-border': var(--field-borders),
|
|
64
|
-
'font-size': $inputFontSize,
|
|
65
|
-
'close-hover-color': var(--active-elements--focus),
|
|
66
|
-
'input-color': var(--placeholders),
|
|
67
|
-
'multiple-input-color': var(--default-text),
|
|
68
|
-
'input-focus-border-color': var(--active-elements),
|
|
69
|
-
'input-font-size': $inputFontSize,
|
|
70
|
-
);
|
|
71
|
-
|
|
72
|
-
$--select-option: (
|
|
73
|
-
'height': var(--select-option-height, 2rem),
|
|
74
|
-
'text-color': var(--default-text),
|
|
75
|
-
'disabled-color': var(--inactive-elements),
|
|
76
|
-
'hover-background': var(--active-elements-bg--focus),
|
|
77
|
-
'selected-text-color': var(--active-elements),
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
$--checkbox: (
|
|
81
|
-
'font-size': $inputFontSize,
|
|
82
|
-
'font-weight': var(--input-font-weight),
|
|
83
|
-
'text-color': var(--default-text),
|
|
84
|
-
'input-height': 18px,
|
|
85
|
-
'input-width': 18px,
|
|
86
|
-
'border-radius': $baseBorderRadius,
|
|
87
|
-
'bg-color': var(--field-bg, '#ffffff'),
|
|
88
|
-
'input-border': 1px solid var(--inactive-elements),
|
|
89
|
-
'disabled-border-color': var(--inactive-elements),
|
|
90
|
-
'disabled-input-fill': var(--field-bg, '#ffffff'),
|
|
91
|
-
'disabled-icon-color': var(--placeholders),
|
|
92
|
-
'disabled-checked-input-fill': var(--inactive-elements),
|
|
93
|
-
'disabled-checked-input-border-color': var(--inactive-elements),
|
|
94
|
-
'disabled-checked-icon-color': var(--white),
|
|
95
|
-
'checked-text-color': var(--default-text),
|
|
96
|
-
'checked-input-border-color': var(--active-elements),
|
|
97
|
-
'checked-bg-color': var(--active-elements),
|
|
98
|
-
'checked-icon-color': var(--white),
|
|
99
|
-
'input-border-color-hover': var(--active-elements--focus),
|
|
100
|
-
);
|
|
101
|
-
$--checkbox-bordered-padding-left: (
|
|
102
|
-
'large': 14px,
|
|
103
|
-
'default': 12px,
|
|
104
|
-
'small': 10px,
|
|
105
|
-
);
|
|
106
|
-
$--radio: (
|
|
107
|
-
'font-size': $inputFontSize,
|
|
108
|
-
'text-color': var(--default-text),
|
|
109
|
-
'font-weight': var(--input-font-weight),
|
|
110
|
-
'input-height': 18px,
|
|
111
|
-
'input-width': 18px,
|
|
112
|
-
'input-border-radius': 100%,
|
|
113
|
-
'input-bg-color': var(--field-bg, '#ffffff'),
|
|
114
|
-
'input-border': 2px solid var(--inactive-elements),
|
|
115
|
-
'input-border-color': var(--inactive-elements),
|
|
116
|
-
'input-border-color-hover': var(--active-elements),
|
|
117
|
-
);
|
|
118
|
-
|
|
119
|
-
$--radio-disabled: (
|
|
120
|
-
'input-border-color': var(--inactive-elements),
|
|
121
|
-
'input-fill': var(--field-bg, '#ffffff'),
|
|
122
|
-
'icon-color': var(--inactive-elements),
|
|
123
|
-
'checked-input-border-color': var(--inactive-elements),
|
|
124
|
-
'checked-input-fill': var(--inactive-elements),
|
|
125
|
-
'checked-icon-color': var(--placeholders),
|
|
126
|
-
);
|
|
127
|
-
$--radio-checked: (
|
|
128
|
-
'text-color': var(--default-text),
|
|
129
|
-
'input-border-color': var(--active-elements),
|
|
130
|
-
'icon-color': var(--active-elements),
|
|
131
|
-
);
|
|
132
|
-
|
|
133
|
-
$--input-number-width: (
|
|
134
|
-
'large': 180px,
|
|
135
|
-
'default': 150px,
|
|
136
|
-
'small': 120px,
|
|
137
|
-
'full': 100%,
|
|
138
|
-
);
|
|
139
|
-
|
|
140
|
-
@forward "element-plus/theme-chalk/src/common/var.scss" with (
|
|
141
|
-
// do not use same name, it will override.
|
|
142
|
-
$font-size: $--font-size,
|
|
143
|
-
// $colors: $--colors,
|
|
144
|
-
$z-index: $--z-index,
|
|
145
|
-
$popover: $--popover,
|
|
146
|
-
$input: $--input,
|
|
147
|
-
$input-disabled: $--input-disabled,
|
|
148
|
-
$select: $--select,
|
|
149
|
-
$select-option: $--select-option,
|
|
150
|
-
$checkbox: $--checkbox,
|
|
151
|
-
$checkbox-bordered-padding-left: $--checkbox-bordered-padding-left,
|
|
152
|
-
$radio: $--radio,
|
|
153
|
-
$radio-disabled: $--radio-disabled,
|
|
154
|
-
$radio-checked: $--radio-checked,
|
|
155
|
-
$input-number-width: $--input-number-width,
|
|
156
|
-
$font-family: $--fontFamily,
|
|
157
|
-
$sm: $--sm,
|
|
158
|
-
$md: $--md,
|
|
159
|
-
$lg: $--lg,
|
|
160
|
-
$xl: $--xl,
|
|
161
|
-
);
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
.icon-xxs {
|
|
2
|
-
font-size: 0.687rem; // 11px
|
|
3
|
-
}
|
|
4
|
-
.icon-xs {
|
|
5
|
-
font-size: 0.75rem; // 12px
|
|
6
|
-
}
|
|
7
|
-
.icon-sm {
|
|
8
|
-
font-size: 0.875rem // 14px
|
|
9
|
-
}
|
|
10
|
-
.icon-base {
|
|
11
|
-
font-size: 1rem; // 16px
|
|
12
|
-
}
|
|
13
|
-
.icon-md {
|
|
14
|
-
font-size: 1.125rem // 18px
|
|
15
|
-
}
|
|
16
|
-
.icon-2md {
|
|
17
|
-
font-size: 1.1875rem //19px
|
|
18
|
-
}
|
|
19
|
-
.icon-lg {
|
|
20
|
-
font-size: 1.375rem // 22px
|
|
21
|
-
}
|
|
22
|
-
.icon-xl {
|
|
23
|
-
font-size: 1.5rem // 24px
|
|
24
|
-
}
|
|
25
|
-
.icon-2xl {
|
|
26
|
-
font-size: 1.875rem // 30px
|
|
27
|
-
}
|
|
28
|
-
.icon-3xl {
|
|
29
|
-
font-size: 2.25rem // 36px
|
|
30
|
-
}
|
|
31
|
-
.icon-2r {
|
|
32
|
-
font-size: 2rem //32px
|
|
33
|
-
}
|
|
34
|
-
.icon-4r {
|
|
35
|
-
font-size: 4rem //64px
|
|
36
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
$speedAnimation: 2s;
|
|
2
|
-
|
|
3
|
-
.animation-block {
|
|
4
|
-
position: relative;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
&:before {
|
|
7
|
-
position: absolute;
|
|
8
|
-
top: 0;
|
|
9
|
-
right: 0;
|
|
10
|
-
bottom: 0;
|
|
11
|
-
left: 50%;
|
|
12
|
-
z-index: 1;
|
|
13
|
-
width: 500%;
|
|
14
|
-
margin-left: -250%;
|
|
15
|
-
background: linear-gradient(to right, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 54%) 50% 50%;
|
|
16
|
-
animation: phAnimation $speedAnimation linear infinite;
|
|
17
|
-
content: " ";
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
[dir='rtl'] {
|
|
22
|
-
.animation-block {
|
|
23
|
-
&:before {
|
|
24
|
-
left: auto;
|
|
25
|
-
margin-left: 0;
|
|
26
|
-
right: 50%;
|
|
27
|
-
margin-right: -250%;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@keyframes phAnimation {
|
|
33
|
-
0% {
|
|
34
|
-
transform: translate3d(-30%, 0, 0);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
100% {
|
|
38
|
-
transform: translate3d(30%, 0, 0);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
@keyframes dotsAnimation {
|
|
42
|
-
0% {
|
|
43
|
-
opacity: 0;
|
|
44
|
-
}
|
|
45
|
-
50% {
|
|
46
|
-
opacity: 1;
|
|
47
|
-
}
|
|
48
|
-
100% {
|
|
49
|
-
opacity: 0;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
// The mixin used to style tooltip. Make sure that element to which mixin is applied have '&--arrow' element inside
|
|
2
|
-
@mixin tooltip {
|
|
3
|
-
@apply absolute border border-field-borders rounded bg-sub-bg z-1;
|
|
4
|
-
|
|
5
|
-
.reference {
|
|
6
|
-
@apply flex items-center justify-center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&-arrow {
|
|
10
|
-
text-align: initial;
|
|
11
|
-
@apply absolute w-4 h-4;
|
|
12
|
-
|
|
13
|
-
&:before {
|
|
14
|
-
content: '';
|
|
15
|
-
@apply bg-sub-bg border-t border-l border-field-borders transform w-4 h-4 absolute;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// top
|
|
20
|
-
&--top-left, &--top-center, &--top-right {
|
|
21
|
-
@apply mt-3;
|
|
22
|
-
}
|
|
23
|
-
&--top-left &-arrow, &--top-center &-arrow, &--top-right &-arrow {
|
|
24
|
-
top: calc(theme('spacing.2') * -1 - 1px);
|
|
25
|
-
|
|
26
|
-
&:before {
|
|
27
|
-
@apply rotate-45;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
// bottom
|
|
31
|
-
&--bottom-left, &--bottom-right {
|
|
32
|
-
@apply mb-3;
|
|
33
|
-
}
|
|
34
|
-
&--bottom-left &-arrow, &--bottom-center &-arrow, &--bottom-right &-arrow {
|
|
35
|
-
bottom: calc(theme('spacing.2') * -1 - 1px);
|
|
36
|
-
|
|
37
|
-
&:before {
|
|
38
|
-
@apply rotate-225;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// top/bottom
|
|
43
|
-
&--top-left &-arrow, &--bottom-left &-arrow {
|
|
44
|
-
@apply left-8;
|
|
45
|
-
}
|
|
46
|
-
&--top-center &-arrow, &--bottom-center &-arrow {
|
|
47
|
-
@apply transform -translate-x-1/2 inset-x-1/2;
|
|
48
|
-
}
|
|
49
|
-
&--top-right &-arrow, &--bottom-right &-arrow {
|
|
50
|
-
@apply right-8;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
// left
|
|
54
|
-
&--left-top, &--left-center, &--left-bottom {
|
|
55
|
-
@apply ml-3;
|
|
56
|
-
}
|
|
57
|
-
&--left-top &-arrow, &--left-center &-arrow, &--left-bottom &-arrow {
|
|
58
|
-
left: calc(theme('spacing.2') * -1 - 1px);
|
|
59
|
-
|
|
60
|
-
&:before {
|
|
61
|
-
@apply -rotate-45;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
// right
|
|
65
|
-
&--right-top, &--right-center, &--right-bottom {
|
|
66
|
-
@apply mr-3;
|
|
67
|
-
}
|
|
68
|
-
&--right-top &-arrow, &--right-center &-arrow, &--right-bottom &-arrow {
|
|
69
|
-
right: calc(theme('spacing.2') * -1 - 1px);
|
|
70
|
-
|
|
71
|
-
&:before {
|
|
72
|
-
@apply rotate-135;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// left/right
|
|
77
|
-
&--left-top &-arrow, &--right-top &-arrow {
|
|
78
|
-
@apply top-8;
|
|
79
|
-
}
|
|
80
|
-
&--left-center &-arrow, &--right-center &-arrow {
|
|
81
|
-
@apply transform -translate-y-1/2 inset-y-1/2;
|
|
82
|
-
}
|
|
83
|
-
&--left-bottom &-arrow, &--right-bottom &-arrow {
|
|
84
|
-
@apply bottom-8;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// (top/bottom) left
|
|
88
|
-
[dir='rtl'] &--top-left &-arrow, [dir='rtl'] &--bottom-left &-arrow {
|
|
89
|
-
@apply left-auto right-8;
|
|
90
|
-
}
|
|
91
|
-
// (top/bottom) center
|
|
92
|
-
[dir='rtl'] &--top-center &-arrow, [dir='rtl'] &--bottom-center &-arrow {
|
|
93
|
-
@apply translate-x-1/2;
|
|
94
|
-
}
|
|
95
|
-
// (top/bottom) right
|
|
96
|
-
[dir='rtl'] &--top-right &-arrow, [dir='rtl'] &--bottom-right &-arrow {
|
|
97
|
-
@apply right-auto left-8;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// left
|
|
101
|
-
[dir='rtl'] &--left-top, [dir='rtl'] &--left-center, [dir='rtl'] &--left-bottom {
|
|
102
|
-
@apply ml-0 mr-3;
|
|
103
|
-
}
|
|
104
|
-
[dir='rtl'] &--left-top &-arrow, [dir='rtl'] &--left-center &-arrow, [dir='rtl'] &--left-bottom &-arrow {
|
|
105
|
-
right: calc(theme('spacing.2') * -1 - 1px);
|
|
106
|
-
@apply left-auto;
|
|
107
|
-
|
|
108
|
-
&:before {
|
|
109
|
-
@apply rotate-135;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// right
|
|
114
|
-
[dir='rtl'] &--right-top, [dir='rtl'] &--right-center, [dir='rtl'] &--right-bottom {
|
|
115
|
-
@apply mr-0 ml-3;
|
|
116
|
-
}
|
|
117
|
-
[dir='rtl'] &--right-top &-arrow, [dir='rtl'] &--right-center &-arrow, [dir='rtl'] &--right-bottom &-arrow {
|
|
118
|
-
left: calc(theme('spacing.2') * -1 - 1px);
|
|
119
|
-
@apply right-auto;
|
|
120
|
-
|
|
121
|
-
&:before {
|
|
122
|
-
@apply -rotate-45;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
@mixin inputWithNumber {
|
|
128
|
-
.vc-btn__decrease {
|
|
129
|
-
@apply rounded-l top-0 left-0;
|
|
130
|
-
}
|
|
131
|
-
.vc-btn__increase {
|
|
132
|
-
@apply rounded-r top-0 right-0;
|
|
133
|
-
}
|
|
134
|
-
.vc-btn__increase,
|
|
135
|
-
.vc-btn__decrease {
|
|
136
|
-
@apply bg-secondary-actions-bg--focus w-8 flex items-center justify-center select-none z-1 h-full;
|
|
137
|
-
|
|
138
|
-
&:hover {
|
|
139
|
-
@apply cursor-pointer;
|
|
140
|
-
}
|
|
141
|
-
:deep.icon {
|
|
142
|
-
@apply text-default-text;
|
|
143
|
-
}
|
|
144
|
-
&.is--disabled {
|
|
145
|
-
&:hover {
|
|
146
|
-
@apply cursor-not-allowed;
|
|
147
|
-
}
|
|
148
|
-
.icon {
|
|
149
|
-
@apply text-black opacity-50;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@mixin inputColorHover($color) {
|
|
156
|
-
&:hover:not(.is--disabled) {
|
|
157
|
-
@apply shadow-hover-outer-#{$color};
|
|
158
|
-
}
|
|
159
|
-
&.is--focus:not(.is--disabled):not(.is--error) {
|
|
160
|
-
@apply border-#{$color}-actions--focus;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@mixin input {
|
|
165
|
-
@apply flex-grow border-none outline-none bg-transparent m-0 px-3 shadow-none;
|
|
166
|
-
&__container {
|
|
167
|
-
@apply min-h-8 w-full max-w-full flex
|
|
168
|
-
text-sm rounded border border-field-borders overflow-hidden;
|
|
169
|
-
transition: box-shadow .2s ease-in-out;
|
|
170
|
-
&:hover:not(.is--disabled) {
|
|
171
|
-
@apply shadow-focus-outer;
|
|
172
|
-
}
|
|
173
|
-
input:-webkit-autofill,
|
|
174
|
-
input:-webkit-autofill:hover,
|
|
175
|
-
input:-webkit-autofill:focus,
|
|
176
|
-
input:-internal-autofill-selected {
|
|
177
|
-
background-color: transparent !important;
|
|
178
|
-
background-image: none !important;
|
|
179
|
-
color: transparent !important;
|
|
180
|
-
}
|
|
181
|
-
&.is--prefix-icon {
|
|
182
|
-
.vc-input {
|
|
183
|
-
@apply ltr:pl-0 rtl:pr-0;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
&.is--clearable {
|
|
187
|
-
.vc-input {
|
|
188
|
-
@apply ltr:pr-0 rtl:pl-0;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
&.is--disabled {
|
|
192
|
-
@apply bg-inactive-elements-bg--focus;
|
|
193
|
-
&:hover .vc-input, &:hover input {
|
|
194
|
-
@apply cursor-not-allowed;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
&.is--error {
|
|
198
|
-
@apply border-error;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
&__prefix-icon {
|
|
202
|
-
@apply flex-shrink-0 flex items-center justify-center px-1 text-icons;
|
|
203
|
-
pointer-events: none;
|
|
204
|
-
.vc-input-icon-color--active {
|
|
205
|
-
@apply text-active-elements;
|
|
206
|
-
}
|
|
207
|
-
.vc-input-icon-color--primary {
|
|
208
|
-
@apply text-primary-actions;
|
|
209
|
-
}
|
|
210
|
-
.vc-input-icon-color--secondary {
|
|
211
|
-
@apply text-secondary-actions;
|
|
212
|
-
}
|
|
213
|
-
.vc-input-icon-color--destructive {
|
|
214
|
-
@apply text-destructive-actions;
|
|
215
|
-
}
|
|
216
|
-
.vc-input-icon-color--success {
|
|
217
|
-
@apply text-success-actions;
|
|
218
|
-
}
|
|
219
|
-
.vc-input-icon-color--warning {
|
|
220
|
-
@apply text-warning-actions;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
&__clearable {
|
|
224
|
-
@apply flex-shrink-0 flex items-center justify-center px-1 cursor-pointer;
|
|
225
|
-
&:hover {
|
|
226
|
-
i {
|
|
227
|
-
@apply text-active-elements--focus;
|
|
228
|
-
&:active {
|
|
229
|
-
@apply text-active-elements--pressed;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
&-color--active {
|
|
236
|
-
&:hover:not(.is--disabled) {
|
|
237
|
-
@apply shadow-hover-outer-active;
|
|
238
|
-
}
|
|
239
|
-
&.is--focus:not(.is--disabled):not(.is--error) {
|
|
240
|
-
@apply border-active-elements--focus;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
&-color--primary {
|
|
244
|
-
@include inputColorHover(primary);
|
|
245
|
-
}
|
|
246
|
-
&-color--secondary {
|
|
247
|
-
@include inputColorHover(secondary);
|
|
248
|
-
}
|
|
249
|
-
&-color--destructive {
|
|
250
|
-
@include inputColorHover(destructive);
|
|
251
|
-
}
|
|
252
|
-
&-color--success {
|
|
253
|
-
@include inputColorHover(success);
|
|
254
|
-
}
|
|
255
|
-
&-color--warning {
|
|
256
|
-
@include inputColorHover(warning);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
@mixin label {
|
|
261
|
-
&__label {
|
|
262
|
-
&-wrapper {
|
|
263
|
-
@apply flex text-sm text-default-text font-normal;
|
|
264
|
-
&--left-item {
|
|
265
|
-
@apply inline-flex;
|
|
266
|
-
&-icon {
|
|
267
|
-
@apply mr-2 leading-none;
|
|
268
|
-
[dir=rtl] & {
|
|
269
|
-
@apply mr-0 ml-2;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
&-label {
|
|
274
|
-
@apply text-sm text-default-text font-normal;
|
|
275
|
-
&__required-icon {
|
|
276
|
-
@apply text-primary-actions;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
.vc-input__label-info {
|
|
281
|
-
@apply text-active-elements cursor-pointer;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
@mixin errorContainer {
|
|
287
|
-
&__error-wrapper {
|
|
288
|
-
@apply relative w-full text-xs leading-normal;
|
|
289
|
-
&--text {
|
|
290
|
-
@apply inline-flex flex-wrap text-destructive-actions text-xs left-0 top-0 w-full overflow-hidden overflow-ellipsis whitespace-normal;
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
@mixin labelCustomInput {
|
|
296
|
-
&__label-wrap {
|
|
297
|
-
@apply flex;
|
|
298
|
-
}
|
|
299
|
-
&__label {
|
|
300
|
-
@apply mb-2 flex items-center text-sm text-default-text font-normal;
|
|
301
|
-
&-icon-wrap {
|
|
302
|
-
@apply inline-flex;
|
|
303
|
-
}
|
|
304
|
-
&-icon {
|
|
305
|
-
@apply mr-2 flex-shrink-0;
|
|
306
|
-
[dir=rtl] & {
|
|
307
|
-
@apply mr-0 ml-2;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
&-text {
|
|
311
|
-
@apply text-sm text-default-text font-normal;
|
|
312
|
-
}
|
|
313
|
-
&-required-icon {
|
|
314
|
-
@apply text-primary-actions;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
.vc-input__label-info {
|
|
318
|
-
@apply text-active-elements cursor-pointer;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
@mixin fileUploader {
|
|
323
|
-
&__file-uploader {
|
|
324
|
-
&-wrapper {
|
|
325
|
-
&-input {
|
|
326
|
-
display: none;
|
|
327
|
-
}
|
|
328
|
-
&-label {
|
|
329
|
-
padding-bottom: 0.5rem;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
&__message-wrapper {
|
|
334
|
-
@apply relative w-full text-xs leading-normal;
|
|
335
|
-
&--text {
|
|
336
|
-
@apply inline-flex flex-wrap text-secondary-actions text-xs left-0 top-0 w-full overflow-hidden overflow-ellipsis whitespace-nowrap;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
h1, .head-1 {
|
|
2
|
-
@apply font-semibold text-2xl;
|
|
3
|
-
color: var(--black);
|
|
4
|
-
line-height: 130%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
h2, .head-2 {
|
|
8
|
-
@apply font-bold text-xl;
|
|
9
|
-
color: var(--default-text);
|
|
10
|
-
line-height: 130%;
|
|
11
|
-
}
|
|
12
|
-
h3, .head-3 {
|
|
13
|
-
@apply font-semibold text-base;
|
|
14
|
-
color: var(--default-text);
|
|
15
|
-
line-height: 145%;
|
|
16
|
-
&.bold {
|
|
17
|
-
@apply font-bold;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
h4, .head-4 {
|
|
22
|
-
@apply font-normal text-xs;
|
|
23
|
-
line-height: 145%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
p {
|
|
27
|
-
@apply text-xs font-normal;
|
|
28
|
-
line-height: 145%;
|
|
29
|
-
}
|