@getflip/swirl-components 0.426.0 → 0.426.1
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/components.json +1 -1
- package/dist/cjs/swirl-table.cjs.entry.js +1 -1
- package/dist/collection/components/swirl-table/swirl-table.css +11 -4
- package/dist/components/assets/pdfjs/pdf.worker.min.mjs +1 -1
- package/dist/components/swirl-table.js +1 -1
- package/dist/esm/swirl-table.entry.js +1 -1
- package/dist/swirl-components/{p-8c4c52c4.entry.js → p-54d0e3eb.entry.js} +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/package.json +1 -1
package/components.json
CHANGED
|
@@ -89,7 +89,7 @@ function requireDist () {
|
|
|
89
89
|
var distExports = requireDist();
|
|
90
90
|
var debouncePromise = /*@__PURE__*/index.getDefaultExportFromCjs(distExports);
|
|
91
91
|
|
|
92
|
-
const swirlTableCss = ".sc-swirl-table-h{position:relative;display:block}.sc-swirl-table-h *.sc-swirl-table{box-sizing:border-box}.table--keyboard-move.sc-swirl-table:focus-within{--swirl-table-moving-row-border:var(--s-border-width-default) solid\n var(--s-border-highlight)}.table--show-empty-state.sc-swirl-table .table__empty-row.sc-swirl-table{display:flex}.table__container.sc-swirl-table{position:relative;overflow:auto;width:100%}.table__container--scrolled.sc-swirl-table{--swirl-table-sticky-right-shadow:4px 0 16px -4px rgba
|
|
92
|
+
const swirlTableCss = ".sc-swirl-table-h{--swirl-table-shadow-rgba:rgba(23, 23, 23, 0.2);position:relative;display:block}.sc-swirl-table-h *.sc-swirl-table{box-sizing:border-box}html.theme-dark.sc-swirl-table-h,html.theme-dark .sc-swirl-table-h{--swirl-table-shadow-rgba:rgba(0, 0, 0, 0.2)}.table--keyboard-move.sc-swirl-table:focus-within{--swirl-table-moving-row-border:var(--s-border-width-default) solid\n var(--s-border-highlight)}.table--show-empty-state.sc-swirl-table .table__empty-row.sc-swirl-table{display:flex}.table__container.sc-swirl-table{position:relative;overflow:auto;width:100%}.table__container--scrolled.sc-swirl-table{--swirl-table-sticky-right-shadow:4px 0 16px -4px var(--swirl-table-shadow-rgba),\n 2px 0 4px -2px var(--swirl-table-shadow-rgba)}.table__container--scrollable.sc-swirl-table:not(.table__container--scrolled-to-end){--swirl-table-sticky-left-shadow:0px 4px 16px 0px\n var(--swirl-table-shadow-rgba),\n 0px 1px 4px 0px var(--swirl-table-shadow-rgba)}.table__table.sc-swirl-table{width:-webkit-max-content;width:-moz-max-content;width:max-content;min-width:max(20rem, 100%)}.table__header.sc-swirl-table-s>*,.table__header .sc-swirl-table-s>*{display:flex}.table__empty-row.sc-swirl-table{display:none}.table__empty-row-cell.sc-swirl-table{display:flex;overflow:auto;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;background-color:var(--s-surface-default)}.table__empty-row-cell.sc-swirl-table>*.sc-swirl-table{flex-grow:1}";
|
|
93
93
|
|
|
94
94
|
const defaultDragDropInstructions = {
|
|
95
95
|
end: "Dropped. Final position in table: {position} of {rowCount}.",
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
:host {
|
|
2
|
+
--swirl-table-shadow-rgba: rgba(23, 23, 23, 0.2);
|
|
3
|
+
|
|
2
4
|
position: relative;
|
|
3
5
|
display: block;
|
|
4
6
|
}
|
|
@@ -7,6 +9,10 @@
|
|
|
7
9
|
box-sizing: border-box;
|
|
8
10
|
}
|
|
9
11
|
|
|
12
|
+
:host-context(html.theme-dark) {
|
|
13
|
+
--swirl-table-shadow-rgba: rgba(0, 0, 0, 0.2);
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
.table--keyboard-move:focus-within {
|
|
11
17
|
--swirl-table-moving-row-border: var(--s-border-width-default) solid
|
|
12
18
|
var(--s-border-highlight);
|
|
@@ -23,13 +29,14 @@
|
|
|
23
29
|
}
|
|
24
30
|
|
|
25
31
|
.table__container--scrolled {
|
|
26
|
-
--swirl-table-sticky-right-shadow: 4px 0 16px -4px rgba
|
|
27
|
-
2px 0 4px -2px rgba
|
|
32
|
+
--swirl-table-sticky-right-shadow: 4px 0 16px -4px var(--swirl-table-shadow-rgba),
|
|
33
|
+
2px 0 4px -2px var(--swirl-table-shadow-rgba);
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.table__container--scrollable:not(.table__container--scrolled-to-end) {
|
|
31
|
-
--swirl-table-sticky-left-shadow: 0px 4px 16px 0px
|
|
32
|
-
|
|
37
|
+
--swirl-table-sticky-left-shadow: 0px 4px 16px 0px
|
|
38
|
+
var(--swirl-table-shadow-rgba),
|
|
39
|
+
0px 1px 4px 0px var(--swirl-table-shadow-rgba);
|
|
33
40
|
}
|
|
34
41
|
|
|
35
42
|
.table__table {
|