@ganpatiinfo/gids-web-dom-reference 12.0.0 → 13.0.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/CHANGELOG.md +84 -2
- package/dist/components/GidsAdvancedTooltip/GidsAdvancedTooltip.d.ts +8 -0
- package/dist/components/GidsAdvancedTooltip/GidsAdvancedTooltip.d.ts.map +1 -0
- package/dist/components/GidsAdvancedTooltip/GidsAdvancedTooltip.js +14 -0
- package/dist/components/GidsAdvancedTooltip/GidsAdvancedTooltip.js.map +1 -0
- package/dist/components/GidsBasicTableBody/GidsBasicTableBody.d.ts +26 -3
- package/dist/components/GidsBasicTableBody/GidsBasicTableBody.d.ts.map +1 -1
- package/dist/components/GidsBasicTableBody/GidsBasicTableBody.js +22 -3
- package/dist/components/GidsBasicTableBody/GidsBasicTableBody.js.map +1 -1
- package/dist/components/GidsBasicTableHead/GidsBasicTableHead.d.ts +15 -0
- package/dist/components/GidsBasicTableHead/GidsBasicTableHead.d.ts.map +1 -1
- package/dist/components/GidsBasicTableHead/GidsBasicTableHead.js +5 -0
- package/dist/components/GidsBasicTableHead/GidsBasicTableHead.js.map +1 -1
- package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +26 -3
- package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.d.ts.map +1 -1
- package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.js +9 -1
- package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.js.map +1 -1
- package/dist/components/GidsBasicTableRow/GidsBasicTableRow.d.ts +22 -3
- package/dist/components/GidsBasicTableRow/GidsBasicTableRow.d.ts.map +1 -1
- package/dist/components/GidsBasicTableRow/GidsBasicTableRow.js +27 -6
- package/dist/components/GidsBasicTableRow/GidsBasicTableRow.js.map +1 -1
- package/dist/components/GidsBsTable/GidsBsTable.d.ts +26 -3
- package/dist/components/GidsBsTable/GidsBsTable.d.ts.map +1 -1
- package/dist/components/GidsBsTable/GidsBsTable.js +36 -14
- package/dist/components/GidsBsTable/GidsBsTable.js.map +1 -1
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts +1 -1
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts.map +1 -1
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js +2 -1
- package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js.map +1 -1
- package/dist/components/GidsColorSwatch/GidsColorSwatch.d.ts +8 -0
- package/dist/components/GidsColorSwatch/GidsColorSwatch.d.ts.map +1 -0
- package/dist/components/GidsColorSwatch/GidsColorSwatch.js +62 -0
- package/dist/components/GidsColorSwatch/GidsColorSwatch.js.map +1 -0
- package/dist/components/GidsMatrixTable/GidsMatrixTable.d.ts +12 -0
- package/dist/components/GidsMatrixTable/GidsMatrixTable.d.ts.map +1 -0
- package/dist/components/GidsMatrixTable/GidsMatrixTable.js +70 -0
- package/dist/components/GidsMatrixTable/GidsMatrixTable.js.map +1 -0
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +12 -0
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.d.ts.map +1 -0
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.js +70 -0
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.js.map +1 -0
- package/dist/components/GidsMdTable/GidsMdTable.d.ts +11 -2
- package/dist/components/GidsMdTable/GidsMdTable.d.ts.map +1 -1
- package/dist/components/GidsMdTable/GidsMdTable.js +3 -0
- package/dist/components/GidsMdTable/GidsMdTable.js.map +1 -1
- package/dist/components/GidsPagination/GidsPagination.d.ts +10 -0
- package/dist/components/GidsPagination/GidsPagination.d.ts.map +1 -1
- package/dist/components/GidsPagination/GidsPagination.js +5 -0
- package/dist/components/GidsPagination/GidsPagination.js.map +1 -1
- package/dist/components/GidsPaginator/GidsPaginator.d.ts +8 -0
- package/dist/components/GidsPaginator/GidsPaginator.d.ts.map +1 -0
- package/dist/components/GidsPaginator/GidsPaginator.js +154 -0
- package/dist/components/GidsPaginator/GidsPaginator.js.map +1 -0
- package/dist/components/GidsPaginatorItem/GidsPaginatorItem.d.ts +9 -0
- package/dist/components/GidsPaginatorItem/GidsPaginatorItem.d.ts.map +1 -0
- package/dist/components/GidsPaginatorItem/GidsPaginatorItem.js +33 -0
- package/dist/components/GidsPaginatorItem/GidsPaginatorItem.js.map +1 -0
- package/dist/components/GidsTable/GidsTable.d.ts +18 -0
- package/dist/components/GidsTable/GidsTable.d.ts.map +1 -0
- package/dist/components/GidsTable/GidsTable.js +96 -0
- package/dist/components/GidsTable/GidsTable.js.map +1 -0
- package/dist/components/GidsTableBody/GidsTableBody.d.ts +13 -0
- package/dist/components/GidsTableBody/GidsTableBody.d.ts.map +1 -0
- package/dist/components/GidsTableBody/GidsTableBody.js +61 -0
- package/dist/components/GidsTableBody/GidsTableBody.js.map +1 -0
- package/dist/components/GidsTableCell/GidsTableCell.d.ts +28 -0
- package/dist/components/GidsTableCell/GidsTableCell.d.ts.map +1 -0
- package/dist/components/GidsTableCell/GidsTableCell.js +146 -0
- package/dist/components/GidsTableCell/GidsTableCell.js.map +1 -0
- package/dist/components/GidsTableEntry/GidsTableEntry.d.ts +13 -0
- package/dist/components/GidsTableEntry/GidsTableEntry.d.ts.map +1 -0
- package/dist/components/GidsTableEntry/GidsTableEntry.js +305 -0
- package/dist/components/GidsTableEntry/GidsTableEntry.js.map +1 -0
- package/dist/components/GidsTableFooter/GidsTableFooter.d.ts +13 -0
- package/dist/components/GidsTableFooter/GidsTableFooter.d.ts.map +1 -0
- package/dist/components/GidsTableFooter/GidsTableFooter.js +75 -0
- package/dist/components/GidsTableFooter/GidsTableFooter.js.map +1 -0
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.d.ts +11 -0
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.d.ts.map +1 -0
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.js +97 -0
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.js.map +1 -0
- package/dist/components/GidsTableHeader/GidsTableHeader.d.ts +13 -0
- package/dist/components/GidsTableHeader/GidsTableHeader.d.ts.map +1 -0
- package/dist/components/GidsTableHeader/GidsTableHeader.js +51 -0
- package/dist/components/GidsTableHeader/GidsTableHeader.js.map +1 -0
- package/dist/components/GidsTableRow/GidsTableRow.d.ts +13 -0
- package/dist/components/GidsTableRow/GidsTableRow.d.ts.map +1 -0
- package/dist/components/GidsTableRow/GidsTableRow.js +71 -0
- package/dist/components/GidsTableRow/GidsTableRow.js.map +1 -0
- package/dist/components/GidsTableToolbar/GidsTableToolbar.d.ts +11 -0
- package/dist/components/GidsTableToolbar/GidsTableToolbar.d.ts.map +1 -0
- package/dist/components/GidsTableToolbar/GidsTableToolbar.js +92 -0
- package/dist/components/GidsTableToolbar/GidsTableToolbar.js.map +1 -0
- package/dist/components/_GidsPaginationItem/GidsPaginationItem.d.ts +10 -0
- package/dist/components/_GidsPaginationItem/GidsPaginationItem.d.ts.map +1 -1
- package/dist/components/_GidsPaginationItem/GidsPaginationItem.js +5 -0
- package/dist/components/_GidsPaginationItem/GidsPaginationItem.js.map +1 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/GidsAdvancedTooltip/GidsAdvancedTooltip.ts +42 -0
- package/src/components/GidsBasicTableBody/GidsBasicTableBody.ts +66 -5
- package/src/components/GidsBasicTableHead/GidsBasicTableHead.ts +15 -0
- package/src/components/GidsBasicTableHeader/GidsBasicTableHeader.ts +45 -5
- package/src/components/GidsBasicTableRow/GidsBasicTableRow.ts +65 -7
- package/src/components/GidsBsTable/GidsBsTable.ts +81 -19
- package/src/components/GidsChartLegendItem/GidsChartLegendItem.ts +2 -0
- package/src/components/GidsColorSwatch/GidsColorSwatch.ts +107 -0
- package/src/components/GidsMatrixTable/GidsMatrixTable.ts +167 -0
- package/src/components/GidsMatrixTableBody/GidsMatrixTableBody.ts +164 -0
- package/src/components/GidsMdTable/GidsMdTable.ts +14 -2
- package/src/components/GidsPagination/GidsPagination.ts +14 -2
- package/src/components/GidsPaginator/GidsPaginator.ts +241 -0
- package/src/components/GidsPaginatorItem/GidsPaginatorItem.ts +72 -0
- package/src/components/GidsTable/GidsTable.ts +203 -0
- package/src/components/GidsTableBody/GidsTableBody.ts +137 -0
- package/src/components/GidsTableCell/GidsTableCell.ts +276 -0
- package/src/components/GidsTableEntry/GidsTableEntry.ts +515 -0
- package/src/components/GidsTableFooter/GidsTableFooter.ts +157 -0
- package/src/components/GidsTableFooterControl/GidsTableFooterControl.ts +159 -0
- package/src/components/GidsTableHeader/GidsTableHeader.ts +116 -0
- package/src/components/GidsTableRow/GidsTableRow.ts +154 -0
- package/src/components/GidsTableToolbar/GidsTableToolbar.ts +180 -0
- package/src/components/_GidsPaginationItem/GidsPaginationItem.ts +14 -2
- package/src/index.ts +15 -1
- package/dist/components/GidsBasicTableCell/GidsBasicTableCell.d.ts +0 -9
- package/dist/components/GidsBasicTableCell/GidsBasicTableCell.d.ts.map +0 -1
- package/dist/components/GidsBasicTableCell/GidsBasicTableCell.js +0 -48
- package/dist/components/GidsBasicTableCell/GidsBasicTableCell.js.map +0 -1
- package/src/components/GidsBasicTableCell/GidsBasicTableCell.ts +0 -99
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { GidsBasicTableCellWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
|
-
import { appendAsChildren } from '../../utils/domUtils';
|
|
3
|
-
import { GidsDisplayTagDom } from '../GidsDisplayTag/GidsDisplayTag';
|
|
4
|
-
import { GidsIconDom } from '../GidsIcon/GidsIcon';
|
|
5
|
-
const { getGidsBasicTableCellClassNames, getGidsBasicTableCellLabelTypographyClass, } = GidsBasicTableCellWebUtils;
|
|
6
|
-
export const GidsBasicTableCellDom = ({ id, uniqueKey, extraData, label, cellDataType = 'text', displayTags = [], width = 'full', borderSides = [], borderRadiusSides = [], appearance = 'none', textAlignment = 'center', labelTypography = 'label-medium', isHeaderCell = false, extraClasses, }) => {
|
|
7
|
-
const cellTag = isHeaderCell ? 'th' : 'td';
|
|
8
|
-
const basicTableCell = document.createElement(cellTag);
|
|
9
|
-
basicTableCell.className = getGidsBasicTableCellClassNames({ borderSides, borderRadiusSides, appearance, textAlignment, width }, extraClasses);
|
|
10
|
-
if (id) {
|
|
11
|
-
basicTableCell.setAttribute('id', id);
|
|
12
|
-
}
|
|
13
|
-
if (uniqueKey) {
|
|
14
|
-
basicTableCell.setAttribute('unique-key', uniqueKey);
|
|
15
|
-
}
|
|
16
|
-
if (extraData) {
|
|
17
|
-
basicTableCell.setAttribute('extra-data', JSON.stringify(extraData));
|
|
18
|
-
}
|
|
19
|
-
if (cellDataType === 'text' && label && label !== '') {
|
|
20
|
-
const labelSpan = document.createElement('span');
|
|
21
|
-
labelSpan.textContent = label;
|
|
22
|
-
labelSpan.className = `${getGidsBasicTableCellLabelTypographyClass(labelTypography)}`;
|
|
23
|
-
appendAsChildren(basicTableCell, labelSpan);
|
|
24
|
-
}
|
|
25
|
-
if (cellDataType === 'display-tag' && displayTags && displayTags.length > 0) {
|
|
26
|
-
const displayTagsContainer = document.createElement('div');
|
|
27
|
-
displayTagsContainer.className =
|
|
28
|
-
'gids-basic-table-cell__display-tags-container';
|
|
29
|
-
displayTags.forEach((displayTag) => {
|
|
30
|
-
displayTagsContainer.append(GidsDisplayTagDom({
|
|
31
|
-
label: displayTag?.label ?? '',
|
|
32
|
-
appearance: displayTag?.displayTagAppearance ?? 'subtle',
|
|
33
|
-
size: displayTag?.displayTagSize ?? 'xs',
|
|
34
|
-
icon: displayTag?.displayTagIcon
|
|
35
|
-
? GidsIconDom({
|
|
36
|
-
name: displayTag.displayTagIcon,
|
|
37
|
-
size: displayTag?.displayTagSize ?? 'xs',
|
|
38
|
-
appearance: displayTag?.displayTagIconAppearance ?? 'regular',
|
|
39
|
-
})
|
|
40
|
-
: undefined,
|
|
41
|
-
color: displayTag?.displayTagColor ?? 'accent-5',
|
|
42
|
-
}));
|
|
43
|
-
});
|
|
44
|
-
appendAsChildren(basicTableCell, displayTagsContainer);
|
|
45
|
-
}
|
|
46
|
-
return basicTableCell;
|
|
47
|
-
};
|
|
48
|
-
//# sourceMappingURL=GidsBasicTableCell.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GidsBasicTableCell.js","sourceRoot":"","sources":["../../../src/components/GidsBasicTableCell/GidsBasicTableCell.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
GidsBasicTableCellTypographyStyle,
|
|
3
|
-
GidsBasicTableCellWebProps,
|
|
4
|
-
GidsBasicTableCellWebUtils,
|
|
5
|
-
} from '@ganpatiinfo/gids-web-shared';
|
|
6
|
-
import { appendAsChildren } from '../../utils/domUtils';
|
|
7
|
-
import {
|
|
8
|
-
IconAppearance,
|
|
9
|
-
IconName,
|
|
10
|
-
} from '@ganpatiinfo/gids-web-theme-interface';
|
|
11
|
-
import { GidsDisplayTagDom } from '../GidsDisplayTag/GidsDisplayTag';
|
|
12
|
-
import { GidsIconDom } from '../GidsIcon/GidsIcon';
|
|
13
|
-
|
|
14
|
-
const {
|
|
15
|
-
getGidsBasicTableCellClassNames,
|
|
16
|
-
getGidsBasicTableCellLabelTypographyClass,
|
|
17
|
-
} = GidsBasicTableCellWebUtils;
|
|
18
|
-
|
|
19
|
-
type GidsBasicTableCellBaseWebProps = GidsBasicTableCellWebProps<
|
|
20
|
-
GidsBasicTableCellTypographyStyle,
|
|
21
|
-
IconName,
|
|
22
|
-
IconAppearance
|
|
23
|
-
>;
|
|
24
|
-
|
|
25
|
-
export interface GidsBasicTableCellDomProps extends GidsBasicTableCellBaseWebProps {
|
|
26
|
-
extraClasses?: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export const GidsBasicTableCellDom = ({
|
|
30
|
-
id,
|
|
31
|
-
uniqueKey,
|
|
32
|
-
extraData,
|
|
33
|
-
label,
|
|
34
|
-
cellDataType = 'text',
|
|
35
|
-
displayTags = [],
|
|
36
|
-
width = 'full',
|
|
37
|
-
borderSides = [],
|
|
38
|
-
borderRadiusSides = [],
|
|
39
|
-
appearance = 'none',
|
|
40
|
-
textAlignment = 'center',
|
|
41
|
-
labelTypography = 'label-medium',
|
|
42
|
-
isHeaderCell = false,
|
|
43
|
-
extraClasses,
|
|
44
|
-
}: GidsBasicTableCellDomProps): HTMLElement => {
|
|
45
|
-
const cellTag = isHeaderCell ? 'th' : 'td';
|
|
46
|
-
const basicTableCell = document.createElement(cellTag);
|
|
47
|
-
basicTableCell.className = getGidsBasicTableCellClassNames(
|
|
48
|
-
{ borderSides, borderRadiusSides, appearance, textAlignment, width },
|
|
49
|
-
extraClasses,
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
if (id) {
|
|
53
|
-
basicTableCell.setAttribute('id', id);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (uniqueKey) {
|
|
57
|
-
basicTableCell.setAttribute('unique-key', uniqueKey);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
if (extraData) {
|
|
61
|
-
basicTableCell.setAttribute('extra-data', JSON.stringify(extraData));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
if (cellDataType === 'text' && label && label !== '') {
|
|
65
|
-
const labelSpan = document.createElement('span');
|
|
66
|
-
labelSpan.textContent = label;
|
|
67
|
-
labelSpan.className = `${getGidsBasicTableCellLabelTypographyClass(labelTypography)}`;
|
|
68
|
-
|
|
69
|
-
appendAsChildren(basicTableCell, labelSpan);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if (cellDataType === 'display-tag' && displayTags && displayTags.length > 0) {
|
|
73
|
-
const displayTagsContainer = document.createElement('div');
|
|
74
|
-
displayTagsContainer.className =
|
|
75
|
-
'gids-basic-table-cell__display-tags-container';
|
|
76
|
-
|
|
77
|
-
displayTags.forEach((displayTag) => {
|
|
78
|
-
displayTagsContainer.append(
|
|
79
|
-
GidsDisplayTagDom({
|
|
80
|
-
label: displayTag?.label ?? '',
|
|
81
|
-
appearance: displayTag?.displayTagAppearance ?? 'subtle',
|
|
82
|
-
size: displayTag?.displayTagSize ?? 'xs',
|
|
83
|
-
icon: displayTag?.displayTagIcon
|
|
84
|
-
? GidsIconDom({
|
|
85
|
-
name: displayTag.displayTagIcon,
|
|
86
|
-
size: displayTag?.displayTagSize ?? 'xs',
|
|
87
|
-
appearance: displayTag?.displayTagIconAppearance ?? 'regular',
|
|
88
|
-
})
|
|
89
|
-
: undefined,
|
|
90
|
-
color: displayTag?.displayTagColor ?? 'accent-5',
|
|
91
|
-
}),
|
|
92
|
-
);
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
appendAsChildren(basicTableCell, displayTagsContainer);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return basicTableCell;
|
|
99
|
-
};
|