@nation-a/ui 0.15.0 → 0.15.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.
package/dist/index.cjs CHANGED
@@ -19240,9 +19240,9 @@ const Header = React.forwardRef(
19240
19240
  Header.displayName = "BottomSheet.Header";
19241
19241
  const Content$3 = React.forwardRef(
19242
19242
  ({ className, children, css: cssProp, ...props }, ref) => {
19243
- const styles2 = bottomSheetRecipe();
19243
+ const styles2 = bottomSheetRecipe.raw();
19244
19244
  const { rounded } = React.useContext(BottomSheetContext);
19245
- const contentClass = cx(styles2.content, className, cssProp ? css$1(cssProp) : void 0);
19245
+ const contentClass = cx(css$1(styles2.content, cssProp), className);
19246
19246
  return /* @__PURE__ */ jsxRuntime.jsx(
19247
19247
  Sheet.Container,
19248
19248
  {
@@ -19869,12 +19869,12 @@ const Input = React.forwardRef(
19869
19869
  /* @__PURE__ */ jsxRuntime.jsx(Label2, { visible: !!(label && labelPosition === "outside"), children: label }),
19870
19870
  " ",
19871
19871
  /* @__PURE__ */ jsxRuntime.jsxs(HStack$1, { className: cx(recipe.inputContainer, className), onClick: handleContainerClick, css: css2, children: [
19872
- /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: startAdornment }),
19872
+ startAdornment && /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: startAdornment }),
19873
19873
  /* @__PURE__ */ jsxRuntime.jsxs(Stack2, { gap: 1, css: { width: "100%" }, children: [
19874
19874
  /* @__PURE__ */ jsxRuntime.jsx(Label2, { visible: !!(label && labelPosition === "inside"), children: label }),
19875
19875
  /* @__PURE__ */ jsxRuntime.jsx(styled.input, { ref: inputRef, disabled, onChange: handleInputChange, ...rest })
19876
19876
  ] }),
19877
- /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: endAdornment })
19877
+ endAdornment && /* @__PURE__ */ jsxRuntime.jsx(Box$1, { className: recipe.adornment, children: endAdornment })
19878
19878
  ] }),
19879
19879
  description && /* @__PURE__ */ jsxRuntime.jsx(Description2, { children: description })
19880
19880
  ] });