@yamada-ui/segmented-control 0.0.0-dev-20231110103759 → 0.0.0-dev-20231111133020

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.
@@ -235,7 +235,7 @@ var SegmentedControl = forwardRef(
235
235
  /* @__PURE__ */ jsx(
236
236
  ui.span,
237
237
  {
238
- className: "ui-segmented-control-active",
238
+ className: "ui-segmented-control__active",
239
239
  ...getActiveProps(),
240
240
  __css: styles.active
241
241
  }
@@ -285,7 +285,7 @@ var SegmentedControlButton = forwardRef(
285
285
  ui.label,
286
286
  {
287
287
  ...getLabelProps(omitObject(props, ["onChange"])),
288
- className: cx("ui-segmented-control-button", className),
288
+ className: cx("ui-segmented-control__button", className),
289
289
  __css: css,
290
290
  ...rest,
291
291
  children: [
package/dist/index.js CHANGED
@@ -240,7 +240,7 @@ var SegmentedControl = (0, import_core.forwardRef)(
240
240
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
241
241
  import_core.ui.span,
242
242
  {
243
- className: "ui-segmented-control-active",
243
+ className: "ui-segmented-control__active",
244
244
  ...getActiveProps(),
245
245
  __css: styles.active
246
246
  }
@@ -290,7 +290,7 @@ var SegmentedControlButton = (0, import_core.forwardRef)(
290
290
  import_core.ui.label,
291
291
  {
292
292
  ...getLabelProps((0, import_utils.omitObject)(props, ["onChange"])),
293
- className: (0, import_utils.cx)("ui-segmented-control-button", className),
293
+ className: (0, import_utils.cx)("ui-segmented-control__button", className),
294
294
  __css: css,
295
295
  ...rest,
296
296
  children: [
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  SegmentedControl,
4
4
  SegmentedControlButton
5
- } from "./chunk-2LRRZGHE.mjs";
5
+ } from "./chunk-SCM6YW3J.mjs";
6
6
  export {
7
7
  SegmentedControl,
8
8
  SegmentedControlButton
@@ -32,7 +32,7 @@ type SegmentedControlOptions = {
32
32
  */
33
33
  isDisabled?: boolean;
34
34
  };
35
- type SegmentedControlProps = Omit<HTMLUIProps<'div'>, 'onChange'> & ThemeProps<'SegmentedControl'> & SegmentedControlOptions;
35
+ type SegmentedControlProps = Omit<HTMLUIProps<"div">, "onChange"> & ThemeProps<"SegmentedControl"> & SegmentedControlOptions;
36
36
  declare const SegmentedControl: _yamada_ui_core.Component<"div", SegmentedControlProps>;
37
37
  type SegmentedControlButtonOptions = {
38
38
  /**
@@ -44,7 +44,7 @@ type SegmentedControlButtonOptions = {
44
44
  */
45
45
  onChange?: ChangeEventHandler<HTMLInputElement>;
46
46
  };
47
- type SegmentedControlButtonProps = Omit<HTMLUIProps<'label'>, 'onChange'> & Pick<SegmentedControlProps, 'isDisabled' | 'isReadOnly'> & SegmentedControlButtonOptions;
47
+ type SegmentedControlButtonProps = Omit<HTMLUIProps<"label">, "onChange"> & Pick<SegmentedControlProps, "isDisabled" | "isReadOnly"> & SegmentedControlButtonOptions;
48
48
  declare const SegmentedControlButton: _yamada_ui_core.Component<"input", SegmentedControlButtonProps>;
49
49
 
50
50
  export { SegmentedControl, SegmentedControlButton, SegmentedControlButtonProps, SegmentedControlProps };
@@ -32,7 +32,7 @@ type SegmentedControlOptions = {
32
32
  */
33
33
  isDisabled?: boolean;
34
34
  };
35
- type SegmentedControlProps = Omit<HTMLUIProps<'div'>, 'onChange'> & ThemeProps<'SegmentedControl'> & SegmentedControlOptions;
35
+ type SegmentedControlProps = Omit<HTMLUIProps<"div">, "onChange"> & ThemeProps<"SegmentedControl"> & SegmentedControlOptions;
36
36
  declare const SegmentedControl: _yamada_ui_core.Component<"div", SegmentedControlProps>;
37
37
  type SegmentedControlButtonOptions = {
38
38
  /**
@@ -44,7 +44,7 @@ type SegmentedControlButtonOptions = {
44
44
  */
45
45
  onChange?: ChangeEventHandler<HTMLInputElement>;
46
46
  };
47
- type SegmentedControlButtonProps = Omit<HTMLUIProps<'label'>, 'onChange'> & Pick<SegmentedControlProps, 'isDisabled' | 'isReadOnly'> & SegmentedControlButtonOptions;
47
+ type SegmentedControlButtonProps = Omit<HTMLUIProps<"label">, "onChange"> & Pick<SegmentedControlProps, "isDisabled" | "isReadOnly"> & SegmentedControlButtonOptions;
48
48
  declare const SegmentedControlButton: _yamada_ui_core.Component<"input", SegmentedControlButtonProps>;
49
49
 
50
50
  export { SegmentedControl, SegmentedControlButton, SegmentedControlButtonProps, SegmentedControlProps };
@@ -238,7 +238,7 @@ var SegmentedControl = (0, import_core.forwardRef)(
238
238
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
239
239
  import_core.ui.span,
240
240
  {
241
- className: "ui-segmented-control-active",
241
+ className: "ui-segmented-control__active",
242
242
  ...getActiveProps(),
243
243
  __css: styles.active
244
244
  }
@@ -288,7 +288,7 @@ var SegmentedControlButton = (0, import_core.forwardRef)(
288
288
  import_core.ui.label,
289
289
  {
290
290
  ...getLabelProps((0, import_utils.omitObject)(props, ["onChange"])),
291
- className: (0, import_utils.cx)("ui-segmented-control-button", className),
291
+ className: (0, import_utils.cx)("ui-segmented-control__button", className),
292
292
  __css: css,
293
293
  ...rest,
294
294
  children: [
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  SegmentedControl,
4
4
  SegmentedControlButton
5
- } from "./chunk-2LRRZGHE.mjs";
5
+ } from "./chunk-SCM6YW3J.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.0.0-dev-20231110103759",
3
+ "version": "0.0.0-dev-20231111133020",
4
4
  "description": "Yamada UI segmented control components",
5
5
  "keywords": [
6
6
  "yamada",
@@ -40,7 +40,7 @@
40
40
  "@yamada-ui/use-focus-visible": "0.2.5",
41
41
  "@yamada-ui/use-descendant": "0.2.5",
42
42
  "@yamada-ui/use-resize-observer": "0.2.5",
43
- "@yamada-ui/use-controllable-state": "0.0.0-dev-20231110103759"
43
+ "@yamada-ui/use-controllable-state": "0.3.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "react": "^18.0.0",