@bug-on/m3-expressive 1.2.3 → 1.2.4
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 +6 -0
- package/dist/buttons.d.mts +1 -1
- package/dist/buttons.d.ts +1 -1
- package/dist/buttons.js +27 -8
- package/dist/buttons.js.map +1 -1
- package/dist/buttons.mjs +27 -8
- package/dist/buttons.mjs.map +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +501 -141
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +501 -141
- package/dist/index.mjs.map +1 -1
- package/dist/layout.js +4 -1
- package/dist/layout.js.map +1 -1
- package/dist/layout.mjs +4 -1
- package/dist/layout.mjs.map +1 -1
- package/dist/md3-expressive-shapes-CPcfl_Hf.d.mts +498 -0
- package/dist/md3-expressive-shapes-CPcfl_Hf.d.ts +498 -0
- package/dist/navigation.d.mts +66 -13
- package/dist/navigation.d.ts +66 -13
- package/dist/navigation.js +2403 -133
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs +2402 -134
- package/dist/navigation.mjs.map +1 -1
- package/dist/shapes.d.mts +3 -498
- package/dist/shapes.d.ts +3 -498
- package/dist/{split-button-trailing-uncheckable-DHJqNeq_.d.mts → split-button-trailing-uncheckable-BTWfIN2k.d.mts} +5 -0
- package/dist/{split-button-trailing-uncheckable-C-qQlyZx.d.ts → split-button-trailing-uncheckable-DtxrcLxH.d.ts} +5 -0
- package/package.json +3 -3
package/dist/layout.js
CHANGED
|
@@ -1518,6 +1518,7 @@ var ButtonComponent = React18__namespace.forwardRef(
|
|
|
1518
1518
|
loading = false,
|
|
1519
1519
|
loadingVariant = "loading-indicator",
|
|
1520
1520
|
asChild = false,
|
|
1521
|
+
fullWidth = false,
|
|
1521
1522
|
outlineWidth,
|
|
1522
1523
|
children,
|
|
1523
1524
|
onClick,
|
|
@@ -1540,6 +1541,7 @@ var ButtonComponent = React18__namespace.forwardRef(
|
|
|
1540
1541
|
"loading",
|
|
1541
1542
|
"loadingVariant",
|
|
1542
1543
|
"asChild",
|
|
1544
|
+
"fullWidth",
|
|
1543
1545
|
"outlineWidth",
|
|
1544
1546
|
"children",
|
|
1545
1547
|
"onClick",
|
|
@@ -1619,7 +1621,8 @@ var ButtonComponent = React18__namespace.forwardRef(
|
|
|
1619
1621
|
[loading, onClick, onKeyDown]
|
|
1620
1622
|
);
|
|
1621
1623
|
const buttonClassName = cn(
|
|
1622
|
-
"relative
|
|
1624
|
+
"relative inline-flex flex-row items-center justify-center",
|
|
1625
|
+
fullWidth ? "w-full" : "w-fit shrink-0",
|
|
1623
1626
|
"whitespace-nowrap select-none cursor-pointer",
|
|
1624
1627
|
"transition-[background-color,color,border-color,box-shadow,opacity,filter] duration-200",
|
|
1625
1628
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-m3-primary focus-visible:ring-offset-2",
|