@yamada-ui/native-select 0.5.1 → 0.5.2

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.
@@ -65,7 +65,7 @@ var NativeSelect = forwardRef(
65
65
  return /* @__PURE__ */ jsx(NativeSelectProvider, { value: styles, children: /* @__PURE__ */ jsxs(
66
66
  ui.div,
67
67
  {
68
- className: "ui-native-select",
68
+ className: "ui-select",
69
69
  __css: {
70
70
  position: "relative",
71
71
  w: "100%",
@@ -81,7 +81,7 @@ var NativeSelect = forwardRef(
81
81
  ui.select,
82
82
  {
83
83
  ref,
84
- className: cx("ui-native-select__field", className),
84
+ className: cx("ui-select__field", className),
85
85
  __css: {
86
86
  paddingEnd: "2rem",
87
87
  h: h != null ? h : height,
@@ -129,15 +129,7 @@ var NativeSelectIcon = ({
129
129
  }
130
130
  })
131
131
  );
132
- return /* @__PURE__ */ jsx(
133
- ui.div,
134
- {
135
- className: cx("ui-native-select__icon", className),
136
- __css: css,
137
- ...rest,
138
- children: isValidElement(children) ? cloneChildren : /* @__PURE__ */ jsx(ChevronIcon, {})
139
- }
140
- );
132
+ return /* @__PURE__ */ jsx(ui.div, { className: cx("ui-select__icon", className), __css: css, ...rest, children: isValidElement(children) ? cloneChildren : /* @__PURE__ */ jsx(ChevronIcon, {}) });
141
133
  };
142
134
  var NativeOptionGroup = forwardRef(
143
135
  (props, ref) => /* @__PURE__ */ jsx(ui.optgroup, { ref, ...props })
package/dist/index.js CHANGED
@@ -74,7 +74,7 @@ var NativeSelect = (0, import_core.forwardRef)(
74
74
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NativeSelectProvider, { value: styles, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
75
75
  import_core.ui.div,
76
76
  {
77
- className: "ui-native-select",
77
+ className: "ui-select",
78
78
  __css: {
79
79
  position: "relative",
80
80
  w: "100%",
@@ -90,7 +90,7 @@ var NativeSelect = (0, import_core.forwardRef)(
90
90
  import_core.ui.select,
91
91
  {
92
92
  ref,
93
- className: (0, import_utils.cx)("ui-native-select__field", className),
93
+ className: (0, import_utils.cx)("ui-select__field", className),
94
94
  __css: {
95
95
  paddingEnd: "2rem",
96
96
  h: h != null ? h : height,
@@ -138,15 +138,7 @@ var NativeSelectIcon = ({
138
138
  }
139
139
  })
140
140
  );
141
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
142
- import_core.ui.div,
143
- {
144
- className: (0, import_utils.cx)("ui-native-select__icon", className),
145
- __css: css,
146
- ...rest,
147
- children: (0, import_utils.isValidElement)(children) ? cloneChildren : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon.ChevronIcon, {})
148
- }
149
- );
141
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { className: (0, import_utils.cx)("ui-select__icon", className), __css: css, ...rest, children: (0, import_utils.isValidElement)(children) ? cloneChildren : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon.ChevronIcon, {}) });
150
142
  };
151
143
  var NativeOptionGroup = (0, import_core.forwardRef)(
152
144
  (props, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.optgroup, { ref, ...props })
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  NativeOption,
4
4
  NativeOptionGroup,
5
5
  NativeSelect
6
- } from "./chunk-UQC6YIIC.mjs";
6
+ } from "./chunk-766KG3U5.mjs";
7
7
  export {
8
8
  NativeOption,
9
9
  NativeOptionGroup,
@@ -72,7 +72,7 @@ var NativeSelect = (0, import_core.forwardRef)(
72
72
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NativeSelectProvider, { value: styles, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
73
73
  import_core.ui.div,
74
74
  {
75
- className: "ui-native-select",
75
+ className: "ui-select",
76
76
  __css: {
77
77
  position: "relative",
78
78
  w: "100%",
@@ -88,7 +88,7 @@ var NativeSelect = (0, import_core.forwardRef)(
88
88
  import_core.ui.select,
89
89
  {
90
90
  ref,
91
- className: (0, import_utils.cx)("ui-native-select__field", className),
91
+ className: (0, import_utils.cx)("ui-select__field", className),
92
92
  __css: {
93
93
  paddingEnd: "2rem",
94
94
  h: h != null ? h : height,
@@ -136,15 +136,7 @@ var NativeSelectIcon = ({
136
136
  }
137
137
  })
138
138
  );
139
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
140
- import_core.ui.div,
141
- {
142
- className: (0, import_utils.cx)("ui-native-select__icon", className),
143
- __css: css,
144
- ...rest,
145
- children: (0, import_utils.isValidElement)(children) ? cloneChildren : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon.ChevronIcon, {})
146
- }
147
- );
139
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { className: (0, import_utils.cx)("ui-select__icon", className), __css: css, ...rest, children: (0, import_utils.isValidElement)(children) ? cloneChildren : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon.ChevronIcon, {}) });
148
140
  };
149
141
  var NativeOptionGroup = (0, import_core.forwardRef)(
150
142
  (props, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.optgroup, { ref, ...props })
@@ -3,7 +3,7 @@ import {
3
3
  NativeOption,
4
4
  NativeOptionGroup,
5
5
  NativeSelect
6
- } from "./chunk-UQC6YIIC.mjs";
6
+ } from "./chunk-766KG3U5.mjs";
7
7
  export {
8
8
  NativeOption,
9
9
  NativeOptionGroup,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/native-select",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Yamada UI native select component",
5
5
  "keywords": [
6
6
  "yamada",