@@ -175,20 +175,13 @@ inputContainer props = theCss <>? props.css
176 { "--left-icon-size": var "--s0"
176 { "--left-icon-size": var "--s0"
177 , "--right-icon-size": str "calc(var(--s0) * 1.2)"
177 , "--right-icon-size": str "calc(var(--s0) * 1.2)"
178− , "--input-border-radius": var "--s-1"
179 , "--input-side-padding": str "calc(var(--s-1) * 1.2)"
178 , "--input-side-padding": str "calc(var(--s-1) * 1.2)"
180 , "--input-top-padding": var "--s-5"
179 , "--input-top-padding": var "--s-5"
181 , "--input-bottom-padding": var "--s-5"
180 , "--input-bottom-padding": var "--s-5"
182− , "--border-width": str "1px"
183 , letterSpacing: em (-0.011)
181 , letterSpacing: em (-0.011)
184 , position: relative
182 , position: relative
185 , cursor: str "text"
183 , cursor: str "text"
186 , boxSizing: borderBox
184 , boxSizing: borderBox
187− , boxShadow: str """
188− 0 1px 1px rgba(200,200,255,0.2),
189− 0 2px 2px rgba(200,200,255,0.1),
190− 0 4px 8px rgba(200,200,255,0.03)"""
191− , background: str (props.background ?|| colour.inputBackground)
192 , display: flex
185 , display: flex
193 , width: str "calc(var(--s4) * 2)"
186 , width: str "calc(var(--s4) * 2)"
194 , """&[data-invalid="false"]""":
187 , """&[data-invalid="false"]""":
@@ -224,6 +217,20 @@ inputContainer props = theCss <>? props.css
224 , borderRadius: var "--input-border-radius"
217 , borderRadius: var "--input-border-radius"
220+containerContainer ∷ ∀ r. { | Props OptionalProp r } -> Style
221+containerContainer props = css { display: grid
222+ , "--border-width": str "1px"
223+ , "--input-border-radius": var "--s-1"
224+ , background: str (props.background ?|| colour.inputBackground)
225+ , boxSizing: contentBox
226+ , borderRadius: var "--input-border-radius"
227+ , boxShadow: str """
228+ 0 1px 1px rgba(200,200,255,0.2),
229+ 0 2px 2px rgba(200,200,255,0.1),
230+ 0 4px 8px rgba(200,200,255,0.03)"""
231+ , border: str $ "var(--border-width) solid " <> colour.inputBorder
227inputWrapper ∷ Style
234inputWrapper ∷ Style
228inputWrapper =
235inputWrapper =