@marianmeres/stuic 3.182.0 → 3.184.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.
@@ -62,25 +62,26 @@
62
62
 
63
63
  ### Form
64
64
 
65
- | Component | Purpose |
66
- | --------------------------------------------- | ------------------------------------------------------------------------------------------ |
67
- | Input (FieldInput, FieldSelect, etc.) | Form fields |
68
- | FieldMoney | Money input storing integer minor units (e.g. cents) |
69
- | Calendar | Month grid for single-date / range picking: keyboard grid, min/max, dropdown caption, i18n |
70
- | FieldDate, FieldDateRange | Date / date-range fields around Calendar: trigger + dialog or embedded; ISO hidden inputs |
71
- | FieldPhoneNumber | International phone input with country picker |
72
- | FieldObject | Dual-mode JSON object editor (pretty-print/raw) |
73
- | CronInput | Cron expression editor with presets and validation |
74
- | Fieldset | Field grouping with legend |
75
- | FieldKeyValues | Key-value pair editor |
76
- | FieldTable | Rows × typed columns editor (text/number/select/checkbox/date/url cells, container layout) |
77
- | FieldsBuilder | Field-definition list editor ("what properties does a thing have?") |
78
- | FieldAssets | File/asset management |
79
- | LoginForm, LoginFormModal | Standalone login form with optional modal variant |
80
- | RegisterForm | Standalone registration form with declarative extra fields |
81
- | LoginOrRegisterForm, LoginOrRegisterFormModal | Composite login/register/verify form (3 modes, shared social-logins) |
82
- | EmailVerifyForm | Post-registration email-verify form (OtpInput + resend cooldown) |
83
- | OtpInput | Generic N-slot one-time-code input (numeric/alphanumeric, paste-distribute) |
65
+ | Component | Purpose |
66
+ | --------------------------------------------- | ------------------------------------------------------------------------------------------------- |
67
+ | Input (FieldInput, FieldSelect, etc.) | Form fields |
68
+ | FieldMoney | Money input storing integer minor units (e.g. cents) |
69
+ | Calendar | Month grid for single-date / range picking: keyboard grid, min/max, dropdown caption, i18n |
70
+ | FieldDate, FieldDateRange | Date / date-range fields around Calendar: trigger + dialog or embedded; ISO hidden inputs |
71
+ | FieldPhoneNumber | International phone input with country picker |
72
+ | FieldObject | Dual-mode JSON object editor (pretty-print/raw) |
73
+ | CronInput | Cron expression editor with presets and validation |
74
+ | Fieldset | Field grouping with legend |
75
+ | FieldKeyValues | Key-value pair editor |
76
+ | FieldTable | Rows × typed columns editor (text/number/select/checkbox/date/url cells, container layout) |
77
+ | FieldsBuilder | Field-definition list editor ("what properties does a thing have?") |
78
+ | FieldAssets | File/asset management |
79
+ | FieldSingleAsset | One asset (avatar, logo, cover): replace-in-place tile, inline remove + undo, rollback on failure |
80
+ | LoginForm, LoginFormModal | Standalone login form with optional modal variant |
81
+ | RegisterForm | Standalone registration form with declarative extra fields |
82
+ | LoginOrRegisterForm, LoginOrRegisterFormModal | Composite login/register/verify form (3 modes, shared social-logins) |
83
+ | EmailVerifyForm | Post-registration email-verify form (OtpInput + resend cooldown) |
84
+ | OtpInput | Generic N-slot one-time-code input (numeric/alphanumeric, paste-distribute) |
84
85
 
85
86
  ### Display
86
87
 
@@ -157,7 +158,7 @@ failed `validate()` (imperative or event-driven) renders the inline error.
157
158
  Use `validate={false}` to bypass stuic's validation entirely.
158
159
 
159
160
  > **Why default-on?** Hidden-input field components (`FieldPhoneNumber`,
160
- > `FieldCountry`, `FieldObject`, `FieldAssets`, `FieldInputLocalized`,
161
+ > `FieldCountry`, `FieldObject`, `FieldAssets`, `FieldSingleAsset`, `FieldInputLocalized`,
161
162
  > `FieldKeyValues`, `FieldTable`, `FieldLikeButton`, `FieldDate`, `FieldDateRange`, `Rating`) _must_ be default-on because hidden
162
163
  > inputs are excluded from native browser constraint validation — without the
163
164
  > stuic action enforcing `required` in a `customValidator`, the attribute is a
@@ -167,7 +168,7 @@ Use `validate={false}` to bypass stuic's validation entirely.
167
168
  ### Per-field methods
168
169
 
169
170
  Available on `FieldInput`, `FieldMoney`, `FieldTextarea`, `FieldCheckbox`,
170
- `FieldSelect`, `FieldFile`, `FieldObject`, `FieldAssets`, `FieldInputLocalized`,
171
+ `FieldSelect`, `FieldFile`, `FieldObject`, `FieldAssets`, `FieldSingleAsset`, `FieldInputLocalized`,
171
172
  `FieldKeyValues`, `FieldTable`, `FieldPhoneNumber`, `FieldCountry`, `FieldLikeButton`,
172
173
  `FieldRadios`, `FieldSwitch`, `FieldOptions`, `FieldDate`, `FieldDateRange`, and
173
174
  `Switch`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "3.182.0",
3
+ "version": "3.184.0",
4
4
  "packageManager": "pnpm@11.5.0",
5
5
  "scripts": {
6
6
  "dev": "vite dev",