@bug-on/m3-expressive 1.0.0 → 1.1.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.
- package/CHANGELOG.md +29 -2
- package/README.md +20 -18
- package/dist/assets/material-symbols-self-hosted.css +27 -26
- package/dist/buttons.d.mts +1 -1
- package/dist/buttons.d.ts +1 -1
- package/dist/buttons.js.map +1 -1
- package/dist/buttons.mjs.map +1 -1
- package/dist/core.d.mts +44 -44
- package/dist/core.d.ts +44 -44
- package/dist/core.js.map +1 -1
- package/dist/core.mjs.map +1 -1
- package/dist/feedback.d.mts +54 -54
- package/dist/feedback.d.ts +54 -54
- package/dist/feedback.js.map +1 -1
- package/dist/feedback.mjs.map +1 -1
- package/dist/index.css +3 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/dist/layout.d.mts +40 -40
- package/dist/layout.d.ts +40 -40
- package/dist/layout.js +5 -5
- package/dist/layout.js.map +1 -1
- package/dist/layout.mjs +5 -5
- package/dist/layout.mjs.map +1 -1
- package/dist/material-symbols-self-hosted.css +27 -26
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs.map +1 -1
- package/dist/overlays.d.mts +2 -2
- package/dist/overlays.d.ts +2 -2
- package/dist/overlays.js +2 -2
- package/dist/overlays.js.map +1 -1
- package/dist/overlays.mjs +2 -2
- package/dist/overlays.mjs.map +1 -1
- package/dist/pickers.d.mts +241 -243
- package/dist/pickers.d.ts +241 -243
- package/dist/pickers.js +1 -1
- package/dist/pickers.js.map +1 -1
- package/dist/pickers.mjs +1 -1
- package/dist/pickers.mjs.map +1 -1
- package/dist/{side-sheet-modal-BY6VCC8p.d.mts → side-sheet-modal-64FGhDxL.d.mts} +20 -21
- package/dist/{side-sheet-modal-CglP6KYA.d.ts → side-sheet-modal-Bd5Qqvp9.d.ts} +20 -21
- package/dist/{split-button-trailing-uncheckable-MXj_kyNt.d.mts → split-button-trailing-uncheckable-BRPuTqi1.d.mts} +140 -151
- package/dist/{split-button-trailing-uncheckable-C5CLCIKP.d.ts → split-button-trailing-uncheckable-CjOFCoyW.d.ts} +140 -151
- package/dist/typography.css +5 -0
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -9574,19 +9574,19 @@ var CardImpl = React59.forwardRef(
|
|
|
9574
9574
|
const baseClass = cn(
|
|
9575
9575
|
cardVariants({ variant }),
|
|
9576
9576
|
// Disabled state:
|
|
9577
|
-
// - pointer-events-none →
|
|
9577
|
+
// - pointer-events-none → disable interactions completely
|
|
9578
9578
|
// - opacity-[0.38] → MD3 DisabledContainerOpacity
|
|
9579
9579
|
disabled && "pointer-events-none opacity-[0.38]",
|
|
9580
9580
|
className
|
|
9581
9581
|
);
|
|
9582
9582
|
const interactiveClass = cn(
|
|
9583
|
-
//
|
|
9583
|
+
// Remove default outline, use MD3 state overlay & elevation for focus
|
|
9584
9584
|
"focus-visible:outline-none focus:outline-none group",
|
|
9585
|
-
//
|
|
9585
|
+
// Base pseudo-element overlay layer
|
|
9586
9586
|
"before:absolute before:inset-0 before:pointer-events-none before:bg-m3-on-surface before:opacity-0 before:transition-opacity before:duration-200",
|
|
9587
|
-
// Interactive
|
|
9587
|
+
// Interactive state opacities
|
|
9588
9588
|
"hover:before:opacity-[0.08] focus-visible:before:opacity-[0.10] active:before:opacity-[0.10]",
|
|
9589
|
-
// Outlined interactive card:
|
|
9589
|
+
// Outlined interactive card: change border color to m3-outline on focus/press/hover
|
|
9590
9590
|
variant === "outlined" && "hover:border-m3-outline focus-visible:border-m3-outline active:border-m3-outline"
|
|
9591
9591
|
);
|
|
9592
9592
|
if (!isInteractive) {
|
|
@@ -12628,7 +12628,7 @@ var TimeInput = ({ state, className }) => {
|
|
|
12628
12628
|
fontWeight: 400,
|
|
12629
12629
|
lineHeight: 1,
|
|
12630
12630
|
width: 24,
|
|
12631
|
-
//
|
|
12631
|
+
// Aligned with height of input field
|
|
12632
12632
|
marginTop: `${(TP_SIZE.timeFieldHeight - 57) / 2}px`
|
|
12633
12633
|
},
|
|
12634
12634
|
"aria-hidden": true,
|
|
@@ -13442,7 +13442,7 @@ var DrawerContent = React59.forwardRef(
|
|
|
13442
13442
|
m.div,
|
|
13443
13443
|
__spreadProps(__spreadValues({
|
|
13444
13444
|
className: cn(
|
|
13445
|
-
// MD3 Bottom Sheet shape:
|
|
13445
|
+
// MD3 Bottom Sheet shape: top rounded corners only
|
|
13446
13446
|
"fixed bottom-0 left-0 right-0 z-50",
|
|
13447
13447
|
"rounded-t-[28px] bg-m3-surface-container-low",
|
|
13448
13448
|
"flex flex-col overflow-hidden",
|
|
@@ -13471,7 +13471,7 @@ var DrawerContent = React59.forwardRef(
|
|
|
13471
13471
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-m3-primary",
|
|
13472
13472
|
"transition-colors duration-200"
|
|
13473
13473
|
),
|
|
13474
|
-
"aria-label": "
|
|
13474
|
+
"aria-label": "Close drawer panel",
|
|
13475
13475
|
children: /* @__PURE__ */ jsx(Icon, { name: "close", size: 20, "aria-hidden": "true" })
|
|
13476
13476
|
}
|
|
13477
13477
|
),
|