@canonical/react-ds-global-form 0.34.0 → 0.35.0
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/component/CheckboxField/CheckboxField.js +2 -0
- package/dist/esm/lib/component/CheckboxField/CheckboxField.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/ColorField/ColorField.js +2 -0
- package/dist/esm/lib/component/ColorField/ColorField.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/RatingField/RatingField.js +2 -0
- package/dist/esm/lib/component/RatingField/RatingField.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/SwitchField/SwitchField.js +2 -0
- package/dist/esm/lib/component/SwitchField/SwitchField.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 +3 -0
- package/dist/esm/lib/pattern/Field/Field.js.map +1 -1
- package/dist/esm/lib/pattern/Form/Form.js +3 -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/ColorInput/ColorInput.js +2 -0
- package/dist/esm/lib/subcomponent/ColorInput/ColorInput.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/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 +3 -0
- package/dist/esm/lib/subcomponent/Field/Description/Description.js.map +1 -1
- package/dist/esm/lib/subcomponent/Field/Label/Label.js +3 -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/RatingInput/RatingInput.js +2 -0
- package/dist/esm/lib/subcomponent/RatingInput/RatingInput.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/SwitchInput/SwitchInput.js +2 -0
- package/dist/esm/lib/subcomponent/SwitchInput/SwitchInput.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/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/ChoicesField.d.ts +2 -0
- package/dist/types/lib/component/ChoicesField/ChoicesField.d.ts.map +1 -1
- package/dist/types/lib/component/ColorField/ColorField.d.ts +2 -0
- package/dist/types/lib/component/ColorField/ColorField.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/RatingField/RatingField.d.ts +2 -0
- package/dist/types/lib/component/RatingField/RatingField.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/SwitchField/SwitchField.d.ts +2 -0
- package/dist/types/lib/component/SwitchField/SwitchField.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 +3 -0
- package/dist/types/lib/pattern/Field/Field.d.ts.map +1 -1
- package/dist/types/lib/pattern/Form/Form.d.ts +3 -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/ColorInput/ColorInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/ColorInput/ColorInput.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/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 +3 -0
- package/dist/types/lib/subcomponent/Field/Description/Description.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/Field/Label/Label.d.ts +3 -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/RatingInput/RatingInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/RatingInput/RatingInput.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/SwitchInput/SwitchInput.d.ts +2 -0
- package/dist/types/lib/subcomponent/SwitchInput/SwitchInput.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 +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":";AAAA,wDAAwD;AAExD,OAAO,EAAE,UAAU,EAAqB,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAEzD
|
|
1
|
+
{"version":3,"file":"PasswordInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":";AAAA,wDAAwD;AAExD,OAAO,EAAE,UAAU,EAAqB,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAEzD;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CACrC,SAAS,aAAa,CACpB,EACE,EAAE,EACF,SAAS,EACT,KAAK,EACL,UAAU,GAAG,IAAI,EACjB,WAAW,GAAG,eAAe,EAC7B,SAAS,GAAG,eAAe,EAC3B,QAAQ,EACR,GAAG,WAAW,EACf,EACD,GAAG;IAEH,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,OAAO,GAAG,KAAK,EAAE,CAAC;IACxB,MAAM,UAAU,GAAG,EAAE,IAAI,OAAO,CAAC;IAEjC,OAAO,CACL,eACE,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAEvE,gBACE,EAAE,EAAE,UAAU,EACd,SAAS,EAAC,GAAG,EACb,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,EACpC,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,KACd,WAAW,GACf,EACD,UAAU,IAAI,CACb,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,sBAAsB,gBACpB,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,mBAC/B,UAAU,kBACX,QAAQ;gBACtB,0DAA0D;gBAC1D,sDAAsD;gBACtD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,YAErC,eACE,SAAS,EAAC,aAAa,gBACX,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,GAC5C,GACK,CACV,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -40,6 +40,8 @@ function countryLabel(country, display) {
|
|
|
40
40
|
* @returns {React.ReactElement} - Rendered Phone
|
|
41
41
|
*
|
|
42
42
|
* `import { PhoneInput } from "@canonical/react-ds-global-form";`
|
|
43
|
+
*
|
|
44
|
+
* @implements ds:global.subcomponent.phone_input
|
|
43
45
|
*/
|
|
44
46
|
export const PhoneInput = ({ id, className, style, value, onChange, defaultCountry = "US", preferredCountries = [], filteredCountries, countries = defaultCountries, valueFormat = "e164", countryDisplay = "code", mask = false, disabled = false, }) => {
|
|
45
47
|
const [selectedCountry, setSelectedCountry] = useState(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/PhoneInput/PhoneInput.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EACL,cAAc,EAEd,SAAS,IAAI,gB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M,CAAC;QAC/D,CAAC,CAAC,gBAAgB,EAAE,CAAC;IAEvB,OAAO,CACL,eACE,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAEvE,iBACE,SAAS,EAAC,kBAAkB,EAC5B,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,mBAAmB,EAC7B,QAAQ,EAAE,QAAQ,gBACP,cAAc,YAExB,eAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAChC,kBAA2B,KAAK,EAAE,OAAO,CAAC,IAAI,aAC3C,OAAO,CAAC,QAAQ,OAAG,YAAY,CAAC,OAAO,EAAE,cAAc,CAAC,KAD9C,OAAO,CAAC,IAAI,CAEhB,CACV,CAAC,GACK,EACT,gBACE,IAAI,EAAC,KAAK,EACV,SAAS,EAAC,gBAAgB,EAC1B,SAAS,EAAC,KAAK,EACf,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,EAAE,QAAQ,gBACP,cAAc,GACzB,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -13,6 +13,8 @@ const componentCssClassName = "ds form-radio";
|
|
|
13
13
|
* @returns {ReactElement} - Rendered RadioInput
|
|
14
14
|
*
|
|
15
15
|
* `import { RadioInput } from "@canonical/react-ds-global-form";`
|
|
16
|
+
*
|
|
17
|
+
* @implements ds:global.subcomponent.radio_input
|
|
16
18
|
*/
|
|
17
19
|
export const RadioInput = forwardRef(function RadioInput({ id, className, style, ...nativeProps }, ref) {
|
|
18
20
|
return (_jsx("input", { id: id, style: style, className: [componentCssClassName, className].filter(Boolean).join(" "), ref: ref, ...nativeProps,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RadioInput/RadioInput.tsx"],"names":[],"mappings":";AAAA,wDAAwD;AAExD,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,eAAe,CAAC;AAE9C
|
|
1
|
+
{"version":3,"file":"RadioInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RadioInput/RadioInput.tsx"],"names":[],"mappings":";AAAA,wDAAwD;AAExD,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,eAAe,CAAC;AAE9C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAClC,SAAS,UAAU,CACjB,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EACxC,GAAG;IAEH,OAAO,CACL,gBACE,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,GAAG,EAAE,GAAG,KACJ,WAAW;QACf,uEAAuE;QACvE,IAAI,EAAC,OAAO,GACZ,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -10,6 +10,8 @@ const componentCssClassName = "ds range";
|
|
|
10
10
|
* @returns {ReactElement} - Rendered Range
|
|
11
11
|
*
|
|
12
12
|
* `import { RangeInput } from "@canonical/react-ds-global-form";`
|
|
13
|
+
*
|
|
14
|
+
* @implements ds:global.subcomponent.range_input
|
|
13
15
|
*/
|
|
14
16
|
export const RangeInput = forwardRef(function RangeInput({ id, className, style, min, max, value, ...nativeProps }, ref) {
|
|
15
17
|
return (_jsxs(_Fragment, { children: [_jsx("input", { id: id, type: "range", className: [componentCssClassName, className]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RangeInput/RangeInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,UAAU,CAAC;AAEzC
|
|
1
|
+
{"version":3,"file":"RangeInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RangeInput/RangeInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,UAAU,CAAC;AAEzC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,UAAU,CAClC,SAAS,UAAU,CACjB,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EACzD,GAAG;IAEH,OAAO,CACL,8BACE,gBACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,OAAO,EACZ,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC;qBAC1C,MAAM,CAAC,OAAO,CAAC;qBACf,IAAI,CAAC,GAAG,CAAC,EACZ,KAAK,EAAE,KAAK,mBACG,GAAG,mBACH,GAAG,EAClB,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,KACJ,WAAW,GACf,EACF,iBAAQ,OAAO,EAAE,EAAE,EAAE,SAAS,EAAC,mBAAmB,YAC/C,KAAK,GACC,IACR,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -19,6 +19,8 @@ const defaultFormatStarLabel = (value, count) => `${value} of ${count} star${cou
|
|
|
19
19
|
* `defaultValue`).
|
|
20
20
|
*
|
|
21
21
|
* `import { RatingInput } from "@canonical/react-ds-global-form";`
|
|
22
|
+
*
|
|
23
|
+
* @implements ds:global.subcomponent.rating_input
|
|
22
24
|
*/
|
|
23
25
|
export const RatingInput = ({ id, className, style, name, count = 5, allowHalf = false, value, defaultValue, onChange, disabled = false, formatStarLabel = defaultFormatStarLabel, ...labelling }) => {
|
|
24
26
|
const reactId = useId();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RatingInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RatingInput/RatingInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,KAAK,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C,MAAM,sBAAsB,GAAG,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC9D,GAAG,KAAK,OAAO,KAAK,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;AAEvD
|
|
1
|
+
{"version":3,"file":"RatingInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/RatingInput/RatingInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,KAAK,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C,MAAM,sBAAsB,GAAG,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAC9D,GAAG,KAAK,OAAO,KAAK,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC1B,EAAE,EACF,SAAS,EACT,KAAK,EACL,IAAI,EACJ,KAAK,GAAG,CAAC,EACT,SAAS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AM,GAAG,EACjD,UAAU,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;oBAC/B,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,KAAK,CAAC,CAAC;oBAC9B,MAAM,QAAQ,GAAG,GAAG,OAAO,IAAI,MAAM,EAAE,CAAC;oBACxC,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;oBAC7C,OAAO;oBACL,6DAA6D;oBAC7D,wDAAwD;oBACxD,iBAEE,SAAS,EAAE,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAC7D,KAAK,EAAE,KAAK,aAEZ,gBACE,EAAE,EAAE,QAAQ,EACZ,SAAS,EAAC,YAAY,EACtB,IAAI,EAAC,OAAO,EACZ,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,QAAQ,iBACL,MAAM,KAEf,CAAC,KAAK,KAAK,SAAS;oCACtB,CAAC,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,EAAE;oCAChC,CAAC,CAAC,EAAE,cAAc,EAAE,YAAY,KAAK,MAAM,EAAE,CAAC,EAChD,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,GAClC,EACF,eAAM,SAAS,EAAC,oBAAoB,YAAE,KAAK,GAAQ,KAlB9C,MAAM,CAmBL,CACT,CAAC;gBACJ,CAAC,CAAC,KAlCwB,IAAI,CAmCzB,CACR,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -10,6 +10,8 @@ const componentCssClassName = "ds input select chrome";
|
|
|
10
10
|
* @returns {ReactElement} - Rendered Select
|
|
11
11
|
*
|
|
12
12
|
* `import { SelectInput } from "@canonical/react-ds-global-form";`
|
|
13
|
+
*
|
|
14
|
+
* @implements ds:global.subcomponent.select_input
|
|
13
15
|
*/
|
|
14
16
|
export const SelectInput = forwardRef(function SelectInput({ id, className, style, options, ...nativeProps }, ref) {
|
|
15
17
|
return (_jsx("select", { id: id, className: [componentCssClassName, className].filter(Boolean).join(" "), style: style, ref: ref, ...nativeProps, children: options.map((option) => (_jsx("option", { value: option.value, disabled: option.disabled, children: option.label }, option.value))) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/SelectInput/SelectInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAEvD
|
|
1
|
+
{"version":3,"file":"SelectInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/SelectInput/SelectInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAEvD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CACnC,SAAS,WAAW,CAClB,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,WAAW,EAAE,EACjD,GAAG;IAEH,OAAO,CACL,iBACE,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,KACJ,WAAW,YAEd,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACvB,iBAEE,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,QAAQ,EAAE,MAAM,CAAC,QAAQ,YAExB,MAAM,CAAC,KAAK,IAJR,MAAM,CAAC,KAAK,CAKV,CACV,CAAC,GACK,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -12,6 +12,8 @@ const componentCssClassName = "ds form-switch";
|
|
|
12
12
|
* @returns {ReactElement} - Rendered Switch
|
|
13
13
|
*
|
|
14
14
|
* `import { SwitchInput } from "@canonical/react-ds-global-form";`
|
|
15
|
+
*
|
|
16
|
+
* @implements ds:global.subcomponent.switch_input
|
|
15
17
|
*/
|
|
16
18
|
export const SwitchInput = forwardRef(function SwitchInput({ id, className, style, ...nativeProps }, ref) {
|
|
17
19
|
return (_jsx("input", { id: id, style: style, className: [componentCssClassName, className].filter(Boolean).join(" "), ref: ref, ...nativeProps,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/SwitchInput/SwitchInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"SwitchInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/SwitchInput/SwitchInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CACnC,SAAS,WAAW,CAClB,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EACxC,GAAG;IAEH,OAAO,CACL,gBACE,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,GAAG,EAAE,GAAG,KACJ,WAAW;QACf,qEAAqE;QACrE,wEAAwE;QACxE,4CAA4C;QAC5C,IAAI,EAAC,UAAU;QACf,6JAA6J;QAC7J,IAAI,EAAC,QAAQ,GACb,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -10,6 +10,8 @@ const componentCssClassName = "ds input text chrome";
|
|
|
10
10
|
* @returns {ReactElement} - Rendered Text
|
|
11
11
|
*
|
|
12
12
|
* `import { TextInput } from "@canonical/react-ds-global-form";`
|
|
13
|
+
*
|
|
14
|
+
* @implements ds:global.subcomponent.text_input
|
|
13
15
|
*/
|
|
14
16
|
export const TextInput = forwardRef(function TextInput({ id, className, style, inputType = "text", prefix, suffix, ...nativeProps }, ref) {
|
|
15
17
|
return (_jsxs("div", { id: id, style: style, className: [componentCssClassName, className].filter(Boolean).join(" "), children: [prefix && _jsx("span", { className: "prefix", children: prefix }), _jsx("input", { type: inputType, ref: ref, ...nativeProps }), suffix && _jsx("span", { className: "suffix", children: suffix })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextInput/TextInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextInput/TextInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAErD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,UAAU,CACjC,SAAS,SAAS,CAChB,EACE,EAAE,EACF,SAAS,EACT,KAAK,EACL,SAAS,GAAG,MAAM,EAClB,MAAM,EACN,MAAM,EACN,GAAG,WAAW,EACf,EACD,GAAG;IAEH,OAAO,CACL,eACE,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAEtE,MAAM,IAAI,eAAM,SAAS,EAAC,QAAQ,YAAE,MAAM,GAAQ,EACnD,gBAAO,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,KAAM,WAAW,GAAI,EACpD,MAAM,IAAI,eAAM,SAAS,EAAC,QAAQ,YAAE,MAAM,GAAQ,IAC/C,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -10,6 +10,8 @@ const componentCssClassName = "ds input textarea chrome";
|
|
|
10
10
|
* @returns {ReactElement} - Rendered TextareaInput
|
|
11
11
|
*
|
|
12
12
|
* `import { TextareaInput } from "@canonical/react-ds-global-form";`
|
|
13
|
+
*
|
|
14
|
+
* @implements ds:global.subcomponent.textarea_input
|
|
13
15
|
*/
|
|
14
16
|
export const TextareaInput = forwardRef(function TextareaInput({ id, className, style, ...nativeProps }, ref) {
|
|
15
17
|
return (_jsx("textarea", { id: id, style: style, className: [componentCssClassName, className].filter(Boolean).join(" "), ref: ref, ...nativeProps }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAEzD
|
|
1
|
+
{"version":3,"file":"TextareaInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TextareaInput/TextareaInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AAEzD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAGrC,SAAS,aAAa,CACtB,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EACxC,GAAG;IAEH,OAAO,CACL,mBACE,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,GAAG,EAAE,GAAG,KACJ,WAAW,GACf,CACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -16,6 +16,8 @@ const componentCssClassName = "ds input time chrome";
|
|
|
16
16
|
* @returns {ReactElement} - Rendered TimeInput
|
|
17
17
|
*
|
|
18
18
|
* `import { TimeInput } from "@canonical/react-ds-global-form";`
|
|
19
|
+
*
|
|
20
|
+
* @implements ds:global.subcomponent.time_input
|
|
19
21
|
*/
|
|
20
22
|
export const TimeInput = forwardRef(function TimeInput({ id, className, style, min, max, step, ...nativeProps }, ref) {
|
|
21
23
|
return (_jsx("input", { id: id, style: style, type: "time", min: min, max: max, step: step, className: [componentCssClassName, className].filter(Boolean).join(" "), ref: ref, ...nativeProps }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TimeInput/TimeInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"TimeInput.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/TimeInput/TimeInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAErD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,UAAU,CACjC,SAAS,SAAS,CAChB,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,WAAW,EAAE,EACxD,GAAG;IAEH,OAAO,CACL,gBACE,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,MAAM,EACX,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,GAAG,EAAE,GAAG,KACJ,WAAW,GACf,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -8,6 +8,8 @@ type CheckboxInputFieldProps = InputProps<CheckboxInputProps>;
|
|
|
8
8
|
* `label`/`controlLabel`.
|
|
9
9
|
*
|
|
10
10
|
* `import { CheckboxField } from "@canonical/react-ds-global-form";`
|
|
11
|
+
*
|
|
12
|
+
* @implements ds:global.component.checkbox_field
|
|
11
13
|
*/
|
|
12
14
|
declare const _default: import("react").FC<Omit<import("../../common/types.js").WrapperProps<CheckboxInputFieldProps>, "label" | "Component" | "controlLabel"> & import("../../common/types.js").ToggleLabelProps>;
|
|
13
15
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/CheckboxField/CheckboxField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAGpF,KAAK,uBAAuB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAE9D
|
|
1
|
+
{"version":3,"file":"CheckboxField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/CheckboxField/CheckboxField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAGpF,KAAK,uBAAuB,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAE9D;;;;;;;;;GASG;;AACH,wBAEE"}
|
|
@@ -5,6 +5,8 @@ import type { ChoicesFieldProps } from "./types.js";
|
|
|
5
5
|
* rendered by the individual options.
|
|
6
6
|
*
|
|
7
7
|
* `import { ChoicesField } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.component.choices_field
|
|
8
10
|
*/
|
|
9
11
|
declare const _default: (props: {
|
|
10
12
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ChoicesField/ChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD
|
|
1
|
+
{"version":3,"file":"ChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ChoicesField/ChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAGE"}
|
|
@@ -3,6 +3,8 @@ import type { ColorFieldProps } from "./types.js";
|
|
|
3
3
|
* ColorInput bound to react-hook-form (controlled), wrapped with field chrome.
|
|
4
4
|
* The `defaultValue` preserves the registration default the original leaf set
|
|
5
5
|
* in `useController` (`"#000000"`).
|
|
6
|
+
*
|
|
7
|
+
* @implements ds:global.component.color_field
|
|
6
8
|
*/
|
|
7
9
|
declare const _default: (props: {
|
|
8
10
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ColorField/ColorField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD
|
|
1
|
+
{"version":3,"file":"ColorField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ColorField/ColorField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
|
|
@@ -5,6 +5,8 @@ import type { ComboboxFieldProps } from "./types.js";
|
|
|
5
5
|
* ComboboxInput decomposes it across its input/list/chips internally.
|
|
6
6
|
*
|
|
7
7
|
* `import { ComboboxField } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.component.combobox_field
|
|
8
10
|
*/
|
|
9
11
|
declare const _default: (props: {
|
|
10
12
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComboboxField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ComboboxField/ComboboxField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"ComboboxField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ComboboxField/ComboboxField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -5,6 +5,8 @@ import type { DateFieldProps } from "./types.js";
|
|
|
5
5
|
* (label, description, error) and middleware/conditional-display support.
|
|
6
6
|
*
|
|
7
7
|
* `import { DateField } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.component.date_field
|
|
8
10
|
*/
|
|
9
11
|
declare const _default: (props: {
|
|
10
12
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateField/DateField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAsBjD
|
|
1
|
+
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateField/DateField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAsBjD;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
|
|
@@ -4,6 +4,8 @@ import type { DateTimeFieldProps } from "./types.js";
|
|
|
4
4
|
* (label, description, error) and middleware/conditional-display support.
|
|
5
5
|
*
|
|
6
6
|
* `import { DateTimeField } from "@canonical/react-ds-global-form";`
|
|
7
|
+
*
|
|
8
|
+
* @implements ds:global.component.date_time_field
|
|
7
9
|
*/
|
|
8
10
|
declare const _default: (props: {
|
|
9
11
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateTimeField/DateTimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"DateTimeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/DateTimeField/DateTimeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -8,6 +8,8 @@ import type { FileUploadFieldProps } from "./types.js";
|
|
|
8
8
|
* being silently dropped in the input.
|
|
9
9
|
*
|
|
10
10
|
* `import { FileUploadField } from "@canonical/react-ds-global-form";`
|
|
11
|
+
*
|
|
12
|
+
* @implements ds:global.component.file_upload_field
|
|
11
13
|
*/
|
|
12
14
|
declare const _default: (props: {
|
|
13
15
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUploadField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/FileUploadField/FileUploadField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAyCvD
|
|
1
|
+
{"version":3,"file":"FileUploadField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/FileUploadField/FileUploadField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAyCvD;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAKE"}
|
|
@@ -4,6 +4,8 @@ import type { HiddenFieldProps } from "./types.js";
|
|
|
4
4
|
* description, or error chrome is rendered.
|
|
5
5
|
*
|
|
6
6
|
* `import { HiddenField } from "@canonical/react-ds-global-form";`
|
|
7
|
+
*
|
|
8
|
+
* @implements ds:global.component.hidden_field
|
|
7
9
|
*/
|
|
8
10
|
declare const _default: (props: {
|
|
9
11
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/HiddenField/HiddenField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"HiddenField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/HiddenField/HiddenField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
|
|
@@ -5,6 +5,8 @@ import type { NumberFieldProps } from "./types.js";
|
|
|
5
5
|
* numeric value with optional min/max/step and prefix/suffix units.
|
|
6
6
|
*
|
|
7
7
|
* `import { NumberField } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.component.number_field
|
|
8
10
|
*/
|
|
9
11
|
declare const _default: (props: {
|
|
10
12
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/NumberField/NumberField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/NumberField/NumberField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAME"}
|
|
@@ -5,6 +5,8 @@ import type { PasswordFieldProps } from "./types.js";
|
|
|
5
5
|
* secret value, masked by default, with a reveal/mask toggle.
|
|
6
6
|
*
|
|
7
7
|
* `import { PasswordField } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.component.password_field
|
|
8
10
|
*/
|
|
9
11
|
declare const _default: (props: {
|
|
10
12
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -10,6 +10,8 @@ import type { PhoneFieldProps } from "./types.js";
|
|
|
10
10
|
* presentational PhoneInput defaults defensively from an undefined initial value.
|
|
11
11
|
*
|
|
12
12
|
* `import { PhoneField } from "@canonical/react-ds-global-form";`
|
|
13
|
+
*
|
|
14
|
+
* @implements ds:global.component.phone_field
|
|
13
15
|
*/
|
|
14
16
|
declare const _default: (props: {
|
|
15
17
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD
|
|
1
|
+
{"version":3,"file":"PhoneField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/PhoneField/PhoneField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RangeField/RangeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD
|
|
1
|
+
{"version":3,"file":"RangeField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RangeField/RangeField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAIE"}
|
|
@@ -5,6 +5,8 @@ import type { RatingFieldProps } from "./types.js";
|
|
|
5
5
|
* The numeric rating is owned by the field.
|
|
6
6
|
*
|
|
7
7
|
* `import { RatingField } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.component.rating_field
|
|
8
10
|
*/
|
|
9
11
|
declare const _default: (props: {
|
|
10
12
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RatingField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RatingField/RatingField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"RatingField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RatingField/RatingField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -5,6 +5,8 @@ import type { RichChoicesFieldProps } from "./types.js";
|
|
|
5
5
|
* rendered by the individual options.
|
|
6
6
|
*
|
|
7
7
|
* `import { RichChoicesField } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.component.rich_choices_field
|
|
8
10
|
*/
|
|
9
11
|
declare const _default: (props: {
|
|
10
12
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RichChoicesField/RichChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD
|
|
1
|
+
{"version":3,"file":"RichChoicesField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/RichChoicesField/RichChoicesField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;;;;;;GAQG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAGE"}
|
|
@@ -4,6 +4,8 @@ import type { SelectFieldProps } from "./types.js";
|
|
|
4
4
|
* (label, description, error) and middleware/conditional-display support.
|
|
5
5
|
*
|
|
6
6
|
* `import { SelectField } from "@canonical/react-ds-global-form";`
|
|
7
|
+
*
|
|
8
|
+
* @implements ds:global.component.select_field
|
|
7
9
|
*/
|
|
8
10
|
declare const _default: (props: {
|
|
9
11
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SelectField/SelectField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"SelectField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SelectField/SelectField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -13,6 +13,8 @@ type SwitchInputFieldProps = InputProps<SwitchInputProps>;
|
|
|
13
13
|
* `labelPosition="after"`.
|
|
14
14
|
*
|
|
15
15
|
* `import { SwitchField } from "@canonical/react-ds-global-form";`
|
|
16
|
+
*
|
|
17
|
+
* @implements ds:global.component.switch_field
|
|
16
18
|
*/
|
|
17
19
|
declare const _default: import("react").FC<Omit<import("../../common/types.js").WrapperProps<SwitchInputFieldProps>, "label" | "Component" | "controlLabel"> & import("../../common/types.js").ToggleLabelProps>;
|
|
18
20
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SwitchField/SwitchField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,KAAK,qBAAqB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAE1D
|
|
1
|
+
{"version":3,"file":"SwitchField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/SwitchField/SwitchField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,KAAK,qBAAqB,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAE1D;;;;;;;;;;;;;;GAcG;;AACH,wBAGE"}
|
|
@@ -4,6 +4,8 @@ import type { TextFieldProps } from "./types.js";
|
|
|
4
4
|
* (label, description, error) and middleware/conditional-display support.
|
|
5
5
|
*
|
|
6
6
|
* `import { TextField } from "@canonical/react-ds-global-form";`
|
|
7
|
+
*
|
|
8
|
+
* @implements ds:global.component.text_field
|
|
7
9
|
*/
|
|
8
10
|
declare const _default: (props: {
|
|
9
11
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextField/TextField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -4,6 +4,8 @@ import type { TextareaFieldProps } from "./types.js";
|
|
|
4
4
|
* (label, description, error) and middleware/conditional-display support.
|
|
5
5
|
*
|
|
6
6
|
* `import { TextareaField } from "@canonical/react-ds-global-form";`
|
|
7
|
+
*
|
|
8
|
+
* @implements ds:global.component.textarea_field
|
|
7
9
|
*/
|
|
8
10
|
declare const _default: (props: {
|
|
9
11
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextareaField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextareaField/TextareaField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"TextareaField.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/TextareaField/TextareaField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -4,6 +4,8 @@ import type { TimeFieldProps } from "./types.js";
|
|
|
4
4
|
* (label, description, error) and middleware/conditional-display support.
|
|
5
5
|
*
|
|
6
6
|
* `import { TimeField } from "@canonical/react-ds-global-form";`
|
|
7
|
+
*
|
|
8
|
+
* @implements ds:global.component.time_field
|
|
7
9
|
*/
|
|
8
10
|
declare const _default: (props: {
|
|
9
11
|
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;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACH,wBAEE"}
|
|
@@ -7,5 +7,8 @@ import type { FieldProps } from "./types.js";
|
|
|
7
7
|
* `import { Field } from "@canonical/react-ds-global-form";`
|
|
8
8
|
*/
|
|
9
9
|
declare const Field: ({ inputType, CustomComponent, ...props }: FieldProps) => React.ReactElement;
|
|
10
|
+
/**
|
|
11
|
+
* @implements ds:global.pattern.field
|
|
12
|
+
*/
|
|
10
13
|
export default Field;
|
|
11
14
|
//# sourceMappingURL=Field.d.ts.map
|
|
@@ -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;AAoB/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,QAAA,MAAM,KAAK,GAAI,0CAIZ,UAAU,KAAG,KAAK,CAAC,YAgDrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/lib/pattern/Field/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;GAKG;AACH,QAAA,MAAM,KAAK,GAAI,0CAIZ,UAAU,KAAG,KAAK,CAAC,YAgDrB,CAAC;AAEF;;GAEG;AACH,eAAe,KAAK,CAAC"}
|
|
@@ -7,5 +7,8 @@ import type { FormProps } from "./types.js";
|
|
|
7
7
|
* `import { Form } from "@canonical/react-ds-global-form";`
|
|
8
8
|
*/
|
|
9
9
|
declare const Form: ({ methods, defaultValues, mode, ...rest }: FormProps) => React.ReactElement;
|
|
10
|
+
/**
|
|
11
|
+
* @implements ds:global.pattern.form
|
|
12
|
+
*/
|
|
10
13
|
export default Form;
|
|
11
14
|
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -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;;;;;GAKG;AACH,QAAA,MAAM,IAAI,GAAI,2CAKX,SAAS,KAAG,KAAK,CAAC,YAKpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
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;;GAEG;AACH,eAAe,IAAI,CAAC"}
|
|
@@ -8,6 +8,8 @@ import "./styles.css";
|
|
|
8
8
|
* @returns {ReactElement} - Rendered Checkbox
|
|
9
9
|
*
|
|
10
10
|
* `import { CheckboxInput } from "@canonical/react-ds-global-form";`
|
|
11
|
+
*
|
|
12
|
+
* @implements ds:global.subcomponent.checkbox_input
|
|
11
13
|
*/
|
|
12
14
|
export declare const CheckboxInput: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
|
|
13
15
|
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;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,oJAgBzB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -7,6 +7,8 @@ import "./styles.css";
|
|
|
7
7
|
* Controlled via `value`/`onChange`; knows nothing about react-hook-form. The
|
|
8
8
|
* field tier (`fields/Color`) binds it to RHF.
|
|
9
9
|
* @returns {React.ReactElement} - Rendered ColorInput
|
|
10
|
+
*
|
|
11
|
+
* @implements ds:global.subcomponent.color_input
|
|
10
12
|
*/
|
|
11
13
|
export declare const ColorInput: ({ id, className, style, value, onChange, swatches, showHexInput, showCurrentColor, hexFormats, disabled, ...otherProps }: ColorInputProps) => React.ReactElement;
|
|
12
14
|
export default ColorInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ColorInput/ColorInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AAC7D,OAAO,cAAc,CAAC;AAuCtB
|
|
1
|
+
{"version":3,"file":"ColorInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/ColorInput/ColorInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AAC7D,OAAO,cAAc,CAAC;AAuCtB;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,GAAI,0HAYxB,eAAe,KAAG,KAAK,CAAC,YAiK1B,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -5,6 +5,8 @@ import "./styles.css";
|
|
|
5
5
|
* text input of the single-select variant.
|
|
6
6
|
*
|
|
7
7
|
* `import { ComboboxInput } from "@canonical/react-ds-global-form";`
|
|
8
|
+
*
|
|
9
|
+
* @implements ds:global.subcomponent.combobox_input
|
|
8
10
|
*/
|
|
9
11
|
export declare const ComboboxInput: import("react").ForwardRefExoticComponent<import("../types.js").BaseProps & import("../types.js").OptionsProps & {
|
|
10
12
|
disabled?: boolean;
|