@scbt-ecom/ui 0.57.0 → 0.59.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 (44) hide show
  1. package/dist/{index-C8bHj4_Y.js → index-Bnb3sS3q.js} +6 -3
  2. package/dist/{index-C8bHj4_Y.js.map → index-Bnb3sS3q.js.map} +1 -1
  3. package/dist/shared/ui/button/model/helpers.d.ts +1 -1
  4. package/dist/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.d.ts +1 -1
  5. package/dist/shared/ui/formElements/uncontrolled/index.d.ts +3 -3
  6. package/dist/shared/ui/formElements/uncontrolled/select/Select.d.ts +1 -1
  7. package/dist/shared/ui/formElements/uncontrolled/select/ui/SelectItem.d.ts +1 -1
  8. package/dist/shared/ui/formElements/uncontrolled/textarea/Textarea.d.ts +1 -1
  9. package/dist/ui.js +2 -2
  10. package/dist/widget.js +861 -744
  11. package/dist/widget.js.map +1 -1
  12. package/dist/widgets/advantages/Advantages.d.ts +4 -3
  13. package/dist/widgets/banner/Banner.d.ts +17 -3
  14. package/dist/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +1 -1
  15. package/dist/widgets/benefit/model/types.d.ts +5 -1
  16. package/dist/widgets/benefit/ui/BenefitItem.d.ts +6 -2
  17. package/dist/widgets/footer/Footer.d.ts +10 -9
  18. package/dist/widgets/footer/model/types.d.ts +34 -12
  19. package/dist/widgets/footer/ui/NavLinks.d.ts +3 -3
  20. package/dist/widgets/header/Header.d.ts +2 -2
  21. package/dist/widgets/header/model/helpers.d.ts +2 -2
  22. package/dist/widgets/header/model/types.d.ts +4 -5
  23. package/dist/widgets/interLinking/InterLinking.d.ts +1 -1
  24. package/dist/widgets/interLinking/model/types.d.ts +2 -4
  25. package/dist/widgets/longBanner/LongBanner.d.ts +13 -6
  26. package/dist/widgets/longBanner/model/types.d.ts +12 -15
  27. package/dist/widgets/longBanner/ui/TextItem.d.ts +1 -1
  28. package/dist/widgets/longBanner/ui/TextList.d.ts +3 -3
  29. package/dist/widgets/model/helpers.d.ts +2 -1
  30. package/dist/widgets/stepper/Stepper.d.ts +3 -5
  31. package/dist/widgets/usefulInfo/UsefulInfo.d.ts +14 -2
  32. package/dist/widgets/usefulInfo/model/types.d.ts +9 -34
  33. package/dist/widgets/usefulInfo/ui/RenderEntity.d.ts +13 -2
  34. package/dist/widgets/usefulInfo/ui/Tabs.d.ts +6 -1
  35. package/dist/widgets/usefulInfo/ui/subEntities/documents/Documents.d.ts +23 -2
  36. package/dist/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.d.ts +9 -1
  37. package/dist/widgets/usefulInfo/ui/subEntities/html/Html.d.ts +11 -2
  38. package/dist/widgets/usefulInfo/ui/subEntities/table/Table.d.ts +32 -2
  39. package/dist/widgets/usefulInfo/ui/subEntities/table/model/utils.d.ts +2 -1
  40. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/DesktopHeadings.d.ts +9 -4
  41. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/DesktopRow.d.ts +9 -4
  42. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/MobileRow.d.ts +13 -6
  43. package/dist/widgets/usefulInfo/ui/subEntities/table/ui/TableBody.d.ts +16 -6
  44. package/package.json +1 -1
@@ -1,13 +1,20 @@
1
- import { EntityTable } from '../../../../model';
2
- interface IFormattedRow {
1
+ import { EntityTableProps } from '../Table';
2
+ interface FormattedRow {
3
3
  cell: string;
4
4
  heading?: string;
5
5
  }
6
+ export type MobileRowClasses = {
7
+ row?: string;
8
+ wrapper?: string;
9
+ heading?: string;
10
+ cell?: string;
11
+ };
6
12
  export interface MobileRowProps {
7
- row: IFormattedRow[];
8
- tableVariant: EntityTable['tableVariant'];
9
- columnsVariant: EntityTable['columnsVariant'];
13
+ row: FormattedRow[];
14
+ tableVariant: EntityTableProps['tableVariant'];
15
+ columnsVariant: EntityTableProps['columnsVariant'];
10
16
  headingsExist: boolean;
17
+ classes?: MobileRowClasses;
11
18
  }
12
- export declare const MobileRow: ({ row, tableVariant, columnsVariant, headingsExist }: MobileRowProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const MobileRow: ({ row, tableVariant, columnsVariant, headingsExist, classes }: MobileRowProps) => import("react/jsx-runtime").JSX.Element;
13
20
  export {};
@@ -1,9 +1,19 @@
1
- import { EntityTable } from '../../../../model';
1
+ import { EntityTableProps } from '../Table';
2
+ import { DesktopHeadingClasses } from './DesktopHeadings';
3
+ import { DesktopRowClasses } from './DesktopRow';
4
+ import { MobileRowClasses } from './MobileRow';
5
+ export type TableBodyClasses = {
6
+ wrapper?: string;
7
+ desktopHeading: DesktopHeadingClasses;
8
+ desktopRow?: DesktopRowClasses;
9
+ mobileRow?: MobileRowClasses;
10
+ };
2
11
  interface TableBodyProps {
3
- tableVariant: EntityTable['tableVariant'];
4
- rows: EntityTable['rows'];
5
- headings?: EntityTable['headings'];
6
- columnsVariant: EntityTable['columnsVariant'];
12
+ tableVariant: EntityTableProps['tableVariant'];
13
+ rows: EntityTableProps['rows'];
14
+ headings?: EntityTableProps['headings'];
15
+ columnsVariant: EntityTableProps['columnsVariant'];
16
+ classes?: TableBodyClasses;
7
17
  }
8
- export declare const TableBody: ({ tableVariant, rows, headings, columnsVariant }: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const TableBody: ({ tableVariant, rows, headings, columnsVariant, classes }: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
9
19
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scbt-ecom/ui",
3
- "version": "0.57.0",
3
+ "version": "0.59.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {