hisd3-ui-kit 5.2.1 → 5.2.2

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 CHANGED
@@ -403,6 +403,12 @@ again — and the instance unmounts once the animation finishes.
403
403
 
404
404
  ## Migrating
405
405
 
406
+ ### from 5.2.1
407
+
408
+ Nothing to change. 5.2.2 makes the sign-in page's `variant="square"` flat:
409
+ its card loses the drop shadow and keeps the hairline edge, so it matches
410
+ the shell. `"soft"` is unchanged.
411
+
406
412
  ### from 5.2.0
407
413
 
408
414
  Nothing to change. 5.2.1 makes `HISD3LoginPage` follow dark mode (it kept a
package/dist/index.cjs.js CHANGED
@@ -634,10 +634,10 @@
634
634
  box-shadow: 0 4px 10px rgba(16, 15, 14, 0.05),
635
635
  0 24px 60px rgba(16, 15, 14, 0.14);
636
636
  `:o.css`
637
+ /* Flat, like the shell: a hairline edge and nothing floating. */
637
638
  border-radius: 0;
638
639
  border: var(--hisd3-rule-width, 1px) solid var(--hisd3-border, var(--ant-color-border, #D9D5CE));
639
- box-shadow: 0 2px 4px rgba(16, 15, 14, 0.04),
640
- 0 18px 44px rgba(16, 15, 14, 0.1);
640
+ box-shadow: none;
641
641
  `}
642
642
 
643
643
  /* tablet and below: no panel, so centre the card */