@greghowe79/the-lib 2.14.1 → 2.14.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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jsxRuntime = require("@builder.io/qwik/jsx-runtime");
4
4
  const qwik = require("@builder.io/qwik");
5
5
  const styles = require("./styles.css.qwik.cjs");
6
- const TextArea = qwik.component$(({ id, title, content, required = false, placeholder, bgLight, maxLength, showCounter = false }) => {
6
+ const TextArea = qwik.component$(({ id, title, content, required = false, placeholder, bgLight, maxLength, showCounter = false, rows = 5 }) => {
7
7
  qwik.useStylesScoped$(styles);
8
8
  const currentLength = content?.value?.length ?? 0;
9
9
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
@@ -17,7 +17,7 @@ const TextArea = qwik.component$(({ id, title, content, required = false, placeh
17
17
  /* @__PURE__ */ jsxRuntime.jsx("textarea", {
18
18
  id,
19
19
  name: "story",
20
- rows: 5,
20
+ rows,
21
21
  cols: 33,
22
22
  "bind:value": content,
23
23
  required,
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
2
2
  import { component$, useStylesScoped$ } from "@builder.io/qwik";
3
3
  import styles from "./styles.css.qwik.mjs";
4
- const TextArea = component$(({ id, title, content, required = false, placeholder, bgLight, maxLength, showCounter = false }) => {
4
+ const TextArea = component$(({ id, title, content, required = false, placeholder, bgLight, maxLength, showCounter = false, rows = 5 }) => {
5
5
  useStylesScoped$(styles);
6
6
  const currentLength = content?.value?.length ?? 0;
7
7
  return /* @__PURE__ */ jsxs("div", {
@@ -15,7 +15,7 @@ const TextArea = component$(({ id, title, content, required = false, placeholder
15
15
  /* @__PURE__ */ jsx("textarea", {
16
16
  id,
17
17
  name: "story",
18
- rows: 5,
18
+ rows,
19
19
  cols: 33,
20
20
  "bind:value": content,
21
21
  required,
@@ -8,5 +8,6 @@ export interface TextAreaProps {
8
8
  bgLight?: boolean;
9
9
  maxLength?: number;
10
10
  showCounter?: boolean;
11
+ rows?: number;
11
12
  }
12
13
  export declare const TextArea: import("@builder.io/qwik").Component<TextAreaProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greghowe79/the-lib",
3
- "version": "2.14.1",
3
+ "version": "2.14.2",
4
4
  "description": "Collection of fast components for Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",