@bug-on/m3-expressive 1.3.4 → 1.3.6

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 (76) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +31 -7
  3. package/dist/assets/material-symbols-cdn.css +17 -23
  4. package/dist/buttons.js +129 -35
  5. package/dist/buttons.js.map +1 -1
  6. package/dist/buttons.mjs +129 -35
  7. package/dist/buttons.mjs.map +1 -1
  8. package/dist/{core-COvZHQ_k.d.ts → core-Cckt8qEm.d.ts} +10 -4
  9. package/dist/{core-CRkixy1y.d.mts → core-DDfG4pym.d.mts} +10 -4
  10. package/dist/core.d.mts +2 -2
  11. package/dist/core.d.ts +2 -2
  12. package/dist/core.js +6 -5
  13. package/dist/core.js.map +1 -1
  14. package/dist/core.mjs +6 -5
  15. package/dist/core.mjs.map +1 -1
  16. package/dist/fading-blur-mask--uZbBKLj.d.mts +77 -0
  17. package/dist/fading-blur-mask--uZbBKLj.d.ts +77 -0
  18. package/dist/feedback.js +1 -1
  19. package/dist/feedback.js.map +1 -1
  20. package/dist/feedback.mjs +1 -1
  21. package/dist/feedback.mjs.map +1 -1
  22. package/dist/forms.d.mts +2 -2
  23. package/dist/forms.d.ts +2 -2
  24. package/dist/forms.js +17 -7
  25. package/dist/forms.js.map +1 -1
  26. package/dist/forms.mjs +17 -7
  27. package/dist/forms.mjs.map +1 -1
  28. package/dist/index.d.mts +9 -8
  29. package/dist/index.d.ts +9 -8
  30. package/dist/index.js +988 -309
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.mjs +984 -310
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/layout.d.mts +5 -3
  35. package/dist/layout.d.ts +5 -3
  36. package/dist/layout.js +61 -6
  37. package/dist/layout.js.map +1 -1
  38. package/dist/layout.mjs +61 -7
  39. package/dist/layout.mjs.map +1 -1
  40. package/dist/material-symbols-cdn.css +17 -23
  41. package/dist/{md3-expressive-shapes-CPcfl_Hf.d.mts → md3-expressive-shapes-wk_98LJh.d.mts} +20 -1
  42. package/dist/{md3-expressive-shapes-CPcfl_Hf.d.ts → md3-expressive-shapes-wk_98LJh.d.ts} +20 -1
  43. package/dist/navigation.d.mts +26 -84
  44. package/dist/navigation.d.ts +26 -84
  45. package/dist/navigation.js +95 -29
  46. package/dist/navigation.js.map +1 -1
  47. package/dist/navigation.mjs +95 -29
  48. package/dist/navigation.mjs.map +1 -1
  49. package/dist/overlays.d.mts +4 -2
  50. package/dist/overlays.d.ts +4 -2
  51. package/dist/overlays.js +85 -44
  52. package/dist/overlays.js.map +1 -1
  53. package/dist/overlays.mjs +85 -44
  54. package/dist/overlays.mjs.map +1 -1
  55. package/dist/pickers.d.mts +12 -0
  56. package/dist/pickers.d.ts +12 -0
  57. package/dist/pickers.js +186 -120
  58. package/dist/pickers.js.map +1 -1
  59. package/dist/pickers.mjs +186 -120
  60. package/dist/pickers.mjs.map +1 -1
  61. package/dist/shapes.d.mts +141 -15
  62. package/dist/shapes.d.ts +141 -15
  63. package/dist/shapes.js +618 -126
  64. package/dist/shapes.js.map +1 -1
  65. package/dist/shapes.mjs +614 -127
  66. package/dist/shapes.mjs.map +1 -1
  67. package/dist/{side-sheet-modal-64FGhDxL.d.mts → side-sheet-modal-BycxrabB.d.mts} +70 -0
  68. package/dist/{side-sheet-modal-Bd5Qqvp9.d.ts → side-sheet-modal-Cw4vemKx.d.ts} +70 -0
  69. package/dist/{text-field-4OlT9o8s.d.mts → text-field-B1fLh5Sh.d.mts} +22 -3
  70. package/dist/{text-field-DARNdj14.d.ts → text-field-C0VQLp8Y.d.ts} +22 -3
  71. package/dist/{typography-339RV6v7.d.mts → typography-CKTjvlZ4.d.mts} +25 -0
  72. package/dist/{typography-339RV6v7.d.ts → typography-CKTjvlZ4.d.ts} +25 -0
  73. package/dist/typography.css +1 -1
  74. package/llms-full.txt +24 -13
  75. package/llms.txt +11 -6
  76. package/package.json +3 -3
package/dist/forms.mjs CHANGED
@@ -1250,7 +1250,7 @@ var IconComponent = React4.forwardRef(
1250
1250
  (_a, ref) => {
1251
1251
  var _b = _a, {
1252
1252
  name,
1253
- variant = "outlined",
1253
+ variant = "rounded",
1254
1254
  fill = 0,
1255
1255
  weight = 400,
1256
1256
  grade = 0,
@@ -3680,12 +3680,13 @@ var TextFieldComponent = React4.forwardRef(
3680
3680
  if (autoResize) {
3681
3681
  textarea.style.height = "auto";
3682
3682
  textarea.style.height = `${textarea.scrollHeight}px`;
3683
- if (maxRows) {
3684
- textarea.style.maxHeight = `${maxRows * LINE_HEIGHT_PX}px`;
3685
- }
3683
+ textarea.style.overflowY = "hidden";
3684
+ } else {
3685
+ textarea.style.height = "";
3686
+ textarea.style.maxHeight = "";
3687
+ textarea.style.overflowY = "";
3686
3688
  }
3687
- textarea.style.overflowY = "hidden";
3688
- }, [type, autoResize, maxRows, currentValue]);
3689
+ }, [type, autoResize, currentValue]);
3689
3690
  const handleValueChange = React4.useCallback(
3690
3691
  (newValue) => {
3691
3692
  var _a2, _b;
@@ -3908,7 +3909,7 @@ var TextFieldComponent = React4.forwardRef(
3908
3909
  className: cn(
3909
3910
  inputClass,
3910
3911
  "resize-none mt-2",
3911
- autoResize ? "h-auto" : "h-full"
3912
+ autoResize ? "h-auto" : "min-h-full overflow-y-auto"
3912
3913
  ),
3913
3914
  style: { direction: textDirection || void 0 }
3914
3915
  }, inputProps)
@@ -4047,6 +4048,15 @@ var Select = React4.forwardRef(
4047
4048
  openRef.current = open;
4048
4049
  const [searchQuery, setSearchQuery] = React4.useState("");
4049
4050
  const [scrollViewport, setScrollViewport] = React4.useState(null);
4051
+ React4.useEffect(() => {
4052
+ var _a3, _b3;
4053
+ const isDev = ((_b3 = (_a3 = globalThis.process) == null ? void 0 : _a3.env) == null ? void 0 : _b3.NODE_ENV) !== "production";
4054
+ if (isDev && onSearchChange && !searchable) {
4055
+ console.warn(
4056
+ "[Select] `onSearchChange` was provided but `searchable` is false. The callback will never be called unless you also set `searchable={true}`."
4057
+ );
4058
+ }
4059
+ }, [onSearchChange, searchable]);
4050
4060
  const selectedOption = React4.useMemo(
4051
4061
  () => options.find((opt) => opt.value === currentValue),
4052
4062
  [options, currentValue]