@warp-ds/elements 2.3.0-next.4 → 2.3.0-next.6

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.
Files changed (33) hide show
  1. package/dist/custom-elements.json +319 -0
  2. package/dist/index.d.ts +84 -2
  3. package/dist/packages/textarea/index.d.ts +1 -0
  4. package/dist/packages/textarea/index.js +1 -0
  5. package/dist/packages/textarea/locales/da/messages.d.mts +1 -0
  6. package/dist/packages/textarea/locales/da/messages.mjs +1 -0
  7. package/dist/packages/textarea/locales/en/messages.d.mts +1 -0
  8. package/dist/packages/textarea/locales/en/messages.mjs +1 -0
  9. package/dist/packages/textarea/locales/fi/messages.d.mts +1 -0
  10. package/dist/packages/textarea/locales/fi/messages.mjs +1 -0
  11. package/dist/packages/textarea/locales/nb/messages.d.mts +1 -0
  12. package/dist/packages/textarea/locales/nb/messages.mjs +1 -0
  13. package/dist/packages/textarea/locales/sv/messages.d.mts +1 -0
  14. package/dist/packages/textarea/locales/sv/messages.mjs +1 -0
  15. package/dist/packages/textarea/react.d.ts +11 -0
  16. package/dist/packages/textarea/react.js +21 -0
  17. package/dist/packages/textarea/styles.d.ts +1 -0
  18. package/dist/packages/textarea/styles.js +2 -0
  19. package/dist/packages/textarea/textarea.d.ts +48 -0
  20. package/dist/packages/textarea/textarea.js +2475 -0
  21. package/dist/packages/textarea/textarea.js.map +7 -0
  22. package/dist/packages/textarea/textarea.react.stories.d.ts +33 -0
  23. package/dist/packages/textarea/textarea.react.stories.js +41 -0
  24. package/dist/packages/textarea/textarea.stories.d.ts +19 -0
  25. package/dist/packages/textarea/textarea.stories.js +85 -0
  26. package/dist/packages/textarea/textarea.test.d.ts +1 -0
  27. package/dist/packages/textarea/textarea.test.js +49 -0
  28. package/dist/packages/textfield/index.d.ts +2 -0
  29. package/dist/packages/textfield/index.js +5 -5
  30. package/dist/packages/textfield/index.js.map +2 -2
  31. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  32. package/dist/web-types.json +44 -1
  33. package/package.json +8 -1
@@ -2281,9 +2281,19 @@
2281
2281
  "type": {
2282
2282
  "text": "boolean"
2283
2283
  },
2284
+ "deprecated": "Use the native readonly attribute instead.",
2284
2285
  "attribute": "read-only",
2285
2286
  "reflects": true
2286
2287
  },
2288
+ {
2289
+ "kind": "field",
2290
+ "name": "readonly",
2291
+ "type": {
2292
+ "text": "boolean"
2293
+ },
2294
+ "attribute": "readonly",
2295
+ "reflects": true
2296
+ },
2287
2297
  {
2288
2298
  "kind": "field",
2289
2299
  "name": "required",
@@ -2449,8 +2459,16 @@
2449
2459
  "type": {
2450
2460
  "text": "boolean"
2451
2461
  },
2462
+ "deprecated": "Use the native readonly attribute instead.",
2452
2463
  "fieldName": "readOnly"
2453
2464
  },
2465
+ {
2466
+ "name": "readonly",
2467
+ "type": {
2468
+ "text": "boolean"
2469
+ },
2470
+ "fieldName": "readonly"
2471
+ },
2454
2472
  {
2455
2473
  "name": "required",
2456
2474
  "type": {
@@ -6493,6 +6511,307 @@
6493
6511
  }
6494
6512
  }
6495
6513
  ]
6514
+ },
6515
+ {
6516
+ "kind": "javascript-module",
6517
+ "path": "packages/textarea/textarea.ts",
6518
+ "declarations": [
6519
+ {
6520
+ "kind": "class",
6521
+ "description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)",
6522
+ "name": "WarpTextarea",
6523
+ "members": [
6524
+ {
6525
+ "kind": "field",
6526
+ "name": "shadowRootOptions",
6527
+ "type": {
6528
+ "text": "object"
6529
+ },
6530
+ "static": true,
6531
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
6532
+ },
6533
+ {
6534
+ "kind": "field",
6535
+ "name": "disabled",
6536
+ "type": {
6537
+ "text": "boolean"
6538
+ },
6539
+ "attribute": "disabled",
6540
+ "reflects": true
6541
+ },
6542
+ {
6543
+ "kind": "field",
6544
+ "name": "invalid",
6545
+ "type": {
6546
+ "text": "boolean"
6547
+ },
6548
+ "attribute": "invalid",
6549
+ "reflects": true
6550
+ },
6551
+ {
6552
+ "kind": "field",
6553
+ "name": "label",
6554
+ "type": {
6555
+ "text": "string"
6556
+ },
6557
+ "attribute": "label",
6558
+ "reflects": true
6559
+ },
6560
+ {
6561
+ "kind": "field",
6562
+ "name": "helpText",
6563
+ "type": {
6564
+ "text": "string"
6565
+ },
6566
+ "attribute": "help-text",
6567
+ "reflects": true
6568
+ },
6569
+ {
6570
+ "kind": "field",
6571
+ "name": "maxRows",
6572
+ "type": {
6573
+ "text": "number"
6574
+ },
6575
+ "attribute": "maximum-rows",
6576
+ "reflects": true
6577
+ },
6578
+ {
6579
+ "kind": "field",
6580
+ "name": "minRows",
6581
+ "type": {
6582
+ "text": "number"
6583
+ },
6584
+ "attribute": "minimum-rows",
6585
+ "reflects": true
6586
+ },
6587
+ {
6588
+ "kind": "field",
6589
+ "name": "name",
6590
+ "type": {
6591
+ "text": "string"
6592
+ },
6593
+ "attribute": "name"
6594
+ },
6595
+ {
6596
+ "kind": "field",
6597
+ "name": "placeholder",
6598
+ "type": {
6599
+ "text": "string"
6600
+ },
6601
+ "attribute": "placeholder"
6602
+ },
6603
+ {
6604
+ "kind": "field",
6605
+ "name": "readOnly",
6606
+ "type": {
6607
+ "text": "boolean"
6608
+ },
6609
+ "deprecated": "Use the native readonly attribute instead. Here for API consistency with `w-textfield`.",
6610
+ "attribute": "read-only",
6611
+ "reflects": true
6612
+ },
6613
+ {
6614
+ "kind": "field",
6615
+ "name": "readonly",
6616
+ "type": {
6617
+ "text": "boolean"
6618
+ },
6619
+ "attribute": "readonly",
6620
+ "reflects": true
6621
+ },
6622
+ {
6623
+ "kind": "field",
6624
+ "name": "required",
6625
+ "type": {
6626
+ "text": "boolean"
6627
+ },
6628
+ "attribute": "required",
6629
+ "reflects": true
6630
+ },
6631
+ {
6632
+ "kind": "field",
6633
+ "name": "value",
6634
+ "type": {
6635
+ "text": "string"
6636
+ },
6637
+ "attribute": "value",
6638
+ "reflects": true
6639
+ },
6640
+ {
6641
+ "kind": "field",
6642
+ "name": "optional",
6643
+ "type": {
6644
+ "text": "boolean"
6645
+ },
6646
+ "attribute": "optional",
6647
+ "reflects": true
6648
+ },
6649
+ {
6650
+ "kind": "field",
6651
+ "name": "minHeight"
6652
+ },
6653
+ {
6654
+ "kind": "field",
6655
+ "name": "maxHeight"
6656
+ },
6657
+ {
6658
+ "kind": "method",
6659
+ "name": "handler",
6660
+ "parameters": [
6661
+ {
6662
+ "name": "e",
6663
+ "type": {
6664
+ "text": "InputEvent"
6665
+ }
6666
+ }
6667
+ ],
6668
+ "type": {
6669
+ "text": "handler(e: InputEvent) => void"
6670
+ }
6671
+ },
6672
+ {
6673
+ "kind": "method",
6674
+ "name": "#resize",
6675
+ "privacy": "private",
6676
+ "parameters": [
6677
+ {
6678
+ "name": "target",
6679
+ "type": {
6680
+ "text": "HTMLTextAreaElement"
6681
+ }
6682
+ }
6683
+ ],
6684
+ "description": "Calculate the new height for the area on input"
6685
+ }
6686
+ ],
6687
+ "attributes": [
6688
+ {
6689
+ "name": "disabled",
6690
+ "type": {
6691
+ "text": "boolean"
6692
+ },
6693
+ "fieldName": "disabled"
6694
+ },
6695
+ {
6696
+ "name": "invalid",
6697
+ "type": {
6698
+ "text": "boolean"
6699
+ },
6700
+ "fieldName": "invalid"
6701
+ },
6702
+ {
6703
+ "name": "label",
6704
+ "type": {
6705
+ "text": "string"
6706
+ },
6707
+ "fieldName": "label"
6708
+ },
6709
+ {
6710
+ "name": "help-text",
6711
+ "type": {
6712
+ "text": "string"
6713
+ },
6714
+ "fieldName": "helpText"
6715
+ },
6716
+ {
6717
+ "name": "maximum-rows",
6718
+ "type": {
6719
+ "text": "number"
6720
+ },
6721
+ "fieldName": "maxRows"
6722
+ },
6723
+ {
6724
+ "name": "minimum-rows",
6725
+ "type": {
6726
+ "text": "number"
6727
+ },
6728
+ "fieldName": "minRows"
6729
+ },
6730
+ {
6731
+ "name": "name",
6732
+ "type": {
6733
+ "text": "string"
6734
+ },
6735
+ "fieldName": "name"
6736
+ },
6737
+ {
6738
+ "name": "placeholder",
6739
+ "type": {
6740
+ "text": "string"
6741
+ },
6742
+ "fieldName": "placeholder"
6743
+ },
6744
+ {
6745
+ "name": "read-only",
6746
+ "type": {
6747
+ "text": "boolean"
6748
+ },
6749
+ "deprecated": "Use the native readonly attribute instead. Here for API consistency with `w-textfield`.",
6750
+ "fieldName": "readOnly"
6751
+ },
6752
+ {
6753
+ "name": "readonly",
6754
+ "type": {
6755
+ "text": "boolean"
6756
+ },
6757
+ "fieldName": "readonly"
6758
+ },
6759
+ {
6760
+ "name": "required",
6761
+ "type": {
6762
+ "text": "boolean"
6763
+ },
6764
+ "fieldName": "required"
6765
+ },
6766
+ {
6767
+ "name": "value",
6768
+ "type": {
6769
+ "text": "string"
6770
+ },
6771
+ "fieldName": "value"
6772
+ },
6773
+ {
6774
+ "name": "optional",
6775
+ "type": {
6776
+ "text": "boolean"
6777
+ },
6778
+ "fieldName": "optional"
6779
+ }
6780
+ ],
6781
+ "mixins": [
6782
+ {
6783
+ "name": "FormControlMixin",
6784
+ "package": "@open-wc/form-control"
6785
+ }
6786
+ ],
6787
+ "superclass": {
6788
+ "name": "LitElement",
6789
+ "package": "lit"
6790
+ },
6791
+ "tagName": "w-textarea",
6792
+ "customElement": true,
6793
+ "modulePath": "packages/textarea/textarea.ts",
6794
+ "definitionPath": "packages/textarea/textarea.ts"
6795
+ }
6796
+ ],
6797
+ "exports": [
6798
+ {
6799
+ "kind": "custom-element-definition",
6800
+ "name": "w-textarea",
6801
+ "declaration": {
6802
+ "name": "WarpTextarea",
6803
+ "module": "packages/textarea/textarea.ts"
6804
+ }
6805
+ },
6806
+ {
6807
+ "kind": "js",
6808
+ "name": "WarpTextarea",
6809
+ "declaration": {
6810
+ "name": "WarpTextarea",
6811
+ "module": "packages/textarea/textarea.ts"
6812
+ }
6813
+ }
6814
+ ]
6496
6815
  }
6497
6816
  ]
6498
6817
  }
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ import type { WarpSteps, WarpStep } from "./packages/steps/index.ts";
27
27
  import type { WarpSwitch } from "./packages/switch/index.ts";
28
28
  import type { WarpTab } from "./packages/tabs/tab.ts";
29
29
  import type { WarpTabs } from "./packages/tabs/tabs.ts";
30
+ import type { WarpTextarea } from "./packages/textarea/textarea.ts";
30
31
 
31
32
  /**
32
33
  * This type can be used to create scoped tags for your components.
@@ -437,11 +438,13 @@ export type WarpTextFieldProps = {
437
438
  "pattern"?: WarpTextField['pattern'];
438
439
  /** */
439
440
  "placeholder"?: WarpTextField['placeholder'];
440
- /** */
441
+ /** @deprecated Use the native readonly attribute instead. */
441
442
  "read-only"?: WarpTextField['readOnly'];
442
- /** */
443
+ /** @deprecated Use the native readonly attribute instead. */
443
444
  "readOnly"?: WarpTextField['readOnly'];
444
445
  /** */
446
+ "readonly"?: WarpTextField['readonly'];
447
+ /** */
445
448
  "required"?: WarpTextField['required'];
446
449
  /** */
447
450
  "type"?: WarpTextField['type'];
@@ -811,6 +814,50 @@ export type WarpTabsProps = {
811
814
 
812
815
  /** */
813
816
  "onchange"?: (e: CustomEvent<CustomEvent>) => void;
817
+ }
818
+
819
+
820
+ export type WarpTextareaProps = {
821
+ /** */
822
+ "disabled"?: WarpTextarea['disabled'];
823
+ /** */
824
+ "invalid"?: WarpTextarea['invalid'];
825
+ /** */
826
+ "label"?: WarpTextarea['label'];
827
+ /** */
828
+ "help-text"?: WarpTextarea['helpText'];
829
+ /** */
830
+ "helpText"?: WarpTextarea['helpText'];
831
+ /** */
832
+ "maximum-rows"?: WarpTextarea['maxRows'];
833
+ /** */
834
+ "maxRows"?: WarpTextarea['maxRows'];
835
+ /** */
836
+ "minimum-rows"?: WarpTextarea['minRows'];
837
+ /** */
838
+ "minRows"?: WarpTextarea['minRows'];
839
+ /** */
840
+ "name"?: WarpTextarea['name'];
841
+ /** */
842
+ "placeholder"?: WarpTextarea['placeholder'];
843
+ /** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
844
+ "read-only"?: WarpTextarea['readOnly'];
845
+ /** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
846
+ "readOnly"?: WarpTextarea['readOnly'];
847
+ /** */
848
+ "readonly"?: WarpTextarea['readonly'];
849
+ /** */
850
+ "required"?: WarpTextarea['required'];
851
+ /** */
852
+ "value"?: WarpTextarea['value'];
853
+ /** */
854
+ "optional"?: WarpTextarea['optional'];
855
+ /** */
856
+ "minHeight"?: WarpTextarea['minHeight'];
857
+ /** */
858
+ "maxHeight"?: WarpTextarea['maxHeight'];
859
+
860
+
814
861
  }
815
862
 
816
863
  export type CustomElements = {
@@ -1125,6 +1172,7 @@ export type WarpTabsProps = {
1125
1172
  * - `pattern`: undefined
1126
1173
  * - `placeholder`: undefined
1127
1174
  * - `read-only`/`readOnly`: undefined
1175
+ * - `readonly`: undefined
1128
1176
  * - `required`: undefined
1129
1177
  * - `type`: undefined
1130
1178
  * - `value`: undefined
@@ -1554,6 +1602,40 @@ export type WarpTabsProps = {
1554
1602
  * - `change`: undefined
1555
1603
  */
1556
1604
  "w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
1605
+
1606
+
1607
+ /**
1608
+ * A single line text input element.
1609
+ *
1610
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
1611
+ *
1612
+ * ## Attributes & Properties
1613
+ *
1614
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1615
+ *
1616
+ * - `disabled`: undefined
1617
+ * - `invalid`: undefined
1618
+ * - `label`: undefined
1619
+ * - `help-text`/`helpText`: undefined
1620
+ * - `maximum-rows`/`maxRows`: undefined
1621
+ * - `minimum-rows`/`minRows`: undefined
1622
+ * - `name`: undefined
1623
+ * - `placeholder`: undefined
1624
+ * - `read-only`/`readOnly`: undefined
1625
+ * - `readonly`: undefined
1626
+ * - `required`: undefined
1627
+ * - `value`: undefined
1628
+ * - `optional`: undefined
1629
+ * - `minHeight`: undefined (property only)
1630
+ * - `maxHeight`: undefined (property only)
1631
+ *
1632
+ * ## Methods
1633
+ *
1634
+ * Methods that can be called to access component functionality.
1635
+ *
1636
+ * - `handler(e: InputEvent) => void`: undefined
1637
+ */
1638
+ "w-textarea": Partial<WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents>;
1557
1639
  }
1558
1640
 
1559
1641
  export type CustomCssProperties = {
@@ -0,0 +1 @@
1
+ export * from "./textarea.js";
@@ -0,0 +1 @@
1
+ export * from "./textarea.js";
@@ -0,0 +1 @@
1
+ export const messages: any;
@@ -0,0 +1 @@
1
+ /*eslint-disable*/ export const messages = JSON.parse("{\"textarea.label.optional\":[\"(valgfrit)\"]}");
@@ -0,0 +1 @@
1
+ export const messages: any;
@@ -0,0 +1 @@
1
+ /*eslint-disable*/ export const messages = JSON.parse("{\"textarea.label.optional\":[\"(optional)\"]}");
@@ -0,0 +1 @@
1
+ export const messages: any;
@@ -0,0 +1 @@
1
+ /*eslint-disable*/ export const messages = JSON.parse("{\"textarea.label.optional\":[\"(vapaaehtoinen)\"]}");
@@ -0,0 +1 @@
1
+ export const messages: any;
@@ -0,0 +1 @@
1
+ /*eslint-disable*/ export const messages = JSON.parse("{\"textarea.label.optional\":[\"(valgfritt)\"]}");
@@ -0,0 +1 @@
1
+ export const messages: any;
@@ -0,0 +1 @@
1
+ /*eslint-disable*/ export const messages = JSON.parse("{\"textarea.label.optional\":[\"(valfritt)\"]}");
@@ -0,0 +1,11 @@
1
+ import { WarpTextarea } from './index.js';
2
+ export declare const Textarea: import("@lit/react").ReactWebComponent<WarpTextarea, {
3
+ onBlur: string;
4
+ onblur: string;
5
+ onChange: string;
6
+ onchange: string;
7
+ onInput: string;
8
+ oninput: string;
9
+ onFocus: string;
10
+ onfocus: string;
11
+ }>;
@@ -0,0 +1,21 @@
1
+ import { LitElement } from 'lit';
2
+ import { createComponent } from '@lit/react';
3
+ import React from 'react';
4
+ // decouple from CDN by providing a dummy class
5
+ class Component extends LitElement {
6
+ }
7
+ export const Textarea = createComponent({
8
+ tagName: 'w-textarea',
9
+ elementClass: Component,
10
+ react: React,
11
+ events: {
12
+ onBlur: 'blur',
13
+ onblur: 'blur',
14
+ onChange: 'change',
15
+ onchange: 'change',
16
+ onInput: 'input',
17
+ oninput: 'input',
18
+ onFocus: 'focus',
19
+ onfocus: 'focus',
20
+ },
21
+ });
@@ -0,0 +1 @@
1
+ export declare const styles: import("lit").CSSResult;
@@ -0,0 +1,2 @@
1
+ import { css } from 'lit';
2
+ export const styles = css `*,:before,:after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0}.focus\\:\\[--w-outline-offset\\:-2px\\]:focus{--w-outline-offset:-2px}.bg-transparent{background-color:#0000}.border-1{border-width:1px}.rounded-4{border-radius:4px}.caret-current{caret-color:currentColor}.block{display:block}.flex{display:flex}.focusable:focus{outline:2px solid var(--w-s-color-border-focus);outline-offset:var(--w-outline-offset,1px)}.focusable:focus-visible{outline:2px solid var(--w-s-color-border-focus);outline-offset:var(--w-outline-offset,1px)}.focusable:not(:focus-visible){outline:none}.outline-\\[--w-s-color-border-negative\\]\\!{outline-color:var(--w-s-color-border-negative)!important}.fixed{position:fixed}.relative{position:relative}.static{position:static}.s-bg{background-color:var(--w-s-color-background)}.s-bg-disabled-subtle{background-color:var(--w-s-color-background-disabled-subtle)}.s-text{color:var(--w-s-color-text)}.s-text-disabled{color:var(--w-s-color-text-disabled)}.s-text-negative{color:var(--w-s-color-text-negative)}.s-text-subtle{color:var(--w-s-color-text-subtle)}.placeholder\\:s-text-placeholder::placeholder{color:var(--w-s-color-text-placeholder)}.s-border-disabled{border-color:var(--w-s-color-border-disabled)}.s-border-negative{border-color:var(--w-s-color-border-negative)}.s-border-strong{border-color:var(--w-s-color-border-strong)}.hover\\:s-border-negative-hover:hover{border-color:var(--w-s-color-border-negative-hover)}.hover\\:s-border-strong-hover:hover{border-color:var(--w-s-color-border-strong-hover)}.active\\:s-border-selected:active{border-color:var(--w-s-color-border-selected)}.w-full{width:100%}.min-h-\\[42\\]{min-height:4.2rem}.mb-0{margin-bottom:0}.mt-4{margin-top:.4rem}.px-8{padding-left:.8rem;padding-right:.8rem}.py-12{padding-top:1.2rem;padding-bottom:1.2rem}.pb-4{padding-bottom:.4rem}.pl-0{padding-left:0}.pl-8{padding-left:.8rem}.pr-40{padding-right:4rem}.pl-\\[var\\(--w-prefix-width\\,_40px\\)\\]{padding-left:var(--w-prefix-width,40px)}.cursor-pointer{cursor:pointer}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:grayscale}.font-bold{font-weight:700}.font-normal{font-weight:400}.pointer-events-none{pointer-events:none}.resize{resize:both}.resize-none{resize:none}.text-m{font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}.text-s{font-size:var(--w-font-size-s);line-height:var(--w-line-height-s)}.text-xs{font-size:var(--w-font-size-xs);line-height:var(--w-line-height-xs)}.leading-m{line-height:var(--w-line-height-m)}@media (min-width:480px){.sm\\:min-h-\\[45\\]{min-height:4.5rem}}`;
@@ -0,0 +1,48 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ declare const WarpTextarea_base: import("@open-wc/form-control").Constructor<import("@open-wc/form-control").FormControlInterface> & typeof LitElement;
3
+ /**
4
+ * A single line text input element.
5
+ *
6
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
7
+ */
8
+ declare class WarpTextarea extends WarpTextarea_base {
9
+ #private;
10
+ static shadowRootOptions: {
11
+ delegatesFocus: boolean;
12
+ mode: ShadowRootMode;
13
+ serializable?: boolean;
14
+ slotAssignment?: SlotAssignmentMode;
15
+ };
16
+ disabled: boolean;
17
+ invalid: boolean;
18
+ label: string;
19
+ helpText: string;
20
+ maxRows: number;
21
+ minRows: number;
22
+ name: string;
23
+ placeholder: string;
24
+ /** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
25
+ readOnly: boolean;
26
+ readonly: boolean;
27
+ required: boolean;
28
+ value: string;
29
+ optional: boolean;
30
+ minHeight: number;
31
+ maxHeight: number;
32
+ updated(changedProperties: PropertyValues<this>): void;
33
+ static styles: import("lit").CSSResult[];
34
+ /** @internal */
35
+ get _textareaStyles(): string;
36
+ /** @internal */
37
+ get _helptextstyles(): string;
38
+ /** @internal */
39
+ get _helpId(): string;
40
+ /** @internal */
41
+ get _id(): string;
42
+ /** @internal */
43
+ get _error(): string;
44
+ connectedCallback(): Promise<void>;
45
+ handler(e: InputEvent): void;
46
+ render(): import("lit").TemplateResult<1>;
47
+ }
48
+ export { WarpTextarea };