@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.
Files changed (109) 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 -10160
  5. package/dist/vui.mjs +2158 -1968
  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/VDataTable/VDataTable.tsx +39 -8
  31. package/src/components/VDrawerLayout/VDrawerLayout.scss +27 -25
  32. package/src/components/VForm/VForm.tsx +3 -4
  33. package/src/components/VFormControl/VFormControl.scss +84 -82
  34. package/src/components/VFormControl/VFormControl.tsx +2 -3
  35. package/src/components/VGrid/VGridContainer.scss +5 -3
  36. package/src/components/VGrid/VGridItem.scss +4 -2
  37. package/src/components/VHero/VHero.scss +23 -21
  38. package/src/components/VIcon/VIcon.scss +19 -17
  39. package/src/components/VListTile/VListTile.scss +60 -58
  40. package/src/components/VListTile/VListTile.tsx +5 -0
  41. package/src/components/VNavigation/VNavigation.scss +12 -10
  42. package/src/components/VNavigation/VNavigationItem.scss +21 -19
  43. package/src/components/VNavigation/VNavigationItem.tsx +5 -0
  44. package/src/components/VOption/VOption.scss +55 -56
  45. package/src/components/VOption/VOption.tsx +2 -2
  46. package/src/components/VOptionGroup/VOptionGroup.scss +14 -12
  47. package/src/components/VOptionGroup/VOptionGroup.tsx +3 -1
  48. package/src/components/VPagination/VPagination.scss +81 -79
  49. package/src/components/VPagination/VPagination.tsx +1 -1
  50. package/src/components/VPaper/VPaper.scss +43 -41
  51. package/src/components/VRadio/VRadio.scss +52 -53
  52. package/src/components/VRadio/VRadio.tsx +2 -2
  53. package/src/components/VSelect/VSelect.scss +77 -75
  54. package/src/components/VSelect/VSelect.tsx +5 -2
  55. package/src/components/VSkeltonLoader/VSkeltonLoaderBone.scss +24 -22
  56. package/src/components/VSwitch/VSwitch.scss +96 -94
  57. package/src/components/VSwitch/VSwitch.tsx +2 -2
  58. package/src/components/VTabs/VTab.scss +59 -57
  59. package/src/components/VTabs/VTabs.scss +41 -39
  60. package/src/components/VTabs/VTabs.tsx +5 -2
  61. package/src/components/VTextCounter/VTextCounter.scss +4 -2
  62. package/src/components/VTextField/VTextField.scss +37 -35
  63. package/src/components/VTextField/VTextField.tsx +2 -2
  64. package/src/components/VTextarea/VTextarea.scss +33 -31
  65. package/src/components/VTextarea/VTextarea.tsx +2 -2
  66. package/src/components/VToolbar/VToolbar.scss +19 -17
  67. package/src/components/VToolbar/VToolbarEdge.scss +21 -19
  68. package/src/components/VToolbar/VToolbarMenu.scss +6 -4
  69. package/src/components/VToolbar/VToolbarMenu.tsx +5 -0
  70. package/src/components/VToolbar/VToolbarTitle.scss +19 -17
  71. package/src/components/VWysiwygEditor/VWysiwygEditor.scss +52 -50
  72. package/src/components/VWysiwygEditor/VWysiwygEditor.tsx +2 -2
  73. package/src/components/VWysiwygEditor/extensions/linter/Linter.scss +108 -109
  74. package/src/components/VWysiwygEditor/schemes.ts +1 -1
  75. package/src/components/VWysiwygEditor/tools/color.scss +106 -112
  76. package/src/components/kits.ts +1 -1
  77. package/src/composables/control.ts +1 -1
  78. package/src/composables/form-selector.scss +20 -18
  79. package/src/composables/form-selector.tsx +5 -3
  80. package/src/index.ts +13 -2
  81. package/src/plugin.tsx +4 -4
  82. package/src/schemes/control.ts +2 -2
  83. package/src/service.tsx +5 -5
  84. package/src/styles/core/functions.scss +2 -2
  85. package/src/styles/index.scss +23 -9
  86. package/dist/tool/index.d.ts +0 -2
  87. package/dist/tool/index.d.ts.map +0 -1
  88. package/dist/tool/index.mjs +0 -193
  89. package/dist/tool/vite-plugin.d.ts +0 -25
  90. package/dist/tool/vite-plugin.d.ts.map +0 -1
  91. package/src/.DS_Store +0 -0
  92. package/src/assets/builtins/color-scheme.ts +0 -9
  93. package/src/assets/builtins/media-match.ts +0 -3
  94. package/src/components/.DS_Store +0 -0
  95. package/src/components/VAvatar/.DS_Store +0 -0
  96. package/src/components/VChip/.DS_Store +0 -0
  97. package/src/components/VSkeltonLoader/.DS_Store +0 -0
  98. package/src/components/VTextField/.DS_Store +0 -0
  99. package/src/components/VWysiwygEditor/.DS_Store +0 -0
  100. package/src/components/VWysiwygEditor/extensions/.DS_Store +0 -0
  101. package/src/components/VWysiwygEditor/extensions/linter/.DS_Store +0 -0
  102. package/src/tool/index.ts +0 -2
  103. package/src/tool/vite-plugin.ts +0 -266
  104. /package/{src/styles → dist}/after-effects/display-flow.scss +0 -0
  105. /package/{src/styles → dist}/after-effects/spacing.scss +0 -0
  106. /package/{src/styles → dist}/after-effects/text.scss +0 -0
  107. /package/{src/styles → dist}/after-effects.scss +0 -0
  108. /package/dist/{assets/builtins → builtins}/color-scheme.ts +0 -0
  109. /package/dist/{assets/builtins → builtins}/media-match.ts +0 -0
@@ -1,140 +1,139 @@
1
- .v-linter {
2
- &__problem {
3
- margin-bottom: -1px;
4
- cursor: help;
5
- background: var(--deep-color);
6
- border-bottom: 1px solid var(--main-color);
7
- }
8
-
9
- &__issue-icon {
10
- position: absolute;
11
- right: 2px;
12
- display: inline-flex;
13
- align-items: center;
14
- justify-content: center;
15
- width: 1.2em;
16
- height: 1.2em;
17
- margin-top: 0.2em;
18
- // padding-left: 0.5px;
19
- font-family: times, georgia, serif;
20
- font-size: 15px;
21
- font-weight: 700;
22
- line-height: 1;
23
- color: var(--text-color);
24
- text-align: center;
25
- cursor: pointer;
26
- background: var(--main-color);
27
- border-radius: 100px;
28
-
29
- &::before {
30
- content: '!';
1
+ @layer vui {
2
+ .v-linter {
3
+ &__problem {
4
+ margin-bottom: -1px;
5
+ cursor: help;
6
+ background: var(--deep-color);
7
+ border-bottom: 1px solid var(--main-color);
31
8
  }
32
- }
33
-
34
- &__issue-menu-wrapper {
35
- position: relative;
36
- display: inline-block;
37
- width: 0px;
38
- height: 1em;
39
- overflow: visible;
40
- }
41
9
 
42
- &__issue-menu {
43
- font-size: 87.5%;
44
- // font-size: 12px;
45
- line-height: 1.5;
10
+ &__issue-icon {
11
+ position: absolute;
12
+ right: 2px;
13
+ display: inline-flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+ width: 1.2em;
17
+ height: 1.2em;
18
+ margin-top: 0.2em;
19
+ // padding-left: 0.5px;
20
+ font-family: times, georgia, serif;
21
+ font-size: 15px;
22
+ font-weight: 700;
23
+ line-height: 1;
24
+ color: var(--text-color);
25
+ text-align: center;
26
+ cursor: pointer;
27
+ background: var(--main-color);
28
+ border-radius: 100px;
46
29
 
47
- .v-dialog__body {
48
- padding: 0;
49
- font-size: inherit;
30
+ &::before {
31
+ content: '!';
32
+ }
50
33
  }
51
34
 
52
- &__message {
53
- padding: 8px;
35
+ &__issue-menu-wrapper {
36
+ position: relative;
37
+ display: inline-block;
38
+ width: 0px;
39
+ height: 1em;
40
+ overflow: visible;
54
41
  }
55
42
 
56
- &__fixers {
57
- position: relative;
58
- padding: 4px 0;
59
- // padding: 8px;
60
- // border-top: solid 1px var(--divider-color);
61
- &::before {
62
- position: absolute;
63
- top: 0;
64
- right: 0;
65
- left: 0;
66
- display: block;
67
- height: 1px;
68
- content: '';
69
- background: currentColor;
70
- opacity: 0.5;
43
+ &__issue-menu {
44
+ font-size: 87.5%;
45
+ // font-size: 12px;
46
+ line-height: 1.5;
47
+
48
+ .v-dialog__body {
49
+ padding: 0;
50
+ font-size: inherit;
71
51
  }
72
- }
73
52
 
74
- &__fixer {
75
- &__button {
76
- position: relative;
77
- display: block;
78
- width: 100%;
53
+ &__message {
79
54
  padding: 8px;
80
- font: inherit;
81
- font-size: 12px;
82
- // margin-top: 8px;
83
- // color: var(--palette-link);
84
- text-align: left;
85
- // text-decoration: underline;
86
- cursor: pointer;
87
- background: transparent;
88
- border: 0;
89
- outline: 0;
90
- appearance: none;
55
+ }
91
56
 
57
+ &__fixers {
58
+ position: relative;
59
+ padding: 4px 0;
60
+ // padding: 8px;
61
+ // border-top: solid 1px var(--divider-color);
92
62
  &::before {
93
63
  position: absolute;
94
64
  top: 0;
95
65
  right: 0;
96
- bottom: 0;
97
66
  left: 0;
98
67
  display: block;
68
+ height: 1px;
99
69
  content: '';
100
70
  background: currentColor;
101
- opacity: 0;
102
- transition: 0.15s;
71
+ opacity: 0.5;
103
72
  }
73
+ }
74
+
75
+ &__fixer {
76
+ &__button {
77
+ position: relative;
78
+ display: block;
79
+ width: 100%;
80
+ padding: 8px;
81
+ font: inherit;
82
+ font-size: 12px;
83
+ // margin-top: 8px;
84
+ // color: var(--palette-link);
85
+ text-align: left;
86
+ // text-decoration: underline;
87
+ cursor: pointer;
88
+ background: transparent;
89
+ border: 0;
90
+ outline: 0;
91
+ appearance: none;
104
92
 
105
- &:hover,
106
- &:focus {
107
93
  &::before {
108
- opacity: 0.1;
94
+ position: absolute;
95
+ inset: 0;
96
+ display: block;
97
+ content: '';
98
+ background: currentColor;
99
+ opacity: 0;
100
+ transition: 0.15s;
109
101
  }
110
- }
111
102
 
112
- &__message {
113
- position: relative;
103
+ &:hover,
104
+ &:focus {
105
+ &::before {
106
+ opacity: 0.1;
107
+ }
108
+ }
109
+
110
+ &__message {
111
+ position: relative;
112
+ }
114
113
  }
115
114
  }
116
- }
117
- // pointer-events: none;
118
- // background: #fff;
119
- // border-radius: 4px;
120
- // opacity: 0;
121
- // transition: opacity 0.15s;
115
+ // pointer-events: none;
116
+ // background: #fff;
117
+ // border-radius: 4px;
118
+ // opacity: 0;
119
+ // transition: opacity 0.15s;
122
120
 
123
- // &--active {
124
- // pointer-events: auto;
125
- // opacity: 1;
126
- // }
121
+ // &--active {
122
+ // pointer-events: auto;
123
+ // opacity: 1;
124
+ // }
127
125
 
128
- &__fix {
129
- display: inline;
130
- margin-top: 8px;
131
- color: var(--palette-link);
132
- text-decoration: underline;
133
- cursor: pointer;
134
- background: transparent;
135
- border: 0;
136
- outline: 0;
137
- appearance: none;
126
+ &__fix {
127
+ display: inline;
128
+ margin-top: 8px;
129
+ color: var(--palette-link);
130
+ text-decoration: underline;
131
+ cursor: pointer;
132
+ background: transparent;
133
+ border: 0;
134
+ outline: 0;
135
+ appearance: none;
136
+ }
138
137
  }
139
138
  }
140
139
  }
@@ -30,7 +30,7 @@ const prefixedEventName = <S extends string>(
30
30
  return `on${source.charAt(0).toUpperCase()}${source.slice(1)}` as any;
31
31
  };
32
32
 
33
- export type WysiwygEditorEvent = typeof EDITOR_EVENTS[number];
33
+ export type WysiwygEditorEvent = (typeof EDITOR_EVENTS)[number];
34
34
 
35
35
  export type WysiwygEditorPrefixedEvent = PrefixedEventName<WysiwygEditorEvent>;
36
36
 
@@ -2,139 +2,133 @@
2
2
  --v-wysiwyg-color-tool: 30px;
3
3
  }
4
4
 
5
- .v-wysiwyg-color-tool {
6
- &__button {
7
- position: relative;
8
- display: inline-flex;
9
- align-items: center;
10
- justify-content: center;
11
- vertical-align: bottom;
12
-
13
- &__bar {
14
- position: absolute;
15
- right: 0;
16
- bottom: 0;
17
- left: 0;
18
- display: block;
19
- height: 2px;
20
- background: currentColor;
21
- }
22
- }
23
-
24
- &__menu {
25
- .v-dialog__content {
26
- min-width: 0;
27
- }
28
-
29
- .v-dialog__body {
30
- padding: 2px;
31
- }
32
- }
33
-
34
- &__items {
35
- --item-size: var(--v-wysiwyg-color-tool);
36
-
37
- display: inline-flex;
38
- flex-wrap: wrap;
39
- align-items: center;
40
- max-width: calc(var(--item-size) * 5);
41
- vertical-align: bottom;
42
-
43
- &--with-label {
44
- display: flex;
45
- flex-direction: column;
46
- // flex-wrap: nowrap;
47
- align-items: flex-start;
48
- max-width: none;
49
- padding: 2px;
50
- }
51
- }
52
-
53
- &__item {
54
- --focus-offset: calc(var(--item-size) * 0.05);
55
-
56
- position: relative;
57
- display: flex;
58
- flex-basis: var(--item-size);
59
- align-items: center;
60
- width: var(--item-size);
61
- height: var(--item-size);
62
- padding: 0;
63
- margin: 0;
64
- // margin: 2px;
65
- cursor: pointer;
66
- background: transparent;
67
- border: 0;
68
- border-radius: 0;
69
- outline: 0;
70
- appearance: none;
71
-
72
- &__color {
5
+ @layer vui {
6
+ .v-wysiwyg-color-tool {
7
+ &__button {
73
8
  position: relative;
74
- flex: 0 0 var(--item-size);
75
- width: var(--item-size);
76
- height: var(--item-size);
9
+ display: inline-flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ vertical-align: bottom;
77
13
 
78
- &::before {
14
+ &__bar {
79
15
  position: absolute;
80
- top: 0;
81
16
  right: 0;
82
17
  bottom: 0;
83
18
  left: 0;
84
19
  display: block;
85
- content: '';
20
+ height: 2px;
86
21
  background: currentColor;
87
- border: solid 1px transparent;
88
- transition: all 0.15s;
89
22
  }
90
23
  }
91
24
 
92
- &__name {
93
- position: relative;
94
- padding: 0 8px;
95
- font-size: 12px;
96
- white-space: nowrap;
25
+ &__menu {
26
+ .v-dialog__content {
27
+ min-width: 0;
28
+ }
29
+
30
+ .v-dialog__body {
31
+ padding: 2px;
32
+ }
97
33
  }
98
34
 
99
- &:hover &__color,
100
- &:focus &__color {
101
- &::before {
102
- top: var(--focus-offset);
103
- right: var(--focus-offset);
104
- bottom: var(--focus-offset);
105
- left: var(--focus-offset);
106
- border-color: rgba(0, 0, 0, 0.1);
35
+ &__items {
36
+ --item-size: var(--v-wysiwyg-color-tool);
37
+
38
+ display: inline-flex;
39
+ flex-wrap: wrap;
40
+ align-items: center;
41
+ max-width: calc(var(--item-size) * 5);
42
+ vertical-align: bottom;
43
+
44
+ &--with-label {
45
+ display: flex;
46
+ flex-direction: column;
47
+ // flex-wrap: nowrap;
48
+ align-items: flex-start;
49
+ max-width: none;
50
+ padding: 2px;
107
51
  }
108
52
  }
109
- }
110
53
 
111
- &__items--with-label &__item {
112
- flex-basis: auto;
113
- width: auto;
114
- width: 100%;
115
-
116
- &::before {
117
- position: absolute;
118
- top: 0;
119
- right: 0;
120
- bottom: 0;
121
- left: 0;
122
- display: block;
123
- content: '';
124
- background: currentColor;
125
- opacity: 0;
126
- transition: opacity 0.15s;
54
+ &__item {
55
+ --focus-offset: calc(var(--item-size) * 0.05);
56
+
57
+ position: relative;
58
+ display: flex;
59
+ flex-basis: var(--item-size);
60
+ align-items: center;
61
+ width: var(--item-size);
62
+ height: var(--item-size);
63
+ padding: 0;
64
+ margin: 0;
65
+ // margin: 2px;
66
+ cursor: pointer;
67
+ background: transparent;
68
+ border: 0;
69
+ border-radius: 0;
70
+ outline: 0;
71
+ appearance: none;
72
+
73
+ &__color {
74
+ position: relative;
75
+ flex: 0 0 var(--item-size);
76
+ width: var(--item-size);
77
+ height: var(--item-size);
78
+
79
+ &::before {
80
+ position: absolute;
81
+ inset: 0;
82
+ display: block;
83
+ content: '';
84
+ background: currentColor;
85
+ border: solid 1px transparent;
86
+ transition: all 0.15s;
87
+ }
88
+ }
89
+
90
+ &__name {
91
+ position: relative;
92
+ padding: 0 8px;
93
+ font-size: 12px;
94
+ white-space: nowrap;
95
+ }
96
+
97
+ &:hover &__color,
98
+ &:focus &__color {
99
+ &::before {
100
+ inset: var(--focus-offset) var(--focus-offset) var(--focus-offset)
101
+ var(--focus-offset);
102
+ border-color: rgba(0, 0, 0, 0.1);
103
+ }
104
+ }
127
105
  }
128
106
 
129
- &:hover,
130
- &:focus {
107
+ &__items--with-label &__item {
108
+ flex-basis: auto;
109
+ width: auto;
110
+ width: 100%;
111
+
131
112
  &::before {
132
- opacity: 0.1;
113
+ position: absolute;
114
+ inset: 0;
115
+ display: block;
116
+ content: '';
117
+ background: currentColor;
118
+ opacity: 0;
119
+ transition: opacity 0.15s;
133
120
  }
134
- }
135
121
 
136
- & + .v-wysiwyg-color-tool__item {
137
- margin-top: 2px;
122
+ &:hover,
123
+ &:focus {
124
+ &::before {
125
+ opacity: 0.1;
126
+ }
127
+ }
128
+
129
+ & + .v-wysiwyg-color-tool__item {
130
+ margin-top: 2px;
131
+ }
138
132
  }
139
133
  }
140
134
  }
@@ -1 +1 @@
1
- export { VDialog, VMenu, VSnackbar, VTooltip } from '@fastkit/vue-kit';
1
+ export { VDialog, VMenu, VSnackbar, VTooltip } from '@fastkit/vue-stack';
@@ -12,7 +12,7 @@ import {
12
12
  ControlFieldVariant,
13
13
  CONTROL_FIELD_VARIANTS,
14
14
  } from '../schemes';
15
- import { createPropsOptions } from '@fastkit/vue-kit';
15
+ import { createPropsOptions } from '@fastkit/vue-utils';
16
16
  import {
17
17
  VuiControlInjectionKey,
18
18
  VuiControlFieldInjectionKey,
@@ -1,24 +1,26 @@
1
- .v-form-selector {
2
- &__body {
3
- display: block;
4
- }
1
+ @layer vui {
2
+ .v-form-selector {
3
+ &__body {
4
+ display: block;
5
+ }
5
6
 
6
- &__placeholder {
7
- display: flex;
8
- align-items: center;
9
- margin-top: 8px;
10
- font-style: italic;
11
- opacity: 0.5;
7
+ &__placeholder {
8
+ display: flex;
9
+ align-items: center;
10
+ margin-top: 8px;
11
+ font-style: italic;
12
+ opacity: 0.5;
12
13
 
13
- &--error {
14
- color: var(--main-color);
15
- opacity: 1;
14
+ &--error {
15
+ color: var(--main-color);
16
+ opacity: 1;
17
+ }
16
18
  }
17
- }
18
19
 
19
- &--stacked &__body {
20
- display: flex;
21
- flex-direction: column;
22
- align-items: flex-start;
20
+ &--stacked &__body {
21
+ display: flex;
22
+ flex-direction: column;
23
+ align-items: flex-start;
24
+ }
23
25
  }
24
26
  }
@@ -1,8 +1,6 @@
1
1
  import './form-selector.scss';
2
2
  import { VNodeChild, defineComponent, PropType, computed } from 'vue';
3
3
  import {
4
- defineSlotsProps,
5
- TypedSlot,
6
4
  createFormControlProps,
7
5
  createFormSelectorSettings,
8
6
  FormControlSlots,
@@ -10,10 +8,14 @@ import {
10
8
  FormSelectorControl,
11
9
  ResolvedFormSelectorItem,
12
10
  FormNodeControl,
11
+ } from '@fastkit/vue-form-control';
12
+ import {
13
+ defineSlotsProps,
14
+ TypedSlot,
13
15
  renderSlotOrEmpty,
14
16
  VNodeChildOrSlot,
15
17
  resolveVNodeChildOrSlots,
16
- } from '@fastkit/vue-kit';
18
+ } from '@fastkit/vue-utils';
17
19
  import { createControlProps, useControl } from './control';
18
20
  import { VFormControl } from '../components/VFormControl';
19
21
  import { useVui } from '../injections';
package/src/index.ts CHANGED
@@ -1,7 +1,18 @@
1
- export * from '@fastkit/vue-kit';
2
-
3
1
  import './styles/index.scss';
4
2
 
3
+ export * from '@fastkit/helpers';
4
+ export * from '@fastkit/icon-font';
5
+ export * from '@fastkit/media-match';
6
+ export * from '@fastkit/vue-media-match';
7
+ export * from '@fastkit/rules';
8
+ export * from '@fastkit/vue-app-layout';
9
+ export * from '@fastkit/vue-color-scheme';
10
+ export * from '@fastkit/vue-form-control';
11
+ export * from '@fastkit/vue-scroller';
12
+ export * from '@fastkit/vue-stack';
13
+ export * from '@fastkit/vue-utils';
14
+ export * from '@fastkit/vue-loading';
15
+
5
16
  export * from './schemes';
6
17
  export * from './composables';
7
18
  export * from './components';
package/src/plugin.tsx CHANGED
@@ -7,12 +7,12 @@ import {
7
7
  VuiInjectionKey,
8
8
  } from './service';
9
9
  import {
10
- installVueAppLayout,
11
10
  installVueStackPlugin,
12
11
  VueStackServiceOptions,
13
- VueColorSchemePlugin,
14
- onAppUnmount,
15
- } from '@fastkit/vue-kit';
12
+ } from '@fastkit/vue-stack';
13
+ import { VueColorSchemePlugin } from '@fastkit/vue-color-scheme';
14
+ import { installVueAppLayout } from '@fastkit/vue-app-layout';
15
+ import { onAppUnmount } from '@fastkit/vue-utils';
16
16
  import { VButton } from './components/VButton';
17
17
 
18
18
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
@@ -1,10 +1,10 @@
1
1
  export const CONTROL_SIZES = ['sm', 'md', 'lg'] as const;
2
2
 
3
- export type ControlSize = typeof CONTROL_SIZES[number];
3
+ export type ControlSize = (typeof CONTROL_SIZES)[number];
4
4
 
5
5
  export const CONTROL_FIELD_VARIANTS = ['outlined', 'filled', 'flat'] as const;
6
6
 
7
- export type ControlFieldVariant = typeof CONTROL_FIELD_VARIANTS[number];
7
+ export type ControlFieldVariant = (typeof CONTROL_FIELD_VARIANTS)[number];
8
8
 
9
9
  export const CONTROL_LOADING_SPINNER_SIZES: Record<ControlSize, number> = {
10
10
  sm: 16,
package/src/service.tsx CHANGED
@@ -4,20 +4,20 @@ import { VNodeChild, reactive, UnwrapNestedRefs } from 'vue';
4
4
  import { ScopeName, ColorVariant } from '@fastkit/color-scheme';
5
5
  import type { IconName, RawIconProp } from './components/VIcon';
6
6
  import {
7
- type VueColorSchemePluginSettings,
8
7
  type VueStackService,
9
8
  type VDialogProps,
10
9
  type VStackControl,
11
- type VNodeChildOrSlot,
12
10
  resolveVStackDynamicInput,
13
- } from '@fastkit/vue-kit';
11
+ } from '@fastkit/vue-stack';
12
+ import { type VNodeChildOrSlot } from '@fastkit/vue-utils';
13
+ import { type VueColorSchemePluginSettings } from '@fastkit/vue-color-scheme';
14
14
  import type { Router } from 'vue-router';
15
15
  import { RouterLink, useLink, UseLinkOptions } from 'vue-router';
16
16
  import { LocationService, setDefaultRouterLink } from '@fastkit/vue-utils';
17
17
  import { VForm } from './components/VForm';
18
18
  import { VTextField, TextFieldInput } from './components/VTextField';
19
19
  import { VueForm, FormControlHinttipDelay } from '@fastkit/vue-form-control';
20
- import { getDocumentScroller } from '@fastkit/vue-scroller';
20
+ import { getDocumentScroller, UseScroller } from '@fastkit/vue-scroller';
21
21
  import { ControlSize } from './schemes';
22
22
 
23
23
  export type UseLinkResult = ReturnType<typeof useLink>;
@@ -188,7 +188,7 @@ export class VuiService {
188
188
  readonly stack: VueStackService;
189
189
  readonly useLink: typeof useLink;
190
190
 
191
- get scroller() {
191
+ get scroller(): UseScroller {
192
192
  return getDocumentScroller();
193
193
  }
194
194
 
@@ -49,8 +49,8 @@
49
49
  touch-action: manipulation;
50
50
  cursor: pointer;
51
51
  user-select: none;
52
- background-color: transparent;
53
- border: 0;
52
+ // background-color: transparent;
53
+ border-width: 0;
54
54
  outline: 0;
55
55
  appearance: none;
56
56