@cloudwick/astral-ui 2.1.0 → 2.2.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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  UI Library for Cloudwick
4
4
 
5
- Version - 2.1.0
5
+ Version - 2.2.0
6
6
 
7
7
  ## Installation
8
8
 
@@ -27,7 +27,7 @@ export declare const iconList: {
27
27
  readonly appFlow: "app-flow";
28
28
  readonly appManagement: "app-management";
29
29
  readonly appNavigator: "app-navigator";
30
- readonly approve: "approve";
30
+ readonly checkMark: "check-mark";
31
31
  readonly apps: "apps";
32
32
  readonly arrowTurnLeft: "arrow-turn-left";
33
33
  readonly attachment: "attachment";
@@ -64,7 +64,7 @@ export declare const iconList: {
64
64
  readonly checkCircle: "check-circle";
65
65
  readonly checkCircleFilled: "check-circle-filled";
66
66
  readonly circle: "circle";
67
- readonly circleOutline: "circle-outline";
67
+ readonly circleFilled: "circle-filled";
68
68
  readonly clone: "clone";
69
69
  readonly code: "code";
70
70
  readonly codeCog: "code-cog";
@@ -82,6 +82,7 @@ export declare const iconList: {
82
82
  readonly databaseMaintenance: "database-maintenance";
83
83
  readonly dataClassifications: "data-classifications";
84
84
  readonly dataLake: "data-lake";
85
+ readonly dataPipeline: "data-pipeline";
85
86
  readonly dataset: "dataset";
86
87
  readonly dataView: "data-view";
87
88
  readonly dataWarehouse: "data-warehouse";
@@ -93,6 +94,7 @@ export declare const iconList: {
93
94
  readonly domains: "domains";
94
95
  readonly doubleCheck: "double-check";
95
96
  readonly downArrow: "down-arrow";
97
+ readonly downArrowLong: "down-arrow-long";
96
98
  readonly download: "download";
97
99
  readonly drag: "drag";
98
100
  readonly edit: "edit";
@@ -101,6 +103,7 @@ export declare const iconList: {
101
103
  readonly email: "email";
102
104
  readonly entityRecognizer: "entity-recognizer";
103
105
  readonly etl: "etl";
106
+ readonly etlJobSetting: "etl-job-setting";
104
107
  readonly etlLibrary: "etl-library";
105
108
  readonly exclamationCircle: "exclamation-circle";
106
109
  readonly execute: "execute";
@@ -118,8 +121,10 @@ export declare const iconList: {
118
121
  readonly fileInfo: "file-info";
119
122
  readonly fileloadValidate: "fileload-validate";
120
123
  readonly fileLog: "file-log";
124
+ readonly fileSearch: "file-search";
121
125
  readonly fileSuccess: "file-success";
122
126
  readonly fileSync: "file-sync";
127
+ readonly fileVerified: "file-verified";
123
128
  readonly fileWarning: "file-warning";
124
129
  readonly filter: "filter";
125
130
  readonly filterFunnel: "filter-funnel";
@@ -144,14 +149,16 @@ export declare const iconList: {
144
149
  readonly ingestion: "ingestion";
145
150
  readonly insights: "insights";
146
151
  readonly key: "key";
147
- readonly language: "language";
148
152
  readonly leftArrow: "left-arrow";
149
153
  readonly leftArrowLong: "left-arrow-long";
150
154
  readonly licenseInfo: "license-info";
151
155
  readonly lineage: "lineage";
152
156
  readonly link: "link";
157
+ readonly listSearch: "list-search";
153
158
  readonly listView: "list-view";
154
159
  readonly lock: "lock";
160
+ readonly logout: "logout";
161
+ readonly mailOpen: "mail-open";
155
162
  readonly mailServer: "mail-server";
156
163
  readonly management: "management";
157
164
  readonly managementRole: "management-role";
@@ -177,13 +184,16 @@ export declare const iconList: {
177
184
  readonly parametersStore: "parameters-store";
178
185
  readonly password: "password";
179
186
  readonly pause: "pause";
187
+ readonly pauseFilled: "pause-filled";
180
188
  readonly payload: "payload";
181
189
  readonly pencil: "pencil";
182
190
  readonly pipeline: "pipeline";
191
+ readonly play: "play";
192
+ readonly playFilled: "play-filled";
183
193
  readonly postgres: "postgres";
184
- readonly profile: "profile";
185
194
  readonly qrCode: "qr-code";
186
195
  readonly queryEngine: "query-engine";
196
+ readonly reload: "reload";
187
197
  readonly removeUser: "remove-user";
188
198
  readonly repair: "repair";
189
199
  readonly restart: "restart";
@@ -214,6 +224,8 @@ export declare const iconList: {
214
224
  readonly spinner: "spinner";
215
225
  readonly sqlServer: "sql-server";
216
226
  readonly statistic: "statistic";
227
+ readonly stop: "stop";
228
+ readonly stopFilled: "stop-filled";
217
229
  readonly stream: "stream";
218
230
  readonly switchRole: "switch-role";
219
231
  readonly sync: "sync";
@@ -230,12 +242,15 @@ export declare const iconList: {
230
242
  readonly time: "time";
231
243
  readonly timesCircle: "times-circle";
232
244
  readonly timesCircleFilled: "times-circle-filled";
245
+ readonly translate: "translate";
233
246
  readonly tree: "tree";
234
247
  readonly upArrow: "up-arrow";
248
+ readonly upArrowLong: "up-arrow-long";
235
249
  readonly upload: "upload";
236
250
  readonly usageByService: "usage-by-service";
237
251
  readonly user: "user";
238
252
  readonly userAgreements: "user-agreements";
253
+ readonly username: "username";
239
254
  readonly video: "video";
240
255
  readonly vMenu: "v-menu";
241
256
  readonly vMenuFilled: "v-menu-filled";
@@ -243,11 +258,6 @@ export declare const iconList: {
243
258
  readonly workflow: "workflow";
244
259
  readonly zoomIn: "zoom-in";
245
260
  readonly zoomOut: "zoom-out";
246
- readonly username: "username";
247
- readonly logout: "logout";
248
- readonly reload: "reload";
249
- readonly downArrowLong: "down-arrow-long";
250
- readonly upArrowLong: "up-arrow-long";
251
261
  };
252
262
  export type IconType = (typeof iconList)[keyof typeof iconList];
253
263
  export declare const icons: {
@@ -11,7 +11,7 @@ export interface IBadgeProps extends HTMLAttributes<HTMLDivElement> {
11
11
  * Variants for the badge
12
12
  * @default filled
13
13
  */
14
- variant?: "filled" | "outline" | "text";
14
+ variant?: "filled" | "outline" | "text" | "ghost";
15
15
  /**
16
16
  * Color of the Badge to be rendered
17
17
  * @default primary
@@ -7,7 +7,7 @@ export declare const basicFilters: ({
7
7
  id: string;
8
8
  title: string;
9
9
  placeholder: string;
10
- icon: "profile";
10
+ icon: "user";
11
11
  } | {
12
12
  options: {
13
13
  label: number;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- import { CellContext, OnChangeFn, type SortingState, type ColumnHelper, type SortingFnOption } from "@tanstack/react-table";
2
+ import { CellContext, OnChangeFn, type SortingState, type SortingFnOption } from "@tanstack/react-table";
3
3
  import { type Props as ISelectProps } from "../select";
4
4
  import { type IconType } from "../adpIcon";
5
5
  export type IColumn = {
@@ -26,7 +26,7 @@ interface AdvancedFilterItem extends FilterItem {
26
26
  subTitle?: string;
27
27
  }
28
28
  interface IPaginationProps {
29
- onPageSizeChange?: (args: number) => number;
29
+ onPageSizeChange?: (args: number) => void;
30
30
  onPageChange?: (args: number) => void;
31
31
  totalRecords?: number;
32
32
  offset?: number;
@@ -142,6 +142,5 @@ interface ITableProps<T> {
142
142
  */
143
143
  customCTAs?: ReactNode;
144
144
  }
145
- export declare const deriveConfiguredColumns: (rawColumns: IColumn[], selectable: boolean, columnHelper: ColumnHelper<any>) => import("@tanstack/react-table").AccessorKeyColumnDef<any, any>[];
146
145
  export declare const DataTable: <T extends object>({ advancedFilters, basicFilters, className, columns, data, filters, loading, paginationProps, resizable, selectable, setFilters, sorting, columnVirtualization, rowVirtualization, setSorting, onRefresh, onRowSelection, height, pageSizeOptions, customCTAs }: ITableProps<T>) => ReactNode;
147
146
  export default DataTable;
@@ -0,0 +1,3 @@
1
+ import { ColumnHelper } from "@tanstack/react-table";
2
+ import { IColumn } from ".";
3
+ export declare const deriveConfiguredColumns: (rawColumns: IColumn[], selectable: boolean, columnHelper: ColumnHelper<any>) => import("@tanstack/react-table").AccessorKeyColumnDef<any, any>[];
@@ -51,7 +51,7 @@ export interface Props {
51
51
  /**
52
52
  * Additional information or guidance displayed below the text field.
53
53
  */
54
- helperText?: string;
54
+ helperText?: ReactNode;
55
55
  /**
56
56
  * Error state for showing error message.
57
57
  */
@@ -22,7 +22,7 @@ export interface Props extends Omit<React.ComponentPropsWithoutRef<"input">, "cs
22
22
  /**
23
23
  * Additional information or guidance displayed below the text field.
24
24
  */
25
- helperText?: string | ReactNode;
25
+ helperText?: ReactNode;
26
26
  /**
27
27
  * Pass a boolean value to indicate if the text field is in an error state.
28
28
  */