@xleddyl/443-components-vue 0.16.96 → 0.16.98
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/CATALOG.md +48 -39
- package/README.md +127 -38
- package/dist/components/core/FormField.vue +46 -2
- package/dist/components/core/FormField.vue.d.ts +2 -0
- package/dist/components/core/Root.vue +2 -0
- package/dist/components/core/Root.vue.d.ts +2 -0
- package/dist/components/core/types.d.ts +1 -0
- package/dist/components/data/FilterPills.vue +2 -1
- package/dist/components/data/Table.vue +3 -1
- package/dist/components/data/Table.vue.d.ts +1 -0
- package/dist/components/data/TileGrid.vue +1 -0
- package/dist/components/data/types.d.ts +1 -0
- package/dist/components/feedback/Alert.vue +13 -3
- package/dist/components/feedback/Alert.vue.d.ts +4 -4
- package/dist/components/forms/FileDropOverlay.vue +28 -0
- package/dist/components/forms/FileDropOverlay.vue.d.ts +410 -0
- package/dist/components/forms/PaletteSelect.vue.d.ts +2 -2
- package/dist/components/forms/SegmentedControl.vue +20 -1
- package/dist/components/forms/index.d.ts +1 -0
- package/dist/components/forms/index.mjs +1 -0
- package/dist/components/forms/types.d.ts +4 -1
- package/dist/components/layout/Accordion.vue +7 -2
- package/dist/components/layout/Accordion.vue.d.ts +2 -0
- package/dist/components/layout/Card.vue +47 -6
- package/dist/components/layout/Card.vue.d.ts +4 -0
- package/dist/components/layout/PageHeader.vue +5 -2
- package/dist/components/layout/PageHeader.vue.d.ts +4 -1
- package/dist/components/layout/ResizeHandle.vue +94 -0
- package/dist/components/layout/ResizeHandle.vue.d.ts +418 -0
- package/dist/components/layout/Stack.vue +3 -2
- package/dist/components/layout/Stack.vue.d.ts +2 -0
- package/dist/components/layout/index.d.ts +1 -0
- package/dist/components/layout/index.mjs +1 -0
- package/dist/components/layout/types.d.ts +4 -1
- package/dist/components/overlays/CommandList.vue +22 -4
- package/dist/components/overlays/ConfirmDialog.vue.d.ts +8 -8
- package/dist/components/overlays/ConfirmHost.vue.d.ts +8 -8
- package/dist/components/overlays/Popover.vue +64 -24
- package/dist/components/overlays/Popover.vue.d.ts +13 -4
- package/dist/components/overlays/types.d.ts +7 -1
- package/dist/components/templates/ListPage.vue +3 -2
- package/dist/components/templates/SettingsModal.vue.d.ts +2 -2
- package/dist/components/templates/SettingsSection.vue.d.ts +4 -0
- package/dist/components/templates/WorkspaceLayout.vue +296 -0
- package/dist/components/templates/WorkspaceLayout.vue.d.ts +455 -0
- package/dist/components/templates/index.d.ts +1 -0
- package/dist/components/templates/index.mjs +1 -0
- package/dist/components/templates/types.d.ts +32 -0
- package/dist/composables/core.d.ts +1 -0
- package/dist/composables/core.mjs +1 -0
- package/dist/composables/forms.d.ts +1 -0
- package/dist/composables/forms.mjs +1 -0
- package/dist/composables/useFieldHighlight.d.ts +8 -0
- package/dist/composables/useFieldHighlight.mjs +19 -0
- package/dist/composables/useFileDialog.d.ts +17 -0
- package/dist/composables/useFileDialog.mjs +40 -0
- package/dist/composables/usePreferences.d.ts +1 -0
- package/dist/composables/usePreferences.mjs +2 -1
- package/dist/internal/core/HighlightText.d.ts +12 -0
- package/dist/internal/core/HighlightText.mjs +30 -0
- package/dist/internal/core/env.d.ts +2 -0
- package/dist/internal/core/env.mjs +20 -1
- package/dist/internal/overlays/OverlayView.vue.d.ts +8 -8
- package/dist/locale/de.mjs +10 -0
- package/dist/locale/en.mjs +10 -0
- package/dist/locale/it.mjs +10 -0
- package/dist/locale/types.d.ts +10 -0
- package/dist/nuxt/runtime/layouts/auth.vue.d.ts +2 -0
- package/dist/nuxt/runtime/layouts/dashboard.vue.d.ts +2 -0
- package/dist/styles/base.css +13 -0
- package/dist/styles/core/form-field.css +13 -0
- package/dist/styles/core/root.css +23 -0
- package/dist/styles/data/table.css +17 -0
- package/dist/styles/data/thumbnail.css +5 -2
- package/dist/styles/data/tile-grid.css +2 -1
- package/dist/styles/design-tokens.css +4 -0
- package/dist/styles/feedback/alert.css +13 -0
- package/dist/styles/forced-colors.css +22 -1
- package/dist/styles/forms/file-drop-overlay.css +48 -0
- package/dist/styles/forms/segmented.css +36 -0
- package/dist/styles/forms.css +1 -0
- package/dist/styles/layout/accordion.css +8 -0
- package/dist/styles/layout/breadcrumbs.css +23 -0
- package/dist/styles/layout/card.css +19 -7
- package/dist/styles/layout/page-header.css +58 -0
- package/dist/styles/layout/resize-handle.css +52 -0
- package/dist/styles/layout/stack.css +5 -0
- package/dist/styles/layout.css +1 -0
- package/dist/styles/overlays/command.css +17 -0
- package/dist/styles/shared.css +8 -0
- package/dist/styles/templates/list-page.css +1 -21
- package/dist/styles/templates/workspace-layout.css +143 -0
- package/dist/styles/templates.css +1 -0
- package/package.json +3 -2
|
@@ -124,3 +124,61 @@
|
|
|
124
124
|
text-overflow: ellipsis;
|
|
125
125
|
white-space: nowrap;
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
.k-page-header-sm {
|
|
129
|
+
gap: 0.5rem;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.k-page-header-sm.is-bordered {
|
|
133
|
+
padding-bottom: 0.75rem;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.k-page-header-sm .k-page-header-heading {
|
|
137
|
+
flex-basis: 10rem;
|
|
138
|
+
gap: 0.25rem;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.k-page-header-sm .k-page-header-title-row {
|
|
142
|
+
gap: 0.5rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.k-page-header-sm .k-page-header-icon {
|
|
146
|
+
--k-icon-size: 1rem;
|
|
147
|
+
width: 1.75rem;
|
|
148
|
+
height: 1.75rem;
|
|
149
|
+
border-radius: var(--k-radius-sm);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.k-page-header-sm .k-page-header-text {
|
|
153
|
+
gap: 0;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.k-page-header-sm .k-page-header-title-line {
|
|
157
|
+
gap: 0.375rem;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.k-page-header-sm .k-page-header-title {
|
|
161
|
+
font-size: 0.9375rem;
|
|
162
|
+
font-weight: var(--k-font-weight-strong, 600);
|
|
163
|
+
line-height: 1.3;
|
|
164
|
+
letter-spacing: -0.006em;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.k-page-header-sm .k-page-header-description {
|
|
168
|
+
font-size: 0.75rem;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.k-page-header-sm .k-page-header-actions {
|
|
172
|
+
gap: 0.25rem;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.k-page-header-sm .k-breadcrumbs.k-page-header-trail .k-breadcrumbs-list {
|
|
176
|
+
font-size: 0.9375rem;
|
|
177
|
+
font-weight: var(--k-font-weight-strong, 600);
|
|
178
|
+
line-height: 1.3;
|
|
179
|
+
letter-spacing: -0.006em;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.k-page-header-sm .k-page-header-trail .k-breadcrumbs-current {
|
|
183
|
+
font-weight: inherit;
|
|
184
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.k-resize-handle {
|
|
2
|
+
position: relative;
|
|
3
|
+
z-index: 2;
|
|
4
|
+
flex: none;
|
|
5
|
+
background: var(--k-line);
|
|
6
|
+
touch-action: none;
|
|
7
|
+
user-select: none;
|
|
8
|
+
transition:
|
|
9
|
+
background-color var(--k-duration) var(--k-ease),
|
|
10
|
+
box-shadow var(--k-duration) var(--k-ease);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.k-resize-handle::before {
|
|
14
|
+
content: '';
|
|
15
|
+
position: absolute;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.k-resize-handle-vertical {
|
|
19
|
+
width: 1px;
|
|
20
|
+
align-self: stretch;
|
|
21
|
+
cursor: col-resize;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.k-resize-handle-vertical::before {
|
|
25
|
+
inset: 0 -0.3125rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.k-resize-handle-horizontal {
|
|
29
|
+
height: 1px;
|
|
30
|
+
cursor: row-resize;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.k-resize-handle-horizontal::before {
|
|
34
|
+
inset: -0.3125rem 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.k-resize-handle:hover {
|
|
38
|
+
transition-delay: 120ms;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.k-resize-handle:is(:hover, .is-dragging, :focus-visible) {
|
|
42
|
+
background: var(--k-ring);
|
|
43
|
+
box-shadow: 0 0 0 1px var(--k-ring);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.k-resize-handle:focus-visible {
|
|
47
|
+
outline: 2px solid transparent;
|
|
48
|
+
box-shadow:
|
|
49
|
+
0 0 0 1px var(--k-ring),
|
|
50
|
+
0 0 0 4px var(--k-ring-soft);
|
|
51
|
+
transition-delay: 0s;
|
|
52
|
+
}
|
package/dist/styles/layout.css
CHANGED
|
@@ -195,6 +195,23 @@
|
|
|
195
195
|
color: var(--k-text);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
.k-command-option-head {
|
|
199
|
+
display: flex;
|
|
200
|
+
align-items: baseline;
|
|
201
|
+
gap: 0.5rem;
|
|
202
|
+
min-width: 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.k-command-option-meta {
|
|
206
|
+
flex: 0 1 auto;
|
|
207
|
+
min-width: 0;
|
|
208
|
+
overflow-x: clip;
|
|
209
|
+
font-size: 0.75rem;
|
|
210
|
+
color: var(--k-text-muted);
|
|
211
|
+
text-overflow: ellipsis;
|
|
212
|
+
white-space: nowrap;
|
|
213
|
+
}
|
|
214
|
+
|
|
198
215
|
.k-command-option-badge {
|
|
199
216
|
flex-shrink: 0;
|
|
200
217
|
}
|
package/dist/styles/shared.css
CHANGED
|
@@ -73,6 +73,14 @@
|
|
|
73
73
|
overflow-wrap: anywhere;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
.k-mark {
|
|
77
|
+
border-radius: var(--k-radius-xs);
|
|
78
|
+
background: var(--k-selection);
|
|
79
|
+
color: var(--k-text);
|
|
80
|
+
box-decoration-break: clone;
|
|
81
|
+
-webkit-box-decoration-break: clone;
|
|
82
|
+
}
|
|
83
|
+
|
|
76
84
|
:is(.k-menu-item, .k-combobox-option, .k-command-option, .k-tree-row)[aria-disabled='true'] {
|
|
77
85
|
opacity: 0.5;
|
|
78
86
|
cursor: not-allowed;
|
|
@@ -51,17 +51,10 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.k-list-page.is-fill > :is(.k-list-card, .k-list-state) {
|
|
54
|
-
flex: 1 1 0;
|
|
55
54
|
min-height: 20rem;
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
.k-list-
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
min-height: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.k-list-page.is-fill > .k-list-card > .k-card-body > :is(.k-table, .k-list-scroll) {
|
|
57
|
+
.k-list-card.is-fill > .k-card-body > .k-list-scroll {
|
|
65
58
|
flex: 1 1 0;
|
|
66
59
|
min-height: 0;
|
|
67
60
|
}
|
|
@@ -70,16 +63,3 @@
|
|
|
70
63
|
overflow: auto;
|
|
71
64
|
overscroll-behavior: contain;
|
|
72
65
|
}
|
|
73
|
-
|
|
74
|
-
.k-list-page.is-fill .k-table-scroll {
|
|
75
|
-
display: flex;
|
|
76
|
-
flex-direction: column;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.k-list-page.is-fill .k-table-el {
|
|
80
|
-
flex: none;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.k-list-page.is-fill .k-table-el:has(> .k-table-body > .k-table-empty-row) {
|
|
84
|
-
flex: 1 0 auto;
|
|
85
|
-
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
.k-workspace {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: var(--k-workspace-height, 100dvh);
|
|
5
|
+
min-height: 0;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
background: var(--k-canvas);
|
|
8
|
+
container: k-workspace / inline-size;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.k-shell-content > .k-workspace {
|
|
12
|
+
flex: 1;
|
|
13
|
+
height: auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.k-shell-content:not(.is-fill) > .k-workspace {
|
|
17
|
+
border: 1px solid var(--k-line);
|
|
18
|
+
border-radius: var(--k-radius-lg);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.k-workspace.is-resizing {
|
|
22
|
+
cursor: col-resize;
|
|
23
|
+
user-select: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.k-workspace.is-resizing :is(iframe, embed, object) {
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.k-workspace-bar {
|
|
31
|
+
display: grid;
|
|
32
|
+
flex: none;
|
|
33
|
+
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
34
|
+
align-items: center;
|
|
35
|
+
gap: 0.75rem;
|
|
36
|
+
min-height: var(--k-topbar-height, 3rem);
|
|
37
|
+
padding: 0.375rem 0.75rem;
|
|
38
|
+
border-bottom: 1px solid var(--k-line);
|
|
39
|
+
background: var(--k-surface);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.k-workspace-bar-start,
|
|
43
|
+
.k-workspace-bar-center,
|
|
44
|
+
.k-workspace-bar-end {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
gap: 0.375rem;
|
|
48
|
+
min-width: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.k-workspace-bar-start {
|
|
52
|
+
grid-column: 1;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.k-workspace-bar-center {
|
|
56
|
+
grid-column: 2;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
gap: 0.5rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.k-workspace-bar-end {
|
|
62
|
+
grid-column: 3;
|
|
63
|
+
justify-content: flex-end;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.k-workspace-tabs {
|
|
67
|
+
flex: none;
|
|
68
|
+
border-bottom: 1px solid var(--k-line);
|
|
69
|
+
background: var(--k-surface);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.k-workspace-body {
|
|
73
|
+
display: flex;
|
|
74
|
+
flex: 1;
|
|
75
|
+
min-height: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.k-workspace-pane {
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
min-width: 0;
|
|
82
|
+
min-height: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.k-workspace-side {
|
|
86
|
+
flex: none;
|
|
87
|
+
background: var(--k-surface);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.k-workspace-main {
|
|
91
|
+
flex: 1;
|
|
92
|
+
background: var(--k-canvas);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.k-workspace-pane-head {
|
|
96
|
+
display: flex;
|
|
97
|
+
flex: none;
|
|
98
|
+
align-items: center;
|
|
99
|
+
gap: 0.5rem;
|
|
100
|
+
min-height: 2.75rem;
|
|
101
|
+
padding: 0.375rem 0.75rem;
|
|
102
|
+
border-bottom: 1px solid var(--k-line);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.k-workspace-main > .k-workspace-pane-head {
|
|
106
|
+
border-bottom: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.k-workspace-pane-body {
|
|
110
|
+
display: flex;
|
|
111
|
+
flex: 1;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
min-height: 0;
|
|
114
|
+
overflow-y: auto;
|
|
115
|
+
overscroll-behavior: contain;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.k-workspace.is-compact .k-workspace-side {
|
|
119
|
+
flex: 1;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@container k-workspace (width < 40rem) {
|
|
123
|
+
.k-workspace-bar {
|
|
124
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
125
|
+
row-gap: 0.375rem;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.k-workspace-bar-end {
|
|
129
|
+
grid-column: 2;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.k-workspace-bar-center {
|
|
133
|
+
grid-row: 2;
|
|
134
|
+
grid-column: 1 / -1;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@container k-workspace (width < 64rem) {
|
|
139
|
+
.k-workspace.is-unmeasured .k-workspace-side,
|
|
140
|
+
.k-workspace.is-unmeasured .k-workspace-body > .k-resize-handle {
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@import './templates/account-menu.css';
|
|
3
3
|
@import './templates/dashboard-layout.css';
|
|
4
4
|
@import './templates/auth-layout.css';
|
|
5
|
+
@import './templates/workspace-layout.css';
|
|
5
6
|
@import './templates/page.css';
|
|
6
7
|
@import './templates/list-page.css';
|
|
7
8
|
@import './templates/detail-page.css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xleddyl/443-components-vue",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.98",
|
|
4
4
|
"description": "Compact, scoped dashboard components for Vue and Nuxt",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Edoardo Alberti (https://github.com/xleddyl)",
|
|
@@ -57,7 +57,8 @@
|
|
|
57
57
|
"./grid/style.css": "./dist/grid/style.css",
|
|
58
58
|
"./editor/style.css": "./dist/editor/style.css",
|
|
59
59
|
"./chart/style.css": "./dist/chart/style.css",
|
|
60
|
-
"./tailwind.css": "./dist/styles/tailwind.css"
|
|
60
|
+
"./tailwind.css": "./dist/styles/tailwind.css",
|
|
61
|
+
"./tokens.css": "./dist/styles/design-tokens.css"
|
|
61
62
|
},
|
|
62
63
|
"publishConfig": {
|
|
63
64
|
"access": "public"
|