@trackunit/react-components 0.1.76 → 0.1.78
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 +1 -1
- package/index.cjs +116 -1278
- package/index.css +0 -260
- package/index.js +118 -1241
- package/package.json +4 -7
- package/src/components/index.d.ts +0 -24
- package/src/components/ActionButton/ActionButton.d.ts +0 -27
- package/src/components/ActionButton/index.d.ts +0 -1
- package/src/components/BaseInput/BaseInput.d.ts +0 -62
- package/src/components/BaseInput/index.d.ts +0 -1
- package/src/components/Checkbox/CheckIcon.d.ts +0 -12
- package/src/components/Checkbox/Checkbox.d.ts +0 -48
- package/src/components/Checkbox/IndeterminateIcon.d.ts +0 -10
- package/src/components/Checkbox/index.d.ts +0 -1
- package/src/components/DateField/DateField.d.ts +0 -19
- package/src/components/DateInput/DateInput.d.ts +0 -28
- package/src/components/DropZone/DropZone.d.ts +0 -34
- package/src/components/EmailField/EmailField.d.ts +0 -17
- package/src/components/EmailInput/EmailInput.d.ts +0 -13
- package/src/components/EmailInput/index.d.ts +0 -1
- package/src/components/FormGroup/FormGroup.d.ts +0 -39
- package/src/components/Label/Label.d.ts +0 -34
- package/src/components/Label/index.d.ts +0 -1
- package/src/components/NumberField/NumberField.d.ts +0 -19
- package/src/components/NumberInput/NumberInput.d.ts +0 -12
- package/src/components/PhoneField/PhoneField.d.ts +0 -28
- package/src/components/PhoneInput/CountryCodeSelect.d.ts +0 -16
- package/src/components/PhoneInput/CountryCodes.d.ts +0 -5
- package/src/components/PhoneInput/PhoneInput.d.ts +0 -25
- package/src/components/PhoneInput/index.d.ts +0 -1
- package/src/components/RadioGroup/RadioGroup.d.ts +0 -57
- package/src/components/RadioGroup/RadioGroupContext.d.ts +0 -11
- package/src/components/RadioGroup/RadioItem.d.ts +0 -23
- package/src/components/RadioGroup/index.d.ts +0 -2
- package/src/components/Search/Search.d.ts +0 -62
- package/src/components/Search/index.d.ts +0 -1
- package/src/components/Select/CreatableSelect.d.ts +0 -38
- package/src/components/Select/FieldContainer.d.ts +0 -20
- package/src/components/Select/Select.d.ts +0 -18
- package/src/components/Select/SelectMenuItem/SelectMenuItem.d.ts +0 -49
- package/src/components/Select/TagWithWidth.d.ts +0 -17
- package/src/components/Select/TagsContainer.d.ts +0 -45
- package/src/components/Select/index.d.ts +0 -7
- package/src/components/Select/shared.d.ts +0 -15
- package/src/components/Select/useCustomComponents.d.ts +0 -19
- package/src/components/Select/useCustomStyles.d.ts +0 -14
- package/src/components/Select/useSelect.d.ts +0 -143
- package/src/components/TextArea/TextArea.d.ts +0 -30
- package/src/components/TextArea/index.d.ts +0 -1
- package/src/components/TextAreaField/TextAreaField.d.ts +0 -18
- package/src/components/TextAreaField/index.d.ts +0 -1
- package/src/components/TextField/TextField.d.ts +0 -24
- package/src/components/TextField/TextLenghtIndicator.d.ts +0 -19
- package/src/components/TextField/index.d.ts +0 -1
- package/src/components/TextInput/TextInput.d.ts +0 -12
- package/src/components/Toggle/Toggle.d.ts +0 -57
- package/src/components/Toggle/index.d.ts +0 -1
- package/src/components/UploadField/UploadField.d.ts +0 -15
- package/src/components/UploadInput/UploadInput.d.ts +0 -33
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Toggle";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormGroupProps } from "../FormGroup/FormGroup";
|
|
3
|
-
import { UploadInputProps } from "../UploadInput/UploadInput";
|
|
4
|
-
type FormGroupExposedProps = Pick<FormGroupProps, "label" | "tip" | "helpText" | "helpAddon">;
|
|
5
|
-
export interface UploadFieldProps extends UploadInputProps, FormGroupExposedProps {
|
|
6
|
-
/**
|
|
7
|
-
* If a value is set, the field is rendered in its invalid state.
|
|
8
|
-
*/
|
|
9
|
-
errorMessage?: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Upload fields enable the user to upload Files.
|
|
13
|
-
*/
|
|
14
|
-
export declare const UploadField: import("react").ForwardRefExoticComponent<UploadFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
15
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CommonProps } from "../../common";
|
|
3
|
-
import { BaseInputProps } from "../BaseInput";
|
|
4
|
-
type BaseInputExposedProps = Omit<BaseInputProps, "type" | "suffix" | "prefix" | "addonAfter" | "addonBefore" | "actions" | "placeholder">;
|
|
5
|
-
export interface UploadInputProps extends BaseInputExposedProps, CommonProps {
|
|
6
|
-
/**
|
|
7
|
-
* A flag to disable the upload input.
|
|
8
|
-
*/
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* A string to set the file formats, for example '.pdf' or '.pdf, .jgp'.
|
|
12
|
-
*/
|
|
13
|
-
acceptedTypes?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Label for the file selector button,
|
|
16
|
-
*/
|
|
17
|
-
uploadLabel: string;
|
|
18
|
-
/**
|
|
19
|
-
* A flag to allow the upload input to accept multiple files.
|
|
20
|
-
*/
|
|
21
|
-
multipleFiles?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* A flag to disable interaction with input for example if you want to use input as a child of higher component
|
|
24
|
-
*/
|
|
25
|
-
nonInteractive?: boolean;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* A thin wrapper around the `BaseInput` component for upload input fields.
|
|
29
|
-
*
|
|
30
|
-
* NOTE: If shown with a label, please use the `UploadField` component instead.
|
|
31
|
-
*/
|
|
32
|
-
export declare const UploadInput: import("react").ForwardRefExoticComponent<UploadInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
33
|
-
export {};
|