@inntechcorp/it-design 2.0.162 → 2.0.164

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/dist/index.d.mts CHANGED
@@ -35,6 +35,7 @@ export { default as Input } from './input';
35
35
  export { default as TextArea } from './textarea';
36
36
  export { default as Switch } from './switch';
37
37
  export { default as Tooltip } from './tooltip';
38
+ export { default as Upload } from './upload';
38
39
  /**
39
40
  * COMPONENTS (HAS SUB COMPONENTS)
40
41
  */
@@ -50,7 +51,6 @@ export { default as Image } from './image';
50
51
  export { default as ConsoleLog } from './logger';
51
52
  export { default as Button } from './button';
52
53
  export { default as Alert } from './alert';
53
- export { default as Upload } from './upload';
54
54
  export { default as Result } from './result';
55
55
  export { default as ALink } from './alink';
56
56
  export { default as Spin } from './spin';
package/dist/index.d.ts CHANGED
@@ -508,6 +508,18 @@ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAtt
508
508
 
509
509
  declare const Tooltip: react__default.ForwardRefExoticComponent<react__default.RefAttributes<any>>;
510
510
 
511
+ /**
512
+ *
513
+ * UPLOAD
514
+ * --
515
+ *
516
+ *
517
+ *
518
+ * @returns
519
+ *
520
+ */
521
+ declare const Upload: react.ForwardRefExoticComponent<UploadProps & react.RefAttributes<ITDImperativeFuncProps>>;
522
+
511
523
  declare function Panel({ id, link, icon, title, hasOpen, useLink, onChange, children }: {
512
524
  id?: string | undefined;
513
525
  link?: string | undefined;
@@ -632,18 +644,6 @@ declare const Alert: {
632
644
  displayName: string;
633
645
  };
634
646
 
635
- /**
636
- *
637
- * UPLOAD
638
- * --
639
- *
640
- *
641
- *
642
- * @returns
643
- *
644
- */
645
- declare const Upload: react.ForwardRefExoticComponent<UploadProps & react.RefAttributes<ITDImperativeFuncProps>>;
646
-
647
647
  declare const Result: {
648
648
  ({ image, title, description, extra, footer, type, fill, autoCenter, background, animation }: ResultProps$1): react_jsx_runtime.JSX.Element;
649
649
  displayName: string;
@@ -731,7 +731,7 @@ type InputProps = {
731
731
  placeholder?: string;
732
732
  value?: string;
733
733
  defaultValue?: string;
734
- type?: string;
734
+ type?: "text" | "number" | "currency" | "password";
735
735
  className?: string;
736
736
  size?: ITDSize;
737
737
  variant?: InputVariant;
@@ -1318,6 +1318,7 @@ type TableColumnType<T> = {
1318
1318
  key: keyof T | string;
1319
1319
  title: string;
1320
1320
  dataIndex?: keyof T;
1321
+ overflow?: boolean;
1321
1322
  width?: number | string;
1322
1323
  maxWidth?: number | string;
1323
1324
  render?: (value: any, record: T, index: number, level?: number) => React.ReactNode;
@@ -1331,7 +1332,6 @@ type TableProps<T extends TableRow> = {
1331
1332
  bordered?: boolean;
1332
1333
  dashed?: boolean;
1333
1334
  noGaps?: boolean;
1334
- overflow?: boolean;
1335
1335
  hideGroupButtons?: boolean;
1336
1336
  getTRProps?: (row: T, rowIndex: number, level: number) => TableTRProps;
1337
1337
  };