@skewedaspect/sleekspace-ui 0.5.1 → 0.7.0
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/dist/components/Card/SkCard.vue.d.ts +13 -1
- package/dist/components/ColorPicker/SkColorPicker.vue.d.ts +29 -0
- package/dist/components/ColorPicker/index.d.ts +2 -0
- package/dist/components/ColorPicker/types.d.ts +4 -0
- package/dist/components/ContextMenu/SkContextMenu.vue.d.ts +25 -0
- package/dist/components/ContextMenu/SkContextMenuCheckboxItem.vue.d.ts +28 -0
- package/dist/components/ContextMenu/SkContextMenuItem.vue.d.ts +26 -0
- package/dist/components/ContextMenu/SkContextMenuLabel.vue.d.ts +17 -0
- package/dist/components/ContextMenu/SkContextMenuRadioGroup.vue.d.ts +26 -0
- package/dist/components/ContextMenu/SkContextMenuRadioItem.vue.d.ts +23 -0
- package/dist/components/ContextMenu/SkContextMenuSeparator.vue.d.ts +2 -0
- package/dist/components/ContextMenu/SkContextMenuSubmenu.vue.d.ts +24 -0
- package/dist/components/ContextMenu/index.d.ts +9 -0
- package/dist/components/ContextMenu/types.d.ts +2 -0
- package/dist/components/Dropdown/SkDropdown.vue.d.ts +1 -1
- package/dist/components/Dropdown/SkDropdownCheckboxItem.vue.d.ts +28 -0
- package/dist/components/Dropdown/SkDropdownMenuLabel.vue.d.ts +17 -0
- package/dist/components/Dropdown/SkDropdownRadioGroup.vue.d.ts +26 -0
- package/dist/components/Dropdown/SkDropdownRadioItem.vue.d.ts +23 -0
- package/dist/components/Dropdown/index.d.ts +4 -0
- package/dist/components/Panel/SkPanel.vue.d.ts +15 -1
- package/dist/components/Panel/types.d.ts +1 -0
- package/dist/components/Popover/SkPopover.vue.d.ts +1 -1
- package/dist/components/ScrollArea/SkScrollArea.vue.d.ts +31 -0
- package/dist/components/ScrollArea/index.d.ts +2 -0
- package/dist/components/ScrollArea/types.d.ts +4 -0
- package/dist/components/Select/SkSelect.vue.d.ts +61 -0
- package/dist/components/Select/SkSelectItem.vue.d.ts +134 -0
- package/dist/components/Select/SkSelectSeparator.vue.d.ts +2 -0
- package/dist/components/Select/index.d.ts +4 -0
- package/dist/components/Select/types.d.ts +3 -0
- package/dist/components/Sidebar/SkSidebar.vue.d.ts +8 -1
- package/dist/components/Sidebar/types.d.ts +1 -0
- package/dist/components/Skeleton/SkSkeleton.vue.d.ts +2 -2
- package/dist/components/Splitter/SkSplitter.vue.d.ts +29 -0
- package/dist/components/Splitter/SkSplitterHandle.vue.d.ts +7 -0
- package/dist/components/Splitter/SkSplitterPanel.vue.d.ts +30 -0
- package/dist/components/Splitter/index.d.ts +4 -0
- package/dist/components/Splitter/types.d.ts +3 -0
- package/dist/components/Toolbar/SkToolbar.vue.d.ts +31 -0
- package/dist/components/Toolbar/SkToolbarButton.vue.d.ts +22 -0
- package/dist/components/Toolbar/SkToolbarSeparator.vue.d.ts +2 -0
- package/dist/components/Toolbar/SkToolbarToggleGroup.vue.d.ts +31 -0
- package/dist/components/Toolbar/SkToolbarToggleItem.vue.d.ts +23 -0
- package/dist/components/Toolbar/index.d.ts +6 -0
- package/dist/components/Toolbar/types.d.ts +5 -0
- package/dist/components/Tooltip/SkTooltip.vue.d.ts +1 -1
- package/dist/components/TreeView/SkTreeItem.vue.d.ts +39 -0
- package/dist/components/TreeView/SkTreeView.vue.d.ts +31 -0
- package/dist/components/TreeView/index.d.ts +3 -0
- package/dist/components/TreeView/types.d.ts +3 -0
- package/dist/index.d.ts +61 -0
- package/dist/sleekspace-ui.css +1644 -65
- package/dist/sleekspace-ui.es.js +17444 -6063
- package/dist/sleekspace-ui.umd.js +17426 -6045
- package/package.json +2 -1
- package/src/components/Card/SkCard.vue +17 -1
- package/src/components/ColorPicker/SkColorPicker.vue +355 -0
- package/src/components/ColorPicker/index.ts +6 -0
- package/src/components/ColorPicker/types.ts +11 -0
- package/src/components/ContextMenu/SkContextMenu.vue +83 -0
- package/src/components/ContextMenu/SkContextMenuCheckboxItem.vue +72 -0
- package/src/components/ContextMenu/SkContextMenuItem.vue +49 -0
- package/src/components/ContextMenu/SkContextMenuLabel.vue +17 -0
- package/src/components/ContextMenu/SkContextMenuRadioGroup.vue +36 -0
- package/src/components/ContextMenu/SkContextMenuRadioItem.vue +53 -0
- package/src/components/ContextMenu/SkContextMenuSeparator.vue +21 -0
- package/src/components/ContextMenu/SkContextMenuSubmenu.vue +94 -0
- package/src/components/ContextMenu/index.ts +15 -0
- package/src/components/ContextMenu/types.ts +9 -0
- package/src/components/Dropdown/SkDropdown.vue +1 -1
- package/src/components/Dropdown/SkDropdownCheckboxItem.vue +72 -0
- package/src/components/Dropdown/SkDropdownMenuItem.vue +1 -1
- package/src/components/Dropdown/SkDropdownMenuLabel.vue +17 -0
- package/src/components/Dropdown/SkDropdownRadioGroup.vue +36 -0
- package/src/components/Dropdown/SkDropdownRadioItem.vue +53 -0
- package/src/components/Dropdown/SkDropdownSubmenu.vue +2 -2
- package/src/components/Dropdown/index.ts +4 -0
- package/src/components/Panel/SkPanel.vue +29 -4
- package/src/components/Panel/types.ts +3 -0
- package/src/components/ScrollArea/SkScrollArea.vue +87 -0
- package/src/components/ScrollArea/index.ts +8 -0
- package/src/components/ScrollArea/types.ts +11 -0
- package/src/components/Select/SkSelect.vue +210 -0
- package/src/components/Select/SkSelectItem.vue +112 -0
- package/src/components/Select/SkSelectSeparator.vue +40 -0
- package/src/components/Select/index.ts +10 -0
- package/src/components/Select/types.ts +10 -0
- package/src/components/Sidebar/SkSidebar.vue +39 -2
- package/src/components/Sidebar/types.ts +2 -0
- package/src/components/Splitter/SkSplitter.vue +65 -0
- package/src/components/Splitter/SkSplitterHandle.vue +40 -0
- package/src/components/Splitter/SkSplitterPanel.vue +45 -0
- package/src/components/Splitter/index.ts +10 -0
- package/src/components/Splitter/types.ts +10 -0
- package/src/components/Toolbar/SkToolbar.vue +69 -0
- package/src/components/Toolbar/SkToolbarButton.vue +36 -0
- package/src/components/Toolbar/SkToolbarSeparator.vue +15 -0
- package/src/components/Toolbar/SkToolbarToggleGroup.vue +49 -0
- package/src/components/Toolbar/SkToolbarToggleItem.vue +37 -0
- package/src/components/Toolbar/index.ts +12 -0
- package/src/components/Toolbar/types.ts +12 -0
- package/src/components/TreeView/SkTreeItem.vue +84 -0
- package/src/components/TreeView/SkTreeView.vue +120 -0
- package/src/components/TreeView/index.ts +9 -0
- package/src/components/TreeView/types.ts +10 -0
- package/src/global.d.ts +22 -0
- package/src/index.ts +110 -0
- package/src/styles/components/_card.scss +45 -9
- package/src/styles/components/_color-picker.scss +552 -0
- package/src/styles/components/_index.scss +6 -0
- package/src/styles/components/_listbox.scss +1 -0
- package/src/styles/components/_menu.scss +52 -3
- package/src/styles/components/_panel.scss +119 -13
- package/src/styles/components/_scroll-area.scss +120 -0
- package/src/styles/components/_select.scss +439 -0
- package/src/styles/components/_sidebar.scss +83 -4
- package/src/styles/components/_splitter.scss +136 -0
- package/src/styles/components/_toolbar.scss +296 -0
- package/src/styles/components/_tree-view.scss +187 -0
- package/web-types.json +1244 -197
package/src/index.ts
CHANGED
|
@@ -22,12 +22,41 @@ import SkButton, { type SkButtonComponentProps } from './components/Button/SkBut
|
|
|
22
22
|
import SkCard, { type SkCardComponentProps } from './components/Card/SkCard.vue';
|
|
23
23
|
import SkCheckbox, { type SkCheckboxComponentProps } from './components/Checkbox/SkCheckbox.vue';
|
|
24
24
|
import SkCollapsible, { type SkCollapsibleComponentProps } from './components/Collapsible/SkCollapsible.vue';
|
|
25
|
+
import SkColorPicker, { type SkColorPickerComponentProps } from './components/ColorPicker/SkColorPicker.vue';
|
|
26
|
+
import SkContextMenu, { type SkContextMenuComponentProps } from './components/ContextMenu/SkContextMenu.vue';
|
|
27
|
+
import SkContextMenuCheckboxItem, {
|
|
28
|
+
type SkContextMenuCheckboxItemComponentProps,
|
|
29
|
+
} from './components/ContextMenu/SkContextMenuCheckboxItem.vue';
|
|
30
|
+
import SkContextMenuItem, {
|
|
31
|
+
type SkContextMenuItemComponentProps,
|
|
32
|
+
} from './components/ContextMenu/SkContextMenuItem.vue';
|
|
33
|
+
import SkContextMenuLabel from './components/ContextMenu/SkContextMenuLabel.vue';
|
|
34
|
+
import SkContextMenuRadioGroup, {
|
|
35
|
+
type SkContextMenuRadioGroupComponentProps,
|
|
36
|
+
} from './components/ContextMenu/SkContextMenuRadioGroup.vue';
|
|
37
|
+
import SkContextMenuRadioItem, {
|
|
38
|
+
type SkContextMenuRadioItemComponentProps,
|
|
39
|
+
} from './components/ContextMenu/SkContextMenuRadioItem.vue';
|
|
40
|
+
import SkContextMenuSeparator from './components/ContextMenu/SkContextMenuSeparator.vue';
|
|
41
|
+
import SkContextMenuSubmenu, {
|
|
42
|
+
type SkContextMenuSubmenuComponentProps,
|
|
43
|
+
} from './components/ContextMenu/SkContextMenuSubmenu.vue';
|
|
25
44
|
import SkDivider, { type SkDividerComponentProps } from './components/Divider/SkDivider.vue';
|
|
26
45
|
import SkDropdown, { type SkDropdownComponentProps } from './components/Dropdown/SkDropdown.vue';
|
|
46
|
+
import SkDropdownCheckboxItem, {
|
|
47
|
+
type SkDropdownCheckboxItemComponentProps,
|
|
48
|
+
} from './components/Dropdown/SkDropdownCheckboxItem.vue';
|
|
49
|
+
import SkDropdownMenuLabel from './components/Dropdown/SkDropdownMenuLabel.vue';
|
|
27
50
|
import SkDropdownMenuItem, {
|
|
28
51
|
type SkDropdownMenuItemComponentProps,
|
|
29
52
|
} from './components/Dropdown/SkDropdownMenuItem.vue';
|
|
30
53
|
import SkDropdownMenuSeparator from './components/Dropdown/SkDropdownMenuSeparator.vue';
|
|
54
|
+
import SkDropdownRadioGroup, {
|
|
55
|
+
type SkDropdownRadioGroupComponentProps,
|
|
56
|
+
} from './components/Dropdown/SkDropdownRadioGroup.vue';
|
|
57
|
+
import SkDropdownRadioItem, {
|
|
58
|
+
type SkDropdownRadioItemComponentProps,
|
|
59
|
+
} from './components/Dropdown/SkDropdownRadioItem.vue';
|
|
31
60
|
import SkDropdownSubmenu, {
|
|
32
61
|
type SkDropdownSubmenuComponentProps,
|
|
33
62
|
} from './components/Dropdown/SkDropdownSubmenu.vue';
|
|
@@ -50,12 +79,19 @@ import SkPopover, { type SkPopoverComponentProps } from './components/Popover/Sk
|
|
|
50
79
|
import SkProgress, { type SkProgressComponentProps } from './components/Progress/SkProgress.vue';
|
|
51
80
|
import SkRadio, { type SkRadioComponentProps } from './components/Radio/SkRadio.vue';
|
|
52
81
|
import SkRadioGroup, { type SkRadioGroupComponentProps } from './components/Radio/SkRadioGroup.vue';
|
|
82
|
+
import SkScrollArea, { type SkScrollAreaComponentProps } from './components/ScrollArea/SkScrollArea.vue';
|
|
83
|
+
import SkSelect, { type SkSelectComponentProps } from './components/Select/SkSelect.vue';
|
|
84
|
+
import SkSelectItem, { type SkSelectItemComponentProps } from './components/Select/SkSelectItem.vue';
|
|
85
|
+
import SkSelectSeparator from './components/Select/SkSelectSeparator.vue';
|
|
53
86
|
import SkSidebar, { type SkSidebarComponentProps } from './components/Sidebar/SkSidebar.vue';
|
|
54
87
|
import SkSidebarItem, { type SkSidebarItemComponentProps } from './components/Sidebar/SkSidebarItem.vue';
|
|
55
88
|
import SkSidebarSection, { type SkSidebarSectionComponentProps } from './components/Sidebar/SkSidebarSection.vue';
|
|
56
89
|
import SkSkeleton, { type SkSkeletonComponentProps } from './components/Skeleton/SkSkeleton.vue';
|
|
57
90
|
import SkSlider, { type SkSliderComponentProps } from './components/Slider/SkSlider.vue';
|
|
58
91
|
import SkSpinner, { type SkSpinnerComponentProps } from './components/Spinner/SkSpinner.vue';
|
|
92
|
+
import SkSplitter, { type SkSplitterComponentProps } from './components/Splitter/SkSplitter.vue';
|
|
93
|
+
import SkSplitterHandle, { type SkSplitterHandleComponentProps } from './components/Splitter/SkSplitterHandle.vue';
|
|
94
|
+
import SkSplitterPanel, { type SkSplitterPanelComponentProps } from './components/Splitter/SkSplitterPanel.vue';
|
|
59
95
|
import SkSwitch, { type SkSwitchComponentProps } from './components/Switch/SkSwitch.vue';
|
|
60
96
|
import SkTable, { type SkTableComponentProps } from './components/Table/SkTable.vue';
|
|
61
97
|
import SkTab, { type SkTabComponentProps } from './components/Tabs/SkTab.vue';
|
|
@@ -69,10 +105,23 @@ import SkTextarea, { type SkTextareaComponentProps } from './components/Textarea
|
|
|
69
105
|
import SkToastProvider, {
|
|
70
106
|
type SkToastProviderComponentProps,
|
|
71
107
|
} from './components/Toast/SkToastProvider.vue';
|
|
108
|
+
import SkToolbar, { type SkToolbarComponentProps } from './components/Toolbar/SkToolbar.vue';
|
|
109
|
+
import SkToolbarButton, {
|
|
110
|
+
type SkToolbarButtonComponentProps,
|
|
111
|
+
} from './components/Toolbar/SkToolbarButton.vue';
|
|
112
|
+
import SkToolbarSeparator from './components/Toolbar/SkToolbarSeparator.vue';
|
|
113
|
+
import SkToolbarToggleGroup, {
|
|
114
|
+
type SkToolbarToggleGroupComponentProps,
|
|
115
|
+
} from './components/Toolbar/SkToolbarToggleGroup.vue';
|
|
116
|
+
import SkToolbarToggleItem, {
|
|
117
|
+
type SkToolbarToggleItemComponentProps,
|
|
118
|
+
} from './components/Toolbar/SkToolbarToggleItem.vue';
|
|
72
119
|
import SkTooltip, { type SkTooltipComponentProps } from './components/Tooltip/SkTooltip.vue';
|
|
73
120
|
import SkTooltipProvider, {
|
|
74
121
|
type SkTooltipProviderProps,
|
|
75
122
|
} from './components/Tooltip/SkTooltipProvider.vue';
|
|
123
|
+
import SkTreeItem, { type SkTreeItemComponentProps } from './components/TreeView/SkTreeItem.vue';
|
|
124
|
+
import SkTreeView, { type SkTreeViewComponentProps } from './components/TreeView/SkTreeView.vue';
|
|
76
125
|
import SkTheme from './components/Theme/SkTheme.vue';
|
|
77
126
|
|
|
78
127
|
//----------------------------------------------------------------------------------------------------------------------
|
|
@@ -93,6 +142,8 @@ export * from './components/Button/types';
|
|
|
93
142
|
export * from './components/Card/types';
|
|
94
143
|
export * from './components/Checkbox/types';
|
|
95
144
|
export * from './components/Collapsible/types';
|
|
145
|
+
export * from './components/ColorPicker/types';
|
|
146
|
+
export * from './components/ContextMenu/types';
|
|
96
147
|
export * from './components/Divider/types';
|
|
97
148
|
export * from './components/Dropdown/types';
|
|
98
149
|
export * from './components/Field/types';
|
|
@@ -108,10 +159,13 @@ export * from './components/Panel/types';
|
|
|
108
159
|
export * from './components/Popover/types';
|
|
109
160
|
export * from './components/Progress/types';
|
|
110
161
|
export * from './components/Radio/types';
|
|
162
|
+
export * from './components/ScrollArea/types';
|
|
163
|
+
export * from './components/Select/types';
|
|
111
164
|
export * from './components/Sidebar/types';
|
|
112
165
|
export * from './components/Skeleton/types';
|
|
113
166
|
export * from './components/Slider/types';
|
|
114
167
|
export * from './components/Spinner/types';
|
|
168
|
+
export * from './components/Splitter/types';
|
|
115
169
|
export * from './components/Switch/types';
|
|
116
170
|
export * from './components/Table/types';
|
|
117
171
|
export * from './components/Tabs/types';
|
|
@@ -119,7 +173,9 @@ export * from './components/Tag/types';
|
|
|
119
173
|
export * from './components/TagsInput/types';
|
|
120
174
|
export * from './components/Textarea/types';
|
|
121
175
|
export * from './components/Toast/types';
|
|
176
|
+
export * from './components/Toolbar/types';
|
|
122
177
|
export * from './components/Tooltip/types';
|
|
178
|
+
export * from './components/TreeView/types';
|
|
123
179
|
export * from './components/Theme/types';
|
|
124
180
|
|
|
125
181
|
//----------------------------------------------------------------------------------------------------------------------
|
|
@@ -144,10 +200,23 @@ export { SkButton, type SkButtonComponentProps };
|
|
|
144
200
|
export { SkCard, type SkCardComponentProps };
|
|
145
201
|
export { SkCheckbox, type SkCheckboxComponentProps };
|
|
146
202
|
export { SkCollapsible, type SkCollapsibleComponentProps };
|
|
203
|
+
export { SkColorPicker, type SkColorPickerComponentProps };
|
|
204
|
+
export { SkContextMenu, type SkContextMenuComponentProps };
|
|
205
|
+
export { SkContextMenuCheckboxItem, type SkContextMenuCheckboxItemComponentProps };
|
|
206
|
+
export { SkContextMenuItem, type SkContextMenuItemComponentProps };
|
|
207
|
+
export { SkContextMenuLabel };
|
|
208
|
+
export { SkContextMenuRadioGroup, type SkContextMenuRadioGroupComponentProps };
|
|
209
|
+
export { SkContextMenuRadioItem, type SkContextMenuRadioItemComponentProps };
|
|
210
|
+
export { SkContextMenuSeparator };
|
|
211
|
+
export { SkContextMenuSubmenu, type SkContextMenuSubmenuComponentProps };
|
|
147
212
|
export { SkDivider, type SkDividerComponentProps };
|
|
148
213
|
export { SkDropdown, type SkDropdownComponentProps };
|
|
214
|
+
export { SkDropdownCheckboxItem, type SkDropdownCheckboxItemComponentProps };
|
|
215
|
+
export { SkDropdownMenuLabel };
|
|
149
216
|
export { SkDropdownMenuItem, type SkDropdownMenuItemComponentProps };
|
|
150
217
|
export { SkDropdownMenuSeparator };
|
|
218
|
+
export { SkDropdownRadioGroup, type SkDropdownRadioGroupComponentProps };
|
|
219
|
+
export { SkDropdownRadioItem, type SkDropdownRadioItemComponentProps };
|
|
151
220
|
export { SkDropdownSubmenu, type SkDropdownSubmenuComponentProps };
|
|
152
221
|
export { SkField, type SkFieldComponentProps };
|
|
153
222
|
export { SkGroup, type SkGroupComponentProps };
|
|
@@ -166,12 +235,19 @@ export { SkPopover, type SkPopoverComponentProps };
|
|
|
166
235
|
export { SkProgress, type SkProgressComponentProps };
|
|
167
236
|
export { SkRadio, type SkRadioComponentProps };
|
|
168
237
|
export { SkRadioGroup, type SkRadioGroupComponentProps };
|
|
238
|
+
export { SkScrollArea, type SkScrollAreaComponentProps };
|
|
239
|
+
export { SkSelect, type SkSelectComponentProps };
|
|
240
|
+
export { SkSelectItem, type SkSelectItemComponentProps };
|
|
241
|
+
export { SkSelectSeparator };
|
|
169
242
|
export { SkSidebar, type SkSidebarComponentProps };
|
|
170
243
|
export { SkSidebarItem, type SkSidebarItemComponentProps };
|
|
171
244
|
export { SkSidebarSection, type SkSidebarSectionComponentProps };
|
|
172
245
|
export { SkSkeleton, type SkSkeletonComponentProps };
|
|
173
246
|
export { SkSlider, type SkSliderComponentProps };
|
|
174
247
|
export { SkSpinner, type SkSpinnerComponentProps };
|
|
248
|
+
export { SkSplitter, type SkSplitterComponentProps };
|
|
249
|
+
export { SkSplitterHandle, type SkSplitterHandleComponentProps };
|
|
250
|
+
export { SkSplitterPanel, type SkSplitterPanelComponentProps };
|
|
175
251
|
export { SkSwitch, type SkSwitchComponentProps };
|
|
176
252
|
export { SkTab, type SkTabComponentProps };
|
|
177
253
|
export { SkTabList, type SkTabListComponentProps };
|
|
@@ -183,8 +259,15 @@ export { SkTag, type SkTagComponentProps };
|
|
|
183
259
|
export { SkTagsInput, type SkTagsInputComponentProps };
|
|
184
260
|
export { SkTextarea, type SkTextareaComponentProps };
|
|
185
261
|
export { SkToastProvider, type SkToastProviderComponentProps };
|
|
262
|
+
export { SkToolbar, type SkToolbarComponentProps };
|
|
263
|
+
export { SkToolbarButton, type SkToolbarButtonComponentProps };
|
|
264
|
+
export { SkToolbarSeparator };
|
|
265
|
+
export { SkToolbarToggleGroup, type SkToolbarToggleGroupComponentProps };
|
|
266
|
+
export { SkToolbarToggleItem, type SkToolbarToggleItemComponentProps };
|
|
186
267
|
export { SkTooltip, type SkTooltipComponentProps };
|
|
187
268
|
export { SkTooltipProvider, type SkTooltipProviderProps };
|
|
269
|
+
export { SkTreeItem, type SkTreeItemComponentProps };
|
|
270
|
+
export { SkTreeView, type SkTreeViewComponentProps };
|
|
188
271
|
export { SkTheme, type SkThemeComponentProps };
|
|
189
272
|
|
|
190
273
|
//----------------------------------------------------------------------------------------------------------------------
|
|
@@ -207,10 +290,23 @@ const SleekSpaceUI : Plugin = {
|
|
|
207
290
|
app.component('SkCard', SkCard);
|
|
208
291
|
app.component('SkCheckbox', SkCheckbox);
|
|
209
292
|
app.component('SkCollapsible', SkCollapsible);
|
|
293
|
+
app.component('SkColorPicker', SkColorPicker);
|
|
294
|
+
app.component('SkContextMenu', SkContextMenu);
|
|
295
|
+
app.component('SkContextMenuCheckboxItem', SkContextMenuCheckboxItem);
|
|
296
|
+
app.component('SkContextMenuItem', SkContextMenuItem);
|
|
297
|
+
app.component('SkContextMenuLabel', SkContextMenuLabel);
|
|
298
|
+
app.component('SkContextMenuRadioGroup', SkContextMenuRadioGroup);
|
|
299
|
+
app.component('SkContextMenuRadioItem', SkContextMenuRadioItem);
|
|
300
|
+
app.component('SkContextMenuSeparator', SkContextMenuSeparator);
|
|
301
|
+
app.component('SkContextMenuSubmenu', SkContextMenuSubmenu);
|
|
210
302
|
app.component('SkDivider', SkDivider);
|
|
211
303
|
app.component('SkDropdown', SkDropdown);
|
|
304
|
+
app.component('SkDropdownCheckboxItem', SkDropdownCheckboxItem);
|
|
305
|
+
app.component('SkDropdownMenuLabel', SkDropdownMenuLabel);
|
|
212
306
|
app.component('SkDropdownMenuItem', SkDropdownMenuItem);
|
|
213
307
|
app.component('SkDropdownMenuSeparator', SkDropdownMenuSeparator);
|
|
308
|
+
app.component('SkDropdownRadioGroup', SkDropdownRadioGroup);
|
|
309
|
+
app.component('SkDropdownRadioItem', SkDropdownRadioItem);
|
|
214
310
|
app.component('SkDropdownSubmenu', SkDropdownSubmenu);
|
|
215
311
|
app.component('SkField', SkField);
|
|
216
312
|
app.component('SkGroup', SkGroup);
|
|
@@ -229,12 +325,19 @@ const SleekSpaceUI : Plugin = {
|
|
|
229
325
|
app.component('SkProgress', SkProgress);
|
|
230
326
|
app.component('SkRadio', SkRadio);
|
|
231
327
|
app.component('SkRadioGroup', SkRadioGroup);
|
|
328
|
+
app.component('SkScrollArea', SkScrollArea);
|
|
329
|
+
app.component('SkSelect', SkSelect);
|
|
330
|
+
app.component('SkSelectItem', SkSelectItem);
|
|
331
|
+
app.component('SkSelectSeparator', SkSelectSeparator);
|
|
232
332
|
app.component('SkSidebar', SkSidebar);
|
|
233
333
|
app.component('SkSidebarItem', SkSidebarItem);
|
|
234
334
|
app.component('SkSidebarSection', SkSidebarSection);
|
|
235
335
|
app.component('SkSkeleton', SkSkeleton);
|
|
236
336
|
app.component('SkSlider', SkSlider);
|
|
237
337
|
app.component('SkSpinner', SkSpinner);
|
|
338
|
+
app.component('SkSplitter', SkSplitter);
|
|
339
|
+
app.component('SkSplitterHandle', SkSplitterHandle);
|
|
340
|
+
app.component('SkSplitterPanel', SkSplitterPanel);
|
|
238
341
|
app.component('SkSwitch', SkSwitch);
|
|
239
342
|
app.component('SkTab', SkTab);
|
|
240
343
|
app.component('SkTabList', SkTabList);
|
|
@@ -246,8 +349,15 @@ const SleekSpaceUI : Plugin = {
|
|
|
246
349
|
app.component('SkTagsInput', SkTagsInput);
|
|
247
350
|
app.component('SkTextarea', SkTextarea);
|
|
248
351
|
app.component('SkToastProvider', SkToastProvider);
|
|
352
|
+
app.component('SkToolbar', SkToolbar);
|
|
353
|
+
app.component('SkToolbarButton', SkToolbarButton);
|
|
354
|
+
app.component('SkToolbarSeparator', SkToolbarSeparator);
|
|
355
|
+
app.component('SkToolbarToggleGroup', SkToolbarToggleGroup);
|
|
356
|
+
app.component('SkToolbarToggleItem', SkToolbarToggleItem);
|
|
249
357
|
app.component('SkTooltip', SkTooltip);
|
|
250
358
|
app.component('SkTooltipProvider', SkTooltipProvider);
|
|
359
|
+
app.component('SkTreeItem', SkTreeItem);
|
|
360
|
+
app.component('SkTreeView', SkTreeView);
|
|
251
361
|
app.component('SkTheme', SkTheme);
|
|
252
362
|
},
|
|
253
363
|
};
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
//----------------------------------------------------------------------------------------------------------------------
|
|
4
4
|
|
|
5
5
|
@use '../theme/variables' as *;
|
|
6
|
-
@use '../mixins' as *;
|
|
7
6
|
|
|
8
7
|
//----------------------------------------------------------------------------------------------------------------------
|
|
9
8
|
// Card Design Tokens
|
|
@@ -42,10 +41,34 @@
|
|
|
42
41
|
|
|
43
42
|
.sk-card-header
|
|
44
43
|
{
|
|
44
|
+
// Header cut is reduced by margin to align with panel bevel
|
|
45
|
+
--sk-card-header-cut-tl: calc(var(--sk-panel-cut-tl) - 2px);
|
|
46
|
+
--sk-card-header-cut-tr: calc(var(--sk-panel-cut-tr) - 2px);
|
|
47
|
+
|
|
45
48
|
padding: var(--sk-card-header-padding-vertical) var(--sk-card-padding);
|
|
46
|
-
//border-bottom: var(--sk-border-width-thin) solid oklch(from currentColor l c h / 0.3);
|
|
47
49
|
background-color: oklch(from currentColor l c h / 0.2);
|
|
48
50
|
margin: 2px;
|
|
51
|
+
|
|
52
|
+
// Beveled top corners (modern path)
|
|
53
|
+
@supports (corner-shape: bevel)
|
|
54
|
+
{
|
|
55
|
+
border-top-left-radius: max(0px, var(--sk-card-header-cut-tl));
|
|
56
|
+
border-top-right-radius: max(0px, var(--sk-card-header-cut-tr));
|
|
57
|
+
corner-shape: bevel;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Beveled top corners (clip-path fallback)
|
|
61
|
+
@supports not (corner-shape: bevel)
|
|
62
|
+
{
|
|
63
|
+
clip-path: polygon(
|
|
64
|
+
max(0px, var(--sk-card-header-cut-tl)) 0,
|
|
65
|
+
calc(100% - max(0px, var(--sk-card-header-cut-tr))) 0,
|
|
66
|
+
100% max(0px, var(--sk-card-header-cut-tr)),
|
|
67
|
+
100% 100%,
|
|
68
|
+
0 100%,
|
|
69
|
+
0 max(0px, var(--sk-card-header-cut-tl))
|
|
70
|
+
);
|
|
71
|
+
}
|
|
49
72
|
}
|
|
50
73
|
|
|
51
74
|
.sk-card-title
|
|
@@ -100,13 +123,26 @@
|
|
|
100
123
|
padding: var(--sk-card-footer-padding-vertical) var(--sk-card-padding);
|
|
101
124
|
background-color: oklch(from currentColor l c h / 0.05);
|
|
102
125
|
|
|
103
|
-
//
|
|
104
|
-
@
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
126
|
+
// Beveled bottom corners (modern path)
|
|
127
|
+
@supports (corner-shape: bevel)
|
|
128
|
+
{
|
|
129
|
+
border-bottom-right-radius: var(--sk-panel-cut-br);
|
|
130
|
+
border-bottom-left-radius: var(--sk-panel-cut-bl);
|
|
131
|
+
corner-shape: bevel;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Beveled bottom corners (clip-path fallback)
|
|
135
|
+
@supports not (corner-shape: bevel)
|
|
136
|
+
{
|
|
137
|
+
clip-path: polygon(
|
|
138
|
+
0 0,
|
|
139
|
+
100% 0,
|
|
140
|
+
100% calc(100% - var(--sk-panel-cut-br)),
|
|
141
|
+
calc(100% - var(--sk-panel-cut-br)) 100%,
|
|
142
|
+
var(--sk-panel-cut-bl) 100%,
|
|
143
|
+
0 calc(100% - var(--sk-panel-cut-bl))
|
|
144
|
+
);
|
|
145
|
+
}
|
|
110
146
|
|
|
111
147
|
border-top: var(--sk-border-width-thin) solid oklch(from currentColor l c h / 0.1);
|
|
112
148
|
}
|