@hitachivantara/uikit-react-lab 3.45.12 → 3.47.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 (97) hide show
  1. package/dist/QueryBuilder/Context.js +4 -1
  2. package/dist/QueryBuilder/Context.js.map +1 -1
  3. package/dist/QueryBuilder/Rule/Value/Value.js +1 -5
  4. package/dist/QueryBuilder/Rule/Value/Value.js.map +1 -1
  5. package/dist/QueryBuilder/index.d.ts +1 -0
  6. package/dist/QueryBuilder/index.js +20 -0
  7. package/dist/QueryBuilder/index.js.map +1 -1
  8. package/dist/Table/Table.d.ts +5 -1
  9. package/dist/Table/Table.js +20 -5
  10. package/dist/Table/Table.js.map +1 -1
  11. package/dist/Table/TableBody/TableBody.js +33 -5
  12. package/dist/Table/TableBody/TableBody.js.map +1 -1
  13. package/dist/Table/TableBody/styles.js.map +1 -1
  14. package/dist/Table/TableCell/TableCell.d.ts +3 -1
  15. package/dist/Table/TableCell/TableCell.js +22 -2
  16. package/dist/Table/TableCell/TableCell.js.map +1 -1
  17. package/dist/Table/TableCell/styles.js +28 -0
  18. package/dist/Table/TableCell/styles.js.map +1 -1
  19. package/dist/Table/TableHeader/TableHeader.d.ts +1 -0
  20. package/dist/Table/TableHeader/TableHeader.js +6 -1
  21. package/dist/Table/TableHeader/TableHeader.js.map +1 -1
  22. package/dist/Table/TableHeader/styles.js +9 -0
  23. package/dist/Table/TableHeader/styles.js.map +1 -1
  24. package/dist/Table/TableRow/TableRow.d.ts +3 -1
  25. package/dist/Table/TableRow/TableRow.js +16 -2
  26. package/dist/Table/TableRow/TableRow.js.map +1 -1
  27. package/dist/Table/TableRow/styles.js +28 -3
  28. package/dist/Table/TableRow/styles.js.map +1 -1
  29. package/dist/Table/styles.js +5 -0
  30. package/dist/Table/styles.js.map +1 -1
  31. package/dist/index.js +13 -1
  32. package/dist/index.js.map +1 -1
  33. package/dist/legacy/QueryBuilder/Context.js +3 -3
  34. package/dist/legacy/QueryBuilder/Context.js.map +1 -1
  35. package/dist/legacy/QueryBuilder/Rule/Value/Value.js +1 -5
  36. package/dist/legacy/QueryBuilder/Rule/Value/Value.js.map +1 -1
  37. package/dist/legacy/QueryBuilder/index.d.ts +1 -0
  38. package/dist/legacy/QueryBuilder/index.js +1 -0
  39. package/dist/legacy/QueryBuilder/index.js.map +1 -1
  40. package/dist/legacy/Table/Table.d.ts +5 -1
  41. package/dist/legacy/Table/Table.js +21 -6
  42. package/dist/legacy/Table/Table.js.map +1 -1
  43. package/dist/legacy/Table/TableBody/TableBody.js +31 -6
  44. package/dist/legacy/Table/TableBody/TableBody.js.map +1 -1
  45. package/dist/legacy/Table/TableBody/styles.js.map +1 -1
  46. package/dist/legacy/Table/TableCell/TableCell.d.ts +3 -1
  47. package/dist/legacy/Table/TableCell/TableCell.js +22 -2
  48. package/dist/legacy/Table/TableCell/TableCell.js.map +1 -1
  49. package/dist/legacy/Table/TableCell/styles.js +28 -0
  50. package/dist/legacy/Table/TableCell/styles.js.map +1 -1
  51. package/dist/legacy/Table/TableHeader/TableHeader.d.ts +1 -0
  52. package/dist/legacy/Table/TableHeader/TableHeader.js +6 -1
  53. package/dist/legacy/Table/TableHeader/TableHeader.js.map +1 -1
  54. package/dist/legacy/Table/TableHeader/styles.js +9 -0
  55. package/dist/legacy/Table/TableHeader/styles.js.map +1 -1
  56. package/dist/legacy/Table/TableRow/TableRow.d.ts +3 -1
  57. package/dist/legacy/Table/TableRow/TableRow.js +16 -2
  58. package/dist/legacy/Table/TableRow/TableRow.js.map +1 -1
  59. package/dist/legacy/Table/TableRow/styles.js +27 -3
  60. package/dist/legacy/Table/TableRow/styles.js.map +1 -1
  61. package/dist/legacy/Table/styles.js +5 -0
  62. package/dist/legacy/Table/styles.js.map +1 -1
  63. package/dist/legacy/index.js +1 -0
  64. package/dist/legacy/index.js.map +1 -1
  65. package/dist/modern/QueryBuilder/Context.js +3 -3
  66. package/dist/modern/QueryBuilder/Context.js.map +1 -1
  67. package/dist/modern/QueryBuilder/Rule/Value/Value.js +1 -5
  68. package/dist/modern/QueryBuilder/Rule/Value/Value.js.map +1 -1
  69. package/dist/modern/QueryBuilder/index.d.ts +1 -0
  70. package/dist/modern/QueryBuilder/index.js +1 -0
  71. package/dist/modern/QueryBuilder/index.js.map +1 -1
  72. package/dist/modern/Table/Table.d.ts +5 -1
  73. package/dist/modern/Table/Table.js +21 -7
  74. package/dist/modern/Table/Table.js.map +1 -1
  75. package/dist/modern/Table/TableBody/TableBody.js +30 -7
  76. package/dist/modern/Table/TableBody/TableBody.js.map +1 -1
  77. package/dist/modern/Table/TableBody/styles.js.map +1 -1
  78. package/dist/modern/Table/TableCell/TableCell.d.ts +3 -1
  79. package/dist/modern/Table/TableCell/TableCell.js +22 -2
  80. package/dist/modern/Table/TableCell/TableCell.js.map +1 -1
  81. package/dist/modern/Table/TableCell/styles.js +28 -0
  82. package/dist/modern/Table/TableCell/styles.js.map +1 -1
  83. package/dist/modern/Table/TableHeader/TableHeader.d.ts +1 -0
  84. package/dist/modern/Table/TableHeader/TableHeader.js +6 -1
  85. package/dist/modern/Table/TableHeader/TableHeader.js.map +1 -1
  86. package/dist/modern/Table/TableHeader/styles.js +9 -0
  87. package/dist/modern/Table/TableHeader/styles.js.map +1 -1
  88. package/dist/modern/Table/TableRow/TableRow.d.ts +3 -1
  89. package/dist/modern/Table/TableRow/TableRow.js +16 -2
  90. package/dist/modern/Table/TableRow/TableRow.js.map +1 -1
  91. package/dist/modern/Table/TableRow/styles.js +26 -3
  92. package/dist/modern/Table/TableRow/styles.js.map +1 -1
  93. package/dist/modern/Table/styles.js +5 -0
  94. package/dist/modern/Table/styles.js.map +1 -1
  95. package/dist/modern/index.js +1 -0
  96. package/dist/modern/index.js.map +1 -1
  97. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["hexToRgbA","styles","theme","root","height","verticalAlign","textAlign","padding","hvSpacing","borderBottom","palette","atmo4","head","borderTop","paddingTop","backgroundColor","atmo1","hv","typography","highlightText","transition","transitions","create","duration","shorter","paddingLeft","cursor","atmo3","visibility","body","normalText","footer","alignLeft","alignCenter","alignRight","flexDirection","alignJustify","headerContent","display","alignItems","headerText","overflow","textOverflow","headerParagraph","sortableHeaderText","alignFlexLeft","justifyContent","alignFlexCenter","alignFlexRight","alignFlexJustify","variantNone","variantCheckbox","width","maxWidth","borderRight","atmosphere","variantExpand","variantActions","borderLeft","stickyColumn","position","zIndex","stickyColumnMostLeft","stickyColumnLeastRight","groupColumnMostLeft","groupColumnMostRight","sortable","sorted","sortButton","boxShadow","sortIcon","resizable","resizing","accent","acce1","resizer","right","top","transform","touchAction"],"sources":["../../../../src/Table/TableHeader/styles.js"],"sourcesContent":["import { hexToRgbA } from \"@hitachivantara/uikit-react-core\";\n\nconst styles = (theme) => ({\n root: {\n \"--first-row-cell-height\": \"52px\",\n \"--cell-height\": \"32px\",\n\n height: \"var(--cell-height)\",\n verticalAlign: \"inherit\",\n textAlign: \"left\",\n padding: theme.hvSpacing(0, \"xs\", 0, \"32px\"),\n\n borderBottom: `1px solid ${theme.palette.atmo4}`,\n },\n\n head: {\n \":first-child > &\": {\n height: \"var(--first-row-cell-height)\",\n borderTop: `1px solid ${theme.palette.atmo4}`,\n },\n\n paddingTop: 8,\n verticalAlign: \"top\",\n\n backgroundColor: theme.palette.atmo1,\n borderBottom: `1px solid ${theme.palette.atmo4}`,\n ...theme.hv.typography.highlightText,\n\n transition: theme.transitions.create(\"background-color\", {\n duration: theme.transitions.duration.shorter,\n }),\n\n \"&$sortable\": {\n verticalAlign: \"initial\",\n paddingTop: 0,\n paddingLeft: 0,\n cursor: \"pointer\",\n\n \"&:hover\": {\n backgroundColor: theme.palette.atmo3,\n\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n \"&:focus-within\": {\n backgroundColor: theme.palette.atmo3,\n\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n // IE fallback code (using focus-within-polyfill)\n \"&.focus-within\": {\n backgroundColor: theme.palette.atmo3,\n\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n },\n },\n body: {\n backgroundColor: \"inherit\",\n ...theme.hv.typography.normalText,\n\n \"&$sortable:not($variantNone)\": {\n paddingLeft: 32,\n },\n \"&$sorted\": {\n backgroundColor: hexToRgbA(theme.palette.atmo1, 0.4),\n },\n },\n footer: {},\n\n alignLeft: {\n textAlign: \"left\",\n },\n alignCenter: {\n textAlign: \"center\",\n },\n alignRight: {\n textAlign: \"right\",\n flexDirection: \"row-reverse\",\n },\n alignJustify: {\n textAlign: \"justify\",\n },\n\n headerContent: {\n display: \"flex\",\n alignItems: \"flex-start\",\n },\n headerText: {\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n },\n headerParagraph: {\n overflow: \"hidden\",\n display: \"-webkit-box\",\n \"-webkit-line-clamp\": 2,\n \"-webkit-box-orient\": \"vertical\",\n },\n sortableHeaderText: {\n paddingTop: \"8px\",\n },\n alignFlexLeft: {\n justifyContent: \"flex-start\",\n },\n alignFlexCenter: {\n justifyContent: \"center\",\n },\n alignFlexRight: {\n justifyContent: \"flex-end\",\n },\n alignFlexJustify: {\n textAlign: \"justify\",\n },\n\n variantNone: {\n padding: 0,\n },\n variantCheckbox: {\n padding: 0,\n width: 32,\n maxWidth: 32,\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n variantExpand: {},\n variantActions: {\n padding: 0,\n width: 32,\n maxWidth: 32,\n borderLeft: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n\n stickyColumn: {\n position: \"sticky\",\n zIndex: 2,\n\n \"&$groupColumnMostRight+$stickyColumn\": {\n borderLeft: 0,\n },\n },\n stickyColumnMostLeft: {\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n stickyColumnLeastRight: {\n borderLeft: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n\n groupColumnMostLeft: {\n borderLeft: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n\n \"&:first-child\": {\n borderLeft: 0,\n },\n },\n groupColumnMostRight: {\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n\n // due to the \":has()\" selector not being supported in browsers,\n // this need to be managed with inline styles\n // To be uncommented when not needed (see comment in src/Table/hooks/useSticky.js)\n // \"&:last-child,&:has(+ $stickyColumnLeastRight)\": {\n \"&:last-child\": {\n borderRight: 0,\n },\n\n \"&+:not($stickyColumn)\": {\n borderLeft: 0,\n },\n },\n\n sortable: {},\n sorted: {\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n sortButton: {\n \"$root$sortable &\": {\n boxShadow: \"none\",\n backgroundColor: \"transparent\",\n },\n },\n sortIcon: {\n display: \"inline-flex\",\n visibility: \"hidden\",\n },\n\n resizable: {\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n\n resizing: {\n borderRight: `solid 2px ${theme.hv.palette.accent.acce1}`,\n },\n\n resizer: {\n display: \"inline-block\",\n width: 10,\n height: \"100%\",\n position: \"absolute\",\n right: 0,\n top: 0,\n transform: \"translateX(50%)\",\n zIndex: 1,\n touchAction: \"none\",\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,SAASA,SAAT,QAA0B,kCAA1B;;AAEA,MAAMC,MAAM,GAAIC,KAAD,KAAY;EACzBC,IAAI,EAAE;IACJ,2BAA2B,MADvB;IAEJ,iBAAiB,MAFb;IAIJC,MAAM,EAAE,oBAJJ;IAKJC,aAAa,EAAE,SALX;IAMJC,SAAS,EAAE,MANP;IAOJC,OAAO,EAAEL,KAAK,CAACM,SAAN,CAAgB,CAAhB,EAAmB,IAAnB,EAAyB,CAAzB,EAA4B,MAA5B,CAPL;IASJC,YAAY,EAAG,aAAYP,KAAK,CAACQ,OAAN,CAAcC,KAAM;EAT3C,CADmB;EAazBC,IAAI;IACF,oBAAoB;MAClBR,MAAM,EAAE,8BADU;MAElBS,SAAS,EAAG,aAAYX,KAAK,CAAC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ACRlB,WAAW,EAAG,aAAYpD,KAAK,CAACe,EAAN,CAASP,OAAT,CAAiB+D,MAAjB,CAAwBC,KAAM;EADhD,CAjMe;EAqMzBC,OAAO,EAAE;IACPrC,OAAO,EAAE,cADF;IAEPc,KAAK,EAAE,EAFA;IAGPhD,MAAM,EAAE,MAHD;IAIPwD,QAAQ,EAAE,UAJH;IAKPgB,KAAK,EAAE,CALA;IAMPC,GAAG,EAAE,CANE;IAOPC,SAAS,EAAE,iBAPJ;IAQPjB,MAAM,EAAE,CARD;IASPkB,WAAW,EAAE;EATN;AArMgB,CAAZ,CAAf;;AAkNA,eAAe9E,MAAf"}
1
+ {"version":3,"file":"styles.js","names":["hexToRgbA","styles","theme","root","height","verticalAlign","textAlign","padding","hvSpacing","borderBottom","palette","atmo4","head","borderTop","paddingTop","backgroundColor","atmo1","hv","typography","highlightText","transition","transitions","create","duration","shorter","paddingLeft","cursor","atmo3","visibility","body","normalText","footer","alignLeft","alignCenter","alignRight","flexDirection","alignJustify","headerContent","display","alignItems","headerText","overflow","textOverflow","headerParagraph","sortableHeaderText","alignFlexLeft","justifyContent","alignFlexCenter","alignFlexRight","alignFlexJustify","variantNone","variantCheckbox","width","maxWidth","borderRight","atmosphere","variantExpand","variantActions","borderLeft","variantList","stickyColumn","position","zIndex","stickyColumnMostLeft","stickyColumnLeastRight","groupColumnMostLeft","groupColumnMostRight","sortable","sorted","sortButton","boxShadow","sortIcon","resizable","resizing","accent","acce1","resizer","right","top","transform","touchAction"],"sources":["../../../../src/Table/TableHeader/styles.js"],"sourcesContent":["import { hexToRgbA } from \"@hitachivantara/uikit-react-core\";\n\nconst styles = (theme) => ({\n root: {\n \"--first-row-cell-height\": \"52px\",\n \"--cell-height\": \"32px\",\n\n height: \"var(--cell-height)\",\n verticalAlign: \"inherit\",\n textAlign: \"left\",\n padding: theme.hvSpacing(0, \"xs\", 0, \"32px\"),\n\n borderBottom: `1px solid ${theme.palette.atmo4}`,\n },\n\n head: {\n \":first-child > &\": {\n height: \"var(--first-row-cell-height)\",\n borderTop: `1px solid ${theme.palette.atmo4}`,\n },\n\n paddingTop: 8,\n verticalAlign: \"top\",\n\n backgroundColor: theme.palette.atmo1,\n borderBottom: `1px solid ${theme.palette.atmo4}`,\n ...theme.hv.typography.highlightText,\n\n transition: theme.transitions.create(\"background-color\", {\n duration: theme.transitions.duration.shorter,\n }),\n\n \"&$sortable\": {\n verticalAlign: \"initial\",\n paddingTop: 0,\n paddingLeft: 0,\n cursor: \"pointer\",\n\n \"&:hover\": {\n backgroundColor: theme.palette.atmo3,\n\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n \"&:focus-within\": {\n backgroundColor: theme.palette.atmo3,\n\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n // IE fallback code (using focus-within-polyfill)\n \"&.focus-within\": {\n backgroundColor: theme.palette.atmo3,\n\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n },\n },\n body: {\n backgroundColor: \"inherit\",\n ...theme.hv.typography.normalText,\n\n \"&$sortable:not($variantNone)\": {\n paddingLeft: 32,\n },\n \"&$sorted\": {\n backgroundColor: hexToRgbA(theme.palette.atmo1, 0.4),\n },\n },\n footer: {},\n\n alignLeft: {\n textAlign: \"left\",\n },\n alignCenter: {\n textAlign: \"center\",\n },\n alignRight: {\n textAlign: \"right\",\n flexDirection: \"row-reverse\",\n },\n alignJustify: {\n textAlign: \"justify\",\n },\n\n headerContent: {\n display: \"flex\",\n alignItems: \"flex-start\",\n },\n headerText: {\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n },\n headerParagraph: {\n overflow: \"hidden\",\n display: \"-webkit-box\",\n \"-webkit-line-clamp\": 2,\n \"-webkit-box-orient\": \"vertical\",\n },\n sortableHeaderText: {\n paddingTop: \"8px\",\n },\n alignFlexLeft: {\n justifyContent: \"flex-start\",\n },\n alignFlexCenter: {\n justifyContent: \"center\",\n },\n alignFlexRight: {\n justifyContent: \"flex-end\",\n },\n alignFlexJustify: {\n textAlign: \"justify\",\n },\n\n variantNone: {\n padding: 0,\n },\n variantCheckbox: {\n padding: 0,\n width: 32,\n maxWidth: 32,\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n variantExpand: {},\n variantActions: {\n padding: 0,\n width: 32,\n maxWidth: 32,\n borderLeft: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n variantList: {\n backgroundColor: \"inherit\",\n borderBottom: 0,\n height: 16,\n \":first-child > &\": {\n borderTop: 0,\n height: 16,\n },\n },\n stickyColumn: {\n position: \"sticky\",\n zIndex: 2,\n\n \"&$groupColumnMostRight+$stickyColumn\": {\n borderLeft: 0,\n },\n },\n stickyColumnMostLeft: {\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n stickyColumnLeastRight: {\n borderLeft: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n\n groupColumnMostLeft: {\n borderLeft: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n\n \"&:first-child\": {\n borderLeft: 0,\n },\n },\n groupColumnMostRight: {\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n\n // due to the \":has()\" selector not being supported in browsers,\n // this need to be managed with inline styles\n // To be uncommented when not needed (see comment in src/Table/hooks/useSticky.js)\n // \"&:last-child,&:has(+ $stickyColumnLeastRight)\": {\n \"&:last-child\": {\n borderRight: 0,\n },\n\n \"&+:not($stickyColumn)\": {\n borderLeft: 0,\n },\n },\n\n sortable: {},\n sorted: {\n \"& $sortIcon\": {\n visibility: \"visible\",\n },\n },\n sortButton: {\n \"$root$sortable &\": {\n boxShadow: \"none\",\n backgroundColor: \"transparent\",\n },\n },\n sortIcon: {\n display: \"inline-flex\",\n visibility: \"hidden\",\n },\n\n resizable: {\n borderRight: `solid 1px ${theme.hv.palette.atmosphere.atmo4}`,\n },\n\n resizing: {\n borderRight: `solid 2px ${theme.hv.palette.accent.acce1}`,\n },\n\n resizer: {\n display: \"inline-block\",\n width: 10,\n height: \"100%\",\n position: \"absolute\",\n right: 0,\n top: 0,\n transform: \"translateX(50%)\",\n zIndex: 1,\n touchAction: \"none\",\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,SAASA,SAAT,QAA0B,kCAA1B;;AAEA,MAAMC,MAAM,GAAIC,KAAD,KAAY;EACzBC,IAAI,EAAE;IACJ,2BAA2B,MADvB;IAEJ,iBAAiB,MAFb;IAIJC,MAAM,EAAE,oBAJJ;IAKJC,aAAa,EAAE,SALX;IAMJC,SAAS,EAAE,MANP;IAOJC,OAAO,EAAEL,KAAK,CAACM,SAAN,CAAgB,CAAhB,EAAmB,IAAnB,EAAyB,CAAzB,EAA4B,MAA5B,CAPL;IASJC,YAAY,EAAG,aAAYP,KAAK,CAACQ,OAAN,CAAcC,KAAM;EAT3C,CADmB;EAazBC,IAAI;IACF,oBAAoB;MAClBR,MAAM,EAAE,8BADU;MAElBS,SAAS,EAAG,aAAYX,KAAK,CAACQ,OAAN,CAAcC,KAAM;IAF1B,CADlB;IAMFG,UAAU,EAAE,CANV;IAOFT,aAAa,EAAE,KAPb;IASFU,eAAe,EAAEb,KAAK,CAACQ,OAAN,CAAcM,KAT7B;IAUFP,YAAY,EAAG,aAAYP,KAAK,CAACQ,OAAN,CAAcC,KAAM;EAV7C,GAWCT,KAAK,CAACe,EAAN,CAASC,UAAT,CAAoBC,aAXrB;IAaFC,UAAU,EAAElB,KAAK,CAACmB,WAAN,CAAkBC,MAAlB,CAAyB,kBAAzB,EAA6C;MACvDC,QAAQ,EAAErB,KAAK,CAACmB,WAAN,CAAkBE,QAAlB,CAA2BC;IADkB,CAA7C,CAbV;IAiBF,cAAc;MACZnB,aAAa,EAAE,SADH;MAEZS,UAAU,EAAE,CAFA;MAGZW,WAAW,EAAE,CAHD;MAIZC,MAAM,EAAE,SAJI;MAMZ,WAAW;QACTX,eAAe,EAAEb,KAAK,CAACQ,OAAN,CAAciB,KADtB;QAGT,eAAe;UACbC,UAAU,EAAE;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
10
10
  | "expanded"
11
- | "striped";
11
+ | "striped"
12
+ | "variantList"
13
+ | "variantListHead";
12
14
 
13
15
  export interface HvTableRowProps
14
16
  extends StandardProps<React.HTMLAttributes<HTMLTableRowElement>, HvTableRowClassKey> {
@@ -30,10 +30,14 @@ const HvTableRow = /*#__PURE__*/forwardRef(function HvTableRow(props, ref) {
30
30
  const tableContext = useContext(TableContext);
31
31
  const tableSectionContext = useContext(TableSectionContext);
32
32
  const type = (tableSectionContext === null || tableSectionContext === void 0 ? void 0 : tableSectionContext.type) || "body";
33
+ const isList = tableContext.variant === "listrow";
33
34
  const Component = component || (tableContext === null || tableContext === void 0 ? void 0 : (_tableContext$compone = tableContext.components) === null || _tableContext$compone === void 0 ? void 0 : _tableContext$compone.Tr) || defaultComponent;
34
35
  return /*#__PURE__*/React.createElement(Component, _extends({
35
36
  ref: ref,
36
- className: clsx(classes.root, classes[type], className, hover && classes.hover, selected && classes.selected, expanded && classes.expanded, striped && classes.striped),
37
+ className: clsx(classes.root, classes[type], tableSectionContext.filterClassName, className, isList && {
38
+ "body": classes.variantList,
39
+ "head": classes.variantListHead
40
+ }[type], hover && classes.hover, selected && classes.selected, expanded && classes.expanded, striped && classes.striped),
37
41
  role: Component === defaultComponent ? null : "row"
38
42
  }, others));
39
43
  });
@@ -116,7 +120,17 @@ process.env.NODE_ENV !== "production" ? HvTableRow.propTypes = {
116
120
  /**
117
121
  * Styles applied to the component root when inside a `HvTableFooter`.
118
122
  */
119
- footer: PropTypes.string
123
+ footer: PropTypes.string,
124
+
125
+ /**
126
+ * Styles applied to the component root when its table variant is list.
127
+ */
128
+ variantList: PropTypes.string,
129
+
130
+ /**
131
+ * Styles applied to the component root when its table variant is list.
132
+ */
133
+ variantListHead: PropTypes.string
120
134
  }).isRequired
121
135
  } : void 0;
122
136
  export default withStyles(styles, {
@@ -1 +1 @@
1
- {"version":3,"file":"TableRow.js","names":["React","forwardRef","useContext","PropTypes","clsx","withStyles","styles","TableContext","TableSectionContext","defaultComponent","HvTableRow","props","ref","classes","className","component","hover","selected","expanded","striped","others","tableContext","tableSectionContext","type","Component","components","Tr","root","propTypes","elementType","children","node","string","bool","shape","head","body","footer","isRequired","name"],"sources":["../../../../src/Table/TableRow/TableRow.js"],"sourcesContent":["import React, { forwardRef, useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\n\nimport { withStyles } from \"@material-ui/core\";\n\nimport styles from \"./styles\";\nimport TableContext from \"../TableContext\";\nimport TableSectionContext from \"../TableSectionContext\";\n\nconst defaultComponent = \"tr\";\n\n/**\n * `HvTableRow` acts as a `tr` element and inherits styles from its context\n */\nconst HvTableRow = forwardRef(function HvTableRow(props, ref) {\n const {\n classes,\n className,\n component,\n hover = false,\n selected = false,\n expanded = false,\n striped = false,\n ...others\n } = props;\n\n const tableContext = useContext(TableContext);\n const tableSectionContext = useContext(TableSectionContext);\n\n const type = tableSectionContext?.type || \"body\";\n\n const Component = component || tableContext?.components?.Tr || defaultComponent;\n\n return (\n <Component\n ref={ref}\n className={clsx(\n classes.root,\n classes[type],\n {\n [classes.hover]: hover,\n [classes.selected]: selected,\n [classes.expanded]: expanded,\n [classes.striped]: striped,\n },\n className\n )}\n role={Component === defaultComponent ? null : \"row\"}\n {...others}\n />\n );\n});\n\nHvTableRow.propTypes = {\n /**\n * The component used for the root node. Either a string to use a HTML element or a component.\n * Defaults to tr.\n */\n component: PropTypes.elementType,\n\n /**\n * Content to be rendered\n */\n children: PropTypes.node,\n\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n\n /**\n * Whether the table row will shade on hover.\n */\n hover: PropTypes.bool,\n /**\n * Whether the table row will have the selected shading.\n */\n selected: PropTypes.bool,\n\n /**\n * Whether the table row is expanded.\n */\n expanded: PropTypes.bool,\n\n /**\n * Whether the table row background is striped.\n */\n striped: PropTypes.bool,\n\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the component root when selected.\n */\n selected: PropTypes.string,\n /**\n * Styles applied to the component root when expanded.\n */\n expanded: PropTypes.string,\n /**\n * Styles applied to the component root when striped.\n */\n striped: PropTypes.string,\n /**\n * Styles applied to the component root on hover.\n */\n hover: PropTypes.string,\n /**\n * Styles applied to the component root when inside a `HvTableHead`.\n */\n head: PropTypes.string,\n /**\n * Styles applied to the component root when inside a `HvTableBody`.\n */\n body: PropTypes.string,\n /**\n * Styles applied to the component root when inside a `HvTableFooter`.\n */\n footer: PropTypes.string,\n }).isRequired,\n};\n\nexport default withStyles(styles, { name: \"HvTableRow\" })(HvTableRow);\n"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,EAA4BC,UAA5B,QAA8C,OAA9C;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,IAAP,MAAiB,MAAjB;AAEA,SAASC,UAAT,QAA2B,mBAA3B;AAEA,OAAOC,MAAP,MAAmB,UAAnB;AACA,OAAOC,YAAP,MAAyB,iBAAzB;AACA,OAAOC,mBAAP,MAAgC,wBAAhC;AAEA,MAAMC,gBAAgB,GAAG,IAAzB;AAEA;AACA;AACA;;AACA,MAAMC,UAAU,gBAAGT,UAAU,CAAC,SAASS,UAAT,CAAoBC,KAApB,EAA2BC,GAA3B,EAAgC;EAAA;;EAC5D,MAAM;IACJC,OADI;IAEJC,SAFI;IAGJC,SAHI;IAIJC,KAAK,GAAG,KAJJ;IAKJC,QAAQ,GAAG,KALP;IAMJC,QAAQ,GAAG,KANP;IAOJC,OAAO,GAAG;EAPN,IASFR,KATJ;EAAA,MAQKS,MARL,4BASIT,KATJ;;EAWA,MAAMU,YAAY,GAAGnB,UAAU,CAACK,YAAD,CAA/B;EACA,MAAMe,mBAAmB,GAAGpB,UAAU,CAACM,mBAAD,CAAtC;EAEA,MAAMe,IAAI,GAAG,CAAAD,mBAAmB,SAAnB,IAAAA,mBAAmB,WAAnB,YAAAA,mBAAmB,CAAEC,IAArB,KA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EAAEf,SAAS,CAAC6B,MAZG;;IAavB;AACJ;AACA;IACIb,OAAO,EAAEhB,SAAS,CAAC6B,MAhBI;;IAiBvB;AACJ;AACA;IACIhB,KAAK,EAAEb,SAAS,CAAC6B,MApBM;;IAqBvB;AACJ;AACA;IACIG,IAAI,EAAEhC,SAAS,CAAC6B,MAxBO;;IAyBvB;AACJ;AACA;IACII,IAAI,EAAEjC,SAAS,CAAC6B,MA5BO;;IA6BvB;AACJ;AACA;IACIK,MAAM,EAAElC,SAAS,CAAC6B;EAhCK,CAAhB,EAiCNM;AAxEkB,CAAvB;AA2EA,eAAejC,UAAU,CAACC,MAAD,EAAS;EAAEiC,IAAI,EAAE;AAAR,CAAT,CAAV,CAA2C7B,UAA3C,CAAf"}
1
+ {"version":3,"file":"TableRow.js","names":["React","forwardRef","useContext","PropTypes","clsx","withStyles","styles","TableContext","TableSectionContext","defaultComponent","HvTableRow","props","ref","classes","className","component","hover","selected","expanded","striped","others","tableContext","tableSectionContext","type","isList","variant","Component","components","Tr","root","filterClassName","variantList","variantListHead","propTypes","elementType","children","node","string","bool","shape","head","body","footer","isRequired","name"],"sources":["../../../../src/Table/TableRow/TableRow.js"],"sourcesContent":["import React, { forwardRef, useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\n\nimport { withStyles } from \"@material-ui/core\";\n\nimport styles from \"./styles\";\nimport TableContext from \"../TableContext\";\nimport TableSectionContext from \"../TableSectionContext\";\n\nconst defaultComponent = \"tr\";\n\n/**\n * `HvTableRow` acts as a `tr` element and inherits styles from its context\n */\nconst HvTableRow = forwardRef(function HvTableRow(props, ref) {\n const {\n classes,\n className,\n component,\n hover = false,\n selected = false,\n expanded = false,\n striped = false,\n ...others\n } = props;\n\n const tableContext = useContext(TableContext);\n const tableSectionContext = useContext(TableSectionContext);\n\n const type = tableSectionContext?.type || \"body\";\n\n const isList = tableContext.variant === \"listrow\";\n\n const Component = component || tableContext?.components?.Tr || defaultComponent;\n\n return (\n <Component\n ref={ref}\n className={clsx(\n classes.root,\n classes[type],\n {\n [classes.hover]: hover,\n [classes.selected]: selected,\n [classes.expanded]: expanded,\n [classes.striped]: striped,\n [classes.variantList]: isList && type === \"body\",\n [classes.variantListHead]: isList && type === \"head\",\n },\n tableSectionContext.filterClassName,\n className\n )}\n role={Component === defaultComponent ? null : \"row\"}\n {...others}\n />\n );\n});\n\nHvTableRow.propTypes = {\n /**\n * The component used for the root node. Either a string to use a HTML element or a component.\n * Defaults to tr.\n */\n component: PropTypes.elementType,\n /**\n * Content to be rendered\n */\n children: PropTypes.node,\n\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n\n /**\n * Whether the table row will shade on hover.\n */\n hover: PropTypes.bool,\n /**\n * Whether the table row will have the selected shading.\n */\n selected: PropTypes.bool,\n /**\n * Whether the table row is expanded.\n */\n expanded: PropTypes.bool,\n /**\n * Whether the table row background is striped.\n */\n striped: PropTypes.bool,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the component root when selected.\n */\n selected: PropTypes.string,\n /**\n * Styles applied to the component root when expanded.\n */\n expanded: PropTypes.string,\n /**\n * Styles applied to the component root when striped.\n */\n striped: PropTypes.string,\n /**\n * Styles applied to the component root on hover.\n */\n hover: PropTypes.string,\n /**\n * Styles applied to the component root when inside a `HvTableHead`.\n */\n head: PropTypes.string,\n /**\n * Styles applied to the component root when inside a `HvTableBody`.\n */\n body: PropTypes.string,\n /**\n * Styles applied to the component root when inside a `HvTableFooter`.\n */\n footer: PropTypes.string,\n /**\n * Styles applied to the component root when its table variant is list.\n */\n variantList: PropTypes.string,\n /**\n * Styles applied to the component root when its table variant is list.\n */\n variantListHead: PropTypes.string,\n }).isRequired,\n};\n\nexport default withStyles(styles, { name: \"HvTableRow\" })(HvTableRow);\n"],"mappings":";;;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,EAA4BC,UAA5B,Q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5BO;;IA6BvB;AACJ;AACA;IACIK,MAAM,EAAEvC,SAAS,CAACkC,MAhCK;;IAiCvB;AACJ;AACA;IACIN,WAAW,EAAE5B,SAAS,CAACkC,MApCA;;IAqCvB;AACJ;AACA;IACIL,eAAe,EAAE7B,SAAS,CAACkC;EAxCJ,CAAhB,EAyCNM;AA5EkB,CAAvB;AA+EA,eAAetC,UAAU,CAACC,MAAD,EAAS;EAAEsC,IAAI,EAAE;AAAR,CAAT,CAAV,CAA2ClC,UAA3C,CAAf"}
@@ -22,9 +22,7 @@ const styles = theme => ({
22
22
  },
23
23
  body: {},
24
24
  footer: {},
25
- selected: {
26
- backgroundColor: theme.palette.atmo1
27
- },
25
+ selected: {},
28
26
  expanded: {
29
27
  backgroundColor: theme.palette.atmo1,
30
28
  "& > *[role=cell]": {
@@ -43,6 +41,31 @@ const styles = theme => ({
43
41
  "&:hover": {
44
42
  backgroundColor: theme.palette.atmo3
45
43
  }
44
+ },
45
+ variantList: {
46
+ borderBottom: 0,
47
+ backgroundColor: theme.palette.atmo1,
48
+ height: 52,
49
+ "&$selected": {
50
+ boxShadow: `1px 1px ${theme.hv.palette.accent.acce1}, -1px -1px ${theme.hv.palette.accent.acce1}, -1px 1px ${theme.hv.palette.accent.acce1}, 1px -1px ${theme.hv.palette.accent.acce1}`,
51
+ "&:hover": {
52
+ boxShadow: `1px 1px ${theme.hv.palette.accent.acce1}, -1px -1px ${theme.hv.palette.accent.acce1}, -1px 1px ${theme.hv.palette.accent.acce1}, 1px -1px ${theme.hv.palette.accent.acce1}`,
53
+ background: theme.hv.palette.atmosphere.atmo1
54
+ }
55
+ },
56
+ "&:hover": {
57
+ boxShadow: `1px 1px ${theme.hv.palette.atmosphere.atmo4}, -1px -1px ${theme.hv.palette.atmosphere.atmo4}, -1px 1px ${theme.hv.palette.atmosphere.atmo4}, 1px -1px ${theme.hv.palette.atmosphere.atmo4}`,
58
+ background: theme.hv.palette.atmosphere.atmo1
59
+ }
60
+ },
61
+ variantListHead: {
62
+ height: 16,
63
+ "&:first-child": {
64
+ height: 16
65
+ },
66
+ "tr&:first-child": {
67
+ height: 16
68
+ }
46
69
  }
47
70
  });
48
71
 
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["hexToRgb","alpha","styles","theme","root","color","backgroundColor","verticalAlign","outline","minHeight","height","head","body","footer","selected","palette","atmo1","expanded","borderBottom","striped","hover","transition","transitions","create","duration","shortest","atmo3"],"sources":["../../../../src/Table/TableRow/styles.js"],"sourcesContent":["import { hexToRgb } from \"@material-ui/core\";\nimport { alpha } from \"@material-ui/core/styles\";\n\nconst styles = (theme) => ({\n root: {\n color: \"inherit\",\n backgroundColor: \"inherit\",\n verticalAlign: \"middle\",\n outline: 0,\n minHeight: 32,\n \"tr&\": {\n height: 32,\n },\n },\n head: {\n \"&:first-child\": {\n height: 52,\n },\n\n \"tr&:first-child\": {\n height: 52,\n },\n },\n body: {},\n footer: {},\n selected: {\n backgroundColor: theme.palette.atmo1,\n },\n expanded: {\n backgroundColor: theme.palette.atmo1,\n \"& > *[role=cell]\": {\n borderBottom: \"none\",\n },\n },\n striped: {\n \"&:nth-child(even)\": {\n backgroundColor: alpha(hexToRgb(theme.palette.atmo1), 0.6),\n },\n },\n hover: {\n transition: theme.transitions.create(\"background-color\", {\n duration: theme.transitions.duration.shortest,\n }),\n\n \"&:hover\": {\n backgroundColor: theme.palette.atmo3,\n },\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,SAASA,QAAT,QAAyB,mBAAzB;AACA,SAASC,KAAT,QAAsB,0BAAtB;;AAEA,MAAMC,MAAM,GAAIC,KAAD,KAAY;EACzBC,IAAI,EAAE;IACJC,KAAK,EAAE,SADH;IAEJC,eAAe,EAAE,SAFb;IAGJC,aAAa,EAAE,QAHX;IAIJC,OAAO,EAAE,CAJL;IAKJC,SAAS,EAAE,EALP;IAMJ,OAAO;MACLC,MAAM,EAAE;IADH;EANH,CADmB;EAWzBC,IAAI,EAAE;IACJ,iBAAiB;MACfD,MAAM,EAAE;IADO,CADb;IAKJ,mBAAmB;MACjBA,MAAM,EAAE;IADS;EALf,CAXmB;EAoBzBE,IAAI,EAAE,EApBmB;EAqBzBC,MAAM,EAAE,EArBiB;EAsBzBC,QAAQ,EAAE;IACRR,eAAe,EAAEH,KAAK,CAACY,OAAN,CAAcC;EADvB,CAtBe;EAyBzBC,QAAQ,EAAE;IACRX,eAAe,EAAEH,KAAK,CAACY,OAAN,CAAcC,KADvB;IAER,oBAAoB;MAClBE,YAAY,EAAE;IADI;EAFZ,CAzBe;EA+BzBC,OAAO,EAAE;IACP,qBAAqB;MACnBb,eAAe,EAAEL,KAAK,CAACD,QAAQ,CAACG,KAAK,CAACY,OAAN,CAAcC,KAAf,CAAT,EAAgC,GAAhC;IADH;EADd,CA/BgB;EAoCzBI,KAAK,EAAE;IACLC,UAAU,EAAElB,KAAK,CAACmB,WAAN,CAAkBC,MAAlB,CAAyB,kBAAzB,EAA6C;MACvDC,QAAQ,EAAErB,KAAK,CAACmB,WAAN,CAAkBE,QAAlB,CAA2BC;IADkB,CAA7C,CADP;IAKL,WAAW;MACTnB,eAAe,EAAEH,KAAK,CAACY,OAAN,CAAcW;IADtB;EALN;AApCkB,CAAZ,CAAf;;AA+CA,eAAexB,MAAf"}
1
+ {"version":3,"file":"styles.js","names":["hexToRgb","alpha","styles","theme","root","color","backgroundColor","verticalAlign","outline","minHeight","height","head","body","footer","selected","expanded","palette","atmo1","borderBottom","striped","hover","transition","transitions","create","duration","shortest","atmo3","variantList","boxShadow","hv","accent","acce1","background","atmosphere","atmo4","variantListHead"],"sources":["../../../../src/Table/TableRow/styles.js"],"sourcesContent":["import { hexToRgb } from \"@material-ui/core\";\nimport { alpha } from \"@material-ui/core/styles\";\n\nconst styles = (theme) => ({\n root: {\n color: \"inherit\",\n backgroundColor: \"inherit\",\n verticalAlign: \"middle\",\n outline: 0,\n minHeight: 32,\n \"tr&\": {\n height: 32,\n },\n },\n head: {\n \"&:first-child\": {\n height: 52,\n },\n\n \"tr&:first-child\": {\n height: 52,\n },\n },\n body: {},\n footer: {},\n selected: {},\n expanded: {\n backgroundColor: theme.palette.atmo1,\n \"& > *[role=cell]\": {\n borderBottom: \"none\",\n },\n },\n striped: {\n \"&:nth-child(even)\": {\n backgroundColor: alpha(hexToRgb(theme.palette.atmo1), 0.6),\n },\n },\n hover: {\n transition: theme.transitions.create(\"background-color\", {\n duration: theme.transitions.duration.shortest,\n }),\n\n \"&:hover\": {\n backgroundColor: theme.palette.atmo3,\n },\n },\n variantList: {\n borderBottom: 0,\n backgroundColor: theme.palette.atmo1,\n height: 52,\n \"&$selected\": {\n boxShadow: `1px 1px ${theme.hv.palette.accent.acce1}, -1px -1px ${theme.hv.palette.accent.acce1}, -1px 1px ${theme.hv.palette.accent.acce1}, 1px -1px ${theme.hv.palette.accent.acce1}`,\n\n \"&:hover\": {\n boxShadow: `1px 1px ${theme.hv.palette.accent.acce1}, -1px -1px ${theme.hv.palette.accent.acce1}, -1px 1px ${theme.hv.palette.accent.acce1}, 1px -1px ${theme.hv.palette.accent.acce1}`,\n background: theme.hv.palette.atmosphere.atmo1,\n },\n },\n\n \"&:hover\": {\n boxShadow: `1px 1px ${theme.hv.palette.atmosphere.atmo4}, -1px -1px ${theme.hv.palette.atmosphere.atmo4}, -1px 1px ${theme.hv.palette.atmosphere.atmo4}, 1px -1px ${theme.hv.palette.atmosphere.atmo4}`,\n background: theme.hv.palette.atmosphere.atmo1,\n },\n },\n variantListHead: {\n height: 16,\n \"&:first-child\": {\n height: 16,\n },\n\n \"tr&:first-child\": {\n height: 16,\n },\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,SAASA,QAAT,QAAyB,mBAAzB;AACA,SAASC,KAAT,QAAsB,0BAAtB;;AAEA,MAAMC,MAAM,GAAIC,KAAD,KAAY;EACzBC,IAAI,EAAE;IACJC,KAAK,EAAE,SADH;IAEJC,eAAe,EAAE,SAFb;IAGJC,aAAa,EAAE,QAHX;IAIJC,OAAO,EAAE,CAJL;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CAAwBC,KAAM,EAD1K;MAGZ,WAAW;QACTH,SAAS,EAAG,WAAUzB,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBc,MAAjB,CAAwBC,KAAM,eAAc5B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBc,MAAjB,CAAwBC,KAAM,cAAa5B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBc,MAAjB,CAAwBC,KAAM,cAAa5B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBc,MAAjB,CAAwBC,KAAM,EAD7K;QAETC,UAAU,EAAE7B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBiB,UAAjB,CAA4BhB;MAF/B;IAHC,CAJH;IAaX,WAAW;MACTW,SAAS,EAAG,WAAUzB,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBiB,UAAjB,CAA4BC,KAAM,eAAc/B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBiB,UAAjB,CAA4BC,KAAM,cAAa/B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBiB,UAAjB,CAA4BC,KAAM,cAAa/B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBiB,UAAjB,CAA4BC,KAAM,EAD7L;MAETF,UAAU,EAAE7B,KAAK,CAAC0B,EAAN,CAASb,OAAT,CAAiBiB,UAAjB,CAA4BhB;IAF/B;EAbA,CA3CY;EA6DzBkB,eAAe,EAAE;IACfzB,MAAM,EAAE,EADO;IAEf,iBAAiB;MACfA,MAAM,EAAE;IADO,CAFF;IAMf,mBAAmB;MACjBA,MAAM,EAAE;IADS;EANJ;AA7DQ,CAAZ,CAAf;;AAyEA,eAAeR,MAAf"}
@@ -21,6 +21,11 @@ const styles = theme => ({
21
21
  stickyHeader: {},
22
22
  stickyColumns: {
23
23
  backgroundColor: theme.hv.palette.atmosphere.atmo2
24
+ },
25
+ listRow: {
26
+ "table&": {
27
+ borderSpacing: theme.hvSpacing(0, "xs")
28
+ }
24
29
  }
25
30
  });
26
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["styles","theme","root","position","width","hv","typography","normalText","borderSpacing","padding","spacing","textAlign","captionSide","stickyHeader","stickyColumns","backgroundColor","palette","atmosphere","atmo2"],"sources":["../../../src/Table/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {\n position: \"relative\",\n width: \"100%\",\n\n ...theme.hv.typography.normalText,\n\n \"table&\": {\n borderSpacing: 0,\n },\n\n \"& caption\": {\n ...theme.typography.normalText,\n padding: theme.spacing(\"xs\"),\n textAlign: \"left\",\n captionSide: \"bottom\",\n },\n },\n stickyHeader: {},\n stickyColumns: {\n backgroundColor: theme.hv.palette.atmosphere.atmo2,\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,MAAMA,MAAM,GAAIC,KAAD,KAAY;EACzBC,IAAI;IACFC,QAAQ,EAAE,UADR;IAEFC,KAAK,EAAE;EAFL,GAICH,KAAK,CAACI,EAAN,CAASC,UAAT,CAAoBC,UAJrB;IAMF,UAAU;MACRC,aAAa,EAAE;IADP,CANR;IAUF,6CACKP,KAAK,CAACK,UAAN,CAAiBC,UADtB;MAEEE,OAAO,EAAER,KAAK,CAACS,OAAN,CAAc,IAAd,CAFX;MAGEC,SAAS,EAAE,MAHb;MAIEC,WAAW,EAAE;IAJf;EAVE,EADqB;EAkBzBC,YAAY,EAAE,EAlBW;EAmBzBC,aAAa,EAAE;IACbC,eAAe,EAAEd,KAAK,CAACI,EAAN,CAASW,OAAT,CAAiBC,UAAjB,CAA4BC;EADhC;AAnBU,CAAZ,CAAf;;AAwBA,eAAelB,MAAf"}
1
+ {"version":3,"file":"styles.js","names":["styles","theme","root","position","width","hv","typography","normalText","borderSpacing","padding","spacing","textAlign","captionSide","stickyHeader","stickyColumns","backgroundColor","palette","atmosphere","atmo2","listRow","hvSpacing"],"sources":["../../../src/Table/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {\n position: \"relative\",\n width: \"100%\",\n\n ...theme.hv.typography.normalText,\n\n \"table&\": {\n borderSpacing: 0,\n },\n\n \"& caption\": {\n ...theme.typography.normalText,\n padding: theme.spacing(\"xs\"),\n textAlign: \"left\",\n captionSide: \"bottom\",\n },\n },\n stickyHeader: {},\n stickyColumns: {\n backgroundColor: theme.hv.palette.atmosphere.atmo2,\n },\n listRow: {\n \"table&\": {\n borderSpacing: theme.hvSpacing(0, \"xs\"),\n },\n },\n});\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,MAAMA,MAAM,GAAIC,KAAD,KAAY;EACzBC,IAAI;IACFC,QAAQ,EAAE,UADR;IAEFC,KAAK,EAAE;EAFL,GAICH,KAAK,CAACI,EAAN,CAASC,UAAT,CAAoBC,UAJrB;IAMF,UAAU;MACRC,aAAa,EAAE;IADP,CANR;IAUF,6CACKP,KAAK,CAACK,UAAN,CAAiBC,UADtB;MAEEE,OAAO,EAAER,KAAK,CAACS,OAAN,CAAc,IAAd,CAFX;MAGEC,SAAS,EAAE,MAHb;MAIEC,WAAW,EAAE;IAJf;EAVE,EADqB;EAkBzBC,YAAY,EAAE,EAlBW;EAmBzBC,aAAa,EAAE;IACbC,eAAe,EAAEd,KAAK,CAACI,EAAN,CAASW,OAAT,CAAiBC,UAAjB,CAA4BC;EADhC,CAnBU;EAsBzBC,OAAO,EAAE;IACP,UAAU;MACRX,aAAa,EAAEP,KAAK,CAACmB,SAAN,CAAgB,CAAhB,EAAmB,IAAnB;IADP;EADH;AAtBgB,CAAZ,CAAf;;AA6BA,eAAepB,MAAf"}
@@ -14,6 +14,7 @@ export { default as HvTag } from "./Tag";
14
14
  export { default as HvDrawer } from "./Drawer";
15
15
  export { default as HvColorPicker } from "./ColorPicker";
16
16
  export { default as HvQueryBuilder } from "./QueryBuilder";
17
+ export * from "./QueryBuilder";
17
18
  export { default as HvInlineEditor } from "./InlineEditor";
18
19
  export { default as HvProgressBar } from "./ProgressBar";
19
20
  export { default as HvDotPagination } from "./DotPagination";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["default","HvAppSwitcherPanel","HvFormComposer","HvNavigationAnchors","HvNotificationPanel","HvSlider","HvTable","HvTimeAgo","HvTimePicker","HvTag","HvDrawer","HvColorPicker","HvQueryBuilder","HvInlineEditor","HvProgressBar","HvDotPagination"],"sources":["../../src/index.js"],"sourcesContent":["// components\nexport { default as HvAppSwitcherPanel } from \"./AppSwitcherPanel\";\nexport * from \"./AppSwitcherPanel\";\nexport { default as HvFormComposer } from \"./FormComposer\";\nexport { default as HvNavigationAnchors } from \"./NavigationAnchors\";\nexport { default as HvNotificationPanel } from \"./NotificationPanel\";\nexport { default as HvSlider } from \"./Slider\";\nexport { default as HvTable } from \"./Table\";\nexport * from \"./Table\";\nexport { default as HvTimeAgo } from \"./TimeAgo\";\nexport * from \"./TimeAgo\";\nexport { default as HvTimePicker } from \"./TimePicker\";\nexport { default as HvTag } from \"./Tag\";\nexport { default as HvDrawer } from \"./Drawer\";\nexport { default as HvColorPicker } from \"./ColorPicker\";\nexport { default as HvQueryBuilder } from \"./QueryBuilder\";\nexport { default as HvInlineEditor } from \"./InlineEditor\";\nexport { default as HvProgressBar } from \"./ProgressBar\";\nexport { default as HvDotPagination } from \"./DotPagination\";\n"],"mappings":"AAAA;AACA,SAASA,OAAO,IAAIC,kBAApB,QAA8C,oBAA9C;AACA,cAAc,oBAAd;AACA,SAASD,OAAO,IAAIE,cAApB,QAA0C,gBAA1C;AACA,SAASF,OAAO,IAAIG,mBAApB,QAA+C,qBAA/C;AACA,SAASH,OAAO,IAAII,mBAApB,QAA+C,qBAA/C;AACA,SAASJ,OAAO,IAAIK,QAApB,QAAoC,UAApC;AACA,SAASL,OAAO,IAAIM,OAApB,QAAmC,SAAnC;AACA,cAAc,SAAd;AACA,SAASN,OAAO,IAAIO,SAApB,QAAqC,WAArC;AACA,cAAc,WAAd;AACA,SAASP,OAAO,IAAIQ,YAApB,QAAwC,cAAxC;AACA,SAASR,OAAO,IAAIS,KAApB,QAAiC,OAAjC;AACA,SAAST,OAAO,IAAIU,QAApB,QAAoC,UAApC;AACA,SAASV,OAAO,IAAIW,aAApB,QAAyC,eAAzC;AACA,SAASX,OAAO,IAAIY,cAApB,QAA0C,gBAA1C;AACA,SAASZ,OAAO,IAAIa,cAApB,QAA0C,gBAA1C;AACA,SAASb,OAAO,IAAIc,aAApB,QAAyC,eAAzC;AACA,SAASd,OAAO,IAAIe,eAApB,QAA2C,iBAA3C"}
1
+ {"version":3,"file":"index.js","names":["default","HvAppSwitcherPanel","HvFormComposer","HvNavigationAnchors","HvNotificationPanel","HvSlider","HvTable","HvTimeAgo","HvTimePicker","HvTag","HvDrawer","HvColorPicker","HvQueryBuilder","HvInlineEditor","HvProgressBar","HvDotPagination"],"sources":["../../src/index.js"],"sourcesContent":["// components\nexport { default as HvAppSwitcherPanel } from \"./AppSwitcherPanel\";\nexport * from \"./AppSwitcherPanel\";\nexport { default as HvFormComposer } from \"./FormComposer\";\nexport { default as HvNavigationAnchors } from \"./NavigationAnchors\";\nexport { default as HvNotificationPanel } from \"./NotificationPanel\";\nexport { default as HvSlider } from \"./Slider\";\nexport { default as HvTable } from \"./Table\";\nexport * from \"./Table\";\nexport { default as HvTimeAgo } from \"./TimeAgo\";\nexport * from \"./TimeAgo\";\nexport { default as HvTimePicker } from \"./TimePicker\";\nexport { default as HvTag } from \"./Tag\";\nexport { default as HvDrawer } from \"./Drawer\";\nexport { default as HvColorPicker } from \"./ColorPicker\";\nexport { default as HvQueryBuilder } from \"./QueryBuilder\";\nexport * from \"./QueryBuilder\";\nexport { default as HvInlineEditor } from \"./InlineEditor\";\nexport { default as HvProgressBar } from \"./ProgressBar\";\nexport { default as HvDotPagination } from \"./DotPagination\";\n"],"mappings":"AAAA;AACA,SAASA,OAAO,IAAIC,kBAApB,QAA8C,oBAA9C;AACA,cAAc,oBAAd;AACA,SAASD,OAAO,IAAIE,cAApB,QAA0C,gBAA1C;AACA,SAASF,OAAO,IAAIG,mBAApB,QAA+C,qBAA/C;AACA,SAASH,OAAO,IAAII,mBAApB,QAA+C,qBAA/C;AACA,SAASJ,OAAO,IAAIK,QAApB,QAAoC,UAApC;AACA,SAASL,OAAO,IAAIM,OAApB,QAAmC,SAAnC;AACA,cAAc,SAAd;AACA,SAASN,OAAO,IAAIO,SAApB,QAAqC,WAArC;AACA,cAAc,WAAd;AACA,SAASP,OAAO,IAAIQ,YAApB,QAAwC,cAAxC;AACA,SAASR,OAAO,IAAIS,KAApB,QAAiC,OAAjC;AACA,SAAST,OAAO,IAAIU,QAApB,QAAoC,UAApC;AACA,SAASV,OAAO,IAAIW,aAApB,QAAyC,eAAzC;AACA,SAASX,OAAO,IAAIY,cAApB,QAA0C,gBAA1C;AACA,cAAc,gBAAd;AACA,SAASZ,OAAO,IAAIa,cAApB,QAA0C,gBAA1C;AACA,SAASb,OAAO,IAAIc,aAApB,QAAyC,eAAzC;AACA,SAASd,OAAO,IAAIe,eAApB,QAA2C,iBAA3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-lab",
3
- "version": "3.45.12",
3
+ "version": "3.47.0",
4
4
  "description": "A collection of contributed React components for the Hitachi Vantara's Design System.",
5
5
  "homepage": "https://github.com/lumada-design/hv-uikit-react",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@babel/runtime": "^7.17.9",
49
- "@hitachivantara/uikit-react-core": "^3.67.10",
49
+ "@hitachivantara/uikit-react-core": "^3.67.13",
50
50
  "@hitachivantara/uikit-react-icons": "^3.8.12",
51
51
  "@types/react-table": "^7.7.11",
52
52
  "clsx": "^1.1.1",
@@ -82,5 +82,5 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "f8462438709cfa7249b59334b6ea2f99d3f07a32"
85
+ "gitHead": "3b0e9071dfefe4a6f657e368fb21a073ea89b519"
86
86
  }