@stfrigerio/sito-template 0.1.28 → 0.1.29
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/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -759,7 +759,7 @@ var styles$p = {"checkboxLabel":"Checkbox-module_checkboxLabel__4tBVg","checkbox
|
|
|
759
759
|
*/
|
|
760
760
|
const Checkbox = ({ checked, onChange, label, disabled = false, indeterminate = false, id, name, value, soundConfig }) => {
|
|
761
761
|
const checkboxRef = React.useRef(null);
|
|
762
|
-
const { playSound } = useComponentSound(soundConfig);
|
|
762
|
+
const { handlers, playSound } = useComponentSound(soundConfig);
|
|
763
763
|
React.useEffect(() => {
|
|
764
764
|
if (checkboxRef.current) {
|
|
765
765
|
checkboxRef.current.indeterminate = indeterminate;
|
|
@@ -4931,5 +4931,8 @@ exports.ThemeSwitcher = ThemeSwitcher;
|
|
|
4931
4931
|
exports.TimeInput = TimeInput;
|
|
4932
4932
|
exports.Toggle = Toggle;
|
|
4933
4933
|
exports.ToggleButton = ToggleButton;
|
|
4934
|
+
exports.soundManager = soundManager;
|
|
4935
|
+
exports.useComponentSound = useComponentSound;
|
|
4936
|
+
exports.useSound = useSound;
|
|
4934
4937
|
exports.useTheme = useTheme$1;
|
|
4935
4938
|
//# sourceMappingURL=index.js.map
|