@bug-on/m3-expressive 1.2.2 → 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 +12 -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 +673 -120
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +673 -120
- 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 +72 -13
- package/dist/navigation.d.ts +72 -13
- package/dist/navigation.js +2575 -112
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs +2574 -113
- 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.mjs
CHANGED
|
@@ -1496,6 +1496,7 @@ var ButtonComponent = React18.forwardRef(
|
|
|
1496
1496
|
loading = false,
|
|
1497
1497
|
loadingVariant = "loading-indicator",
|
|
1498
1498
|
asChild = false,
|
|
1499
|
+
fullWidth = false,
|
|
1499
1500
|
outlineWidth,
|
|
1500
1501
|
children,
|
|
1501
1502
|
onClick,
|
|
@@ -1518,6 +1519,7 @@ var ButtonComponent = React18.forwardRef(
|
|
|
1518
1519
|
"loading",
|
|
1519
1520
|
"loadingVariant",
|
|
1520
1521
|
"asChild",
|
|
1522
|
+
"fullWidth",
|
|
1521
1523
|
"outlineWidth",
|
|
1522
1524
|
"children",
|
|
1523
1525
|
"onClick",
|
|
@@ -1597,7 +1599,8 @@ var ButtonComponent = React18.forwardRef(
|
|
|
1597
1599
|
[loading, onClick, onKeyDown]
|
|
1598
1600
|
);
|
|
1599
1601
|
const buttonClassName = cn(
|
|
1600
|
-
"relative
|
|
1602
|
+
"relative inline-flex flex-row items-center justify-center",
|
|
1603
|
+
fullWidth ? "w-full" : "w-fit shrink-0",
|
|
1601
1604
|
"whitespace-nowrap select-none cursor-pointer",
|
|
1602
1605
|
"transition-[background-color,color,border-color,box-shadow,opacity,filter] duration-200",
|
|
1603
1606
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-m3-primary focus-visible:ring-offset-2",
|