@launchpad-ui/form
Advanced tools
Comparing version 0.2.3 to 0.2.4
/// <reference types="react" /> | ||
import { TextFieldProps } from './TextField'; | ||
import type { TextFieldProps } from './TextField'; | ||
import './styles/CompactTextField.css'; | ||
@@ -4,0 +4,0 @@ import './styles/FormInput.css'; |
@@ -39,3 +39,3 @@ // ../../scripts/react-shim.js | ||
}, children, optional && !required && /* @__PURE__ */ React.createElement("small", { | ||
className: "Form-labelOptional u-subtle" | ||
className: "Form-labelOptional" | ||
}, "(optional)"), required && !optional && /* @__PURE__ */ React.createElement(RequiredAsterisk, null)); | ||
@@ -277,3 +277,3 @@ }; | ||
}, label, isRequired && /* @__PURE__ */ React.createElement(RequiredAsterisk, null)), hint && /* @__PURE__ */ React.createElement(FormHint, { | ||
className: "FormField-hint u-subtle" | ||
className: "FormField-hint" | ||
}, hint), children, /* @__PURE__ */ React.createElement(FieldError, { | ||
@@ -280,0 +280,0 @@ className: "FormField-errorMessage", |
@@ -84,3 +84,3 @@ "use strict"; | ||
}, children, optional && !required && /* @__PURE__ */ React.createElement("small", { | ||
className: "Form-labelOptional u-subtle" | ||
className: "Form-labelOptional" | ||
}, "(optional)"), required && !optional && /* @__PURE__ */ React.createElement(RequiredAsterisk, null)); | ||
@@ -322,3 +322,3 @@ }; | ||
}, label, isRequired && /* @__PURE__ */ React.createElement(RequiredAsterisk, null)), hint && /* @__PURE__ */ React.createElement(FormHint, { | ||
className: "FormField-hint u-subtle" | ||
className: "FormField-hint" | ||
}, hint), children, /* @__PURE__ */ React.createElement(FieldError, { | ||
@@ -325,0 +325,0 @@ className: "FormField-errorMessage", |
{ | ||
"name": "@launchpad-ui/form", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"status": "beta", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
145114