kdpa-components 1.38.6 → 1.38.8

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,16 +1,18 @@
1
- import { ScrollBarProps } from "react-perfect-scrollbar";
2
- export type KdpaDropDownLazyProps = ScrollBarProps;
1
+ import { KdpaAutoCompleteProps } from "../Selects";
2
+ import "./kdpaLazyDrop.scss";
3
3
  interface KdpaDropDownLazyCustomProps {
4
- [x: string]: any;
5
- onSearch: (...e: any) => void;
6
- limitCharacterSearch?: number | undefined;
7
- delaySearch?: number | undefined;
4
+ [x: string]: unknown;
5
+ onSearch: (data: any, reason: any) => void;
6
+ limitCharacterSearch?: number;
7
+ delaySearch?: number;
8
8
  filter: any;
9
- setFilter: any;
10
- totalCount: any;
9
+ setFilter: (data: any) => void;
10
+ totalCount: number;
11
+ noMoreDataText?: string;
11
12
  }
13
+ export type KdpaDropDownLazyProps = KdpaDropDownLazyCustomProps & KdpaAutoCompleteProps<any>;
12
14
  declare function KdpaDropDownLazy({ onSearch, limitCharacterSearch, //character
13
15
  delaySearch, //ms
14
- filter, setFilter, totalCount, ...props }: KdpaDropDownLazyCustomProps): import("react/jsx-runtime").JSX.Element;
16
+ filter, setFilter, totalCount, noMoreDataText, ...props }: KdpaDropDownLazyProps): import("react/jsx-runtime").JSX.Element;
15
17
  export default KdpaDropDownLazy;
16
18
  //# sourceMappingURL=KdpaLazyDrop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KdpaLazyDrop.d.ts","sourceRoot":"","sources":["../../../../src/components/LazyDrop/KdpaLazyDrop.tsx"],"names":[],"mappings":"AAIA,OAAyB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG3E,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAEnD,UAAU,2BAA2B;IACnC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE,GAAG,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AE,qBAAqB,2CA+FvB;AAED,eAAe,gBAAgB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { default as KdpaLazyDrop } from "./KdpaLazyDrop";
1
+ export { default as KdpaDropDownLazy } from "./KdpaLazyDrop";
2
2
  export type { KdpaDropDownLazyProps } from "./KdpaLazyDrop";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/LazyDrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/LazyDrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC7D,YAAY,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -6,7 +6,8 @@ export interface KdStepListProps extends StepperProps {
6
6
  currentStep?: number;
7
7
  setCurrentStep?: (value: number) => void;
8
8
  clickSteps?: boolean;
9
+ showConnector?: boolean;
9
10
  }
10
- declare function KdStepList({ children, currentStep, setCurrentStep, orientation, clickSteps, ...props }: KdStepListProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function KdStepList({ children, currentStep, setCurrentStep, orientation, clickSteps, showConnector, ...props }: KdStepListProps): import("react/jsx-runtime").JSX.Element;
11
12
  export default KdStepList;
12
13
  //# sourceMappingURL=KdStepList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KdStepList.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepList/KdStepList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,mBAAmB,CAAC;AAE3B,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,iBAAS,UAAU,CAAC,EAClB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,WAA0B,EAC1B,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,eAAe,2CAwCjB;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"KdStepList.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepList/KdStepList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,mBAAmB,CAAC;AAE3B,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AACD,iBAAS,UAAU,CAAC,EAClB,QAAQ,EACR,WAAW,EACX,cAAc,EACd,WAA0B,EAC1B,UAAiB,EACjB,aAAoB,EACpB,GAAG,KAAK,EACT,EAAE,eAAe,2CA8CjB;AAED,eAAe,UAAU,CAAC"}
@@ -7,7 +7,8 @@ export interface KdStepRootProps extends HTMLAttributes<HTMLDivElement> {
7
7
  children: React.ReactNode[];
8
8
  orientation?: "vertical" | "horizontal";
9
9
  clickSteps?: boolean;
10
+ showConnector?: boolean;
10
11
  }
11
- declare function KdStepRoot({ currentStep, setCurrentStep, defaultValue, children, orientation, clickSteps, ...props }: KdStepRootProps): import("react/jsx-runtime").JSX.Element;
12
+ declare function KdStepRoot({ currentStep, setCurrentStep, defaultValue, children, orientation, clickSteps, showConnector, ...props }: KdStepRootProps): import("react/jsx-runtime").JSX.Element;
12
13
  export default KdStepRoot;
13
14
  //# sourceMappingURL=KdStepRoot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KdStepRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepRoot/KdStepRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAa,MAAM,OAAO,CAAC;AACzD,OAAO,mBAAmB,CAAC;AAC3B,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,UAAU,CAAC,EAClB,WAAW,EACX,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,WAA0B,EAC1B,UAAkB,EAClB,GAAG,KAAK,EACT,EAAE,eAAe,2CA8BjB;AAED,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"KdStepRoot.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepRoot/KdStepRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAa,MAAM,OAAO,CAAC;AACzD,OAAO,mBAAmB,CAAC;AAC3B,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,iBAAS,UAAU,CAAC,EAClB,WAAW,EACX,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,WAA0B,EAC1B,UAAkB,EAClB,aAAoB,EACpB,GAAG,KAAK,EACT,EAAE,eAAe,2CA+BjB;AAED,eAAe,UAAU,CAAC"}
@@ -1,10 +1,15 @@
1
+ /// <reference types="react" />
1
2
  import { StepLabelProps } from "@mui/material/StepLabel";
2
3
  import "./KdStepTrigger.scss";
3
4
  export interface KdStepTriggerProps extends StepLabelProps {
4
5
  index: number;
6
+ currentStep?: number;
5
7
  setCurrentStep?: (value: number) => void;
6
8
  clickSteps?: boolean;
9
+ icon?: React.ReactNode;
10
+ completedIcon?: React.ReactNode;
11
+ activeIcon?: React.ReactNode;
7
12
  }
8
- declare function KdStepTrigger({ children, index, setCurrentStep, clickSteps, ...props }: KdStepTriggerProps): import("react/jsx-runtime").JSX.Element;
13
+ declare function KdStepTrigger({ children, index, currentStep, setCurrentStep, clickSteps, icon, completedIcon, activeIcon, ...props }: KdStepTriggerProps): import("react/jsx-runtime").JSX.Element;
9
14
  export default KdStepTrigger;
10
15
  //# sourceMappingURL=KdStepTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KdStepTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepTrigger/KdStepTrigger.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAC9B,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,KAAK,EACL,cAAc,EACd,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAkBpB;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"KdStepTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Stepper/StepTrigger/KdStepTrigger.tsx"],"names":[],"mappings":";AACA,OAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,sBAAsB,CAAC;AAC9B,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,iBAAS,aAAa,CAAC,EACrB,QAAQ,EACR,KAAK,EACL,WAAe,EACf,cAAc,EACd,UAAiB,EACjB,IAAI,EACJ,aAAa,EACb,UAAU,EACV,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAkCpB;AAED,eAAe,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kdpa-components",
3
- "version": "1.38.6",
3
+ "version": "1.38.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",