@onereach/ui-components-vue2 26.4.1-beta.5887.0 → 26.4.1-beta.5889.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.
|
@@ -204,19 +204,19 @@ const DataGridTableContentCell = [
|
|
|
204
204
|
// Spacing
|
|
205
205
|
'px-sm+', 'py-xs', 'gap-xs',
|
|
206
206
|
// Theme
|
|
207
|
-
'theme-border-disabled border-b-1 border-
|
|
208
|
-
// Border (conditional override for last row/column)
|
|
209
|
-
'group-last:border-b-0', 'last:border-e-0', 'theme-outline-transparent outline-2 -outline-offset-1', 'dark:theme-outline-transparent-dark',
|
|
207
|
+
'theme-border-disabled border-b-1 border-solid', 'dark:theme-border-disabled-dark', 'theme-outline-transparent outline-2 -outline-offset-1', 'dark:theme-outline-transparent-dark',
|
|
210
208
|
// Theme (focus)
|
|
211
209
|
'focus-within:theme-border-primary', 'dark:focus-within:theme-border-primary-dark', 'focus-within:theme-outline-primary', 'dark:focus-within:theme-outline-primary-dark',
|
|
212
210
|
// Theme (Stacking)
|
|
213
211
|
'relative',
|
|
214
212
|
// Theme (.sticky-start)
|
|
215
|
-
'[&.sticky-start]:theme-background-default
|
|
213
|
+
'[&.sticky-start]:theme-background-default', 'dark:[&.sticky-start]:theme-background-default-dark', 'hover:[&.sticky-start]:theme-background-surface-1 dark:hover:[&.sticky-start]:theme-background-surface-1-dark', 'selected:[&.sticky-start]:theme-background-surface-2 dark:selected:[&.sticky-start]:theme-background-surface-2-dark', 'hover:selected:[&.sticky-start]:theme-background-surface-3 dark:hover:selected:[&.sticky-start]:theme-background-surface-3-dark',
|
|
216
214
|
// Theme (.sticky-end)
|
|
217
|
-
'[&.sticky-end]:theme-background-default
|
|
215
|
+
'[&.sticky-end]:theme-background-default', 'dark:[&.sticky-end]:theme-background-default-dark', 'hover:[&.sticky-end]:theme-background-surface-1 dark:hover:[&.sticky-end]:theme-background-surface-1-dark', 'selected:[&.sticky-end]:theme-background-surface-2 dark:selected:[&.sticky-end]:theme-background-surface-2-dark', 'hover:selected:[&.sticky-end]:theme-background-surface-3 dark:hover:selected:[&.sticky-end]:theme-background-surface-3-dark',
|
|
218
216
|
// Theme (.resizable)
|
|
219
|
-
'
|
|
217
|
+
'relative',
|
|
218
|
+
// Border (conditional override for last row/column)
|
|
219
|
+
'group-last:border-b-0', 'last:border-r-0'];
|
|
220
220
|
const DataGridTableContentCellContent = [
|
|
221
221
|
// interactivity
|
|
222
222
|
'interactivity-select',
|
|
@@ -273,8 +273,8 @@ var script$e = defineComponent({
|
|
|
273
273
|
// Refs & Styles
|
|
274
274
|
const root = ref();
|
|
275
275
|
const rootStyles = computed(() => {
|
|
276
|
-
var _a, _b, _c, _d;
|
|
277
|
-
return ['or-data-grid-table-content-cell-v3', ...DataGridTableContentCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? ['overflow-hidden', `sticky-${props.column.stickiness}`] : []), ...(!!((_b = props.features) === null || _b === void 0 ? void 0 : _b.resizing) && !!((_c = props.column) === null || _c === void 0 ? void 0 : _c.name) && ((_d = props.column) === null || _d === void 0 ? void 0 : _d.resizing) !== false ? ['resizable'] : [])];
|
|
276
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
277
|
+
return ['or-data-grid-table-content-cell-v3', ...DataGridTableContentCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? ['overflow-hidden', `sticky-${props.column.stickiness}`] : []), ...(!!((_b = props.features) === null || _b === void 0 ? void 0 : _b.resizing) && !!((_c = props.column) === null || _c === void 0 ? void 0 : _c.name) && ((_d = props.column) === null || _d === void 0 ? void 0 : _d.resizing) !== false ? ['resizable'] : []), ...(((_e = props.column) === null || _e === void 0 ? void 0 : _e.stickiness) === 'start' ? ['border-r-1'] : []), ...(((_f = props.column) === null || _f === void 0 ? void 0 : _f.stickiness) === 'end' ? ['border-l-1'] : []), ...(!!((_g = props.features) === null || _g === void 0 ? void 0 : _g.resizing) && !!((_h = props.column) === null || _h === void 0 ? void 0 : _h.name) && ((_j = props.column) === null || _j === void 0 ? void 0 : _j.resizing) !== false ? ['border-r-1'] : [])];
|
|
278
278
|
});
|
|
279
279
|
const rootInlineStyles = computed(() => {
|
|
280
280
|
var _a;
|
|
@@ -287,14 +287,14 @@ var script$e = defineComponent({
|
|
|
287
287
|
Object.assign(styles, {
|
|
288
288
|
position: 'sticky',
|
|
289
289
|
insetInlineStart: `${props.stickyOffset}px`,
|
|
290
|
-
zIndex: '
|
|
290
|
+
zIndex: '2'
|
|
291
291
|
});
|
|
292
292
|
break;
|
|
293
293
|
case 'end':
|
|
294
294
|
Object.assign(styles, {
|
|
295
295
|
position: 'sticky',
|
|
296
296
|
insetInlineEnd: `${props.stickyOffset}px`,
|
|
297
|
-
zIndex: '
|
|
297
|
+
zIndex: '2'
|
|
298
298
|
});
|
|
299
299
|
break;
|
|
300
300
|
}
|
|
@@ -835,17 +835,17 @@ const DataGridTableHeaderCell = [
|
|
|
835
835
|
// Spacing
|
|
836
836
|
'px-sm+', 'py-xs', 'gap-xs',
|
|
837
837
|
// Theme
|
|
838
|
-
'theme-border-disabled border-b-1 border-
|
|
839
|
-
// Border (conditional override for last column)
|
|
840
|
-
'last:border-e-0', 'theme-outline-transparent outline-2 -outline-offset-1', 'dark:theme-outline-transparent-dark',
|
|
838
|
+
'theme-border-disabled border-b-1 border-solid', 'dark:theme-border-disabled-dark', 'theme-outline-transparent outline-2 -outline-offset-1', 'dark:theme-outline-transparent-dark',
|
|
841
839
|
// Theme (Stacking)
|
|
842
840
|
'relative hover:z-[2]',
|
|
843
841
|
// Theme (.sticky-start)
|
|
844
|
-
'[&.sticky-start]:theme-background-surface-variant-1
|
|
842
|
+
'[&.sticky-start]:theme-background-surface-variant-1', 'dark:[&.sticky-start]:theme-background-surface-variant-1-dark',
|
|
845
843
|
// Theme (.sticky-end)
|
|
846
|
-
'[&.sticky-end]:theme-background-surface-variant-1
|
|
844
|
+
'[&.sticky-end]:theme-background-surface-variant-1', 'dark:[&.sticky-end]:theme-background-surface-variant-1-dark',
|
|
847
845
|
// Theme (.resizable)
|
|
848
|
-
'
|
|
846
|
+
'relative',
|
|
847
|
+
// Border (conditional override for last column)
|
|
848
|
+
'last:border-r-0'];
|
|
849
849
|
const DataGridTableHeaderCellResizeHandle = [
|
|
850
850
|
// Position
|
|
851
851
|
'absolute top-0 bottom-0 end-0 z-50',
|
|
@@ -900,8 +900,8 @@ var script$8 = defineComponent({
|
|
|
900
900
|
return !!((_a = props.features) === null || _a === void 0 ? void 0 : _a.resizing) && !!((_b = props.column) === null || _b === void 0 ? void 0 : _b.name) && ((_c = props.column) === null || _c === void 0 ? void 0 : _c.resizing) !== false;
|
|
901
901
|
});
|
|
902
902
|
const rootStyles = computed(() => {
|
|
903
|
-
var _a;
|
|
904
|
-
return ['or-data-grid-table-header-cell-v3', 'relative', ...DataGridTableHeaderCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? ['overflow-hidden', `sticky-${props.column.stickiness}`] : []), ...(isResizable.value ? ['resizable'] : []), ...(isSortable.value ? ['interactivity-click'] : [])];
|
|
903
|
+
var _a, _b, _c;
|
|
904
|
+
return ['or-data-grid-table-header-cell-v3', 'relative', ...DataGridTableHeaderCell, ...(((_a = props.column) === null || _a === void 0 ? void 0 : _a.stickiness) ? ['overflow-hidden', `sticky-${props.column.stickiness}`] : []), ...(isResizable.value ? ['resizable'] : []), ...(isSortable.value ? ['interactivity-click'] : []), ...(((_b = props.column) === null || _b === void 0 ? void 0 : _b.stickiness) === 'start' ? ['border-r-1'] : []), ...(((_c = props.column) === null || _c === void 0 ? void 0 : _c.stickiness) === 'end' ? ['border-l-1'] : []), ...(isResizable.value ? ['border-r-1'] : [])];
|
|
905
905
|
});
|
|
906
906
|
const resizeHandleStyles = computed(() => ['or-data-grid-table-header-cell-resize-handle-v3', ...DataGridTableHeaderCellResizeHandle]);
|
|
907
907
|
const wrapInlineStyle = computed(() => {
|
|
@@ -923,14 +923,14 @@ var script$8 = defineComponent({
|
|
|
923
923
|
Object.assign(styles, {
|
|
924
924
|
position: 'sticky',
|
|
925
925
|
insetInlineStart: `${props.stickyOffset}px`,
|
|
926
|
-
zIndex: '
|
|
926
|
+
zIndex: '11'
|
|
927
927
|
});
|
|
928
928
|
break;
|
|
929
929
|
case 'end':
|
|
930
930
|
Object.assign(styles, {
|
|
931
931
|
position: 'sticky',
|
|
932
932
|
insetInlineEnd: `${props.stickyOffset}px`,
|
|
933
|
-
zIndex: '
|
|
933
|
+
zIndex: '11'
|
|
934
934
|
});
|
|
935
935
|
break;
|
|
936
936
|
}
|
|
@@ -1105,7 +1105,7 @@ var __vue_component__$h = __vue_component__$g;
|
|
|
1105
1105
|
|
|
1106
1106
|
const DataGridTableHeaderRow = [
|
|
1107
1107
|
// Position
|
|
1108
|
-
'sticky top-0 z-[
|
|
1108
|
+
'sticky top-0 z-[10]',
|
|
1109
1109
|
// Layout
|
|
1110
1110
|
'grid grid-cols-[subgrid] col-span-full',
|
|
1111
1111
|
// Typography
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components-vue2",
|
|
3
|
-
"version": "26.4.1-beta.
|
|
3
|
+
"version": "26.4.1-beta.5889.0",
|
|
4
4
|
"description": "Vue components library for v2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@codemirror/view": "^6",
|
|
41
41
|
"@floating-ui/dom": "1.5.3",
|
|
42
42
|
"@lezer/highlight": "*",
|
|
43
|
-
"@onereach/styles": "^26.4.1-beta.
|
|
44
|
-
"@onereach/ui-components-common": "^26.4.1-beta.
|
|
43
|
+
"@onereach/styles": "^26.4.1-beta.5889.0",
|
|
44
|
+
"@onereach/ui-components-common": "^26.4.1-beta.5889.0",
|
|
45
45
|
"@splidejs/splide": "4.0.6",
|
|
46
46
|
"@tiptap/core": "2.27.1",
|
|
47
47
|
"@tiptap/extension-blockquote": "2.27.1",
|