@oliasoft-open-source/react-ui-library 7.6.0-beta-1 → 7.6.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/README.md CHANGED
@@ -320,7 +320,6 @@ This interface defines the properties for each breadcrumb link.
320
320
  | --------- | ------------------------------------------------------------ |
321
321
  | type | The type of the link (implementation-specific). | Optional |
322
322
  | label | The text displayed for the link. | Optional |
323
- | title | Muted caption rendered above the link label. | Optional |
324
323
  | url | The URL the link points to. | Optional |
325
324
  | onClick | A function to be called when the link is clicked. | Optional |
326
325
  | active | If `true`, indicates the link is the current location. | Optional |
@@ -332,7 +331,7 @@ This interface defines the properties for each breadcrumb link.
332
331
  ```jsx
333
332
  <Breadcrumb
334
333
  links={[
335
- { title: 'Section', label: 'Home', url: '/' },
334
+ { label: 'Home', url: '/' },
336
335
  { label: 'Products', url: '/products' },
337
336
  { label: 'Current Product', active: true },
338
337
  ]}
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAQ,UAAU,EAAE,MAAM,QAAQ,CAAC;AAG1C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,GAAI,kBAA0B,gBAAgB,4CAsCpE,CAAC"}
1
+ {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,UAAU,EAAE,MAAM,QAAQ,CAAC;AAG1C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,GAAI,kBAA0B,gBAAgB,4CAuBpE,CAAC"}
@@ -4,5 +4,4 @@ declare const _default: Meta;
4
4
  export default _default;
5
5
  export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IBreadcrumbProps>;
6
6
  export declare const Small: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IBreadcrumbProps>;
7
- export declare const WithTitles: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IBreadcrumbProps>;
8
7
  //# sourceMappingURL=breadcrumb.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/breadcrumb.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAc,gBAAgB,EAAE,MAAM,cAAc,CAAC;wBA+BvD,IAAI;AA7BT,wBA6BU;AAIV,eAAO,MAAM,OAAO,oHAAoB,CAAC;AAEzC,eAAO,MAAM,KAAK,oHAAoB,CAAC;AAGvC,eAAO,MAAM,UAAU,oHAAoB,CAAC"}
1
+ {"version":3,"file":"breadcrumb.stories.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/breadcrumb.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAc,gBAAgB,EAAE,MAAM,cAAc,CAAC;wBA+BvD,IAAI;AA7BT,wBA6BU;AAIV,eAAO,MAAM,OAAO,oHAAoB,CAAC;AAEzC,eAAO,MAAM,KAAK,oHAAoB,CAAC"}
@@ -9,7 +9,6 @@ export interface ILinkProps {
9
9
  active?: boolean;
10
10
  disabled?: boolean;
11
11
  element?: ReactNode;
12
- title?: string;
13
12
  }
14
- export declare const Link: ({ type, label, url, onClick, active, disabled, element, title, }: ILinkProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Link: ({ type, label, url, onClick, active, disabled, element, }: ILinkProps) => import("react/jsx-runtime").JSX.Element;
15
14
  //# sourceMappingURL=link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/link.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA8B,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAG5E,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAElE,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;IACpC,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,IAAI,GAAI,kEASlB,UAAU,4CAuBZ,CAAC"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/link.tsx"],"names":[],"mappings":"AAAA,OAAc,EAA8B,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAG5E,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAElE,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,mBAAmB,GAAG,MAAM,CAAC;IACpC,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,eAAO,MAAM,IAAI,GAAI,2DAQlB,UAAU,4CAcZ,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { TRowType, TRowsType } from '../table/table.viewdata';
2
+ /**
3
+ * Returns the identity key for a row (first cell value, stringified).
4
+ */
5
+ export declare const getRowKey: (row: TRowType) => string;
6
+ /**
7
+ * Merges current rows with compareRows and annotates cells for diff highlighting.
8
+ * Identity is the first cell value. Deleted compare rows are inserted before their
9
+ * next still-present successor from compareRows (or appended if none).
10
+ */
11
+ export declare const buildDiffRows: (rows?: TRowsType, compareRows?: TRowsType) => TRowsType;
12
+ //# sourceMappingURL=build-diff-rows.d.ts.map
@@ -0,0 +1 @@
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;AAwBtE;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,KAAK,QAAQ,KAAG,MAMzC,CAAC;AA6BF;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,OAAM,SAAc,EAAE,cAAa,SAAc,KAAG,SA2DjF,CAAC"}
@@ -0,0 +1,8 @@
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
+ export declare const DiffTable: ({ table, compareRows, ...rest }: IDiffTableProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=diff-table.d.ts.map
@@ -0,0 +1 @@
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,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;IACjE,KAAK,EAAE,gBAAgB,CAAC;IACxB,WAAW,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,SAAS,GAAI,iCAAiC,eAAe,4CAazE,CAAC"}
@@ -0,0 +1,24 @@
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
+ * Changing the first cell value changes the row identity, so the diff shows
9
+ * a deleted row and an added row — not amber cell highlights.
10
+ */
11
+ export declare const GotchaKeyRename: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IDiffTableProps>;
12
+ /**
13
+ * Duplicate first-cell values in compareRows collapse to one entry (last wins).
14
+ */
15
+ export declare const GotchaDuplicateKeys: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IDiffTableProps>;
16
+ /**
17
+ * Empty or missing first-cell values all resolve to the same key ("").
18
+ */
19
+ export declare const GotchaEmptyKey: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IDiffTableProps>;
20
+ /**
21
+ * ReactNode values in the first cell stringify to "[object Object]" — unstable keys.
22
+ */
23
+ export declare const GotchaReactNodeKey: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, IDiffTableProps>;
24
+ //# sourceMappingURL=diff-table.stories.d.ts.map
@@ -0,0 +1 @@
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;AAItD,OAAO,EAAa,eAAe,EAAE,MAAM,cAAc,CAAC;wBAoDrD,IAAI;AAPT,wBAOU;AAIV,eAAO,MAAM,OAAO,mHAAoB,CAAC;AAEzC,eAAO,MAAM,SAAS,mHAAoB,CAAC;AAM3C;;;GAGG;AACH,eAAO,MAAM,eAAe,mHAAoB,CAAC;AAcjD;;GAEG;AACH,eAAO,MAAM,mBAAmB,mHAAoB,CAAC;AAiBrD;;GAEG;AACH,eAAO,MAAM,cAAc,mHAAoB,CAAC;AAwBhD;;GAEG;AACH,eAAO,MAAM,kBAAkB,mHAAoB,CAAC"}