@oliasoft-open-source/react-ui-library 9.2.0-beta-1 → 9.2.0-beta-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "9.2.0-beta-1",
3
+ "version": "9.2.0-beta-2",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {
@@ -1,26 +0,0 @@
1
- import { TRowType, TRowsType } from '../table/table.viewdata';
2
- export type TDiffRowStatus = 'added' | 'deleted' | 'matched';
3
- export type TDiffIndexEntry = {
4
- status: TDiffRowStatus;
5
- row: TRowType;
6
- compareRow?: TRowType;
7
- };
8
- /**
9
- * Returns the identity key for a row (`id` when set, otherwise first cell value stringified).
10
- */
11
- export declare const getRowKey: (row: TRowType) => string;
12
- /**
13
- * Builds a lightweight merge index without cloning/annotating cells.
14
- * Identity is `row.id` when set, otherwise the first cell value. Deleted compare rows
15
- * are inserted before their next still-present successor from compareRows (or appended if none).
16
- */
17
- export declare const buildDiffIndex: (rows?: TRowsType, compareRows?: TRowsType) => TDiffIndexEntry[];
18
- /**
19
- * Builds an annotated table row from a diff index entry (styles / tooltips).
20
- */
21
- export declare const buildAnnotatedRow: (entry: TDiffIndexEntry) => TRowType;
22
- /**
23
- * Merges current rows with compareRows and annotates cells for diff highlighting.
24
- */
25
- export declare const buildDiffRows: (rows?: TRowsType, compareRows?: TRowsType) => TRowsType;
26
- //# sourceMappingURL=build-diff-rows.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"build-diff-rows.d.ts","sourceRoot":"","sources":["../../../src/components/diff-table/build-diff-rows.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AActE,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7D,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,cAAc,CAAC;IACvB,GAAG,EAAE,QAAQ,CAAC;IACd,UAAU,CAAC,EAAE,QAAQ,CAAC;CACvB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,KAAK,QAAQ,KAAG,MASzC,CAAC;AA8BF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,OAAM,SAAc,EAAE,cAAa,SAAc,KAAG,eAAe,EAsDjG,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,OAAO,eAAe,KAAG,QAQ1D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,OAAM,SAAc,EAAE,cAAa,SAAc,KAAG,SAEjF,CAAC"}
@@ -1,12 +0,0 @@
1
- import { ITableProps, ITableTableProps } from '../table/table';
2
- import { TRowsType } from '../table/table.viewdata';
3
- export interface IDiffTableProps extends Omit<ITableProps, 'table'> {
4
- table: ITableTableProps;
5
- compareRows: TRowsType;
6
- }
7
- /**
8
- * Skinny wrapper around Table that highlights row/cell differences between
9
- * `table.rows` (current) and `compareRows` (previous).
10
- */
11
- export declare const DiffTable: ({ table, compareRows, beforeRenderRow: beforeRenderRowProp, ...rest }: IDiffTableProps) => import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=diff-table.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"diff-table.d.ts","sourceRoot":"","sources":["../../../src/components/diff-table/diff-table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAS,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAY,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAGtE,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;IACjE,KAAK,EAAE,gBAAgB,CAAC;IACxB,WAAW,EAAE,SAAS,CAAC;CACxB;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,uEAAuE,eAAe,4CA0B/G,CAAC"}
@@ -1,21 +0,0 @@
1
- import { Meta } from '@storybook/react-vite';
2
- import { IDiffTableProps } from './diff-table';
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IDiffTableProps>;
6
- export declare const NoChanges: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IDiffTableProps>;
7
- /**
8
- * With a stable `id`, changing the first cell is a cell modification — not delete + add.
9
- */
10
- export declare const WithRowId: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IDiffTableProps>;
11
- export declare const LargeVirtualized: {
12
- (): import("react/jsx-runtime").JSX.Element;
13
- parameters: {
14
- docs: {
15
- description: {
16
- story: string;
17
- };
18
- };
19
- };
20
- };
21
- //# sourceMappingURL=diff-table.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"diff-table.stories.d.ts","sourceRoot":"","sources":["../../../src/components/diff-table/diff-table.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AAKtD,OAAO,EAAa,eAAe,EAAE,MAAM,cAAc,CAAC;wBAqDrD,IAAI;AAPT,wBAOU;AAIV,eAAO,MAAM,OAAO,mHAAoB,CAAC;AAEzC,eAAO,MAAM,SAAS,mHAAoB,CAAC;AAM3C;;GAEG;AACH,eAAO,MAAM,SAAS,mHAAoB,CAAC;AAkB3C,eAAO,MAAM,gBAAgB;;;;;;;;;CAsG5B,CAAC"}