ods-component-lib 1.18.98 → 1.18.99

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.
@@ -1,42 +1,39 @@
1
1
  /// <reference types="react" />
2
2
  declare const _default: {
3
3
  title: string;
4
- component: import("react").FC<import("../../components/antd/modal/OdsAdvanceModal").ICustomModalProps>;
4
+ component: (props: import("react").PropsWithChildren<import("../../components/filter/OdsFilter").FilterProps>) => import("react").JSX.Element;
5
5
  tags: string[];
6
6
  argTypes: {
7
- centered: {
8
- options: boolean[];
7
+ title: {
9
8
  description: string;
10
9
  };
11
- title: {
10
+ filterRow: {
12
11
  description: string;
13
12
  };
14
- closable: {
15
- options: boolean[];
13
+ advancedFilterRow: {
16
14
  description: string;
17
15
  };
18
- content: {
16
+ tabs: {
19
17
  description: string;
20
18
  };
21
- width: {
19
+ buttonAdvancedSearchName: {
22
20
  description: string;
23
21
  };
24
- open: {
25
- options: string[];
22
+ buttonClearAllName: {
26
23
  description: string;
27
24
  };
28
- onCancel: {
29
- action: string;
25
+ buttonApplyName: {
30
26
  description: string;
31
27
  };
32
- onOk: {
33
- action: string;
28
+ filterTag: {
34
29
  description: string;
35
30
  };
36
31
  };
37
32
  parameters: {
38
- controls: {};
33
+ controls: {
34
+ exclude: string[];
35
+ };
39
36
  };
40
37
  };
41
38
  export default _default;
42
- export declare const BasicOdsAdvanceModal: any;
39
+ export declare const Filter: any;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ export declare const OdsFilterSampleTemplate: any;
3
+ declare const _default: {
4
+ title: string;
5
+ component: ({ title, buttonClearAllName, buttonAdvancedSearchName, buttonApplyName }: {
6
+ title: any;
7
+ buttonClearAllName: any;
8
+ buttonAdvancedSearchName: any;
9
+ buttonApplyName: any;
10
+ }) => React.JSX.Element;
11
+ };
12
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ods-component-lib",
3
- "version": "1.18.98",
3
+ "version": "1.18.99",
4
4
  "description": "Odeon design system component lib",
5
5
  "author": "OdeonTechnology",
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "jspdf": "^2.5.1",
45
45
  "microbundle-crl": "^0.13.11",
46
46
  "moment": "^2.29.4",
47
- "ods-icon": "^1.0.16",
47
+ "ods-icon": "^1.0.17",
48
48
  "react": "^18.2.0",
49
49
  "react-fast-marquee": "^1.6.0",
50
50
  "react-loading-overlay-ts": "^2.0.2",
@@ -1,7 +0,0 @@
1
- import { ModalProps } from "antd";
2
- import React from "react";
3
- export interface ICustomModalProps extends ModalProps {
4
- content: React.ReactNode;
5
- }
6
- declare const OdsAdvanceModal: React.FC<ICustomModalProps>;
7
- export default OdsAdvanceModal;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import { ICustomModalProps } from "../../../components/antd/modal/OdsAdvanceModal";
3
- declare const _default: {
4
- title: string;
5
- component: React.FC<ICustomModalProps>;
6
- };
7
- export default _default;
8
- export declare const BasicOdsAdvanceModalTemplate: any;
@@ -1 +0,0 @@
1
- export declare const BasicModal: any;
@@ -1,15 +0,0 @@
1
- import PivotGrid from 'devextreme-react/pivot-grid';
2
- import 'devextreme/dist/css/dx.light.css';
3
- declare const _default: {
4
- title: string;
5
- component: typeof PivotGrid;
6
- tags: string[];
7
- argTypes: {};
8
- parameters: {
9
- controls: {
10
- exclude: any[];
11
- };
12
- };
13
- };
14
- export default _default;
15
- export declare const Basic: any;
@@ -1,2 +0,0 @@
1
- import PivotGridDataSource from "devextreme/ui/pivot_grid/data_source";
2
- export declare const dataSource: PivotGridDataSource;
@@ -1,7 +0,0 @@
1
- export declare const MockData: {
2
- airport: string;
3
- weeklyCapacity: number;
4
- city: string;
5
- availableCapacityRatio: number;
6
- availableCapacity: number;
7
- }[];
@@ -1 +0,0 @@
1
- export declare const BasicPivotGridTemplate: any;
@@ -1,2 +0,0 @@
1
- import React from 'react';
2
- export declare const TimeRangePickerTemplate: () => React.JSX.Element;