@fluixi-ui/skin-material 0.3.0-alpha.7 → 0.3.0-alpha.8

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.
Files changed (2) hide show
  1. package/material.css +25 -0
  2. package/package.json +1 -1
package/material.css CHANGED
@@ -873,4 +873,29 @@
873
873
  [data-ui='material'] :where([data-speed-dial-action]) {
874
874
  box-shadow: var(--flx-ui-shadow-sm);
875
875
  }
876
+
877
+ /* ---- Carousel: M3 expanding indicators + circular controls -------------- */
878
+ [data-ui='material'] :where([data-carousel-dot]) {
879
+ border-radius: var(--flx-ui-radius-full, 999px);
880
+ transition: width var(--flx-ui-duration-normal, 250ms) var(--flx-ui-ease-standard, ease),
881
+ background var(--flx-ui-duration-fast) var(--flx-ui-ease-standard);
882
+ }
883
+ /* Active indicator grows into a pill, à la M3 carousels. */
884
+ [data-ui='material'] :where([data-carousel-dot][data-active]) {
885
+ width: 24px;
886
+ background: var(--flx-ui-color-primary);
887
+ }
888
+ [data-ui='material'] :where([data-carousel-prev], [data-carousel-next]) {
889
+ display: inline-grid;
890
+ place-items: center;
891
+ inline-size: 40px;
892
+ block-size: 40px;
893
+ border: 0;
894
+ border-radius: var(--flx-ui-radius-full, 999px);
895
+ background: var(--flx-ui-color-bg-muted);
896
+ color: var(--flx-ui-color-fg);
897
+ }
898
+ [data-ui='material'] :where([data-carousel-prev]:hover:not([disabled]), [data-carousel-next]:hover:not([disabled])) {
899
+ background: color-mix(in srgb, var(--flx-ui-color-fg) 8%, var(--flx-ui-color-bg-muted));
900
+ }
876
901
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluixi-ui/skin-material",
3
- "version": "0.3.0-alpha.7",
3
+ "version": "0.3.0-alpha.8",
4
4
  "description": "Material Design skin for Fluixi UI — activate with data-ui=\"material\"",
5
5
  "license": "MIT",
6
6
  "private": false,