@canonical/react-ds-global-form 0.29.0 → 0.29.1
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/esm/lib/common/Wrapper/InvisibleWrapper.js +2 -0
- package/dist/esm/lib/common/Wrapper/InvisibleWrapper.js.map +1 -1
- package/dist/esm/lib/common/Wrapper/Wrapper.js +2 -0
- package/dist/esm/lib/common/Wrapper/Wrapper.js.map +1 -1
- package/dist/esm/lib/component/CheckboxField/CheckboxField.js +2 -0
- package/dist/esm/lib/component/CheckboxField/CheckboxField.js.map +1 -1
- package/dist/esm/lib/component/ChoicesField/Choices.js +2 -0
- package/dist/esm/lib/component/ChoicesField/Choices.js.map +1 -1
- package/dist/esm/lib/component/ChoicesField/ChoicesField.js +2 -0
- package/dist/esm/lib/component/ChoicesField/ChoicesField.js.map +1 -1
- package/dist/esm/lib/component/ComboboxField/ComboboxField.js +2 -0
- package/dist/esm/lib/component/ComboboxField/ComboboxField.js.map +1 -1
- package/dist/esm/lib/component/DateField/DateField.js +2 -0
- package/dist/esm/lib/component/DateField/DateField.js.map +1 -1
- package/dist/esm/lib/component/DateTimeField/DateTimeField.js +2 -0
- package/dist/esm/lib/component/DateTimeField/DateTimeField.js.map +1 -1
- package/dist/esm/lib/component/FileUploadField/FileUploadField.js +2 -0
- package/dist/esm/lib/component/FileUploadField/FileUploadField.js.map +1 -1
- package/dist/esm/lib/component/HiddenField/HiddenField.js +2 -0
- package/dist/esm/lib/component/HiddenField/HiddenField.js.map +1 -1
- package/dist/esm/lib/component/NumberField/NumberField.js +2 -0
- package/dist/esm/lib/component/NumberField/NumberField.js.map +1 -1
- package/dist/esm/lib/component/PasswordField/PasswordField.js +2 -0
- package/dist/esm/lib/component/PasswordField/PasswordField.js.map +1 -1
- package/dist/esm/lib/component/PhoneField/PhoneField.js +2 -0
- package/dist/esm/lib/component/PhoneField/PhoneField.js.map +1 -1
- package/dist/esm/lib/component/RangeField/RangeField.js +2 -0
- package/dist/esm/lib/component/RangeField/RangeField.js.map +1 -1
- package/dist/esm/lib/component/RangeField/common/RangeControl/RangeControl.js +2 -0
- package/dist/esm/lib/component/RangeField/common/RangeControl/RangeControl.js.map +1 -1
- package/dist/esm/lib/component/RichChoicesField/RichChoices.js +2 -0
- package/dist/esm/lib/component/RichChoicesField/RichChoices.js.map +1 -1
- package/dist/esm/lib/component/RichChoicesField/RichChoicesField.js +2 -0
- package/dist/esm/lib/component/RichChoicesField/RichChoicesField.js.map +1 -1
- package/dist/esm/lib/component/SelectField/SelectField.js +2 -0
- package/dist/esm/lib/component/SelectField/SelectField.js.map +1 -1
- package/dist/esm/lib/component/TextField/TextField.js +2 -0
- package/dist/esm/lib/component/TextField/TextField.js.map +1 -1
- package/dist/esm/lib/component/TextareaField/TextareaField.js +2 -0
- package/dist/esm/lib/component/TextareaField/TextareaField.js.map +1 -1
- package/dist/esm/lib/component/TimeField/TimeField.js +2 -0
- package/dist/esm/lib/component/TimeField/TimeField.js.map +1 -1
- package/dist/esm/lib/pattern/Field/Field.js +2 -0
- package/dist/esm/lib/pattern/Field/Field.js.map +1 -1
- package/dist/esm/lib/pattern/Form/Form.js +2 -0
- package/dist/esm/lib/pattern/Form/Form.js.map +1 -1
- package/dist/esm/lib/subcomponent/CheckboxInput/CheckboxInput.js +2 -0
- package/dist/esm/lib/subcomponent/CheckboxInput/CheckboxInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/ComboboxInput/ComboboxInput.js +2 -0
- package/dist/esm/lib/subcomponent/ComboboxInput/ComboboxInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/ComboboxInput/MultipleCombobox.js +2 -0
- package/dist/esm/lib/subcomponent/ComboboxInput/MultipleCombobox.js.map +1 -1
- package/dist/esm/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.js +2 -0
- package/dist/esm/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.js.map +1 -1
- package/dist/esm/lib/subcomponent/DateInput/DateInput.js +2 -0
- package/dist/esm/lib/subcomponent/DateInput/DateInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/DateTimeInput/DateTimeInput.js +2 -0
- package/dist/esm/lib/subcomponent/DateTimeInput/DateTimeInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/Field/Description/Description.js +2 -0
- package/dist/esm/lib/subcomponent/Field/Description/Description.js.map +1 -1
- package/dist/esm/lib/subcomponent/Field/Error/Error.js +2 -0
- package/dist/esm/lib/subcomponent/Field/Error/Error.js.map +1 -1
- package/dist/esm/lib/subcomponent/Field/Label/Label.js +2 -0
- package/dist/esm/lib/subcomponent/Field/Label/Label.js.map +1 -1
- package/dist/esm/lib/subcomponent/FileUploadInput/FileUploadInput.js +2 -0
- package/dist/esm/lib/subcomponent/FileUploadInput/FileUploadInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/HiddenInput/HiddenInput.js +2 -0
- package/dist/esm/lib/subcomponent/HiddenInput/HiddenInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/NumberInput/NumberInput.js +2 -0
- package/dist/esm/lib/subcomponent/NumberInput/NumberInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/PasswordInput/PasswordInput.js +2 -0
- package/dist/esm/lib/subcomponent/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/PhoneInput/PhoneInput.js +2 -0
- package/dist/esm/lib/subcomponent/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/RadioInput/RadioInput.js +2 -0
- package/dist/esm/lib/subcomponent/RadioInput/RadioInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/RangeInput/RangeInput.js +2 -0
- package/dist/esm/lib/subcomponent/RangeInput/RangeInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/SelectInput/SelectInput.js +2 -0
- package/dist/esm/lib/subcomponent/SelectInput/SelectInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/TextInput/TextInput.js +2 -0
- package/dist/esm/lib/subcomponent/TextInput/TextInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/TextareaInput/TextareaInput.js +2 -0
- package/dist/esm/lib/subcomponent/TextareaInput/TextareaInput.js.map +1 -1
- package/dist/esm/lib/subcomponent/TimeInput/TimeInput.js +2 -0
- package/dist/esm/lib/subcomponent/TimeInput/TimeInput.js.map +1 -1
- package/dist/types/lib/common/Wrapper/InvisibleWrapper.d.ts +2 -0
- package/dist/types/lib/common/Wrapper/InvisibleWrapper.d.ts.map +1 -1
- package/dist/types/lib/common/Wrapper/Wrapper.d.ts +2 -0
- package/dist/types/lib/common/Wrapper/Wrapper.d.ts.map +1 -1
- package/dist/types/lib/component/CheckboxField/CheckboxField.d.ts +2 -0
- package/dist/types/lib/component/CheckboxField/CheckboxField.d.ts.map +1 -1
- package/dist/types/lib/component/ChoicesField/Choices.d.ts +2 -0
- package/dist/types/lib/component/ChoicesField/Choices.d.ts.map +1 -1
- package/dist/types/lib/component/ChoicesField/ChoicesField.d.ts +2 -0
- package/dist/types/lib/component/ChoicesField/ChoicesField.d.ts.map +1 -1
- package/dist/types/lib/component/ComboboxField/ComboboxField.d.ts +2 -0
- package/dist/types/lib/component/ComboboxField/ComboboxField.d.ts.map +1 -1
- package/dist/types/lib/component/DateField/DateField.d.ts +2 -0
- package/dist/types/lib/component/DateField/DateField.d.ts.map +1 -1
- package/dist/types/lib/component/DateTimeField/DateTimeField.d.ts +2 -0
- package/dist/types/lib/component/DateTimeField/DateTimeField.d.ts.map +1 -1
- package/dist/types/lib/component/FileUploadField/FileUploadField.d.ts +2 -0
- package/dist/types/lib/component/FileUploadField/FileUploadField.d.ts.map +1 -1
- package/dist/types/lib/component/HiddenField/HiddenField.d.ts +2 -0
- package/dist/types/lib/component/HiddenField/HiddenField.d.ts.map +1 -1
- package/dist/types/lib/component/NumberField/NumberField.d.ts +2 -0
- package/dist/types/lib/component/NumberField/NumberField.d.ts.map +1 -1
- package/dist/types/lib/component/PasswordField/PasswordField.d.ts +2 -0
- package/dist/types/lib/component/PasswordField/PasswordField.d.ts.map +1 -1
- package/dist/types/lib/component/PhoneField/PhoneField.d.ts +2 -0
- package/dist/types/lib/component/PhoneField/PhoneField.d.ts.map +1 -1
- package/dist/types/lib/component/RangeField/RangeField.d.ts +2 -0
- package/dist/types/lib/component/RangeField/RangeField.d.ts.map +1 -1
- package/dist/types/lib/component/RangeField/common/RangeControl/RangeControl.d.ts +2 -0
- package/dist/types/lib/component/RangeField/common/RangeControl/RangeControl.d.ts.map +1 -1
- package/dist/types/lib/component/RichChoicesField/RichChoices.d.ts +2 -0
- package/dist/types/lib/component/RichChoicesField/RichChoices.d.ts.map +1 -1
- package/dist/types/lib/component/RichChoicesField/RichChoicesField.d.ts +2 -0
- package/dist/types/lib/component/RichChoicesField/RichChoicesField.d.ts.map +1 -1
- package/dist/types/lib/component/SelectField/SelectField.d.ts +2 -0
- package/dist/types/lib/component/SelectField/SelectField.d.ts.map +1 -1
- package/dist/types/lib/component/TextField/TextField.d.ts +2 -0
- package/dist/types/lib/component/TextField/TextField.d.ts.map +1 -1
- package/dist/types/lib/component/TextareaField/TextareaField.d.ts +2 -0
- package/dist/types/lib/component/TextareaField/TextareaField.d.ts.map +1 -1
- package/dist/types/lib/component/TimeField/TimeField.d.ts +2 -0
- package/dist/types/lib/component/TimeField/TimeField.d.ts.map +1 -1
- package/dist/types/lib/pattern/Field/Field.d.ts +2 -0
- package/dist/types/lib/pattern/Field/Field.d.ts.map +1 -1
- package/dist/types/lib/pattern/Form/Form.d.ts +2 -0
- package/dist/types/lib/pattern/Form/Form.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/CheckboxInput/CheckboxInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/CheckboxInput/CheckboxInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/ComboboxInput/ComboboxInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/ComboboxInput/ComboboxInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/ComboboxInput/MultipleCombobox.d.ts +2 -0
- package/dist/types/lib/subcomponent/ComboboxInput/MultipleCombobox.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.d.ts +2 -0
- package/dist/types/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/DateInput/DateInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/DateInput/DateInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/DateTimeInput/DateTimeInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/DateTimeInput/DateTimeInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/Field/Description/Description.d.ts +2 -0
- package/dist/types/lib/subcomponent/Field/Description/Description.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/Field/Error/Error.d.ts +2 -0
- package/dist/types/lib/subcomponent/Field/Error/Error.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/Field/Label/Label.d.ts +2 -0
- package/dist/types/lib/subcomponent/Field/Label/Label.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/FileUploadInput/FileUploadInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/FileUploadInput/FileUploadInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/HiddenInput/HiddenInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/HiddenInput/HiddenInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/NumberInput/NumberInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/PasswordInput/PasswordInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/PhoneInput/PhoneInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/PhoneInput/PhoneInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/RadioInput/RadioInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/RadioInput/RadioInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/RangeInput/RangeInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/RangeInput/RangeInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/SelectInput/SelectInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/TextInput/TextInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/TextInput/TextInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/TextareaInput/TextareaInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/TextareaInput/TextareaInput.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/TimeInput/TimeInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/TimeInput/TimeInput.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -2,6 +2,8 @@ import type { TimeFieldProps } from "./types.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Time input bound to react-hook-form, wrapped with field chrome
|
|
4
4
|
* (label, description, error) and middleware/conditional-display support.
|
|
5
|
+
*
|
|
6
|
+
* `import { TimeField } from "@canonical/react-ds-global-form";`
|
|
5
7
|
*/
|
|
6
8
|
declare const _default: (props: {
|
|
7
9
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TimeField/TimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TimeField/TimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -3,6 +3,8 @@ import type { FieldProps } from "./types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* description of the Field component
|
|
5
5
|
* @returns {React.ReactElement} - Rendered Field
|
|
6
|
+
*
|
|
7
|
+
* `import { Field } from "@canonical/react-ds-global-form";`
|
|
6
8
|
*/
|
|
7
9
|
declare const Field: ({ inputType, CustomComponent, ...props }: FieldProps) => React.ReactElement;
|
|
8
10
|
export default Field;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Field/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Field/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,QAAA,MAAM,KAAK,GAAI,0CAIZ,UAAU,KAAG,KAAK,CAAC,YA4CrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -3,6 +3,8 @@ import type { FormProps } from "./types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Public Form component that routes to the appropriate implementation
|
|
5
5
|
* depending on whether external `methods` are provided.
|
|
6
|
+
*
|
|
7
|
+
* `import { Form } from "@canonical/react-ds-global-form";`
|
|
6
8
|
*/
|
|
7
9
|
declare const Form: ({ methods, defaultValues, mode, ...rest }: FormProps) => React.ReactElement;
|
|
8
10
|
export default Form;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAyD5C
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAyD5C;;;;;GAKG;AACH,QAAA,MAAM,IAAI,GAAI,2CAKX,SAAS,KAAG,KAAK,CAAC,YAKpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -6,6 +6,8 @@ import "./styles.css";
|
|
|
6
6
|
* via the field tier, which spreads react-hook-form's `register()` result onto
|
|
7
7
|
* it.
|
|
8
8
|
* @returns {ReactElement} - Rendered Checkbox
|
|
9
|
+
*
|
|
10
|
+
* `import { CheckboxInput } from "@canonical/react-ds-global-form";`
|
|
9
11
|
*/
|
|
10
12
|
export declare const CheckboxInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
13
|
export default CheckboxInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/CheckboxInput/CheckboxInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"CheckboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/CheckboxInput/CheckboxInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,oJAgBzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -3,6 +3,8 @@ import "./styles.css";
|
|
|
3
3
|
* Presentational combobox (controlled, no react-hook-form). Routes to the
|
|
4
4
|
* single- or multiple-select implementation. The forwarded ref targets the
|
|
5
5
|
* text input of the single-select variant.
|
|
6
|
+
*
|
|
7
|
+
* `import { ComboboxInput } from "@canonical/react-ds-global-form";`
|
|
6
8
|
*/
|
|
7
9
|
export declare const ComboboxInput: import("react").ForwardRefExoticComponent<import("../types.js").BaseProps & import("../types.js").OptionsProps & {
|
|
8
10
|
disabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/ComboboxInput.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"ComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/ComboboxInput.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAItB;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;oDAezB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -8,6 +8,8 @@ import "./styles.css";
|
|
|
8
8
|
*
|
|
9
9
|
* @param {ComboboxInputProps} props - The component props
|
|
10
10
|
* @returns {React.ReactElement} - Rendered MultipleCombobox component
|
|
11
|
+
*
|
|
12
|
+
* `import { MultipleCombobox } from "@canonical/react-ds-global-form";`
|
|
11
13
|
*/
|
|
12
14
|
declare const MultipleCombobox: ({ id, className, style, options, value, onChange, disabled, placeholder, valueKey, convertItemToString, convertValueToItem, filterItems, onInputValueChangeFactory, }: ComboboxInputProps) => React.ReactElement;
|
|
13
15
|
export default MultipleCombobox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/MultipleCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAMrD,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"MultipleCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ComboboxInput/MultipleCombobox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAMrD,OAAO,cAAc,CAAC;AAItB;;;;;;;;;GASG;AACH,QAAA,MAAM,gBAAgB,GAAI,uKAcvB,kBAAkB,KAAG,KAAK,CAAC,YAiI7B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -4,6 +4,8 @@ import "./styles.css";
|
|
|
4
4
|
/**
|
|
5
5
|
* description of the ResetButton component
|
|
6
6
|
* @returns {React.ReactElement} - Rendered ResetButton
|
|
7
|
+
*
|
|
8
|
+
* `import { ResetButton } from "@canonical/react-ds-global-form";`
|
|
7
9
|
*/
|
|
8
10
|
declare const ResetButton: ({ id, className, messages, style, onClick, }: ResetButtonProps) => React.ReactElement;
|
|
9
11
|
export default ResetButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResetButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAMtB
|
|
1
|
+
{"version":3,"file":"ResetButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/subcomponent/ComboboxInput/common/ResetButton/ResetButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAMtB;;;;;GAKG;AACH,QAAA,MAAM,WAAW,GAAI,8CAMlB,gBAAgB,KAAG,KAAK,CAAC,YAa3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -12,6 +12,8 @@ import "./styles.css";
|
|
|
12
12
|
* The `value` is always locale-independent ISO `yyyy-mm-dd`. To control the
|
|
13
13
|
* displayed format you would need a custom (non-native) date control.
|
|
14
14
|
* @returns {ReactElement} - Rendered DateInput
|
|
15
|
+
*
|
|
16
|
+
* `import { DateInput } from "@canonical/react-ds-global-form";`
|
|
15
17
|
*/
|
|
16
18
|
export declare const DateInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
17
19
|
min?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateInput/DateInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateInput/DateInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS;;;oDAkBrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -12,6 +12,8 @@ import "./styles.css";
|
|
|
12
12
|
* ISO `yyyy-mm-ddTHH:mm`. Controlling the display would require a custom
|
|
13
13
|
* (non-native) control.
|
|
14
14
|
* @returns {ReactElement} - Rendered DateTimeInput
|
|
15
|
+
*
|
|
16
|
+
* `import { DateTimeInput } from "@canonical/react-ds-global-form";`
|
|
15
17
|
*/
|
|
16
18
|
export declare const DateTimeInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
17
19
|
min?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateTimeInput/DateTimeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"DateTimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/DateTimeInput/DateTimeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa;;;;oDAmBzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -4,6 +4,8 @@ import "./styles.css";
|
|
|
4
4
|
/**
|
|
5
5
|
* description of the Description component
|
|
6
6
|
* @returns {React.ReactElement} - Rendered Description
|
|
7
|
+
*
|
|
8
|
+
* `import { Description } from "@canonical/react-ds-global-form";`
|
|
7
9
|
*/
|
|
8
10
|
declare const Description: ({ id, children, className, style, }: DescriptionProps) => React.ReactElement;
|
|
9
11
|
export default Description;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Description/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Description/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,QAAA,MAAM,WAAW,GAAI,qCAKlB,gBAAgB,KAAG,KAAK,CAAC,YAY3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -4,6 +4,8 @@ import "./styles.css";
|
|
|
4
4
|
/**
|
|
5
5
|
* description of the Error component
|
|
6
6
|
* @returns {React.ReactElement} - Rendered Error
|
|
7
|
+
*
|
|
8
|
+
* `import { Error } from "@canonical/react-ds-global-form";`
|
|
7
9
|
*/
|
|
8
10
|
declare const FieldError: ({ id, children, className, style, }: ErrorProps) => React.ReactElement;
|
|
9
11
|
export default FieldError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Error/Error.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Error/Error.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,QAAA,MAAM,UAAU,GAAI,qCAKjB,UAAU,KAAG,KAAK,CAAC,YAarB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -4,6 +4,8 @@ import "./styles.css";
|
|
|
4
4
|
/**
|
|
5
5
|
* description of the Label component
|
|
6
6
|
* @returns {React.ReactElement} - Rendered Label
|
|
7
|
+
*
|
|
8
|
+
* `import { Label } from "@canonical/react-ds-global-form";`
|
|
7
9
|
*/
|
|
8
10
|
declare const Label: ({ id, children, className, style, name, isOptional, requiredIndicator, messages, htmlFor, tag: Element, }: LabelProps) => React.ReactElement;
|
|
9
11
|
export default Label;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Label/Label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAStB
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/subcomponent/Field/Label/Label.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAStB;;;;;GAKG;AACH,QAAA,MAAM,KAAK,GAAI,2GAWZ,UAAU,KAAG,KAAK,CAAC,YA2BrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -6,6 +6,8 @@ import "./styles.css";
|
|
|
6
6
|
* image preview. Controlled via `value`/`onChange` (no react-hook-form). The
|
|
7
7
|
* field tier supplies the binding.
|
|
8
8
|
* @returns {React.ReactElement} - Rendered FileUploadInput
|
|
9
|
+
*
|
|
10
|
+
* `import { FileUploadInput } from "@canonical/react-ds-global-form";`
|
|
9
11
|
*/
|
|
10
12
|
export declare const FileUploadInput: ({ id, className, style, value, onChange, accept, maxSize, maxFiles, multiple, disabled, ...otherProps }: FileUploadInputProps) => React.ReactElement;
|
|
11
13
|
export default FileUploadInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUploadInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/FileUploadInput/FileUploadInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"FileUploadInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/FileUploadInput/FileUploadInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,GAAI,yGAY7B,oBAAoB,KAAG,KAAK,CAAC,YAsK/B,CAAC;AASF,eAAe,eAAe,CAAC"}
|
|
@@ -2,6 +2,8 @@ import type { HiddenInputProps } from "./types.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* Presentational hidden input — pure markup, no react-hook-form.
|
|
4
4
|
* @returns {ReactElement} - Rendered Hidden input
|
|
5
|
+
*
|
|
6
|
+
* `import { HiddenInput } from "@canonical/react-ds-global-form";`
|
|
5
7
|
*/
|
|
6
8
|
export declare const HiddenInput: import("react").ForwardRefExoticComponent<HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
9
|
export default HiddenInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/HiddenInput/HiddenInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD
|
|
1
|
+
{"version":3,"file":"HiddenInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/HiddenInput/HiddenInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAInD;;;;;GAKG;AACH,eAAO,MAAM,WAAW,+GAgBvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -7,6 +7,8 @@ import "./styles.css";
|
|
|
7
7
|
* Usable standalone (controlled via `value`/`onChange`, or uncontrolled) or via
|
|
8
8
|
* the field tier, which spreads react-hook-form's `register()` result onto it.
|
|
9
9
|
* @returns {ReactElement} - Rendered NumberInput
|
|
10
|
+
*
|
|
11
|
+
* `import { NumberInput } from "@canonical/react-ds-global-form";`
|
|
10
12
|
*/
|
|
11
13
|
export declare const NumberInput: import("react").ForwardRefExoticComponent<{
|
|
12
14
|
name?: string | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAmBvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -9,6 +9,8 @@ import "./styles.css";
|
|
|
9
9
|
* Usable standalone (controlled via `value`/`onChange`, or uncontrolled) or via
|
|
10
10
|
* the field tier, which spreads react-hook-form's `register()` result onto it.
|
|
11
11
|
* @returns {ReactElement} - Rendered PasswordInput
|
|
12
|
+
*
|
|
13
|
+
* `import { PasswordInput } from "@canonical/react-ds-global-form";`
|
|
12
14
|
*/
|
|
13
15
|
export declare const PasswordInput: import("react").ForwardRefExoticComponent<{
|
|
14
16
|
name?: string | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAoDzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -11,6 +11,8 @@ import "./styles.css";
|
|
|
11
11
|
* defaults defensively, so an undefined initial `value` renders the
|
|
12
12
|
* `defaultCountry` with an empty number.
|
|
13
13
|
* @returns {React.ReactElement} - Rendered Phone
|
|
14
|
+
*
|
|
15
|
+
* `import { PhoneInput } from "@canonical/react-ds-global-form";`
|
|
14
16
|
*/
|
|
15
17
|
export declare const PhoneInput: ({ id, className, style, value, onChange, defaultCountry, preferredCountries, filteredCountries, countries, valueFormat, countryDisplay, mask, disabled, }: PhoneInputProps) => React.ReactElement;
|
|
16
18
|
export default PhoneInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,eAAe,EAAc,MAAM,YAAY,CAAC;AAC9D,OAAO,cAAc,CAAC;AAkCtB
|
|
1
|
+
{"version":3,"file":"PhoneInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,eAAe,EAAc,MAAM,YAAY,CAAC;AAC9D,OAAO,cAAc,CAAC;AAkCtB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,GAAI,2JAcxB,eAAe,KAAG,KAAK,CAAC,YAgI1B,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -7,6 +7,8 @@ import "./styles.css";
|
|
|
7
7
|
* Usable standalone (controlled via `checked`/`onChange`, or uncontrolled) or
|
|
8
8
|
* via a host that spreads its props onto it.
|
|
9
9
|
* @returns {ReactElement} - Rendered RadioInput
|
|
10
|
+
*
|
|
11
|
+
* `import { RadioInput } from "@canonical/react-ds-global-form";`
|
|
10
12
|
*/
|
|
11
13
|
export declare const RadioInput: import("react").ForwardRefExoticComponent<{
|
|
12
14
|
name?: string | undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RadioInput/RadioInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"RadioInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RadioInput/RadioInput.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAiBtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -5,6 +5,8 @@ import "./styles.css";
|
|
|
5
5
|
* injects it via `bindField(..., { injectValue: true })`. The `<input>` itself
|
|
6
6
|
* stays uncontrolled (driven by register / the consumer).
|
|
7
7
|
* @returns {ReactElement} - Rendered Range
|
|
8
|
+
*
|
|
9
|
+
* `import { RangeInput } from "@canonical/react-ds-global-form";`
|
|
8
10
|
*/
|
|
9
11
|
export declare const RangeInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
10
12
|
min: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RangeInput/RangeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"RangeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RangeInput/RangeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU;;;oDA2BtB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -5,6 +5,8 @@ import "./styles.css";
|
|
|
5
5
|
* Usable standalone (controlled via `value`/`onChange`, or uncontrolled) or via
|
|
6
6
|
* the field tier, which spreads react-hook-form's `register()` result onto it.
|
|
7
7
|
* @returns {ReactElement} - Rendered Select
|
|
8
|
+
*
|
|
9
|
+
* `import { SelectInput } from "@canonical/react-ds-global-form";`
|
|
8
10
|
*/
|
|
9
11
|
export declare const SelectInput: import("react").ForwardRefExoticComponent<import("react").SelectHTMLAttributes<HTMLSelectElement> & import("../types.js").OptionsProps & import("react").RefAttributes<HTMLSelectElement>>;
|
|
10
12
|
export default SelectInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,4LAyBvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -5,6 +5,8 @@ import "./styles.css";
|
|
|
5
5
|
* Usable standalone (controlled via `value`/`onChange`, or uncontrolled) or via
|
|
6
6
|
* the field tier, which spreads react-hook-form's `register()` result onto it.
|
|
7
7
|
* @returns {ReactElement} - Rendered Text
|
|
8
|
+
*
|
|
9
|
+
* `import { TextInput } from "@canonical/react-ds-global-form";`
|
|
8
10
|
*/
|
|
9
11
|
export declare const TextInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
10
12
|
inputType?: import("./types.js").TextInputType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextInput/TextInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextInput/TextInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS;;;;oDAyBrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -5,6 +5,8 @@ import "./styles.css";
|
|
|
5
5
|
* Usable standalone (controlled via `value`/`onChange`, or uncontrolled) or via
|
|
6
6
|
* the field tier, which spreads react-hook-form's `register()` result onto it.
|
|
7
7
|
* @returns {ReactElement} - Rendered TextareaInput
|
|
8
|
+
*
|
|
9
|
+
* `import { TextareaInput } from "@canonical/react-ds-global-form";`
|
|
8
10
|
*/
|
|
9
11
|
export declare const TextareaInput: import("react").ForwardRefExoticComponent<import("react").TextareaHTMLAttributes<HTMLTextAreaElement> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
10
12
|
export default TextareaInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"TextareaInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,6JAkBxB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -11,6 +11,8 @@ import "./styles.css";
|
|
|
11
11
|
* there is no `hour12`/format lever for a native picker. The `value` is always
|
|
12
12
|
* 24-hour ISO `HH:mm`. Forcing 12/24h would require a custom (non-native) control.
|
|
13
13
|
* @returns {ReactElement} - Rendered TimeInput
|
|
14
|
+
*
|
|
15
|
+
* `import { TimeInput } from "@canonical/react-ds-global-form";`
|
|
14
16
|
*/
|
|
15
17
|
export declare const TimeInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
|
|
16
18
|
min?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB
|
|
1
|
+
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TimeInput/TimeInput.tsx"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,SAAS;;;;oDAmBrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/react-ds-global-form",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#lib/*": {
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"test:vitest:watch": "vitest"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@canonical/react-ds-global": "^0.29.
|
|
54
|
-
"@canonical/storybook-config": "^0.29.
|
|
53
|
+
"@canonical/react-ds-global": "^0.29.1",
|
|
54
|
+
"@canonical/storybook-config": "^0.29.1",
|
|
55
55
|
"@canonical/styles": "^0.29.0",
|
|
56
56
|
"@canonical/utils": "^0.29.0",
|
|
57
57
|
"downshift": "^9.3.2",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"vite": "^8.0.1",
|
|
88
88
|
"vitest": "^4.0.18"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "7c96ac31ff350a3bd099168d249680a8f9632568"
|
|
91
91
|
}
|