@warp-ds/elements 2.2.0-next.3 → 2.2.0-next.31

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 (265) hide show
  1. package/README.md +200 -28
  2. package/dist/.storybook/utilities.d.ts +28 -0
  3. package/dist/.storybook/utilities.js +52 -0
  4. package/dist/api.js +1 -49
  5. package/dist/api.js.map +4 -4
  6. package/dist/custom-elements.json +3059 -0
  7. package/dist/index.d.ts +942 -18
  8. package/dist/packages/affix/affix.react.stories.d.ts +9 -0
  9. package/dist/packages/affix/affix.react.stories.js +10 -0
  10. package/dist/packages/affix/affix.stories.d.ts +10 -0
  11. package/dist/packages/affix/affix.stories.js +25 -0
  12. package/dist/packages/affix/affix.test.d.ts +1 -0
  13. package/dist/packages/affix/affix.test.js +9 -0
  14. package/dist/packages/affix/index.d.ts +47 -24
  15. package/dist/packages/affix/index.js +2448 -2240
  16. package/dist/packages/affix/index.js.map +4 -4
  17. package/dist/packages/affix/react.d.ts +2 -0
  18. package/dist/packages/affix/react.js +15 -0
  19. package/dist/packages/affix/styles.d.ts +1 -0
  20. package/dist/packages/affix/styles.js +2 -0
  21. package/dist/packages/alert/alert.react.stories.d.ts +13 -0
  22. package/dist/packages/alert/alert.react.stories.js +44 -0
  23. package/dist/packages/alert/alert.stories.d.ts +15 -0
  24. package/dist/packages/alert/alert.stories.js +68 -0
  25. package/dist/packages/alert/alert.test.d.ts +1 -0
  26. package/dist/packages/alert/alert.test.js +18 -0
  27. package/dist/packages/alert/index.d.ts +23 -17
  28. package/dist/packages/alert/index.js +2452 -2446
  29. package/dist/packages/alert/index.js.map +4 -4
  30. package/dist/packages/alert/react.d.ts +2 -0
  31. package/dist/packages/alert/react.js +11 -0
  32. package/dist/packages/alert/styles.d.ts +1 -0
  33. package/dist/packages/alert/styles.js +2 -0
  34. package/dist/packages/attention/attention.react.stories.d.ts +15 -0
  35. package/dist/packages/attention/attention.react.stories.js +92 -0
  36. package/dist/packages/attention/attention.stories.d.ts +16 -0
  37. package/dist/packages/attention/attention.stories.js +180 -0
  38. package/dist/packages/attention/attention.test.d.ts +1 -0
  39. package/dist/packages/attention/attention.test.js +11 -0
  40. package/dist/packages/attention/index.d.ts +61 -89
  41. package/dist/packages/attention/index.js +3530 -3924
  42. package/dist/packages/attention/index.js.map +4 -4
  43. package/dist/packages/attention/layout-styles.d.ts +1 -0
  44. package/dist/packages/attention/layout-styles.js +905 -0
  45. package/dist/packages/attention/locales/da/messages.mjs +1 -0
  46. package/dist/packages/attention/locales/en/messages.mjs +1 -0
  47. package/dist/packages/attention/locales/fi/messages.mjs +1 -0
  48. package/dist/packages/attention/locales/nb/messages.mjs +1 -0
  49. package/dist/packages/attention/locales/sv/messages.mjs +1 -0
  50. package/dist/packages/attention/react.d.ts +15 -0
  51. package/dist/packages/attention/react.js +17 -0
  52. package/dist/packages/attention/styles.d.ts +1 -0
  53. package/dist/packages/attention/styles.js +2 -0
  54. package/dist/packages/badge/badge.react.stories.d.ts +18 -0
  55. package/dist/packages/badge/badge.react.stories.js +60 -0
  56. package/dist/packages/badge/badge.stories.d.ts +17 -0
  57. package/dist/packages/badge/badge.stories.js +68 -0
  58. package/dist/packages/badge/badge.test.d.ts +1 -0
  59. package/dist/packages/badge/badge.test.js +9 -0
  60. package/dist/packages/badge/index.d.ts +12 -12
  61. package/dist/packages/badge/index.js +2441 -300
  62. package/dist/packages/badge/index.js.map +4 -4
  63. package/dist/packages/badge/react.d.ts +2 -0
  64. package/dist/packages/badge/react.js +11 -0
  65. package/dist/packages/badge/styles.d.ts +1 -0
  66. package/dist/packages/badge/styles.js +2 -0
  67. package/dist/packages/box/box.react.stories.d.ts +15 -0
  68. package/dist/packages/box/box.react.stories.js +45 -0
  69. package/dist/packages/box/box.stories.d.ts +14 -0
  70. package/dist/packages/box/box.stories.js +59 -0
  71. package/dist/packages/box/box.test.d.ts +1 -0
  72. package/dist/packages/box/box.test.js +9 -0
  73. package/dist/packages/box/index.d.ts +16 -21
  74. package/dist/packages/box/index.js +2443 -299
  75. package/dist/packages/box/index.js.map +4 -4
  76. package/dist/packages/box/react.d.ts +2 -0
  77. package/dist/packages/box/react.js +11 -0
  78. package/dist/packages/box/slot.test.d.ts +1 -0
  79. package/dist/packages/box/slot.test.js +9 -0
  80. package/dist/packages/box/styles.d.ts +1 -0
  81. package/dist/packages/box/styles.js +2 -0
  82. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +13 -0
  83. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.js +40 -0
  84. package/dist/packages/breadcrumbs/breadcrumbs.stories.d.ts +12 -0
  85. package/dist/packages/breadcrumbs/breadcrumbs.stories.js +60 -0
  86. package/dist/packages/breadcrumbs/breadcrumbs.test.d.ts +1 -0
  87. package/dist/packages/breadcrumbs/breadcrumbs.test.js +16 -0
  88. package/dist/packages/breadcrumbs/index.d.ts +19 -16
  89. package/dist/packages/breadcrumbs/index.js +2402 -2051
  90. package/dist/packages/breadcrumbs/index.js.map +4 -4
  91. package/dist/packages/breadcrumbs/locales/da/messages.mjs +1 -0
  92. package/dist/packages/breadcrumbs/locales/en/messages.mjs +1 -0
  93. package/dist/packages/breadcrumbs/locales/fi/messages.mjs +1 -0
  94. package/dist/packages/breadcrumbs/locales/nb/messages.mjs +1 -0
  95. package/dist/packages/breadcrumbs/locales/sv/messages.mjs +1 -0
  96. package/dist/packages/breadcrumbs/react.d.ts +2 -0
  97. package/dist/packages/breadcrumbs/react.js +11 -0
  98. package/dist/packages/breadcrumbs/styles.d.ts +1 -0
  99. package/dist/packages/breadcrumbs/styles.js +2 -0
  100. package/dist/packages/button/button.react.stories.d.ts +22 -0
  101. package/dist/packages/button/button.react.stories.js +102 -0
  102. package/dist/packages/button/button.stories.d.ts +25 -0
  103. package/dist/packages/button/button.stories.js +151 -0
  104. package/dist/packages/button/button.test.d.ts +1 -1
  105. package/dist/packages/button/button.test.js +25 -0
  106. package/dist/packages/button/index.d.ts +83 -9
  107. package/dist/packages/button/index.js +2614 -2422
  108. package/dist/packages/button/index.js.map +4 -4
  109. package/dist/packages/button/locales/da/messages.mjs +1 -0
  110. package/dist/packages/button/locales/en/messages.mjs +1 -0
  111. package/dist/packages/button/locales/fi/messages.mjs +1 -0
  112. package/dist/packages/button/locales/nb/messages.mjs +1 -0
  113. package/dist/packages/button/locales/sv/messages.mjs +1 -0
  114. package/dist/packages/button/react.d.ts +2 -0
  115. package/dist/packages/button/react.js +11 -0
  116. package/dist/packages/button/styles.d.ts +1 -0
  117. package/dist/packages/button/styles.js +2 -0
  118. package/dist/packages/card/card.react.stories.d.ts +16 -0
  119. package/dist/packages/card/card.react.stories.js +63 -0
  120. package/dist/packages/card/card.stories.d.ts +15 -0
  121. package/dist/packages/card/card.stories.js +82 -0
  122. package/dist/packages/card/card.test.d.ts +1 -0
  123. package/dist/packages/card/card.test.js +9 -0
  124. package/dist/packages/card/index.d.ts +27 -16
  125. package/dist/packages/card/index.js +2403 -2067
  126. package/dist/packages/card/index.js.map +4 -4
  127. package/dist/packages/card/locales/da/messages.mjs +1 -0
  128. package/dist/packages/card/locales/en/messages.mjs +1 -0
  129. package/dist/packages/card/locales/fi/messages.mjs +1 -0
  130. package/dist/packages/card/locales/nb/messages.mjs +1 -0
  131. package/dist/packages/card/locales/sv/messages.mjs +1 -0
  132. package/dist/packages/card/react.d.ts +2 -0
  133. package/dist/packages/card/react.js +11 -0
  134. package/dist/packages/card/styles.d.ts +1 -0
  135. package/dist/packages/card/styles.js +2 -0
  136. package/dist/packages/expandable/expandable.react.stories.d.ts +18 -0
  137. package/dist/packages/expandable/expandable.react.stories.js +103 -0
  138. package/dist/packages/expandable/expandable.stories.d.ts +19 -0
  139. package/dist/packages/expandable/expandable.stories.js +132 -0
  140. package/dist/packages/expandable/expandable.test.d.ts +1 -0
  141. package/dist/packages/expandable/expandable.test.js +24 -0
  142. package/dist/packages/expandable/index.d.ts +52 -50
  143. package/dist/packages/expandable/index.js +2424 -2286
  144. package/dist/packages/expandable/index.js.map +4 -4
  145. package/dist/packages/expandable/react.d.ts +2 -0
  146. package/dist/packages/expandable/react.js +11 -0
  147. package/dist/packages/expandable/styles.d.ts +1 -0
  148. package/dist/packages/expandable/styles.js +2 -0
  149. package/dist/packages/i18n.js +45 -0
  150. package/dist/packages/link/index.d.ts +34 -0
  151. package/dist/packages/link/index.js +99 -0
  152. package/dist/packages/link/styles.d.ts +1 -0
  153. package/dist/packages/link/styles.js +200 -0
  154. package/dist/packages/modal/index.d.ts +5 -6
  155. package/dist/packages/modal/index.js +5 -2611
  156. package/dist/packages/modal/locales/da/messages.mjs +1 -0
  157. package/dist/packages/modal/locales/en/messages.mjs +1 -0
  158. package/dist/packages/modal/locales/fi/messages.mjs +1 -0
  159. package/dist/packages/modal/locales/nb/messages.mjs +1 -0
  160. package/dist/packages/modal/locales/sv/messages.mjs +1 -0
  161. package/dist/packages/modal/modal-footer.d.ts +12 -10
  162. package/dist/packages/modal/modal-footer.js +2460 -0
  163. package/dist/packages/modal/modal-footer.js.map +7 -0
  164. package/dist/packages/modal/modal-header.d.ts +15 -13
  165. package/dist/packages/modal/modal-header.js +2567 -0
  166. package/dist/packages/modal/modal-header.js.map +7 -0
  167. package/dist/packages/modal/modal-main.d.ts +14 -8
  168. package/dist/packages/modal/modal-main.js +2572 -0
  169. package/dist/packages/modal/modal-main.js.map +7 -0
  170. package/dist/packages/modal/modal.react.stories.d.ts +14 -0
  171. package/dist/packages/modal/modal.react.stories.js +27 -0
  172. package/dist/packages/modal/modal.stories.d.ts +19 -0
  173. package/dist/packages/modal/modal.stories.js +254 -0
  174. package/dist/packages/modal/react.d.ts +12 -0
  175. package/dist/packages/modal/react.js +31 -0
  176. package/dist/packages/modal/util.d.ts +7 -17
  177. package/dist/packages/modal/util.js +21 -0
  178. package/dist/packages/pill/index.d.ts +39 -23
  179. package/dist/packages/pill/index.js +2408 -2175
  180. package/dist/packages/pill/index.js.map +4 -4
  181. package/dist/packages/pill/locales/da/messages.mjs +1 -0
  182. package/dist/packages/pill/locales/en/messages.mjs +1 -0
  183. package/dist/packages/pill/locales/fi/messages.mjs +1 -0
  184. package/dist/packages/pill/locales/nb/messages.mjs +1 -0
  185. package/dist/packages/pill/locales/sv/messages.mjs +1 -0
  186. package/dist/packages/pill/pill.react.stories.d.ts +23 -0
  187. package/dist/packages/pill/pill.react.stories.js +22 -0
  188. package/dist/packages/pill/pill.stories.d.ts +12 -0
  189. package/dist/packages/pill/pill.stories.js +33 -0
  190. package/dist/packages/pill/pill.test.d.ts +1 -0
  191. package/dist/packages/pill/pill.test.js +25 -0
  192. package/dist/packages/pill/react.d.ts +7 -0
  193. package/dist/packages/pill/react.js +17 -0
  194. package/dist/packages/pill/styles.d.ts +1 -0
  195. package/dist/packages/pill/styles.js +2 -0
  196. package/dist/packages/select/index.d.ts +56 -60
  197. package/dist/packages/select/index.js +2428 -2533
  198. package/dist/packages/select/index.js.map +4 -4
  199. package/dist/packages/select/locales/da/messages.mjs +1 -0
  200. package/dist/packages/select/locales/en/messages.mjs +1 -0
  201. package/dist/packages/select/locales/fi/messages.mjs +1 -0
  202. package/dist/packages/select/locales/nb/messages.mjs +1 -0
  203. package/dist/packages/select/locales/sv/messages.mjs +1 -0
  204. package/dist/packages/select/react.d.ts +6 -0
  205. package/dist/packages/select/react.js +20 -0
  206. package/dist/packages/select/select.react.stories.d.ts +18 -0
  207. package/dist/packages/select/select.react.stories.js +28 -0
  208. package/dist/packages/select/select.stories.d.ts +17 -0
  209. package/dist/packages/select/select.stories.js +100 -0
  210. package/dist/packages/select/select.test.d.ts +1 -0
  211. package/dist/packages/select/select.test.js +31 -0
  212. package/dist/packages/select/styles.d.ts +1 -0
  213. package/dist/packages/select/styles.js +2 -0
  214. package/dist/packages/styles.js +2442 -0
  215. package/dist/packages/textfield/index.d.ts +78 -74
  216. package/dist/packages/textfield/index.js +2522 -707
  217. package/dist/packages/textfield/index.js.map +4 -4
  218. package/dist/packages/textfield/react.d.ts +11 -0
  219. package/dist/packages/textfield/react.js +21 -0
  220. package/dist/packages/textfield/styles/w-textfield.styles.d.ts +1 -0
  221. package/dist/packages/textfield/styles/w-textfield.styles.js +55 -0
  222. package/dist/packages/textfield/styles.d.ts +1 -0
  223. package/dist/packages/textfield/styles.js +2 -0
  224. package/dist/packages/textfield/textfield.react.stories.d.ts +37 -0
  225. package/dist/packages/textfield/textfield.react.stories.js +88 -0
  226. package/dist/packages/textfield/textfield.stories.d.ts +18 -0
  227. package/dist/packages/textfield/textfield.stories.js +105 -0
  228. package/dist/packages/textfield/textfield.test.d.ts +2 -0
  229. package/dist/packages/textfield/textfield.test.js +68 -0
  230. package/dist/packages/toast/api.d.ts +4 -45
  231. package/dist/packages/toast/api.js +41 -0
  232. package/dist/packages/toast/index.d.ts +3 -3
  233. package/dist/packages/toast/index.js +3 -2804
  234. package/dist/packages/toast/locales/da/messages.mjs +1 -0
  235. package/dist/packages/toast/locales/en/messages.mjs +1 -0
  236. package/dist/packages/toast/locales/fi/messages.mjs +1 -0
  237. package/dist/packages/toast/locales/nb/messages.mjs +1 -0
  238. package/dist/packages/toast/locales/sv/messages.mjs +1 -0
  239. package/dist/packages/toast/styles.d.ts +1 -0
  240. package/dist/packages/toast/styles.js +2 -0
  241. package/dist/packages/toast/toast-container.d.ts +13 -63
  242. package/dist/packages/toast/toast-container.js +2458 -0
  243. package/dist/packages/toast/toast-container.js.map +7 -0
  244. package/dist/packages/toast/toast.d.ts +36 -29
  245. package/dist/packages/toast/toast.js +2466 -0
  246. package/dist/packages/toast/toast.js.map +7 -0
  247. package/dist/packages/toast/toast.stories.d.ts +12 -0
  248. package/dist/packages/toast/toast.stories.js +50 -0
  249. package/dist/packages/toast/types.d.ts +15 -0
  250. package/dist/packages/toast/types.js +1 -0
  251. package/dist/packages/utils/expand-transition.d.ts +3 -3
  252. package/dist/packages/utils/expand-transition.js +59 -0
  253. package/dist/packages/utils/index.d.ts +1 -1
  254. package/dist/packages/utils/index.js +37 -0
  255. package/dist/packages/utils/unstyled-heading.d.ts +3 -4
  256. package/dist/packages/utils/unstyled-heading.js +22 -0
  257. package/dist/packages/utils/window-exists.js +1 -0
  258. package/dist/setup-tests.d.ts +1 -0
  259. package/dist/setup-tests.js +1 -0
  260. package/dist/web-types.json +661 -0
  261. package/package.json +89 -36
  262. package/dist/index.js +0 -9820
  263. package/dist/index.js.map +0 -7
  264. package/dist/packages/modal/index.js.map +0 -7
  265. package/dist/packages/toast/index.js.map +0 -7
@@ -0,0 +1,3059 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "packages/affix/index.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "variable",
11
+ "name": "ccSuffix",
12
+ "type": {
13
+ "text": "object"
14
+ },
15
+ "default": "{ wrapper: prefixSuffixWrapper + 'right-0', wrapperWithLabel: 'w-max pr-12', wrapperWithIcon: 'w-40', label: 'antialiased block relative cursor-default pb-0 font-bold text-xs s-text', }"
16
+ },
17
+ {
18
+ "kind": "variable",
19
+ "name": "ccPrefix",
20
+ "type": {
21
+ "text": "object"
22
+ },
23
+ "default": "{ wrapper: prefixSuffixWrapper + 'left-0', wrapperWithLabel: 'w-max pl-12', wrapperWithIcon: 'w-40', label: 'antialiased block relative cursor-default pb-0 font-bold text-xs s-text', }"
24
+ },
25
+ {
26
+ "kind": "class",
27
+ "description": "This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)",
28
+ "name": "WarpAffix",
29
+ "members": [
30
+ {
31
+ "kind": "field",
32
+ "name": "ariaLabel",
33
+ "type": {
34
+ "text": "string"
35
+ },
36
+ "attribute": "aria-label"
37
+ },
38
+ {
39
+ "kind": "field",
40
+ "name": "clear",
41
+ "type": {
42
+ "text": "boolean"
43
+ },
44
+ "default": "false",
45
+ "description": "Add this property to render a clickable Warp close icon.\n\nSet an `aria-label` that explains the action when using this.",
46
+ "attribute": "clear"
47
+ },
48
+ {
49
+ "kind": "field",
50
+ "name": "search",
51
+ "type": {
52
+ "text": "boolean"
53
+ },
54
+ "default": "false",
55
+ "description": "Add this property to render a clickable Warp search icon.\n\nSet an `aria-label` that explains the action when using this.",
56
+ "attribute": "search"
57
+ },
58
+ {
59
+ "kind": "field",
60
+ "name": "label",
61
+ "type": {
62
+ "text": "string"
63
+ },
64
+ "attribute": "label"
65
+ }
66
+ ],
67
+ "attributes": [
68
+ {
69
+ "name": "aria-label",
70
+ "type": {
71
+ "text": "string"
72
+ },
73
+ "fieldName": "ariaLabel"
74
+ },
75
+ {
76
+ "name": "clear",
77
+ "type": {
78
+ "text": "boolean"
79
+ },
80
+ "default": "false",
81
+ "description": "Add this property to render a clickable Warp close icon.\n\nSet an `aria-label` that explains the action when using this.",
82
+ "fieldName": "clear"
83
+ },
84
+ {
85
+ "name": "search",
86
+ "type": {
87
+ "text": "boolean"
88
+ },
89
+ "default": "false",
90
+ "description": "Add this property to render a clickable Warp search icon.\n\nSet an `aria-label` that explains the action when using this.",
91
+ "fieldName": "search"
92
+ },
93
+ {
94
+ "name": "label",
95
+ "type": {
96
+ "text": "string"
97
+ },
98
+ "fieldName": "label"
99
+ }
100
+ ],
101
+ "superclass": {
102
+ "name": "LitElement",
103
+ "package": "lit"
104
+ },
105
+ "tagName": "w-affix",
106
+ "customElement": true,
107
+ "modulePath": "packages/affix/index.ts",
108
+ "definitionPath": "packages/affix/index.ts"
109
+ }
110
+ ],
111
+ "exports": [
112
+ {
113
+ "kind": "js",
114
+ "name": "ccSuffix",
115
+ "declaration": {
116
+ "name": "ccSuffix",
117
+ "module": "packages/affix/index.ts"
118
+ }
119
+ },
120
+ {
121
+ "kind": "js",
122
+ "name": "ccPrefix",
123
+ "declaration": {
124
+ "name": "ccPrefix",
125
+ "module": "packages/affix/index.ts"
126
+ }
127
+ },
128
+ {
129
+ "kind": "custom-element-definition",
130
+ "name": "w-affix",
131
+ "declaration": {
132
+ "name": "WarpAffix",
133
+ "module": "packages/affix/index.ts"
134
+ }
135
+ },
136
+ {
137
+ "kind": "js",
138
+ "name": "WarpAffix",
139
+ "declaration": {
140
+ "name": "WarpAffix",
141
+ "module": "packages/affix/index.ts"
142
+ }
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "kind": "javascript-module",
148
+ "path": "packages/alert/index.ts",
149
+ "declarations": [
150
+ {
151
+ "kind": "class",
152
+ "description": "Alert is an inline component used for displaying different types of messages.\n\nFor accessibility reasons, alert should appear close to the element that triggered it.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)",
153
+ "name": "WarpAlert",
154
+ "members": [
155
+ {
156
+ "kind": "field",
157
+ "name": "variant",
158
+ "type": {
159
+ "text": "AlertVariants"
160
+ },
161
+ "default": "'info'",
162
+ "attribute": "variant",
163
+ "reflects": true,
164
+ "parsedType": {
165
+ "text": "'negative' | 'positive' | 'warning' | 'info'"
166
+ }
167
+ },
168
+ {
169
+ "kind": "field",
170
+ "name": "show",
171
+ "type": {
172
+ "text": "boolean"
173
+ },
174
+ "default": "false",
175
+ "attribute": "show",
176
+ "reflects": true
177
+ },
178
+ {
179
+ "kind": "field",
180
+ "name": "role",
181
+ "type": {
182
+ "text": "string"
183
+ },
184
+ "default": "'alert'",
185
+ "attribute": "role",
186
+ "reflects": true
187
+ }
188
+ ],
189
+ "attributes": [
190
+ {
191
+ "name": "variant",
192
+ "type": {
193
+ "text": "AlertVariants"
194
+ },
195
+ "default": "'info'",
196
+ "fieldName": "variant",
197
+ "parsedType": {
198
+ "text": "'negative' | 'positive' | 'warning' | 'info'"
199
+ }
200
+ },
201
+ {
202
+ "name": "show",
203
+ "type": {
204
+ "text": "boolean"
205
+ },
206
+ "default": "false",
207
+ "fieldName": "show"
208
+ },
209
+ {
210
+ "name": "role",
211
+ "type": {
212
+ "text": "string"
213
+ },
214
+ "default": "'alert'",
215
+ "fieldName": "role"
216
+ }
217
+ ],
218
+ "superclass": {
219
+ "name": "LitElement",
220
+ "package": "lit"
221
+ },
222
+ "tagName": "w-alert",
223
+ "customElement": true,
224
+ "modulePath": "packages/alert/index.ts",
225
+ "definitionPath": "packages/alert/index.ts"
226
+ }
227
+ ],
228
+ "exports": [
229
+ {
230
+ "kind": "custom-element-definition",
231
+ "name": "w-alert",
232
+ "declaration": {
233
+ "name": "WarpAlert",
234
+ "module": "packages/alert/index.ts"
235
+ }
236
+ },
237
+ {
238
+ "kind": "js",
239
+ "name": "WarpAlert",
240
+ "declaration": {
241
+ "name": "WarpAlert",
242
+ "module": "packages/alert/index.ts"
243
+ }
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "kind": "javascript-module",
249
+ "path": "packages/button/index.ts",
250
+ "declarations": [
251
+ {
252
+ "kind": "variable",
253
+ "name": "ccButton",
254
+ "type": {
255
+ "text": "object"
256
+ },
257
+ "default": "{ // Buttontypes secondary: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, // .button--secondary, .button--default, .button secondaryHref: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondaryDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondarySmall: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondarySmallDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondaryQuiet: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondaryQuietDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondarySmallQuiet: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondarySmallQuietDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondaryLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallQuietLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, secondaryQuietLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, primary: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.primary} ${buttonColors.primary}`, // .button--primary, .button--cta primaryDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.isDisabled} ${buttonTypes.primary}`, primarySmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.primary} ${buttonColors.primary}`, primarySmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.isDisabled} ${buttonTypes.primary} `, primaryQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, primaryQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primarySmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, primarySmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primaryLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primaryQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, utility: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonColors.utility}`, // .button--utility utilityDisabled: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilityQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, // .button--utility-flat utilityQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilitySmall: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonColors.utility}`, utilitySmallDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilitySmallQuiet: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, utilitySmallQuietDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilityLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilitySmallLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilityQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, utilitySmallQuietLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, negative: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonColors.destructive}`, // .button--destructive negativeDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, // .button--destructive-flat negativeQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet}${buttonVariants.isDisabled}`, negativeSmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonColors.destructive}`, negativeSmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeSmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, negativeSmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.isDisabled}`, negativeLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.negative}`, negativeQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.inProgress}`, pill: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill}`, // .button--pill pillSmall: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonColors.pill}`, pillLoading: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonVariants.inProgress}`, pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`, link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`, linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`, linkAsButton: 'inline-block active:no-underline hover:no-underline focus:no-underline text-center', a11y: 'sr-only', fullWidth: 'w-full max-w-full', contentWidth: 'max-w-max', }"
258
+ },
259
+ {
260
+ "kind": "class",
261
+ "description": "Buttons are used to perform actions, widh different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)",
262
+ "name": "WarpButton",
263
+ "members": [
264
+ {
265
+ "kind": "field",
266
+ "name": "shadowRootOptions",
267
+ "type": {
268
+ "text": "object"
269
+ },
270
+ "static": true,
271
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
272
+ },
273
+ {
274
+ "kind": "field",
275
+ "name": "type",
276
+ "type": {
277
+ "text": "ButtonType"
278
+ },
279
+ "default": "'button'",
280
+ "attribute": "type",
281
+ "reflects": true,
282
+ "parsedType": {
283
+ "text": "'button' | 'submit' | 'reset'"
284
+ }
285
+ },
286
+ {
287
+ "kind": "field",
288
+ "name": "autofocus",
289
+ "type": {
290
+ "text": "boolean"
291
+ },
292
+ "attribute": "autofocus",
293
+ "reflects": true
294
+ },
295
+ {
296
+ "kind": "field",
297
+ "name": "variant",
298
+ "type": {
299
+ "text": "ButtonVariant"
300
+ },
301
+ "default": "'secondary'",
302
+ "attribute": "variant",
303
+ "reflects": true,
304
+ "parsedType": {
305
+ "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
306
+ }
307
+ },
308
+ {
309
+ "kind": "field",
310
+ "name": "quiet",
311
+ "type": {
312
+ "text": "boolean"
313
+ },
314
+ "attribute": "quiet",
315
+ "reflects": true
316
+ },
317
+ {
318
+ "kind": "field",
319
+ "name": "small",
320
+ "type": {
321
+ "text": "boolean"
322
+ },
323
+ "attribute": "small",
324
+ "reflects": true
325
+ },
326
+ {
327
+ "kind": "field",
328
+ "name": "loading",
329
+ "type": {
330
+ "text": "boolean"
331
+ },
332
+ "attribute": "loading",
333
+ "reflects": true
334
+ },
335
+ {
336
+ "kind": "field",
337
+ "name": "href",
338
+ "type": {
339
+ "text": "string"
340
+ },
341
+ "attribute": "href",
342
+ "reflects": true
343
+ },
344
+ {
345
+ "kind": "field",
346
+ "name": "target",
347
+ "type": {
348
+ "text": "string"
349
+ },
350
+ "attribute": "target",
351
+ "reflects": true
352
+ },
353
+ {
354
+ "kind": "field",
355
+ "name": "rel",
356
+ "type": {
357
+ "text": "string"
358
+ },
359
+ "attribute": "rel",
360
+ "reflects": true
361
+ },
362
+ {
363
+ "kind": "field",
364
+ "name": "fullWidth",
365
+ "type": {
366
+ "text": "boolean"
367
+ },
368
+ "attribute": "full-width",
369
+ "reflects": true
370
+ },
371
+ {
372
+ "kind": "field",
373
+ "name": "buttonClass",
374
+ "type": {
375
+ "text": "string"
376
+ },
377
+ "attribute": "button-class",
378
+ "reflects": true
379
+ },
380
+ {
381
+ "kind": "field",
382
+ "name": "name",
383
+ "type": {
384
+ "text": "string"
385
+ },
386
+ "attribute": "name",
387
+ "reflects": true
388
+ },
389
+ {
390
+ "kind": "field",
391
+ "name": "value",
392
+ "type": {
393
+ "text": "string"
394
+ },
395
+ "attribute": "value",
396
+ "reflects": true
397
+ },
398
+ {
399
+ "kind": "field",
400
+ "name": "ariaValueTextLoading"
401
+ }
402
+ ],
403
+ "attributes": [
404
+ {
405
+ "name": "type",
406
+ "type": {
407
+ "text": "ButtonType"
408
+ },
409
+ "default": "'button'",
410
+ "fieldName": "type",
411
+ "parsedType": {
412
+ "text": "'button' | 'submit' | 'reset'"
413
+ }
414
+ },
415
+ {
416
+ "name": "autofocus",
417
+ "type": {
418
+ "text": "boolean"
419
+ },
420
+ "fieldName": "autofocus"
421
+ },
422
+ {
423
+ "name": "variant",
424
+ "type": {
425
+ "text": "ButtonVariant"
426
+ },
427
+ "default": "'secondary'",
428
+ "fieldName": "variant",
429
+ "parsedType": {
430
+ "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
431
+ }
432
+ },
433
+ {
434
+ "name": "quiet",
435
+ "type": {
436
+ "text": "boolean"
437
+ },
438
+ "fieldName": "quiet"
439
+ },
440
+ {
441
+ "name": "small",
442
+ "type": {
443
+ "text": "boolean"
444
+ },
445
+ "fieldName": "small"
446
+ },
447
+ {
448
+ "name": "loading",
449
+ "type": {
450
+ "text": "boolean"
451
+ },
452
+ "fieldName": "loading"
453
+ },
454
+ {
455
+ "name": "href",
456
+ "type": {
457
+ "text": "string"
458
+ },
459
+ "fieldName": "href"
460
+ },
461
+ {
462
+ "name": "target",
463
+ "type": {
464
+ "text": "string"
465
+ },
466
+ "fieldName": "target"
467
+ },
468
+ {
469
+ "name": "rel",
470
+ "type": {
471
+ "text": "string"
472
+ },
473
+ "fieldName": "rel"
474
+ },
475
+ {
476
+ "name": "full-width",
477
+ "type": {
478
+ "text": "boolean"
479
+ },
480
+ "fieldName": "fullWidth"
481
+ },
482
+ {
483
+ "name": "button-class",
484
+ "type": {
485
+ "text": "string"
486
+ },
487
+ "fieldName": "buttonClass"
488
+ },
489
+ {
490
+ "name": "name",
491
+ "type": {
492
+ "text": "string"
493
+ },
494
+ "fieldName": "name"
495
+ },
496
+ {
497
+ "name": "value",
498
+ "type": {
499
+ "text": "string"
500
+ },
501
+ "fieldName": "value"
502
+ }
503
+ ],
504
+ "mixins": [
505
+ {
506
+ "name": "FormControlMixin",
507
+ "package": "@open-wc/form-control"
508
+ }
509
+ ],
510
+ "superclass": {
511
+ "name": "LitElement",
512
+ "package": "lit"
513
+ },
514
+ "tagName": "w-button",
515
+ "customElement": true,
516
+ "modulePath": "packages/button/index.ts",
517
+ "definitionPath": "packages/button/index.ts"
518
+ }
519
+ ],
520
+ "exports": [
521
+ {
522
+ "kind": "js",
523
+ "name": "ccButton",
524
+ "declaration": {
525
+ "name": "ccButton",
526
+ "module": "packages/button/index.ts"
527
+ }
528
+ },
529
+ {
530
+ "kind": "custom-element-definition",
531
+ "name": "w-button",
532
+ "declaration": {
533
+ "name": "WarpButton",
534
+ "module": "packages/button/index.ts"
535
+ }
536
+ },
537
+ {
538
+ "kind": "js",
539
+ "name": "WarpButton",
540
+ "declaration": {
541
+ "name": "WarpButton",
542
+ "module": "packages/button/index.ts"
543
+ }
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "kind": "javascript-module",
549
+ "path": "packages/attention/index.ts",
550
+ "declarations": [
551
+ {
552
+ "kind": "variable",
553
+ "name": "ccAttention",
554
+ "type": {
555
+ "text": "object"
556
+ },
557
+ "default": "{ base: 'border-2 relative flex items-center', tooltip: 's-bg-inverted border-[--w-s-color-background-inverted] shadow-m s-text-inverted-static rounded-4 py-6 px-8', callout: 'bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8', highlight: 'bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8 drop-shadow-m translate-z-0', popover: 'bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300] s-text rounded-8 p-16 drop-shadow-m translate-z-0', arrowBase: 'absolute h-[14px] w-[14px] border-2 border-b-0 border-r-0 rounded-tl-4 transform', arrowDirectionLeftStart: '-left-[8px]', arrowDirectionLeft: '-left-[8px]', arrowDirectionLeftEnd: '-left-[8px]', arrowDirectionRightStart: '-right-[8px]', arrowDirectionRight: '-right-[8px]', arrowDirectionRightEnd: '-right-[8px]', arrowDirectionBottomStart: '-bottom-[8px]', arrowDirectionBottom: '-bottom-[8px]', arrowDirectionBottomEnd: '-bottom-[8px]', arrowDirectionTopStart: '-top-[8px]', arrowDirectionTop: '-top-[8px]', arrowDirectionTopEnd: '-top-[8px]', arrowTooltip: 's-bg-inverted border-[--w-s-color-background-inverted]', arrowCallout: 'bg-[--w-color-callout-background] border-[--w-color-callout-border]', arrowPopover: 'bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300]', arrowHighlight: 'bg-[--w-color-callout-background] border-[--w-color-callout-border]', content: 'last-child:mb-0', notCallout: 'absolute z-50', }"
558
+ },
559
+ {
560
+ "kind": "class",
561
+ "description": "",
562
+ "name": "WarpAttention",
563
+ "members": [
564
+ {
565
+ "kind": "field",
566
+ "name": "show",
567
+ "type": {
568
+ "text": "boolean"
569
+ },
570
+ "default": "false",
571
+ "attribute": "show",
572
+ "reflects": true
573
+ },
574
+ {
575
+ "kind": "field",
576
+ "name": "placement",
577
+ "type": {
578
+ "text": "Directions"
579
+ },
580
+ "default": "'bottom'",
581
+ "attribute": "placement",
582
+ "reflects": true
583
+ },
584
+ {
585
+ "kind": "field",
586
+ "name": "tooltip",
587
+ "type": {
588
+ "text": "boolean"
589
+ },
590
+ "default": "false",
591
+ "attribute": "tooltip",
592
+ "reflects": true
593
+ },
594
+ {
595
+ "kind": "field",
596
+ "name": "callout",
597
+ "type": {
598
+ "text": "boolean"
599
+ },
600
+ "default": "false",
601
+ "attribute": "callout",
602
+ "reflects": true
603
+ },
604
+ {
605
+ "kind": "field",
606
+ "name": "popover",
607
+ "type": {
608
+ "text": "boolean"
609
+ },
610
+ "default": "false",
611
+ "attribute": "popover",
612
+ "reflects": true
613
+ },
614
+ {
615
+ "kind": "field",
616
+ "name": "highlight",
617
+ "type": {
618
+ "text": "boolean"
619
+ },
620
+ "default": "false",
621
+ "attribute": "highlight",
622
+ "reflects": true
623
+ },
624
+ {
625
+ "kind": "field",
626
+ "name": "canClose",
627
+ "type": {
628
+ "text": "boolean"
629
+ },
630
+ "default": "false",
631
+ "attribute": "can-close",
632
+ "reflects": true
633
+ },
634
+ {
635
+ "kind": "field",
636
+ "name": "noArrow",
637
+ "type": {
638
+ "text": "boolean"
639
+ },
640
+ "default": "false",
641
+ "attribute": "no-arrow",
642
+ "reflects": true
643
+ },
644
+ {
645
+ "kind": "field",
646
+ "name": "distance",
647
+ "type": {
648
+ "text": "number"
649
+ },
650
+ "default": "8",
651
+ "attribute": "distance",
652
+ "reflects": true
653
+ },
654
+ {
655
+ "kind": "field",
656
+ "name": "skidding",
657
+ "type": {
658
+ "text": "number"
659
+ },
660
+ "default": "0",
661
+ "attribute": "skidding",
662
+ "reflects": true
663
+ },
664
+ {
665
+ "kind": "field",
666
+ "name": "flip",
667
+ "type": {
668
+ "text": "boolean"
669
+ },
670
+ "default": "false",
671
+ "attribute": "flip",
672
+ "reflects": true
673
+ },
674
+ {
675
+ "kind": "field",
676
+ "name": "crossAxis",
677
+ "type": {
678
+ "text": "boolean"
679
+ },
680
+ "default": "false",
681
+ "attribute": "cross-axis",
682
+ "reflects": true
683
+ },
684
+ {
685
+ "kind": "field",
686
+ "name": "fallbackPlacements",
687
+ "type": {
688
+ "text": "Directions[]"
689
+ },
690
+ "attribute": "fallback-placements",
691
+ "reflects": true
692
+ },
693
+ {
694
+ "kind": "method",
695
+ "name": "handleDone",
696
+ "type": {
697
+ "text": "handleDone() => void"
698
+ }
699
+ },
700
+ {
701
+ "kind": "method",
702
+ "name": "pointingAtDirection",
703
+ "type": {
704
+ "text": "pointingAtDirection() => void"
705
+ }
706
+ },
707
+ {
708
+ "kind": "method",
709
+ "name": "activeAttentionType",
710
+ "type": {
711
+ "text": "activeAttentionType() => void"
712
+ }
713
+ },
714
+ {
715
+ "kind": "method",
716
+ "name": "defaultAriaLabel",
717
+ "type": {
718
+ "text": "defaultAriaLabel() => void"
719
+ }
720
+ },
721
+ {
722
+ "kind": "method",
723
+ "name": "setAriaLabels",
724
+ "type": {
725
+ "text": "setAriaLabels() => void"
726
+ }
727
+ },
728
+ {
729
+ "kind": "method",
730
+ "name": "close",
731
+ "type": {
732
+ "text": "close() => void"
733
+ }
734
+ },
735
+ {
736
+ "kind": "method",
737
+ "name": "keypressed",
738
+ "parameters": [
739
+ {
740
+ "name": "e",
741
+ "type": {
742
+ "text": "KeyboardEvent"
743
+ }
744
+ }
745
+ ],
746
+ "type": {
747
+ "text": "keypressed(e: KeyboardEvent) => void"
748
+ }
749
+ },
750
+ {
751
+ "kind": "field",
752
+ "name": "_initialPlacement"
753
+ },
754
+ {
755
+ "kind": "field",
756
+ "name": "_actualDirection"
757
+ }
758
+ ],
759
+ "attributes": [
760
+ {
761
+ "name": "show",
762
+ "type": {
763
+ "text": "boolean"
764
+ },
765
+ "default": "false",
766
+ "fieldName": "show"
767
+ },
768
+ {
769
+ "name": "placement",
770
+ "type": {
771
+ "text": "Directions"
772
+ },
773
+ "default": "'bottom'",
774
+ "fieldName": "placement"
775
+ },
776
+ {
777
+ "name": "tooltip",
778
+ "type": {
779
+ "text": "boolean"
780
+ },
781
+ "default": "false",
782
+ "fieldName": "tooltip"
783
+ },
784
+ {
785
+ "name": "callout",
786
+ "type": {
787
+ "text": "boolean"
788
+ },
789
+ "default": "false",
790
+ "fieldName": "callout"
791
+ },
792
+ {
793
+ "name": "popover",
794
+ "type": {
795
+ "text": "boolean"
796
+ },
797
+ "default": "false",
798
+ "fieldName": "popover"
799
+ },
800
+ {
801
+ "name": "highlight",
802
+ "type": {
803
+ "text": "boolean"
804
+ },
805
+ "default": "false",
806
+ "fieldName": "highlight"
807
+ },
808
+ {
809
+ "name": "can-close",
810
+ "type": {
811
+ "text": "boolean"
812
+ },
813
+ "default": "false",
814
+ "fieldName": "canClose"
815
+ },
816
+ {
817
+ "name": "no-arrow",
818
+ "type": {
819
+ "text": "boolean"
820
+ },
821
+ "default": "false",
822
+ "fieldName": "noArrow"
823
+ },
824
+ {
825
+ "name": "distance",
826
+ "type": {
827
+ "text": "number"
828
+ },
829
+ "default": "8",
830
+ "fieldName": "distance"
831
+ },
832
+ {
833
+ "name": "skidding",
834
+ "type": {
835
+ "text": "number"
836
+ },
837
+ "default": "0",
838
+ "fieldName": "skidding"
839
+ },
840
+ {
841
+ "name": "flip",
842
+ "type": {
843
+ "text": "boolean"
844
+ },
845
+ "default": "false",
846
+ "fieldName": "flip"
847
+ },
848
+ {
849
+ "name": "cross-axis",
850
+ "type": {
851
+ "text": "boolean"
852
+ },
853
+ "default": "false",
854
+ "fieldName": "crossAxis"
855
+ },
856
+ {
857
+ "name": "fallback-placements",
858
+ "type": {
859
+ "text": "Directions[]"
860
+ },
861
+ "fieldName": "fallbackPlacements"
862
+ }
863
+ ],
864
+ "superclass": {
865
+ "name": "LitElement",
866
+ "package": "lit"
867
+ },
868
+ "tagName": "w-attention",
869
+ "customElement": true,
870
+ "modulePath": "packages/attention/index.ts",
871
+ "definitionPath": "packages/attention/index.ts"
872
+ }
873
+ ],
874
+ "exports": [
875
+ {
876
+ "kind": "js",
877
+ "name": "ccAttention",
878
+ "declaration": {
879
+ "name": "ccAttention",
880
+ "module": "packages/attention/index.ts"
881
+ }
882
+ },
883
+ {
884
+ "kind": "custom-element-definition",
885
+ "name": "w-attention",
886
+ "declaration": {
887
+ "name": "WarpAttention",
888
+ "module": "packages/attention/index.ts"
889
+ }
890
+ },
891
+ {
892
+ "kind": "js",
893
+ "name": "WarpAttention",
894
+ "declaration": {
895
+ "name": "WarpAttention",
896
+ "module": "packages/attention/index.ts"
897
+ }
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "kind": "javascript-module",
903
+ "path": "packages/badge/index.ts",
904
+ "declarations": [
905
+ {
906
+ "kind": "class",
907
+ "description": "`w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)",
908
+ "name": "WarpBadge",
909
+ "members": [
910
+ {
911
+ "kind": "field",
912
+ "name": "variant",
913
+ "type": {
914
+ "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
915
+ },
916
+ "default": "'neutral'",
917
+ "attribute": "variant",
918
+ "reflects": true
919
+ },
920
+ {
921
+ "kind": "field",
922
+ "name": "position",
923
+ "type": {
924
+ "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
925
+ },
926
+ "attribute": "position",
927
+ "reflects": true
928
+ }
929
+ ],
930
+ "attributes": [
931
+ {
932
+ "name": "variant",
933
+ "type": {
934
+ "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
935
+ },
936
+ "default": "'neutral'",
937
+ "fieldName": "variant"
938
+ },
939
+ {
940
+ "name": "position",
941
+ "type": {
942
+ "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
943
+ },
944
+ "fieldName": "position"
945
+ }
946
+ ],
947
+ "superclass": {
948
+ "name": "LitElement",
949
+ "package": "lit"
950
+ },
951
+ "tagName": "w-badge",
952
+ "customElement": true,
953
+ "modulePath": "packages/badge/index.ts",
954
+ "definitionPath": "packages/badge/index.ts"
955
+ }
956
+ ],
957
+ "exports": [
958
+ {
959
+ "kind": "custom-element-definition",
960
+ "name": "w-badge",
961
+ "declaration": {
962
+ "name": "WarpBadge",
963
+ "module": "packages/badge/index.ts"
964
+ }
965
+ },
966
+ {
967
+ "kind": "js",
968
+ "name": "WarpBadge",
969
+ "declaration": {
970
+ "name": "WarpBadge",
971
+ "module": "packages/badge/index.ts"
972
+ }
973
+ }
974
+ ]
975
+ },
976
+ {
977
+ "kind": "javascript-module",
978
+ "path": "packages/box/index.ts",
979
+ "declarations": [
980
+ {
981
+ "kind": "class",
982
+ "description": "Box is a layout component used for separating content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)",
983
+ "name": "WarpBox",
984
+ "members": [
985
+ {
986
+ "kind": "field",
987
+ "name": "bleed",
988
+ "type": {
989
+ "text": "boolean"
990
+ },
991
+ "attribute": "bleed",
992
+ "reflects": true
993
+ },
994
+ {
995
+ "kind": "field",
996
+ "name": "bordered",
997
+ "type": {
998
+ "text": "boolean"
999
+ },
1000
+ "attribute": "bordered",
1001
+ "reflects": true
1002
+ },
1003
+ {
1004
+ "kind": "field",
1005
+ "name": "info",
1006
+ "type": {
1007
+ "text": "boolean"
1008
+ },
1009
+ "attribute": "info",
1010
+ "reflects": true
1011
+ },
1012
+ {
1013
+ "kind": "field",
1014
+ "name": "neutral",
1015
+ "type": {
1016
+ "text": "boolean"
1017
+ },
1018
+ "attribute": "neutral",
1019
+ "reflects": true
1020
+ },
1021
+ {
1022
+ "kind": "field",
1023
+ "name": "role",
1024
+ "type": {
1025
+ "text": "string"
1026
+ },
1027
+ "attribute": "role",
1028
+ "reflects": true
1029
+ }
1030
+ ],
1031
+ "attributes": [
1032
+ {
1033
+ "name": "bleed",
1034
+ "type": {
1035
+ "text": "boolean"
1036
+ },
1037
+ "fieldName": "bleed"
1038
+ },
1039
+ {
1040
+ "name": "bordered",
1041
+ "type": {
1042
+ "text": "boolean"
1043
+ },
1044
+ "fieldName": "bordered"
1045
+ },
1046
+ {
1047
+ "name": "info",
1048
+ "type": {
1049
+ "text": "boolean"
1050
+ },
1051
+ "fieldName": "info"
1052
+ },
1053
+ {
1054
+ "name": "neutral",
1055
+ "type": {
1056
+ "text": "boolean"
1057
+ },
1058
+ "fieldName": "neutral"
1059
+ },
1060
+ {
1061
+ "name": "role",
1062
+ "type": {
1063
+ "text": "string"
1064
+ },
1065
+ "fieldName": "role"
1066
+ }
1067
+ ],
1068
+ "superclass": {
1069
+ "name": "LitElement",
1070
+ "package": "lit"
1071
+ },
1072
+ "tagName": "w-box",
1073
+ "customElement": true,
1074
+ "modulePath": "packages/box/index.ts",
1075
+ "definitionPath": "packages/box/index.ts"
1076
+ }
1077
+ ],
1078
+ "exports": [
1079
+ {
1080
+ "kind": "custom-element-definition",
1081
+ "name": "w-box",
1082
+ "declaration": {
1083
+ "name": "WarpBox",
1084
+ "module": "packages/box/index.ts"
1085
+ }
1086
+ },
1087
+ {
1088
+ "kind": "js",
1089
+ "name": "WarpBox",
1090
+ "declaration": {
1091
+ "name": "WarpBox",
1092
+ "module": "packages/box/index.ts"
1093
+ }
1094
+ }
1095
+ ]
1096
+ },
1097
+ {
1098
+ "kind": "javascript-module",
1099
+ "path": "packages/breadcrumbs/index.ts",
1100
+ "declarations": [
1101
+ {
1102
+ "kind": "variable",
1103
+ "name": "ccBreadcrumbs",
1104
+ "type": {
1105
+ "text": "object"
1106
+ },
1107
+ "default": "{ wrapper: 'flex space-x-8', text: 's-text', link: 's-text-link', separator: 'select-none s-icon', a11y: 'sr-only', }"
1108
+ },
1109
+ {
1110
+ "kind": "class",
1111
+ "description": "Breadcrumbs show the navigation structure for the current location.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)",
1112
+ "name": "WarpBreadcrumbs",
1113
+ "members": [
1114
+ {
1115
+ "kind": "field",
1116
+ "name": "ariaLabel",
1117
+ "type": {
1118
+ "text": "string"
1119
+ },
1120
+ "attribute": "aria-label"
1121
+ }
1122
+ ],
1123
+ "attributes": [
1124
+ {
1125
+ "name": "aria-label",
1126
+ "type": {
1127
+ "text": "string"
1128
+ },
1129
+ "fieldName": "ariaLabel"
1130
+ }
1131
+ ],
1132
+ "superclass": {
1133
+ "name": "LitElement",
1134
+ "package": "lit"
1135
+ },
1136
+ "tagName": "w-breadcrumbs",
1137
+ "customElement": true,
1138
+ "modulePath": "packages/breadcrumbs/index.ts",
1139
+ "definitionPath": "packages/breadcrumbs/index.ts"
1140
+ }
1141
+ ],
1142
+ "exports": [
1143
+ {
1144
+ "kind": "js",
1145
+ "name": "ccBreadcrumbs",
1146
+ "declaration": {
1147
+ "name": "ccBreadcrumbs",
1148
+ "module": "packages/breadcrumbs/index.ts"
1149
+ }
1150
+ },
1151
+ {
1152
+ "kind": "custom-element-definition",
1153
+ "name": "w-breadcrumbs",
1154
+ "declaration": {
1155
+ "name": "WarpBreadcrumbs",
1156
+ "module": "packages/breadcrumbs/index.ts"
1157
+ }
1158
+ },
1159
+ {
1160
+ "kind": "js",
1161
+ "name": "WarpBreadcrumbs",
1162
+ "declaration": {
1163
+ "name": "WarpBreadcrumbs",
1164
+ "module": "packages/breadcrumbs/index.ts"
1165
+ }
1166
+ }
1167
+ ]
1168
+ },
1169
+ {
1170
+ "kind": "javascript-module",
1171
+ "path": "packages/card/index.ts",
1172
+ "declarations": [
1173
+ {
1174
+ "kind": "variable",
1175
+ "name": "ccCard",
1176
+ "type": {
1177
+ "text": "object"
1178
+ },
1179
+ "default": "{ base: 'cursor-pointer overflow-hidden relative transition-all', shadow: 'group rounded-8 s-surface-elevated-200 hover:s-surface-elevated-200-hover active:s-surface-elevated-200-active', selected: '!s-bg-selected !hover:s-bg-selected-hover !active:s-bg-selected-active', outline: 'absolute border-2 rounded-8 inset-0 transition-all', outlineUnselected: 'border-transparent group-active:s-border-active', outlineSelected: 's-border-selected group-hover:s-border-selected-hover group-active:s-border-selected-active', flat: 'border-2 rounded-4', flatUnselected: 's-bg hover:s-bg-hover active:s-bg-active s-border hover:s-border-hover active:s-border-active', flatSelected: 's-bg-selected hover:s-bg-selected-hover active:s-bg-selected-active s-border-selected hover:s-border-selected-hover active:s-border-selected-active', a11y: 'sr-only', }"
1180
+ },
1181
+ {
1182
+ "kind": "class",
1183
+ "description": "Card is a layout component used for separating content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)",
1184
+ "name": "WarpCard",
1185
+ "members": [
1186
+ {
1187
+ "kind": "field",
1188
+ "name": "selected",
1189
+ "type": {
1190
+ "text": "boolean"
1191
+ },
1192
+ "default": "false",
1193
+ "attribute": "selected",
1194
+ "reflects": true
1195
+ },
1196
+ {
1197
+ "kind": "field",
1198
+ "name": "flat",
1199
+ "type": {
1200
+ "text": "boolean"
1201
+ },
1202
+ "default": "false",
1203
+ "attribute": "flat"
1204
+ },
1205
+ {
1206
+ "kind": "field",
1207
+ "name": "clickable",
1208
+ "type": {
1209
+ "text": "boolean"
1210
+ },
1211
+ "default": "false",
1212
+ "attribute": "clickable"
1213
+ },
1214
+ {
1215
+ "kind": "method",
1216
+ "name": "keypressed",
1217
+ "parameters": [
1218
+ {
1219
+ "name": "e",
1220
+ "type": {
1221
+ "text": "KeyboardEvent"
1222
+ }
1223
+ }
1224
+ ],
1225
+ "type": {
1226
+ "text": "keypressed(e: KeyboardEvent) => void"
1227
+ }
1228
+ },
1229
+ {
1230
+ "kind": "field",
1231
+ "name": "buttonText"
1232
+ }
1233
+ ],
1234
+ "attributes": [
1235
+ {
1236
+ "name": "selected",
1237
+ "type": {
1238
+ "text": "boolean"
1239
+ },
1240
+ "default": "false",
1241
+ "fieldName": "selected"
1242
+ },
1243
+ {
1244
+ "name": "flat",
1245
+ "type": {
1246
+ "text": "boolean"
1247
+ },
1248
+ "default": "false",
1249
+ "fieldName": "flat"
1250
+ },
1251
+ {
1252
+ "name": "clickable",
1253
+ "type": {
1254
+ "text": "boolean"
1255
+ },
1256
+ "default": "false",
1257
+ "fieldName": "clickable"
1258
+ }
1259
+ ],
1260
+ "superclass": {
1261
+ "name": "LitElement",
1262
+ "package": "lit"
1263
+ },
1264
+ "tagName": "w-card",
1265
+ "customElement": true,
1266
+ "modulePath": "packages/card/index.ts",
1267
+ "definitionPath": "packages/card/index.ts"
1268
+ }
1269
+ ],
1270
+ "exports": [
1271
+ {
1272
+ "kind": "js",
1273
+ "name": "ccCard",
1274
+ "declaration": {
1275
+ "name": "ccCard",
1276
+ "module": "packages/card/index.ts"
1277
+ }
1278
+ },
1279
+ {
1280
+ "kind": "custom-element-definition",
1281
+ "name": "w-card",
1282
+ "declaration": {
1283
+ "name": "WarpCard",
1284
+ "module": "packages/card/index.ts"
1285
+ }
1286
+ },
1287
+ {
1288
+ "kind": "js",
1289
+ "name": "WarpCard",
1290
+ "declaration": {
1291
+ "name": "WarpCard",
1292
+ "module": "packages/card/index.ts"
1293
+ }
1294
+ }
1295
+ ]
1296
+ },
1297
+ {
1298
+ "kind": "javascript-module",
1299
+ "path": "packages/expandable/index.ts",
1300
+ "declarations": [
1301
+ {
1302
+ "kind": "variable",
1303
+ "name": "ccBox",
1304
+ "type": {
1305
+ "text": "object"
1306
+ },
1307
+ "default": "{ base: 'group block relative break-words last-child:mb-0 px-16 rounded-8', // Relative here enables w-clickable bleed: '-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8', // We target L and R to override the default rounded-8 info: 's-bg-info-subtle', neutral: 's-surface-sunken', bordered: 'border-2 s-border s-bg', }"
1308
+ },
1309
+ {
1310
+ "kind": "variable",
1311
+ "name": "ccExpandable",
1312
+ "type": {
1313
+ "text": "object"
1314
+ },
1315
+ "default": "{ wrapper: 'will-change-height s-text py-16', box: 's-bg-subtle hover:s-bg-subtle-hover active:s-bg-subtle-active py-0 px-0 group block relative break-words last-child:mb-0 rounded-8', bleed: '-mx-16 rounded-l-0 rounded-r-0 sm:mx-0 sm:rounded-8', chevron: 'inline-block align-middle s-icon', chevronNonBox: 'ml-8', chevronTransform: 'transform transition-transform transform-gpu ease-in-out', chevronExpand: '-rotate-180', chevronCollapse: 'rotate-180', // These are web component specific classes, using the ::part-selector: elementsChevronDownTransform: 'part-[w-icon-chevron-down-16-part]:transform part-[w-icon-chevron-down-16-part]:transition-transform part-[w-icon-chevron-down-16-part]:transform-gpu part-[w-icon-chevron-down-16-part]:ease-in-out', elementsChevronUpTransform: 'part-[w-icon-chevron-up-16-part]:transform part-[w-icon-chevron-up-16-part]:transition-transform part-[w-icon-chevron-up-16-part]:transform-gpu part-[w-icon-chevron-up-16-part]:ease-in-out', elementsChevronExpand: 'part-[w-icon-chevron-down-16-part]:-rotate-180', elementsChevronCollapse: 'part-[w-icon-chevron-up-16-part]:rotate-180', expansion: 'overflow-hidden', expansionNotExpanded: 'h-0 invisible', button: 'focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 hover:underline focus-visible:underline', buttonBox: 'w-full text-left relative inline-flex items-center justify-between group relative break-words last-child:mb-0 px-16 rounded-8', contentWithTitle: 'pt-0', title: 'flex w-full justify-between items-center', titleType: 't4', }"
1316
+ },
1317
+ {
1318
+ "kind": "class",
1319
+ "description": "Expandable is a layout component used for creating expandable content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)",
1320
+ "name": "WarpExpandable",
1321
+ "slots": [
1322
+ {
1323
+ "description": "Alternative to the `title` attribute should you need to provide some additional markup.",
1324
+ "name": "title"
1325
+ }
1326
+ ],
1327
+ "members": [
1328
+ {
1329
+ "kind": "field",
1330
+ "name": "expanded",
1331
+ "type": {
1332
+ "text": "boolean"
1333
+ },
1334
+ "default": "false",
1335
+ "attribute": "expanded",
1336
+ "reflects": true
1337
+ },
1338
+ {
1339
+ "kind": "field",
1340
+ "name": "title",
1341
+ "type": {
1342
+ "text": "string"
1343
+ },
1344
+ "attribute": "title"
1345
+ },
1346
+ {
1347
+ "kind": "field",
1348
+ "name": "box",
1349
+ "type": {
1350
+ "text": "boolean"
1351
+ },
1352
+ "default": "false",
1353
+ "attribute": "box"
1354
+ },
1355
+ {
1356
+ "kind": "field",
1357
+ "name": "bleed",
1358
+ "type": {
1359
+ "text": "boolean"
1360
+ },
1361
+ "default": "false",
1362
+ "attribute": "bleed"
1363
+ },
1364
+ {
1365
+ "kind": "field",
1366
+ "name": "buttonClass",
1367
+ "type": {
1368
+ "text": "string"
1369
+ },
1370
+ "attribute": "button-class"
1371
+ },
1372
+ {
1373
+ "kind": "field",
1374
+ "name": "contentClass",
1375
+ "type": {
1376
+ "text": "string"
1377
+ },
1378
+ "attribute": "content-class"
1379
+ },
1380
+ {
1381
+ "kind": "field",
1382
+ "name": "noChevron",
1383
+ "type": {
1384
+ "text": "boolean"
1385
+ },
1386
+ "default": "false",
1387
+ "attribute": "no-chevron"
1388
+ },
1389
+ {
1390
+ "kind": "field",
1391
+ "name": "animated",
1392
+ "type": {
1393
+ "text": "boolean"
1394
+ },
1395
+ "default": "false",
1396
+ "attribute": "animated"
1397
+ },
1398
+ {
1399
+ "kind": "field",
1400
+ "name": "headingLevel",
1401
+ "type": {
1402
+ "text": "number"
1403
+ },
1404
+ "attribute": "heading-level"
1405
+ },
1406
+ {
1407
+ "kind": "field",
1408
+ "name": "_hasTitle",
1409
+ "type": {
1410
+ "text": "boolean"
1411
+ },
1412
+ "default": "true",
1413
+ "attribute": "_hasTitle"
1414
+ },
1415
+ {
1416
+ "kind": "field",
1417
+ "name": "_showChevronUp",
1418
+ "type": {
1419
+ "text": "boolean"
1420
+ },
1421
+ "default": "false",
1422
+ "attribute": "_showChevronUp"
1423
+ },
1424
+ {
1425
+ "kind": "field",
1426
+ "name": "#wrapperClasses",
1427
+ "privacy": "private",
1428
+ "readonly": true
1429
+ },
1430
+ {
1431
+ "kind": "field",
1432
+ "name": "#buttonClasses",
1433
+ "privacy": "private",
1434
+ "readonly": true
1435
+ },
1436
+ {
1437
+ "kind": "field",
1438
+ "name": "#chevronClasses",
1439
+ "privacy": "private",
1440
+ "readonly": true
1441
+ },
1442
+ {
1443
+ "kind": "field",
1444
+ "name": "#chevronIcon",
1445
+ "privacy": "private",
1446
+ "readonly": true
1447
+ },
1448
+ {
1449
+ "kind": "field",
1450
+ "name": "#contentClasses",
1451
+ "privacy": "private",
1452
+ "readonly": true
1453
+ },
1454
+ {
1455
+ "kind": "field",
1456
+ "name": "#expansionClasses",
1457
+ "privacy": "private",
1458
+ "readonly": true
1459
+ }
1460
+ ],
1461
+ "attributes": [
1462
+ {
1463
+ "name": "expanded",
1464
+ "type": {
1465
+ "text": "boolean"
1466
+ },
1467
+ "default": "false",
1468
+ "fieldName": "expanded"
1469
+ },
1470
+ {
1471
+ "name": "title",
1472
+ "type": {
1473
+ "text": "string"
1474
+ },
1475
+ "fieldName": "title"
1476
+ },
1477
+ {
1478
+ "name": "box",
1479
+ "type": {
1480
+ "text": "boolean"
1481
+ },
1482
+ "default": "false",
1483
+ "fieldName": "box"
1484
+ },
1485
+ {
1486
+ "name": "bleed",
1487
+ "type": {
1488
+ "text": "boolean"
1489
+ },
1490
+ "default": "false",
1491
+ "fieldName": "bleed"
1492
+ },
1493
+ {
1494
+ "name": "button-class",
1495
+ "type": {
1496
+ "text": "string"
1497
+ },
1498
+ "fieldName": "buttonClass"
1499
+ },
1500
+ {
1501
+ "name": "content-class",
1502
+ "type": {
1503
+ "text": "string"
1504
+ },
1505
+ "fieldName": "contentClass"
1506
+ },
1507
+ {
1508
+ "name": "no-chevron",
1509
+ "type": {
1510
+ "text": "boolean"
1511
+ },
1512
+ "default": "false",
1513
+ "fieldName": "noChevron"
1514
+ },
1515
+ {
1516
+ "name": "animated",
1517
+ "type": {
1518
+ "text": "boolean"
1519
+ },
1520
+ "default": "false",
1521
+ "fieldName": "animated"
1522
+ },
1523
+ {
1524
+ "name": "heading-level",
1525
+ "type": {
1526
+ "text": "number"
1527
+ },
1528
+ "fieldName": "headingLevel"
1529
+ },
1530
+ {
1531
+ "name": "_hasTitle",
1532
+ "type": {
1533
+ "text": "boolean"
1534
+ },
1535
+ "default": "true",
1536
+ "fieldName": "_hasTitle"
1537
+ },
1538
+ {
1539
+ "name": "_showChevronUp",
1540
+ "type": {
1541
+ "text": "boolean"
1542
+ },
1543
+ "default": "false",
1544
+ "fieldName": "_showChevronUp"
1545
+ }
1546
+ ],
1547
+ "superclass": {
1548
+ "name": "LitElement",
1549
+ "package": "lit"
1550
+ },
1551
+ "tagName": "w-expandable",
1552
+ "customElement": true,
1553
+ "modulePath": "packages/expandable/index.ts",
1554
+ "definitionPath": "packages/expandable/index.ts"
1555
+ }
1556
+ ],
1557
+ "exports": [
1558
+ {
1559
+ "kind": "js",
1560
+ "name": "ccBox",
1561
+ "declaration": {
1562
+ "name": "ccBox",
1563
+ "module": "packages/expandable/index.ts"
1564
+ }
1565
+ },
1566
+ {
1567
+ "kind": "js",
1568
+ "name": "ccExpandable",
1569
+ "declaration": {
1570
+ "name": "ccExpandable",
1571
+ "module": "packages/expandable/index.ts"
1572
+ }
1573
+ },
1574
+ {
1575
+ "kind": "custom-element-definition",
1576
+ "name": "w-expandable",
1577
+ "declaration": {
1578
+ "name": "WarpExpandable",
1579
+ "module": "packages/expandable/index.ts"
1580
+ }
1581
+ },
1582
+ {
1583
+ "kind": "js",
1584
+ "name": "WarpExpandable",
1585
+ "declaration": {
1586
+ "name": "WarpExpandable",
1587
+ "module": "packages/expandable/index.ts"
1588
+ }
1589
+ }
1590
+ ]
1591
+ },
1592
+ {
1593
+ "kind": "javascript-module",
1594
+ "path": "packages/pill/index.ts",
1595
+ "declarations": [
1596
+ {
1597
+ "kind": "variable",
1598
+ "name": "pillStyles",
1599
+ "type": {
1600
+ "text": "object"
1601
+ },
1602
+ "default": "{ wrapper: 'flex items-center', button: 'inline-flex items-center focusable text-xs transition-all', suggestion: 'bg-[--w-color-pill-suggestion-background] hover:bg-[--w-color-pill-suggestion-background-hover] active:bg-[--w-color-pill-suggestion-background-active] s-text font-bold', filter: 's-bg-primary hover:s-bg-primary-hover active:s-bg-primary-active s-text-inverted', label: 'pl-12 py-8 rounded-l-full', labelWithoutClose: 'pr-12 rounded-r-full', labelWithClose: 'pr-2', close: 'pr-12 pl-4 py-8 rounded-r-full', closeIcon: 'h-16', a11y: 'sr-only', }"
1603
+ },
1604
+ {
1605
+ "kind": "class",
1606
+ "description": "Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)",
1607
+ "name": "WarpPill",
1608
+ "members": [
1609
+ {
1610
+ "kind": "field",
1611
+ "name": "canClose",
1612
+ "type": {
1613
+ "text": "boolean"
1614
+ },
1615
+ "default": "false",
1616
+ "attribute": "can-close"
1617
+ },
1618
+ {
1619
+ "kind": "field",
1620
+ "name": "suggestion",
1621
+ "type": {
1622
+ "text": "boolean"
1623
+ },
1624
+ "default": "false",
1625
+ "attribute": "suggestion"
1626
+ },
1627
+ {
1628
+ "kind": "field",
1629
+ "name": "openSrLabel",
1630
+ "type": {
1631
+ "text": "string"
1632
+ },
1633
+ "deprecated": "Used \"open-arial-label\" instead.",
1634
+ "attribute": "open-sr-label"
1635
+ },
1636
+ {
1637
+ "kind": "field",
1638
+ "name": "openAriaLabel",
1639
+ "type": {
1640
+ "text": "string"
1641
+ },
1642
+ "attribute": "open-aria-label"
1643
+ },
1644
+ {
1645
+ "kind": "field",
1646
+ "name": "closeSrLabel",
1647
+ "type": {
1648
+ "text": "string"
1649
+ },
1650
+ "deprecated": "Used \"close-arial-label\" instead.",
1651
+ "attribute": "close-sr-label"
1652
+ },
1653
+ {
1654
+ "kind": "field",
1655
+ "name": "closeAriaLabel",
1656
+ "type": {
1657
+ "text": "string"
1658
+ },
1659
+ "attribute": "close-aria-label"
1660
+ },
1661
+ {
1662
+ "kind": "field",
1663
+ "name": "openFilterSrText"
1664
+ },
1665
+ {
1666
+ "kind": "field",
1667
+ "name": "removeFilterSrText"
1668
+ }
1669
+ ],
1670
+ "events": [
1671
+ {
1672
+ "name": "w-pill-click",
1673
+ "type": {
1674
+ "text": "CustomEvent"
1675
+ }
1676
+ },
1677
+ {
1678
+ "name": "w-pill-close",
1679
+ "type": {
1680
+ "text": "CustomEvent"
1681
+ }
1682
+ }
1683
+ ],
1684
+ "attributes": [
1685
+ {
1686
+ "name": "can-close",
1687
+ "type": {
1688
+ "text": "boolean"
1689
+ },
1690
+ "default": "false",
1691
+ "fieldName": "canClose"
1692
+ },
1693
+ {
1694
+ "name": "suggestion",
1695
+ "type": {
1696
+ "text": "boolean"
1697
+ },
1698
+ "default": "false",
1699
+ "fieldName": "suggestion"
1700
+ },
1701
+ {
1702
+ "name": "open-sr-label",
1703
+ "type": {
1704
+ "text": "string"
1705
+ },
1706
+ "deprecated": "Used \"open-arial-label\" instead.",
1707
+ "fieldName": "openSrLabel"
1708
+ },
1709
+ {
1710
+ "name": "open-aria-label",
1711
+ "type": {
1712
+ "text": "string"
1713
+ },
1714
+ "fieldName": "openAriaLabel"
1715
+ },
1716
+ {
1717
+ "name": "close-sr-label",
1718
+ "type": {
1719
+ "text": "string"
1720
+ },
1721
+ "deprecated": "Used \"close-arial-label\" instead.",
1722
+ "fieldName": "closeSrLabel"
1723
+ },
1724
+ {
1725
+ "name": "close-aria-label",
1726
+ "type": {
1727
+ "text": "string"
1728
+ },
1729
+ "fieldName": "closeAriaLabel"
1730
+ }
1731
+ ],
1732
+ "superclass": {
1733
+ "name": "LitElement",
1734
+ "package": "lit"
1735
+ },
1736
+ "tagName": "w-pill",
1737
+ "customElement": true,
1738
+ "modulePath": "packages/pill/index.ts",
1739
+ "definitionPath": "packages/pill/index.ts"
1740
+ }
1741
+ ],
1742
+ "exports": [
1743
+ {
1744
+ "kind": "js",
1745
+ "name": "pillStyles",
1746
+ "declaration": {
1747
+ "name": "pillStyles",
1748
+ "module": "packages/pill/index.ts"
1749
+ }
1750
+ },
1751
+ {
1752
+ "kind": "custom-element-definition",
1753
+ "name": "w-pill",
1754
+ "declaration": {
1755
+ "name": "WarpPill",
1756
+ "module": "packages/pill/index.ts"
1757
+ }
1758
+ },
1759
+ {
1760
+ "kind": "js",
1761
+ "name": "WarpPill",
1762
+ "declaration": {
1763
+ "name": "WarpPill",
1764
+ "module": "packages/pill/index.ts"
1765
+ }
1766
+ }
1767
+ ]
1768
+ },
1769
+ {
1770
+ "kind": "javascript-module",
1771
+ "path": "packages/select/index.ts",
1772
+ "declarations": [
1773
+ {
1774
+ "kind": "variable",
1775
+ "name": "ccSelect",
1776
+ "type": {
1777
+ "text": "object"
1778
+ },
1779
+ "default": "{ base: 'block text-m mb-0 py-12 pr-32 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] appearance-none cursor-pointer caret-current', default: 's-text s-bg pl-8 border-1 s-border-strong hover:s-border-strong-hover active:s-border-active', disabled: 's-text-disabled s-bg-disabled-subtle pl-8 border-1 s-border-disabled hover:s-border-disabled active:s-border-disabled pointer-events-none', invalid: 's-text s-bg pl-8 border-1 s-border-negative hover:s-border-negative-hover active:s-border-active outline-[--w-s-color-border-negative]!', readOnly: 's-text bg-transparent pl-0 border-0 pointer-events-none before:hidden', wrapper: 'relative', selectWrapper: 'relative before:block before:absolute before:right-0 before:bottom-0 before:w-32 before:h-full before:pointer-events-none ', chevron: 'block absolute top-[30%] right-0 bottom-0 w-32 h-full s-icon pointer-events-none cursor-pointer', chevronDisabled: 'opacity-25', }"
1780
+ },
1781
+ {
1782
+ "kind": "variable",
1783
+ "name": "ccLabel",
1784
+ "type": {
1785
+ "text": "object"
1786
+ },
1787
+ "default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
1788
+ },
1789
+ {
1790
+ "kind": "variable",
1791
+ "name": "ccHelpText",
1792
+ "type": {
1793
+ "text": "object"
1794
+ },
1795
+ "default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
1796
+ },
1797
+ {
1798
+ "kind": "class",
1799
+ "description": "A dropdown component for selecting a single value.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)",
1800
+ "name": "WarpSelect",
1801
+ "members": [
1802
+ {
1803
+ "kind": "field",
1804
+ "name": "autoFocus",
1805
+ "type": {
1806
+ "text": "boolean"
1807
+ },
1808
+ "description": "Whether the element should receive focus on render",
1809
+ "attribute": "auto-focus",
1810
+ "reflects": true
1811
+ },
1812
+ {
1813
+ "kind": "field",
1814
+ "name": "invalid",
1815
+ "type": {
1816
+ "text": "boolean"
1817
+ },
1818
+ "description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
1819
+ "attribute": "invalid",
1820
+ "reflects": true
1821
+ },
1822
+ {
1823
+ "kind": "field",
1824
+ "name": "always",
1825
+ "type": {
1826
+ "text": "boolean"
1827
+ },
1828
+ "description": "Whether to always show a hint",
1829
+ "attribute": "always",
1830
+ "reflects": true
1831
+ },
1832
+ {
1833
+ "kind": "field",
1834
+ "name": "hint",
1835
+ "type": {
1836
+ "text": "string"
1837
+ },
1838
+ "description": "The content displayed as the help text",
1839
+ "attribute": "hint",
1840
+ "reflects": true
1841
+ },
1842
+ {
1843
+ "kind": "field",
1844
+ "name": "label",
1845
+ "type": {
1846
+ "text": "string"
1847
+ },
1848
+ "description": "The content to disply as the label",
1849
+ "attribute": "label",
1850
+ "reflects": true
1851
+ },
1852
+ {
1853
+ "kind": "field",
1854
+ "name": "optional",
1855
+ "type": {
1856
+ "text": "boolean"
1857
+ },
1858
+ "description": "Whether to show optional text",
1859
+ "attribute": "optional",
1860
+ "reflects": true
1861
+ },
1862
+ {
1863
+ "kind": "field",
1864
+ "name": "disabled",
1865
+ "type": {
1866
+ "text": "boolean"
1867
+ },
1868
+ "description": "Renders the field in a disabled state.",
1869
+ "attribute": "disabled",
1870
+ "reflects": true
1871
+ },
1872
+ {
1873
+ "kind": "field",
1874
+ "name": "readOnly",
1875
+ "type": {
1876
+ "text": "boolean"
1877
+ },
1878
+ "description": "Renders the field in a readonly state.",
1879
+ "attribute": "read-only",
1880
+ "reflects": true
1881
+ },
1882
+ {
1883
+ "kind": "field",
1884
+ "name": "name",
1885
+ "type": {
1886
+ "text": "string"
1887
+ },
1888
+ "attribute": "name",
1889
+ "reflects": true
1890
+ },
1891
+ {
1892
+ "kind": "field",
1893
+ "name": "value",
1894
+ "type": {
1895
+ "text": "string"
1896
+ },
1897
+ "attribute": "value",
1898
+ "reflects": true
1899
+ },
1900
+ {
1901
+ "kind": "method",
1902
+ "name": "handleKeyDown",
1903
+ "parameters": [
1904
+ {
1905
+ "name": "event",
1906
+ "type": {
1907
+ "text": "KeyboardEvent"
1908
+ }
1909
+ }
1910
+ ],
1911
+ "type": {
1912
+ "text": "handleKeyDown(event: KeyboardEvent) => void"
1913
+ }
1914
+ },
1915
+ {
1916
+ "kind": "field",
1917
+ "name": "#classes",
1918
+ "privacy": "private",
1919
+ "readonly": true
1920
+ },
1921
+ {
1922
+ "kind": "field",
1923
+ "name": "#helpTextClasses",
1924
+ "privacy": "private",
1925
+ "readonly": true
1926
+ },
1927
+ {
1928
+ "kind": "field",
1929
+ "name": "#chevronClasses",
1930
+ "privacy": "private",
1931
+ "readonly": true
1932
+ },
1933
+ {
1934
+ "kind": "field",
1935
+ "name": "#id",
1936
+ "privacy": "private",
1937
+ "readonly": true
1938
+ },
1939
+ {
1940
+ "kind": "field",
1941
+ "name": "#helpId",
1942
+ "privacy": "private",
1943
+ "readonly": true
1944
+ },
1945
+ {
1946
+ "kind": "method",
1947
+ "name": "onChange",
1948
+ "parameters": [
1949
+ {
1950
+ "name": "{ target }"
1951
+ }
1952
+ ],
1953
+ "type": {
1954
+ "text": "onChange({ target }) => void"
1955
+ }
1956
+ }
1957
+ ],
1958
+ "attributes": [
1959
+ {
1960
+ "name": "auto-focus",
1961
+ "type": {
1962
+ "text": "boolean"
1963
+ },
1964
+ "description": "Whether the element should receive focus on render",
1965
+ "fieldName": "autoFocus"
1966
+ },
1967
+ {
1968
+ "name": "invalid",
1969
+ "type": {
1970
+ "text": "boolean"
1971
+ },
1972
+ "description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
1973
+ "fieldName": "invalid"
1974
+ },
1975
+ {
1976
+ "name": "always",
1977
+ "type": {
1978
+ "text": "boolean"
1979
+ },
1980
+ "description": "Whether to always show a hint",
1981
+ "fieldName": "always"
1982
+ },
1983
+ {
1984
+ "name": "hint",
1985
+ "type": {
1986
+ "text": "string"
1987
+ },
1988
+ "description": "The content displayed as the help text",
1989
+ "fieldName": "hint"
1990
+ },
1991
+ {
1992
+ "name": "label",
1993
+ "type": {
1994
+ "text": "string"
1995
+ },
1996
+ "description": "The content to disply as the label",
1997
+ "fieldName": "label"
1998
+ },
1999
+ {
2000
+ "name": "optional",
2001
+ "type": {
2002
+ "text": "boolean"
2003
+ },
2004
+ "description": "Whether to show optional text",
2005
+ "fieldName": "optional"
2006
+ },
2007
+ {
2008
+ "name": "disabled",
2009
+ "type": {
2010
+ "text": "boolean"
2011
+ },
2012
+ "description": "Renders the field in a disabled state.",
2013
+ "fieldName": "disabled"
2014
+ },
2015
+ {
2016
+ "name": "read-only",
2017
+ "type": {
2018
+ "text": "boolean"
2019
+ },
2020
+ "description": "Renders the field in a readonly state.",
2021
+ "fieldName": "readOnly"
2022
+ },
2023
+ {
2024
+ "name": "name",
2025
+ "type": {
2026
+ "text": "string"
2027
+ },
2028
+ "fieldName": "name"
2029
+ },
2030
+ {
2031
+ "name": "value",
2032
+ "type": {
2033
+ "text": "string"
2034
+ },
2035
+ "fieldName": "value"
2036
+ }
2037
+ ],
2038
+ "mixins": [
2039
+ {
2040
+ "name": "FormControlMixin",
2041
+ "package": "@open-wc/form-control"
2042
+ }
2043
+ ],
2044
+ "superclass": {
2045
+ "name": "LitElement",
2046
+ "package": "lit"
2047
+ },
2048
+ "tagName": "w-select",
2049
+ "customElement": true,
2050
+ "modulePath": "packages/select/index.ts",
2051
+ "definitionPath": "packages/select/index.ts"
2052
+ }
2053
+ ],
2054
+ "exports": [
2055
+ {
2056
+ "kind": "js",
2057
+ "name": "ccSelect",
2058
+ "declaration": {
2059
+ "name": "ccSelect",
2060
+ "module": "packages/select/index.ts"
2061
+ }
2062
+ },
2063
+ {
2064
+ "kind": "js",
2065
+ "name": "ccLabel",
2066
+ "declaration": {
2067
+ "name": "ccLabel",
2068
+ "module": "packages/select/index.ts"
2069
+ }
2070
+ },
2071
+ {
2072
+ "kind": "js",
2073
+ "name": "ccHelpText",
2074
+ "declaration": {
2075
+ "name": "ccHelpText",
2076
+ "module": "packages/select/index.ts"
2077
+ }
2078
+ },
2079
+ {
2080
+ "kind": "js",
2081
+ "name": "WarpSelect",
2082
+ "declaration": {
2083
+ "name": "WarpSelect",
2084
+ "module": "packages/select/index.ts"
2085
+ }
2086
+ },
2087
+ {
2088
+ "kind": "custom-element-definition",
2089
+ "name": "w-select",
2090
+ "declaration": {
2091
+ "name": "WarpSelect",
2092
+ "module": "packages/select/index.ts"
2093
+ }
2094
+ }
2095
+ ]
2096
+ },
2097
+ {
2098
+ "kind": "javascript-module",
2099
+ "path": "packages/textfield/index.ts",
2100
+ "declarations": [
2101
+ {
2102
+ "kind": "variable",
2103
+ "name": "ccinput",
2104
+ "type": {
2105
+ "text": "object"
2106
+ },
2107
+ "default": "{ // input classes base: 'block text-m leading-m mb-0 px-8 py-12 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] caret-current', // true default: 'border-1 s-text s-bg s-border-strong hover:s-border-strong-hover active:s-border-selected', // !isInvalid && !isDisabled && !isReadOnly disabled: 'border-1 s-text-disabled s-bg-disabled-subtle s-border-disabled pointer-events-none', // !isInvalid && isDisabled && !isReadOnly invalid: 'border-1 s-text-negative s-bg s-border-negative hover:s-border-negative-hover outline-[--w-s-color-border-negative]!', // isInvalid && !isDisabled && !isReadOnly readOnly: 'pl-0 bg-transparent pointer-events-none', // !isInvalid && !isDisabled && isReadOnly placeholder: 'placeholder:s-text-placeholder', suffix: 'pr-40', prefix: 'pl-[var(--w-prefix-width,_40px)]', // textarea classes textArea: 'min-h-[42] sm:min-h-[45]', }"
2108
+ },
2109
+ {
2110
+ "kind": "variable",
2111
+ "name": "ccLabel",
2112
+ "type": {
2113
+ "text": "object"
2114
+ },
2115
+ "default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
2116
+ },
2117
+ {
2118
+ "kind": "variable",
2119
+ "name": "ccHelpText",
2120
+ "type": {
2121
+ "text": "object"
2122
+ },
2123
+ "default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
2124
+ },
2125
+ {
2126
+ "kind": "class",
2127
+ "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)",
2128
+ "name": "WarpTextField",
2129
+ "members": [
2130
+ {
2131
+ "kind": "field",
2132
+ "name": "shadowRootOptions",
2133
+ "type": {
2134
+ "text": "object"
2135
+ },
2136
+ "static": true,
2137
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
2138
+ },
2139
+ {
2140
+ "kind": "field",
2141
+ "name": "disabled",
2142
+ "type": {
2143
+ "text": "boolean"
2144
+ },
2145
+ "attribute": "disabled",
2146
+ "reflects": true
2147
+ },
2148
+ {
2149
+ "kind": "field",
2150
+ "name": "invalid",
2151
+ "type": {
2152
+ "text": "boolean"
2153
+ },
2154
+ "attribute": "invalid",
2155
+ "reflects": true
2156
+ },
2157
+ {
2158
+ "kind": "field",
2159
+ "name": "id",
2160
+ "type": {
2161
+ "text": "string"
2162
+ },
2163
+ "attribute": "id",
2164
+ "reflects": true
2165
+ },
2166
+ {
2167
+ "kind": "field",
2168
+ "name": "label",
2169
+ "type": {
2170
+ "text": "string"
2171
+ },
2172
+ "attribute": "label",
2173
+ "reflects": true
2174
+ },
2175
+ {
2176
+ "kind": "field",
2177
+ "name": "helpText",
2178
+ "type": {
2179
+ "text": "string"
2180
+ },
2181
+ "attribute": "help-text",
2182
+ "reflects": true
2183
+ },
2184
+ {
2185
+ "kind": "field",
2186
+ "name": "size",
2187
+ "type": {
2188
+ "text": "string"
2189
+ },
2190
+ "attribute": "size",
2191
+ "reflects": true
2192
+ },
2193
+ {
2194
+ "kind": "field",
2195
+ "name": "max",
2196
+ "type": {
2197
+ "text": "number"
2198
+ },
2199
+ "attribute": "max",
2200
+ "reflects": true
2201
+ },
2202
+ {
2203
+ "kind": "field",
2204
+ "name": "min",
2205
+ "type": {
2206
+ "text": "number"
2207
+ },
2208
+ "attribute": "min",
2209
+ "reflects": true
2210
+ },
2211
+ {
2212
+ "kind": "field",
2213
+ "name": "minLength",
2214
+ "type": {
2215
+ "text": "number"
2216
+ },
2217
+ "attribute": "min-length",
2218
+ "reflects": true
2219
+ },
2220
+ {
2221
+ "kind": "field",
2222
+ "name": "maxLength",
2223
+ "type": {
2224
+ "text": "number"
2225
+ },
2226
+ "attribute": "max-length",
2227
+ "reflects": true
2228
+ },
2229
+ {
2230
+ "kind": "field",
2231
+ "name": "pattern",
2232
+ "type": {
2233
+ "text": "string"
2234
+ },
2235
+ "attribute": "pattern",
2236
+ "reflects": true
2237
+ },
2238
+ {
2239
+ "kind": "field",
2240
+ "name": "placeholder",
2241
+ "type": {
2242
+ "text": "string"
2243
+ },
2244
+ "attribute": "placeholder",
2245
+ "reflects": true
2246
+ },
2247
+ {
2248
+ "kind": "field",
2249
+ "name": "readOnly",
2250
+ "type": {
2251
+ "text": "boolean"
2252
+ },
2253
+ "attribute": "read-only",
2254
+ "reflects": true
2255
+ },
2256
+ {
2257
+ "kind": "field",
2258
+ "name": "required",
2259
+ "type": {
2260
+ "text": "boolean"
2261
+ },
2262
+ "attribute": "required",
2263
+ "reflects": true
2264
+ },
2265
+ {
2266
+ "kind": "field",
2267
+ "name": "type",
2268
+ "type": {
2269
+ "text": "string"
2270
+ },
2271
+ "default": "'text'",
2272
+ "attribute": "type",
2273
+ "reflects": true
2274
+ },
2275
+ {
2276
+ "kind": "field",
2277
+ "name": "value",
2278
+ "type": {
2279
+ "text": "string"
2280
+ },
2281
+ "attribute": "value",
2282
+ "reflects": true
2283
+ },
2284
+ {
2285
+ "kind": "field",
2286
+ "name": "name",
2287
+ "type": {
2288
+ "text": "string"
2289
+ },
2290
+ "attribute": "name",
2291
+ "reflects": true
2292
+ },
2293
+ {
2294
+ "kind": "field",
2295
+ "name": "formatter",
2296
+ "type": {
2297
+ "text": "(value: string) => string"
2298
+ },
2299
+ "description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html"
2300
+ },
2301
+ {
2302
+ "kind": "method",
2303
+ "name": "handler",
2304
+ "parameters": [
2305
+ {
2306
+ "name": "e",
2307
+ "type": {
2308
+ "text": "Event"
2309
+ }
2310
+ }
2311
+ ],
2312
+ "type": {
2313
+ "text": "handler(e: Event) => void"
2314
+ }
2315
+ },
2316
+ {
2317
+ "kind": "method",
2318
+ "name": "prefixSlotChange",
2319
+ "type": {
2320
+ "text": "prefixSlotChange() => void"
2321
+ }
2322
+ },
2323
+ {
2324
+ "kind": "method",
2325
+ "name": "suffixSlotChange",
2326
+ "type": {
2327
+ "text": "suffixSlotChange() => void"
2328
+ }
2329
+ }
2330
+ ],
2331
+ "attributes": [
2332
+ {
2333
+ "name": "disabled",
2334
+ "type": {
2335
+ "text": "boolean"
2336
+ },
2337
+ "fieldName": "disabled"
2338
+ },
2339
+ {
2340
+ "name": "invalid",
2341
+ "type": {
2342
+ "text": "boolean"
2343
+ },
2344
+ "fieldName": "invalid"
2345
+ },
2346
+ {
2347
+ "name": "id",
2348
+ "type": {
2349
+ "text": "string"
2350
+ },
2351
+ "fieldName": "id"
2352
+ },
2353
+ {
2354
+ "name": "label",
2355
+ "type": {
2356
+ "text": "string"
2357
+ },
2358
+ "fieldName": "label"
2359
+ },
2360
+ {
2361
+ "name": "help-text",
2362
+ "type": {
2363
+ "text": "string"
2364
+ },
2365
+ "fieldName": "helpText"
2366
+ },
2367
+ {
2368
+ "name": "size",
2369
+ "type": {
2370
+ "text": "string"
2371
+ },
2372
+ "fieldName": "size"
2373
+ },
2374
+ {
2375
+ "name": "max",
2376
+ "type": {
2377
+ "text": "number"
2378
+ },
2379
+ "fieldName": "max"
2380
+ },
2381
+ {
2382
+ "name": "min",
2383
+ "type": {
2384
+ "text": "number"
2385
+ },
2386
+ "fieldName": "min"
2387
+ },
2388
+ {
2389
+ "name": "min-length",
2390
+ "type": {
2391
+ "text": "number"
2392
+ },
2393
+ "fieldName": "minLength"
2394
+ },
2395
+ {
2396
+ "name": "max-length",
2397
+ "type": {
2398
+ "text": "number"
2399
+ },
2400
+ "fieldName": "maxLength"
2401
+ },
2402
+ {
2403
+ "name": "pattern",
2404
+ "type": {
2405
+ "text": "string"
2406
+ },
2407
+ "fieldName": "pattern"
2408
+ },
2409
+ {
2410
+ "name": "placeholder",
2411
+ "type": {
2412
+ "text": "string"
2413
+ },
2414
+ "fieldName": "placeholder"
2415
+ },
2416
+ {
2417
+ "name": "read-only",
2418
+ "type": {
2419
+ "text": "boolean"
2420
+ },
2421
+ "fieldName": "readOnly"
2422
+ },
2423
+ {
2424
+ "name": "required",
2425
+ "type": {
2426
+ "text": "boolean"
2427
+ },
2428
+ "fieldName": "required"
2429
+ },
2430
+ {
2431
+ "name": "type",
2432
+ "type": {
2433
+ "text": "string"
2434
+ },
2435
+ "default": "'text'",
2436
+ "fieldName": "type"
2437
+ },
2438
+ {
2439
+ "name": "value",
2440
+ "type": {
2441
+ "text": "string"
2442
+ },
2443
+ "fieldName": "value"
2444
+ },
2445
+ {
2446
+ "name": "name",
2447
+ "type": {
2448
+ "text": "string"
2449
+ },
2450
+ "fieldName": "name"
2451
+ }
2452
+ ],
2453
+ "mixins": [
2454
+ {
2455
+ "name": "FormControlMixin",
2456
+ "package": "@open-wc/form-control"
2457
+ }
2458
+ ],
2459
+ "superclass": {
2460
+ "name": "LitElement",
2461
+ "package": "lit"
2462
+ },
2463
+ "tagName": "w-textfield",
2464
+ "customElement": true,
2465
+ "modulePath": "packages/textfield/index.ts",
2466
+ "definitionPath": "packages/textfield/index.ts"
2467
+ }
2468
+ ],
2469
+ "exports": [
2470
+ {
2471
+ "kind": "js",
2472
+ "name": "ccinput",
2473
+ "declaration": {
2474
+ "name": "ccinput",
2475
+ "module": "packages/textfield/index.ts"
2476
+ }
2477
+ },
2478
+ {
2479
+ "kind": "js",
2480
+ "name": "ccLabel",
2481
+ "declaration": {
2482
+ "name": "ccLabel",
2483
+ "module": "packages/textfield/index.ts"
2484
+ }
2485
+ },
2486
+ {
2487
+ "kind": "js",
2488
+ "name": "ccHelpText",
2489
+ "declaration": {
2490
+ "name": "ccHelpText",
2491
+ "module": "packages/textfield/index.ts"
2492
+ }
2493
+ },
2494
+ {
2495
+ "kind": "custom-element-definition",
2496
+ "name": "w-textfield",
2497
+ "declaration": {
2498
+ "name": "WarpTextField",
2499
+ "module": "packages/textfield/index.ts"
2500
+ }
2501
+ },
2502
+ {
2503
+ "kind": "js",
2504
+ "name": "WarpTextField",
2505
+ "declaration": {
2506
+ "name": "WarpTextField",
2507
+ "module": "packages/textfield/index.ts"
2508
+ }
2509
+ }
2510
+ ]
2511
+ },
2512
+ {
2513
+ "kind": "javascript-module",
2514
+ "path": "packages/modal/modal-footer.ts",
2515
+ "declarations": [
2516
+ {
2517
+ "kind": "class",
2518
+ "description": "The footer section of a modal, typically where you place actions.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)",
2519
+ "name": "ModalFooter",
2520
+ "members": [],
2521
+ "mixins": [
2522
+ {
2523
+ "name": "CanCloseMixin",
2524
+ "module": "/packages/modal/util"
2525
+ },
2526
+ {
2527
+ "name": "ProvidesCanCloseToSlotsMixin",
2528
+ "module": "/packages/modal/util"
2529
+ }
2530
+ ],
2531
+ "superclass": {
2532
+ "name": "LitElement",
2533
+ "package": "lit"
2534
+ },
2535
+ "tagName": "w-modal-footer",
2536
+ "customElement": true,
2537
+ "modulePath": "packages/modal/modal-footer.ts",
2538
+ "definitionPath": "packages/modal/modal-footer.ts"
2539
+ }
2540
+ ],
2541
+ "exports": [
2542
+ {
2543
+ "kind": "js",
2544
+ "name": "ModalFooter",
2545
+ "declaration": {
2546
+ "name": "ModalFooter",
2547
+ "module": "packages/modal/modal-footer.ts"
2548
+ }
2549
+ },
2550
+ {
2551
+ "kind": "custom-element-definition",
2552
+ "name": "w-modal-footer",
2553
+ "declaration": {
2554
+ "name": "ModalFooter",
2555
+ "module": "packages/modal/modal-footer.ts"
2556
+ }
2557
+ }
2558
+ ]
2559
+ },
2560
+ {
2561
+ "kind": "javascript-module",
2562
+ "path": "packages/modal/modal-header.ts",
2563
+ "declarations": [
2564
+ {
2565
+ "kind": "class",
2566
+ "description": "The header section of a modal, typically where you place the title and a close button.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)",
2567
+ "name": "ModalHeader",
2568
+ "slots": [
2569
+ {
2570
+ "description": "Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.",
2571
+ "name": "top"
2572
+ }
2573
+ ],
2574
+ "members": [
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "title",
2578
+ "type": {
2579
+ "text": "string"
2580
+ },
2581
+ "attribute": "title"
2582
+ },
2583
+ {
2584
+ "kind": "field",
2585
+ "name": "back",
2586
+ "type": {
2587
+ "text": "boolean"
2588
+ },
2589
+ "attribute": "back"
2590
+ },
2591
+ {
2592
+ "kind": "field",
2593
+ "name": "noClose",
2594
+ "type": {
2595
+ "text": "boolean"
2596
+ },
2597
+ "attribute": "no-close"
2598
+ },
2599
+ {
2600
+ "kind": "field",
2601
+ "name": "titleEl",
2602
+ "type": {
2603
+ "text": "HTMLElement"
2604
+ }
2605
+ },
2606
+ {
2607
+ "kind": "field",
2608
+ "name": "titleClasses",
2609
+ "readonly": true
2610
+ },
2611
+ {
2612
+ "kind": "field",
2613
+ "name": "backButton",
2614
+ "readonly": true
2615
+ },
2616
+ {
2617
+ "kind": "field",
2618
+ "name": "closeButton",
2619
+ "readonly": true
2620
+ },
2621
+ {
2622
+ "kind": "method",
2623
+ "name": "emitBack",
2624
+ "type": {
2625
+ "text": "emitBack() => void"
2626
+ }
2627
+ },
2628
+ {
2629
+ "kind": "method",
2630
+ "name": "handleTopSlotChange",
2631
+ "parameters": [
2632
+ {
2633
+ "name": "slotEvent"
2634
+ }
2635
+ ],
2636
+ "type": {
2637
+ "text": "handleTopSlotChange(slotEvent) => void"
2638
+ }
2639
+ }
2640
+ ],
2641
+ "events": [
2642
+ {
2643
+ "name": "backClicked",
2644
+ "type": {
2645
+ "text": "CustomEvent"
2646
+ }
2647
+ }
2648
+ ],
2649
+ "attributes": [
2650
+ {
2651
+ "name": "title",
2652
+ "type": {
2653
+ "text": "string"
2654
+ },
2655
+ "fieldName": "title"
2656
+ },
2657
+ {
2658
+ "name": "back",
2659
+ "type": {
2660
+ "text": "boolean"
2661
+ },
2662
+ "fieldName": "back"
2663
+ },
2664
+ {
2665
+ "name": "no-close",
2666
+ "type": {
2667
+ "text": "boolean"
2668
+ },
2669
+ "fieldName": "noClose"
2670
+ }
2671
+ ],
2672
+ "mixins": [
2673
+ {
2674
+ "name": "CanCloseMixin",
2675
+ "module": "/packages/modal/util.js"
2676
+ }
2677
+ ],
2678
+ "superclass": {
2679
+ "name": "LitElement",
2680
+ "package": "lit"
2681
+ },
2682
+ "tagName": "w-modal-header",
2683
+ "customElement": true,
2684
+ "modulePath": "packages/modal/modal-header.ts",
2685
+ "definitionPath": "packages/modal/modal-header.ts"
2686
+ }
2687
+ ],
2688
+ "exports": [
2689
+ {
2690
+ "kind": "js",
2691
+ "name": "ModalHeader",
2692
+ "declaration": {
2693
+ "name": "ModalHeader",
2694
+ "module": "packages/modal/modal-header.ts"
2695
+ }
2696
+ },
2697
+ {
2698
+ "kind": "custom-element-definition",
2699
+ "name": "w-modal-header",
2700
+ "declaration": {
2701
+ "name": "ModalHeader",
2702
+ "module": "packages/modal/modal-header.ts"
2703
+ }
2704
+ }
2705
+ ]
2706
+ },
2707
+ {
2708
+ "kind": "javascript-module",
2709
+ "path": "packages/modal/modal-main.ts",
2710
+ "declarations": [
2711
+ {
2712
+ "kind": "class",
2713
+ "description": "Modals (or dialogs) display important information that users need to acknowledge.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)",
2714
+ "name": "ModalMain",
2715
+ "slots": [
2716
+ {
2717
+ "description": "Typically where you would use the `w-modal-header` component.",
2718
+ "name": "header"
2719
+ },
2720
+ {
2721
+ "description": "The main content of the modal.",
2722
+ "name": "content"
2723
+ },
2724
+ {
2725
+ "description": "Typically where you would use the `w-modal-footer` component, for things like actions.",
2726
+ "name": "footer"
2727
+ }
2728
+ ],
2729
+ "members": [
2730
+ {
2731
+ "kind": "field",
2732
+ "name": "show",
2733
+ "type": {
2734
+ "text": "boolean"
2735
+ },
2736
+ "attribute": "show"
2737
+ },
2738
+ {
2739
+ "kind": "field",
2740
+ "name": "contentId",
2741
+ "type": {
2742
+ "text": "string"
2743
+ },
2744
+ "attribute": "content-id"
2745
+ },
2746
+ {
2747
+ "kind": "field",
2748
+ "name": "ignoreBackdropClicks",
2749
+ "type": {
2750
+ "text": "boolean"
2751
+ },
2752
+ "attribute": "ignore-backdrop-clicks"
2753
+ },
2754
+ {
2755
+ "kind": "field",
2756
+ "name": "dialogEl",
2757
+ "type": {
2758
+ "text": "HTMLDialogElement"
2759
+ }
2760
+ },
2761
+ {
2762
+ "kind": "field",
2763
+ "name": "dialogInnerEl",
2764
+ "type": {
2765
+ "text": "HTMLElement"
2766
+ }
2767
+ },
2768
+ {
2769
+ "kind": "field",
2770
+ "name": "contentEl",
2771
+ "type": {
2772
+ "text": "HTMLElement"
2773
+ }
2774
+ },
2775
+ {
2776
+ "kind": "method",
2777
+ "name": "open",
2778
+ "type": {
2779
+ "text": "open() => void"
2780
+ }
2781
+ },
2782
+ {
2783
+ "kind": "method",
2784
+ "name": "close",
2785
+ "type": {
2786
+ "text": "close() => void"
2787
+ }
2788
+ },
2789
+ {
2790
+ "kind": "method",
2791
+ "name": "handleListeners",
2792
+ "parameters": [
2793
+ {
2794
+ "name": "verb",
2795
+ "default": "'addEventListener'"
2796
+ }
2797
+ ],
2798
+ "type": {
2799
+ "text": "handleListeners(verb = 'addEventListener') => void"
2800
+ }
2801
+ },
2802
+ {
2803
+ "kind": "method",
2804
+ "name": "eventPreventer",
2805
+ "parameters": [
2806
+ {
2807
+ "name": "evt",
2808
+ "type": {
2809
+ "text": "Event"
2810
+ }
2811
+ }
2812
+ ],
2813
+ "type": {
2814
+ "text": "eventPreventer(evt: Event) => void"
2815
+ }
2816
+ },
2817
+ {
2818
+ "kind": "method",
2819
+ "name": "closeOnBackdropClick",
2820
+ "parameters": [
2821
+ {
2822
+ "name": "evt",
2823
+ "type": {
2824
+ "text": "MouseEvent"
2825
+ }
2826
+ }
2827
+ ],
2828
+ "type": {
2829
+ "text": "closeOnBackdropClick(evt: MouseEvent) => void"
2830
+ }
2831
+ },
2832
+ {
2833
+ "kind": "method",
2834
+ "name": "interceptEscape",
2835
+ "parameters": [
2836
+ {
2837
+ "name": "evt",
2838
+ "type": {
2839
+ "text": "KeyboardEvent"
2840
+ }
2841
+ }
2842
+ ],
2843
+ "type": {
2844
+ "text": "interceptEscape(evt: KeyboardEvent) => void"
2845
+ }
2846
+ },
2847
+ {
2848
+ "kind": "method",
2849
+ "name": "modifyBorderRadius",
2850
+ "type": {
2851
+ "text": "modifyBorderRadius() => void"
2852
+ }
2853
+ }
2854
+ ],
2855
+ "events": [
2856
+ {
2857
+ "name": "shown",
2858
+ "type": {
2859
+ "text": "CustomEvent"
2860
+ }
2861
+ },
2862
+ {
2863
+ "name": "hidden",
2864
+ "type": {
2865
+ "text": "CustomEvent"
2866
+ }
2867
+ }
2868
+ ],
2869
+ "attributes": [
2870
+ {
2871
+ "name": "show",
2872
+ "type": {
2873
+ "text": "boolean"
2874
+ },
2875
+ "fieldName": "show"
2876
+ },
2877
+ {
2878
+ "name": "content-id",
2879
+ "type": {
2880
+ "text": "string"
2881
+ },
2882
+ "fieldName": "contentId"
2883
+ },
2884
+ {
2885
+ "name": "ignore-backdrop-clicks",
2886
+ "type": {
2887
+ "text": "boolean"
2888
+ },
2889
+ "fieldName": "ignoreBackdropClicks"
2890
+ }
2891
+ ],
2892
+ "mixins": [
2893
+ {
2894
+ "name": "ProvidesCanCloseToSlotsMixin",
2895
+ "module": "/packages/modal/util.js"
2896
+ }
2897
+ ],
2898
+ "superclass": {
2899
+ "name": "LitElement",
2900
+ "package": "lit"
2901
+ },
2902
+ "tagName": "w-modal",
2903
+ "customElement": true,
2904
+ "modulePath": "packages/modal/modal-main.ts",
2905
+ "definitionPath": "packages/modal/modal-main.ts"
2906
+ }
2907
+ ],
2908
+ "exports": [
2909
+ {
2910
+ "kind": "js",
2911
+ "name": "ModalMain",
2912
+ "declaration": {
2913
+ "name": "ModalMain",
2914
+ "module": "packages/modal/modal-main.ts"
2915
+ }
2916
+ },
2917
+ {
2918
+ "kind": "custom-element-definition",
2919
+ "name": "w-modal",
2920
+ "declaration": {
2921
+ "name": "ModalMain",
2922
+ "module": "packages/modal/modal-main.ts"
2923
+ }
2924
+ }
2925
+ ]
2926
+ },
2927
+ {
2928
+ "kind": "javascript-module",
2929
+ "path": "packages/toast/toast.ts",
2930
+ "declarations": [],
2931
+ "exports": []
2932
+ },
2933
+ {
2934
+ "kind": "javascript-module",
2935
+ "path": "packages/toast/toast-container.ts",
2936
+ "declarations": [
2937
+ {
2938
+ "kind": "class",
2939
+ "description": "",
2940
+ "name": "WarpToastContainer",
2941
+ "members": [
2942
+ {
2943
+ "kind": "field",
2944
+ "name": "_toasts",
2945
+ "type": {
2946
+ "text": "Map<string | number, ToastInternal>"
2947
+ },
2948
+ "privacy": "private",
2949
+ "default": "new Map()"
2950
+ },
2951
+ {
2952
+ "kind": "field",
2953
+ "name": "_interval",
2954
+ "type": {
2955
+ "text": "NodeJS.Timeout | undefined"
2956
+ },
2957
+ "privacy": "private"
2958
+ },
2959
+ {
2960
+ "kind": "method",
2961
+ "name": "init",
2962
+ "privacy": "public",
2963
+ "static": true,
2964
+ "type": {
2965
+ "text": "init() => void"
2966
+ }
2967
+ },
2968
+ {
2969
+ "kind": "method",
2970
+ "name": "get",
2971
+ "return": {
2972
+ "type": {
2973
+ "text": "ToastInternal | undefined"
2974
+ }
2975
+ },
2976
+ "parameters": [
2977
+ {
2978
+ "name": "id",
2979
+ "type": {
2980
+ "text": "string | number"
2981
+ }
2982
+ }
2983
+ ],
2984
+ "type": {
2985
+ "text": "get(id: string | number) => ToastInternal | undefined"
2986
+ }
2987
+ },
2988
+ {
2989
+ "kind": "method",
2990
+ "name": "set",
2991
+ "return": {
2992
+ "type": {
2993
+ "text": "Map<string | number, ToastInternal>"
2994
+ }
2995
+ },
2996
+ "parameters": [
2997
+ {
2998
+ "name": "toast",
2999
+ "type": {
3000
+ "text": "ToastOptions"
3001
+ }
3002
+ }
3003
+ ],
3004
+ "type": {
3005
+ "text": "set(toast: ToastOptions) => Map<string | number, ToastInternal>"
3006
+ }
3007
+ },
3008
+ {
3009
+ "kind": "method",
3010
+ "name": "del",
3011
+ "return": {
3012
+ "type": {
3013
+ "text": "Promise<boolean>"
3014
+ }
3015
+ },
3016
+ "parameters": [
3017
+ {
3018
+ "name": "id",
3019
+ "type": {
3020
+ "text": "string | number"
3021
+ }
3022
+ }
3023
+ ],
3024
+ "type": {
3025
+ "text": "del(id: string | number) => Promise<boolean>"
3026
+ }
3027
+ }
3028
+ ],
3029
+ "superclass": {
3030
+ "name": "LitElement",
3031
+ "package": "lit"
3032
+ },
3033
+ "tagName": "w-toast-container",
3034
+ "customElement": true,
3035
+ "modulePath": "packages/toast/toast-container.ts",
3036
+ "definitionPath": "packages/toast/toast-container.ts"
3037
+ }
3038
+ ],
3039
+ "exports": [
3040
+ {
3041
+ "kind": "js",
3042
+ "name": "WarpToastContainer",
3043
+ "declaration": {
3044
+ "name": "WarpToastContainer",
3045
+ "module": "packages/toast/toast-container.ts"
3046
+ }
3047
+ },
3048
+ {
3049
+ "kind": "custom-element-definition",
3050
+ "name": "w-toast-container",
3051
+ "declaration": {
3052
+ "name": "WarpToastContainer",
3053
+ "module": "packages/toast/toast-container.ts"
3054
+ }
3055
+ }
3056
+ ]
3057
+ }
3058
+ ]
3059
+ }