@fastkit/vui 0.12.7 → 0.12.9
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/LICENSE +1 -1
- package/dist/vui.css +2786 -2716
- package/dist/vui.css.map +1 -0
- package/dist/vui.d.ts +9072 -10160
- package/dist/vui.mjs +2158 -1968
- package/dist/vui.mjs.map +1 -0
- package/package.json +89 -59
- package/src/components/VApp/VApp.tsx +3 -1
- package/src/components/VAvatar/VAvatar.scss +62 -60
- package/src/components/VAvatar/VAvatar.tsx +6 -1
- package/src/components/VBreadcrumbs/VBreadcrumbs.scss +53 -51
- package/src/components/VBusyImage/VBusyImage.scss +50 -51
- package/src/components/VButton/VButton.scss +120 -118
- package/src/components/VButton/VButton.tsx +6 -1
- package/src/components/VButton/VButtonGroup.scss +21 -19
- package/src/components/VCard/VCard.scss +41 -42
- package/src/components/VCard/VCard.tsx +5 -0
- package/src/components/VCard/VCardActions.scss +9 -7
- package/src/components/VCard/VCardContent.scss +4 -2
- package/src/components/VCheckable/VCheckable.scss +79 -80
- package/src/components/VCheckable/VCheckable.tsx +1 -1
- package/src/components/VCheckbox/VCheckbox.scss +50 -48
- package/src/components/VCheckbox/VCheckbox.tsx +2 -2
- package/src/components/VChip/VChip.scss +61 -59
- package/src/components/VChip/VChip.tsx +6 -1
- package/src/components/VContentSwitcher/VContentSwitcher.scss +52 -50
- package/src/components/VControlField/VControlField.scss +148 -146
- package/src/components/VControlField/VControlField.tsx +3 -3
- package/src/components/VDataTable/VDataTable.scss +167 -168
- package/src/components/VDataTable/VDataTable.tsx +39 -8
- package/src/components/VDrawerLayout/VDrawerLayout.scss +27 -25
- package/src/components/VForm/VForm.tsx +3 -4
- package/src/components/VFormControl/VFormControl.scss +84 -82
- package/src/components/VFormControl/VFormControl.tsx +2 -3
- package/src/components/VGrid/VGridContainer.scss +5 -3
- package/src/components/VGrid/VGridItem.scss +4 -2
- package/src/components/VHero/VHero.scss +23 -21
- package/src/components/VIcon/VIcon.scss +19 -17
- package/src/components/VListTile/VListTile.scss +60 -58
- package/src/components/VListTile/VListTile.tsx +5 -0
- package/src/components/VNavigation/VNavigation.scss +12 -10
- package/src/components/VNavigation/VNavigationItem.scss +21 -19
- package/src/components/VNavigation/VNavigationItem.tsx +5 -0
- package/src/components/VOption/VOption.scss +55 -56
- package/src/components/VOption/VOption.tsx +2 -2
- package/src/components/VOptionGroup/VOptionGroup.scss +14 -12
- package/src/components/VOptionGroup/VOptionGroup.tsx +3 -1
- package/src/components/VPagination/VPagination.scss +81 -79
- package/src/components/VPagination/VPagination.tsx +1 -1
- package/src/components/VPaper/VPaper.scss +43 -41
- package/src/components/VRadio/VRadio.scss +52 -53
- package/src/components/VRadio/VRadio.tsx +2 -2
- package/src/components/VSelect/VSelect.scss +77 -75
- package/src/components/VSelect/VSelect.tsx +5 -2
- package/src/components/VSkeltonLoader/VSkeltonLoaderBone.scss +24 -22
- package/src/components/VSwitch/VSwitch.scss +96 -94
- package/src/components/VSwitch/VSwitch.tsx +2 -2
- package/src/components/VTabs/VTab.scss +59 -57
- package/src/components/VTabs/VTabs.scss +41 -39
- package/src/components/VTabs/VTabs.tsx +5 -2
- package/src/components/VTextCounter/VTextCounter.scss +4 -2
- package/src/components/VTextField/VTextField.scss +37 -35
- package/src/components/VTextField/VTextField.tsx +2 -2
- package/src/components/VTextarea/VTextarea.scss +33 -31
- package/src/components/VTextarea/VTextarea.tsx +2 -2
- package/src/components/VToolbar/VToolbar.scss +19 -17
- package/src/components/VToolbar/VToolbarEdge.scss +21 -19
- package/src/components/VToolbar/VToolbarMenu.scss +6 -4
- package/src/components/VToolbar/VToolbarMenu.tsx +5 -0
- package/src/components/VToolbar/VToolbarTitle.scss +19 -17
- package/src/components/VWysiwygEditor/VWysiwygEditor.scss +52 -50
- package/src/components/VWysiwygEditor/VWysiwygEditor.tsx +2 -2
- package/src/components/VWysiwygEditor/extensions/linter/Linter.scss +108 -109
- package/src/components/VWysiwygEditor/schemes.ts +1 -1
- package/src/components/VWysiwygEditor/tools/color.scss +106 -112
- package/src/components/kits.ts +1 -1
- package/src/composables/control.ts +1 -1
- package/src/composables/form-selector.scss +20 -18
- package/src/composables/form-selector.tsx +5 -3
- package/src/index.ts +13 -2
- package/src/plugin.tsx +4 -4
- package/src/schemes/control.ts +2 -2
- package/src/service.tsx +5 -5
- package/src/styles/core/functions.scss +2 -2
- package/src/styles/index.scss +23 -9
- package/dist/tool/index.d.ts +0 -2
- package/dist/tool/index.d.ts.map +0 -1
- package/dist/tool/index.mjs +0 -193
- package/dist/tool/vite-plugin.d.ts +0 -25
- package/dist/tool/vite-plugin.d.ts.map +0 -1
- package/src/.DS_Store +0 -0
- package/src/assets/builtins/color-scheme.ts +0 -9
- package/src/assets/builtins/media-match.ts +0 -3
- package/src/components/.DS_Store +0 -0
- package/src/components/VAvatar/.DS_Store +0 -0
- package/src/components/VChip/.DS_Store +0 -0
- package/src/components/VSkeltonLoader/.DS_Store +0 -0
- package/src/components/VTextField/.DS_Store +0 -0
- package/src/components/VWysiwygEditor/.DS_Store +0 -0
- package/src/components/VWysiwygEditor/extensions/.DS_Store +0 -0
- package/src/components/VWysiwygEditor/extensions/linter/.DS_Store +0 -0
- package/src/tool/index.ts +0 -2
- package/src/tool/vite-plugin.ts +0 -266
- /package/{src/styles → dist}/after-effects/display-flow.scss +0 -0
- /package/{src/styles → dist}/after-effects/spacing.scss +0 -0
- /package/{src/styles → dist}/after-effects/text.scss +0 -0
- /package/{src/styles → dist}/after-effects.scss +0 -0
- /package/dist/{assets/builtins → builtins}/color-scheme.ts +0 -0
- /package/dist/{assets/builtins → builtins}/media-match.ts +0 -0
|
@@ -1,49 +1,51 @@
|
|
|
1
1
|
$my-offset: 30px;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
@layer vui {
|
|
4
|
+
.v-tabs {
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: var(--tabs-height);
|
|
8
|
+
overflow: hidden;
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
&::before {
|
|
11
|
+
position: absolute;
|
|
12
|
+
right: 0;
|
|
13
|
+
bottom: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
display: block;
|
|
16
|
+
height: 2px;
|
|
17
|
+
content: '';
|
|
18
|
+
background: currentColor;
|
|
19
|
+
opacity: 0.25;
|
|
20
|
+
}
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
&__scroller {
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: calc(var(--tabs-height) + #{$my-offset});
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
&__container {
|
|
27
|
+
padding-bottom: $my-offset;
|
|
28
|
+
}
|
|
27
29
|
}
|
|
28
|
-
}
|
|
29
30
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
&__content {
|
|
32
|
+
position: relative;
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
align-items: stretch;
|
|
35
|
+
min-width: 100%;
|
|
36
|
+
vertical-align: bottom;
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
38
|
+
// &::after {
|
|
39
|
+
// position: absolute;
|
|
40
|
+
// right: 0;
|
|
41
|
+
// bottom: 0;
|
|
42
|
+
// left: 0;
|
|
43
|
+
// z-index: 1;
|
|
44
|
+
// display: block;
|
|
45
|
+
// height: var(--tabs-bar-height);
|
|
46
|
+
// pointer-events: none;
|
|
47
|
+
// content: '';
|
|
48
|
+
// }
|
|
49
|
+
}
|
|
48
50
|
}
|
|
49
51
|
}
|
|
@@ -16,8 +16,11 @@ import { useVui } from '../../injections';
|
|
|
16
16
|
import { defineSlotsProps } from '@fastkit/vue-utils';
|
|
17
17
|
import { RouteLocationRaw, RouteLocation } from 'vue-router';
|
|
18
18
|
import { VTab, VTabRef } from './VTab';
|
|
19
|
-
import {
|
|
20
|
-
|
|
19
|
+
import {
|
|
20
|
+
VScroller,
|
|
21
|
+
useVScrollerRef,
|
|
22
|
+
ScrollResult,
|
|
23
|
+
} from '@fastkit/vue-scroller';
|
|
21
24
|
import { useScopeColorClass, ScopeName } from '@fastkit/vue-color-scheme';
|
|
22
25
|
import { isPromise } from '@fastkit/helpers';
|
|
23
26
|
|
|
@@ -1,45 +1,47 @@
|
|
|
1
1
|
@use '../../styles/core.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
@layer vui {
|
|
4
|
+
.v-text-field {
|
|
5
|
+
&__input {
|
|
6
|
+
cursor: text;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
&__element {
|
|
9
|
+
width: 100%;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
// width: calc(100% - 8px);
|
|
12
|
+
padding: 0;
|
|
13
|
+
margin: 0;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
// margin: 0 8px;
|
|
16
|
+
font-size: inherit;
|
|
17
|
+
line-height: inherit;
|
|
18
|
+
text-overflow: ellipsis;
|
|
19
|
+
letter-spacing: inherit;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
background: transparent;
|
|
22
|
+
border: 0;
|
|
23
|
+
border-radius: 0;
|
|
24
|
+
outline: 0;
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
&:-webkit-autofill {
|
|
27
|
+
@include core.auto-fill-cancel;
|
|
28
|
+
// color: inherit !important;
|
|
29
|
+
// box-shadow: 0 0 0 1000px get-color(field) inset;
|
|
30
|
+
}
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
&::-ms-clear {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
&::placeholder {
|
|
37
|
+
font-style: italic;
|
|
38
|
+
color: var(--control-disabled-color);
|
|
39
|
+
}
|
|
39
40
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
// @include placeholder {
|
|
42
|
+
// color: get-color(text-muted);
|
|
43
|
+
// }
|
|
44
|
+
}
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
}
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
useTextInputControl,
|
|
6
6
|
createFormControlProps,
|
|
7
7
|
FormControlSlots,
|
|
8
|
-
defineSlotsProps,
|
|
9
8
|
TextInputEmits,
|
|
10
|
-
} from '@fastkit/vue-
|
|
9
|
+
} from '@fastkit/vue-form-control';
|
|
10
|
+
import { defineSlotsProps } from '@fastkit/vue-utils';
|
|
11
11
|
import { VFormControl } from '../VFormControl';
|
|
12
12
|
import {
|
|
13
13
|
VControlField,
|
|
@@ -1,41 +1,43 @@
|
|
|
1
1
|
@use '../../styles/core.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
@layer vui {
|
|
4
|
+
.v-textarea {
|
|
5
|
+
&__input {
|
|
6
|
+
cursor: text;
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
&__element {
|
|
9
|
+
width: 100%;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
padding: 8px 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
font-size: inherit;
|
|
14
|
+
line-height: inherit;
|
|
15
|
+
letter-spacing: inherit;
|
|
16
|
+
resize: none;
|
|
17
|
+
background: transparent;
|
|
18
|
+
border: 0;
|
|
19
|
+
border-radius: 0;
|
|
20
|
+
outline: 0;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
&:-webkit-autofill {
|
|
23
|
+
@include core.auto-fill-cancel;
|
|
24
|
+
// color: inherit !important;
|
|
25
|
+
// box-shadow: 0 0 0 1000px get-color(field) inset;
|
|
26
|
+
}
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
&::-ms-clear {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
&::placeholder {
|
|
33
|
+
font-style: italic;
|
|
34
|
+
color: var(--control-disabled-color);
|
|
35
|
+
}
|
|
35
36
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
// @include placeholder {
|
|
38
|
+
// color: get-color(text-muted);
|
|
39
|
+
// }
|
|
40
|
+
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
}
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
useTextareaControl,
|
|
6
6
|
createFormControlProps,
|
|
7
7
|
FormControlSlots,
|
|
8
|
-
|
|
9
|
-
} from '@fastkit/vue-
|
|
8
|
+
} from '@fastkit/vue-form-control';
|
|
9
|
+
import { defineSlotsProps } from '@fastkit/vue-utils';
|
|
10
10
|
import { VFormControl } from '../VFormControl';
|
|
11
11
|
import {
|
|
12
12
|
VControlField,
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
// @use './core.scss';
|
|
2
2
|
// @use '../../styles/core.scss';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
@layer vui {
|
|
5
|
+
.v-toolbar {
|
|
6
|
+
--height: var(--toolbar-height);
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: var(--height);
|
|
12
|
+
padding: 0 calc(var(--root-em) * 1.5); // 24
|
|
13
|
+
margin: 0;
|
|
14
|
+
border-radius: inherit;
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
&--plain {
|
|
17
|
+
--main-color: var(--palette-background);
|
|
18
|
+
}
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
.v-app-layout__header > & {
|
|
21
|
+
height: 100%;
|
|
22
|
+
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
&--dense {
|
|
25
|
+
--height: var(--toolbar-dense-height);
|
|
26
|
+
}
|
|
25
27
|
}
|
|
26
28
|
}
|
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
// @use '../../styles/core.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
@layer vui {
|
|
4
|
+
.v-toolbar-edge {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex: 0 0;
|
|
7
|
+
align-items: center;
|
|
8
|
+
align-self: stretch;
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
&:empty,
|
|
11
|
+
&--empty {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
$my-negative-margin: calc(-1 * var(--root-em) * 0.75); // -12
|
|
16
|
+
$my-margin: calc(var(--root-em) * 0.75); // -12
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
&--start {
|
|
19
|
+
margin-right: $my-margin;
|
|
20
|
+
margin-left: $my-negative-margin;
|
|
21
|
+
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
&--end {
|
|
24
|
+
padding-left: $my-margin;
|
|
25
|
+
margin-right: $my-negative-margin;
|
|
26
|
+
margin-left: auto;
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
}
|
|
@@ -4,6 +4,11 @@ import { renderSlotOrEmpty } from '@fastkit/vue-utils';
|
|
|
4
4
|
import { VButton, vueButtonProps } from '../VButton';
|
|
5
5
|
import { useVui } from '../../injections';
|
|
6
6
|
|
|
7
|
+
// @TODO Unable to resolve dts for `navigationableInheritProps`.
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
11
|
+
|
|
7
12
|
export type VToolbarMenuEdge = 'start' | 'end';
|
|
8
13
|
|
|
9
14
|
export const VToolbarMenu = defineComponent({
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
// @use '../../styles/core.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
@layer vui {
|
|
4
|
+
.v-toolbar-title {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-grow: 1;
|
|
7
|
+
margin: 0;
|
|
8
|
+
// font-size: var(--typo-h3-size);
|
|
9
|
+
font-size: 1.25rem;
|
|
10
|
+
// font-weight: var(--typo-h3-weight);
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
// font-size: 16px;
|
|
13
|
+
// font-weight: 500;
|
|
14
|
+
line-height: 1;
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
// font-weight: 500;
|
|
17
|
+
// font-size: 1.25rem;
|
|
18
|
+
// line-height: 1.6;
|
|
19
|
+
// letter-spacing: 0.0075em;
|
|
20
|
+
white-space: nowrap;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
// @include core.typo('h2');
|
|
23
|
+
}
|
|
22
24
|
}
|
|
@@ -1,66 +1,68 @@
|
|
|
1
1
|
@use '../../styles/core.scss';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
&--md {
|
|
10
|
-
--min-height: var(--wysiwyg-min-height-md);
|
|
11
|
-
--max-height: var(--wysiwyg-max-height-md);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&--lg {
|
|
15
|
-
--min-height: var(--wysiwyg-min-height-lg);
|
|
16
|
-
--max-height: var(--wysiwyg-max-height-lg);
|
|
17
|
-
}
|
|
3
|
+
@layer vui {
|
|
4
|
+
.v-wysiwyg-editor {
|
|
5
|
+
&--sm {
|
|
6
|
+
--min-height: var(--wysiwyg-min-height-sm);
|
|
7
|
+
--max-height: var(--wysiwyg-max-height-sm);
|
|
8
|
+
}
|
|
18
9
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
&--md {
|
|
11
|
+
--min-height: var(--wysiwyg-min-height-md);
|
|
12
|
+
--max-height: var(--wysiwyg-max-height-md);
|
|
13
|
+
}
|
|
22
14
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
&--lg {
|
|
16
|
+
--min-height: var(--wysiwyg-min-height-lg);
|
|
17
|
+
--max-height: var(--wysiwyg-max-height-lg);
|
|
18
|
+
}
|
|
26
19
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
bottom: 100%;
|
|
31
|
-
z-index: 1;
|
|
32
|
-
}
|
|
20
|
+
&__wrapper {
|
|
21
|
+
position: relative;
|
|
22
|
+
}
|
|
33
23
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
max-height: var(--max-height);
|
|
38
|
-
// max-height: 200px;
|
|
39
|
-
overflow: auto;
|
|
40
|
-
}
|
|
24
|
+
.v-control-field__body {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
41
27
|
|
|
42
|
-
|
|
43
|
-
|
|
28
|
+
&__floating-toolbar {
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: 0;
|
|
31
|
+
bottom: 100%;
|
|
32
|
+
z-index: 1;
|
|
33
|
+
}
|
|
44
34
|
|
|
45
|
-
&
|
|
35
|
+
&__body {
|
|
36
|
+
position: relative;
|
|
46
37
|
width: 100%;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
38
|
+
max-height: var(--max-height);
|
|
39
|
+
// max-height: 200px;
|
|
40
|
+
overflow: auto;
|
|
50
41
|
}
|
|
51
42
|
|
|
52
|
-
&
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
43
|
+
&__input {
|
|
44
|
+
cursor: text;
|
|
45
|
+
|
|
46
|
+
&__element {
|
|
47
|
+
width: 100%;
|
|
48
|
+
min-width: 0;
|
|
49
|
+
padding: 8px 0;
|
|
50
|
+
margin: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__prose {
|
|
54
|
+
width: 100%;
|
|
55
|
+
min-height: var(--min-height);
|
|
56
|
+
outline: none;
|
|
57
|
+
}
|
|
56
58
|
}
|
|
57
|
-
}
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
&--disabled-min-heihgt &__input__prose {
|
|
61
|
+
min-height: 0;
|
|
62
|
+
}
|
|
62
63
|
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
&--disabled-max-heihgt &__body {
|
|
65
|
+
max-height: none;
|
|
66
|
+
}
|
|
65
67
|
}
|
|
66
68
|
}
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
createFormControlProps,
|
|
13
13
|
FormControlSlots,
|
|
14
|
-
|
|
15
|
-
} from '@fastkit/vue-
|
|
14
|
+
} from '@fastkit/vue-form-control';
|
|
15
|
+
import { defineSlotsProps } from '@fastkit/vue-utils';
|
|
16
16
|
import { VFormControl } from '../VFormControl';
|
|
17
17
|
import {
|
|
18
18
|
VControlField,
|