@fastkit/vui 0.12.8 → 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.
Files changed (108) hide show
  1. package/LICENSE +1 -1
  2. package/dist/vui.css +2786 -2716
  3. package/dist/vui.css.map +1 -0
  4. package/dist/vui.d.ts +9072 -10172
  5. package/dist/vui.mjs +2141 -1969
  6. package/dist/vui.mjs.map +1 -0
  7. package/package.json +89 -59
  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/VWysiwygEditor/VWysiwygEditor.scss +52 -50
  71. package/src/components/VWysiwygEditor/VWysiwygEditor.tsx +2 -2
  72. package/src/components/VWysiwygEditor/extensions/linter/Linter.scss +108 -109
  73. package/src/components/VWysiwygEditor/schemes.ts +1 -1
  74. package/src/components/VWysiwygEditor/tools/color.scss +106 -112
  75. package/src/components/kits.ts +1 -1
  76. package/src/composables/control.ts +1 -1
  77. package/src/composables/form-selector.scss +20 -18
  78. package/src/composables/form-selector.tsx +5 -3
  79. package/src/index.ts +13 -2
  80. package/src/plugin.tsx +4 -4
  81. package/src/schemes/control.ts +2 -2
  82. package/src/service.tsx +5 -5
  83. package/src/styles/core/functions.scss +2 -2
  84. package/src/styles/index.scss +23 -9
  85. package/dist/tool/index.d.ts +0 -2
  86. package/dist/tool/index.d.ts.map +0 -1
  87. package/dist/tool/index.mjs +0 -193
  88. package/dist/tool/vite-plugin.d.ts +0 -25
  89. package/dist/tool/vite-plugin.d.ts.map +0 -1
  90. package/src/.DS_Store +0 -0
  91. package/src/assets/builtins/color-scheme.ts +0 -9
  92. package/src/assets/builtins/media-match.ts +0 -3
  93. package/src/components/.DS_Store +0 -0
  94. package/src/components/VAvatar/.DS_Store +0 -0
  95. package/src/components/VChip/.DS_Store +0 -0
  96. package/src/components/VSkeltonLoader/.DS_Store +0 -0
  97. package/src/components/VTextField/.DS_Store +0 -0
  98. package/src/components/VWysiwygEditor/.DS_Store +0 -0
  99. package/src/components/VWysiwygEditor/extensions/.DS_Store +0 -0
  100. package/src/components/VWysiwygEditor/extensions/linter/.DS_Store +0 -0
  101. package/src/tool/index.ts +0 -2
  102. package/src/tool/vite-plugin.ts +0 -266
  103. /package/{src/styles → dist}/after-effects/display-flow.scss +0 -0
  104. /package/{src/styles → dist}/after-effects/spacing.scss +0 -0
  105. /package/{src/styles → dist}/after-effects/text.scss +0 -0
  106. /package/{src/styles → dist}/after-effects.scss +0 -0
  107. /package/dist/{assets/builtins → builtins}/color-scheme.ts +0 -0
  108. /package/dist/{assets/builtins → builtins}/media-match.ts +0 -0
@@ -1,230 +1,229 @@
1
- .v-data-table {
2
- --controls-vertial-margin: 0.625em;
1
+ @layer vui {
2
+ .v-data-table {
3
+ --controls-vertial-margin: 0.625em;
3
4
 
4
- .v-card-content & {
5
- margin-right: calc(var(--card-content-padding) * -1);
6
- margin-left: calc(var(--card-content-padding) * -1);
7
- }
8
-
9
- &__empty--message {
10
- // @include container;
5
+ .v-card-content & {
6
+ margin-right: calc(var(--card-content-padding) * -1);
7
+ margin-left: calc(var(--card-content-padding) * -1);
8
+ }
11
9
 
12
- // color: get-color(text-muted);
13
- }
10
+ &__empty--message {
11
+ // @include container;
14
12
 
15
- &__controls {
16
- display: flex;
17
- flex-wrap: wrap;
18
- align-items: center;
19
- justify-content: flex-end;
13
+ // color: get-color(text-muted);
14
+ }
20
15
 
21
- &__info {
16
+ &__controls {
22
17
  display: flex;
18
+ flex-wrap: wrap;
23
19
  align-items: center;
20
+ justify-content: flex-end;
24
21
 
25
- &__length {
26
- margin-right: 20px;
22
+ &__info {
23
+ display: flex;
24
+ align-items: center;
25
+
26
+ &__length {
27
+ margin-right: 20px;
28
+ }
27
29
  }
28
- }
29
30
 
30
- &__select-limit {
31
- display: flex;
32
- align-items: center;
31
+ &__select-limit {
32
+ display: flex;
33
+ align-items: center;
33
34
 
34
- &__prefix {
35
- margin-right: 0.5em;
36
- font-size: 0.75em;
37
- color: var(--palette-muted);
38
- white-space: nowrap;
39
- }
35
+ &__prefix {
36
+ margin-right: 0.5em;
37
+ font-size: 0.75em;
38
+ color: var(--palette-muted);
39
+ white-space: nowrap;
40
+ }
40
41
 
41
- .v-select {
42
- width: 5em;
43
- margin-left: 0.5em;
42
+ .v-select {
43
+ width: 5em;
44
+ margin-left: 0.5em;
45
+ }
44
46
  }
45
- }
46
47
 
47
- &__pagination {
48
- flex: 1 1 100%;
49
- margin-left: auto;
48
+ &__pagination {
49
+ flex: 1 1 100%;
50
+ margin-left: auto;
50
51
 
51
- @media screen and (min-width: 320px) {
52
- flex: 0 0 50%;
53
- width: 50%;
52
+ @media screen and (min-width: 320px) {
53
+ flex: 0 0 50%;
54
+ width: 50%;
55
+ }
54
56
  }
55
57
  }
56
- }
57
58
 
58
- &__header {
59
- margin-bottom: var(--controls-vertial-margin);
60
- }
59
+ &__header {
60
+ margin-bottom: var(--controls-vertial-margin);
61
+ }
61
62
 
62
- &__footer {
63
- margin-top: var(--controls-vertial-margin);
64
- }
63
+ &__footer {
64
+ margin-top: var(--controls-vertial-margin);
65
+ }
65
66
 
66
- &__body {
67
- position: relative;
67
+ &__body {
68
+ position: relative;
68
69
 
69
- &__inner {
70
- overflow-x: auto;
70
+ &__inner {
71
+ overflow-x: auto;
72
+ }
71
73
  }
72
- }
73
74
 
74
- &__table-wrapper {
75
- display: flex;
75
+ &__table-wrapper {
76
+ display: flex;
76
77
 
77
- &::before,
78
- &::after {
79
- display: block;
80
- // flex: 0 0 $view-padding-narrow;
81
- // width: $view-padding-narrow;
82
- height: 1px;
83
- content: '';
78
+ &::before,
79
+ &::after {
80
+ display: block;
81
+ // flex: 0 0 $view-padding-narrow;
82
+ // width: $view-padding-narrow;
83
+ height: 1px;
84
+ content: '';
85
+
86
+ // @include mq(wide) {
87
+ // flex-basis: $view-padding-wide;
88
+ // width: $view-padding-wide;
89
+ // }
90
+ }
91
+ }
84
92
 
85
- // @include mq(wide) {
86
- // flex-basis: $view-padding-wide;
87
- // width: $view-padding-wide;
88
- // }
93
+ &__loading {
94
+ position: absolute;
95
+ inset: 0;
96
+ z-index: 1;
97
+ display: flex;
98
+ align-items: center;
99
+ justify-content: center;
100
+ background: var(--palette-background);
101
+ opacity: 0.5;
89
102
  }
90
- }
91
103
 
92
- &__loading {
93
- position: absolute;
94
- top: 0;
95
- right: 0;
96
- bottom: 0;
97
- left: 0;
98
- z-index: 1;
99
- display: flex;
100
- align-items: center;
101
- justify-content: center;
102
- background: var(--palette-background);
103
- opacity: 0.5;
104
- }
104
+ &__table {
105
+ width: 100%;
106
+ // min-width: calc(100% - #{$view-padding-narrow * 2});
107
+ margin: 0;
108
+ // border-collapse: separate;
109
+ background: var(--palette-background);
110
+ border-radius: var(--control-field-radius);
105
111
 
106
- &__table {
107
- width: 100%;
108
- // min-width: calc(100% - #{$view-padding-narrow * 2});
109
- margin: 0;
110
- // border-collapse: separate;
111
- background: var(--palette-background);
112
- border-radius: var(--control-field-radius);
112
+ // @include mq(wide) {
113
+ // min-width: calc(100% - #{$view-padding-wide * 2});
114
+ // }
113
115
 
114
- // @include mq(wide) {
115
- // min-width: calc(100% - #{$view-padding-wide * 2});
116
- // }
116
+ &__cell {
117
+ position: relative;
118
+ text-align: left;
119
+ white-space: nowrap;
120
+ vertical-align: middle;
121
+ border-bottom: thin solid rgba(0, 0, 0, 0.12);
122
+ transition: background 0.2s;
117
123
 
118
- &__cell {
119
- position: relative;
120
- text-align: left;
121
- white-space: nowrap;
122
- vertical-align: middle;
123
- border-bottom: thin solid rgba(0, 0, 0, 0.12);
124
- transition: background 0.2s;
125
-
126
- &:first-child {
127
- padding-left: calc(var(--table-cell-horizontal-padding) * 2);
128
- }
124
+ &:first-child {
125
+ padding-left: calc(var(--table-cell-horizontal-padding) * 2);
126
+ }
129
127
 
130
- &:last-child {
131
- padding-right: calc(var(--table-cell-horizontal-padding) * 2);
132
- }
128
+ &:last-child {
129
+ padding-right: calc(var(--table-cell-horizontal-padding) * 2);
130
+ }
133
131
 
134
- &--left {
135
- text-align: left;
136
- }
132
+ &--left {
133
+ text-align: left;
134
+ }
137
135
 
138
- &--center {
139
- text-align: center;
136
+ &--center {
137
+ text-align: center;
140
138
 
141
- .v-data-table__table__sort-icon--empty {
142
- display: flex;
139
+ .v-data-table__table__sort-icon--empty {
140
+ display: flex;
141
+ }
143
142
  }
144
- }
145
143
 
146
- &--right {
147
- text-align: right;
148
- }
144
+ &--right {
145
+ text-align: right;
146
+ }
149
147
 
150
- &[tabindex='0'] {
151
- cursor: pointer;
148
+ &[tabindex='0'] {
149
+ cursor: pointer;
152
150
 
153
- &:hover,
154
- &:focus {
155
- // background: var(--shadow-color);
156
- // background: get-color(light);
151
+ &:hover,
152
+ &:focus {
153
+ // background: var(--shadow-color);
154
+ // background: get-color(light);
155
+ }
157
156
  }
158
- }
159
157
 
160
- &__tile {
161
- display: flex;
162
- align-items: center;
158
+ &__tile {
159
+ display: flex;
160
+ align-items: center;
161
+ }
163
162
  }
164
- }
165
163
 
166
- &__sort-icon {
167
- width: 25px;
168
- font-size: 1.25em;
169
- opacity: 0;
170
- transition: transform 0.2s, opacity 0.2s;
164
+ &__sort-icon {
165
+ width: 25px;
166
+ font-size: 1.25em;
167
+ opacity: 0;
168
+ transition: transform 0.2s, opacity 0.2s;
171
169
 
172
- // stylelint-disable-next-line no-descending-specificity
173
- &--empty {
174
- display: none;
170
+ // stylelint-disable-next-line no-descending-specificity
171
+ &--empty {
172
+ display: none;
173
+ }
175
174
  }
176
- }
177
175
 
178
- &__header &__cell {
179
- user-select: none;
180
- background: rgba(255, 255, 255, 0.85);
181
- backdrop-filter: blur(3px);
176
+ &__header &__cell {
177
+ user-select: none;
178
+ background: rgba(255, 255, 255, 0.85);
179
+ backdrop-filter: blur(3px);
182
180
 
183
- &--active[tabindex='0'] {
184
- // color: get-color(invert-text);
185
- // background: get-color(primary);
181
+ &--active[tabindex='0'] {
182
+ // color: get-color(invert-text);
183
+ // background: get-color(primary);
184
+ }
186
185
  }
187
- }
188
-
189
- &__header &__cell--active &__sort-icon {
190
- opacity: 1;
191
- }
192
186
 
193
- &__cell[tabindex='0']:hover &__sort-icon,
194
- &__cell[tabindex='0']:focus &__sort-icon {
195
- opacity: 1;
196
- }
187
+ &__header &__cell--active &__sort-icon {
188
+ opacity: 1;
189
+ }
197
190
 
198
- &__body tr:last-child &__cell {
199
- border-bottom: none;
200
- }
191
+ &__cell[tabindex='0']:hover &__sort-icon,
192
+ &__cell[tabindex='0']:focus &__sort-icon {
193
+ opacity: 1;
194
+ }
201
195
 
202
- &__item {
203
- &:hover {
204
- td {
205
- // background: get-color(tocuh-0);
206
- }
196
+ &__body tr:last-child &__cell {
197
+ border-bottom: none;
207
198
  }
208
199
 
209
- &--selected {
210
- // stylelint-disable-next-line no-descending-specificity
211
- td {
212
- // background: get-color(light);
200
+ &__item {
201
+ &:hover {
202
+ td {
203
+ // background: get-color(tocuh-0);
204
+ }
213
205
  }
214
206
 
215
- &:hover {
207
+ &--selected {
208
+ // stylelint-disable-next-line no-descending-specificity
216
209
  td {
217
210
  // background: get-color(light);
218
211
  }
212
+
213
+ &:hover {
214
+ td {
215
+ // background: get-color(light);
216
+ }
217
+ }
219
218
  }
220
219
  }
221
220
  }
222
- }
223
221
 
224
- // stylelint-disable-next-line no-descending-specificity
225
- &--fixed-header &__table__header &__table__cell {
226
- position: sticky;
227
- top: 0;
228
- z-index: 1;
222
+ // stylelint-disable-next-line no-descending-specificity
223
+ &--fixed-header &__table__header &__table__cell {
224
+ position: sticky;
225
+ top: 0;
226
+ z-index: 1;
227
+ }
229
228
  }
230
229
  }
@@ -1,32 +1,34 @@
1
- .v-drawer-layout {
2
- display: block;
3
- width: 100%;
4
- height: 100%;
5
-
6
- &__inner {
7
- display: flex;
8
- flex-direction: column;
9
- align-items: stretch;
1
+ @layer vui {
2
+ .v-drawer-layout {
3
+ display: block;
10
4
  width: 100%;
11
5
  height: 100%;
12
- }
13
6
 
14
- &__header {
15
- display: flex;
16
- flex: 0 0 var(--val-topToolbar-height);
17
- align-items: center;
18
- justify-content: center;
19
- height: var(--val-topToolbar-height);
20
- }
7
+ &__inner {
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: stretch;
11
+ width: 100%;
12
+ height: 100%;
13
+ }
21
14
 
22
- &__body {
23
- flex: 1 1 100%;
24
- overflow: auto;
25
- -webkit-overflow-scrolling: touch;
26
- }
15
+ &__header {
16
+ display: flex;
17
+ flex: 0 0 var(--val-topToolbar-height);
18
+ align-items: center;
19
+ justify-content: center;
20
+ height: var(--val-topToolbar-height);
21
+ }
22
+
23
+ &__body {
24
+ flex: 1 1 100%;
25
+ overflow: auto;
26
+ -webkit-overflow-scrolling: touch;
27
+ }
27
28
 
28
- &__footer {
29
- flex: 0 0 auto;
30
- margin-top: auto;
29
+ &__footer {
30
+ flex: 0 0 auto;
31
+ margin-top: auto;
32
+ }
31
33
  }
32
34
  }
@@ -3,10 +3,9 @@ import {
3
3
  VueForm,
4
4
  createFormSettings,
5
5
  useForm,
6
- defineSlotsProps,
7
- renderSlotOrEmpty,
8
- getDocumentScroller,
9
- } from '@fastkit/vue-kit';
6
+ } from '@fastkit/vue-form-control';
7
+ import { defineSlotsProps, renderSlotOrEmpty } from '@fastkit/vue-utils';
8
+ import { getDocumentScroller } from '@fastkit/vue-scroller';
10
9
  import { createControlProps, useControl } from '../../composables';
11
10
  import { VUI_FORM_SYMBOL, useVui } from '../../injections';
12
11
 
@@ -1,101 +1,103 @@
1
- .v-form-control {
2
- display: flex;
3
- flex-direction: column;
4
- max-width: 100%;
5
- margin: var(--control-horizontal-margin) 0;
6
-
7
- // --control-label-font-size: calc(var(--control-field-font-size) * 0.75); // 12
8
- --my-label-color: var(--control-label-color);
9
- --my-message-color: var(--control-message-color);
1
+ @layer vui {
2
+ .v-form-control {
3
+ display: flex;
4
+ flex-direction: column;
5
+ max-width: 100%;
6
+ margin: var(--control-horizontal-margin) 0;
10
7
 
11
- &--invalid:not(#{&}--readonly) {
12
- --my-label-color: var(--main-color);
13
- --my-message-color: var(--main-color);
14
- }
8
+ // --control-label-font-size: calc(var(--control-field-font-size) * 0.75); // 12
9
+ --my-label-color: var(--control-label-color);
10
+ --my-message-color: var(--control-message-color);
15
11
 
16
- &--disabled {
17
- --my-label-color: var(--control-disabled-color);
18
- --my-message-color: var(--control-disabled-color);
19
- }
12
+ &--invalid:not(#{&}--readonly) {
13
+ --my-label-color: var(--main-color);
14
+ --my-message-color: var(--main-color);
15
+ }
20
16
 
21
- &__label {
22
- display: flex;
23
- align-items: center;
24
- align-self: flex-start;
25
- font-size: var(--control-label-font-size);
26
- font-weight: var(--control-label-font-weight);
27
- line-height: var(--control-label-height);
28
- color: var(--my-label-color);
29
- letter-spacing: 0.00938em;
17
+ &--disabled {
18
+ --my-label-color: var(--control-disabled-color);
19
+ --my-message-color: var(--control-disabled-color);
20
+ }
30
21
 
31
- &__hinttip {
32
- display: inline-flex;
22
+ &__label {
23
+ display: flex;
33
24
  align-items: center;
34
- margin-top: -0.2em;
35
- margin-left: 0.6em;
36
- // font-size: calc(var(--root-em) * 0.5);
37
- font-size: 80%;
38
- line-height: 1;
39
- color: inherit;
40
- // color: var(--palette-muted);
41
- text-decoration: none;
42
- letter-spacing: normal;
43
- cursor: pointer;
44
-
45
- // &:hover,
46
- // &:focus {
47
- // text-decoration: underline;
48
- // }
25
+ align-self: flex-start;
26
+ font-size: var(--control-label-font-size);
27
+ font-weight: var(--control-label-font-weight);
28
+ line-height: var(--control-label-height);
29
+ color: var(--my-label-color);
30
+ letter-spacing: 0.00938em;
49
31
 
50
- &__icon {
51
- position: relative;
52
- display: flex;
32
+ &__hinttip {
33
+ display: inline-flex;
53
34
  align-items: center;
54
- justify-content: center;
55
- font-size: 120%;
56
- text-decoration: none !important;
57
- }
35
+ margin-top: -0.2em;
36
+ margin-left: 0.6em;
37
+ // font-size: calc(var(--root-em) * 0.5);
38
+ font-size: 80%;
39
+ line-height: 1;
40
+ color: inherit;
41
+ // color: var(--palette-muted);
42
+ text-decoration: none;
43
+ letter-spacing: normal;
44
+ cursor: pointer;
58
45
 
59
- &:hover &__icon,
60
- &:focus &__icon {
61
- &::before {
62
- opacity: 0.1;
46
+ // &:hover,
47
+ // &:focus {
48
+ // text-decoration: underline;
49
+ // }
50
+
51
+ &__icon {
52
+ position: relative;
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ font-size: 120%;
57
+ text-decoration: none !important;
63
58
  }
64
- }
65
59
 
66
- &__hint {
67
- font-size: calc(var(--root-em) * 0.75);
60
+ &:hover &__icon,
61
+ &:focus &__icon {
62
+ &::before {
63
+ opacity: 0.1;
64
+ }
65
+ }
66
+
67
+ &__hint {
68
+ font-size: calc(var(--root-em) * 0.75);
69
+ }
68
70
  }
69
71
  }
70
- }
71
72
 
72
- // &--disabled &__body {
73
- // user-select: none;
74
- // }
73
+ // &--disabled &__body {
74
+ // user-select: none;
75
+ // }
75
76
 
76
- &__info {
77
- display: flex;
78
- padding-top: 3px;
79
- }
77
+ &__info {
78
+ display: flex;
79
+ padding-top: 3px;
80
+ }
80
81
 
81
- &__message,
82
- &__appends {
83
- margin: 0 var(--control-message-horizontal-margin);
84
- font-size: var(--control-message-font-size);
85
- line-height: 1.66;
86
- color: var(--my-message-color);
87
- }
82
+ &__message,
83
+ &__appends {
84
+ margin: 0 var(--control-message-horizontal-margin);
85
+ font-size: var(--control-message-font-size);
86
+ line-height: 1.66;
87
+ color: var(--my-message-color);
88
+ }
88
89
 
89
- &__message {
90
- flex: 1 0;
91
- // margin: 0 var(--control-message-horizontal-margin);
92
- // font-size: var(--control-message-font-size);
93
- // line-height: 1.66;
94
- // color: var(--my-message-color);
95
- }
90
+ &__message {
91
+ flex: 1 0;
92
+ // margin: 0 var(--control-message-horizontal-margin);
93
+ // font-size: var(--control-message-font-size);
94
+ // line-height: 1.66;
95
+ // color: var(--my-message-color);
96
+ }
96
97
 
97
- &__appends {
98
- flex: 0 1;
99
- margin-left: auto;
98
+ &__appends {
99
+ flex: 0 1;
100
+ margin-left: auto;
101
+ }
100
102
  }
101
103
  }
@@ -4,11 +4,10 @@ import {
4
4
  createFormControlSettings,
5
5
  useFormControl,
6
6
  FormControlSlots,
7
- defineSlotsProps,
8
7
  FormControl,
9
- renderSlotOrEmpty,
10
8
  RequiredChipSource,
11
- } from '@fastkit/vue-kit';
9
+ } from '@fastkit/vue-form-control';
10
+ import { defineSlotsProps, renderSlotOrEmpty } from '@fastkit/vue-utils';
12
11
  import { useVuiColorProvider, useVui } from '../../injections';
13
12
  import type { VuiService } from '../../service';
14
13
  import { VIcon } from '../VIcon';
@@ -1,4 +1,6 @@
1
- .v-grid-container {
2
- display: flex;
3
- flex-wrap: wrap;
1
+ @layer vui {
2
+ .v-grid-container {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ }
4
6
  }