@fastkit/vui 0.12.8 → 0.12.10

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 (130) hide show
  1. package/LICENSE +1 -1
  2. package/dist/vui.css +2522 -2723
  3. package/dist/vui.css.map +1 -0
  4. package/dist/vui.d.ts +8760 -10172
  5. package/dist/vui.mjs +1704 -2490
  6. package/dist/vui.mjs.map +1 -0
  7. package/package.json +69 -61
  8. package/src/components/VApp/VApp.tsx +3 -1
  9. package/src/components/VAvatar/VAvatar.scss +62 -60
  10. package/src/components/VAvatar/VAvatar.tsx +6 -1
  11. package/src/components/VBreadcrumbs/VBreadcrumbs.scss +53 -51
  12. package/src/components/VBusyImage/VBusyImage.scss +50 -51
  13. package/src/components/VButton/VButton.scss +120 -118
  14. package/src/components/VButton/VButton.tsx +6 -1
  15. package/src/components/VButton/VButtonGroup.scss +21 -19
  16. package/src/components/VCard/VCard.scss +41 -42
  17. package/src/components/VCard/VCard.tsx +5 -0
  18. package/src/components/VCard/VCardActions.scss +9 -7
  19. package/src/components/VCard/VCardContent.scss +4 -2
  20. package/src/components/VCheckable/VCheckable.scss +79 -80
  21. package/src/components/VCheckable/VCheckable.tsx +1 -1
  22. package/src/components/VCheckbox/VCheckbox.scss +50 -48
  23. package/src/components/VCheckbox/VCheckbox.tsx +2 -2
  24. package/src/components/VChip/VChip.scss +61 -59
  25. package/src/components/VChip/VChip.tsx +6 -1
  26. package/src/components/VContentSwitcher/VContentSwitcher.scss +52 -50
  27. package/src/components/VControlField/VControlField.scss +148 -146
  28. package/src/components/VControlField/VControlField.tsx +3 -3
  29. package/src/components/VDataTable/VDataTable.scss +167 -168
  30. package/src/components/VDrawerLayout/VDrawerLayout.scss +27 -25
  31. package/src/components/VForm/VForm.tsx +3 -4
  32. package/src/components/VFormControl/VFormControl.scss +84 -82
  33. package/src/components/VFormControl/VFormControl.tsx +2 -3
  34. package/src/components/VGrid/VGridContainer.scss +5 -3
  35. package/src/components/VGrid/VGridItem.scss +4 -2
  36. package/src/components/VHero/VHero.scss +23 -21
  37. package/src/components/VIcon/VIcon.scss +19 -17
  38. package/src/components/VListTile/VListTile.scss +60 -58
  39. package/src/components/VListTile/VListTile.tsx +5 -0
  40. package/src/components/VNavigation/VNavigation.scss +12 -10
  41. package/src/components/VNavigation/VNavigationItem.scss +21 -19
  42. package/src/components/VNavigation/VNavigationItem.tsx +5 -0
  43. package/src/components/VOption/VOption.scss +55 -56
  44. package/src/components/VOption/VOption.tsx +2 -2
  45. package/src/components/VOptionGroup/VOptionGroup.scss +14 -12
  46. package/src/components/VOptionGroup/VOptionGroup.tsx +3 -1
  47. package/src/components/VPagination/VPagination.scss +81 -79
  48. package/src/components/VPagination/VPagination.tsx +1 -1
  49. package/src/components/VPaper/VPaper.scss +43 -41
  50. package/src/components/VRadio/VRadio.scss +52 -53
  51. package/src/components/VRadio/VRadio.tsx +2 -2
  52. package/src/components/VSelect/VSelect.scss +77 -75
  53. package/src/components/VSelect/VSelect.tsx +5 -2
  54. package/src/components/VSkeltonLoader/VSkeltonLoaderBone.scss +24 -22
  55. package/src/components/VSwitch/VSwitch.scss +96 -94
  56. package/src/components/VSwitch/VSwitch.tsx +2 -2
  57. package/src/components/VTabs/VTab.scss +59 -57
  58. package/src/components/VTabs/VTabs.scss +41 -39
  59. package/src/components/VTabs/VTabs.tsx +5 -2
  60. package/src/components/VTextCounter/VTextCounter.scss +4 -2
  61. package/src/components/VTextField/VTextField.scss +37 -35
  62. package/src/components/VTextField/VTextField.tsx +2 -2
  63. package/src/components/VTextarea/VTextarea.scss +33 -31
  64. package/src/components/VTextarea/VTextarea.tsx +2 -2
  65. package/src/components/VToolbar/VToolbar.scss +19 -17
  66. package/src/components/VToolbar/VToolbarEdge.scss +21 -19
  67. package/src/components/VToolbar/VToolbarMenu.scss +6 -4
  68. package/src/components/VToolbar/VToolbarMenu.tsx +5 -0
  69. package/src/components/VToolbar/VToolbarTitle.scss +19 -17
  70. package/src/components/index.ts +3 -1
  71. package/src/components/kits.ts +1 -1
  72. package/src/composables/control.ts +1 -1
  73. package/src/composables/form-selector.scss +20 -18
  74. package/src/composables/form-selector.tsx +5 -3
  75. package/src/index.ts +13 -2
  76. package/src/injections.ts +1 -1
  77. package/src/plugin.tsx +4 -4
  78. package/src/schemes/control.ts +2 -2
  79. package/src/service.tsx +5 -5
  80. package/src/styles/core/functions.scss +2 -2
  81. package/src/styles/index.scss +23 -9
  82. package/dist/tool/index.d.ts +0 -2
  83. package/dist/tool/index.d.ts.map +0 -1
  84. package/dist/tool/index.mjs +0 -193
  85. package/dist/tool/vite-plugin.d.ts +0 -25
  86. package/dist/tool/vite-plugin.d.ts.map +0 -1
  87. package/src/.DS_Store +0 -0
  88. package/src/assets/builtins/color-scheme.ts +0 -9
  89. package/src/assets/builtins/media-match.ts +0 -3
  90. package/src/components/.DS_Store +0 -0
  91. package/src/components/VAvatar/.DS_Store +0 -0
  92. package/src/components/VChip/.DS_Store +0 -0
  93. package/src/components/VSkeltonLoader/.DS_Store +0 -0
  94. package/src/components/VTextField/.DS_Store +0 -0
  95. package/src/components/VWysiwygEditor/.DS_Store +0 -0
  96. package/src/components/VWysiwygEditor/VWysiwygEditor.scss +0 -66
  97. package/src/components/VWysiwygEditor/VWysiwygEditor.tsx +0 -354
  98. package/src/components/VWysiwygEditor/extensions/.DS_Store +0 -0
  99. package/src/components/VWysiwygEditor/extensions/color.ts +0 -72
  100. package/src/components/VWysiwygEditor/extensions/index.ts +0 -2
  101. package/src/components/VWysiwygEditor/extensions/linter/.DS_Store +0 -0
  102. package/src/components/VWysiwygEditor/extensions/linter/Linter.scss +0 -140
  103. package/src/components/VWysiwygEditor/extensions/linter/Linter.tsx +0 -210
  104. package/src/components/VWysiwygEditor/extensions/linter/LinterPlugin.ts +0 -65
  105. package/src/components/VWysiwygEditor/extensions/linter/index.ts +0 -5
  106. package/src/components/VWysiwygEditor/extensions/linter/plugins/BadWords.tsx +0 -50
  107. package/src/components/VWysiwygEditor/extensions/linter/plugins/HeadingLevel.ts +0 -39
  108. package/src/components/VWysiwygEditor/extensions/linter/plugins/Punctuation.ts +0 -49
  109. package/src/components/VWysiwygEditor/extensions/linter/plugins/index.ts +0 -3
  110. package/src/components/VWysiwygEditor/extensions/linter/utils.ts +0 -28
  111. package/src/components/VWysiwygEditor/index.ts +0 -4
  112. package/src/components/VWysiwygEditor/schemes.ts +0 -251
  113. package/src/components/VWysiwygEditor/tools/bullet-list.ts +0 -18
  114. package/src/components/VWysiwygEditor/tools/color.scss +0 -140
  115. package/src/components/VWysiwygEditor/tools/color.tsx +0 -90
  116. package/src/components/VWysiwygEditor/tools/format-bold.ts +0 -19
  117. package/src/components/VWysiwygEditor/tools/format-italic.ts +0 -18
  118. package/src/components/VWysiwygEditor/tools/format-underline.ts +0 -18
  119. package/src/components/VWysiwygEditor/tools/history.ts +0 -26
  120. package/src/components/VWysiwygEditor/tools/index.ts +0 -8
  121. package/src/components/VWysiwygEditor/tools/link.ts +0 -57
  122. package/src/components/VWysiwygEditor/tools/ordered-list.ts +0 -21
  123. package/src/tool/index.ts +0 -2
  124. package/src/tool/vite-plugin.ts +0 -266
  125. /package/{src/styles → dist}/after-effects/display-flow.scss +0 -0
  126. /package/{src/styles → dist}/after-effects/spacing.scss +0 -0
  127. /package/{src/styles → dist}/after-effects/text.scss +0 -0
  128. /package/{src/styles → dist}/after-effects.scss +0 -0
  129. /package/dist/{assets/builtins → builtins}/color-scheme.ts +0 -0
  130. /package/dist/{assets/builtins → builtins}/media-match.ts +0 -0
@@ -1,100 +1,102 @@
1
1
  @use '../../styles/core.scss';
2
2
 
3
- .v-pagination {
4
- --pagination-size: var(--pagination-item-size);
5
- --pagination-margin: var(--pagination-item-margin);
6
- --pagination-font-size: var(--pagination-item-font-size);
7
- --pagination-radius: var(--pagination-item-radius);
8
-
9
- &::before {
10
- width: var(--pagination-size);
11
- margin: var(--pagination-margin);
12
- content: none;
13
- }
14
-
15
- display: flex;
16
- align-items: center;
17
- overflow: hidden;
18
- font-weight: bold;
19
- line-height: 1;
20
-
21
- &--left {
22
- justify-content: flex-start;
23
- }
3
+ @layer vui {
4
+ .v-pagination {
5
+ --pagination-size: var(--pagination-item-size);
6
+ --pagination-margin: var(--pagination-item-margin);
7
+ --pagination-font-size: var(--pagination-item-font-size);
8
+ --pagination-radius: var(--pagination-item-radius);
9
+
10
+ &::before {
11
+ width: var(--pagination-size);
12
+ margin: var(--pagination-margin);
13
+ content: none;
14
+ }
24
15
 
25
- &--center {
26
- justify-content: center;
27
- }
16
+ display: flex;
17
+ align-items: center;
18
+ overflow: hidden;
19
+ font-weight: bold;
20
+ line-height: 1;
28
21
 
29
- &--right {
30
- justify-content: flex-end;
31
- }
22
+ &--left {
23
+ justify-content: flex-start;
24
+ }
32
25
 
33
- &__item,
34
- a#{&}__item {
35
- @include core.button-reset;
26
+ &--center {
27
+ justify-content: center;
28
+ }
36
29
 
37
- display: flex;
38
- align-items: center;
39
- justify-content: center;
40
- min-width: var(--pagination-size);
41
- height: var(--pagination-size);
42
- margin: calc(var(--pagination-margin) * 0.5);
43
- font-size: var(--pagination-font-size);
44
- color: inherit;
45
- border-radius: var(--pagination-radius);
46
- transition: 0.1s;
47
-
48
- &:hover,
49
- &:focus {
50
- background: rgba(0, 0, 0, 0.1);
30
+ &--right {
31
+ justify-content: flex-end;
51
32
  }
52
33
 
53
- &--active {
54
- &,
34
+ &__item,
35
+ a#{&}__item {
36
+ @include core.button-reset;
37
+
38
+ display: flex;
39
+ align-items: center;
40
+ justify-content: center;
41
+ min-width: var(--pagination-size);
42
+ height: var(--pagination-size);
43
+ margin: calc(var(--pagination-margin) * 0.5);
44
+ font-size: var(--pagination-font-size);
45
+ color: inherit;
46
+ border-radius: var(--pagination-radius);
47
+ transition: 0.1s;
48
+
55
49
  &:hover,
56
- &:focus,
57
- &:active {
58
- color: var(--text-color);
59
- pointer-events: none;
60
- background-color: var(--main-color);
50
+ &:focus {
51
+ background: rgba(0, 0, 0, 0.1);
61
52
  }
62
- }
63
53
 
64
- &--disabled {
65
- color: var(--palette-muted) !important;
66
- pointer-events: none !important;
67
- background: transparent !important;
68
- }
54
+ &--active {
55
+ &,
56
+ &:hover,
57
+ &:focus,
58
+ &:active {
59
+ color: var(--text-color);
60
+ pointer-events: none;
61
+ background-color: var(--main-color);
62
+ }
63
+ }
69
64
 
70
- &--truncate {
71
- color: var(--palette-muted) !important;
72
- pointer-events: none !important;
73
- background: transparent !important;
74
- }
65
+ &--disabled {
66
+ color: var(--palette-muted) !important;
67
+ pointer-events: none !important;
68
+ background: transparent !important;
69
+ }
75
70
 
76
- .v-icon {
77
- font-size: 125%;
71
+ &--truncate {
72
+ color: var(--palette-muted) !important;
73
+ pointer-events: none !important;
74
+ background: transparent !important;
75
+ }
76
+
77
+ .v-icon {
78
+ font-size: 125%;
79
+ }
78
80
  }
79
- }
80
81
 
81
- &--dense &__item {
82
- --pagination-size: var(--pagination-item-size-dense);
83
- --pagination-margin: var(--pagination-item-margin-dense);
84
- --pagination-font-size: var(--pagination-item-font-size-dense);
85
- }
82
+ &--dense &__item {
83
+ --pagination-size: var(--pagination-item-size-dense);
84
+ --pagination-margin: var(--pagination-item-margin-dense);
85
+ --pagination-font-size: var(--pagination-item-font-size-dense);
86
+ }
86
87
 
87
- &--disabled &__item {
88
- color: var(--palette-muted);
89
- pointer-events: none;
88
+ &--disabled &__item {
89
+ color: var(--palette-muted);
90
+ pointer-events: none;
90
91
 
91
- &:hover,
92
- &:focus {
93
- background: transparent;
94
- }
92
+ &:hover,
93
+ &:focus {
94
+ background: transparent;
95
+ }
95
96
 
96
- &--active {
97
- background: var(--palette-muted);
97
+ &--active {
98
+ background: var(--palette-muted);
99
+ }
98
100
  }
99
101
  }
100
102
  }
@@ -26,7 +26,7 @@ export type VPaginationGuard = (
26
26
 
27
27
  export const PAGINATION_ALIGNS = ['left', 'center', 'right'] as const;
28
28
 
29
- export type VPaginationAlign = typeof PAGINATION_ALIGNS[number];
29
+ export type VPaginationAlign = (typeof PAGINATION_ALIGNS)[number];
30
30
 
31
31
  export function paginationProps() {
32
32
  return createPropsOptions({
@@ -1,43 +1,45 @@
1
- .v-paper {
2
- --paper-radius: var(--control-field-radius);
3
-
4
- &--plain {
5
- --paper-background--color: var(--palette-background);
6
- --paper-text-color: inherit;
7
- --paper-link-color: var(--link-color);
8
- }
9
-
10
- &--has-color {
11
- --paper-background--color: var(--main-color);
12
- --paper-text-color: var(--text-color);
13
- --paper-link-color: var(--nav-color);
14
- }
15
-
16
- display: block;
17
- color: var(--paper-text-color);
18
- background-color: var(--paper-background--color);
19
- border-radius: var(--paper-radius);
20
-
21
- &__inner {
22
- position: relative;
23
- border-radius: inherit;
24
- }
25
-
26
- &--square {
27
- --paper-radius: 0px;
28
- }
29
-
30
- // a:not(.v-paper) {
31
- // color: var(--paper-link-color);
32
- // }
33
-
34
- &__header {
35
- border-top-left-radius: inherit;
36
- border-top-right-radius: inherit;
37
- }
38
-
39
- &__footer {
40
- border-bottom-right-radius: inherit;
41
- border-bottom-left-radius: inherit;
1
+ @layer vui {
2
+ .v-paper {
3
+ --paper-radius: var(--control-field-radius);
4
+
5
+ &--plain {
6
+ --paper-background--color: var(--palette-background);
7
+ --paper-text-color: inherit;
8
+ --paper-link-color: var(--link-color);
9
+ }
10
+
11
+ &--has-color {
12
+ --paper-background--color: var(--main-color);
13
+ --paper-text-color: var(--text-color);
14
+ --paper-link-color: var(--nav-color);
15
+ }
16
+
17
+ display: block;
18
+ color: var(--paper-text-color);
19
+ background-color: var(--paper-background--color);
20
+ border-radius: var(--paper-radius);
21
+
22
+ &__inner {
23
+ position: relative;
24
+ border-radius: inherit;
25
+ }
26
+
27
+ &--square {
28
+ --paper-radius: 0px;
29
+ }
30
+
31
+ // a:not(.v-paper) {
32
+ // color: var(--paper-link-color);
33
+ // }
34
+
35
+ &__header {
36
+ border-top-left-radius: inherit;
37
+ border-top-right-radius: inherit;
38
+ }
39
+
40
+ &__footer {
41
+ border-bottom-right-radius: inherit;
42
+ border-bottom-left-radius: inherit;
43
+ }
42
44
  }
43
45
  }
@@ -1,66 +1,65 @@
1
1
  @use 'sass:math';
2
2
 
3
- .v-radio {
4
- --my-color: var(--color);
3
+ @layer vui {
4
+ .v-radio {
5
+ --my-color: var(--color);
5
6
 
6
- // color: var(--my-color);
7
- // --my-faux-bg-color: transparent;
7
+ // color: var(--my-color);
8
+ // --my-faux-bg-color: transparent;
8
9
 
9
- // &--selected,
10
- // &--indeterminate {
11
- // --my-border-color: transparent;
12
- // --my-faux-bg-color: var(--color);
13
- // }
10
+ // &--selected,
11
+ // &--indeterminate {
12
+ // --my-border-color: transparent;
13
+ // --my-faux-bg-color: var(--color);
14
+ // }
14
15
 
15
- &__faux {
16
- position: relative;
17
- // display: flex;
18
- // align-items: center;
19
- // justify-content: center;
20
- display: block;
21
- width: 100%;
22
- height: 100%;
23
- // background: var(--my-faux-bg-color);
24
- // border: solid 2px currentColor;
25
- // border-radius: 100%;
26
- transition: border-color 0.2s, background-color 0.2s;
27
-
28
- &::before,
29
- &::after {
30
- position: absolute;
16
+ &__faux {
17
+ position: relative;
18
+ // display: flex;
19
+ // align-items: center;
20
+ // justify-content: center;
31
21
  display: block;
32
- content: '';
33
- border-radius: 100%;
34
- }
35
-
36
- &::before {
37
- top: 0;
38
- right: 0;
39
- bottom: 0;
40
- left: 0;
41
- border: solid 2px currentColor;
42
- // display: block;
43
- // width: 60%;
44
- // height: 60%;
45
- // content: '';
46
- // background: currentColor;
22
+ width: 100%;
23
+ height: 100%;
24
+ // background: var(--my-faux-bg-color);
25
+ // border: solid 2px currentColor;
47
26
  // border-radius: 100%;
48
- }
27
+ transition: border-color 0.2s, background-color 0.2s;
49
28
 
50
- &::after {
51
- top: 50%;
52
- left: 50%;
53
- width: 50%;
54
- height: 50%;
55
- background: currentColor;
56
- transition: transform 0.2s;
57
- transform: translate(-50%, -50%) scale(0);
29
+ &::before,
30
+ &::after {
31
+ position: absolute;
32
+ display: block;
33
+ content: '';
34
+ border-radius: 100%;
35
+ }
36
+
37
+ &::before {
38
+ inset: 0;
39
+ border: solid 2px currentColor;
40
+ // display: block;
41
+ // width: 60%;
42
+ // height: 60%;
43
+ // content: '';
44
+ // background: currentColor;
45
+ // border-radius: 100%;
46
+ }
47
+
48
+ &::after {
49
+ top: 50%;
50
+ left: 50%;
51
+ width: 50%;
52
+ height: 50%;
53
+ background: currentColor;
54
+ transition: transform 0.2s;
55
+ transform: translate(-50%, -50%) scale(0);
56
+ }
58
57
  }
59
- }
60
58
 
61
- &--selected &__faux {
62
- &::after {
63
- transform: translate(-50%, -50%) scale(1);
59
+ &--selected &__faux {
60
+ &::after {
61
+ transform: translate(-50%, -50%) scale(1);
62
+ }
64
63
  }
65
64
  }
66
65
  }
@@ -3,8 +3,8 @@ import { defineComponent } from 'vue';
3
3
  import {
4
4
  createFormSelectorItemSettings,
5
5
  useFormSelectorItemControl,
6
- renderSlotOrEmpty,
7
- } from '@fastkit/vue-kit';
6
+ } from '@fastkit/vue-form-control';
7
+ import { renderSlotOrEmpty } from '@fastkit/vue-utils';
8
8
  import { createControlProps, useControl } from '../../composables';
9
9
  import { VUI_RADIO_GROUP_SYMBOL, VUI_RADIO_SYMBOL } from '../../injections';
10
10
  import { VCheckable } from '../VCheckable';
@@ -1,92 +1,94 @@
1
1
  @use '../../styles/core.scss';
2
2
 
3
- .v-select {
4
- &__input {
5
- cursor: pointer;
3
+ @layer vui {
4
+ .v-select {
5
+ &__input {
6
+ cursor: pointer;
6
7
 
7
- &__element {
8
- @include core.hidden-input-element;
9
- }
10
-
11
- // &__element {
12
- // width: 100%;
13
- // min-width: 0;
14
- // // width: calc(100% - 8px);
15
- // padding: 0;
16
- // margin: 0;
17
- // overflow: hidden;
18
- // // margin: 0 8px;
19
- // font-size: inherit;
20
- // text-overflow: ellipsis;
21
- // white-space: nowrap;
22
- // background: transparent;
23
- // border: 0;
24
- // border-radius: 0;
25
- // outline: 0;
8
+ &__element {
9
+ @include core.hidden-input-element;
10
+ }
26
11
 
27
- // &:-webkit-autofill {
28
- // color: inherit !important;
29
- // // box-shadow: 0 0 0 1000px get-color(field) inset;
30
- // }
12
+ // &__element {
13
+ // width: 100%;
14
+ // min-width: 0;
15
+ // // width: calc(100% - 8px);
16
+ // padding: 0;
17
+ // margin: 0;
18
+ // overflow: hidden;
19
+ // // margin: 0 8px;
20
+ // font-size: inherit;
21
+ // text-overflow: ellipsis;
22
+ // white-space: nowrap;
23
+ // background: transparent;
24
+ // border: 0;
25
+ // border-radius: 0;
26
+ // outline: 0;
31
27
 
32
- // &::-ms-clear {
33
- // display: none;
34
- // }
28
+ // &:-webkit-autofill {
29
+ // color: inherit !important;
30
+ // // box-shadow: 0 0 0 1000px get-color(field) inset;
31
+ // }
35
32
 
36
- // // @include placeholder {
37
- // // color: get-color(text-muted);
38
- // // }
39
- // }
40
- }
33
+ // &::-ms-clear {
34
+ // display: none;
35
+ // }
41
36
 
42
- &__body {
43
- padding: 0.5em 0;
44
- }
37
+ // // @include placeholder {
38
+ // // color: get-color(text-muted);
39
+ // // }
40
+ // }
41
+ }
45
42
 
46
- &__selections {
47
- display: table;
48
- width: 100%;
49
- table-layout: fixed;
50
- // display: flex;
51
- // align-items: center;
52
- // width: 100%;
53
- // min-width: 0;
54
- &__inner {
55
- display: table-cell;
56
- overflow: hidden;
57
- text-overflow: ellipsis;
58
- white-space: nowrap;
59
- vertical-align: middle;
43
+ &__body {
44
+ padding: 0.5em 0;
60
45
  }
61
46
 
62
- .v-select--multiple & {
63
- display: block;
47
+ &__selections {
48
+ display: table;
49
+ width: 100%;
50
+ table-layout: fixed;
51
+ // display: flex;
52
+ // align-items: center;
53
+ // width: 100%;
54
+ // min-width: 0;
55
+ &__inner {
56
+ display: table-cell;
57
+ overflow: hidden;
58
+ text-overflow: ellipsis;
59
+ white-space: nowrap;
60
+ vertical-align: middle;
61
+ }
62
+
63
+ .v-select--multiple & {
64
+ display: block;
65
+ }
66
+
67
+ .v-select--multiple &__inner {
68
+ display: block;
69
+ overflow: auto;
70
+ white-space: unset;
71
+ }
64
72
  }
65
73
 
66
- .v-select--multiple &__inner {
67
- display: block;
68
- overflow: auto;
69
- white-space: unset;
74
+ &--multiple .v-control-field__body {
75
+ padding: 0.2em 0;
70
76
  }
71
- }
72
77
 
73
- &--multiple .v-control-field__body {
74
- padding: 0.2em 0;
75
- }
78
+ &__placeholder {
79
+ font-style: italic;
80
+ color: var(--control-disabled-color);
81
+ }
76
82
 
77
- &__placeholder {
78
- font-style: italic;
79
- color: var(--control-disabled-color);
83
+ // &__selection {
84
+ // // // box-sizing: content-box;
85
+ // // display: table-cell;
86
+ // // // width: 100%;
87
+ // // // min-width: 0;
88
+ // // overflow: hidden;
89
+ // // text-overflow: ellipsis;
90
+ // // white-space: nowrap;
91
+ // // vertical-align: middle;
92
+ // }
80
93
  }
81
-
82
- // &__selection {
83
- // // // box-sizing: content-box;
84
- // // display: table-cell;
85
- // // // width: 100%;
86
- // // // min-width: 0;
87
- // // overflow: hidden;
88
- // // text-overflow: ellipsis;
89
- // // white-space: nowrap;
90
- // // vertical-align: middle;
91
- // }
92
94
  }
@@ -12,14 +12,17 @@ import {
12
12
  createFormSelectorSettings,
13
13
  useFormSelectorControl,
14
14
  createFormControlProps,
15
- defineSlotsProps,
16
15
  FormControlSlots,
17
16
  FormSelectorItemControl,
17
+ } from '@fastkit/vue-form-control';
18
+ import {
19
+ defineSlotsProps,
18
20
  createPropsOptions,
19
21
  VNodeChildOrSlot,
20
22
  resolveVNodeChildOrSlots,
21
23
  useKeyboard,
22
- } from '@fastkit/vue-kit';
24
+ } from '@fastkit/vue-utils';
25
+ import {} from '@fastkit/vue-scroller';
23
26
  import { VFormControl } from '../VFormControl';
24
27
  import {
25
28
  VControlField,
@@ -1,26 +1,28 @@
1
- .v-skelton-loader-bone {
2
- position: relative;
3
- overflow: hidden;
4
- cursor: progress;
5
- background: rgba(0, 0, 0, 0.12);
6
- border-radius: inherit;
1
+ @layer vui {
2
+ .v-skelton-loader-bone {
3
+ position: relative;
4
+ overflow: hidden;
5
+ cursor: progress;
6
+ background: rgba(0, 0, 0, 0.12);
7
+ border-radius: inherit;
7
8
 
8
- &::after {
9
- position: absolute;
10
- top: 0;
11
- right: 0;
12
- left: 0;
13
- z-index: 1;
14
- height: 100%;
15
- content: '';
16
- background: linear-gradient(
17
- 90deg,
18
- hsla(0deg, 0%, 100%, 0),
19
- hsla(0deg, 0%, 100%, 0.3),
20
- hsla(0deg, 0%, 100%, 0)
21
- );
22
- transform: translateX(-100%);
23
- animation: v-skelton-loader-bone-loading 1.5s infinite;
9
+ &::after {
10
+ position: absolute;
11
+ top: 0;
12
+ right: 0;
13
+ left: 0;
14
+ z-index: 1;
15
+ height: 100%;
16
+ content: '';
17
+ background: linear-gradient(
18
+ 90deg,
19
+ hsla(0deg, 0%, 100%, 0),
20
+ hsla(0deg, 0%, 100%, 0.3),
21
+ hsla(0deg, 0%, 100%, 0)
22
+ );
23
+ transform: translateX(-100%);
24
+ animation: v-skelton-loader-bone-loading 1.5s infinite;
25
+ }
24
26
  }
25
27
  }
26
28