@nattstack/ui 0.0.76 → 0.0.78

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.
@@ -100,15 +100,11 @@ h6 {
100
100
  color: var(--color-text-primary);
101
101
  font-family: var(--font-heading);
102
102
  font-weight: 500;
103
- text-wrap: balance;
104
103
  }
105
104
 
106
105
  /*
107
106
  Improve paragraph wrapping for readability
108
107
  */
109
- p {
110
- text-wrap: pretty;
111
- }
112
108
 
113
109
  /*
114
110
  Use a dedicated monospace font for code
@@ -110,8 +110,9 @@ interface DialogResponsiveTriggerProps extends Drawer.Trigger.Props {}
110
110
  declare function DialogResponsiveTrigger(props: DialogResponsiveTriggerProps): JSX.Element;
111
111
  //#endregion
112
112
  //#region src/components/input/input.d.ts
113
- interface InputProps extends Omit<ComponentProps<"input">, "aria-pressed" | "disabled" | "readOnly" | "required"> {
113
+ interface InputProps extends Omit<ComponentProps<"input">, "aria-pressed" | "autoFocus" | "disabled" | "readOnly" | "required"> {
114
114
  isActive?: boolean;
115
+ isAutoFocus?: boolean;
115
116
  isDisabled?: boolean;
116
117
  isInvalid?: boolean;
117
118
  isReadOnly?: boolean;
@@ -310,8 +310,9 @@ var input_module_default = {
310
310
  //#endregion
311
311
  //#region src/components/input/input.tsx
312
312
  function Input(props) {
313
- const { className: customClassName = "", isActive = false, isDisabled = false, isInvalid = void 0, isReadOnly = false, isRequired = false, isRounded = false, isValid = void 0, size = 48, type = "text", ...rest } = props;
313
+ const { className: customClassName = "", isActive = false, isAutoFocus = false, isDisabled = false, isInvalid = void 0, isReadOnly = false, isRequired = false, isRounded = false, isValid = void 0, size = 48, type = "text", ...rest } = props;
314
314
  return /* @__PURE__ */ jsx("input", {
315
+ autoFocus: isAutoFocus,
315
316
  className: normalizeWhitespace(`
316
317
  ${INPUT_CLASS_NAME.BASE}
317
318
  ${INPUT_CLASS_NAME.SIZE[size]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattstack/ui",
3
- "version": "0.0.76",
3
+ "version": "0.0.78",
4
4
  "description": "A collection of reusable React components built with Base UI, TypeScript, and CSS Modules",
5
5
  "keywords": [
6
6
  "base-ui",