@warp-ds/elements 2.5.1-next.3 → 2.5.1
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/.storybook/utilities.d.ts +0 -1
- package/dist/.storybook/utilities.js +14 -22
- package/dist/custom-elements.json +0 -466
- package/dist/index.d.ts +0 -259
- package/dist/packages/combobox/combobox.d.ts +0 -5
- package/dist/packages/combobox/combobox.js +12 -12
- package/dist/packages/combobox/combobox.js.map +3 -3
- package/dist/packages/combobox/combobox.stories.js +7 -7
- package/dist/packages/combobox/combobox.test.js +0 -90
- package/dist/web-types.json +1 -81
- package/package.json +1 -9
- package/dist/packages/pagination/locales/da/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/da/messages.mjs +0 -1
- package/dist/packages/pagination/locales/en/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/en/messages.mjs +0 -1
- package/dist/packages/pagination/locales/fi/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/fi/messages.mjs +0 -1
- package/dist/packages/pagination/locales/nb/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/nb/messages.mjs +0 -1
- package/dist/packages/pagination/locales/sv/messages.d.mts +0 -1
- package/dist/packages/pagination/locales/sv/messages.mjs +0 -1
- package/dist/packages/pagination/pagination.d.ts +0 -32
- package/dist/packages/pagination/pagination.js +0 -2503
- package/dist/packages/pagination/pagination.js.map +0 -7
- package/dist/packages/pagination/pagination.react.stories.d.ts +0 -21
- package/dist/packages/pagination/pagination.react.stories.js +0 -45
- package/dist/packages/pagination/pagination.stories.d.ts +0 -14
- package/dist/packages/pagination/pagination.stories.js +0 -56
- package/dist/packages/pagination/pagination.test.d.ts +0 -1
- package/dist/packages/pagination/pagination.test.js +0 -76
- package/dist/packages/pagination/react.d.ts +0 -5
- package/dist/packages/pagination/react.js +0 -15
- package/dist/packages/pagination/styles.d.ts +0 -1
- package/dist/packages/pagination/styles.js +0 -2
- package/dist/packages/textarea/locales/da/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/da/messages.mjs +0 -1
- package/dist/packages/textarea/locales/en/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/en/messages.mjs +0 -1
- package/dist/packages/textarea/locales/fi/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/fi/messages.mjs +0 -1
- package/dist/packages/textarea/locales/nb/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/nb/messages.mjs +0 -1
- package/dist/packages/textarea/locales/sv/messages.d.mts +0 -1
- package/dist/packages/textarea/locales/sv/messages.mjs +0 -1
- package/dist/packages/textarea/react.d.ts +0 -11
- package/dist/packages/textarea/react.js +0 -21
- package/dist/packages/textarea/styles.d.ts +0 -1
- package/dist/packages/textarea/styles.js +0 -2
- package/dist/packages/textarea/textarea.d.ts +0 -49
- package/dist/packages/textarea/textarea.js +0 -2475
- package/dist/packages/textarea/textarea.js.map +0 -7
- package/dist/packages/textarea/textarea.react.stories.d.ts +0 -33
- package/dist/packages/textarea/textarea.react.stories.js +0 -41
- package/dist/packages/textarea/textarea.stories.d.ts +0 -19
- package/dist/packages/textarea/textarea.stories.js +0 -85
- package/dist/packages/textarea/textarea.test.d.ts +0 -1
- package/dist/packages/textarea/textarea.test.js +0 -84
- package/dist/packages/utils.d.ts +0 -1
- package/dist/packages/utils.js +0 -4
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts camelCase to kebab-case.
|
|
3
|
-
* @example camelToKebab('openOnFocus') // 'open-on-focus'
|
|
4
|
-
*/
|
|
5
|
-
function camelToKebab(str) {
|
|
6
|
-
return str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
|
|
7
|
-
}
|
|
8
1
|
/**
|
|
9
2
|
* Massages storybook args before being spread to HTML attributes.
|
|
10
3
|
*
|
|
11
4
|
* - Empty strings are treated as not set.
|
|
12
5
|
* - Boolean false don't get set.
|
|
13
|
-
* - camelCase property names are converted to kebab-case attribute names.
|
|
14
6
|
*
|
|
15
7
|
* @example
|
|
16
8
|
* ```ts
|
|
@@ -34,27 +26,27 @@ function camelToKebab(str) {
|
|
|
34
26
|
* ```
|
|
35
27
|
*/
|
|
36
28
|
export function prespread(args) {
|
|
37
|
-
const newArgs = {
|
|
38
|
-
|
|
29
|
+
const newArgs = {
|
|
30
|
+
...args,
|
|
31
|
+
};
|
|
32
|
+
for (const field of Object.keys(newArgs)) {
|
|
39
33
|
const value = args[field];
|
|
40
|
-
// Skip empty strings
|
|
41
|
-
if (value === '') {
|
|
42
|
-
continue;
|
|
43
|
-
}
|
|
44
|
-
// Convert camelCase to kebab-case for attribute names
|
|
45
|
-
const attrName = camelToKebab(field);
|
|
46
34
|
// Add Lit syntax for boolean attributes
|
|
47
35
|
if (typeof value === 'boolean') {
|
|
48
|
-
newArgs[`?${
|
|
49
|
-
|
|
36
|
+
newArgs[`?${field}`] = value;
|
|
37
|
+
delete newArgs[field];
|
|
50
38
|
}
|
|
51
|
-
// Add Lit syntax for complex properties
|
|
39
|
+
// Add Lit syntax for complex properties
|
|
52
40
|
if (typeof value === 'object') {
|
|
53
41
|
newArgs[`.${field}`] = value;
|
|
54
|
-
|
|
42
|
+
delete newArgs[field];
|
|
43
|
+
}
|
|
44
|
+
// The manifest has a bunch of default empty strings (which we should probably investigate)
|
|
45
|
+
// that turn on features that should be off in Storybook canvases.
|
|
46
|
+
// Remove the empty strings.
|
|
47
|
+
if (newArgs[field] === '') {
|
|
48
|
+
delete newArgs[field];
|
|
55
49
|
}
|
|
56
|
-
// String and number values use kebab-case attribute names
|
|
57
|
-
newArgs[attrName] = value;
|
|
58
50
|
}
|
|
59
51
|
return newArgs;
|
|
60
52
|
}
|
|
@@ -3912,18 +3912,10 @@
|
|
|
3912
3912
|
"privacy": "private",
|
|
3913
3913
|
"readonly": true
|
|
3914
3914
|
},
|
|
3915
|
-
{
|
|
3916
|
-
"kind": "field",
|
|
3917
|
-
"name": "_navigationLabelOrDisplayValue",
|
|
3918
|
-
"privacy": "private",
|
|
3919
|
-
"description": "Get the display text for the navigation option or current display value",
|
|
3920
|
-
"readonly": true
|
|
3921
|
-
},
|
|
3922
3915
|
{
|
|
3923
3916
|
"kind": "field",
|
|
3924
3917
|
"name": "_navigationValueOrInputValue",
|
|
3925
3918
|
"privacy": "private",
|
|
3926
|
-
"description": "Get the actual value for the navigation option or current value",
|
|
3927
3919
|
"readonly": true
|
|
3928
3920
|
},
|
|
3929
3921
|
{
|
|
@@ -4858,464 +4850,6 @@
|
|
|
4858
4850
|
}
|
|
4859
4851
|
}
|
|
4860
4852
|
]
|
|
4861
|
-
},
|
|
4862
|
-
{
|
|
4863
|
-
"kind": "javascript-module",
|
|
4864
|
-
"path": "packages/pagination/pagination.ts",
|
|
4865
|
-
"declarations": [
|
|
4866
|
-
{
|
|
4867
|
-
"kind": "class",
|
|
4868
|
-
"description": "Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)",
|
|
4869
|
-
"name": "WarpPagination",
|
|
4870
|
-
"members": [
|
|
4871
|
-
{
|
|
4872
|
-
"kind": "field",
|
|
4873
|
-
"name": "baseUrl",
|
|
4874
|
-
"type": {
|
|
4875
|
-
"text": "string"
|
|
4876
|
-
},
|
|
4877
|
-
"attribute": "base-url",
|
|
4878
|
-
"reflects": true
|
|
4879
|
-
},
|
|
4880
|
-
{
|
|
4881
|
-
"kind": "field",
|
|
4882
|
-
"name": "pages",
|
|
4883
|
-
"type": {
|
|
4884
|
-
"text": "number"
|
|
4885
|
-
},
|
|
4886
|
-
"attribute": "pages",
|
|
4887
|
-
"reflects": true
|
|
4888
|
-
},
|
|
4889
|
-
{
|
|
4890
|
-
"kind": "field",
|
|
4891
|
-
"name": "currentPageNumber",
|
|
4892
|
-
"type": {
|
|
4893
|
-
"text": "number"
|
|
4894
|
-
},
|
|
4895
|
-
"default": "1",
|
|
4896
|
-
"attribute": "current-page",
|
|
4897
|
-
"reflects": true
|
|
4898
|
-
},
|
|
4899
|
-
{
|
|
4900
|
-
"kind": "field",
|
|
4901
|
-
"name": "visiblePages",
|
|
4902
|
-
"type": {
|
|
4903
|
-
"text": "number"
|
|
4904
|
-
},
|
|
4905
|
-
"default": "7",
|
|
4906
|
-
"attribute": "visible-pages",
|
|
4907
|
-
"reflects": true
|
|
4908
|
-
},
|
|
4909
|
-
{
|
|
4910
|
-
"kind": "method",
|
|
4911
|
-
"name": "#dispatchClickPage",
|
|
4912
|
-
"privacy": "private",
|
|
4913
|
-
"parameters": [
|
|
4914
|
-
{
|
|
4915
|
-
"name": "e",
|
|
4916
|
-
"type": {
|
|
4917
|
-
"text": "PointerEvent"
|
|
4918
|
-
}
|
|
4919
|
-
}
|
|
4920
|
-
]
|
|
4921
|
-
}
|
|
4922
|
-
],
|
|
4923
|
-
"events": [
|
|
4924
|
-
{
|
|
4925
|
-
"name": "page-click",
|
|
4926
|
-
"type": {
|
|
4927
|
-
"text": "CustomEvent"
|
|
4928
|
-
},
|
|
4929
|
-
"description": "Triggered when a link button in the pagination is clicked. Contains the page number in `string` form."
|
|
4930
|
-
}
|
|
4931
|
-
],
|
|
4932
|
-
"attributes": [
|
|
4933
|
-
{
|
|
4934
|
-
"name": "base-url",
|
|
4935
|
-
"type": {
|
|
4936
|
-
"text": "string"
|
|
4937
|
-
},
|
|
4938
|
-
"fieldName": "baseUrl"
|
|
4939
|
-
},
|
|
4940
|
-
{
|
|
4941
|
-
"name": "pages",
|
|
4942
|
-
"type": {
|
|
4943
|
-
"text": "number"
|
|
4944
|
-
},
|
|
4945
|
-
"fieldName": "pages"
|
|
4946
|
-
},
|
|
4947
|
-
{
|
|
4948
|
-
"name": "current-page",
|
|
4949
|
-
"type": {
|
|
4950
|
-
"text": "number"
|
|
4951
|
-
},
|
|
4952
|
-
"default": "1",
|
|
4953
|
-
"fieldName": "currentPageNumber"
|
|
4954
|
-
},
|
|
4955
|
-
{
|
|
4956
|
-
"name": "visible-pages",
|
|
4957
|
-
"type": {
|
|
4958
|
-
"text": "number"
|
|
4959
|
-
},
|
|
4960
|
-
"default": "7",
|
|
4961
|
-
"fieldName": "visiblePages"
|
|
4962
|
-
}
|
|
4963
|
-
],
|
|
4964
|
-
"superclass": {
|
|
4965
|
-
"name": "LitElement",
|
|
4966
|
-
"package": "lit"
|
|
4967
|
-
},
|
|
4968
|
-
"tagName": "w-pagination",
|
|
4969
|
-
"customElement": true,
|
|
4970
|
-
"modulePath": "packages/pagination/pagination.ts",
|
|
4971
|
-
"definitionPath": "packages/pagination/pagination.ts"
|
|
4972
|
-
}
|
|
4973
|
-
],
|
|
4974
|
-
"exports": [
|
|
4975
|
-
{
|
|
4976
|
-
"kind": "custom-element-definition",
|
|
4977
|
-
"name": "w-pagination",
|
|
4978
|
-
"declaration": {
|
|
4979
|
-
"name": "WarpPagination",
|
|
4980
|
-
"module": "packages/pagination/pagination.ts"
|
|
4981
|
-
}
|
|
4982
|
-
},
|
|
4983
|
-
{
|
|
4984
|
-
"kind": "js",
|
|
4985
|
-
"name": "WarpPagination",
|
|
4986
|
-
"declaration": {
|
|
4987
|
-
"name": "WarpPagination",
|
|
4988
|
-
"module": "packages/pagination/pagination.ts"
|
|
4989
|
-
}
|
|
4990
|
-
}
|
|
4991
|
-
]
|
|
4992
|
-
},
|
|
4993
|
-
{
|
|
4994
|
-
"kind": "javascript-module",
|
|
4995
|
-
"path": "packages/textarea/textarea.ts",
|
|
4996
|
-
"declarations": [
|
|
4997
|
-
{
|
|
4998
|
-
"kind": "class",
|
|
4999
|
-
"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)",
|
|
5000
|
-
"name": "WarpTextarea",
|
|
5001
|
-
"members": [
|
|
5002
|
-
{
|
|
5003
|
-
"kind": "field",
|
|
5004
|
-
"name": "shadowRootOptions",
|
|
5005
|
-
"type": {
|
|
5006
|
-
"text": "object"
|
|
5007
|
-
},
|
|
5008
|
-
"static": true,
|
|
5009
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5010
|
-
},
|
|
5011
|
-
{
|
|
5012
|
-
"kind": "field",
|
|
5013
|
-
"name": "disabled",
|
|
5014
|
-
"type": {
|
|
5015
|
-
"text": "boolean"
|
|
5016
|
-
},
|
|
5017
|
-
"attribute": "disabled",
|
|
5018
|
-
"reflects": true
|
|
5019
|
-
},
|
|
5020
|
-
{
|
|
5021
|
-
"kind": "field",
|
|
5022
|
-
"name": "invalid",
|
|
5023
|
-
"type": {
|
|
5024
|
-
"text": "boolean"
|
|
5025
|
-
},
|
|
5026
|
-
"attribute": "invalid",
|
|
5027
|
-
"reflects": true
|
|
5028
|
-
},
|
|
5029
|
-
{
|
|
5030
|
-
"kind": "field",
|
|
5031
|
-
"name": "label",
|
|
5032
|
-
"type": {
|
|
5033
|
-
"text": "string"
|
|
5034
|
-
},
|
|
5035
|
-
"attribute": "label",
|
|
5036
|
-
"reflects": true
|
|
5037
|
-
},
|
|
5038
|
-
{
|
|
5039
|
-
"kind": "field",
|
|
5040
|
-
"name": "helpText",
|
|
5041
|
-
"type": {
|
|
5042
|
-
"text": "string"
|
|
5043
|
-
},
|
|
5044
|
-
"attribute": "help-text",
|
|
5045
|
-
"reflects": true
|
|
5046
|
-
},
|
|
5047
|
-
{
|
|
5048
|
-
"kind": "field",
|
|
5049
|
-
"name": "maxRows",
|
|
5050
|
-
"type": {
|
|
5051
|
-
"text": "number"
|
|
5052
|
-
},
|
|
5053
|
-
"attribute": "maximum-rows",
|
|
5054
|
-
"reflects": true
|
|
5055
|
-
},
|
|
5056
|
-
{
|
|
5057
|
-
"kind": "field",
|
|
5058
|
-
"name": "minRows",
|
|
5059
|
-
"type": {
|
|
5060
|
-
"text": "number"
|
|
5061
|
-
},
|
|
5062
|
-
"attribute": "minimum-rows",
|
|
5063
|
-
"reflects": true
|
|
5064
|
-
},
|
|
5065
|
-
{
|
|
5066
|
-
"kind": "field",
|
|
5067
|
-
"name": "name",
|
|
5068
|
-
"type": {
|
|
5069
|
-
"text": "string"
|
|
5070
|
-
},
|
|
5071
|
-
"attribute": "name"
|
|
5072
|
-
},
|
|
5073
|
-
{
|
|
5074
|
-
"kind": "field",
|
|
5075
|
-
"name": "placeholder",
|
|
5076
|
-
"type": {
|
|
5077
|
-
"text": "string"
|
|
5078
|
-
},
|
|
5079
|
-
"attribute": "placeholder"
|
|
5080
|
-
},
|
|
5081
|
-
{
|
|
5082
|
-
"kind": "field",
|
|
5083
|
-
"name": "readOnly",
|
|
5084
|
-
"type": {
|
|
5085
|
-
"text": "boolean"
|
|
5086
|
-
},
|
|
5087
|
-
"deprecated": "Use the native readonly attribute instead. Here for API consistency with `w-textfield`.",
|
|
5088
|
-
"attribute": "read-only",
|
|
5089
|
-
"reflects": true
|
|
5090
|
-
},
|
|
5091
|
-
{
|
|
5092
|
-
"kind": "field",
|
|
5093
|
-
"name": "readonly",
|
|
5094
|
-
"type": {
|
|
5095
|
-
"text": "boolean"
|
|
5096
|
-
},
|
|
5097
|
-
"attribute": "readonly",
|
|
5098
|
-
"reflects": true
|
|
5099
|
-
},
|
|
5100
|
-
{
|
|
5101
|
-
"kind": "field",
|
|
5102
|
-
"name": "required",
|
|
5103
|
-
"type": {
|
|
5104
|
-
"text": "boolean"
|
|
5105
|
-
},
|
|
5106
|
-
"attribute": "required",
|
|
5107
|
-
"reflects": true
|
|
5108
|
-
},
|
|
5109
|
-
{
|
|
5110
|
-
"kind": "field",
|
|
5111
|
-
"name": "value",
|
|
5112
|
-
"type": {
|
|
5113
|
-
"text": "string"
|
|
5114
|
-
},
|
|
5115
|
-
"attribute": "value",
|
|
5116
|
-
"reflects": true
|
|
5117
|
-
},
|
|
5118
|
-
{
|
|
5119
|
-
"kind": "field",
|
|
5120
|
-
"name": "optional",
|
|
5121
|
-
"type": {
|
|
5122
|
-
"text": "boolean"
|
|
5123
|
-
},
|
|
5124
|
-
"attribute": "optional",
|
|
5125
|
-
"reflects": true
|
|
5126
|
-
},
|
|
5127
|
-
{
|
|
5128
|
-
"kind": "field",
|
|
5129
|
-
"name": "minHeight"
|
|
5130
|
-
},
|
|
5131
|
-
{
|
|
5132
|
-
"kind": "field",
|
|
5133
|
-
"name": "maxHeight"
|
|
5134
|
-
},
|
|
5135
|
-
{
|
|
5136
|
-
"kind": "field",
|
|
5137
|
-
"name": "#initialValue",
|
|
5138
|
-
"privacy": "private",
|
|
5139
|
-
"type": {
|
|
5140
|
-
"text": "string | null"
|
|
5141
|
-
},
|
|
5142
|
-
"default": "null"
|
|
5143
|
-
},
|
|
5144
|
-
{
|
|
5145
|
-
"kind": "field",
|
|
5146
|
-
"name": "#uniqueId",
|
|
5147
|
-
"privacy": "private"
|
|
5148
|
-
},
|
|
5149
|
-
{
|
|
5150
|
-
"kind": "method",
|
|
5151
|
-
"name": "resetFormControl",
|
|
5152
|
-
"return": {
|
|
5153
|
-
"type": {
|
|
5154
|
-
"text": "void"
|
|
5155
|
-
}
|
|
5156
|
-
},
|
|
5157
|
-
"type": {
|
|
5158
|
-
"text": "resetFormControl() => void"
|
|
5159
|
-
}
|
|
5160
|
-
},
|
|
5161
|
-
{
|
|
5162
|
-
"kind": "method",
|
|
5163
|
-
"name": "handler",
|
|
5164
|
-
"parameters": [
|
|
5165
|
-
{
|
|
5166
|
-
"name": "e",
|
|
5167
|
-
"type": {
|
|
5168
|
-
"text": "InputEvent"
|
|
5169
|
-
}
|
|
5170
|
-
}
|
|
5171
|
-
],
|
|
5172
|
-
"type": {
|
|
5173
|
-
"text": "handler(e: InputEvent) => void"
|
|
5174
|
-
}
|
|
5175
|
-
},
|
|
5176
|
-
{
|
|
5177
|
-
"kind": "method",
|
|
5178
|
-
"name": "#resize",
|
|
5179
|
-
"privacy": "private",
|
|
5180
|
-
"parameters": [
|
|
5181
|
-
{
|
|
5182
|
-
"name": "target",
|
|
5183
|
-
"type": {
|
|
5184
|
-
"text": "HTMLTextAreaElement"
|
|
5185
|
-
}
|
|
5186
|
-
}
|
|
5187
|
-
],
|
|
5188
|
-
"description": "Calculate the new height for the area on input"
|
|
5189
|
-
}
|
|
5190
|
-
],
|
|
5191
|
-
"attributes": [
|
|
5192
|
-
{
|
|
5193
|
-
"name": "disabled",
|
|
5194
|
-
"type": {
|
|
5195
|
-
"text": "boolean"
|
|
5196
|
-
},
|
|
5197
|
-
"fieldName": "disabled"
|
|
5198
|
-
},
|
|
5199
|
-
{
|
|
5200
|
-
"name": "invalid",
|
|
5201
|
-
"type": {
|
|
5202
|
-
"text": "boolean"
|
|
5203
|
-
},
|
|
5204
|
-
"fieldName": "invalid"
|
|
5205
|
-
},
|
|
5206
|
-
{
|
|
5207
|
-
"name": "label",
|
|
5208
|
-
"type": {
|
|
5209
|
-
"text": "string"
|
|
5210
|
-
},
|
|
5211
|
-
"fieldName": "label"
|
|
5212
|
-
},
|
|
5213
|
-
{
|
|
5214
|
-
"name": "help-text",
|
|
5215
|
-
"type": {
|
|
5216
|
-
"text": "string"
|
|
5217
|
-
},
|
|
5218
|
-
"fieldName": "helpText"
|
|
5219
|
-
},
|
|
5220
|
-
{
|
|
5221
|
-
"name": "maximum-rows",
|
|
5222
|
-
"type": {
|
|
5223
|
-
"text": "number"
|
|
5224
|
-
},
|
|
5225
|
-
"fieldName": "maxRows"
|
|
5226
|
-
},
|
|
5227
|
-
{
|
|
5228
|
-
"name": "minimum-rows",
|
|
5229
|
-
"type": {
|
|
5230
|
-
"text": "number"
|
|
5231
|
-
},
|
|
5232
|
-
"fieldName": "minRows"
|
|
5233
|
-
},
|
|
5234
|
-
{
|
|
5235
|
-
"name": "name",
|
|
5236
|
-
"type": {
|
|
5237
|
-
"text": "string"
|
|
5238
|
-
},
|
|
5239
|
-
"fieldName": "name"
|
|
5240
|
-
},
|
|
5241
|
-
{
|
|
5242
|
-
"name": "placeholder",
|
|
5243
|
-
"type": {
|
|
5244
|
-
"text": "string"
|
|
5245
|
-
},
|
|
5246
|
-
"fieldName": "placeholder"
|
|
5247
|
-
},
|
|
5248
|
-
{
|
|
5249
|
-
"name": "read-only",
|
|
5250
|
-
"type": {
|
|
5251
|
-
"text": "boolean"
|
|
5252
|
-
},
|
|
5253
|
-
"deprecated": "Use the native readonly attribute instead. Here for API consistency with `w-textfield`.",
|
|
5254
|
-
"fieldName": "readOnly"
|
|
5255
|
-
},
|
|
5256
|
-
{
|
|
5257
|
-
"name": "readonly",
|
|
5258
|
-
"type": {
|
|
5259
|
-
"text": "boolean"
|
|
5260
|
-
},
|
|
5261
|
-
"fieldName": "readonly"
|
|
5262
|
-
},
|
|
5263
|
-
{
|
|
5264
|
-
"name": "required",
|
|
5265
|
-
"type": {
|
|
5266
|
-
"text": "boolean"
|
|
5267
|
-
},
|
|
5268
|
-
"fieldName": "required"
|
|
5269
|
-
},
|
|
5270
|
-
{
|
|
5271
|
-
"name": "value",
|
|
5272
|
-
"type": {
|
|
5273
|
-
"text": "string"
|
|
5274
|
-
},
|
|
5275
|
-
"fieldName": "value"
|
|
5276
|
-
},
|
|
5277
|
-
{
|
|
5278
|
-
"name": "optional",
|
|
5279
|
-
"type": {
|
|
5280
|
-
"text": "boolean"
|
|
5281
|
-
},
|
|
5282
|
-
"fieldName": "optional"
|
|
5283
|
-
}
|
|
5284
|
-
],
|
|
5285
|
-
"mixins": [
|
|
5286
|
-
{
|
|
5287
|
-
"name": "FormControlMixin",
|
|
5288
|
-
"package": "@open-wc/form-control"
|
|
5289
|
-
}
|
|
5290
|
-
],
|
|
5291
|
-
"superclass": {
|
|
5292
|
-
"name": "LitElement",
|
|
5293
|
-
"package": "lit"
|
|
5294
|
-
},
|
|
5295
|
-
"tagName": "w-textarea",
|
|
5296
|
-
"customElement": true,
|
|
5297
|
-
"modulePath": "packages/textarea/textarea.ts",
|
|
5298
|
-
"definitionPath": "packages/textarea/textarea.ts"
|
|
5299
|
-
}
|
|
5300
|
-
],
|
|
5301
|
-
"exports": [
|
|
5302
|
-
{
|
|
5303
|
-
"kind": "custom-element-definition",
|
|
5304
|
-
"name": "w-textarea",
|
|
5305
|
-
"declaration": {
|
|
5306
|
-
"name": "WarpTextarea",
|
|
5307
|
-
"module": "packages/textarea/textarea.ts"
|
|
5308
|
-
}
|
|
5309
|
-
},
|
|
5310
|
-
{
|
|
5311
|
-
"kind": "js",
|
|
5312
|
-
"name": "WarpTextarea",
|
|
5313
|
-
"declaration": {
|
|
5314
|
-
"name": "WarpTextarea",
|
|
5315
|
-
"module": "packages/textarea/textarea.ts"
|
|
5316
|
-
}
|
|
5317
|
-
}
|
|
5318
|
-
]
|
|
5319
4853
|
}
|
|
5320
4854
|
]
|
|
5321
4855
|
}
|