@yamada-ui/segmented-control 0.4.7 → 0.4.8

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/README.md CHANGED
@@ -22,7 +22,7 @@ $ npm install @yamada-ui/segmented-control
22
22
 
23
23
  Wouldn't you like to contribute? That's amazing! We have prepared a [contribution guide](https://github.com/hirotomoyamada/yamada-ui/blob/main/CONTRIBUTING.md) to assist you.
24
24
 
25
- ## Licence
25
+ ## License
26
26
 
27
27
  This package is licensed under the terms of the
28
28
  [MIT license](https://github.com/hirotomoyamada/yamada-ui/blob/main/LICENSE).
@@ -46,7 +46,7 @@ var SegmentedControl = forwardRef(
46
46
  items = [],
47
47
  ...rest
48
48
  } = omitThemeProps(mergedProps);
49
- const isMoutedRef = useIsMounted();
49
+ const isMountedRef = useIsMounted();
50
50
  id != null ? id : id = useId();
51
51
  name != null ? name : name = `segmented-control-${useId()}`;
52
52
  rest.onChange = useCallbackRef(rest.onChange);
@@ -242,7 +242,7 @@ var SegmentedControl = forwardRef(
242
242
  className: cx("ui-segmented-control", className),
243
243
  __css: css,
244
244
  children: [
245
- isMoutedRef.current ? /* @__PURE__ */ jsx(
245
+ isMountedRef.current ? /* @__PURE__ */ jsx(
246
246
  ui.span,
247
247
  {
248
248
  className: "ui-segmented-control__active",
package/dist/index.js CHANGED
@@ -56,7 +56,7 @@ var SegmentedControl = (0, import_core.forwardRef)(
56
56
  items = [],
57
57
  ...rest
58
58
  } = (0, import_core.omitThemeProps)(mergedProps);
59
- const isMoutedRef = (0, import_utils.useIsMounted)();
59
+ const isMountedRef = (0, import_utils.useIsMounted)();
60
60
  id != null ? id : id = (0, import_react.useId)();
61
61
  name != null ? name : name = `segmented-control-${(0, import_react.useId)()}`;
62
62
  rest.onChange = (0, import_utils.useCallbackRef)(rest.onChange);
@@ -252,7 +252,7 @@ var SegmentedControl = (0, import_core.forwardRef)(
252
252
  className: (0, import_utils.cx)("ui-segmented-control", className),
253
253
  __css: css,
254
254
  children: [
255
- isMoutedRef.current ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
255
+ isMountedRef.current ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
256
256
  import_core.ui.span,
257
257
  {
258
258
  className: "ui-segmented-control__active",
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  SegmentedControl,
4
4
  SegmentedControlButton
5
- } from "./chunk-AW6NTRMH.mjs";
5
+ } from "./chunk-WCV4QURB.mjs";
6
6
  export {
7
7
  SegmentedControl,
8
8
  SegmentedControlButton
@@ -54,7 +54,7 @@ var SegmentedControl = (0, import_core.forwardRef)(
54
54
  items = [],
55
55
  ...rest
56
56
  } = (0, import_core.omitThemeProps)(mergedProps);
57
- const isMoutedRef = (0, import_utils.useIsMounted)();
57
+ const isMountedRef = (0, import_utils.useIsMounted)();
58
58
  id != null ? id : id = (0, import_react.useId)();
59
59
  name != null ? name : name = `segmented-control-${(0, import_react.useId)()}`;
60
60
  rest.onChange = (0, import_utils.useCallbackRef)(rest.onChange);
@@ -250,7 +250,7 @@ var SegmentedControl = (0, import_core.forwardRef)(
250
250
  className: (0, import_utils.cx)("ui-segmented-control", className),
251
251
  __css: css,
252
252
  children: [
253
- isMoutedRef.current ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
253
+ isMountedRef.current ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
254
254
  import_core.ui.span,
255
255
  {
256
256
  className: "ui-segmented-control__active",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  SegmentedControl,
4
4
  SegmentedControlButton
5
- } from "./chunk-AW6NTRMH.mjs";
5
+ } from "./chunk-WCV4QURB.mjs";
6
6
  export {
7
7
  SegmentedControl,
8
8
  SegmentedControlButton
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/segmented-control",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Yamada UI segmented control components",
5
5
  "keywords": [
6
6
  "yamada",
@@ -35,12 +35,12 @@
35
35
  "url": "https://github.com/hirotomoyamada/yamada-ui/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@yamada-ui/core": "0.13.1",
39
- "@yamada-ui/utils": "0.4.0",
40
- "@yamada-ui/use-focus-visible": "0.2.6",
41
- "@yamada-ui/use-descendant": "0.2.8",
42
- "@yamada-ui/use-resize-observer": "0.2.6",
43
- "@yamada-ui/use-controllable-state": "0.4.1"
38
+ "@yamada-ui/core": "0.13.2",
39
+ "@yamada-ui/utils": "0.4.1",
40
+ "@yamada-ui/use-focus-visible": "0.2.7",
41
+ "@yamada-ui/use-descendant": "0.2.9",
42
+ "@yamada-ui/use-resize-observer": "0.2.7",
43
+ "@yamada-ui/use-controllable-state": "0.4.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "react": "^18.0.0",