nectiasw 0.0.88 → 0.0.93

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.
@@ -2,17 +2,12 @@ import { default as React } from 'react';
2
2
 
3
3
  export type CheckboxIconProps = {
4
4
  status?: boolean;
5
- } & Pick<CheckboxProps, "left" | "top" | "right">;
5
+ };
6
6
  export type CheckboxProps = {
7
7
  id?: string;
8
- top?: string;
9
- left?: string;
10
- right?: string;
11
8
  name?: string;
12
9
  label?: string;
13
10
  value?: string;
14
- hidden?: boolean;
15
- filter?: boolean;
16
11
  checked?: boolean;
17
12
  disabled?: boolean;
18
13
  className?: string;
@@ -4,12 +4,3 @@ export declare const StyledCheckbox: import('styled-components/dist/types').ISty
4
4
  ref?: ((instance: HTMLInputElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLInputElement> | null | undefined;
5
5
  }>, never>, never>> & string;
6
6
  export declare const CheckboxIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react-icons/lib').IconBaseProps, CheckboxIconProps>> & string & Omit<import('react-icons/lib').IconType, keyof import('react').Component<any, {}, any>>;
7
- export declare const CheckboxIconFilter: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
8
- title?: string;
9
- titleId?: string;
10
- } & import('react').RefAttributes<SVGSVGElement>, "ref"> & {
11
- ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
12
- }, CheckboxIconProps>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('react').SVGProps<SVGSVGElement>, "ref"> & {
13
- title?: string;
14
- titleId?: string;
15
- } & import('react').RefAttributes<SVGSVGElement>>, keyof import('react').Component<any, {}, any>>;
@@ -1,7 +1,7 @@
1
1
  export type DragareaProps = {
2
2
  color?: string;
3
- width?: number | string;
4
- height?: number | string;
3
+ width?: number;
4
+ height?: number;
5
5
  filename?: string;
6
6
  message?: string;
7
7
  status?: DropStatus;
@@ -22,7 +22,6 @@ export type DragareaProps = {
22
22
  statusColors?: Partial<Record<DropStatus, string>>;
23
23
  statusBorder?: Partial<Record<DropStatus, string>>;
24
24
  renderContent?: JSX.Element;
25
- renderBelowFilename?: JSX.Element;
26
25
  statusIcons?: Partial<Record<DropStatus, React.ComponentType<any>>>;
27
26
  };
28
27
  export declare enum DropStatus {
@@ -13,7 +13,6 @@ export type Option = {
13
13
  history?: string;
14
14
  };
15
15
  export type SelectProps = {
16
- icon?: React.JSX.Element;
17
16
  disabled?: boolean;
18
17
  options?: Option[];
19
18
  devtools?: boolean;
@@ -1,13 +1,18 @@
1
1
  import { default as React } from 'react';
2
2
 
3
- export interface StepperProps {
3
+ interface StepperProps {
4
4
  steps: Step[];
5
5
  currentStep: number;
6
6
  onStepChange: (step: number) => void;
7
7
  canProceed: boolean[];
8
8
  }
9
- export interface Step {
9
+ interface Step {
10
+ id: number;
11
+ label: string;
12
+ }
13
+ interface Step {
10
14
  id: number;
11
15
  label: string;
12
16
  }
13
17
  export declare const Stepper: React.FC<StepperProps>;
18
+ export {};
@@ -84,7 +84,7 @@ export type TableStatusProps = {
84
84
  text?: TableDataProps["detailText"];
85
85
  disabled?: TableDataProps["detailDisabled"];
86
86
  variant?: ButtonProps["variant"];
87
- value: "Normal" | "Cerrado" | "Crítico" | "Por emisión OC" | "Borrador";
87
+ value: "Normal" | "Cerrado" | "Crítico" | "Por emisión OC";
88
88
  };
89
89
  export type TableColProps = {
90
90
  width?: number;
@@ -16,7 +16,6 @@ export type ContextProps = Partial<CommonSignalConnection> & {
16
16
  expanded?: boolean;
17
17
  history?: BrowserHistory;
18
18
  environment?: Record<string, string>;
19
- onClear?: () => void;
20
19
  onExpand?: (status?: boolean) => void;
21
20
  onSignal?: (signal?: CommonSignalConnection) => void;
22
21
  onAcessDenied?: (route: string) => void;
package/dist/index.d.ts CHANGED
@@ -85,7 +85,7 @@ export { createRef, initialState, resetAllStores, useSessionStore, } from './pro
85
85
  export { Permissions } from './providers/permissions';
86
86
  export type { PermissionsProps, AuthorizationProps, AuthorizationFilterArgs, AuthorizationSystemFlag, } from './providers/permissions/types';
87
87
  export { checkSystems, authorization } from './providers/permissions/utils';
88
- export { SP_Permission as SP_Grants, IN_Permission as IN_Grants } from './providers/permissions/types';
88
+ export { SP_Permission, IN_Permission } from './providers/permissions/types';
89
89
  export { MicrofrontHost } from './providers/microfront';
90
90
  export type { Wrapper, UIArguments, MicrofrontProps, WrappedComponentProps, SignalLayoutConnection, CommonSignalConnection as CommonSignal, } from './providers/microfront/types';
91
91
  export { Color } from './theme';
@@ -95,7 +95,6 @@ export type { GrantArgs, PrivateProps } from './providers/private';
95
95
  export { useCache } from './hooks/usecache';
96
96
  export { useToggle } from './hooks/usetoggle';
97
97
  export { useCheckbox } from './hooks/usecheckbox';
98
- export { useCustomEvent } from './components/Layout/hooks';
99
98
  export { defaultConfig } from './hooks/usecache/config';
100
99
  export { defaultCacheQueryOptions } from './utils/cache';
101
100
  export { sort } from './utils/sort';
@@ -114,4 +113,4 @@ export { Timeline } from './components/Timeline';
114
113
  export type { TimelineProps, TimelineDashedProps, } from './components/Timeline/types';
115
114
  export { Dragarea } from './components/Dragarea';
116
115
  export type { DragareaProps } from './components/Dragarea/types';
117
- export { Stepper, type StepperProps, type Step } from './components/Stepper';
116
+ export { Stepper } from './components/Stepper';