@ganpatiinfo/gids-react-web 13.0.0 → 15.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.
Files changed (125) hide show
  1. package/dist/components/GidsBaseCard/GidsBaseCard.d.ts +2 -2
  2. package/dist/components/GidsBaseCard/GidsBaseCard.d.ts.map +1 -1
  3. package/dist/components/GidsBaseCard/GidsBaseCard.js +2 -2
  4. package/dist/components/GidsBaseCard/GidsBaseCard.js.map +1 -1
  5. package/dist/components/GidsBasicTableBody/GidsBasicTableBody.d.ts +30 -5
  6. package/dist/components/GidsBasicTableBody/GidsBasicTableBody.d.ts.map +1 -1
  7. package/dist/components/GidsBasicTableBody/GidsBasicTableBody.js +20 -4
  8. package/dist/components/GidsBasicTableBody/GidsBasicTableBody.js.map +1 -1
  9. package/dist/components/GidsBasicTableHead/GidsBasicTableHead.d.ts +25 -0
  10. package/dist/components/GidsBasicTableHead/GidsBasicTableHead.d.ts.map +1 -1
  11. package/dist/components/GidsBasicTableHead/GidsBasicTableHead.js +6 -1
  12. package/dist/components/GidsBasicTableHead/GidsBasicTableHead.js.map +1 -1
  13. package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.d.ts +24 -4
  14. package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.d.ts.map +1 -1
  15. package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.js +7 -2
  16. package/dist/components/GidsBasicTableHeader/GidsBasicTableHeader.js.map +1 -1
  17. package/dist/components/GidsBasicTableRow/GidsBasicTableRow.d.ts +21 -4
  18. package/dist/components/GidsBasicTableRow/GidsBasicTableRow.d.ts.map +1 -1
  19. package/dist/components/GidsBasicTableRow/GidsBasicTableRow.js +20 -5
  20. package/dist/components/GidsBasicTableRow/GidsBasicTableRow.js.map +1 -1
  21. package/dist/components/GidsBox/GidsBox.d.ts +1 -1
  22. package/dist/components/GidsBox/GidsBox.js +1 -1
  23. package/dist/components/GidsBreadcrumb/GidsBreadcrumb.d.ts +1 -1
  24. package/dist/components/GidsBreadcrumb/GidsBreadcrumb.js +1 -1
  25. package/dist/components/GidsBreadcrumbItem/GidsBreadcrumbItem.d.ts +1 -1
  26. package/dist/components/GidsBreadcrumbItem/GidsBreadcrumbItem.js +1 -1
  27. package/dist/components/GidsBsTable/GidsBsTable.d.ts +30 -5
  28. package/dist/components/GidsBsTable/GidsBsTable.d.ts.map +1 -1
  29. package/dist/components/GidsBsTable/GidsBsTable.js +23 -7
  30. package/dist/components/GidsBsTable/GidsBsTable.js.map +1 -1
  31. package/dist/components/GidsCard/GidsCard.d.ts +2 -2
  32. package/dist/components/GidsCard/GidsCard.d.ts.map +1 -1
  33. package/dist/components/GidsCard/GidsCard.js +2 -2
  34. package/dist/components/GidsCard/GidsCard.js.map +1 -1
  35. package/dist/components/GidsColorSwatch/GidsColorSwatch.d.ts +7 -0
  36. package/dist/components/GidsColorSwatch/GidsColorSwatch.d.ts.map +1 -0
  37. package/dist/components/GidsColorSwatch/GidsColorSwatch.js +41 -0
  38. package/dist/components/GidsColorSwatch/GidsColorSwatch.js.map +1 -0
  39. package/dist/components/GidsCompoundButton/GidsCompoundButton.d.ts +2 -2
  40. package/dist/components/GidsCompoundButton/GidsCompoundButton.js +2 -2
  41. package/dist/components/GidsContainer/GidsContainer.d.ts +1 -1
  42. package/dist/components/GidsContainer/GidsContainer.js +1 -1
  43. package/dist/components/GidsLabel/GidsLabel.d.ts +2 -2
  44. package/dist/components/GidsLabel/GidsLabel.d.ts.map +1 -1
  45. package/dist/components/GidsLabel/GidsLabel.js +2 -2
  46. package/dist/components/GidsLabel/GidsLabel.js.map +1 -1
  47. package/dist/components/GidsMatrixTable/GidsMatrixTable.d.ts +12 -0
  48. package/dist/components/GidsMatrixTable/GidsMatrixTable.d.ts.map +1 -0
  49. package/dist/components/GidsMatrixTable/GidsMatrixTable.js +31 -0
  50. package/dist/components/GidsMatrixTable/GidsMatrixTable.js.map +1 -0
  51. package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +12 -0
  52. package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.d.ts.map +1 -0
  53. package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.js +51 -0
  54. package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.js.map +1 -0
  55. package/dist/components/GidsPagination/GidsPagination.d.ts +9 -0
  56. package/dist/components/GidsPagination/GidsPagination.d.ts.map +1 -1
  57. package/dist/components/GidsPagination/GidsPagination.js +9 -15
  58. package/dist/components/GidsPagination/GidsPagination.js.map +1 -1
  59. package/dist/components/GidsPaginator/GidsPaginator.d.ts +7 -0
  60. package/dist/components/GidsPaginator/GidsPaginator.d.ts.map +1 -0
  61. package/dist/components/GidsPaginator/GidsPaginator.js +142 -0
  62. package/dist/components/GidsPaginator/GidsPaginator.js.map +1 -0
  63. package/dist/components/GidsPaginatorItem/GidsPaginatorItem.d.ts +7 -0
  64. package/dist/components/GidsPaginatorItem/GidsPaginatorItem.d.ts.map +1 -0
  65. package/dist/components/GidsPaginatorItem/GidsPaginatorItem.js +29 -0
  66. package/dist/components/GidsPaginatorItem/GidsPaginatorItem.js.map +1 -0
  67. package/dist/components/GidsSectionNotice/GidsSectionNotice.d.ts +1 -1
  68. package/dist/components/GidsSectionNotice/GidsSectionNotice.js +1 -1
  69. package/dist/components/GidsTable/GidsTable.d.ts +16 -0
  70. package/dist/components/GidsTable/GidsTable.d.ts.map +1 -0
  71. package/dist/components/GidsTable/GidsTable.js +51 -0
  72. package/dist/components/GidsTable/GidsTable.js.map +1 -0
  73. package/dist/components/GidsTableBody/GidsTableBody.d.ts +12 -0
  74. package/dist/components/GidsTableBody/GidsTableBody.d.ts.map +1 -0
  75. package/dist/components/GidsTableBody/GidsTableBody.js +44 -0
  76. package/dist/components/GidsTableBody/GidsTableBody.js.map +1 -0
  77. package/dist/components/GidsTableCell/GidsTableCell.d.ts +22 -0
  78. package/dist/components/GidsTableCell/GidsTableCell.d.ts.map +1 -0
  79. package/dist/components/GidsTableCell/GidsTableCell.js +91 -0
  80. package/dist/components/GidsTableCell/GidsTableCell.js.map +1 -0
  81. package/dist/components/GidsTableEntry/GidsTableEntry.d.ts +10 -0
  82. package/dist/components/GidsTableEntry/GidsTableEntry.d.ts.map +1 -0
  83. package/dist/components/GidsTableEntry/GidsTableEntry.js +175 -0
  84. package/dist/components/GidsTableEntry/GidsTableEntry.js.map +1 -0
  85. package/dist/components/GidsTableFooter/GidsTableFooter.d.ts +12 -0
  86. package/dist/components/GidsTableFooter/GidsTableFooter.d.ts.map +1 -0
  87. package/dist/components/GidsTableFooter/GidsTableFooter.js +43 -0
  88. package/dist/components/GidsTableFooter/GidsTableFooter.js.map +1 -0
  89. package/dist/components/GidsTableFooterControl/GidsTableFooterControl.d.ts +8 -0
  90. package/dist/components/GidsTableFooterControl/GidsTableFooterControl.d.ts.map +1 -0
  91. package/dist/components/GidsTableFooterControl/GidsTableFooterControl.js +44 -0
  92. package/dist/components/GidsTableFooterControl/GidsTableFooterControl.js.map +1 -0
  93. package/dist/components/GidsTableHeader/GidsTableHeader.d.ts +10 -0
  94. package/dist/components/GidsTableHeader/GidsTableHeader.d.ts.map +1 -0
  95. package/dist/components/GidsTableHeader/GidsTableHeader.js +20 -0
  96. package/dist/components/GidsTableHeader/GidsTableHeader.js.map +1 -0
  97. package/dist/components/GidsTableRow/GidsTableRow.d.ts +10 -0
  98. package/dist/components/GidsTableRow/GidsTableRow.d.ts.map +1 -0
  99. package/dist/components/GidsTableRow/GidsTableRow.js +24 -0
  100. package/dist/components/GidsTableRow/GidsTableRow.js.map +1 -0
  101. package/dist/components/GidsTableToolbar/GidsTableToolbar.d.ts +15 -0
  102. package/dist/components/GidsTableToolbar/GidsTableToolbar.d.ts.map +1 -0
  103. package/dist/components/GidsTableToolbar/GidsTableToolbar.js +26 -0
  104. package/dist/components/GidsTableToolbar/GidsTableToolbar.js.map +1 -0
  105. package/dist/components/_GidsPaginationItem/GidsPaginationItem.d.ts +11 -2
  106. package/dist/components/_GidsPaginationItem/GidsPaginationItem.d.ts.map +1 -1
  107. package/dist/components/_GidsPaginationItem/GidsPaginationItem.js +6 -2
  108. package/dist/components/_GidsPaginationItem/GidsPaginationItem.js.map +1 -1
  109. package/dist/components/stencil-generated/components.d.ts +1 -0
  110. package/dist/components/stencil-generated/components.d.ts.map +1 -1
  111. package/dist/components/stencil-generated/components.js +1 -0
  112. package/dist/components/stencil-generated/components.js.map +1 -1
  113. package/dist/components/stencil-generated/gids-advanced-tooltip.d.ts +10 -0
  114. package/dist/components/stencil-generated/gids-advanced-tooltip.d.ts.map +1 -0
  115. package/dist/components/stencil-generated/gids-advanced-tooltip.js +13 -0
  116. package/dist/components/stencil-generated/gids-advanced-tooltip.js.map +1 -0
  117. package/dist/index.d.ts +15 -1
  118. package/dist/index.d.ts.map +1 -1
  119. package/dist/index.js +15 -1
  120. package/dist/index.js.map +1 -1
  121. package/package.json +9 -9
  122. package/dist/components/GidsBasicTableCell/GidsBasicTableCell.d.ts +0 -5
  123. package/dist/components/GidsBasicTableCell/GidsBasicTableCell.d.ts.map +0 -1
  124. package/dist/components/GidsBasicTableCell/GidsBasicTableCell.js +0 -15
  125. package/dist/components/GidsBasicTableCell/GidsBasicTableCell.js.map +0 -1
@@ -8,7 +8,7 @@ export interface GidsCardProps extends GidsCardCommonProps<ReactNode, string, st
8
8
  * **Basic Usage**
9
9
  *
10
10
  * ```tsx
11
- * import { GidsCard } from '@investec/gids-react-web';
11
+ * import { GidsCard } from '@ganpatiinfo/gids-react-web';
12
12
  *
13
13
  * export const MyComponent = () => (
14
14
  * <GidsCard
@@ -24,7 +24,7 @@ export interface GidsCardProps extends GidsCardCommonProps<ReactNode, string, st
24
24
  * **Advanced Usage**
25
25
  *
26
26
  * ```tsx
27
- * import { GidsCard } from '@investec/gids-react-web';
27
+ * import { GidsCard } from '@ganpatiinfo/gids-react-web';
28
28
  *
29
29
  * export const MyComponent = () => (
30
30
  * <GidsCard
@@ -1 +1 @@
1
- {"version":3,"file":"GidsCard.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCard/GidsCard.tsx"],"names":[],"mappings":"AAAA,OAAc,EACb,KAAK,GAAG,EACR,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,KAAK,mBAAmB,EAExB,MAAM,+BAA+B,CAAC;AAQvC,MAAM,WAAW,aAChB,SAAQ,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EACrD,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAAG;AAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsDI;AACJ,eAAO,MAAM,QAAQ,GAAI,sIAWtB,aAAa,KAAG,GAAG,CAAC,OAmFtB,CAAC"}
1
+ {"version":3,"file":"GidsCard.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCard/GidsCard.tsx"],"names":[],"mappings":"AAAA,OAAc,EACb,KAAK,GAAG,EACR,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,KAAK,mBAAmB,EAExB,MAAM,+BAA+B,CAAC;AAQvC,MAAM,WAAW,aAChB,SACC,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAC9C,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CAAG;AAElE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsDI;AACJ,eAAO,MAAM,QAAQ,GAAI,sIAWtB,aAAa,KAAG,GAAG,CAAC,OAmFtB,CAAC"}
@@ -11,7 +11,7 @@ const { isContentContainerVisible, isSimpleCard } = GidsCardCommonUtils;
11
11
  * **Basic Usage**
12
12
  *
13
13
  * ```tsx
14
- * import { GidsCard } from '@investec/gids-react-web';
14
+ * import { GidsCard } from '@ganpatiinfo/gids-react-web';
15
15
  *
16
16
  * export const MyComponent = () => (
17
17
  * <GidsCard
@@ -27,7 +27,7 @@ const { isContentContainerVisible, isSimpleCard } = GidsCardCommonUtils;
27
27
  * **Advanced Usage**
28
28
  *
29
29
  * ```tsx
30
- * import { GidsCard } from '@investec/gids-react-web';
30
+ * import { GidsCard } from '@ganpatiinfo/gids-react-web';
31
31
  *
32
32
  * export const MyComponent = () => (
33
33
  * <GidsCard
@@ -1 +1 @@
1
- {"version":3,"file":"GidsCard.js","sourceRoot":"","sources":["../../../src/components/GidsCard/GidsCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAEN,mBAAmB,GACnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,MAAM,EAAE,qBAAqB,EAAE,GAAG,gBAAgB,CAAC;AACnD,MAAM,EAAE,yBAAyB,EAAE,YAAY,EAAE,GAAG,mBAAmB,CAAC;AAMxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsDI;AACJ,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACxB,QAAQ,EACR,cAAc,EACd,aAAa,EACb,OAAO,EACP,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,GAAG,IAAI,EACQ,EAAe,EAAE;IAChC,MAAM,SAAS,GAAG,GAAG,EAAE;QACtB,QAAQ,cAAc,EAAE,CAAC;YACxB,KAAK,QAAQ;gBACZ,OAAO,CACN,oBAAC,UAAU,IACV,UAAU,EAAC,OAAO,EAClB,IAAI,EAAC,IAAI,EACT,QAAQ,EAAE,aAAa,IAAI,EAAE,GAC5B,CACF,CAAC;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WAAW,KAAK,EAAE,CAAC,CAAC,CAAC,CACpC,2BAAG,SAAS,EAAC,wBAAwB,IAAE,WAAW,CAAK,CACvD,CAAC,CAAC,CAAC,IAAI;oBACP,QAAQ,CAAC,CAAC,CAAC,CACX,6BAAK,SAAS,EAAC,qBAAqB,IAAE,QAAQ,CAAO,CACrD,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC,CAAC,CAAC,IAAI,CACH,CACQ,CACV,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React, { type ComponentPropsWithoutRef } from 'react';
2
+ import { GidsColorSwatchTypographyStyle, GidsColorSwatchWebProps } from '@ganpatiinfo/gids-web-shared';
3
+ type GidsColorSwatchBaseWebProps = GidsColorSwatchWebProps<GidsColorSwatchTypographyStyle>;
4
+ export type GidsColorSwatchProps = GidsColorSwatchBaseWebProps & Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onClick' | 'onChange'>;
5
+ export declare const GidsColorSwatch: ({ label, labelColor, labelTypography, labelPosition, swatchColor, swatchSize, swatchShape, swatchShadow, borderRadius, applyBorders, borderColor, borderWidth, className, }: GidsColorSwatchProps) => React.JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=GidsColorSwatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsColorSwatch.d.ts","sourceRoot":"","sources":["../../../src/components/GidsColorSwatch/GidsColorSwatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EACN,8BAA8B,EAC9B,uBAAuB,EAEvB,MAAM,8BAA8B,CAAC;AAQtC,KAAK,2BAA2B,GAC/B,uBAAuB,CAAC,8BAA8B,CAAC,CAAC;AAEzD,MAAM,MAAM,oBAAoB,GAAG,2BAA2B,GAC7D,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC,CAAC;AAE5E,eAAO,MAAM,eAAe,GAAI,6KAc7B,oBAAoB,sBAsEtB,CAAC"}
@@ -0,0 +1,41 @@
1
+ import React from 'react';
2
+ import { GidsColorSwatchWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
+ const { getGidsColorSwatchClassNames, getGidsColorSwatchPanelClasses, getGidsColorSwatchLabelClasses, } = GidsColorSwatchWebUtils;
4
+ export const GidsColorSwatch = ({ label, labelColor = 'default', labelTypography = 'label-x-small', labelPosition = 'left', swatchColor, swatchSize = 'xs', swatchShape = 'rectangle', swatchShadow = 'none', borderRadius = 'none', applyBorders = false, borderColor = 'input', borderWidth = 'default', className, }) => {
5
+ return (React.createElement("div", { className: getGidsColorSwatchClassNames({ labelPosition }, className), "swatch-shape": swatchShape, "swatch-color": swatchColor, "swatch-shadow": swatchShadow, "swatch-size": swatchSize, "border-radius": borderRadius, "border-color": borderColor, "label-color": labelColor, "apply-borders": applyBorders ? 'true' : '' },
6
+ label &&
7
+ label !== '' &&
8
+ (labelPosition === 'top' || labelPosition === 'left') ? (React.createElement("span", { className: getGidsColorSwatchLabelClasses({
9
+ labelTypography,
10
+ }), style: {
11
+ color: labelColor === 'swatch-color'
12
+ ? `${swatchColor}`
13
+ : `var(--gids-color-text-default)`,
14
+ } }, label)) : undefined,
15
+ React.createElement("div", { className: getGidsColorSwatchPanelClasses({
16
+ swatchShape,
17
+ swatchSize,
18
+ applyPanelClass: true,
19
+ }), style: {
20
+ backgroundColor: `${swatchColor}`,
21
+ border: applyBorders
22
+ ? `var(--gids-border-width-${borderWidth}) solid var(--gids-color-border-${borderColor})`
23
+ : '',
24
+ boxShadow: swatchShadow !== 'none'
25
+ ? `var(--gids-elevation-${swatchShadow})`
26
+ : '',
27
+ borderRadius: swatchShape === 'rectangle' || swatchShape === 'square'
28
+ ? `var(--gids-border-radius-${borderRadius})`
29
+ : '',
30
+ } }),
31
+ label &&
32
+ label !== '' &&
33
+ (labelPosition === 'bottom' || labelPosition === 'right') ? (React.createElement("span", { className: getGidsColorSwatchLabelClasses({
34
+ labelTypography,
35
+ }), style: {
36
+ color: labelColor === 'swatch-color'
37
+ ? `${swatchColor}`
38
+ : `var(--gids-color-text-default)`,
39
+ } }, label)) : undefined));
40
+ };
41
+ //# sourceMappingURL=GidsColorSwatch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsColorSwatch.js","sourceRoot":"","sources":["../../../src/components/GidsColorSwatch/GidsColorSwatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAGN,uBAAuB,GACvB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,8BAA8B,GAC9B,GAAG,uBAAuB,CAAC;AAQ5B,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC/B,KAAK,EACL,UAAU,GAAG,SAAS,EACtB,eAAe,GAAG,eAAe,EACjC,aAAa,GAAG,MAAM,EACtB,WAAW,EACX,UAAU,GAAG,IAAI,EACjB,WAAW,GAAG,WAAW,EACzB,YAAY,GAAG,MAAM,EACrB,YAAY,GAAG,MAAM,EACrB,YAAY,GAAG,KAAK,EACpB,WAAW,GAAG,OAAO,EACrB,WAAW,GAAG,SAAS,EACvB,SAAS,GACa,EAAE,EAAE;IAC1B,OAAO,CACN,6BACC,SAAS,EAAE,4BAA4B,CAAC,EAAE,aAAa,EAAE,EAAE,SAAS,CAAC,kBACvD,WAAW,kBACX,WAAW,mBACV,YAAY,iBACd,UAAU,mBACR,YAAY,kBACb,WAAW,iBACZ,UAAU,mBACR,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;QAExC,KAAK;YACN,KAAK,KAAK,EAAE;YACZ,CAAC,aAAa,KAAK,KAAK,IAAI,aAAa,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CACvD,8BACC,SAAS,EAAE,8BAA8B,CAAC;gBACzC,eAAe;aACf,CAAC,EACF,KAAK,EAAE;gBACN,KAAK,EACJ,UAAU,KAAK,cAAc;oBAC5B,CAAC,CAAC,GAAG,WAAW,EAAE;oBAClB,CAAC,CAAC,gCAAgC;aACpC,IAEA,KAAK,CACA,CACP,CAAC,CAAC,CAAC,SAAS;QACb,6BACC,SAAS,EAAE,8BAA8B,CAAC;gBACzC,WAAW;gBACX,UAAU;gBACV,eAAe,EAAE,IAAI;aACrB,CAAC,EACF,KAAK,EAAE;gBACN,eAAe,EAAE,GAAG,WAAW,EAAE;gBACjC,MAAM,EAAE,YAAY;oBACnB,CAAC,CAAC,2BAA2B,WAAW,mCAAmC,WAAW,GAAG;oBACzF,CAAC,CAAC,EAAE;gBACL,SAAS,EACR,YAAY,KAAK,MAAM;oBACtB,CAAC,CAAC,wBAAwB,YAAY,GAAG;oBACzC,CAAC,CAAC,EAAE;gBACN,YAAY,EACX,WAAW,KAAK,WAAW,IAAI,WAAW,KAAK,QAAQ;oBACtD,CAAC,CAAC,4BAA4B,YAAY,GAAG;oBAC7C,CAAC,CAAC,EAAE;aACN,GACA;QACD,KAAK;YACN,KAAK,KAAK,EAAE;YACZ,CAAC,aAAa,KAAK,QAAQ,IAAI,aAAa,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC,CAC3D,8BACC,SAAS,EAAE,8BAA8B,CAAC;gBACzC,eAAe;aACf,CAAC,EACF,KAAK,EAAE;gBACN,KAAK,EACJ,UAAU,KAAK,cAAc;oBAC5B,CAAC,CAAC,GAAG,WAAW,EAAE;oBAClB,CAAC,CAAC,gCAAgC;aACpC,IAEA,KAAK,CACA,CACP,CAAC,CAAC,CAAC,SAAS,CACR,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -13,7 +13,7 @@ export type GidsCompoundButtonProps = GidsCompoundButtonCommonProps<IconName, Re
13
13
  * This is the basic and default usage of GidsCompoundButton
14
14
  *
15
15
  * ```tsx
16
- * import { GidsCompoundButton } from '@investec/gids-react-web';
16
+ * import { GidsCompoundButton } from '@ganpatiinfo/gids-react-web';
17
17
  *
18
18
  * export const MyComponent = () => (
19
19
  * <GidsCompoundButton>
@@ -27,7 +27,7 @@ export type GidsCompoundButtonProps = GidsCompoundButtonCommonProps<IconName, Re
27
27
  * This is the advanced usage of GidsCompoundButton
28
28
  *
29
29
  * ```tsx
30
- * import { GidsCompoundButton } from '@investec/gids-react-web';
30
+ * import { GidsCompoundButton } from '@ganpatiinfo/gids-react-web';
31
31
  *
32
32
  * export const MyComponent = () => (
33
33
  * <GidsCompoundButton
@@ -12,7 +12,7 @@ const { getGidsCompoundButtonClassNames } = GidsCompoundButtonWebUtils;
12
12
  * This is the basic and default usage of GidsCompoundButton
13
13
  *
14
14
  * ```tsx
15
- * import { GidsCompoundButton } from '@investec/gids-react-web';
15
+ * import { GidsCompoundButton } from '@ganpatiinfo/gids-react-web';
16
16
  *
17
17
  * export const MyComponent = () => (
18
18
  * <GidsCompoundButton>
@@ -26,7 +26,7 @@ const { getGidsCompoundButtonClassNames } = GidsCompoundButtonWebUtils;
26
26
  * This is the advanced usage of GidsCompoundButton
27
27
  *
28
28
  * ```tsx
29
- * import { GidsCompoundButton } from '@investec/gids-react-web';
29
+ * import { GidsCompoundButton } from '@ganpatiinfo/gids-react-web';
30
30
  *
31
31
  * export const MyComponent = () => (
32
32
  * <GidsCompoundButton
@@ -9,7 +9,7 @@ export type GidsContainerProps = GidsContainerWebProps<ReactNode> & ComponentPro
9
9
  * **Usage**
10
10
  *
11
11
  * ```tsx
12
- * import { GidsContainer } from '@investec/gids-react-web';
12
+ * import { GidsContainer } from '@ganpatiinfo/gids-react-web';
13
13
  *
14
14
  * export const MyComponent = () => (
15
15
  * <GidsContainer
@@ -7,7 +7,7 @@ const { getGidsContainerClassNames } = GidsContainerWebUtils;
7
7
  * **Usage**
8
8
  *
9
9
  * ```tsx
10
- * import { GidsContainer } from '@investec/gids-react-web';
10
+ * import { GidsContainer } from '@ganpatiinfo/gids-react-web';
11
11
  *
12
12
  * export const MyComponent = () => (
13
13
  * <GidsContainer
@@ -7,7 +7,7 @@ export type GidsLabelProps = GidsLabelWebProps<ReactNode> & ComponentPropsWithRe
7
7
  * **Usage**
8
8
  *
9
9
  * ```tsx
10
- * import { GidsLabel } from '@investec/gids-react-web';
10
+ * import { GidsLabel } from '@ganpatiinfo/gids-react-web';
11
11
  *
12
12
  * export const MyComponent = () => (
13
13
  * <GidsLabel>First Name</GidsLabel>
@@ -18,7 +18,7 @@ export type GidsLabelProps = GidsLabelWebProps<ReactNode> & ComponentPropsWithRe
18
18
  * **Usage**
19
19
  *
20
20
  * ```tsx
21
- * import { GidsLabel, GidsLabelInfo } from '@investec/gids-react-web';
21
+ * import { GidsLabel, GidsLabelInfo } from '@ganpatiinfo/gids-react-web';
22
22
  *
23
23
  * export const MyComponent = () => (
24
24
  * <GidsLabel
@@ -1 +1 @@
1
- {"version":3,"file":"GidsLabel.d.ts","sourceRoot":"","sources":["../../../src/components/GidsLabel/GidsLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK1E,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC,GACvD,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4BI;AAEJ,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,4BAA4B,EAC5B,4BAA4B,EAC5B,IAAI,EACJ,OAAO,EACP,OAAO,EACP,SAAS,EACT,eAAe,EACf,GAAG,IAAI,EACR,EAAE,cAAc,qBAmBhB"}
1
+ {"version":3,"file":"GidsLabel.d.ts","sourceRoot":"","sources":["../../../src/components/GidsLabel/GidsLabel.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,iBAAiB,EAEtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK1E,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAAC,GACxD,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4BI;AAEJ,wBAAgB,SAAS,CAAC,EACzB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,4BAA4B,EAC5B,4BAA4B,EAC5B,IAAI,EACJ,OAAO,EACP,OAAO,EACP,SAAS,EACT,eAAe,EACf,GAAG,IAAI,EACP,EAAE,cAAc,qBAmBhB"}
@@ -9,7 +9,7 @@ const { getGidsLabelClassNames } = GidsLabelWebUtils;
9
9
  * **Usage**
10
10
  *
11
11
  * ```tsx
12
- * import { GidsLabel } from '@investec/gids-react-web';
12
+ * import { GidsLabel } from '@ganpatiinfo/gids-react-web';
13
13
  *
14
14
  * export const MyComponent = () => (
15
15
  * <GidsLabel>First Name</GidsLabel>
@@ -20,7 +20,7 @@ const { getGidsLabelClassNames } = GidsLabelWebUtils;
20
20
  * **Usage**
21
21
  *
22
22
  * ```tsx
23
- * import { GidsLabel, GidsLabelInfo } from '@investec/gids-react-web';
23
+ * import { GidsLabel, GidsLabelInfo } from '@ganpatiinfo/gids-react-web';
24
24
  *
25
25
  * export const MyComponent = () => (
26
26
  * <GidsLabel
@@ -1 +1 @@
1
- {"version":3,"file":"GidsLabel.js","sourceRoot":"","sources":["../../../src/components/GidsLabel/GidsLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAEL,iBAAiB,GAClB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAqD,MAAM,OAAO,CAAC;AAE1E,MAAM,EAAE,gBAAgB,EAAE,GAAG,oBAAoB,CAAC;AAClD,MAAM,EAAE,sBAAsB,EAAE,GAAG,iB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AChB,MAAM,aAAa,GAAG,gBAAgB,CAAC;QACtC,QAAQ;QACR,gBAAgB;QAChB,4BAA4B;QAC5B,4BAA4B;QAC5B,eAAe;KACf,CAAC,CAAC;IACH,OAAO,CACN,6BAAK,SAAS,EAAE,sBAAsB,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,CAAC,KAAM,IAAI;QACxE,+BAAO,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO;YAClC,QAAQ;YACR,aAAa,KAAK,SAAS,IAAI,CAC/B,8BAAM,SAAS,EAAC,+BAA+B,IAAE,aAAa,CAAQ,CACtE,CACM;QACP,IAAI,CACA,CACN,CAAC;AACH,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React, { MouseEvent, type ComponentPropsWithoutRef } from 'react';
2
+ import { GidsMatrixTableBodyActionButtonEvent } from '@ganpatiinfo/gids-core-shared';
3
+ import { GidsMatrixTableWebProps, GidsTableCellTypographyStyle } from '@ganpatiinfo/gids-web-shared';
4
+ import { IconAppearance, IconName } from '@ganpatiinfo/gids-web-theme-interface';
5
+ type GidsMatrixTableBaseWebProps = GidsMatrixTableWebProps<GidsTableCellTypographyStyle, IconName, IconAppearance>;
6
+ type GidsMatrixTableActionButtonBaseEvent = GidsMatrixTableBodyActionButtonEvent<MouseEvent, GidsTableCellTypographyStyle, IconName, IconAppearance>;
7
+ export interface GidsMatrixTableProps extends GidsMatrixTableBaseWebProps, Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onClick' | 'onChange'> {
8
+ onClickMatrixTableActionBtn?: (event: GidsMatrixTableActionButtonBaseEvent) => void;
9
+ }
10
+ export declare const GidsMatrixTable: ({ topHeaderCells, tableBodyItems, width, isTopHeaderVisible, topHeaderAppearance, topHeaderLabelTypography, topHeaderTextAlignment, rowAppearance, rowLabelTypography, rowTextAlignment, tableBorders, tableBorderRadius, tableBodyMaxHeight, rowCellPrimaryActionButtons, rowCellSecondaryActionButtons, topHeaderPrimaryActionButtons, topHeaderSecondaryActionButtons, onClickMatrixTableActionBtn, matrixHeaderAppearance, matrixHeaderLabelTypography, matrixHeaderTextAlignment, matrixHeaderCellPrimaryActionButtons, matrixHeaderCellSecondaryActionButtons, className, }: GidsMatrixTableProps) => React.JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=GidsMatrixTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsMatrixTable.d.ts","sourceRoot":"","sources":["../../../src/components/GidsMatrixTable/GidsMatrixTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,oCAAoC,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EACN,uBAAuB,EAEvB,4BAA4B,EAC5B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAc/C,KAAK,2BAA2B,GAAG,uBAAuB,CACzD,4BAA4B,EAC5B,QAAQ,EACR,cAAc,CACd,CAAC;AAEF,KAAK,oCAAoC,GACxC,oCAAoC,CACnC,UAAU,EACV,4BAA4B,EAC5B,QAAQ,EACR,cAAc,CACd,CAAC;AAEH,MAAM,WAAW,oBAChB,SACC,2BAA2B,EAC3B,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3E,2BAA2B,CAAC,EAAE,CAC7B,KAAK,EAAE,oCAAoC,KACvC,IAAI,CAAC;CACV;AAED,eAAO,MAAM,eAAe,GAAI,mjBAyB7B,oBAAoB,sBAoFtB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import { GidsMatrixTableWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
+ import { GidsBasicTableHeader, } from '../GidsBasicTableHeader/GidsBasicTableHeader';
4
+ import { GidsMatrixTableBody } from '../GidsMatrixTableBody/GidsMatrixTableBody';
5
+ const { getGidsMatrixTableClassNames, getCustomisedTopHeaderMatrixTableCells, getMatrixTableBodyBorder, getMatrixTableClasses, } = GidsMatrixTableWebUtils;
6
+ export const GidsMatrixTable = ({ topHeaderCells = [], tableBodyItems = [], width = 'full', isTopHeaderVisible = false, topHeaderAppearance = 'none', topHeaderLabelTypography = 'eyebrow-small', topHeaderTextAlignment = 'left', rowAppearance = 'none', rowLabelTypography = 'label-small', rowTextAlignment = 'left', tableBorders = 'none', tableBorderRadius = [], tableBodyMaxHeight = 200, rowCellPrimaryActionButtons = [], rowCellSecondaryActionButtons = [], topHeaderPrimaryActionButtons = [], topHeaderSecondaryActionButtons = [], onClickMatrixTableActionBtn, matrixHeaderAppearance = 'none', matrixHeaderLabelTypography = 'label-medium', matrixHeaderTextAlignment = 'left', matrixHeaderCellPrimaryActionButtons = [], matrixHeaderCellSecondaryActionButtons = [], className, }) => {
7
+ function onTopHeaderActionBtnClick(event) {
8
+ if (onClickMatrixTableActionBtn) {
9
+ onClickMatrixTableActionBtn({
10
+ ...event,
11
+ details: {
12
+ ...event.details,
13
+ columnIndex: event?.details?.cellIndex,
14
+ headerType: 'top',
15
+ rowIndex: event?.details?.cellIndex,
16
+ },
17
+ });
18
+ }
19
+ }
20
+ return (React.createElement("div", { className: getGidsMatrixTableClassNames({ width, tableBorders, tableBorderRadius }, className) },
21
+ React.createElement("div", { className: "gids-matrix-table__scroll-container", style: (tableBodyMaxHeight
22
+ ? { '--gidsMatrixTable-body-max-height': `${tableBodyMaxHeight}px` }
23
+ : {}) },
24
+ React.createElement("table", { className: getMatrixTableClasses({ width }) },
25
+ isTopHeaderVisible && topHeaderCells && topHeaderCells.length > 0 ? (React.createElement(GidsBasicTableHeader, { appearance: topHeaderAppearance, labelTypography: topHeaderLabelTypography, textAlignment: topHeaderTextAlignment, className: "gids-matrix-table__top-thead", headerCells: getCustomisedTopHeaderMatrixTableCells({
26
+ topHeaderCells,
27
+ tableBorders,
28
+ }), width: width, cellPrimaryActionButtons: topHeaderPrimaryActionButtons, cellSecondaryActionButtons: topHeaderSecondaryActionButtons, onClickHeaderActionBtn: onTopHeaderActionBtnClick })) : undefined,
29
+ tableBodyItems && tableBodyItems.length > 0 ? (React.createElement(GidsMatrixTableBody, { width: width, tableBodyItems: tableBodyItems, tableBorders: getMatrixTableBodyBorder({ tableBorders }), rowAppearance: rowAppearance, rowLabelTypography: rowLabelTypography, rowTextAlignment: rowTextAlignment, matrixHeaderAppearance: matrixHeaderAppearance, matrixHeaderLabelTypography: matrixHeaderLabelTypography, matrixHeaderTextAlignment: matrixHeaderTextAlignment, rowCellPrimaryActionButtons: rowCellPrimaryActionButtons, rowCellSecondaryActionButtons: rowCellSecondaryActionButtons, matrixHeaderCellPrimaryActionButtons: matrixHeaderCellPrimaryActionButtons, matrixHeaderCellSecondaryActionButtons: matrixHeaderCellSecondaryActionButtons, onClickMatrixBodyCellActionBtn: onClickMatrixTableActionBtn })) : undefined))));
30
+ };
31
+ //# sourceMappingURL=GidsMatrixTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsMatrixTable.js","sourceRoot":"","sources":["../../../src/components/GidsMatrixTable/GidsMatrixTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAEzE,OAAO,EAEN,uBAAuB,GAEvB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EACN,oBAAoB,GAEpB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,MAAM,EACL,4BAA4B,EAC5B,sCAAsC,EACtC,wBAAwB,EACxB,qBAAqB,GACrB,GAAG,uBAAuB,CAAC;AAyB5B,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC/B,cAAc,GAAG,EAAE,EACnB,cAAc,GAAG,EAAE,EACnB,KAAK,GAAG,MAAM,EACd,kBAAkB,GAAG,KAAK,EAC1B,mBAAmB,GAAG,MAAM,EAC5B,wBAAwB,GAAG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pE,oBAAC,oBAAoB,IACpB,UAAU,EAAE,mBAAmB,EAC/B,eAAe,EAAE,wBAAwB,EACzC,aAAa,EAAE,sBAAsB,EACrC,SAAS,EAAC,8BAA8B,EACxC,WAAW,EAAE,sCAAsC,CAIjD;wBACD,cAAc;wBACd,YAAY;qBACZ,CAAC,EACF,KAAK,EAAE,KAAK,EACZ,wBAAwB,EAAE,6BAA6B,EACvD,0BAA0B,EAAE,+BAA+B,EAC3D,sBAAsB,EAAE,yBAAyB,GAChD,CACF,CAAC,CAAC,CAAC,SAAS;gBACZ,cAAc,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC9C,oBAAC,mBAAmB,IACnB,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,wBAAwB,CAIpC,EAAE,YAAY,EAAE,CAAC,EACnB,aAAa,EAAE,aAAa,EAC5B,kBAAkB,EAAE,kBAAkB,EACtC,gBAAgB,EAAE,gBAAgB,EAClC,sBAAsB,EAAE,sBAAsB,EAC9C,2BAA2B,EAAE,2BAA2B,EACxD,yBAAyB,EAAE,yBAAyB,EACpD,2BAA2B,EAAE,2BAA2B,EACxD,6BAA6B,EAAE,6BAA6B,EAC5D,oCAAoC,EACnC,oCAAoC,EAErC,sCAAsC,EACrC,sCAAsC,EAEvC,8BAA8B,EAAE,2BAA2B,GAC1D,CACF,CAAC,CAAC,CAAC,SAAS,CACN,CACH,CACD,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React, { MouseEvent, type ComponentPropsWithoutRef } from 'react';
2
+ import { GidsMatrixTableBodyWebProps, GidsTableCellTypographyStyle } from '@ganpatiinfo/gids-web-shared';
3
+ import { IconAppearance, IconName } from '@ganpatiinfo/gids-web-theme-interface';
4
+ import { GidsMatrixTableBodyActionButtonEvent } from '@ganpatiinfo/gids-core-shared';
5
+ type GidsMatrixTableBodyBaseWebProps = GidsMatrixTableBodyWebProps<GidsTableCellTypographyStyle, IconName, IconAppearance>;
6
+ export type GidsMatrixTableBodyActionButtonBaseEvent = GidsMatrixTableBodyActionButtonEvent<MouseEvent, GidsTableCellTypographyStyle, IconName, IconAppearance>;
7
+ export interface GidsMatrixTableBodyProps extends GidsMatrixTableBodyBaseWebProps, Omit<ComponentPropsWithoutRef<'tbody'>, 'children'> {
8
+ onClickMatrixBodyCellActionBtn?: (event: GidsMatrixTableBodyActionButtonBaseEvent) => void;
9
+ }
10
+ export declare const GidsMatrixTableBody: ({ width, tableBodyItems, tableBorders, rowAppearance, rowLabelTypography, rowTextAlignment, matrixHeaderAppearance, matrixHeaderLabelTypography, matrixHeaderTextAlignment, rowCellPrimaryActionButtons, rowCellSecondaryActionButtons, matrixHeaderCellPrimaryActionButtons, matrixHeaderCellSecondaryActionButtons, onClickMatrixBodyCellActionBtn, className, }: GidsMatrixTableBodyProps) => React.JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=GidsMatrixTableBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsMatrixTableBody.d.ts","sourceRoot":"","sources":["../../../src/components/GidsMatrixTableBody/GidsMatrixTableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EACN,2BAA2B,EAE3B,4BAA4B,EAC5B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACN,oCAAoC,EAGpC,MAAM,+BAA+B,CAAC;AASvC,KAAK,+BAA+B,GAAG,2BAA2B,CACjE,4BAA4B,EAC5B,QAAQ,EACR,cAAc,CACd,CAAC;AACF,MAAM,MAAM,wCAAwC,GACnD,oCAAoC,CACnC,UAAU,EACV,4BAA4B,EAC5B,QAAQ,EACR,cAAc,CACd,CAAC;AAEH,MAAM,WAAW,wBAChB,SACC,+BAA+B,EAC/B,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IACpD,8BAA8B,CAAC,EAAE,CAChC,KAAK,EAAE,wCAAwC,KAC3C,IAAI,CAAC;CACV;AAED,eAAO,MAAM,mBAAmB,GAAI,oWAgBjC,wBAAwB,sBAyG1B,CAAC"}
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ import { GidsMatrixTableBodyWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
+ import { GidsTableCell, } from '../GidsTableCell/GidsTableCell';
4
+ const { getGidsMatrixTableBodyClassNames, getConstructedMatrixTableBodyItems } = GidsMatrixTableBodyWebUtils;
5
+ export const GidsMatrixTableBody = ({ width = 'full', tableBodyItems = [], tableBorders = 'none', rowAppearance = 'none', rowLabelTypography = 'label-medium', rowTextAlignment = 'center', matrixHeaderAppearance = 'none', matrixHeaderLabelTypography = 'label-medium', matrixHeaderTextAlignment = 'center', rowCellPrimaryActionButtons = [], rowCellSecondaryActionButtons = [], matrixHeaderCellPrimaryActionButtons = [], matrixHeaderCellSecondaryActionButtons = [], onClickMatrixBodyCellActionBtn, className, }) => {
6
+ const constructedTableBodyItems = getConstructedMatrixTableBodyItems({
7
+ rowAppearance,
8
+ rowLabelTypography,
9
+ rowTextAlignment,
10
+ matrixHeaderAppearance,
11
+ matrixHeaderLabelTypography,
12
+ matrixHeaderTextAlignment,
13
+ tableBodyItems,
14
+ tableBorders,
15
+ matrixHeaderCellPrimaryActionButtons,
16
+ matrixHeaderCellSecondaryActionButtons,
17
+ });
18
+ function onMatrixBodyCellActionBtnClick({ event, rowIndex, columnIndex, item, }) {
19
+ if (onClickMatrixBodyCellActionBtn) {
20
+ onClickMatrixBodyCellActionBtn({
21
+ ...event,
22
+ details: {
23
+ ...event.details,
24
+ rowIndex,
25
+ columnIndex,
26
+ isHeaderCell: item?.isHeader,
27
+ headerType: item?.headerType ?? 'none',
28
+ },
29
+ });
30
+ }
31
+ }
32
+ return (React.createElement("tbody", { className: getGidsMatrixTableBodyClassNames({ width }, className) }, constructedTableBodyItems.map((constructedTableBodyItem, indexI) => {
33
+ const { headerItem, rowItems = [] } = constructedTableBodyItem;
34
+ return (React.createElement("tr", null,
35
+ React.createElement(GidsTableCell, { ...headerItem, width: width, isHeaderCell: headerItem?.isHeader ?? true, cellPrimaryActionButtons: matrixHeaderCellPrimaryActionButtons, cellSecondaryActionButtons: matrixHeaderCellSecondaryActionButtons, onClickCellActionBtn: (event) => onMatrixBodyCellActionBtnClick({
36
+ event,
37
+ rowIndex: indexI,
38
+ columnIndex: undefined,
39
+ item: headerItem,
40
+ }) }),
41
+ rowItems.map((rowItem, indexJ) => {
42
+ return (React.createElement(GidsTableCell, { ...rowItem, width: width, isHeaderCell: rowItem?.isHeader ?? false, cellPrimaryActionButtons: rowCellPrimaryActionButtons, cellSecondaryActionButtons: rowCellSecondaryActionButtons, onClickCellActionBtn: (event) => onMatrixBodyCellActionBtnClick({
43
+ event,
44
+ rowIndex: indexI,
45
+ columnIndex: indexJ,
46
+ item: rowItem,
47
+ }) }));
48
+ })));
49
+ })));
50
+ };
51
+ //# sourceMappingURL=GidsMatrixTableBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsMatrixTableBody.js","sourceRoot":"","sources":["../../../src/components/GidsMatrixTableBody/GidsMatrixTableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,EAEN,2BAA2B,GAE3B,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EACN,aAAa,GAEb,MAAM,gCAAgC,CAAC;AAExC,MAAM,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,GAC7E,2BAA2B,CAAC;AAwB7B,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EACnC,KAAK,GAAG,MAAM,EACd,cAAc,GAAG,EAAE,EACnB,YAAY,GAAG,MAAM,EACrB,aAAa,GAAG,MAAM,EACtB,kBAAkB,GAAG,cAAc,EACnC,gBAAg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AAoB,EAAE,CACrB,KAAyC,EACxC,EAAE,CACH,8BAA8B,CAAC;oBAC9B,KAAK;oBACL,QAAQ,EAAE,MAAM;oBAChB,WAAW,EAAE,SAAS;oBACtB,IAAI,EAAE,UAAU;iBAChB,CAAC,GAEF;YACD,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACjC,OAAO,CACN,oBAAC,aAAa,OACT,OAAO,EACX,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,OAAO,EAAE,QAAQ,IAAI,KAAK,EACxC,wBAAwB,EAAE,2BAA2B,EACrD,0BAA0B,EAAE,6BAA6B,EACzD,oBAAoB,EAAE,CACrB,KAAyC,EACxC,EAAE,CACH,8BAA8B,CAAC;wBAC9B,KAAK;wBACL,QAAQ,EAAE,MAAM;wBAChB,WAAW,EAAE,MAAM;wBACnB,IAAI,EAAE,OAAO;qBACb,CAAC,GAEF,CACF,CAAC;YACH,CAAC,CAAC,CACE,CACL,CAAC;IACH,CAAC,CAAC,CACK,CACR,CAAC;AACH,CAAC,CAAC"}
@@ -1,12 +1,21 @@
1
1
  import { type GidsPaginationCommonProps } from '@ganpatiinfo/gids-core-shared';
2
2
  import { type GidsPaginationButtonParamsProps } from '@ganpatiinfo/gids-web-shared';
3
3
  import { type JSX, type ComponentPropsWithoutRef, MouseEvent } from 'react';
4
+ /**
5
+ * @deprecated
6
+ *
7
+ * Use `GidsPaginator` and its props and functions instead.
8
+ */
4
9
  export type GidsPaginationProps = Omit<GidsPaginationCommonProps<string>, 'onClickItem'> & Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onClick'> & {
5
10
  onClickItem?: ({ event, index, page, defaultPage, type, }: GidsPaginationButtonParamsProps<MouseEvent>) => void;
6
11
  };
7
12
  /**
8
13
  * React DOM implementation of GIDS Pagination component.
9
14
  *
15
+ * @deprecated
16
+ *
17
+ * Use `GidsPaginator` and its props and functions instead.
18
+ *
10
19
  * **Usage**
11
20
  *
12
21
  * ```tsx
@@ -1 +1 @@
1
- {"version":3,"file":"GidsPagination.d.ts","sourceRoot":"","sources":["../../../src/components/GidsPagination/GidsPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,yBAAyB,EAE9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACN,KAAK,+BAA+B,EAEpC,MAAM,8BAA8B,CAAC;AACtC,OAAc,EACb,KAAK,GAAG,EACR,KAAK,wBAAwB,EAC7B,UAAU,EACV,MAAM,OAAO,CAAC;AAQf,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,yBAAyB,CAAC,MAAM,CAAC,EACjC,aAAa,CACb,GACA,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IAC/D,WAAW,CAAC,EAAE,CAAC,EACd,KAAK,EACL,KAAK,EACL,IAAI,EACJ,WAAW,EACX,IAAI,GACJ,EAAE,+BAA+B,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CACxD,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BI;AACJ,eAAO,MAAM,cAAc,GAAI,qMAkB5B,mBAAmB,KAAG,GAAG,CAAC,OA2L5B,CAAC"}
1
+ {"version":3,"file":"GidsPagination.d.ts","sourceRoot":"","sources":["../../../src/components/GidsPagination/GidsPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,yBAAyB,EAE9B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACN,KAAK,+BAA+B,EAEpC,MAAM,8BAA8B,CAAC;AACtC,OAAc,EACb,KAAK,GAAG,EACR,KAAK,wBAAwB,EAC7B,UAAU,EACV,MAAM,OAAO,CAAC;AAQf;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACrC,yBAAyB,CAAC,MAAM,CAAC,EACjC,aAAa,CACb,GACA,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG;IAC/D,WAAW,CAAC,EAAE,CAAC,EACd,KAAK,EACL,KAAK,EACL,IAAI,EACJ,WAAW,EACX,IAAI,GACJ,EAAE,+BAA+B,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CACxD,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8BI;AACJ,eAAO,MAAM,cAAc,GAAI,qMAkB5B,mBAAmB,KAAG,GAAG,CAAC,OAsL5B,CAAC"}
@@ -7,6 +7,10 @@ const { getPaginationsArr } = GidsPaginationCommonUtils;
7
7
  /**
8
8
  * React DOM implementation of GIDS Pagination component.
9
9
  *
10
+ * @deprecated
11
+ *
12
+ * Use `GidsPaginator` and its props and functions instead.
13
+ *
10
14
  * **Usage**
11
15
  *
12
16
  * ```tsx
@@ -63,9 +67,7 @@ export const GidsPagination = ({ selectColor = 'default', variant = 'default', s
63
67
  if (dataObj === '...') {
64
68
  return (React.createElement("div", { key: `${i.toString()}`, className: getGidsPaginationDotsClassNames({ size }) }, `...`));
65
69
  }
66
- return (React.createElement(GidsPaginationItem, { key: `${i.toString()}`, selectColor: selectColor, variant: variant, shape: shape, size: size, isIcon: false, icon: '(none)', disabled: disabled, selected: selectedPage,
67
- // eslint-disable-next-line react/jsx-no-bind
68
- onClickItem: (event) => {
70
+ return (React.createElement(GidsPaginationItem, { key: `${i.toString()}`, selectColor: selectColor, variant: variant, shape: shape, size: size, isIcon: false, icon: '(none)', disabled: disabled, selected: selectedPage, onClickItem: (event) => {
69
71
  if (onClickItem) {
70
72
  onClickItem({
71
73
  event,
@@ -81,9 +83,7 @@ export const GidsPagination = ({ selectColor = 'default', variant = 'default', s
81
83
  return null;
82
84
  };
83
85
  return (React.createElement("div", { ...rest, className: getGidsPaginationClassNames(className) },
84
- showFirstButton ? (React.createElement(GidsPaginationItem, { selectColor: "none", selected: false, variant: variant, shape: shape, size: size, isIcon: true, icon: "backward", disabled: internalPage <= 1 || disabled,
85
- // eslint-disable-next-line react/jsx-no-bind
86
- onClickItem: (event) => {
86
+ showFirstButton ? (React.createElement(GidsPaginationItem, { selectColor: "none", selected: false, variant: variant, shape: shape, size: size, isIcon: true, icon: "backward", disabled: internalPage <= 1 || disabled, onClickItem: (event) => {
87
87
  if (onClickItem) {
88
88
  onClickItem({
89
89
  event,
@@ -98,9 +98,7 @@ export const GidsPagination = ({ selectColor = 'default', variant = 'default', s
98
98
  previousIcon !== '' &&
99
99
  previousIcon !== '(none)'
100
100
  ? previousIcon
101
- : 'chevron-left', disabled: internalPage <= 1 || disabled,
102
- // eslint-disable-next-line react/jsx-no-bind
103
- onClickItem: (event) => {
101
+ : 'chevron-left', disabled: internalPage <= 1 || disabled, onClickItem: (event) => {
104
102
  if (onClickItem) {
105
103
  onClickItem({
106
104
  event,
@@ -114,9 +112,7 @@ export const GidsPagination = ({ selectColor = 'default', variant = 'default', s
114
112
  getItems(),
115
113
  !hideNextButton ? (React.createElement(GidsPaginationItem, { selectColor: "none", selected: false, variant: variant, shape: shape, size: size, isIcon: true, icon: nextIcon !== undefined && nextIcon !== '' && nextIcon !== '(none)'
116
114
  ? nextIcon
117
- : 'chevron-right', disabled: internalPage >= count || disabled,
118
- // eslint-disable-next-line react/jsx-no-bind
119
- onClickItem: (event) => {
115
+ : 'chevron-right', disabled: internalPage >= count || disabled, onClickItem: (event) => {
120
116
  if (onClickItem) {
121
117
  onClickItem({
122
118
  event,
@@ -127,9 +123,7 @@ export const GidsPagination = ({ selectColor = 'default', variant = 'default', s
127
123
  });
128
124
  }
129
125
  } })) : null,
130
- showLastButton ? (React.createElement(GidsPaginationItem, { selectColor: "none", selected: false, variant: variant, shape: shape, size: size, isIcon: true, icon: 'forward', disabled: internalPage >= count || disabled,
131
- // eslint-disable-next-line react/jsx-no-bind
132
- onClickItem: (event) => {
126
+ showLastButton ? (React.createElement(GidsPaginationItem, { selectColor: "none", selected: false, variant: variant, shape: shape, size: size, isIcon: true, icon: 'forward', disabled: internalPage >= count || disabled, onClickItem: (event) => {
133
127
  if (onClickItem) {
134
128
  onClickItem({
135
129
  event,
@@ -1 +1 @@
1
- {"version":3,"file":"GidsPagination.js","sourceRoot":"","sources":["../../../src/components/GidsPagination/GidsPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,yBAAyB,GACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEN,sBAAsB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAGlF,MAAM,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,GACrE,sBAAsB,CAAC;AACxB,MAAM,EAAE,iBAAiB,EAAE,GAAG,yBAAyB,CAAC;AAgBxD;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BI;AACJ,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC9B,WAAW,GAAG,SAAS,EACvB,OAAO,GAAG,SAAS,EACnB,KAAK,GAAG,SAAS,EACjB,IAAI,GAAG,IAAI,EACX,QAAQ,GAAG,KAAK,EAChB,KAAK,GAAG,CAAC,EACT,WAAW,GAAG,CAAC,EACf,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,cAAc,EACd,cAAc,GAAG,KAAK,EACtB,cAAc,GAAG,KAAK,EACtB,WAAW,EACX,SAAS,EACT,GAAG,IAAI,EACc,EAAe,EAAE;IACtC,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,IAAI,WAAW,KAAK,SAAS,IAAI,WAAW,GAAG,CAAC,EAAE,CAAC;QAClD,YAAY,GAAG,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,GAAG,CAAC,EAAE,CAAC;QACpC,YAAY,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,MAAM,iBAAiB,GAAG,GAAG,EAAE;QAC9B,OAAO,YAAY,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,C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ACA,CACF,CAAC,CAAC,CAAC,IAAI;QACP,cAAc,CAAC,CAAC,CAAC,CACjB,oBAAC,kBAAkB,IAClB,WAAW,EAAC,MAAM,EAClB,QAAQ,EAAE,KAAK,EACf,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,MAAM,QACN,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,YAAY,IAAI,KAAK,IAAI,QAAQ;YAC3C,6CAA6C;YAC7C,WAAW,EAAE,CAAC,KAAiB,EAAE,EAAE;gBAClC,IAAI,WAAW,EAAE,CAAC;oBACjB,WAAW,CAAC;wBACX,KAAK;wBACL,KAAK,EAAE,KAAK,GAAG,CAAC;wBAChB,IAAI,EAAE,KAAK;wBACX,WAAW;wBACX,IAAI,EAAE,MAAM;qBACZ,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC,GACA,CACF,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"GidsPagination.js","sourceRoot":"","sources":["../../../src/components/GidsPagination/GidsPagination.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,yBAAyB,GACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEN,sBAAsB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAGlF,MAAM,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,GACrE,sBAAsB,CAAC;AACxB,MAAM,EAAE,iBAAiB,EAAE,GAAG,yBAAyB,CAAC;AAqBxD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8BI;AACJ,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC9B,WAAW,GAAG,SAAS,EACvB,OAAO,GAAG,SAAS,EACnB,KAAK,GAAG,SAAS,EACjB,IAAI,GAAG,IAAI,EACX,QAAQ,GAAG,KA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KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,MAAM,QACN,IAAI,EACH,QAAQ,KAAK,SAAS,IAAI,QAAQ,KAAK,EAAE,IAAI,QAAQ,KAAK,QAAQ;gBACjE,CAAC,CAAE,QAAqB;gBACxB,CAAC,CAAC,eAAe,EAEnB,QAAQ,EAAE,YAAY,IAAI,KAAK,IAAI,QAAQ,EAC3C,WAAW,EAAE,CAAC,KAAiB,EAAE,EAAE;gBAClC,IAAI,WAAW,EAAE,CAAC;oBACjB,WAAW,CAAC;wBACX,KAAK;wBACL,KAAK,EAAE,iBAAiB,EAAE,GAAG,CAAC;wBAC9B,IAAI,EAAE,iBAAiB,EAAE;wBACzB,WAAW;wBACX,IAAI,EAAE,MAAM;qBACZ,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC,GACA,CACF,CAAC,CAAC,CAAC,IAAI;QACP,cAAc,CAAC,CAAC,CAAC,CACjB,oBAAC,kBAAkB,IAClB,WAAW,EAAC,MAAM,EAClB,QAAQ,EAAE,KAAK,EACf,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,MAAM,QACN,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,YAAY,IAAI,KAAK,IAAI,QAAQ,EAC3C,WAAW,EAAE,CAAC,KAAiB,EAAE,EAAE;gBAClC,IAAI,WAAW,EAAE,CAAC;oBACjB,WAAW,CAAC;wBACX,KAAK;wBACL,KAAK,EAAE,KAAK,GAAG,CAAC;wBAChB,IAAI,EAAE,KAAK;wBACX,WAAW;wBACX,IAAI,EAAE,MAAM;qBACZ,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC,GACA,CACF,CAAC,CAAC,CAAC,IAAI,CACH,CACN,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React, { MouseEvent, type ComponentPropsWithoutRef } from 'react';
2
+ import { GidsPaginatorWebProps } from '@ganpatiinfo/gids-web-shared';
3
+ import { IconName } from '@ganpatiinfo/gids-web-theme-interface';
4
+ export type GidsPaginatorBaseWebProps = GidsPaginatorWebProps<IconName, MouseEvent> & Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onClick'>;
5
+ export type GidsPaginatorProps = GidsPaginatorBaseWebProps;
6
+ export declare const GidsPaginator: ({ currentPage, totalPages, size, disabled, selectColor, variant, shape, showFirstPageBtn, showLastPageBtn, showNextBtn, showPreviousBtn, onPageChange, className, }: GidsPaginatorProps) => React.JSX.Element;
7
+ //# sourceMappingURL=GidsPaginator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsPaginator.d.ts","sourceRoot":"","sources":["../../../src/components/GidsPaginator/GidsPaginator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EACN,qBAAqB,EAErB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AASjE,MAAM,MAAM,yBAAyB,GAAG,qBAAqB,CAC5D,QAAQ,EACR,UAAU,CACV,GACA,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAE/D,MAAM,MAAM,kBAAkB,GAAG,yBAAyB,CAAC;AAE3D,eAAO,MAAM,aAAa,GAAI,qKAc3B,kBAAkB,sBA+MpB,CAAC"}