@codeplex-sac/ui 0.0.2 → 0.0.3

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.
Files changed (60) hide show
  1. package/index.d.ts +28 -28
  2. package/index.js +95 -95
  3. package/index.mjs +4665 -4540
  4. package/lib/alerta/alerta.d.ts +17 -0
  5. package/lib/anuncio/anuncio.d.ts +14 -0
  6. package/lib/autocompletado/autocompletado.d.ts +15 -0
  7. package/lib/avatar-usuario/avatar-usuario.d.ts +27 -0
  8. package/lib/ayuda-entrada/ayuda-entrada.d.ts +10 -0
  9. package/lib/boton/boton.d.ts +18 -0
  10. package/lib/campo-numero/campo-numero.d.ts +11 -0
  11. package/lib/campo-texto/campo-texto.d.ts +9 -0
  12. package/lib/cargando/cargando.d.ts +14 -0
  13. package/lib/casilla/casilla.d.ts +10 -0
  14. package/lib/deslizador/deslizador.d.ts +15 -0
  15. package/lib/dialogo/dialogo.d.ts +17 -0
  16. package/lib/encabezado-principal/encabezado-principal.d.ts +17 -0
  17. package/lib/esqueleto/esqueleto.d.ts +9 -0
  18. package/lib/etiqueta/etiqueta-inteligente.d.ts +9 -0
  19. package/lib/etiqueta/popup-requisitos.d.ts +6 -0
  20. package/lib/grupo-botones/grupo-botones.d.ts +8 -0
  21. package/lib/grupo-radio/grupo-radio.d.ts +18 -0
  22. package/lib/insignia/insignia.d.ts +13 -0
  23. package/lib/interruptor/interruptor.d.ts +8 -0
  24. package/lib/lista-transferencia/lista-transferencia.d.ts +15 -0
  25. package/lib/mensaje-emergente/mensaje-emergente.d.ts +15 -0
  26. package/lib/notificacion/notificacion.d.ts +20 -0
  27. package/lib/progreso/progreso.d.ts +18 -0
  28. package/lib/selector/selector.d.ts +21 -0
  29. package/lib/tarjeta/tarjeta.d.ts +15 -0
  30. package/lib/teclado/teclado.d.ts +8 -0
  31. package/lib/valoracion/valoracion.d.ts +15 -0
  32. package/package.json +1 -1
  33. package/lib/alert/alert.d.ts +0 -16
  34. package/lib/autocomplete/autocomplete.d.ts +0 -13
  35. package/lib/avatar/avatar.d.ts +0 -19
  36. package/lib/badge/badge.d.ts +0 -4
  37. package/lib/banner/banner.d.ts +0 -13
  38. package/lib/button/button.d.ts +0 -16
  39. package/lib/button-group/button-group.d.ts +0 -4
  40. package/lib/card/card.d.ts +0 -14
  41. package/lib/checkbox/checkbox.d.ts +0 -9
  42. package/lib/dialog/dialog.d.ts +0 -17
  43. package/lib/input-helper/input-helper.d.ts +0 -8
  44. package/lib/jumbotron/jumbotron.d.ts +0 -16
  45. package/lib/kbd/kbd.d.ts +0 -7
  46. package/lib/label/requirements-popup.d.ts +0 -5
  47. package/lib/label/smart-label.d.ts +0 -8
  48. package/lib/number-field/number-field.d.ts +0 -10
  49. package/lib/progress/progress.d.ts +0 -17
  50. package/lib/radio-group/radio-group.d.ts +0 -17
  51. package/lib/rating/rating.d.ts +0 -11
  52. package/lib/select/select.d.ts +0 -18
  53. package/lib/skeleton/skeleton.d.ts +0 -4
  54. package/lib/slider/slider.d.ts +0 -6
  55. package/lib/spinner/spinner.d.ts +0 -13
  56. package/lib/switch/switch.d.ts +0 -7
  57. package/lib/text-field/text-field.d.ts +0 -3
  58. package/lib/toast/toast.d.ts +0 -18
  59. package/lib/tooltip/tooltip.d.ts +0 -13
  60. package/lib/transfer-list/transfer-list.d.ts +0 -14
@@ -1,16 +0,0 @@
1
- import { default as React } from 'react';
2
- export type CodeplexJumbotronAlign = 'left' | 'center';
3
- export interface CodeplexJumbotronProps extends React.HTMLAttributes<HTMLElement> {
4
- eyebrow?: string;
5
- title: string;
6
- subtitle?: string;
7
- align?: CodeplexJumbotronAlign;
8
- primaryLabel?: string;
9
- secondaryLabel?: string;
10
- onPrimary?: () => void;
11
- onSecondary?: () => void;
12
- fullHeight?: boolean;
13
- backgroundImageUrl?: string;
14
- darkOverlay?: boolean;
15
- }
16
- export declare const CodeplexJumbotron: ({ eyebrow, title, subtitle, align, primaryLabel, secondaryLabel, onPrimary, onSecondary, fullHeight, backgroundImageUrl, darkOverlay, className, children, ...props }: CodeplexJumbotronProps) => import("react/jsx-runtime").JSX.Element;
package/lib/kbd/kbd.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- export type CodeplexKbdSize = 'sm' | 'md' | 'lg';
3
- export interface CodeplexKbdProps extends React.HTMLAttributes<HTMLElement> {
4
- keys?: string[];
5
- size?: CodeplexKbdSize;
6
- }
7
- export declare const CodeplexKbd: ({ keys, size, className, children, ...props }: CodeplexKbdProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export interface CodeplexRequirementsPopupProps {
2
- requirements: string[];
3
- className?: string;
4
- }
5
- export declare const CodeplexRequirementsPopup: ({ requirements, className, }: CodeplexRequirementsPopupProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface CodeplexSmartLabelProps extends React.HTMLAttributes<HTMLDivElement> {
3
- htmlFor?: string;
4
- label: string;
5
- required?: boolean;
6
- requirements?: string[];
7
- }
8
- export declare const CodeplexSmartLabel: ({ htmlFor, label, required, requirements, className, children, ...props }: CodeplexSmartLabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { TextFieldProps } from '@mui/material/TextField';
2
- export interface CodeplexNumberFieldProps extends Omit<TextFieldProps, 'onChange'> {
3
- min?: number;
4
- max?: number;
5
- step?: number;
6
- value?: number;
7
- defaultValue?: number;
8
- onChange?: (value: number | null) => void;
9
- }
10
- export declare const CodeplexNumberField: ({ min, max, step, value: controlledValue, defaultValue, onChange, InputProps, disabled, ...props }: CodeplexNumberFieldProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import { LinearProgressProps } from '@mui/material/LinearProgress';
2
- export type CodeplexProgressVariant = 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
3
- export type CodeplexProgressSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
- export interface CodeplexProgressProps extends Omit<LinearProgressProps, 'variant' | 'color'> {
5
- value?: number;
6
- max?: number;
7
- label?: string;
8
- showPercentage?: boolean;
9
- labelInside?: boolean;
10
- indeterminate?: boolean;
11
- size?: CodeplexProgressSize;
12
- variant?: CodeplexProgressVariant;
13
- color?: LinearProgressProps['color'];
14
- striped?: boolean;
15
- animated?: boolean;
16
- }
17
- export declare const CodeplexProgress: ({ value, max, label, showPercentage, labelInside, indeterminate, size, variant, color, striped, animated, className, sx, ...props }: CodeplexProgressProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import { default as React } from 'react';
2
- import { RadioProps } from '@mui/material/Radio';
3
- import { RadioGroupProps } from '@mui/material/RadioGroup';
4
- export interface CodeplexRadioProps extends RadioProps {
5
- label?: string;
6
- labelPlacement?: 'end' | 'start' | 'top' | 'bottom';
7
- }
8
- export declare const CodeplexRadio: React.ForwardRefExoticComponent<Omit<CodeplexRadioProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
- export interface CodeplexRadioGroupProps extends RadioGroupProps {
10
- label?: string;
11
- options?: Array<{
12
- value: string;
13
- label: string;
14
- disabled?: boolean;
15
- }>;
16
- }
17
- export declare const CodeplexRadioGroup: ({ label, options, children, ...props }: CodeplexRadioGroupProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- import { RatingProps } from '@mui/material/Rating';
2
- export type CodeplexRatingSize = 'small' | 'medium' | 'large';
3
- export type CodeplexRatingVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
4
- export interface CodeplexRatingProps extends Omit<RatingProps, 'onChange'> {
5
- value?: number;
6
- showValue?: boolean;
7
- tooltips?: string[];
8
- variant?: CodeplexRatingVariant;
9
- onChange?: (value: number | null) => void;
10
- }
11
- export declare const CodeplexRating: ({ value, max, readOnly, size, variant, showValue, tooltips, className, onChange, ...props }: CodeplexRatingProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { SelectProps } from '@mui/material/Select';
3
- import { default as MenuItem } from '@mui/material/MenuItem';
4
- export interface CodeplexSelectOption {
5
- value: string | number;
6
- label: string;
7
- disabled?: boolean;
8
- }
9
- export interface CodeplexSelectProps extends Omit<SelectProps, 'renderValue'> {
10
- label?: string;
11
- options?: CodeplexSelectOption[];
12
- helperText?: ReactNode;
13
- placeholder?: string;
14
- renderValue?: (value: any) => ReactNode;
15
- }
16
- export declare const CodeplexSelect: ({ label, value, onChange, options, multiple, helperText, error, disabled, required, placeholder, variant, displayEmpty, renderValue, children, sx, ...props }: CodeplexSelectProps) => import("react/jsx-runtime").JSX.Element;
17
- export { MenuItem as CodeplexMenuItem };
18
- export { default as CodeplexListSubheader } from '@mui/material/ListSubheader';
@@ -1,4 +0,0 @@
1
- import { SkeletonProps } from '@mui/material/Skeleton';
2
- export interface CodeplexSkeletonProps extends SkeletonProps {
3
- }
4
- export declare const CodeplexSkeleton: ({ variant, animation, ...props }: CodeplexSkeletonProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- import { SliderProps } from '@mui/material/Slider';
2
- export interface CodeplexSliderProps extends SliderProps {
3
- label?: string;
4
- helperText?: string;
5
- }
6
- export declare const CodeplexSlider: ({ label, helperText, className, sx, ...props }: CodeplexSliderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- import { CircularProgressProps } from '@mui/material/CircularProgress';
2
- export type CodeplexSpinnerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
- export type CodeplexSpinnerColor = 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'white' | 'gray';
4
- export type CodeplexSpinnerType = 'border' | 'dots' | 'ping';
5
- export interface CodeplexSpinnerProps extends Omit<CircularProgressProps, 'size' | 'color'> {
6
- size?: CodeplexSpinnerSize | number;
7
- color?: CodeplexSpinnerColor;
8
- type?: CodeplexSpinnerType;
9
- label?: string;
10
- labelPosition?: 'right' | 'bottom';
11
- fullScreen?: boolean;
12
- }
13
- export declare const CodeplexSpinner: ({ size, color, type, label, labelPosition, fullScreen, className, sx, ...props }: CodeplexSpinnerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { SwitchProps } from '@mui/material/Switch';
2
- export interface CodeplexSwitchProps extends Omit<SwitchProps, 'size'> {
3
- label?: string;
4
- labelPlacement?: 'end' | 'start' | 'top' | 'bottom';
5
- size?: 'small' | 'medium';
6
- }
7
- export declare const CodeplexSwitch: ({ label, labelPlacement, size, sx, ...props }: CodeplexSwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +0,0 @@
1
- import { TextFieldProps } from '@mui/material/TextField';
2
- export type CodeplexTextFieldProps = TextFieldProps;
3
- export declare const CodeplexTextField: (props: CodeplexTextFieldProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,18 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SnackbarProps } from '@mui/material/Snackbar';
3
- import { AlertProps } from '@mui/material/Alert';
4
- export type CodeplexToastVariant = 'info' | 'success' | 'warning' | 'error';
5
- export type CodeplexToastPosition = 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
6
- export interface CodeplexToastProps extends Omit<SnackbarProps, 'open' | 'onClose' | 'anchorOrigin'> {
7
- open: boolean;
8
- variant?: CodeplexToastVariant;
9
- title?: string;
10
- subtitle?: string;
11
- position?: CodeplexToastPosition;
12
- showIcon?: boolean;
13
- dismissible?: boolean;
14
- duration?: number | null;
15
- onClose?: (event?: React.SyntheticEvent | Event, reason?: string) => void;
16
- alertProps?: AlertProps;
17
- }
18
- export declare const CodeplexToast: ({ open, variant, title, subtitle, position, showIcon, dismissible, duration, onClose, alertProps, children, ...props }: CodeplexToastProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- import { default as React } from 'react';
2
- export type CodeplexTooltipSide = 'top' | 'bottom' | 'left' | 'right';
3
- export interface CodeplexTooltipProps {
4
- content: React.ReactNode;
5
- side?: CodeplexTooltipSide;
6
- delayMs?: number;
7
- arrow?: boolean;
8
- disabled?: boolean;
9
- className?: string;
10
- onOpenChange?: (open: boolean) => void;
11
- children: React.ReactNode;
12
- }
13
- export declare const CodeplexTooltip: ({ content, side, delayMs, arrow, disabled, className, onOpenChange, children, }: CodeplexTooltipProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,14 +0,0 @@
1
- export interface TransferListItem {
2
- id: string | number;
3
- label: string;
4
- disabled?: boolean;
5
- }
6
- export interface CodeplexTransferListProps {
7
- left: TransferListItem[];
8
- right: TransferListItem[];
9
- onChange: (left: TransferListItem[], right: TransferListItem[]) => void;
10
- leftTitle?: string;
11
- rightTitle?: string;
12
- height?: number | string;
13
- }
14
- export declare const CodeplexTransferList: ({ left, right, onChange, leftTitle, rightTitle, height }: CodeplexTransferListProps) => import("react/jsx-runtime").JSX.Element;