hisd3-ui-kit 5.4.0 → 5.5.1
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/README.md +19 -1
- package/dist/index.cjs.js +306 -73
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +11 -4
- package/dist/index.js +297 -64
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -152,7 +152,7 @@ const menuItems = [
|
|
|
152
152
|
| `HISD3HeaderActions` | Spacing wrapper for the top-right controls; `divided` inserts a rule before the last child. |
|
|
153
153
|
| `HISD3NotificationButton` | Soft-grey circular button with a solid bell glyph and a count pill on its top-right edge; tints to the primary color while its panel is open. Pass `icon` to swap the glyph. Props: `items` (`{ id, title, description, time, unread, avatarSrc, icon, onClick }`), `count` (defaults to the unread tally), `loading`, `size` (default 40), `icon`, `onMarkAllRead`, `onSeeAll`, `emptyText`. |
|
|
154
154
|
| `HISD3AvatarMenu` | Circular avatar button with a small chevron badge (Facebook-style); clicking it opens a menu with the signed-in identity plus Settings and Logout (confirm dialog by default). Falls back to initials on a grey circle when there is no photo. Props: `account`, `avatarSrc`, `settingsUrl` / `onSettings`, `onLogout`, `confirmLogout`, `extraItems`, `shape` (`circle` \| `square`), `size` (default 40), `hideChevron`. |
|
|
155
|
-
| `HISD3LoginPage` | Split-screen sign-in: a brand panel in the app's primary colour plus a floating form card. Per-app: `appName` (the module name shown on the card), `tagline`, `logoSrc`, `title`/`subtitle`, `panelTitle`/`panelSubtitle`, `panelImage`, `variant` (`"soft"` default, or `"
|
|
155
|
+
| `HISD3LoginPage` | Split-screen sign-in: a brand panel in the app's primary colour plus a floating form card. Per-app: `appName` (the module name shown on the card), `tagline`, `logoSrc`, `title`/`subtitle`, `panelTitle`/`panelSubtitle`, `panelImage`, `variant` (`"soft"` default, `"square"`, or `"sheet"`: the panel and the form inside one bordered sheet on the page ground, the form with no card of its own, and the panel's headline over an illustration built from the brand), `side` (`"right"` default, or `"left"`). Form: `onSubmit({ identifier, password, remember })`, `loading`, `error`, `onForgotPassword`, `hideRemember`, the label/placeholder props, and `footer`. The HISD3 watermark on the panel is fixed, so every module still reads as one system. |
|
|
156
156
|
| `UserMenu` | The sidebar-footer account card, on its own. |
|
|
157
157
|
|
|
158
158
|
Theme utilities: `createHisd3Theme`, `hisd3AntdTheme` (red default),
|
|
@@ -404,6 +404,24 @@ again — and the instance unmounts once the animation finishes.
|
|
|
404
404
|
|
|
405
405
|
## Migrating
|
|
406
406
|
|
|
407
|
+
### from 5.5.0
|
|
408
|
+
|
|
409
|
+
Nothing to change. 5.5.1 lets the `"sheet"` sign-in fill the window inside
|
|
410
|
+
the page's 24px margin (it was capped at 1240×760, which left the ground
|
|
411
|
+
showing on a wide monitor), and moves the module's logo and name from the
|
|
412
|
+
form's top corner to just above the title.
|
|
413
|
+
|
|
414
|
+
### from 5.4.0
|
|
415
|
+
|
|
416
|
+
Nothing to change. 5.5.0 adds `HISD3LoginPage`'s `variant="sheet"`: the
|
|
417
|
+
panel and the form side by side inside one bordered sheet on the page
|
|
418
|
+
ground. The form stands on the sheet with no card of its own, a small
|
|
419
|
+
brand line in its corner, a larger title and a compact button; the panel
|
|
420
|
+
carries a short rule, the headline and the tagline over an illustration
|
|
421
|
+
built from the brand (clouds, the HISD3 mark, two record tiles), or
|
|
422
|
+
`panelImage` when given. Below 1024px the sheet frames the form alone; on
|
|
423
|
+
a phone it is the hero-and-sheet layout the other variants use.
|
|
424
|
+
|
|
407
425
|
### from 5.3.1
|
|
408
426
|
|
|
409
427
|
Nothing to change. 5.4.0 adds `HISD3PageStatus`, the whole-page 404, 403
|