@greghowe79/the-lib 2.0.3 → 2.0.4

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.
@@ -4,7 +4,7 @@ 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
6
  require("@fontsource/roboto-condensed/500.css");
7
- const TextArea = qwik.component$(({ id, title, content, required = false, placeholder, bgLight }) => {
7
+ const TextArea = qwik.component$(({ id, title, content, required = false, placeholder, bgLight, maxLength }) => {
8
8
  qwik.useStylesScoped$(styles);
9
9
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
10
10
  class: "text-area-container",
@@ -23,6 +23,7 @@ const TextArea = qwik.component$(({ id, title, content, required = false, placeh
23
23
  required,
24
24
  placeholder,
25
25
  class: `text-area ${bgLight ? "bg_light" : ""}`,
26
+ maxLength,
26
27
  children: content.value
27
28
  })
28
29
  ]
@@ -2,7 +2,7 @@ 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
4
  import "@fontsource/roboto-condensed/500.css";
5
- const TextArea = component$(({ id, title, content, required = false, placeholder, bgLight }) => {
5
+ const TextArea = component$(({ id, title, content, required = false, placeholder, bgLight, maxLength }) => {
6
6
  useStylesScoped$(styles);
7
7
  return /* @__PURE__ */ jsxs("div", {
8
8
  class: "text-area-container",
@@ -21,6 +21,7 @@ const TextArea = component$(({ id, title, content, required = false, placeholder
21
21
  required,
22
22
  placeholder,
23
23
  class: `text-area ${bgLight ? "bg_light" : ""}`,
24
+ maxLength,
24
25
  children: content.value
25
26
  })
26
27
  ]
@@ -7,5 +7,6 @@ export interface TextAreaProps {
7
7
  required?: boolean;
8
8
  placeholder?: string;
9
9
  bgLight?: boolean;
10
+ maxLength?: number;
10
11
  }
11
12
  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.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Collection of fast components for Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",