@db-ux/core-components 4.5.4-mcp-e4cd7e6 → 4.5.4-table-c758ae7
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/README.md +30 -0
- package/build/assets/icons/LICENCES.json +12 -0
- package/build/assets/icons/arrows_vertical.svg +1 -0
- package/build/assets/icons/fonts/all/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_12/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_14/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_16/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_20/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_24/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_28/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_32/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_48/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/default_64/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_12/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_14/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_16/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_20/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_24/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_28/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_32/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_48/db-ux.woff2 +0 -0
- package/build/assets/icons/fonts/filled_64/db-ux.woff2 +0 -0
- package/build/assets/icons/more_vertical.svg +1 -0
- package/build/components/checkbox/checkbox.css +1 -1
- package/build/components/radio/radio.css +1 -1
- package/build/components/switch/switch.css +1 -1
- package/build/components/table/table.css +701 -0
- package/build/components/table/table.scss +297 -0
- package/build/components/table-body/table-body.css +40 -0
- package/build/components/table-body/table-body.scss +5 -0
- package/build/components/table-caption/table-caption.css +3 -0
- package/build/components/table-caption/table-caption.scss +3 -0
- package/build/components/table-data-cell/table-data-cell.css +176 -0
- package/build/components/table-data-cell/table-data-cell.scss +5 -0
- package/build/components/table-footer/table-footer.css +40 -0
- package/build/components/table-footer/table-footer.scss +5 -0
- package/build/components/table-head/table-head.css +51 -0
- package/build/components/table-head/table-head.scss +17 -0
- package/build/components/table-header-cell/table-header-cell.css +180 -0
- package/build/components/table-header-cell/table-header-cell.scss +9 -0
- package/build/components/table-row/table-row.css +128 -0
- package/build/components/table-row/table-row.scss +106 -0
- package/build/styles/absolute.css +8 -8
- package/build/styles/index.css +7 -7
- package/build/styles/index.scss +8 -0
- package/build/styles/internal/_custom-elements.scss +3 -1
- package/build/styles/internal/_form-components.scss +1 -1
- package/build/styles/internal/_table-components.scss +60 -0
- package/build/styles/relative.css +8 -8
- package/build/styles/rollup.css +8 -8
- package/build/styles/wc-workarounds.css +1 -1
- package/build/styles/webpack.css +8 -8
- package/package.json +2 -2
package/build/styles/index.scss
CHANGED
|
@@ -35,4 +35,12 @@
|
|
|
35
35
|
@forward "../components/custom-select-dropdown/custom-select-dropdown";
|
|
36
36
|
@forward "../components/custom-select-list/custom-select-list";
|
|
37
37
|
@forward "../components/custom-select-list-item/custom-select-list-item";
|
|
38
|
+
@forward "../components/table/table";
|
|
39
|
+
@forward "../components/table-caption/table-caption";
|
|
40
|
+
@forward "../components/table-head/table-head";
|
|
41
|
+
@forward "../components/table-body/table-body";
|
|
42
|
+
@forward "../components/table-footer/table-footer";
|
|
43
|
+
@forward "../components/table-row/table-row";
|
|
44
|
+
@forward "../components/table-header-cell/table-header-cell";
|
|
45
|
+
@forward "../components/table-data-cell/table-data-cell";
|
|
38
46
|
@forward "../components/custom-button/custom-button";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
$custom-elements: //hygen-insert
|
|
2
2
|
|
|
3
|
-
db-
|
|
3
|
+
db-table-data-cell, db-table-header-cell, db-table-row, db-table-footer,
|
|
4
|
+
db-table-body, db-table-head, db-table-caption, db-table, db-custom-button,
|
|
5
|
+
db-custom-select-list-item, db-custom-select-list,
|
|
4
6
|
db-custom-select-dropdown, db-custom-select-form-field, db-custom-select,
|
|
5
7
|
db-stack, db-switch, db-tab-panel, db-tabs, db-tab-list, db-tab-item,
|
|
6
8
|
db-tab-bar, db-tooltip, db-popover, db-textarea, db-navigation,
|
|
@@ -623,7 +623,6 @@ $input-valid-types:
|
|
|
623
623
|
@include helpers.display(flex);
|
|
624
624
|
|
|
625
625
|
align-items: flex-start;
|
|
626
|
-
position: relative;
|
|
627
626
|
color: var(
|
|
628
627
|
--db-check-element-label-color,
|
|
629
628
|
#{colors.$db-adaptive-on-bg-basic-emphasis-100-default}
|
|
@@ -657,6 +656,7 @@ $input-valid-types:
|
|
|
657
656
|
|
|
658
657
|
&[data-hide-label="true"] {
|
|
659
658
|
font-size: 0;
|
|
659
|
+
inline-size: fit-content;
|
|
660
660
|
|
|
661
661
|
input {
|
|
662
662
|
margin-inline-end: 0;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@use "@db-ux/core-foundations/build/styles/colors";
|
|
2
|
+
@use "@db-ux/core-foundations/build/styles/variables";
|
|
3
|
+
|
|
4
|
+
%table-section-grid {
|
|
5
|
+
display: var(--db-table-section-display, grid);
|
|
6
|
+
grid-template-columns: subgrid;
|
|
7
|
+
grid-column: 1 / -1;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
%table-cell {
|
|
11
|
+
display: flex;
|
|
12
|
+
|
|
13
|
+
@for $span from 2 through 20 {
|
|
14
|
+
&[colspan="#{$span}"] {
|
|
15
|
+
grid-column: span var(--db-table-cell-span, #{$span});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[rowspan="#{$span}"] {
|
|
19
|
+
grid-row: span var(--db-table-cell-span, #{$span});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:not([data-horizontal-alignment]),
|
|
24
|
+
&[data-horizontal-alignment="start"] {
|
|
25
|
+
text-align: start;
|
|
26
|
+
justify-content: flex-start;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&[data-horizontal-alignment="center"] {
|
|
30
|
+
text-align: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&[data-horizontal-alignment="end"] {
|
|
35
|
+
text-align: end;
|
|
36
|
+
justify-content: flex-end;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&[data-vertical-alignment="start"] {
|
|
40
|
+
vertical-align: top;
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:not([data-vertical-alignment]),
|
|
45
|
+
&[data-vertical-alignment="center"] {
|
|
46
|
+
vertical-align: middle;
|
|
47
|
+
align-items: center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&[data-vertical-alignment="end"] {
|
|
51
|
+
vertical-align: bottom;
|
|
52
|
+
align-items: flex-end;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
%sub-header-strong {
|
|
57
|
+
background-color: colors.$db-adaptive-bg-vibrant-default;
|
|
58
|
+
color: colors.$db-adaptive-on-bg-vibrant-default;
|
|
59
|
+
border-color: colors.$db-adaptive-on-bg-basic-emphasis-70-default;
|
|
60
|
+
}
|