@bug-on/m3-expressive 1.3.5 → 1.3.7
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 +3 -3
- package/dist/buttons.d.ts +3 -3
- package/dist/buttons.js +110 -91
- package/dist/buttons.js.map +1 -1
- package/dist/buttons.mjs +110 -91
- package/dist/buttons.mjs.map +1 -1
- package/dist/{core-Cckt8qEm.d.ts → core-DamhB5Yd.d.ts} +1 -1
- package/dist/{core-DDfG4pym.d.mts → core-Wsfqn9_N.d.mts} +1 -1
- package/dist/core.d.mts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -1
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +1 -1
- package/dist/core.mjs.map +1 -1
- package/dist/{fading-blur-mask--uZbBKLj.d.ts → fading-blur-mask-CX-bwjNU.d.mts} +6 -1
- package/dist/{fading-blur-mask--uZbBKLj.d.mts → fading-blur-mask-D57UMguz.d.ts} +6 -1
- package/dist/feedback.d.mts +17 -5
- package/dist/feedback.d.ts +17 -5
- package/dist/feedback.js +1 -1
- package/dist/feedback.js.map +1 -1
- package/dist/feedback.mjs +1 -1
- package/dist/feedback.mjs.map +1 -1
- package/dist/forms.d.mts +3 -3
- package/dist/forms.d.ts +3 -3
- package/dist/forms.js +16 -6
- package/dist/forms.js.map +1 -1
- package/dist/forms.mjs +16 -6
- package/dist/forms.mjs.map +1 -1
- package/dist/{icon-button-CxyJv7UV.d.mts → icon-button-BpX9_fwZ.d.mts} +1 -1
- package/dist/{icon-button-Di8VX6ou.d.ts → icon-button-DFXp9hze.d.ts} +1 -1
- package/dist/index.d.mts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +1790 -1133
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1640 -988
- package/dist/index.mjs.map +1 -1
- package/dist/layout.d.mts +92 -23
- package/dist/layout.d.ts +92 -23
- package/dist/layout.js +118 -13
- package/dist/layout.js.map +1 -1
- package/dist/layout.mjs +118 -15
- package/dist/layout.mjs.map +1 -1
- package/dist/{md3-expressive-shapes-CPcfl_Hf.d.mts → md3-expressive-shapes-wk_98LJh.d.mts} +20 -1
- package/dist/{md3-expressive-shapes-CPcfl_Hf.d.ts → md3-expressive-shapes-wk_98LJh.d.ts} +20 -1
- package/dist/md3-xBl4wgND.d.mts +44 -0
- package/dist/md3-xBl4wgND.d.ts +44 -0
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/navigation.js +74 -21
- package/dist/navigation.js.map +1 -1
- package/dist/navigation.mjs +74 -21
- package/dist/navigation.mjs.map +1 -1
- package/dist/overlays.d.mts +4 -2
- package/dist/overlays.d.ts +4 -2
- package/dist/overlays.js +85 -44
- package/dist/overlays.js.map +1 -1
- package/dist/overlays.mjs +85 -44
- package/dist/overlays.mjs.map +1 -1
- package/dist/pickers.js +89 -56
- package/dist/pickers.js.map +1 -1
- package/dist/pickers.mjs +89 -56
- package/dist/pickers.mjs.map +1 -1
- package/dist/shapes.d.mts +150 -17
- package/dist/shapes.d.ts +150 -17
- package/dist/shapes.js +618 -126
- package/dist/shapes.js.map +1 -1
- package/dist/shapes.mjs +614 -127
- package/dist/shapes.mjs.map +1 -1
- package/dist/{side-sheet-modal-Bd5Qqvp9.d.ts → side-sheet-modal-BfdgYjd3.d.ts} +70 -0
- package/dist/{side-sheet-modal-64FGhDxL.d.mts → side-sheet-modal-kLfHINFZ.d.mts} +70 -0
- package/dist/{split-button-trailing-uncheckable-CGzk7KcG.d.ts → split-button-trailing-uncheckable-BpyIlOdn.d.ts} +7 -3
- package/dist/{split-button-trailing-uncheckable-gAz6OAIi.d.mts → split-button-trailing-uncheckable-CpT8iPpr.d.mts} +7 -3
- package/dist/{text-field-DARNdj14.d.ts → text-field-Ct-LT_2T.d.ts} +23 -4
- package/dist/{text-field-4OlT9o8s.d.mts → text-field-D5xiGn-q.d.mts} +23 -4
- package/llms-full.txt +25 -3
- package/llms.txt +4 -1
- package/package.json +1 -1
- package/dist/md3-BQhRygSi.d.mts +0 -31
- package/dist/md3-BQhRygSi.d.ts +0 -31
package/dist/forms.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as SliderThumbProps } from './text-field-
|
|
2
|
-
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, S as Select, k as SelectContentRenderState, l as SelectOption, m as SelectOptionRenderState, n as SelectProps, o as Slider, p as SliderColors, q as SliderOrientation, r as SliderProps, s as SliderTokens, t as SliderTrackSize, u as SliderVariant, v as Switch, w as SwitchColors, x as SwitchProps, y as SwitchTokens, T as TextField, z as TextFieldHandle, A as TextFieldInputType, B as TextFieldProps, D as TextFieldTrailingIconMode, E as TextFieldVariant, F as TriStateCheckbox, G as TriStateCheckboxProps } from './text-field-
|
|
1
|
+
import { H as SliderThumbProps } from './text-field-D5xiGn-q.mjs';
|
|
2
|
+
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, S as Select, k as SelectContentRenderState, l as SelectOption, m as SelectOptionRenderState, n as SelectProps, o as Slider, p as SliderColors, q as SliderOrientation, r as SliderProps, s as SliderTokens, t as SliderTrackSize, u as SliderVariant, v as Switch, w as SwitchColors, x as SwitchProps, y as SwitchTokens, T as TextField, z as TextFieldHandle, A as TextFieldInputType, B as TextFieldProps, D as TextFieldTrailingIconMode, E as TextFieldVariant, F as TriStateCheckbox, G as TriStateCheckboxProps } from './text-field-D5xiGn-q.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import 'class-variance-authority/types';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import './menu-types-rZNQFO7Y.mjs';
|
|
7
|
-
import './md3-
|
|
7
|
+
import './md3-xBl4wgND.mjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @file slider-thumb.tsx
|
package/dist/forms.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { H as SliderThumbProps } from './text-field-
|
|
2
|
-
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, S as Select, k as SelectContentRenderState, l as SelectOption, m as SelectOptionRenderState, n as SelectProps, o as Slider, p as SliderColors, q as SliderOrientation, r as SliderProps, s as SliderTokens, t as SliderTrackSize, u as SliderVariant, v as Switch, w as SwitchColors, x as SwitchProps, y as SwitchTokens, T as TextField, z as TextFieldHandle, A as TextFieldInputType, B as TextFieldProps, D as TextFieldTrailingIconMode, E as TextFieldVariant, F as TriStateCheckbox, G as TriStateCheckboxProps } from './text-field-
|
|
1
|
+
import { H as SliderThumbProps } from './text-field-Ct-LT_2T.js';
|
|
2
|
+
export { C as Checkbox, a as CheckboxProps, b as CheckboxState, c as Chip, d as ChipProps, R as RadioButton, e as RadioButtonColors, f as RadioButtonProps, g as RadioGroup, h as RadioGroupProps, i as RangeSlider, j as RangeSliderProps, S as Select, k as SelectContentRenderState, l as SelectOption, m as SelectOptionRenderState, n as SelectProps, o as Slider, p as SliderColors, q as SliderOrientation, r as SliderProps, s as SliderTokens, t as SliderTrackSize, u as SliderVariant, v as Switch, w as SwitchColors, x as SwitchProps, y as SwitchTokens, T as TextField, z as TextFieldHandle, A as TextFieldInputType, B as TextFieldProps, D as TextFieldTrailingIconMode, E as TextFieldVariant, F as TriStateCheckbox, G as TriStateCheckboxProps } from './text-field-Ct-LT_2T.js';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import 'class-variance-authority/types';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import './menu-types-rZNQFO7Y.js';
|
|
7
|
-
import './md3-
|
|
7
|
+
import './md3-xBl4wgND.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @file slider-thumb.tsx
|
package/dist/forms.js
CHANGED
|
@@ -3704,12 +3704,13 @@ var TextFieldComponent = React4__namespace.forwardRef(
|
|
|
3704
3704
|
if (autoResize) {
|
|
3705
3705
|
textarea.style.height = "auto";
|
|
3706
3706
|
textarea.style.height = `${textarea.scrollHeight}px`;
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3707
|
+
textarea.style.overflowY = "hidden";
|
|
3708
|
+
} else {
|
|
3709
|
+
textarea.style.height = "";
|
|
3710
|
+
textarea.style.maxHeight = "";
|
|
3711
|
+
textarea.style.overflowY = "";
|
|
3710
3712
|
}
|
|
3711
|
-
|
|
3712
|
-
}, [type, autoResize, maxRows, currentValue]);
|
|
3713
|
+
}, [type, autoResize, currentValue]);
|
|
3713
3714
|
const handleValueChange = React4__namespace.useCallback(
|
|
3714
3715
|
(newValue) => {
|
|
3715
3716
|
var _a2, _b;
|
|
@@ -3932,7 +3933,7 @@ var TextFieldComponent = React4__namespace.forwardRef(
|
|
|
3932
3933
|
className: cn(
|
|
3933
3934
|
inputClass,
|
|
3934
3935
|
"resize-none mt-2",
|
|
3935
|
-
autoResize ? "h-auto" : "h-full"
|
|
3936
|
+
autoResize ? "h-auto" : "min-h-full overflow-y-auto"
|
|
3936
3937
|
),
|
|
3937
3938
|
style: { direction: textDirection || void 0 }
|
|
3938
3939
|
}, inputProps)
|
|
@@ -4071,6 +4072,15 @@ var Select = React4__namespace.forwardRef(
|
|
|
4071
4072
|
openRef.current = open;
|
|
4072
4073
|
const [searchQuery, setSearchQuery] = React4__namespace.useState("");
|
|
4073
4074
|
const [scrollViewport, setScrollViewport] = React4__namespace.useState(null);
|
|
4075
|
+
React4__namespace.useEffect(() => {
|
|
4076
|
+
var _a3, _b3;
|
|
4077
|
+
const isDev = ((_b3 = (_a3 = globalThis.process) == null ? void 0 : _a3.env) == null ? void 0 : _b3.NODE_ENV) !== "production";
|
|
4078
|
+
if (isDev && onSearchChange && !searchable) {
|
|
4079
|
+
console.warn(
|
|
4080
|
+
"[Select] `onSearchChange` was provided but `searchable` is false. The callback will never be called unless you also set `searchable={true}`."
|
|
4081
|
+
);
|
|
4082
|
+
}
|
|
4083
|
+
}, [onSearchChange, searchable]);
|
|
4074
4084
|
const selectedOption = React4__namespace.useMemo(
|
|
4075
4085
|
() => options.find((opt) => opt.value === currentValue),
|
|
4076
4086
|
[options, currentValue]
|