@coolms/ui-react 0.1.0-alpha.4 → 0.1.0-alpha.5
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/CHANGELOG.md +10 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/kit.css +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@coolms/ui-react` are listed here. Versions follow [semantic versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
+
## 0.1.0-alpha.5 (2026-11-04)
|
|
6
|
+
|
|
7
|
+
A field is drawn once.
|
|
8
|
+
|
|
9
|
+
- Fixed: `SignInForm`'s inputs carried the class of a field's frame, `cms-field`, so their box (a border, a fixed
|
|
10
|
+
44px height, padding and a background) fell on the frame of every `TextField`, `Select` and `Toggle` too: each field
|
|
11
|
+
drew two boxes, and its help text ran over the next label. The sign-in inputs are now `cms-signin-form__input`, and
|
|
12
|
+
the frame is a column of label, box and help only. A page that styled the sign-in inputs as `.cms-field` styles
|
|
13
|
+
them as `.cms-signin-form__input`.
|
|
14
|
+
|
|
5
15
|
## 0.1.0-alpha.4 (2026-11-02)
|
|
6
16
|
|
|
7
17
|
The kit's words come from the app, and the composer leaves an input method's Enter alone.
|
package/dist/index.js
CHANGED
|
@@ -760,7 +760,7 @@ function Ae({ server: l, onSubmit: n, forgotHref: a, createHref: c, error: s, bu
|
|
|
760
760
|
"input",
|
|
761
761
|
{
|
|
762
762
|
id: `${u}-identifier`,
|
|
763
|
-
className: "cms-
|
|
763
|
+
className: "cms-signin-form__input",
|
|
764
764
|
type: "text",
|
|
765
765
|
autoComplete: "username",
|
|
766
766
|
placeholder: d.identifierPlaceholder,
|
|
@@ -775,7 +775,7 @@ function Ae({ server: l, onSubmit: n, forgotHref: a, createHref: c, error: s, bu
|
|
|
775
775
|
"input",
|
|
776
776
|
{
|
|
777
777
|
id: `${u}-password`,
|
|
778
|
-
className: "cms-
|
|
778
|
+
className: "cms-signin-form__input",
|
|
779
779
|
type: p ? "text" : "password",
|
|
780
780
|
autoComplete: "current-password",
|
|
781
781
|
value: f,
|
package/package.json
CHANGED
package/src/kit.css
CHANGED
|
@@ -465,11 +465,11 @@
|
|
|
465
465
|
.cms-signin-form__title { margin: 0; font-size: var(--cms-font-size-display-sm); font-weight: var(--cms-font-weight-bold); }
|
|
466
466
|
.cms-signin-form__server { display: flex; align-items: center; gap: var(--cms-space-2); margin: 0 0 var(--cms-space-4); color: var(--cms-text-muted); }
|
|
467
467
|
.cms-signin-form__label { margin-top: var(--cms-space-2); font-weight: var(--cms-font-weight-medium); }
|
|
468
|
-
|
|
469
|
-
.cms-
|
|
468
|
+
/* The sign-in form's own inputs: a field's frame (.cms-field) is a different thing, and none of this reaches it. */
|
|
469
|
+
.cms-signin-form__input { height: 44px; margin-bottom: 12px; padding: 0 var(--cms-space-4); border: 1px solid var(--cms-border-input); border-radius: var(--cms-radius-field); background: var(--cms-input-bg); color: var(--cms-text); font: inherit; font-size: var(--cms-font-size-body-lg); }
|
|
470
|
+
.cms-signin-form__input:focus { outline: 2px solid var(--cms-focus-ring); outline-offset: 1px; }
|
|
470
471
|
.cms-signin-form__password { position: relative; display: flex; align-items: center; margin-bottom: 12px; }
|
|
471
|
-
.cms-signin-form__password .cms-
|
|
472
|
-
.cms-signin-form__password .cms-field { flex: 1; padding-right: 64px; }
|
|
472
|
+
.cms-signin-form__password .cms-signin-form__input { flex: 1; margin-bottom: 0; padding-right: 64px; }
|
|
473
473
|
.cms-signin-form__show { position: absolute; top: 50%; line-height: 1; right: var(--cms-space-3); transform: translateY(-50%); border: 0; background: transparent; color: var(--cms-text-body); font: inherit; cursor: pointer; }
|
|
474
474
|
.cms-signin-form__forgot { align-self: flex-end; color: var(--cms-text); }
|
|
475
475
|
.cms-signin-form__error { margin: 0; color: var(--cms-danger-text); }
|